Struct aws_sdk_dataexchange::client::fluent_builders::SendApiAsset
source · [−]pub struct SendApiAsset<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to SendApiAsset.
This operation invokes an API Gateway API asset. The request is proxied to the provider’s API Gateway API.
Implementations
impl<C, M, R> SendApiAsset<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SendApiAsset<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SendApiAssetOutput, SdkError<SendApiAssetError>> where
R::Policy: SmithyRetryPolicy<SendApiAssetInputOperationOutputAlias, SendApiAssetOutput, SendApiAssetError, SendApiAssetInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SendApiAssetOutput, SdkError<SendApiAssetError>> where
R::Policy: SmithyRetryPolicy<SendApiAssetInputOperationOutputAlias, SendApiAssetOutput, SendApiAssetError, SendApiAssetInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Adds a key-value pair to QueryStringParameters.
To override the contents of this collection use set_query_string_parameters.
Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
Asset ID value for the API request.
Data set ID value for the API request.
Data set ID value for the API request.
Adds a key-value pair to RequestHeaders.
To override the contents of this collection use set_request_headers.
Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.
Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.
HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.
HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.
URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}
URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}
Revision ID value for the API request.
Revision ID value for the API request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SendApiAsset<C, M, R>
impl<C, M, R> Unpin for SendApiAsset<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SendApiAsset<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more