Skip to content

Commit e0c86e0

Browse files
authored
Tech debt for ec2 (#4484)
* Tech debt for ec2
1 parent eaf86ad commit e0c86e0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3002
-1030
lines changed

.doc_gen/metadata/ec2_metadata.yaml

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@ ec2_CreateKeyPair:
111111
- description:
112112
snippet_tags:
113113
- ec2.abapv1.create_key_pair
114+
C++:
115+
versions:
116+
- sdk_version: 1
117+
github: cpp/example_code/ec2
118+
excerpts:
119+
- description:
120+
snippet_tags:
121+
- ec2.cpp.create_key_pair.code
114122
services:
115123
ec2: {CreateKeyPair}
116124
ec2_DescribeKeyPairs:
@@ -173,6 +181,14 @@ ec2_DescribeKeyPairs:
173181
- description:
174182
snippet_tags:
175183
- ec2.abapv1.describe_key_pairs
184+
C++:
185+
versions:
186+
- sdk_version: 1
187+
github: cpp/example_code/ec2
188+
excerpts:
189+
- description:
190+
snippet_tags:
191+
- ec2.cpp.describe_key_pairs.code
176192
services:
177193
ec2: {DescribeKeyPairs}
178194

@@ -236,6 +252,15 @@ ec2_CreateSecurityGroup:
236252
- description:
237253
snippet_tags:
238254
- ec2.abapv1.create_security_group
255+
C++:
256+
versions:
257+
- sdk_version: 1
258+
github: cpp/example_code/ec2
259+
excerpts:
260+
- description:
261+
snippet_tags:
262+
- cpp.example_code.ec2.create_security_group.client
263+
- cpp.example_code.ec2.CreateSecurityGroup
239264
services:
240265
ec2: {CreateSecurityGroup}
241266
ec2_RunInstances:
@@ -298,6 +323,16 @@ ec2_RunInstances:
298323
- description:
299324
snippet_tags:
300325
- ec2.abapv1.create_instance
326+
C++:
327+
versions:
328+
- sdk_version: 1
329+
github: cpp/example_code/ec2
330+
sdkguide:
331+
excerpts:
332+
- description:
333+
snippet_tags:
334+
- cpp.example_code.ec2.create_instance.client
335+
- cpp.example_code.ec2.RunInstances
301336
services:
302337
ec2: {RunInstances}
303338
ec2_CreateVpc:
@@ -388,6 +423,14 @@ ec2_StartInstances:
388423
- description:
389424
snippet_tags:
390425
- ec2.abapv1.start_instance
426+
C++:
427+
versions:
428+
- sdk_version: 1
429+
github: cpp/example_code/ec2
430+
excerpts:
431+
- description:
432+
snippet_tags:
433+
- ec2.cpp.start_instance.code
391434
services:
392435
ec2: {StartInstances}
393436
ec2_StopInstances:
@@ -458,6 +501,14 @@ ec2_StopInstances:
458501
- description:
459502
snippet_tags:
460503
- ec2.abapv1.stop_instance
504+
C++:
505+
versions:
506+
- sdk_version: 1
507+
github: cpp/example_code/ec2
508+
excerpts:
509+
- description:
510+
snippet_tags:
511+
- ec2.cpp.stop_instance.code
461512
services:
462513
ec2: {StopInstances}
463514
ec2_AllocateAddress:
@@ -520,6 +571,15 @@ ec2_AllocateAddress:
520571
- description:
521572
snippet_tags:
522573
- ec2.abapv1.allocate_address
574+
C++:
575+
versions:
576+
- sdk_version: 1
577+
github: cpp/example_code/ec2
578+
excerpts:
579+
- description:
580+
snippet_tags:
581+
- cpp.example_code.ec2.allocate_address.client
582+
- cpp.example_code.ec2.AllocateAddress
523583
services:
524584
ec2: {AllocateAddress}
525585
ec2_AssociateAddress:
@@ -582,6 +642,15 @@ ec2_AssociateAddress:
582642
- description:
583643
snippet_tags:
584644
- ec2.abapv1.associate_address
645+
C++:
646+
versions:
647+
- sdk_version: 1
648+
github: cpp/example_code/ec2
649+
excerpts:
650+
- description:
651+
snippet_tags:
652+
- cpp.example_code.ec2.allocate_address.client
653+
- cpp.example_code.ec2.AssociateAddress
585654
services:
586655
ec2: {AssociateAddress}
587656
ec2_DisassociateAddress:
@@ -698,6 +767,14 @@ ec2_ReleaseAddress:
698767
- description:
699768
snippet_tags:
700769
- ec2.abapv1.release_address
770+
C++:
771+
versions:
772+
- sdk_version: 1
773+
github: cpp/example_code/ec2
774+
excerpts:
775+
- description:
776+
snippet_tags:
777+
- ec2.cpp.release_address.code
701778
services:
702779
ec2: {ReleaseAddress}
703780
ec2_AuthorizeSecurityGroupIngress:
@@ -743,6 +820,16 @@ ec2_AuthorizeSecurityGroupIngress:
743820
snippet_tags:
744821
- python.example_code.ec2.SecurityGroupWrapper.decl
745822
- python.example_code.ec2.AuthorizeSecurityGroupIngress
823+
C++:
824+
versions:
825+
- sdk_version: 1
826+
github: cpp/example_code/ec2
827+
excerpts:
828+
- description:
829+
snippet_tags:
830+
- cpp.example_code.ec2.allocate_address.client
831+
- ec2.cpp.configure_security_group02.code
832+
- ec2.cpp.configure_security_group03.code
746833
JavaScript:
747834
versions:
748835
- sdk_version: 3
@@ -814,6 +901,14 @@ ec2_DeleteKeyPair:
814901
- description:
815902
snippet_tags:
816903
- ec2.abapv1.delete_key_pair
904+
C++:
905+
versions:
906+
- sdk_version: 1
907+
github: cpp/example_code/ec2
908+
excerpts:
909+
- description:
910+
snippet_tags:
911+
- ec2.cpp.delete_key_pair.code
817912
services:
818913
ec2: {DeleteKeyPair}
819914
ec2_DescribeSecurityGroups:
@@ -876,6 +971,14 @@ ec2_DescribeSecurityGroups:
876971
- description:
877972
snippet_tags:
878973
- ec2.abapv1.describe_security_groups
974+
C++:
975+
versions:
976+
- sdk_version: 1
977+
github: cpp/example_code/ec2
978+
excerpts:
979+
- description:
980+
snippet_tags:
981+
- ec2.cpp.describe_security_groups.code
879982
services:
880983
ec2: {DescribeSecurityGroups}
881984
ec2_DeleteSecurityGroup:
@@ -938,6 +1041,14 @@ ec2_DeleteSecurityGroup:
9381041
- description:
9391042
snippet_tags:
9401043
- ec2.abapv1.delete_security_group
1044+
C++:
1045+
versions:
1046+
- sdk_version: 1
1047+
github: cpp/example_code/ec2
1048+
excerpts:
1049+
- description:
1050+
snippet_tags:
1051+
- ec2.cpp.delete_security_group.code
9411052
services:
9421053
ec2: {DeleteSecurityGroup}
9431054
ec2_DeleteSnapshot:
@@ -1018,6 +1129,14 @@ ec2_TerminateInstances:
10181129
snippet_tags:
10191130
- python.example_code.ec2.InstanceWrapper.decl
10201131
- python.example_code.ec2.TerminateInstances
1132+
C++:
1133+
versions:
1134+
- sdk_version: 1
1135+
github: cpp/example_code/ec2
1136+
excerpts:
1137+
- description:
1138+
snippet_tags:
1139+
- cpp.example_code.ec2.TerminateInstances
10211140
JavaScript:
10221141
versions:
10231142
- sdk_version: 3
@@ -1095,6 +1214,14 @@ ec2_DescribeInstances:
10951214
- description:
10961215
snippet_tags:
10971216
- ec2.abapv1.describe_instances
1217+
C++:
1218+
versions:
1219+
- sdk_version: 1
1220+
github: cpp/example_code/ec2
1221+
excerpts:
1222+
- description:
1223+
snippet_tags:
1224+
- ec2.cpp.describe_instances.code
10981225
services:
10991226
ec2: {DescribeInstances}
11001227
ec2_DescribeRegions:
@@ -1128,6 +1255,15 @@ ec2_DescribeRegions:
11281255
- description:
11291256
snippet_tags:
11301257
- ec2.abapv1.describe_regions
1258+
C++:
1259+
versions:
1260+
- sdk_version: 1
1261+
github: cpp/example_code/ec2
1262+
excerpts:
1263+
- description:
1264+
snippet_tags:
1265+
- cpp.example_code.ec2.describe_regions.client
1266+
- cpp.example_code.ec2.DescribeRegions
11311267
services:
11321268
ec2: {DescribeRegions}
11331269
ec2_DescribeInstanceStatus:
@@ -1177,6 +1313,14 @@ ec2_MonitorInstances:
11771313
- description:
11781314
snippet_tags:
11791315
- ec2.abapv1.monitor_instance
1316+
C++:
1317+
versions:
1318+
- sdk_version: 1
1319+
github: cpp/example_code/ec2
1320+
excerpts:
1321+
- description:
1322+
snippet_tags:
1323+
- ec2.cpp.enable_monitor_instance.code
11801324
services:
11811325
ec2: {MonitorInstances}
11821326
ec2_UnmonitorInstances:
@@ -1185,6 +1329,14 @@ ec2_UnmonitorInstances:
11851329
synopsis: disable detailed monitoring on an &EC2; instance.
11861330
category:
11871331
languages:
1332+
C++:
1333+
versions:
1334+
- sdk_version: 1
1335+
github: cpp/example_code/ec2
1336+
excerpts:
1337+
- description:
1338+
snippet_tags:
1339+
- ec2.cpp.disable_monitor_instance.code
11881340
JavaScript:
11891341
versions:
11901342
- sdk_version: 3
@@ -1236,6 +1388,14 @@ ec2_RebootInstances:
12361388
- description:
12371389
snippet_tags:
12381390
- ec2.abapv1.reboot_instance
1391+
C++:
1392+
versions:
1393+
- sdk_version: 1
1394+
github: cpp/example_code/ec2
1395+
excerpts:
1396+
- description:
1397+
snippet_tags:
1398+
- ec2.cpp.reboot_instance.code
12391399
services:
12401400
ec2: {RebootInstances}
12411401
ec2_DeleteVPC:
@@ -1359,6 +1519,14 @@ ec2_DescribeAddresses:
13591519
- description:
13601520
snippet_tags:
13611521
- ec2.abapv1.describe_addresses
1522+
C++:
1523+
versions:
1524+
- sdk_version: 1
1525+
github: cpp/example_code/ec2
1526+
excerpts:
1527+
- description:
1528+
snippet_tags:
1529+
- ec2.cpp.describe_addresses.code
13621530
services:
13631531
ec2: {DescribeAddresses}
13641532
ec2_DescribeAvailabilityZones:
@@ -1375,8 +1543,35 @@ ec2_DescribeAvailabilityZones:
13751543
- description:
13761544
snippet_tags:
13771545
- ec2.abapv1.describe_availability_zones
1546+
C++:
1547+
versions:
1548+
- sdk_version: 1
1549+
github: cpp/example_code/ec2
1550+
excerpts:
1551+
- description:
1552+
snippet_tags:
1553+
- cpp.example_code.ec2.describe_regions.client
1554+
- ec2.cpp.describe_zones.code
13781555
services:
13791556
ec2: {DescribeAvailabilityZones}
1557+
ec2_CreateTags:
1558+
title: Add tags to &EC2; resources using an &AWS; SDK
1559+
title_abbrev: Add tags to resources
1560+
synopsis: add tags to &EC2; resources.
1561+
category:
1562+
languages:
1563+
C++:
1564+
versions:
1565+
- sdk_version: 1
1566+
github: cpp/example_code/ec2
1567+
sdkguide:
1568+
excerpts:
1569+
- description:
1570+
snippet_tags:
1571+
- cpp.example_code.ec2.create_instance.client
1572+
- cpp.example_code.ec2.CreateTags
1573+
services:
1574+
ec2: {CreateTags}
13801575
ec2_Scenario_GetStartedInstances:
13811576
title: Get started with &EC2; instances using an &AWS; SDK
13821577
title_abbrev: Get started with instances

cpp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN \
1919
# Build only the services needed for example code.
2020
ENV SERVICES="acm;autoscaling;cloudtrail;codebuild;codecommit;cognito-idp;dynamodb;ec2;elasticache;elasticbeanstalk"
2121
ENV SERVICES=${SERVICES}";elasticfilesystem;email;events;glacier;glue;guardduty;iam;kinesis;lambda;logs;monitoring"
22-
ENV SERVICES=${SERVICES}";monitoring;neptune;rds-data;redshift;s3;s3-crt;s3-encryption;secretsmanager;sesv2;sns;sqs"
22+
ENV SERVICES=${SERVICES}";monitoring;neptune;rds;rds-data;redshift;s3;s3-crt;s3-encryption;secretsmanager;sesv2;sns;sqs"
2323
ENV SERVICES=${SERVICES}";storagegateway;sts;transfer;transcribe;transcribestreaming"
2424

2525
RUN echo ${SERVICES}

0 commit comments

Comments
 (0)