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 SchemaReference Source #
An object that references a schema stored in the Glue Schema Registry.
See: newSchemaReference
smart constructor.
SchemaReference' | |
|
Instances
newSchemaReference :: SchemaReference Source #
Create a value of SchemaReference
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:schemaVersionId:SchemaReference'
, schemaReference_schemaVersionId
- The unique ID assigned to a version of the schema. Either this or the
SchemaId
has to be provided.
$sel:schemaId:SchemaReference'
, schemaReference_schemaId
- A structure that contains schema identity fields. Either this or the
SchemaVersionId
has to be provided.
$sel:schemaVersionNumber:SchemaReference'
, schemaReference_schemaVersionNumber
- The version number of the schema.
schemaReference_schemaVersionId :: Lens' SchemaReference (Maybe Text) Source #
The unique ID assigned to a version of the schema. Either this or the
SchemaId
has to be provided.
schemaReference_schemaId :: Lens' SchemaReference (Maybe SchemaId) Source #
A structure that contains schema identity fields. Either this or the
SchemaVersionId
has to be provided.
schemaReference_schemaVersionNumber :: Lens' SchemaReference (Maybe Natural) Source #
The version number of the schema.