aws-sdk-core 2.5.8 → 2.5.10

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