amazonka-organizations-1.6.0: Amazon Organizations SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Organizations.DescribeCreateAccountStatus

Contents

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.

Synopsis

Creating a Request

describeCreateAccountStatus Source #

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 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.

data DescribeCreateAccountStatus Source #

See: describeCreateAccountStatus smart constructor.

Instances

Eq DescribeCreateAccountStatus Source # 
Data DescribeCreateAccountStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeCreateAccountStatus -> c DescribeCreateAccountStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeCreateAccountStatus #

toConstr :: DescribeCreateAccountStatus -> Constr #

dataTypeOf :: DescribeCreateAccountStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeCreateAccountStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeCreateAccountStatus) #

gmapT :: (forall b. Data b => b -> b) -> DescribeCreateAccountStatus -> DescribeCreateAccountStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeCreateAccountStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeCreateAccountStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeCreateAccountStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeCreateAccountStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeCreateAccountStatus -> m DescribeCreateAccountStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeCreateAccountStatus -> m DescribeCreateAccountStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeCreateAccountStatus -> m DescribeCreateAccountStatus #

Read DescribeCreateAccountStatus Source # 
Show DescribeCreateAccountStatus Source # 
Generic DescribeCreateAccountStatus Source # 
Hashable DescribeCreateAccountStatus Source # 
ToJSON DescribeCreateAccountStatus Source # 
NFData DescribeCreateAccountStatus Source # 
AWSRequest DescribeCreateAccountStatus Source # 
ToHeaders DescribeCreateAccountStatus Source # 
ToPath DescribeCreateAccountStatus Source # 
ToQuery DescribeCreateAccountStatus Source # 
type Rep DescribeCreateAccountStatus Source # 
type Rep DescribeCreateAccountStatus = D1 * (MetaData "DescribeCreateAccountStatus" "Network.AWS.Organizations.DescribeCreateAccountStatus" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" True) (C1 * (MetaCons "DescribeCreateAccountStatus'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dcasCreateAccountRequestId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeCreateAccountStatus Source # 

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 #

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:

data DescribeCreateAccountStatusResponse Source #

See: describeCreateAccountStatusResponse smart constructor.

Instances

Eq DescribeCreateAccountStatusResponse Source # 
Data DescribeCreateAccountStatusResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeCreateAccountStatusResponse -> c DescribeCreateAccountStatusResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeCreateAccountStatusResponse #

toConstr :: DescribeCreateAccountStatusResponse -> Constr #

dataTypeOf :: DescribeCreateAccountStatusResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeCreateAccountStatusResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeCreateAccountStatusResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeCreateAccountStatusResponse -> DescribeCreateAccountStatusResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeCreateAccountStatusResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeCreateAccountStatusResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeCreateAccountStatusResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeCreateAccountStatusResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeCreateAccountStatusResponse -> m DescribeCreateAccountStatusResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeCreateAccountStatusResponse -> m DescribeCreateAccountStatusResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeCreateAccountStatusResponse -> m DescribeCreateAccountStatusResponse #

Show DescribeCreateAccountStatusResponse Source # 
Generic DescribeCreateAccountStatusResponse Source # 
NFData DescribeCreateAccountStatusResponse Source # 
type Rep DescribeCreateAccountStatusResponse Source # 
type Rep DescribeCreateAccountStatusResponse = D1 * (MetaData "DescribeCreateAccountStatusResponse" "Network.AWS.Organizations.DescribeCreateAccountStatus" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "DescribeCreateAccountStatusResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dcasrsCreateAccountStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CreateAccountStatus))) (S1 * (MetaSel (Just Symbol "_dcasrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

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