deleteTablePolicy method

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

Deletes a table policy. For more information, see Deleting a table policy in the Amazon Simple Storage Service User Guide.

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

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

Parameter name : The table name.

Parameter namespace : The namespace associated with the table.

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

Implementation

Future<void> deleteTablePolicy({
  required String name,
  required String namespace,
  required String tableBucketARN,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/tables/${Uri.encodeComponent(tableBucketARN)}/${Uri.encodeComponent(namespace)}/${Uri.encodeComponent(name)}/policy',
    exceptionFnMap: _exceptionFns,
  );
}