Struct aws_sdk_rust::aws::s3::object::MultipartUploadPartRequest [] [src]

pub struct MultipartUploadPartRequest<'a> {
    pub body: Option<&'a [u8]>,
    pub sse_customer_algorithm: Option<SSECustomerAlgorithm>,
    pub request_payer: Option<RequestPayer>,
    pub content_length: Option<ContentLength>,
    pub content_md5: Option<ContentMD5>,
    pub bucket: BucketName,
    pub sse_customer_key: Option<SSECustomerKey>,
    pub upload_id: MultipartUploadId,
    pub key: ObjectKey,
    pub sse_customer_key_md5: Option<SSECustomerKeyMD5>,
    pub part_number: PartNumber,
}

NB: MultipartUploadPartRequest is not JSON decodable without implementing a custom to_json trait because of Option<&'a [u8]>.

Fields

Specifies the algorithm to use to when encrypting the object (e.g., AES256).

Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side- encryption-customer-algorithm header. This must be the same encryption key specified in the initiate multipart upload request.

Upload ID identifying the multipart upload whose part is being uploaded.

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.

Part number of part being uploaded. This is a positive integer between 1 and 10,000.

Trait Implementations

impl<'a> Debug for MultipartUploadPartRequest<'a>
[src]

Formats the value using the given formatter.

impl<'a> Default for MultipartUploadPartRequest<'a>
[src]

Returns the "default value" for a type. Read more

impl<'a> Encodable for MultipartUploadPartRequest<'a>
[src]

Serialize a value using an Encoder.