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