Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Enable an Organizations member account as the IPAM admin account. You cannot select the Organizations management account as the IPAM admin account. For more information, see Enable integration with Organizations in the Amazon VPC IPAM User Guide.
Synopsis
- data EnableIpamOrganizationAdminAccount = EnableIpamOrganizationAdminAccount' {}
- newEnableIpamOrganizationAdminAccount :: Text -> EnableIpamOrganizationAdminAccount
- enableIpamOrganizationAdminAccount_dryRun :: Lens' EnableIpamOrganizationAdminAccount (Maybe Bool)
- enableIpamOrganizationAdminAccount_delegatedAdminAccountId :: Lens' EnableIpamOrganizationAdminAccount Text
- data EnableIpamOrganizationAdminAccountResponse = EnableIpamOrganizationAdminAccountResponse' {
- success :: Maybe Bool
- httpStatus :: Int
- newEnableIpamOrganizationAdminAccountResponse :: Int -> EnableIpamOrganizationAdminAccountResponse
- enableIpamOrganizationAdminAccountResponse_success :: Lens' EnableIpamOrganizationAdminAccountResponse (Maybe Bool)
- enableIpamOrganizationAdminAccountResponse_httpStatus :: Lens' EnableIpamOrganizationAdminAccountResponse Int
Creating a Request
data EnableIpamOrganizationAdminAccount Source #
See: newEnableIpamOrganizationAdminAccount
smart constructor.
EnableIpamOrganizationAdminAccount' | |
|
Instances
newEnableIpamOrganizationAdminAccount Source #
:: Text |
|
-> EnableIpamOrganizationAdminAccount |
Create a value of EnableIpamOrganizationAdminAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:EnableIpamOrganizationAdminAccount'
, enableIpamOrganizationAdminAccount_dryRun
- 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
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
$sel:delegatedAdminAccountId:EnableIpamOrganizationAdminAccount'
, enableIpamOrganizationAdminAccount_delegatedAdminAccountId
- The Organizations member account ID that you want to enable as the IPAM
account.
Request Lenses
enableIpamOrganizationAdminAccount_dryRun :: Lens' EnableIpamOrganizationAdminAccount (Maybe Bool) Source #
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
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
enableIpamOrganizationAdminAccount_delegatedAdminAccountId :: Lens' EnableIpamOrganizationAdminAccount Text Source #
The Organizations member account ID that you want to enable as the IPAM account.
Destructuring the Response
data EnableIpamOrganizationAdminAccountResponse Source #
See: newEnableIpamOrganizationAdminAccountResponse
smart constructor.
EnableIpamOrganizationAdminAccountResponse' | |
|
Instances
newEnableIpamOrganizationAdminAccountResponse Source #
Create a value of EnableIpamOrganizationAdminAccountResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:success:EnableIpamOrganizationAdminAccountResponse'
, enableIpamOrganizationAdminAccountResponse_success
- The result of enabling the IPAM account.
$sel:httpStatus:EnableIpamOrganizationAdminAccountResponse'
, enableIpamOrganizationAdminAccountResponse_httpStatus
- The response's http status code.
Response Lenses
enableIpamOrganizationAdminAccountResponse_success :: Lens' EnableIpamOrganizationAdminAccountResponse (Maybe Bool) Source #
The result of enabling the IPAM account.
enableIpamOrganizationAdminAccountResponse_httpStatus :: Lens' EnableIpamOrganizationAdminAccountResponse Int Source #
The response's http status code.