aws_sdk_datazone/client/create_account_pool.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateAccountPool`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_identifier(impl Into<String>)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where the account pool is created.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::set_name):<br>required: **true**<br><p>The name of the account pool.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::set_description):<br>required: **false**<br><p>The description of the account pool.</p><br>
9 /// - [`resolution_strategy(ResolutionStrategy)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::resolution_strategy) / [`set_resolution_strategy(Option<ResolutionStrategy>)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::set_resolution_strategy):<br>required: **true**<br><p>The mechanism used to resolve the account selection from the account pool.</p><br>
10 /// - [`account_source(AccountSource)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::account_source) / [`set_account_source(Option<AccountSource>)`](crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::set_account_source):<br>required: **true**<br><p>The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.</p><br>
11 /// - On success, responds with [`CreateAccountPoolOutput`](crate::operation::create_account_pool::CreateAccountPoolOutput) with field(s):
12 /// - [`domain_id(Option<String>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::domain_id): <p>The ID of the domain where the account pool is created.</p>
13 /// - [`name(Option<String>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::name): <p>The name of the account pool.</p>
14 /// - [`id(Option<String>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::id): <p>The ID of the account pool.</p>
15 /// - [`description(Option<String>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::description): <p>The description of the account pool.</p>
16 /// - [`resolution_strategy(Option<ResolutionStrategy>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::resolution_strategy): <p>The mechanism used to resolve the account selection from the account pool.</p>
17 /// - [`account_source(Option<AccountSource>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::account_source): <p>The source of accounts for the account pool. In the current release, it's either a static list of accounts provided by the customer or a custom Amazon Web Services Lambda handler.</p>
18 /// - [`created_by(String)`](crate::operation::create_account_pool::CreateAccountPoolOutput::created_by): <p>The user who created the account pool.</p>
19 /// - [`created_at(Option<DateTime>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::created_at): <p>The timestamp at which the account pool was created.</p>
20 /// - [`last_updated_at(Option<DateTime>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::last_updated_at): <p>The timestamp at which the account pool was last updated.</p>
21 /// - [`updated_by(Option<String>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::updated_by): <p>The user who last updated the account pool.</p>
22 /// - [`domain_unit_id(Option<String>)`](crate::operation::create_account_pool::CreateAccountPoolOutput::domain_unit_id): <p>The ID of the domain where the account pool is created.</p>
23 /// - On failure, responds with [`SdkError<CreateAccountPoolError>`](crate::operation::create_account_pool::CreateAccountPoolError)
24 pub fn create_account_pool(&self) -> crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder {
25 crate::operation::create_account_pool::builders::CreateAccountPoolFluentBuilder::new(self.handle.clone())
26 }
27}