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
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeregisterOrganizationDelegatedAdmin`](crate::operation::deregister_organization_delegated_admin::builders::DeregisterOrganizationDelegatedAdminFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::deregister_organization_delegated_admin::builders::DeregisterOrganizationDelegatedAdminFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::deregister_organization_delegated_admin::builders::DeregisterOrganizationDelegatedAdminFluentBuilder::set_account_id):<br>required: **true**<br><p>The 12-digit AWS account ID of the delegated administrator to deregister. Must currently be registered as a delegated administrator for AWS Assurance in the caller's organization.</p><br>
    /// - On success, responds with [`DeregisterOrganizationDelegatedAdminOutput`](crate::operation::deregister_organization_delegated_admin::DeregisterOrganizationDelegatedAdminOutput) with field(s):
    ///   - [`account_id(String)`](crate::operation::deregister_organization_delegated_admin::DeregisterOrganizationDelegatedAdminOutput::account_id): <p>The account ID that was deregistered.</p>
    ///   - [`organization_id(String)`](crate::operation::deregister_organization_delegated_admin::DeregisterOrganizationDelegatedAdminOutput::organization_id): <p>The ID of the organization that AWS Assurance removed the delegated administrator from.</p>
    /// - On failure, responds with [`SdkError<DeregisterOrganizationDelegatedAdminError>`](crate::operation::deregister_organization_delegated_admin::DeregisterOrganizationDelegatedAdminError)
    pub fn deregister_organization_delegated_admin(
        &self,
    ) -> crate::operation::deregister_organization_delegated_admin::builders::DeregisterOrganizationDelegatedAdminFluentBuilder {
        crate::operation::deregister_organization_delegated_admin::builders::DeregisterOrganizationDelegatedAdminFluentBuilder::new(
            self.handle.clone(),
        )
    }
}