Skip to content

Commit 9a6822c

Browse files
committed
Remove add_services metadata
This is only used inconsistently in cross_metadata, and will be simplified if we remove it.
1 parent 278cfef commit 9a6822c

File tree

1 file changed

+71
-36
lines changed

1 file changed

+71
-36
lines changed

.doc_gen/metadata/cross_metadata.yaml

Lines changed: 71 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ cross_MessageProcessingFrameworkTutorial:
1616
cross_FSA:
1717
title: Create an application that analyzes customer feedback and synthesizes audio
1818
title_abbrev: Create an application to analyze customer feedback
19-
synopsis: create an application that analyzes customer comment cards, translates them from their original language, determines
19+
synopsis:
20+
create an application that analyzes customer comment cards, translates them from their original language, determines
2021
their sentiment, and generates an audio file from the translated text.
2122
category: Scenarios
2223
languages:
@@ -128,7 +129,8 @@ cross_SQSMessageApp:
128129
cross_RDSDataTracker:
129130
title: Create an &AUR; Serverless work item tracker
130131
title_abbrev: Create an &AUR; Serverless work item tracker
131-
synopsis: create a web application that tracks work items in an &AURlong; Serverless database and uses &SESlong; (&SES;)
132+
synopsis:
133+
create a web application that tracks work items in an &AURlong; Serverless database and uses &SESlong; (&SES;)
132134
to send reports.
133135
category: Scenarios
134136
languages:
@@ -242,7 +244,8 @@ cross_DynamoDBDataTracker:
242244
cross_ApiGatewayDataTracker:
243245
title: Create an &ABP; REST API to track COVID-19 data
244246
title_abbrev: Create a REST API to track COVID-19 data
245-
synopsis: create a REST API that simulates a system to track daily cases of COVID-19 in the United States, using fictional
247+
synopsis:
248+
create a REST API that simulates a system to track daily cases of COVID-19 in the United States, using fictional
246249
data.
247250
category: Scenarios
248251
languages:
@@ -276,7 +279,8 @@ cross_ApiGatewayWebsocketChat:
276279
cross_AuroraRestLendingLibrary:
277280
title: Create a lending library REST API
278281
title_abbrev: Create a lending library REST API
279-
synopsis: create a lending library where patrons can borrow and return books by using a REST API backed by an &AURlong;
282+
synopsis:
283+
create a lending library where patrons can borrow and return books by using a REST API backed by an &AURlong;
280284
database.
281285
category: Scenarios
282286
languages:
@@ -318,15 +322,14 @@ cross_TextractExplorer:
318322
versions:
319323
- sdk_version: 3
320324
block_content: cross_TextractExplorer_JavaScript_block.xml
321-
add_services:
322-
cognito-identity:
323325
Python:
324326
versions:
325327
- sdk_version: 3
326328
github: python/cross_service/textract_explorer
327329
block_content: cross_TextractExplorer_Python_block.xml
328330
service_main: textract
329331
services:
332+
cognito-identity:
330333
s3:
331334
sns:
332335
sqs:
@@ -379,16 +382,10 @@ cross_LambdaAPIGateway:
379382
versions:
380383
- sdk_version: 2
381384
block_content: cross_LambdaAPIGateway_Java_block.xml
382-
add_services:
383-
dynamodb:
384-
sns:
385385
JavaScript:
386386
versions:
387387
- sdk_version: 3
388388
block_content: cross_LambdaAPIGateway_JavaScript_block.xml
389-
add_services:
390-
dynamodb:
391-
sns:
392389
Python:
393390
versions:
394391
- sdk_version: 3
@@ -397,7 +394,9 @@ cross_LambdaAPIGateway:
397394
service_main: lambda
398395
services:
399396
api-gateway:
397+
dynamodb:
400398
lambda:
399+
sns:
401400
cross_LambdaScheduledEvents:
402401
title: Use scheduled events to invoke a &LAM; function
403402
title_abbrev: Use scheduled events to invoke a &LAM; function
@@ -408,27 +407,22 @@ cross_LambdaScheduledEvents:
408407
versions:
409408
- sdk_version: 2
410409
block_content: cross_LambdaScheduledEvents_Java_block.xml
411-
add_services:
412-
dynamodb:
413-
sns:
414410
JavaScript:
415411
versions:
416412
- sdk_version: 3
417413
block_content: cross_LambdaScheduledEvents_JavaScript_block.xml
418-
add_services:
419-
dynamodb:
420-
sns:
421414
Python:
422415
versions:
423416
- sdk_version: 3
424417
github: python/example_code/lambda
425418
block_content: cross_LambdaScheduledEvents_Python_block.xml
426-
add_services:
427-
cloudwatch-logs:
428419
service_main: lambda
429420
services:
421+
cloudwatch-logs:
422+
dynamodb:
430423
eventbridge:
431424
lambda:
425+
sns:
432426
cross_ServerlessWorkflows:
433427
title: Use &SFN; to invoke &LAM; functions
434428
title_abbrev: Use &SFN; to invoke &LAM; functions
@@ -520,20 +514,18 @@ cross_RekognitionVideoDetection:
520514
versions:
521515
- sdk_version: 2
522516
block_content: cross_RekognitionVideoAnalyzer_Java_block.xml
523-
add_services:
524-
s3:
525-
ses:
526517
Python:
527518
versions:
528519
- sdk_version: 3
529520
github: python/example_code/rekognition
530521
block_content: cross_RekognitionVideoDetection_Python_block.xml
531-
add_services:
532-
sns:
533-
sqs:
534522
service_main: rekognition
535523
services:
536524
rekognition:
525+
s3:
526+
ses:
527+
sns:
528+
sqs:
537529
cross_DetectFaces:
538530
title: Detect faces in an image using an &AWS; SDK
539531
title_abbrev: Detect faces in an image
@@ -608,7 +600,8 @@ cross_LambdaForBrowser:
608600
cross_ResilientService:
609601
title: Build and manage a resilient service using an &AWS; SDK
610602
title_abbrev: Build and manage a resilient service
611-
synopsis: create a load-balanced web service that returns book, movie, and song recommendations. The example shows how the
603+
synopsis:
604+
create a load-balanced web service that returns book, movie, and song recommendations. The example shows how the
612605
service responds to failures, and how to restructure the service for more resilience when failures occur.
613606
synopsis_list:
614607
- Use an &ASlong; group to create &EC2long; (&EC2;) instances based on a launch template and to keep the number of instances
@@ -699,12 +692,38 @@ cross_ResilientService:
699692
snippet_files:
700693
- javascriptv3/example_code/cross-services/wkflw-resilient-service/steps-destroy.js
701694
services:
702-
auto-scaling: {CreateAutoScalingGroup, DescribeAutoScalingGroups, TerminateInstanceInAutoScalingGroup, AttachLoadBalancerTargetGroups,
703-
DeleteAutoScalingGroup, UpdateAutoScalingGroup}
704-
ec2: {DescribeIamInstanceProfileAssociations, ReplaceIamInstanceProfileAssociation, RebootInstances, CreateLaunchTemplate,
705-
DeleteLaunchTemplate, DescribeAvailabilityZones, DescribeInstances, DescribeVpcs, DescribeSubnets}
706-
elastic-load-balancing-v2: {DescribeLoadBalancers, CreateTargetGroup, DescribeTargetGroups, DeleteTargetGroup, CreateLoadBalancer,
707-
CreateListener, DeleteLoadBalancer, DescribeTargetHealth}
695+
auto-scaling:
696+
{
697+
CreateAutoScalingGroup,
698+
DescribeAutoScalingGroups,
699+
TerminateInstanceInAutoScalingGroup,
700+
AttachLoadBalancerTargetGroups,
701+
DeleteAutoScalingGroup,
702+
UpdateAutoScalingGroup,
703+
}
704+
ec2:
705+
{
706+
DescribeIamInstanceProfileAssociations,
707+
ReplaceIamInstanceProfileAssociation,
708+
RebootInstances,
709+
CreateLaunchTemplate,
710+
DeleteLaunchTemplate,
711+
DescribeAvailabilityZones,
712+
DescribeInstances,
713+
DescribeVpcs,
714+
DescribeSubnets,
715+
}
716+
elastic-load-balancing-v2:
717+
{
718+
DescribeLoadBalancers,
719+
CreateTargetGroup,
720+
DescribeTargetGroups,
721+
DeleteTargetGroup,
722+
CreateLoadBalancer,
723+
CreateListener,
724+
DeleteLoadBalancer,
725+
DescribeTargetHealth,
726+
}
708727
iam: {CreateInstanceProfile, DeleteInstanceProfile}
709728
cross_FMPlayground:
710729
title: Create a sample application that offers playgrounds to interact with &BR; foundation models using an &AWS; SDK
@@ -854,7 +873,8 @@ cross_CognitoAutoConfirmUser:
854873
snippet_files:
855874
- javascriptv3/example_code/cross-services/wkflw-pools-triggers/actions/dynamodb-actions.js
856875
services:
857-
cognito-identity-provider: {UpdateUserPool, SignUp, InitiateAuth, DeleteUser}
876+
cognito-identity-provider:
877+
{UpdateUserPool, SignUp, InitiateAuth, DeleteUser}
858878
lambda: {}
859879
cross_CognitoAutoMigrateUser:
860880
title: Automatically migrate known &COG; users with a &LAM; function using an &AWS; SDK
@@ -899,7 +919,15 @@ cross_CognitoAutoMigrateUser:
899919
snippet_tags:
900920
- gov2.cognito-identity-provider.Resources.complete
901921
services:
902-
cognito-identity-provider: {UpdateUserPool, SignUp, InitiateAuth, ForgotPassword, ConfirmForgotPassword, DeleteUser}
922+
cognito-identity-provider:
923+
{
924+
UpdateUserPool,
925+
SignUp,
926+
InitiateAuth,
927+
ForgotPassword,
928+
ConfirmForgotPassword,
929+
DeleteUser,
930+
}
903931
lambda: {}
904932
cross_CognitoCustomActivityLog:
905933
title: Write custom activity data with a &LAM; function after &COG; user authentication using an &AWS; SDK
@@ -944,7 +972,14 @@ cross_CognitoCustomActivityLog:
944972
snippet_tags:
945973
- gov2.cognito-identity-provider.Resources.complete
946974
services:
947-
cognito-identity-provider: {UpdateUserPool, InitiateAuth, DeleteUser, AdminCreateUser, AdminSetUserPassword}
975+
cognito-identity-provider:
976+
{
977+
UpdateUserPool,
978+
InitiateAuth,
979+
DeleteUser,
980+
AdminCreateUser,
981+
AdminSetUserPassword,
982+
}
948983
lambda: {}
949984
cross_MonitorDynamoDB:
950985
title: Monitor performance of &DDBlong; using an &AWS; SDK

0 commit comments

Comments
 (0)