Table of Contents

Class Signeds3downloadRequestBuilder.Signeds3downloadRequestBuilderGetQueryParameters

Namespace
Autodesk.DataManagement.OSS.Oss.V2.Buckets.Item.Objects.Item.Signeds3download
Assembly
Autodesk.DataManagement.dll

Gets a signed URL to a download an object directly from S3, bypassing OSS servers. This signed URL expires in 60 seconds, so the request must begin within that time frame; the actual data transfer can take longer. Note that resumable uploads store each chunk individually; after the upload completes, an async process merges all the chunks and creates the definitive OSS file. If you request a signed URL before the async process completes, the response returns a map of S3 URLs, one per chunk; the key is the byte range of the total file to which the chunk corresponds. If you need a single URL in the response, you can use OSS signed resource functionality by setting the 'public-resource-fallback' query parameter to true. Lastly, note that ranged downloads can be used with the returned URL.

public class Signeds3downloadRequestBuilder.Signeds3downloadRequestBuilderGetQueryParameters
Inheritance
Signeds3downloadRequestBuilder.Signeds3downloadRequestBuilderGetQueryParameters
Inherited Members

Properties

MinutesExpiration

The custom expiration time within the 1 to 60 minutes range, if not specified, default is 2 minutes.

[QueryParameter("minutesExpiration")]
public int? MinutesExpiration { get; set; }

Property Value

int?

PublicResourceFallback

Indicates that OSS should return an OSS Signed Resource if the object is unmerged, rather than a map of S3 signed URLs for the chunks of the object.

[QueryParameter("public%2Dresource%2Dfallback")]
public bool? PublicResourceFallback { get; set; }

Property Value

bool?

Redirect

Generates a HTTP redirection response (Temporary Redirect 307​) using the generated URL.

[QueryParameter("redirect")]
public bool? Redirect { get; set; }

Property Value

bool?

ResponseCacheControl

Value of the Cache-Control header that the client expects to receive from S3. If this attribute is not provided, it defaults to the value corresponding to the object.

[QueryParameter("response%2Dcache%2Dcontrol")]
public string? ResponseCacheControl { get; set; }

Property Value

string

ResponseContentDisposition

Value of the Content-Disposition header that the client expects to receive. If this attribute is not provided, it defaults to the value corresponding to the object.

[QueryParameter("response%2Dcontent%2Ddisposition")]
public string? ResponseContentDisposition { get; set; }

Property Value

string

ResponseContentType

Value of the Content-Type header that the client expects to receive from S3. If this attribute is not provided, it defaults to the value corresponding to the object.

[QueryParameter("response%2Dcontent%2Dtype")]
public string? ResponseContentType { get; set; }

Property Value

string

UseCdn

This will generate a CloudFront URL for the S3 object.

[QueryParameter("useCdn")]
public bool? UseCdn { get; set; }

Property Value

bool?