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

Description

Performs all the write operations in a batch. Either all the operations succeed or none.

Synopsis

Creating a Request

data BatchWrite Source #

See: newBatchWrite smart constructor.

Constructors

BatchWrite' 

Fields

Instances

Instances details
Eq BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Read BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Show BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Generic BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Associated Types

type Rep BatchWrite :: Type -> Type #

NFData BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Methods

rnf :: BatchWrite -> () #

Hashable BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

ToJSON BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

AWSRequest BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Associated Types

type AWSResponse BatchWrite #

ToHeaders BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Methods

toHeaders :: BatchWrite -> [Header] #

ToPath BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

ToQuery BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

type Rep BatchWrite Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

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

Defined in Amazonka.CloudDirectory.BatchWrite

newBatchWrite Source #

Create a value of BatchWrite 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:directoryArn:BatchWrite', batchWrite_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.

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

Request Lenses

batchWrite_directoryArn :: Lens' BatchWrite Text Source #

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

batchWrite_operations :: Lens' BatchWrite [BatchWriteOperation] Source #

A list of operations that are part of the batch.

Destructuring the Response

data BatchWriteResponse Source #

See: newBatchWriteResponse smart constructor.

Constructors

BatchWriteResponse' 

Fields

Instances

Instances details
Eq BatchWriteResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Read BatchWriteResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Show BatchWriteResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Generic BatchWriteResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Associated Types

type Rep BatchWriteResponse :: Type -> Type #

NFData BatchWriteResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

Methods

rnf :: BatchWriteResponse -> () #

type Rep BatchWriteResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.BatchWrite

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

newBatchWriteResponse Source #

Create a value of BatchWriteResponse 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:BatchWriteResponse', batchWriteResponse_responses - A list of all the responses for each batch write.

$sel:httpStatus:BatchWriteResponse', batchWriteResponse_httpStatus - The response's http status code.

Response Lenses

batchWriteResponse_responses :: Lens' BatchWriteResponse (Maybe [BatchWriteOperationResponse]) Source #

A list of all the responses for each batch write.