Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data BatchWriteOperation = BatchWriteOperation' {
- addFacetToObject :: Maybe BatchAddFacetToObject
- attachObject :: Maybe BatchAttachObject
- attachPolicy :: Maybe BatchAttachPolicy
- attachToIndex :: Maybe BatchAttachToIndex
- attachTypedLink :: Maybe BatchAttachTypedLink
- createIndex :: Maybe BatchCreateIndex
- createObject :: Maybe BatchCreateObject
- deleteObject :: Maybe BatchDeleteObject
- detachFromIndex :: Maybe BatchDetachFromIndex
- detachObject :: Maybe BatchDetachObject
- detachPolicy :: Maybe BatchDetachPolicy
- detachTypedLink :: Maybe BatchDetachTypedLink
- removeFacetFromObject :: Maybe BatchRemoveFacetFromObject
- updateLinkAttributes :: Maybe BatchUpdateLinkAttributes
- updateObjectAttributes :: Maybe BatchUpdateObjectAttributes
- newBatchWriteOperation :: BatchWriteOperation
- batchWriteOperation_addFacetToObject :: Lens' BatchWriteOperation (Maybe BatchAddFacetToObject)
- batchWriteOperation_attachObject :: Lens' BatchWriteOperation (Maybe BatchAttachObject)
- batchWriteOperation_attachPolicy :: Lens' BatchWriteOperation (Maybe BatchAttachPolicy)
- batchWriteOperation_attachToIndex :: Lens' BatchWriteOperation (Maybe BatchAttachToIndex)
- batchWriteOperation_attachTypedLink :: Lens' BatchWriteOperation (Maybe BatchAttachTypedLink)
- batchWriteOperation_createIndex :: Lens' BatchWriteOperation (Maybe BatchCreateIndex)
- batchWriteOperation_createObject :: Lens' BatchWriteOperation (Maybe BatchCreateObject)
- batchWriteOperation_deleteObject :: Lens' BatchWriteOperation (Maybe BatchDeleteObject)
- batchWriteOperation_detachFromIndex :: Lens' BatchWriteOperation (Maybe BatchDetachFromIndex)
- batchWriteOperation_detachObject :: Lens' BatchWriteOperation (Maybe BatchDetachObject)
- batchWriteOperation_detachPolicy :: Lens' BatchWriteOperation (Maybe BatchDetachPolicy)
- batchWriteOperation_detachTypedLink :: Lens' BatchWriteOperation (Maybe BatchDetachTypedLink)
- batchWriteOperation_removeFacetFromObject :: Lens' BatchWriteOperation (Maybe BatchRemoveFacetFromObject)
- batchWriteOperation_updateLinkAttributes :: Lens' BatchWriteOperation (Maybe BatchUpdateLinkAttributes)
- batchWriteOperation_updateObjectAttributes :: Lens' BatchWriteOperation (Maybe BatchUpdateObjectAttributes)
Documentation
data BatchWriteOperation Source #
Represents the output of a BatchWrite
operation.
See: newBatchWriteOperation
smart constructor.
BatchWriteOperation' | |
|
Instances
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_addFacetToObject :: Lens' BatchWriteOperation (Maybe BatchAddFacetToObject) Source #
A batch operation that adds a facet to an object.
batchWriteOperation_attachObject :: Lens' BatchWriteOperation (Maybe BatchAttachObject) Source #
Attaches an object to a Directory.
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_createIndex :: Lens' BatchWriteOperation (Maybe BatchCreateIndex) Source #
Creates an index object. See Indexing and search for more information.
batchWriteOperation_createObject :: Lens' BatchWriteOperation (Maybe BatchCreateObject) Source #
Creates an object.
batchWriteOperation_deleteObject :: Lens' BatchWriteOperation (Maybe BatchDeleteObject) Source #
Deletes an object in a Directory.
batchWriteOperation_detachFromIndex :: Lens' BatchWriteOperation (Maybe BatchDetachFromIndex) Source #
Detaches the specified object from the specified index.
batchWriteOperation_detachObject :: Lens' BatchWriteOperation (Maybe BatchDetachObject) Source #
Detaches an object from a Directory.
batchWriteOperation_detachPolicy :: Lens' BatchWriteOperation (Maybe BatchDetachPolicy) Source #
Detaches a policy from a Directory.
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_removeFacetFromObject :: Lens' BatchWriteOperation (Maybe BatchRemoveFacetFromObject) Source #
A batch operation that removes a facet from an object.
batchWriteOperation_updateLinkAttributes :: Lens' BatchWriteOperation (Maybe BatchUpdateLinkAttributes) Source #
Updates a given object's attributes.
batchWriteOperation_updateObjectAttributes :: Lens' BatchWriteOperation (Maybe BatchUpdateObjectAttributes) Source #
Updates a given object's attributes.