aws-sdk-networksecuritymanager 1.1.0

AWS SDK for AWS Network Security Manager Customer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAdminAccount`](crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder::set_account_id):<br>required: **true**<br><p>The AWS account ID of the administrator account to retrieve.</p><br>
    /// - On success, responds with [`GetAdminAccountOutput`](crate::operation::get_admin_account::GetAdminAccountOutput) with field(s):
    ///   - [`admin_account_details(Option<AdminAccountDetails>)`](crate::operation::get_admin_account::GetAdminAccountOutput::admin_account_details): <p>The details of the administrator account.</p>
    /// - On failure, responds with [`SdkError<GetAdminAccountError>`](crate::operation::get_admin_account::GetAdminAccountError)
    pub fn get_admin_account(&self) -> crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder {
        crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder::new(self.handle.clone())
    }
}