amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.EnableIpamOrganizationAdminAccount

Description

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

Creating a Request

data EnableIpamOrganizationAdminAccount Source #

Constructors

EnableIpamOrganizationAdminAccount' 

Fields

  • dryRun :: Maybe Bool

    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.

  • delegatedAdminAccountId :: Text

    The Organizations member account ID that you want to enable as the IPAM account.

Instances

Instances details
ToHeaders EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

ToPath EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

ToQuery EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

AWSRequest EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

Generic EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

Associated Types

type Rep EnableIpamOrganizationAdminAccount :: Type -> Type #

Read EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

Show EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

NFData EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

Eq EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

Hashable EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

type AWSResponse EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

type Rep EnableIpamOrganizationAdminAccount Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

type Rep EnableIpamOrganizationAdminAccount = D1 ('MetaData "EnableIpamOrganizationAdminAccount" "Amazonka.EC2.EnableIpamOrganizationAdminAccount" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableIpamOrganizationAdminAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "delegatedAdminAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEnableIpamOrganizationAdminAccount Source #

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 #

Constructors

EnableIpamOrganizationAdminAccountResponse' 

Fields

Instances

Instances details
Generic EnableIpamOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

Read EnableIpamOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

Show EnableIpamOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

NFData EnableIpamOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

Eq EnableIpamOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

type Rep EnableIpamOrganizationAdminAccountResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableIpamOrganizationAdminAccount

type Rep EnableIpamOrganizationAdminAccountResponse = D1 ('MetaData "EnableIpamOrganizationAdminAccountResponse" "Amazonka.EC2.EnableIpamOrganizationAdminAccount" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableIpamOrganizationAdminAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "success") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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