Struct aws_sdk_dataexchange::input::SendApiAssetInput
source · [−]#[non_exhaustive]pub struct SendApiAssetInput {
pub body: Option<String>,
pub query_string_parameters: Option<HashMap<String, String>>,
pub asset_id: Option<String>,
pub data_set_id: Option<String>,
pub request_headers: Option<HashMap<String, String>>,
pub method: Option<String>,
pub path: Option<String>,
pub revision_id: Option<String>,
}Expand description
The request body for SendApiAsset.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.body: Option<String>The request body.
query_string_parameters: Option<HashMap<String, String>>Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
asset_id: Option<String>Asset ID value for the API request.
data_set_id: Option<String>Data set ID value for the API request.
request_headers: Option<HashMap<String, String>>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.
method: Option<String>HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.
path: Option<String>URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}
revision_id: Option<String>Revision ID value for the API request.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendApiAsset, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SendApiAsset, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SendApiAsset>
Creates a new builder-style object to manufacture SendApiAssetInput
Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
Data set ID value for the API 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.
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.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SendApiAssetInput
impl Send for SendApiAssetInput
impl Sync for SendApiAssetInput
impl Unpin for SendApiAssetInput
impl UnwindSafe for SendApiAssetInput
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