Skip to content

Delete Resource Policy

prometheusservice_delete_resource_policy R Documentation

Deletes the resource-based policy attached to an Amazon Managed Service for Prometheus workspace

Description

Deletes the resource-based policy attached to an Amazon Managed Service for Prometheus workspace.

Usage

prometheusservice_delete_resource_policy(workspaceId, clientToken,
  revisionId)

Arguments

workspaceId

[required] The ID of the workspace from which to delete the resource-based policy.

clientToken

A unique, case-sensitive identifier that you provide to ensure the request is safe to retry (idempotent).

revisionId

The revision ID of the policy to delete. Use this parameter to ensure that you are deleting the correct version of the policy.

Value

An empty list.

Request syntax

svc$delete_resource_policy(
  workspaceId = "string",
  clientToken = "string",
  revisionId = "string"
)