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'
}
)
The unique ID for the schema.
The Amazon Resource Name (ARN) of the schema. One of SchemaArn
or SchemaName
has to be provided.
The name of the schema. One of SchemaArn
or SchemaName
has to be provided.
The name of the schema registry that contains the schema.
The version number of the schema.
The latest version available for the schema.
The version number of the schema.
[REQUIRED]
The metadata key's corresponding value.
A metadata key.
A metadata key’s corresponding value.
dict
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
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.AccessDeniedException
Glue.Client.exceptions.AlreadyExistsException
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.ResourceNumberLimitExceededException