aws-sdk-assurance 1.0.0

AWS SDK for AWS Assurance
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RegisterOrganizationDelegatedAdmin`](crate::operation::register_organization_delegated_admin::builders::RegisterOrganizationDelegatedAdminFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::register_organization_delegated_admin::builders::RegisterOrganizationDelegatedAdminFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::register_organization_delegated_admin::builders::RegisterOrganizationDelegatedAdminFluentBuilder::set_account_id):<br>required: **true**<br><p>The 12-digit AWS account ID of the member account to register as the delegated administrator. The account must be an active member of the caller's organization.</p><br>
    /// - On success, responds with [`RegisterOrganizationDelegatedAdminOutput`](crate::operation::register_organization_delegated_admin::RegisterOrganizationDelegatedAdminOutput) with field(s):
    ///   - [`account_id(String)`](crate::operation::register_organization_delegated_admin::RegisterOrganizationDelegatedAdminOutput::account_id): <p>The account ID that was registered as delegated administrator.</p>
    ///   - [`organization_id(String)`](crate::operation::register_organization_delegated_admin::RegisterOrganizationDelegatedAdminOutput::organization_id): <p>The ID of the organization in which AWS Assurance registered the delegated administrator.</p>
    /// - On failure, responds with [`SdkError<RegisterOrganizationDelegatedAdminError>`](crate::operation::register_organization_delegated_admin::RegisterOrganizationDelegatedAdminError)
    pub fn register_organization_delegated_admin(
        &self,
    ) -> crate::operation::register_organization_delegated_admin::builders::RegisterOrganizationDelegatedAdminFluentBuilder {
        crate::operation::register_organization_delegated_admin::builders::RegisterOrganizationDelegatedAdminFluentBuilder::new(self.handle.clone())
    }
}