| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.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 master account.
- describeCreateAccountStatus :: Text -> DescribeCreateAccountStatus
- data DescribeCreateAccountStatus
- dcasCreateAccountRequestId :: Lens' DescribeCreateAccountStatus Text
- describeCreateAccountStatusResponse :: Int -> DescribeCreateAccountStatusResponse
- data DescribeCreateAccountStatusResponse
- dcasrsCreateAccountStatus :: Lens' DescribeCreateAccountStatusResponse (Maybe CreateAccountStatus)
- dcasrsResponseStatus :: Lens' DescribeCreateAccountStatusResponse Int
Creating a Request
describeCreateAccountStatus Source #
Arguments
| :: Text | |
| -> DescribeCreateAccountStatus |
Creates a value of DescribeCreateAccountStatus with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcasCreateAccountRequestId- Specifies theoperationIdthat uniquely identifies the request. You can get the ID from the response to an earlierCreateAccountrequest, or from theListCreateAccountStatusoperation. The regex pattern for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
data DescribeCreateAccountStatus Source #
See: describeCreateAccountStatus smart constructor.
Instances
Request Lenses
dcasCreateAccountRequestId :: Lens' DescribeCreateAccountStatus Text Source #
Specifies the operationId that uniquely identifies the request. You can get the ID from the response to an earlier CreateAccount request, or from the ListCreateAccountStatus operation. The regex pattern for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
Destructuring the Response
describeCreateAccountStatusResponse Source #
Arguments
| :: Int | |
| -> DescribeCreateAccountStatusResponse |
Creates a value of DescribeCreateAccountStatusResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcasrsCreateAccountStatus- A structure that contains the current status of an account creation request.dcasrsResponseStatus- -- | The response status code.
data DescribeCreateAccountStatusResponse Source #
See: describeCreateAccountStatusResponse smart constructor.
Instances
Response Lenses
dcasrsCreateAccountStatus :: Lens' DescribeCreateAccountStatusResponse (Maybe CreateAccountStatus) Source #
A structure that contains the current status of an account creation request.
dcasrsResponseStatus :: Lens' DescribeCreateAccountStatusResponse Int Source #
- - | The response status code.