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

Contents

Description

Performs all the read operations in a batch.

Synopsis

Creating a Request

batchRead Source #

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

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

  • brConsistencyLevel - Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
  • brDirectoryARN - The Amazon Resource Name (ARN) that is associated with the Directory . For more information, see arns .
  • brOperations - A list of operations that are part of the batch.

data BatchRead Source #

See: batchRead smart constructor.

Instances

Eq BatchRead Source # 
Data BatchRead Source # 

Methods

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

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

toConstr :: BatchRead -> Constr #

dataTypeOf :: BatchRead -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchRead Source # 
Show BatchRead Source # 
Generic BatchRead Source # 

Associated Types

type Rep BatchRead :: * -> * #

Hashable BatchRead Source # 
ToJSON BatchRead Source # 
NFData BatchRead Source # 

Methods

rnf :: BatchRead -> () #

AWSRequest BatchRead Source # 
ToHeaders BatchRead Source # 

Methods

toHeaders :: BatchRead -> [Header] #

ToPath BatchRead Source # 
ToQuery BatchRead Source # 
type Rep BatchRead Source # 
type Rep BatchRead = D1 * (MetaData "BatchRead" "Network.AWS.CloudDirectory.BatchRead" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "BatchRead'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_brConsistencyLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ConsistencyLevel))) ((:*:) * (S1 * (MetaSel (Just Symbol "_brDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_brOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [BatchReadOperation])))))
type Rs BatchRead Source # 

Request Lenses

brConsistencyLevel :: Lens' BatchRead (Maybe ConsistencyLevel) Source #

Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.

brDirectoryARN :: Lens' BatchRead Text Source #

The Amazon Resource Name (ARN) that is associated with the Directory . For more information, see arns .

brOperations :: Lens' BatchRead [BatchReadOperation] Source #

A list of operations that are part of the batch.

Destructuring the Response

batchReadResponse Source #

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

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

data BatchReadResponse Source #

See: batchReadResponse smart constructor.

Instances

Eq BatchReadResponse Source # 
Data BatchReadResponse Source # 

Methods

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

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

toConstr :: BatchReadResponse -> Constr #

dataTypeOf :: BatchReadResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchReadResponse Source # 
Show BatchReadResponse Source # 
Generic BatchReadResponse Source # 
NFData BatchReadResponse Source # 

Methods

rnf :: BatchReadResponse -> () #

type Rep BatchReadResponse Source # 
type Rep BatchReadResponse = D1 * (MetaData "BatchReadResponse" "Network.AWS.CloudDirectory.BatchRead" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "BatchReadResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_brrsResponses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [BatchReadOperationResponse]))) (S1 * (MetaSel (Just Symbol "_brrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

brrsResponses :: Lens' BatchReadResponse [BatchReadOperationResponse] Source #

A list of all the responses for each batch read.

brrsResponseStatus :: Lens' BatchReadResponse Int Source #

  • - | The response status code.