aws-sdk-core 2.6.30 → 2.6.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/apis/apigateway/2015-07-09/api-2.json +503 -4
  3. data/apis/appstream/2016-12-01/api-2.json +820 -0
  4. data/apis/appstream/2016-12-01/examples-1.json +5 -0
  5. data/apis/appstream/2016-12-01/waiters-2.json +55 -0
  6. data/apis/codebuild/2016-10-06/api-2.json +702 -0
  7. data/apis/codebuild/2016-10-06/examples-1.json +5 -0
  8. data/apis/directconnect/2012-10-25/api-2.json +112 -9
  9. data/apis/ec2/2016-11-15/api-2.json +15025 -0
  10. data/apis/ec2/2016-11-15/examples-1.json +3740 -0
  11. data/apis/ec2/2016-11-15/paginators-1.json +138 -0
  12. data/apis/ec2/2016-11-15/resources-1.json +2582 -0
  13. data/apis/ec2/2016-11-15/waiters-2.json +593 -0
  14. data/apis/elasticbeanstalk/2010-12-01/api-2.json +53 -4
  15. data/apis/health/2016-08-04/api-2.json +547 -0
  16. data/apis/health/2016-08-04/examples-1.json +5 -0
  17. data/apis/health/2016-08-04/paginators-1.json +31 -0
  18. data/apis/lambda/2015-03-31/api-2.json +81 -11
  19. data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
  20. data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
  21. data/apis/pinpoint/2016-12-01/api-2.json +2793 -0
  22. data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
  23. data/apis/shield/2016-06-02/api-2.json +494 -0
  24. data/apis/shield/2016-06-02/examples-1.json +5 -0
  25. data/apis/ssm/2014-11-06/api-2.json +2671 -117
  26. data/apis/states/2016-11-23/api-2.json +1021 -0
  27. data/apis/states/2016-11-23/examples-1.json +5 -0
  28. data/apis/states/2016-11-23/paginators-1.json +28 -0
  29. data/apis/xray/2016-04-12/api-2.json +491 -0
  30. data/apis/xray/2016-04-12/examples-1.json +5 -0
  31. data/endpoints.json +82 -0
  32. data/lib/aws-sdk-core.rb +8 -0
  33. data/lib/aws-sdk-core/appstream.rb +6 -0
  34. data/lib/aws-sdk-core/codebuild.rb +5 -0
  35. data/lib/aws-sdk-core/ec2.rb +6 -6
  36. data/lib/aws-sdk-core/health.rb +6 -0
  37. data/lib/aws-sdk-core/opsworkscm.rb +5 -0
  38. data/lib/aws-sdk-core/pinpoint.rb +5 -0
  39. data/lib/aws-sdk-core/shield.rb +5 -0
  40. data/lib/aws-sdk-core/states.rb +6 -0
  41. data/lib/aws-sdk-core/version.rb +1 -1
  42. data/lib/aws-sdk-core/xray.rb +5 -0
  43. data/service-models.json +33 -1
  44. metadata +34 -2
@@ -0,0 +1,3740 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ "AllocateAddress": [
5
+ {
6
+ "input": {
7
+ "Domain": "vpc"
8
+ },
9
+ "output": {
10
+ "AllocationId": "eipalloc-64d5890a",
11
+ "Domain": "vpc",
12
+ "PublicIp": "203.0.113.0"
13
+ },
14
+ "comments": {
15
+ "input": {
16
+ },
17
+ "output": {
18
+ }
19
+ },
20
+ "description": "This example allocates an Elastic IP address to use with an instance in a VPC.",
21
+ "id": "ec2-allocate-address-1",
22
+ "title": "To allocate an Elastic IP address for EC2-VPC"
23
+ },
24
+ {
25
+ "output": {
26
+ "Domain": "standard",
27
+ "PublicIp": "198.51.100.0"
28
+ },
29
+ "comments": {
30
+ "input": {
31
+ },
32
+ "output": {
33
+ }
34
+ },
35
+ "description": "This example allocates an Elastic IP address to use with an instance in EC2-Classic.",
36
+ "id": "ec2-allocate-address-2",
37
+ "title": "To allocate an Elastic IP address for EC2-Classic"
38
+ }
39
+ ],
40
+ "AssignPrivateIpAddresses": [
41
+ {
42
+ "input": {
43
+ "NetworkInterfaceId": "eni-e5aa89a3",
44
+ "PrivateIpAddresses": [
45
+ "10.0.0.82"
46
+ ]
47
+ },
48
+ "comments": {
49
+ "input": {
50
+ },
51
+ "output": {
52
+ }
53
+ },
54
+ "description": "This example assigns the specified secondary private IP address to the specified network interface.",
55
+ "id": "ec2-assign-private-ip-addresses-1",
56
+ "title": "To assign a specific secondary private IP address to an interface"
57
+ },
58
+ {
59
+ "input": {
60
+ "NetworkInterfaceId": "eni-e5aa89a3",
61
+ "SecondaryPrivateIpAddressCount": 2
62
+ },
63
+ "comments": {
64
+ "input": {
65
+ },
66
+ "output": {
67
+ }
68
+ },
69
+ "description": "This example assigns two secondary private IP addresses to the specified network interface. Amazon EC2 automatically assigns these IP addresses from the available IP addresses in the CIDR block range of the subnet the network interface is associated with.",
70
+ "id": "ec2-assign-private-ip-addresses-2",
71
+ "title": "To assign secondary private IP addresses that Amazon EC2 selects to an interface"
72
+ }
73
+ ],
74
+ "AssociateAddress": [
75
+ {
76
+ "input": {
77
+ "AllocationId": "eipalloc-64d5890a",
78
+ "InstanceId": "i-0b263919b6498b123"
79
+ },
80
+ "output": {
81
+ "AssociationId": "eipassoc-2bebb745"
82
+ },
83
+ "comments": {
84
+ "input": {
85
+ },
86
+ "output": {
87
+ }
88
+ },
89
+ "description": "This example associates the specified Elastic IP address with the specified instance in a VPC.",
90
+ "id": "ec2-associate-address-1",
91
+ "title": "To associate an Elastic IP address in EC2-VPC"
92
+ },
93
+ {
94
+ "input": {
95
+ "AllocationId": "eipalloc-64d5890a",
96
+ "NetworkInterfaceId": "eni-1a2b3c4d"
97
+ },
98
+ "output": {
99
+ "AssociationId": "eipassoc-2bebb745"
100
+ },
101
+ "comments": {
102
+ "input": {
103
+ },
104
+ "output": {
105
+ }
106
+ },
107
+ "description": "This example associates the specified Elastic IP address with the specified network interface.",
108
+ "id": "ec2-associate-address-2",
109
+ "title": "To associate an Elastic IP address with a network interface"
110
+ },
111
+ {
112
+ "input": {
113
+ "InstanceId": "i-07ffe74c7330ebf53",
114
+ "PublicIp": "198.51.100.0"
115
+ },
116
+ "comments": {
117
+ "input": {
118
+ },
119
+ "output": {
120
+ }
121
+ },
122
+ "description": "This example associates an Elastic IP address with an instance in EC2-Classic.",
123
+ "id": "ec2-associate-address-3",
124
+ "title": "To associate an Elastic IP address in EC2-Classic"
125
+ }
126
+ ],
127
+ "AssociateDhcpOptions": [
128
+ {
129
+ "input": {
130
+ "DhcpOptionsId": "dopt-d9070ebb",
131
+ "VpcId": "vpc-a01106c2"
132
+ },
133
+ "comments": {
134
+ "input": {
135
+ },
136
+ "output": {
137
+ }
138
+ },
139
+ "description": "This example associates the specified DHCP options set with the specified VPC.",
140
+ "id": "ec2-associate-dhcp-options-1",
141
+ "title": "To associate a DHCP options set with a VPC"
142
+ },
143
+ {
144
+ "input": {
145
+ "DhcpOptionsId": "default",
146
+ "VpcId": "vpc-a01106c2"
147
+ },
148
+ "comments": {
149
+ "input": {
150
+ },
151
+ "output": {
152
+ }
153
+ },
154
+ "description": "This example associates the default DHCP options set with the specified VPC.",
155
+ "id": "ec2-associate-dhcp-options-2",
156
+ "title": "To associate the default DHCP options set with a VPC"
157
+ }
158
+ ],
159
+ "AssociateRouteTable": [
160
+ {
161
+ "input": {
162
+ "RouteTableId": "rtb-22574640",
163
+ "SubnetId": "subnet-9d4a7b6"
164
+ },
165
+ "output": {
166
+ "AssociationId": "rtbassoc-781d0d1a"
167
+ },
168
+ "comments": {
169
+ "input": {
170
+ },
171
+ "output": {
172
+ }
173
+ },
174
+ "description": "This example associates the specified route table with the specified subnet.",
175
+ "id": "ec2-associate-route-table-1",
176
+ "title": "To associate a route table with a subnet"
177
+ }
178
+ ],
179
+ "AttachInternetGateway": [
180
+ {
181
+ "input": {
182
+ "InternetGatewayId": "igw-c0a643a9",
183
+ "VpcId": "vpc-a01106c2"
184
+ },
185
+ "comments": {
186
+ "input": {
187
+ },
188
+ "output": {
189
+ }
190
+ },
191
+ "description": "This example attaches the specified Internet gateway to the specified VPC.",
192
+ "id": "ec2-attach-internet-gateway-1",
193
+ "title": "To attach an Internet gateway to a VPC"
194
+ }
195
+ ],
196
+ "AttachNetworkInterface": [
197
+ {
198
+ "input": {
199
+ "DeviceIndex": 1,
200
+ "InstanceId": "i-1234567890abcdef0",
201
+ "NetworkInterfaceId": "eni-e5aa89a3"
202
+ },
203
+ "output": {
204
+ "AttachmentId": "eni-attach-66c4350a"
205
+ },
206
+ "comments": {
207
+ "input": {
208
+ },
209
+ "output": {
210
+ }
211
+ },
212
+ "description": "This example attaches the specified network interface to the specified instance.",
213
+ "id": "ec2-attach-network-interface-1",
214
+ "title": "To attach a network interface to an instance"
215
+ }
216
+ ],
217
+ "AttachVolume": [
218
+ {
219
+ "input": {
220
+ "Device": "/dev/sdf",
221
+ "InstanceId": "i-01474ef662b89480",
222
+ "VolumeId": "vol-1234567890abcdef0"
223
+ },
224
+ "output": {
225
+ "AttachTime": "2016-08-29T18:52:32.724Z",
226
+ "Device": "/dev/sdf",
227
+ "InstanceId": "i-01474ef662b89480",
228
+ "State": "attaching",
229
+ "VolumeId": "vol-1234567890abcdef0"
230
+ },
231
+ "comments": {
232
+ "input": {
233
+ },
234
+ "output": {
235
+ }
236
+ },
237
+ "description": "This example attaches a volume (``vol-1234567890abcdef0``) to an instance (``i-01474ef662b89480``) as ``/dev/sdf``.",
238
+ "id": "to-attach-a-volume-to-an-instance-1472499213109",
239
+ "title": "To attach a volume to an instance"
240
+ }
241
+ ],
242
+ "CancelSpotFleetRequests": [
243
+ {
244
+ "input": {
245
+ "SpotFleetRequestIds": [
246
+ "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
247
+ ],
248
+ "TerminateInstances": true
249
+ },
250
+ "output": {
251
+ "SuccessfulFleetRequests": [
252
+ {
253
+ "CurrentSpotFleetRequestState": "cancelled_running",
254
+ "PreviousSpotFleetRequestState": "active",
255
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
256
+ }
257
+ ]
258
+ },
259
+ "comments": {
260
+ "input": {
261
+ },
262
+ "output": {
263
+ }
264
+ },
265
+ "description": "This example cancels the specified Spot fleet request and terminates its associated Spot Instances.",
266
+ "id": "ec2-cancel-spot-fleet-requests-1",
267
+ "title": "To cancel a Spot fleet request"
268
+ },
269
+ {
270
+ "input": {
271
+ "SpotFleetRequestIds": [
272
+ "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
273
+ ],
274
+ "TerminateInstances": false
275
+ },
276
+ "output": {
277
+ "SuccessfulFleetRequests": [
278
+ {
279
+ "CurrentSpotFleetRequestState": "cancelled_terminating",
280
+ "PreviousSpotFleetRequestState": "active",
281
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
282
+ }
283
+ ]
284
+ },
285
+ "comments": {
286
+ "input": {
287
+ },
288
+ "output": {
289
+ }
290
+ },
291
+ "description": "This example cancels the specified Spot fleet request without terminating its associated Spot Instances.",
292
+ "id": "ec2-cancel-spot-fleet-requests-2",
293
+ "title": "To cancel a Spot fleet request without terminating its Spot Instances"
294
+ }
295
+ ],
296
+ "CancelSpotInstanceRequests": [
297
+ {
298
+ "input": {
299
+ "SpotInstanceRequestIds": [
300
+ "sir-08b93456"
301
+ ]
302
+ },
303
+ "output": {
304
+ "CancelledSpotInstanceRequests": [
305
+ {
306
+ "SpotInstanceRequestId": "sir-08b93456",
307
+ "State": "cancelled"
308
+ }
309
+ ]
310
+ },
311
+ "comments": {
312
+ "input": {
313
+ },
314
+ "output": {
315
+ }
316
+ },
317
+ "description": "This example cancels a Spot Instance request.",
318
+ "id": "ec2-cancel-spot-instance-requests-1",
319
+ "title": "To cancel Spot Instance requests"
320
+ }
321
+ ],
322
+ "ConfirmProductInstance": [
323
+ {
324
+ "input": {
325
+ "InstanceId": "i-1234567890abcdef0",
326
+ "ProductCode": "774F4FF8"
327
+ },
328
+ "output": {
329
+ "OwnerId": "123456789012"
330
+ },
331
+ "comments": {
332
+ "input": {
333
+ },
334
+ "output": {
335
+ }
336
+ },
337
+ "description": "This example determines whether the specified product code is associated with the specified instance.",
338
+ "id": "to-confirm-the-product-instance-1472712108494",
339
+ "title": "To confirm the product instance"
340
+ }
341
+ ],
342
+ "CopySnapshot": [
343
+ {
344
+ "input": {
345
+ "Description": "This is my copied snapshot.",
346
+ "DestinationRegion": "us-east-1",
347
+ "SourceRegion": "us-west-2",
348
+ "SourceSnapshotId": "snap-066877671789bd71b"
349
+ },
350
+ "output": {
351
+ "SnapshotId": "snap-066877671789bd71b"
352
+ },
353
+ "comments": {
354
+ "input": {
355
+ },
356
+ "output": {
357
+ }
358
+ },
359
+ "description": "This example copies a snapshot with the snapshot ID of ``snap-066877671789bd71b`` from the ``us-west-2`` region to the ``us-east-1`` region and adds a short description to identify the snapshot.",
360
+ "id": "to-copy-a-snapshot-1472502259774",
361
+ "title": "To copy a snapshot"
362
+ }
363
+ ],
364
+ "CreateCustomerGateway": [
365
+ {
366
+ "input": {
367
+ "BgpAsn": 65534,
368
+ "PublicIp": "12.1.2.3",
369
+ "Type": "ipsec.1"
370
+ },
371
+ "output": {
372
+ "CustomerGateway": {
373
+ "BgpAsn": "65534",
374
+ "CustomerGatewayId": "cgw-0e11f167",
375
+ "IpAddress": "12.1.2.3",
376
+ "State": "available",
377
+ "Type": "ipsec.1"
378
+ }
379
+ },
380
+ "comments": {
381
+ "input": {
382
+ },
383
+ "output": {
384
+ }
385
+ },
386
+ "description": "This example creates a customer gateway with the specified IP address for its outside interface.",
387
+ "id": "ec2-create-customer-gateway-1",
388
+ "title": "To create a customer gateway"
389
+ }
390
+ ],
391
+ "CreateDhcpOptions": [
392
+ {
393
+ "input": {
394
+ "DhcpConfigurations": [
395
+ {
396
+ "Key": "domain-name-servers",
397
+ "Values": [
398
+ "10.2.5.1",
399
+ "10.2.5.2"
400
+ ]
401
+ }
402
+ ]
403
+ },
404
+ "output": {
405
+ "DhcpOptions": {
406
+ "DhcpConfigurations": [
407
+ {
408
+ "Key": "domain-name-servers",
409
+ "Values": [
410
+ {
411
+ "Value": "10.2.5.2"
412
+ },
413
+ {
414
+ "Value": "10.2.5.1"
415
+ }
416
+ ]
417
+ }
418
+ ],
419
+ "DhcpOptionsId": "dopt-d9070ebb"
420
+ }
421
+ },
422
+ "comments": {
423
+ "input": {
424
+ },
425
+ "output": {
426
+ }
427
+ },
428
+ "description": "This example creates a DHCP options set.",
429
+ "id": "ec2-create-dhcp-options-1",
430
+ "title": "To create a DHCP options set"
431
+ }
432
+ ],
433
+ "CreateInternetGateway": [
434
+ {
435
+ "output": {
436
+ "InternetGateway": {
437
+ "Attachments": [
438
+
439
+ ],
440
+ "InternetGatewayId": "igw-c0a643a9",
441
+ "Tags": [
442
+
443
+ ]
444
+ }
445
+ },
446
+ "comments": {
447
+ "input": {
448
+ },
449
+ "output": {
450
+ }
451
+ },
452
+ "description": "This example creates an Internet gateway.",
453
+ "id": "ec2-create-internet-gateway-1",
454
+ "title": "To create an Internet gateway"
455
+ }
456
+ ],
457
+ "CreateKeyPair": [
458
+ {
459
+ "input": {
460
+ "KeyName": "my-key-pair"
461
+ },
462
+ "comments": {
463
+ "input": {
464
+ },
465
+ "output": {
466
+ }
467
+ },
468
+ "description": "This example creates a key pair named my-key-pair.",
469
+ "id": "ec2-create-key-pair-1",
470
+ "title": "To create a key pair"
471
+ }
472
+ ],
473
+ "CreateNatGateway": [
474
+ {
475
+ "input": {
476
+ "AllocationId": "eipalloc-37fc1a52",
477
+ "SubnetId": "subnet-1a2b3c4d"
478
+ },
479
+ "output": {
480
+ "NatGateway": {
481
+ "CreateTime": "2015-12-17T12:45:26.732Z",
482
+ "NatGatewayAddresses": [
483
+ {
484
+ "AllocationId": "eipalloc-37fc1a52"
485
+ }
486
+ ],
487
+ "NatGatewayId": "nat-08d48af2a8e83edfd",
488
+ "State": "pending",
489
+ "SubnetId": "subnet-1a2b3c4d",
490
+ "VpcId": "vpc-1122aabb"
491
+ }
492
+ },
493
+ "comments": {
494
+ "input": {
495
+ },
496
+ "output": {
497
+ }
498
+ },
499
+ "description": "This example creates a NAT gateway in subnet subnet-1a2b3c4d and associates an Elastic IP address with the allocation ID eipalloc-37fc1a52 with the NAT gateway.",
500
+ "id": "ec2-create-nat-gateway-1",
501
+ "title": "To create a NAT gateway"
502
+ }
503
+ ],
504
+ "CreateNetworkAcl": [
505
+ {
506
+ "input": {
507
+ "VpcId": "vpc-a01106c2"
508
+ },
509
+ "output": {
510
+ "NetworkAcl": {
511
+ "Associations": [
512
+
513
+ ],
514
+ "Entries": [
515
+ {
516
+ "CidrBlock": "0.0.0.0/0",
517
+ "Egress": true,
518
+ "Protocol": "-1",
519
+ "RuleAction": "deny",
520
+ "RuleNumber": 32767
521
+ },
522
+ {
523
+ "CidrBlock": "0.0.0.0/0",
524
+ "Egress": false,
525
+ "Protocol": "-1",
526
+ "RuleAction": "deny",
527
+ "RuleNumber": 32767
528
+ }
529
+ ],
530
+ "IsDefault": false,
531
+ "NetworkAclId": "acl-5fb85d36",
532
+ "Tags": [
533
+
534
+ ],
535
+ "VpcId": "vpc-a01106c2"
536
+ }
537
+ },
538
+ "comments": {
539
+ "input": {
540
+ },
541
+ "output": {
542
+ }
543
+ },
544
+ "description": "This example creates a network ACL for the specified VPC.",
545
+ "id": "ec2-create-network-acl-1",
546
+ "title": "To create a network ACL"
547
+ }
548
+ ],
549
+ "CreateNetworkAclEntry": [
550
+ {
551
+ "input": {
552
+ "CidrBlock": "0.0.0.0/0",
553
+ "Egress": false,
554
+ "NetworkAclId": "acl-5fb85d36",
555
+ "PortRange": {
556
+ "From": 53,
557
+ "To": 53
558
+ },
559
+ "Protocol": "udp",
560
+ "RuleAction": "allow",
561
+ "RuleNumber": 100
562
+ },
563
+ "comments": {
564
+ "input": {
565
+ },
566
+ "output": {
567
+ }
568
+ },
569
+ "description": "This example creates an entry for the specified network ACL. The rule allows ingress traffic from anywhere (0.0.0.0/0) on UDP port 53 (DNS) into any associated subnet.",
570
+ "id": "ec2-create-network-acl-entry-1",
571
+ "title": "To create a network ACL entry"
572
+ }
573
+ ],
574
+ "CreateNetworkInterface": [
575
+ {
576
+ "input": {
577
+ "Description": "my network interface",
578
+ "Groups": [
579
+ "sg-903004f8"
580
+ ],
581
+ "PrivateIpAddress": "10.0.2.17",
582
+ "SubnetId": "subnet-9d4a7b6c"
583
+ },
584
+ "output": {
585
+ "NetworkInterface": {
586
+ "AvailabilityZone": "us-east-1d",
587
+ "Description": "my network interface",
588
+ "Groups": [
589
+ {
590
+ "GroupId": "sg-903004f8",
591
+ "GroupName": "default"
592
+ }
593
+ ],
594
+ "MacAddress": "02:1a:80:41:52:9c",
595
+ "NetworkInterfaceId": "eni-e5aa89a3",
596
+ "OwnerId": "123456789012",
597
+ "PrivateIpAddress": "10.0.2.17",
598
+ "PrivateIpAddresses": [
599
+ {
600
+ "Primary": true,
601
+ "PrivateIpAddress": "10.0.2.17"
602
+ }
603
+ ],
604
+ "RequesterManaged": false,
605
+ "SourceDestCheck": true,
606
+ "Status": "pending",
607
+ "SubnetId": "subnet-9d4a7b6c",
608
+ "TagSet": [
609
+
610
+ ],
611
+ "VpcId": "vpc-a01106c2"
612
+ }
613
+ },
614
+ "comments": {
615
+ "input": {
616
+ },
617
+ "output": {
618
+ }
619
+ },
620
+ "description": "This example creates a network interface for the specified subnet.",
621
+ "id": "ec2-create-network-interface-1",
622
+ "title": "To create a network interface"
623
+ }
624
+ ],
625
+ "CreatePlacementGroup": [
626
+ {
627
+ "input": {
628
+ "GroupName": "my-cluster",
629
+ "Strategy": "cluster"
630
+ },
631
+ "output": {
632
+ },
633
+ "comments": {
634
+ "input": {
635
+ },
636
+ "output": {
637
+ }
638
+ },
639
+ "description": "This example creates a placement group with the specified name.",
640
+ "id": "to-create-a-placement-group-1472712245768",
641
+ "title": "To create a placement group"
642
+ }
643
+ ],
644
+ "CreateRoute": [
645
+ {
646
+ "input": {
647
+ "DestinationCidrBlock": "0.0.0.0/0",
648
+ "GatewayId": "igw-c0a643a9",
649
+ "RouteTableId": "rtb-22574640"
650
+ },
651
+ "comments": {
652
+ "input": {
653
+ },
654
+ "output": {
655
+ }
656
+ },
657
+ "description": "This example creates a route for the specified route table. The route matches all traffic (0.0.0.0/0) and routes it to the specified Internet gateway.",
658
+ "id": "ec2-create-route-1",
659
+ "title": "To create a route"
660
+ }
661
+ ],
662
+ "CreateRouteTable": [
663
+ {
664
+ "input": {
665
+ "VpcId": "vpc-a01106c2"
666
+ },
667
+ "output": {
668
+ "RouteTable": {
669
+ "Associations": [
670
+
671
+ ],
672
+ "PropagatingVgws": [
673
+
674
+ ],
675
+ "RouteTableId": "rtb-22574640",
676
+ "Routes": [
677
+ {
678
+ "DestinationCidrBlock": "10.0.0.0/16",
679
+ "GatewayId": "local",
680
+ "State": "active"
681
+ }
682
+ ],
683
+ "Tags": [
684
+
685
+ ],
686
+ "VpcId": "vpc-a01106c2"
687
+ }
688
+ },
689
+ "comments": {
690
+ "input": {
691
+ },
692
+ "output": {
693
+ }
694
+ },
695
+ "description": "This example creates a route table for the specified VPC.",
696
+ "id": "ec2-create-route-table-1",
697
+ "title": "To create a route table"
698
+ }
699
+ ],
700
+ "CreateSnapshot": [
701
+ {
702
+ "input": {
703
+ "Description": "This is my root volume snapshot.",
704
+ "VolumeId": "vol-1234567890abcdef0"
705
+ },
706
+ "output": {
707
+ "Description": "This is my root volume snapshot.",
708
+ "OwnerId": "012345678910",
709
+ "SnapshotId": "snap-066877671789bd71b",
710
+ "StartTime": "2014-02-28T21:06:01.000Z",
711
+ "State": "pending",
712
+ "Tags": [
713
+
714
+ ],
715
+ "VolumeId": "vol-1234567890abcdef0",
716
+ "VolumeSize": 8
717
+ },
718
+ "comments": {
719
+ "input": {
720
+ },
721
+ "output": {
722
+ }
723
+ },
724
+ "description": "This example creates a snapshot of the volume with a volume ID of ``vol-1234567890abcdef0`` and a short description to identify the snapshot.",
725
+ "id": "to-create-a-snapshot-1472502529790",
726
+ "title": "To create a snapshot"
727
+ }
728
+ ],
729
+ "CreateSpotDatafeedSubscription": [
730
+ {
731
+ "input": {
732
+ "Bucket": "my-s3-bucket",
733
+ "Prefix": "spotdata"
734
+ },
735
+ "output": {
736
+ "SpotDatafeedSubscription": {
737
+ "Bucket": "my-s3-bucket",
738
+ "OwnerId": "123456789012",
739
+ "Prefix": "spotdata",
740
+ "State": "Active"
741
+ }
742
+ },
743
+ "comments": {
744
+ "input": {
745
+ },
746
+ "output": {
747
+ }
748
+ },
749
+ "description": "This example creates a Spot Instance data feed for your AWS account.",
750
+ "id": "ec2-create-spot-datafeed-subscription-1",
751
+ "title": "To create a Spot Instance datafeed"
752
+ }
753
+ ],
754
+ "CreateSubnet": [
755
+ {
756
+ "input": {
757
+ "CidrBlock": "10.0.1.0/24",
758
+ "VpcId": "vpc-a01106c2"
759
+ },
760
+ "output": {
761
+ "Subnet": {
762
+ "AvailabilityZone": "us-west-2c",
763
+ "AvailableIpAddressCount": 251,
764
+ "CidrBlock": "10.0.1.0/24",
765
+ "State": "pending",
766
+ "SubnetId": "subnet-9d4a7b6c",
767
+ "VpcId": "vpc-a01106c2"
768
+ }
769
+ },
770
+ "comments": {
771
+ "input": {
772
+ },
773
+ "output": {
774
+ }
775
+ },
776
+ "description": "This example creates a subnet in the specified VPC with the specified CIDR block. We recommend that you let us select an Availability Zone for you.",
777
+ "id": "ec2-create-subnet-1",
778
+ "title": "To create a subnet"
779
+ }
780
+ ],
781
+ "CreateTags": [
782
+ {
783
+ "input": {
784
+ "Resources": [
785
+ "ami-78a54011"
786
+ ],
787
+ "Tags": [
788
+ {
789
+ "Key": "Stack",
790
+ "Value": "production"
791
+ }
792
+ ]
793
+ },
794
+ "comments": {
795
+ "input": {
796
+ },
797
+ "output": {
798
+ }
799
+ },
800
+ "description": "This example adds the tag Stack=production to the specified image, or overwrites an existing tag for the AMI where the tag key is Stack.",
801
+ "id": "ec2-create-tags-1",
802
+ "title": "To add a tag to a resource"
803
+ }
804
+ ],
805
+ "CreateVolume": [
806
+ {
807
+ "input": {
808
+ "AvailabilityZone": "us-east-1a",
809
+ "Size": 80,
810
+ "VolumeType": "gp2"
811
+ },
812
+ "output": {
813
+ "AvailabilityZone": "us-east-1a",
814
+ "CreateTime": "2016-08-29T18:52:32.724Z",
815
+ "Encrypted": false,
816
+ "Iops": 240,
817
+ "Size": 80,
818
+ "SnapshotId": "",
819
+ "State": "creating",
820
+ "VolumeId": "vol-6b60b7c7",
821
+ "VolumeType": "gp2"
822
+ },
823
+ "comments": {
824
+ "input": {
825
+ },
826
+ "output": {
827
+ }
828
+ },
829
+ "description": "This example creates an 80 GiB General Purpose (SSD) volume in the Availability Zone ``us-east-1a``.",
830
+ "id": "to-create-a-new-volume-1472496724296",
831
+ "title": "To create a new volume"
832
+ },
833
+ {
834
+ "input": {
835
+ "AvailabilityZone": "us-east-1a",
836
+ "Iops": 1000,
837
+ "SnapshotId": "snap-066877671789bd71b",
838
+ "VolumeType": "io1"
839
+ },
840
+ "output": {
841
+ "Attachments": [
842
+
843
+ ],
844
+ "AvailabilityZone": "us-east-1a",
845
+ "CreateTime": "2016-08-29T18:52:32.724Z",
846
+ "Iops": 1000,
847
+ "Size": 500,
848
+ "SnapshotId": "snap-066877671789bd71b",
849
+ "State": "creating",
850
+ "Tags": [
851
+
852
+ ],
853
+ "VolumeId": "vol-1234567890abcdef0",
854
+ "VolumeType": "io1"
855
+ },
856
+ "comments": {
857
+ "input": {
858
+ },
859
+ "output": {
860
+ }
861
+ },
862
+ "description": "This example creates a new Provisioned IOPS (SSD) volume with 1000 provisioned IOPS from a snapshot in the Availability Zone ``us-east-1a``.",
863
+ "id": "to-create-a-new-provisioned-iops-ssd-volume-from-a-snapshot-1472498975176",
864
+ "title": "To create a new Provisioned IOPS (SSD) volume from a snapshot"
865
+ }
866
+ ],
867
+ "CreateVpc": [
868
+ {
869
+ "input": {
870
+ "CidrBlock": "10.0.0.0/16"
871
+ },
872
+ "output": {
873
+ "Vpc": {
874
+ "CidrBlock": "10.0.0.0/16",
875
+ "DhcpOptionsId": "dopt-7a8b9c2d",
876
+ "InstanceTenancy": "default",
877
+ "State": "pending",
878
+ "VpcId": "vpc-a01106c2"
879
+ }
880
+ },
881
+ "comments": {
882
+ "input": {
883
+ },
884
+ "output": {
885
+ }
886
+ },
887
+ "description": "This example creates a VPC with the specified CIDR block.",
888
+ "id": "ec2-create-vpc-1",
889
+ "title": "To create a VPC"
890
+ }
891
+ ],
892
+ "DeleteCustomerGateway": [
893
+ {
894
+ "input": {
895
+ "CustomerGatewayId": "cgw-0e11f167"
896
+ },
897
+ "comments": {
898
+ "input": {
899
+ },
900
+ "output": {
901
+ }
902
+ },
903
+ "description": "This example deletes the specified customer gateway.",
904
+ "id": "ec2-delete-customer-gateway-1",
905
+ "title": "To delete a customer gateway"
906
+ }
907
+ ],
908
+ "DeleteDhcpOptions": [
909
+ {
910
+ "input": {
911
+ "DhcpOptionsId": "dopt-d9070ebb"
912
+ },
913
+ "comments": {
914
+ "input": {
915
+ },
916
+ "output": {
917
+ }
918
+ },
919
+ "description": "This example deletes the specified DHCP options set.",
920
+ "id": "ec2-delete-dhcp-options-1",
921
+ "title": "To delete a DHCP options set"
922
+ }
923
+ ],
924
+ "DeleteInternetGateway": [
925
+ {
926
+ "input": {
927
+ "InternetGatewayId": "igw-c0a643a9"
928
+ },
929
+ "comments": {
930
+ "input": {
931
+ },
932
+ "output": {
933
+ }
934
+ },
935
+ "description": "This example deletes the specified Internet gateway.",
936
+ "id": "ec2-delete-internet-gateway-1",
937
+ "title": "To delete an Internet gateway"
938
+ }
939
+ ],
940
+ "DeleteKeyPair": [
941
+ {
942
+ "input": {
943
+ "KeyName": "my-key-pair"
944
+ },
945
+ "comments": {
946
+ "input": {
947
+ },
948
+ "output": {
949
+ }
950
+ },
951
+ "description": "This example deletes the specified key pair.",
952
+ "id": "ec2-delete-key-pair-1",
953
+ "title": "To delete a key pair"
954
+ }
955
+ ],
956
+ "DeleteNatGateway": [
957
+ {
958
+ "input": {
959
+ "NatGatewayId": "nat-04ae55e711cec5680"
960
+ },
961
+ "output": {
962
+ "NatGatewayId": "nat-04ae55e711cec5680"
963
+ },
964
+ "comments": {
965
+ "input": {
966
+ },
967
+ "output": {
968
+ }
969
+ },
970
+ "description": "This example deletes the specified NAT gateway.",
971
+ "id": "ec2-delete-nat-gateway-1",
972
+ "title": "To delete a NAT gateway"
973
+ }
974
+ ],
975
+ "DeleteNetworkAcl": [
976
+ {
977
+ "input": {
978
+ "NetworkAclId": "acl-5fb85d36"
979
+ },
980
+ "comments": {
981
+ "input": {
982
+ },
983
+ "output": {
984
+ }
985
+ },
986
+ "description": "This example deletes the specified network ACL.",
987
+ "id": "ec2-delete-network-acl-1",
988
+ "title": "To delete a network ACL"
989
+ }
990
+ ],
991
+ "DeleteNetworkAclEntry": [
992
+ {
993
+ "input": {
994
+ "Egress": true,
995
+ "NetworkAclId": "acl-5fb85d36",
996
+ "RuleNumber": 100
997
+ },
998
+ "comments": {
999
+ "input": {
1000
+ },
1001
+ "output": {
1002
+ }
1003
+ },
1004
+ "description": "This example deletes ingress rule number 100 from the specified network ACL.",
1005
+ "id": "ec2-delete-network-acl-entry-1",
1006
+ "title": "To delete a network ACL entry"
1007
+ }
1008
+ ],
1009
+ "DeleteNetworkInterface": [
1010
+ {
1011
+ "input": {
1012
+ "NetworkInterfaceId": "eni-e5aa89a3"
1013
+ },
1014
+ "comments": {
1015
+ "input": {
1016
+ },
1017
+ "output": {
1018
+ }
1019
+ },
1020
+ "description": "This example deletes the specified network interface.",
1021
+ "id": "ec2-delete-network-interface-1",
1022
+ "title": "To delete a network interface"
1023
+ }
1024
+ ],
1025
+ "DeletePlacementGroup": [
1026
+ {
1027
+ "input": {
1028
+ "GroupName": "my-cluster"
1029
+ },
1030
+ "output": {
1031
+ },
1032
+ "comments": {
1033
+ "input": {
1034
+ },
1035
+ "output": {
1036
+ }
1037
+ },
1038
+ "description": "This example deletes the specified placement group.\n",
1039
+ "id": "to-delete-a-placement-group-1472712349959",
1040
+ "title": "To delete a placement group"
1041
+ }
1042
+ ],
1043
+ "DeleteRoute": [
1044
+ {
1045
+ "input": {
1046
+ "DestinationCidrBlock": "0.0.0.0/0",
1047
+ "RouteTableId": "rtb-22574640"
1048
+ },
1049
+ "comments": {
1050
+ "input": {
1051
+ },
1052
+ "output": {
1053
+ }
1054
+ },
1055
+ "description": "This example deletes the specified route from the specified route table.",
1056
+ "id": "ec2-delete-route-1",
1057
+ "title": "To delete a route"
1058
+ }
1059
+ ],
1060
+ "DeleteRouteTable": [
1061
+ {
1062
+ "input": {
1063
+ "RouteTableId": "rtb-22574640"
1064
+ },
1065
+ "comments": {
1066
+ "input": {
1067
+ },
1068
+ "output": {
1069
+ }
1070
+ },
1071
+ "description": "This example deletes the specified route table.",
1072
+ "id": "ec2-delete-route-table-1",
1073
+ "title": "To delete a route table"
1074
+ }
1075
+ ],
1076
+ "DeleteSnapshot": [
1077
+ {
1078
+ "input": {
1079
+ "SnapshotId": "snap-1234567890abcdef0"
1080
+ },
1081
+ "output": {
1082
+ },
1083
+ "comments": {
1084
+ "input": {
1085
+ },
1086
+ "output": {
1087
+ }
1088
+ },
1089
+ "description": "This example deletes a snapshot with the snapshot ID of ``snap-1234567890abcdef0``. If the command succeeds, no output is returned.",
1090
+ "id": "to-delete-a-snapshot-1472503042567",
1091
+ "title": "To delete a snapshot"
1092
+ }
1093
+ ],
1094
+ "DeleteSpotDatafeedSubscription": [
1095
+ {
1096
+ "comments": {
1097
+ "input": {
1098
+ },
1099
+ "output": {
1100
+ }
1101
+ },
1102
+ "description": "This example deletes a Spot data feed subscription for the account.",
1103
+ "id": "ec2-delete-spot-datafeed-subscription-1",
1104
+ "title": "To cancel a Spot Instance data feed subscription"
1105
+ }
1106
+ ],
1107
+ "DeleteSubnet": [
1108
+ {
1109
+ "input": {
1110
+ "SubnetId": "subnet-9d4a7b6c"
1111
+ },
1112
+ "comments": {
1113
+ "input": {
1114
+ },
1115
+ "output": {
1116
+ }
1117
+ },
1118
+ "description": "This example deletes the specified subnet.",
1119
+ "id": "ec2-delete-subnet-1",
1120
+ "title": "To delete a subnet"
1121
+ }
1122
+ ],
1123
+ "DeleteTags": [
1124
+ {
1125
+ "input": {
1126
+ "Resources": [
1127
+ "ami-78a54011"
1128
+ ],
1129
+ "Tags": [
1130
+ {
1131
+ "Key": "Stack",
1132
+ "Value": "test"
1133
+ }
1134
+ ]
1135
+ },
1136
+ "comments": {
1137
+ "input": {
1138
+ },
1139
+ "output": {
1140
+ }
1141
+ },
1142
+ "description": "This example deletes the tag Stack=test from the specified image.",
1143
+ "id": "ec2-delete-tags-1",
1144
+ "title": "To delete a tag from a resource"
1145
+ }
1146
+ ],
1147
+ "DeleteVolume": [
1148
+ {
1149
+ "input": {
1150
+ "VolumeId": "vol-049df61146c4d7901"
1151
+ },
1152
+ "output": {
1153
+ },
1154
+ "comments": {
1155
+ "input": {
1156
+ },
1157
+ "output": {
1158
+ }
1159
+ },
1160
+ "description": "This example deletes an available volume with the volume ID of ``vol-049df61146c4d7901``. If the command succeeds, no output is returned.",
1161
+ "id": "to-delete-a-volume-1472503111160",
1162
+ "title": "To delete a volume"
1163
+ }
1164
+ ],
1165
+ "DeleteVpc": [
1166
+ {
1167
+ "input": {
1168
+ "VpcId": "vpc-a01106c2"
1169
+ },
1170
+ "comments": {
1171
+ "input": {
1172
+ },
1173
+ "output": {
1174
+ }
1175
+ },
1176
+ "description": "This example deletes the specified VPC.",
1177
+ "id": "ec2-delete-vpc-1",
1178
+ "title": "To delete a VPC"
1179
+ }
1180
+ ],
1181
+ "DescribeAccountAttributes": [
1182
+ {
1183
+ "input": {
1184
+ "AttributeNames": [
1185
+ "supported-platforms"
1186
+ ]
1187
+ },
1188
+ "output": {
1189
+ "AccountAttributes": [
1190
+ {
1191
+ "AttributeName": "supported-platforms",
1192
+ "AttributeValues": [
1193
+ {
1194
+ "AttributeValue": "EC2"
1195
+ },
1196
+ {
1197
+ "AttributeValue": "VPC"
1198
+ }
1199
+ ]
1200
+ }
1201
+ ]
1202
+ },
1203
+ "comments": {
1204
+ "input": {
1205
+ },
1206
+ "output": {
1207
+ }
1208
+ },
1209
+ "description": "This example describes the supported-platforms attribute for your AWS account.",
1210
+ "id": "ec2-describe-account-attributes-1",
1211
+ "title": "To describe a single attribute for your AWS account"
1212
+ },
1213
+ {
1214
+ "output": {
1215
+ "AccountAttributes": [
1216
+ {
1217
+ "AttributeName": "supported-platforms",
1218
+ "AttributeValues": [
1219
+ {
1220
+ "AttributeValue": "EC2"
1221
+ },
1222
+ {
1223
+ "AttributeValue": "VPC"
1224
+ }
1225
+ ]
1226
+ },
1227
+ {
1228
+ "AttributeName": "vpc-max-security-groups-per-interface",
1229
+ "AttributeValues": [
1230
+ {
1231
+ "AttributeValue": "5"
1232
+ }
1233
+ ]
1234
+ },
1235
+ {
1236
+ "AttributeName": "max-elastic-ips",
1237
+ "AttributeValues": [
1238
+ {
1239
+ "AttributeValue": "5"
1240
+ }
1241
+ ]
1242
+ },
1243
+ {
1244
+ "AttributeName": "max-instances",
1245
+ "AttributeValues": [
1246
+ {
1247
+ "AttributeValue": "20"
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ "AttributeName": "vpc-max-elastic-ips",
1253
+ "AttributeValues": [
1254
+ {
1255
+ "AttributeValue": "5"
1256
+ }
1257
+ ]
1258
+ },
1259
+ {
1260
+ "AttributeName": "default-vpc",
1261
+ "AttributeValues": [
1262
+ {
1263
+ "AttributeValue": "none"
1264
+ }
1265
+ ]
1266
+ }
1267
+ ]
1268
+ },
1269
+ "comments": {
1270
+ "input": {
1271
+ },
1272
+ "output": {
1273
+ }
1274
+ },
1275
+ "description": "This example describes the attributes for your AWS account.",
1276
+ "id": "ec2-describe-account-attributes-2",
1277
+ "title": "To describe all attributes for your AWS account"
1278
+ }
1279
+ ],
1280
+ "DescribeAddresses": [
1281
+ {
1282
+ "output": {
1283
+ "Addresses": [
1284
+ {
1285
+ "Domain": "standard",
1286
+ "InstanceId": "i-1234567890abcdef0",
1287
+ "PublicIp": "198.51.100.0"
1288
+ },
1289
+ {
1290
+ "AllocationId": "eipalloc-12345678",
1291
+ "AssociationId": "eipassoc-12345678",
1292
+ "Domain": "vpc",
1293
+ "InstanceId": "i-1234567890abcdef0",
1294
+ "NetworkInterfaceId": "eni-12345678",
1295
+ "NetworkInterfaceOwnerId": "123456789012",
1296
+ "PrivateIpAddress": "10.0.1.241",
1297
+ "PublicIp": "203.0.113.0"
1298
+ }
1299
+ ]
1300
+ },
1301
+ "comments": {
1302
+ "input": {
1303
+ },
1304
+ "output": {
1305
+ }
1306
+ },
1307
+ "description": "This example describes your Elastic IP addresses.",
1308
+ "id": "ec2-describe-addresses-1",
1309
+ "title": "To describe your Elastic IP addresses"
1310
+ },
1311
+ {
1312
+ "input": {
1313
+ "Filters": [
1314
+ {
1315
+ "Name": "domain",
1316
+ "Values": [
1317
+ "vpc"
1318
+ ]
1319
+ }
1320
+ ]
1321
+ },
1322
+ "output": {
1323
+ "Addresses": [
1324
+ {
1325
+ "AllocationId": "eipalloc-12345678",
1326
+ "AssociationId": "eipassoc-12345678",
1327
+ "Domain": "vpc",
1328
+ "InstanceId": "i-1234567890abcdef0",
1329
+ "NetworkInterfaceId": "eni-12345678",
1330
+ "NetworkInterfaceOwnerId": "123456789012",
1331
+ "PrivateIpAddress": "10.0.1.241",
1332
+ "PublicIp": "203.0.113.0"
1333
+ }
1334
+ ]
1335
+ },
1336
+ "comments": {
1337
+ "input": {
1338
+ },
1339
+ "output": {
1340
+ }
1341
+ },
1342
+ "description": "This example describes your Elastic IP addresses for use with instances in a VPC.",
1343
+ "id": "ec2-describe-addresses-2",
1344
+ "title": "To describe your Elastic IP addresses for EC2-VPC"
1345
+ },
1346
+ {
1347
+ "input": {
1348
+ "Filters": [
1349
+ {
1350
+ "Name": "domain",
1351
+ "Values": [
1352
+ "standard"
1353
+ ]
1354
+ }
1355
+ ]
1356
+ },
1357
+ "output": {
1358
+ "Addresses": [
1359
+ {
1360
+ "Domain": "standard",
1361
+ "InstanceId": "i-1234567890abcdef0",
1362
+ "PublicIp": "198.51.100.0"
1363
+ }
1364
+ ]
1365
+ },
1366
+ "comments": {
1367
+ "input": {
1368
+ },
1369
+ "output": {
1370
+ }
1371
+ },
1372
+ "description": "This example describes your Elastic IP addresses for use with instances in EC2-Classic.",
1373
+ "id": "ec2-describe-addresses-3",
1374
+ "title": "To describe your Elastic IP addresses for EC2-Classic"
1375
+ }
1376
+ ],
1377
+ "DescribeAvailabilityZones": [
1378
+ {
1379
+ "output": {
1380
+ "AvailabilityZones": [
1381
+ {
1382
+ "Messages": [
1383
+
1384
+ ],
1385
+ "RegionName": "us-east-1",
1386
+ "State": "available",
1387
+ "ZoneName": "us-east-1b"
1388
+ },
1389
+ {
1390
+ "Messages": [
1391
+
1392
+ ],
1393
+ "RegionName": "us-east-1",
1394
+ "State": "available",
1395
+ "ZoneName": "us-east-1c"
1396
+ },
1397
+ {
1398
+ "Messages": [
1399
+
1400
+ ],
1401
+ "RegionName": "us-east-1",
1402
+ "State": "available",
1403
+ "ZoneName": "us-east-1d"
1404
+ },
1405
+ {
1406
+ "Messages": [
1407
+
1408
+ ],
1409
+ "RegionName": "us-east-1",
1410
+ "State": "available",
1411
+ "ZoneName": "us-east-1e"
1412
+ }
1413
+ ]
1414
+ },
1415
+ "comments": {
1416
+ "input": {
1417
+ },
1418
+ "output": {
1419
+ }
1420
+ },
1421
+ "description": "This example describes the Availability Zones that are available to you. The response includes Availability Zones only for the current region.",
1422
+ "id": "ec2-describe-availability-zones-1",
1423
+ "title": "To describe your Availability Zones"
1424
+ }
1425
+ ],
1426
+ "DescribeCustomerGateways": [
1427
+ {
1428
+ "input": {
1429
+ "CustomerGatewayIds": [
1430
+ "cgw-0e11f167"
1431
+ ]
1432
+ },
1433
+ "output": {
1434
+ "CustomerGateways": [
1435
+ {
1436
+ "BgpAsn": "65534",
1437
+ "CustomerGatewayId": "cgw-0e11f167",
1438
+ "IpAddress": "12.1.2.3",
1439
+ "State": "available",
1440
+ "Type": "ipsec.1"
1441
+ }
1442
+ ]
1443
+ },
1444
+ "comments": {
1445
+ "input": {
1446
+ },
1447
+ "output": {
1448
+ }
1449
+ },
1450
+ "description": "This example describes the specified customer gateway.",
1451
+ "id": "ec2-describe-customer-gateways-1",
1452
+ "title": "To describe a customer gateway"
1453
+ }
1454
+ ],
1455
+ "DescribeDhcpOptions": [
1456
+ {
1457
+ "input": {
1458
+ "DhcpOptionsIds": [
1459
+ "dopt-d9070ebb"
1460
+ ]
1461
+ },
1462
+ "output": {
1463
+ "DhcpOptions": [
1464
+ {
1465
+ "DhcpConfigurations": [
1466
+ {
1467
+ "Key": "domain-name-servers",
1468
+ "Values": [
1469
+ {
1470
+ "Value": "10.2.5.2"
1471
+ },
1472
+ {
1473
+ "Value": "10.2.5.1"
1474
+ }
1475
+ ]
1476
+ }
1477
+ ],
1478
+ "DhcpOptionsId": "dopt-d9070ebb"
1479
+ }
1480
+ ]
1481
+ },
1482
+ "comments": {
1483
+ "input": {
1484
+ },
1485
+ "output": {
1486
+ }
1487
+ },
1488
+ "description": "This example describes the specified DHCP options set.",
1489
+ "id": "ec2-describe-dhcp-options-1",
1490
+ "title": "To describe a DHCP options set"
1491
+ }
1492
+ ],
1493
+ "DescribeInstanceAttribute": [
1494
+ {
1495
+ "input": {
1496
+ "Attribute": "instanceType",
1497
+ "InstanceId": "i-1234567890abcdef0"
1498
+ },
1499
+ "output": {
1500
+ "InstanceId": "i-1234567890abcdef0",
1501
+ "InstanceType": {
1502
+ "Value": "t1.micro"
1503
+ }
1504
+ },
1505
+ "comments": {
1506
+ "input": {
1507
+ },
1508
+ "output": {
1509
+ }
1510
+ },
1511
+ "description": "This example describes the instance type of the specified instance.\n",
1512
+ "id": "to-describe-the-instance-type-1472712432132",
1513
+ "title": "To describe the instance type"
1514
+ },
1515
+ {
1516
+ "input": {
1517
+ "Attribute": "disableApiTermination",
1518
+ "InstanceId": "i-1234567890abcdef0"
1519
+ },
1520
+ "output": {
1521
+ "DisableApiTermination": {
1522
+ "Value": "false"
1523
+ },
1524
+ "InstanceId": "i-1234567890abcdef0"
1525
+ },
1526
+ "comments": {
1527
+ "input": {
1528
+ },
1529
+ "output": {
1530
+ }
1531
+ },
1532
+ "description": "This example describes the ``disableApiTermination`` attribute of the specified instance.\n",
1533
+ "id": "to-describe-the-disableapitermination-attribute-1472712533466",
1534
+ "title": "To describe the disableApiTermination attribute"
1535
+ },
1536
+ {
1537
+ "input": {
1538
+ "Attribute": "blockDeviceMapping",
1539
+ "InstanceId": "i-1234567890abcdef0"
1540
+ },
1541
+ "output": {
1542
+ "BlockDeviceMappings": [
1543
+ {
1544
+ "DeviceName": "/dev/sda1",
1545
+ "Ebs": {
1546
+ "AttachTime": "2013-05-17T22:42:34.000Z",
1547
+ "DeleteOnTermination": true,
1548
+ "Status": "attached",
1549
+ "VolumeId": "vol-049df61146c4d7901"
1550
+ }
1551
+ },
1552
+ {
1553
+ "DeviceName": "/dev/sdf",
1554
+ "Ebs": {
1555
+ "AttachTime": "2013-09-10T23:07:00.000Z",
1556
+ "DeleteOnTermination": false,
1557
+ "Status": "attached",
1558
+ "VolumeId": "vol-049df61146c4d7901"
1559
+ }
1560
+ }
1561
+ ],
1562
+ "InstanceId": "i-1234567890abcdef0"
1563
+ },
1564
+ "comments": {
1565
+ "input": {
1566
+ },
1567
+ "output": {
1568
+ }
1569
+ },
1570
+ "description": "This example describes the ``blockDeviceMapping`` attribute of the specified instance.\n",
1571
+ "id": "to-describe-the-block-device-mapping-for-an-instance-1472712645423",
1572
+ "title": "To describe the block device mapping for an instance"
1573
+ }
1574
+ ],
1575
+ "DescribeInternetGateways": [
1576
+ {
1577
+ "input": {
1578
+ "Filters": [
1579
+ {
1580
+ "Name": "attachment.vpc-id",
1581
+ "Values": [
1582
+ "vpc-a01106c2"
1583
+ ]
1584
+ }
1585
+ ]
1586
+ },
1587
+ "output": {
1588
+ "InternetGateways": [
1589
+ {
1590
+ "Attachments": [
1591
+ {
1592
+ "State": "available",
1593
+ "VpcId": "vpc-a01106c2"
1594
+ }
1595
+ ],
1596
+ "InternetGatewayId": "igw-c0a643a9",
1597
+ "Tags": [
1598
+
1599
+ ]
1600
+ }
1601
+ ]
1602
+ },
1603
+ "comments": {
1604
+ "input": {
1605
+ },
1606
+ "output": {
1607
+ }
1608
+ },
1609
+ "description": "This example describes the Internet gateway for the specified VPC.",
1610
+ "id": "ec2-describe-internet-gateways-1",
1611
+ "title": "To describe the Internet gateway for a VPC"
1612
+ }
1613
+ ],
1614
+ "DescribeKeyPairs": [
1615
+ {
1616
+ "input": {
1617
+ "KeyNames": [
1618
+ "my-key-pair"
1619
+ ]
1620
+ },
1621
+ "output": {
1622
+ "KeyPairs": [
1623
+ {
1624
+ "KeyFingerprint": "1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f",
1625
+ "KeyName": "my-key-pair"
1626
+ }
1627
+ ]
1628
+ },
1629
+ "comments": {
1630
+ "input": {
1631
+ },
1632
+ "output": {
1633
+ }
1634
+ },
1635
+ "description": "This example displays the fingerprint for the specified key.",
1636
+ "id": "ec2-describe-key-pairs-1",
1637
+ "title": "To display a key pair"
1638
+ }
1639
+ ],
1640
+ "DescribeMovingAddresses": [
1641
+ {
1642
+ "output": {
1643
+ "MovingAddressStatuses": [
1644
+ {
1645
+ "MoveStatus": "MovingToVpc",
1646
+ "PublicIp": "198.51.100.0"
1647
+ }
1648
+ ]
1649
+ },
1650
+ "comments": {
1651
+ "input": {
1652
+ },
1653
+ "output": {
1654
+ }
1655
+ },
1656
+ "description": "This example describes all of your moving Elastic IP addresses.",
1657
+ "id": "ec2-describe-moving-addresses-1",
1658
+ "title": "To describe your moving addresses"
1659
+ }
1660
+ ],
1661
+ "DescribeNatGateways": [
1662
+ {
1663
+ "input": {
1664
+ "Filter": [
1665
+ {
1666
+ "Name": "vpc-id",
1667
+ "Values": [
1668
+ "vpc-1a2b3c4d"
1669
+ ]
1670
+ }
1671
+ ]
1672
+ },
1673
+ "output": {
1674
+ "NatGateways": [
1675
+ {
1676
+ "CreateTime": "2015-12-01T12:26:55.983Z",
1677
+ "NatGatewayAddresses": [
1678
+ {
1679
+ "AllocationId": "eipalloc-89c620ec",
1680
+ "NetworkInterfaceId": "eni-9dec76cd",
1681
+ "PrivateIp": "10.0.0.149",
1682
+ "PublicIp": "198.11.222.333"
1683
+ }
1684
+ ],
1685
+ "NatGatewayId": "nat-05dba92075d71c408",
1686
+ "State": "available",
1687
+ "SubnetId": "subnet-847e4dc2",
1688
+ "VpcId": "vpc-1a2b3c4d"
1689
+ }
1690
+ ]
1691
+ },
1692
+ "comments": {
1693
+ "input": {
1694
+ },
1695
+ "output": {
1696
+ }
1697
+ },
1698
+ "description": "This example describes the NAT gateway for the specified VPC.",
1699
+ "id": "ec2-describe-nat-gateways-1",
1700
+ "title": "To describe a NAT gateway"
1701
+ }
1702
+ ],
1703
+ "DescribeNetworkAcls": [
1704
+ {
1705
+ "input": {
1706
+ "NetworkAclIds": [
1707
+ "acl-5fb85d36"
1708
+ ]
1709
+ },
1710
+ "output": {
1711
+ "NetworkAcls": [
1712
+ {
1713
+ "Associations": [
1714
+ {
1715
+ "NetworkAclAssociationId": "aclassoc-66ea5f0b",
1716
+ "NetworkAclId": "acl-9aeb5ef7",
1717
+ "SubnetId": "subnet-65ea5f08"
1718
+ }
1719
+ ],
1720
+ "Entries": [
1721
+ {
1722
+ "CidrBlock": "0.0.0.0/0",
1723
+ "Egress": true,
1724
+ "Protocol": "-1",
1725
+ "RuleAction": "deny",
1726
+ "RuleNumber": 32767
1727
+ },
1728
+ {
1729
+ "CidrBlock": "0.0.0.0/0",
1730
+ "Egress": false,
1731
+ "Protocol": "-1",
1732
+ "RuleAction": "deny",
1733
+ "RuleNumber": 32767
1734
+ }
1735
+ ],
1736
+ "IsDefault": false,
1737
+ "NetworkAclId": "acl-5fb85d36",
1738
+ "Tags": [
1739
+
1740
+ ],
1741
+ "VpcId": "vpc-a01106c2"
1742
+ }
1743
+ ]
1744
+ },
1745
+ "comments": {
1746
+ "input": {
1747
+ },
1748
+ "output": {
1749
+ }
1750
+ },
1751
+ "description": "This example describes the specified network ACL.",
1752
+ "id": "ec2-",
1753
+ "title": "To describe a network ACL"
1754
+ }
1755
+ ],
1756
+ "DescribeNetworkInterfaceAttribute": [
1757
+ {
1758
+ "input": {
1759
+ "Attribute": "attachment",
1760
+ "NetworkInterfaceId": "eni-686ea200"
1761
+ },
1762
+ "output": {
1763
+ "Attachment": {
1764
+ "AttachTime": "2015-05-21T20:02:20.000Z",
1765
+ "AttachmentId": "eni-attach-43348162",
1766
+ "DeleteOnTermination": true,
1767
+ "DeviceIndex": 0,
1768
+ "InstanceId": "i-1234567890abcdef0",
1769
+ "InstanceOwnerId": "123456789012",
1770
+ "Status": "attached"
1771
+ },
1772
+ "NetworkInterfaceId": "eni-686ea200"
1773
+ },
1774
+ "comments": {
1775
+ "input": {
1776
+ },
1777
+ "output": {
1778
+ }
1779
+ },
1780
+ "description": "This example describes the attachment attribute of the specified network interface.",
1781
+ "id": "ec2-describe-network-interface-attribute-1",
1782
+ "title": "To describe the attachment attribute of a network interface"
1783
+ },
1784
+ {
1785
+ "input": {
1786
+ "Attribute": "description",
1787
+ "NetworkInterfaceId": "eni-686ea200"
1788
+ },
1789
+ "output": {
1790
+ "Description": {
1791
+ "Value": "My description"
1792
+ },
1793
+ "NetworkInterfaceId": "eni-686ea200"
1794
+ },
1795
+ "comments": {
1796
+ "input": {
1797
+ },
1798
+ "output": {
1799
+ }
1800
+ },
1801
+ "description": "This example describes the description attribute of the specified network interface.",
1802
+ "id": "ec2-describe-network-interface-attribute-2",
1803
+ "title": "To describe the description attribute of a network interface"
1804
+ },
1805
+ {
1806
+ "input": {
1807
+ "Attribute": "groupSet",
1808
+ "NetworkInterfaceId": "eni-686ea200"
1809
+ },
1810
+ "output": {
1811
+ "Groups": [
1812
+ {
1813
+ "GroupId": "sg-903004f8",
1814
+ "GroupName": "my-security-group"
1815
+ }
1816
+ ],
1817
+ "NetworkInterfaceId": "eni-686ea200"
1818
+ },
1819
+ "comments": {
1820
+ "input": {
1821
+ },
1822
+ "output": {
1823
+ }
1824
+ },
1825
+ "description": "This example describes the groupSet attribute of the specified network interface.",
1826
+ "id": "ec2-describe-network-interface-attribute-3",
1827
+ "title": "To describe the groupSet attribute of a network interface"
1828
+ },
1829
+ {
1830
+ "input": {
1831
+ "Attribute": "sourceDestCheck",
1832
+ "NetworkInterfaceId": "eni-686ea200"
1833
+ },
1834
+ "output": {
1835
+ "NetworkInterfaceId": "eni-686ea200",
1836
+ "SourceDestCheck": {
1837
+ "Value": true
1838
+ }
1839
+ },
1840
+ "comments": {
1841
+ "input": {
1842
+ },
1843
+ "output": {
1844
+ }
1845
+ },
1846
+ "description": "This example describes the sourceDestCheck attribute of the specified network interface.",
1847
+ "id": "ec2-describe-network-interface-attribute-4",
1848
+ "title": "To describe the sourceDestCheck attribute of a network interface"
1849
+ }
1850
+ ],
1851
+ "DescribeNetworkInterfaces": [
1852
+ {
1853
+ "input": {
1854
+ "NetworkInterfaceIds": [
1855
+ "eni-e5aa89a3"
1856
+ ]
1857
+ },
1858
+ "output": {
1859
+ "NetworkInterfaces": [
1860
+ {
1861
+ "Association": {
1862
+ "AssociationId": "eipassoc-0fbb766a",
1863
+ "IpOwnerId": "123456789012",
1864
+ "PublicDnsName": "ec2-203-0-113-12.compute-1.amazonaws.com",
1865
+ "PublicIp": "203.0.113.12"
1866
+ },
1867
+ "Attachment": {
1868
+ "AttachTime": "2013-11-30T23:36:42.000Z",
1869
+ "AttachmentId": "eni-attach-66c4350a",
1870
+ "DeleteOnTermination": false,
1871
+ "DeviceIndex": 1,
1872
+ "InstanceId": "i-1234567890abcdef0",
1873
+ "InstanceOwnerId": "123456789012",
1874
+ "Status": "attached"
1875
+ },
1876
+ "AvailabilityZone": "us-east-1d",
1877
+ "Description": "my network interface",
1878
+ "Groups": [
1879
+ {
1880
+ "GroupId": "sg-8637d3e3",
1881
+ "GroupName": "default"
1882
+ }
1883
+ ],
1884
+ "MacAddress": "02:2f:8f:b0:cf:75",
1885
+ "NetworkInterfaceId": "eni-e5aa89a3",
1886
+ "OwnerId": "123456789012",
1887
+ "PrivateDnsName": "ip-10-0-1-17.ec2.internal",
1888
+ "PrivateIpAddress": "10.0.1.17",
1889
+ "PrivateIpAddresses": [
1890
+ {
1891
+ "Association": {
1892
+ "AssociationId": "eipassoc-0fbb766a",
1893
+ "IpOwnerId": "123456789012",
1894
+ "PublicDnsName": "ec2-203-0-113-12.compute-1.amazonaws.com",
1895
+ "PublicIp": "203.0.113.12"
1896
+ },
1897
+ "Primary": true,
1898
+ "PrivateDnsName": "ip-10-0-1-17.ec2.internal",
1899
+ "PrivateIpAddress": "10.0.1.17"
1900
+ }
1901
+ ],
1902
+ "RequesterManaged": false,
1903
+ "SourceDestCheck": true,
1904
+ "Status": "in-use",
1905
+ "SubnetId": "subnet-b61f49f0",
1906
+ "TagSet": [
1907
+
1908
+ ],
1909
+ "VpcId": "vpc-a01106c2"
1910
+ }
1911
+ ]
1912
+ },
1913
+ "comments": {
1914
+ "input": {
1915
+ },
1916
+ "output": {
1917
+ }
1918
+ },
1919
+ "description": "",
1920
+ "id": "ec2-describe-network-interfaces-1",
1921
+ "title": "To describe a network interface"
1922
+ }
1923
+ ],
1924
+ "DescribeRegions": [
1925
+ {
1926
+ "output": {
1927
+ "Regions": [
1928
+ {
1929
+ "Endpoint": "ec2.ap-south-1.amazonaws.com",
1930
+ "RegionName": "ap-south-1"
1931
+ },
1932
+ {
1933
+ "Endpoint": "ec2.eu-west-1.amazonaws.com",
1934
+ "RegionName": "eu-west-1"
1935
+ },
1936
+ {
1937
+ "Endpoint": "ec2.ap-southeast-1.amazonaws.com",
1938
+ "RegionName": "ap-southeast-1"
1939
+ },
1940
+ {
1941
+ "Endpoint": "ec2.ap-southeast-2.amazonaws.com",
1942
+ "RegionName": "ap-southeast-2"
1943
+ },
1944
+ {
1945
+ "Endpoint": "ec2.eu-central-1.amazonaws.com",
1946
+ "RegionName": "eu-central-1"
1947
+ },
1948
+ {
1949
+ "Endpoint": "ec2.ap-northeast-2.amazonaws.com",
1950
+ "RegionName": "ap-northeast-2"
1951
+ },
1952
+ {
1953
+ "Endpoint": "ec2.ap-northeast-1.amazonaws.com",
1954
+ "RegionName": "ap-northeast-1"
1955
+ },
1956
+ {
1957
+ "Endpoint": "ec2.us-east-1.amazonaws.com",
1958
+ "RegionName": "us-east-1"
1959
+ },
1960
+ {
1961
+ "Endpoint": "ec2.sa-east-1.amazonaws.com",
1962
+ "RegionName": "sa-east-1"
1963
+ },
1964
+ {
1965
+ "Endpoint": "ec2.us-west-1.amazonaws.com",
1966
+ "RegionName": "us-west-1"
1967
+ },
1968
+ {
1969
+ "Endpoint": "ec2.us-west-2.amazonaws.com",
1970
+ "RegionName": "us-west-2"
1971
+ }
1972
+ ]
1973
+ },
1974
+ "comments": {
1975
+ "input": {
1976
+ },
1977
+ "output": {
1978
+ }
1979
+ },
1980
+ "description": "This example describes all the regions that are available to you.",
1981
+ "id": "ec2-describe-regions-1",
1982
+ "title": "To describe your regions"
1983
+ }
1984
+ ],
1985
+ "DescribeRouteTables": [
1986
+ {
1987
+ "input": {
1988
+ "RouteTableIds": [
1989
+ "rtb-1f382e7d"
1990
+ ]
1991
+ },
1992
+ "output": {
1993
+ "RouteTables": [
1994
+ {
1995
+ "Associations": [
1996
+ {
1997
+ "Main": true,
1998
+ "RouteTableAssociationId": "rtbassoc-d8ccddba",
1999
+ "RouteTableId": "rtb-1f382e7d"
2000
+ }
2001
+ ],
2002
+ "PropagatingVgws": [
2003
+
2004
+ ],
2005
+ "RouteTableId": "rtb-1f382e7d",
2006
+ "Routes": [
2007
+ {
2008
+ "DestinationCidrBlock": "10.0.0.0/16",
2009
+ "GatewayId": "local",
2010
+ "State": "active"
2011
+ }
2012
+ ],
2013
+ "Tags": [
2014
+
2015
+ ],
2016
+ "VpcId": "vpc-a01106c2"
2017
+ }
2018
+ ]
2019
+ },
2020
+ "comments": {
2021
+ "input": {
2022
+ },
2023
+ "output": {
2024
+ }
2025
+ },
2026
+ "description": "This example describes the specified route table.",
2027
+ "id": "ec2-describe-route-tables-1",
2028
+ "title": "To describe a route table"
2029
+ }
2030
+ ],
2031
+ "DescribeScheduledInstanceAvailability": [
2032
+ {
2033
+ "input": {
2034
+ "FirstSlotStartTimeRange": {
2035
+ "EarliestTime": "2016-01-31T00:00:00Z",
2036
+ "LatestTime": "2016-01-31T04:00:00Z"
2037
+ },
2038
+ "Recurrence": {
2039
+ "Frequency": "Weekly",
2040
+ "Interval": 1,
2041
+ "OccurrenceDays": [
2042
+ 1
2043
+ ]
2044
+ }
2045
+ },
2046
+ "output": {
2047
+ "ScheduledInstanceAvailabilitySet": [
2048
+ {
2049
+ "AvailabilityZone": "us-west-2b",
2050
+ "AvailableInstanceCount": 20,
2051
+ "FirstSlotStartTime": "2016-01-31T00:00:00Z",
2052
+ "HourlyPrice": "0.095",
2053
+ "InstanceType": "c4.large",
2054
+ "MaxTermDurationInDays": 366,
2055
+ "MinTermDurationInDays": 366,
2056
+ "NetworkPlatform": "EC2-VPC",
2057
+ "Platform": "Linux/UNIX",
2058
+ "PurchaseToken": "eyJ2IjoiMSIsInMiOjEsImMiOi...",
2059
+ "Recurrence": {
2060
+ "Frequency": "Weekly",
2061
+ "Interval": 1,
2062
+ "OccurrenceDaySet": [
2063
+ 1
2064
+ ],
2065
+ "OccurrenceRelativeToEnd": false
2066
+ },
2067
+ "SlotDurationInHours": 23,
2068
+ "TotalScheduledInstanceHours": 1219
2069
+ }
2070
+ ]
2071
+ },
2072
+ "comments": {
2073
+ "input": {
2074
+ },
2075
+ "output": {
2076
+ }
2077
+ },
2078
+ "description": "This example describes a schedule that occurs every week on Sunday, starting on the specified date. Note that the output contains a single schedule as an example.",
2079
+ "id": "ec2-describe-scheduled-instance-availability-1",
2080
+ "title": "To describe an available schedule"
2081
+ }
2082
+ ],
2083
+ "DescribeScheduledInstances": [
2084
+ {
2085
+ "input": {
2086
+ "ScheduledInstanceIds": [
2087
+ "sci-1234-1234-1234-1234-123456789012"
2088
+ ]
2089
+ },
2090
+ "output": {
2091
+ "ScheduledInstanceSet": [
2092
+ {
2093
+ "AvailabilityZone": "us-west-2b",
2094
+ "CreateDate": "2016-01-25T21:43:38.612Z",
2095
+ "HourlyPrice": "0.095",
2096
+ "InstanceCount": 1,
2097
+ "InstanceType": "c4.large",
2098
+ "NetworkPlatform": "EC2-VPC",
2099
+ "NextSlotStartTime": "2016-01-31T09:00:00Z",
2100
+ "Platform": "Linux/UNIX",
2101
+ "Recurrence": {
2102
+ "Frequency": "Weekly",
2103
+ "Interval": 1,
2104
+ "OccurrenceDaySet": [
2105
+ 1
2106
+ ],
2107
+ "OccurrenceRelativeToEnd": false,
2108
+ "OccurrenceUnit": ""
2109
+ },
2110
+ "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012",
2111
+ "SlotDurationInHours": 32,
2112
+ "TermEndDate": "2017-01-31T09:00:00Z",
2113
+ "TermStartDate": "2016-01-31T09:00:00Z",
2114
+ "TotalScheduledInstanceHours": 1696
2115
+ }
2116
+ ]
2117
+ },
2118
+ "comments": {
2119
+ "input": {
2120
+ },
2121
+ "output": {
2122
+ }
2123
+ },
2124
+ "description": "This example describes the specified Scheduled Instance.",
2125
+ "id": "ec2-describe-scheduled-instances-1",
2126
+ "title": "To describe your Scheduled Instances"
2127
+ }
2128
+ ],
2129
+ "DescribeSnapshotAttribute": [
2130
+ {
2131
+ "input": {
2132
+ "Attribute": "createVolumePermission",
2133
+ "SnapshotId": "snap-066877671789bd71b"
2134
+ },
2135
+ "output": {
2136
+ "CreateVolumePermissions": [
2137
+
2138
+ ],
2139
+ "SnapshotId": "snap-066877671789bd71b"
2140
+ },
2141
+ "comments": {
2142
+ "input": {
2143
+ },
2144
+ "output": {
2145
+ }
2146
+ },
2147
+ "description": "This example describes the ``createVolumePermission`` attribute on a snapshot with the snapshot ID of ``snap-066877671789bd71b``.",
2148
+ "id": "to-describe-snapshot-attributes-1472503199736",
2149
+ "title": "To describe snapshot attributes"
2150
+ }
2151
+ ],
2152
+ "DescribeSnapshots": [
2153
+ {
2154
+ "input": {
2155
+ "SnapshotIds": [
2156
+ "snap-1234567890abcdef0"
2157
+ ]
2158
+ },
2159
+ "output": {
2160
+ "NextToken": "",
2161
+ "Snapshots": [
2162
+ {
2163
+ "Description": "This is my snapshot.",
2164
+ "OwnerId": "012345678910",
2165
+ "Progress": "100%",
2166
+ "SnapshotId": "snap-1234567890abcdef0",
2167
+ "StartTime": "2014-02-28T21:28:32.000Z",
2168
+ "State": "completed",
2169
+ "VolumeId": "vol-049df61146c4d7901",
2170
+ "VolumeSize": 8
2171
+ }
2172
+ ]
2173
+ },
2174
+ "comments": {
2175
+ "input": {
2176
+ },
2177
+ "output": {
2178
+ }
2179
+ },
2180
+ "description": "This example describes a snapshot with the snapshot ID of ``snap-1234567890abcdef0``.",
2181
+ "id": "to-describe-a-snapshot-1472503807850",
2182
+ "title": "To describe a snapshot"
2183
+ },
2184
+ {
2185
+ "input": {
2186
+ "Filters": [
2187
+ {
2188
+ "Name": "status",
2189
+ "Values": [
2190
+ "pending"
2191
+ ]
2192
+ }
2193
+ ],
2194
+ "OwnerIds": [
2195
+ "012345678910"
2196
+ ]
2197
+ },
2198
+ "output": {
2199
+ "NextToken": "",
2200
+ "Snapshots": [
2201
+ {
2202
+ "Description": "This is my copied snapshot.",
2203
+ "OwnerId": "012345678910",
2204
+ "Progress": "87%",
2205
+ "SnapshotId": "snap-066877671789bd71b",
2206
+ "StartTime": "2014-02-28T21:37:27.000Z",
2207
+ "State": "pending",
2208
+ "VolumeId": "vol-1234567890abcdef0",
2209
+ "VolumeSize": 8
2210
+ }
2211
+ ]
2212
+ },
2213
+ "comments": {
2214
+ "input": {
2215
+ },
2216
+ "output": {
2217
+ }
2218
+ },
2219
+ "description": "This example describes all snapshots owned by the ID 012345678910 that are in the ``pending`` status.",
2220
+ "id": "to-describe-snapshots-using-filters-1472503929793",
2221
+ "title": "To describe snapshots using filters"
2222
+ }
2223
+ ],
2224
+ "DescribeSpotDatafeedSubscription": [
2225
+ {
2226
+ "output": {
2227
+ "SpotDatafeedSubscription": {
2228
+ "Bucket": "my-s3-bucket",
2229
+ "OwnerId": "123456789012",
2230
+ "Prefix": "spotdata",
2231
+ "State": "Active"
2232
+ }
2233
+ },
2234
+ "comments": {
2235
+ "input": {
2236
+ },
2237
+ "output": {
2238
+ }
2239
+ },
2240
+ "description": "This example describes the Spot Instance datafeed subscription for your AWS account.",
2241
+ "id": "ec2-describe-spot-datafeed-subscription-1",
2242
+ "title": "To describe the datafeed for your AWS account"
2243
+ }
2244
+ ],
2245
+ "DescribeSpotFleetInstances": [
2246
+ {
2247
+ "input": {
2248
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
2249
+ },
2250
+ "output": {
2251
+ "ActiveInstances": [
2252
+ {
2253
+ "InstanceId": "i-1234567890abcdef0",
2254
+ "InstanceType": "m3.medium",
2255
+ "SpotInstanceRequestId": "sir-08b93456"
2256
+ }
2257
+ ],
2258
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
2259
+ },
2260
+ "comments": {
2261
+ "input": {
2262
+ },
2263
+ "output": {
2264
+ }
2265
+ },
2266
+ "description": "This example lists the Spot Instances associated with the specified Spot fleet.",
2267
+ "id": "ec2-describe-spot-fleet-instances-1",
2268
+ "title": "To describe the Spot Instances associated with a Spot fleet"
2269
+ }
2270
+ ],
2271
+ "DescribeSpotFleetRequestHistory": [
2272
+ {
2273
+ "input": {
2274
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
2275
+ "StartTime": "2015-05-26T00:00:00Z"
2276
+ },
2277
+ "output": {
2278
+ "HistoryRecords": [
2279
+ {
2280
+ "EventInformation": {
2281
+ "EventSubType": "submitted"
2282
+ },
2283
+ "EventType": "fleetRequestChange",
2284
+ "Timestamp": "2015-05-26T23:17:20.697Z"
2285
+ },
2286
+ {
2287
+ "EventInformation": {
2288
+ "EventSubType": "active"
2289
+ },
2290
+ "EventType": "fleetRequestChange",
2291
+ "Timestamp": "2015-05-26T23:17:20.873Z"
2292
+ },
2293
+ {
2294
+ "EventInformation": {
2295
+ "EventSubType": "launched",
2296
+ "InstanceId": "i-1234567890abcdef0"
2297
+ },
2298
+ "EventType": "instanceChange",
2299
+ "Timestamp": "2015-05-26T23:21:21.712Z"
2300
+ },
2301
+ {
2302
+ "EventInformation": {
2303
+ "EventSubType": "launched",
2304
+ "InstanceId": "i-1234567890abcdef1"
2305
+ },
2306
+ "EventType": "instanceChange",
2307
+ "Timestamp": "2015-05-26T23:21:21.816Z"
2308
+ }
2309
+ ],
2310
+ "NextToken": "CpHNsscimcV5oH7bSbub03CI2Qms5+ypNpNm+53MNlR0YcXAkp0xFlfKf91yVxSExmbtma3awYxMFzNA663ZskT0AHtJ6TCb2Z8bQC2EnZgyELbymtWPfpZ1ZbauVg+P+TfGlWxWWB/Vr5dk5d4LfdgA/DRAHUrYgxzrEXAMPLE=",
2311
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
2312
+ "StartTime": "2015-05-26T00:00:00Z"
2313
+ },
2314
+ "comments": {
2315
+ "input": {
2316
+ },
2317
+ "output": {
2318
+ }
2319
+ },
2320
+ "description": "This example returns the history for the specified Spot fleet starting at the specified time.",
2321
+ "id": "ec2-describe-spot-fleet-request-history-1",
2322
+ "title": "To describe Spot fleet history"
2323
+ }
2324
+ ],
2325
+ "DescribeSpotFleetRequests": [
2326
+ {
2327
+ "input": {
2328
+ "SpotFleetRequestIds": [
2329
+ "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
2330
+ ]
2331
+ },
2332
+ "output": {
2333
+ "SpotFleetRequestConfigs": [
2334
+ {
2335
+ "SpotFleetRequestConfig": {
2336
+ "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role",
2337
+ "LaunchSpecifications": [
2338
+ {
2339
+ "EbsOptimized": false,
2340
+ "ImageId": "ami-1a2b3c4d",
2341
+ "InstanceType": "cc2.8xlarge",
2342
+ "NetworkInterfaces": [
2343
+ {
2344
+ "AssociatePublicIpAddress": true,
2345
+ "DeleteOnTermination": false,
2346
+ "DeviceIndex": 0,
2347
+ "SecondaryPrivateIpAddressCount": 0,
2348
+ "SubnetId": "subnet-a61dafcf"
2349
+ }
2350
+ ]
2351
+ },
2352
+ {
2353
+ "EbsOptimized": false,
2354
+ "ImageId": "ami-1a2b3c4d",
2355
+ "InstanceType": "r3.8xlarge",
2356
+ "NetworkInterfaces": [
2357
+ {
2358
+ "AssociatePublicIpAddress": true,
2359
+ "DeleteOnTermination": false,
2360
+ "DeviceIndex": 0,
2361
+ "SecondaryPrivateIpAddressCount": 0,
2362
+ "SubnetId": "subnet-a61dafcf"
2363
+ }
2364
+ ]
2365
+ }
2366
+ ],
2367
+ "SpotPrice": "0.05",
2368
+ "TargetCapacity": 20
2369
+ },
2370
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
2371
+ "SpotFleetRequestState": "active"
2372
+ }
2373
+ ]
2374
+ },
2375
+ "comments": {
2376
+ "input": {
2377
+ },
2378
+ "output": {
2379
+ }
2380
+ },
2381
+ "description": "This example describes the specified Spot fleet request.",
2382
+ "id": "ec2-describe-spot-fleet-requests-1",
2383
+ "title": "To describe a Spot fleet request"
2384
+ }
2385
+ ],
2386
+ "DescribeSpotInstanceRequests": [
2387
+ {
2388
+ "input": {
2389
+ "SpotInstanceRequestIds": [
2390
+ "sir-08b93456"
2391
+ ]
2392
+ },
2393
+ "output": {
2394
+ "SpotInstanceRequests": [
2395
+ {
2396
+ "CreateTime": "2014-04-30T18:14:55.000Z",
2397
+ "InstanceId": "i-1234567890abcdef0",
2398
+ "LaunchSpecification": {
2399
+ "BlockDeviceMappings": [
2400
+ {
2401
+ "DeviceName": "/dev/sda1",
2402
+ "Ebs": {
2403
+ "DeleteOnTermination": true,
2404
+ "VolumeSize": 8,
2405
+ "VolumeType": "standard"
2406
+ }
2407
+ }
2408
+ ],
2409
+ "EbsOptimized": false,
2410
+ "ImageId": "ami-7aba833f",
2411
+ "InstanceType": "m1.small",
2412
+ "KeyName": "my-key-pair",
2413
+ "SecurityGroups": [
2414
+ {
2415
+ "GroupId": "sg-e38f24a7",
2416
+ "GroupName": "my-security-group"
2417
+ }
2418
+ ]
2419
+ },
2420
+ "LaunchedAvailabilityZone": "us-west-1b",
2421
+ "ProductDescription": "Linux/UNIX",
2422
+ "SpotInstanceRequestId": "sir-08b93456",
2423
+ "SpotPrice": "0.010000",
2424
+ "State": "active",
2425
+ "Status": {
2426
+ "Code": "fulfilled",
2427
+ "Message": "Your Spot request is fulfilled.",
2428
+ "UpdateTime": "2014-04-30T18:16:21.000Z"
2429
+ },
2430
+ "Type": "one-time"
2431
+ }
2432
+ ]
2433
+ },
2434
+ "comments": {
2435
+ "input": {
2436
+ },
2437
+ "output": {
2438
+ }
2439
+ },
2440
+ "description": "This example describes the specified Spot Instance request.",
2441
+ "id": "ec2-describe-spot-instance-requests-1",
2442
+ "title": "To describe a Spot Instance request"
2443
+ }
2444
+ ],
2445
+ "DescribeSpotPriceHistory": [
2446
+ {
2447
+ "input": {
2448
+ "EndTime": "2014-01-06T08:09:10",
2449
+ "InstanceTypes": [
2450
+ "m1.xlarge"
2451
+ ],
2452
+ "ProductDescriptions": [
2453
+ "Linux/UNIX (Amazon VPC)"
2454
+ ],
2455
+ "StartTime": "2014-01-06T07:08:09"
2456
+ },
2457
+ "output": {
2458
+ "SpotPriceHistory": [
2459
+ {
2460
+ "AvailabilityZone": "us-west-1a",
2461
+ "InstanceType": "m1.xlarge",
2462
+ "ProductDescription": "Linux/UNIX (Amazon VPC)",
2463
+ "SpotPrice": "0.080000",
2464
+ "Timestamp": "2014-01-06T04:32:53.000Z"
2465
+ },
2466
+ {
2467
+ "AvailabilityZone": "us-west-1c",
2468
+ "InstanceType": "m1.xlarge",
2469
+ "ProductDescription": "Linux/UNIX (Amazon VPC)",
2470
+ "SpotPrice": "0.080000",
2471
+ "Timestamp": "2014-01-05T11:28:26.000Z"
2472
+ }
2473
+ ]
2474
+ },
2475
+ "comments": {
2476
+ "input": {
2477
+ },
2478
+ "output": {
2479
+ }
2480
+ },
2481
+ "description": "This example returns the Spot Price history for m1.xlarge, Linux/UNIX (Amazon VPC) instances for a particular day in January.",
2482
+ "id": "ec2-describe-spot-price-history-1",
2483
+ "title": "To describe Spot price history for Linux/UNIX (Amazon VPC)"
2484
+ }
2485
+ ],
2486
+ "DescribeSubnets": [
2487
+ {
2488
+ "input": {
2489
+ "Filters": [
2490
+ {
2491
+ "Name": "vpc-id",
2492
+ "Values": [
2493
+ "vpc-a01106c2"
2494
+ ]
2495
+ }
2496
+ ]
2497
+ },
2498
+ "output": {
2499
+ "Subnets": [
2500
+ {
2501
+ "AvailabilityZone": "us-east-1c",
2502
+ "AvailableIpAddressCount": 251,
2503
+ "CidrBlock": "10.0.1.0/24",
2504
+ "DefaultForAz": false,
2505
+ "MapPublicIpOnLaunch": false,
2506
+ "State": "available",
2507
+ "SubnetId": "subnet-9d4a7b6c",
2508
+ "VpcId": "vpc-a01106c2"
2509
+ }
2510
+ ]
2511
+ },
2512
+ "comments": {
2513
+ "input": {
2514
+ },
2515
+ "output": {
2516
+ }
2517
+ },
2518
+ "description": "This example describes the subnets for the specified VPC.",
2519
+ "id": "ec2-describe-subnets-1",
2520
+ "title": "To describe the subnets for a VPC"
2521
+ }
2522
+ ],
2523
+ "DescribeTags": [
2524
+ {
2525
+ "input": {
2526
+ "Filters": [
2527
+ {
2528
+ "Name": "resource-id",
2529
+ "Values": [
2530
+ "i-1234567890abcdef8"
2531
+ ]
2532
+ }
2533
+ ]
2534
+ },
2535
+ "output": {
2536
+ "Tags": [
2537
+ {
2538
+ "Key": "Stack",
2539
+ "ResourceId": "i-1234567890abcdef8",
2540
+ "ResourceType": "instance",
2541
+ "Value": "test"
2542
+ },
2543
+ {
2544
+ "Key": "Name",
2545
+ "ResourceId": "i-1234567890abcdef8",
2546
+ "ResourceType": "instance",
2547
+ "Value": "Beta Server"
2548
+ }
2549
+ ]
2550
+ },
2551
+ "comments": {
2552
+ "input": {
2553
+ },
2554
+ "output": {
2555
+ }
2556
+ },
2557
+ "description": "This example describes the tags for the specified instance.",
2558
+ "id": "ec2-describe-tags-1",
2559
+ "title": "To describe the tags for a single resource"
2560
+ }
2561
+ ],
2562
+ "DescribeVolumeAttribute": [
2563
+ {
2564
+ "input": {
2565
+ "Attribute": "autoEnableIO",
2566
+ "VolumeId": "vol-049df61146c4d7901"
2567
+ },
2568
+ "output": {
2569
+ "AutoEnableIO": {
2570
+ "Value": false
2571
+ },
2572
+ "VolumeId": "vol-049df61146c4d7901"
2573
+ },
2574
+ "comments": {
2575
+ "input": {
2576
+ },
2577
+ "output": {
2578
+ }
2579
+ },
2580
+ "description": "This example describes the ``autoEnableIo`` attribute of the volume with the ID ``vol-049df61146c4d7901``.",
2581
+ "id": "to-describe-a-volume-attribute-1472505773492",
2582
+ "title": "To describe a volume attribute"
2583
+ }
2584
+ ],
2585
+ "DescribeVolumeStatus": [
2586
+ {
2587
+ "input": {
2588
+ "VolumeIds": [
2589
+ "vol-1234567890abcdef0"
2590
+ ]
2591
+ },
2592
+ "output": {
2593
+ "VolumeStatuses": [
2594
+ {
2595
+ "Actions": [
2596
+
2597
+ ],
2598
+ "AvailabilityZone": "us-east-1a",
2599
+ "Events": [
2600
+
2601
+ ],
2602
+ "VolumeId": "vol-1234567890abcdef0",
2603
+ "VolumeStatus": {
2604
+ "Details": [
2605
+ {
2606
+ "Name": "io-enabled",
2607
+ "Status": "passed"
2608
+ },
2609
+ {
2610
+ "Name": "io-performance",
2611
+ "Status": "not-applicable"
2612
+ }
2613
+ ],
2614
+ "Status": "ok"
2615
+ }
2616
+ }
2617
+ ]
2618
+ },
2619
+ "comments": {
2620
+ "input": {
2621
+ },
2622
+ "output": {
2623
+ }
2624
+ },
2625
+ "description": "This example describes the status for the volume ``vol-1234567890abcdef0``.",
2626
+ "id": "to-describe-the-status-of-a-single-volume-1472507016193",
2627
+ "title": "To describe the status of a single volume"
2628
+ },
2629
+ {
2630
+ "input": {
2631
+ "Filters": [
2632
+ {
2633
+ "Name": "volume-status.status",
2634
+ "Values": [
2635
+ "impaired"
2636
+ ]
2637
+ }
2638
+ ]
2639
+ },
2640
+ "output": {
2641
+ "VolumeStatuses": [
2642
+
2643
+ ]
2644
+ },
2645
+ "comments": {
2646
+ "input": {
2647
+ },
2648
+ "output": {
2649
+ }
2650
+ },
2651
+ "description": "This example describes the status for all volumes that are impaired. In this example output, there are no impaired volumes.",
2652
+ "id": "to-describe-the-status-of-impaired-volumes-1472507239821",
2653
+ "title": "To describe the status of impaired volumes"
2654
+ }
2655
+ ],
2656
+ "DescribeVolumes": [
2657
+ {
2658
+ "input": {
2659
+ },
2660
+ "output": {
2661
+ "NextToken": "",
2662
+ "Volumes": [
2663
+ {
2664
+ "Attachments": [
2665
+ {
2666
+ "AttachTime": "2013-12-18T22:35:00.000Z",
2667
+ "DeleteOnTermination": true,
2668
+ "Device": "/dev/sda1",
2669
+ "InstanceId": "i-1234567890abcdef0",
2670
+ "State": "attached",
2671
+ "VolumeId": "vol-049df61146c4d7901"
2672
+ }
2673
+ ],
2674
+ "AvailabilityZone": "us-east-1a",
2675
+ "CreateTime": "2013-12-18T22:35:00.084Z",
2676
+ "Size": 8,
2677
+ "SnapshotId": "snap-1234567890abcdef0",
2678
+ "State": "in-use",
2679
+ "VolumeId": "vol-049df61146c4d7901",
2680
+ "VolumeType": "standard"
2681
+ }
2682
+ ]
2683
+ },
2684
+ "comments": {
2685
+ "input": {
2686
+ },
2687
+ "output": {
2688
+ }
2689
+ },
2690
+ "description": "This example describes all of your volumes in the default region.",
2691
+ "id": "to-describe-all-volumes-1472506358883",
2692
+ "title": "To describe all volumes"
2693
+ },
2694
+ {
2695
+ "input": {
2696
+ "Filters": [
2697
+ {
2698
+ "Name": "attachment.instance-id",
2699
+ "Values": [
2700
+ "i-1234567890abcdef0"
2701
+ ]
2702
+ },
2703
+ {
2704
+ "Name": "attachment.delete-on-termination",
2705
+ "Values": [
2706
+ "true"
2707
+ ]
2708
+ }
2709
+ ]
2710
+ },
2711
+ "output": {
2712
+ "Volumes": [
2713
+ {
2714
+ "Attachments": [
2715
+ {
2716
+ "AttachTime": "2013-12-18T22:35:00.000Z",
2717
+ "DeleteOnTermination": true,
2718
+ "Device": "/dev/sda1",
2719
+ "InstanceId": "i-1234567890abcdef0",
2720
+ "State": "attached",
2721
+ "VolumeId": "vol-049df61146c4d7901"
2722
+ }
2723
+ ],
2724
+ "AvailabilityZone": "us-east-1a",
2725
+ "CreateTime": "2013-12-18T22:35:00.084Z",
2726
+ "Size": 8,
2727
+ "SnapshotId": "snap-1234567890abcdef0",
2728
+ "State": "in-use",
2729
+ "VolumeId": "vol-049df61146c4d7901",
2730
+ "VolumeType": "standard"
2731
+ }
2732
+ ]
2733
+ },
2734
+ "comments": {
2735
+ "input": {
2736
+ },
2737
+ "output": {
2738
+ }
2739
+ },
2740
+ "description": "This example describes all volumes that are both attached to the instance with the ID i-1234567890abcdef0 and set to delete when the instance terminates.",
2741
+ "id": "to-describe-volumes-that-are-attached-to-a-specific-instance-1472506613578",
2742
+ "title": "To describe volumes that are attached to a specific instance"
2743
+ }
2744
+ ],
2745
+ "DescribeVpcAttribute": [
2746
+ {
2747
+ "input": {
2748
+ "Attribute": "enableDnsSupport",
2749
+ "VpcId": "vpc-a01106c2"
2750
+ },
2751
+ "output": {
2752
+ "EnableDnsSupport": {
2753
+ "Value": true
2754
+ },
2755
+ "VpcId": "vpc-a01106c2"
2756
+ },
2757
+ "comments": {
2758
+ "input": {
2759
+ },
2760
+ "output": {
2761
+ }
2762
+ },
2763
+ "description": "This example describes the enableDnsSupport attribute. This attribute indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.",
2764
+ "id": "ec2-describe-vpc-attribute-1",
2765
+ "title": "To describe the enableDnsSupport attribute"
2766
+ },
2767
+ {
2768
+ "input": {
2769
+ "Attribute": "enableDnsHostnames",
2770
+ "VpcId": "vpc-a01106c2"
2771
+ },
2772
+ "output": {
2773
+ "EnableDnsHostnames": {
2774
+ "Value": true
2775
+ },
2776
+ "VpcId": "vpc-a01106c2"
2777
+ },
2778
+ "comments": {
2779
+ "input": {
2780
+ },
2781
+ "output": {
2782
+ }
2783
+ },
2784
+ "description": "This example describes the enableDnsHostnames attribute. This attribute indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.",
2785
+ "id": "ec2-describe-vpc-attribute-2",
2786
+ "title": "To describe the enableDnsHostnames attribute"
2787
+ }
2788
+ ],
2789
+ "DescribeVpcs": [
2790
+ {
2791
+ "input": {
2792
+ "VpcIds": [
2793
+ "vpc-a01106c2"
2794
+ ]
2795
+ },
2796
+ "output": {
2797
+ "Vpcs": [
2798
+ {
2799
+ "CidrBlock": "10.0.0.0/16",
2800
+ "DhcpOptionsId": "dopt-7a8b9c2d",
2801
+ "InstanceTenancy": "default",
2802
+ "IsDefault": false,
2803
+ "State": "available",
2804
+ "Tags": [
2805
+ {
2806
+ "Key": "Name",
2807
+ "Value": "MyVPC"
2808
+ }
2809
+ ],
2810
+ "VpcId": "vpc-a01106c2"
2811
+ }
2812
+ ]
2813
+ },
2814
+ "comments": {
2815
+ "input": {
2816
+ },
2817
+ "output": {
2818
+ }
2819
+ },
2820
+ "description": "This example describes the specified VPC.",
2821
+ "id": "ec2-describe-vpcs-1",
2822
+ "title": "To describe a VPC"
2823
+ }
2824
+ ],
2825
+ "DetachInternetGateway": [
2826
+ {
2827
+ "input": {
2828
+ "InternetGatewayId": "igw-c0a643a9",
2829
+ "VpcId": "vpc-a01106c2"
2830
+ },
2831
+ "comments": {
2832
+ "input": {
2833
+ },
2834
+ "output": {
2835
+ }
2836
+ },
2837
+ "description": "This example detaches the specified Internet gateway from the specified VPC.",
2838
+ "id": "ec2-detach-internet-gateway-1",
2839
+ "title": "To detach an Internet gateway from a VPC"
2840
+ }
2841
+ ],
2842
+ "DetachNetworkInterface": [
2843
+ {
2844
+ "input": {
2845
+ "AttachmentId": "eni-attach-66c4350a"
2846
+ },
2847
+ "comments": {
2848
+ "input": {
2849
+ },
2850
+ "output": {
2851
+ }
2852
+ },
2853
+ "description": "This example detaches the specified network interface from its attached instance.",
2854
+ "id": "ec2-detach-network-interface-1",
2855
+ "title": "To detach a network interface from an instance"
2856
+ }
2857
+ ],
2858
+ "DetachVolume": [
2859
+ {
2860
+ "input": {
2861
+ "VolumeId": "vol-1234567890abcdef0"
2862
+ },
2863
+ "output": {
2864
+ "AttachTime": "2014-02-27T19:23:06.000Z",
2865
+ "Device": "/dev/sdb",
2866
+ "InstanceId": "i-1234567890abcdef0",
2867
+ "State": "detaching",
2868
+ "VolumeId": "vol-049df61146c4d7901"
2869
+ },
2870
+ "comments": {
2871
+ "input": {
2872
+ },
2873
+ "output": {
2874
+ }
2875
+ },
2876
+ "description": "This example detaches the volume (``vol-049df61146c4d7901``) from the instance it is attached to.",
2877
+ "id": "to-detach-a-volume-from-an-instance-1472507977694",
2878
+ "title": "To detach a volume from an instance"
2879
+ }
2880
+ ],
2881
+ "DisableVgwRoutePropagation": [
2882
+ {
2883
+ "input": {
2884
+ "GatewayId": "vgw-9a4cacf3",
2885
+ "RouteTableId": "rtb-22574640"
2886
+ },
2887
+ "comments": {
2888
+ "input": {
2889
+ },
2890
+ "output": {
2891
+ }
2892
+ },
2893
+ "description": "This example disables the specified virtual private gateway from propagating static routes to the specified route table.",
2894
+ "id": "ec2-disable-vgw-route-propagation-1",
2895
+ "title": "To disable route propagation"
2896
+ }
2897
+ ],
2898
+ "DisassociateAddress": [
2899
+ {
2900
+ "input": {
2901
+ "AssociationId": "eipassoc-2bebb745"
2902
+ },
2903
+ "comments": {
2904
+ "input": {
2905
+ },
2906
+ "output": {
2907
+ }
2908
+ },
2909
+ "description": "This example disassociates an Elastic IP address from an instance in a VPC.",
2910
+ "id": "ec2-disassociate-address-1",
2911
+ "title": "To disassociate an Elastic IP address in EC2-VPC"
2912
+ },
2913
+ {
2914
+ "input": {
2915
+ "PublicIp": "198.51.100.0"
2916
+ },
2917
+ "comments": {
2918
+ "input": {
2919
+ },
2920
+ "output": {
2921
+ }
2922
+ },
2923
+ "description": "This example disassociates an Elastic IP address from an instance in EC2-Classic.",
2924
+ "id": "ec2-disassociate-address-2",
2925
+ "title": "To disassociate an Elastic IP addresses in EC2-Classic"
2926
+ }
2927
+ ],
2928
+ "DisassociateRouteTable": [
2929
+ {
2930
+ "input": {
2931
+ "AssociationId": "rtbassoc-781d0d1a"
2932
+ },
2933
+ "comments": {
2934
+ "input": {
2935
+ },
2936
+ "output": {
2937
+ }
2938
+ },
2939
+ "description": "This example disassociates the specified route table from its associated subnet.",
2940
+ "id": "ec2-disassociate-route-table-1",
2941
+ "title": "To disassociate a route table"
2942
+ }
2943
+ ],
2944
+ "EnableVgwRoutePropagation": [
2945
+ {
2946
+ "input": {
2947
+ "GatewayId": "vgw-9a4cacf3",
2948
+ "RouteTableId": "rtb-22574640"
2949
+ },
2950
+ "comments": {
2951
+ "input": {
2952
+ },
2953
+ "output": {
2954
+ }
2955
+ },
2956
+ "description": "This example enables the specified virtual private gateway to propagate static routes to the specified route table.",
2957
+ "id": "ec2-enable-vgw-route-propagation-1",
2958
+ "title": "To enable route propagation"
2959
+ }
2960
+ ],
2961
+ "EnableVolumeIO": [
2962
+ {
2963
+ "input": {
2964
+ "VolumeId": "vol-1234567890abcdef0"
2965
+ },
2966
+ "comments": {
2967
+ "input": {
2968
+ },
2969
+ "output": {
2970
+ }
2971
+ },
2972
+ "description": "This example enables I/O on volume ``vol-1234567890abcdef0``.",
2973
+ "id": "to-enable-io-for-a-volume-1472508114867",
2974
+ "title": "To enable I/O for a volume"
2975
+ }
2976
+ ],
2977
+ "ModifyNetworkInterfaceAttribute": [
2978
+ {
2979
+ "input": {
2980
+ "Attachment": {
2981
+ "AttachmentId": "eni-attach-43348162",
2982
+ "DeleteOnTermination": false
2983
+ },
2984
+ "NetworkInterfaceId": "eni-686ea200"
2985
+ },
2986
+ "comments": {
2987
+ "input": {
2988
+ },
2989
+ "output": {
2990
+ }
2991
+ },
2992
+ "description": "This example modifies the attachment attribute of the specified network interface.",
2993
+ "id": "ec2-modify-network-interface-attribute-1",
2994
+ "title": "To modify the attachment attribute of a network interface"
2995
+ },
2996
+ {
2997
+ "input": {
2998
+ "Description": {
2999
+ "Value": "My description"
3000
+ },
3001
+ "NetworkInterfaceId": "eni-686ea200"
3002
+ },
3003
+ "comments": {
3004
+ "input": {
3005
+ },
3006
+ "output": {
3007
+ }
3008
+ },
3009
+ "description": "This example modifies the description attribute of the specified network interface.",
3010
+ "id": "ec2-modify-network-interface-attribute-2",
3011
+ "title": "To modify the description attribute of a network interface"
3012
+ },
3013
+ {
3014
+ "input": {
3015
+ "Groups": [
3016
+ "sg-903004f8",
3017
+ "sg-1a2b3c4d"
3018
+ ],
3019
+ "NetworkInterfaceId": "eni-686ea200"
3020
+ },
3021
+ "comments": {
3022
+ "input": {
3023
+ },
3024
+ "output": {
3025
+ }
3026
+ },
3027
+ "description": "This example command modifies the groupSet attribute of the specified network interface.",
3028
+ "id": "ec2-modify-network-interface-attribute-3",
3029
+ "title": "To modify the groupSet attribute of a network interface"
3030
+ },
3031
+ {
3032
+ "input": {
3033
+ "NetworkInterfaceId": "eni-686ea200",
3034
+ "SourceDestCheck": {
3035
+ "Value": false
3036
+ }
3037
+ },
3038
+ "comments": {
3039
+ "input": {
3040
+ },
3041
+ "output": {
3042
+ }
3043
+ },
3044
+ "description": "This example command modifies the sourceDestCheck attribute of the specified network interface.",
3045
+ "id": "ec2-modify-network-interface-attribute-4",
3046
+ "title": "To modify the sourceDestCheck attribute of a network interface"
3047
+ }
3048
+ ],
3049
+ "ModifySnapshotAttribute": [
3050
+ {
3051
+ "input": {
3052
+ "Attribute": "createVolumePermission",
3053
+ "OperationType": "remove",
3054
+ "SnapshotId": "snap-1234567890abcdef0",
3055
+ "UserIds": [
3056
+ "123456789012"
3057
+ ]
3058
+ },
3059
+ "output": {
3060
+ },
3061
+ "comments": {
3062
+ "input": {
3063
+ },
3064
+ "output": {
3065
+ }
3066
+ },
3067
+ "description": "This example modifies snapshot ``snap-1234567890abcdef0`` to remove the create volume permission for a user with the account ID ``123456789012``. If the command succeeds, no output is returned.",
3068
+ "id": "to-modify-a-snapshot-attribute-1472508385907",
3069
+ "title": "To modify a snapshot attribute"
3070
+ },
3071
+ {
3072
+ "input": {
3073
+ "Attribute": "createVolumePermission",
3074
+ "GroupNames": [
3075
+ "all"
3076
+ ],
3077
+ "OperationType": "add",
3078
+ "SnapshotId": "snap-1234567890abcdef0"
3079
+ },
3080
+ "output": {
3081
+ },
3082
+ "comments": {
3083
+ "input": {
3084
+ },
3085
+ "output": {
3086
+ }
3087
+ },
3088
+ "description": "This example makes the snapshot ``snap-1234567890abcdef0`` public.",
3089
+ "id": "to-make-a-snapshot-public-1472508470529",
3090
+ "title": "To make a snapshot public"
3091
+ }
3092
+ ],
3093
+ "ModifySpotFleetRequest": [
3094
+ {
3095
+ "input": {
3096
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
3097
+ "TargetCapacity": 20
3098
+ },
3099
+ "output": {
3100
+ "Return": true
3101
+ },
3102
+ "comments": {
3103
+ "input": {
3104
+ },
3105
+ "output": {
3106
+ }
3107
+ },
3108
+ "description": "This example increases the target capacity of the specified Spot fleet request.",
3109
+ "id": "ec2-modify-spot-fleet-request-1",
3110
+ "title": "To increase the target capacity of a Spot fleet request"
3111
+ },
3112
+ {
3113
+ "input": {
3114
+ "ExcessCapacityTerminationPolicy": "NoTermination ",
3115
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
3116
+ "TargetCapacity": 10
3117
+ },
3118
+ "output": {
3119
+ "Return": true
3120
+ },
3121
+ "comments": {
3122
+ "input": {
3123
+ },
3124
+ "output": {
3125
+ }
3126
+ },
3127
+ "description": "This example decreases the target capacity of the specified Spot fleet request without terminating any Spot Instances as a result.",
3128
+ "id": "ec2-modify-spot-fleet-request-2",
3129
+ "title": "To decrease the target capacity of a Spot fleet request"
3130
+ }
3131
+ ],
3132
+ "ModifySubnetAttribute": [
3133
+ {
3134
+ "input": {
3135
+ "MapPublicIpOnLaunch": {
3136
+ "Value": true
3137
+ },
3138
+ "SubnetId": "subnet-1a2b3c4d"
3139
+ },
3140
+ "comments": {
3141
+ "input": {
3142
+ },
3143
+ "output": {
3144
+ }
3145
+ },
3146
+ "description": "This example modifies the specified subnet so that all instances launched into this subnet are assigned a public IP address.",
3147
+ "id": "ec2-modify-subnet-attribute-1",
3148
+ "title": "To change a subnet's public IP addressing behavior"
3149
+ }
3150
+ ],
3151
+ "ModifyVolumeAttribute": [
3152
+ {
3153
+ "input": {
3154
+ "AutoEnableIO": {
3155
+ "Value": true
3156
+ },
3157
+ "DryRun": true,
3158
+ "VolumeId": "vol-1234567890abcdef0"
3159
+ },
3160
+ "output": {
3161
+ },
3162
+ "comments": {
3163
+ "input": {
3164
+ },
3165
+ "output": {
3166
+ }
3167
+ },
3168
+ "description": "This example sets the ``autoEnableIo`` attribute of the volume with the ID ``vol-1234567890abcdef0`` to ``true``. If the command succeeds, no output is returned.",
3169
+ "id": "to-modify-a-volume-attribute-1472508596749",
3170
+ "title": "To modify a volume attribute"
3171
+ }
3172
+ ],
3173
+ "ModifyVpcAttribute": [
3174
+ {
3175
+ "input": {
3176
+ "EnableDnsSupport": {
3177
+ "Value": false
3178
+ },
3179
+ "VpcId": "vpc-a01106c2"
3180
+ },
3181
+ "comments": {
3182
+ "input": {
3183
+ },
3184
+ "output": {
3185
+ }
3186
+ },
3187
+ "description": "This example modifies the enableDnsSupport attribute. This attribute indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for instances in the VPC to their corresponding IP addresses; otherwise, it does not.",
3188
+ "id": "ec2-modify-vpc-attribute-1",
3189
+ "title": "To modify the enableDnsSupport attribute"
3190
+ },
3191
+ {
3192
+ "input": {
3193
+ "EnableDnsHostnames": {
3194
+ "Value": false
3195
+ },
3196
+ "VpcId": "vpc-a01106c2"
3197
+ },
3198
+ "comments": {
3199
+ "input": {
3200
+ },
3201
+ "output": {
3202
+ }
3203
+ },
3204
+ "description": "This example modifies the enableDnsHostnames attribute. This attribute indicates whether instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.",
3205
+ "id": "ec2-modify-vpc-attribute-2",
3206
+ "title": "To modify the enableDnsHostnames attribute"
3207
+ }
3208
+ ],
3209
+ "MoveAddressToVpc": [
3210
+ {
3211
+ "input": {
3212
+ "PublicIp": "54.123.4.56"
3213
+ },
3214
+ "output": {
3215
+ "Status": "MoveInProgress"
3216
+ },
3217
+ "comments": {
3218
+ "input": {
3219
+ },
3220
+ "output": {
3221
+ }
3222
+ },
3223
+ "description": "This example moves the specified Elastic IP address to the EC2-VPC platform.",
3224
+ "id": "ec2-move-address-to-vpc-1",
3225
+ "title": "To move an address to EC2-VPC"
3226
+ }
3227
+ ],
3228
+ "PurchaseScheduledInstances": [
3229
+ {
3230
+ "input": {
3231
+ "PurchaseRequests": [
3232
+ {
3233
+ "InstanceCount": 1,
3234
+ "PurchaseToken": "eyJ2IjoiMSIsInMiOjEsImMiOi..."
3235
+ }
3236
+ ]
3237
+ },
3238
+ "output": {
3239
+ "ScheduledInstanceSet": [
3240
+ {
3241
+ "AvailabilityZone": "us-west-2b",
3242
+ "CreateDate": "2016-01-25T21:43:38.612Z",
3243
+ "HourlyPrice": "0.095",
3244
+ "InstanceCount": 1,
3245
+ "InstanceType": "c4.large",
3246
+ "NetworkPlatform": "EC2-VPC",
3247
+ "NextSlotStartTime": "2016-01-31T09:00:00Z",
3248
+ "Platform": "Linux/UNIX",
3249
+ "Recurrence": {
3250
+ "Frequency": "Weekly",
3251
+ "Interval": 1,
3252
+ "OccurrenceDaySet": [
3253
+ 1
3254
+ ],
3255
+ "OccurrenceRelativeToEnd": false,
3256
+ "OccurrenceUnit": ""
3257
+ },
3258
+ "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012",
3259
+ "SlotDurationInHours": 32,
3260
+ "TermEndDate": "2017-01-31T09:00:00Z",
3261
+ "TermStartDate": "2016-01-31T09:00:00Z",
3262
+ "TotalScheduledInstanceHours": 1696
3263
+ }
3264
+ ]
3265
+ },
3266
+ "comments": {
3267
+ "input": {
3268
+ },
3269
+ "output": {
3270
+ }
3271
+ },
3272
+ "description": "This example purchases a Scheduled Instance.",
3273
+ "id": "ec2-purchase-scheduled-instances-1",
3274
+ "title": "To purchase a Scheduled Instance"
3275
+ }
3276
+ ],
3277
+ "ReleaseAddress": [
3278
+ {
3279
+ "input": {
3280
+ "AllocationId": "eipalloc-64d5890a"
3281
+ },
3282
+ "comments": {
3283
+ "input": {
3284
+ },
3285
+ "output": {
3286
+ }
3287
+ },
3288
+ "description": "This example releases an Elastic IP address for use with instances in a VPC.",
3289
+ "id": "ec2-release-address-1",
3290
+ "title": "To release an Elastic IP address for EC2-VPC"
3291
+ },
3292
+ {
3293
+ "input": {
3294
+ "PublicIp": "198.51.100.0"
3295
+ },
3296
+ "comments": {
3297
+ "input": {
3298
+ },
3299
+ "output": {
3300
+ }
3301
+ },
3302
+ "description": "This example releases an Elastic IP address for use with instances in EC2-Classic.",
3303
+ "id": "ec2-release-address-2",
3304
+ "title": "To release an Elastic IP addresses for EC2-Classic"
3305
+ }
3306
+ ],
3307
+ "ReplaceNetworkAclAssociation": [
3308
+ {
3309
+ "input": {
3310
+ "AssociationId": "aclassoc-e5b95c8c",
3311
+ "NetworkAclId": "acl-5fb85d36"
3312
+ },
3313
+ "output": {
3314
+ "NewAssociationId": "aclassoc-3999875b"
3315
+ },
3316
+ "comments": {
3317
+ "input": {
3318
+ },
3319
+ "output": {
3320
+ }
3321
+ },
3322
+ "description": "This example associates the specified network ACL with the subnet for the specified network ACL association.",
3323
+ "id": "ec2-replace-network-acl-association-1",
3324
+ "title": "To replace the network ACL associated with a subnet"
3325
+ }
3326
+ ],
3327
+ "ReplaceNetworkAclEntry": [
3328
+ {
3329
+ "input": {
3330
+ "CidrBlock": "203.0.113.12/24",
3331
+ "Egress": false,
3332
+ "NetworkAclId": "acl-5fb85d36",
3333
+ "PortRange": {
3334
+ "From": 53,
3335
+ "To": 53
3336
+ },
3337
+ "Protocol": "udp",
3338
+ "RuleAction": "allow",
3339
+ "RuleNumber": 100
3340
+ },
3341
+ "comments": {
3342
+ "input": {
3343
+ },
3344
+ "output": {
3345
+ }
3346
+ },
3347
+ "description": "This example replaces an entry for the specified network ACL. The new rule 100 allows ingress traffic from 203.0.113.12/24 on UDP port 53 (DNS) into any associated subnet.",
3348
+ "id": "ec2-replace-network-acl-entry-1",
3349
+ "title": "To replace a network ACL entry"
3350
+ }
3351
+ ],
3352
+ "ReplaceRoute": [
3353
+ {
3354
+ "input": {
3355
+ "DestinationCidrBlock": "10.0.0.0/16",
3356
+ "GatewayId": "vgw-9a4cacf3",
3357
+ "RouteTableId": "rtb-22574640"
3358
+ },
3359
+ "comments": {
3360
+ "input": {
3361
+ },
3362
+ "output": {
3363
+ }
3364
+ },
3365
+ "description": "This example replaces the specified route in the specified table table. The new route matches the specified CIDR and sends the traffic to the specified virtual private gateway.",
3366
+ "id": "ec2-replace-route-1",
3367
+ "title": "To replace a route"
3368
+ }
3369
+ ],
3370
+ "ReplaceRouteTableAssociation": [
3371
+ {
3372
+ "input": {
3373
+ "AssociationId": "rtbassoc-781d0d1a",
3374
+ "RouteTableId": "rtb-22574640"
3375
+ },
3376
+ "output": {
3377
+ "NewAssociationId": "rtbassoc-3a1f0f58"
3378
+ },
3379
+ "comments": {
3380
+ "input": {
3381
+ },
3382
+ "output": {
3383
+ }
3384
+ },
3385
+ "description": "This example associates the specified route table with the subnet for the specified route table association.",
3386
+ "id": "ec2-replace-route-table-association-1",
3387
+ "title": "To replace the route table associated with a subnet"
3388
+ }
3389
+ ],
3390
+ "RequestSpotFleet": [
3391
+ {
3392
+ "input": {
3393
+ "SpotFleetRequestConfig": {
3394
+ "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role",
3395
+ "LaunchSpecifications": [
3396
+ {
3397
+ "IamInstanceProfile": {
3398
+ "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role"
3399
+ },
3400
+ "ImageId": "ami-1a2b3c4d",
3401
+ "InstanceType": "m3.medium",
3402
+ "KeyName": "my-key-pair",
3403
+ "SecurityGroups": [
3404
+ {
3405
+ "GroupId": "sg-1a2b3c4d"
3406
+ }
3407
+ ],
3408
+ "SubnetId": "subnet-1a2b3c4d, subnet-3c4d5e6f"
3409
+ }
3410
+ ],
3411
+ "SpotPrice": "0.04",
3412
+ "TargetCapacity": 2
3413
+ }
3414
+ },
3415
+ "output": {
3416
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
3417
+ },
3418
+ "comments": {
3419
+ "input": {
3420
+ },
3421
+ "output": {
3422
+ }
3423
+ },
3424
+ "description": "This example creates a Spot fleet request with two launch specifications that differ only by subnet. The Spot fleet launches the instances in the specified subnet with the lowest price. If the instances are launched in a default VPC, they receive a public IP address by default. If the instances are launched in a nondefault VPC, they do not receive a public IP address by default. Note that you can't specify different subnets from the same Availability Zone in a Spot fleet request.",
3425
+ "id": "ec2-request-spot-fleet-1",
3426
+ "title": "To request a Spot fleet in the subnet with the lowest price"
3427
+ },
3428
+ {
3429
+ "input": {
3430
+ "SpotFleetRequestConfig": {
3431
+ "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role",
3432
+ "LaunchSpecifications": [
3433
+ {
3434
+ "IamInstanceProfile": {
3435
+ "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role"
3436
+ },
3437
+ "ImageId": "ami-1a2b3c4d",
3438
+ "InstanceType": "m3.medium",
3439
+ "KeyName": "my-key-pair",
3440
+ "Placement": {
3441
+ "AvailabilityZone": "us-west-2a, us-west-2b"
3442
+ },
3443
+ "SecurityGroups": [
3444
+ {
3445
+ "GroupId": "sg-1a2b3c4d"
3446
+ }
3447
+ ]
3448
+ }
3449
+ ],
3450
+ "SpotPrice": "0.04",
3451
+ "TargetCapacity": 2
3452
+ }
3453
+ },
3454
+ "output": {
3455
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
3456
+ },
3457
+ "comments": {
3458
+ "input": {
3459
+ },
3460
+ "output": {
3461
+ }
3462
+ },
3463
+ "description": "This example creates a Spot fleet request with two launch specifications that differ only by Availability Zone. The Spot fleet launches the instances in the specified Availability Zone with the lowest price. If your account supports EC2-VPC only, Amazon EC2 launches the Spot instances in the default subnet of the Availability Zone. If your account supports EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the Availability Zone.",
3464
+ "id": "ec2-request-spot-fleet-2",
3465
+ "title": "To request a Spot fleet in the Availability Zone with the lowest price"
3466
+ },
3467
+ {
3468
+ "input": {
3469
+ "SpotFleetRequestConfig": {
3470
+ "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role",
3471
+ "LaunchSpecifications": [
3472
+ {
3473
+ "IamInstanceProfile": {
3474
+ "Arn": "arn:aws:iam::880185128111:instance-profile/my-iam-role"
3475
+ },
3476
+ "ImageId": "ami-1a2b3c4d",
3477
+ "InstanceType": "m3.medium",
3478
+ "KeyName": "my-key-pair",
3479
+ "NetworkInterfaces": [
3480
+ {
3481
+ "AssociatePublicIpAddress": true,
3482
+ "DeviceIndex": 0,
3483
+ "Groups": [
3484
+ "sg-1a2b3c4d"
3485
+ ],
3486
+ "SubnetId": "subnet-1a2b3c4d"
3487
+ }
3488
+ ]
3489
+ }
3490
+ ],
3491
+ "SpotPrice": "0.04",
3492
+ "TargetCapacity": 2
3493
+ }
3494
+ },
3495
+ "output": {
3496
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
3497
+ },
3498
+ "comments": {
3499
+ "input": {
3500
+ },
3501
+ "output": {
3502
+ }
3503
+ },
3504
+ "description": "This example assigns public addresses to instances launched in a nondefault VPC. Note that when you specify a network interface, you must include the subnet ID and security group ID using the network interface.",
3505
+ "id": "ec2-request-spot-fleet-3",
3506
+ "title": "To launch Spot instances in a subnet and assign them public IP addresses"
3507
+ },
3508
+ {
3509
+ "input": {
3510
+ "SpotFleetRequestConfig": {
3511
+ "AllocationStrategy": "diversified",
3512
+ "IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role",
3513
+ "LaunchSpecifications": [
3514
+ {
3515
+ "ImageId": "ami-1a2b3c4d",
3516
+ "InstanceType": "c4.2xlarge",
3517
+ "SubnetId": "subnet-1a2b3c4d"
3518
+ },
3519
+ {
3520
+ "ImageId": "ami-1a2b3c4d",
3521
+ "InstanceType": "m3.2xlarge",
3522
+ "SubnetId": "subnet-1a2b3c4d"
3523
+ },
3524
+ {
3525
+ "ImageId": "ami-1a2b3c4d",
3526
+ "InstanceType": "r3.2xlarge",
3527
+ "SubnetId": "subnet-1a2b3c4d"
3528
+ }
3529
+ ],
3530
+ "SpotPrice": "0.70",
3531
+ "TargetCapacity": 30
3532
+ }
3533
+ },
3534
+ "output": {
3535
+ "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
3536
+ },
3537
+ "comments": {
3538
+ "input": {
3539
+ },
3540
+ "output": {
3541
+ }
3542
+ },
3543
+ "description": "This example creates a Spot fleet request that launches 30 instances using the diversified allocation strategy. The launch specifications differ by instance type. The Spot fleet distributes the instances across the launch specifications such that there are 10 instances of each type.",
3544
+ "id": "ec2-request-spot-fleet-4",
3545
+ "title": "To request a Spot fleet using the diversified allocation strategy"
3546
+ }
3547
+ ],
3548
+ "RequestSpotInstances": [
3549
+ {
3550
+ "input": {
3551
+ "InstanceCount": 5,
3552
+ "LaunchSpecification": {
3553
+ "IamInstanceProfile": {
3554
+ "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role"
3555
+ },
3556
+ "ImageId": "ami-1a2b3c4d",
3557
+ "InstanceType": "m3.medium",
3558
+ "KeyName": "my-key-pair",
3559
+ "Placement": {
3560
+ "AvailabilityZone": "us-west-2a"
3561
+ },
3562
+ "SecurityGroupIds": [
3563
+ "sg-1a2b3c4d"
3564
+ ]
3565
+ },
3566
+ "SpotPrice": "0.03",
3567
+ "Type": "one-time"
3568
+ },
3569
+ "comments": {
3570
+ "input": {
3571
+ },
3572
+ "output": {
3573
+ }
3574
+ },
3575
+ "description": "This example creates a one-time Spot Instance request for five instances in the specified Availability Zone. If your account supports EC2-VPC only, Amazon EC2 launches the instances in the default subnet of the specified Availability Zone. If your account supports EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the specified Availability Zone.",
3576
+ "id": "ec2-request-spot-instances-1",
3577
+ "title": "To create a one-time Spot Instance request"
3578
+ },
3579
+ {
3580
+ "input": {
3581
+ "InstanceCount": 5,
3582
+ "LaunchSpecification": {
3583
+ "IamInstanceProfile": {
3584
+ "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role"
3585
+ },
3586
+ "ImageId": "ami-1a2b3c4d",
3587
+ "InstanceType": "m3.medium",
3588
+ "SecurityGroupIds": [
3589
+ "sg-1a2b3c4d"
3590
+ ],
3591
+ "SubnetId": "subnet-1a2b3c4d"
3592
+ },
3593
+ "SpotPrice": "0.050",
3594
+ "Type": "one-time"
3595
+ },
3596
+ "comments": {
3597
+ "input": {
3598
+ },
3599
+ "output": {
3600
+ }
3601
+ },
3602
+ "description": "This example command creates a one-time Spot Instance request for five instances in the specified subnet. Amazon EC2 launches the instances in the specified subnet. If the VPC is a nondefault VPC, the instances do not receive a public IP address by default.",
3603
+ "id": "ec2-request-spot-instances-2",
3604
+ "title": "To create a one-time Spot Instance request"
3605
+ }
3606
+ ],
3607
+ "ResetSnapshotAttribute": [
3608
+ {
3609
+ "input": {
3610
+ "Attribute": "createVolumePermission",
3611
+ "SnapshotId": "snap-1234567890abcdef0"
3612
+ },
3613
+ "output": {
3614
+ },
3615
+ "comments": {
3616
+ "input": {
3617
+ },
3618
+ "output": {
3619
+ }
3620
+ },
3621
+ "description": "This example resets the create volume permissions for snapshot ``snap-1234567890abcdef0``. If the command succeeds, no output is returned.",
3622
+ "id": "to-reset-a-snapshot-attribute-1472508825735",
3623
+ "title": "To reset a snapshot attribute"
3624
+ }
3625
+ ],
3626
+ "RestoreAddressToClassic": [
3627
+ {
3628
+ "input": {
3629
+ "PublicIp": "198.51.100.0"
3630
+ },
3631
+ "output": {
3632
+ "PublicIp": "198.51.100.0",
3633
+ "Status": "MoveInProgress"
3634
+ },
3635
+ "comments": {
3636
+ "input": {
3637
+ },
3638
+ "output": {
3639
+ }
3640
+ },
3641
+ "description": "This example restores the specified Elastic IP address to the EC2-Classic platform.",
3642
+ "id": "ec2-restore-address-to-classic-1",
3643
+ "title": "To restore an address to EC2-Classic"
3644
+ }
3645
+ ],
3646
+ "RunScheduledInstances": [
3647
+ {
3648
+ "input": {
3649
+ "InstanceCount": 1,
3650
+ "LaunchSpecification": {
3651
+ "IamInstanceProfile": {
3652
+ "Name": "my-iam-role"
3653
+ },
3654
+ "ImageId": "ami-12345678",
3655
+ "InstanceType": "c4.large",
3656
+ "KeyName": "my-key-pair",
3657
+ "NetworkInterfaces": [
3658
+ {
3659
+ "AssociatePublicIpAddress": true,
3660
+ "DeviceIndex": 0,
3661
+ "Groups": [
3662
+ "sg-12345678"
3663
+ ],
3664
+ "SubnetId": "subnet-12345678"
3665
+ }
3666
+ ]
3667
+ },
3668
+ "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012"
3669
+ },
3670
+ "output": {
3671
+ "InstanceIdSet": [
3672
+ "i-1234567890abcdef0"
3673
+ ]
3674
+ },
3675
+ "comments": {
3676
+ "input": {
3677
+ },
3678
+ "output": {
3679
+ }
3680
+ },
3681
+ "description": "This example launches the specified Scheduled Instance in a VPC.",
3682
+ "id": "ec2-run-scheduled-instances-1",
3683
+ "title": "To launch a Scheduled Instance in a VPC"
3684
+ },
3685
+ {
3686
+ "input": {
3687
+ "InstanceCount": 1,
3688
+ "LaunchSpecification": {
3689
+ "IamInstanceProfile": {
3690
+ "Name": "my-iam-role"
3691
+ },
3692
+ "ImageId": "ami-12345678",
3693
+ "InstanceType": "c4.large",
3694
+ "KeyName": "my-key-pair",
3695
+ "Placement": {
3696
+ "AvailabilityZone": "us-west-2b"
3697
+ },
3698
+ "SecurityGroupIds": [
3699
+ "sg-12345678"
3700
+ ]
3701
+ },
3702
+ "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012"
3703
+ },
3704
+ "output": {
3705
+ "InstanceIdSet": [
3706
+ "i-1234567890abcdef0"
3707
+ ]
3708
+ },
3709
+ "comments": {
3710
+ "input": {
3711
+ },
3712
+ "output": {
3713
+ }
3714
+ },
3715
+ "description": "This example launches the specified Scheduled Instance in EC2-Classic.",
3716
+ "id": "ec2-run-scheduled-instances-2",
3717
+ "title": "To launch a Scheduled Instance in EC2-Classic"
3718
+ }
3719
+ ],
3720
+ "UnassignPrivateIpAddresses": [
3721
+ {
3722
+ "input": {
3723
+ "NetworkInterfaceId": "eni-e5aa89a3",
3724
+ "PrivateIpAddresses": [
3725
+ "10.0.0.82"
3726
+ ]
3727
+ },
3728
+ "comments": {
3729
+ "input": {
3730
+ },
3731
+ "output": {
3732
+ }
3733
+ },
3734
+ "description": "This example unassigns the specified private IP address from the specified network interface.",
3735
+ "id": "ec2-unassign-private-ip-addresses-1",
3736
+ "title": "To unassign a secondary private IP address from a network interface"
3737
+ }
3738
+ ]
3739
+ }
3740
+ }