Class Batchsigneds3downloadRequestBuilder
- Assembly
- Autodesk.DataManagement.dll
Builds and executes requests for operations under \oss\v2\buckets{bucketKey}\objects\batchsigneds3download
public class Batchsigneds3downloadRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderBatchsigneds3downloadRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.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
IRequestAdapterThe 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
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe 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_objectThe request body
requestConfiguration
Action<RequestConfiguration<Batchsigneds3downloadRequestBuilder.Batchsigneds3downloadRequestBuilderPostQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
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_objectThe 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
stringThe raw URL to use for the request builder.