Glue / Client / remove_schema_version_metadata

remove_schema_version_metadata#

Glue.Client.remove_schema_version_metadata(**kwargs)#

Removes a key value pair from the schema version metadata for the specified schema version ID.

See also: AWS API Documentation

Request Syntax

response = client.remove_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) –

    A wrapper structure that may contain the schema name and Amazon Resource Name (ARN).

    • SchemaArn (string) –

      The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

    • SchemaName (string) –

      The name of the schema. One of SchemaArn or SchemaName 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 value of the metadata key.

    • 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) of the schema.

    • SchemaName (string) –

      The name of the schema.

    • RegistryName (string) –

      The name of the registry.

    • LatestVersion (boolean) –

      The latest version of the schema.

    • VersionNumber (integer) –

      The version number of the schema.

    • SchemaVersionId (string) –

      The version ID for 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.EntityNotFoundException