@@ -76,6 +76,17 @@ ec2_Hello:
76
76
excerpts :
77
77
- snippet_tags :
78
78
- ec2.rust.ec2-helloworld
79
+ Swift :
80
+ versions :
81
+ - sdk_version : 1
82
+ github : swift/example_code/ec2
83
+ excerpts :
84
+ - description : The <filename>Package.swift</filename> file.
85
+ snippet_tags :
86
+ - swift.ec2.hello.package
87
+ - description : The <filename>entry.swift</filename> file.
88
+ snippet_tags :
89
+ - swift.ec2.hello
79
90
services :
80
91
ec2 : {DescribeSecurityGroups}
81
92
ec2_GetPasswordData :
@@ -188,6 +199,15 @@ ec2_CreateKeyPair:
188
199
- description : A function that calls the create_key impl and securely saves the PEM private key.
189
200
snippet_tags :
190
201
- ec2.rust.create_key.wrapper
202
+ Swift :
203
+ versions :
204
+ - sdk_version : 1
205
+ github : swift/example_code/ec2
206
+ excerpts :
207
+ - description :
208
+ snippet_tags :
209
+ - swift.ec2.import
210
+ - swift.ec2.CreateKeyPair
191
211
services :
192
212
ec2 : {CreateKeyPair}
193
213
ec2_DescribeKeyPairs :
@@ -274,6 +294,15 @@ ec2_DescribeKeyPairs:
274
294
excerpts :
275
295
- snippet_tags :
276
296
- ec2.rust.list_keys.impl
297
+ Swift :
298
+ versions :
299
+ - sdk_version : 1
300
+ github : swift/example_code/ec2
301
+ excerpts :
302
+ - description :
303
+ snippet_tags :
304
+ - swift.ec2.import
305
+ - swift.ec2.DescribeKeyPairs
277
306
services :
278
307
ec2 : {DescribeKeyPairs}
279
308
@@ -370,6 +399,15 @@ ec2_CreateSecurityGroup:
370
399
excerpts :
371
400
- snippet_tags :
372
401
- ec2.rust.create_security_group.impl
402
+ Swift :
403
+ versions :
404
+ - sdk_version : 1
405
+ github : swift/example_code/ec2
406
+ excerpts :
407
+ - description :
408
+ snippet_tags :
409
+ - swift.ec2.import
410
+ - swift.ec2.CreateSecurityGroup
373
411
services :
374
412
ec2 : {CreateSecurityGroup}
375
413
ec2_RunInstances :
@@ -457,6 +495,15 @@ ec2_RunInstances:
457
495
excerpts :
458
496
- snippet_tags :
459
497
- ec2.rust.create_instance.impl
498
+ Swift :
499
+ versions :
500
+ - sdk_version : 1
501
+ github : swift/example_code/ec2
502
+ excerpts :
503
+ - description :
504
+ snippet_tags :
505
+ - swift.ec2.import
506
+ - swift.ec2.RunInstances
460
507
services :
461
508
ec2 : {RunInstances}
462
509
ec2_StartInstances :
@@ -557,6 +604,15 @@ ec2_StartInstances:
557
604
snippet_tags :
558
605
- aws-cli.bash-linux.ec2.errecho
559
606
- aws-cli.bash-linux.ec2.aws_cli_error_log
607
+ Swift :
608
+ versions :
609
+ - sdk_version : 1
610
+ github : swift/example_code/ec2
611
+ excerpts :
612
+ - description :
613
+ snippet_tags :
614
+ - swift.ec2.import
615
+ - swift.ec2.StartInstances
560
616
services :
561
617
ec2 : {StartInstances}
562
618
ec2_StopInstances :
@@ -656,6 +712,15 @@ ec2_StopInstances:
656
712
snippet_tags :
657
713
- aws-cli.bash-linux.ec2.errecho
658
714
- aws-cli.bash-linux.ec2.aws_cli_error_log
715
+ Swift :
716
+ versions :
717
+ - sdk_version : 1
718
+ github : swift/example_code/ec2
719
+ excerpts :
720
+ - description :
721
+ snippet_tags :
722
+ - swift.ec2.import
723
+ - swift.ec2.StopInstances
659
724
services :
660
725
ec2 : {StopInstances}
661
726
ec2_AllocateAddress :
@@ -752,6 +817,15 @@ ec2_AllocateAddress:
752
817
excerpts :
753
818
- snippet_tags :
754
819
- ec2.rust.allocate_address.impl
820
+ Swift :
821
+ versions :
822
+ - sdk_version : 1
823
+ github : swift/example_code/ec2
824
+ excerpts :
825
+ - description :
826
+ snippet_tags :
827
+ - swift.ec2.import
828
+ - swift.ec2.AllocateAddress
755
829
services :
756
830
ec2 : {AllocateAddress}
757
831
ec2_AssociateAddress :
@@ -848,6 +922,15 @@ ec2_AssociateAddress:
848
922
excerpts :
849
923
- snippet_tags :
850
924
- ec2.rust.associate_address.impl
925
+ Swift :
926
+ versions :
927
+ - sdk_version : 1
928
+ github : swift/example_code/ec2
929
+ excerpts :
930
+ - description :
931
+ snippet_tags :
932
+ - swift.ec2.import
933
+ - swift.ec2.AssociateAddress
851
934
services :
852
935
ec2 : {AssociateAddress}
853
936
ec2_DisassociateAddress :
@@ -918,6 +1001,15 @@ ec2_DisassociateAddress:
918
1001
excerpts :
919
1002
- snippet_tags :
920
1003
- ec2.rust.disassociate_address.impl
1004
+ Swift :
1005
+ versions :
1006
+ - sdk_version : 1
1007
+ github : swift/example_code/ec2
1008
+ excerpts :
1009
+ - description :
1010
+ snippet_tags :
1011
+ - swift.ec2.import
1012
+ - swift.ec2.DisassociateAddress
921
1013
services :
922
1014
ec2 : {DisassociateAddress}
923
1015
ec2_ReleaseAddress :
@@ -1013,6 +1105,15 @@ ec2_ReleaseAddress:
1013
1105
excerpts :
1014
1106
- snippet_tags :
1015
1107
- ec2.rust.deallocate_address.impl
1108
+ Swift :
1109
+ versions :
1110
+ - sdk_version : 1
1111
+ github : swift/example_code/ec2
1112
+ excerpts :
1113
+ - description :
1114
+ snippet_tags :
1115
+ - swift.ec2.import
1116
+ - swift.ec2.ReleaseAddress
1016
1117
services :
1017
1118
ec2 : {ReleaseAddress}
1018
1119
ec2_AuthorizeSecurityGroupIngress :
@@ -1094,6 +1195,15 @@ ec2_AuthorizeSecurityGroupIngress:
1094
1195
excerpts :
1095
1196
- snippet_tags :
1096
1197
- ec2.rust.authorize_security_group_ssh_ingress.impl
1198
+ Swift :
1199
+ versions :
1200
+ - sdk_version : 1
1201
+ github : swift/example_code/ec2
1202
+ excerpts :
1203
+ - description :
1204
+ snippet_tags :
1205
+ - swift.ec2.import
1206
+ - swift.ec2.AuthorizeSecurityGroupIngress
1097
1207
services :
1098
1208
ec2 : {AuthorizeSecurityGroupIngress}
1099
1209
ec2_DeleteKeyPair :
@@ -1183,6 +1293,15 @@ ec2_DeleteKeyPair:
1183
1293
- ec2.rust.delete_key.wrapper
1184
1294
- snippet_tags :
1185
1295
- ec2.rust.delete_key.impl
1296
+ Swift :
1297
+ versions :
1298
+ - sdk_version : 1
1299
+ github : swift/example_code/ec2
1300
+ excerpts :
1301
+ - description :
1302
+ snippet_tags :
1303
+ - swift.ec2.import
1304
+ - swift.ec2.DeleteKeyPair
1186
1305
services :
1187
1306
ec2 : {DeleteKeyPair}
1188
1307
ec2_DescribeSecurityGroups :
@@ -1269,6 +1388,19 @@ ec2_DescribeSecurityGroups:
1269
1388
excerpts :
1270
1389
- snippet_tags :
1271
1390
- ec2.rust.ec2-helloworld
1391
+ Swift :
1392
+ versions :
1393
+ - sdk_version : 1
1394
+ github : swift/example_code/ec2
1395
+ excerpts :
1396
+ - description : Using pagination with <code>describeSecurityGroupsPaginated()</code>.
1397
+ snippet_tags :
1398
+ - swift.ec2.import
1399
+ - swift.ec2.DescribeSecurityGroupsPaginated
1400
+ - description : Without pagination.
1401
+ snippet_tags :
1402
+ - swift.ec2.import
1403
+ - swift.ec2.DescribeSecurityGroups
1272
1404
services :
1273
1405
ec2 : {DescribeSecurityGroups}
1274
1406
ec2_DeleteSecurityGroup :
@@ -1355,6 +1487,15 @@ ec2_DeleteSecurityGroup:
1355
1487
excerpts :
1356
1488
- snippet_tags :
1357
1489
- ec2.rust.delete_security_group.impl
1490
+ Swift :
1491
+ versions :
1492
+ - sdk_version : 1
1493
+ github : swift/example_code/ec2
1494
+ excerpts :
1495
+ - description :
1496
+ snippet_tags :
1497
+ - swift.ec2.import
1498
+ - swift.ec2.DeleteSecurityGroup
1358
1499
services :
1359
1500
ec2 : {DeleteSecurityGroup}
1360
1501
ec2_DeleteSnapshot :
@@ -1473,6 +1614,15 @@ ec2_TerminateInstances:
1473
1614
- description : Wait for an instance to be in the terminted state, using the Waiters API. Using the Waiters API requires `use aws_sdk_ec2::client::Waiters` in the rust file.
1474
1615
snippet_tags :
1475
1616
- ec2.rust.wait_for_instance_terminated.impl
1617
+ Swift :
1618
+ versions :
1619
+ - sdk_version : 1
1620
+ github : swift/example_code/ec2
1621
+ excerpts :
1622
+ - description :
1623
+ snippet_tags :
1624
+ - swift.ec2.import
1625
+ - swift.ec2.TerminateInstances
1476
1626
services :
1477
1627
ec2 : {TerminateInstances}
1478
1628
ec2_DescribeInstances :
@@ -1807,6 +1957,15 @@ ec2_DescribeImages:
1807
1957
snippet_tags :
1808
1958
- aws-cli.bash-linux.ec2.errecho
1809
1959
- aws-cli.bash-linux.ec2.aws_cli_error_log
1960
+ Swift :
1961
+ versions :
1962
+ - sdk_version : 1
1963
+ github : swift/example_code/ec2
1964
+ excerpts :
1965
+ - description :
1966
+ snippet_tags :
1967
+ - swift.ec2.import
1968
+ - swift.ec2.DescribeImages
1810
1969
services :
1811
1970
ec2 : {DescribeImages}
1812
1971
ec2_DescribeInstanceTypes :
@@ -1877,6 +2036,15 @@ ec2_DescribeInstanceTypes:
1877
2036
excerpts :
1878
2037
- snippet_tags :
1879
2038
- ec2.rust.list_instance_types.impl
2039
+ Swift :
2040
+ versions :
2041
+ - sdk_version : 1
2042
+ github : swift/example_code/ec2
2043
+ excerpts :
2044
+ - description :
2045
+ snippet_tags :
2046
+ - swift.ec2.import
2047
+ - swift.ec2.DescribeInstanceTypes
1880
2048
services :
1881
2049
ec2 : {DescribeInstanceTypes}
1882
2050
ec2_DescribeAddresses :
@@ -2419,6 +2587,17 @@ ec2_Scenario_GetStartedInstances:
2419
2587
- description : The main entry point for the scenario.
2420
2588
snippet_files :
2421
2589
- rustv1/examples/ec2/src/bin/getting-started.rs
2590
+ Swift :
2591
+ versions :
2592
+ - sdk_version : 1
2593
+ github : swift/example_code/ec2
2594
+ excerpts :
2595
+ - description : The <filename>Package.swift</filename> file.
2596
+ snippet_tags :
2597
+ - swift.ec2.scenario.package
2598
+ - description : The <filename>entry.swift</filename> file.
2599
+ snippet_tags :
2600
+ - swift.ec2.scenario
2422
2601
services :
2423
2602
ec2 :
2424
2603
{
0 commit comments