AssociateSourceToS3TableIntegration - Amazon CloudWatch Logs

AssociateSourceToS3TableIntegration

Associates a data source with an S3 Table Integration for query access in the 'logs' namespace. This enables querying log data using analytics engines that support Iceberg such as Amazon Athena, Amazon Redshift, and Apache Spark.

Request Syntax

{ "dataSource": { "name": "string", "type": "string" }, "integrationArn": "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.

dataSource

The data source to associate with the S3 Table Integration. Contains the name and type of the data source.

Type: DataSource object

Required: Yes

integrationArn

The Amazon Resource Name (ARN) of the S3 Table Integration to associate the data source with.

Type: String

Required: Yes

Response Syntax

{ "identifier": "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.

identifier

The unique identifier for the association between the data source and S3 Table Integration.

Type: String

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

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

InternalServerException

An internal server error occurred while processing the request. This exception is returned when the service encounters an unexpected condition that prevents it from fulfilling the request.

HTTP Status Code: 500

ResourceNotFoundException

The specified resource does not exist.

HTTP Status Code: 400

ThrottlingException

The request was throttled because of quota limits.

HTTP Status Code: 400

ValidationException

One of the parameters for the request is not valid.

HTTP Status Code: 400

See Also

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