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.Types.BatchWriteOperation

Description

 
Synopsis

Documentation

data BatchWriteOperation Source #

Represents the output of a BatchWrite operation.

See: newBatchWriteOperation smart constructor.

Constructors

BatchWriteOperation' 

Fields

Instances

Instances details
Eq BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

Read BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

Show BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

Generic BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

Associated Types

type Rep BatchWriteOperation :: Type -> Type #

NFData BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

Methods

rnf :: BatchWriteOperation -> () #

Hashable BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

ToJSON BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

type Rep BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

type Rep BatchWriteOperation = D1 ('MetaData "BatchWriteOperation" "Amazonka.CloudDirectory.Types.BatchWriteOperation" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "BatchWriteOperation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "deleteObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDeleteObject)) :*: (S1 ('MetaSel ('Just "detachFromIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDetachFromIndex)) :*: S1 ('MetaSel ('Just "removeFacetFromObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchRemoveFacetFromObject)))) :*: ((S1 ('MetaSel ('Just "attachObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAttachObject)) :*: S1 ('MetaSel ('Just "createObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchCreateObject))) :*: (S1 ('MetaSel ('Just "attachTypedLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAttachTypedLink)) :*: S1 ('MetaSel ('Just "detachPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDetachPolicy))))) :*: (((S1 ('MetaSel ('Just "createIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchCreateIndex)) :*: S1 ('MetaSel ('Just "detachObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDetachObject))) :*: (S1 ('MetaSel ('Just "addFacetToObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAddFacetToObject)) :*: S1 ('MetaSel ('Just "detachTypedLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDetachTypedLink)))) :*: ((S1 ('MetaSel ('Just "updateObjectAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchUpdateObjectAttributes)) :*: S1 ('MetaSel ('Just "attachPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAttachPolicy))) :*: (S1 ('MetaSel ('Just "updateLinkAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchUpdateLinkAttributes)) :*: S1 ('MetaSel ('Just "attachToIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAttachToIndex)))))))

newBatchWriteOperation :: BatchWriteOperation Source #

Create a value of BatchWriteOperation 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:deleteObject:BatchWriteOperation', batchWriteOperation_deleteObject - Deletes an object in a Directory.

$sel:detachFromIndex:BatchWriteOperation', batchWriteOperation_detachFromIndex - Detaches the specified object from the specified index.

$sel:removeFacetFromObject:BatchWriteOperation', batchWriteOperation_removeFacetFromObject - A batch operation that removes a facet from an object.

$sel:attachObject:BatchWriteOperation', batchWriteOperation_attachObject - Attaches an object to a Directory.

$sel:createObject:BatchWriteOperation', batchWriteOperation_createObject - Creates an object.

$sel:attachTypedLink:BatchWriteOperation', batchWriteOperation_attachTypedLink - Attaches a typed link to a specified source and target object. For more information, see Typed Links.

$sel:detachPolicy:BatchWriteOperation', batchWriteOperation_detachPolicy - Detaches a policy from a Directory.

$sel:createIndex:BatchWriteOperation', batchWriteOperation_createIndex - Creates an index object. See Indexing and search for more information.

$sel:detachObject:BatchWriteOperation', batchWriteOperation_detachObject - Detaches an object from a Directory.

$sel:addFacetToObject:BatchWriteOperation', batchWriteOperation_addFacetToObject - A batch operation that adds a facet to an object.

$sel:detachTypedLink:BatchWriteOperation', batchWriteOperation_detachTypedLink - Detaches a typed link from a specified source and target object. For more information, see Typed Links.

$sel:updateObjectAttributes:BatchWriteOperation', batchWriteOperation_updateObjectAttributes - Updates a given object's attributes.

$sel:attachPolicy:BatchWriteOperation', batchWriteOperation_attachPolicy - Attaches a policy object to a regular object. An object can have a limited number of attached policies.

$sel:updateLinkAttributes:BatchWriteOperation', batchWriteOperation_updateLinkAttributes - Updates a given object's attributes.

$sel:attachToIndex:BatchWriteOperation', batchWriteOperation_attachToIndex - Attaches the specified object to the specified index.

batchWriteOperation_detachFromIndex :: Lens' BatchWriteOperation (Maybe BatchDetachFromIndex) Source #

Detaches the specified object from the specified index.

batchWriteOperation_attachTypedLink :: Lens' BatchWriteOperation (Maybe BatchAttachTypedLink) Source #

Attaches a typed link to a specified source and target object. For more information, see Typed Links.

batchWriteOperation_detachTypedLink :: Lens' BatchWriteOperation (Maybe BatchDetachTypedLink) Source #

Detaches a typed link from a specified source and target object. For more information, see Typed Links.

batchWriteOperation_attachPolicy :: Lens' BatchWriteOperation (Maybe BatchAttachPolicy) Source #

Attaches a policy object to a regular object. An object can have a limited number of attached policies.

batchWriteOperation_attachToIndex :: Lens' BatchWriteOperation (Maybe BatchAttachToIndex) Source #

Attaches the specified object to the specified index.