#[non_exhaustive]pub struct GetSubscriptionGrantOutput {
pub id: String,
pub created_by: String,
pub updated_by: Option<String>,
pub domain_id: String,
pub created_at: DateTime,
pub updated_at: DateTime,
pub subscription_target_id: String,
pub granted_entity: Option<GrantedEntity>,
pub status: 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: String
The ID of the subscription grant.
created_by: 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: String
The ID of the Amazon DataZone domain in which the subscription grant exists.
created_at: DateTime
The timestamp of when the subscription grant is created.
updated_at: DateTime
The timestamp of when the subscription grant was upated.
subscription_target_id: String
The subscription target ID associated with the subscription grant.
granted_entity: Option<GrantedEntity>
The entity to which the subscription is granted.
status: 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) -> &str
pub fn created_by(&self) -> &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) -> &str
pub fn domain_id(&self) -> &str
The ID of the Amazon DataZone domain in which the subscription grant exists.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The timestamp of when the subscription grant is created.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &DateTime
The timestamp of when the subscription grant was upated.
sourcepub fn subscription_target_id(&self) -> &str
pub fn subscription_target_id(&self) -> &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) -> &SubscriptionGrantOverallStatus
pub fn status(&self) -> &SubscriptionGrantOverallStatus
The status of the subscription grant.
sourcepub fn assets(&self) -> &[SubscribedAsset]
pub fn assets(&self) -> &[SubscribedAsset]
The assets for which the subscription grant is created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .assets.is_none()
.
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.