aws-sdk-core 2.0.30 → 2.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e5565de9fac343a1538ad3024b3eb832421a10d
4
- data.tar.gz: f87ebae71daab5281f05bc9c15f3258a48c14195
3
+ metadata.gz: 2527f5d46e4a0136c5c0f3bfe9559b007bef4305
4
+ data.tar.gz: 8abce5aaf9b9848e3bbe2eaf49be9be10b4fb526
5
5
  SHA512:
6
- metadata.gz: 39345041cb751c51f6c1237ae2221be82f758de23e5b5c6c2292caa843f0d306a2cbbf35f48564f521002896751f00cfdc6502229fffe607890069864d4a8b5c
7
- data.tar.gz: 54b5a6ec5786fc9202eb1b46c145fffdd5cc81913d6e66ef77f464ba9a2daf7dcbaf99613bf5aa55712bb5d7a21fe6a7a1e71d2f54e24462518d78e6004c31d1
6
+ metadata.gz: 1aa1557d3265161f88854ea6d540758e1c7051f07d50555fd2c1c8caf3d75bd2d426ae2e70c0b1c45768e681bf291643d014531352dfbd1ce30ec8cc99e02f2f
7
+ data.tar.gz: 195b56cc858a097688b8a81158c1304e45c44151281a693d994b1be21ec374dd450036c984ebd3faffba6b7297ed2b6cbcf6a050e5d9e627b7716a8da6f9f064
@@ -65,7 +65,7 @@
65
65
  "resource": {
66
66
  "type": "PlacementGroup",
67
67
  "identifiers": [
68
- { "target": "Id", "source": "requestParameter", "path": "GroupName" }
68
+ { "target": "Name", "source": "requestParameter", "path": "GroupName" }
69
69
  ]
70
70
  }
71
71
  },
@@ -1298,6 +1298,14 @@
1298
1298
  { "target": "Value", "source": "requestParameter", "path": "Tags[].Value" }
1299
1299
  ]
1300
1300
  }
1301
+ },
1302
+ "Delete": {
1303
+ "request": {
1304
+ "operation": "DeleteRouteTable",
1305
+ "params": [
1306
+ { "target": "RouteTableId", "source": "identifier", "name": "Id" }
1307
+ ]
1308
+ }
1301
1309
  }
1302
1310
  },
1303
1311
  "has": {
@@ -705,7 +705,7 @@
705
705
  },
706
706
  "AudioCodec":{
707
707
  "type":"string",
708
- "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)"
708
+ "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)"
709
709
  },
710
710
  "AudioCodecOptions":{
711
711
  "type":"structure",
@@ -1114,7 +1114,8 @@
1114
1114
  "AlbumArt":{"shape":"JobAlbumArt"},
1115
1115
  "Composition":{"shape":"Composition"},
1116
1116
  "Captions":{"shape":"Captions"},
1117
- "Encryption":{"shape":"Encryption"}
1117
+ "Encryption":{"shape":"Encryption"},
1118
+ "AppliedColorSpaceConversion":{"shape":"String"}
1118
1119
  }
1119
1120
  },
1120
1121
  "JobOutputs":{
@@ -1391,7 +1392,7 @@
1391
1392
  },
1392
1393
  "PresetContainer":{
1393
1394
  "type":"string",
1394
- "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^ogg$)|(^fmp4$)"
1395
+ "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)"
1395
1396
  },
1396
1397
  "PresetType":{
1397
1398
  "type":"string",
@@ -1676,7 +1677,7 @@
1676
1677
  },
1677
1678
  "VideoCodec":{
1678
1679
  "type":"string",
1679
- "pattern":"(^H\\.264$)|(^vp8$)"
1680
+ "pattern":"(^H\\.264$)|(^vp8$)|(^mpeg2$)|(^gif$)"
1680
1681
  },
1681
1682
  "VideoParameters":{
1682
1683
  "type":"structure",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2006-03-01",
4
5
  "checksumFormat":"md5",
@@ -17,6 +18,7 @@
17
18
  "requestUri":"/{Bucket}/{Key+}"
18
19
  },
19
20
  "input":{"shape":"AbortMultipartUploadRequest"},
21
+ "output":{"shape":"AbortMultipartUploadOutput"},
20
22
  "errors":[
21
23
  {
22
24
  "shape":"NoSuchUpload",
@@ -503,6 +505,7 @@
503
505
  "requestUri":"/{Bucket}/{Key+}?acl"
504
506
  },
505
507
  "input":{"shape":"PutObjectAclRequest"},
508
+ "output":{"shape":"PutObjectAclOutput"},
506
509
  "errors":[
507
510
  {
508
511
  "shape":"NoSuchKey",
@@ -518,6 +521,7 @@
518
521
  "requestUri":"/{Bucket}/{Key+}?restore"
519
522
  },
520
523
  "input":{"shape":"RestoreObjectRequest"},
524
+ "output":{"shape":"RestoreObjectOutput"},
521
525
  "errors":[
522
526
  {
523
527
  "shape":"ObjectAlreadyInActiveTierError",
@@ -549,6 +553,16 @@
549
553
  }
550
554
  },
551
555
  "shapes":{
556
+ "AbortMultipartUploadOutput":{
557
+ "type":"structure",
558
+ "members":{
559
+ "RequestCharged":{
560
+ "shape":"RequestCharged",
561
+ "location":"header",
562
+ "locationName":"x-amz-request-charged"
563
+ }
564
+ }
565
+ },
552
566
  "AbortMultipartUploadRequest":{
553
567
  "type":"structure",
554
568
  "required":[
@@ -571,6 +585,11 @@
571
585
  "shape":"MultipartUploadId",
572
586
  "location":"querystring",
573
587
  "locationName":"uploadId"
588
+ },
589
+ "RequestPayer":{
590
+ "shape":"RequestPayer",
591
+ "location":"header",
592
+ "locationName":"x-amz-request-payer"
574
593
  }
575
594
  }
576
595
  },
@@ -764,6 +783,11 @@
764
783
  "shape":"SSEKMSKeyId",
765
784
  "location":"header",
766
785
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
786
+ },
787
+ "RequestCharged":{
788
+ "shape":"RequestCharged",
789
+ "location":"header",
790
+ "locationName":"x-amz-request-charged"
767
791
  }
768
792
  }
769
793
  },
@@ -794,6 +818,11 @@
794
818
  "shape":"MultipartUploadId",
795
819
  "location":"querystring",
796
820
  "locationName":"uploadId"
821
+ },
822
+ "RequestPayer":{
823
+ "shape":"RequestPayer",
824
+ "location":"header",
825
+ "locationName":"x-amz-request-payer"
797
826
  }
798
827
  },
799
828
  "payload":"MultipartUpload"
@@ -865,6 +894,11 @@
865
894
  "shape":"SSEKMSKeyId",
866
895
  "location":"header",
867
896
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
897
+ },
898
+ "RequestCharged":{
899
+ "shape":"RequestCharged",
900
+ "location":"header",
901
+ "locationName":"x-amz-request-charged"
868
902
  }
869
903
  },
870
904
  "payload":"CopyObjectResult"
@@ -1026,6 +1060,11 @@
1026
1060
  "shape":"CopySourceSSECustomerKeyMD5",
1027
1061
  "location":"header",
1028
1062
  "locationName":"x-amz-copy-source-server-side-encryption-customer-key-MD5"
1063
+ },
1064
+ "RequestPayer":{
1065
+ "shape":"RequestPayer",
1066
+ "location":"header",
1067
+ "locationName":"x-amz-request-payer"
1029
1068
  }
1030
1069
  }
1031
1070
  },
@@ -1150,6 +1189,11 @@
1150
1189
  "shape":"SSEKMSKeyId",
1151
1190
  "location":"header",
1152
1191
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
1192
+ },
1193
+ "RequestCharged":{
1194
+ "shape":"RequestCharged",
1195
+ "location":"header",
1196
+ "locationName":"x-amz-request-charged"
1153
1197
  }
1154
1198
  }
1155
1199
  },
@@ -1264,6 +1308,11 @@
1264
1308
  "shape":"SSEKMSKeyId",
1265
1309
  "location":"header",
1266
1310
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
1311
+ },
1312
+ "RequestPayer":{
1313
+ "shape":"RequestPayer",
1314
+ "location":"header",
1315
+ "locationName":"x-amz-request-payer"
1267
1316
  }
1268
1317
  }
1269
1318
  },
@@ -1379,6 +1428,11 @@
1379
1428
  "shape":"ObjectVersionId",
1380
1429
  "location":"header",
1381
1430
  "locationName":"x-amz-version-id"
1431
+ },
1432
+ "RequestCharged":{
1433
+ "shape":"RequestCharged",
1434
+ "location":"header",
1435
+ "locationName":"x-amz-request-charged"
1382
1436
  }
1383
1437
  }
1384
1438
  },
@@ -1408,6 +1462,11 @@
1408
1462
  "shape":"ObjectVersionId",
1409
1463
  "location":"querystring",
1410
1464
  "locationName":"versionId"
1465
+ },
1466
+ "RequestPayer":{
1467
+ "shape":"RequestPayer",
1468
+ "location":"header",
1469
+ "locationName":"x-amz-request-payer"
1411
1470
  }
1412
1471
  }
1413
1472
  },
@@ -1415,6 +1474,11 @@
1415
1474
  "type":"structure",
1416
1475
  "members":{
1417
1476
  "Deleted":{"shape":"DeletedObjects"},
1477
+ "RequestCharged":{
1478
+ "shape":"RequestCharged",
1479
+ "location":"header",
1480
+ "locationName":"x-amz-request-charged"
1481
+ },
1418
1482
  "Errors":{
1419
1483
  "shape":"Errors",
1420
1484
  "locationName":"Error"
@@ -1442,6 +1506,11 @@
1442
1506
  "shape":"MFA",
1443
1507
  "location":"header",
1444
1508
  "locationName":"x-amz-mfa"
1509
+ },
1510
+ "RequestPayer":{
1511
+ "shape":"RequestPayer",
1512
+ "location":"header",
1513
+ "locationName":"x-amz-request-payer"
1445
1514
  }
1446
1515
  },
1447
1516
  "payload":"Delete"
@@ -1504,7 +1573,7 @@
1504
1573
  "member":{"shape":"Event"},
1505
1574
  "flattened":true
1506
1575
  },
1507
- "Expiration":{"type":"timestamp"},
1576
+ "Expiration":{"type":"string"},
1508
1577
  "ExpirationStatus":{
1509
1578
  "type":"string",
1510
1579
  "enum":[
@@ -1734,6 +1803,11 @@
1734
1803
  "Grants":{
1735
1804
  "shape":"Grants",
1736
1805
  "locationName":"AccessControlList"
1806
+ },
1807
+ "RequestCharged":{
1808
+ "shape":"RequestCharged",
1809
+ "location":"header",
1810
+ "locationName":"x-amz-request-charged"
1737
1811
  }
1738
1812
  }
1739
1813
  },
@@ -1758,6 +1832,11 @@
1758
1832
  "shape":"ObjectVersionId",
1759
1833
  "location":"querystring",
1760
1834
  "locationName":"versionId"
1835
+ },
1836
+ "RequestPayer":{
1837
+ "shape":"RequestPayer",
1838
+ "location":"header",
1839
+ "locationName":"x-amz-request-payer"
1761
1840
  }
1762
1841
  }
1763
1842
  },
@@ -1872,6 +1951,11 @@
1872
1951
  "shape":"SSEKMSKeyId",
1873
1952
  "location":"header",
1874
1953
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
1954
+ },
1955
+ "RequestCharged":{
1956
+ "shape":"RequestCharged",
1957
+ "location":"header",
1958
+ "locationName":"x-amz-request-charged"
1875
1959
  }
1876
1960
  },
1877
1961
  "payload":"Body"
@@ -1967,6 +2051,11 @@
1967
2051
  "shape":"SSECustomerKeyMD5",
1968
2052
  "location":"header",
1969
2053
  "locationName":"x-amz-server-side-encryption-customer-key-MD5"
2054
+ },
2055
+ "RequestPayer":{
2056
+ "shape":"RequestPayer",
2057
+ "location":"header",
2058
+ "locationName":"x-amz-request-payer"
1970
2059
  }
1971
2060
  }
1972
2061
  },
@@ -1976,6 +2065,11 @@
1976
2065
  "Body":{
1977
2066
  "shape":"Body",
1978
2067
  "streaming":true
2068
+ },
2069
+ "RequestCharged":{
2070
+ "shape":"RequestCharged",
2071
+ "location":"header",
2072
+ "locationName":"x-amz-request-charged"
1979
2073
  }
1980
2074
  },
1981
2075
  "payload":"Body"
@@ -1996,6 +2090,11 @@
1996
2090
  "shape":"ObjectKey",
1997
2091
  "location":"uri",
1998
2092
  "locationName":"Key"
2093
+ },
2094
+ "RequestPayer":{
2095
+ "shape":"RequestPayer",
2096
+ "location":"header",
2097
+ "locationName":"x-amz-request-payer"
1999
2098
  }
2000
2099
  }
2001
2100
  },
@@ -2155,6 +2254,11 @@
2155
2254
  "shape":"SSEKMSKeyId",
2156
2255
  "location":"header",
2157
2256
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
2257
+ },
2258
+ "RequestCharged":{
2259
+ "shape":"RequestCharged",
2260
+ "location":"header",
2261
+ "locationName":"x-amz-request-charged"
2158
2262
  }
2159
2263
  }
2160
2264
  },
@@ -2219,6 +2323,11 @@
2219
2323
  "shape":"SSECustomerKeyMD5",
2220
2324
  "location":"header",
2221
2325
  "locationName":"x-amz-server-side-encryption-customer-key-MD5"
2326
+ },
2327
+ "RequestPayer":{
2328
+ "shape":"RequestPayer",
2329
+ "location":"header",
2330
+ "locationName":"x-amz-request-payer"
2222
2331
  }
2223
2332
  }
2224
2333
  },
@@ -2467,7 +2576,12 @@
2467
2576
  },
2468
2577
  "Initiator":{"shape":"Initiator"},
2469
2578
  "Owner":{"shape":"Owner"},
2470
- "StorageClass":{"shape":"StorageClass"}
2579
+ "StorageClass":{"shape":"StorageClass"},
2580
+ "RequestCharged":{
2581
+ "shape":"RequestCharged",
2582
+ "location":"header",
2583
+ "locationName":"x-amz-request-charged"
2584
+ }
2471
2585
  }
2472
2586
  },
2473
2587
  "ListPartsRequest":{
@@ -2502,6 +2616,11 @@
2502
2616
  "shape":"MultipartUploadId",
2503
2617
  "location":"querystring",
2504
2618
  "locationName":"uploadId"
2619
+ },
2620
+ "RequestPayer":{
2621
+ "shape":"RequestPayer",
2622
+ "location":"header",
2623
+ "locationName":"x-amz-request-payer"
2505
2624
  }
2506
2625
  }
2507
2626
  },
@@ -3017,6 +3136,16 @@
3017
3136
  },
3018
3137
  "payload":"WebsiteConfiguration"
3019
3138
  },
3139
+ "PutObjectAclOutput":{
3140
+ "type":"structure",
3141
+ "members":{
3142
+ "RequestCharged":{
3143
+ "shape":"RequestCharged",
3144
+ "location":"header",
3145
+ "locationName":"x-amz-request-charged"
3146
+ }
3147
+ }
3148
+ },
3020
3149
  "PutObjectAclRequest":{
3021
3150
  "type":"structure",
3022
3151
  "required":[
@@ -3073,6 +3202,11 @@
3073
3202
  "shape":"ObjectKey",
3074
3203
  "location":"uri",
3075
3204
  "locationName":"Key"
3205
+ },
3206
+ "RequestPayer":{
3207
+ "shape":"RequestPayer",
3208
+ "location":"header",
3209
+ "locationName":"x-amz-request-payer"
3076
3210
  }
3077
3211
  },
3078
3212
  "payload":"AccessControlPolicy"
@@ -3114,6 +3248,11 @@
3114
3248
  "shape":"SSEKMSKeyId",
3115
3249
  "location":"header",
3116
3250
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
3251
+ },
3252
+ "RequestCharged":{
3253
+ "shape":"RequestCharged",
3254
+ "location":"header",
3255
+ "locationName":"x-amz-request-charged"
3117
3256
  }
3118
3257
  }
3119
3258
  },
@@ -3242,6 +3381,11 @@
3242
3381
  "shape":"SSEKMSKeyId",
3243
3382
  "location":"header",
3244
3383
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
3384
+ },
3385
+ "RequestPayer":{
3386
+ "shape":"RequestPayer",
3387
+ "location":"header",
3388
+ "locationName":"x-amz-request-payer"
3245
3389
  }
3246
3390
  },
3247
3391
  "payload":"Body"
@@ -3284,6 +3428,14 @@
3284
3428
  },
3285
3429
  "ReplaceKeyPrefixWith":{"type":"string"},
3286
3430
  "ReplaceKeyWith":{"type":"string"},
3431
+ "RequestCharged":{
3432
+ "type":"string",
3433
+ "enum":["requester"]
3434
+ },
3435
+ "RequestPayer":{
3436
+ "type":"string",
3437
+ "enum":["requester"]
3438
+ },
3287
3439
  "RequestPaymentConfiguration":{
3288
3440
  "type":"structure",
3289
3441
  "required":["Payer"],
@@ -3298,6 +3450,16 @@
3298
3450
  "ResponseContentType":{"type":"string"},
3299
3451
  "ResponseExpires":{"type":"timestamp"},
3300
3452
  "Restore":{"type":"string"},
3453
+ "RestoreObjectOutput":{
3454
+ "type":"structure",
3455
+ "members":{
3456
+ "RequestCharged":{
3457
+ "shape":"RequestCharged",
3458
+ "location":"header",
3459
+ "locationName":"x-amz-request-charged"
3460
+ }
3461
+ }
3462
+ },
3301
3463
  "RestoreObjectRequest":{
3302
3464
  "type":"structure",
3303
3465
  "required":[
@@ -3324,6 +3486,11 @@
3324
3486
  "shape":"RestoreRequest",
3325
3487
  "xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"},
3326
3488
  "locationName":"RestoreRequest"
3489
+ },
3490
+ "RequestPayer":{
3491
+ "shape":"RequestPayer",
3492
+ "location":"header",
3493
+ "locationName":"x-amz-request-payer"
3327
3494
  }
3328
3495
  },
3329
3496
  "payload":"RestoreRequest"
@@ -3501,6 +3668,11 @@
3501
3668
  "shape":"SSEKMSKeyId",
3502
3669
  "location":"header",
3503
3670
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
3671
+ },
3672
+ "RequestCharged":{
3673
+ "shape":"RequestCharged",
3674
+ "location":"header",
3675
+ "locationName":"x-amz-request-charged"
3504
3676
  }
3505
3677
  },
3506
3678
  "payload":"CopyPartResult"
@@ -3594,6 +3766,11 @@
3594
3766
  "shape":"CopySourceSSECustomerKeyMD5",
3595
3767
  "location":"header",
3596
3768
  "locationName":"x-amz-copy-source-server-side-encryption-customer-key-MD5"
3769
+ },
3770
+ "RequestPayer":{
3771
+ "shape":"RequestPayer",
3772
+ "location":"header",
3773
+ "locationName":"x-amz-request-payer"
3597
3774
  }
3598
3775
  }
3599
3776
  },
@@ -3624,6 +3801,11 @@
3624
3801
  "shape":"SSEKMSKeyId",
3625
3802
  "location":"header",
3626
3803
  "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
3804
+ },
3805
+ "RequestCharged":{
3806
+ "shape":"RequestCharged",
3807
+ "location":"header",
3808
+ "locationName":"x-amz-request-charged"
3627
3809
  }
3628
3810
  }
3629
3811
  },
@@ -3684,6 +3866,11 @@
3684
3866
  "shape":"SSECustomerKeyMD5",
3685
3867
  "location":"header",
3686
3868
  "locationName":"x-amz-server-side-encryption-customer-key-MD5"
3869
+ },
3870
+ "RequestPayer":{
3871
+ "shape":"RequestPayer",
3872
+ "location":"header",
3873
+ "locationName":"x-amz-request-payer"
3687
3874
  }
3688
3875
  },
3689
3876
  "payload":"Body"
@@ -1,6 +1,6 @@
1
1
  module Aws
2
2
  module Json
3
- class ErrorHandler < Seahorse::Client::Handler
3
+ class ErrorHandler < Xml::ErrorHandler
4
4
 
5
5
  # @param [Seahorse::Client::RequestContext] context
6
6
  # @return [Seahorse::Client::Response]
@@ -13,13 +13,6 @@ module Aws
13
13
 
14
14
  private
15
15
 
16
- def error(context)
17
- error_code, error_message = extract_error(context)
18
- svc = context.client.class.name.split('::')[1]
19
- errors_module = Aws.const_get(svc).const_get(:Errors)
20
- errors_module.error_class(error_code).new(context, error_message)
21
- end
22
-
23
16
  def extract_error(context)
24
17
  json = MultiJson.load(context.http_response.body_contents)
25
18
  error_code = json['code'] || json['__type']
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.0.30'
2
+ VERSION = '2.0.31'
3
3
  end
@@ -38,6 +38,7 @@ module Aws
38
38
  403 => 'Forbidden',
39
39
  404 => 'NotFound',
40
40
  412 => 'PreconditionFailed',
41
+ 413 => 'RequestEntityTooLarge',
41
42
  }[status_code] || "Http#{status_code}Error"
42
43
  end
43
44
 
@@ -34,6 +34,8 @@ module Aws
34
34
  target[member_name] = parse_shape(member_shape, values[value_key])
35
35
  elsif member_shape.is_a?(Seahorse::Model::Shapes::List)
36
36
  target[member_name] = DefaultList.new
37
+ elsif member_shape.is_a?(Seahorse::Model::Shapes::Map)
38
+ target[member_name] = {}
37
39
  end
38
40
  end
39
41
  target
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.30
4
+ version: 2.0.31
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-03-12 00:00:00.000000000 Z
11
+ date: 2015-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json