Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RemovePermissionCommand

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.

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);
see

RemovePermissionCommandInput for command's input shape.

see

RemovePermissionCommandOutput for command's response shape.

see

config for CodeGuruProfilerClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: RemovePermissionCommandInput

Readonly middlewareStack