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
data AttributeDefinition Source #
Represents an attribute for describing the key schema for the table and indexes.
See: newAttributeDefinition
smart constructor.
AttributeDefinition' | |
|
Instances
newAttributeDefinition Source #
Create a value of AttributeDefinition
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:attributeName:AttributeDefinition'
, attributeDefinition_attributeName
- A name for the attribute.
$sel:attributeType:AttributeDefinition'
, attributeDefinition_attributeType
- The data type for the attribute, where:
S
- the attribute is of type StringN
- the attribute is of type NumberB
- the attribute is of type Binary
attributeDefinition_attributeName :: Lens' AttributeDefinition Text Source #
A name for the attribute.
attributeDefinition_attributeType :: Lens' AttributeDefinition ScalarAttributeType Source #
The data type for the attribute, where:
S
- the attribute is of type StringN
- the attribute is of type NumberB
- the attribute is of type Binary