libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
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.DynamoDB.Types.DeleteRequest

Description

 
Synopsis

Documentation

data DeleteRequest Source #

Represents a request to perform a DeleteItem operation on an item.

See: newDeleteRequest smart constructor.

Constructors

DeleteRequest' 

Fields

  • key :: HashMap Text AttributeValue

    A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

Instances

Instances details
Eq DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

Read DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

Show DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

Generic DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

Associated Types

type Rep DeleteRequest :: Type -> Type #

NFData DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

Methods

rnf :: DeleteRequest -> () #

Hashable DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

ToJSON DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

FromJSON DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

type Rep DeleteRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.DeleteRequest

type Rep DeleteRequest = D1 ('MetaData "DeleteRequest" "Amazonka.DynamoDB.Types.DeleteRequest" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "DeleteRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text AttributeValue))))

newDeleteRequest :: DeleteRequest Source #

Create a value of DeleteRequest 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:key:DeleteRequest', deleteRequest_key - A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

deleteRequest_key :: Lens' DeleteRequest (HashMap Text AttributeValue) Source #

A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.