404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.39.40: ~ $
**To decline a handshake sent from another account**

The following example shows that Susan, an admin who is the owner of account 222222222222, declines an invitation to join Bill's organization. The DeclineHandshake operation returns a handshake object, showing that the state is now DECLINED: ::

	aws organizations decline-handshake --handshake-id h-examplehandshakeid111
	
The output includes a handshake object that shows the new state of ``DECLINED``: ::

	{
		"Handshake": {
			"Id": "h-examplehandshakeid111",
			"State": "DECLINED",
			"Resources": [
				{
					"Type": "ORGANIZATION",
					"Value": "o-exampleorgid",
					"Resources": [
						{
							"Type": "MASTER_EMAIL",
							"Value": "bill@example.com"
						},
						{
							"Type": "MASTER_NAME",
							"Value": "Master Account"
						}
					]
				},
				{
					"Type": "EMAIL",
					"Value": "susan@example.com"
				},
				{
					"Type": "NOTES",
					"Value": "This is an invitation to Susan's account to join the Bill's organization."
				}
			],
			"Parties": [
				{
					"Type": "EMAIL",
					"Id": "susan@example.com"
				},
				{
					"Type": "ORGANIZATION",
					"Id": "o-exampleorgid"
				}
			],
			"Action": "INVITE",
			"RequestedTimestamp": 1470684478.687,
			"ExpirationTimestamp": 1471980478.687,
			"Arn": "arn:aws:organizations::111111111111:handshake/o-exampleorgid/invite/h-examplehandshakeid111"
		}
	}

Filemanager

Name Type Size Permission Actions
accept-handshake.rst File 1.23 KB 0755
attach-policy.rst File 484 B 0755
cancel-handshake.rst File 1.43 KB 0755
create-account.rst File 1.42 KB 0755
create-organization.rst File 1.87 KB 0755
create-organizational-unit.rst File 517 B 0755
create-policy.rst File 1.82 KB 0755
decline-handshake.rst File 1.36 KB 0755
delete-organization.rst File 337 B 0755
delete-organizational-unit.rst File 268 B 0755
delete-policy.rst File 245 B 0755
describe-account.rst File 541 B 0755
describe-create-account-status.rst File 831 B 0755
describe-handshake.rst File 1.25 KB 0755
describe-organization.rst File 720 B 0755
describe-organizational-unit.rst File 516 B 0755
describe-policy.rst File 799 B 0755
detach-policy.rst File 234 B 0755
disable-policy-type.rst File 531 B 0755
enable-all-features.rst File 1.23 KB 0755
enable-policy-type.rst File 623 B 0755
invite-account-to-organization.rst File 1.33 KB 0755
leave-organization.rst File 224 B 0755
list-accounts-for-parent.rst File 899 B 0755
list-accounts.rst File 1.37 KB 0755
list-children.rst File 562 B 0755
list-create-account-status.rst File 1.22 KB 0755
list-handshakes-for-account.rst File 1.25 KB 0755
list-handshakes-for-organization.rst File 2.39 KB 0755
list-organizational-units-for-parent.rst File 664 B 0755
list-parents.rst File 425 B 0755
list-policies-for-target.rst File 956 B 0755
list-policies.rst File 1.32 KB 0755
list-roots.rst File 521 B 0755
list-targets-for-policy.rst File 1.01 KB 0755
move-account.rst File 310 B 0755
remove-account-from-organization.rst File 233 B 0755
update-organizational-unit.rst File 493 B 0755
update-policy.rst File 2.02 KB 0755