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>>
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]
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 ==
.