Public Member Functions | Properties

S3Request Class Reference

Contains the parameters common to Amazon S3 operations. More...

#import <S3Request.h>

Inherits AmazonServiceRequest.

Inherited by S3AbstractPutRequest, S3CreateBucketRequest, S3DeleteBucketRequest, S3DeleteObjectRequest, S3GetACLRequest, S3GetObjectRequest, S3GetPreSignedURLRequest, S3ListBucketsRequest, S3ListObjectsRequest, and S3SetACLRequest.

List of all members.

Public Member Functions

(NSMutableURLRequest *) - configureURLRequest
 Add appropriate headers to the URL Request object.
(NSString *) - timestamp
 The current date and time in a format which can be supplied in Amazon S3 requests.

Properties

NSString * authorization
 The information required for request authentication.
int contentLength
 Length of the message (without the headers) according to RFC 2616.
NSString * contentType
 The content type of the resource.
NSDate * date
 The current date and time according to the requester.
NSString * host
 For path-style requests, the value is s3.amazonaws.com.
NSString * securityToken
 The security tokens for operations that use Amazon DevPay.
NSString * bucket
 The name of the bucket.
NSString * key
 The name of the S3 object.
NSString * subResource
 The sub-resource (i.e.
NSURL * url
 The URL for the resource.

Detailed Description

Contains the parameters common to Amazon S3 operations.


Member Function Documentation

- (NSString * S3Request.)timestamp  

The current date and time in a format which can be supplied in Amazon S3 requests.


Property Documentation

- (NSString *) authorization [read, write, retain]

The information required for request authentication.

- (int) contentLength [read, write, assign]

Length of the message (without the headers) according to RFC 2616.

- (NSString *) contentType [read, write, retain]

The content type of the resource.

Example: text/plain

- (NSDate *) date [read, write, retain]

The current date and time according to the requester.

Example: Wed, 01 Mar 2009 12:00:00 GMT

- (NSString* S3Request.)host [read, assign]

For path-style requests, the value is s3.amazonaws.com.

For virtual-style requests, the value is BucketName.s3.amazonaws.com.

- (NSString *) securityToken [read, write, retain]

The security tokens for operations that use Amazon DevPay.

- (NSString *) subResource [read, write, retain]

The sub-resource (i.e.

acl, versioning, torrent) for the request

- (NSURL* S3Request.)url [read, assign]

The URL for the resource.

This property is read-only.

Implements AmazonServiceRequest.


The documentation for this class was generated from the following file: