GetLookupTable - Amazon CloudWatch Logs
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

GetLookupTable

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

Request Syntax

{ "lookupTableArn": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

lookupTableArn

The ARN of the lookup table to retrieve.

Type: String

Required: Yes

Response Syntax

{ "description": "string", "kmsKeyId": "string", "lastUpdatedTime": number, "lookupTableArn": "string", "lookupTableName": "string", "sizeBytes": number, "tableBody": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

description

The description of the lookup table.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

kmsKeyId

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

Type: String

Length Constraints: Maximum length of 256.

lastUpdatedTime

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

Type: Long

Valid Range: Minimum value of 0.

lookupTableArn

The ARN of the lookup table.

Type: String

lookupTableName

The name of the lookup table.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: ^[a-zA-Z0-9_]+$

sizeBytes

The size of the lookup table in bytes.

Type: Long

Valid Range: Minimum value of 0.

tableBody

The full CSV content of the lookup table.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 10485760.

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You don't have sufficient permissions to perform this action.

HTTP Status Code: 400

InvalidParameterException

A parameter is specified incorrectly.

HTTP Status Code: 400

ResourceNotFoundException

The specified resource does not exist.

HTTP Status Code: 400

ServiceUnavailableException

The service cannot complete the request.

HTTP Status Code: 500

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: