CloudWatchLogs / Client / get_lookup_table

get_lookup_table

CloudWatchLogs.Client.get_lookup_table(**kwargs)

Retrieves the full content of a lookup table, including the CSV data.

See also: AWS API Documentation

Request Syntax

response = client.get_lookup_table(
    lookupTableArn='string'
)
Parameters:

lookupTableArn (string) –

[REQUIRED]

The ARN of the lookup table to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'lookupTableArn': 'string',
    'lookupTableName': 'string',
    'description': 'string',
    'tableBody': 'string',
    'sizeBytes': 123,
    'lastUpdatedTime': 123,
    'kmsKeyId': 'string'
}

Response Structure

  • (dict) –

    • lookupTableArn (string) –

      The ARN of the lookup table.

    • lookupTableName (string) –

      The name of the lookup table.

    • description (string) –

      The description of the lookup table.

    • tableBody (string) –

      The full CSV content of the lookup table.

    • sizeBytes (integer) –

      The size of the lookup table in bytes.

    • lastUpdatedTime (integer) –

      The time when the lookup table was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

    • kmsKeyId (string) –

      The ARN of the KMS key used to encrypt the lookup table data, if applicable.

Exceptions

  • CloudWatchLogs.Client.exceptions.InvalidParameterException

  • CloudWatchLogs.Client.exceptions.ResourceNotFoundException

  • CloudWatchLogs.Client.exceptions.AccessDeniedException

  • CloudWatchLogs.Client.exceptions.ServiceUnavailableException