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 ConfigureAgent and
PostAgent permissions. For more information, see Resource-based policies in CodeGuru Profiler in the Amazon
CodeGuru Profiler User Guide, ConfigureAgent, and PostAgentProfile.
example
Use a bare-bones client and the command you need to make an API call.
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 grantsConfigureAgent
andPostAgent
permissions. For more information, see Resource-based policies in CodeGuru Profiler in the Amazon CodeGuru Profiler User Guide,ConfigureAgent
, andPostAgentProfile
.Use a bare-bones client and the command you need to make an API call.
import { CodeGuruProfilerClient, RemovePermissionCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import // const { CodeGuruProfilerClient, RemovePermissionCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import const client = new CodeGuruProfilerClient(config); const command = new RemovePermissionCommand(input); const response = await client.send(command);
RemovePermissionCommandInput for command's
input
shape.RemovePermissionCommandOutput for command's
response
shape.config for CodeGuruProfilerClient's
config
shape.