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.
public class S3Response : IDisposable
Initializes a new instance of theclass
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.
Disposes of all managed and unmanaged resources.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
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.
Gets and sets the Metadata property.
Gets and sets the RequestId property.
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.
Gets and sets the ResponseXml property. This is the original xml response received from S3
Gets the HTTP Status code from the service response.
String Representation of this object. Overrides Object.ToString()(Overrides Object.ToString()()()().)
Assembly: AWSSDK (Module: AWSSDK) Version: 188.8.131.52 (184.108.40.206)