Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetPolicyCommand

Returns the JSON-formatted resource-based policy on a profiling group.

example

Use a bare-bones client and the command you need to make an API call.

import { CodeGuruProfilerClient, GetPolicyCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
// const { CodeGuruProfilerClient, GetPolicyCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
const client = new CodeGuruProfilerClient(config);
const command = new GetPolicyCommand(input);
const response = await client.send(command);
see

GetPolicyCommandInput for command's input shape.

see

GetPolicyCommandOutput for command's response shape.

see

config for CodeGuruProfilerClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: GetPolicyCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetPolicyCommandInput, GetPolicyCommandOutput>