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

Defined in Network.AWS.CloudDirectory.BatchRead

Data BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

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

Defined in Network.AWS.CloudDirectory.BatchRead

Show BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

Generic BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

Associated Types

type Rep BatchRead :: Type -> Type #

Hashable BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

ToJSON BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

AWSRequest BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

Associated Types

type Rs BatchRead :: Type #

ToHeaders BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

Methods

toHeaders :: BatchRead -> [Header] #

ToPath BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

ToQuery BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

NFData BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

Methods

rnf :: BatchRead -> () #

type Rep BatchRead Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

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

Defined in Network.AWS.CloudDirectory.BatchRead

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

Defined in Network.AWS.CloudDirectory.BatchRead

Data BatchReadResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

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

Defined in Network.AWS.CloudDirectory.BatchRead

Show BatchReadResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

Generic BatchReadResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

Associated Types

type Rep BatchReadResponse :: Type -> Type #

NFData BatchReadResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

Methods

rnf :: BatchReadResponse -> () #

type Rep BatchReadResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.BatchRead

type Rep BatchReadResponse = D1 (MetaData "BatchReadResponse" "Network.AWS.CloudDirectory.BatchRead" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "BatchReadResponse'" PrefixI True) (S1 (MetaSel (Just "_brrsResponses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BatchReadOperationResponse])) :*: S1 (MetaSel (Just "_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.