AWSS3TransferUtilityExpression Class Reference

Inherits from NSObject
Declared in AWSS3TransferUtility.h
AWSS3TransferUtility.m

Overview

The expression object for configuring a upload or download task.

  requestHeaders

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

@property (nonatomic, readonly) NSDictionary<NSString*NSString*> *requestHeaders

Declared In

AWSS3TransferUtility.h

  requestParameters

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.

@property (nonatomic, readonly) NSDictionary<NSString*NSString*> *requestParameters

Declared In

AWSS3TransferUtility.h

  progressBlock

The progress feedback block.

@property (copy, nonatomic, nullable) AWSS3TransferUtilityProgressBlock progressBlock

Declared In

AWSS3TransferUtility.h

– setValue:forRequestHeader:

Set an additional request header to be included in the pre-signed URL.

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

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.

Declared In

AWSS3TransferUtility.h

– setValue:forRequestParameter:

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.

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

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).

Declared In

AWSS3TransferUtility.h