amazonka-clouddirectory-1.5.0: Amazon CloudDirectory 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.CloudDirectory.DisableDirectory

Contents

Description

Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.

Synopsis

Creating a Request

disableDirectory Source #

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

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

data DisableDirectory Source #

See: disableDirectory smart constructor.

Instances

Eq DisableDirectory Source # 
Data DisableDirectory Source # 

Methods

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

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

toConstr :: DisableDirectory -> Constr #

dataTypeOf :: DisableDirectory -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DisableDirectory -> () #

AWSRequest DisableDirectory Source # 
ToQuery DisableDirectory Source # 
ToPath DisableDirectory Source # 
ToHeaders DisableDirectory Source # 
type Rep DisableDirectory Source # 
type Rep DisableDirectory = D1 (MetaData "DisableDirectory" "Network.AWS.CloudDirectory.DisableDirectory" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" True) (C1 (MetaCons "DisableDirectory'" PrefixI True) (S1 (MetaSel (Just Symbol "_ddDirectoryARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DisableDirectory Source # 

Request Lenses

ddDirectoryARN :: Lens' DisableDirectory Text Source #

The ARN of the directory to disable.

Destructuring the Response

disableDirectoryResponse Source #

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

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

data DisableDirectoryResponse Source #

See: disableDirectoryResponse smart constructor.

Instances

Eq DisableDirectoryResponse Source # 
Data DisableDirectoryResponse Source # 

Methods

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

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

toConstr :: DisableDirectoryResponse -> Constr #

dataTypeOf :: DisableDirectoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisableDirectoryResponse Source # 
Show DisableDirectoryResponse Source # 
Generic DisableDirectoryResponse Source # 
NFData DisableDirectoryResponse Source # 
type Rep DisableDirectoryResponse Source # 
type Rep DisableDirectoryResponse = D1 (MetaData "DisableDirectoryResponse" "Network.AWS.CloudDirectory.DisableDirectory" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "DisableDirectoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_drsDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

Response Lenses

drsDirectoryARN :: Lens' DisableDirectoryResponse Text Source #

The ARN of the directory that has been disabled.