aws-sdk-core 2.11.80 → 2.11.81

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: e334e858e1cd69a8a4c6f52947a13309c6e99be8
4
- data.tar.gz: 914f73193bf9fabe9afe8a75ebe98ac5ab76dcef
3
+ metadata.gz: 4fd41388ce766b7429eee71c9d81f2abc1887295
4
+ data.tar.gz: fe0fe10d196ad03ec746ee5a32292518d6892e95
5
5
  SHA512:
6
- metadata.gz: 6f89b661b9cfcf50f465a160171aea37da78da2801140d1765a5b716bb8e617b134a2e8f7f54bda80d43772e230feb5ad46acc31a91896d65f8e6d5c5c032c34
7
- data.tar.gz: a3a0aea8a3c3f2a4a827e4fc8c5f36e48ba3fc35b4f5f5846abae019e9e4454b8faa1cabaf0523bbea3ce58c5984898c3a323f1e013630bebec1121921dc6fe8
6
+ metadata.gz: 5404a832abc3b8a59e0455f00c8239c23fffe4859ed8832565920cd46a101fb8d4365e931ad984876c41644a9e6b74fcefc3603456a751c3aebc05129b23ad72
7
+ data.tar.gz: 88ee1a10fbb2ec53d720c2f70300dbeb2521e064261572de6d4c16aac3f82186806eba45cc5b0382b579826d211ca1366a05d11060f713d94ab317e04b6c711c
@@ -0,0 +1,18 @@
1
+ {
2
+ "version": 1,
3
+ "defaultRegion": "us-west-2",
4
+ "testCases": [
5
+ {
6
+ "operationName": "ListCertificates",
7
+ "input": {},
8
+ "errorExpectedFromService": false
9
+ },
10
+ {
11
+ "operationName": "GetCertificate",
12
+ "input": {
13
+ "CertificateArn": "arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012"
14
+ },
15
+ "errorExpectedFromService": true
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "version": 2,
3
+ "waiters": {
4
+ "CertificateValidated": {
5
+ "delay": 60,
6
+ "maxAttempts": 40,
7
+ "operation": "DescribeCertificate",
8
+ "acceptors": [
9
+ {
10
+ "matcher": "pathAll",
11
+ "expected": "SUCCESS",
12
+ "argument": "Certificate.DomainValidationOptions[].ValidationStatus",
13
+ "state": "success"
14
+ },
15
+ {
16
+ "matcher": "pathAny",
17
+ "expected": "PENDING_VALIDATION",
18
+ "argument": "Certificate.DomainValidationOptions[].ValidationStatus",
19
+ "state": "retry"
20
+ },
21
+ {
22
+ "matcher": "path",
23
+ "expected": "FAILED",
24
+ "argument": "Certificate.Status",
25
+ "state": "failure"
26
+ },
27
+ {
28
+ "matcher": "error",
29
+ "expected": "ResourceNotFoundException",
30
+ "state": "failure"
31
+ }
32
+ ]
33
+ }
34
+ }
35
+ }
@@ -9865,6 +9865,10 @@
9865
9865
  "ReleaseTime":{
9866
9866
  "shape":"DateTime",
9867
9867
  "locationName":"releaseTime"
9868
+ },
9869
+ "Tags":{
9870
+ "shape":"TagList",
9871
+ "locationName":"tagSet"
9868
9872
  }
9869
9873
  }
9870
9874
  },
@@ -156,6 +156,36 @@
156
156
  "title": "To associate the default DHCP options set with a VPC"
157
157
  }
158
158
  ],
159
+ "AssociateIamInstanceProfile": [
160
+ {
161
+ "input": {
162
+ "IamInstanceProfile": {
163
+ "Name": "admin-role"
164
+ },
165
+ "InstanceId": "i-123456789abcde123"
166
+ },
167
+ "output": {
168
+ "IamInstanceProfileAssociation": {
169
+ "AssociationId": "iip-assoc-0e7736511a163c209",
170
+ "IamInstanceProfile": {
171
+ "Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
172
+ "Id": "AIPAJBLK7RKJKWDXVHIEC"
173
+ },
174
+ "InstanceId": "i-123456789abcde123",
175
+ "State": "associating"
176
+ }
177
+ },
178
+ "comments": {
179
+ "input": {
180
+ },
181
+ "output": {
182
+ }
183
+ },
184
+ "description": "This example associates an IAM instance profile named admin-role with the specified instance.",
185
+ "id": "to-associate-an-iam-instance-profile-with-an-instance-1528928429850",
186
+ "title": "To associate an IAM instance profile with an instance"
187
+ }
188
+ ],
159
189
  "AssociateRouteTable": [
160
190
  {
161
191
  "input": {
@@ -239,6 +269,153 @@
239
269
  "title": "To attach a volume to an instance"
240
270
  }
241
271
  ],
272
+ "AuthorizeSecurityGroupEgress": [
273
+ {
274
+ "input": {
275
+ "GroupId": "sg-1a2b3c4d",
276
+ "IpPermissions": [
277
+ {
278
+ "FromPort": 80,
279
+ "IpProtocol": "tcp",
280
+ "IpRanges": [
281
+ {
282
+ "CidrIp": "10.0.0.0/16"
283
+ }
284
+ ],
285
+ "ToPort": 80
286
+ }
287
+ ]
288
+ },
289
+ "output": {
290
+ },
291
+ "comments": {
292
+ "input": {
293
+ },
294
+ "output": {
295
+ }
296
+ },
297
+ "description": "This example adds a rule that grants access to the specified address ranges on TCP port 80.",
298
+ "id": "to-add-a-rule-that-allows-outbound-traffic-to-a-specific-address-range-1528929309636",
299
+ "title": "To add a rule that allows outbound traffic to a specific address range"
300
+ },
301
+ {
302
+ "input": {
303
+ "GroupId": "sg-1a2b3c4d",
304
+ "IpPermissions": [
305
+ {
306
+ "FromPort": 80,
307
+ "IpProtocol": "tcp",
308
+ "ToPort": 80,
309
+ "UserIdGroupPairs": [
310
+ {
311
+ "GroupId": "sg-4b51a32f"
312
+ }
313
+ ]
314
+ }
315
+ ]
316
+ },
317
+ "output": {
318
+ },
319
+ "comments": {
320
+ "input": {
321
+ },
322
+ "output": {
323
+ }
324
+ },
325
+ "description": "This example adds a rule that grants access to the specified security group on TCP port 80.",
326
+ "id": "to-add-a-rule-that-allows-outbound-traffic-to-a-specific-security-group-1528929760260",
327
+ "title": "To add a rule that allows outbound traffic to a specific security group"
328
+ }
329
+ ],
330
+ "AuthorizeSecurityGroupIngress": [
331
+ {
332
+ "input": {
333
+ "GroupId": "sg-903004f8",
334
+ "IpPermissions": [
335
+ {
336
+ "FromPort": 22,
337
+ "IpProtocol": "tcp",
338
+ "IpRanges": [
339
+ {
340
+ "CidrIp": "203.0.113.0/24",
341
+ "Description": "SSH access from the LA office"
342
+ }
343
+ ],
344
+ "ToPort": 22
345
+ }
346
+ ]
347
+ },
348
+ "output": {
349
+ },
350
+ "comments": {
351
+ "input": {
352
+ },
353
+ "output": {
354
+ }
355
+ },
356
+ "description": "This example enables inbound traffic on TCP port 22 (SSH). The rule includes a description to help you identify it later.",
357
+ "id": "to-add-a-rule-that-allows-inbound-ssh-traffic-1529011610328",
358
+ "title": "To add a rule that allows inbound SSH traffic from an IPv4 address range"
359
+ },
360
+ {
361
+ "input": {
362
+ "GroupId": "sg-111aaa22",
363
+ "IpPermissions": [
364
+ {
365
+ "FromPort": 80,
366
+ "IpProtocol": "tcp",
367
+ "ToPort": 80,
368
+ "UserIdGroupPairs": [
369
+ {
370
+ "Description": "HTTP access from other instances",
371
+ "GroupId": "sg-1a2b3c4d"
372
+ }
373
+ ]
374
+ }
375
+ ]
376
+ },
377
+ "output": {
378
+ },
379
+ "comments": {
380
+ "input": {
381
+ },
382
+ "output": {
383
+ }
384
+ },
385
+ "description": "This example enables inbound traffic on TCP port 80 from the specified security group. The group must be in the same VPC or a peer VPC. Incoming traffic is allowed based on the private IP addresses of instances that are associated with the specified security group.",
386
+ "id": "to-add-a-rule-that-allows-inbound-http-traffic-from-another-security-group-1529012163168",
387
+ "title": "To add a rule that allows inbound HTTP traffic from another security group"
388
+ },
389
+ {
390
+ "input": {
391
+ "GroupId": "sg-123abc12 ",
392
+ "IpPermissions": [
393
+ {
394
+ "FromPort": 3389,
395
+ "IpProtocol": "tcp",
396
+ "Ipv6Ranges": [
397
+ {
398
+ "CidrIpv6": "2001:db8:1234:1a00::/64",
399
+ "Description": "RDP access from the NY office"
400
+ }
401
+ ],
402
+ "ToPort": 3389
403
+ }
404
+ ]
405
+ },
406
+ "output": {
407
+ },
408
+ "comments": {
409
+ "input": {
410
+ },
411
+ "output": {
412
+ }
413
+ },
414
+ "description": "This example adds an inbound rule that allows RDP traffic from the specified IPv6 address range. The rule includes a description to help you identify it later.",
415
+ "id": "to-add-a-rule-with-a-description-1529012418116",
416
+ "title": "To add a rule that allows inbound RDP traffic from an IPv6 address range"
417
+ }
418
+ ],
242
419
  "CancelSpotFleetRequests": [
243
420
  {
244
421
  "input": {
@@ -339,6 +516,28 @@
339
516
  "title": "To confirm the product instance"
340
517
  }
341
518
  ],
519
+ "CopyImage": [
520
+ {
521
+ "input": {
522
+ "Description": "",
523
+ "Name": "My server",
524
+ "SourceImageId": "ami-5731123e",
525
+ "SourceRegion": "us-east-1"
526
+ },
527
+ "output": {
528
+ "ImageId": "ami-438bea42"
529
+ },
530
+ "comments": {
531
+ "input": {
532
+ },
533
+ "output": {
534
+ }
535
+ },
536
+ "description": "This example copies the specified AMI from the us-east-1 region to the current region.",
537
+ "id": "to-copy-an-ami-to-another-region-1529022820832",
538
+ "title": "To copy an AMI to another region"
539
+ }
540
+ ],
342
541
  "CopySnapshot": [
343
542
  {
344
543
  "input": {
@@ -430,6 +629,40 @@
430
629
  "title": "To create a DHCP options set"
431
630
  }
432
631
  ],
632
+ "CreateImage": [
633
+ {
634
+ "input": {
635
+ "BlockDeviceMappings": [
636
+ {
637
+ "DeviceName": "/dev/sdh",
638
+ "Ebs": {
639
+ "VolumeSize": "100"
640
+ }
641
+ },
642
+ {
643
+ "DeviceName": "/dev/sdc",
644
+ "VirtualName": "ephemeral1"
645
+ }
646
+ ],
647
+ "Description": "An AMI for my server",
648
+ "InstanceId": "i-1234567890abcdef0",
649
+ "Name": "My server",
650
+ "NoReboot": true
651
+ },
652
+ "output": {
653
+ "ImageId": "ami-1a2b3c4d"
654
+ },
655
+ "comments": {
656
+ "input": {
657
+ },
658
+ "output": {
659
+ }
660
+ },
661
+ "description": "This example creates an AMI from the specified instance and adds an EBS volume with the device name /dev/sdh and an instance store volume with the device name /dev/sdc.",
662
+ "id": "to-create-an-ami-from-an-amazon-ebs-backed-instance-1529023150636",
663
+ "title": "To create an AMI from an Amazon EBS-backed instance"
664
+ }
665
+ ],
433
666
  "CreateInternetGateway": [
434
667
  {
435
668
  "output": {
@@ -470,6 +703,104 @@
470
703
  "title": "To create a key pair"
471
704
  }
472
705
  ],
706
+ "CreateLaunchTemplate": [
707
+ {
708
+ "input": {
709
+ "LaunchTemplateData": {
710
+ "ImageId": "ami-8c1be5f6",
711
+ "InstanceType": "t2.small",
712
+ "NetworkInterfaces": [
713
+ {
714
+ "AssociatePublicIpAddress": true,
715
+ "DeviceIndex": 0,
716
+ "Ipv6AddressCount": 1,
717
+ "SubnetId": "subnet-7b16de0c"
718
+ }
719
+ ],
720
+ "TagSpecifications": [
721
+ {
722
+ "ResourceType": "instance",
723
+ "Tags": [
724
+ {
725
+ "Key": "Name",
726
+ "Value": "webserver"
727
+ }
728
+ ]
729
+ }
730
+ ]
731
+ },
732
+ "LaunchTemplateName": "my-template",
733
+ "VersionDescription": "WebVersion1"
734
+ },
735
+ "output": {
736
+ "LaunchTemplate": {
737
+ "CreateTime": "2017-11-27T09:13:24.000Z",
738
+ "CreatedBy": "arn:aws:iam::123456789012:root",
739
+ "DefaultVersionNumber": 1,
740
+ "LatestVersionNumber": 1,
741
+ "LaunchTemplateId": "lt-01238c059e3466abc",
742
+ "LaunchTemplateName": "my-template"
743
+ }
744
+ },
745
+ "comments": {
746
+ "input": {
747
+ },
748
+ "output": {
749
+ }
750
+ },
751
+ "description": "This example creates a launch template that specifies the subnet in which to launch the instance, assigns a public IP address and an IPv6 address to the instance, and creates a tag for the instance.",
752
+ "id": "to-create-a-launch-template-1529023655488",
753
+ "title": "To create a launch template"
754
+ }
755
+ ],
756
+ "CreateLaunchTemplateVersion": [
757
+ {
758
+ "input": {
759
+ "LaunchTemplateData": {
760
+ "ImageId": "ami-c998b6b2"
761
+ },
762
+ "LaunchTemplateId": "lt-0abcd290751193123",
763
+ "SourceVersion": "1",
764
+ "VersionDescription": "WebVersion2"
765
+ },
766
+ "output": {
767
+ "LaunchTemplateVersion": {
768
+ "CreateTime": "2017-12-01T13:35:46.000Z",
769
+ "CreatedBy": "arn:aws:iam::123456789012:root",
770
+ "DefaultVersion": false,
771
+ "LaunchTemplateData": {
772
+ "ImageId": "ami-c998b6b2",
773
+ "InstanceType": "t2.micro",
774
+ "NetworkInterfaces": [
775
+ {
776
+ "AssociatePublicIpAddress": true,
777
+ "DeviceIndex": 0,
778
+ "Ipv6Addresses": [
779
+ {
780
+ "Ipv6Address": "2001:db8:1234:1a00::123"
781
+ }
782
+ ],
783
+ "SubnetId": "subnet-7b16de0c"
784
+ }
785
+ ]
786
+ },
787
+ "LaunchTemplateId": "lt-0abcd290751193123",
788
+ "LaunchTemplateName": "my-template",
789
+ "VersionDescription": "WebVersion2",
790
+ "VersionNumber": 2
791
+ }
792
+ },
793
+ "comments": {
794
+ "input": {
795
+ },
796
+ "output": {
797
+ }
798
+ },
799
+ "description": "This example creates a new launch template version based on version 1 of the specified launch template and specifies a different AMI ID.",
800
+ "id": "to-create-a-launch-template-version-1529024195702",
801
+ "title": "To create a launch template version"
802
+ }
803
+ ],
473
804
  "CreateNatGateway": [
474
805
  {
475
806
  "input": {
@@ -697,6 +1028,27 @@
697
1028
  "title": "To create a route table"
698
1029
  }
699
1030
  ],
1031
+ "CreateSecurityGroup": [
1032
+ {
1033
+ "input": {
1034
+ "Description": "My security group",
1035
+ "GroupName": "my-security-group",
1036
+ "VpcId": "vpc-1a2b3c4d"
1037
+ },
1038
+ "output": {
1039
+ "GroupId": "sg-903004f8"
1040
+ },
1041
+ "comments": {
1042
+ "input": {
1043
+ },
1044
+ "output": {
1045
+ }
1046
+ },
1047
+ "description": "This example creates a security group for the specified VPC.",
1048
+ "id": "to-create-a-security-group-for-a-vpc-1529024532716",
1049
+ "title": "To create a security group for a VPC"
1050
+ }
1051
+ ],
700
1052
  "CreateSnapshot": [
701
1053
  {
702
1054
  "input": {
@@ -953,6 +1305,63 @@
953
1305
  "title": "To delete a key pair"
954
1306
  }
955
1307
  ],
1308
+ "DeleteLaunchTemplate": [
1309
+ {
1310
+ "input": {
1311
+ "LaunchTemplateId": "lt-0abcd290751193123"
1312
+ },
1313
+ "output": {
1314
+ "LaunchTemplate": {
1315
+ "CreateTime": "2017-11-23T16:46:25.000Z",
1316
+ "CreatedBy": "arn:aws:iam::123456789012:root",
1317
+ "DefaultVersionNumber": 2,
1318
+ "LatestVersionNumber": 2,
1319
+ "LaunchTemplateId": "lt-0abcd290751193123",
1320
+ "LaunchTemplateName": "my-template"
1321
+ }
1322
+ },
1323
+ "comments": {
1324
+ "input": {
1325
+ },
1326
+ "output": {
1327
+ }
1328
+ },
1329
+ "description": "This example deletes the specified launch template.",
1330
+ "id": "to-delete-a-launch-template-1529024658216",
1331
+ "title": "To delete a launch template"
1332
+ }
1333
+ ],
1334
+ "DeleteLaunchTemplateVersions": [
1335
+ {
1336
+ "input": {
1337
+ "LaunchTemplateId": "lt-0abcd290751193123",
1338
+ "Versions": [
1339
+ "1"
1340
+ ]
1341
+ },
1342
+ "output": {
1343
+ "SuccessfullyDeletedLaunchTemplateVersions": [
1344
+ {
1345
+ "LaunchTemplateId": "lt-0abcd290751193123",
1346
+ "LaunchTemplateName": "my-template",
1347
+ "VersionNumber": 1
1348
+ }
1349
+ ],
1350
+ "UnsuccessfullyDeletedLaunchTemplateVersions": [
1351
+
1352
+ ]
1353
+ },
1354
+ "comments": {
1355
+ "input": {
1356
+ },
1357
+ "output": {
1358
+ }
1359
+ },
1360
+ "description": "This example deletes the specified launch template version.",
1361
+ "id": "to-delete-a-launch-template-version-1529024790864",
1362
+ "title": "To delete a launch template version"
1363
+ }
1364
+ ],
956
1365
  "DeleteNatGateway": [
957
1366
  {
958
1367
  "input": {
@@ -1073,6 +1482,24 @@
1073
1482
  "title": "To delete a route table"
1074
1483
  }
1075
1484
  ],
1485
+ "DeleteSecurityGroup": [
1486
+ {
1487
+ "input": {
1488
+ "GroupId": "sg-903004f8"
1489
+ },
1490
+ "output": {
1491
+ },
1492
+ "comments": {
1493
+ "input": {
1494
+ },
1495
+ "output": {
1496
+ }
1497
+ },
1498
+ "description": "This example deletes the specified security group.",
1499
+ "id": "to-delete-a-security-group-1529024952972",
1500
+ "title": "To delete a security group"
1501
+ }
1502
+ ],
1076
1503
  "DeleteSnapshot": [
1077
1504
  {
1078
1505
  "input": {
@@ -1490,14 +1917,119 @@
1490
1917
  "title": "To describe a DHCP options set"
1491
1918
  }
1492
1919
  ],
1493
- "DescribeInstanceAttribute": [
1920
+ "DescribeIamInstanceProfileAssociations": [
1494
1921
  {
1495
1922
  "input": {
1496
- "Attribute": "instanceType",
1497
- "InstanceId": "i-1234567890abcdef0"
1923
+ "AssociationIds": [
1924
+ "iip-assoc-0db249b1f25fa24b8"
1925
+ ]
1498
1926
  },
1499
1927
  "output": {
1500
- "InstanceId": "i-1234567890abcdef0",
1928
+ "IamInstanceProfileAssociations": [
1929
+ {
1930
+ "AssociationId": "iip-assoc-0db249b1f25fa24b8",
1931
+ "IamInstanceProfile": {
1932
+ "Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
1933
+ "Id": "AIPAJVQN4F5WVLGCJDRGM"
1934
+ },
1935
+ "InstanceId": "i-09eb09efa73ec1dee",
1936
+ "State": "associated"
1937
+ }
1938
+ ]
1939
+ },
1940
+ "comments": {
1941
+ "input": {
1942
+ },
1943
+ "output": {
1944
+ }
1945
+ },
1946
+ "description": "This example describes the specified IAM instance profile association.",
1947
+ "id": "to-describe-an-iam-instance-profile-association-1529025123918",
1948
+ "title": "To describe an IAM instance profile association"
1949
+ }
1950
+ ],
1951
+ "DescribeImageAttribute": [
1952
+ {
1953
+ "input": {
1954
+ "Attribute": "launchPermission",
1955
+ "ImageId": "ami-5731123e"
1956
+ },
1957
+ "output": {
1958
+ "ImageId": "ami-5731123e",
1959
+ "LaunchPermissions": [
1960
+ {
1961
+ "UserId": "123456789012"
1962
+ }
1963
+ ]
1964
+ },
1965
+ "comments": {
1966
+ "input": {
1967
+ },
1968
+ "output": {
1969
+ }
1970
+ },
1971
+ "description": "This example describes the launch permissions for the specified AMI.",
1972
+ "id": "to-describe-the-launch-permissions-for-an-ami-1529025296264",
1973
+ "title": "To describe the launch permissions for an AMI"
1974
+ }
1975
+ ],
1976
+ "DescribeImages": [
1977
+ {
1978
+ "input": {
1979
+ "ImageIds": [
1980
+ "ami-5731123e"
1981
+ ]
1982
+ },
1983
+ "output": {
1984
+ "Images": [
1985
+ {
1986
+ "Architecture": "x86_64",
1987
+ "BlockDeviceMappings": [
1988
+ {
1989
+ "DeviceName": "/dev/sda1",
1990
+ "Ebs": {
1991
+ "DeleteOnTermination": true,
1992
+ "SnapshotId": "snap-1234567890abcdef0",
1993
+ "VolumeSize": 8,
1994
+ "VolumeType": "standard"
1995
+ }
1996
+ }
1997
+ ],
1998
+ "Description": "An AMI for my server",
1999
+ "Hypervisor": "xen",
2000
+ "ImageId": "ami-5731123e",
2001
+ "ImageLocation": "123456789012/My server",
2002
+ "ImageType": "machine",
2003
+ "KernelId": "aki-88aa75e1",
2004
+ "Name": "My server",
2005
+ "OwnerId": "123456789012",
2006
+ "Public": false,
2007
+ "RootDeviceName": "/dev/sda1",
2008
+ "RootDeviceType": "ebs",
2009
+ "State": "available",
2010
+ "VirtualizationType": "paravirtual"
2011
+ }
2012
+ ]
2013
+ },
2014
+ "comments": {
2015
+ "input": {
2016
+ },
2017
+ "output": {
2018
+ }
2019
+ },
2020
+ "description": "This example describes the specified AMI.",
2021
+ "id": "to-describe-an-ami-1529025482866",
2022
+ "title": "To describe an AMI"
2023
+ }
2024
+ ],
2025
+ "DescribeInstanceAttribute": [
2026
+ {
2027
+ "input": {
2028
+ "Attribute": "instanceType",
2029
+ "InstanceId": "i-1234567890abcdef0"
2030
+ },
2031
+ "output": {
2032
+ "InstanceId": "i-1234567890abcdef0",
1501
2033
  "InstanceType": {
1502
2034
  "Value": "t1.micro"
1503
2035
  }
@@ -1572,6 +2104,120 @@
1572
2104
  "title": "To describe the block device mapping for an instance"
1573
2105
  }
1574
2106
  ],
2107
+ "DescribeInstanceStatus": [
2108
+ {
2109
+ "input": {
2110
+ "InstanceIds": [
2111
+ "i-1234567890abcdef0"
2112
+ ]
2113
+ },
2114
+ "output": {
2115
+ "InstanceStatuses": [
2116
+ {
2117
+ "AvailabilityZone": "us-east-1d",
2118
+ "InstanceId": "i-1234567890abcdef0",
2119
+ "InstanceState": {
2120
+ "Code": 16,
2121
+ "Name": "running"
2122
+ },
2123
+ "InstanceStatus": {
2124
+ "Details": [
2125
+ {
2126
+ "Name": "reachability",
2127
+ "Status": "passed"
2128
+ }
2129
+ ],
2130
+ "Status": "ok"
2131
+ },
2132
+ "SystemStatus": {
2133
+ "Details": [
2134
+ {
2135
+ "Name": "reachability",
2136
+ "Status": "passed"
2137
+ }
2138
+ ],
2139
+ "Status": "ok"
2140
+ }
2141
+ }
2142
+ ]
2143
+ },
2144
+ "comments": {
2145
+ "input": {
2146
+ },
2147
+ "output": {
2148
+ }
2149
+ },
2150
+ "description": "This example describes the current status of the specified instance.",
2151
+ "id": "to-describe-the-status-of-an-instance-1529025696830",
2152
+ "title": "To describe the status of an instance"
2153
+ }
2154
+ ],
2155
+ "DescribeInstances": [
2156
+ {
2157
+ "input": {
2158
+ "InstanceIds": [
2159
+ "i-1234567890abcdef0"
2160
+ ]
2161
+ },
2162
+ "output": {
2163
+ },
2164
+ "comments": {
2165
+ "input": {
2166
+ },
2167
+ "output": {
2168
+ }
2169
+ },
2170
+ "description": "This example describes the specified instance.",
2171
+ "id": "to-describe-an-amazon-ec2-instance-1529025982172",
2172
+ "title": "To describe an Amazon EC2 instance"
2173
+ },
2174
+ {
2175
+ "input": {
2176
+ "Filters": [
2177
+ {
2178
+ "Name": "instance-type",
2179
+ "Values": [
2180
+ "t2.micro"
2181
+ ]
2182
+ }
2183
+ ]
2184
+ },
2185
+ "output": {
2186
+ },
2187
+ "comments": {
2188
+ "input": {
2189
+ },
2190
+ "output": {
2191
+ }
2192
+ },
2193
+ "description": "This example describes the instances with the t2.micro instance type.",
2194
+ "id": "to-describe-the-instances-with-the-instance-type-t2micro-1529026147602",
2195
+ "title": "To describe the instances with a specific instance type"
2196
+ },
2197
+ {
2198
+ "input": {
2199
+ "Filters": [
2200
+ {
2201
+ "Name": "tag:Purpose",
2202
+ "Values": [
2203
+ "test"
2204
+ ]
2205
+ }
2206
+ ]
2207
+ },
2208
+ "output": {
2209
+ },
2210
+ "comments": {
2211
+ "input": {
2212
+ },
2213
+ "output": {
2214
+ }
2215
+ },
2216
+ "description": "This example describes the instances with the Purpose=test tag.",
2217
+ "id": "to-describe-the-instances-with-a-specific-tag-1529026251928",
2218
+ "title": "To describe the instances with a specific tag"
2219
+ }
2220
+ ],
1575
2221
  "DescribeInternetGateways": [
1576
2222
  {
1577
2223
  "input": {
@@ -1637,6 +2283,103 @@
1637
2283
  "title": "To display a key pair"
1638
2284
  }
1639
2285
  ],
2286
+ "DescribeLaunchTemplateVersions": [
2287
+ {
2288
+ "input": {
2289
+ "LaunchTemplateId": "068f72b72934aff71"
2290
+ },
2291
+ "output": {
2292
+ "LaunchTemplateVersions": [
2293
+ {
2294
+ "CreateTime": "2017-11-20T13:12:32.000Z",
2295
+ "CreatedBy": "arn:aws:iam::123456789102:root",
2296
+ "DefaultVersion": false,
2297
+ "LaunchTemplateData": {
2298
+ "ImageId": "ami-6057e21a",
2299
+ "InstanceType": "t2.medium",
2300
+ "KeyName": "kp-us-east",
2301
+ "NetworkInterfaces": [
2302
+ {
2303
+ "DeviceIndex": 0,
2304
+ "Groups": [
2305
+ "sg-7c227019"
2306
+ ],
2307
+ "SubnetId": "subnet-1a2b3c4d"
2308
+ }
2309
+ ]
2310
+ },
2311
+ "LaunchTemplateId": "lt-068f72b72934aff71",
2312
+ "LaunchTemplateName": "Webservers",
2313
+ "VersionNumber": 2
2314
+ },
2315
+ {
2316
+ "CreateTime": "2017-11-20T12:52:33.000Z",
2317
+ "CreatedBy": "arn:aws:iam::123456789102:root",
2318
+ "DefaultVersion": true,
2319
+ "LaunchTemplateData": {
2320
+ "ImageId": "ami-aabbcc11",
2321
+ "InstanceType": "t2.medium",
2322
+ "KeyName": "kp-us-east",
2323
+ "NetworkInterfaces": [
2324
+ {
2325
+ "AssociatePublicIpAddress": true,
2326
+ "DeleteOnTermination": false,
2327
+ "DeviceIndex": 0,
2328
+ "Groups": [
2329
+ "sg-7c227019"
2330
+ ],
2331
+ "SubnetId": "subnet-7b16de0c"
2332
+ }
2333
+ ],
2334
+ "UserData": ""
2335
+ },
2336
+ "LaunchTemplateId": "lt-068f72b72934aff71",
2337
+ "LaunchTemplateName": "Webservers",
2338
+ "VersionNumber": 1
2339
+ }
2340
+ ]
2341
+ },
2342
+ "comments": {
2343
+ "input": {
2344
+ },
2345
+ "output": {
2346
+ }
2347
+ },
2348
+ "description": "This example describes the versions for the specified launch template.",
2349
+ "id": "to-describe-the-versions-for-a-launch-template-1529344425048",
2350
+ "title": "To describe the versions for a launch template"
2351
+ }
2352
+ ],
2353
+ "DescribeLaunchTemplates": [
2354
+ {
2355
+ "input": {
2356
+ "LaunchTemplateIds": [
2357
+ "lt-01238c059e3466abc"
2358
+ ]
2359
+ },
2360
+ "output": {
2361
+ "LaunchTemplates": [
2362
+ {
2363
+ "CreateTime": "2018-01-16T04:32:57.000Z",
2364
+ "CreatedBy": "arn:aws:iam::123456789012:root",
2365
+ "DefaultVersionNumber": 1,
2366
+ "LatestVersionNumber": 1,
2367
+ "LaunchTemplateId": "lt-01238c059e3466abc",
2368
+ "LaunchTemplateName": "my-template"
2369
+ }
2370
+ ]
2371
+ },
2372
+ "comments": {
2373
+ "input": {
2374
+ },
2375
+ "output": {
2376
+ }
2377
+ },
2378
+ "description": "This example describes the specified launch template.",
2379
+ "id": "to-describe-a-launch-template-1529344182862",
2380
+ "title": "To describe a launch template"
2381
+ }
2382
+ ],
1640
2383
  "DescribeMovingAddresses": [
1641
2384
  {
1642
2385
  "output": {
@@ -2126,6 +2869,76 @@
2126
2869
  "title": "To describe your Scheduled Instances"
2127
2870
  }
2128
2871
  ],
2872
+ "DescribeSecurityGroupReferences": [
2873
+ {
2874
+ "input": {
2875
+ "GroupId": [
2876
+ "sg-903004f8"
2877
+ ]
2878
+ },
2879
+ "output": {
2880
+ "SecurityGroupReferenceSet": [
2881
+ {
2882
+ "GroupId": "sg-903004f8",
2883
+ "ReferencingVpcId": "vpc-1a2b3c4d",
2884
+ "VpcPeeringConnectionId": "pcx-b04deed9"
2885
+ }
2886
+ ]
2887
+ },
2888
+ "comments": {
2889
+ "input": {
2890
+ },
2891
+ "output": {
2892
+ }
2893
+ },
2894
+ "description": "This example describes the security group references for the specified security group.",
2895
+ "id": "to-describe-security-group-references-1529354312088",
2896
+ "title": "To describe security group references"
2897
+ }
2898
+ ],
2899
+ "DescribeSecurityGroups": [
2900
+ {
2901
+ "input": {
2902
+ "GroupIds": [
2903
+ "sg-903004f8"
2904
+ ]
2905
+ },
2906
+ "output": {
2907
+ },
2908
+ "comments": {
2909
+ "input": {
2910
+ },
2911
+ "output": {
2912
+ }
2913
+ },
2914
+ "description": "This example describes the specified security group.",
2915
+ "id": "to-describe-a-security-group-1529354426314",
2916
+ "title": "To describe a security group"
2917
+ },
2918
+ {
2919
+ "input": {
2920
+ "Filters": [
2921
+ {
2922
+ "Name": "tag:Purpose",
2923
+ "Values": [
2924
+ "test"
2925
+ ]
2926
+ }
2927
+ ]
2928
+ },
2929
+ "output": {
2930
+ },
2931
+ "comments": {
2932
+ "input": {
2933
+ },
2934
+ "output": {
2935
+ }
2936
+ },
2937
+ "description": "This example describes the security groups that include the specified tag (Purpose=test).",
2938
+ "id": "to-describe-a-tagged-security-group-1529354553880",
2939
+ "title": "To describe a tagged security group"
2940
+ }
2941
+ ],
2129
2942
  "DescribeSnapshotAttribute": [
2130
2943
  {
2131
2944
  "input": {
@@ -2925,14 +3738,41 @@
2925
3738
  "title": "To disassociate an Elastic IP addresses in EC2-Classic"
2926
3739
  }
2927
3740
  ],
2928
- "DisassociateRouteTable": [
3741
+ "DisassociateIamInstanceProfile": [
2929
3742
  {
2930
3743
  "input": {
2931
- "AssociationId": "rtbassoc-781d0d1a"
3744
+ "AssociationId": "iip-assoc-05020b59952902f5f"
2932
3745
  },
2933
- "comments": {
2934
- "input": {
2935
- },
3746
+ "output": {
3747
+ "IamInstanceProfileAssociation": {
3748
+ "AssociationId": "iip-assoc-05020b59952902f5f",
3749
+ "IamInstanceProfile": {
3750
+ "Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
3751
+ "Id": "AIPAI5IVIHMFFYY2DKV5Y"
3752
+ },
3753
+ "InstanceId": "i-123456789abcde123",
3754
+ "State": "disassociating"
3755
+ }
3756
+ },
3757
+ "comments": {
3758
+ "input": {
3759
+ },
3760
+ "output": {
3761
+ }
3762
+ },
3763
+ "description": "This example disassociates the specified IAM instance profile from an instance.",
3764
+ "id": "to-disassociate-an-iam-instance-profile-1529355364478",
3765
+ "title": "To disassociate an IAM instance profile"
3766
+ }
3767
+ ],
3768
+ "DisassociateRouteTable": [
3769
+ {
3770
+ "input": {
3771
+ "AssociationId": "rtbassoc-781d0d1a"
3772
+ },
3773
+ "comments": {
3774
+ "input": {
3775
+ },
2936
3776
  "output": {
2937
3777
  }
2938
3778
  },
@@ -2974,6 +3814,210 @@
2974
3814
  "title": "To enable I/O for a volume"
2975
3815
  }
2976
3816
  ],
3817
+ "GetConsoleOutput": [
3818
+ {
3819
+ "input": {
3820
+ "InstanceId": "i-1234567890abcdef0"
3821
+ },
3822
+ "output": {
3823
+ "InstanceId": "i-1234567890abcdef0",
3824
+ "Output": "...",
3825
+ "Timestamp": "2018-05-25T21:23:53.000Z"
3826
+ },
3827
+ "comments": {
3828
+ "input": {
3829
+ },
3830
+ "output": {
3831
+ }
3832
+ },
3833
+ "description": "This example gets the console output for the specified instance.",
3834
+ "id": "to-get-the-console-output-1529355683194",
3835
+ "title": "To get the console output"
3836
+ }
3837
+ ],
3838
+ "GetLaunchTemplateData": [
3839
+ {
3840
+ "input": {
3841
+ "InstanceId": "0123d646e8048babc"
3842
+ },
3843
+ "output": {
3844
+ "LaunchTemplateData": {
3845
+ "BlockDeviceMappings": [
3846
+ {
3847
+ "DeviceName": "/dev/xvda",
3848
+ "Ebs": {
3849
+ "DeleteOnTermination": true,
3850
+ "Encrypted": false,
3851
+ "Iops": 100,
3852
+ "SnapshotId": "snap-02594938353ef77d3",
3853
+ "VolumeSize": 8,
3854
+ "VolumeType": "gp2"
3855
+ }
3856
+ }
3857
+ ],
3858
+ "EbsOptimized": false,
3859
+ "ImageId": "ami-32cf7b4a",
3860
+ "InstanceType": "t2.medium",
3861
+ "KeyName": "my-key-pair",
3862
+ "Monitoring": {
3863
+ "Enabled": false
3864
+ },
3865
+ "NetworkInterfaces": [
3866
+ {
3867
+ "AssociatePublicIpAddress": false,
3868
+ "DeleteOnTermination": true,
3869
+ "Description": "",
3870
+ "DeviceIndex": 0,
3871
+ "Groups": [
3872
+ "sg-d14e1bb4"
3873
+ ],
3874
+ "Ipv6Addresses": [
3875
+
3876
+ ],
3877
+ "NetworkInterfaceId": "eni-4338b5a9",
3878
+ "PrivateIpAddress": "10.0.3.233",
3879
+ "PrivateIpAddresses": [
3880
+ {
3881
+ "Primary": true,
3882
+ "PrivateIpAddress": "10.0.3.233"
3883
+ }
3884
+ ],
3885
+ "SubnetId": "subnet-5264e837"
3886
+ }
3887
+ ],
3888
+ "Placement": {
3889
+ "AvailabilityZone": "us-east-2b",
3890
+ "GroupName": "",
3891
+ "Tenancy": "default"
3892
+ }
3893
+ }
3894
+ },
3895
+ "comments": {
3896
+ "input": {
3897
+ },
3898
+ "output": {
3899
+ }
3900
+ },
3901
+ "description": "This example gets the launch template data for the specified instance.",
3902
+ "id": "to-get-the-launch-template-data-for-an-instance--1529356515702",
3903
+ "title": "To get the launch template data for an instance "
3904
+ }
3905
+ ],
3906
+ "ModifyImageAttribute": [
3907
+ {
3908
+ "input": {
3909
+ "ImageId": "ami-5731123e",
3910
+ "LaunchPermission": {
3911
+ "Add": [
3912
+ {
3913
+ "Group": "all"
3914
+ }
3915
+ ]
3916
+ }
3917
+ },
3918
+ "output": {
3919
+ },
3920
+ "comments": {
3921
+ "input": {
3922
+ },
3923
+ "output": {
3924
+ }
3925
+ },
3926
+ "description": "This example makes the specified AMI public.",
3927
+ "id": "to-make-an-ami-public-1529357395278",
3928
+ "title": "To make an AMI public"
3929
+ },
3930
+ {
3931
+ "input": {
3932
+ "ImageId": "ami-5731123e",
3933
+ "LaunchPermission": {
3934
+ "Add": [
3935
+ {
3936
+ "UserId": "123456789012"
3937
+ }
3938
+ ]
3939
+ }
3940
+ },
3941
+ "output": {
3942
+ },
3943
+ "comments": {
3944
+ "input": {
3945
+ },
3946
+ "output": {
3947
+ }
3948
+ },
3949
+ "description": "This example grants launch permissions for the specified AMI to the specified AWS account.",
3950
+ "id": "to-grant-launch-permissions-1529357727906",
3951
+ "title": "To grant launch permissions"
3952
+ }
3953
+ ],
3954
+ "ModifyInstanceAttribute": [
3955
+ {
3956
+ "input": {
3957
+ "InstanceId": "i-1234567890abcdef0",
3958
+ "InstanceType": {
3959
+ "Value": "m5.large"
3960
+ }
3961
+ },
3962
+ "output": {
3963
+ },
3964
+ "comments": {
3965
+ "input": {
3966
+ },
3967
+ "output": {
3968
+ }
3969
+ },
3970
+ "description": "This example modifies the instance type of the specified stopped instance.",
3971
+ "id": "to-modify-the-instance-type-1529357844378",
3972
+ "title": "To modify the instance type"
3973
+ },
3974
+ {
3975
+ "input": {
3976
+ "EnaSupport": {
3977
+ "Value": true
3978
+ },
3979
+ "InstanceId": "i-1234567890abcdef0"
3980
+ },
3981
+ "output": {
3982
+ },
3983
+ "comments": {
3984
+ "input": {
3985
+ },
3986
+ "output": {
3987
+ }
3988
+ },
3989
+ "description": "This example enables enhanced networking for the specified stopped instance.",
3990
+ "id": "to-enable-enhanced-networking-1529358279870",
3991
+ "title": "To enable enhanced networking"
3992
+ }
3993
+ ],
3994
+ "ModifyLaunchTemplate": [
3995
+ {
3996
+ "input": {
3997
+ "DefaultVersion": "2",
3998
+ "LaunchTemplateId": "lt-0abcd290751193123"
3999
+ },
4000
+ "output": {
4001
+ "LaunchTemplate": {
4002
+ "CreateTime": "2017-12-01T13:35:46.000Z",
4003
+ "CreatedBy": "arn:aws:iam::123456789012:root",
4004
+ "DefaultVersionNumber": 2,
4005
+ "LatestVersionNumber": 2,
4006
+ "LaunchTemplateId": "lt-0abcd290751193123",
4007
+ "LaunchTemplateName": "WebServers"
4008
+ }
4009
+ },
4010
+ "comments": {
4011
+ "input": {
4012
+ },
4013
+ "output": {
4014
+ }
4015
+ },
4016
+ "description": "This example specifies version 2 as the default version of the specified launch template.",
4017
+ "id": "to-change-the-default-version-of-a-launch-template-1529358440364",
4018
+ "title": "To change the default version of a launch template"
4019
+ }
4020
+ ],
2977
4021
  "ModifyNetworkInterfaceAttribute": [
2978
4022
  {
2979
4023
  "input": {
@@ -3274,6 +4318,26 @@
3274
4318
  "title": "To purchase a Scheduled Instance"
3275
4319
  }
3276
4320
  ],
4321
+ "RebootInstances": [
4322
+ {
4323
+ "input": {
4324
+ "InstanceIds": [
4325
+ "i-1234567890abcdef5"
4326
+ ]
4327
+ },
4328
+ "output": {
4329
+ },
4330
+ "comments": {
4331
+ "input": {
4332
+ },
4333
+ "output": {
4334
+ }
4335
+ },
4336
+ "description": "This example reboots the specified EC2 instance.",
4337
+ "id": "to-reboot-an-ec2-instance-1529358566382",
4338
+ "title": "To reboot an EC2 instance"
4339
+ }
4340
+ ],
3277
4341
  "ReleaseAddress": [
3278
4342
  {
3279
4343
  "input": {
@@ -3604,6 +4668,44 @@
3604
4668
  "title": "To create a one-time Spot Instance request"
3605
4669
  }
3606
4670
  ],
4671
+ "ResetImageAttribute": [
4672
+ {
4673
+ "input": {
4674
+ "Attribute": "launchPermission",
4675
+ "ImageId": "ami-5731123e"
4676
+ },
4677
+ "output": {
4678
+ },
4679
+ "comments": {
4680
+ "input": {
4681
+ },
4682
+ "output": {
4683
+ }
4684
+ },
4685
+ "description": "This example resets the launchPermission attribute for the specified AMI. By default, AMIs are private.",
4686
+ "id": "to-reset-the-launchpermission-attribute-1529359519534",
4687
+ "title": "To reset the launchPermission attribute"
4688
+ }
4689
+ ],
4690
+ "ResetInstanceAttribute": [
4691
+ {
4692
+ "input": {
4693
+ "Attribute": "sourceDestCheck",
4694
+ "InstanceId": "i-1234567890abcdef0"
4695
+ },
4696
+ "output": {
4697
+ },
4698
+ "comments": {
4699
+ "input": {
4700
+ },
4701
+ "output": {
4702
+ }
4703
+ },
4704
+ "description": "This example resets the sourceDestCheck attribute for the specified instance.",
4705
+ "id": "to-reset-the-sourcedestcheck-attribute-1529359630708",
4706
+ "title": "To reset the sourceDestCheck attribute"
4707
+ }
4708
+ ],
3607
4709
  "ResetSnapshotAttribute": [
3608
4710
  {
3609
4711
  "input": {
@@ -3643,6 +4745,51 @@
3643
4745
  "title": "To restore an address to EC2-Classic"
3644
4746
  }
3645
4747
  ],
4748
+ "RunInstances": [
4749
+ {
4750
+ "input": {
4751
+ "BlockDeviceMappings": [
4752
+ {
4753
+ "DeviceName": "/dev/sdh",
4754
+ "Ebs": {
4755
+ "VolumeSize": 100
4756
+ }
4757
+ }
4758
+ ],
4759
+ "ImageId": "ami-abc12345",
4760
+ "InstanceType": "t2.micro",
4761
+ "KeyName": "my-key-pair",
4762
+ "MaxCount": 1,
4763
+ "MinCount": 1,
4764
+ "SecurityGroupIds": [
4765
+ "sg-1a2b3c4d"
4766
+ ],
4767
+ "SubnetId": "subnet-6e7f829e",
4768
+ "TagSpecifications": [
4769
+ {
4770
+ "ResourceType": "instance",
4771
+ "Tags": [
4772
+ {
4773
+ "Key": "Purpose",
4774
+ "Value": "test"
4775
+ }
4776
+ ]
4777
+ }
4778
+ ]
4779
+ },
4780
+ "output": {
4781
+ },
4782
+ "comments": {
4783
+ "input": {
4784
+ },
4785
+ "output": {
4786
+ }
4787
+ },
4788
+ "description": "This example launches an instance using the specified AMI, instance type, security group, subnet, block device mapping, and tags.",
4789
+ "id": "to-launch-an-instance-1529360150806",
4790
+ "title": "To launch an instance"
4791
+ }
4792
+ ],
3646
4793
  "RunScheduledInstances": [
3647
4794
  {
3648
4795
  "input": {
@@ -3717,6 +4864,105 @@
3717
4864
  "title": "To launch a Scheduled Instance in EC2-Classic"
3718
4865
  }
3719
4866
  ],
4867
+ "StartInstances": [
4868
+ {
4869
+ "input": {
4870
+ "InstanceIds": [
4871
+ "i-1234567890abcdef0"
4872
+ ]
4873
+ },
4874
+ "output": {
4875
+ "StartingInstances": [
4876
+ {
4877
+ "CurrentState": {
4878
+ "Code": 0,
4879
+ "Name": "pending"
4880
+ },
4881
+ "InstanceId": "i-1234567890abcdef0",
4882
+ "PreviousState": {
4883
+ "Code": 80,
4884
+ "Name": "stopped"
4885
+ }
4886
+ }
4887
+ ]
4888
+ },
4889
+ "comments": {
4890
+ "input": {
4891
+ },
4892
+ "output": {
4893
+ }
4894
+ },
4895
+ "description": "This example starts the specified EC2 instance.",
4896
+ "id": "to-start-a-stopped-ec2-instance-1529358792730",
4897
+ "title": "To start a stopped EC2 instance"
4898
+ }
4899
+ ],
4900
+ "StopInstances": [
4901
+ {
4902
+ "input": {
4903
+ "InstanceIds": [
4904
+ "i-1234567890abcdef0"
4905
+ ]
4906
+ },
4907
+ "output": {
4908
+ "StoppingInstances": [
4909
+ {
4910
+ "CurrentState": {
4911
+ "Code": 64,
4912
+ "Name": "stopping"
4913
+ },
4914
+ "InstanceId": "i-1234567890abcdef0",
4915
+ "PreviousState": {
4916
+ "Code": 16,
4917
+ "Name": "running"
4918
+ }
4919
+ }
4920
+ ]
4921
+ },
4922
+ "comments": {
4923
+ "input": {
4924
+ },
4925
+ "output": {
4926
+ }
4927
+ },
4928
+ "description": "This example stops the specified EC2 instance.",
4929
+ "id": "to-stop-a-running-ec2-instance-1529358905540",
4930
+ "title": "To stop a running EC2 instance"
4931
+ }
4932
+ ],
4933
+ "TerminateInstances": [
4934
+ {
4935
+ "input": {
4936
+ "InstanceIds": [
4937
+ "i-1234567890abcdef0"
4938
+ ]
4939
+ },
4940
+ "output": {
4941
+ "TerminatingInstances": [
4942
+ {
4943
+ "CurrentState": {
4944
+ "Code": 32,
4945
+ "Name": "shutting-down"
4946
+ },
4947
+ "InstanceId": "i-1234567890abcdef0",
4948
+ "PreviousState": {
4949
+ "Code": 16,
4950
+ "Name": "running"
4951
+ }
4952
+ }
4953
+ ]
4954
+ },
4955
+ "comments": {
4956
+ "input": {
4957
+ },
4958
+ "output": {
4959
+ }
4960
+ },
4961
+ "description": "This example terminates the specified EC2 instance.",
4962
+ "id": "to-terminate-an-ec2-instance-1529359350660",
4963
+ "title": "To terminate an EC2 instance"
4964
+ }
4965
+ ],
3720
4966
  "UnassignPrivateIpAddresses": [
3721
4967
  {
3722
4968
  "input": {
@@ -3735,6 +4981,68 @@
3735
4981
  "id": "ec2-unassign-private-ip-addresses-1",
3736
4982
  "title": "To unassign a secondary private IP address from a network interface"
3737
4983
  }
4984
+ ],
4985
+ "UpdateSecurityGroupRuleDescriptionsEgress": [
4986
+ {
4987
+ "input": {
4988
+ "GroupId": "sg-123abc12",
4989
+ "IpPermissions": [
4990
+ {
4991
+ "FromPort": 80,
4992
+ "IpProtocol": "tcp",
4993
+ "IpRanges": [
4994
+ {
4995
+ "CidrIp": "203.0.113.0/24",
4996
+ "Description": "Outbound HTTP access to server 2"
4997
+ }
4998
+ ],
4999
+ "ToPort": 80
5000
+ }
5001
+ ]
5002
+ },
5003
+ "output": {
5004
+ },
5005
+ "comments": {
5006
+ "input": {
5007
+ },
5008
+ "output": {
5009
+ }
5010
+ },
5011
+ "description": "This example updates the description for the specified security group rule.",
5012
+ "id": "to-update-an-outbound-security-group-rule-description-1529360481544",
5013
+ "title": "To update an outbound security group rule description"
5014
+ }
5015
+ ],
5016
+ "UpdateSecurityGroupRuleDescriptionsIngress": [
5017
+ {
5018
+ "input": {
5019
+ "GroupId": "sg-123abc12",
5020
+ "IpPermissions": [
5021
+ {
5022
+ "FromPort": 22,
5023
+ "IpProtocol": "tcp",
5024
+ "IpRanges": [
5025
+ {
5026
+ "CidrIp": "203.0.113.0/16",
5027
+ "Description": "SSH access from the LA office"
5028
+ }
5029
+ ],
5030
+ "ToPort": 22
5031
+ }
5032
+ ]
5033
+ },
5034
+ "output": {
5035
+ },
5036
+ "comments": {
5037
+ "input": {
5038
+ },
5039
+ "output": {
5040
+ }
5041
+ },
5042
+ "description": "This example updates the description for the specified security group rule.",
5043
+ "id": "to-update-an-inbound-security-group-rule-description-1529360820372",
5044
+ "title": "To update an inbound security group rule description"
5045
+ }
3738
5046
  ]
3739
5047
  }
3740
5048
  }