Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Specifies an item and related attribute values to retrieve in a
TransactGetItem
object.
See: newGet
smart constructor.
Get' | |
|
Instances
Eq Get Source # | |
Read Get Source # | |
Show Get Source # | |
Generic Get Source # | |
NFData Get Source # | |
Defined in Amazonka.DynamoDB.Types.Get | |
Hashable Get Source # | |
Defined in Amazonka.DynamoDB.Types.Get | |
ToJSON Get Source # | |
Defined in Amazonka.DynamoDB.Types.Get | |
type Rep Get Source # | |
Defined in Amazonka.DynamoDB.Types.Get type Rep Get = D1 ('MetaData "Get" "Amazonka.DynamoDB.Types.Get" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "Get'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "projectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expressionAttributeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text AttributeValue)) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Get
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:projectionExpression:Get'
, get_projectionExpression
- A string that identifies one or more attributes of the specified item to
retrieve from the table. The attributes in the expression must be
separated by commas. If no attribute names are specified, then all
attributes of the specified item are returned. If any of the requested
attributes are not found, they do not appear in the result.
$sel:expressionAttributeNames:Get'
, get_expressionAttributeNames
- One or more substitution tokens for attribute names in the
ProjectionExpression parameter.
$sel:key:Get'
, get_key
- A map of attribute names to AttributeValue
objects that specifies the
primary key of the item to retrieve.
$sel:tableName:Get'
, get_tableName
- The name of the table from which to retrieve the specified item.
get_projectionExpression :: Lens' Get (Maybe Text) Source #
A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.
get_expressionAttributeNames :: Lens' Get (Maybe (HashMap Text Text)) Source #
One or more substitution tokens for attribute names in the ProjectionExpression parameter.