deleteResourcePolicy method

Future<void> deleteResourcePolicy({
  1. required String identifier,
})

Deletes the resource policy set for the environment.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter identifier : Amazon Resource Name (ARN) of the resource associated with the policy.

Implementation

Future<void> deleteResourcePolicy({
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/resourcepolicy/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
}