Glue / Client / update_asset

update_asset

Glue.Client.update_asset(**kwargs)

Updates the name and description of an existing asset in Glue Data Catalog. Only the fields that you provide are updated.

See also: AWS API Documentation

Request Syntax

response = client.update_asset(
    Identifier='string',
    Name='string',
    Description='string',
    ClientToken='string'
)
Parameters:
  • Identifier (string) –

    [REQUIRED]

    The unique identifier of the asset to update.

  • Name (string) – The new name of the asset.

  • Description (string) – The new description of the asset.

  • ClientToken (string) –

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'Id': 'string',
    'Name': 'string',
    'Description': 'string',
    'UpdatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • Id (string) –

      The unique identifier of the asset.

    • Name (string) –

      The name of the asset.

    • Description (string) –

      The description of the asset.

    • UpdatedAt (datetime) –

      The timestamp at which the asset was last updated.

Exceptions