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 |
Documentation
Specifies an item and related attribute values to retrieve in a
TransactGetItem
object.
See: newGet
smart constructor.
Get' | |
|
Instances
ToJSON Get Source # | |
Defined in Amazonka.DynamoDB.Types.Get | |
Generic Get Source # | |
Read Get Source # | |
Show Get Source # | |
NFData Get Source # | |
Defined in Amazonka.DynamoDB.Types.Get | |
Eq Get Source # | |
Hashable 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" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "Get'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "expressionAttributeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "projectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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:expressionAttributeNames:Get'
, get_expressionAttributeNames
- One or more substitution tokens for attribute names in the
ProjectionExpression parameter.
$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: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_expressionAttributeNames :: Lens' Get (Maybe (HashMap Text Text)) Source #
One or more substitution tokens for attribute names in the ProjectionExpression parameter.
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.