aws-sdk-account 1.3.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +77 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-account/client.rb +512 -4
- data/lib/aws-sdk-account/client_api.rb +183 -1
- data/lib/aws-sdk-account/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-account/endpoint_provider.rb +60 -0
- data/lib/aws-sdk-account/endpoints.rb +142 -0
- data/lib/aws-sdk-account/errors.rb +26 -0
- data/lib/aws-sdk-account/plugins/endpoints.rb +86 -0
- data/lib/aws-sdk-account/types.rb +505 -25
- data/lib/aws-sdk-account.rb +5 -1
- metadata +8 -4
@@ -59,14 +59,97 @@ module Aws::Account
|
|
59
59
|
include Aws::Structure
|
60
60
|
end
|
61
61
|
|
62
|
-
#
|
63
|
-
#
|
62
|
+
# The request could not be processed because of a conflict in the
|
63
|
+
# current status of the resource. For example, this happens if you try
|
64
|
+
# to enable a Region that is currently being disabled (in a status of
|
65
|
+
# DISABLING).
|
64
66
|
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
67
|
+
# @!attribute [rw] message
|
68
|
+
# @return [String]
|
69
|
+
#
|
70
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ConflictException AWS API Documentation
|
71
|
+
#
|
72
|
+
class ConflictException < Struct.new(
|
73
|
+
:message)
|
74
|
+
SENSITIVE = []
|
75
|
+
include Aws::Structure
|
76
|
+
end
|
77
|
+
|
78
|
+
# Contains the details of the primary contact information associated
|
79
|
+
# with an Amazon Web Services account.
|
69
80
|
#
|
81
|
+
# @!attribute [rw] address_line_1
|
82
|
+
# The first line of the primary contact address.
|
83
|
+
# @return [String]
|
84
|
+
#
|
85
|
+
# @!attribute [rw] address_line_2
|
86
|
+
# The second line of the primary contact address, if any.
|
87
|
+
# @return [String]
|
88
|
+
#
|
89
|
+
# @!attribute [rw] address_line_3
|
90
|
+
# The third line of the primary contact address, if any.
|
91
|
+
# @return [String]
|
92
|
+
#
|
93
|
+
# @!attribute [rw] city
|
94
|
+
# The city of the primary contact address.
|
95
|
+
# @return [String]
|
96
|
+
#
|
97
|
+
# @!attribute [rw] company_name
|
98
|
+
# The name of the company associated with the primary contact
|
99
|
+
# information, if any.
|
100
|
+
# @return [String]
|
101
|
+
#
|
102
|
+
# @!attribute [rw] country_code
|
103
|
+
# The ISO-3166 two-letter country code for the primary contact
|
104
|
+
# address.
|
105
|
+
# @return [String]
|
106
|
+
#
|
107
|
+
# @!attribute [rw] district_or_county
|
108
|
+
# The district or county of the primary contact address, if any.
|
109
|
+
# @return [String]
|
110
|
+
#
|
111
|
+
# @!attribute [rw] full_name
|
112
|
+
# The full name of the primary contact address.
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @!attribute [rw] phone_number
|
116
|
+
# The phone number of the primary contact information. The number will
|
117
|
+
# be validated and, in some countries, checked for activation.
|
118
|
+
# @return [String]
|
119
|
+
#
|
120
|
+
# @!attribute [rw] postal_code
|
121
|
+
# The postal code of the primary contact address.
|
122
|
+
# @return [String]
|
123
|
+
#
|
124
|
+
# @!attribute [rw] state_or_region
|
125
|
+
# The state or region of the primary contact address. This field is
|
126
|
+
# required in selected countries.
|
127
|
+
# @return [String]
|
128
|
+
#
|
129
|
+
# @!attribute [rw] website_url
|
130
|
+
# The URL of the website associated with the primary contact
|
131
|
+
# information, if any.
|
132
|
+
# @return [String]
|
133
|
+
#
|
134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ContactInformation AWS API Documentation
|
135
|
+
#
|
136
|
+
class ContactInformation < Struct.new(
|
137
|
+
:address_line_1,
|
138
|
+
:address_line_2,
|
139
|
+
:address_line_3,
|
140
|
+
:city,
|
141
|
+
:company_name,
|
142
|
+
:country_code,
|
143
|
+
:district_or_county,
|
144
|
+
:full_name,
|
145
|
+
:phone_number,
|
146
|
+
:postal_code,
|
147
|
+
:state_or_region,
|
148
|
+
:website_url)
|
149
|
+
SENSITIVE = [:address_line_1, :address_line_2, :address_line_3, :city, :company_name, :country_code, :district_or_county, :full_name, :phone_number, :postal_code, :state_or_region, :website_url]
|
150
|
+
include Aws::Structure
|
151
|
+
end
|
152
|
+
|
70
153
|
# @!attribute [rw] account_id
|
71
154
|
# Specifies the 12 digit account ID number of the Amazon Web Services
|
72
155
|
# account that you want to access or modify with this operation.
|
@@ -114,14 +197,109 @@ module Aws::Account
|
|
114
197
|
include Aws::Structure
|
115
198
|
end
|
116
199
|
|
117
|
-
#
|
118
|
-
#
|
200
|
+
# @!attribute [rw] account_id
|
201
|
+
# Specifies the 12-digit account ID number of the Amazon Web Services
|
202
|
+
# account that you want to access or modify with this operation. If
|
203
|
+
# you don't specify this parameter, it defaults to the Amazon Web
|
204
|
+
# Services account of the identity used to call the operation. To use
|
205
|
+
# this parameter, the caller must be an identity in the
|
206
|
+
# [organization's management account][1] or a delegated administrator
|
207
|
+
# account. The specified account ID must also be a member account in
|
208
|
+
# the same organization. The organization must have [all features
|
209
|
+
# enabled][2], and the organization must have [trusted access][3]
|
210
|
+
# enabled for the Account Management service, and optionally a
|
211
|
+
# [delegated admin][4] account assigned.
|
212
|
+
#
|
213
|
+
# <note markdown="1"> The management account can't specify its own `AccountId`. It must
|
214
|
+
# call the operation in standalone context by not including the
|
215
|
+
# `AccountId` parameter.
|
216
|
+
#
|
217
|
+
# </note>
|
218
|
+
#
|
219
|
+
# To call this operation on an account that is not a member of an
|
220
|
+
# organization, don't specify this parameter. Instead, call the
|
221
|
+
# operation using an identity belonging to the account whose contacts
|
222
|
+
# you wish to retrieve or modify.
|
223
|
+
#
|
224
|
+
#
|
225
|
+
#
|
226
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account
|
227
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
|
228
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html
|
229
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html
|
230
|
+
# @return [String]
|
231
|
+
#
|
232
|
+
# @!attribute [rw] region_name
|
233
|
+
# Specifies the Region-code for a given Region name (for example,
|
234
|
+
# `af-south-1`). When you disable a Region, Amazon Web Services
|
235
|
+
# performs actions to deactivate that Region in your account, such as
|
236
|
+
# destroying IAM resources in the Region. This process takes a few
|
237
|
+
# minutes for most accounts, but this can take several hours. You
|
238
|
+
# cannot enable the Region until the disabling process is fully
|
239
|
+
# completed.
|
240
|
+
# @return [String]
|
241
|
+
#
|
242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/DisableRegionRequest AWS API Documentation
|
243
|
+
#
|
244
|
+
class DisableRegionRequest < Struct.new(
|
245
|
+
:account_id,
|
246
|
+
:region_name)
|
247
|
+
SENSITIVE = []
|
248
|
+
include Aws::Structure
|
249
|
+
end
|
250
|
+
|
251
|
+
# @!attribute [rw] account_id
|
252
|
+
# Specifies the 12-digit account ID number of the Amazon Web Services
|
253
|
+
# account that you want to access or modify with this operation. If
|
254
|
+
# you don't specify this parameter, it defaults to the Amazon Web
|
255
|
+
# Services account of the identity used to call the operation. To use
|
256
|
+
# this parameter, the caller must be an identity in the
|
257
|
+
# [organization's management account][1] or a delegated administrator
|
258
|
+
# account. The specified account ID must also be a member account in
|
259
|
+
# the same organization. The organization must have [all features
|
260
|
+
# enabled][2], and the organization must have [trusted access][3]
|
261
|
+
# enabled for the Account Management service, and optionally a
|
262
|
+
# [delegated admin][4] account assigned.
|
263
|
+
#
|
264
|
+
# <note markdown="1"> The management account can't specify its own `AccountId`. It must
|
265
|
+
# call the operation in standalone context by not including the
|
266
|
+
# `AccountId` parameter.
|
119
267
|
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
#
|
123
|
-
#
|
268
|
+
# </note>
|
269
|
+
#
|
270
|
+
# To call this operation on an account that is not a member of an
|
271
|
+
# organization, don't specify this parameter. Instead, call the
|
272
|
+
# operation using an identity belonging to the account whose contacts
|
273
|
+
# you wish to retrieve or modify.
|
124
274
|
#
|
275
|
+
#
|
276
|
+
#
|
277
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account
|
278
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
|
279
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html
|
280
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html
|
281
|
+
# @return [String]
|
282
|
+
#
|
283
|
+
# @!attribute [rw] region_name
|
284
|
+
# Specifies the Region-code for a given Region name (for example,
|
285
|
+
# `af-south-1`). When you enable a Region, Amazon Web Services
|
286
|
+
# performs actions to prepare your account in that Region, such as
|
287
|
+
# distributing your IAM resources to the Region. This process takes a
|
288
|
+
# few minutes for most accounts, but it can take several hours. You
|
289
|
+
# cannot use the Region until this process is complete. Furthermore,
|
290
|
+
# you cannot disable the Region until the enabling process is fully
|
291
|
+
# completed.
|
292
|
+
# @return [String]
|
293
|
+
#
|
294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/EnableRegionRequest AWS API Documentation
|
295
|
+
#
|
296
|
+
class EnableRegionRequest < Struct.new(
|
297
|
+
:account_id,
|
298
|
+
:region_name)
|
299
|
+
SENSITIVE = []
|
300
|
+
include Aws::Structure
|
301
|
+
end
|
302
|
+
|
125
303
|
# @!attribute [rw] account_id
|
126
304
|
# Specifies the 12 digit account ID number of the Amazon Web Services
|
127
305
|
# account that you want to access or modify with this operation.
|
@@ -182,6 +360,124 @@ module Aws::Account
|
|
182
360
|
include Aws::Structure
|
183
361
|
end
|
184
362
|
|
363
|
+
# @!attribute [rw] account_id
|
364
|
+
# Specifies the 12-digit account ID number of the Amazon Web Services
|
365
|
+
# account that you want to access or modify with this operation. If
|
366
|
+
# you don't specify this parameter, it defaults to the Amazon Web
|
367
|
+
# Services account of the identity used to call the operation. To use
|
368
|
+
# this parameter, the caller must be an identity in the
|
369
|
+
# [organization's management account][1] or a delegated administrator
|
370
|
+
# account. The specified account ID must also be a member account in
|
371
|
+
# the same organization. The organization must have [all features
|
372
|
+
# enabled][2], and the organization must have [trusted access][3]
|
373
|
+
# enabled for the Account Management service, and optionally a
|
374
|
+
# [delegated admin][4] account assigned.
|
375
|
+
#
|
376
|
+
# <note markdown="1"> The management account can't specify its own `AccountId`. It must
|
377
|
+
# call the operation in standalone context by not including the
|
378
|
+
# `AccountId` parameter.
|
379
|
+
#
|
380
|
+
# </note>
|
381
|
+
#
|
382
|
+
# To call this operation on an account that is not a member of an
|
383
|
+
# organization, don't specify this parameter. Instead, call the
|
384
|
+
# operation using an identity belonging to the account whose contacts
|
385
|
+
# you wish to retrieve or modify.
|
386
|
+
#
|
387
|
+
#
|
388
|
+
#
|
389
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account
|
390
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
|
391
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html
|
392
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html
|
393
|
+
# @return [String]
|
394
|
+
#
|
395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetContactInformationRequest AWS API Documentation
|
396
|
+
#
|
397
|
+
class GetContactInformationRequest < Struct.new(
|
398
|
+
:account_id)
|
399
|
+
SENSITIVE = []
|
400
|
+
include Aws::Structure
|
401
|
+
end
|
402
|
+
|
403
|
+
# @!attribute [rw] contact_information
|
404
|
+
# Contains the details of the primary contact information associated
|
405
|
+
# with an Amazon Web Services account.
|
406
|
+
# @return [Types::ContactInformation]
|
407
|
+
#
|
408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetContactInformationResponse AWS API Documentation
|
409
|
+
#
|
410
|
+
class GetContactInformationResponse < Struct.new(
|
411
|
+
:contact_information)
|
412
|
+
SENSITIVE = []
|
413
|
+
include Aws::Structure
|
414
|
+
end
|
415
|
+
|
416
|
+
# @!attribute [rw] account_id
|
417
|
+
# Specifies the 12-digit account ID number of the Amazon Web Services
|
418
|
+
# account that you want to access or modify with this operation. If
|
419
|
+
# you don't specify this parameter, it defaults to the Amazon Web
|
420
|
+
# Services account of the identity used to call the operation. To use
|
421
|
+
# this parameter, the caller must be an identity in the
|
422
|
+
# [organization's management account][1] or a delegated administrator
|
423
|
+
# account. The specified account ID must also be a member account in
|
424
|
+
# the same organization. The organization must have [all features
|
425
|
+
# enabled][2], and the organization must have [trusted access][3]
|
426
|
+
# enabled for the Account Management service, and optionally a
|
427
|
+
# [delegated admin][4] account assigned.
|
428
|
+
#
|
429
|
+
# <note markdown="1"> The management account can't specify its own `AccountId`. It must
|
430
|
+
# call the operation in standalone context by not including the
|
431
|
+
# `AccountId` parameter.
|
432
|
+
#
|
433
|
+
# </note>
|
434
|
+
#
|
435
|
+
# To call this operation on an account that is not a member of an
|
436
|
+
# organization, don't specify this parameter. Instead, call the
|
437
|
+
# operation using an identity belonging to the account whose contacts
|
438
|
+
# you wish to retrieve or modify.
|
439
|
+
#
|
440
|
+
#
|
441
|
+
#
|
442
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account
|
443
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
|
444
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html
|
445
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html
|
446
|
+
# @return [String]
|
447
|
+
#
|
448
|
+
# @!attribute [rw] region_name
|
449
|
+
# Specifies the Region-code for a given Region name (for example,
|
450
|
+
# `af-south-1`). This function will return the status of whatever
|
451
|
+
# Region you pass into this parameter.
|
452
|
+
# @return [String]
|
453
|
+
#
|
454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetRegionOptStatusRequest AWS API Documentation
|
455
|
+
#
|
456
|
+
class GetRegionOptStatusRequest < Struct.new(
|
457
|
+
:account_id,
|
458
|
+
:region_name)
|
459
|
+
SENSITIVE = []
|
460
|
+
include Aws::Structure
|
461
|
+
end
|
462
|
+
|
463
|
+
# @!attribute [rw] region_name
|
464
|
+
# The Region code that was passed in.
|
465
|
+
# @return [String]
|
466
|
+
#
|
467
|
+
# @!attribute [rw] region_opt_status
|
468
|
+
# One of the potential statuses a Region can undergo (Enabled,
|
469
|
+
# Enabling, Disabled, Disabling, Enabled\_By\_Default).
|
470
|
+
# @return [String]
|
471
|
+
#
|
472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetRegionOptStatusResponse AWS API Documentation
|
473
|
+
#
|
474
|
+
class GetRegionOptStatusResponse < Struct.new(
|
475
|
+
:region_name,
|
476
|
+
:region_opt_status)
|
477
|
+
SENSITIVE = []
|
478
|
+
include Aws::Structure
|
479
|
+
end
|
480
|
+
|
185
481
|
# The operation failed because of an error internal to Amazon Web
|
186
482
|
# Services. Try your operation again later.
|
187
483
|
#
|
@@ -196,18 +492,103 @@ module Aws::Account
|
|
196
492
|
include Aws::Structure
|
197
493
|
end
|
198
494
|
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
#
|
495
|
+
# @!attribute [rw] account_id
|
496
|
+
# Specifies the 12-digit account ID number of the Amazon Web Services
|
497
|
+
# account that you want to access or modify with this operation. If
|
498
|
+
# you don't specify this parameter, it defaults to the Amazon Web
|
499
|
+
# Services account of the identity used to call the operation. To use
|
500
|
+
# this parameter, the caller must be an identity in the
|
501
|
+
# [organization's management account][1] or a delegated administrator
|
502
|
+
# account. The specified account ID must also be a member account in
|
503
|
+
# the same organization. The organization must have [all features
|
504
|
+
# enabled][2], and the organization must have [trusted access][3]
|
505
|
+
# enabled for the Account Management service, and optionally a
|
506
|
+
# [delegated admin][4] account assigned.
|
507
|
+
#
|
508
|
+
# <note markdown="1"> The management account can't specify its own `AccountId`. It must
|
509
|
+
# call the operation in standalone context by not including the
|
510
|
+
# `AccountId` parameter.
|
511
|
+
#
|
512
|
+
# </note>
|
513
|
+
#
|
514
|
+
# To call this operation on an account that is not a member of an
|
515
|
+
# organization, don't specify this parameter. Instead, call the
|
516
|
+
# operation using an identity belonging to the account whose contacts
|
517
|
+
# you wish to retrieve or modify.
|
518
|
+
#
|
519
|
+
#
|
520
|
+
#
|
521
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account
|
522
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
|
523
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html
|
524
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html
|
525
|
+
# @return [String]
|
526
|
+
#
|
527
|
+
# @!attribute [rw] max_results
|
528
|
+
# The total number of items to return in the command’s output. If the
|
529
|
+
# total number of items available is more than the value specified, a
|
530
|
+
# `NextToken` is provided in the command’s output. To resume
|
531
|
+
# pagination, provide the `NextToken` value in the `starting-token`
|
532
|
+
# argument of a subsequent command. Do not use the `NextToken`
|
533
|
+
# response element directly outside of the Amazon Web Services CLI.
|
534
|
+
# For usage examples, see [Pagination][1] in the *Amazon Web Services
|
535
|
+
# Command Line Interface User Guide*.
|
536
|
+
#
|
537
|
+
#
|
538
|
+
#
|
539
|
+
# [1]: http://docs.aws.amazon.com/cli/latest/userguide/pagination.html
|
540
|
+
# @return [Integer]
|
541
|
+
#
|
542
|
+
# @!attribute [rw] next_token
|
543
|
+
# A token used to specify where to start paginating. This is the
|
544
|
+
# `NextToken` from a previously truncated response. For usage
|
545
|
+
# examples, see [Pagination][1] in the *Amazon Web Services Command
|
546
|
+
# Line Interface User Guide*.
|
547
|
+
#
|
548
|
+
#
|
549
|
+
#
|
550
|
+
# [1]: http://docs.aws.amazon.com/cli/latest/userguide/pagination.html
|
551
|
+
# @return [String]
|
552
|
+
#
|
553
|
+
# @!attribute [rw] region_opt_status_contains
|
554
|
+
# A list of Region statuses (Enabling, Enabled, Disabling, Disabled,
|
555
|
+
# Enabled\_by\_default) to use to filter the list of Regions for a
|
556
|
+
# given account. For example, passing in a value of ENABLING will only
|
557
|
+
# return a list of Regions with a Region status of ENABLING.
|
558
|
+
# @return [Array<String>]
|
559
|
+
#
|
560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ListRegionsRequest AWS API Documentation
|
561
|
+
#
|
562
|
+
class ListRegionsRequest < Struct.new(
|
563
|
+
:account_id,
|
564
|
+
:max_results,
|
565
|
+
:next_token,
|
566
|
+
:region_opt_status_contains)
|
567
|
+
SENSITIVE = []
|
568
|
+
include Aws::Structure
|
569
|
+
end
|
570
|
+
|
571
|
+
# @!attribute [rw] next_token
|
572
|
+
# If there is more data to be returned, this will be populated. It
|
573
|
+
# should be passed into the `next-token` request parameter of
|
574
|
+
# `list-regions`.
|
575
|
+
# @return [String]
|
576
|
+
#
|
577
|
+
# @!attribute [rw] regions
|
578
|
+
# This is a list of Regions for a given account, or if the filtered
|
579
|
+
# parameter was used, a list of Regions that match the filter criteria
|
580
|
+
# set in the `filter` parameter.
|
581
|
+
# @return [Array<Types::Region>]
|
582
|
+
#
|
583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ListRegionsResponse AWS API Documentation
|
210
584
|
#
|
585
|
+
class ListRegionsResponse < Struct.new(
|
586
|
+
:next_token,
|
587
|
+
:regions)
|
588
|
+
SENSITIVE = []
|
589
|
+
include Aws::Structure
|
590
|
+
end
|
591
|
+
|
211
592
|
# @!attribute [rw] account_id
|
212
593
|
# Specifies the 12 digit account ID number of the Amazon Web Services
|
213
594
|
# account that you want to access or modify with this operation.
|
@@ -275,6 +656,73 @@ module Aws::Account
|
|
275
656
|
include Aws::Structure
|
276
657
|
end
|
277
658
|
|
659
|
+
# @!attribute [rw] account_id
|
660
|
+
# Specifies the 12-digit account ID number of the Amazon Web Services
|
661
|
+
# account that you want to access or modify with this operation. If
|
662
|
+
# you don't specify this parameter, it defaults to the Amazon Web
|
663
|
+
# Services account of the identity used to call the operation. To use
|
664
|
+
# this parameter, the caller must be an identity in the
|
665
|
+
# [organization's management account][1] or a delegated administrator
|
666
|
+
# account. The specified account ID must also be a member account in
|
667
|
+
# the same organization. The organization must have [all features
|
668
|
+
# enabled][2], and the organization must have [trusted access][3]
|
669
|
+
# enabled for the Account Management service, and optionally a
|
670
|
+
# [delegated admin][4] account assigned.
|
671
|
+
#
|
672
|
+
# <note markdown="1"> The management account can't specify its own `AccountId`. It must
|
673
|
+
# call the operation in standalone context by not including the
|
674
|
+
# `AccountId` parameter.
|
675
|
+
#
|
676
|
+
# </note>
|
677
|
+
#
|
678
|
+
# To call this operation on an account that is not a member of an
|
679
|
+
# organization, don't specify this parameter. Instead, call the
|
680
|
+
# operation using an identity belonging to the account whose contacts
|
681
|
+
# you wish to retrieve or modify.
|
682
|
+
#
|
683
|
+
#
|
684
|
+
#
|
685
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account
|
686
|
+
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html
|
687
|
+
# [3]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-trusted-access.html
|
688
|
+
# [4]: https://docs.aws.amazon.com/organizations/latest/userguide/using-orgs-delegated-admin.html
|
689
|
+
# @return [String]
|
690
|
+
#
|
691
|
+
# @!attribute [rw] contact_information
|
692
|
+
# Contains the details of the primary contact information associated
|
693
|
+
# with an Amazon Web Services account.
|
694
|
+
# @return [Types::ContactInformation]
|
695
|
+
#
|
696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/PutContactInformationRequest AWS API Documentation
|
697
|
+
#
|
698
|
+
class PutContactInformationRequest < Struct.new(
|
699
|
+
:account_id,
|
700
|
+
:contact_information)
|
701
|
+
SENSITIVE = []
|
702
|
+
include Aws::Structure
|
703
|
+
end
|
704
|
+
|
705
|
+
# This is a structure that expresses the Region for a given account,
|
706
|
+
# consisting of a name and opt-in status.
|
707
|
+
#
|
708
|
+
# @!attribute [rw] region_name
|
709
|
+
# The Region code of a given Region (for example, `us-east-1`).
|
710
|
+
# @return [String]
|
711
|
+
#
|
712
|
+
# @!attribute [rw] region_opt_status
|
713
|
+
# One of potential statuses a Region can undergo (Enabled, Enabling,
|
714
|
+
# Disabled, Disabling, Enabled\_By\_Default).
|
715
|
+
# @return [String]
|
716
|
+
#
|
717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/Region AWS API Documentation
|
718
|
+
#
|
719
|
+
class Region < Struct.new(
|
720
|
+
:region_name,
|
721
|
+
:region_opt_status)
|
722
|
+
SENSITIVE = []
|
723
|
+
include Aws::Structure
|
724
|
+
end
|
725
|
+
|
278
726
|
# The operation failed because it specified a resource that can't be
|
279
727
|
# found.
|
280
728
|
#
|
@@ -305,14 +753,46 @@ module Aws::Account
|
|
305
753
|
|
306
754
|
# The operation failed because one of the input parameters was invalid.
|
307
755
|
#
|
756
|
+
# @!attribute [rw] field_list
|
757
|
+
# The field where the invalid entry was detected.
|
758
|
+
# @return [Array<Types::ValidationExceptionField>]
|
759
|
+
#
|
308
760
|
# @!attribute [rw] message
|
761
|
+
# The message that informs you about what was invalid about the
|
762
|
+
# request.
|
763
|
+
# @return [String]
|
764
|
+
#
|
765
|
+
# @!attribute [rw] reason
|
766
|
+
# The reason that validation failed.
|
309
767
|
# @return [String]
|
310
768
|
#
|
311
769
|
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ValidationException AWS API Documentation
|
312
770
|
#
|
313
771
|
class ValidationException < Struct.new(
|
314
|
-
:
|
315
|
-
|
772
|
+
:field_list,
|
773
|
+
:message,
|
774
|
+
:reason)
|
775
|
+
SENSITIVE = [:message]
|
776
|
+
include Aws::Structure
|
777
|
+
end
|
778
|
+
|
779
|
+
# The input failed to meet the constraints specified by the Amazon Web
|
780
|
+
# Services service in a specified field.
|
781
|
+
#
|
782
|
+
# @!attribute [rw] message
|
783
|
+
# A message about the validation exception.
|
784
|
+
# @return [String]
|
785
|
+
#
|
786
|
+
# @!attribute [rw] name
|
787
|
+
# The field name where the invalid entry was detected.
|
788
|
+
# @return [String]
|
789
|
+
#
|
790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/ValidationExceptionField AWS API Documentation
|
791
|
+
#
|
792
|
+
class ValidationExceptionField < Struct.new(
|
793
|
+
:message,
|
794
|
+
:name)
|
795
|
+
SENSITIVE = [:message]
|
316
796
|
include Aws::Structure
|
317
797
|
end
|
318
798
|
|
data/lib/aws-sdk-account.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-account/types'
|
15
15
|
require_relative 'aws-sdk-account/client_api'
|
16
|
+
require_relative 'aws-sdk-account/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-account/client'
|
17
18
|
require_relative 'aws-sdk-account/errors'
|
18
19
|
require_relative 'aws-sdk-account/resource'
|
20
|
+
require_relative 'aws-sdk-account/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-account/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-account/endpoints'
|
19
23
|
require_relative 'aws-sdk-account/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AWS Account. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-account/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::Account
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.18.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-account
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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:
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.184.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-account/client.rb
|
60
60
|
- lib/aws-sdk-account/client_api.rb
|
61
61
|
- lib/aws-sdk-account/customizations.rb
|
62
|
+
- lib/aws-sdk-account/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-account/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-account/endpoints.rb
|
62
65
|
- lib/aws-sdk-account/errors.rb
|
66
|
+
- lib/aws-sdk-account/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-account/resource.rb
|
64
68
|
- lib/aws-sdk-account/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|