getTableBucketMetricsConfiguration method

Future<GetTableBucketMetricsConfigurationResponse> getTableBucketMetricsConfiguration({
  1. required String tableBucketARN,
})

Gets the metrics configuration for a table bucket.

Permissions
You must have the s3tables:GetTableBucketMetricsConfiguration permission to use this operation.

May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter tableBucketARN : The Amazon Resource Name (ARN) of the table bucket.

Implementation

Future<GetTableBucketMetricsConfigurationResponse>
    getTableBucketMetricsConfiguration({
  required String tableBucketARN,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/buckets/${Uri.encodeComponent(tableBucketARN)}/metrics',
    exceptionFnMap: _exceptionFns,
  );
  return GetTableBucketMetricsConfigurationResponse.fromJson(response);
}