Handshake

class Handshake

Contains information that must be exchanged to securely establish a relationship between two accounts (an originator and a recipient). For example, when a management account (the originator) invites another account (the recipient) to join its organization, the two accounts exchange information as a series of handshake requests and responses.

Note: Handshakes that are CANCELED, ACCEPTED, DECLINED, or EXPIRED show up in lists for only 30 days after entering that state After that they are deleted.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The type of handshake, indicating what action occurs when the recipient accepts the handshake. The following handshake types are supported:

Link copied to clipboard
val arn: String?

The Amazon Resource Name (ARN) of a handshake.

Link copied to clipboard

The date and time that the handshake expires. If the recipient of the handshake request fails to respond before the specified date and time, the handshake becomes inactive and is no longer valid.

Link copied to clipboard
val id: String?

The unique identifier (ID) of a handshake. The originating account creates the ID when it initiates the handshake.

Link copied to clipboard

Information about the two accounts that are participating in the handshake.

Link copied to clipboard

The date and time that the handshake request was made.

Link copied to clipboard

Additional information that is needed to process the handshake.

Link copied to clipboard

The current state of the handshake. Use the state to trace the flow of the handshake through the process from its creation to its acceptance. The meaning of each of the valid values is as follows:

Functions

Link copied to clipboard
inline fun copy(block: Handshake.Builder.() -> Unit = {}): Handshake
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String