aws-sdk-core 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/acm/2015-12-08/api-2.json +14 -3
- data/apis/cloudformation/2010-05-15/api-2.json +4 -1
- data/apis/config/2014-11-12/api-2.json +86 -5
- data/apis/elastictranscoder/2012-09-25/api-2.json +129 -484
- data/apis/ssm/2014-11-06/paginators-1.json +6 -0
- data/lib/aws-sdk-core.rb +1 -0
- data/lib/aws-sdk-core/client.rb +1 -0
- data/lib/aws-sdk-core/errors.rb +51 -0
- data/lib/aws-sdk-core/plugins/helpful_socket_errors.rb +41 -0
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +3 -1
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b338263336b96ccdd8a7da24e764a95a71733a9d
|
4
|
+
data.tar.gz: 00cbcdd8b1f36aee331d994fbb1dba5f57d76270
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67e9cef7f83b01446deed9af11fefe24a85b97ffc3c94475e672357c0bcdda51efdbf9e8d58bd3025928805a12773f0839f3a958e09dba3727d1928847614da7
|
7
|
+
data.tar.gz: 228f237a564b1cdcfb79f9787bfc742759576bc414e8e6f4cfd32dc2fb84c793f666a27b9d927f917f8af45fb2ecc76e23032cd89dbb8a7cabbd53adfffea7aa
|
@@ -177,7 +177,8 @@
|
|
177
177
|
"NotAfter":{"shape":"TStamp"},
|
178
178
|
"KeyAlgorithm":{"shape":"KeyAlgorithm"},
|
179
179
|
"SignatureAlgorithm":{"shape":"String"},
|
180
|
-
"InUseBy":{"shape":"InUseList"}
|
180
|
+
"InUseBy":{"shape":"InUseList"},
|
181
|
+
"FailureReason":{"shape":"FailureReason"}
|
181
182
|
}
|
182
183
|
},
|
183
184
|
"CertificateStatus":{
|
@@ -230,7 +231,7 @@
|
|
230
231
|
"DomainList":{
|
231
232
|
"type":"list",
|
232
233
|
"member":{"shape":"DomainNameString"},
|
233
|
-
"max":
|
234
|
+
"max":100,
|
234
235
|
"min":1
|
235
236
|
},
|
236
237
|
"DomainNameString":{
|
@@ -268,9 +269,19 @@
|
|
268
269
|
"DomainValidationOptionList":{
|
269
270
|
"type":"list",
|
270
271
|
"member":{"shape":"DomainValidationOption"},
|
271
|
-
"max":
|
272
|
+
"max":100,
|
272
273
|
"min":1
|
273
274
|
},
|
275
|
+
"FailureReason":{
|
276
|
+
"type":"string",
|
277
|
+
"enum":[
|
278
|
+
"NO_AVAILABLE_CONTACTS",
|
279
|
+
"ADDITIONAL_VERIFICATION_REQUIRED",
|
280
|
+
"DOMAIN_NOT_ALLOWED",
|
281
|
+
"INVALID_PUBLIC_DOMAIN",
|
282
|
+
"OTHER"
|
283
|
+
]
|
284
|
+
},
|
274
285
|
"GetCertificateRequest":{
|
275
286
|
"type":"structure",
|
276
287
|
"required":["CertificateArn"],
|
@@ -46,6 +46,19 @@
|
|
46
46
|
{"shape":"LastDeliveryChannelDeleteFailedException"}
|
47
47
|
]
|
48
48
|
},
|
49
|
+
"DeleteEvaluationResults":{
|
50
|
+
"name":"DeleteEvaluationResults",
|
51
|
+
"http":{
|
52
|
+
"method":"POST",
|
53
|
+
"requestUri":"/"
|
54
|
+
},
|
55
|
+
"input":{"shape":"DeleteEvaluationResultsRequest"},
|
56
|
+
"output":{"shape":"DeleteEvaluationResultsResponse"},
|
57
|
+
"errors":[
|
58
|
+
{"shape":"NoSuchConfigRuleException"},
|
59
|
+
{"shape":"ResourceInUseException"}
|
60
|
+
]
|
61
|
+
},
|
49
62
|
"DeliverConfigSnapshot":{
|
50
63
|
"name":"DeliverConfigSnapshot",
|
51
64
|
"http":{
|
@@ -296,6 +309,21 @@
|
|
296
309
|
{"shape":"NoSuchConfigRuleException"}
|
297
310
|
]
|
298
311
|
},
|
312
|
+
"StartConfigRulesEvaluation":{
|
313
|
+
"name":"StartConfigRulesEvaluation",
|
314
|
+
"http":{
|
315
|
+
"method":"POST",
|
316
|
+
"requestUri":"/"
|
317
|
+
},
|
318
|
+
"input":{"shape":"StartConfigRulesEvaluationRequest"},
|
319
|
+
"output":{"shape":"StartConfigRulesEvaluationResponse"},
|
320
|
+
"errors":[
|
321
|
+
{"shape":"NoSuchConfigRuleException"},
|
322
|
+
{"shape":"LimitExceededException"},
|
323
|
+
{"shape":"ResourceInUseException"},
|
324
|
+
{"shape":"InvalidParameterValueException"}
|
325
|
+
]
|
326
|
+
},
|
299
327
|
"StartConfigurationRecorder":{
|
300
328
|
"name":"StartConfigurationRecorder",
|
301
329
|
"http":{
|
@@ -472,7 +500,9 @@
|
|
472
500
|
"type":"string",
|
473
501
|
"enum":[
|
474
502
|
"ACTIVE",
|
475
|
-
"DELETING"
|
503
|
+
"DELETING",
|
504
|
+
"DELETING_RESULTS",
|
505
|
+
"EVALUATING"
|
476
506
|
]
|
477
507
|
},
|
478
508
|
"ConfigRules":{
|
@@ -514,7 +544,8 @@
|
|
514
544
|
"tags":{"shape":"Tags"},
|
515
545
|
"relatedEvents":{"shape":"RelatedEventList"},
|
516
546
|
"relationships":{"shape":"RelationshipList"},
|
517
|
-
"configuration":{"shape":"Configuration"}
|
547
|
+
"configuration":{"shape":"Configuration"},
|
548
|
+
"supplementaryConfiguration":{"shape":"SupplementaryConfiguration"}
|
518
549
|
}
|
519
550
|
},
|
520
551
|
"ConfigurationItemCaptureTime":{"type":"timestamp"},
|
@@ -588,6 +619,18 @@
|
|
588
619
|
"DeliveryChannelName":{"shape":"ChannelName"}
|
589
620
|
}
|
590
621
|
},
|
622
|
+
"DeleteEvaluationResultsRequest":{
|
623
|
+
"type":"structure",
|
624
|
+
"required":["ConfigRuleName"],
|
625
|
+
"members":{
|
626
|
+
"ConfigRuleName":{"shape":"StringWithCharLimit64"}
|
627
|
+
}
|
628
|
+
},
|
629
|
+
"DeleteEvaluationResultsResponse":{
|
630
|
+
"type":"structure",
|
631
|
+
"members":{
|
632
|
+
}
|
633
|
+
},
|
591
634
|
"DeliverConfigSnapshotRequest":{
|
592
635
|
"type":"structure",
|
593
636
|
"required":["deliveryChannelName"],
|
@@ -978,6 +1021,12 @@
|
|
978
1021
|
"max":100,
|
979
1022
|
"min":0
|
980
1023
|
},
|
1024
|
+
"LimitExceededException":{
|
1025
|
+
"type":"structure",
|
1026
|
+
"members":{
|
1027
|
+
},
|
1028
|
+
"exception":true
|
1029
|
+
},
|
981
1030
|
"ListDiscoveredResourcesRequest":{
|
982
1031
|
"type":"structure",
|
983
1032
|
"required":["resourceType"],
|
@@ -1029,7 +1078,8 @@
|
|
1029
1078
|
"type":"string",
|
1030
1079
|
"enum":[
|
1031
1080
|
"ConfigurationItemChangeNotification",
|
1032
|
-
"ConfigurationSnapshotDeliveryCompleted"
|
1081
|
+
"ConfigurationSnapshotDeliveryCompleted",
|
1082
|
+
"ScheduledNotification"
|
1033
1083
|
]
|
1034
1084
|
},
|
1035
1085
|
"Name":{"type":"string"},
|
@@ -1140,6 +1190,12 @@
|
|
1140
1190
|
"resourceTypes":{"shape":"ResourceTypeList"}
|
1141
1191
|
}
|
1142
1192
|
},
|
1193
|
+
"ReevaluateConfigRuleNames":{
|
1194
|
+
"type":"list",
|
1195
|
+
"member":{"shape":"StringWithCharLimit64"},
|
1196
|
+
"max":25,
|
1197
|
+
"min":1
|
1198
|
+
},
|
1143
1199
|
"RelatedEvent":{"type":"string"},
|
1144
1200
|
"RelatedEventList":{
|
1145
1201
|
"type":"list",
|
@@ -1213,7 +1269,13 @@
|
|
1213
1269
|
"AWS::IAM::Group",
|
1214
1270
|
"AWS::IAM::Policy",
|
1215
1271
|
"AWS::IAM::Role",
|
1216
|
-
"AWS::IAM::User"
|
1272
|
+
"AWS::IAM::User",
|
1273
|
+
"AWS::ACM::Certificate",
|
1274
|
+
"AWS::RDS::DBInstance",
|
1275
|
+
"AWS::RDS::DBSubnetGroup",
|
1276
|
+
"AWS::RDS::DBSecurityGroup",
|
1277
|
+
"AWS::RDS::DBSnapshot",
|
1278
|
+
"AWS::RDS::EventSubscription"
|
1217
1279
|
]
|
1218
1280
|
},
|
1219
1281
|
"ResourceTypeList":{
|
@@ -1247,7 +1309,8 @@
|
|
1247
1309
|
"type":"structure",
|
1248
1310
|
"members":{
|
1249
1311
|
"EventSource":{"shape":"EventSource"},
|
1250
|
-
"MessageType":{"shape":"MessageType"}
|
1312
|
+
"MessageType":{"shape":"MessageType"},
|
1313
|
+
"MaximumExecutionFrequency":{"shape":"MaximumExecutionFrequency"}
|
1251
1314
|
}
|
1252
1315
|
},
|
1253
1316
|
"SourceDetails":{
|
@@ -1256,6 +1319,17 @@
|
|
1256
1319
|
"max":25,
|
1257
1320
|
"min":0
|
1258
1321
|
},
|
1322
|
+
"StartConfigRulesEvaluationRequest":{
|
1323
|
+
"type":"structure",
|
1324
|
+
"members":{
|
1325
|
+
"ConfigRuleNames":{"shape":"ReevaluateConfigRuleNames"}
|
1326
|
+
}
|
1327
|
+
},
|
1328
|
+
"StartConfigRulesEvaluationResponse":{
|
1329
|
+
"type":"structure",
|
1330
|
+
"members":{
|
1331
|
+
}
|
1332
|
+
},
|
1259
1333
|
"StartConfigurationRecorderRequest":{
|
1260
1334
|
"type":"structure",
|
1261
1335
|
"required":["ConfigurationRecorderName"],
|
@@ -1286,6 +1360,13 @@
|
|
1286
1360
|
"max":64,
|
1287
1361
|
"min":1
|
1288
1362
|
},
|
1363
|
+
"SupplementaryConfiguration":{
|
1364
|
+
"type":"map",
|
1365
|
+
"key":{"shape":"SupplementaryConfigurationName"},
|
1366
|
+
"value":{"shape":"SupplementaryConfigurationValue"}
|
1367
|
+
},
|
1368
|
+
"SupplementaryConfigurationName":{"type":"string"},
|
1369
|
+
"SupplementaryConfigurationValue":{"type":"string"},
|
1289
1370
|
"Tags":{
|
1290
1371
|
"type":"map",
|
1291
1372
|
"key":{"shape":"Name"},
|
@@ -3,9 +3,9 @@
|
|
3
3
|
"metadata":{
|
4
4
|
"apiVersion":"2012-09-25",
|
5
5
|
"endpointPrefix":"elastictranscoder",
|
6
|
+
"protocol":"rest-json",
|
6
7
|
"serviceFullName":"Amazon Elastic Transcoder",
|
7
|
-
"signatureVersion":"v4"
|
8
|
-
"protocol":"rest-json"
|
8
|
+
"signatureVersion":"v4"
|
9
9
|
},
|
10
10
|
"operations":{
|
11
11
|
"CancelJob":{
|
@@ -18,36 +18,12 @@
|
|
18
18
|
"input":{"shape":"CancelJobRequest"},
|
19
19
|
"output":{"shape":"CancelJobResponse"},
|
20
20
|
"errors":[
|
21
|
-
{
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"shape":"IncompatibleVersionException",
|
28
|
-
"error":{"httpStatusCode":400},
|
29
|
-
"exception":true
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"shape":"ResourceNotFoundException",
|
33
|
-
"error":{"httpStatusCode":404},
|
34
|
-
"exception":true
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"shape":"ResourceInUseException",
|
38
|
-
"error":{"httpStatusCode":409},
|
39
|
-
"exception":true
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"shape":"AccessDeniedException",
|
43
|
-
"error":{"httpStatusCode":403},
|
44
|
-
"exception":true
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"shape":"InternalServiceException",
|
48
|
-
"exception":true,
|
49
|
-
"fault":true
|
50
|
-
}
|
21
|
+
{"shape":"ValidationException"},
|
22
|
+
{"shape":"IncompatibleVersionException"},
|
23
|
+
{"shape":"ResourceNotFoundException"},
|
24
|
+
{"shape":"ResourceInUseException"},
|
25
|
+
{"shape":"AccessDeniedException"},
|
26
|
+
{"shape":"InternalServiceException"}
|
51
27
|
]
|
52
28
|
},
|
53
29
|
"CreateJob":{
|
@@ -60,36 +36,12 @@
|
|
60
36
|
"input":{"shape":"CreateJobRequest"},
|
61
37
|
"output":{"shape":"CreateJobResponse"},
|
62
38
|
"errors":[
|
63
|
-
{
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"shape":"IncompatibleVersionException",
|
70
|
-
"error":{"httpStatusCode":400},
|
71
|
-
"exception":true
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"shape":"ResourceNotFoundException",
|
75
|
-
"error":{"httpStatusCode":404},
|
76
|
-
"exception":true
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"shape":"AccessDeniedException",
|
80
|
-
"error":{"httpStatusCode":403},
|
81
|
-
"exception":true
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"shape":"LimitExceededException",
|
85
|
-
"error":{"httpStatusCode":429},
|
86
|
-
"exception":true
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"shape":"InternalServiceException",
|
90
|
-
"exception":true,
|
91
|
-
"fault":true
|
92
|
-
}
|
39
|
+
{"shape":"ValidationException"},
|
40
|
+
{"shape":"IncompatibleVersionException"},
|
41
|
+
{"shape":"ResourceNotFoundException"},
|
42
|
+
{"shape":"AccessDeniedException"},
|
43
|
+
{"shape":"LimitExceededException"},
|
44
|
+
{"shape":"InternalServiceException"}
|
93
45
|
]
|
94
46
|
},
|
95
47
|
"CreatePipeline":{
|
@@ -102,36 +54,12 @@
|
|
102
54
|
"input":{"shape":"CreatePipelineRequest"},
|
103
55
|
"output":{"shape":"CreatePipelineResponse"},
|
104
56
|
"errors":[
|
105
|
-
{
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"shape":"IncompatibleVersionException",
|
112
|
-
"error":{"httpStatusCode":400},
|
113
|
-
"exception":true
|
114
|
-
},
|
115
|
-
{
|
116
|
-
"shape":"AccessDeniedException",
|
117
|
-
"error":{"httpStatusCode":403},
|
118
|
-
"exception":true
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"shape":"ResourceNotFoundException",
|
122
|
-
"error":{"httpStatusCode":404},
|
123
|
-
"exception":true
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"shape":"LimitExceededException",
|
127
|
-
"error":{"httpStatusCode":429},
|
128
|
-
"exception":true
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"shape":"InternalServiceException",
|
132
|
-
"exception":true,
|
133
|
-
"fault":true
|
134
|
-
}
|
57
|
+
{"shape":"ValidationException"},
|
58
|
+
{"shape":"IncompatibleVersionException"},
|
59
|
+
{"shape":"AccessDeniedException"},
|
60
|
+
{"shape":"ResourceNotFoundException"},
|
61
|
+
{"shape":"LimitExceededException"},
|
62
|
+
{"shape":"InternalServiceException"}
|
135
63
|
]
|
136
64
|
},
|
137
65
|
"CreatePreset":{
|
@@ -144,31 +72,11 @@
|
|
144
72
|
"input":{"shape":"CreatePresetRequest"},
|
145
73
|
"output":{"shape":"CreatePresetResponse"},
|
146
74
|
"errors":[
|
147
|
-
{
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
}
|
152
|
-
{
|
153
|
-
"shape":"IncompatibleVersionException",
|
154
|
-
"error":{"httpStatusCode":400},
|
155
|
-
"exception":true
|
156
|
-
},
|
157
|
-
{
|
158
|
-
"shape":"AccessDeniedException",
|
159
|
-
"error":{"httpStatusCode":403},
|
160
|
-
"exception":true
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"shape":"LimitExceededException",
|
164
|
-
"error":{"httpStatusCode":429},
|
165
|
-
"exception":true
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"shape":"InternalServiceException",
|
169
|
-
"exception":true,
|
170
|
-
"fault":true
|
171
|
-
}
|
75
|
+
{"shape":"ValidationException"},
|
76
|
+
{"shape":"IncompatibleVersionException"},
|
77
|
+
{"shape":"AccessDeniedException"},
|
78
|
+
{"shape":"LimitExceededException"},
|
79
|
+
{"shape":"InternalServiceException"}
|
172
80
|
]
|
173
81
|
},
|
174
82
|
"DeletePipeline":{
|
@@ -181,36 +89,12 @@
|
|
181
89
|
"input":{"shape":"DeletePipelineRequest"},
|
182
90
|
"output":{"shape":"DeletePipelineResponse"},
|
183
91
|
"errors":[
|
184
|
-
{
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"shape":"IncompatibleVersionException",
|
191
|
-
"error":{"httpStatusCode":400},
|
192
|
-
"exception":true
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"shape":"ResourceNotFoundException",
|
196
|
-
"error":{"httpStatusCode":404},
|
197
|
-
"exception":true
|
198
|
-
},
|
199
|
-
{
|
200
|
-
"shape":"ResourceInUseException",
|
201
|
-
"error":{"httpStatusCode":409},
|
202
|
-
"exception":true
|
203
|
-
},
|
204
|
-
{
|
205
|
-
"shape":"AccessDeniedException",
|
206
|
-
"error":{"httpStatusCode":403},
|
207
|
-
"exception":true
|
208
|
-
},
|
209
|
-
{
|
210
|
-
"shape":"InternalServiceException",
|
211
|
-
"exception":true,
|
212
|
-
"fault":true
|
213
|
-
}
|
92
|
+
{"shape":"ValidationException"},
|
93
|
+
{"shape":"IncompatibleVersionException"},
|
94
|
+
{"shape":"ResourceNotFoundException"},
|
95
|
+
{"shape":"ResourceInUseException"},
|
96
|
+
{"shape":"AccessDeniedException"},
|
97
|
+
{"shape":"InternalServiceException"}
|
214
98
|
]
|
215
99
|
},
|
216
100
|
"DeletePreset":{
|
@@ -223,31 +107,11 @@
|
|
223
107
|
"input":{"shape":"DeletePresetRequest"},
|
224
108
|
"output":{"shape":"DeletePresetResponse"},
|
225
109
|
"errors":[
|
226
|
-
{
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
}
|
231
|
-
{
|
232
|
-
"shape":"IncompatibleVersionException",
|
233
|
-
"error":{"httpStatusCode":400},
|
234
|
-
"exception":true
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"shape":"ResourceNotFoundException",
|
238
|
-
"error":{"httpStatusCode":404},
|
239
|
-
"exception":true
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"shape":"AccessDeniedException",
|
243
|
-
"error":{"httpStatusCode":403},
|
244
|
-
"exception":true
|
245
|
-
},
|
246
|
-
{
|
247
|
-
"shape":"InternalServiceException",
|
248
|
-
"exception":true,
|
249
|
-
"fault":true
|
250
|
-
}
|
110
|
+
{"shape":"ValidationException"},
|
111
|
+
{"shape":"IncompatibleVersionException"},
|
112
|
+
{"shape":"ResourceNotFoundException"},
|
113
|
+
{"shape":"AccessDeniedException"},
|
114
|
+
{"shape":"InternalServiceException"}
|
251
115
|
]
|
252
116
|
},
|
253
117
|
"ListJobsByPipeline":{
|
@@ -259,31 +123,11 @@
|
|
259
123
|
"input":{"shape":"ListJobsByPipelineRequest"},
|
260
124
|
"output":{"shape":"ListJobsByPipelineResponse"},
|
261
125
|
"errors":[
|
262
|
-
{
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
}
|
267
|
-
{
|
268
|
-
"shape":"IncompatibleVersionException",
|
269
|
-
"error":{"httpStatusCode":400},
|
270
|
-
"exception":true
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"shape":"ResourceNotFoundException",
|
274
|
-
"error":{"httpStatusCode":404},
|
275
|
-
"exception":true
|
276
|
-
},
|
277
|
-
{
|
278
|
-
"shape":"AccessDeniedException",
|
279
|
-
"error":{"httpStatusCode":403},
|
280
|
-
"exception":true
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"shape":"InternalServiceException",
|
284
|
-
"exception":true,
|
285
|
-
"fault":true
|
286
|
-
}
|
126
|
+
{"shape":"ValidationException"},
|
127
|
+
{"shape":"IncompatibleVersionException"},
|
128
|
+
{"shape":"ResourceNotFoundException"},
|
129
|
+
{"shape":"AccessDeniedException"},
|
130
|
+
{"shape":"InternalServiceException"}
|
287
131
|
]
|
288
132
|
},
|
289
133
|
"ListJobsByStatus":{
|
@@ -295,31 +139,11 @@
|
|
295
139
|
"input":{"shape":"ListJobsByStatusRequest"},
|
296
140
|
"output":{"shape":"ListJobsByStatusResponse"},
|
297
141
|
"errors":[
|
298
|
-
{
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
}
|
303
|
-
{
|
304
|
-
"shape":"IncompatibleVersionException",
|
305
|
-
"error":{"httpStatusCode":400},
|
306
|
-
"exception":true
|
307
|
-
},
|
308
|
-
{
|
309
|
-
"shape":"ResourceNotFoundException",
|
310
|
-
"error":{"httpStatusCode":404},
|
311
|
-
"exception":true
|
312
|
-
},
|
313
|
-
{
|
314
|
-
"shape":"AccessDeniedException",
|
315
|
-
"error":{"httpStatusCode":403},
|
316
|
-
"exception":true
|
317
|
-
},
|
318
|
-
{
|
319
|
-
"shape":"InternalServiceException",
|
320
|
-
"exception":true,
|
321
|
-
"fault":true
|
322
|
-
}
|
142
|
+
{"shape":"ValidationException"},
|
143
|
+
{"shape":"IncompatibleVersionException"},
|
144
|
+
{"shape":"ResourceNotFoundException"},
|
145
|
+
{"shape":"AccessDeniedException"},
|
146
|
+
{"shape":"InternalServiceException"}
|
323
147
|
]
|
324
148
|
},
|
325
149
|
"ListPipelines":{
|
@@ -331,26 +155,10 @@
|
|
331
155
|
"input":{"shape":"ListPipelinesRequest"},
|
332
156
|
"output":{"shape":"ListPipelinesResponse"},
|
333
157
|
"errors":[
|
334
|
-
{
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
},
|
339
|
-
{
|
340
|
-
"shape":"IncompatibleVersionException",
|
341
|
-
"error":{"httpStatusCode":400},
|
342
|
-
"exception":true
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"shape":"AccessDeniedException",
|
346
|
-
"error":{"httpStatusCode":403},
|
347
|
-
"exception":true
|
348
|
-
},
|
349
|
-
{
|
350
|
-
"shape":"InternalServiceException",
|
351
|
-
"exception":true,
|
352
|
-
"fault":true
|
353
|
-
}
|
158
|
+
{"shape":"ValidationException"},
|
159
|
+
{"shape":"IncompatibleVersionException"},
|
160
|
+
{"shape":"AccessDeniedException"},
|
161
|
+
{"shape":"InternalServiceException"}
|
354
162
|
]
|
355
163
|
},
|
356
164
|
"ListPresets":{
|
@@ -362,26 +170,10 @@
|
|
362
170
|
"input":{"shape":"ListPresetsRequest"},
|
363
171
|
"output":{"shape":"ListPresetsResponse"},
|
364
172
|
"errors":[
|
365
|
-
{
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"shape":"IncompatibleVersionException",
|
372
|
-
"error":{"httpStatusCode":400},
|
373
|
-
"exception":true
|
374
|
-
},
|
375
|
-
{
|
376
|
-
"shape":"AccessDeniedException",
|
377
|
-
"error":{"httpStatusCode":403},
|
378
|
-
"exception":true
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"shape":"InternalServiceException",
|
382
|
-
"exception":true,
|
383
|
-
"fault":true
|
384
|
-
}
|
173
|
+
{"shape":"ValidationException"},
|
174
|
+
{"shape":"IncompatibleVersionException"},
|
175
|
+
{"shape":"AccessDeniedException"},
|
176
|
+
{"shape":"InternalServiceException"}
|
385
177
|
]
|
386
178
|
},
|
387
179
|
"ReadJob":{
|
@@ -393,31 +185,11 @@
|
|
393
185
|
"input":{"shape":"ReadJobRequest"},
|
394
186
|
"output":{"shape":"ReadJobResponse"},
|
395
187
|
"errors":[
|
396
|
-
{
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
}
|
401
|
-
{
|
402
|
-
"shape":"IncompatibleVersionException",
|
403
|
-
"error":{"httpStatusCode":400},
|
404
|
-
"exception":true
|
405
|
-
},
|
406
|
-
{
|
407
|
-
"shape":"ResourceNotFoundException",
|
408
|
-
"error":{"httpStatusCode":404},
|
409
|
-
"exception":true
|
410
|
-
},
|
411
|
-
{
|
412
|
-
"shape":"AccessDeniedException",
|
413
|
-
"error":{"httpStatusCode":403},
|
414
|
-
"exception":true
|
415
|
-
},
|
416
|
-
{
|
417
|
-
"shape":"InternalServiceException",
|
418
|
-
"exception":true,
|
419
|
-
"fault":true
|
420
|
-
}
|
188
|
+
{"shape":"ValidationException"},
|
189
|
+
{"shape":"IncompatibleVersionException"},
|
190
|
+
{"shape":"ResourceNotFoundException"},
|
191
|
+
{"shape":"AccessDeniedException"},
|
192
|
+
{"shape":"InternalServiceException"}
|
421
193
|
]
|
422
194
|
},
|
423
195
|
"ReadPipeline":{
|
@@ -429,31 +201,11 @@
|
|
429
201
|
"input":{"shape":"ReadPipelineRequest"},
|
430
202
|
"output":{"shape":"ReadPipelineResponse"},
|
431
203
|
"errors":[
|
432
|
-
{
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
}
|
437
|
-
{
|
438
|
-
"shape":"IncompatibleVersionException",
|
439
|
-
"error":{"httpStatusCode":400},
|
440
|
-
"exception":true
|
441
|
-
},
|
442
|
-
{
|
443
|
-
"shape":"ResourceNotFoundException",
|
444
|
-
"error":{"httpStatusCode":404},
|
445
|
-
"exception":true
|
446
|
-
},
|
447
|
-
{
|
448
|
-
"shape":"AccessDeniedException",
|
449
|
-
"error":{"httpStatusCode":403},
|
450
|
-
"exception":true
|
451
|
-
},
|
452
|
-
{
|
453
|
-
"shape":"InternalServiceException",
|
454
|
-
"exception":true,
|
455
|
-
"fault":true
|
456
|
-
}
|
204
|
+
{"shape":"ValidationException"},
|
205
|
+
{"shape":"IncompatibleVersionException"},
|
206
|
+
{"shape":"ResourceNotFoundException"},
|
207
|
+
{"shape":"AccessDeniedException"},
|
208
|
+
{"shape":"InternalServiceException"}
|
457
209
|
]
|
458
210
|
},
|
459
211
|
"ReadPreset":{
|
@@ -465,31 +217,11 @@
|
|
465
217
|
"input":{"shape":"ReadPresetRequest"},
|
466
218
|
"output":{"shape":"ReadPresetResponse"},
|
467
219
|
"errors":[
|
468
|
-
{
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
}
|
473
|
-
{
|
474
|
-
"shape":"IncompatibleVersionException",
|
475
|
-
"error":{"httpStatusCode":400},
|
476
|
-
"exception":true
|
477
|
-
},
|
478
|
-
{
|
479
|
-
"shape":"ResourceNotFoundException",
|
480
|
-
"error":{"httpStatusCode":404},
|
481
|
-
"exception":true
|
482
|
-
},
|
483
|
-
{
|
484
|
-
"shape":"AccessDeniedException",
|
485
|
-
"error":{"httpStatusCode":403},
|
486
|
-
"exception":true
|
487
|
-
},
|
488
|
-
{
|
489
|
-
"shape":"InternalServiceException",
|
490
|
-
"exception":true,
|
491
|
-
"fault":true
|
492
|
-
}
|
220
|
+
{"shape":"ValidationException"},
|
221
|
+
{"shape":"IncompatibleVersionException"},
|
222
|
+
{"shape":"ResourceNotFoundException"},
|
223
|
+
{"shape":"AccessDeniedException"},
|
224
|
+
{"shape":"InternalServiceException"}
|
493
225
|
]
|
494
226
|
},
|
495
227
|
"TestRole":{
|
@@ -502,31 +234,11 @@
|
|
502
234
|
"input":{"shape":"TestRoleRequest"},
|
503
235
|
"output":{"shape":"TestRoleResponse"},
|
504
236
|
"errors":[
|
505
|
-
{
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
}
|
510
|
-
{
|
511
|
-
"shape":"IncompatibleVersionException",
|
512
|
-
"error":{"httpStatusCode":400},
|
513
|
-
"exception":true
|
514
|
-
},
|
515
|
-
{
|
516
|
-
"shape":"ResourceNotFoundException",
|
517
|
-
"error":{"httpStatusCode":404},
|
518
|
-
"exception":true
|
519
|
-
},
|
520
|
-
{
|
521
|
-
"shape":"AccessDeniedException",
|
522
|
-
"error":{"httpStatusCode":403},
|
523
|
-
"exception":true
|
524
|
-
},
|
525
|
-
{
|
526
|
-
"shape":"InternalServiceException",
|
527
|
-
"exception":true,
|
528
|
-
"fault":true
|
529
|
-
}
|
237
|
+
{"shape":"ValidationException"},
|
238
|
+
{"shape":"IncompatibleVersionException"},
|
239
|
+
{"shape":"ResourceNotFoundException"},
|
240
|
+
{"shape":"AccessDeniedException"},
|
241
|
+
{"shape":"InternalServiceException"}
|
530
242
|
]
|
531
243
|
},
|
532
244
|
"UpdatePipeline":{
|
@@ -539,36 +251,12 @@
|
|
539
251
|
"input":{"shape":"UpdatePipelineRequest"},
|
540
252
|
"output":{"shape":"UpdatePipelineResponse"},
|
541
253
|
"errors":[
|
542
|
-
{
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
},
|
547
|
-
{
|
548
|
-
"shape":"IncompatibleVersionException",
|
549
|
-
"error":{"httpStatusCode":400},
|
550
|
-
"exception":true
|
551
|
-
},
|
552
|
-
{
|
553
|
-
"shape":"AccessDeniedException",
|
554
|
-
"error":{"httpStatusCode":403},
|
555
|
-
"exception":true
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"shape":"ResourceInUseException",
|
559
|
-
"error":{"httpStatusCode":409},
|
560
|
-
"exception":true
|
561
|
-
},
|
562
|
-
{
|
563
|
-
"shape":"ResourceNotFoundException",
|
564
|
-
"error":{"httpStatusCode":404},
|
565
|
-
"exception":true
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"shape":"InternalServiceException",
|
569
|
-
"exception":true,
|
570
|
-
"fault":true
|
571
|
-
}
|
254
|
+
{"shape":"ValidationException"},
|
255
|
+
{"shape":"IncompatibleVersionException"},
|
256
|
+
{"shape":"AccessDeniedException"},
|
257
|
+
{"shape":"ResourceInUseException"},
|
258
|
+
{"shape":"ResourceNotFoundException"},
|
259
|
+
{"shape":"InternalServiceException"}
|
572
260
|
]
|
573
261
|
},
|
574
262
|
"UpdatePipelineNotifications":{
|
@@ -580,36 +268,12 @@
|
|
580
268
|
"input":{"shape":"UpdatePipelineNotificationsRequest"},
|
581
269
|
"output":{"shape":"UpdatePipelineNotificationsResponse"},
|
582
270
|
"errors":[
|
583
|
-
{
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"shape":"IncompatibleVersionException",
|
590
|
-
"error":{"httpStatusCode":400},
|
591
|
-
"exception":true
|
592
|
-
},
|
593
|
-
{
|
594
|
-
"shape":"ResourceNotFoundException",
|
595
|
-
"error":{"httpStatusCode":404},
|
596
|
-
"exception":true
|
597
|
-
},
|
598
|
-
{
|
599
|
-
"shape":"ResourceInUseException",
|
600
|
-
"error":{"httpStatusCode":409},
|
601
|
-
"exception":true
|
602
|
-
},
|
603
|
-
{
|
604
|
-
"shape":"AccessDeniedException",
|
605
|
-
"error":{"httpStatusCode":403},
|
606
|
-
"exception":true
|
607
|
-
},
|
608
|
-
{
|
609
|
-
"shape":"InternalServiceException",
|
610
|
-
"exception":true,
|
611
|
-
"fault":true
|
612
|
-
}
|
271
|
+
{"shape":"ValidationException"},
|
272
|
+
{"shape":"IncompatibleVersionException"},
|
273
|
+
{"shape":"ResourceNotFoundException"},
|
274
|
+
{"shape":"ResourceInUseException"},
|
275
|
+
{"shape":"AccessDeniedException"},
|
276
|
+
{"shape":"InternalServiceException"}
|
613
277
|
]
|
614
278
|
},
|
615
279
|
"UpdatePipelineStatus":{
|
@@ -621,36 +285,12 @@
|
|
621
285
|
"input":{"shape":"UpdatePipelineStatusRequest"},
|
622
286
|
"output":{"shape":"UpdatePipelineStatusResponse"},
|
623
287
|
"errors":[
|
624
|
-
{
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
},
|
629
|
-
{
|
630
|
-
"shape":"IncompatibleVersionException",
|
631
|
-
"error":{"httpStatusCode":400},
|
632
|
-
"exception":true
|
633
|
-
},
|
634
|
-
{
|
635
|
-
"shape":"ResourceNotFoundException",
|
636
|
-
"error":{"httpStatusCode":404},
|
637
|
-
"exception":true
|
638
|
-
},
|
639
|
-
{
|
640
|
-
"shape":"ResourceInUseException",
|
641
|
-
"error":{"httpStatusCode":409},
|
642
|
-
"exception":true
|
643
|
-
},
|
644
|
-
{
|
645
|
-
"shape":"AccessDeniedException",
|
646
|
-
"error":{"httpStatusCode":403},
|
647
|
-
"exception":true
|
648
|
-
},
|
649
|
-
{
|
650
|
-
"shape":"InternalServiceException",
|
651
|
-
"exception":true,
|
652
|
-
"fault":true
|
653
|
-
}
|
288
|
+
{"shape":"ValidationException"},
|
289
|
+
{"shape":"IncompatibleVersionException"},
|
290
|
+
{"shape":"ResourceNotFoundException"},
|
291
|
+
{"shape":"ResourceInUseException"},
|
292
|
+
{"shape":"AccessDeniedException"},
|
293
|
+
{"shape":"InternalServiceException"}
|
654
294
|
]
|
655
295
|
}
|
656
296
|
},
|
@@ -697,7 +337,7 @@
|
|
697
337
|
},
|
698
338
|
"AudioBitDepth":{
|
699
339
|
"type":"string",
|
700
|
-
"pattern":"(^16$)|(^24$)"
|
340
|
+
"pattern":"(^8$)|(^16$)|(^24$)|(^32$)"
|
701
341
|
},
|
702
342
|
"AudioBitOrder":{
|
703
343
|
"type":"string",
|
@@ -749,7 +389,7 @@
|
|
749
389
|
},
|
750
390
|
"AudioSigned":{
|
751
391
|
"type":"string",
|
752
|
-
"pattern":"(^Signed$)"
|
392
|
+
"pattern":"(^Unsigned$)|(^Signed$)"
|
753
393
|
},
|
754
394
|
"Base64EncodedString":{
|
755
395
|
"type":"string",
|
@@ -785,7 +425,7 @@
|
|
785
425
|
},
|
786
426
|
"CaptionFormatFormat":{
|
787
427
|
"type":"string",
|
788
|
-
"pattern":"(^mov-text$)|(^srt$)|(^scc$)|(^webvtt$)|(^dfxp$)"
|
428
|
+
"pattern":"(^mov-text$)|(^srt$)|(^scc$)|(^webvtt$)|(^dfxp$)|(^cea-708$)"
|
789
429
|
},
|
790
430
|
"CaptionFormatPattern":{
|
791
431
|
"type":"string",
|
@@ -803,7 +443,7 @@
|
|
803
443
|
"CaptionSource":{
|
804
444
|
"type":"structure",
|
805
445
|
"members":{
|
806
|
-
"Key":{"shape":"
|
446
|
+
"Key":{"shape":"LongKey"},
|
807
447
|
"Language":{"shape":"Key"},
|
808
448
|
"TimeOffset":{"shape":"TimeOffset"},
|
809
449
|
"Label":{"shape":"Name"},
|
@@ -831,8 +471,8 @@
|
|
831
471
|
},
|
832
472
|
"CodecOption":{
|
833
473
|
"type":"string",
|
834
|
-
"
|
835
|
-
"
|
474
|
+
"max":255,
|
475
|
+
"min":1
|
836
476
|
},
|
837
477
|
"CodecOptions":{
|
838
478
|
"type":"map",
|
@@ -983,8 +623,8 @@
|
|
983
623
|
},
|
984
624
|
"Description":{
|
985
625
|
"type":"string",
|
986
|
-
"
|
987
|
-
"
|
626
|
+
"max":255,
|
627
|
+
"min":0
|
988
628
|
},
|
989
629
|
"DetectedProperties":{
|
990
630
|
"type":"structure",
|
@@ -1023,8 +663,8 @@
|
|
1023
663
|
},
|
1024
664
|
"Filename":{
|
1025
665
|
"type":"string",
|
1026
|
-
"
|
1027
|
-
"
|
666
|
+
"max":255,
|
667
|
+
"min":1
|
1028
668
|
},
|
1029
669
|
"FixedGOP":{
|
1030
670
|
"type":"string",
|
@@ -1040,8 +680,8 @@
|
|
1040
680
|
},
|
1041
681
|
"Grantee":{
|
1042
682
|
"type":"string",
|
1043
|
-
"
|
1044
|
-
"
|
683
|
+
"max":255,
|
684
|
+
"min":1
|
1045
685
|
},
|
1046
686
|
"GranteeType":{
|
1047
687
|
"type":"string",
|
@@ -1118,7 +758,7 @@
|
|
1118
758
|
"JobInput":{
|
1119
759
|
"type":"structure",
|
1120
760
|
"members":{
|
1121
|
-
"Key":{"shape":"
|
761
|
+
"Key":{"shape":"LongKey"},
|
1122
762
|
"FrameRate":{"shape":"FrameRate"},
|
1123
763
|
"Resolution":{"shape":"Resolution"},
|
1124
764
|
"AspectRatio":{"shape":"AspectRatio"},
|
@@ -1184,13 +824,13 @@
|
|
1184
824
|
},
|
1185
825
|
"Key":{
|
1186
826
|
"type":"string",
|
1187
|
-
"
|
1188
|
-
"
|
827
|
+
"max":255,
|
828
|
+
"min":1
|
1189
829
|
},
|
1190
830
|
"KeyArn":{
|
1191
831
|
"type":"string",
|
1192
|
-
"
|
1193
|
-
"
|
832
|
+
"max":255,
|
833
|
+
"min":0
|
1194
834
|
},
|
1195
835
|
"KeyIdGuid":{
|
1196
836
|
"type":"string",
|
@@ -1311,6 +951,11 @@
|
|
1311
951
|
"NextPageToken":{"shape":"Id"}
|
1312
952
|
}
|
1313
953
|
},
|
954
|
+
"LongKey":{
|
955
|
+
"type":"string",
|
956
|
+
"max":1024,
|
957
|
+
"min":1
|
958
|
+
},
|
1314
959
|
"MaxFrameRate":{
|
1315
960
|
"type":"string",
|
1316
961
|
"pattern":"(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$)"
|
@@ -1321,8 +966,8 @@
|
|
1321
966
|
},
|
1322
967
|
"Name":{
|
1323
968
|
"type":"string",
|
1324
|
-
"
|
1325
|
-
"
|
969
|
+
"max":40,
|
970
|
+
"min":1
|
1326
971
|
},
|
1327
972
|
"NonEmptyBase64EncodedString":{
|
1328
973
|
"type":"string",
|
@@ -1341,8 +986,8 @@
|
|
1341
986
|
"NullableLong":{"type":"long"},
|
1342
987
|
"OneTo512String":{
|
1343
988
|
"type":"string",
|
1344
|
-
"
|
1345
|
-
"
|
989
|
+
"max":512,
|
990
|
+
"min":1
|
1346
991
|
},
|
1347
992
|
"Opacity":{
|
1348
993
|
"type":"string",
|
@@ -1435,7 +1080,7 @@
|
|
1435
1080
|
},
|
1436
1081
|
"PlaylistFormat":{
|
1437
1082
|
"type":"string",
|
1438
|
-
"pattern":"(^HLSv3$)|(^HLSv4$)|(^Smooth$)"
|
1083
|
+
"pattern":"(^HLSv3$)|(^HLSv4$)|(^Smooth$)|(^MPEG-DASH$)"
|
1439
1084
|
},
|
1440
1085
|
"Playlists":{
|
1441
1086
|
"type":"list",
|
@@ -1457,7 +1102,7 @@
|
|
1457
1102
|
},
|
1458
1103
|
"PresetContainer":{
|
1459
1104
|
"type":"string",
|
1460
|
-
"pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^flac$)|(^oga$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)|(^mxf$)"
|
1105
|
+
"pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^flac$)|(^oga$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)|(^mxf$)|(^wav$)"
|
1461
1106
|
},
|
1462
1107
|
"PresetType":{
|
1463
1108
|
"type":"string",
|
@@ -1480,8 +1125,8 @@
|
|
1480
1125
|
},
|
1481
1126
|
"PresetWatermarkId":{
|
1482
1127
|
"type":"string",
|
1483
|
-
"
|
1484
|
-
"
|
1128
|
+
"max":40,
|
1129
|
+
"min":1
|
1485
1130
|
},
|
1486
1131
|
"PresetWatermarks":{
|
1487
1132
|
"type":"list",
|
@@ -1750,7 +1395,7 @@
|
|
1750
1395
|
},
|
1751
1396
|
"VideoCodec":{
|
1752
1397
|
"type":"string",
|
1753
|
-
"pattern":"(^H\\.264$)|(^vp8$)|(^mpeg2$)|(^gif$)"
|
1398
|
+
"pattern":"(^H\\.264$)|(^vp8$)|(^vp9$)|(^mpeg2$)|(^gif$)"
|
1754
1399
|
},
|
1755
1400
|
"VideoParameters":{
|
1756
1401
|
"type":"structure",
|
@@ -1785,9 +1430,9 @@
|
|
1785
1430
|
},
|
1786
1431
|
"WatermarkKey":{
|
1787
1432
|
"type":"string",
|
1433
|
+
"max":1024,
|
1788
1434
|
"min":1,
|
1789
|
-
"
|
1790
|
-
"pattern":"(^.{1,}.jpg$)|(^.{1,}.jpeg$)|(^.{1,}.png$)"
|
1435
|
+
"pattern":"(^.{1,1020}.jpg$)|(^.{1,1019}.jpeg$)|(^.{1,1020}.png$)"
|
1791
1436
|
},
|
1792
1437
|
"WatermarkSizingPolicy":{
|
1793
1438
|
"type":"string",
|
@@ -1795,13 +1440,13 @@
|
|
1795
1440
|
},
|
1796
1441
|
"ZeroTo255String":{
|
1797
1442
|
"type":"string",
|
1798
|
-
"
|
1799
|
-
"
|
1443
|
+
"max":255,
|
1444
|
+
"min":0
|
1800
1445
|
},
|
1801
1446
|
"ZeroTo512String":{
|
1802
1447
|
"type":"string",
|
1803
|
-
"
|
1804
|
-
"
|
1448
|
+
"max":512,
|
1449
|
+
"min":0
|
1805
1450
|
}
|
1806
1451
|
}
|
1807
1452
|
}
|
@@ -1,5 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"pagination": {
|
3
|
+
"DescribeInstanceInformation": {
|
4
|
+
"input_token": "NextToken",
|
5
|
+
"output_token": "NextToken",
|
6
|
+
"limit_key": "MaxResults",
|
7
|
+
"result_key": "InstanceInformationList"
|
8
|
+
},
|
3
9
|
"ListAssociations": {
|
4
10
|
"input_token": "NextToken",
|
5
11
|
"output_token": "NextToken",
|
data/lib/aws-sdk-core.rb
CHANGED
@@ -168,6 +168,7 @@ module Aws
|
|
168
168
|
autoload :GlacierApiVersion, 'aws-sdk-core/plugins/glacier_api_version'
|
169
169
|
autoload :GlacierChecksums, 'aws-sdk-core/plugins/glacier_checksums'
|
170
170
|
autoload :GlobalConfiguration, 'aws-sdk-core/plugins/global_configuration'
|
171
|
+
autoload :HelpfulSocketErrors, 'aws-sdk-core/plugins/helpful_socket_errors'
|
171
172
|
autoload :Logging, 'aws-sdk-core/plugins/logging'
|
172
173
|
autoload :MachineLearningPredictEndpoint, 'aws-sdk-core/plugins/machine_learning_predict_endpoint'
|
173
174
|
autoload :ParamConverter, 'aws-sdk-core/plugins/param_converter'
|
data/lib/aws-sdk-core/client.rb
CHANGED
data/lib/aws-sdk-core/errors.rb
CHANGED
@@ -53,6 +53,57 @@ module Aws
|
|
53
53
|
# Raised when a {Service} is constructed and region is not specified.
|
54
54
|
class MissingRegionError < ArgumentError; end
|
55
55
|
|
56
|
+
# Raised when attempting to connect to an endpoint and a `SocketError`
|
57
|
+
# is received from the HTTP client. This error is typically the result
|
58
|
+
# of configuring an invalid `:region`.
|
59
|
+
class NoSuchEndpointError < RuntimeError
|
60
|
+
|
61
|
+
def initialize(options = {})
|
62
|
+
@context = options[:context]
|
63
|
+
@endpoint = @context.http_request.endpoint
|
64
|
+
@original_error = options[:original_error]
|
65
|
+
super(<<-MSG)
|
66
|
+
Encountered a `SocketError` while attempting to connect to:
|
67
|
+
|
68
|
+
#{endpoint.to_s}
|
69
|
+
|
70
|
+
This is typically the result of an invalid `:region` option or a
|
71
|
+
poorly formatted `:endpoint` option.
|
72
|
+
|
73
|
+
* Avoid configuring the `:endpoint` option directly. Endpoints are constructed
|
74
|
+
from the `:region`. The `:endpoint` option is reserved for connecting to
|
75
|
+
non-standard test endpoints.
|
76
|
+
|
77
|
+
* Not every service is available in every region.
|
78
|
+
|
79
|
+
* Never suffix region names with availability zones.
|
80
|
+
Use "us-east-1", not "us-east-1a"
|
81
|
+
|
82
|
+
Known AWS regions include (not specific to this service):
|
83
|
+
|
84
|
+
#{possible_regions}
|
85
|
+
MSG
|
86
|
+
end
|
87
|
+
|
88
|
+
attr_reader :context
|
89
|
+
|
90
|
+
attr_reader :endpoint
|
91
|
+
|
92
|
+
attr_reader :original_error
|
93
|
+
|
94
|
+
private
|
95
|
+
|
96
|
+
def possible_regions
|
97
|
+
Aws.partitions.inject([]) do |region_names, partition|
|
98
|
+
partition.regions.each do |region|
|
99
|
+
region_names << region.name
|
100
|
+
end
|
101
|
+
region_names
|
102
|
+
end.join("\n")
|
103
|
+
end
|
104
|
+
|
105
|
+
end
|
106
|
+
|
56
107
|
# This module is mixed into another module, providing dynamic
|
57
108
|
# error classes. Error classes all inherit from {ServiceError}.
|
58
109
|
#
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module Aws
|
2
|
+
module Plugins
|
3
|
+
# @api private
|
4
|
+
class HelpfulSocketErrors < Seahorse::Client::Plugin
|
5
|
+
|
6
|
+
class Handler < Seahorse::Client::Handler
|
7
|
+
|
8
|
+
# Wrap `SocketError` errors with `Aws::Errors::NoSuchEndpointError`
|
9
|
+
def call(context)
|
10
|
+
response = @handler.call(context)
|
11
|
+
response.context.http_response.on_error do |error|
|
12
|
+
if socket_endpoint_error?(error)
|
13
|
+
response.error = no_such_endpoint_error(context, error)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
response
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
def socket_endpoint_error?(error)
|
22
|
+
Seahorse::Client::NetworkingError === error &&
|
23
|
+
SocketError === error.original_error &&
|
24
|
+
error.original_error.message.match(/failed to open tcp connection/i) &&
|
25
|
+
error.original_error.message.match(/getaddrinfo: nodename nor servname provided, or not known/i)
|
26
|
+
end
|
27
|
+
|
28
|
+
def no_such_endpoint_error(context, error)
|
29
|
+
Errors::NoSuchEndpointError.new({
|
30
|
+
context: context,
|
31
|
+
original_error: error.original_error,
|
32
|
+
})
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
|
37
|
+
handle(Handler, step: :sign)
|
38
|
+
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -21,7 +21,8 @@ module Aws
|
|
21
21
|
end
|
22
22
|
|
23
23
|
option(:endpoint) do |cfg|
|
24
|
-
|
24
|
+
endpoint_prefix = cfg.api.metadata['endpointPrefix']
|
25
|
+
if cfg.region && endpoint_prefix
|
25
26
|
EndpointProvider.resolve(cfg.region, endpoint_prefix)
|
26
27
|
end
|
27
28
|
end
|
@@ -35,6 +36,7 @@ module Aws
|
|
35
36
|
end
|
36
37
|
|
37
38
|
private
|
39
|
+
|
38
40
|
def self.resolve_region(cfg)
|
39
41
|
keys = %w(AWS_REGION AMAZON_REGION AWS_DEFAULT_REGION)
|
40
42
|
env_region = ENV.values_at(*keys).compact.first
|
data/lib/aws-sdk-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
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: 2016-07-
|
11
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -361,6 +361,7 @@ files:
|
|
361
361
|
- lib/aws-sdk-core/plugins/glacier_api_version.rb
|
362
362
|
- lib/aws-sdk-core/plugins/glacier_checksums.rb
|
363
363
|
- lib/aws-sdk-core/plugins/global_configuration.rb
|
364
|
+
- lib/aws-sdk-core/plugins/helpful_socket_errors.rb
|
364
365
|
- lib/aws-sdk-core/plugins/logging.rb
|
365
366
|
- lib/aws-sdk-core/plugins/machine_learning_predict_endpoint.rb
|
366
367
|
- lib/aws-sdk-core/plugins/param_converter.rb
|