Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::complete_multipart_upload::CompleteMultipartUploadOutput
#[non_exhaustive]pub struct CompleteMultipartUploadOutput {Show 14 fields
pub location: Option<String>,
pub bucket: Option<String>,
pub key: Option<String>,
pub expiration: Option<String>,
pub e_tag: Option<String>,
pub checksum_crc32: Option<String>,
pub checksum_crc32_c: Option<String>,
pub checksum_sha1: Option<String>,
pub checksum_sha256: Option<String>,
pub server_side_encryption: Option<ServerSideEncryption>,
pub version_id: Option<String>,
pub ssekms_key_id: Option<String>,
pub bucket_key_enabled: bool,
pub request_charged: Option<RequestCharged>,
/* private fields */
}
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.location: Option<String>
The URI that identifies the newly created object.
bucket: Option<String>
The name of the bucket that contains the newly created object. Does not return the access point ARN or access point alias if used.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
key: Option<String>
The object key of the newly created object.
expiration: Option<String>
If the object expiration is configured, this will contain the expiration date (expiry-date
) and rule ID (rule-id
). The value of rule-id
is URL-encoded.
e_tag: Option<String>
Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits. For more information about how the entity tag is calculated, see Checking object integrity in the Amazon S3 User Guide.
checksum_crc32: Option<String>
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_crc32_c: Option<String>
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_sha1: Option<String>
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_sha256: Option<String>
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
server_side_encryption: Option<ServerSideEncryption>
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
).
version_id: Option<String>
Version ID of the newly created object, in case the bucket has versioning turned on.
ssekms_key_id: Option<String>
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
bucket_key_enabled: bool
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
request_charged: Option<RequestCharged>
If present, indicates that the requester was successfully charged for the request.
Implementations§
§impl CompleteMultipartUploadOutput
impl CompleteMultipartUploadOutput
pub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The name of the bucket that contains the newly created object. Does not return the access point ARN or access point alias if used.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.
pub fn expiration(&self) -> Option<&str>
pub fn expiration(&self) -> Option<&str>
If the object expiration is configured, this will contain the expiration date (expiry-date
) and rule ID (rule-id
). The value of rule-id
is URL-encoded.
pub fn e_tag(&self) -> Option<&str>
pub fn e_tag(&self) -> Option<&str>
Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits. For more information about how the entity tag is calculated, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_crc32(&self) -> Option<&str>
pub fn checksum_crc32(&self) -> Option<&str>
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_crc32_c(&self) -> Option<&str>
pub fn checksum_crc32_c(&self) -> Option<&str>
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_sha1(&self) -> Option<&str>
pub fn checksum_sha1(&self) -> Option<&str>
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub fn checksum_sha256(&self) -> Option<&str>
pub fn checksum_sha256(&self) -> Option<&str>
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub 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
).
pub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
Version ID of the newly created object, in case the bucket has versioning turned on.
pub fn ssekms_key_id(&self) -> Option<&str>
pub fn ssekms_key_id(&self) -> Option<&str>
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
pub fn bucket_key_enabled(&self) -> bool
pub fn bucket_key_enabled(&self) -> bool
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
pub 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.
§impl CompleteMultipartUploadOutput
impl CompleteMultipartUploadOutput
pub fn builder() -> CompleteMultipartUploadOutputBuilder
pub fn builder() -> CompleteMultipartUploadOutputBuilder
Creates a new builder-style object to manufacture CompleteMultipartUploadOutput
.
Trait Implementations§
§impl Clone for CompleteMultipartUploadOutput
impl Clone for CompleteMultipartUploadOutput
§fn clone(&self) -> CompleteMultipartUploadOutput
fn clone(&self) -> CompleteMultipartUploadOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for CompleteMultipartUploadOutput
impl Debug for CompleteMultipartUploadOutput
§impl PartialEq for CompleteMultipartUploadOutput
impl PartialEq for CompleteMultipartUploadOutput
§fn eq(&self, other: &CompleteMultipartUploadOutput) -> bool
fn eq(&self, other: &CompleteMultipartUploadOutput) -> bool
self
and other
values to be equal, and is used
by ==
.§impl RequestId for CompleteMultipartUploadOutput
impl RequestId for CompleteMultipartUploadOutput
§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.