Skip to content

Commit 9bc7456

Browse files
[examples] Sync SDK examples from awsdocs/aws-doc-sdk-examples
Includes commit(s): 9cd7f3841f9e6ba950edbf265b251b811db357fc Co-authored-by: Rachel Hagerman <[email protected]>
1 parent f3d6fea commit 9bc7456

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

Diff for: examples/examples/bedrock-runtime/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ edition = "2021"
66
publish = false
77

88
[dependencies]
9+
aws-config = { version = "1.5.14", path = "../../../sdk/aws-config" }
10+
aws-sdk-bedrockruntime = { version = "1.70.0", path = "../../../sdk/bedrockruntime" }
11+
aws-smithy-runtime-api = { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" }
12+
aws-smithy-types = { version = "1.2.12", path = "../../../sdk/aws-smithy-types" }
913
reqwest = "0.12.5"
1014
serde = "1.0.204"
1115
serde_json = "1.0.120"
1216
tracing = "0.1.40"
1317
tracing-subscriber = "0.3.18"
14-
aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" }
15-
aws-sdk-bedrockruntime= { version = "1.70.0", path = "../../../sdk/bedrockruntime" }
16-
aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" }
17-
aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" }
1818

1919
[dependencies.tokio]
2020
version = "1.38.1"

Diff for: examples/examples/cloudwatchlogs/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ path = "../../test-utils"
3232
version = "0.1.0"
3333

3434
[dev-dependencies]
35-
aws-smithy-mocks-experimental= { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" }
35+
aws-smithy-mocks-experimental = { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" }

Diff for: examples/examples/ec2/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ publish = false
88

99
[dependencies]
1010
tracing = "0.1.40"
11+
aws-smithy-runtime-api = { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" }
1112
mockall = "0.13.0"
1213
inquire = "0.7.5"
1314
reqwest = "0.12.5"
14-
aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" }
15-
aws-sdk-ssm= { version = "1.61.0", path = "../../../sdk/ssm" }
16-
aws-smithy-async= { version = "1.2.4", path = "../../../sdk/aws-smithy-async" }
15+
aws-sdk-ssm = { version = "1.61.0", path = "../../../sdk/ssm" }
16+
aws-smithy-async = { version = "1.2.4", path = "../../../sdk/aws-smithy-async" }
1717
aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
1818
aws-sdk-ec2= { version = "1.104.0", path = "../../../sdk/ec2" }
1919
aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" }

Diff for: examples/examples/ses/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ publish = false
1010
anyhow = "1.0.81"
1111
tracing = "0.1.40"
1212
tmpfile = "0.0.2"
13+
aws-smithy-http = { version = "0.60.12", path = "../../../sdk/aws-smithy-http" }
14+
aws-smithy-mocks-experimental = { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" }
1315
open = "5.1.2"
14-
aws-smithy-http= { version = "0.60.12", path = "../../../sdk/aws-smithy-http" }
15-
aws-smithy-mocks-experimental= { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" }
1616
aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
1717
aws-sdk-sesv2= { version = "1.62.0", path = "../../../sdk/sesv2", features = ["test-util"] }
1818

Diff for: examples/examples/ses/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Code excerpts that show you how to call individual service functions.
5050
Code examples that show you how to accomplish a specific task by calling multiple
5151
functions within the same service.
5252

53-
- [Newsletter workflow](src/newsletter.rs)
53+
- [Newsletter scenario](src/newsletter.rs)
5454

5555

5656
<!--custom.examples.start-->
@@ -65,17 +65,17 @@ functions within the same service.
6565

6666
#### SESv2 Newsletter Workflow
6767

68-
Review the usage instructions in [`workflows/sesv2_weekly_mailer/README.md`](../../../workflows/sesv2_weekly_mailer/README.md).
68+
Review the usage instructions in [`workflows/sesv2_weekly_mailer/README.md`](../../../scenarios/features/sesv2_weekly_mailer/README.md).
6969

7070
To run the Newsletter example, copy the files from workflows/sesv2_weekly_mailer/resources into a new folder, rustv1/examples/ses/resources/newsletter.
7171

7272
<!--custom.instructions.end-->
7373

7474

7575

76-
#### Newsletter workflow
76+
#### Newsletter scenario
7777

78-
This example shows you how to run the Amazon SES v2 API newsletter workflow.
78+
This example shows you how to run the Amazon SES v2 API newsletter scenario.
7979

8080

8181
<!--custom.scenario_prereqs.sesv2_NewsletterWorkflow.start-->
@@ -111,4 +111,4 @@ in the `rustv1` folder.
111111

112112
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
113113

114-
SPDX-License-Identifier: Apache-2.0
114+
SPDX-License-Identifier: Apache-2.0

Diff for: versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
smithy_rs_revision = '81ecb70cfc94d76ae1f46f1c8b225c68a5e4d337'
2-
aws_doc_sdk_examples_revision = 'a88cc766fcfcd6a333fdacaf524367c21ee23bf4'
2+
aws_doc_sdk_examples_revision = '9cd7f3841f9e6ba950edbf265b251b811db357fc'
33

44
[manual_interventions]
55
crates_to_remove = []

0 commit comments

Comments
 (0)