aws_sdk_datazone/client/
get_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 [`GetAccountPool`](crate::operation::get_account_pool::builders::GetAccountPoolFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_account_pool::builders::GetAccountPoolFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_account_pool::builders::GetAccountPoolFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain in which the account pool lives whose details are to be displayed.</p><br>
7    ///   - [`identifier(impl Into<String>)`](crate::operation::get_account_pool::builders::GetAccountPoolFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_account_pool::builders::GetAccountPoolFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the account pool whose details are to be displayed.</p><br>
8    /// - On success, responds with [`GetAccountPoolOutput`](crate::operation::get_account_pool::GetAccountPoolOutput) with field(s):
9    ///   - [`domain_id(Option<String>)`](crate::operation::get_account_pool::GetAccountPoolOutput::domain_id): <p>The ID of the domain in which the account pool lives whose details are to be displayed.</p>
10    ///   - [`name(Option<String>)`](crate::operation::get_account_pool::GetAccountPoolOutput::name): <p>The name of the account pool.</p>
11    ///   - [`id(Option<String>)`](crate::operation::get_account_pool::GetAccountPoolOutput::id): <p>The ID of the account pool.</p>
12    ///   - [`description(Option<String>)`](crate::operation::get_account_pool::GetAccountPoolOutput::description): <p>The description of the account pool.</p>
13    ///   - [`resolution_strategy(Option<ResolutionStrategy>)`](crate::operation::get_account_pool::GetAccountPoolOutput::resolution_strategy): <p>The mechanism used to resolve the account selection from the account pool.</p>
14    ///   - [`account_source(Option<AccountSource>)`](crate::operation::get_account_pool::GetAccountPoolOutput::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>
15    ///   - [`created_by(String)`](crate::operation::get_account_pool::GetAccountPoolOutput::created_by): <p>The user who created the account pool.</p>
16    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_account_pool::GetAccountPoolOutput::created_at): <p>The timestamp at which the account pool was created.</p>
17    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_account_pool::GetAccountPoolOutput::last_updated_at): <p>The timestamp at which the account pool was last updated.</p>
18    ///   - [`updated_by(Option<String>)`](crate::operation::get_account_pool::GetAccountPoolOutput::updated_by): <p>The user who last updated the account pool.</p>
19    ///   - [`domain_unit_id(Option<String>)`](crate::operation::get_account_pool::GetAccountPoolOutput::domain_unit_id): <p>The domain unit ID of the account pool.</p>
20    /// - On failure, responds with [`SdkError<GetAccountPoolError>`](crate::operation::get_account_pool::GetAccountPoolError)
21    pub fn get_account_pool(&self) -> crate::operation::get_account_pool::builders::GetAccountPoolFluentBuilder {
22        crate::operation::get_account_pool::builders::GetAccountPoolFluentBuilder::new(self.handle.clone())
23    }
24}