Glue.Client.
query_schema_version_metadata
(**kwargs)¶Queries for the schema version metadata information.
See also: AWS API Documentation
Request Syntax
response = client.query_schema_version_metadata(
SchemaId={
'SchemaArn': 'string',
'SchemaName': 'string',
'RegistryName': 'string'
},
SchemaVersionNumber={
'LatestVersion': True|False,
'VersionNumber': 123
},
SchemaVersionId='string',
MetadataList=[
{
'MetadataKey': 'string',
'MetadataValue': 'string'
},
],
MaxResults=123,
NextToken='string'
)
A wrapper structure that may contain the schema name and Amazon Resource Name (ARN).
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.
Search key-value pairs for metadata, if they are not provided all the metadata information will be fetched.
A structure containing a key value pair for metadata.
A metadata key.
A metadata key’s corresponding value.
dict
Response Syntax
{
'MetadataInfoMap': {
'string': {
'MetadataValue': 'string',
'CreatedTime': 'string',
'OtherMetadataValueList': [
{
'MetadataValue': 'string',
'CreatedTime': 'string'
},
]
}
},
'SchemaVersionId': 'string',
'NextToken': 'string'
}
Response Structure
(dict) --
MetadataInfoMap (dict) --
A map of a metadata key and associated values.
(string) --
(dict) --
A structure containing metadata information for a schema version.
MetadataValue (string) --
The metadata key’s corresponding value.
CreatedTime (string) --
The time at which the entry was created.
OtherMetadataValueList (list) --
Other metadata belonging to the same metadata key.
(dict) --
A structure containing other metadata for a schema version belonging to the same metadata key.
MetadataValue (string) --
The metadata key’s corresponding value for the other metadata belonging to the same metadata key.
CreatedTime (string) --
The time at which the entry was created.
SchemaVersionId (string) --
The unique version ID of the schema version.
NextToken (string) --
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
Exceptions
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.AccessDeniedException
Glue.Client.exceptions.EntityNotFoundException