AWS SDK for .NET Documentation
S3Response Class
AmazonAmazon.S3.ModelS3Response Did this page help you?   Yes   No    Tell us about it...
Base class for all S3 operation responses. Provides a header collection which is used to store the response headers. Also exposes the RequestId and AmazonId2 from S3 responses, as well as a Response Stream is the operation returned a stream. Lastly, if the response contained metadata, they are stored in the Metadata collection.
Declaration Syntax
C#
public class S3Response : IDisposable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
S3Response()()()()
Initializes a new instance of the S3Response class

AmazonId2
Gets and sets the AmazonId2 property. This property corresponds to the x-amz-id-2 header in the HTTP response from the Amazon S3 service. The value of this header is used for internal troubleshooting purposes.

Dispose()()()()
Disposes of all managed and unmanaged resources.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Headers
Gets and sets the Headers property. Information like the request-id, the amz-id-2 are retrieved fro the Headers and presented to the user via properties of the response object.

Metadata
Gets and sets the Metadata property.

RequestId
Gets and sets the RequestId property.

ResponseStream
Gets and sets the ResponseStream property. This property only has a valid value for GetObjectResponses. In order to use this stream without leaking the underlying resource, please wrap access to the stream within a using block.
CopyC#

ResponseXml
Gets and sets the ResponseXml property. This is the original xml response received from S3

StatusCode
Gets the HTTP Status code from the service response.

ToString()()()()
String Representation of this object. Overrides Object.ToString()
(Overrides Object.ToString()()()().)
Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)