aws_sdk_iam/client/
enable_organizations_root_credentials_management.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 [`EnableOrganizationsRootCredentialsManagement`](crate::operation::enable_organizations_root_credentials_management::builders::EnableOrganizationsRootCredentialsManagementFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::enable_organizations_root_credentials_management::builders::EnableOrganizationsRootCredentialsManagementFluentBuilder::send) it.
6    /// - On success, responds with [`EnableOrganizationsRootCredentialsManagementOutput`](crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementOutput) with field(s):
7    ///   - [`organization_id(Option<String>)`](crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementOutput::organization_id): <p>The unique identifier (ID) of an organization.</p>
8    ///   - [`enabled_features(Option<Vec::<FeatureType>>)`](crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementOutput::enabled_features): <p>The features you have enabled for centralized root access.</p>
9    /// - On failure, responds with [`SdkError<EnableOrganizationsRootCredentialsManagementError>`](crate::operation::enable_organizations_root_credentials_management::EnableOrganizationsRootCredentialsManagementError)
10    pub fn enable_organizations_root_credentials_management(
11        &self,
12    ) -> crate::operation::enable_organizations_root_credentials_management::builders::EnableOrganizationsRootCredentialsManagementFluentBuilder {
13        crate::operation::enable_organizations_root_credentials_management::builders::EnableOrganizationsRootCredentialsManagementFluentBuilder::new(
14            self.handle.clone(),
15        )
16    }
17}