getTableEncryption method

Future<GetTableEncryptionResponse> getTableEncryption({
  1. required String name,
  2. required String namespace,
  3. required String tableBucketARN,
})

Gets the encryption configuration for a table.

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

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

Parameter name : The name of the table.

Parameter namespace : The namespace associated with the table.

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

Implementation

Future<GetTableEncryptionResponse> getTableEncryption({
  required String name,
  required String namespace,
  required String tableBucketARN,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/tables/${Uri.encodeComponent(tableBucketARN)}/${Uri.encodeComponent(namespace)}/${Uri.encodeComponent(name)}/encryption',
    exceptionFnMap: _exceptionFns,
  );
  return GetTableEncryptionResponse.fromJson(response);
}