aws-sdk 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.
package/README.md CHANGED
@@ -24,7 +24,7 @@ to work with the new major version.
24
24
  To use the SDK in the browser, simply add the following script tag to your
25
25
  HTML pages:
26
26
 
27
- <script src="https://sdk.amazonaws.com/js/aws-sdk-2.0.30.min.js"></script>
27
+ <script src="https://sdk.amazonaws.com/js/aws-sdk-2.0.31.min.js"></script>
28
28
 
29
29
  The AWS SDK is also compatible with [browserify](http://browserify.org).
30
30
 
@@ -9,6 +9,21 @@
9
9
  "protocol": "json"
10
10
  },
11
11
  "operations": {
12
+ "AssignInstance": {
13
+ "input": {
14
+ "type": "structure",
15
+ "required": [
16
+ "InstanceId",
17
+ "LayerIds"
18
+ ],
19
+ "members": {
20
+ "InstanceId": {},
21
+ "LayerIds": {
22
+ "shape": "S3"
23
+ }
24
+ }
25
+ }
26
+ },
12
27
  "AssignVolume": {
13
28
  "input": {
14
29
  "type": "structure",
@@ -59,7 +74,7 @@
59
74
  "Region": {},
60
75
  "VpcId": {},
61
76
  "Attributes": {
62
- "shape": "S6"
77
+ "shape": "S8"
63
78
  },
64
79
  "ServiceRoleArn": {},
65
80
  "DefaultInstanceProfileArn": {},
@@ -69,10 +84,10 @@
69
84
  "DefaultSubnetId": {},
70
85
  "CustomJson": {},
71
86
  "ConfigurationManager": {
72
- "shape": "S8"
87
+ "shape": "Sa"
73
88
  },
74
89
  "ChefConfiguration": {
75
- "shape": "S9"
90
+ "shape": "Sb"
76
91
  },
77
92
  "UseCustomCookbooks": {
78
93
  "type": "boolean"
@@ -81,14 +96,14 @@
81
96
  "type": "boolean"
82
97
  },
83
98
  "CustomCookbooksSource": {
84
- "shape": "Sb"
99
+ "shape": "Sd"
85
100
  },
86
101
  "DefaultSshKeyName": {},
87
102
  "ClonePermissions": {
88
103
  "type": "boolean"
89
104
  },
90
105
  "CloneAppIds": {
91
- "shape": "Sd"
106
+ "shape": "S3"
92
107
  },
93
108
  "DefaultRootDeviceType": {}
94
109
  }
@@ -114,26 +129,26 @@
114
129
  "Name": {},
115
130
  "Description": {},
116
131
  "DataSources": {
117
- "shape": "Sh"
132
+ "shape": "Si"
118
133
  },
119
134
  "Type": {},
120
135
  "AppSource": {
121
- "shape": "Sb"
136
+ "shape": "Sd"
122
137
  },
123
138
  "Domains": {
124
- "shape": "Sd"
139
+ "shape": "S3"
125
140
  },
126
141
  "EnableSsl": {
127
142
  "type": "boolean"
128
143
  },
129
144
  "SslConfiguration": {
130
- "shape": "Sk"
145
+ "shape": "Sl"
131
146
  },
132
147
  "Attributes": {
133
- "shape": "Sl"
148
+ "shape": "Sm"
134
149
  },
135
150
  "Environment": {
136
- "shape": "Sn"
151
+ "shape": "So"
137
152
  }
138
153
  }
139
154
  },
@@ -155,10 +170,10 @@
155
170
  "StackId": {},
156
171
  "AppId": {},
157
172
  "InstanceIds": {
158
- "shape": "Sd"
173
+ "shape": "S3"
159
174
  },
160
175
  "Command": {
161
- "shape": "Sr"
176
+ "shape": "Ss"
162
177
  },
163
178
  "Comment": {},
164
179
  "CustomJson": {}
@@ -182,7 +197,7 @@
182
197
  "members": {
183
198
  "StackId": {},
184
199
  "LayerIds": {
185
- "shape": "Sd"
200
+ "shape": "S3"
186
201
  },
187
202
  "InstanceType": {},
188
203
  "AutoScalingType": {},
@@ -225,17 +240,17 @@
225
240
  "Name": {},
226
241
  "Shortname": {},
227
242
  "Attributes": {
228
- "shape": "S11"
243
+ "shape": "S12"
229
244
  },
230
245
  "CustomInstanceProfileArn": {},
231
246
  "CustomSecurityGroupIds": {
232
- "shape": "Sd"
247
+ "shape": "S3"
233
248
  },
234
249
  "Packages": {
235
- "shape": "Sd"
250
+ "shape": "S3"
236
251
  },
237
252
  "VolumeConfigurations": {
238
- "shape": "S13"
253
+ "shape": "S14"
239
254
  },
240
255
  "EnableAutoHealing": {
241
256
  "type": "boolean"
@@ -247,13 +262,16 @@
247
262
  "type": "boolean"
248
263
  },
249
264
  "CustomRecipes": {
250
- "shape": "S16"
265
+ "shape": "S17"
251
266
  },
252
267
  "InstallUpdatesOnBoot": {
253
268
  "type": "boolean"
254
269
  },
255
270
  "UseEbsOptimizedInstances": {
256
271
  "type": "boolean"
272
+ },
273
+ "LifecycleEventConfiguration": {
274
+ "shape": "S18"
257
275
  }
258
276
  }
259
277
  },
@@ -278,7 +296,7 @@
278
296
  "Region": {},
279
297
  "VpcId": {},
280
298
  "Attributes": {
281
- "shape": "S6"
299
+ "shape": "S8"
282
300
  },
283
301
  "ServiceRoleArn": {},
284
302
  "DefaultInstanceProfileArn": {},
@@ -288,10 +306,10 @@
288
306
  "DefaultSubnetId": {},
289
307
  "CustomJson": {},
290
308
  "ConfigurationManager": {
291
- "shape": "S8"
309
+ "shape": "Sa"
292
310
  },
293
311
  "ChefConfiguration": {
294
- "shape": "S9"
312
+ "shape": "Sb"
295
313
  },
296
314
  "UseCustomCookbooks": {
297
315
  "type": "boolean"
@@ -300,7 +318,7 @@
300
318
  "type": "boolean"
301
319
  },
302
320
  "CustomCookbooksSource": {
303
- "shape": "Sb"
321
+ "shape": "Sd"
304
322
  },
305
323
  "DefaultSshKeyName": {},
306
324
  "DefaultRootDeviceType": {}
@@ -407,6 +425,17 @@
407
425
  }
408
426
  }
409
427
  },
428
+ "DeregisterInstance": {
429
+ "input": {
430
+ "type": "structure",
431
+ "required": [
432
+ "InstanceId"
433
+ ],
434
+ "members": {
435
+ "InstanceId": {}
436
+ }
437
+ }
438
+ },
410
439
  "DeregisterRdsDbInstance": {
411
440
  "input": {
412
441
  "type": "structure",
@@ -435,7 +464,7 @@
435
464
  "members": {
436
465
  "StackId": {},
437
466
  "AppIds": {
438
- "shape": "Sd"
467
+ "shape": "S3"
439
468
  }
440
469
  }
441
470
  },
@@ -453,27 +482,27 @@
453
482
  "Name": {},
454
483
  "Description": {},
455
484
  "DataSources": {
456
- "shape": "Sh"
485
+ "shape": "Si"
457
486
  },
458
487
  "Type": {},
459
488
  "AppSource": {
460
- "shape": "Sb"
489
+ "shape": "Sd"
461
490
  },
462
491
  "Domains": {
463
- "shape": "Sd"
492
+ "shape": "S3"
464
493
  },
465
494
  "EnableSsl": {
466
495
  "type": "boolean"
467
496
  },
468
497
  "SslConfiguration": {
469
- "shape": "Sk"
498
+ "shape": "Sl"
470
499
  },
471
500
  "Attributes": {
472
- "shape": "Sl"
501
+ "shape": "Sm"
473
502
  },
474
503
  "CreatedAt": {},
475
504
  "Environment": {
476
- "shape": "Sn"
505
+ "shape": "So"
477
506
  }
478
507
  }
479
508
  }
@@ -488,7 +517,7 @@
488
517
  "DeploymentId": {},
489
518
  "InstanceId": {},
490
519
  "CommandIds": {
491
- "shape": "Sd"
520
+ "shape": "S3"
492
521
  }
493
522
  }
494
523
  },
@@ -525,7 +554,7 @@
525
554
  "StackId": {},
526
555
  "AppId": {},
527
556
  "DeploymentIds": {
528
- "shape": "Sd"
557
+ "shape": "S3"
529
558
  }
530
559
  }
531
560
  },
@@ -548,12 +577,12 @@
548
577
  "IamUserArn": {},
549
578
  "Comment": {},
550
579
  "Command": {
551
- "shape": "Sr"
580
+ "shape": "Ss"
552
581
  },
553
582
  "Status": {},
554
583
  "CustomJson": {},
555
584
  "InstanceIds": {
556
- "shape": "Sd"
585
+ "shape": "S3"
557
586
  }
558
587
  }
559
588
  }
@@ -568,7 +597,7 @@
568
597
  "InstanceId": {},
569
598
  "StackId": {},
570
599
  "Ips": {
571
- "shape": "Sd"
600
+ "shape": "S3"
572
601
  }
573
602
  }
574
603
  },
@@ -597,7 +626,7 @@
597
626
  "members": {
598
627
  "StackId": {},
599
628
  "LayerIds": {
600
- "shape": "Sd"
629
+ "shape": "S3"
601
630
  }
602
631
  }
603
632
  },
@@ -616,13 +645,13 @@
616
645
  "LayerId": {},
617
646
  "VpcId": {},
618
647
  "AvailabilityZones": {
619
- "shape": "Sd"
648
+ "shape": "S3"
620
649
  },
621
650
  "SubnetIds": {
622
- "shape": "Sd"
651
+ "shape": "S3"
623
652
  },
624
653
  "Ec2InstanceIds": {
625
- "shape": "Sd"
654
+ "shape": "S3"
626
655
  }
627
656
  }
628
657
  }
@@ -637,7 +666,7 @@
637
666
  "StackId": {},
638
667
  "LayerId": {},
639
668
  "InstanceIds": {
640
- "shape": "Sd"
669
+ "shape": "S3"
641
670
  }
642
671
  }
643
672
  },
@@ -655,10 +684,10 @@
655
684
  "Hostname": {},
656
685
  "StackId": {},
657
686
  "LayerIds": {
658
- "shape": "Sd"
687
+ "shape": "S3"
659
688
  },
660
689
  "SecurityGroupIds": {
661
- "shape": "Sd"
690
+ "shape": "S3"
662
691
  },
663
692
  "InstanceType": {},
664
693
  "InstanceProfileArn": {},
@@ -686,7 +715,17 @@
686
715
  },
687
716
  "EbsOptimized": {
688
717
  "type": "boolean"
689
- }
718
+ },
719
+ "ReportedOs": {
720
+ "type": "structure",
721
+ "members": {
722
+ "Family": {},
723
+ "Name": {},
724
+ "Version": {}
725
+ }
726
+ },
727
+ "InfrastructureClass": {},
728
+ "RegisteredBy": {}
690
729
  }
691
730
  }
692
731
  }
@@ -699,7 +738,7 @@
699
738
  "members": {
700
739
  "StackId": {},
701
740
  "LayerIds": {
702
- "shape": "Sd"
741
+ "shape": "S3"
703
742
  }
704
743
  }
705
744
  },
@@ -717,20 +756,20 @@
717
756
  "Name": {},
718
757
  "Shortname": {},
719
758
  "Attributes": {
720
- "shape": "S11"
759
+ "shape": "S12"
721
760
  },
722
761
  "CustomInstanceProfileArn": {},
723
762
  "CustomSecurityGroupIds": {
724
- "shape": "Sd"
763
+ "shape": "S3"
725
764
  },
726
765
  "DefaultSecurityGroupNames": {
727
- "shape": "Sd"
766
+ "shape": "S3"
728
767
  },
729
768
  "Packages": {
730
- "shape": "Sd"
769
+ "shape": "S3"
731
770
  },
732
771
  "VolumeConfigurations": {
733
- "shape": "S13"
772
+ "shape": "S14"
734
773
  },
735
774
  "EnableAutoHealing": {
736
775
  "type": "boolean"
@@ -742,10 +781,10 @@
742
781
  "type": "boolean"
743
782
  },
744
783
  "DefaultRecipes": {
745
- "shape": "S16"
784
+ "shape": "S17"
746
785
  },
747
786
  "CustomRecipes": {
748
- "shape": "S16"
787
+ "shape": "S17"
749
788
  },
750
789
  "CreatedAt": {},
751
790
  "InstallUpdatesOnBoot": {
@@ -753,6 +792,9 @@
753
792
  },
754
793
  "UseEbsOptimizedInstances": {
755
794
  "type": "boolean"
795
+ },
796
+ "LifecycleEventConfiguration": {
797
+ "shape": "S18"
756
798
  }
757
799
  }
758
800
  }
@@ -768,7 +810,7 @@
768
810
  ],
769
811
  "members": {
770
812
  "LayerIds": {
771
- "shape": "Sd"
813
+ "shape": "S3"
772
814
  }
773
815
  }
774
816
  },
@@ -785,10 +827,10 @@
785
827
  "type": "boolean"
786
828
  },
787
829
  "UpScaling": {
788
- "shape": "S2i"
830
+ "shape": "S2n"
789
831
  },
790
832
  "DownScaling": {
791
- "shape": "S2i"
833
+ "shape": "S2n"
792
834
  }
793
835
  }
794
836
  }
@@ -850,7 +892,7 @@
850
892
  "InstanceId": {},
851
893
  "StackId": {},
852
894
  "RaidArrayIds": {
853
- "shape": "Sd"
895
+ "shape": "S3"
854
896
  }
855
897
  }
856
898
  },
@@ -898,7 +940,7 @@
898
940
  "members": {
899
941
  "StackId": {},
900
942
  "RdsDbInstanceArns": {
901
- "shape": "Sd"
943
+ "shape": "S3"
902
944
  }
903
945
  }
904
946
  },
@@ -934,7 +976,7 @@
934
976
  "StackId": {},
935
977
  "InstanceId": {},
936
978
  "ServiceErrorIds": {
937
- "shape": "Sd"
979
+ "shape": "S3"
938
980
  }
939
981
  }
940
982
  },
@@ -958,6 +1000,28 @@
958
1000
  }
959
1001
  }
960
1002
  },
1003
+ "DescribeStackProvisioningParameters": {
1004
+ "input": {
1005
+ "type": "structure",
1006
+ "required": [
1007
+ "StackId"
1008
+ ],
1009
+ "members": {
1010
+ "StackId": {}
1011
+ }
1012
+ },
1013
+ "output": {
1014
+ "type": "structure",
1015
+ "members": {
1016
+ "AgentInstallerUrl": {},
1017
+ "Parameters": {
1018
+ "type": "map",
1019
+ "key": {},
1020
+ "value": {}
1021
+ }
1022
+ }
1023
+ }
1024
+ },
961
1025
  "DescribeStackSummary": {
962
1026
  "input": {
963
1027
  "type": "structure",
@@ -986,12 +1050,18 @@
986
1050
  "InstancesCount": {
987
1051
  "type": "structure",
988
1052
  "members": {
1053
+ "Assigning": {
1054
+ "type": "integer"
1055
+ },
989
1056
  "Booting": {
990
1057
  "type": "integer"
991
1058
  },
992
1059
  "ConnectionLost": {
993
1060
  "type": "integer"
994
1061
  },
1062
+ "Deregistering": {
1063
+ "type": "integer"
1064
+ },
995
1065
  "Online": {
996
1066
  "type": "integer"
997
1067
  },
@@ -1001,6 +1071,12 @@
1001
1071
  "Rebooting": {
1002
1072
  "type": "integer"
1003
1073
  },
1074
+ "Registered": {
1075
+ "type": "integer"
1076
+ },
1077
+ "Registering": {
1078
+ "type": "integer"
1079
+ },
1004
1080
  "Requested": {
1005
1081
  "type": "integer"
1006
1082
  },
@@ -1027,6 +1103,9 @@
1027
1103
  },
1028
1104
  "Terminating": {
1029
1105
  "type": "integer"
1106
+ },
1107
+ "Unassigning": {
1108
+ "type": "integer"
1030
1109
  }
1031
1110
  }
1032
1111
  }
@@ -1040,7 +1119,7 @@
1040
1119
  "type": "structure",
1041
1120
  "members": {
1042
1121
  "StackIds": {
1043
- "shape": "Sd"
1122
+ "shape": "S3"
1044
1123
  }
1045
1124
  }
1046
1125
  },
@@ -1058,7 +1137,7 @@
1058
1137
  "Region": {},
1059
1138
  "VpcId": {},
1060
1139
  "Attributes": {
1061
- "shape": "S6"
1140
+ "shape": "S8"
1062
1141
  },
1063
1142
  "ServiceRoleArn": {},
1064
1143
  "DefaultInstanceProfileArn": {},
@@ -1068,10 +1147,10 @@
1068
1147
  "DefaultSubnetId": {},
1069
1148
  "CustomJson": {},
1070
1149
  "ConfigurationManager": {
1071
- "shape": "S8"
1150
+ "shape": "Sa"
1072
1151
  },
1073
1152
  "ChefConfiguration": {
1074
- "shape": "S9"
1153
+ "shape": "Sb"
1075
1154
  },
1076
1155
  "UseCustomCookbooks": {
1077
1156
  "type": "boolean"
@@ -1080,7 +1159,7 @@
1080
1159
  "type": "boolean"
1081
1160
  },
1082
1161
  "CustomCookbooksSource": {
1083
- "shape": "Sb"
1162
+ "shape": "Sd"
1084
1163
  },
1085
1164
  "DefaultSshKeyName": {},
1086
1165
  "CreatedAt": {},
@@ -1099,7 +1178,7 @@
1099
1178
  ],
1100
1179
  "members": {
1101
1180
  "InstanceIds": {
1102
- "shape": "Sd"
1181
+ "shape": "S3"
1103
1182
  }
1104
1183
  }
1105
1184
  },
@@ -1113,7 +1192,7 @@
1113
1192
  "members": {
1114
1193
  "InstanceId": {},
1115
1194
  "AutoScalingSchedule": {
1116
- "shape": "S3f"
1195
+ "shape": "S3n"
1117
1196
  }
1118
1197
  }
1119
1198
  }
@@ -1126,7 +1205,7 @@
1126
1205
  "type": "structure",
1127
1206
  "members": {
1128
1207
  "IamUserArns": {
1129
- "shape": "Sd"
1208
+ "shape": "S3"
1130
1209
  }
1131
1210
  }
1132
1211
  },
@@ -1159,7 +1238,7 @@
1159
1238
  "StackId": {},
1160
1239
  "RaidArrayId": {},
1161
1240
  "VolumeIds": {
1162
- "shape": "Sd"
1241
+ "shape": "S3"
1163
1242
  }
1164
1243
  }
1165
1244
  },
@@ -1266,6 +1345,35 @@
1266
1345
  }
1267
1346
  }
1268
1347
  },
1348
+ "RegisterInstance": {
1349
+ "input": {
1350
+ "type": "structure",
1351
+ "required": [
1352
+ "StackId"
1353
+ ],
1354
+ "members": {
1355
+ "StackId": {},
1356
+ "Hostname": {},
1357
+ "PublicIp": {},
1358
+ "PrivateIp": {},
1359
+ "RsaPublicKey": {},
1360
+ "RsaPublicKeyFingerprint": {},
1361
+ "InstanceIdentity": {
1362
+ "type": "structure",
1363
+ "members": {
1364
+ "Document": {},
1365
+ "Signature": {}
1366
+ }
1367
+ }
1368
+ }
1369
+ },
1370
+ "output": {
1371
+ "type": "structure",
1372
+ "members": {
1373
+ "InstanceId": {}
1374
+ }
1375
+ }
1376
+ },
1269
1377
  "RegisterRdsDbInstance": {
1270
1378
  "input": {
1271
1379
  "type": "structure",
@@ -1313,10 +1421,10 @@
1313
1421
  "type": "boolean"
1314
1422
  },
1315
1423
  "UpScaling": {
1316
- "shape": "S2i"
1424
+ "shape": "S2n"
1317
1425
  },
1318
1426
  "DownScaling": {
1319
- "shape": "S2i"
1427
+ "shape": "S2n"
1320
1428
  }
1321
1429
  }
1322
1430
  }
@@ -1350,7 +1458,7 @@
1350
1458
  "members": {
1351
1459
  "InstanceId": {},
1352
1460
  "AutoScalingSchedule": {
1353
- "shape": "S3f"
1461
+ "shape": "S3n"
1354
1462
  }
1355
1463
  }
1356
1464
  }
@@ -1399,6 +1507,17 @@
1399
1507
  }
1400
1508
  }
1401
1509
  },
1510
+ "UnassignInstance": {
1511
+ "input": {
1512
+ "type": "structure",
1513
+ "required": [
1514
+ "InstanceId"
1515
+ ],
1516
+ "members": {
1517
+ "InstanceId": {}
1518
+ }
1519
+ }
1520
+ },
1402
1521
  "UnassignVolume": {
1403
1522
  "input": {
1404
1523
  "type": "structure",
@@ -1421,26 +1540,26 @@
1421
1540
  "Name": {},
1422
1541
  "Description": {},
1423
1542
  "DataSources": {
1424
- "shape": "Sh"
1543
+ "shape": "Si"
1425
1544
  },
1426
1545
  "Type": {},
1427
1546
  "AppSource": {
1428
- "shape": "Sb"
1547
+ "shape": "Sd"
1429
1548
  },
1430
1549
  "Domains": {
1431
- "shape": "Sd"
1550
+ "shape": "S3"
1432
1551
  },
1433
1552
  "EnableSsl": {
1434
1553
  "type": "boolean"
1435
1554
  },
1436
1555
  "SslConfiguration": {
1437
- "shape": "Sk"
1556
+ "shape": "Sl"
1438
1557
  },
1439
1558
  "Attributes": {
1440
- "shape": "Sl"
1559
+ "shape": "Sm"
1441
1560
  },
1442
1561
  "Environment": {
1443
- "shape": "Sn"
1562
+ "shape": "So"
1444
1563
  }
1445
1564
  }
1446
1565
  }
@@ -1466,7 +1585,7 @@
1466
1585
  "members": {
1467
1586
  "InstanceId": {},
1468
1587
  "LayerIds": {
1469
- "shape": "Sd"
1588
+ "shape": "S3"
1470
1589
  },
1471
1590
  "InstanceType": {},
1472
1591
  "AutoScalingType": {},
@@ -1495,17 +1614,17 @@
1495
1614
  "Name": {},
1496
1615
  "Shortname": {},
1497
1616
  "Attributes": {
1498
- "shape": "S11"
1617
+ "shape": "S12"
1499
1618
  },
1500
1619
  "CustomInstanceProfileArn": {},
1501
1620
  "CustomSecurityGroupIds": {
1502
- "shape": "Sd"
1621
+ "shape": "S3"
1503
1622
  },
1504
1623
  "Packages": {
1505
- "shape": "Sd"
1624
+ "shape": "S3"
1506
1625
  },
1507
1626
  "VolumeConfigurations": {
1508
- "shape": "S13"
1627
+ "shape": "S14"
1509
1628
  },
1510
1629
  "EnableAutoHealing": {
1511
1630
  "type": "boolean"
@@ -1517,13 +1636,16 @@
1517
1636
  "type": "boolean"
1518
1637
  },
1519
1638
  "CustomRecipes": {
1520
- "shape": "S16"
1639
+ "shape": "S17"
1521
1640
  },
1522
1641
  "InstallUpdatesOnBoot": {
1523
1642
  "type": "boolean"
1524
1643
  },
1525
1644
  "UseEbsOptimizedInstances": {
1526
1645
  "type": "boolean"
1646
+ },
1647
+ "LifecycleEventConfiguration": {
1648
+ "shape": "S18"
1527
1649
  }
1528
1650
  }
1529
1651
  }
@@ -1559,7 +1681,7 @@
1559
1681
  "StackId": {},
1560
1682
  "Name": {},
1561
1683
  "Attributes": {
1562
- "shape": "S6"
1684
+ "shape": "S8"
1563
1685
  },
1564
1686
  "ServiceRoleArn": {},
1565
1687
  "DefaultInstanceProfileArn": {},
@@ -1569,16 +1691,16 @@
1569
1691
  "DefaultSubnetId": {},
1570
1692
  "CustomJson": {},
1571
1693
  "ConfigurationManager": {
1572
- "shape": "S8"
1694
+ "shape": "Sa"
1573
1695
  },
1574
1696
  "ChefConfiguration": {
1575
- "shape": "S9"
1697
+ "shape": "Sb"
1576
1698
  },
1577
1699
  "UseCustomCookbooks": {
1578
1700
  "type": "boolean"
1579
1701
  },
1580
1702
  "CustomCookbooksSource": {
1581
- "shape": "Sb"
1703
+ "shape": "Sd"
1582
1704
  },
1583
1705
  "DefaultSshKeyName": {},
1584
1706
  "DefaultRootDeviceType": {},
@@ -1619,19 +1741,23 @@
1619
1741
  }
1620
1742
  },
1621
1743
  "shapes": {
1622
- "S6": {
1744
+ "S3": {
1745
+ "type": "list",
1746
+ "member": {}
1747
+ },
1748
+ "S8": {
1623
1749
  "type": "map",
1624
1750
  "key": {},
1625
1751
  "value": {}
1626
1752
  },
1627
- "S8": {
1753
+ "Sa": {
1628
1754
  "type": "structure",
1629
1755
  "members": {
1630
1756
  "Name": {},
1631
1757
  "Version": {}
1632
1758
  }
1633
1759
  },
1634
- "S9": {
1760
+ "Sb": {
1635
1761
  "type": "structure",
1636
1762
  "members": {
1637
1763
  "ManageBerkshelf": {
@@ -1640,7 +1766,7 @@
1640
1766
  "BerkshelfVersion": {}
1641
1767
  }
1642
1768
  },
1643
- "Sb": {
1769
+ "Sd": {
1644
1770
  "type": "structure",
1645
1771
  "members": {
1646
1772
  "Type": {},
@@ -1651,11 +1777,7 @@
1651
1777
  "Revision": {}
1652
1778
  }
1653
1779
  },
1654
- "Sd": {
1655
- "type": "list",
1656
- "member": {}
1657
- },
1658
- "Sh": {
1780
+ "Si": {
1659
1781
  "type": "list",
1660
1782
  "member": {
1661
1783
  "type": "structure",
@@ -1666,7 +1788,7 @@
1666
1788
  }
1667
1789
  }
1668
1790
  },
1669
- "Sk": {
1791
+ "Sl": {
1670
1792
  "type": "structure",
1671
1793
  "required": [
1672
1794
  "Certificate",
@@ -1678,12 +1800,12 @@
1678
1800
  "Chain": {}
1679
1801
  }
1680
1802
  },
1681
- "Sl": {
1803
+ "Sm": {
1682
1804
  "type": "map",
1683
1805
  "key": {},
1684
1806
  "value": {}
1685
1807
  },
1686
- "Sn": {
1808
+ "So": {
1687
1809
  "type": "list",
1688
1810
  "member": {
1689
1811
  "type": "structure",
@@ -1700,7 +1822,7 @@
1700
1822
  }
1701
1823
  }
1702
1824
  },
1703
- "Sr": {
1825
+ "Ss": {
1704
1826
  "type": "structure",
1705
1827
  "required": [
1706
1828
  "Name"
@@ -1711,17 +1833,17 @@
1711
1833
  "type": "map",
1712
1834
  "key": {},
1713
1835
  "value": {
1714
- "shape": "Sd"
1836
+ "shape": "S3"
1715
1837
  }
1716
1838
  }
1717
1839
  }
1718
1840
  },
1719
- "S11": {
1841
+ "S12": {
1720
1842
  "type": "map",
1721
1843
  "key": {},
1722
1844
  "value": {}
1723
1845
  },
1724
- "S13": {
1846
+ "S14": {
1725
1847
  "type": "list",
1726
1848
  "member": {
1727
1849
  "type": "structure",
@@ -1748,27 +1870,43 @@
1748
1870
  }
1749
1871
  }
1750
1872
  },
1751
- "S16": {
1873
+ "S17": {
1752
1874
  "type": "structure",
1753
1875
  "members": {
1754
1876
  "Setup": {
1755
- "shape": "Sd"
1877
+ "shape": "S3"
1756
1878
  },
1757
1879
  "Configure": {
1758
- "shape": "Sd"
1880
+ "shape": "S3"
1759
1881
  },
1760
1882
  "Deploy": {
1761
- "shape": "Sd"
1883
+ "shape": "S3"
1762
1884
  },
1763
1885
  "Undeploy": {
1764
- "shape": "Sd"
1886
+ "shape": "S3"
1765
1887
  },
1766
1888
  "Shutdown": {
1767
- "shape": "Sd"
1889
+ "shape": "S3"
1890
+ }
1891
+ }
1892
+ },
1893
+ "S18": {
1894
+ "type": "structure",
1895
+ "members": {
1896
+ "Shutdown": {
1897
+ "type": "structure",
1898
+ "members": {
1899
+ "ExecutionTimeout": {
1900
+ "type": "integer"
1901
+ },
1902
+ "DelayUntilElbConnectionsDrained": {
1903
+ "type": "boolean"
1904
+ }
1905
+ }
1768
1906
  }
1769
1907
  }
1770
1908
  },
1771
- "S2i": {
1909
+ "S2n": {
1772
1910
  "type": "structure",
1773
1911
  "members": {
1774
1912
  "InstanceCount": {
@@ -1791,33 +1929,33 @@
1791
1929
  }
1792
1930
  }
1793
1931
  },
1794
- "S3f": {
1932
+ "S3n": {
1795
1933
  "type": "structure",
1796
1934
  "members": {
1797
1935
  "Monday": {
1798
- "shape": "S3g"
1936
+ "shape": "S3o"
1799
1937
  },
1800
1938
  "Tuesday": {
1801
- "shape": "S3g"
1939
+ "shape": "S3o"
1802
1940
  },
1803
1941
  "Wednesday": {
1804
- "shape": "S3g"
1942
+ "shape": "S3o"
1805
1943
  },
1806
1944
  "Thursday": {
1807
- "shape": "S3g"
1945
+ "shape": "S3o"
1808
1946
  },
1809
1947
  "Friday": {
1810
- "shape": "S3g"
1948
+ "shape": "S3o"
1811
1949
  },
1812
1950
  "Saturday": {
1813
- "shape": "S3g"
1951
+ "shape": "S3o"
1814
1952
  },
1815
1953
  "Sunday": {
1816
- "shape": "S3g"
1954
+ "shape": "S3o"
1817
1955
  }
1818
1956
  }
1819
1957
  },
1820
- "S3g": {
1958
+ "S3o": {
1821
1959
  "type": "map",
1822
1960
  "key": {},
1823
1961
  "value": {}
@@ -297,6 +297,17 @@
297
297
  }
298
298
  }
299
299
  },
300
+ "PurgeQueue": {
301
+ "input": {
302
+ "type": "structure",
303
+ "required": [
304
+ "QueueUrl"
305
+ ],
306
+ "members": {
307
+ "QueueUrl": {}
308
+ }
309
+ }
310
+ },
300
311
  "ReceiveMessage": {
301
312
  "input": {
302
313
  "type": "structure",
@@ -346,7 +357,7 @@
346
357
  },
347
358
  "MD5OfMessageAttributes": {},
348
359
  "MessageAttributes": {
349
- "shape": "S18",
360
+ "shape": "S19",
350
361
  "locationName": "MessageAttribute"
351
362
  }
352
363
  }
@@ -383,7 +394,7 @@
383
394
  "type": "integer"
384
395
  },
385
396
  "MessageAttributes": {
386
- "shape": "S18",
397
+ "shape": "S19",
387
398
  "locationName": "MessageAttribute"
388
399
  }
389
400
  }
@@ -423,7 +434,7 @@
423
434
  "type": "integer"
424
435
  },
425
436
  "MessageAttributes": {
426
- "shape": "S18",
437
+ "shape": "S19",
427
438
  "locationName": "MessageAttribute"
428
439
  }
429
440
  }
@@ -529,7 +540,7 @@
529
540
  },
530
541
  "flattened": true
531
542
  },
532
- "S18": {
543
+ "S19": {
533
544
  "type": "map",
534
545
  "key": {
535
546
  "locationName": "Name"
package/lib/core.js CHANGED
@@ -17,7 +17,7 @@ AWS.util.update(AWS, {
17
17
  /**
18
18
  * @constant
19
19
  */
20
- VERSION: '2.0.30',
20
+ VERSION: '2.0.31',
21
21
 
22
22
  /**
23
23
  * @api private
@@ -14,7 +14,7 @@ AWS.util.update(AWS.DynamoDB.prototype, {
14
14
  * @api private
15
15
  */
16
16
  checkCrc32: function checkCrc32(resp) {
17
- if (!resp.request.service.crc32IsValid(resp)) {
17
+ if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) {
18
18
  resp.error = AWS.util.error(new Error(), {
19
19
  code: 'CRC32CheckFailed',
20
20
  message: 'CRC32 integrity check failed',
package/lib/util.js CHANGED
@@ -466,13 +466,43 @@ var util = {
466
466
  if (!digest) { digest = 'binary'; }
467
467
  if (digest === 'buffer') { digest = undefined; }
468
468
  if (typeof data === 'string') data = new Buffer(data);
469
+ var isBuffer = Buffer.isBuffer(data);
469
470
 
470
471
  if (callback && typeof data === 'object' &&
471
- typeof data.on === 'function' && !Buffer.isBuffer(data)) {
472
+ typeof data.on === 'function' && !isBuffer) {
472
473
  data.on('data', function(chunk) { hash.update(chunk); });
473
474
  data.on('error', function(err) { callback(err); });
474
475
  data.on('end', function() { callback(null, hash.digest(digest)); });
476
+ } else if (callback && data.slice === 'function'
477
+ && !isBuffer && typeof FileReader !== 'undefined') {
478
+ // this might be a File/Blob
479
+ var index = 0, size = 1024 * 512;
480
+ var reader = new FileReader();
481
+ reader.onerror = function() {
482
+ callback(new Error('Failed to read data.'));
483
+ };
484
+ reader.onload = function() {
485
+ var buf = new Buffer(new Uint8Array(reader.result));
486
+ hash.update(buf);
487
+ index += buf.length;
488
+ reader._continueReading();
489
+ };
490
+ reader._continueReading = function() {
491
+ if (index >= data.size) {
492
+ callback(null, hash.digest(digest));
493
+ return;
494
+ }
495
+
496
+ var back = index + size;
497
+ if (back > data.size) back = data.size;
498
+ reader.readAsArrayBuffer(data.slice(index, back));
499
+ };
500
+
501
+ reader._continueReading();
475
502
  } else {
503
+ if (AWS.util.isBrowser() && typeof data === 'object' && !isBuffer) {
504
+ data = new Buffer(new Uint8Array(data));
505
+ }
476
506
  var out = hash.update(data).digest(digest);
477
507
  if (callback) callback(null, out);
478
508
  return out;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.0.30",
4
+ "version": "2.0.31",
5
5
  "author": {
6
6
  "name":"Amazon Web Services",
7
7
  "email":"",