PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
organizations
**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." } ] } ] }
[-] create-policy.rst
[edit]
[-] list-handshakes-for-account.rst
[edit]
[-] update-organizational-unit.rst
[edit]
[-] list-targets-for-policy.rst
[edit]
[-] list-organizational-units-for-parent.rst
[edit]
[+]
..
[-] list-roots.rst
[edit]
[-] delete-policy.rst
[edit]
[-] delete-organization.rst
[edit]
[-] describe-account.rst
[edit]
[-] delete-organizational-unit.rst
[edit]
[-] accept-handshake.rst
[edit]
[-] describe-policy.rst
[edit]
[-] detach-policy.rst
[edit]
[-] attach-policy.rst
[edit]
[-] cancel-handshake.rst
[edit]
[-] enable-all-features.rst
[edit]
[-] create-account.rst
[edit]
[-] list-children.rst
[edit]
[-] invite-account-to-organization.rst
[edit]
[-] list-accounts.rst
[edit]
[-] describe-create-account-status.rst
[edit]
[-] leave-organization.rst
[edit]
[-] list-handshakes-for-organization.rst
[edit]
[-] update-policy.rst
[edit]
[-] list-create-account-status.rst
[edit]
[-] list-policies-for-target.rst
[edit]
[-] create-organizational-unit.rst
[edit]
[-] remove-account-from-organization.rst
[edit]
[-] decline-handshake.rst
[edit]
[-] list-parents.rst
[edit]
[-] move-account.rst
[edit]
[-] list-accounts-for-parent.rst
[edit]
[-] enable-policy-type.rst
[edit]
[-] describe-handshake.rst
[edit]
[-] describe-organization.rst
[edit]
[-] describe-organizational-unit.rst
[edit]
[-] disable-policy-type.rst
[edit]
[-] create-organization.rst
[edit]
[-] list-policies.rst
[edit]