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