PrometheusService / Client / delete_resource_policy
delete_resource_policy¶
- PrometheusService.Client.delete_resource_policy(**kwargs)¶
Deletes the resource-based policy attached to an Amazon Managed Service for Prometheus workspace.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy( workspaceId='string', clientToken='string', revisionId='string' )
- Parameters:
workspaceId (string) –
[REQUIRED]
The ID of the workspace from which to delete the resource-based policy.
clientToken (string) –
A unique, case-sensitive identifier that you provide to ensure the request is safe to retry (idempotent).
This field is autopopulated if not provided.
revisionId (string) – The revision ID of the policy to delete. Use this parameter to ensure that you are deleting the correct version of the policy.
- Returns:
None
Exceptions