aws_sdk_ec2/client/
enable_ipam_organization_admin_account.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 [`EnableIpamOrganizationAdminAccount`](crate::operation::enable_ipam_organization_admin_account::builders::EnableIpamOrganizationAdminAccountFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`dry_run(bool)`](crate::operation::enable_ipam_organization_admin_account::builders::EnableIpamOrganizationAdminAccountFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::enable_ipam_organization_admin_account::builders::EnableIpamOrganizationAdminAccountFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
7    ///   - [`delegated_admin_account_id(impl Into<String>)`](crate::operation::enable_ipam_organization_admin_account::builders::EnableIpamOrganizationAdminAccountFluentBuilder::delegated_admin_account_id) / [`set_delegated_admin_account_id(Option<String>)`](crate::operation::enable_ipam_organization_admin_account::builders::EnableIpamOrganizationAdminAccountFluentBuilder::set_delegated_admin_account_id):<br>required: **true**<br><p>The Organizations member account ID that you want to enable as the IPAM account.</p><br>
8    /// - On success, responds with [`EnableIpamOrganizationAdminAccountOutput`](crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountOutput) with field(s):
9    ///   - [`success(Option<bool>)`](crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountOutput::success): <p>The result of enabling the IPAM account.</p>
10    /// - On failure, responds with [`SdkError<EnableIpamOrganizationAdminAccountError>`](crate::operation::enable_ipam_organization_admin_account::EnableIpamOrganizationAdminAccountError)
11    pub fn enable_ipam_organization_admin_account(
12        &self,
13    ) -> crate::operation::enable_ipam_organization_admin_account::builders::EnableIpamOrganizationAdminAccountFluentBuilder {
14        crate::operation::enable_ipam_organization_admin_account::builders::EnableIpamOrganizationAdminAccountFluentBuilder::new(self.handle.clone())
15    }
16}