Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetContainerPolicyCommand

Retrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.

example

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

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

GetContainerPolicyCommandInput for command's input shape.

see

GetContainerPolicyCommandOutput for command's response shape.

see

config for MediaStoreClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetContainerPolicyCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions