AWSS3TransferUtilityMultiPartUploadExpression

@interface AWSS3TransferUtilityMultiPartUploadExpression : NSObject

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 (readonly, nonatomic)
        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 (readonly, nonatomic)
        NSDictionary<NSString *, NSString *> *_Nonnull requestParameters;
  • The progress feedback block.

    Declaration

    Objective-C

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

    Swift

    var progressBlock: AWSS3TransferUtilityMultiPartProgressBlock? { 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).