aws-sdk-organizations 1.0.0.rc4 → 1.0.0.rc5

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: a7657c577b8a938d7e126ee0f7adf73d8568d112
4
- data.tar.gz: a28b948e7e97d1eab559b493d9b38264444b90f2
3
+ metadata.gz: d8756a3c5c2c0c41cd17e60257be2f6ce0c79cd6
4
+ data.tar.gz: dc5b7b3392aa44653aed1cc6aaa35e9fde3f3024
5
5
  SHA512:
6
- metadata.gz: ed13c4b97c42898f61771bcf6d2090c767b563a8630ec8f3fa8172451afa8012c80533c433e48856c8ce06295176078e63f840f4b0dc2ba9946603a244ae4972
7
- data.tar.gz: 2593173174e07ecd94362769f199ee0d7b91c72dfcc6b8594f65cdb0b9e0f7a5e416511d183b04bca39624c19246f0d1932563ff6ec3b5f20e2e82453e447bd8
6
+ metadata.gz: 4ca8a38bdda47652ec111993c49e2cb3b523379be98c45ab4ff1f9626e7e51e646ee933a9a2c7a119b8b11798d120735ba08ff0d1632c2ca2217953385f396b6
7
+ data.tar.gz: 30a692c473cdbed23da93b45e1e2b63fb4341278a50f9d5b1bb9044cad6780170f05a7943e108171f2039066c73e32e86fc027d23d79d054189fc4d09c1120e8
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-organizations/customizations'
42
42
  # @service
43
43
  module Aws::Organizations
44
44
 
45
- GEM_VERSION = '1.0.0.rc4'
45
+ GEM_VERSION = '1.0.0.rc5'
46
46
 
47
47
  end
@@ -402,13 +402,14 @@ module Aws::Organizations
402
402
  # organization that contains an account that is created with this
403
403
  # operation.
404
404
  #
405
- # <note markdown="1"> When you create a member account with this operation, the account is
406
- # created with the **IAM User and Role Access to Billing Information**
407
- # switch enabled. This allows IAM users and roles that are granted
408
- # appropriate permissions to view billing information. If this is
409
- # disabled, then only the account root user can access billing
410
- # information. For information about how to disable this for an account,
411
- # see [Granting Access to Your Billing Information and Tools][2].
405
+ # <note markdown="1"> When you create a member account with this operation, you can choose
406
+ # whether to create the account with the **IAM User and Role Access to
407
+ # Billing Information** switch enabled. If you enable it, IAM users and
408
+ # roles that have appropriate permissions can view billing information
409
+ # for the account. If you disable this, then only the account root user
410
+ # can access billing information. For information about how to disable
411
+ # this for an account, see [Granting Access to Your Billing Information
412
+ # and Tools][2].
412
413
  #
413
414
  # </note>
414
415
  #
@@ -465,6 +466,10 @@ module Aws::Organizations
465
466
  # the Billing and Cost Management Console][1] in the *AWS Billing and
466
467
  # Cost Management User Guide*.
467
468
  #
469
+ # If you do not specify this parameter, the value defaults to ALLOW, and
470
+ # IAM users and roles with the required permissions can access billing
471
+ # information for the new account.
472
+ #
468
473
  #
469
474
  #
470
475
  # [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate
@@ -490,7 +495,7 @@ module Aws::Organizations
490
495
  # resp.create_account_status.requested_timestamp #=> Time
491
496
  # resp.create_account_status.completed_timestamp #=> Time
492
497
  # resp.create_account_status.account_id #=> String
493
- # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INTERNAL_FAILURE"
498
+ # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "INTERNAL_FAILURE"
494
499
  #
495
500
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccount AWS API Documentation
496
501
  #
@@ -895,6 +900,7 @@ module Aws::Organizations
895
900
  #
896
901
  # resp.account.id #=> String
897
902
  # resp.account.arn #=> String
903
+ # resp.account.email #=> String
898
904
  # resp.account.name #=> String
899
905
  # resp.account.status #=> String, one of "ACTIVE", "SUSPENDED"
900
906
  # resp.account.joined_method #=> String, one of "INVITED", "CREATED"
@@ -946,7 +952,7 @@ module Aws::Organizations
946
952
  # resp.create_account_status.requested_timestamp #=> Time
947
953
  # resp.create_account_status.completed_timestamp #=> Time
948
954
  # resp.create_account_status.account_id #=> String
949
- # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INTERNAL_FAILURE"
955
+ # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "INTERNAL_FAILURE"
950
956
  #
951
957
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatus AWS API Documentation
952
958
  #
@@ -1512,6 +1518,7 @@ module Aws::Organizations
1512
1518
  # resp.accounts #=> Array
1513
1519
  # resp.accounts[0].id #=> String
1514
1520
  # resp.accounts[0].arn #=> String
1521
+ # resp.accounts[0].email #=> String
1515
1522
  # resp.accounts[0].name #=> String
1516
1523
  # resp.accounts[0].status #=> String, one of "ACTIVE", "SUSPENDED"
1517
1524
  # resp.accounts[0].joined_method #=> String, one of "INVITED", "CREATED"
@@ -1574,6 +1581,7 @@ module Aws::Organizations
1574
1581
  # resp.accounts #=> Array
1575
1582
  # resp.accounts[0].id #=> String
1576
1583
  # resp.accounts[0].arn #=> String
1584
+ # resp.accounts[0].email #=> String
1577
1585
  # resp.accounts[0].name #=> String
1578
1586
  # resp.accounts[0].status #=> String, one of "ACTIVE", "SUSPENDED"
1579
1587
  # resp.accounts[0].joined_method #=> String, one of "INVITED", "CREATED"
@@ -1714,7 +1722,7 @@ module Aws::Organizations
1714
1722
  # resp.create_account_statuses[0].requested_timestamp #=> Time
1715
1723
  # resp.create_account_statuses[0].completed_timestamp #=> Time
1716
1724
  # resp.create_account_statuses[0].account_id #=> String
1717
- # resp.create_account_statuses[0].failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INTERNAL_FAILURE"
1725
+ # resp.create_account_statuses[0].failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "INTERNAL_FAILURE"
1718
1726
  # resp.next_token #=> String
1719
1727
  #
1720
1728
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatus AWS API Documentation
@@ -2551,7 +2559,7 @@ module Aws::Organizations
2551
2559
  params: params,
2552
2560
  config: config)
2553
2561
  context[:gem_name] = 'aws-sdk-organizations'
2554
- context[:gem_version] = '1.0.0.rc4'
2562
+ context[:gem_version] = '1.0.0.rc5'
2555
2563
  Seahorse::Client::Request.new(handlers, context)
2556
2564
  end
2557
2565
 
@@ -205,6 +205,7 @@ module Aws::Organizations
205
205
 
206
206
  Account.add_member(:id, Shapes::ShapeRef.new(shape: AccountId, location_name: "Id"))
207
207
  Account.add_member(:arn, Shapes::ShapeRef.new(shape: AccountArn, location_name: "Arn"))
208
+ Account.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
208
209
  Account.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, location_name: "Name"))
209
210
  Account.add_member(:status, Shapes::ShapeRef.new(shape: AccountStatus, location_name: "Status"))
210
211
  Account.add_member(:joined_method, Shapes::ShapeRef.new(shape: AccountJoinedMethod, location_name: "JoinedMethod"))
@@ -953,6 +954,12 @@ module Aws::Organizations
953
954
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
954
955
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
955
956
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
957
+ o[:pager] = Aws::Pager.new(
958
+ limit_key: "max_results",
959
+ tokens: {
960
+ "next_token" => "next_token"
961
+ }
962
+ )
956
963
  end)
957
964
 
958
965
  api.add_operation(:list_accounts_for_parent, Seahorse::Model::Operation.new.tap do |o|
@@ -967,6 +974,12 @@ module Aws::Organizations
967
974
  o.errors << Shapes::ShapeRef.new(shape: ParentNotFoundException)
968
975
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
969
976
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
977
+ o[:pager] = Aws::Pager.new(
978
+ limit_key: "max_results",
979
+ tokens: {
980
+ "next_token" => "next_token"
981
+ }
982
+ )
970
983
  end)
971
984
 
972
985
  api.add_operation(:list_children, Seahorse::Model::Operation.new.tap do |o|
@@ -981,6 +994,12 @@ module Aws::Organizations
981
994
  o.errors << Shapes::ShapeRef.new(shape: ParentNotFoundException)
982
995
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
983
996
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
997
+ o[:pager] = Aws::Pager.new(
998
+ limit_key: "max_results",
999
+ tokens: {
1000
+ "next_token" => "next_token"
1001
+ }
1002
+ )
984
1003
  end)
985
1004
 
986
1005
  api.add_operation(:list_create_account_status, Seahorse::Model::Operation.new.tap do |o|
@@ -994,6 +1013,12 @@ module Aws::Organizations
994
1013
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
995
1014
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
996
1015
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1016
+ o[:pager] = Aws::Pager.new(
1017
+ limit_key: "max_results",
1018
+ tokens: {
1019
+ "next_token" => "next_token"
1020
+ }
1021
+ )
997
1022
  end)
998
1023
 
999
1024
  api.add_operation(:list_handshakes_for_account, Seahorse::Model::Operation.new.tap do |o|
@@ -1006,6 +1031,12 @@ module Aws::Organizations
1006
1031
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1007
1032
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1008
1033
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1034
+ o[:pager] = Aws::Pager.new(
1035
+ limit_key: "max_results",
1036
+ tokens: {
1037
+ "next_token" => "next_token"
1038
+ }
1039
+ )
1009
1040
  end)
1010
1041
 
1011
1042
  api.add_operation(:list_handshakes_for_organization, Seahorse::Model::Operation.new.tap do |o|
@@ -1019,6 +1050,12 @@ module Aws::Organizations
1019
1050
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1020
1051
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1021
1052
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1053
+ o[:pager] = Aws::Pager.new(
1054
+ limit_key: "max_results",
1055
+ tokens: {
1056
+ "next_token" => "next_token"
1057
+ }
1058
+ )
1022
1059
  end)
1023
1060
 
1024
1061
  api.add_operation(:list_organizational_units_for_parent, Seahorse::Model::Operation.new.tap do |o|
@@ -1033,6 +1070,12 @@ module Aws::Organizations
1033
1070
  o.errors << Shapes::ShapeRef.new(shape: ParentNotFoundException)
1034
1071
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1035
1072
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1073
+ o[:pager] = Aws::Pager.new(
1074
+ limit_key: "max_results",
1075
+ tokens: {
1076
+ "next_token" => "next_token"
1077
+ }
1078
+ )
1036
1079
  end)
1037
1080
 
1038
1081
  api.add_operation(:list_parents, Seahorse::Model::Operation.new.tap do |o|
@@ -1047,6 +1090,12 @@ module Aws::Organizations
1047
1090
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1048
1091
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1049
1092
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1093
+ o[:pager] = Aws::Pager.new(
1094
+ limit_key: "max_results",
1095
+ tokens: {
1096
+ "next_token" => "next_token"
1097
+ }
1098
+ )
1050
1099
  end)
1051
1100
 
1052
1101
  api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
@@ -1060,6 +1109,12 @@ module Aws::Organizations
1060
1109
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1061
1110
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1062
1111
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1112
+ o[:pager] = Aws::Pager.new(
1113
+ limit_key: "max_results",
1114
+ tokens: {
1115
+ "next_token" => "next_token"
1116
+ }
1117
+ )
1063
1118
  end)
1064
1119
 
1065
1120
  api.add_operation(:list_policies_for_target, Seahorse::Model::Operation.new.tap do |o|
@@ -1074,6 +1129,12 @@ module Aws::Organizations
1074
1129
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1075
1130
  o.errors << Shapes::ShapeRef.new(shape: TargetNotFoundException)
1076
1131
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1132
+ o[:pager] = Aws::Pager.new(
1133
+ limit_key: "max_results",
1134
+ tokens: {
1135
+ "next_token" => "next_token"
1136
+ }
1137
+ )
1077
1138
  end)
1078
1139
 
1079
1140
  api.add_operation(:list_roots, Seahorse::Model::Operation.new.tap do |o|
@@ -1087,6 +1148,12 @@ module Aws::Organizations
1087
1148
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1088
1149
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1089
1150
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1151
+ o[:pager] = Aws::Pager.new(
1152
+ limit_key: "max_results",
1153
+ tokens: {
1154
+ "next_token" => "next_token"
1155
+ }
1156
+ )
1090
1157
  end)
1091
1158
 
1092
1159
  api.add_operation(:list_targets_for_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1101,6 +1168,12 @@ module Aws::Organizations
1101
1168
  o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
1102
1169
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1103
1170
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1171
+ o[:pager] = Aws::Pager.new(
1172
+ limit_key: "max_results",
1173
+ tokens: {
1174
+ "next_token" => "next_token"
1175
+ }
1176
+ )
1104
1177
  end)
1105
1178
 
1106
1179
  api.add_operation(:move_account, Seahorse::Model::Operation.new.tap do |o|
@@ -70,6 +70,17 @@ module Aws::Organizations
70
70
  # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns
71
71
  # @return [String]
72
72
  #
73
+ # @!attribute [rw] email
74
+ # The email address associated with the AWS account.
75
+ #
76
+ # The [regex pattern][1] for this parameter is a string of characters
77
+ # that represents a standard Internet email address.
78
+ #
79
+ #
80
+ #
81
+ # [1]: http://wikipedia.org/wiki/regex
82
+ # @return [String]
83
+ #
73
84
  # @!attribute [rw] name
74
85
  # The friendly name of the account.
75
86
  #
@@ -98,6 +109,7 @@ module Aws::Organizations
98
109
  class Account < Struct.new(
99
110
  :id,
100
111
  :arn,
112
+ :email,
101
113
  :name,
102
114
  :status,
103
115
  :joined_method,
@@ -286,6 +298,10 @@ module Aws::Organizations
286
298
  # [Activating Access to the Billing and Cost Management Console][1] in
287
299
  # the *AWS Billing and Cost Management User Guide*.
288
300
  #
301
+ # If you do not specify this parameter, the value defaults to ALLOW,
302
+ # and IAM users and roles with the required permissions can access
303
+ # billing information for the new account.
304
+ #
289
305
  #
290
306
  #
291
307
  # [1]: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate
@@ -366,6 +382,23 @@ module Aws::Organizations
366
382
  #
367
383
  # @!attribute [rw] failure_reason
368
384
  # If the request failed, a description of the reason for the failure.
385
+ #
386
+ # * ACCOUNT\_LIMIT\_EXCEEDED: The account could not be created because
387
+ # you have reached the limit on the number of accounts in your
388
+ # organization.
389
+ #
390
+ # * EMAIL\_ALREADY\_EXISTS: The account could not be created because
391
+ # another AWS account with that email address already exists.
392
+ #
393
+ # * INVALID\_ADDRESS: The account could not be created because the
394
+ # address you provided is not valid.
395
+ #
396
+ # * INVALID\_EMAIL: The account could not be created because the email
397
+ # address you provided is not valid.
398
+ #
399
+ # * INTERNAL\_FAILURE: The account could not be created because of an
400
+ # internal failure. Try again later. If the problem persists,
401
+ # contact Customer Support.
369
402
  # @return [String]
370
403
  #
371
404
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountStatus AWS API Documentation
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-organizations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc4
4
+ version: 1.0.0.rc5
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-05-09 00:00:00.000000000 Z
11
+ date: 2017-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc9
19
+ version: 3.0.0.rc12
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc9
26
+ version: 3.0.0.rc12
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement