Skip to content

Commit 32ad4eb

Browse files
committed
Review feedback
1 parent 6a17258 commit 32ad4eb

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.doc_gen/metadata/dynamodb_metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2312,7 +2312,7 @@ dynamodb_MidLevelInterface:
23122312
dynamodb_local:
23132313
title: Connect to a local &DDB; instance using an &AWS; SDK
23142314
title_abbrev: Connect to a local instance
2315-
synopsis: Override the endpoint URL to connect to a local development deployment of &DDB; and an &AWS; SDK.
2315+
synopsis: override an endpoint URL to connect to a local development deployment of &DDB; and an &AWS; SDK.
23162316
guide_topic:
23172317
title: DynamoDB Local
23182318
url: amazondynamodb/latest/developerguide/DynamoDBLocal.html

rustv1/examples/dynamodb/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ functions within the same service.
6565

6666
#### Connect to a local instance
6767

68-
This example shows you how to Override the endpoint URL to connect to a local development deployment of DynamoDB and an AWS SDK.
68+
This example shows you how to override an endpoint URL to connect to a local development deployment of DynamoDB and an AWS SDK.
6969

7070

7171
<!--custom.scenario_prereqs.dynamodb_local.start-->

rustv1/examples/localstack/src/bin/use-localstack.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use std::error::Error;
1111
async fn main() -> Result<(), Box<dyn Error>> {
1212
tracing_subscriber::fmt::init();
1313

14+
// snippet-start:[localstack.rust.use-localstack.config]
1415
// set the environment variable `AWS_PROFILE=localstack` when running
1516
// the application to source `endpoint_url` and point the SDK at the
1617
// localstack instance
@@ -21,6 +22,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
2122
let s3 = aws_sdk_s3::config::Builder::from(&config)
2223
.force_path_style(true)
2324
.build();
25+
// snippet-end:[localstack.rust.use-localstack.config]
2426

2527
let resp = s3.list_buckets().send().await?;
2628
let buckets = resp.buckets();

0 commit comments

Comments
 (0)