Skip to content

Remove Permission

codeguruprofiler_remove_permission R Documentation

Removes permissions from a profiling group's resource-based policy that are provided using an action group

Description

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 agentPermission which grants configure_agent and PostAgent permissions. For more information, see Resource-based policies in CodeGuru Profiler in the Amazon CodeGuru Profiler User Guide, configure_agent , and post_agent_profile .

Usage

codeguruprofiler_remove_permission(actionGroup, profilingGroupName,
  revisionId)

Arguments

actionGroup

[required] Specifies an action group that contains the permissions to remove from a profiling group's resource-based policy. One action group is supported, agentPermissions, which grants configure_agent and post_agent_profile permissions.

profilingGroupName

[required] The name of the profiling group.

revisionId

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

Value

A list with the following syntax:

list(
  policy = "string",
  revisionId = "string"
)

Request syntax

svc$remove_permission(
  actionGroup = "agentPermissions",
  profilingGroupName = "string",
  revisionId = "string"
)