aws_sdk_datazone/client/create_subscription_target.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateSubscriptionTarget`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which subscription target is created.</p><br>
/// - [`environment_identifier(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the environment in which subscription target is created.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the subscription target.</p><br>
/// - [`r#type(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::type) / [`set_type(Option<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_type):<br>required: **true**<br><p>The type of the subscription target.</p><br>
/// - [`subscription_target_config(SubscriptionTargetForm)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::subscription_target_config) / [`set_subscription_target_config(Option<Vec::<SubscriptionTargetForm>>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_subscription_target_config):<br>required: **true**<br><p>The configuration of the subscription target.</p><br>
/// - [`authorized_principals(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::authorized_principals) / [`set_authorized_principals(Option<Vec::<String>>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_authorized_principals):<br>required: **true**<br><p>The authorized principals of the subscription target.</p><br>
/// - [`manage_access_role(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::manage_access_role) / [`set_manage_access_role(Option<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_manage_access_role):<br>required: **true**<br><p>The manage access role that is used to create the subscription target.</p><br>
/// - [`applicable_asset_types(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::applicable_asset_types) / [`set_applicable_asset_types(Option<Vec::<String>>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_applicable_asset_types):<br>required: **true**<br><p>The asset types that can be included in the subscription target.</p><br>
/// - [`provider(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::provider) / [`set_provider(Option<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_provider):<br>required: **false**<br><p>The provider of the subscription target.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
/// - On success, responds with [`CreateSubscriptionTargetOutput`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput) with field(s):
/// - [`id(String)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::id): <p>The ID of the subscription target.</p>
/// - [`authorized_principals(Vec::<String>)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::authorized_principals): <p>The authorised principals of the subscription target.</p>
/// - [`domain_id(String)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::domain_id): <p>The ID of the Amazon DataZone domain in which the subscription target was created.</p>
/// - [`project_id(String)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::project_id): <p>???</p>
/// - [`environment_id(String)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::environment_id): <p>The ID of the environment in which the subscription target was created.</p>
/// - [`name(String)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::name): <p>The name of the subscription target.</p>
/// - [`r#type(String)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::type): <p>The type of the subscription target.</p>
/// - [`created_by(String)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::created_by): <p>The Amazon DataZone user who created the subscription target.</p>
/// - [`updated_by(Option<String>)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::updated_by): <p>The Amazon DataZone user who updated the subscription target.</p>
/// - [`created_at(DateTime)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::created_at): <p>The timestamp of when the subscription target was created.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::updated_at): <p>The timestamp of when the subscription target was updated.</p>
/// - [`manage_access_role(Option<String>)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::manage_access_role): <p>The manage access role with which the subscription target was created.</p>
/// - [`applicable_asset_types(Vec::<String>)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::applicable_asset_types): <p>The asset types that can be included in the subscription target.</p>
/// - [`subscription_target_config(Vec::<SubscriptionTargetForm>)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::subscription_target_config): <p>The configuration of the subscription target.</p>
/// - [`provider(String)`](crate::operation::create_subscription_target::CreateSubscriptionTargetOutput::provider): <p>The provider of the subscription target.</p>
/// - On failure, responds with [`SdkError<CreateSubscriptionTargetError>`](crate::operation::create_subscription_target::CreateSubscriptionTargetError)
pub fn create_subscription_target(&self) -> crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder {
crate::operation::create_subscription_target::builders::CreateSubscriptionTargetFluentBuilder::new(self.handle.clone())
}
}