HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/organizations/describe-handshake.rst
**To get information about a handshake**

The following example shows you how to request details about a handshake. The handshake ID comes either from the original call to ``InviteAccountToOrganization``, or from a call to ``ListHandshakesForAccount`` or ``ListHandshakesForOrganization``: ::

	aws organizations describe-handshake --handshake-id h-examplehandshakeid111
	
The output includes a handshake object that has all the details about the requested handshake: ::

	{
		"Handshake": {
			"Id": "h-examplehandshakeid111",
			"State": "OPEN",
			"Resources": [
				{
					"Type": "ORGANIZATION",
					"Value": "o-exampleorgid",
					"Resources": [
						{
							"Type": "MASTER_EMAIL",
							"Value": "bill@example.com"
						},
						{
							"Type": "MASTER_NAME",
							"Value": "Master Account"
						}
					]
				},
				{
					"Type": "EMAIL",
					"Value": "anika@example.com"
				}
			],
			"Parties": [
				{
					"Type": "ORGANIZATION",
					"Id": "o-exampleorgid"
				},
				{
					"Type": "EMAIL",
					"Id": "anika@example.com"
				}
			],
			"Action": "INVITE",
			"RequestedTimestamp": 1470158698.046,
			"ExpirationTimestamp": 1471454698.046, 
			"Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111"
		}
	}