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

Contents

Description

Retrieves Organizations-related information about the specified account.

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

Synopsis

Creating a Request

describeAccount Source #

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

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

  • daAccountId - The unique identifier (ID) of the AWS account that you want information about. You can get the ID from the ListAccounts or ListAccountsForParent operations. The regex pattern for an account ID string requires exactly 12 digits.

data DescribeAccount Source #

See: describeAccount smart constructor.

Instances

Eq DescribeAccount Source # 
Data DescribeAccount Source # 

Methods

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

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

toConstr :: DescribeAccount -> Constr #

dataTypeOf :: DescribeAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribeAccount -> () #

AWSRequest DescribeAccount Source # 
ToHeaders DescribeAccount Source # 
ToPath DescribeAccount Source # 
ToQuery DescribeAccount Source # 
type Rep DescribeAccount Source # 
type Rep DescribeAccount = D1 * (MetaData "DescribeAccount" "Network.AWS.Organizations.DescribeAccount" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" True) (C1 * (MetaCons "DescribeAccount'" PrefixI True) (S1 * (MetaSel (Just Symbol "_daAccountId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeAccount Source # 

Request Lenses

daAccountId :: Lens' DescribeAccount Text Source #

The unique identifier (ID) of the AWS account that you want information about. You can get the ID from the ListAccounts or ListAccountsForParent operations. The regex pattern for an account ID string requires exactly 12 digits.

Destructuring the Response

describeAccountResponse Source #

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

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

data DescribeAccountResponse Source #

See: describeAccountResponse smart constructor.

Instances

Eq DescribeAccountResponse Source # 
Data DescribeAccountResponse Source # 

Methods

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

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

toConstr :: DescribeAccountResponse -> Constr #

dataTypeOf :: DescribeAccountResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DescribeAccountResponse Source # 
Generic DescribeAccountResponse Source # 
NFData DescribeAccountResponse Source # 

Methods

rnf :: DescribeAccountResponse -> () #

type Rep DescribeAccountResponse Source # 
type Rep DescribeAccountResponse = D1 * (MetaData "DescribeAccountResponse" "Network.AWS.Organizations.DescribeAccount" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "DescribeAccountResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_darsAccount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Account))) (S1 * (MetaSel (Just Symbol "_darsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

darsAccount :: Lens' DescribeAccountResponse (Maybe Account) Source #

A structure that contains information about the requested account.