#[non_exhaustive]pub struct CancelSubscriptionOutput {
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 subscription.
created_by: 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: String
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
status: SubscriptionStatus
The status of the request to cancel the subscription.
created_at: DateTime
The timestamp that specifies when the request to cancel the subscription was created.
updated_at: 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) -> &str
pub fn created_by(&self) -> &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) -> &str
pub fn domain_id(&self) -> &str
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
sourcepub fn status(&self) -> &SubscriptionStatus
pub fn status(&self) -> &SubscriptionStatus
The status of the request to cancel the subscription.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The timestamp that specifies when the request to cancel the subscription was created.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &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§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.impl StructuralPartialEq for CancelSubscriptionOutput
Auto Trait Implementations§
impl Freeze for CancelSubscriptionOutput
impl RefUnwindSafe for CancelSubscriptionOutput
impl Send for CancelSubscriptionOutput
impl Sync for CancelSubscriptionOutput
impl Unpin for CancelSubscriptionOutput
impl UnwindSafe for CancelSubscriptionOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more