#[non_exhaustive]pub struct GetSubscriptionGrantOutput {
pub id: Option<String>,
pub created_by: Option<String>,
pub updated_by: Option<String>,
pub domain_id: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub subscription_target_id: Option<String>,
pub granted_entity: Option<GrantedEntity>,
pub status: Option<SubscriptionGrantOverallStatus>,
pub assets: Option<Vec<SubscribedAsset>>,
pub subscription_id: Option<String>,
/* 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.id: Option<String>
The ID of the subscription grant.
created_by: Option<String>
The Amazon DataZone user who created the subscription grant.
updated_by: Option<String>
The Amazon DataZone user who updated the subscription grant.
domain_id: Option<String>
The ID of the Amazon DataZone domain in which the subscription grant exists.
created_at: Option<DateTime>
The timestamp of when the subscription grant is created.
updated_at: Option<DateTime>
The timestamp of when the subscription grant was upated.
subscription_target_id: Option<String>
The subscription target ID associated with the subscription grant.
granted_entity: Option<GrantedEntity>
The entity to which the subscription is granted.
status: Option<SubscriptionGrantOverallStatus>
The status of the subscription grant.
assets: Option<Vec<SubscribedAsset>>
The assets for which the subscription grant is created.
subscription_id: Option<String>
The identifier of the subscription.
Implementations§
source§impl GetSubscriptionGrantOutput
impl GetSubscriptionGrantOutput
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The Amazon DataZone user who created the subscription grant.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The Amazon DataZone user who updated the subscription grant.
sourcepub fn domain_id(&self) -> Option<&str>
pub fn domain_id(&self) -> Option<&str>
The ID of the Amazon DataZone domain in which the subscription grant exists.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when the subscription grant is created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp of when the subscription grant was upated.
sourcepub fn subscription_target_id(&self) -> Option<&str>
pub fn subscription_target_id(&self) -> Option<&str>
The subscription target ID associated with the subscription grant.
sourcepub fn granted_entity(&self) -> Option<&GrantedEntity>
pub fn granted_entity(&self) -> Option<&GrantedEntity>
The entity to which the subscription is granted.
sourcepub fn status(&self) -> Option<&SubscriptionGrantOverallStatus>
pub fn status(&self) -> Option<&SubscriptionGrantOverallStatus>
The status of the subscription grant.
sourcepub fn assets(&self) -> Option<&[SubscribedAsset]>
pub fn assets(&self) -> Option<&[SubscribedAsset]>
The assets for which the subscription grant is created.
sourcepub fn subscription_id(&self) -> Option<&str>
pub fn subscription_id(&self) -> Option<&str>
The identifier of the subscription.
source§impl GetSubscriptionGrantOutput
impl GetSubscriptionGrantOutput
sourcepub fn builder() -> GetSubscriptionGrantOutputBuilder
pub fn builder() -> GetSubscriptionGrantOutputBuilder
Creates a new builder-style object to manufacture GetSubscriptionGrantOutput
.
Trait Implementations§
source§impl Clone for GetSubscriptionGrantOutput
impl Clone for GetSubscriptionGrantOutput
source§fn clone(&self) -> GetSubscriptionGrantOutput
fn clone(&self) -> GetSubscriptionGrantOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSubscriptionGrantOutput
impl Debug for GetSubscriptionGrantOutput
source§impl PartialEq for GetSubscriptionGrantOutput
impl PartialEq for GetSubscriptionGrantOutput
source§fn eq(&self, other: &GetSubscriptionGrantOutput) -> bool
fn eq(&self, other: &GetSubscriptionGrantOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetSubscriptionGrantOutput
impl RequestId for GetSubscriptionGrantOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.