#[non_exhaustive]pub struct GetSubscriptionOutput {
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 ID of the subscription.
created_by: String
The Amazon DataZone user who created the subscription.
updated_by: Option<String>
The Amazon DataZone user who updated the subscription.
domain_id: String
The ID of the Amazon DataZone domain in which the subscription exists.
status: SubscriptionStatus
The status of the subscription.
created_at: DateTime
The timestamp of when the subscription was created.
updated_at: DateTime
The timestamp of when the subscription was updated.
subscribed_principal: Option<SubscribedPrincipal>
The principal that owns the subscription.
subscribed_listing: Option<SubscribedListing>
The details of the published asset for which the subscription grant is created.
subscription_request_id: Option<String>
The ID of the subscription request.
retain_permissions: Option<bool>
The retain permissions of the subscription.
Implementations§
source§impl GetSubscriptionOutput
impl GetSubscriptionOutput
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The Amazon DataZone user who created the subscription.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The Amazon DataZone user who updated the subscription.
sourcepub fn domain_id(&self) -> &str
pub fn domain_id(&self) -> &str
The ID of the Amazon DataZone domain in which the subscription exists.
sourcepub fn status(&self) -> &SubscriptionStatus
pub fn status(&self) -> &SubscriptionStatus
The status of the subscription.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The timestamp of when the subscription was created.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &DateTime
The timestamp of when the subscription was updated.
sourcepub fn subscribed_principal(&self) -> Option<&SubscribedPrincipal>
pub fn subscribed_principal(&self) -> Option<&SubscribedPrincipal>
The principal that owns the subscription.
sourcepub fn subscribed_listing(&self) -> Option<&SubscribedListing>
pub fn subscribed_listing(&self) -> Option<&SubscribedListing>
The details of the published asset for which the subscription grant is created.
sourcepub fn subscription_request_id(&self) -> Option<&str>
pub fn subscription_request_id(&self) -> Option<&str>
The ID of the subscription request.
sourcepub fn retain_permissions(&self) -> Option<bool>
pub fn retain_permissions(&self) -> Option<bool>
The retain permissions of the subscription.
source§impl GetSubscriptionOutput
impl GetSubscriptionOutput
sourcepub fn builder() -> GetSubscriptionOutputBuilder
pub fn builder() -> GetSubscriptionOutputBuilder
Creates a new builder-style object to manufacture GetSubscriptionOutput
.
Trait Implementations§
source§impl Clone for GetSubscriptionOutput
impl Clone for GetSubscriptionOutput
source§fn clone(&self) -> GetSubscriptionOutput
fn clone(&self) -> GetSubscriptionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSubscriptionOutput
impl Debug for GetSubscriptionOutput
source§impl PartialEq for GetSubscriptionOutput
impl PartialEq for GetSubscriptionOutput
source§impl RequestId for GetSubscriptionOutput
impl RequestId for GetSubscriptionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetSubscriptionOutput
Auto Trait Implementations§
impl Freeze for GetSubscriptionOutput
impl RefUnwindSafe for GetSubscriptionOutput
impl Send for GetSubscriptionOutput
impl Sync for GetSubscriptionOutput
impl Unpin for GetSubscriptionOutput
impl UnwindSafe for GetSubscriptionOutput
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