v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1423128111.3 KB

Removes permissions from a profiling group's resource-based policy that are provided using an action group. The one supported action group that can be removed is <code>agentPermission</code> which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For more information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User Guide</i>, <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html"> <code>ConfigureAgent</code> </a>, and <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html"> <code>PostAgentProfile</code> </a>.

delete/profilingGroups/{profilingGroupName}/policy/{actionGroup}#revisionId

Path parameters

actionGroup'agentPermissions' required

Specifies an action group that contains the permissions to remove from a profiling group's resource-based policy. One action group is supported, <code>agentPermissions</code>, which grants <code>ConfigureAgent</code> and <code>PostAgentProfile</code> permissions.

profilingGroupNamestring required

The name of the profiling group.

Query parameters

revisionIdstring required

A universally unique identifier (UUID) for the revision of the resource-based policy from which you want to remove permissions.

Response

Success

policystring required

The JSON-formatted resource-based policy on the profiling group after the specified permissions were removed.

revisionIdstring required

A universally unique identifier (UUID) for the revision of the resource-based policy after the specified permissions were removed. The updated JSON-formatted policy is in the <code>policy</code> element of the response.