Table of Contents

Class Batchsigneds3downloadRequestBuilder

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

Builds and executes requests for operations under \oss\v2\buckets{bucketKey}\objects\batchsigneds3download

public class Batchsigneds3downloadRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
Batchsigneds3downloadRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.UrlTemplate

Constructors

Batchsigneds3downloadRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new Batchsigneds3downloadRequestBuilder and sets the default values.

public Batchsigneds3downloadRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)

Parameters

pathParameters Dictionary<string, object>

Path parameters for the request

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

Batchsigneds3downloadRequestBuilder(string, IRequestAdapter)

Instantiates a new Batchsigneds3downloadRequestBuilder and sets the default values.

public Batchsigneds3downloadRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)

Parameters

rawUrl string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

Methods

PostAsync(Batchsigneds3download_object, Action<RequestConfiguration<Batchsigneds3downloadRequestBuilderPostQueryParameters>>?, CancellationToken)

Gets one or more signed URLs to download objects. The signed URLs can be used to download the objects directly from S3, skipping OSS servers. Be aware that expiration time for the signed URL(s) is just 60 seconds. So, a request to the URL(s) must begin within 60 seconds; the transfer of the data can exceed 60 seconds. A successful call to this endpoint requires bucket owner access.

public Task<Batchsigneds3download_response?> PostAsync(Batchsigneds3download_object body, Action<RequestConfiguration<Batchsigneds3downloadRequestBuilder.Batchsigneds3downloadRequestBuilderPostQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body Batchsigneds3download_object

The request body

requestConfiguration Action<RequestConfiguration<Batchsigneds3downloadRequestBuilder.Batchsigneds3downloadRequestBuilderPostQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<Batchsigneds3download_response>

A Batchsigneds3download_response

ToPostRequestInformation(Batchsigneds3download_object, Action<RequestConfiguration<Batchsigneds3downloadRequestBuilderPostQueryParameters>>?)

Gets one or more signed URLs to download objects. The signed URLs can be used to download the objects directly from S3, skipping OSS servers. Be aware that expiration time for the signed URL(s) is just 60 seconds. So, a request to the URL(s) must begin within 60 seconds; the transfer of the data can exceed 60 seconds. A successful call to this endpoint requires bucket owner access.

public RequestInformation ToPostRequestInformation(Batchsigneds3download_object body, Action<RequestConfiguration<Batchsigneds3downloadRequestBuilder.Batchsigneds3downloadRequestBuilderPostQueryParameters>>? requestConfiguration = null)

Parameters

body Batchsigneds3download_object

The request body

requestConfiguration Action<RequestConfiguration<Batchsigneds3downloadRequestBuilder.Batchsigneds3downloadRequestBuilderPostQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

WithUrl(string)

Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.

public Batchsigneds3downloadRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

Batchsigneds3downloadRequestBuilder

A Batchsigneds3downloadRequestBuilder