amazonka-clouddirectory-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Data EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Show EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Generic EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Associated Types

type Rep EnableDirectory :: Type -> Type #

Hashable EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

ToJSON EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

AWSRequest EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Associated Types

type Rs EnableDirectory :: Type #

ToHeaders EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

ToPath EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

ToQuery EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

NFData EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Methods

rnf :: EnableDirectory -> () #

type Rep EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

type Rep EnableDirectory = D1 (MetaData "EnableDirectory" "Network.AWS.CloudDirectory.EnableDirectory" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" True) (C1 (MetaCons "EnableDirectory'" PrefixI True) (S1 (MetaSel (Just "_edDirectoryARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs EnableDirectory Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Data EnableDirectoryResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Show EnableDirectoryResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Generic EnableDirectoryResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Associated Types

type Rep EnableDirectoryResponse :: Type -> Type #

NFData EnableDirectoryResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

Methods

rnf :: EnableDirectoryResponse -> () #

type Rep EnableDirectoryResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.EnableDirectory

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

Response Lenses

edrsDirectoryARN :: Lens' EnableDirectoryResponse Text Source #

The ARN of the enabled directory.