AWSS3TransferUtilityMultiPartUploadExpression

Objective-C

@interface AWSS3TransferUtilityMultiPartUploadExpression : NSObject

Swift

class AWSS3TransferUtilityMultiPartUploadExpression

The expression object for configuring a Multipart upload task.

  • This NSDictionary can contains additional request headers to be included in the pre-signed URL. Default is emtpy.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDictionary<NSString *, NSString *> *_Nonnull requestHeaders;
  • This NSDictionary can contains additional request parameters to be included in the pre-signed URL. Adding additional request parameters enables more advanced pre-signed URLs, such as accessing Amazon S3’s torrent resource for an object, or for specifying a version ID when accessing an object. Default is emtpy.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSDictionary<NSString *, NSString *> *_Nonnull requestParameters;
  • The progress feedback block.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) AWSS3TransferUtilityMultiPartProgressBlock progressBlock;

    Swift

    var progressBlock: AWSS3TransferUtilityMultiPartProgressBlock? { get set }
  • If YES, generate and add Content-MD5 headers to the chunk upload requests. If NO, don’t (default).

    Declaration

    Objective-C

    @property (nonatomic) BOOL useContentMD5;

    Swift

    var useContentMD5: Int32 { get set }
  • Set an additional request header to be included in the pre-signed URL.

    Declaration

    Objective-C

    - (void)setValue:(nullable NSString *)value
        forRequestHeader:(nonnull NSString *)requestHeader;

    Swift

    func setValue(_ value: Any!, forRequestHeader requestHeader: Any!)

    Parameters

    value

    The value of the request parameter being added. Set to nil if parameter doesn’t contains value.

    requestHeader

    The name of the request header.

  • Set an additional request parameter to be included in the pre-signed URL. Adding additional request parameters enables more advanced pre-signed URLs, such as accessing Amazon S3’s torrent resource for an object, or for specifying a version ID when accessing an object.

    Declaration

    Objective-C

    - (void)setValue:(nullable NSString *)value
        forRequestParameter:(nonnull NSString *)requestParameter;

    Swift

    func setValue(_ value: Any!, forRequestParameter requestParameter: Any!)

    Parameters

    value

    The value of the request parameter being added. Set to nil if parameter doesn’t contains value.

    requestParameter

    The name of the request parameter, as it appears in the URL’s query string (e.g. AWSS3PresignedURLVersionID).