libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudDirectory.BatchRead

Description

Performs all the read operations in a batch.

Synopsis

Creating a Request

data BatchRead Source #

See: newBatchRead smart constructor.

Constructors

BatchRead' 

Fields

Instances

Instances details
Eq BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Read BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Show BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Generic BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Associated Types

type Rep BatchRead :: Type -> Type #

NFData BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Methods

rnf :: BatchRead -> () #

Hashable BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

ToJSON BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

AWSRequest BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Associated Types

type AWSResponse BatchRead #

ToHeaders BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Methods

toHeaders :: BatchRead -> [Header] #

ToPath BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

ToQuery BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

type Rep BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

type Rep BatchRead = D1 ('MetaData "BatchRead" "Amazonka.CloudDirectory.BatchRead" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "BatchRead'" 'PrefixI 'True) (S1 ('MetaSel ('Just "consistencyLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConsistencyLevel)) :*: (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchReadOperation]))))
type AWSResponse BatchRead Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

newBatchRead Source #

Create a value of BatchRead with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:consistencyLevel:BatchRead', batchRead_consistencyLevel - 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.

$sel:directoryArn:BatchRead', batchRead_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.

$sel:operations:BatchRead', batchRead_operations - A list of operations that are part of the batch.

Request Lenses

batchRead_consistencyLevel :: 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.

batchRead_directoryArn :: Lens' BatchRead Text Source #

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

batchRead_operations :: Lens' BatchRead [BatchReadOperation] Source #

A list of operations that are part of the batch.

Destructuring the Response

data BatchReadResponse Source #

See: newBatchReadResponse smart constructor.

Constructors

BatchReadResponse' 

Fields

Instances

Instances details
Eq BatchReadResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Read BatchReadResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Show BatchReadResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Generic BatchReadResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Associated Types

type Rep BatchReadResponse :: Type -> Type #

NFData BatchReadResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

Methods

rnf :: BatchReadResponse -> () #

type Rep BatchReadResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchRead

type Rep BatchReadResponse = D1 ('MetaData "BatchReadResponse" "Amazonka.CloudDirectory.BatchRead" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "BatchReadResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BatchReadOperationResponse])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchReadResponse Source #

Create a value of BatchReadResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:responses:BatchReadResponse', batchReadResponse_responses - A list of all the responses for each batch read.

$sel:httpStatus:BatchReadResponse', batchReadResponse_httpStatus - The response's http status code.

Response Lenses

batchReadResponse_responses :: Lens' BatchReadResponse (Maybe [BatchReadOperationResponse]) Source #

A list of all the responses for each batch read.

batchReadResponse_httpStatus :: Lens' BatchReadResponse Int Source #

The response's http status code.