aws-sdk-core 2.2.11 → 2.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/devicefarm/2015-06-23/api-2.json +8 -2
- data/apis/opsworks/2013-02-18/api-2.json +140 -542
- data/apis/opsworks/2013-02-18/examples-1.json +5 -0
- data/apis/opsworks/2013-02-18/waiters-2.json +12 -0
- data/apis/sts/2011-06-15/api-2.json +64 -172
- data/apis/sts/2011-06-15/examples-1.json +5 -0
- data/lib/aws-sdk-core/opsworks.rb +1 -0
- data/lib/aws-sdk-core/plugins/s3_request_signer.rb +1 -1
- data/lib/aws-sdk-core/query/handler.rb +3 -1
- data/lib/aws-sdk-core/rest/request/endpoint.rb +15 -0
- data/lib/aws-sdk-core/rest/response/body.rb +1 -1
- data/lib/aws-sdk-core/sts.rb +1 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +4 -2
@@ -91,6 +91,12 @@
|
|
91
91
|
"matcher": "pathAny",
|
92
92
|
"state": "failure",
|
93
93
|
"argument": "Instances[].Status"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"expected": "stop_failed",
|
97
|
+
"matcher": "pathAny",
|
98
|
+
"state": "failure",
|
99
|
+
"argument": "Instances[].Status"
|
94
100
|
}
|
95
101
|
]
|
96
102
|
},
|
@@ -153,6 +159,12 @@
|
|
153
159
|
"matcher": "pathAny",
|
154
160
|
"state": "failure",
|
155
161
|
"argument": "Instances[].Status"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"expected": "stop_failed",
|
165
|
+
"matcher": "pathAny",
|
166
|
+
"state": "failure",
|
167
|
+
"argument": "Instances[].Status"
|
156
168
|
}
|
157
169
|
]
|
158
170
|
},
|
@@ -4,11 +4,11 @@
|
|
4
4
|
"apiVersion":"2011-06-15",
|
5
5
|
"endpointPrefix":"sts",
|
6
6
|
"globalEndpoint":"sts.amazonaws.com",
|
7
|
+
"protocol":"query",
|
7
8
|
"serviceAbbreviation":"AWS STS",
|
8
9
|
"serviceFullName":"AWS Security Token Service",
|
9
10
|
"signatureVersion":"v4",
|
10
|
-
"xmlNamespace":"https://sts.amazonaws.com/doc/2011-06-15/"
|
11
|
-
"protocol":"query"
|
11
|
+
"xmlNamespace":"https://sts.amazonaws.com/doc/2011-06-15/"
|
12
12
|
},
|
13
13
|
"operations":{
|
14
14
|
"AssumeRole":{
|
@@ -23,24 +23,9 @@
|
|
23
23
|
"resultWrapper":"AssumeRoleResult"
|
24
24
|
},
|
25
25
|
"errors":[
|
26
|
-
{
|
27
|
-
|
28
|
-
|
29
|
-
"code":"MalformedPolicyDocument",
|
30
|
-
"httpStatusCode":400,
|
31
|
-
"senderFault":true
|
32
|
-
},
|
33
|
-
"exception":true
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"shape":"PackedPolicyTooLargeException",
|
37
|
-
"error":{
|
38
|
-
"code":"PackedPolicyTooLarge",
|
39
|
-
"httpStatusCode":400,
|
40
|
-
"senderFault":true
|
41
|
-
},
|
42
|
-
"exception":true
|
43
|
-
}
|
26
|
+
{"shape":"MalformedPolicyDocumentException"},
|
27
|
+
{"shape":"PackedPolicyTooLargeException"},
|
28
|
+
{"shape":"RegionDisabledException"}
|
44
29
|
]
|
45
30
|
},
|
46
31
|
"AssumeRoleWithSAML":{
|
@@ -55,51 +40,12 @@
|
|
55
40
|
"resultWrapper":"AssumeRoleWithSAMLResult"
|
56
41
|
},
|
57
42
|
"errors":[
|
58
|
-
{
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
},
|
65
|
-
"exception":true
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"shape":"PackedPolicyTooLargeException",
|
69
|
-
"error":{
|
70
|
-
"code":"PackedPolicyTooLarge",
|
71
|
-
"httpStatusCode":400,
|
72
|
-
"senderFault":true
|
73
|
-
},
|
74
|
-
"exception":true
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"shape":"IDPRejectedClaimException",
|
78
|
-
"error":{
|
79
|
-
"code":"IDPRejectedClaim",
|
80
|
-
"httpStatusCode":403,
|
81
|
-
"senderFault":true
|
82
|
-
},
|
83
|
-
"exception":true
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"shape":"InvalidIdentityTokenException",
|
87
|
-
"error":{
|
88
|
-
"code":"InvalidIdentityToken",
|
89
|
-
"httpStatusCode":400,
|
90
|
-
"senderFault":true
|
91
|
-
},
|
92
|
-
"exception":true
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"shape":"ExpiredTokenException",
|
96
|
-
"error":{
|
97
|
-
"code":"ExpiredTokenException",
|
98
|
-
"httpStatusCode":400,
|
99
|
-
"senderFault":true
|
100
|
-
},
|
101
|
-
"exception":true
|
102
|
-
}
|
43
|
+
{"shape":"MalformedPolicyDocumentException"},
|
44
|
+
{"shape":"PackedPolicyTooLargeException"},
|
45
|
+
{"shape":"IDPRejectedClaimException"},
|
46
|
+
{"shape":"InvalidIdentityTokenException"},
|
47
|
+
{"shape":"ExpiredTokenException"},
|
48
|
+
{"shape":"RegionDisabledException"}
|
103
49
|
]
|
104
50
|
},
|
105
51
|
"AssumeRoleWithWebIdentity":{
|
@@ -114,60 +60,13 @@
|
|
114
60
|
"resultWrapper":"AssumeRoleWithWebIdentityResult"
|
115
61
|
},
|
116
62
|
"errors":[
|
117
|
-
{
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
"exception":true
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"shape":"PackedPolicyTooLargeException",
|
128
|
-
"error":{
|
129
|
-
"code":"PackedPolicyTooLarge",
|
130
|
-
"httpStatusCode":400,
|
131
|
-
"senderFault":true
|
132
|
-
},
|
133
|
-
"exception":true
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"shape":"IDPRejectedClaimException",
|
137
|
-
"error":{
|
138
|
-
"code":"IDPRejectedClaim",
|
139
|
-
"httpStatusCode":403,
|
140
|
-
"senderFault":true
|
141
|
-
},
|
142
|
-
"exception":true
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"shape":"IDPCommunicationErrorException",
|
146
|
-
"error":{
|
147
|
-
"code":"IDPCommunicationError",
|
148
|
-
"httpStatusCode":400,
|
149
|
-
"senderFault":true
|
150
|
-
},
|
151
|
-
"exception":true
|
152
|
-
},
|
153
|
-
{
|
154
|
-
"shape":"InvalidIdentityTokenException",
|
155
|
-
"error":{
|
156
|
-
"code":"InvalidIdentityToken",
|
157
|
-
"httpStatusCode":400,
|
158
|
-
"senderFault":true
|
159
|
-
},
|
160
|
-
"exception":true
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"shape":"ExpiredTokenException",
|
164
|
-
"error":{
|
165
|
-
"code":"ExpiredTokenException",
|
166
|
-
"httpStatusCode":400,
|
167
|
-
"senderFault":true
|
168
|
-
},
|
169
|
-
"exception":true
|
170
|
-
}
|
63
|
+
{"shape":"MalformedPolicyDocumentException"},
|
64
|
+
{"shape":"PackedPolicyTooLargeException"},
|
65
|
+
{"shape":"IDPRejectedClaimException"},
|
66
|
+
{"shape":"IDPCommunicationErrorException"},
|
67
|
+
{"shape":"InvalidIdentityTokenException"},
|
68
|
+
{"shape":"ExpiredTokenException"},
|
69
|
+
{"shape":"RegionDisabledException"}
|
171
70
|
]
|
172
71
|
},
|
173
72
|
"DecodeAuthorizationMessage":{
|
@@ -182,15 +81,7 @@
|
|
182
81
|
"resultWrapper":"DecodeAuthorizationMessageResult"
|
183
82
|
},
|
184
83
|
"errors":[
|
185
|
-
{
|
186
|
-
"shape":"InvalidAuthorizationMessageException",
|
187
|
-
"error":{
|
188
|
-
"code":"InvalidAuthorizationMessageException",
|
189
|
-
"httpStatusCode":400,
|
190
|
-
"senderFault":true
|
191
|
-
},
|
192
|
-
"exception":true
|
193
|
-
}
|
84
|
+
{"shape":"InvalidAuthorizationMessageException"}
|
194
85
|
]
|
195
86
|
},
|
196
87
|
"GetFederationToken":{
|
@@ -205,24 +96,9 @@
|
|
205
96
|
"resultWrapper":"GetFederationTokenResult"
|
206
97
|
},
|
207
98
|
"errors":[
|
208
|
-
{
|
209
|
-
|
210
|
-
|
211
|
-
"code":"MalformedPolicyDocument",
|
212
|
-
"httpStatusCode":400,
|
213
|
-
"senderFault":true
|
214
|
-
},
|
215
|
-
"exception":true
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"shape":"PackedPolicyTooLargeException",
|
219
|
-
"error":{
|
220
|
-
"code":"PackedPolicyTooLarge",
|
221
|
-
"httpStatusCode":400,
|
222
|
-
"senderFault":true
|
223
|
-
},
|
224
|
-
"exception":true
|
225
|
-
}
|
99
|
+
{"shape":"MalformedPolicyDocumentException"},
|
100
|
+
{"shape":"PackedPolicyTooLargeException"},
|
101
|
+
{"shape":"RegionDisabledException"}
|
226
102
|
]
|
227
103
|
},
|
228
104
|
"GetSessionToken":{
|
@@ -235,7 +111,10 @@
|
|
235
111
|
"output":{
|
236
112
|
"shape":"GetSessionTokenResponse",
|
237
113
|
"resultWrapper":"GetSessionTokenResult"
|
238
|
-
}
|
114
|
+
},
|
115
|
+
"errors":[
|
116
|
+
{"shape":"RegionDisabledException"}
|
117
|
+
]
|
239
118
|
}
|
240
119
|
},
|
241
120
|
"shapes":{
|
@@ -486,59 +365,71 @@
|
|
486
365
|
},
|
487
366
|
"exception":true
|
488
367
|
},
|
368
|
+
"RegionDisabledException":{
|
369
|
+
"type":"structure",
|
370
|
+
"members":{
|
371
|
+
"message":{"shape":"regionDisabledMessage"}
|
372
|
+
},
|
373
|
+
"error":{
|
374
|
+
"code":"RegionDisabledException",
|
375
|
+
"httpStatusCode":403,
|
376
|
+
"senderFault":true
|
377
|
+
},
|
378
|
+
"exception":true
|
379
|
+
},
|
489
380
|
"SAMLAssertionType":{
|
490
381
|
"type":"string",
|
491
|
-
"
|
492
|
-
"
|
382
|
+
"max":50000,
|
383
|
+
"min":4
|
493
384
|
},
|
494
385
|
"Subject":{"type":"string"},
|
495
386
|
"SubjectType":{"type":"string"},
|
496
387
|
"accessKeyIdType":{
|
497
388
|
"type":"string",
|
498
|
-
"min":16,
|
499
389
|
"max":32,
|
390
|
+
"min":16,
|
500
391
|
"pattern":"[\\w]*"
|
501
392
|
},
|
502
393
|
"accessKeySecretType":{"type":"string"},
|
503
394
|
"arnType":{
|
504
395
|
"type":"string",
|
505
|
-
"
|
506
|
-
"
|
396
|
+
"max":2048,
|
397
|
+
"min":20
|
507
398
|
},
|
508
399
|
"assumedRoleIdType":{
|
509
400
|
"type":"string",
|
510
|
-
"min":2,
|
511
401
|
"max":96,
|
402
|
+
"min":2,
|
512
403
|
"pattern":"[\\w+=,.@:-]*"
|
513
404
|
},
|
514
405
|
"clientTokenType":{
|
515
406
|
"type":"string",
|
516
|
-
"
|
517
|
-
"
|
407
|
+
"max":2048,
|
408
|
+
"min":4
|
518
409
|
},
|
519
410
|
"dateType":{"type":"timestamp"},
|
520
411
|
"decodedMessageType":{"type":"string"},
|
521
412
|
"durationSecondsType":{
|
522
413
|
"type":"integer",
|
523
|
-
"
|
524
|
-
"
|
414
|
+
"max":129600,
|
415
|
+
"min":900
|
525
416
|
},
|
526
417
|
"encodedMessageType":{
|
527
418
|
"type":"string",
|
528
|
-
"
|
529
|
-
"
|
419
|
+
"max":10240,
|
420
|
+
"min":1
|
530
421
|
},
|
531
422
|
"expiredIdentityTokenMessage":{"type":"string"},
|
532
423
|
"externalIdType":{
|
533
424
|
"type":"string",
|
534
|
-
"min":2,
|
535
425
|
"max":1224,
|
426
|
+
"min":2,
|
536
427
|
"pattern":"[\\w+=,.@:\\/-]*"
|
537
428
|
},
|
538
429
|
"federatedIdType":{
|
539
430
|
"type":"string",
|
540
|
-
"min":2,
|
541
431
|
"max":96,
|
432
|
+
"min":2,
|
542
433
|
"pattern":"[\\w+=,.@\\:-]*"
|
543
434
|
},
|
544
435
|
"idpCommunicationErrorMessage":{"type":"string"},
|
@@ -551,51 +442,52 @@
|
|
551
442
|
"min":0
|
552
443
|
},
|
553
444
|
"packedPolicyTooLargeMessage":{"type":"string"},
|
445
|
+
"regionDisabledMessage":{"type":"string"},
|
554
446
|
"roleDurationSecondsType":{
|
555
447
|
"type":"integer",
|
556
|
-
"
|
557
|
-
"
|
448
|
+
"max":3600,
|
449
|
+
"min":900
|
558
450
|
},
|
559
451
|
"roleSessionNameType":{
|
560
452
|
"type":"string",
|
561
|
-
"min":2,
|
562
453
|
"max":64,
|
454
|
+
"min":2,
|
563
455
|
"pattern":"[\\w+=,.@-]*"
|
564
456
|
},
|
565
457
|
"serialNumberType":{
|
566
458
|
"type":"string",
|
567
|
-
"min":9,
|
568
459
|
"max":256,
|
460
|
+
"min":9,
|
569
461
|
"pattern":"[\\w+=/:,.@-]*"
|
570
462
|
},
|
571
463
|
"sessionPolicyDocumentType":{
|
572
464
|
"type":"string",
|
573
|
-
"min":1,
|
574
465
|
"max":2048,
|
466
|
+
"min":1,
|
575
467
|
"pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
|
576
468
|
},
|
577
469
|
"tokenCodeType":{
|
578
470
|
"type":"string",
|
579
|
-
"min":6,
|
580
471
|
"max":6,
|
472
|
+
"min":6,
|
581
473
|
"pattern":"[\\d]*"
|
582
474
|
},
|
583
475
|
"tokenType":{"type":"string"},
|
584
476
|
"urlType":{
|
585
477
|
"type":"string",
|
586
|
-
"
|
587
|
-
"
|
478
|
+
"max":2048,
|
479
|
+
"min":4
|
588
480
|
},
|
589
481
|
"userNameType":{
|
590
482
|
"type":"string",
|
591
|
-
"min":2,
|
592
483
|
"max":32,
|
484
|
+
"min":2,
|
593
485
|
"pattern":"[\\w+=,.@-]*"
|
594
486
|
},
|
595
487
|
"webIdentitySubjectType":{
|
596
488
|
"type":"string",
|
597
|
-
"
|
598
|
-
"
|
489
|
+
"max":255,
|
490
|
+
"min":6
|
599
491
|
}
|
600
492
|
}
|
601
493
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
Aws.add_service(:OpsWorks, {
|
2
2
|
api: "#{Aws::API_DIR}/opsworks/2013-02-18/api-2.json",
|
3
3
|
docs: "#{Aws::API_DIR}/opsworks/2013-02-18/docs-2.json",
|
4
|
+
examples: "#{Aws::API_DIR}/opsworks/2013-02-18/examples-1.json",
|
4
5
|
paginators: "#{Aws::API_DIR}/opsworks/2013-02-18/paginators-1.json",
|
5
6
|
resources: "#{Aws::API_DIR}/opsworks/2013-02-18/resources-1.json",
|
6
7
|
waiters: "#{Aws::API_DIR}/opsworks/2013-02-18/waiters-2.json",
|
@@ -135,7 +135,7 @@ module Aws
|
|
135
135
|
msg = "S3 client configured for #{context.config.region.inspect} " +
|
136
136
|
"but the bucket #{context.params[:bucket].inspect} is in " +
|
137
137
|
"#{actual_region.inspect}; Please configure the proper region " +
|
138
|
-
"to avoid multiple
|
138
|
+
"to avoid multiple unnecessary redirects and signing attempts\n"
|
139
139
|
if logger = context.config.logger
|
140
140
|
logger.warn(msg)
|
141
141
|
else
|
@@ -74,7 +74,9 @@ module Aws
|
|
74
74
|
|
75
75
|
def remove_wrapper(data, context)
|
76
76
|
if context.operation.output
|
77
|
-
|
77
|
+
if data.response_metadata
|
78
|
+
context[:request_id] = data.response_metadata.request_id
|
79
|
+
end
|
78
80
|
data.result || Structure.new(context.operation.output.shape.member_names)
|
79
81
|
else
|
80
82
|
data
|
@@ -73,6 +73,15 @@ module Aws
|
|
73
73
|
raise NotImplementedError, msg
|
74
74
|
end
|
75
75
|
|
76
|
+
when ListShape
|
77
|
+
if StringShape === member.shape.member.shape
|
78
|
+
parts += list_of_strings(member.location_name, params[member_name])
|
79
|
+
else
|
80
|
+
msg = "Only list of strings supported, got "
|
81
|
+
msg << member.shape.member.shape.class.name
|
82
|
+
raise NotImplementedError, msg
|
83
|
+
end
|
84
|
+
|
76
85
|
# unsupported querystring shape
|
77
86
|
else
|
78
87
|
raise NotImplementedError
|
@@ -101,6 +110,12 @@ module Aws
|
|
101
110
|
list
|
102
111
|
end
|
103
112
|
|
113
|
+
def list_of_strings(name, values)
|
114
|
+
values.map do |value|
|
115
|
+
"#{name}=#{escape(value)}"
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
104
119
|
def escape(string)
|
105
120
|
Seahorse::Util.uri_escape(string)
|
106
121
|
end
|