#[non_exhaustive]pub struct CancelSubscriptionOutput {
pub id: Option<String>,
pub created_by: Option<String>,
pub updated_by: Option<String>,
pub domain_id: Option<String>,
pub status: Option<SubscriptionStatus>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub subscribed_principal: Option<SubscribedPrincipal>,
pub subscribed_listing: Option<SubscribedListing>,
pub subscription_request_id: Option<String>,
pub retain_permissions: Option<bool>,
/* 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 identifier of the subscription.
created_by: Option<String>
Specifies the Amazon DataZone user who is cancelling the subscription.
updated_by: Option<String>
The Amazon DataZone user that cancelled the subscription.
domain_id: Option<String>
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
status: Option<SubscriptionStatus>
The status of the request to cancel the subscription.
created_at: Option<DateTime>
The timestamp that specifies when the request to cancel the subscription was created.
updated_at: Option<DateTime>
The timestamp that specifies when the subscription was cancelled.
subscribed_principal: Option<SubscribedPrincipal>
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
subscribed_listing: Option<SubscribedListing>
The asset to which a subscription is being cancelled.
subscription_request_id: Option<String>
The unique ID of the subscripton request for the subscription that is being cancelled.
retain_permissions: Option<bool>
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
Implementations§
source§impl CancelSubscriptionOutput
impl CancelSubscriptionOutput
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
Specifies the Amazon DataZone user who is cancelling the subscription.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The Amazon DataZone user that cancelled the subscription.
sourcepub fn domain_id(&self) -> Option<&str>
pub fn domain_id(&self) -> Option<&str>
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
sourcepub fn status(&self) -> Option<&SubscriptionStatus>
pub fn status(&self) -> Option<&SubscriptionStatus>
The status of the request to cancel the subscription.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp that specifies when the request to cancel the subscription was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp that specifies when the subscription was cancelled.
sourcepub fn subscribed_principal(&self) -> Option<&SubscribedPrincipal>
pub fn subscribed_principal(&self) -> Option<&SubscribedPrincipal>
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
sourcepub fn subscribed_listing(&self) -> Option<&SubscribedListing>
pub fn subscribed_listing(&self) -> Option<&SubscribedListing>
The asset to which a subscription is being cancelled.
sourcepub fn subscription_request_id(&self) -> Option<&str>
pub fn subscription_request_id(&self) -> Option<&str>
The unique ID of the subscripton request for the subscription that is being cancelled.
sourcepub fn retain_permissions(&self) -> Option<bool>
pub fn retain_permissions(&self) -> Option<bool>
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
source§impl CancelSubscriptionOutput
impl CancelSubscriptionOutput
sourcepub fn builder() -> CancelSubscriptionOutputBuilder
pub fn builder() -> CancelSubscriptionOutputBuilder
Creates a new builder-style object to manufacture CancelSubscriptionOutput
.
Trait Implementations§
source§impl Clone for CancelSubscriptionOutput
impl Clone for CancelSubscriptionOutput
source§fn clone(&self) -> CancelSubscriptionOutput
fn clone(&self) -> CancelSubscriptionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CancelSubscriptionOutput
impl Debug for CancelSubscriptionOutput
source§impl PartialEq for CancelSubscriptionOutput
impl PartialEq for CancelSubscriptionOutput
source§fn eq(&self, other: &CancelSubscriptionOutput) -> bool
fn eq(&self, other: &CancelSubscriptionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CancelSubscriptionOutput
impl RequestId for CancelSubscriptionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.