C# Class Amazon.S3.Model.PostObjectRequest

Parameters for uploading to Amazon S3 a file using HTTP POST

If a S3PostUploadSignedPolicy is assigned, then values set (other than InputStream or Path) on this object must adhere to the policy. This includes metadata. If metadata is specified in the policy, then it must be included in the request. Adding metadata not in the policy will cause the POST to fail.

For more information,

Inheritance: Amazon.Runtime.AmazonWebServiceRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Property Type Description
WriteFormData void
WriteFormDatum void

Public Methods

Method Description
PostObjectRequest ( ) : Amazon.Runtime

Upload data to Amazon S3 using HTTP POST.

For more information,

Private Methods

Method Description
WriteFormData ( string boundary, Stream outputStream ) : void

Write the multipart/form-data for this request for all fields except the file data to a stream

WriteFormDatum ( Stream stream, string name, string value, string boundary ) : void

Method Details

PostObjectRequest() public method

Upload data to Amazon S3 using HTTP POST.
For more information,
public PostObjectRequest ( ) : Amazon.Runtime
return Amazon.Runtime