diff --git a/examples/examples/bedrock-runtime/Cargo.toml b/examples/examples/bedrock-runtime/Cargo.toml index 9b15b0e1b0c1..3e37632d814c 100644 --- a/examples/examples/bedrock-runtime/Cargo.toml +++ b/examples/examples/bedrock-runtime/Cargo.toml @@ -6,15 +6,15 @@ edition = "2021" publish = false [dependencies] +aws-config = { version = "1.5.6", path = "../../../sdk/aws-config" } +aws-sdk-bedrockruntime = { version = "1.50.0", path = "../../../sdk/bedrockruntime" } +aws-smithy-runtime-api = { version = "1.7.2", path = "../../../sdk/aws-smithy-runtime-api" } +aws-smithy-types = { version = "1.2.6", path = "../../../sdk/aws-smithy-types" } reqwest = "0.12.5" serde = "1.0.204" serde_json = "1.0.120" tracing = "0.1.40" tracing-subscriber = "0.3.18" -aws-config= { version = "1.5.6", path = "../../../sdk/aws-config" } -aws-sdk-bedrockruntime= { version = "1.50.0", path = "../../../sdk/bedrockruntime" } -aws-smithy-runtime-api= { version = "1.7.2", path = "../../../sdk/aws-smithy-runtime-api" } -aws-smithy-types= { version = "1.2.6", path = "../../../sdk/aws-smithy-types" } [dependencies.tokio] version = "1.38.1" diff --git a/examples/examples/cloudwatchlogs/Cargo.toml b/examples/examples/cloudwatchlogs/Cargo.toml index 0fb553b93d1a..d21a5ca51317 100644 --- a/examples/examples/cloudwatchlogs/Cargo.toml +++ b/examples/examples/cloudwatchlogs/Cargo.toml @@ -32,4 +32,4 @@ path = "../../test-utils" version = "0.1.0" [dev-dependencies] -aws-smithy-mocks-experimental= { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" } +aws-smithy-mocks-experimental = { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" } diff --git a/examples/examples/ec2/Cargo.toml b/examples/examples/ec2/Cargo.toml index aefa16a1dcf2..42638df6cf74 100644 --- a/examples/examples/ec2/Cargo.toml +++ b/examples/examples/ec2/Cargo.toml @@ -8,12 +8,12 @@ publish = false [dependencies] tracing = "0.1.40" +aws-smithy-runtime-api = { version = "1.7.2", path = "../../../sdk/aws-smithy-runtime-api" } mockall = "0.13.0" inquire = "0.7.5" reqwest = "0.12.5" -aws-smithy-runtime-api= { version = "1.7.2", path = "../../../sdk/aws-smithy-runtime-api" } -aws-sdk-ssm= { version = "1.48.0", path = "../../../sdk/ssm" } -aws-smithy-async= { version = "1.2.1", path = "../../../sdk/aws-smithy-async" } +aws-sdk-ssm = { version = "1.48.0", path = "../../../sdk/ssm" } +aws-smithy-async = { version = "1.2.1", path = "../../../sdk/aws-smithy-async" } aws-config= { version = "1.5.6", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-ec2= { version = "1.74.1", path = "../../../sdk/ec2" } aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } diff --git a/examples/examples/glue/src/prepare.rs b/examples/examples/glue/src/prepare.rs index 6bf47c12f422..10cc6b6f205e 100644 --- a/examples/examples/glue/src/prepare.rs +++ b/examples/examples/glue/src/prepare.rs @@ -243,7 +243,7 @@ impl GlueScenario { Ok(()) } - // Upload Python ETL script to the user's Amazon Simple Storage Service (Amazon S3) bucket. It looks something like this: s3://doc-example-bucket-123456/flight_etl_job_script.py. + // Upload Python ETL script to the user's Amazon Simple Storage Service (Amazon S3) bucket. It looks something like this: s3://amzn-s3-demo-bucket-123456/flight_etl_job_script.py. // Create a job, pass it the AWS Identity and Access Management (IAM) role and the URL to the uploaded script. #[instrument(skip(self))] pub async fn prepare_job(self: &GlueScenario) -> Result { diff --git a/examples/examples/s3/src/bin/s3-getting-started.rs b/examples/examples/s3/src/bin/s3-getting-started.rs index 0f7c756998f8..caee38ea25ee 100644 --- a/examples/examples/s3/src/bin/s3-getting-started.rs +++ b/examples/examples/s3/src/bin/s3-getting-started.rs @@ -23,7 +23,7 @@ async fn main() -> Result<(), S3ExampleError> { let region = region_provider.region().await.unwrap(); let shared_config = aws_config::from_env().region(region_provider).load().await; let client = Client::new(&shared_config); - let bucket_name = format!("doc-example-bucket-{}", Uuid::new_v4()); + let bucket_name = format!("amzn-s3-demo-bucket-{}", Uuid::new_v4()); let file_name = "s3/testfile.txt".to_string(); let key = "test file key name".to_string(); let target_key = "target_key".to_string(); diff --git a/examples/examples/s3/src/bin/s3-multipart-upload.rs b/examples/examples/s3/src/bin/s3-multipart-upload.rs index ef6b97aacb27..2decd5ec60bb 100644 --- a/examples/examples/s3/src/bin/s3-multipart-upload.rs +++ b/examples/examples/s3/src/bin/s3-multipart-upload.rs @@ -39,7 +39,7 @@ async fn run_example() -> Result<(), S3ExampleError> { let shared_config = aws_config::load_from_env().await; let client = S3Client::new(&shared_config); - let bucket_name = format!("doc-example-bucket-{}", Uuid::new_v4()); + let bucket_name = format!("amzn-s3-demo-bucket-{}", Uuid::new_v4()); let region_provider = RegionProviderChain::first_try(Region::new("us-west-2")); let region = region_provider.region().await.unwrap(); s3_code_examples::create_bucket(&client, &bucket_name, ®ion).await?; diff --git a/examples/examples/s3/tests/test-s3-getting-started.rs b/examples/examples/s3/tests/test-s3-getting-started.rs index 879ab73d9e52..a3964e2f0a86 100644 --- a/examples/examples/s3/tests/test-s3-getting-started.rs +++ b/examples/examples/s3/tests/test-s3-getting-started.rs @@ -40,7 +40,7 @@ async fn setup() -> (Region, Client, String, String, String, String) { let shared_config = aws_config::from_env().region(region_provider).load().await; let client = Client::new(&shared_config); - let bucket_name = format!("{}{}", "doc-example-bucket-", Uuid::new_v4()); + let bucket_name = format!("{}{}", "amzn-s3-demo-bucket-", Uuid::new_v4()); let file_name = "../s3/testfile.txt".to_string(); let key = "test file key name".to_string(); let target_key = "target_key".to_string(); diff --git a/examples/examples/ses/Cargo.toml b/examples/examples/ses/Cargo.toml index 6a9e71723bd5..a72aaaf311a8 100644 --- a/examples/examples/ses/Cargo.toml +++ b/examples/examples/ses/Cargo.toml @@ -10,9 +10,9 @@ publish = false anyhow = "1.0.81" tracing = "0.1.40" tmpfile = "0.0.2" +aws-smithy-http = { version = "0.60.11", path = "../../../sdk/aws-smithy-http" } +aws-smithy-mocks-experimental = { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" } open = "5.1.2" -aws-smithy-http= { version = "0.60.11", path = "../../../sdk/aws-smithy-http" } -aws-smithy-mocks-experimental= { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" } aws-config= { version = "1.5.6", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-sesv2= { version = "1.46.0", path = "../../../sdk/sesv2", features = ["test-util"] } diff --git a/versions.toml b/versions.toml index d84a3b8b3698..2adf8acf9d95 100644 --- a/versions.toml +++ b/versions.toml @@ -1,5 +1,5 @@ smithy_rs_revision = 'e96640bd33df40026447b9e3f826144f8e3c7724' -aws_doc_sdk_examples_revision = '6a5af5c0dc35de568020851a01e70b207343cc4a' +aws_doc_sdk_examples_revision = '6eb03e5476ee55df5872b8a8de90b235a3503145' [manual_interventions] crates_to_remove = []