Skip to content

Commit da33a42

Browse files
authored
Updated metadata for Entity Resolution and Location services to fix broken links in code examples (#7538)
1 parent 4dd6f79 commit da33a42

File tree

7 files changed

+11
-33
lines changed

7 files changed

+11
-33
lines changed

.doc_gen/metadata/entityresolution_metadata.yaml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ entityresolution_Hello:
2121
snippet_tags:
2222
- javascript.v3.entity-resolution.hello
2323
services:
24-
entityresolution: {listMatchingWorkflows}
24+
entityresolution: {ListMatchingWorkflows}
2525
entityresolution_DeleteSchemaMapping:
2626
languages:
2727
Java:
@@ -42,7 +42,7 @@ entityresolution_DeleteSchemaMapping:
4242
- entity-resolution.JavaScriptv3.delete.schema-mapping
4343
services:
4444
entityresolution: {DeleteSchemaMapping}
45-
entityresolution_TagEntityResource:
45+
entityresolution_TagResource:
4646
languages:
4747
Java:
4848
versions:
@@ -61,7 +61,7 @@ entityresolution_TagEntityResource:
6161
snippet_tags:
6262
- entity-resolution.JavaScriptv3.tag.entity-resource
6363
services:
64-
entityresolution: {TagEntityResource}
64+
entityresolution: {TagResource}
6565
entityresolution_CreateMatchingWorkflow:
6666
languages:
6767
Java:
@@ -82,26 +82,6 @@ entityresolution_CreateMatchingWorkflow:
8282
- entity-resolution.JavaScriptv3.create-matching-workflow
8383
services:
8484
entityresolution: {CreateMatchingWorkflow}
85-
entityresolution_CheckWorkflowStatus:
86-
languages:
87-
Java:
88-
versions:
89-
- sdk_version: 2
90-
github: javav2/example_code/entityresolution
91-
excerpts:
92-
- description:
93-
snippet_tags:
94-
- entityres.java2_check_matching_workflow.main
95-
JavaScript:
96-
versions:
97-
- sdk_version: 3
98-
github: javascriptv3/example_code/entityresolution
99-
excerpts:
100-
- description:
101-
snippet_tags:
102-
- entity-resolution.JavaScriptv3.check-workflow-status
103-
services:
104-
entityresolution: {CheckWorkflowStatus}
10585
entityresolution_StartMatchingJob:
10686
languages:
10787
Java:

.doc_gen/metadata/location_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ location_Hello:
3333
snippet_tags:
3434
- javascript.v3.location.hello
3535
services:
36-
location: {ListGeofencesPaginator}
36+
location: {ListGeofences, ListGeofenceCollections}
3737
location_CreateMap:
3838
languages:
3939
Kotlin:

javascriptv3/example_code/entityresolution/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,13 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javas
3131

3232
### Get started
3333

34-
- [Hello AWS Entity Resolution](hello.js#L4) (`listMatchingWorkflows`)
34+
- [Hello AWS Entity Resolution](hello.js#L4) (`ListMatchingWorkflows`)
3535

3636

3737
### Single actions
3838

3939
Code excerpts that show you how to call individual service functions.
4040

41-
- [CheckWorkflowStatus](actions/check-workflow-status.js#L4)
4241
- [CreateMatchingWorkflow](actions/create-matching-workflow.js#L4)
4342
- [CreateSchemaMapping](actions/create-schema-mapping.js#L4)
4443
- [DeleteMatchingWorkflow](actions/delete-matching-workflow.js#L4)
@@ -47,7 +46,7 @@ Code excerpts that show you how to call individual service functions.
4746
- [GetSchemaMapping](actions/get-schema-mapping.js#L4)
4847
- [ListSchemaMappings](actions/list-schema-mappings.js#L4)
4948
- [StartMatchingJob](actions/start-matching-job.js#L4)
50-
- [TagEntityResource](actions/tag-entity-resource.js#L4)
49+
- [TagResource](actions/tag-entity-resource.js#L4)
5150

5251

5352
<!--custom.examples.start-->

javascriptv3/example_code/location/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javas
3131

3232
### Get started
3333

34-
- [Hello Amazon Location](hello.js#L4) (`ListGeofencesPaginator`)
34+
- [Hello Amazon Location](hello.js#L4) (`ListGeofenceCollections`)
3535

3636

3737
### Basics

javav2/example_code/entityresolution/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javav
3131

3232
### Get started
3333

34-
- [Hello AWS Entity Resolution](src/main/java/com/example/entity/HelloEntityResoultion.java#L19) (`listMatchingWorkflows`)
34+
- [Hello AWS Entity Resolution](src/main/java/com/example/entity/HelloEntityResoultion.java#L19) (`ListMatchingWorkflows`)
3535

3636

3737
### Basics
@@ -45,7 +45,6 @@ Code examples that show you how to perform the essential operations within a ser
4545

4646
Code excerpts that show you how to call individual service functions.
4747

48-
- [CheckWorkflowStatus](src/main/java/com/example/entity/scenario/EntityResActions.java#L391)
4948
- [CreateMatchingWorkflow](src/main/java/com/example/entity/scenario/EntityResActions.java#L429)
5049
- [CreateSchemaMapping](src/main/java/com/example/entity/scenario/EntityResActions.java#L230)
5150
- [DeleteMatchingWorkflow](src/main/java/com/example/entity/scenario/EntityResActions.java#L196)
@@ -54,7 +53,7 @@ Code excerpts that show you how to call individual service functions.
5453
- [GetSchemaMapping](src/main/java/com/example/entity/scenario/EntityResActions.java#L280)
5554
- [ListSchemaMappings](src/main/java/com/example/entity/scenario/EntityResActions.java#L173)
5655
- [StartMatchingJob](src/main/java/com/example/entity/scenario/EntityResActions.java#L354)
57-
- [TagEntityResource](src/main/java/com/example/entity/scenario/EntityResActions.java#L516)
56+
- [TagResource](src/main/java/com/example/entity/scenario/EntityResActions.java#L516)
5857

5958

6059
<!--custom.examples.start-->

javav2/example_code/location/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javav
3131

3232
### Get started
3333

34-
- [Hello Amazon Location](src/main/java/com/example/location/HelloLocation.java#L18) (`ListGeofencesPaginator`)
34+
- [Hello Amazon Location](src/main/java/com/example/location/HelloLocation.java#L18) (`ListGeofenceCollections`)
3535

3636

3737
### Basics

kotlin/services/location/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `kotli
3131

3232
### Get started
3333

34-
- [Hello Amazon Location](src/main/java/location/HelloLocation.kt#L10) (`ListGeofencesPaginator`)
34+
- [Hello Amazon Location](src/main/java/location/HelloLocation.kt#L10) (`ListGeofenceCollections`)
3535

3636

3737
### Basics

0 commit comments

Comments
 (0)