aws-sdk-support 1.42.0 → 1.44.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-support/client.rb +129 -45
- data/lib/aws-sdk-support/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-support/endpoint_provider.rb +53 -132
- data/lib/aws-sdk-support/types.rb +77 -167
- data/lib/aws-sdk-support.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b6e67c90f8fb3136b19e51a0e746fa74158ca78066c2ed4bfec66877f1dfbe2
|
4
|
+
data.tar.gz: 45a0512a442048fea98e079cbb07f5ebbad0ff967144f772c8a77e26b20f8a9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b97412a90c2dc727ef1a54a5bba0bdee12df3fee578e234b80ec34fee11b43b759d5e09f6e1ae28a01cb1824ec035d19d1b91db3c4ca2e785e74b50c820a4d6e
|
7
|
+
data.tar.gz: 1400f2c84fc2fdf531d063d11a4dc66da6c2927b738d4d5cb8c1d6b8ca322cf01e4b294d858e0f6397d82463cf7aec5e1d000024407bb28e54905a6cb6124819
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.43.0 (2022-12-21)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Documentation updates for the AWS Support API
|
15
|
+
|
4
16
|
1.42.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -278,4 +290,4 @@ Unreleased Changes
|
|
278
290
|
1.0.0.rc1 (2016-12-05)
|
279
291
|
------------------
|
280
292
|
|
281
|
-
* Feature - Initial preview release of the `aws-sdk-support` gem.
|
293
|
+
* Feature - Initial preview release of the `aws-sdk-support` gem.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -389,7 +389,7 @@ module Aws::Support
|
|
389
389
|
# plan to use the Amazon Web Services Support API.
|
390
390
|
#
|
391
391
|
# * If you call the Amazon Web Services Support API from an account that
|
392
|
-
#
|
392
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
393
393
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
394
394
|
# information about changing your support plan, see [Amazon Web
|
395
395
|
# Services Support][1].
|
@@ -457,7 +457,7 @@ module Aws::Support
|
|
457
457
|
# plan to use the Amazon Web Services Support API.
|
458
458
|
#
|
459
459
|
# * If you call the Amazon Web Services Support API from an account that
|
460
|
-
#
|
460
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
461
461
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
462
462
|
# information about changing your support plan, see [Amazon Web
|
463
463
|
# Services Support][1].
|
@@ -538,7 +538,7 @@ module Aws::Support
|
|
538
538
|
# plan to use the Amazon Web Services Support API.
|
539
539
|
#
|
540
540
|
# * If you call the Amazon Web Services Support API from an account that
|
541
|
-
#
|
541
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
542
542
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
543
543
|
# information about changing your support plan, see [Amazon Web
|
544
544
|
# Services Support][4].
|
@@ -610,9 +610,9 @@ module Aws::Support
|
|
610
610
|
#
|
611
611
|
# @option params [String] :language
|
612
612
|
# The language in which Amazon Web Services Support handles the case.
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
613
|
+
# Amazon Web Services Support currently supports English ("en") and
|
614
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
615
|
+
# `language` parameter if you want support in that language.
|
616
616
|
#
|
617
617
|
# @option params [String] :issue_type
|
618
618
|
# The type of issue for the case. You can specify `customer-service` or
|
@@ -665,7 +665,7 @@ module Aws::Support
|
|
665
665
|
# plan to use the Amazon Web Services Support API.
|
666
666
|
#
|
667
667
|
# * If you call the Amazon Web Services Support API from an account that
|
668
|
-
#
|
668
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
669
669
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
670
670
|
# information about changing your support plan, see [Amazon Web
|
671
671
|
# Services Support][1].
|
@@ -724,7 +724,7 @@ module Aws::Support
|
|
724
724
|
# plan to use the Amazon Web Services Support API.
|
725
725
|
#
|
726
726
|
# * If you call the Amazon Web Services Support API from an account that
|
727
|
-
#
|
727
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
728
728
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
729
729
|
# information about changing your support plan, see [Amazon Web
|
730
730
|
# Services Support][2].
|
@@ -765,10 +765,10 @@ module Aws::Support
|
|
765
765
|
# The maximum number of results to return before paginating.
|
766
766
|
#
|
767
767
|
# @option params [String] :language
|
768
|
-
# The
|
769
|
-
#
|
770
|
-
#
|
771
|
-
#
|
768
|
+
# The language in which Amazon Web Services Support handles the case.
|
769
|
+
# Amazon Web Services Support currently supports English ("en") and
|
770
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
771
|
+
# `language` parameter if you want support in that language.
|
772
772
|
#
|
773
773
|
# @option params [Boolean] :include_communications
|
774
774
|
# Specifies whether to include communications in the `DescribeCases`
|
@@ -848,7 +848,7 @@ module Aws::Support
|
|
848
848
|
# plan to use the Amazon Web Services Support API.
|
849
849
|
#
|
850
850
|
# * If you call the Amazon Web Services Support API from an account that
|
851
|
-
#
|
851
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
852
852
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
853
853
|
# information about changing your support plan, see [Amazon Web
|
854
854
|
# Services Support][1].
|
@@ -935,7 +935,7 @@ module Aws::Support
|
|
935
935
|
# plan to use the Amazon Web Services Support API.
|
936
936
|
#
|
937
937
|
# * If you call the Amazon Web Services Support API from an account that
|
938
|
-
#
|
938
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
939
939
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
940
940
|
# information about changing your support plan, see [Amazon Web
|
941
941
|
# Services Support][2].
|
@@ -952,10 +952,10 @@ module Aws::Support
|
|
952
952
|
# Services services.
|
953
953
|
#
|
954
954
|
# @option params [String] :language
|
955
|
-
# The
|
956
|
-
#
|
957
|
-
#
|
958
|
-
#
|
955
|
+
# The language in which Amazon Web Services Support handles the case.
|
956
|
+
# Amazon Web Services Support currently supports English ("en") and
|
957
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
958
|
+
# `language` parameter if you want support in that language.
|
959
959
|
#
|
960
960
|
# @return [Types::DescribeServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
961
961
|
#
|
@@ -994,7 +994,7 @@ module Aws::Support
|
|
994
994
|
# plan to use the Amazon Web Services Support API.
|
995
995
|
#
|
996
996
|
# * If you call the Amazon Web Services Support API from an account that
|
997
|
-
#
|
997
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
998
998
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
999
999
|
# information about changing your support plan, see [Amazon Web
|
1000
1000
|
# Services Support][1].
|
@@ -1006,10 +1006,10 @@ module Aws::Support
|
|
1006
1006
|
# [1]: http://aws.amazon.com/premiumsupport/
|
1007
1007
|
#
|
1008
1008
|
# @option params [String] :language
|
1009
|
-
# The
|
1010
|
-
#
|
1011
|
-
#
|
1012
|
-
#
|
1009
|
+
# The language in which Amazon Web Services Support handles the case.
|
1010
|
+
# Amazon Web Services Support currently supports English ("en") and
|
1011
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
1012
|
+
# `language` parameter if you want support in that language.
|
1013
1013
|
#
|
1014
1014
|
# @return [Types::DescribeSeverityLevelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1015
1015
|
#
|
@@ -1050,16 +1050,24 @@ module Aws::Support
|
|
1050
1050
|
# plan to use the Amazon Web Services Support API.
|
1051
1051
|
#
|
1052
1052
|
# * If you call the Amazon Web Services Support API from an account that
|
1053
|
-
#
|
1053
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
1054
1054
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
1055
1055
|
# information about changing your support plan, see [Amazon Web
|
1056
1056
|
# Services Support][1].
|
1057
1057
|
#
|
1058
1058
|
# </note>
|
1059
1059
|
#
|
1060
|
+
# To call the Trusted Advisor operations in the Amazon Web Services
|
1061
|
+
# Support API, you must use the US East (N. Virginia) endpoint.
|
1062
|
+
# Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
|
1063
|
+
# support the Trusted Advisor operations. For more information, see
|
1064
|
+
# [About the Amazon Web Services Support API][2] in the *Amazon Web
|
1065
|
+
# Services Support User Guide*.
|
1066
|
+
#
|
1060
1067
|
#
|
1061
1068
|
#
|
1062
1069
|
# [1]: http://aws.amazon.com/premiumsupport/
|
1070
|
+
# [2]: https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint
|
1063
1071
|
#
|
1064
1072
|
# @option params [required, Array<String>] :check_ids
|
1065
1073
|
# The IDs of the Trusted Advisor checks to get the status.
|
@@ -1121,25 +1129,56 @@ module Aws::Support
|
|
1121
1129
|
# plan to use the Amazon Web Services Support API.
|
1122
1130
|
#
|
1123
1131
|
# * If you call the Amazon Web Services Support API from an account that
|
1124
|
-
#
|
1132
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
1125
1133
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
1126
1134
|
# information about changing your support plan, see [Amazon Web
|
1127
1135
|
# Services Support][1].
|
1128
1136
|
#
|
1129
1137
|
# </note>
|
1130
1138
|
#
|
1139
|
+
# To call the Trusted Advisor operations in the Amazon Web Services
|
1140
|
+
# Support API, you must use the US East (N. Virginia) endpoint.
|
1141
|
+
# Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
|
1142
|
+
# support the Trusted Advisor operations. For more information, see
|
1143
|
+
# [About the Amazon Web Services Support API][2] in the *Amazon Web
|
1144
|
+
# Services Support User Guide*.
|
1145
|
+
#
|
1131
1146
|
#
|
1132
1147
|
#
|
1133
1148
|
# [1]: http://aws.amazon.com/premiumsupport/
|
1149
|
+
# [2]: https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint
|
1134
1150
|
#
|
1135
1151
|
# @option params [required, String] :check_id
|
1136
1152
|
# The unique identifier for the Trusted Advisor check.
|
1137
1153
|
#
|
1138
1154
|
# @option params [String] :language
|
1139
|
-
# The ISO 639-1 code for the language
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
#
|
1155
|
+
# The ISO 639-1 code for the language that you want your check results
|
1156
|
+
# to appear in.
|
1157
|
+
#
|
1158
|
+
# The Amazon Web Services Support API currently supports the following
|
1159
|
+
# languages for Trusted Advisor:
|
1160
|
+
#
|
1161
|
+
# * Chinese, Simplified - `zh`
|
1162
|
+
#
|
1163
|
+
# * Chinese, Traditional - `zh_TW`
|
1164
|
+
#
|
1165
|
+
# * English - `en`
|
1166
|
+
#
|
1167
|
+
# * French - `fr`
|
1168
|
+
#
|
1169
|
+
# * German - `de`
|
1170
|
+
#
|
1171
|
+
# * Indonesian - `id`
|
1172
|
+
#
|
1173
|
+
# * Italian - `it`
|
1174
|
+
#
|
1175
|
+
# * Japanese - `ja`
|
1176
|
+
#
|
1177
|
+
# * Korean - `ko`
|
1178
|
+
#
|
1179
|
+
# * Portuguese, Brazilian - `pt_BR`
|
1180
|
+
#
|
1181
|
+
# * Spanish - `es`
|
1143
1182
|
#
|
1144
1183
|
# @return [Types::DescribeTrustedAdvisorCheckResultResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1145
1184
|
#
|
@@ -1190,16 +1229,24 @@ module Aws::Support
|
|
1190
1229
|
# plan to use the Amazon Web Services Support API.
|
1191
1230
|
#
|
1192
1231
|
# * If you call the Amazon Web Services Support API from an account that
|
1193
|
-
#
|
1232
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
1194
1233
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
1195
1234
|
# information about changing your support plan, see [Amazon Web
|
1196
1235
|
# Services Support][1].
|
1197
1236
|
#
|
1198
1237
|
# </note>
|
1199
1238
|
#
|
1239
|
+
# To call the Trusted Advisor operations in the Amazon Web Services
|
1240
|
+
# Support API, you must use the US East (N. Virginia) endpoint.
|
1241
|
+
# Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
|
1242
|
+
# support the Trusted Advisor operations. For more information, see
|
1243
|
+
# [About the Amazon Web Services Support API][2] in the *Amazon Web
|
1244
|
+
# Services Support User Guide*.
|
1245
|
+
#
|
1200
1246
|
#
|
1201
1247
|
#
|
1202
1248
|
# [1]: http://aws.amazon.com/premiumsupport/
|
1249
|
+
# [2]: https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint
|
1203
1250
|
#
|
1204
1251
|
# @option params [required, Array<String>] :check_ids
|
1205
1252
|
# The IDs of the Trusted Advisor checks.
|
@@ -1239,16 +1286,16 @@ module Aws::Support
|
|
1239
1286
|
|
1240
1287
|
# Returns information about all available Trusted Advisor checks,
|
1241
1288
|
# including the name, ID, category, description, and metadata. You must
|
1242
|
-
# specify a language code.
|
1243
|
-
#
|
1244
|
-
# a TrustedAdvisorCheckDescription object for each
|
1245
|
-
# the Amazon Web Services Region to us-east-1.
|
1289
|
+
# specify a language code.
|
1290
|
+
#
|
1291
|
+
# The response contains a TrustedAdvisorCheckDescription object for each
|
1292
|
+
# check. You must set the Amazon Web Services Region to us-east-1.
|
1246
1293
|
#
|
1247
1294
|
# <note markdown="1"> * You must have a Business, Enterprise On-Ramp, or Enterprise Support
|
1248
1295
|
# plan to use the Amazon Web Services Support API.
|
1249
1296
|
#
|
1250
1297
|
# * If you call the Amazon Web Services Support API from an account that
|
1251
|
-
#
|
1298
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
1252
1299
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
1253
1300
|
# information about changing your support plan, see [Amazon Web
|
1254
1301
|
# Services Support][1].
|
@@ -1259,15 +1306,46 @@ module Aws::Support
|
|
1259
1306
|
#
|
1260
1307
|
# </note>
|
1261
1308
|
#
|
1309
|
+
# To call the Trusted Advisor operations in the Amazon Web Services
|
1310
|
+
# Support API, you must use the US East (N. Virginia) endpoint.
|
1311
|
+
# Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
|
1312
|
+
# support the Trusted Advisor operations. For more information, see
|
1313
|
+
# [About the Amazon Web Services Support API][2] in the *Amazon Web
|
1314
|
+
# Services Support User Guide*.
|
1315
|
+
#
|
1262
1316
|
#
|
1263
1317
|
#
|
1264
1318
|
# [1]: http://aws.amazon.com/premiumsupport/
|
1319
|
+
# [2]: https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint
|
1265
1320
|
#
|
1266
1321
|
# @option params [required, String] :language
|
1267
|
-
# The ISO 639-1 code for the language
|
1268
|
-
#
|
1269
|
-
#
|
1270
|
-
#
|
1322
|
+
# The ISO 639-1 code for the language that you want your checks to
|
1323
|
+
# appear in.
|
1324
|
+
#
|
1325
|
+
# The Amazon Web Services Support API currently supports the following
|
1326
|
+
# languages for Trusted Advisor:
|
1327
|
+
#
|
1328
|
+
# * Chinese, Simplified - `zh`
|
1329
|
+
#
|
1330
|
+
# * Chinese, Traditional - `zh_TW`
|
1331
|
+
#
|
1332
|
+
# * English - `en`
|
1333
|
+
#
|
1334
|
+
# * French - `fr`
|
1335
|
+
#
|
1336
|
+
# * German - `de`
|
1337
|
+
#
|
1338
|
+
# * Indonesian - `id`
|
1339
|
+
#
|
1340
|
+
# * Italian - `it`
|
1341
|
+
#
|
1342
|
+
# * Japanese - `ja`
|
1343
|
+
#
|
1344
|
+
# * Korean - `ko`
|
1345
|
+
#
|
1346
|
+
# * Portuguese, Brazilian - `pt_BR`
|
1347
|
+
#
|
1348
|
+
# * Spanish - `es`
|
1271
1349
|
#
|
1272
1350
|
# @return [Types::DescribeTrustedAdvisorChecksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1273
1351
|
#
|
@@ -1302,28 +1380,34 @@ module Aws::Support
|
|
1302
1380
|
# ID. You can get the check IDs by calling the
|
1303
1381
|
# DescribeTrustedAdvisorChecks operation.
|
1304
1382
|
#
|
1305
|
-
#
|
1383
|
+
# Some checks are refreshed automatically. If you call the
|
1306
1384
|
# `RefreshTrustedAdvisorCheck` operation to refresh them, you might see
|
1307
1385
|
# the `InvalidParameterValue` error.
|
1308
1386
|
#
|
1309
|
-
# </note>
|
1310
|
-
#
|
1311
1387
|
# The response contains a TrustedAdvisorCheckRefreshStatus object.
|
1312
1388
|
#
|
1313
1389
|
# <note markdown="1"> * You must have a Business, Enterprise On-Ramp, or Enterprise Support
|
1314
1390
|
# plan to use the Amazon Web Services Support API.
|
1315
1391
|
#
|
1316
1392
|
# * If you call the Amazon Web Services Support API from an account that
|
1317
|
-
#
|
1393
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
1318
1394
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
1319
1395
|
# information about changing your support plan, see [Amazon Web
|
1320
1396
|
# Services Support][1].
|
1321
1397
|
#
|
1322
1398
|
# </note>
|
1323
1399
|
#
|
1400
|
+
# To call the Trusted Advisor operations in the Amazon Web Services
|
1401
|
+
# Support API, you must use the US East (N. Virginia) endpoint.
|
1402
|
+
# Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
|
1403
|
+
# support the Trusted Advisor operations. For more information, see
|
1404
|
+
# [About the Amazon Web Services Support API][2] in the *Amazon Web
|
1405
|
+
# Services Support User Guide*.
|
1406
|
+
#
|
1324
1407
|
#
|
1325
1408
|
#
|
1326
1409
|
# [1]: http://aws.amazon.com/premiumsupport/
|
1410
|
+
# [2]: https://docs.aws.amazon.com/awssupport/latest/user/about-support-api.html#endpoint
|
1327
1411
|
#
|
1328
1412
|
# @option params [required, String] :check_id
|
1329
1413
|
# The unique identifier for the Trusted Advisor check to refresh.
|
@@ -1365,7 +1449,7 @@ module Aws::Support
|
|
1365
1449
|
# plan to use the Amazon Web Services Support API.
|
1366
1450
|
#
|
1367
1451
|
# * If you call the Amazon Web Services Support API from an account that
|
1368
|
-
#
|
1452
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
1369
1453
|
# plan, the `SubscriptionRequiredException` error message appears. For
|
1370
1454
|
# information about changing your support plan, see [Amazon Web
|
1371
1455
|
# Services Support][1].
|
@@ -1419,7 +1503,7 @@ module Aws::Support
|
|
1419
1503
|
params: params,
|
1420
1504
|
config: config)
|
1421
1505
|
context[:gem_name] = 'aws-sdk-support'
|
1422
|
-
context[:gem_version] = '1.
|
1506
|
+
context[:gem_version] = '1.44.0'
|
1423
1507
|
Seahorse::Client::Request.new(handlers, context)
|
1424
1508
|
end
|
1425
1509
|
|
@@ -50,6 +50,9 @@ module Aws::Support
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,140 +9,61 @@
|
|
9
9
|
|
10
10
|
module Aws::Support
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
39
|
+
end
|
40
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
41
|
+
end
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
45
|
+
end
|
46
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
47
|
+
end
|
48
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"support"}]})
|
50
|
+
end
|
51
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
|
52
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-north-1", "signingName"=>"support"}]})
|
53
|
+
end
|
54
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
|
55
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"support"}]})
|
56
|
+
end
|
57
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "aws-iso-global")
|
58
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1", "signingName"=>"support"}]})
|
59
|
+
end
|
60
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "aws-iso-b-global")
|
61
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1", "signingName"=>"support"}]})
|
62
|
+
end
|
63
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
64
|
end
|
22
|
-
|
23
|
-
end
|
65
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
66
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
67
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIl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NpZ25pbmdOYW1lIjoic3VwcG9y
|
133
|
-
dCIsInNpZ25pbmdSZWdpb24iOiJ1cy1pc28tZWFzdC0xIn1dfSwiaGVhZGVy
|
134
|
-
cyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMiOlt7ImZu
|
135
|
-
Ijoic3RyaW5nRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiUmVnaW9uIn0sImF3
|
136
|
-
cy1pc28tYi1nbG9iYWwiXX1dLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczov
|
137
|
-
L3N1cHBvcnQudXMtaXNvYi1lYXN0LTEuc2Mycy5zZ292LmdvdiIsInByb3Bl
|
138
|
-
cnRpZXMiOnsiYXV0aFNjaGVtZXMiOlt7Im5hbWUiOiJzaWd2NCIsInNpZ25p
|
139
|
-
bmdOYW1lIjoic3VwcG9ydCIsInNpZ25pbmdSZWdpb24iOiJ1cy1pc29iLWVh
|
140
|
-
c3QtMSJ9XX0sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In0seyJj
|
141
|
-
b25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9zdXBw
|
142
|
-
b3J0LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInBy
|
143
|
-
b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
|
144
|
-
XX1dfV19
|
145
|
-
|
146
|
-
JSON
|
147
68
|
end
|
148
69
|
end
|
@@ -10,19 +10,6 @@
|
|
10
10
|
module Aws::Support
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AddAttachmentsToSetRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# attachment_set_id: "AttachmentSetId",
|
18
|
-
# attachments: [ # required
|
19
|
-
# {
|
20
|
-
# file_name: "FileName",
|
21
|
-
# data: "data",
|
22
|
-
# },
|
23
|
-
# ],
|
24
|
-
# }
|
25
|
-
#
|
26
13
|
# @!attribute [rw] attachment_set_id
|
27
14
|
# The ID of the attachment set. If an `attachmentSetId` is not
|
28
15
|
# specified, a new attachment set is created, and the ID of the set is
|
@@ -73,16 +60,6 @@ module Aws::Support
|
|
73
60
|
include Aws::Structure
|
74
61
|
end
|
75
62
|
|
76
|
-
# @note When making an API call, you may pass AddCommunicationToCaseRequest
|
77
|
-
# data as a hash:
|
78
|
-
#
|
79
|
-
# {
|
80
|
-
# case_id: "CaseId",
|
81
|
-
# communication_body: "CommunicationBody", # required
|
82
|
-
# cc_email_addresses: ["CcEmailAddress"],
|
83
|
-
# attachment_set_id: "AttachmentSetId",
|
84
|
-
# }
|
85
|
-
#
|
86
63
|
# @!attribute [rw] case_id
|
87
64
|
# The support case ID requested or returned in the call. The case ID
|
88
65
|
# is an alphanumeric string formatted as shown in this example:
|
@@ -132,14 +109,6 @@ module Aws::Support
|
|
132
109
|
# An attachment to a case communication. The attachment consists of the
|
133
110
|
# file name and the content of the file.
|
134
111
|
#
|
135
|
-
# @note When making an API call, you may pass Attachment
|
136
|
-
# data as a hash:
|
137
|
-
#
|
138
|
-
# {
|
139
|
-
# file_name: "FileName",
|
140
|
-
# data: "data",
|
141
|
-
# }
|
142
|
-
#
|
143
112
|
# @!attribute [rw] file_name
|
144
113
|
# The name of the attachment file.
|
145
114
|
# @return [String]
|
@@ -284,10 +253,11 @@ module Aws::Support
|
|
284
253
|
# * **displayId** - The identifier for the case on pages in the Amazon
|
285
254
|
# Web Services Support Center.
|
286
255
|
#
|
287
|
-
# * **language** - The
|
288
|
-
#
|
289
|
-
#
|
290
|
-
#
|
256
|
+
# * **language** - The language in which Amazon Web Services Support
|
257
|
+
# handles the case. Amazon Web Services Support currently supports
|
258
|
+
# English ("en") and Japanese ("ja"). You must specify the ISO
|
259
|
+
# 639-1 code for the `language` parameter if you want support in that
|
260
|
+
# language.
|
291
261
|
#
|
292
262
|
# * **nextToken** - A resumption point for pagination.
|
293
263
|
#
|
@@ -397,10 +367,10 @@ module Aws::Support
|
|
397
367
|
# @return [Array<String>]
|
398
368
|
#
|
399
369
|
# @!attribute [rw] language
|
400
|
-
# The
|
401
|
-
#
|
402
|
-
#
|
403
|
-
#
|
370
|
+
# The language in which Amazon Web Services Support handles the case.
|
371
|
+
# Amazon Web Services Support currently supports English ("en") and
|
372
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
373
|
+
# `language` parameter if you want support in that language.
|
404
374
|
# @return [String]
|
405
375
|
#
|
406
376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CaseDetails AWS API Documentation
|
@@ -502,21 +472,6 @@ module Aws::Support
|
|
502
472
|
include Aws::Structure
|
503
473
|
end
|
504
474
|
|
505
|
-
# @note When making an API call, you may pass CreateCaseRequest
|
506
|
-
# data as a hash:
|
507
|
-
#
|
508
|
-
# {
|
509
|
-
# subject: "Subject", # required
|
510
|
-
# service_code: "ServiceCode",
|
511
|
-
# severity_code: "SeverityCode",
|
512
|
-
# category_code: "CategoryCode",
|
513
|
-
# communication_body: "CommunicationBody", # required
|
514
|
-
# cc_email_addresses: ["CcEmailAddress"],
|
515
|
-
# language: "Language",
|
516
|
-
# issue_type: "IssueType",
|
517
|
-
# attachment_set_id: "AttachmentSetId",
|
518
|
-
# }
|
519
|
-
#
|
520
475
|
# @!attribute [rw] subject
|
521
476
|
# The title of the support case. The title appears in the **Subject**
|
522
477
|
# field on the Amazon Web Services Support Center [Create Case][1]
|
@@ -583,9 +538,9 @@ module Aws::Support
|
|
583
538
|
#
|
584
539
|
# @!attribute [rw] language
|
585
540
|
# The language in which Amazon Web Services Support handles the case.
|
586
|
-
#
|
587
|
-
#
|
588
|
-
#
|
541
|
+
# Amazon Web Services Support currently supports English ("en") and
|
542
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
543
|
+
# `language` parameter if you want support in that language.
|
589
544
|
# @return [String]
|
590
545
|
#
|
591
546
|
# @!attribute [rw] issue_type
|
@@ -648,13 +603,6 @@ module Aws::Support
|
|
648
603
|
include Aws::Structure
|
649
604
|
end
|
650
605
|
|
651
|
-
# @note When making an API call, you may pass DescribeAttachmentRequest
|
652
|
-
# data as a hash:
|
653
|
-
#
|
654
|
-
# {
|
655
|
-
# attachment_id: "AttachmentId", # required
|
656
|
-
# }
|
657
|
-
#
|
658
606
|
# @!attribute [rw] attachment_id
|
659
607
|
# The ID of the attachment to return. Attachment IDs are returned by
|
660
608
|
# the DescribeCommunications operation.
|
@@ -688,21 +636,6 @@ module Aws::Support
|
|
688
636
|
include Aws::Structure
|
689
637
|
end
|
690
638
|
|
691
|
-
# @note When making an API call, you may pass DescribeCasesRequest
|
692
|
-
# data as a hash:
|
693
|
-
#
|
694
|
-
# {
|
695
|
-
# case_id_list: ["CaseId"],
|
696
|
-
# display_id: "DisplayId",
|
697
|
-
# after_time: "AfterTime",
|
698
|
-
# before_time: "BeforeTime",
|
699
|
-
# include_resolved_cases: false,
|
700
|
-
# next_token: "NextToken",
|
701
|
-
# max_results: 1,
|
702
|
-
# language: "Language",
|
703
|
-
# include_communications: false,
|
704
|
-
# }
|
705
|
-
#
|
706
639
|
# @!attribute [rw] case_id_list
|
707
640
|
# A list of ID numbers of the support cases you want returned. The
|
708
641
|
# maximum number of cases is 100.
|
@@ -740,10 +673,10 @@ module Aws::Support
|
|
740
673
|
# @return [Integer]
|
741
674
|
#
|
742
675
|
# @!attribute [rw] language
|
743
|
-
# The
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
676
|
+
# The language in which Amazon Web Services Support handles the case.
|
677
|
+
# Amazon Web Services Support currently supports English ("en") and
|
678
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
679
|
+
# `language` parameter if you want support in that language.
|
747
680
|
# @return [String]
|
748
681
|
#
|
749
682
|
# @!attribute [rw] include_communications
|
@@ -791,17 +724,6 @@ module Aws::Support
|
|
791
724
|
include Aws::Structure
|
792
725
|
end
|
793
726
|
|
794
|
-
# @note When making an API call, you may pass DescribeCommunicationsRequest
|
795
|
-
# data as a hash:
|
796
|
-
#
|
797
|
-
# {
|
798
|
-
# case_id: "CaseId", # required
|
799
|
-
# before_time: "BeforeTime",
|
800
|
-
# after_time: "AfterTime",
|
801
|
-
# next_token: "NextToken",
|
802
|
-
# max_results: 1,
|
803
|
-
# }
|
804
|
-
#
|
805
727
|
# @!attribute [rw] case_id
|
806
728
|
# The support case ID requested or returned in the call. The case ID
|
807
729
|
# is an alphanumeric string formatted as shown in this example:
|
@@ -859,24 +781,16 @@ module Aws::Support
|
|
859
781
|
include Aws::Structure
|
860
782
|
end
|
861
783
|
|
862
|
-
# @note When making an API call, you may pass DescribeServicesRequest
|
863
|
-
# data as a hash:
|
864
|
-
#
|
865
|
-
# {
|
866
|
-
# service_code_list: ["ServiceCode"],
|
867
|
-
# language: "Language",
|
868
|
-
# }
|
869
|
-
#
|
870
784
|
# @!attribute [rw] service_code_list
|
871
785
|
# A JSON-formatted list of service codes available for Amazon Web
|
872
786
|
# Services services.
|
873
787
|
# @return [Array<String>]
|
874
788
|
#
|
875
789
|
# @!attribute [rw] language
|
876
|
-
# The
|
877
|
-
#
|
878
|
-
#
|
879
|
-
#
|
790
|
+
# The language in which Amazon Web Services Support handles the case.
|
791
|
+
# Amazon Web Services Support currently supports English ("en") and
|
792
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
793
|
+
# `language` parameter if you want support in that language.
|
880
794
|
# @return [String]
|
881
795
|
#
|
882
796
|
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServicesRequest AWS API Documentation
|
@@ -903,18 +817,11 @@ module Aws::Support
|
|
903
817
|
include Aws::Structure
|
904
818
|
end
|
905
819
|
|
906
|
-
# @note When making an API call, you may pass DescribeSeverityLevelsRequest
|
907
|
-
# data as a hash:
|
908
|
-
#
|
909
|
-
# {
|
910
|
-
# language: "Language",
|
911
|
-
# }
|
912
|
-
#
|
913
820
|
# @!attribute [rw] language
|
914
|
-
# The
|
915
|
-
#
|
916
|
-
#
|
917
|
-
#
|
821
|
+
# The language in which Amazon Web Services Support handles the case.
|
822
|
+
# Amazon Web Services Support currently supports English ("en") and
|
823
|
+
# Japanese ("ja"). You must specify the ISO 639-1 code for the
|
824
|
+
# `language` parameter if you want support in that language.
|
918
825
|
# @return [String]
|
919
826
|
#
|
920
827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevelsRequest AWS API Documentation
|
@@ -942,13 +849,6 @@ module Aws::Support
|
|
942
849
|
include Aws::Structure
|
943
850
|
end
|
944
851
|
|
945
|
-
# @note When making an API call, you may pass DescribeTrustedAdvisorCheckRefreshStatusesRequest
|
946
|
-
# data as a hash:
|
947
|
-
#
|
948
|
-
# {
|
949
|
-
# check_ids: ["String"], # required
|
950
|
-
# }
|
951
|
-
#
|
952
852
|
# @!attribute [rw] check_ids
|
953
853
|
# The IDs of the Trusted Advisor checks to get the status.
|
954
854
|
#
|
@@ -981,23 +881,38 @@ module Aws::Support
|
|
981
881
|
include Aws::Structure
|
982
882
|
end
|
983
883
|
|
984
|
-
# @note When making an API call, you may pass DescribeTrustedAdvisorCheckResultRequest
|
985
|
-
# data as a hash:
|
986
|
-
#
|
987
|
-
# {
|
988
|
-
# check_id: "String", # required
|
989
|
-
# language: "String",
|
990
|
-
# }
|
991
|
-
#
|
992
884
|
# @!attribute [rw] check_id
|
993
885
|
# The unique identifier for the Trusted Advisor check.
|
994
886
|
# @return [String]
|
995
887
|
#
|
996
888
|
# @!attribute [rw] language
|
997
|
-
# The ISO 639-1 code for the language
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
#
|
889
|
+
# The ISO 639-1 code for the language that you want your check results
|
890
|
+
# to appear in.
|
891
|
+
#
|
892
|
+
# The Amazon Web Services Support API currently supports the following
|
893
|
+
# languages for Trusted Advisor:
|
894
|
+
#
|
895
|
+
# * Chinese, Simplified - `zh`
|
896
|
+
#
|
897
|
+
# * Chinese, Traditional - `zh_TW`
|
898
|
+
#
|
899
|
+
# * English - `en`
|
900
|
+
#
|
901
|
+
# * French - `fr`
|
902
|
+
#
|
903
|
+
# * German - `de`
|
904
|
+
#
|
905
|
+
# * Indonesian - `id`
|
906
|
+
#
|
907
|
+
# * Italian - `it`
|
908
|
+
#
|
909
|
+
# * Japanese - `ja`
|
910
|
+
#
|
911
|
+
# * Korean - `ko`
|
912
|
+
#
|
913
|
+
# * Portuguese, Brazilian - `pt_BR`
|
914
|
+
#
|
915
|
+
# * Spanish - `es`
|
1001
916
|
# @return [String]
|
1002
917
|
#
|
1003
918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckResultRequest AWS API Documentation
|
@@ -1024,13 +939,6 @@ module Aws::Support
|
|
1024
939
|
include Aws::Structure
|
1025
940
|
end
|
1026
941
|
|
1027
|
-
# @note When making an API call, you may pass DescribeTrustedAdvisorCheckSummariesRequest
|
1028
|
-
# data as a hash:
|
1029
|
-
#
|
1030
|
-
# {
|
1031
|
-
# check_ids: ["String"], # required
|
1032
|
-
# }
|
1033
|
-
#
|
1034
942
|
# @!attribute [rw] check_ids
|
1035
943
|
# The IDs of the Trusted Advisor checks.
|
1036
944
|
# @return [Array<String>]
|
@@ -1058,18 +966,34 @@ module Aws::Support
|
|
1058
966
|
include Aws::Structure
|
1059
967
|
end
|
1060
968
|
|
1061
|
-
#
|
1062
|
-
#
|
969
|
+
# @!attribute [rw] language
|
970
|
+
# The ISO 639-1 code for the language that you want your checks to
|
971
|
+
# appear in.
|
1063
972
|
#
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
# }
|
973
|
+
# The Amazon Web Services Support API currently supports the following
|
974
|
+
# languages for Trusted Advisor:
|
1067
975
|
#
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
#
|
1071
|
-
#
|
1072
|
-
#
|
976
|
+
# * Chinese, Simplified - `zh`
|
977
|
+
#
|
978
|
+
# * Chinese, Traditional - `zh_TW`
|
979
|
+
#
|
980
|
+
# * English - `en`
|
981
|
+
#
|
982
|
+
# * French - `fr`
|
983
|
+
#
|
984
|
+
# * German - `de`
|
985
|
+
#
|
986
|
+
# * Indonesian - `id`
|
987
|
+
#
|
988
|
+
# * Italian - `it`
|
989
|
+
#
|
990
|
+
# * Japanese - `ja`
|
991
|
+
#
|
992
|
+
# * Korean - `ko`
|
993
|
+
#
|
994
|
+
# * Portuguese, Brazilian - `pt_BR`
|
995
|
+
#
|
996
|
+
# * Spanish - `es`
|
1073
997
|
# @return [String]
|
1074
998
|
#
|
1075
999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorChecksRequest AWS API Documentation
|
@@ -1128,13 +1052,6 @@ module Aws::Support
|
|
1128
1052
|
include Aws::Structure
|
1129
1053
|
end
|
1130
1054
|
|
1131
|
-
# @note When making an API call, you may pass RefreshTrustedAdvisorCheckRequest
|
1132
|
-
# data as a hash:
|
1133
|
-
#
|
1134
|
-
# {
|
1135
|
-
# check_id: "String", # required
|
1136
|
-
# }
|
1137
|
-
#
|
1138
1055
|
# @!attribute [rw] check_id
|
1139
1056
|
# The unique identifier for the Trusted Advisor check to refresh.
|
1140
1057
|
#
|
@@ -1167,13 +1084,6 @@ module Aws::Support
|
|
1167
1084
|
include Aws::Structure
|
1168
1085
|
end
|
1169
1086
|
|
1170
|
-
# @note When making an API call, you may pass ResolveCaseRequest
|
1171
|
-
# data as a hash:
|
1172
|
-
#
|
1173
|
-
# {
|
1174
|
-
# case_id: "CaseId",
|
1175
|
-
# }
|
1176
|
-
#
|
1177
1087
|
# @!attribute [rw] case_id
|
1178
1088
|
# The support case ID requested or returned in the call. The case ID
|
1179
1089
|
# is an alphanumeric string formatted as shown in this example:
|
data/lib/aws-sdk-support.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.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-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|