Struct aws_sdk_dataexchange::input::UpdateAssetInput
source · [−]#[non_exhaustive]pub struct UpdateAssetInput {
pub asset_id: Option<String>,
pub data_set_id: Option<String>,
pub name: Option<String>,
pub revision_id: Option<String>,
}Expand description
The request body for UpdateAsset.
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.asset_id: Option<String>The unique identifier for an asset.
data_set_id: Option<String>The unique identifier for a data set.
name: Option<String>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name.
revision_id: Option<String>The unique identifier for a revision.
Implementations
sourceimpl UpdateAssetInput
impl UpdateAssetInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAsset, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAsset, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateAsset>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateAssetInput
sourceimpl UpdateAssetInput
impl UpdateAssetInput
sourcepub fn data_set_id(&self) -> Option<&str>
pub fn data_set_id(&self) -> Option<&str>
The unique identifier for a data set.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The unique identifier for a revision.
Trait Implementations
sourceimpl Clone for UpdateAssetInput
impl Clone for UpdateAssetInput
sourcefn clone(&self) -> UpdateAssetInput
fn clone(&self) -> UpdateAssetInput
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 UpdateAssetInput
impl Debug for UpdateAssetInput
sourceimpl PartialEq<UpdateAssetInput> for UpdateAssetInput
impl PartialEq<UpdateAssetInput> for UpdateAssetInput
sourcefn eq(&self, other: &UpdateAssetInput) -> bool
fn eq(&self, other: &UpdateAssetInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdateAssetInput) -> bool
fn ne(&self, other: &UpdateAssetInput) -> bool
This method tests for !=.
impl StructuralPartialEq for UpdateAssetInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateAssetInput
impl Send for UpdateAssetInput
impl Sync for UpdateAssetInput
impl Unpin for UpdateAssetInput
impl UnwindSafe for UpdateAssetInput
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