aws-sdk-organizations 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 674bb4fbb99f4a9c8e335b983bf78adf5a73125c
4
- data.tar.gz: 6a532b7e1991c5bde5738921d282732fdc8a06b5
3
+ metadata.gz: c922925e4920d3edfd8b97621bbf412a784b1697
4
+ data.tar.gz: 7b85061fe5f6fd8f39cf487747bc88243b24c1f1
5
5
  SHA512:
6
- metadata.gz: d7bc4abfed3458ba08e92a7c5e46d275dc3ab6d738e3c174850188362a960758cbfc4a454c91250aca0f001968073eb8123c2697418fe69b469c201b1e402529
7
- data.tar.gz: 2950c52d165a420586d997e5adb624aba73ed9b73414fb40c8b152a76b4d474f77b05f3b373b19a17acd556995f5fd74025a663b6914ad9a6370608c83ce8cd6
6
+ metadata.gz: 131d32e96e82f324bace905c4127be6bede1377137358e58c184809b4d8a6b741e6c2f7c267489b9c9fd85cda6680de9ef43ec28be172976d4ada1821d377bb9
7
+ data.tar.gz: 6de87a072b0031554b7802f1e308df7683401657015ef420d9302639b1862847d48615b1b3884f3044be58a8e2be76d8237ddc507b165e36d700b788c5353f4b
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-organizations/customizations'
42
42
  # @service
43
43
  module Aws::Organizations
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -198,7 +198,8 @@ module Aws::Organizations
198
198
  #
199
199
  # @example Example: To accept a handshake from another account
200
200
  #
201
- # # Bill is the owner of an organization, and he invites Juan's account (222222222222) to join his organization. The following example shows Juan's account accepting the handshake and thus agreeing to the invitation.
201
+ # # Bill is the owner of an organization, and he invites Juan's account (222222222222) to join his organization. The
202
+ # # following example shows Juan's account accepting the handshake and thus agreeing to the invitation.
202
203
  #
203
204
  # resp = client.accept_handshake({
204
205
  # handshake_id: "h-examplehandshakeid111",
@@ -371,7 +372,6 @@ module Aws::Organizations
371
372
  # @example Example: To attach a policy to an OU
372
373
  #
373
374
  # # The following example shows how to attach a service control policy (SCP) to an OU:
374
-
375
375
  #
376
376
  # resp = client.attach_policy({
377
377
  # policy_id: "p-examplepolicyid111",
@@ -381,7 +381,6 @@ module Aws::Organizations
381
381
  # @example Example: To attach a policy to an account
382
382
  #
383
383
  # # The following example shows how to attach a service control policy (SCP) to an account:
384
-
385
384
  #
386
385
  # resp = client.attach_policy({
387
386
  # policy_id: "p-examplepolicyid111",
@@ -433,8 +432,8 @@ module Aws::Organizations
433
432
  #
434
433
  # @example Example: To cancel a handshake sent to a member account
435
434
  #
436
- # # Bill previously sent an invitation to Susan's account to join his organization. He changes his mind and decides to cancel the invitation before Susan accepts it. The following example shows Bill's cancellation:
437
-
435
+ # # Bill previously sent an invitation to Susan's account to join his organization. He changes his mind and decides to
436
+ # # cancel the invitation before Susan accepts it. The following example shows Bill's cancellation:
438
437
  #
439
438
  # resp = client.cancel_handshake({
440
439
  # handshake_id: "h-examplehandshakeid111",
@@ -635,9 +634,10 @@ module Aws::Organizations
635
634
  #
636
635
  # @example Example: To create a new account that is automatically part of the organization
637
636
  #
638
- # # The owner of an organization creates a member account in the organization. The following example shows that when the organization owner creates the member account, the account is preconfigured with the name "Production Account" and an owner email address of susan@example.com. An IAM role is automatically created using the default name because the roleName parameter is not used. AWS Organizations sends Susan a "Welcome to AWS" email:
639
-
640
-
637
+ # # The owner of an organization creates a member account in the organization. The following example shows that when the
638
+ # # organization owner creates the member account, the account is preconfigured with the name "Production Account" and an
639
+ # # owner email address of susan@example.com. An IAM role is automatically created using the default name because the
640
+ # # roleName parameter is not used. AWS Organizations sends Susan a "Welcome to AWS" email:
641
641
  #
642
642
  # resp = client.create_account({
643
643
  # account_name: "Production Account",
@@ -727,9 +727,9 @@ module Aws::Organizations
727
727
  #
728
728
  # @example Example: To create a new organization with all features enabled
729
729
  #
730
- # # Bill wants to create an organization using credentials from account 111111111111. The following example shows that the account becomes the master account in the new organization. Because he does not specify a feature set, the new organization defaults to all features enabled and service control policies enabled on the root:
731
-
732
-
730
+ # # Bill wants to create an organization using credentials from account 111111111111. The following example shows that the
731
+ # # account becomes the master account in the new organization. Because he does not specify a feature set, the new
732
+ # # organization defaults to all features enabled and service control policies enabled on the root:
733
733
  #
734
734
  # resp = client.create_organization({
735
735
  # })
@@ -754,9 +754,8 @@ module Aws::Organizations
754
754
  #
755
755
  # @example Example: To create a new organization with consolidated billing features only
756
756
  #
757
- # # In the following example, Bill creates an organization using credentials from account 111111111111, and configures the organization to support only the consolidated billing feature set:
758
-
759
-
757
+ # # In the following example, Bill creates an organization using credentials from account 111111111111, and configures the
758
+ # # organization to support only the consolidated billing feature set:
760
759
  #
761
760
  # resp = client.create_organization({
762
761
  # feature_set: "CONSOLIDATED_BILLING",
@@ -850,8 +849,6 @@ module Aws::Organizations
850
849
  # @example Example: To create a new organization unit
851
850
  #
852
851
  # # The following example shows how to create an OU that is named AccountingOU. The new OU is directly under the root.:
853
-
854
-
855
852
  #
856
853
  # resp = client.create_organizational_unit({
857
854
  # name: "AccountingOU",
@@ -943,9 +940,10 @@ module Aws::Organizations
943
940
  #
944
941
  # @example Example: To create a service control policy
945
942
  #
946
- # # The following example shows how to create a service control policy (SCP) that is named AllowAllS3Actions. The JSON string in the content parameter specifies the content in the policy. The parameter string is escaped with backslashes to ensure that the embedded double quotes in the JSON policy are treated as literals in the parameter, which itself is surrounded by double quotes:
947
-
948
-
943
+ # # The following example shows how to create a service control policy (SCP) that is named AllowAllS3Actions. The JSON
944
+ # # string in the content parameter specifies the content in the policy. The parameter string is escaped with backslashes to
945
+ # # ensure that the embedded double quotes in the JSON policy are treated as literals in the parameter, which itself is
946
+ # # surrounded by double quotes:
949
947
  #
950
948
  # resp = client.create_policy({
951
949
  # content: "{\\\"Version\\\":\\\"2012-10-17\\\",\\\"Statement\\\":{\\\"Effect\\\":\\\"Allow\\\",\\\"Action\\\":\\\"s3:*\\\"}}",
@@ -1024,7 +1022,8 @@ module Aws::Organizations
1024
1022
  #
1025
1023
  # @example Example: To decline a handshake sent from the master account
1026
1024
  #
1027
- # # The following example shows Susan declining an invitation to join Bill's organization. The DeclineHandshake operation returns a handshake object, showing that the state is now DECLINED:
1025
+ # # The following example shows Susan declining an invitation to join Bill's organization. The DeclineHandshake operation
1026
+ # # returns a handshake object, showing that the state is now DECLINED:
1028
1027
  #
1029
1028
  # resp = client.decline_handshake({
1030
1029
  # handshake_id: "h-examplehandshakeid111",
@@ -1148,9 +1147,8 @@ module Aws::Organizations
1148
1147
  #
1149
1148
  # @example Example: To delete an organization unit
1150
1149
  #
1151
- # # The following example shows how to delete an OU. The example assumes that you previously removed all accounts and other OUs from the OU:
1152
-
1153
-
1150
+ # # The following example shows how to delete an OU. The example assumes that you previously removed all accounts and other
1151
+ # # OUs from the OU:
1154
1152
  #
1155
1153
  # resp = client.delete_organizational_unit({
1156
1154
  # organizational_unit_id: "ou-examplerootid111-exampleouid111",
@@ -1195,9 +1193,8 @@ module Aws::Organizations
1195
1193
  #
1196
1194
  # @example Example: To delete a policy
1197
1195
  #
1198
- # # The following example shows how to delete a policy from an organization. The example assumes that you previously detached the policy from all entities:
1199
-
1200
-
1196
+ # # The following example shows how to delete a policy from an organization. The example assumes that you previously
1197
+ # # detached the policy from all entities:
1201
1198
  #
1202
1199
  # resp = client.delete_policy({
1203
1200
  # policy_id: "p-examplepolicyid111",
@@ -1310,7 +1307,9 @@ module Aws::Organizations
1310
1307
  #
1311
1308
  # @example Example: To get information about a request to create an account
1312
1309
  #
1313
- # # The following example shows how to request the status about a previous request to create an account in an organization. This operation can be called only by a principal from the organization's master account. In the example, the specified "createAccountRequestId" comes from the response of the original call to "CreateAccount":
1310
+ # # The following example shows how to request the status about a previous request to create an account in an organization.
1311
+ # # This operation can be called only by a principal from the organization's master account. In the example, the specified
1312
+ # # "createAccountRequestId" comes from the response of the original call to "CreateAccount":
1314
1313
  #
1315
1314
  # resp = client.describe_create_account_status({
1316
1315
  # create_account_request_id: "car-exampleaccountcreationrequestid",
@@ -1380,7 +1379,9 @@ module Aws::Organizations
1380
1379
  #
1381
1380
  # @example Example: To get information about a handshake
1382
1381
  #
1383
- # # 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":
1382
+ # # The following example shows you how to request details about a handshake. The handshake ID comes either from the
1383
+ # # original call to "InviteAccountToOrganization", or from a call to "ListHandshakesForAccount" or
1384
+ # # "ListHandshakesForOrganization":
1384
1385
  #
1385
1386
  # resp = client.describe_handshake({
1386
1387
  # handshake_id: "h-examplehandshakeid111",
@@ -1762,7 +1763,8 @@ module Aws::Organizations
1762
1763
  #
1763
1764
  # @example Example: To disable a policy type in a root
1764
1765
  #
1765
- # # The following example shows how to disable the service control policy (SCP) policy type in a root. The response shows that the PolicyTypes response element no longer includes SERVICE_CONTROL_POLICY:/n/n
1766
+ # # The following example shows how to disable the service control policy (SCP) policy type in a root. The response shows
1767
+ # # that the PolicyTypes response element no longer includes SERVICE_CONTROL_POLICY:/n/n
1766
1768
  #
1767
1769
  # resp = client.disable_policy_type({
1768
1770
  # policy_type: "SERVICE_CONTROL_POLICY",
@@ -1847,7 +1849,11 @@ module Aws::Organizations
1847
1849
  #
1848
1850
  # @example Example: To enable all features in an organization
1849
1851
  #
1850
- # # This example shows the administrator asking all the invited accounts in the organization to approve enabling all features in the organization. AWS Organizations sends an email to the address that is registered with every invited member account asking the owner to approve the change by accepting the handshake that is sent. After all invited member accounts accept the handshake, the organization administrator can finalize the change to enable all features, and those with appropriate permissions can create policies and apply them to roots, OUs, and accounts:/n/n
1852
+ # # This example shows the administrator asking all the invited accounts in the organization to approve enabling all
1853
+ # # features in the organization. AWS Organizations sends an email to the address that is registered with every invited
1854
+ # # member account asking the owner to approve the change by accepting the handshake that is sent. After all invited member
1855
+ # # accounts accept the handshake, the organization administrator can finalize the change to enable all features, and those
1856
+ # # with appropriate permissions can create policies and apply them to roots, OUs, and accounts:/n/n
1851
1857
  #
1852
1858
  # resp = client.enable_all_features({
1853
1859
  # })
@@ -1930,7 +1936,8 @@ module Aws::Organizations
1930
1936
  #
1931
1937
  # @example Example: To enable a policy type in a root
1932
1938
  #
1933
- # # The following example shows how to enable the service control policy (SCP) policy type in a root. The output shows a root object with a PolicyTypes response element showing that SCPs are now enabled:/n/n
1939
+ # # The following example shows how to enable the service control policy (SCP) policy type in a root. The output shows a
1940
+ # # root object with a PolicyTypes response element showing that SCPs are now enabled:/n/n
1934
1941
  #
1935
1942
  # resp = client.enable_policy_type({
1936
1943
  # policy_type: "SERVICE_CONTROL_POLICY",
@@ -2034,7 +2041,8 @@ module Aws::Organizations
2034
2041
  #
2035
2042
  # @example Example: To invite an account to join an organization
2036
2043
  #
2037
- # # The following example shows the admin of the master account owned by bill@example.com inviting the account owned by juan@example.com to join an organization.
2044
+ # # The following example shows the admin of the master account owned by bill@example.com inviting the account owned by
2045
+ # # juan@example.com to join an organization.
2038
2046
  #
2039
2047
  # resp = client.invite_account_to_organization({
2040
2048
  # notes: "This is a request for Juan's account to join Bill's organization",
@@ -2522,7 +2530,8 @@ module Aws::Organizations
2522
2530
  #
2523
2531
  # @example Example: To get a list of completed account creation requests made in the organization
2524
2532
  #
2525
- # # The following example shows a user requesting a list of only the completed account creation requests made for the current organization:
2533
+ # # The following example shows a user requesting a list of only the completed account creation requests made for the
2534
+ # # current organization:
2526
2535
  #
2527
2536
  # resp = client.list_create_account_status({
2528
2537
  # states: [
@@ -2546,7 +2555,8 @@ module Aws::Organizations
2546
2555
  #
2547
2556
  # @example Example: To get a list of all account creation requests made in the organization
2548
2557
  #
2549
- # # The following example shows a user requesting a list of only the in-progress account creation requests made for the current organization:
2558
+ # # The following example shows a user requesting a list of only the in-progress account creation requests made for the
2559
+ # # current organization:
2550
2560
  #
2551
2561
  # resp = client.list_create_account_status({
2552
2562
  # states: [
@@ -2639,7 +2649,8 @@ module Aws::Organizations
2639
2649
  #
2640
2650
  # @example Example: To retrieve a list of the handshakes sent to an account
2641
2651
  #
2642
- # # The following example shows you how to get a list of handshakes that are associated with the account of the credentials used to call the operation:
2652
+ # # The following example shows you how to get a list of handshakes that are associated with the account of the credentials
2653
+ # # used to call the operation:
2643
2654
  #
2644
2655
  # resp = client.list_handshakes_for_account({
2645
2656
  # })
@@ -3260,7 +3271,9 @@ module Aws::Organizations
3260
3271
  #
3261
3272
  # @example Example: To retrieve a list policies attached to a root, OU, or account
3262
3273
  #
3263
- # # The following example shows how to get a list of all service control policies (SCPs) of the type specified by the Filter parameter, that are directly attached to an account. The returned list does not include policies that apply to the account because of inheritance from its location in an OU hierarchy:/n/n
3274
+ # # The following example shows how to get a list of all service control policies (SCPs) of the type specified by the Filter
3275
+ # # parameter, that are directly attached to an account. The returned list does not include policies that apply to the
3276
+ # # account because of inheritance from its location in an OU hierarchy:/n/n
3264
3277
  #
3265
3278
  # resp = client.list_policies_for_target({
3266
3279
  # filter: "SERVICE_CONTROL_POLICY",
@@ -3433,7 +3446,8 @@ module Aws::Organizations
3433
3446
  #
3434
3447
  # @example Example: To retrieve a list of roots, OUs, and accounts to which a policy is attached
3435
3448
  #
3436
- # # The following example shows how to get the list of roots, OUs, and accounts to which the specified policy is attached:/n/n
3449
+ # # The following example shows how to get the list of roots, OUs, and accounts to which the specified policy is
3450
+ # # attached:/n/n
3437
3451
  #
3438
3452
  # resp = client.list_targets_for_policy({
3439
3453
  # policy_id: "p-FullAWSAccess",
@@ -3770,7 +3784,8 @@ module Aws::Organizations
3770
3784
  #
3771
3785
  # @example Example: To update the details of a policy
3772
3786
  #
3773
- # # The following example shows how to rename a policy and give it a new description and new content. The output confirms the new name and description text:/n/n
3787
+ # # The following example shows how to rename a policy and give it a new description and new content. The output confirms
3788
+ # # the new name and description text:/n/n
3774
3789
  #
3775
3790
  # resp = client.update_policy({
3776
3791
  # description: "This description replaces the original.",
@@ -3795,7 +3810,8 @@ module Aws::Organizations
3795
3810
  #
3796
3811
  # @example Example: To update the content of a policy
3797
3812
  #
3798
- # # The following example shows how to replace the JSON text of the SCP from the preceding example with a new JSON policy text string that allows S3 actions instead of EC2 actions:/n/n
3813
+ # # The following example shows how to replace the JSON text of the SCP from the preceding example with a new JSON policy
3814
+ # # text string that allows S3 actions instead of EC2 actions:/n/n
3799
3815
  #
3800
3816
  # resp = client.update_policy({
3801
3817
  # content: "{ \\\"Version\\\": \\\"2012-10-17\\\", \\\"Statement\\\": {\\\"Effect\\\": \\\"Allow\\\", \\\"Action\\\": \\\"s3:*\\\", \\\"Resource\\\": \\\"*\\\" } }",
@@ -3858,7 +3874,7 @@ module Aws::Organizations
3858
3874
  params: params,
3859
3875
  config: config)
3860
3876
  context[:gem_name] = 'aws-sdk-organizations'
3861
- context[:gem_version] = '1.1.0'
3877
+ context[:gem_version] = '1.2.0'
3862
3878
  Seahorse::Client::Request.new(handlers, context)
3863
3879
  end
3864
3880
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-organizations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-30 00:00:00.000000000 Z
11
+ date: 2017-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -56,7 +56,9 @@ files:
56
56
  homepage: http://github.com/aws/aws-sdk-ruby
57
57
  licenses:
58
58
  - Apache-2.0
59
- metadata: {}
59
+ metadata:
60
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-organizations
61
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-organizations/CHANGELOG.md
60
62
  post_install_message:
61
63
  rdoc_options: []
62
64
  require_paths: