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 |
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
- data DescribeCreateAccountStatus = DescribeCreateAccountStatus' {}
- newDescribeCreateAccountStatus :: Text -> DescribeCreateAccountStatus
- describeCreateAccountStatus_createAccountRequestId :: Lens' DescribeCreateAccountStatus Text
- data DescribeCreateAccountStatusResponse = DescribeCreateAccountStatusResponse' {}
- newDescribeCreateAccountStatusResponse :: Int -> DescribeCreateAccountStatusResponse
- describeCreateAccountStatusResponse_createAccountStatus :: Lens' DescribeCreateAccountStatusResponse (Maybe CreateAccountStatus)
- describeCreateAccountStatusResponse_httpStatus :: Lens' DescribeCreateAccountStatusResponse Int
Creating a Request
data DescribeCreateAccountStatus Source #
See: newDescribeCreateAccountStatus
smart constructor.
DescribeCreateAccountStatus' | |
|
Instances
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 #
See: newDescribeCreateAccountStatusResponse
smart constructor.
DescribeCreateAccountStatusResponse' | |
|
Instances
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.
describeCreateAccountStatusResponse_httpStatus :: Lens' DescribeCreateAccountStatusResponse Int Source #
The response's http status code.