Skip to content

Commit ab3c12d

Browse files
authored
Found some readmes with some lingering errors. This fixes those readmes and related metadata. (#7521)
* Found some readmes with some lingering errors. This fixes those readmes and related metadata.
1 parent 4f01d5e commit ab3c12d

File tree

8 files changed

+34
-33
lines changed

8 files changed

+34
-33
lines changed

.doc_gen/metadata/cognito-identity-provider_metadata.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ cognito-identity-provider_ListUsers:
433433
versions:
434434
- sdk_version: 1
435435
github: swift/example_code/cognito-identity-provider
436+
sdkguide:
436437
excerpts:
437438
- description:
438439
snippet_tags:

.doc_gen/metadata/dynamodb_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ dynamodb_Scenario_GettingStartedMovies:
18771877
excerpts:
18781878
- description:
18791879
snippet_tags:
1880-
- DynamoDB.dotnetv3.DynamoDB_Basics_Scenario
1880+
- DynamoDB.dotnetv4.DynamoDB_Basics_Scenario
18811881
- description: Creates a table to contain movie data.
18821882
snippet_tags:
18831883
- DynamoDB.dotnetv4.dynamodb-basics.CreateTable

dotnetv4/ControlTower/README.md

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

3232
### Get started
3333

34-
- [Hello AWS Control Tower](Actions/HelloControlTower.cs#L4) (`ListBaselines`)
34+
- [Hello AWS Control Tower](../ControlTower/Actions/HelloControlTower.cs#L4) (`ListBaselines`)
3535

3636

3737
### Basics
3838

3939
Code examples that show you how to perform the essential operations within a service.
4040

41-
- [Learn the basics](Scenarios/ControlTower_Basics/ControlTowerBasics.cs)
41+
- [Learn the basics](../ControlTower/Scenarios/ControlTower_Basics/ControlTowerBasics.cs)
4242

4343

4444
### Single actions
4545

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

48-
- [DisableBaseline](Actions/ControlTowerWrapper.cs#L181)
49-
- [DisableControl](Actions/ControlTowerWrapper.cs#L401)
50-
- [EnableBaseline](Actions/ControlTowerWrapper.cs#L120)
51-
- [EnableControl](Actions/ControlTowerWrapper.cs#L345)
52-
- [GetBaselineOperation](Actions/ControlTowerWrapper.cs#L273)
53-
- [GetControlOperation](Actions/ControlTowerWrapper.cs#L449)
54-
- [ListBaselines](Actions/ControlTowerWrapper.cs#L62)
55-
- [ListEnabledBaselines](Actions/ControlTowerWrapper.cs#L91)
56-
- [ListEnabledControls](Actions/ControlTowerWrapper.cs#L305)
57-
- [ListLandingZones](Actions/ControlTowerWrapper.cs#L33)
58-
- [ResetEnabledBaseline](Actions/ControlTowerWrapper.cs#L227)
48+
- [DisableBaseline](../ControlTower/Actions/ControlTowerWrapper.cs#L181)
49+
- [DisableControl](../ControlTower/Actions/ControlTowerWrapper.cs#L401)
50+
- [EnableBaseline](../ControlTower/Actions/ControlTowerWrapper.cs#L120)
51+
- [EnableControl](../ControlTower/Actions/ControlTowerWrapper.cs#L345)
52+
- [GetBaselineOperation](../ControlTower/Actions/ControlTowerWrapper.cs#L273)
53+
- [GetControlOperation](../ControlTower/Actions/ControlTowerWrapper.cs#L449)
54+
- [ListBaselines](../ControlTower/Actions/ControlTowerWrapper.cs#L62)
55+
- [ListEnabledBaselines](../ControlTower/Actions/ControlTowerWrapper.cs#L91)
56+
- [ListEnabledControls](../ControlTower/Actions/ControlTowerWrapper.cs#L305)
57+
- [ListLandingZones](../ControlTower/Actions/ControlTowerWrapper.cs#L33)
58+
- [ResetEnabledBaseline](../ControlTower/Actions/ControlTowerWrapper.cs#L227)
5959

6060

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

dotnetv4/DynamoDB/README.md

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

3232
### Get started
3333

34-
- [Hello DynamoDB](Actions/HelloDynamoDB.cs#L4) (`ListTables`)
34+
- [Hello DynamoDB](../DynamoDB/Actions/HelloDynamoDB.cs#L4) (`ListTables`)
3535

3636

3737
### Basics
3838

3939
Code examples that show you how to perform the essential operations within a service.
4040

41-
- [Learn the basics](Scenarios/DynamoDB_Basics/DynamoDbBasics.cs)
41+
- [Learn the basics](../DynamoDB/Scenarios/DynamoDB_Basics/DynamoDbBasics.cs)
4242

4343

4444
### Single actions
4545

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

48-
- [BatchWriteItem](Actions/DynamoDbWrapper.cs#L277)
49-
- [CreateTable](Actions/DynamoDbWrapper.cs#L27)
50-
- [DeleteItem](Actions/DynamoDbWrapper.cs#L366)
51-
- [DeleteTable](Actions/DynamoDbWrapper.cs#L552)
52-
- [GetItem](Actions/DynamoDbWrapper.cs#L229)
53-
- [PutItem](Actions/DynamoDbWrapper.cs#L115)
54-
- [Query](Actions/DynamoDbWrapper.cs#L413)
55-
- [Scan](Actions/DynamoDbWrapper.cs#L487)
56-
- [UpdateItem](Actions/DynamoDbWrapper.cs#L162)
48+
- [BatchWriteItem](../DynamoDB/Actions/DynamoDbWrapper.cs#L277)
49+
- [CreateTable](../DynamoDB/Actions/DynamoDbWrapper.cs#L27)
50+
- [DeleteItem](../DynamoDB/Actions/DynamoDbWrapper.cs#L366)
51+
- [DeleteTable](../DynamoDB/Actions/DynamoDbWrapper.cs#L552)
52+
- [GetItem](../DynamoDB/Actions/DynamoDbWrapper.cs#L229)
53+
- [PutItem](../DynamoDB/Actions/DynamoDbWrapper.cs#L115)
54+
- [Query](../DynamoDB/Actions/DynamoDbWrapper.cs#L413)
55+
- [Scan](../DynamoDB/Actions/DynamoDbWrapper.cs#L487)
56+
- [UpdateItem](../DynamoDB/Actions/DynamoDbWrapper.cs#L162)
5757

5858

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

dotnetv4/DynamoDB/Scenarios/DynamoDB_Basics/DynamoDbBasics.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

44
using Amazon.DynamoDBv2;
@@ -7,7 +7,7 @@
77

88
namespace Basics;
99

10-
// snippet-start:[DynamoDB.dotnetv3.DynamoDB_Basics_Scenario]
10+
// snippet-start:[DynamoDB.dotnetv4.DynamoDB_Basics_Scenario]
1111

1212
/// <summary>
1313
/// This example application performs the following basic Amazon DynamoDB
@@ -228,4 +228,4 @@ private static void WaitForEnter()
228228
}
229229
}
230230

231-
// snippet-end:[DynamoDB.dotnetv3.DynamoDB_Basics_Scenario]
231+
// snippet-end:[DynamoDB.dotnetv4.DynamoDB_Basics_Scenario]

python/example_code/bedrock-agent-runtime/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ python -m pip install -r requirements.txt
3838

3939
Code examples that show you how to perform the essential operations within a service.
4040

41-
- [Learn the basics](flows/flow-conversation.py)
41+
- [Learn the basics](../bedrock-agent/flows/flow-conversation.py)
4242

4343

4444
### Single actions
@@ -79,7 +79,7 @@ This example shows you how to use InvokeFlow to converse with an Amazon Bedrock
7979
Start the example by running the following at a command prompt:
8080

8181
```
82-
python flows/flow-conversation.py
82+
python ../bedrock-agent/flows/flow-conversation.py
8383
```
8484

8585

swift/example_code/cognito-identity-provider/ListUsers/Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// (swift-tools-version has two lines here because it needs to be the first
66
// line in the file, but it should also appear in the snippet below)
77
//
8-
// snippet-start:[swift.cognito-identity-provider.scenario.package]
8+
// snippet-start:[swift.cognito-identity-provider.ListUsers.package]
99
// swift-tools-version: 5.9
1010
//
1111
// The swift-tools-version declares the minimum version of Swift required to
@@ -44,4 +44,4 @@ let package = Package(
4444

4545
]
4646
)
47-
// snippet-end:[swift.cognito-identity-provider.scenario.package]
47+
// snippet-end:[swift.cognito-identity-provider.ListUsers.package]

swift/example_code/cognito-identity-provider/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Code excerpts that show you how to call individual service functions.
4848
Code examples that show you how to accomplish a specific task by calling multiple
4949
functions within the same service.
5050

51-
- [Sign up a user with a user pool that requires MFA](../swift-sdk/http-config/Package.swift)
51+
- [Sign up a user with a user pool that requires MFA](scenario/Package.swift)
5252

5353

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

0 commit comments

Comments
 (0)