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

Description

 
Synopsis

Documentation

data PutRequest Source #

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

See: newPutRequest smart constructor.

Constructors

PutRequest' 

Fields

  • item :: HashMap Text AttributeValue

    A map of attribute name to attribute values, representing the primary key of an item to be processed by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.

Instances

Instances details
Eq PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

Read PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

Show PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

Generic PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

Associated Types

type Rep PutRequest :: Type -> Type #

NFData PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

Methods

rnf :: PutRequest -> () #

Hashable PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

ToJSON PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

FromJSON PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

type Rep PutRequest Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.PutRequest

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

newPutRequest :: PutRequest Source #

Create a value of PutRequest 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:item:PutRequest', putRequest_item - A map of attribute name to attribute values, representing the primary key of an item to be processed by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.

putRequest_item :: Lens' PutRequest (HashMap Text AttributeValue) Source #

A map of attribute name to attribute values, representing the primary key of an item to be processed by PutItem. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.