Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 1405

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**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"
		}
	}