#[non_exhaustive]pub struct RevokeSubscriptionOutput {
pub id: String,
pub created_by: String,
pub updated_by: Option<String>,
pub domain_id: String,
pub status: SubscriptionStatus,
pub created_at: DateTime,
pub updated_at: 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: String
The identifier of the revoked subscription.
created_by: String
The identifier of the user who revoked the subscription.
updated_by: Option<String>
The Amazon DataZone user who revoked the subscription.
domain_id: String
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
status: SubscriptionStatus
The status of the revoked subscription.
created_at: DateTime
The timestamp of when the subscription was revoked.
updated_at: DateTime
The timestamp of when the subscription was revoked.
subscribed_principal: Option<SubscribedPrincipal>
The subscribed principal of the revoked subscription.
subscribed_listing: Option<SubscribedListing>
The subscribed listing of the revoked subscription.
subscription_request_id: Option<String>
The identifier of the subscription request for the revoked subscription.
retain_permissions: Option<bool>
Specifies whether permissions are retained when the subscription is revoked.
Implementations§
source§impl RevokeSubscriptionOutput
impl RevokeSubscriptionOutput
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The identifier of the user who revoked the subscription.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The Amazon DataZone user who revoked the subscription.
sourcepub fn domain_id(&self) -> &str
pub fn domain_id(&self) -> &str
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
sourcepub fn status(&self) -> &SubscriptionStatus
pub fn status(&self) -> &SubscriptionStatus
The status of the revoked subscription.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The timestamp of when the subscription was revoked.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &DateTime
The timestamp of when the subscription was revoked.
sourcepub fn subscribed_principal(&self) -> Option<&SubscribedPrincipal>
pub fn subscribed_principal(&self) -> Option<&SubscribedPrincipal>
The subscribed principal of the revoked subscription.
sourcepub fn subscribed_listing(&self) -> Option<&SubscribedListing>
pub fn subscribed_listing(&self) -> Option<&SubscribedListing>
The subscribed listing of the revoked subscription.
sourcepub fn subscription_request_id(&self) -> Option<&str>
pub fn subscription_request_id(&self) -> Option<&str>
The identifier of the subscription request for the revoked subscription.
sourcepub fn retain_permissions(&self) -> Option<bool>
pub fn retain_permissions(&self) -> Option<bool>
Specifies whether permissions are retained when the subscription is revoked.
source§impl RevokeSubscriptionOutput
impl RevokeSubscriptionOutput
sourcepub fn builder() -> RevokeSubscriptionOutputBuilder
pub fn builder() -> RevokeSubscriptionOutputBuilder
Creates a new builder-style object to manufacture RevokeSubscriptionOutput
.
Trait Implementations§
source§impl Clone for RevokeSubscriptionOutput
impl Clone for RevokeSubscriptionOutput
source§fn clone(&self) -> RevokeSubscriptionOutput
fn clone(&self) -> RevokeSubscriptionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RevokeSubscriptionOutput
impl Debug for RevokeSubscriptionOutput
source§impl PartialEq for RevokeSubscriptionOutput
impl PartialEq for RevokeSubscriptionOutput
source§fn eq(&self, other: &RevokeSubscriptionOutput) -> bool
fn eq(&self, other: &RevokeSubscriptionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for RevokeSubscriptionOutput
impl RequestId for RevokeSubscriptionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.