aws-sdk-core 2.0.28 → 2.0.29

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3cfbb5b7b17d2bebe6e006d78719bc33dbad8e9
4
- data.tar.gz: 9a5b488cacfd5c9f0cdfc9eaefd8d9c392501a06
3
+ metadata.gz: 236a73ba271abf914d1a38f7286509a11d01c8df
4
+ data.tar.gz: 1080ee0dab9eb6496e8bdb429f9edcd5292936ca
5
5
  SHA512:
6
- metadata.gz: 6c122bf52707fdee948de78659c4648e665df12d5d35d2ee42d3175176593c3bfd6265656ec0c86cf11269e438b4a51c7d1b013cda9243b69fe19f9bfdcac23c
7
- data.tar.gz: be5fb833901eebe2669c680a1722229953863156eab96e904848c84897c890dd1e2c628caf221a3e61e66b3f1d7198356d4576083fd396b98efc6b27d7fe3ea3
6
+ metadata.gz: 88d566a58982049dfdc1f33b2bee331b6b7368a82c43e48b4cea1492a277f919be0b2bf081a82468a4d32b0084f67782a1c075ecee2d7be7ffece1bd232ae2d4
7
+ data.tar.gz: 2675ca20081895e20d51b56b458888314893a0651ba90d7bdf9746a71e6b2772c0907a77a573c801d796b7963d08909a076c7a0fd431a82c462cb22d22da3d0a
@@ -44,13 +44,19 @@
44
44
  "resources": {
45
45
  "Event": {
46
46
  "identifiers": [
47
- { "name": "Id" }
47
+ {
48
+ "name": "Id",
49
+ "memberName": "EventId"
50
+ }
48
51
  ],
49
52
  "shape": "StackEvent"
50
53
  },
51
54
  "Stack": {
52
55
  "identifiers": [
53
- { "name": "Name" }
56
+ {
57
+ "name": "Name",
58
+ "memberName": "StackName"
59
+ }
54
60
  ],
55
61
  "shape": "Stack",
56
62
  "load": {
@@ -136,7 +142,10 @@
136
142
  "StackResource": {
137
143
  "identifiers": [
138
144
  { "name": "StackName" },
139
- { "name": "LogicalId" }
145
+ {
146
+ "name": "LogicalId",
147
+ "memberName": "LogicalResourceId"
148
+ }
140
149
  ],
141
150
  "shape": "StackResourceDetail",
142
151
  "load": {
@@ -163,7 +172,10 @@
163
172
  "StackResourceSummary": {
164
173
  "identifiers": [
165
174
  { "name": "StackName" },
166
- { "name": "LogicalId" }
175
+ {
176
+ "name": "LogicalId",
177
+ "memberName": "LogicalResourceId"
178
+ }
167
179
  ],
168
180
  "shape": "StackResourceSummary",
169
181
  "has": {
@@ -1,4 +1,5 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2013-01-01",
4
5
  "endpointPrefix":"cloudsearch",
@@ -1822,7 +1823,11 @@
1822
1823
  "search.m1.small",
1823
1824
  "search.m1.large",
1824
1825
  "search.m2.xlarge",
1825
- "search.m2.2xlarge"
1826
+ "search.m2.2xlarge",
1827
+ "search.m3.medium",
1828
+ "search.m3.large",
1829
+ "search.m3.xlarge",
1830
+ "search.m3.2xlarge"
1826
1831
  ]
1827
1832
  },
1828
1833
  "PolicyDocument":{"type":"string"},
@@ -1,4 +1,5 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2013-01-01",
4
5
  "endpointPrefix":"cloudsearchdomain",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2014-06-30",
4
5
  "endpointPrefix":"cognito-sync",
@@ -8,6 +9,72 @@
8
9
  "protocol":"rest-json"
9
10
  },
10
11
  "operations":{
12
+ "BulkPublish":{
13
+ "name":"BulkPublish",
14
+ "http":{
15
+ "method":"POST",
16
+ "requestUri":"/identitypools/{IdentityPoolId}/bulkpublish",
17
+ "responseCode":200
18
+ },
19
+ "input":{"shape":"BulkPublishRequest"},
20
+ "output":{"shape":"BulkPublishResponse"},
21
+ "errors":[
22
+ {
23
+ "shape":"NotAuthorizedException",
24
+ "error":{
25
+ "code":"NotAuthorizedError",
26
+ "httpStatusCode":403,
27
+ "senderFault":true
28
+ },
29
+ "exception":true
30
+ },
31
+ {
32
+ "shape":"InvalidParameterException",
33
+ "error":{
34
+ "code":"InvalidParameter",
35
+ "httpStatusCode":400,
36
+ "senderFault":true
37
+ },
38
+ "exception":true
39
+ },
40
+ {
41
+ "shape":"ResourceNotFoundException",
42
+ "error":{
43
+ "code":"ResourceNotFound",
44
+ "httpStatusCode":404,
45
+ "senderFault":true
46
+ },
47
+ "exception":true
48
+ },
49
+ {
50
+ "shape":"InternalErrorException",
51
+ "error":{
52
+ "code":"InternalError",
53
+ "httpStatusCode":500
54
+ },
55
+ "exception":true,
56
+ "fault":true
57
+ },
58
+ {
59
+ "shape":"DuplicateRequestException",
60
+ "error":{
61
+ "code":"DuplicateRequest",
62
+ "httpStatusCode":400,
63
+ "senderFault":true
64
+ },
65
+ "exception":true
66
+ },
67
+ {
68
+ "shape":"AlreadyStreamedException",
69
+ "error":{
70
+ "code":"AlreadyStreamed",
71
+ "httpStatusCode":400,
72
+ "senderFault":true
73
+ },
74
+ "exception":true
75
+ }
76
+ ]
77
+ },
11
78
  "DeleteDataset":{
12
79
  "name":"DeleteDataset",
13
80
  "http":{
@@ -53,6 +120,15 @@
53
120
  },
54
121
  "exception":true,
55
122
  "fault":true
123
+ },
124
+ {
125
+ "shape":"TooManyRequestsException",
126
+ "error":{
127
+ "code":"TooManyRequests",
128
+ "httpStatusCode":429,
129
+ "senderFault":true
130
+ },
131
+ "exception":true
56
132
  }
57
133
  ]
58
134
  },
@@ -101,6 +177,15 @@
101
177
  },
102
178
  "exception":true,
103
179
  "fault":true
180
+ },
181
+ {
182
+ "shape":"TooManyRequestsException",
183
+ "error":{
184
+ "code":"TooManyRequests",
185
+ "httpStatusCode":429,
186
+ "senderFault":true
187
+ },
188
+ "exception":true
104
189
  }
105
190
  ]
106
191
  },
@@ -149,6 +234,15 @@
149
234
  },
150
235
  "exception":true,
151
236
  "fault":true
237
+ },
238
+ {
239
+ "shape":"TooManyRequestsException",
240
+ "error":{
241
+ "code":"TooManyRequests",
242
+ "httpStatusCode":429,
243
+ "senderFault":true
244
+ },
245
+ "exception":true
152
246
  }
153
247
  ]
154
248
  },
@@ -161,6 +255,63 @@
161
255
  },
162
256
  "input":{"shape":"DescribeIdentityUsageRequest"},
163
257
  "output":{"shape":"DescribeIdentityUsageResponse"},
258
+ "errors":[
259
+ {
260
+ "shape":"NotAuthorizedException",
261
+ "error":{
262
+ "code":"NotAuthorizedError",
263
+ "httpStatusCode":403,
264
+ "senderFault":true
265
+ },
266
+ "exception":true
267
+ },
268
+ {
269
+ "shape":"InvalidParameterException",
270
+ "error":{
271
+ "code":"InvalidParameter",
272
+ "httpStatusCode":400,
273
+ "senderFault":true
274
+ },
275
+ "exception":true
276
+ },
277
+ {
278
+ "shape":"ResourceNotFoundException",
279
+ "error":{
280
+ "code":"ResourceNotFound",
281
+ "httpStatusCode":404,
282
+ "senderFault":true
283
+ },
284
+ "exception":true
285
+ },
286
+ {
287
+ "shape":"InternalErrorException",
288
+ "error":{
289
+ "code":"InternalError",
290
+ "httpStatusCode":500
291
+ },
292
+ "exception":true,
293
+ "fault":true
294
+ },
295
+ {
296
+ "shape":"TooManyRequestsException",
297
+ "error":{
298
+ "code":"TooManyRequests",
299
+ "httpStatusCode":429,
300
+ "senderFault":true
301
+ },
302
+ "exception":true
303
+ }
304
+ ]
305
+ },
306
+ "GetBulkPublishDetails":{
307
+ "name":"GetBulkPublishDetails",
308
+ "http":{
309
+ "method":"POST",
310
+ "requestUri":"/identitypools/{IdentityPoolId}/getBulkPublishDetails",
311
+ "responseCode":200
312
+ },
313
+ "input":{"shape":"GetBulkPublishDetailsRequest"},
314
+ "output":{"shape":"GetBulkPublishDetailsResponse"},
164
315
  "errors":[
165
316
  {
166
317
  "shape":"NotAuthorizedException",
@@ -245,6 +396,15 @@
245
396
  },
246
397
  "exception":true,
247
398
  "fault":true
399
+ },
400
+ {
401
+ "shape":"TooManyRequestsException",
402
+ "error":{
403
+ "code":"TooManyRequests",
404
+ "httpStatusCode":429,
405
+ "senderFault":true
406
+ },
407
+ "exception":true
248
408
  }
249
409
  ]
250
410
  },
@@ -284,6 +444,15 @@
284
444
  },
285
445
  "exception":true,
286
446
  "fault":true
447
+ },
448
+ {
449
+ "shape":"TooManyRequestsException",
450
+ "error":{
451
+ "code":"TooManyRequests",
452
+ "httpStatusCode":429,
453
+ "senderFault":true
454
+ },
455
+ "exception":true
287
456
  }
288
457
  ]
289
458
  },
@@ -323,6 +492,15 @@
323
492
  },
324
493
  "exception":true,
325
494
  "fault":true
495
+ },
496
+ {
497
+ "shape":"TooManyRequestsException",
498
+ "error":{
499
+ "code":"TooManyRequests",
500
+ "httpStatusCode":429,
501
+ "senderFault":true
502
+ },
503
+ "exception":true
326
504
  }
327
505
  ]
328
506
  },
@@ -428,6 +606,15 @@
428
606
  "senderFault":true
429
607
  },
430
608
  "exception":true
609
+ },
610
+ {
611
+ "shape":"TooManyRequestsException",
612
+ "error":{
613
+ "code":"TooManyRequests",
614
+ "httpStatusCode":429,
615
+ "senderFault":true
616
+ },
617
+ "exception":true
431
618
  }
432
619
  ]
433
620
  },
@@ -476,6 +663,15 @@
476
663
  },
477
664
  "exception":true,
478
665
  "fault":true
666
+ },
667
+ {
668
+ "shape":"TooManyRequestsException",
669
+ "error":{
670
+ "code":"TooManyRequests",
671
+ "httpStatusCode":429,
672
+ "senderFault":true
673
+ },
674
+ "exception":true
479
675
  }
480
676
  ]
481
677
  },
@@ -533,6 +729,15 @@
533
729
  "senderFault":true
534
730
  },
535
731
  "exception":true
732
+ },
733
+ {
734
+ "shape":"TooManyRequestsException",
735
+ "error":{
736
+ "code":"TooManyRequests",
737
+ "httpStatusCode":429,
738
+ "senderFault":true
739
+ },
740
+ "exception":true
536
741
  }
537
742
  ]
538
743
  },
@@ -590,6 +795,15 @@
590
795
  "senderFault":true
591
796
  },
592
797
  "exception":true
798
+ },
799
+ {
800
+ "shape":"TooManyRequestsException",
801
+ "error":{
802
+ "code":"TooManyRequests",
803
+ "httpStatusCode":429,
804
+ "senderFault":true
805
+ },
806
+ "exception":true
593
807
  }
594
808
  ]
595
809
  },
@@ -670,6 +884,19 @@
670
884
  }
671
885
  },
672
886
  "shapes":{
887
+ "AlreadyStreamedException":{
888
+ "type":"structure",
889
+ "required":["message"],
890
+ "members":{
891
+ "message":{"shape":"ExceptionMessage"}
892
+ },
893
+ "error":{
894
+ "code":"AlreadyStreamed",
895
+ "httpStatusCode":400,
896
+ "senderFault":true
897
+ },
898
+ "exception":true
899
+ },
673
900
  "ApplicationArn":{
674
901
  "type":"string",
675
902
  "pattern":"arn:aws:sns:[-0-9a-z]+:\\d+:app/[A-Z_]+/[a-zA-Z0-9_.-]+"
@@ -685,7 +912,41 @@
685
912
  "pattern":"arn:aws:iam::\\d+:role/.*"
686
913
  },
687
914
  "Boolean":{"type":"boolean"},
915
+ "BulkPublishRequest":{
916
+ "type":"structure",
917
+ "required":["IdentityPoolId"],
918
+ "members":{
919
+ "IdentityPoolId":{
920
+ "shape":"IdentityPoolId",
921
+ "location":"uri",
922
+ "locationName":"IdentityPoolId"
923
+ }
924
+ }
925
+ },
926
+ "BulkPublishResponse":{
927
+ "type":"structure",
928
+ "members":{
929
+ "IdentityPoolId":{"shape":"IdentityPoolId"}
930
+ }
931
+ },
932
+ "BulkPublishStatus":{
933
+ "type":"string",
934
+ "enum":[
935
+ "NOT_STARTED",
936
+ "IN_PROGRESS",
937
+ "FAILED",
938
+ "SUCCEEDED"
939
+ ]
940
+ },
688
941
  "ClientContext":{"type":"string"},
942
+ "CognitoStreams":{
943
+ "type":"structure",
944
+ "members":{
945
+ "StreamName":{"shape":"StreamName"},
946
+ "RoleArn":{"shape":"AssumeRoleArn"},
947
+ "StreamingStatus":{"shape":"StreamingStatus"}
948
+ }
949
+ },
689
950
  "Dataset":{
690
951
  "type":"structure",
691
952
  "members":{
@@ -818,7 +1079,41 @@
818
1079
  "min":1,
819
1080
  "max":256
820
1081
  },
1082
+ "DuplicateRequestException":{
1083
+ "type":"structure",
1084
+ "required":["message"],
1085
+ "members":{
1086
+ "message":{"shape":"ExceptionMessage"}
1087
+ },
1088
+ "error":{
1089
+ "code":"DuplicateRequest",
1090
+ "httpStatusCode":400,
1091
+ "senderFault":true
1092
+ },
1093
+ "exception":true
1094
+ },
821
1095
  "ExceptionMessage":{"type":"string"},
1096
+ "GetBulkPublishDetailsRequest":{
1097
+ "type":"structure",
1098
+ "required":["IdentityPoolId"],
1099
+ "members":{
1100
+ "IdentityPoolId":{
1101
+ "shape":"IdentityPoolId",
1102
+ "location":"uri",
1103
+ "locationName":"IdentityPoolId"
1104
+ }
1105
+ }
1106
+ },
1107
+ "GetBulkPublishDetailsResponse":{
1108
+ "type":"structure",
1109
+ "members":{
1110
+ "IdentityPoolId":{"shape":"IdentityPoolId"},
1111
+ "BulkPublishStartTime":{"shape":"Date"},
1112
+ "BulkPublishCompleteTime":{"shape":"Date"},
1113
+ "BulkPublishStatus":{"shape":"BulkPublishStatus"},
1114
+ "FailureMessage":{"shape":"String"}
1115
+ }
1116
+ },
822
1117
  "GetIdentityPoolConfigurationRequest":{
823
1118
  "type":"structure",
824
1119
  "required":["IdentityPoolId"],
@@ -834,7 +1129,8 @@
834
1129
  "type":"structure",
835
1130
  "members":{
836
1131
  "IdentityPoolId":{"shape":"IdentityPoolId"},
837
- "PushSync":{"shape":"PushSync"}
1132
+ "PushSync":{"shape":"PushSync"},
1133
+ "CognitoStreams":{"shape":"CognitoStreams"}
838
1134
  }
839
1135
  },
840
1136
  "IdentityId":{
@@ -1195,16 +1491,30 @@
1195
1491
  "location":"uri",
1196
1492
  "locationName":"IdentityPoolId"
1197
1493
  },
1198
- "PushSync":{"shape":"PushSync"}
1494
+ "PushSync":{"shape":"PushSync"},
1495
+ "CognitoStreams":{"shape":"CognitoStreams"}
1199
1496
  }
1200
1497
  },
1201
1498
  "SetIdentityPoolConfigurationResponse":{
1202
1499
  "type":"structure",
1203
1500
  "members":{
1204
1501
  "IdentityPoolId":{"shape":"IdentityPoolId"},
1205
- "PushSync":{"shape":"PushSync"}
1502
+ "PushSync":{"shape":"PushSync"},
1503
+ "CognitoStreams":{"shape":"CognitoStreams"}
1206
1504
  }
1207
1505
  },
1506
+ "StreamName":{
1507
+ "type":"string",
1508
+ "min":1,
1509
+ "max":128
1510
+ },
1511
+ "StreamingStatus":{
1512
+ "type":"string",
1513
+ "enum":[
1514
+ "ENABLED",
1515
+ "DISABLED"
1516
+ ]
1517
+ },
1208
1518
  "String":{"type":"string"},
1209
1519
  "SubscribeToDatasetRequest":{
1210
1520
  "type":"structure",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2015-02-02",
4
5
  "endpointPrefix":"elasticache",
@@ -0,0 +1,31 @@
1
+ {
2
+ "version": 2,
3
+ "waiters": {
4
+ "InstanceInService": {
5
+ "delay": 15,
6
+ "operation": "DescribeInstanceHealth",
7
+ "maxAttempts": 40,
8
+ "acceptors": [
9
+ {
10
+ "expected": "InService",
11
+ "matcher": "pathAll",
12
+ "state": "success",
13
+ "argument": "InstanceStates[].State"
14
+ }
15
+ ]
16
+ },
17
+ "AnyInstanceInService": {
18
+ "delay": 15,
19
+ "operation": "DescribeInstanceHealth",
20
+ "maxAttempts": 40,
21
+ "acceptors": [
22
+ {
23
+ "expected": "InService",
24
+ "matcher": "pathAny",
25
+ "state": "success",
26
+ "argument": "InstanceStates[].State"
27
+ }
28
+ ]
29
+ }
30
+ }
31
+ }
@@ -2,4 +2,5 @@ Aws.add_service(:ElasticLoadBalancing, {
2
2
  api: File.join(Aws::API_DIR, 'ElasticLoadBalancing.api.json'),
3
3
  docs: File.join(Aws::API_DIR, 'ElasticLoadBalancing.docs.json'),
4
4
  paginators: File.join(Aws::API_DIR, 'ElasticLoadBalancing.paginators.json'),
5
+ waiters: File.join(Aws::API_DIR, 'ElasticLoadBalancing.waiters.json'),
5
6
  })
@@ -25,13 +25,6 @@ module Aws
25
25
  end
26
26
  end
27
27
 
28
- def after_initialize(client)
29
- # disable request singing when credentials are not set
30
- if client.config.credentials.nil? or !client.config.credentials.set?
31
- client.config.signature_version = nil
32
- end
33
- end
34
-
35
28
  end
36
29
  end
37
30
  end
@@ -68,14 +68,20 @@ module Aws
68
68
  's3' => Signers::S3,
69
69
  }
70
70
 
71
+ STS_UNSIGNED_REQUESTS = Set.new(%w(
72
+ AssumeRoleWithSAML
73
+ AssumeRoleWithWebIdentity
74
+ ))
75
+
71
76
  def call(context)
72
- sign_authenticated_requests(context)
77
+ sign_authenticated_requests(context) unless unsigned_request?(context)
73
78
  @handler.call(context)
74
79
  end
75
80
 
76
81
  private
77
82
 
78
83
  def sign_authenticated_requests(context)
84
+ require_credentials(context)
79
85
  if signer = SIGNERS[context.config.signature_version]
80
86
  require_credentials(context)
81
87
  signer.sign(context)
@@ -83,15 +89,27 @@ module Aws
83
89
  end
84
90
 
85
91
  def require_credentials(context)
86
- if
87
- context.config.credentials.nil? or
88
- !context.config.credentials.set?
89
- then
92
+ if missing_credentials?(context)
90
93
  msg = 'unable to sign request without credentials set'
91
94
  raise Errors::MissingCredentialsError, msg
92
95
  end
93
96
  end
94
97
 
98
+ def missing_credentials?(context)
99
+ context.config.credentials.nil? or
100
+ !context.config.credentials.set?
101
+ end
102
+
103
+ def unsigned_request?(context)
104
+ if context.config.api.metadata('endpointPrefix') == 'sts'
105
+ STS_UNSIGNED_REQUESTS.include?(context.operation.name)
106
+ elsif context.config.api.metadata('endpointPrefix') == 'cloudsearchdomain'
107
+ context.config.credentials.nil? || !context.config.credentials.set?
108
+ else
109
+ false
110
+ end
111
+ end
112
+
95
113
  end
96
114
 
97
115
  def add_handlers(handlers, config)
@@ -58,7 +58,7 @@ module Aws
58
58
  if header_name.match(/^x-amz/)
59
59
  params.set(header_name, header_value)
60
60
  end
61
- unless %w(host content-md5).include?(header_name)
61
+ unless %w(host content-type content-md5).include?(header_name)
62
62
  request.headers.delete(header_name)
63
63
  end
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.0.28'
2
+ VERSION = '2.0.29'
3
3
  end
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.0.28
4
+ version: 2.0.29
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: 2015-02-24 00:00:00.000000000 Z
11
+ date: 2015-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -120,6 +120,7 @@ files:
120
120
  - apis/ElasticBeanstalk.paginators.json
121
121
  - apis/ElasticLoadBalancing.api.json
122
122
  - apis/ElasticLoadBalancing.paginators.json
123
+ - apis/ElasticLoadBalancing.waiters.json
123
124
  - apis/ElasticTranscoder.api.json
124
125
  - apis/ElasticTranscoder.paginators.json
125
126
  - apis/ElasticTranscoder.waiters.json
@@ -384,3 +385,4 @@ signing_key:
384
385
  specification_version: 4
385
386
  summary: AWS SDK for Ruby - Core
386
387
  test_files: []
388
+ has_rdoc: