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: StringThe identifier of the subscription grant.
created_by: StringThe 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: StringThe identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
created_at: DateTimeThe timestamp of when the subscription grant status was created.
updated_at: DateTimeThe timestamp of when the subscription grant status is to be updated.
subscription_target_id: StringThe 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: SubscriptionGrantOverallStatusThe status to be updated as part of the UpdateSubscriptionGrantStatus action.
assets: Option<Vec<SubscribedAsset>>The details of the asset for which the subscription grant is created.
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]
The details of the asset for which the subscription grant is created.
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.impl StructuralPartialEq for UpdateSubscriptionGrantStatusOutput
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionGrantStatusOutput
impl RefUnwindSafe for UpdateSubscriptionGrantStatusOutput
impl Send for UpdateSubscriptionGrantStatusOutput
impl Sync for UpdateSubscriptionGrantStatusOutput
impl Unpin for UpdateSubscriptionGrantStatusOutput
impl UnwindSafe for UpdateSubscriptionGrantStatusOutput
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> 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