Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListHandshakesForAccountCommand

Lists the current handshakes that are associated with the account of the requesting user.

Handshakes that are ACCEPTED, DECLINED, CANCELED, or EXPIRED appear in the results of this API for only 30 days after changing to that state. After that, they're deleted and no longer accessible.

Always check the NextToken response parameter for a null value when calling a List* operation. These operations can occasionally return an empty set of results even when there are more results available. The NextToken response parameter value is null only when there are no more results to display.

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, ListHandshakesForAccountCommand } from "@aws-sdk/client-organizations"; // ES Modules import
// const { OrganizationsClient, ListHandshakesForAccountCommand } = require("@aws-sdk/client-organizations"); // CommonJS import
const client = new OrganizationsClient(config);
const command = new ListHandshakesForAccountCommand(input);
const response = await client.send(command);
see

ListHandshakesForAccountCommandInput for command's input shape.

see

ListHandshakesForAccountCommandOutput for command's response shape.

see

config for OrganizationsClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ListHandshakesForAccountCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions