Skip to content

Commit

Permalink
[smithy-rs] Rollup of 2 commits
Browse files Browse the repository at this point in the history
Includes commits:
  c622e5e9 Update Smoketest codegen to be endpoint param aware (#3836)
  e96640bd Update changelog

Co-authored-by: AWS SDK Rust Bot <aws-sdk-rust-primary@amazon.com>
Co-authored-by: Landon James <lnj@amazon.com>
  • Loading branch information
aws-sdk-rust-ci and landonxjames committed Sep 17, 2024
1 parent 494ca1a commit 0372727
Show file tree
Hide file tree
Showing 59 changed files with 193 additions and 193 deletions.
6 changes: 3 additions & 3 deletions sdk/acm/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_acm::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_get_certificate_failure() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand All @@ -35,7 +35,7 @@ async fn test_list_certificates_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/apigateway/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_apigateway::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_get_domain_names_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/applicationautoscaling/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_applicationautoscaling::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_scalable_targets_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/applicationdiscovery/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_applicationdiscovery::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_agents_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/appstream/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_appstream::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_stacks_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/athena/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_athena::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_list_named_queries_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/autoscaling/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_autoscaling::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_scaling_process_types_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/batch/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_batch::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_compute_environments_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/cloudtrail/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_cloudtrail::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_trails_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/cloudwatch/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_cloudwatch::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_list_metrics_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
6 changes: 3 additions & 3 deletions sdk/cloudwatchlogs/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_cloudwatchlogs::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_log_groups_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand All @@ -29,7 +29,7 @@ async fn test_get_log_events_failure() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/codebuild/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_codebuild::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_list_builds_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/codedeploy/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_codedeploy::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_list_applications_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
6 changes: 3 additions & 3 deletions sdk/codepipeline/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_codepipeline::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_get_pipeline_failure() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand All @@ -33,7 +33,7 @@ async fn test_list_pipelines_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/cognitoidentity/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_cognitoidentity::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_list_identity_pools_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/cognitoidentityprovider/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_cognitoidentityprovider::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_list_user_pools_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/config/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_config::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_configuration_recorders_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/costandusagereport/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_costandusagereport::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_report_definitions_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-east-1"))
.region(::aws_types::region::Region::new("us-east-1"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
4 changes: 2 additions & 2 deletions sdk/databasemigration/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_databasemigration::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_endpoints_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
6 changes: 3 additions & 3 deletions sdk/directconnect/tests/smoketests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! they are disabled by default. To enable them, run the tests with
//!
//! ```sh
//! RUSTFLAGS="--cfg smoketests" cargo test.
//! RUSTFLAGS="--cfg smoketests" cargo test
//! ```
//!
use aws_sdk_directconnect::{config, Client};
Expand All @@ -15,7 +15,7 @@ async fn test_describe_connections_success() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand All @@ -28,7 +28,7 @@ async fn test_describe_connections_failure() {
let config = ::aws_config::load_defaults(config::BehaviorVersion::latest()).await;
let conf = config::Config::from(&config)
.to_builder()
.region(config::Region::new("us-west-2"))
.region(::aws_types::region::Region::new("us-west-2"))
.use_dual_stack(false)
.use_fips(false)
.build();
Expand Down
Loading

0 comments on commit 0372727

Please sign in to comment.