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 SchemaAttribute Source #
An attribute of a schema, which defines a dataset field. A schema
attribute is required for every field in a dataset. The Schema object
contains an array of SchemaAttribute
objects.
See: newSchemaAttribute
smart constructor.
SchemaAttribute' | |
|
Instances
newSchemaAttribute :: SchemaAttribute Source #
Create a value of SchemaAttribute
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:attributeType:SchemaAttribute'
, schemaAttribute_attributeType
- The data type of the field.
$sel:attributeName:SchemaAttribute'
, schemaAttribute_attributeName
- The name of the dataset field.
schemaAttribute_attributeType :: Lens' SchemaAttribute (Maybe AttributeType) Source #
The data type of the field.
schemaAttribute_attributeName :: Lens' SchemaAttribute (Maybe Text) Source #
The name of the dataset field.