S3Response Class Reference
| Inherits from | AmazonServiceResponse : NSObject |
| Declared in | S3Response.h |
Tasks
-
connectionStateSpecfies whether the connection to the server is open or closed.
property -
etagThe entity tag is an MD5 hash of the object that you can use to do conditional
propertyGEToperations using theIf-Modifiedrequest tag with theGETrequest operation. Amazon S3 checks the object against the provided MD5 value. If they do not match, Amazon S3 returns an error. The ETag only reflects changes to the contents of an object, not its metadata. -
serverThe name of the server that created the response.
property -
id2A special token that helps AWS troubleshoot problems.
property -
versionIdThe version of the object. When you enable versioning, Amazon S3 generates a random number for objects added to a bucket. The value is UTF-8 encoded and URL ready. When you PUT an object in a bucket where versioning has been suspended, the version ID is always
propertynull. -
serverSideEncryptionAlgorithm used for optional server side encryption.
property -
dateThe date and time Amazon S3 responded.
property -
deleteMarkerSpecifies whether the object returned was (
propertytrue) or was not (false) a Delete Marker. -
contentLengthThe length in bytes of the body in the response.
property -
– setValue:forHTTPHeaderField:Sets the value in the response corresponding to the HTTP header
-
– valueForHTTPHeaderField:Gets the value in the response corresponding to the HTTP header
-
– getTypeOfPropertyNamed:Determines the type of a property in a response.
Properties
connectionState
Specfies whether the connection to the server is open or closed.
@property (nonatomic, retain) NSString *connectionStateDiscussion
Specfies whether the connection to the server is open or closed.
Declared In
S3Response.hcontentLength
The length in bytes of the body in the response.
@property (nonatomic) int64_t contentLengthDiscussion
The length in bytes of the body in the response.
Declared In
S3Response.hdate
The date and time Amazon S3 responded.
@property (nonatomic, retain) NSDate *dateDiscussion
The date and time Amazon S3 responded.
Declared In
S3Response.hdeleteMarker
Specifies whether the object returned was (true) or was not (false) a Delete Marker.
@property (nonatomic) bool deleteMarkerDiscussion
Specifies whether the object returned was (true) or was not (false) a Delete Marker.
Declared In
S3Response.hetag
The entity tag is an MD5 hash of the object that you can use to do conditional
GET operations using the If-Modified request tag with the GET request operation.
Amazon S3 checks the object against the provided MD5 value. If they do not match, Amazon S3 returns an error.
The ETag only reflects changes to the contents of an object, not its metadata.
@property (nonatomic, retain) NSString *etagDiscussion
The entity tag is an MD5 hash of the object that you can use to do conditional
GET operations using the If-Modified request tag with the GET request operation.
Amazon S3 checks the object against the provided MD5 value. If they do not match, Amazon S3 returns an error.
The ETag only reflects changes to the contents of an object, not its metadata.
Declared In
S3Response.hid2
A special token that helps AWS troubleshoot problems.
@property (nonatomic, retain) NSString *id2Discussion
A special token that helps AWS troubleshoot problems.
Declared In
S3Response.hserver
The name of the server that created the response.
@property (nonatomic, retain) NSString *serverDiscussion
The name of the server that created the response.
Declared In
S3Response.hserverSideEncryption
Algorithm used for optional server side encryption.
@property (nonatomic, retain) NSString *serverSideEncryptionDiscussion
Algorithm used for optional server side encryption.
Declared In
S3Response.hversionId
The version of the object.
When you enable versioning, Amazon S3 generates a random number for objects added to a bucket.
The value is UTF-8 encoded and URL ready.
When you PUT an object in a bucket where versioning has been suspended, the version ID is always null.
@property (nonatomic, retain) NSString *versionIdDiscussion
The version of the object.
When you enable versioning, Amazon S3 generates a random number for objects added to a bucket.
The value is UTF-8 encoded and URL ready.
When you PUT an object in a bucket where versioning has been suspended, the version ID is always null.
Declared In
S3Response.hInstance Methods
getTypeOfPropertyNamed:
Determines the type of a property in a response.
- (NSString *)getTypeOfPropertyNamed:(NSString *)propertyNameDiscussion
Determines the type of a property in a response.
Declared In
S3Response.h