aws_sdk_dataexchange/client/send_api_asset.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SendApiAsset`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`body(impl Into<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::body) / [`set_body(Option<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::set_body):<br>required: **false**<br><p>The request body.</p><br>
/// - [`query_string_parameters(impl Into<String>, impl Into<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::query_string_parameters) / [`set_query_string_parameters(Option<HashMap::<String, String>>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::set_query_string_parameters):<br>required: **false**<br><p>Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).</p><br>
/// - [`asset_id(impl Into<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::asset_id) / [`set_asset_id(Option<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::set_asset_id):<br>required: **true**<br><p>Asset ID value for the API request.</p><br>
/// - [`data_set_id(impl Into<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::data_set_id) / [`set_data_set_id(Option<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::set_data_set_id):<br>required: **true**<br><p>Data set ID value for the API request.</p><br>
/// - [`request_headers(impl Into<String>, impl Into<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::request_headers) / [`set_request_headers(Option<HashMap::<String, String>>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::set_request_headers):<br>required: **false**<br><p>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.</p><br>
/// - [`method(impl Into<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::method) / [`set_method(Option<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::set_method):<br>required: **false**<br><p>HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.</p><br>
/// - [`path(impl Into<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::path) / [`set_path(Option<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::set_path):<br>required: **false**<br><p>URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}.</p><br>
/// - [`revision_id(impl Into<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::revision_id) / [`set_revision_id(Option<String>)`](crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::set_revision_id):<br>required: **true**<br><p>Revision ID value for the API request.</p><br>
/// - On success, responds with [`SendApiAssetOutput`](crate::operation::send_api_asset::SendApiAssetOutput) with field(s):
/// - [`body(Option<String>)`](crate::operation::send_api_asset::SendApiAssetOutput::body): <p>The response body from the underlying API tracked by the API asset.</p>
/// - [`response_headers(Option<HashMap::<String, String>>)`](crate::operation::send_api_asset::SendApiAssetOutput::response_headers): <p>The response headers from the underlying API tracked by the API asset.</p>
/// - On failure, responds with [`SdkError<SendApiAssetError>`](crate::operation::send_api_asset::SendApiAssetError)
pub fn send_api_asset(&self) -> crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder {
crate::operation::send_api_asset::builders::SendApiAssetFluentBuilder::new(self.handle.clone())
}
}