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

Contents

Description

Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.

Synopsis

Creating a Request

enableDirectory Source #

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

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

data EnableDirectory Source #

See: enableDirectory smart constructor.

Instances

Eq EnableDirectory Source # 
Data EnableDirectory Source # 

Methods

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

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

toConstr :: EnableDirectory -> Constr #

dataTypeOf :: EnableDirectory -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: EnableDirectory -> () #

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

Request Lenses

edDirectoryARN :: Lens' EnableDirectory Text Source #

The ARN of the directory to enable.

Destructuring the Response

enableDirectoryResponse Source #

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

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

data EnableDirectoryResponse Source #

See: enableDirectoryResponse smart constructor.

Instances

Eq EnableDirectoryResponse Source # 
Data EnableDirectoryResponse Source # 

Methods

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

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

toConstr :: EnableDirectoryResponse -> Constr #

dataTypeOf :: EnableDirectoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableDirectoryResponse Source # 
Show EnableDirectoryResponse Source # 
Generic EnableDirectoryResponse Source # 
NFData EnableDirectoryResponse Source # 

Methods

rnf :: EnableDirectoryResponse -> () #

type Rep EnableDirectoryResponse Source # 
type Rep EnableDirectoryResponse = D1 * (MetaData "EnableDirectoryResponse" "Network.AWS.CloudDirectory.EnableDirectory" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "EnableDirectoryResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_edrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_edrsDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

Response Lenses

edrsDirectoryARN :: Lens' EnableDirectoryResponse Text Source #

The ARN of the enabled directory.