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
sourceimpl SendApiAssetInput
impl SendApiAssetInput
sourcepub 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>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SendApiAssetInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for SendApiAssetInput
impl Clone for SendApiAssetInput
sourcefn clone(&self) -> SendApiAssetInput
fn clone(&self) -> SendApiAssetInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SendApiAssetInput
impl Debug for SendApiAssetInput
sourceimpl PartialEq<SendApiAssetInput> for SendApiAssetInput
impl PartialEq<SendApiAssetInput> for SendApiAssetInput
sourcefn eq(&self, other: &SendApiAssetInput) -> bool
fn eq(&self, other: &SendApiAssetInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SendApiAssetInput) -> bool
fn ne(&self, other: &SendApiAssetInput) -> bool
This method tests for !=.
impl StructuralPartialEq for SendApiAssetInput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more