The GetPreSignedUrlRequest contains the parameters used to create
a pre signed URL. For more information, refer:
http://docs.amazonwebservices.com/AmazonS3/latest/dev/S3_QSAuth.html
Required Parameters: BucketName, Expires
Optional Parameters: Key, VersionId, Verb: default is GET
Namespace: Amazon.S3.ModelRequired Parameters: BucketName, Expires
Optional Parameters: Key, VersionId, Verb: default is GET
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| GetPreSignedUrlRequest()()()() | Initializes a new instance of the GetPreSignedUrlRequest class | |
| AddHeader(String, String) |
Adds the header to the collection of headers for the request.
(Inherited from S3Request.) | |
| AddHeaders(NameValueCollection) |
Adds all of the key/value pairs from collection into our request header.
(Inherited from S3Request.) | |
| BucketName |
Gets and sets the BucketName property.
| |
| ContentType |
Gets and sets the ContentType property.
| |
| Equals(Object) | (Inherited from Object.) | |
| Expires |
Gets and sets the Expires property.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InputStream |
Gets and sets the InputStream property.
(Inherited from S3Request.) | |
| IsSetExpires()()()() |
Checks if Expires property is set.
| |
| Key |
Gets and sets the Key property.
| |
| Protocol |
Gets and sets the Protocol property.
| |
| ResponseHeaderOverrides |
Gets and sets the response headers to be returned back with the response of the object.
| |
| ServerSideEncryptionMethod |
Gets and sets the ServerSideEncryptionMethod property.
Specifies the encryption used on the server to
store the content.
Default is None.
Note: if specifying encryption (not None), the
corresponding request must include header
"x-amz-server-side-encryption" with the value of
the encryption.
| |
| ToString()()()() | (Inherited from S3Request.) | |
| Verb |
Gets and sets the Verb property.
Specifies the verb used in the pre-signed URL.
Accepted verbs are GET, PUT and HEAD.
Default is GET.
| |
| VersionId |
Gets and sets the VersionId property.
This is the VersionId for the S3 Object you want to get
a PreSigned URL for. The VersionId property will be ignored
for PreSigned "PUT" requests and for requests that don't specify
the Key property.
| |
| WithBucketName(String) |
Sets the BucketName property for this request.
This is the S3 Bucket that contains the S3 Object
you want to create a pre signed URL for.
| |
| WithContentType(String) |
Sets the ContentType property for this request.
This property defaults to "binary/octet-stream",
but if you require something else you can set this property.
| |
| WithExpires(DateTime) |
Sets the Expires property for this request.
The time when the signature expires, specified as a DateTime
Object.
| |
| WithInputStream(Stream) |
Sets the InputStream property.
(Inherited from S3Request.) | |
| WithKey(String) |
Sets the Key property for this request.
This is the Key for the S3 Object you want to create a
pre signed URL for.
| |
| WithProtocol(Protocol) |
Sets the Protocol property for this request.
Specifies whether the pre signed URL will use
http or https. Defaults to https unless otherwise
set.
| |
| WithResponseHeaderOverrides(ResponseHeaderOverrides) |
Sets the ResponseHeaderOverrides property and returns back this instance for method chaining.
| |
| WithServerSideEncryptionMethod(ServerSideEncryptionMethod) |
Sets the ServerSideEncryptionMethod property for this request.
Specifies the encryption used on the server to
store the content.
Note: if specifying encryption (not None), the
corresponding request must include header
"x-amz-server-side-encryption" with the value of
the encryption.
| |
| WithVerb(HttpVerb) |
Sets the Verb property for this request.
Specifies which verb to use in the pre-signed URL.
Accepted verbs are GET, PUT and HEAD.
Default value is GET.
| |
| WithVersionId(String) |
Sets the VersionId property for this request.
This is the VersionId for the S3 Object you want to get
a PreSigned URL for. The VersionId property will be ignored
for PreSigned "PUT" requests and for requests that don't specify
the Key property.
|