#[non_exhaustive]pub struct GetRevisionOutput {
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 tags: Option<HashMap<String, String>>,
pub updated_at: Option<DateTime>,
pub revocation_comment: Option<String>,
pub revoked: bool,
pub revoked_at: Option<DateTime>,
/* private fields */
}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 the data set 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.
The tags for the 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§
source§impl GetRevisionOutput
impl GetRevisionOutput
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 the data set 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.
The tags for the 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.
source§impl GetRevisionOutput
impl GetRevisionOutput
sourcepub fn builder() -> GetRevisionOutputBuilder
pub fn builder() -> GetRevisionOutputBuilder
Creates a new builder-style object to manufacture GetRevisionOutput.
Trait Implementations§
source§impl Clone for GetRevisionOutput
impl Clone for GetRevisionOutput
source§fn clone(&self) -> GetRevisionOutput
fn clone(&self) -> GetRevisionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetRevisionOutput
impl Debug for GetRevisionOutput
source§impl PartialEq for GetRevisionOutput
impl PartialEq for GetRevisionOutput
source§fn eq(&self, other: &GetRevisionOutput) -> bool
fn eq(&self, other: &GetRevisionOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetRevisionOutput
impl RequestId for GetRevisionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.