amazonka-clouddirectory-2.0: Amazon CloudDirectory SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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 #

Read BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

Show BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

NFData BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

Methods

rnf :: BatchWriteOperation -> () #

Eq BatchWriteOperation Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.BatchWriteOperation

Hashable 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" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "BatchWriteOperation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "addFacetToObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAddFacetToObject)) :*: (S1 ('MetaSel ('Just "attachObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAttachObject)) :*: S1 ('MetaSel ('Just "attachPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAttachPolicy)))) :*: ((S1 ('MetaSel ('Just "attachToIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAttachToIndex)) :*: S1 ('MetaSel ('Just "attachTypedLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchAttachTypedLink))) :*: (S1 ('MetaSel ('Just "createIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchCreateIndex)) :*: S1 ('MetaSel ('Just "createObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchCreateObject))))) :*: (((S1 ('MetaSel ('Just "deleteObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDeleteObject)) :*: S1 ('MetaSel ('Just "detachFromIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDetachFromIndex))) :*: (S1 ('MetaSel ('Just "detachObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDetachObject)) :*: S1 ('MetaSel ('Just "detachPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDetachPolicy)))) :*: ((S1 ('MetaSel ('Just "detachTypedLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchDetachTypedLink)) :*: S1 ('MetaSel ('Just "removeFacetFromObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchRemoveFacetFromObject))) :*: (S1 ('MetaSel ('Just "updateLinkAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchUpdateLinkAttributes)) :*: S1 ('MetaSel ('Just "updateObjectAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchUpdateObjectAttributes)))))))

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:addFacetToObject:BatchWriteOperation', batchWriteOperation_addFacetToObject - A batch operation that adds a facet to an object.

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

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

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

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

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

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

$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:detachObject:BatchWriteOperation', batchWriteOperation_detachObject - Detaches an object from a Directory.

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

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

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

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

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

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.

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_detachFromIndex :: Lens' BatchWriteOperation (Maybe BatchDetachFromIndex) Source #

Detaches the specified object from the specified index.

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

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