@@ -76,6 +76,17 @@ ec2_Hello:
7676 excerpts :
7777 - snippet_tags :
7878 - 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
7990 services :
8091 ec2 : {DescribeSecurityGroups}
8192ec2_GetPasswordData :
@@ -188,6 +199,15 @@ ec2_CreateKeyPair:
188199 - description : A function that calls the create_key impl and securely saves the PEM private key.
189200 snippet_tags :
190201 - 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
191211 services :
192212 ec2 : {CreateKeyPair}
193213ec2_DescribeKeyPairs :
@@ -274,6 +294,15 @@ ec2_DescribeKeyPairs:
274294 excerpts :
275295 - snippet_tags :
276296 - 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
277306 services :
278307 ec2 : {DescribeKeyPairs}
279308
@@ -370,6 +399,15 @@ ec2_CreateSecurityGroup:
370399 excerpts :
371400 - snippet_tags :
372401 - 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
373411 services :
374412 ec2 : {CreateSecurityGroup}
375413ec2_RunInstances :
@@ -457,6 +495,15 @@ ec2_RunInstances:
457495 excerpts :
458496 - snippet_tags :
459497 - 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
460507 services :
461508 ec2 : {RunInstances}
462509ec2_StartInstances :
@@ -557,6 +604,15 @@ ec2_StartInstances:
557604 snippet_tags :
558605 - aws-cli.bash-linux.ec2.errecho
559606 - 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
560616 services :
561617 ec2 : {StartInstances}
562618ec2_StopInstances :
@@ -656,6 +712,15 @@ ec2_StopInstances:
656712 snippet_tags :
657713 - aws-cli.bash-linux.ec2.errecho
658714 - 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
659724 services :
660725 ec2 : {StopInstances}
661726ec2_AllocateAddress :
@@ -752,6 +817,15 @@ ec2_AllocateAddress:
752817 excerpts :
753818 - snippet_tags :
754819 - 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
755829 services :
756830 ec2 : {AllocateAddress}
757831ec2_AssociateAddress :
@@ -848,6 +922,15 @@ ec2_AssociateAddress:
848922 excerpts :
849923 - snippet_tags :
850924 - 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
851934 services :
852935 ec2 : {AssociateAddress}
853936ec2_DisassociateAddress :
@@ -918,6 +1001,15 @@ ec2_DisassociateAddress:
9181001 excerpts :
9191002 - snippet_tags :
9201003 - 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
9211013 services :
9221014 ec2 : {DisassociateAddress}
9231015ec2_ReleaseAddress :
@@ -1013,6 +1105,15 @@ ec2_ReleaseAddress:
10131105 excerpts :
10141106 - snippet_tags :
10151107 - 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
10161117 services :
10171118 ec2 : {ReleaseAddress}
10181119ec2_AuthorizeSecurityGroupIngress :
@@ -1094,6 +1195,15 @@ ec2_AuthorizeSecurityGroupIngress:
10941195 excerpts :
10951196 - snippet_tags :
10961197 - 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
10971207 services :
10981208 ec2 : {AuthorizeSecurityGroupIngress}
10991209ec2_DeleteKeyPair :
@@ -1183,6 +1293,15 @@ ec2_DeleteKeyPair:
11831293 - ec2.rust.delete_key.wrapper
11841294 - snippet_tags :
11851295 - 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
11861305 services :
11871306 ec2 : {DeleteKeyPair}
11881307ec2_DescribeSecurityGroups :
@@ -1269,6 +1388,19 @@ ec2_DescribeSecurityGroups:
12691388 excerpts :
12701389 - snippet_tags :
12711390 - 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
12721404 services :
12731405 ec2 : {DescribeSecurityGroups}
12741406ec2_DeleteSecurityGroup :
@@ -1355,6 +1487,15 @@ ec2_DeleteSecurityGroup:
13551487 excerpts :
13561488 - snippet_tags :
13571489 - 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
13581499 services :
13591500 ec2 : {DeleteSecurityGroup}
13601501ec2_DeleteSnapshot :
@@ -1473,6 +1614,15 @@ ec2_TerminateInstances:
14731614 - 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.
14741615 snippet_tags :
14751616 - 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
14761626 services :
14771627 ec2 : {TerminateInstances}
14781628ec2_DescribeInstances :
@@ -1807,6 +1957,15 @@ ec2_DescribeImages:
18071957 snippet_tags :
18081958 - aws-cli.bash-linux.ec2.errecho
18091959 - 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
18101969 services :
18111970 ec2 : {DescribeImages}
18121971ec2_DescribeInstanceTypes :
@@ -1877,6 +2036,15 @@ ec2_DescribeInstanceTypes:
18772036 excerpts :
18782037 - snippet_tags :
18792038 - 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
18802048 services :
18812049 ec2 : {DescribeInstanceTypes}
18822050ec2_DescribeAddresses :
@@ -2419,6 +2587,17 @@ ec2_Scenario_GetStartedInstances:
24192587 - description : The main entry point for the scenario.
24202588 snippet_files :
24212589 - 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
24222601 services :
24232602 ec2 :
24242603 {
0 commit comments