Struct aws_sdk_s3::output::CopyObjectOutput
source · [−]#[non_exhaustive]pub struct CopyObjectOutput {
pub copy_object_result: Option<CopyObjectResult>,
pub expiration: Option<String>,
pub copy_source_version_id: Option<String>,
pub version_id: Option<String>,
pub server_side_encryption: Option<ServerSideEncryption>,
pub sse_customer_algorithm: Option<String>,
pub sse_customer_key_md5: Option<String>,
pub ssekms_key_id: Option<String>,
pub ssekms_encryption_context: Option<String>,
pub bucket_key_enabled: bool,
pub request_charged: Option<RequestCharged>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.copy_object_result: Option<CopyObjectResult>
Container for all response elements.
expiration: Option<String>
If the object expiration is configured, the response includes this header.
copy_source_version_id: Option<String>
Version of the copied object in the destination bucket.
version_id: Option<String>
Version ID of the newly created copy.
server_side_encryption: Option<ServerSideEncryption>
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
sse_customer_algorithm: Option<String>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
sse_customer_key_md5: Option<String>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
ssekms_key_id: Option<String>
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for the object.
ssekms_encryption_context: Option<String>
If present, specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
bucket_key_enabled: bool
Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
request_charged: Option<RequestCharged>
If present, indicates that the requester was successfully charged for the request.
Implementations
sourceimpl CopyObjectOutput
impl CopyObjectOutput
sourcepub fn copy_object_result(&self) -> Option<&CopyObjectResult>
pub fn copy_object_result(&self) -> Option<&CopyObjectResult>
Container for all response elements.
sourcepub fn expiration(&self) -> Option<&str>
pub fn expiration(&self) -> Option<&str>
If the object expiration is configured, the response includes this header.
sourcepub fn copy_source_version_id(&self) -> Option<&str>
pub fn copy_source_version_id(&self) -> Option<&str>
Version of the copied object in the destination bucket.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
Version ID of the newly created copy.
sourcepub fn server_side_encryption(&self) -> Option<&ServerSideEncryption>
pub fn server_side_encryption(&self) -> Option<&ServerSideEncryption>
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
sourcepub fn sse_customer_algorithm(&self) -> Option<&str>
pub fn sse_customer_algorithm(&self) -> Option<&str>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
sourcepub fn sse_customer_key_md5(&self) -> Option<&str>
pub fn sse_customer_key_md5(&self) -> Option<&str>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
sourcepub fn ssekms_key_id(&self) -> Option<&str>
pub fn ssekms_key_id(&self) -> Option<&str>
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for the object.
sourcepub fn ssekms_encryption_context(&self) -> Option<&str>
pub fn ssekms_encryption_context(&self) -> Option<&str>
If present, specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
sourcepub fn bucket_key_enabled(&self) -> bool
pub fn bucket_key_enabled(&self) -> bool
Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
sourcepub fn request_charged(&self) -> Option<&RequestCharged>
pub fn request_charged(&self) -> Option<&RequestCharged>
If present, indicates that the requester was successfully charged for the request.
sourceimpl CopyObjectOutput
impl CopyObjectOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CopyObjectOutput
.
Trait Implementations
sourceimpl Clone for CopyObjectOutput
impl Clone for CopyObjectOutput
sourcefn clone(&self) -> CopyObjectOutput
fn clone(&self) -> CopyObjectOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CopyObjectOutput
impl Debug for CopyObjectOutput
sourceimpl PartialEq<CopyObjectOutput> for CopyObjectOutput
impl PartialEq<CopyObjectOutput> for CopyObjectOutput
sourcefn eq(&self, other: &CopyObjectOutput) -> bool
fn eq(&self, other: &CopyObjectOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CopyObjectOutput) -> bool
fn ne(&self, other: &CopyObjectOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CopyObjectOutput
Auto Trait Implementations
impl RefUnwindSafe for CopyObjectOutput
impl Send for CopyObjectOutput
impl Sync for CopyObjectOutput
impl Unpin for CopyObjectOutput
impl UnwindSafe for CopyObjectOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more