Struct aws_sdk_datazone::operation::create_subscription_request::CreateSubscriptionRequestInput
source · #[non_exhaustive]pub struct CreateSubscriptionRequestInput {
pub domain_identifier: Option<String>,
pub subscribed_principals: Option<Vec<SubscribedPrincipalInput>>,
pub subscribed_listings: Option<Vec<SubscribedListingInput>>,
pub request_reason: Option<String>,
pub client_token: Option<String>,
}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.domain_identifier: Option<String>The ID of the Amazon DataZone domain in which the subscription request is created.
subscribed_principals: Option<Vec<SubscribedPrincipalInput>>The Amazon DataZone principals for whom the subscription request is created.
subscribed_listings: Option<Vec<SubscribedListingInput>>The published asset for which the subscription grant is to be created.
request_reason: Option<String>The reason for the subscription request.
client_token: Option<String>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Implementations§
source§impl CreateSubscriptionRequestInput
impl CreateSubscriptionRequestInput
sourcepub fn domain_identifier(&self) -> Option<&str>
pub fn domain_identifier(&self) -> Option<&str>
The ID of the Amazon DataZone domain in which the subscription request is created.
sourcepub fn subscribed_principals(&self) -> &[SubscribedPrincipalInput]
pub fn subscribed_principals(&self) -> &[SubscribedPrincipalInput]
The Amazon DataZone principals for whom the subscription request 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 .subscribed_principals.is_none().
sourcepub fn subscribed_listings(&self) -> &[SubscribedListingInput]
pub fn subscribed_listings(&self) -> &[SubscribedListingInput]
The published asset for which the subscription grant is to be 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 .subscribed_listings.is_none().
sourcepub fn request_reason(&self) -> Option<&str>
pub fn request_reason(&self) -> Option<&str>
The reason for the subscription request.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
source§impl CreateSubscriptionRequestInput
impl CreateSubscriptionRequestInput
sourcepub fn builder() -> CreateSubscriptionRequestInputBuilder
pub fn builder() -> CreateSubscriptionRequestInputBuilder
Creates a new builder-style object to manufacture CreateSubscriptionRequestInput.
Trait Implementations§
source§impl Clone for CreateSubscriptionRequestInput
impl Clone for CreateSubscriptionRequestInput
source§fn clone(&self) -> CreateSubscriptionRequestInput
fn clone(&self) -> CreateSubscriptionRequestInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateSubscriptionRequestInput
impl PartialEq for CreateSubscriptionRequestInput
source§fn eq(&self, other: &CreateSubscriptionRequestInput) -> bool
fn eq(&self, other: &CreateSubscriptionRequestInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateSubscriptionRequestInput
Auto Trait Implementations§
impl Freeze for CreateSubscriptionRequestInput
impl RefUnwindSafe for CreateSubscriptionRequestInput
impl Send for CreateSubscriptionRequestInput
impl Sync for CreateSubscriptionRequestInput
impl Unpin for CreateSubscriptionRequestInput
impl UnwindSafe for CreateSubscriptionRequestInput
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