deleteResourcePolicy method
Deletes the resource-based policy for a specified resource.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter resourceArn :
The Amazon Resource Name (ARN) of the resource for which to delete the
resource policy.
Implementation
Future<void> deleteResourcePolicy({
required String resourceArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/resourcepolicy/${Uri.encodeComponent(resourceArn)}',
exceptionFnMap: _exceptionFns,
);
}