#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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

Consumes the builder and constructs an Operation<SendApiAsset>

Creates a new builder-style object to manufacture SendApiAssetInput

The request body.

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.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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