amazonka-organizations-1.5.0: Amazon Organizations SDK.

Copyright(c) 2013-2017 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.DescribeOrganization

Contents

Description

Retrieves information about the organization that the user's account belongs to.

This operation can be called from any account in the organization.

Synopsis

Creating a Request

describeOrganization :: DescribeOrganization Source #

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

data DescribeOrganization Source #

See: describeOrganization smart constructor.

Instances

Eq DescribeOrganization Source # 
Data DescribeOrganization Source # 

Methods

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

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

toConstr :: DescribeOrganization -> Constr #

dataTypeOf :: DescribeOrganization -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribeOrganization -> () #

AWSRequest DescribeOrganization Source # 
ToQuery DescribeOrganization Source # 
ToPath DescribeOrganization Source # 
ToHeaders DescribeOrganization Source # 
type Rep DescribeOrganization Source # 
type Rep DescribeOrganization = D1 (MetaData "DescribeOrganization" "Network.AWS.Organizations.DescribeOrganization" "amazonka-organizations-1.5.0-9d9i18lsT75IlwObP60hiK" False) (C1 (MetaCons "DescribeOrganization'" PrefixI False) U1)
type Rs DescribeOrganization Source # 

Destructuring the Response

describeOrganizationResponse Source #

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

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

data DescribeOrganizationResponse Source #

See: describeOrganizationResponse smart constructor.

Instances

Eq DescribeOrganizationResponse Source # 
Data DescribeOrganizationResponse Source # 

Methods

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

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

toConstr :: DescribeOrganizationResponse -> Constr #

dataTypeOf :: DescribeOrganizationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DescribeOrganizationResponse Source # 
Generic DescribeOrganizationResponse Source # 
NFData DescribeOrganizationResponse Source # 
type Rep DescribeOrganizationResponse Source # 
type Rep DescribeOrganizationResponse = D1 (MetaData "DescribeOrganizationResponse" "Network.AWS.Organizations.DescribeOrganization" "amazonka-organizations-1.5.0-9d9i18lsT75IlwObP60hiK" False) (C1 (MetaCons "DescribeOrganizationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dorsOrganization") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Organization))) (S1 (MetaSel (Just Symbol "_dorsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dorsOrganization :: Lens' DescribeOrganizationResponse (Maybe Organization) Source #

A structure that contains information about the organization.