amazonka-organizations-2.0: Amazon Organizations 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.Organizations.DescribeCreateAccountStatus

Description

Retrieves the current status of an asynchronous request to create an account.

This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.

Synopsis

Creating a Request

data DescribeCreateAccountStatus Source #

See: newDescribeCreateAccountStatus smart constructor.

Constructors

DescribeCreateAccountStatus' 

Fields

  • createAccountRequestId :: Text

    Specifies the Id value that uniquely identifies the CreateAccount request. You can get the value from the CreateAccountStatus.Id response in an earlier CreateAccount request, or from the ListCreateAccountStatus operation.

    The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Instances

Instances details
ToJSON DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

ToHeaders DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

ToPath DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

ToQuery DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

AWSRequest DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

Generic DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

Associated Types

type Rep DescribeCreateAccountStatus :: Type -> Type #

Read DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

Show DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

NFData DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

Eq DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

Hashable DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

type AWSResponse DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

type Rep DescribeCreateAccountStatus Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

type Rep DescribeCreateAccountStatus = D1 ('MetaData "DescribeCreateAccountStatus" "Amazonka.Organizations.DescribeCreateAccountStatus" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" 'False) (C1 ('MetaCons "DescribeCreateAccountStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createAccountRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeCreateAccountStatus Source #

Create a value of DescribeCreateAccountStatus 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:createAccountRequestId:DescribeCreateAccountStatus', describeCreateAccountStatus_createAccountRequestId - Specifies the Id value that uniquely identifies the CreateAccount request. You can get the value from the CreateAccountStatus.Id response in an earlier CreateAccount request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Request Lenses

describeCreateAccountStatus_createAccountRequestId :: Lens' DescribeCreateAccountStatus Text Source #

Specifies the Id value that uniquely identifies the CreateAccount request. You can get the value from the CreateAccountStatus.Id response in an earlier CreateAccount request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Destructuring the Response

data DescribeCreateAccountStatusResponse Source #

Constructors

DescribeCreateAccountStatusResponse' 

Fields

Instances

Instances details
Generic DescribeCreateAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

Show DescribeCreateAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

NFData DescribeCreateAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

Eq DescribeCreateAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

type Rep DescribeCreateAccountStatusResponse Source # 
Instance details

Defined in Amazonka.Organizations.DescribeCreateAccountStatus

type Rep DescribeCreateAccountStatusResponse = D1 ('MetaData "DescribeCreateAccountStatusResponse" "Amazonka.Organizations.DescribeCreateAccountStatus" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" 'False) (C1 ('MetaCons "DescribeCreateAccountStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createAccountStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreateAccountStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeCreateAccountStatusResponse Source #

Create a value of DescribeCreateAccountStatusResponse 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:createAccountStatus:DescribeCreateAccountStatusResponse', describeCreateAccountStatusResponse_createAccountStatus - A structure that contains the current status of an account creation request.

$sel:httpStatus:DescribeCreateAccountStatusResponse', describeCreateAccountStatusResponse_httpStatus - The response's http status code.

Response Lenses

describeCreateAccountStatusResponse_createAccountStatus :: Lens' DescribeCreateAccountStatusResponse (Maybe CreateAccountStatus) Source #

A structure that contains the current status of an account creation request.