Struct aws_sdk_dataexchange::model::RevisionEntry
source · [−]#[non_exhaustive]pub struct RevisionEntry {
pub arn: Option<String>,
pub comment: Option<String>,
pub created_at: Option<DateTime>,
pub data_set_id: Option<String>,
pub finalized: bool,
pub id: Option<String>,
pub source_id: Option<String>,
pub updated_at: Option<DateTime>,
pub revocation_comment: Option<String>,
pub revoked: bool,
pub revoked_at: Option<DateTime>,
}Expand description
A revision is a container for one or more assets.
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 revision.
comment: Option<String>An optional comment about the revision.
created_at: Option<DateTime>The date and time that the revision was created, in ISO 8601 format.
data_set_id: Option<String>The unique identifier for the data set associated with this revision.
finalized: boolTo publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
id: Option<String>The unique identifier for the revision.
source_id: Option<String>The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
updated_at: Option<DateTime>The date and time that the revision was last updated, in ISO 8601 format.
revocation_comment: Option<String>A required comment to inform subscribers of the reason their access to the revision was revoked.
revoked: boolA status indicating that subscribers' access to the revision was revoked.
revoked_at: Option<DateTime>The date and time that the revision was revoked, in ISO 8601 format.
Implementations
sourceimpl RevisionEntry
impl RevisionEntry
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time that the revision 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 revision.
sourcepub fn finalized(&self) -> bool
pub fn finalized(&self) -> bool
To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
sourcepub fn source_id(&self) -> Option<&str>
pub fn source_id(&self) -> Option<&str>
The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time that the revision was last updated, in ISO 8601 format.
sourcepub fn revocation_comment(&self) -> Option<&str>
pub fn revocation_comment(&self) -> Option<&str>
A required comment to inform subscribers of the reason their access to the revision was revoked.
sourcepub fn revoked(&self) -> bool
pub fn revoked(&self) -> bool
A status indicating that subscribers' access to the revision was revoked.
sourcepub fn revoked_at(&self) -> Option<&DateTime>
pub fn revoked_at(&self) -> Option<&DateTime>
The date and time that the revision was revoked, in ISO 8601 format.
sourceimpl RevisionEntry
impl RevisionEntry
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RevisionEntry
Trait Implementations
sourceimpl Clone for RevisionEntry
impl Clone for RevisionEntry
sourcefn clone(&self) -> RevisionEntry
fn clone(&self) -> RevisionEntry
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 RevisionEntry
impl Debug for RevisionEntry
sourceimpl PartialEq<RevisionEntry> for RevisionEntry
impl PartialEq<RevisionEntry> for RevisionEntry
sourcefn eq(&self, other: &RevisionEntry) -> bool
fn eq(&self, other: &RevisionEntry) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RevisionEntry) -> bool
fn ne(&self, other: &RevisionEntry) -> bool
This method tests for !=.
impl StructuralPartialEq for RevisionEntry
Auto Trait Implementations
impl RefUnwindSafe for RevisionEntry
impl Send for RevisionEntry
impl Sync for RevisionEntry
impl Unpin for RevisionEntry
impl UnwindSafe for RevisionEntry
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