#[non_exhaustive]pub struct CreateSubscriptionGrantInput {
pub domain_identifier: Option<String>,
pub environment_identifier: Option<String>,
pub subscription_target_identifier: Option<String>,
pub granted_entity: Option<GrantedEntityInput>,
pub asset_target_names: Option<Vec<AssetTargetNameMap>>,
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 grant is created.
environment_identifier: Option<String>
The ID of the environment in which the subscription grant is created.
subscription_target_identifier: Option<String>
The ID of the subscription target for which the subscription grant is created.
granted_entity: Option<GrantedEntityInput>
The entity to which the subscription is to be granted.
asset_target_names: Option<Vec<AssetTargetNameMap>>
The names of the assets for which the subscription grant is created.
client_token: Option<String>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Implementations§
source§impl CreateSubscriptionGrantInput
impl CreateSubscriptionGrantInput
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 grant is created.
sourcepub fn environment_identifier(&self) -> Option<&str>
pub fn environment_identifier(&self) -> Option<&str>
The ID of the environment in which the subscription grant is created.
sourcepub fn subscription_target_identifier(&self) -> Option<&str>
pub fn subscription_target_identifier(&self) -> Option<&str>
The ID of the subscription target for which the subscription grant is created.
sourcepub fn granted_entity(&self) -> Option<&GrantedEntityInput>
pub fn granted_entity(&self) -> Option<&GrantedEntityInput>
The entity to which the subscription is to be granted.
sourcepub fn asset_target_names(&self) -> Option<&[AssetTargetNameMap]>
pub fn asset_target_names(&self) -> Option<&[AssetTargetNameMap]>
The names of the assets for which the subscription grant is created.
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 CreateSubscriptionGrantInput
impl CreateSubscriptionGrantInput
sourcepub fn builder() -> CreateSubscriptionGrantInputBuilder
pub fn builder() -> CreateSubscriptionGrantInputBuilder
Creates a new builder-style object to manufacture CreateSubscriptionGrantInput
.
Trait Implementations§
source§impl Clone for CreateSubscriptionGrantInput
impl Clone for CreateSubscriptionGrantInput
source§fn clone(&self) -> CreateSubscriptionGrantInput
fn clone(&self) -> CreateSubscriptionGrantInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSubscriptionGrantInput
impl Debug for CreateSubscriptionGrantInput
source§impl PartialEq for CreateSubscriptionGrantInput
impl PartialEq for CreateSubscriptionGrantInput
source§fn eq(&self, other: &CreateSubscriptionGrantInput) -> bool
fn eq(&self, other: &CreateSubscriptionGrantInput) -> bool
self
and other
values to be equal, and is used
by ==
.