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 |
Puts the metadata key value pair for a specified schema version ID. A maximum of 10 key value pairs will be allowed per schema version. They can be added over one or more calls.
Synopsis
- data PutSchemaVersionMetadata = PutSchemaVersionMetadata' {}
- newPutSchemaVersionMetadata :: MetadataKeyValuePair -> PutSchemaVersionMetadata
- putSchemaVersionMetadata_schemaVersionId :: Lens' PutSchemaVersionMetadata (Maybe Text)
- putSchemaVersionMetadata_schemaId :: Lens' PutSchemaVersionMetadata (Maybe SchemaId)
- putSchemaVersionMetadata_schemaVersionNumber :: Lens' PutSchemaVersionMetadata (Maybe SchemaVersionNumber)
- putSchemaVersionMetadata_metadataKeyValue :: Lens' PutSchemaVersionMetadata MetadataKeyValuePair
- data PutSchemaVersionMetadataResponse = PutSchemaVersionMetadataResponse' {}
- newPutSchemaVersionMetadataResponse :: Int -> PutSchemaVersionMetadataResponse
- putSchemaVersionMetadataResponse_registryName :: Lens' PutSchemaVersionMetadataResponse (Maybe Text)
- putSchemaVersionMetadataResponse_schemaName :: Lens' PutSchemaVersionMetadataResponse (Maybe Text)
- putSchemaVersionMetadataResponse_schemaVersionId :: Lens' PutSchemaVersionMetadataResponse (Maybe Text)
- putSchemaVersionMetadataResponse_versionNumber :: Lens' PutSchemaVersionMetadataResponse (Maybe Natural)
- putSchemaVersionMetadataResponse_schemaArn :: Lens' PutSchemaVersionMetadataResponse (Maybe Text)
- putSchemaVersionMetadataResponse_metadataKey :: Lens' PutSchemaVersionMetadataResponse (Maybe Text)
- putSchemaVersionMetadataResponse_metadataValue :: Lens' PutSchemaVersionMetadataResponse (Maybe Text)
- putSchemaVersionMetadataResponse_latestVersion :: Lens' PutSchemaVersionMetadataResponse (Maybe Bool)
- putSchemaVersionMetadataResponse_httpStatus :: Lens' PutSchemaVersionMetadataResponse Int
Creating a Request
data PutSchemaVersionMetadata Source #
See: newPutSchemaVersionMetadata
smart constructor.
PutSchemaVersionMetadata' | |
|
Instances
newPutSchemaVersionMetadata Source #
Create a value of PutSchemaVersionMetadata
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:PutSchemaVersionMetadata'
, putSchemaVersionMetadata_schemaVersionId
- The unique version ID of the schema version.
$sel:schemaId:PutSchemaVersionMetadata'
, putSchemaVersionMetadata_schemaId
- The unique ID for the schema.
$sel:schemaVersionNumber:PutSchemaVersionMetadata'
, putSchemaVersionMetadata_schemaVersionNumber
- The version number of the schema.
$sel:metadataKeyValue:PutSchemaVersionMetadata'
, putSchemaVersionMetadata_metadataKeyValue
- The metadata key's corresponding value.
Request Lenses
putSchemaVersionMetadata_schemaVersionId :: Lens' PutSchemaVersionMetadata (Maybe Text) Source #
The unique version ID of the schema version.
putSchemaVersionMetadata_schemaId :: Lens' PutSchemaVersionMetadata (Maybe SchemaId) Source #
The unique ID for the schema.
putSchemaVersionMetadata_schemaVersionNumber :: Lens' PutSchemaVersionMetadata (Maybe SchemaVersionNumber) Source #
The version number of the schema.
putSchemaVersionMetadata_metadataKeyValue :: Lens' PutSchemaVersionMetadata MetadataKeyValuePair Source #
The metadata key's corresponding value.
Destructuring the Response
data PutSchemaVersionMetadataResponse Source #
See: newPutSchemaVersionMetadataResponse
smart constructor.
PutSchemaVersionMetadataResponse' | |
|
Instances
newPutSchemaVersionMetadataResponse Source #
Create a value of PutSchemaVersionMetadataResponse
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:registryName:PutSchemaVersionMetadataResponse'
, putSchemaVersionMetadataResponse_registryName
- The name for the registry.
$sel:schemaName:PutSchemaVersionMetadataResponse'
, putSchemaVersionMetadataResponse_schemaName
- The name for the schema.
$sel:schemaVersionId:PutSchemaVersionMetadata'
, putSchemaVersionMetadataResponse_schemaVersionId
- The unique version ID of the schema version.
$sel:versionNumber:PutSchemaVersionMetadataResponse'
, putSchemaVersionMetadataResponse_versionNumber
- The version number of the schema.
$sel:schemaArn:PutSchemaVersionMetadataResponse'
, putSchemaVersionMetadataResponse_schemaArn
- The Amazon Resource Name (ARN) for the schema.
$sel:metadataKey:PutSchemaVersionMetadataResponse'
, putSchemaVersionMetadataResponse_metadataKey
- The metadata key.
$sel:metadataValue:PutSchemaVersionMetadataResponse'
, putSchemaVersionMetadataResponse_metadataValue
- The value of the metadata key.
$sel:latestVersion:PutSchemaVersionMetadataResponse'
, putSchemaVersionMetadataResponse_latestVersion
- The latest version of the schema.
$sel:httpStatus:PutSchemaVersionMetadataResponse'
, putSchemaVersionMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
putSchemaVersionMetadataResponse_registryName :: Lens' PutSchemaVersionMetadataResponse (Maybe Text) Source #
The name for the registry.
putSchemaVersionMetadataResponse_schemaName :: Lens' PutSchemaVersionMetadataResponse (Maybe Text) Source #
The name for the schema.
putSchemaVersionMetadataResponse_schemaVersionId :: Lens' PutSchemaVersionMetadataResponse (Maybe Text) Source #
The unique version ID of the schema version.
putSchemaVersionMetadataResponse_versionNumber :: Lens' PutSchemaVersionMetadataResponse (Maybe Natural) Source #
The version number of the schema.
putSchemaVersionMetadataResponse_schemaArn :: Lens' PutSchemaVersionMetadataResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the schema.
putSchemaVersionMetadataResponse_metadataKey :: Lens' PutSchemaVersionMetadataResponse (Maybe Text) Source #
The metadata key.
putSchemaVersionMetadataResponse_metadataValue :: Lens' PutSchemaVersionMetadataResponse (Maybe Text) Source #
The value of the metadata key.
putSchemaVersionMetadataResponse_latestVersion :: Lens' PutSchemaVersionMetadataResponse (Maybe Bool) Source #
The latest version of the schema.
putSchemaVersionMetadataResponse_httpStatus :: Lens' PutSchemaVersionMetadataResponse Int Source #
The response's http status code.