Glue / Client / put_schema_version_metadata
put_schema_version_metadata#
- Glue.Client.put_schema_version_metadata(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.put_schema_version_metadata( SchemaId={ 'SchemaArn': 'string', 'SchemaName': 'string', 'RegistryName': 'string' }, SchemaVersionNumber={ 'LatestVersion': True|False, 'VersionNumber': 123 }, SchemaVersionId='string', MetadataKeyValue={ 'MetadataKey': 'string', 'MetadataValue': 'string' } )
- Parameters:
SchemaId (dict) –
The unique ID for the schema.
SchemaArn (string) –
The Amazon Resource Name (ARN) of the schema. One of
SchemaArn
orSchemaName
has to be provided.SchemaName (string) –
The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.RegistryName (string) –
The name of the schema registry that contains the schema.
SchemaVersionNumber (dict) –
The version number of the schema.
LatestVersion (boolean) –
The latest version available for the schema.
VersionNumber (integer) –
The version number of the schema.
SchemaVersionId (string) – The unique version ID of the schema version.
MetadataKeyValue (dict) –
[REQUIRED]
The metadata key’s corresponding value.
MetadataKey (string) –
A metadata key.
MetadataValue (string) –
A metadata key’s corresponding value.
- Return type:
dict
- Returns:
Response Syntax
{ 'SchemaArn': 'string', 'SchemaName': 'string', 'RegistryName': 'string', 'LatestVersion': True|False, 'VersionNumber': 123, 'SchemaVersionId': 'string', 'MetadataKey': 'string', 'MetadataValue': 'string' }
Response Structure
(dict) –
SchemaArn (string) –
The Amazon Resource Name (ARN) for the schema.
SchemaName (string) –
The name for the schema.
RegistryName (string) –
The name for the registry.
LatestVersion (boolean) –
The latest version of the schema.
VersionNumber (integer) –
The version number of the schema.
SchemaVersionId (string) –
The unique version ID of the schema version.
MetadataKey (string) –
The metadata key.
MetadataValue (string) –
The value of the metadata key.
Exceptions