amazonka-clouddirectory-1.6.0: Amazon CloudDirectory 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.CloudDirectory.GetDirectory

Contents

Description

Retrieves metadata about a directory.

Synopsis

Creating a Request

getDirectory Source #

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

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

data GetDirectory Source #

See: getDirectory smart constructor.

Instances

Eq GetDirectory Source # 
Data GetDirectory Source # 

Methods

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

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

toConstr :: GetDirectory -> Constr #

dataTypeOf :: GetDirectory -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDirectory Source # 
Show GetDirectory Source # 
Generic GetDirectory Source # 

Associated Types

type Rep GetDirectory :: * -> * #

Hashable GetDirectory Source # 
ToJSON GetDirectory Source # 
NFData GetDirectory Source # 

Methods

rnf :: GetDirectory -> () #

AWSRequest GetDirectory Source # 
ToHeaders GetDirectory Source # 
ToPath GetDirectory Source # 
ToQuery GetDirectory Source # 
type Rep GetDirectory Source # 
type Rep GetDirectory = D1 * (MetaData "GetDirectory" "Network.AWS.CloudDirectory.GetDirectory" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" True) (C1 * (MetaCons "GetDirectory'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gdDirectoryARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetDirectory Source # 

Request Lenses

gdDirectoryARN :: Lens' GetDirectory Text Source #

The ARN of the directory.

Destructuring the Response

getDirectoryResponse Source #

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

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

data GetDirectoryResponse Source #

See: getDirectoryResponse smart constructor.

Instances

Eq GetDirectoryResponse Source # 
Data GetDirectoryResponse Source # 

Methods

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

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

toConstr :: GetDirectoryResponse -> Constr #

dataTypeOf :: GetDirectoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDirectoryResponse Source # 
Show GetDirectoryResponse Source # 
Generic GetDirectoryResponse Source # 
NFData GetDirectoryResponse Source # 

Methods

rnf :: GetDirectoryResponse -> () #

type Rep GetDirectoryResponse Source # 
type Rep GetDirectoryResponse = D1 * (MetaData "GetDirectoryResponse" "Network.AWS.CloudDirectory.GetDirectory" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "GetDirectoryResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_gdrsDirectory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Directory))))

Response Lenses

gdrsResponseStatus :: Lens' GetDirectoryResponse Int Source #

  • - | The response status code.

gdrsDirectory :: Lens' GetDirectoryResponse Directory Source #

Metadata about the directory.