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

Contents

Description

Lists the account creation requests that match the specified status that is currently being tracked for the organization.

This operation can be called only from the organization's master account.

This operation returns paginated results.

Synopsis

Creating a Request

listCreateAccountStatus :: ListCreateAccountStatus Source #

Creates a value of ListCreateAccountStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lcasStates - A list of one or more states that you want included in the response. If this parameter is not present, then all requests are included in the response.
  • lcasNextToken - Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from.
  • lcasMaxResults - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

data ListCreateAccountStatus Source #

See: listCreateAccountStatus smart constructor.

Instances

Eq ListCreateAccountStatus Source # 
Data ListCreateAccountStatus Source # 

Methods

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

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

toConstr :: ListCreateAccountStatus -> Constr #

dataTypeOf :: ListCreateAccountStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListCreateAccountStatus Source # 
Show ListCreateAccountStatus Source # 
Generic ListCreateAccountStatus Source # 
Hashable ListCreateAccountStatus Source # 
ToJSON ListCreateAccountStatus Source # 
NFData ListCreateAccountStatus Source # 

Methods

rnf :: ListCreateAccountStatus -> () #

AWSPager ListCreateAccountStatus Source # 
AWSRequest ListCreateAccountStatus Source # 
ToHeaders ListCreateAccountStatus Source # 
ToPath ListCreateAccountStatus Source # 
ToQuery ListCreateAccountStatus Source # 
type Rep ListCreateAccountStatus Source # 
type Rep ListCreateAccountStatus = D1 * (MetaData "ListCreateAccountStatus" "Network.AWS.Organizations.ListCreateAccountStatus" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "ListCreateAccountStatus'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcasStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [CreateAccountState]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcasNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lcasMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListCreateAccountStatus Source # 

Request Lenses

lcasStates :: Lens' ListCreateAccountStatus [CreateAccountState] Source #

A list of one or more states that you want included in the response. If this parameter is not present, then all requests are included in the response.

lcasNextToken :: Lens' ListCreateAccountStatus (Maybe Text) Source #

Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from.

lcasMaxResults :: Lens' ListCreateAccountStatus (Maybe Natural) Source #

(Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

Destructuring the Response

listCreateAccountStatusResponse Source #

Creates a value of ListCreateAccountStatusResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lcasrsCreateAccountStatuses - A list of objects with details about the requests. Certain elements, such as the accountId number, are present in the output only after the account has been successfully created.
  • lcasrsNextToken - If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null .
  • lcasrsResponseStatus - -- | The response status code.

data ListCreateAccountStatusResponse Source #

See: listCreateAccountStatusResponse smart constructor.

Instances

Eq ListCreateAccountStatusResponse Source # 
Data ListCreateAccountStatusResponse Source # 

Methods

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

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

toConstr :: ListCreateAccountStatusResponse -> Constr #

dataTypeOf :: ListCreateAccountStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListCreateAccountStatusResponse Source # 
Generic ListCreateAccountStatusResponse Source # 
NFData ListCreateAccountStatusResponse Source # 
type Rep ListCreateAccountStatusResponse Source # 
type Rep ListCreateAccountStatusResponse = D1 * (MetaData "ListCreateAccountStatusResponse" "Network.AWS.Organizations.ListCreateAccountStatus" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "ListCreateAccountStatusResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcasrsCreateAccountStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [CreateAccountStatus]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lcasrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lcasrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lcasrsCreateAccountStatuses :: Lens' ListCreateAccountStatusResponse [CreateAccountStatus] Source #

A list of objects with details about the requests. Certain elements, such as the accountId number, are present in the output only after the account has been successfully created.

lcasrsNextToken :: Lens' ListCreateAccountStatusResponse (Maybe Text) Source #

If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null .