Private
Server IP : 195.201.23.43  /  Your IP : 18.221.182.97
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/awscli/examples/organizations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /lib/python3/dist-packages/awscli/examples/organizations/list-handshakes-for-organization.rst
**To retrieve a list of the handshakes associated with an organization**

The following example shows how to get a list of handshakes that are associated with the current organization: ::

	aws organizations list-handshakes-for-organization 
  
The output shows two handshakes. The first one is an invitation to Juan's account and shows a state of OPEN. The second is an invitation to Anika's account and shows a state of ACCEPTED: ::  

	{
		"Handshakes": [ 
			{
				"Action": "INVITE",
				"Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111",
				"ExpirationTimestamp": 1482952459.257,
				"Id": "h-examplehandshakeid111",
				"Parties": [
					{
						"Id": "o-exampleorgid",
						"Type": "ORGANIZATION"
					},
					{
						"Id": "juan@example.com",
						"Type": "EMAIL"
					}
				],
				"RequestedTimestamp": 1481656459.257,
				"Resources": [
					{
						"Resources": [
							{
								"Type": "MASTER_EMAIL",
								"Value": "bill@amazon.com"
							},
							{
								"Type": "MASTER_NAME",
								"Value": "Org Master Account"
							},
							{
								"Type": "ORGANIZATION_FEATURE_SET",
								"Value": "FULL"
							}
						],
						"Type": "ORGANIZATION",
						"Value": "o-exampleorgid"
					},
					{
						"Type": "EMAIL",
						"Value": "juan@example.com"
					},
					{
						"Type":"NOTES",
						"Value":"This is an invitation to Juan's account to join Bill's organization."
					}
				],
				"State": "OPEN"
			},
			{
				"Action": "INVITE",
				"State":"ACCEPTED",
				"Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111",
				"ExpirationTimestamp": 1.471797437427E9,
				"Id": "h-examplehandshakeid222",
				"Parties": [
					{
						"Id": "o-exampleorgid",
						"Type": "ORGANIZATION"
					},
					{
						"Id": "anika@example.com",
						"Type": "EMAIL"
					}
				],
				"RequestedTimestamp": 1.469205437427E9,
				"Resources": [
					{
						"Resources": [
							{
								"Type":"MASTER_EMAIL",
								"Value":"bill@example.com"
							},
							{
								"Type":"MASTER_NAME",
								"Value":"Master Account"
							}
						],
						"Type":"ORGANIZATION",
						"Value":"o-exampleorgid"
					},
					{
						"Type":"EMAIL",
						"Value":"anika@example.com"
					},
					{
						"Type":"NOTES",
						"Value":"This is an invitation to Anika's account to join Bill's organization."
					}
				]
			}
		]
	}
Private