createS3TableIntegration method

Future<CreateS3TableIntegrationOutput> createS3TableIntegration({
  1. required Encryption encryption,
  2. required String roleArn,
  3. Map<String, String>? tags,
})

Creates an integration between CloudWatch and S3 Tables for analytics. This integration enables querying CloudWatch telemetry data using analytics engines like Amazon Athena, Amazon Redshift, and Apache Spark.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ServiceQuotaExceededException. May throw TooManyRequestsException. May throw ValidationException.

Parameter encryption : The encryption configuration for the S3 Table integration, including the encryption algorithm and KMS key settings.

Parameter roleArn : The Amazon Resource Name (ARN) of the IAM role that grants permissions for the S3 Table integration to access necessary resources.

Parameter tags : The key-value pairs to associate with the S3 Table integration resource for categorization and management purposes.

Implementation

Future<CreateS3TableIntegrationOutput> createS3TableIntegration({
  required Encryption encryption,
  required String roleArn,
  Map<String, String>? tags,
}) async {
  final $payload = <String, dynamic>{
    'Encryption': encryption,
    'RoleArn': roleArn,
    if (tags != null) 'Tags': tags,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/CreateS3TableIntegration',
    exceptionFnMap: _exceptionFns,
  );
  return CreateS3TableIntegrationOutput.fromJson(response);
}