Public Member Functions | Static Public Member Functions | Protected Attributes | Properties

AmazonWebServiceClient Class Reference

Inherited by AmazonS3Client, AmazonSimpleDBClient, AmazonSNSClient, and AmazonSQSClient.

List of all members.

Public Member Functions

(id) - initWithAccessKey:withSecretKey:
 Inits the client with the access key and the secret key.
(NSURLRequest *) - signURLRequest:
 Sign a URL request using the credentials of the client object.
(void) - signRequest:
(AmazonServiceResponse *) - invoke:
 Utility method that sends the raw S3 Request to be processed.
(NSString *) - getV2StringToSign:request:
(AmazonServiceResponse *) - parseResponseBody:withDelegateType:
(void) - pauseExponentially:
(bool) - shouldRetry:

Static Public Member Functions

(AmazonServiceResponse *) + constructResponseFromRequest:
 Constructs an empty response object of the appropriate type to match the given request object.

Protected Attributes

NSString * accessKey
NSString * secretKey

Properties

NSString * endpoint
int maxRetries

Member Function Documentation

+ (AmazonServiceResponse * AmazonWebServiceClient.)constructResponseFromRequest: (AmazonServiceRequest *)  request  

Constructs an empty response object of the appropriate type to match the given request object.

Parameters:
request An instance of a subclass of AmazonServiceRequest.
Returns:
An instance of the appropriate subclass of AmazonServiceResponse, or an instance of AmazonServiceResponse if there is no response class to match the instance passed in.
- (id AmazonWebServiceClient.)initWithAccessKey: (NSString *)  accessKey
withSecretKey: (NSString *)  secretKey 

Inits the client with the access key and the secret key.

Parameters:
accessKey The AWS Access Key
secretKey The AWS Secret Key
- (AmazonServiceResponse * AmazonWebServiceClient.)invoke: (AmazonServiceRequest *)  request  

Utility method that sends the raw S3 Request to be processed.

Parameters:
request An AmazonServiceRequest describing the parameters of a request.
Returns:
The response from the service.
- (NSURLRequest * AmazonWebServiceClient.)signURLRequest: (NSMutableURLRequest *)  request  

Sign a URL request using the credentials of the client object.

Parameters:
request a mutable URL request
Returns:
the signed request

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