Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeHandshakeCommand

Retrieves information about a previously requested handshake. The handshake ID comes from the response to the original InviteAccountToOrganization operation that generated the handshake.

You can access handshakes that are ACCEPTED, DECLINED, or CANCELED for only 30 days after they change to that state. They're then deleted and no longer accessible.

This operation can be called from any account in the organization.

example

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

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

DescribeHandshakeCommandInput for command's input shape.

see

DescribeHandshakeCommandOutput for command's response shape.

see

config for OrganizationsClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeHandshakeCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions