Struct aws_sdk_dataexchange::model::AssetEntry
source · [−]#[non_exhaustive]pub struct AssetEntry {
pub arn: Option<String>,
pub asset_details: Option<AssetDetails>,
pub asset_type: Option<AssetType>,
pub created_at: Option<DateTime>,
pub data_set_id: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub revision_id: Option<String>,
pub source_id: Option<String>,
pub updated_at: Option<DateTime>,
}Expand description
An asset in AWS Data Exchange is a piece of data (S3 object) or a means of fulfilling data (Amazon Redshift datashare or Amazon API Gateway API). The asset can be a structured data file, an image file, or some other data file that can be stored as an S3 object, an Amazon API Gateway API, or an Amazon Redshift datashare. When you create an import job for your files, API Gateway APIs, or Amazon Redshift datashares, you create an asset in AWS Data Exchange.
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.arn: Option<String>The ARN for the asset.
asset_details: Option<AssetDetails>Information about the asset.
asset_type: Option<AssetType>The type of asset that is added to a data set.
created_at: Option<DateTime>The date and time that the asset was created, in ISO 8601 format.
data_set_id: Option<String>The unique identifier for the data set associated with this asset.
id: Option<String>The unique identifier for the asset.
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 the revision associated with this asset.
source_id: Option<String>The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
updated_at: Option<DateTime>The date and time that the asset was last updated, in ISO 8601 format.
Implementations
sourceimpl AssetEntry
impl AssetEntry
sourcepub fn asset_details(&self) -> Option<&AssetDetails>
pub fn asset_details(&self) -> Option<&AssetDetails>
Information about the asset.
sourcepub fn asset_type(&self) -> Option<&AssetType>
pub fn asset_type(&self) -> Option<&AssetType>
The type of asset that is added to a data set.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time that the asset was created, in ISO 8601 format.
sourcepub fn data_set_id(&self) -> Option<&str>
pub fn data_set_id(&self) -> Option<&str>
The unique identifier for the data set associated with this asset.
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 the revision associated with this asset.
sourcepub fn source_id(&self) -> Option<&str>
pub fn source_id(&self) -> Option<&str>
The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time that the asset was last updated, in ISO 8601 format.
sourceimpl AssetEntry
impl AssetEntry
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AssetEntry
Trait Implementations
sourceimpl Clone for AssetEntry
impl Clone for AssetEntry
sourcefn clone(&self) -> AssetEntry
fn clone(&self) -> AssetEntry
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 AssetEntry
impl Debug for AssetEntry
sourceimpl PartialEq<AssetEntry> for AssetEntry
impl PartialEq<AssetEntry> for AssetEntry
sourcefn eq(&self, other: &AssetEntry) -> bool
fn eq(&self, other: &AssetEntry) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AssetEntry) -> bool
fn ne(&self, other: &AssetEntry) -> bool
This method tests for !=.
impl StructuralPartialEq for AssetEntry
Auto Trait Implementations
impl RefUnwindSafe for AssetEntry
impl Send for AssetEntry
impl Sync for AssetEntry
impl Unpin for AssetEntry
impl UnwindSafe for AssetEntry
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