UploadPartRequest
public struct UploadPartRequest : AWSShape
Undocumented
-
The key for the payload
Declaration
Swift
public static let payloadPath: String?
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Object data.
Declaration
Swift
public let body: Data?
-
Name of the bucket to which the multipart upload was initiated.
Declaration
Swift
public let bucket: String
-
Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.
Declaration
Swift
public let contentLength: Int64?
-
The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated when using the command from the CLI. This parameter is required if object lock parameters are specified.
Declaration
Swift
public let contentMD5: String?
-
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
Declaration
Swift
public let expectedBucketOwner: String?
-
Object key for which the multipart upload was initiated.
Declaration
Swift
public let key: String
-
Part number of part being uploaded. This is a positive integer between 1 and 10,000.
Declaration
Swift
public let partNumber: Int
-
Undocumented
Declaration
Swift
public let requestPayer: RequestPayer?
-
Specifies the algorithm to use to when encrypting the object (for example, AES256).
Declaration
Swift
public let sSECustomerAlgorithm: String?
-
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 S3 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.
Declaration
Swift
public let sSECustomerKey: String?
-
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 that the encryption key was transmitted without error.
Declaration
Swift
public let sSECustomerKeyMD5: String?
-
Upload ID identifying the multipart upload whose part is being uploaded.
Declaration
Swift
public let uploadId: String
-
init(body:bucket:contentLength:contentMD5:expectedBucketOwner:key:partNumber:requestPayer:sSECustomerAlgorithm:sSECustomerKey:sSECustomerKeyMD5:uploadId:)
Undocumented
Declaration
Swift
public init(body: Data? = nil, bucket: String, contentLength: Int64? = nil, contentMD5: String? = nil, expectedBucketOwner: String? = nil, key: String, partNumber: Int, requestPayer: RequestPayer? = nil, sSECustomerAlgorithm: String? = nil, sSECustomerKey: String? = nil, sSECustomerKeyMD5: String? = nil, uploadId: String)
-
Declaration
Swift
public func validate(name: String) throws