/
ec2.docs.js
4590 lines (4586 loc) · 230 KB
/
ec2.docs.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You
* may not use this file except in compliance with the License. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
* ANY KIND, either express or implied. See the License for the specific
* language governing permissions and limitations under the License.
*/
AWS = {};
/**
* Constructs a service interface and a low-level {Client}. Use the +client+
* property to make API calls. Each API operation is exposed as a function on
* the +client+.
*
* === Sending a Request Using EC2
*
* svc = new AWS.EC2();
* svc.client.OPERATION_NAME(params).always(function (resp) {
* console.log(resp.data, resp.error);
* });
*
* @!method constructor(options)
* Constructs a service interface. The returned service will have a {client}
* property that provides access to the API operations.
* @option (see AWS.EC2.Client.constructor)
*
* @!attribute client
* @return [AWS.EC2.Client] A client that provides one method for each
* API operation.
*
* @see AWS.EC2.Client
*
*/
AWS.EC2 = inherit({})
/**
* The low-level EC2 client class. This class provides one function
* for each API operation on the service.
*
* @!method activateLicense(params, options)
* Activates a specific number of licenses for a 90-day period.
* Activations can be done against a specific license ID.
* @param [Object] params
* * +licenseId+ - (*required*, <tt>String</tt>) Specifies the ID for
* the specific license to activate against.
* * +capacity+ - (*required*, <tt>Integer</tt>) Specifies the
* additional number of licenses to activate.
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method allocateAddress(params, options)
* The AllocateAddress operation acquires an elastic IP address for use
* with your account.
* @param [Object] params
* * +Domain+ - (<tt>String</tt>) Set to vpc to allocate the address
* to your VPC. By default, will allocate to EC2.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +PublicIp+ - (<tt>String</tt>) IP address for use with your
* account.
* * +domain+ - (<tt>String</tt>)
* * +allocationId+ - (<tt>String</tt>)
*
* @!method assignPrivateIpAddresses(params, options)
* Calls the AssignPrivateIpAddresses API operation.
* @param [Object] params
* * +networkInterfaceId+ - (*required*, <tt>String</tt>)
* * +privateIpAddresses+ - (<tt>Array<String></tt>)
* * +secondaryPrivateIpAddressCount+ - (<tt>Integer</tt>)
* * +allowReassignment+ - (<tt>Boolean</tt>)
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method associateAddress(params, options)
* The AssociateAddress operation associates an elastic IP address with
* an instance.
* @param [Object] params
* * +InstanceId+ - (*required*, <tt>String</tt>) The instance to
* associate with the IP address.
* * +PublicIp+ - (*required*, <tt>String</tt>) IP address that you
* are assigning to the instance.
* * +AllocationId+ - (<tt>String</tt>) The allocation ID that AWS
* returned when you allocated the elastic IP address for use with
* Amazon VPC.
* * +networkInterfaceId+ - (<tt>String</tt>)
* * +privateIpAddress+ - (<tt>String</tt>)
* * +allowReassociation+ - (<tt>Boolean</tt>)
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +associationId+ - (<tt>String</tt>)
*
* @!method associateDhcpOptions(params, options)
* Associates a set of DHCP options (that you've previously created)
* with the specified VPC. Or, associates the default DHCP options with
* the VPC. The default set consists of the standard EC2 host name, no
* domain name, no DNS server, no NTP server, and no NetBIOS server or
* node type. After you associate the options with the VPC, any
* existing instances and all new instances that you launch in that VPC
* use the options. For more information about the supported DHCP
* options and using them with Amazon VPC, go to Using DHCP Options in
* the Amazon Virtual Private Cloud Developer Guide.
* @param [Object] params
* * +DhcpOptionsId+ - (*required*, <tt>String</tt>) The ID of the
* DHCP options to associate with the VPC. Specify "default" to
* associate the default DHCP options with the VPC.
* * +VpcId+ - (*required*, <tt>String</tt>) The ID of the VPC to
* associate the DHCP options with.
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method associateRouteTable(params, options)
* Associates a subnet with a route table. The subnet and route table
* must be in the same VPC. This association causes traffic originating
* from the subnet to be routed according to the routes in the route
* table. The action returns an association ID, which you need if you
* want to disassociate the route table from the subnet later. A route
* table can be associated with multiple subnets.
* @param [Object] params
* * +subnetId+ - (*required*, <tt>String</tt>) The ID of the subnet.
* * +routeTableId+ - (*required*, <tt>String</tt>) The ID of the
* route table.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +associationId+ - (<tt>String</tt>)
*
* @!method attachInternetGateway(params, options)
* Attaches an Internet gateway to a VPC, enabling connectivity between
* the Internet and the VPC. For more information about your VPC and
* Internet gateway, go to the Amazon Virtual Private Cloud User Guide.
* @param [Object] params
* * +internetGatewayId+ - (*required*, <tt>String</tt>) The ID of
* the Internet gateway to attach.
* * +vpcId+ - (*required*, <tt>String</tt>) The ID of the VPC.
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method attachNetworkInterface(params, options)
* Calls the AttachNetworkInterface API operation.
* @param [Object] params
* * +networkInterfaceId+ - (*required*, <tt>String</tt>)
* * +instanceId+ - (*required*, <tt>String</tt>)
* * +deviceIndex+ - (*required*, <tt>Integer</tt>)
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +attachmentId+ - (<tt>String</tt>)
*
* @!method attachVolume(params, options)
* Attach a previously created volume to a running instance.
* @param [Object] params
* * +VolumeId+ - (*required*, <tt>String</tt>) The ID of the Amazon
* EBS volume. The volume and instance must be within the same
* Availability Zone and the instance must be running.
* * +InstanceId+ - (*required*, <tt>String</tt>) The ID of the
* instance to which the volume attaches. The volume and instance
* must be within the same Availability Zone and the instance must
* be running.
* * +Device+ - (*required*, <tt>String</tt>) Specifies how the
* device is exposed to the instance (e.g., /dev/sdh).
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +Attachment+ - (<tt>Object</tt>)
* * +VolumeId+ - (<tt>String</tt>)
* * +InstanceId+ - (<tt>String</tt>)
* * +Device+ - (<tt>String</tt>) How the device is exposed to the
* instance (e.g., /dev/sdh).
* * +State+ - (<tt>String</tt>)
* * +AttachTime+ - (<tt>Date</tt>) Timestamp when this attachment
* initiated.
* * +deleteOnTermination+ - (<tt>Boolean</tt>)
*
* @!method attachVpnGateway(params, options)
* Attaches a VPN gateway to a VPC. This is the last step required to
* get your VPC fully connected to your data center before launching
* instances in it. For more information, go to Process for Using
* Amazon VPC in the Amazon Virtual Private Cloud Developer Guide.
* @param [Object] params
* * +VpnGatewayId+ - (*required*, <tt>String</tt>) The ID of the VPN
* gateway to attach to the VPC.
* * +VpcId+ - (*required*, <tt>String</tt>) The ID of the VPC to
* attach to the VPN gateway.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +VpcAttachement+ - (<tt>Object</tt>)
* * +VpcId+ - (<tt>String</tt>)
* * +State+ - (<tt>String</tt>)
*
* @!method authorizeSecurityGroupEgress(params, options)
* This action applies only to security groups in a VPC; it's not
* supported for EC2 security groups. For information about Amazon
* Virtual Private Cloud and VPC security groups, go to the Amazon
* Virtual Private Cloud User Guide.
* @param [Object] params
* * +groupId+ - (*required*, <tt>String</tt>) ID of the VPC security
* group to modify.
* * +sourceSecurityGroupName+ - (<tt>String</tt>) Deprecated.
* * +sourceSecurityGroupOwnerId+ - (<tt>String</tt>) Deprecated.
* * +ipProtocol+ - (<tt>String</tt>) Deprecated.
* * +fromPort+ - (<tt>Integer</tt>) Deprecated.
* * +toPort+ - (<tt>Integer</tt>) Deprecated.
* * +cidrIp+ - (<tt>String</tt>) Deprecated.
* * +ipPermissions+ - (<tt>Array<Object></tt>) List of IP
* permissions to authorize on the specified security group.
* Specifying permissions through IP permissions is the preferred
* way of authorizing permissions since it offers more flexibility
* and control.
* * +IpProtocol+ - (<tt>String</tt>) The IP protocol of this
* permission.
* * +FromPort+ - (<tt>Integer</tt>) Start of port range for the
* TCP and UDP protocols, or an ICMP type number. An ICMP type
* number of -1 indicates a wildcard (i.e., any ICMP type
* number).
* * +ToPort+ - (<tt>Integer</tt>) End of port range for the TCP
* and UDP protocols, or an ICMP code. An ICMP code of -1
* indicates a wildcard (i.e., any ICMP code).
* * +UserIdGroupPairs+ - (<tt>Array<Object></tt>) The list of AWS
* user IDs and groups included in this permission.
* * +UserId+ - (<tt>String</tt>) The AWS user ID of an account.
* * +GroupName+ - (<tt>String</tt>) Name of the security group
* in the specified AWS account. Cannot be used when specifying
* a CIDR IP address range.
* * +GroupId+ - (<tt>String</tt>) ID of the security group in
* the specified AWS account. Cannot be used when specifying a
* CIDR IP address range.
* * +IpRanges+ - (<tt>Array<Object></tt>) The list of CIDR IP
* ranges included in this permission.
* * +CidrIp+ - (<tt>String</tt>) The list of CIDR IP ranges.
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method authorizeSecurityGroupIngress(params, options)
* The AuthorizeSecurityGroupIngress operation adds permissions to a
* security group.
* @param [Object] params
* * +GroupName+ - (<tt>String</tt>) Name of the standard (EC2)
* security group to modify. The group must belong to your account.
* Can be used instead of GroupID for standard (EC2) security
* groups.
* * +GroupId+ - (<tt>String</tt>) ID of the standard (EC2) or VPC
* security group to modify. The group must belong to your account.
* Required for VPC security groups; can be used instead of
* GroupName for standard (EC2) security groups.
* * +SourceSecurityGroupName+ - (<tt>String</tt>) Deprecated
* * +SourceSecurityGroupOwnerId+ - (<tt>String</tt>) Deprecated
* * +IpProtocol+ - (<tt>String</tt>) Deprecated
* * +FromPort+ - (<tt>Integer</tt>) Deprecated
* * +ToPort+ - (<tt>Integer</tt>) Deprecated
* * +CidrIp+ - (<tt>String</tt>) Deprecated
* * +IpPermissions+ - (<tt>Array<Object></tt>) List of IP
* permissions to authorize on the specified security group.
* Specifying permissions through IP permissions is the preferred
* way of authorizing permissions since it offers more flexibility
* and control.
* * +IpProtocol+ - (<tt>String</tt>) The IP protocol of this
* permission.
* * +FromPort+ - (<tt>Integer</tt>) Start of port range for the
* TCP and UDP protocols, or an ICMP type number. An ICMP type
* number of -1 indicates a wildcard (i.e., any ICMP type
* number).
* * +ToPort+ - (<tt>Integer</tt>) End of port range for the TCP
* and UDP protocols, or an ICMP code. An ICMP code of -1
* indicates a wildcard (i.e., any ICMP code).
* * +UserIdGroupPairs+ - (<tt>Array<Object></tt>) The list of AWS
* user IDs and groups included in this permission.
* * +UserId+ - (<tt>String</tt>) The AWS user ID of an account.
* * +GroupName+ - (<tt>String</tt>) Name of the security group
* in the specified AWS account. Cannot be used when specifying
* a CIDR IP address range.
* * +GroupId+ - (<tt>String</tt>) ID of the security group in
* the specified AWS account. Cannot be used when specifying a
* CIDR IP address range.
* * +IpRanges+ - (<tt>Array<Object></tt>) The list of CIDR IP
* ranges included in this permission.
* * +CidrIp+ - (<tt>String</tt>) The list of CIDR IP ranges.
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method bundleInstance(params, options)
* The BundleInstance operation request that an instance is bundled the
* next time it boots. The bundling process creates a new image from a
* running instance and stores the AMI data in S3. Once bundled, the
* image must be registered in the normal way using the RegisterImage
* API.
* @param [Object] params
* * +InstanceId+ - (*required*, <tt>String</tt>) The ID of the
* instance to bundle.
* * +Storage+ - (*required*, <tt>Object</tt>)
* * +S3+ - (<tt>Object</tt>) The details of S3 storage for
* bundling a Windows instance.
* * +Bucket+ - (<tt>String</tt>) The bucket in which to store
* the AMI. You can specify a bucket that you already own or a
* new bucket that Amazon EC2 creates on your behalf.
* * +Prefix+ - (<tt>String</tt>) The prefix to use when storing
* the AMI in S3.
* * +AWSAccessKeyId+ - (<tt>String</tt>) The Access Key ID of
* the owner of the Amazon S3 bucket.
* * +UploadPolicy+ - (<tt>String</tt>) A Base64-encoded Amazon
* S3 upload policy that gives Amazon EC2 permission to upload
* items into Amazon S3 on the user's behalf.
* * +UploadPolicySignature+ - (<tt>String</tt>) The signature of
* the Base64 encoded JSON document.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +BundleTask+ - (<tt>Object</tt>)
* * +InstanceId+ - (<tt>String</tt>) Instance associated with this
* bundle task.
* * +BundleId+ - (<tt>String</tt>) Unique identifier for this
* task.
* * +State+ - (<tt>String</tt>) The state of this task.
* * +StartTime+ - (<tt>Date</tt>) The time this task started.
* * +UpdateTime+ - (<tt>Date</tt>) The time of the most recent
* update for the task.
* * +Storage+ - (<tt>Object</tt>) Amazon S3 storage locations.
* * +S3+ - (<tt>Object</tt>) The details of S3 storage for
* bundling a Windows instance.
* * +Bucket+ - (<tt>String</tt>) The bucket in which to store
* the AMI. You can specify a bucket that you already own or
* a new bucket that Amazon EC2 creates on your behalf.
* * +Prefix+ - (<tt>String</tt>) The prefix to use when
* storing the AMI in S3.
* * +AWSAccessKeyId+ - (<tt>String</tt>) The Access Key ID of
* the owner of the Amazon S3 bucket.
* * +UploadPolicy+ - (<tt>String</tt>) A Base64-encoded Amazon
* S3 upload policy that gives Amazon EC2 permission to
* upload items into Amazon S3 on the user's behalf.
* * +UploadPolicySignature+ - (<tt>String</tt>) The signature
* of the Base64 encoded JSON document.
* * +Progress+ - (<tt>String</tt>) The level of task completion,
* in percent (e.g., 20%).
* * +BundleTaskError+ - (<tt>Object</tt>) If the task fails, a
* description of the error.
* * +Code+ - (<tt>String</tt>) Error code.
* * +Message+ - (<tt>String</tt>) Error message.
*
* @!method cancelBundleTask(params, options)
* CancelBundleTask operation cancels a pending or in-progress bundling
* task. This is an asynchronous call and it make take a while for the
* task to be canceled. If a task is canceled while it is storing
* items, there may be parts of the incomplete AMI stored in S3. It is
* up to the caller to clean up these parts from S3.
* @param [Object] params
* * +BundleId+ - (*required*, <tt>String</tt>) The ID of the bundle
* task to cancel.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +BundleTask+ - (<tt>Object</tt>) The canceled bundle task.
* * +InstanceId+ - (<tt>String</tt>) Instance associated with this
* bundle task.
* * +BundleId+ - (<tt>String</tt>) Unique identifier for this
* task.
* * +State+ - (<tt>String</tt>) The state of this task.
* * +StartTime+ - (<tt>Date</tt>) The time this task started.
* * +UpdateTime+ - (<tt>Date</tt>) The time of the most recent
* update for the task.
* * +Storage+ - (<tt>Object</tt>) Amazon S3 storage locations.
* * +S3+ - (<tt>Object</tt>) The details of S3 storage for
* bundling a Windows instance.
* * +Bucket+ - (<tt>String</tt>) The bucket in which to store
* the AMI. You can specify a bucket that you already own or
* a new bucket that Amazon EC2 creates on your behalf.
* * +Prefix+ - (<tt>String</tt>) The prefix to use when
* storing the AMI in S3.
* * +AWSAccessKeyId+ - (<tt>String</tt>) The Access Key ID of
* the owner of the Amazon S3 bucket.
* * +UploadPolicy+ - (<tt>String</tt>) A Base64-encoded Amazon
* S3 upload policy that gives Amazon EC2 permission to
* upload items into Amazon S3 on the user's behalf.
* * +UploadPolicySignature+ - (<tt>String</tt>) The signature
* of the Base64 encoded JSON document.
* * +Progress+ - (<tt>String</tt>) The level of task completion,
* in percent (e.g., 20%).
* * +BundleTaskError+ - (<tt>Object</tt>) If the task fails, a
* description of the error.
* * +Code+ - (<tt>String</tt>) Error code.
* * +Message+ - (<tt>String</tt>) Error message.
*
* @!method cancelConversionTask(params, options)
* Calls the CancelConversionTask API operation.
* @param [Object] params
* * +conversionTaskId+ - (*required*, <tt>String</tt>)
* * +reasonMessage+ - (<tt>String</tt>)
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method cancelExportTask(params, options)
* Calls the CancelExportTask API operation.
* @param [Object] params
* * +exportTaskId+ - (*required*, <tt>String</tt>)
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method cancelReservedInstancesListing(params, options)
* Calls the CancelReservedInstancesListing API operation.
* @param [Object] params
* * +reservedInstancesListingId+ - (*required*, <tt>String</tt>)
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +reservedInstancesListings+ - (<tt>Array<Object></tt>)
* * +reservedInstancesListingId+ - (<tt>String</tt>)
* * +reservedInstancesId+ - (<tt>String</tt>)
* * +createDate+ - (<tt>Date</tt>)
* * +updateDate+ - (<tt>Date</tt>)
* * +status+ - (<tt>String</tt>)
* * +statusMessage+ - (<tt>String</tt>)
* * +instanceCounts+ - (<tt>Array<Object></tt>)
* * +state+ - (<tt>String</tt>)
* * +instanceCount+ - (<tt>Integer</tt>)
* * +priceSchedules+ - (<tt>Array<Object></tt>)
* * +term+ - (<tt>Integer</tt>)
* * +price+ - (<tt>Float</tt>)
* * +currencyCode+ - (<tt>String</tt>)
* * +active+ - (<tt>Boolean</tt>)
* * +tags+ - (<tt>Array<Object></tt>)
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
* * +clientToken+ - (<tt>String</tt>)
*
* @!method cancelSpotInstanceRequests(params, options)
* Cancels one or more Spot Instance requests.
* @param [Object] params
* * +spotInstanceRequestIds+ - (*required*, <tt>Array<String></tt>)
* Specifies the ID of the Spot Instance request.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +cancelledSpotInstanceRequests+ - (<tt>Array<Object></tt>)
* * +spotInstanceRequestId+ - (<tt>String</tt>)
* * +state+ - (<tt>String</tt>)
*
* @!method confirmProductInstance(params, options)
* The ConfirmProductInstance operation returns true if the specified
* product code is attached to the specified instance. The operation
* returns false if the product code is not attached to the instance.
* @param [Object] params
* * +ProductCode+ - (*required*, <tt>String</tt>) The product code
* to confirm.
* * +InstanceId+ - (*required*, <tt>String</tt>) The ID of the
* instance to confirm.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +OwnerId+ - (<tt>String</tt>) The instance owner's account ID.
* Only present if the product code is attached to the instance.
*
* @!method createCustomerGateway(params, options)
* Provides information to AWS about your customer gateway device. The
* customer gateway is the appliance at your end of the VPN connection
* (compared to the VPN gateway, which is the device at the AWS side of
* the VPN connection). You can have a single active customer gateway
* per AWS account (active means that you've created a VPN connection
* to use with the customer gateway). AWS might delete any customer
* gateway that you create with this operation if you leave it inactive
* for an extended period of time.
* @param [Object] params
* * +Type+ - (*required*, <tt>String</tt>) The type of VPN
* connection this customer gateway supports.
* * +PublicIp+ - (*required*, <tt>String</tt>) The Internet-routable
* IP address for the customer gateway's outside interface. The
* address must be static
* * +BgpAsn+ - (*required*, <tt>Integer</tt>) The customer gateway's
* Border Gateway Protocol (BGP) Autonomous System Number (ASN).
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +CustomerGateway+ - (<tt>Object</tt>) Information about the
* customer gateway.
* * +CustomerGatewayId+ - (<tt>String</tt>) Specifies the ID of
* the customer gateway.
* * +State+ - (<tt>String</tt>) Describes the current state of the
* customer gateway. Valid values are pending, available,
* deleting, and deleted.
* * +Type+ - (<tt>String</tt>) Specifies the type of VPN
* connection the customer gateway supports.
* * +IpAddress+ - (<tt>String</tt>) Contains the Internet-routable
* IP address of the customer gateway's outside interface.
* * +BgpAsn+ - (<tt>String</tt>) Specifies the customer gateway's
* Border Gateway Protocol (BGP) Autonomous System Number (ASN).
* * +tags+ - (<tt>Array<Object></tt>) A list of tags for the
* CustomerGateway.
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
*
* @!method createDhcpOptions(params, options)
* Creates a set of DHCP options that you can then associate with one
* or more VPCs, causing all existing and new instances that you launch
* in those VPCs to use the set of DHCP options. The following table
* lists the individual DHCP options you can specify. For more
* information about the options, go to
* http://www.ietf.org/rfc/rfc2132.txt
* @param [Object] params
* * +DhcpConfigurations+ - (*required*, <tt>Array<Object></tt>) A
* set of one or more DHCP configurations.
* * +Key+ - (<tt>String</tt>) Contains the name of a DHCP option.
* * +Values+ - (<tt>Array<String></tt>) Contains a set of values
* for a DHCP option.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +DhcpOptions+ - (<tt>Object</tt>) A set of one or more DHCP
* options.
* * +DhcpOptionsId+ - (<tt>String</tt>) Specifies the ID of the
* set of DHCP options.
* * +DhcpConfigurations+ - (<tt>Array<Object></tt>) Contains
* information about the set of DHCP options.
* * +Key+ - (<tt>String</tt>) Contains the name of a DHCP
* option.
* * +Values+ - (<tt>Array<String></tt>) Contains a set of values
* for a DHCP option.
* * +tags+ - (<tt>Array<Object></tt>) A list of tags for the
* DhcpOptions.
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
*
* @!method createImage(params, options)
* Creates an Amazon EBS-backed AMI from a "running" or "stopped"
* instance. AMIs that use an Amazon EBS root device boot faster than
* AMIs that use instance stores. They can be up to 1 TiB in size, use
* storage that persists on instance failure, and can be stopped and
* started.
* @param [Object] params
* * +instanceId+ - (*required*, <tt>String</tt>) The ID of the
* instance from which to create the new image.
* * +name+ - (*required*, <tt>String</tt>) The name for the new AMI
* being created.
* * +description+ - (<tt>String</tt>) The description for the new
* AMI being created.
* * +noReboot+ - (<tt>Boolean</tt>) By default this property is set
* to false, which means Amazon EC2 attempts to cleanly shut down
* the instance before image creation and reboots the instance
* afterwards. When set to true, Amazon EC2 will not shut down the
* instance before creating the image. When this option is used,
* file system integrity on the created image cannot be guaranteed.
* * +blockDeviceMappings+ - (<tt>Array<Object></tt>)
* * +VirtualName+ - (<tt>String</tt>) Specifies the virtual device
* name.
* * +DeviceName+ - (<tt>String</tt>) Specifies the device name
* (e.g., /dev/sdh).
* * +ebs+ - (<tt>Object</tt>) Specifies parameters used to
* automatically setup Amazon EBS volumes when the instance is
* launched.
* * +snapshotId+ - (<tt>String</tt>) The ID of the snapshot from
* which the volume will be created.
* * +volumeSize+ - (<tt>Integer</tt>) The size of the volume, in
* gigabytes.
* * +deleteOnTermination+ - (<tt>Boolean</tt>) Specifies whether
* the Amazon EBS volume is deleted on instance termination.
* * +volumeType+ - (<tt>String</tt>)
* * +iops+ - (<tt>Integer</tt>)
* * +noDevice+ - (<tt>String</tt>) Specifies the device name to
* suppress during instance launch.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +imageId+ - (<tt>String</tt>) The ID of the new AMI.
*
* @!method createInstanceExportTask(params, options)
* Calls the CreateInstanceExportTask API operation.
* @param [Object] params
* * +description+ - (<tt>String</tt>)
* * +instanceId+ - (*required*, <tt>String</tt>)
* * +targetEnvironment+ - (<tt>String</tt>)
* * +exportToS3Task+ - (<tt>Object</tt>)
* * +diskImageFormat+ - (<tt>String</tt>)
* * +containerFormat+ - (<tt>String</tt>)
* * +s3Bucket+ - (<tt>String</tt>)
* * +s3Prefix+ - (<tt>String</tt>)
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +exportTask+ - (<tt>Object</tt>)
* * +exportTaskId+ - (<tt>String</tt>)
* * +description+ - (<tt>String</tt>)
* * +state+ - (<tt>String</tt>)
* * +statusMessage+ - (<tt>String</tt>)
* * +instanceExportDetails+ - (<tt>Object</tt>)
* * +instanceId+ - (<tt>String</tt>)
* * +targetEnvironment+ - (<tt>String</tt>)
* * +exportToS3Task+ - (<tt>Object</tt>)
* * +diskImageFormat+ - (<tt>String</tt>)
* * +containerFormat+ - (<tt>String</tt>)
* * +s3Bucket+ - (<tt>String</tt>)
* * +s3Key+ - (<tt>String</tt>)
*
* @!method createInternetGateway(params, options)
* Creates a new Internet gateway in your AWS account. After creating
* the Internet gateway, you then attach it to a VPC using
* AttachInternetGateway. For more information about your VPC and
* Internet gateway, go to Amazon Virtual Private Cloud User Guide.
* @param [Object] params
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +internetGateway+ - (<tt>Object</tt>)
* * +internetGatewayId+ - (<tt>String</tt>)
* * +attachments+ - (<tt>Array<Object></tt>)
* * +vpcId+ - (<tt>String</tt>)
* * +state+ - (<tt>String</tt>)
* * +tags+ - (<tt>Array<Object></tt>)
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
*
* @!method createKeyPair(params, options)
* The CreateKeyPair operation creates a new 2048 bit RSA key pair and
* returns a unique ID that can be used to reference this key pair when
* launching new instances. For more information, see RunInstances.
* @param [Object] params
* * +KeyName+ - (*required*, <tt>String</tt>) The unique name for
* the new key pair.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +KeyPair+ - (<tt>Object</tt>) The newly created EC2 key pair.
* * +KeyName+ - (<tt>String</tt>) The name of the key pair.
* * +KeyFingerprint+ - (<tt>String</tt>) The SHA-1 digest of the
* DER encoded private key.
* * +KeyMaterial+ - (<tt>String</tt>) The unencrypted PEM encoded
* RSA private key.
*
* @!method createNetworkAcl(params, options)
* Creates a new network ACL in a VPC. Network ACLs provide an optional
* layer of security (on top of security groups) for the instances in
* your VPC. For more information about network ACLs, go to Network
* ACLs in the Amazon Virtual Private Cloud User Guide.
* @param [Object] params
* * +vpcId+ - (*required*, <tt>String</tt>) The ID of the VPC where
* the network ACL will be created.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +networkAcl+ - (<tt>Object</tt>)
* * +networkAclId+ - (<tt>String</tt>)
* * +vpcId+ - (<tt>String</tt>)
* * +isDefault+ - (<tt>Boolean</tt>)
* * +entries+ - (<tt>Array<Object></tt>)
* * +ruleNumber+ - (<tt>Integer</tt>)
* * +protocol+ - (<tt>String</tt>)
* * +ruleAction+ - (<tt>String</tt>)
* * +egress+ - (<tt>Boolean</tt>)
* * +cidrBlock+ - (<tt>String</tt>)
* * +icmpTypeCode+ - (<tt>Object</tt>)
* * +type+ - (<tt>Integer</tt>) For the ICMP protocol, the
* ICMP type. A value of -1 is a wildcard meaning all types.
* Required if specifying icmp for the protocol.
* * +code+ - (<tt>Integer</tt>) For the ICMP protocol, the
* ICMP code. A value of -1 is a wildcard meaning all codes.
* Required if specifying icmp for the protocol.
* * +portRange+ - (<tt>Object</tt>)
* * +from+ - (<tt>Integer</tt>) The first port in the range.
* Required if specifying tcp or udp for the protocol.
* * +to+ - (<tt>Integer</tt>) The last port in the range.
* Required if specifying tcp or udp for the protocol.
* * +associations+ - (<tt>Array<Object></tt>)
* * +networkAclAssociationId+ - (<tt>String</tt>)
* * +networkAclId+ - (<tt>String</tt>)
* * +subnetId+ - (<tt>String</tt>)
* * +tags+ - (<tt>Array<Object></tt>)
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
*
* @!method createNetworkAclEntry(params, options)
* Creates an entry (i.e., rule) in a network ACL with a rule number
* you specify. Each network ACL has a set of numbered ingress rules
* and a separate set of numbered egress rules. When determining
* whether a packet should be allowed in or out of a subnet associated
* with the ACL, Amazon VPC processes the entries in the ACL according
* to the rule numbers, in ascending order.
* @param [Object] params
* * +networkAclId+ - (*required*, <tt>String</tt>) ID of the ACL
* where the entry will be created.
* * +ruleNumber+ - (*required*, <tt>Integer</tt>) Rule number to
* assign to the entry (e.g., 100). ACL entries are processed in
* ascending order by rule number.
* * +protocol+ - (*required*, <tt>String</tt>) IP protocol the rule
* applies to. Valid Values: tcp, udp, icmp or an IP protocol
* number.
* * +ruleAction+ - (*required*, <tt>String</tt>) Whether to allow or
* deny traffic that matches the rule.
* * +egress+ - (*required*, <tt>Boolean</tt>) Whether this rule
* applies to egress traffic from the subnet (true) or ingress
* traffic to the subnet (false).
* * +cidrBlock+ - (*required*, <tt>String</tt>) The CIDR range to
* allow or deny, in CIDR notation (e.g., 172.16.0.0/24).
* * +icmpTypeCode+ - (<tt>Object</tt>) ICMP values.
* * +type+ - (<tt>Integer</tt>) For the ICMP protocol, the ICMP
* type. A value of -1 is a wildcard meaning all types. Required
* if specifying icmp for the protocol.
* * +code+ - (<tt>Integer</tt>) For the ICMP protocol, the ICMP
* code. A value of -1 is a wildcard meaning all codes. Required
* if specifying icmp for the protocol.
* * +portRange+ - (<tt>Object</tt>) Port ranges.
* * +from+ - (<tt>Integer</tt>) The first port in the range.
* Required if specifying tcp or udp for the protocol.
* * +to+ - (<tt>Integer</tt>) The last port in the range. Required
* if specifying tcp or udp for the protocol.
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method createNetworkInterface(params, options)
* Calls the CreateNetworkInterface API operation.
* @param [Object] params
* * +subnetId+ - (*required*, <tt>String</tt>)
* * +description+ - (<tt>String</tt>)
* * +privateIpAddress+ - (<tt>String</tt>)
* * +groups+ - (<tt>Array<String></tt>)
* * +privateIpAddresses+ - (<tt>Array<Object></tt>)
* * +privateIpAddress+ - (*required*, <tt>String</tt>)
* * +primary+ - (<tt>Boolean</tt>)
* * +secondaryPrivateIpAddressCount+ - (<tt>Integer</tt>)
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +networkInterface+ - (<tt>Object</tt>)
* * +networkInterfaceId+ - (<tt>String</tt>)
* * +subnetId+ - (<tt>String</tt>)
* * +vpcId+ - (<tt>String</tt>)
* * +availabilityZone+ - (<tt>String</tt>)
* * +description+ - (<tt>String</tt>)
* * +ownerId+ - (<tt>String</tt>)
* * +requesterId+ - (<tt>String</tt>)
* * +requesterManaged+ - (<tt>Boolean</tt>)
* * +status+ - (<tt>String</tt>)
* * +macAddress+ - (<tt>String</tt>)
* * +privateIpAddress+ - (<tt>String</tt>)
* * +privateDnsName+ - (<tt>String</tt>)
* * +sourceDestCheck+ - (<tt>Boolean</tt>)
* * +groups+ - (<tt>Array<Object></tt>)
* * +GroupName+ - (<tt>String</tt>)
* * +groupId+ - (<tt>String</tt>)
* * +attachment+ - (<tt>Object</tt>)
* * +attachmentId+ - (<tt>String</tt>)
* * +instanceId+ - (<tt>String</tt>)
* * +instanceOwnerId+ - (<tt>String</tt>)
* * +deviceIndex+ - (<tt>Integer</tt>)
* * +status+ - (<tt>String</tt>)
* * +attachTime+ - (<tt>Date</tt>)
* * +deleteOnTermination+ - (<tt>Boolean</tt>)
* * +association+ - (<tt>Object</tt>)
* * +publicIp+ - (<tt>String</tt>)
* * +ipOwnerId+ - (<tt>String</tt>)
* * +allocationId+ - (<tt>String</tt>)
* * +associationId+ - (<tt>String</tt>)
* * +tagSet+ - (<tt>Array<Object></tt>)
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
* * +privateIpAddresses+ - (<tt>Array<Object></tt>)
* * +privateIpAddress+ - (<tt>String</tt>)
* * +primary+ - (<tt>Boolean</tt>)
* * +association+ - (<tt>Object</tt>)
* * +publicIp+ - (<tt>String</tt>)
* * +ipOwnerId+ - (<tt>String</tt>)
* * +allocationId+ - (<tt>String</tt>)
* * +associationId+ - (<tt>String</tt>)
*
* @!method createPlacementGroup(params, options)
* Creates a PlacementGroup into which multiple Amazon EC2 instances
* can be launched. Users must give the group a name unique within the
* scope of the user account.
* @param [Object] params
* * +groupName+ - (*required*, <tt>String</tt>) The name of the
* PlacementGroup.
* * +strategy+ - (*required*, <tt>String</tt>) The PlacementGroup
* strategy.
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method createReservedInstancesListing(params, options)
* Calls the CreateReservedInstancesListing API operation.
* @param [Object] params
* * +reservedInstancesId+ - (*required*, <tt>String</tt>)
* * +instanceCount+ - (*required*, <tt>Integer</tt>)
* * +priceSchedules+ - (*required*, <tt>Array<Object></tt>)
* * +term+ - (<tt>Integer</tt>)
* * +price+ - (<tt>Float</tt>)
* * +currencyCode+ - (<tt>String</tt>)
* * +clientToken+ - (*required*, <tt>String</tt>)
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +reservedInstancesListings+ - (<tt>Array<Object></tt>)
* * +reservedInstancesListingId+ - (<tt>String</tt>)
* * +reservedInstancesId+ - (<tt>String</tt>)
* * +createDate+ - (<tt>Date</tt>)
* * +updateDate+ - (<tt>Date</tt>)
* * +status+ - (<tt>String</tt>)
* * +statusMessage+ - (<tt>String</tt>)
* * +instanceCounts+ - (<tt>Array<Object></tt>)
* * +state+ - (<tt>String</tt>)
* * +instanceCount+ - (<tt>Integer</tt>)
* * +priceSchedules+ - (<tt>Array<Object></tt>)
* * +term+ - (<tt>Integer</tt>)
* * +price+ - (<tt>Float</tt>)
* * +currencyCode+ - (<tt>String</tt>)
* * +active+ - (<tt>Boolean</tt>)
* * +tags+ - (<tt>Array<Object></tt>)
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
* * +clientToken+ - (<tt>String</tt>)
*
* @!method createRoute(params, options)
* Creates a new route in a route table within a VPC. The route's
* target can be either a gateway attached to the VPC or a NAT instance
* in the VPC.
* @param [Object] params
* * +routeTableId+ - (*required*, <tt>String</tt>) The ID of the
* route table where the route will be added.
* * +destinationCidrBlock+ - (*required*, <tt>String</tt>) The CIDR
* address block used for the destination match. For example:
* 0.0.0.0/0. Routing decisions are based on the most specific
* match.
* * +gatewayId+ - (<tt>String</tt>) The ID of a VPN or Internet
* gateway attached to your VPC. You must provide either GatewayId
* or InstanceId, but not both.
* * +instanceId+ - (<tt>String</tt>) The ID of a NAT instance in
* your VPC. You must provide either GatewayId or InstanceId, but
* not both.
* * +networkInterfaceId+ - (<tt>String</tt>)
* @param [Object] options
* @return [AWS.AWSRequest]
*
* @!method createRouteTable(params, options)
* Creates a new route table within a VPC. After you create a new route
* table, you can add routes and associate the table with a subnet. For
* more information about route tables, go to Route Tables in the
* Amazon Virtual Private Cloud User Guide.
* @param [Object] params
* * +vpcId+ - (*required*, <tt>String</tt>) The ID of the VPC where
* the route table will be created.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +routeTable+ - (<tt>Object</tt>)
* * +routeTableId+ - (<tt>String</tt>)
* * +vpcId+ - (<tt>String</tt>)
* * +routes+ - (<tt>Array<Object></tt>)
* * +destinationCidrBlock+ - (<tt>String</tt>)
* * +gatewayId+ - (<tt>String</tt>)
* * +instanceId+ - (<tt>String</tt>)
* * +instanceOwnerId+ - (<tt>String</tt>)
* * +networkInterfaceId+ - (<tt>String</tt>)
* * +state+ - (<tt>String</tt>)
* * +associations+ - (<tt>Array<Object></tt>)
* * +routeTableAssociationId+ - (<tt>String</tt>)
* * +routeTableId+ - (<tt>String</tt>)
* * +subnetId+ - (<tt>String</tt>)
* * +main+ - (<tt>Boolean</tt>)
* * +tags+ - (<tt>Array<Object></tt>)
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
* * +propagatingVgws+ - (<tt>Array<Object></tt>)
* * +gatewayId+ - (<tt>String</tt>)
* * +propagatedRoutes+ - (<tt>Array<Object></tt>)
* * +destinationCidrBlock+ - (<tt>String</tt>)
* * +gatewayId+ - (<tt>String</tt>)
* * +status+ - (<tt>String</tt>)
* * +sourceId+ - (<tt>String</tt>)
*
* @!method createSecurityGroup(params, options)
* The CreateSecurityGroup operation creates a new security group.
* @param [Object] params
* * +GroupName+ - (*required*, <tt>String</tt>) Name of the security
* group.
* * +Description+ - (*required*, <tt>String</tt>) Description of the
* group. This is informational only.
* * +VpcId+ - (<tt>String</tt>) ID of the VPC.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +groupId+ - (<tt>String</tt>)
*
* @!method createSnapshot(params, options)
* Create a snapshot of the volume identified by volume ID. A volume
* does not have to be detached at the time the snapshot is taken.
* @param [Object] params
* * +VolumeId+ - (*required*, <tt>String</tt>) The ID of the volume
* from which to create the snapshot.
* * +Description+ - (<tt>String</tt>) The description for the new
* snapshot.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +Snapshot+ - (<tt>Object</tt>) The new snapshot.
* * +SnapshotId+ - (<tt>String</tt>) The unique ID of this
* snapshot.
* * +VolumeId+ - (<tt>String</tt>) The ID of the volume from which
* this snapshot was created.
* * +State+ - (<tt>String</tt>) Snapshot state (e.g., pending,
* completed, or error).
* * +StartTime+ - (<tt>Date</tt>) Time stamp when the snapshot was
* initiated.
* * +Progress+ - (<tt>String</tt>) The progress of the snapshot,
* in percentage.
* * +OwnerId+ - (<tt>String</tt>) AWS Access Key ID of the user
* who owns the snapshot.
* * +Description+ - (<tt>String</tt>) Description of the snapshot.
* * +VolumeSize+ - (<tt>Integer</tt>) The size of the volume, in
* gigabytes.
* * +ownerAlias+ - (<tt>String</tt>) The AWS account alias (e.g.,
* "amazon", "redhat", "self", etc.) or AWS account ID that owns
* the AMI.
* * +tags+ - (<tt>Array<Object></tt>) A list of tags for the
* Snapshot.
* * +key+ - (<tt>String</tt>) The tag's key.
* * +value+ - (<tt>String</tt>) The tag's value.
*
* @!method createSpotDatafeedSubscription(params, options)
* Creates the data feed for Spot Instances, enabling you to view Spot
* Instance usage logs. You can create one data feed per account.
* @param [Object] params
* * +bucket+ - (*required*, <tt>String</tt>) The Amazon S3 bucket in
* which to store the Spot Instance datafeed.
* * +prefix+ - (<tt>String</tt>) The prefix that is prepended to
* datafeed files.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +spotDatafeedSubscription+ - (<tt>Object</tt>)
* * +ownerId+ - (<tt>String</tt>) Specifies the AWS account ID of
* the account.
* * +bucket+ - (<tt>String</tt>) Specifies the Amazon S3 bucket
* where the Spot Instance data feed is located.
* * +prefix+ - (<tt>String</tt>) Contains the prefix that is
* prepended to data feed files.
* * +state+ - (<tt>String</tt>) Specifies the state of the Spot
* Instance request.
* * +fault+ - (<tt>Object</tt>) Specifies a fault code for the
* Spot Instance request, if present.
* * +code+ - (<tt>String</tt>)
* * +message+ - (<tt>String</tt>)
*
* @!method createSubnet(params, options)
* Creates a subnet in an existing VPC. You can create up to 20 subnets
* in a VPC. If you add more than one subnet to a VPC, they're set up
* in a star topology with a logical router in the middle. When you
* create each subnet, you provide the VPC ID and the CIDR block you
* want for the subnet. Once you create a subnet, you can't change its
* CIDR block. The subnet's CIDR block can be the same as the VPC's
* CIDR block (assuming you want only a single subnet in the VPC), or a
* subset of the VPC's CIDR block. If you create more than one subnet
* in a VPC, the subnets' CIDR blocks must not overlap. The smallest
* subnet (and VPC) you can create uses a /28 netmask (16 IP
* addresses), and the largest uses a /18 netmask (16,384 IP
* addresses).
* @param [Object] params
* * +VpcId+ - (*required*, <tt>String</tt>) The ID of the VPC to
* create the subnet in.
* * +CidrBlock+ - (*required*, <tt>String</tt>) The CIDR block the
* subnet is to cover.
* * +AvailabilityZone+ - (<tt>String</tt>) The Availability Zone to
* create the subnet in.
* @param [Object] options
* @return [AWS.AWSRequest] The +data+ property of the AWS.AWSResponse
* object that is passed to the registered callbacks has the
* following properties:
* * +Subnet+ - (<tt>Object</tt>)
* * +SubnetId+ - (<tt>String</tt>) Specifies the ID of the subnet.
* * +State+ - (<tt>String</tt>) Describes the current state of the
* subnet. The state of the subnet may be either pending or
* available.
* * +VpcId+ - (<tt>String</tt>) Contains the ID of the VPC the