getTableEncryption method
Gets the encryption configuration for a table.
- Permissions
-
You must have the
s3tables:GetTableEncryptionpermission 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);
}