aws-sdk-core 2.0.0.rc15 → 2.0.0.rc16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/apis/DynamoDB.paginators.json +0 -1
  3. data/apis/EC2.resources.json +16 -0
  4. data/apis/ElasticBeanstalk.api.json +4 -1
  5. data/apis/Glacier.resources.json +5 -9
  6. data/apis/IAM.resources.json +1 -1
  7. data/apis/Kinesis.api.json +158 -0
  8. data/apis/Kinesis.paginators.json +0 -6
  9. data/apis/OpsWorks.api.json +36 -5
  10. data/apis/OpsWorks.resources.json +181 -0
  11. data/apis/S3.resources.json +13 -2
  12. data/apis/SQS.resources.json +0 -10
  13. data/bin/aws.rb +9 -0
  14. data/lib/aws.rb +30 -1
  15. data/lib/aws/api/docstrings.rb +35 -0
  16. data/lib/aws/api/documenter.rb +31 -28
  17. data/lib/aws/client.rb +83 -0
  18. data/lib/aws/credential_provider_chain.rb +3 -1
  19. data/lib/aws/errors.rb +16 -7
  20. data/lib/aws/pageable_response.rb +1 -1
  21. data/lib/aws/plugins/csd_conditional_signing.rb +5 -0
  22. data/lib/aws/plugins/response_paging.rb +9 -3
  23. data/lib/aws/plugins/s3_url_encoded_keys.rb +7 -7
  24. data/lib/aws/query/handler.rb +4 -5
  25. data/lib/aws/version.rb +1 -1
  26. data/lib/aws/waiters/errors.rb +30 -0
  27. data/lib/aws/waiters/null_provider.rb +12 -0
  28. data/lib/aws/waiters/provider.rb +54 -0
  29. data/lib/aws/waiters/waiter.rb +194 -0
  30. data/lib/aws/xml/default_list.rb +10 -0
  31. data/lib/aws/xml/parser.rb +6 -1
  32. data/lib/seahorse.rb +0 -2
  33. data/lib/seahorse/client/base.rb +45 -20
  34. data/lib/seahorse/client/handler_list.rb +7 -0
  35. data/lib/seahorse/client/param_converter.rb +2 -2
  36. data/lib/seahorse/client/plugins/restful_bindings.rb +1 -1
  37. data/lib/seahorse/client/request.rb +1 -1
  38. data/lib/seahorse/client/response.rb +0 -2
  39. data/lib/seahorse/model/shapes.rb +6 -2
  40. metadata +15 -11
  41. data/LICENSE.txt +0 -12
  42. data/README.md +0 -301
  43. data/lib/seahorse/client/plugins/api.rb +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7525de9a849ecb0238339af1e9873a46748edd86
4
- data.tar.gz: 3c57becee38aa8959ffc1f43f16f83c843cff29c
3
+ metadata.gz: e2cb10570fad9a794ea61097fe83a2e514d77995
4
+ data.tar.gz: 86a61776d023acb73a6ca91bda5cd5850abd6f47
5
5
  SHA512:
6
- metadata.gz: 7b1bc672f974ea09fa87b43ef26522d10f6132a68808dd1b9d7cc0dd70ff48ae23bbeb90012e611c509e1a23eeae959c916cb11077c5120537f0a67c8396a83d
7
- data.tar.gz: 7bcb80806e999373e6b859426ba09f5c350a99ffe3c70842491b1dc81ea8be9d500005f62c46778f4242bbb2fcb9975bbb5d5dca192d3747fea88532e64ee825
6
+ metadata.gz: 0298876e4d100c3014aeb7666b63f19dc661054d5e51335c80c020435dd8036fe1c9c4af277bedf48203857a34bc6086b4b8f8a81dcfae293cc6a8c5b5065bef
7
+ data.tar.gz: df443d15514a4b9e19e8d5c5196a5dc9534804e620c65dc3e4e86c01cb863a7a30e2f9d758bb0c2c3921b51e2ea589c38911acb324714cb9e36b75ff3fadff5c
@@ -19,7 +19,6 @@
19
19
  "Scan": {
20
20
  "input_token": "ExclusiveStartKey",
21
21
  "output_token": "LastEvaluatedKey",
22
- "limit_key": "Limit",
23
22
  "result_key": "Items"
24
23
  }
25
24
  }
@@ -195,6 +195,22 @@
195
195
  }
196
196
  }
197
197
  },
198
+ "waiters": {
199
+ "Stopped": {
200
+ "waiterName": "InstanceStopped",
201
+ "params": [
202
+ { "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
203
+ ],
204
+ "path": "Reservations[0].Instances[0]"
205
+ },
206
+ "Running": {
207
+ "waiterName": "InstanceRunning",
208
+ "params": [
209
+ { "target":"InstanceIds[]", "sourceType":"identifier", "source":"Id" }
210
+ ],
211
+ "path": "Reservations[0].Instances[0]"
212
+ }
213
+ },
198
214
  "hasOne": {
199
215
  "Subnet": {
200
216
  "resource": {
@@ -1012,7 +1012,10 @@
1012
1012
  },
1013
1013
  "EnvironmentInfoType":{
1014
1014
  "type":"string",
1015
- "enum":["tail"]
1015
+ "enum":[
1016
+ "tail",
1017
+ "bundle"
1018
+ ]
1016
1019
  },
1017
1020
  "EnvironmentName":{
1018
1021
  "type":"string",
@@ -121,8 +121,7 @@
121
121
  { "target" : "AccountId", "sourceType" : "identifier", "source" : "AccountId" },
122
122
  { "target" : "VaultName", "sourceType" : "identifier", "source" : "Name" }
123
123
  ]
124
- },
125
- "path" : "$"
124
+ }
126
125
  },
127
126
  "InitiateInventoryRetrieval" : {
128
127
  "request" : {
@@ -140,8 +139,7 @@
140
139
  { "target" : "AccountId", "sourceType" : "identifier", "source" : "AccountId" },
141
140
  { "target" : "VaultName", "sourceType" : "identifier", "source" : "Name" }
142
141
  ]
143
- },
144
- "path" : "$"
142
+ }
145
143
  },
146
144
  "InitiateMultipartUpload" : {
147
145
  "request" : {
@@ -158,8 +156,7 @@
158
156
  { "target" : "AccountId", "sourceType" : "identifier", "source" : "AccountId" },
159
157
  { "target" : "VaultName", "sourceType" : "identifier", "source" : "Name" }
160
158
  ]
161
- },
162
- "path" : "$"
159
+ }
163
160
  }
164
161
  },
165
162
  "hasMany" : {
@@ -187,7 +184,7 @@
187
184
  "params" : [
188
185
  { "target" : "accountId", "sourceType" : "identifier", "source" : "AccountId" },
189
186
  { "target" : "vaultName", "sourceType" : "identifier", "source" : "Name" },
190
- { "target" : "completed", "sourceType" : "boolean", "source": "true" }
187
+ { "target" : "completed", "sourceType" : "string", "source": "true" }
191
188
  ]
192
189
  },
193
190
  "resource" : {
@@ -365,8 +362,7 @@
365
362
  { "target" : "AccountId", "sourceType" : "identifier", "source" : "AccountId" },
366
363
  { "target" : "VaultName", "sourceType" : "identifier", "source" : "Name" }
367
364
  ]
368
- },
369
- "path" : "$"
365
+ }
370
366
  }
371
367
  }
372
368
  },
@@ -199,7 +199,7 @@
199
199
  { "name": "UserName" },
200
200
  { "name": "Id" }
201
201
  ],
202
- "shape": "AccessKey",
202
+ "shape": "AccessKeyMetadata",
203
203
  "actions": {
204
204
  "Activate": {
205
205
  "request": {
@@ -10,6 +10,32 @@
10
10
  "protocol":"json"
11
11
  },
12
12
  "operations":{
13
+ "AddTagsToStream":{
14
+ "name":"AddTagsToStream",
15
+ "http":{
16
+ "method":"POST",
17
+ "requestUri":"/"
18
+ },
19
+ "input":{"shape":"AddTagsToStreamInput"},
20
+ "errors":[
21
+ {
22
+ "shape":"ResourceNotFoundException",
23
+ "exception":true
24
+ },
25
+ {
26
+ "shape":"ResourceInUseException",
27
+ "exception":true
28
+ },
29
+ {
30
+ "shape":"InvalidArgumentException",
31
+ "exception":true
32
+ },
33
+ {
34
+ "shape":"LimitExceededException",
35
+ "exception":true
36
+ }
37
+ ]
38
+ },
13
39
  "CreateStream":{
14
40
  "name":"CreateStream",
15
41
  "http":{
@@ -134,6 +160,29 @@
134
160
  }
135
161
  ]
136
162
  },
163
+ "ListTagsForStream":{
164
+ "name":"ListTagsForStream",
165
+ "http":{
166
+ "method":"POST",
167
+ "requestUri":"/"
168
+ },
169
+ "input":{"shape":"ListTagsForStreamInput"},
170
+ "output":{"shape":"ListTagsForStreamOutput"},
171
+ "errors":[
172
+ {
173
+ "shape":"ResourceNotFoundException",
174
+ "exception":true
175
+ },
176
+ {
177
+ "shape":"InvalidArgumentException",
178
+ "exception":true
179
+ },
180
+ {
181
+ "shape":"LimitExceededException",
182
+ "exception":true
183
+ }
184
+ ]
185
+ },
137
186
  "MergeShards":{
138
187
  "name":"MergeShards",
139
188
  "http":{
@@ -183,6 +232,32 @@
183
232
  }
184
233
  ]
185
234
  },
235
+ "RemoveTagsFromStream":{
236
+ "name":"RemoveTagsFromStream",
237
+ "http":{
238
+ "method":"POST",
239
+ "requestUri":"/"
240
+ },
241
+ "input":{"shape":"RemoveTagsFromStreamInput"},
242
+ "errors":[
243
+ {
244
+ "shape":"ResourceNotFoundException",
245
+ "exception":true
246
+ },
247
+ {
248
+ "shape":"ResourceInUseException",
249
+ "exception":true
250
+ },
251
+ {
252
+ "shape":"InvalidArgumentException",
253
+ "exception":true
254
+ },
255
+ {
256
+ "shape":"LimitExceededException",
257
+ "exception":true
258
+ }
259
+ ]
260
+ },
186
261
  "SplitShard":{
187
262
  "name":"SplitShard",
188
263
  "http":{
@@ -211,6 +286,17 @@
211
286
  }
212
287
  },
213
288
  "shapes":{
289
+ "AddTagsToStreamInput":{
290
+ "type":"structure",
291
+ "required":[
292
+ "StreamName",
293
+ "Tags"
294
+ ],
295
+ "members":{
296
+ "StreamName":{"shape":"StreamName"},
297
+ "Tags":{"shape":"TagMap"}
298
+ }
299
+ },
214
300
  "BooleanObject":{"type":"boolean"},
215
301
  "CreateStreamInput":{
216
302
  "type":"structure",
@@ -357,6 +443,31 @@
357
443
  "HasMoreStreams":{"shape":"BooleanObject"}
358
444
  }
359
445
  },
446
+ "ListTagsForStreamInput":{
447
+ "type":"structure",
448
+ "required":["StreamName"],
449
+ "members":{
450
+ "StreamName":{"shape":"StreamName"},
451
+ "ExclusiveStartTagKey":{"shape":"TagKey"},
452
+ "Limit":{"shape":"ListTagsForStreamInputLimit"}
453
+ }
454
+ },
455
+ "ListTagsForStreamInputLimit":{
456
+ "type":"integer",
457
+ "min":1,
458
+ "max":10
459
+ },
460
+ "ListTagsForStreamOutput":{
461
+ "type":"structure",
462
+ "required":[
463
+ "Tags",
464
+ "HasMoreTags"
465
+ ],
466
+ "members":{
467
+ "Tags":{"shape":"TagList"},
468
+ "HasMoreTags":{"shape":"BooleanObject"}
469
+ }
470
+ },
360
471
  "MergeShardsInput":{
361
472
  "type":"structure",
362
473
  "required":[
@@ -429,6 +540,17 @@
429
540
  "type":"list",
430
541
  "member":{"shape":"Record"}
431
542
  },
543
+ "RemoveTagsFromStreamInput":{
544
+ "type":"structure",
545
+ "required":[
546
+ "StreamName",
547
+ "TagKeys"
548
+ ],
549
+ "members":{
550
+ "StreamName":{"shape":"StreamName"},
551
+ "TagKeys":{"shape":"TagKeyList"}
552
+ }
553
+ },
432
554
  "ResourceInUseException":{
433
555
  "type":"structure",
434
556
  "members":{
@@ -543,6 +665,42 @@
543
665
  "ACTIVE",
544
666
  "UPDATING"
545
667
  ]
668
+ },
669
+ "Tag":{
670
+ "type":"structure",
671
+ "required":["Key"],
672
+ "members":{
673
+ "Key":{"shape":"TagKey"},
674
+ "Value":{"shape":"TagValue"}
675
+ }
676
+ },
677
+ "TagKey":{
678
+ "type":"string",
679
+ "min":1,
680
+ "max":128
681
+ },
682
+ "TagKeyList":{
683
+ "type":"list",
684
+ "member":{"shape":"TagKey"},
685
+ "min":1,
686
+ "max":10
687
+ },
688
+ "TagList":{
689
+ "type":"list",
690
+ "member":{"shape":"Tag"},
691
+ "min":0
692
+ },
693
+ "TagMap":{
694
+ "type":"map",
695
+ "key":{"shape":"TagKey"},
696
+ "value":{"shape":"TagValue"},
697
+ "min":1,
698
+ "max":10
699
+ },
700
+ "TagValue":{
701
+ "type":"string",
702
+ "min":0,
703
+ "max":256
546
704
  }
547
705
  }
548
706
  }
@@ -7,12 +7,6 @@
7
7
  "output_token": "StreamDescription.Shards[-1].ShardId",
8
8
  "result_key": "StreamDescription.Shards"
9
9
  },
10
- "GetRecords": {
11
- "input_token": "ShardIterator",
12
- "limit_key": "Limit",
13
- "output_token": "NextShardIterator",
14
- "result_key": "Records"
15
- },
16
10
  "ListStreams": {
17
11
  "input_token": "ExclusiveStartStreamName",
18
12
  "limit_key": "Limit",
@@ -1107,7 +1107,8 @@
1107
1107
  "EnableSsl":{"shape":"Boolean"},
1108
1108
  "SslConfiguration":{"shape":"SslConfiguration"},
1109
1109
  "Attributes":{"shape":"AppAttributes"},
1110
- "CreatedAt":{"shape":"String"}
1110
+ "CreatedAt":{"shape":"String"},
1111
+ "Environment":{"shape":"EnvironmentVariables"}
1111
1112
  }
1112
1113
  },
1113
1114
  "AppAttributes":{
@@ -1126,6 +1127,7 @@
1126
1127
  "AppType":{
1127
1128
  "type":"string",
1128
1129
  "enum":[
1130
+ "java",
1129
1131
  "rails",
1130
1132
  "php",
1131
1133
  "nodejs",
@@ -1273,7 +1275,8 @@
1273
1275
  "Domains":{"shape":"Strings"},
1274
1276
  "EnableSsl":{"shape":"Boolean"},
1275
1277
  "SslConfiguration":{"shape":"SslConfiguration"},
1276
- "Attributes":{"shape":"AppAttributes"}
1278
+ "Attributes":{"shape":"AppAttributes"},
1279
+ "Environment":{"shape":"EnvironmentVariables"}
1277
1280
  }
1278
1281
  },
1279
1282
  "CreateAppResult":{
@@ -1673,6 +1676,7 @@
1673
1676
  "type":"structure",
1674
1677
  "members":{
1675
1678
  "InstanceId":{"shape":"String"},
1679
+ "StackId":{"shape":"String"},
1676
1680
  "RaidArrayIds":{"shape":"Strings"}
1677
1681
  }
1678
1682
  },
@@ -1829,6 +1833,22 @@
1829
1833
  "type":"list",
1830
1834
  "member":{"shape":"ElasticLoadBalancer"}
1831
1835
  },
1836
+ "EnvironmentVariable":{
1837
+ "type":"structure",
1838
+ "required":[
1839
+ "Key",
1840
+ "Value"
1841
+ ],
1842
+ "members":{
1843
+ "Key":{"shape":"String"},
1844
+ "Value":{"shape":"String"},
1845
+ "Secure":{"shape":"Boolean"}
1846
+ }
1847
+ },
1848
+ "EnvironmentVariables":{
1849
+ "type":"list",
1850
+ "member":{"shape":"EnvironmentVariable"}
1851
+ },
1832
1852
  "GetHostnameSuggestionRequest":{
1833
1853
  "type":"structure",
1834
1854
  "required":["LayerId"],
@@ -1849,7 +1869,7 @@
1849
1869
  "members":{
1850
1870
  "InstanceId":{"shape":"String"},
1851
1871
  "Ec2InstanceId":{"shape":"String"},
1852
- "VirtualizationType":{"shape":"String"},
1872
+ "VirtualizationType":{"shape":"VirtualizationType"},
1853
1873
  "Hostname":{"shape":"String"},
1854
1874
  "StackId":{"shape":"String"},
1855
1875
  "LayerIds":{"shape":"Strings"},
@@ -1967,6 +1987,7 @@
1967
1987
  "LayerType":{
1968
1988
  "type":"string",
1969
1989
  "enum":[
1990
+ "java-app",
1970
1991
  "lb",
1971
1992
  "web",
1972
1993
  "php-app",
@@ -1998,7 +2019,8 @@
1998
2019
  "Minute":{
1999
2020
  "type":"integer",
2000
2021
  "min":1,
2001
- "max":100
2022
+ "max":100,
2023
+ "box":true
2002
2024
  },
2003
2025
  "Permission":{
2004
2026
  "type":"structure",
@@ -2027,6 +2049,7 @@
2027
2049
  "MountPoint":{"shape":"String"},
2028
2050
  "AvailabilityZone":{"shape":"String"},
2029
2051
  "CreatedAt":{"shape":"DateTime"},
2052
+ "StackId":{"shape":"String"},
2030
2053
  "VolumeType":{"shape":"String"},
2031
2054
  "Iops":{"shape":"Integer"}
2032
2055
  }
@@ -2340,7 +2363,8 @@
2340
2363
  "Domains":{"shape":"Strings"},
2341
2364
  "EnableSsl":{"shape":"Boolean"},
2342
2365
  "SslConfiguration":{"shape":"SslConfiguration"},
2343
- "Attributes":{"shape":"AppAttributes"}
2366
+ "Attributes":{"shape":"AppAttributes"},
2367
+ "Environment":{"shape":"EnvironmentVariables"}
2344
2368
  }
2345
2369
  },
2346
2370
  "UpdateElasticIpRequest":{
@@ -2466,6 +2490,13 @@
2466
2490
  },
2467
2491
  "exception":true
2468
2492
  },
2493
+ "VirtualizationType":{
2494
+ "type":"string",
2495
+ "enum":[
2496
+ "paravirtual",
2497
+ "hvm"
2498
+ ]
2499
+ },
2469
2500
  "Volume":{
2470
2501
  "type":"structure",
2471
2502
  "members":{