deleteResourcePolicy method
Deletes a resource-based policy from an OpenSearch Ingestion resource.
May throw AccessDeniedException.
May throw DisabledOperationException.
May throw InternalException.
May throw LimitExceededException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter resourceArn :
The Amazon Resource Name (ARN) of the resource from which to delete the
policy.
Implementation
Future<void> deleteResourcePolicy({
required String resourceArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/2022-01-01/osis/resourcePolicy/${Uri.encodeComponent(resourceArn)}',
exceptionFnMap: _exceptionFns,
);
}