aws-sdk-core 2.0.20 → 2.0.21

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: 25db607e7e28ace132e60d3d1e474e3535b52bf3
4
- data.tar.gz: c4a6839f4f8be7b96b34b44f502908059f09f4ba
3
+ metadata.gz: e608b0a27a526d3969dee72d51a4e8a1cfa0b123
4
+ data.tar.gz: 44683654b543b7e38e8e3cd67ad248f86739194a
5
5
  SHA512:
6
- metadata.gz: c1f055fc75182d66c9f39f289dcfcad2d0134d40e3e6936e54898442501616e7b9b7ab4ab5715e6e9e9245d83275b5c7f8c99145ed202af12e237e62bdb8446d
7
- data.tar.gz: 5d4751765e47c4fa00263feb0a8332c957329ad78ffc0844ec5be88587eeb750097f17bfe2286fb9a34db5a85e1029a967ed071af80e66d662cbb9cb7c563f9e
6
+ metadata.gz: e8d6689568cf1df6ebb55155fc348430455c6cd2bc53fbced9f934307e8de8942b19c04cbf3161a50e8f0a811e7fb94afee027796d5728d17102a2d928cc73c0
7
+ data.tar.gz: d7723558c739395ee540f89b68897e10fbd2c7e110d496bbe221ee757692913998d778984287d1e96df6b5449665e5aee83e81ab95653d0166669957b98ea988
@@ -416,6 +416,7 @@
416
416
  "Action":{"shape":"AttributeAction"}
417
417
  }
418
418
  },
419
+ "Backfilling":{"type":"boolean"},
419
420
  "BatchGetItemInput":{
420
421
  "type":"structure",
421
422
  "required":["RequestItems"],
@@ -538,6 +539,21 @@
538
539
  "member":{"shape":"ConsumedCapacity"}
539
540
  },
540
541
  "ConsumedCapacityUnits":{"type":"double"},
542
+ "CreateGlobalSecondaryIndexAction":{
543
+ "type":"structure",
544
+ "required":[
545
+ "IndexName",
546
+ "KeySchema",
547
+ "Projection",
548
+ "ProvisionedThroughput"
549
+ ],
550
+ "members":{
551
+ "IndexName":{"shape":"IndexName"},
552
+ "KeySchema":{"shape":"KeySchema"},
553
+ "Projection":{"shape":"Projection"},
554
+ "ProvisionedThroughput":{"shape":"ProvisionedThroughput"}
555
+ }
556
+ },
541
557
  "CreateTableInput":{
542
558
  "type":"structure",
543
559
  "required":[
@@ -562,6 +578,13 @@
562
578
  }
563
579
  },
564
580
  "Date":{"type":"timestamp"},
581
+ "DeleteGlobalSecondaryIndexAction":{
582
+ "type":"structure",
583
+ "required":["IndexName"],
584
+ "members":{
585
+ "IndexName":{"shape":"IndexName"}
586
+ }
587
+ },
565
588
  "DeleteItemInput":{
566
589
  "type":"structure",
567
590
  "required":[
@@ -699,6 +722,7 @@
699
722
  "KeySchema":{"shape":"KeySchema"},
700
723
  "Projection":{"shape":"Projection"},
701
724
  "IndexStatus":{"shape":"IndexStatus"},
725
+ "Backfilling":{"shape":"Backfilling"},
702
726
  "ProvisionedThroughput":{"shape":"ProvisionedThroughputDescription"},
703
727
  "IndexSizeBytes":{"shape":"Long"},
704
728
  "ItemCount":{"shape":"Long"}
@@ -715,7 +739,9 @@
715
739
  "GlobalSecondaryIndexUpdate":{
716
740
  "type":"structure",
717
741
  "members":{
718
- "Update":{"shape":"UpdateGlobalSecondaryIndexAction"}
742
+ "Update":{"shape":"UpdateGlobalSecondaryIndexAction"},
743
+ "Create":{"shape":"CreateGlobalSecondaryIndexAction"},
744
+ "Delete":{"shape":"DeleteGlobalSecondaryIndexAction"}
719
745
  }
720
746
  },
721
747
  "GlobalSecondaryIndexUpdateList":{
@@ -1234,6 +1260,7 @@
1234
1260
  "type":"structure",
1235
1261
  "required":["TableName"],
1236
1262
  "members":{
1263
+ "AttributeDefinitions":{"shape":"AttributeDefinitions"},
1237
1264
  "TableName":{"shape":"TableName"},
1238
1265
  "ProvisionedThroughput":{"shape":"ProvisionedThroughput"},
1239
1266
  "GlobalSecondaryIndexUpdates":{"shape":"GlobalSecondaryIndexUpdateList"}
@@ -34,6 +34,9 @@
34
34
  "result_key": "InstanceStatuses"
35
35
  },
36
36
  "DescribeInstances": {
37
+ "input_token": "NextToken",
38
+ "output_token": "NextToken",
39
+ "limit_key": "MaxResults",
37
40
  "result_key": "Reservations"
38
41
  },
39
42
  "DescribeInternetGateways": {
@@ -40,6 +40,10 @@
40
40
  {
41
41
  "shape":"InvalidAccessKeyIdException",
42
42
  "exception":true
43
+ },
44
+ {
45
+ "shape":"InvalidVersionException",
46
+ "exception":true
43
47
  }
44
48
  ]
45
49
  },
@@ -63,10 +67,6 @@
63
67
  "shape":"InvalidParameterException",
64
68
  "exception":true
65
69
  },
66
- {
67
- "shape":"InvalidParameterException",
68
- "exception":true
69
- },
70
70
  {
71
71
  "shape":"InvalidAccessKeyIdException",
72
72
  "exception":true
@@ -110,6 +110,60 @@
110
110
  {
111
111
  "shape":"MalformedManifestException",
112
112
  "exception":true
113
+ },
114
+ {
115
+ "shape":"CreateJobQuotaExceededException",
116
+ "exception":true
117
+ },
118
+ {
119
+ "shape":"InvalidJobIdException",
120
+ "exception":true
121
+ },
122
+ {
123
+ "shape":"InvalidVersionException",
124
+ "exception":true
125
+ }
126
+ ]
127
+ },
128
+ "GetShippingLabel":{
129
+ "name":"GetShippingLabel",
130
+ "http":{
131
+ "method":"POST",
132
+ "requestUri":"/?Operation=GetShippingLabel"
133
+ },
134
+ "input":{"shape":"GetShippingLabelInput"},
135
+ "output":{
136
+ "shape":"GetShippingLabelOutput",
137
+ "resultWrapper":"GetShippingLabelResult"
138
+ },
139
+ "errors":[
140
+ {
141
+ "shape":"InvalidJobIdException",
142
+ "exception":true
143
+ },
144
+ {
145
+ "shape":"ExpiredJobIdException",
146
+ "exception":true
147
+ },
148
+ {
149
+ "shape":"CanceledJobIdException",
150
+ "exception":true
151
+ },
152
+ {
153
+ "shape":"InvalidAccessKeyIdException",
154
+ "exception":true
155
+ },
156
+ {
157
+ "shape":"InvalidAddressException",
158
+ "exception":true
159
+ },
160
+ {
161
+ "shape":"InvalidVersionException",
162
+ "exception":true
163
+ },
164
+ {
165
+ "shape":"InvalidParameterException",
166
+ "exception":true
113
167
  }
114
168
  ]
115
169
  },
@@ -140,6 +194,10 @@
140
194
  {
141
195
  "shape":"InvalidAccessKeyIdException",
142
196
  "exception":true
197
+ },
198
+ {
199
+ "shape":"InvalidVersionException",
200
+ "exception":true
143
201
  }
144
202
  ]
145
203
  },
@@ -162,6 +220,10 @@
162
220
  {
163
221
  "shape":"InvalidAccessKeyIdException",
164
222
  "exception":true
223
+ },
224
+ {
225
+ "shape":"InvalidVersionException",
226
+ "exception":true
165
227
  }
166
228
  ]
167
229
  },
@@ -240,12 +302,31 @@
240
302
  {
241
303
  "shape":"MalformedManifestException",
242
304
  "exception":true
305
+ },
306
+ {
307
+ "shape":"UnableToUpdateJobIdException",
308
+ "exception":true
309
+ },
310
+ {
311
+ "shape":"InvalidVersionException",
312
+ "exception":true
243
313
  }
244
314
  ]
245
315
  }
246
316
  },
247
317
  "shapes":{
248
- "AwsShippingAddress":{"type":"string"},
318
+ "APIVersion":{"type":"string"},
319
+ "Artifact":{
320
+ "type":"structure",
321
+ "members":{
322
+ "Description":{"shape":"Description"},
323
+ "URL":{"shape":"URL"}
324
+ }
325
+ },
326
+ "ArtifactList":{
327
+ "type":"list",
328
+ "member":{"shape":"Artifact"}
329
+ },
249
330
  "BucketPermissionException":{
250
331
  "type":"structure",
251
332
  "members":{
@@ -257,7 +338,8 @@
257
338
  "type":"structure",
258
339
  "required":["JobId"],
259
340
  "members":{
260
- "JobId":{"shape":"JobId"}
341
+ "JobId":{"shape":"JobId"},
342
+ "APIVersion":{"shape":"APIVersion"}
261
343
  }
262
344
  },
263
345
  "CancelJobOutput":{
@@ -285,7 +367,8 @@
285
367
  "JobType":{"shape":"JobType"},
286
368
  "Manifest":{"shape":"Manifest"},
287
369
  "ManifestAddendum":{"shape":"ManifestAddendum"},
288
- "ValidateOnly":{"shape":"ValidateOnly"}
370
+ "ValidateOnly":{"shape":"ValidateOnly"},
371
+ "APIVersion":{"shape":"APIVersion"}
289
372
  }
290
373
  },
291
374
  "CreateJobOutput":{
@@ -293,14 +376,22 @@
293
376
  "members":{
294
377
  "JobId":{"shape":"JobId"},
295
378
  "JobType":{"shape":"JobType"},
296
- "AwsShippingAddress":{"shape":"AwsShippingAddress"},
297
379
  "Signature":{"shape":"Signature"},
298
380
  "SignatureFileContents":{"shape":"SignatureFileContents"},
299
- "WarningMessage":{"shape":"WarningMessage"}
381
+ "WarningMessage":{"shape":"WarningMessage"},
382
+ "ArtifactList":{"shape":"ArtifactList"}
300
383
  }
301
384
  },
385
+ "CreateJobQuotaExceededException":{
386
+ "type":"structure",
387
+ "members":{
388
+ "message":{"shape":"ErrorMessage"}
389
+ },
390
+ "exception":true
391
+ },
302
392
  "CreationDate":{"type":"timestamp"},
303
393
  "CurrentManifest":{"type":"string"},
394
+ "Description":{"type":"string"},
304
395
  "ErrorCount":{"type":"integer"},
305
396
  "ErrorMessage":{"type":"string"},
306
397
  "ExpiredJobIdException":{
@@ -310,11 +401,38 @@
310
401
  },
311
402
  "exception":true
312
403
  },
404
+ "GenericString":{"type":"string"},
405
+ "GetShippingLabelInput":{
406
+ "type":"structure",
407
+ "required":["jobIds"],
408
+ "members":{
409
+ "jobIds":{"shape":"JobIdList"},
410
+ "name":{"shape":"GenericString"},
411
+ "company":{"shape":"GenericString"},
412
+ "phoneNumber":{"shape":"GenericString"},
413
+ "country":{"shape":"GenericString"},
414
+ "stateOrProvince":{"shape":"GenericString"},
415
+ "city":{"shape":"GenericString"},
416
+ "postalCode":{"shape":"GenericString"},
417
+ "street1":{"shape":"GenericString"},
418
+ "street2":{"shape":"GenericString"},
419
+ "street3":{"shape":"GenericString"},
420
+ "APIVersion":{"shape":"GenericString"}
421
+ }
422
+ },
423
+ "GetShippingLabelOutput":{
424
+ "type":"structure",
425
+ "members":{
426
+ "ShippingLabelURL":{"shape":"GenericString"},
427
+ "Warning":{"shape":"GenericString"}
428
+ }
429
+ },
313
430
  "GetStatusInput":{
314
431
  "type":"structure",
315
432
  "required":["JobId"],
316
433
  "members":{
317
- "JobId":{"shape":"JobId"}
434
+ "JobId":{"shape":"JobId"},
435
+ "APIVersion":{"shape":"APIVersion"}
318
436
  }
319
437
  },
320
438
  "GetStatusOutput":{
@@ -322,7 +440,6 @@
322
440
  "members":{
323
441
  "JobId":{"shape":"JobId"},
324
442
  "JobType":{"shape":"JobType"},
325
- "AwsShippingAddress":{"shape":"AwsShippingAddress"},
326
443
  "LocationCode":{"shape":"LocationCode"},
327
444
  "LocationMessage":{"shape":"LocationMessage"},
328
445
  "ProgressCode":{"shape":"ProgressCode"},
@@ -335,7 +452,8 @@
335
452
  "Signature":{"shape":"Signature"},
336
453
  "SignatureFileContents":{"shape":"Signature"},
337
454
  "CurrentManifest":{"shape":"CurrentManifest"},
338
- "CreationDate":{"shape":"CreationDate"}
455
+ "CreationDate":{"shape":"CreationDate"},
456
+ "ArtifactList":{"shape":"ArtifactList"}
339
457
  }
340
458
  },
341
459
  "InvalidAccessKeyIdException":{
@@ -387,6 +505,13 @@
387
505
  },
388
506
  "exception":true
389
507
  },
508
+ "InvalidVersionException":{
509
+ "type":"structure",
510
+ "members":{
511
+ "message":{"shape":"ErrorMessage"}
512
+ },
513
+ "exception":true
514
+ },
390
515
  "IsCanceled":{"type":"boolean"},
391
516
  "IsTruncated":{"type":"boolean"},
392
517
  "Job":{
@@ -399,6 +524,10 @@
399
524
  }
400
525
  },
401
526
  "JobId":{"type":"string"},
527
+ "JobIdList":{
528
+ "type":"list",
529
+ "member":{"shape":"GenericString"}
530
+ },
402
531
  "JobType":{
403
532
  "type":"string",
404
533
  "enum":[
@@ -414,7 +543,8 @@
414
543
  "type":"structure",
415
544
  "members":{
416
545
  "MaxJobs":{"shape":"MaxJobs"},
417
- "Marker":{"shape":"Marker"}
546
+ "Marker":{"shape":"Marker"},
547
+ "APIVersion":{"shape":"APIVersion"}
418
548
  }
419
549
  },
420
550
  "ListJobsOutput":{
@@ -480,6 +610,7 @@
480
610
  "SignatureFileContents":{"type":"string"},
481
611
  "Success":{"type":"boolean"},
482
612
  "TrackingNumber":{"type":"string"},
613
+ "URL":{"type":"string"},
483
614
  "UnableToCancelJobIdException":{
484
615
  "type":"structure",
485
616
  "members":{
@@ -487,6 +618,13 @@
487
618
  },
488
619
  "exception":true
489
620
  },
621
+ "UnableToUpdateJobIdException":{
622
+ "type":"structure",
623
+ "members":{
624
+ "message":{"shape":"ErrorMessage"}
625
+ },
626
+ "exception":true
627
+ },
490
628
  "UpdateJobInput":{
491
629
  "type":"structure",
492
630
  "required":[
@@ -499,14 +637,16 @@
499
637
  "JobId":{"shape":"JobId"},
500
638
  "Manifest":{"shape":"Manifest"},
501
639
  "JobType":{"shape":"JobType"},
502
- "ValidateOnly":{"shape":"ValidateOnly"}
640
+ "ValidateOnly":{"shape":"ValidateOnly"},
641
+ "APIVersion":{"shape":"APIVersion"}
503
642
  }
504
643
  },
505
644
  "UpdateJobOutput":{
506
645
  "type":"structure",
507
646
  "members":{
508
647
  "Success":{"shape":"Success"},
509
- "WarningMessage":{"shape":"WarningMessage"}
648
+ "WarningMessage":{"shape":"WarningMessage"},
649
+ "ArtifactList":{"shape":"ArtifactList"}
510
650
  }
511
651
  },
512
652
  "ValidateOnly":{"type":"boolean"},
@@ -328,7 +328,7 @@
328
328
  },
329
329
  "FunctionArn":{
330
330
  "type":"string",
331
- "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-]+(\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?"
331
+ "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?"
332
332
  },
333
333
  "FunctionCodeLocation":{
334
334
  "type":"structure",
@@ -362,7 +362,7 @@
362
362
  "type":"string",
363
363
  "min":1,
364
364
  "max":64,
365
- "pattern":"[a-zA-Z0-9-]+"
365
+ "pattern":"[a-zA-Z0-9-_]+"
366
366
  },
367
367
  "GetEventSourceRequest":{
368
368
  "type":"structure",
@@ -520,7 +520,7 @@
520
520
  },
521
521
  "MemorySize":{
522
522
  "type":"integer",
523
- "min":64,
523
+ "min":128,
524
524
  "max":1024
525
525
  },
526
526
  "Mode":{
@@ -549,7 +549,7 @@
549
549
  },
550
550
  "RoleArn":{
551
551
  "type":"string",
552
- "pattern":"arn:aws:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_]+"
552
+ "pattern":"arn:aws:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
553
553
  },
554
554
  "Runtime":{
555
555
  "type":"string",
@@ -570,7 +570,7 @@
570
570
  "min":1,
571
571
  "max":60
572
572
  },
573
- "Timestamp":{"type":"timestamp"},
573
+ "Timestamp":{"type":"string"},
574
574
  "UpdateFunctionConfigurationRequest":{
575
575
  "type":"structure",
576
576
  "required":["FunctionName"],
@@ -93,6 +93,10 @@ module Aws
93
93
  end
94
94
  end
95
95
 
96
+ customize 'lambda' do
97
+ reshape 'Timestamp', 'type' => 'timestamp'
98
+ end
99
+
96
100
  customize 'route53' do
97
101
  add_plugin 'Aws::Plugins::Route53IdFix'
98
102
  reshape 'PageMaxItems', 'type' => 'integer'
@@ -39,7 +39,7 @@ module Aws
39
39
  #
40
40
  # You can configure the maximum number of polling attempts, and the
41
41
  # delay (in seconds) between each polling attempt. You configure
42
- # waiters by passing a block to #{wait_until}:
42
+ # waiters by passing a block to {#wait_until}:
43
43
  #
44
44
  # # poll for ~25 seconds
45
45
  # client.wait_until(...) do |w|
@@ -54,9 +54,27 @@ module Aws
54
54
  resp.error = stub.new
55
55
  else
56
56
  resp.data = stub
57
+ stub_http_body(resp) if streaming?(resp)
57
58
  end
58
59
  end
59
60
 
61
+ def streaming?(resp)
62
+ if output = resp.context.operation.output
63
+ payload = output.payload_member
64
+ payload && payload.definition['streaming'] == true
65
+ else
66
+ false
67
+ end
68
+ end
69
+
70
+ def stub_http_body(resp)
71
+ payload = resp.context.operation.output.payload
72
+ body = resp.context.http_response.body
73
+ body.write(resp.data[payload])
74
+ body.rewind if body.respond_to?(:rewind)
75
+ resp.data[payload] = body
76
+ end
77
+
60
78
  end
61
79
  end
62
80
  end
@@ -9,7 +9,7 @@ module Aws
9
9
  @params = param_list
10
10
  end
11
11
 
12
- # @param [ParamList]
12
+ # @return [ParamList]
13
13
  attr_reader :params
14
14
 
15
15
  # Serializes the `params` hash onto {#param_list} following the rules
@@ -9,7 +9,7 @@ module Aws
9
9
  @params = param_list
10
10
  end
11
11
 
12
- # @param [ParamList]
12
+ # @return [ParamList]
13
13
  attr_reader :params
14
14
 
15
15
  # Serializes the `params` hash onto {#param_list} following the rules
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.0.20'
2
+ VERSION = '2.0.21'
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.20
4
+ version: 2.0.21
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-01-20 00:00:00.000000000 Z
11
+ date: 2015-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json