#[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>,
}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§
source§impl SendApiAssetInput
impl SendApiAssetInput
sourcepub fn query_string_parameters(&self) -> Option<&HashMap<String, String>>
pub fn query_string_parameters(&self) -> Option<&HashMap<String, String>>
Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
sourcepub fn data_set_id(&self) -> Option<&str>
pub fn data_set_id(&self) -> Option<&str>
Data set ID value for the API request.
sourcepub fn request_headers(&self) -> Option<&HashMap<String, String>>
pub fn request_headers(&self) -> 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.
sourcepub fn method(&self) -> Option<&str>
pub fn method(&self) -> Option<&str>
HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
Revision ID value for the API request.
source§impl SendApiAssetInput
impl SendApiAssetInput
sourcepub fn builder() -> SendApiAssetInputBuilder
pub fn builder() -> SendApiAssetInputBuilder
Creates a new builder-style object to manufacture SendApiAssetInput.
Trait Implementations§
source§impl Clone for SendApiAssetInput
impl Clone for SendApiAssetInput
source§fn clone(&self) -> SendApiAssetInput
fn clone(&self) -> SendApiAssetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SendApiAssetInput
impl Debug for SendApiAssetInput
source§impl PartialEq for SendApiAssetInput
impl PartialEq for SendApiAssetInput
source§fn eq(&self, other: &SendApiAssetInput) -> bool
fn eq(&self, other: &SendApiAssetInput) -> bool
self and other values to be equal, and is used
by ==.