Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetDataProtectionPolicyCommand

Retrieves the specified inline DataProtectionPolicy document that is stored in the specified Amazon SNS topic.

example

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

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

GetDataProtectionPolicyCommandInput for command's input shape.

see

GetDataProtectionPolicyCommandOutput for command's response shape.

see

config for SNSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetDataProtectionPolicyCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions