diff --git a/README.md b/README.md index 42b054f2de93..991ff50add96 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The SDK provides one crate per AWS service. You must add [Tokio](https://crates. ```toml [dependencies] - aws-config = { version= "1.5.13", features = ["behavior-version-latest"] } + aws-config = { version= "1.5.14", features = ["behavior-version-latest"] } aws-sdk-dynamodb = "1.60.0" tokio = { version = "1", features = ["full"] } ``` diff --git a/examples/cross_service/detect_faces/Cargo.toml b/examples/cross_service/detect_faces/Cargo.toml index 5ca480580451..48d4e5460895 100644 --- a/examples/cross_service/detect_faces/Cargo.toml +++ b/examples/cross_service/detect_faces/Cargo.toml @@ -6,10 +6,10 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" } aws-sdk-rekognition= { version = "1.57.0", path = "../../../sdk/rekognition" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types", features = ["rt-tokio"] } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types", features = ["rt-tokio"] } [dependencies.tokio] version = "1.20.1" diff --git a/examples/cross_service/detect_labels/Cargo.toml b/examples/cross_service/detect_labels/Cargo.toml index f9c02a0bcf4a..402f7055ee8e 100644 --- a/examples/cross_service/detect_labels/Cargo.toml +++ b/examples/cross_service/detect_labels/Cargo.toml @@ -7,12 +7,12 @@ publish = false [dependencies] kamadak-exif = "0.5.4" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" } aws-sdk-dynamodb= { version = "1.60.0", path = "../../../sdk/dynamodb" } aws-sdk-rekognition= { version = "1.57.0", path = "../../../sdk/rekognition" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types", features = ["rt-tokio"] } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types", features = ["rt-tokio"] } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/cross_service/photo_asset_management/Cargo.toml b/examples/cross_service/photo_asset_management/Cargo.toml index fd523fc5f1fd..38ac15f49718 100644 --- a/examples/cross_service/photo_asset_management/Cargo.toml +++ b/examples/cross_service/photo_asset_management/Cargo.toml @@ -30,12 +30,12 @@ streaming-zip = "0.5.0" tempfile = "3.5.0" tokio-stream = "0.1.12" tracing = "0.1.37" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" } aws-sdk-dynamodb= { version = "1.60.0", path = "../../../sdk/dynamodb" } aws-sdk-rekognition= { version = "1.57.0", path = "../../../sdk/rekognition" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } aws-sdk-sns= { version = "1.55.0", path = "../../../sdk/sns" } -aws-smithy-runtime= { version = "1.7.6", path = "../../../sdk/aws-smithy-runtime" } +aws-smithy-runtime= { version = "1.7.7", path = "../../../sdk/aws-smithy-runtime" } aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] } [dependencies.aws_lambda_events] diff --git a/examples/cross_service/photo_asset_management/integration/Cargo.toml b/examples/cross_service/photo_asset_management/integration/Cargo.toml index 322bde40f029..1f7061aa664a 100644 --- a/examples/cross_service/photo_asset_management/integration/Cargo.toml +++ b/examples/cross_service/photo_asset_management/integration/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] tracing = "0.1.37" -aws-config= { version = "1.5.13", path = "../../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../../sdk/aws-config" } aws-sdk-dynamodb= { version = "1.60.0", path = "../../../../sdk/dynamodb" } aws-sdk-rekognition= { version = "1.57.0", path = "../../../../sdk/rekognition" } diff --git a/examples/cross_service/rest_ses/Cargo.toml b/examples/cross_service/rest_ses/Cargo.toml index c6ede97235f1..a04855dc007b 100644 --- a/examples/cross_service/rest_ses/Cargo.toml +++ b/examples/cross_service/rest_ses/Cargo.toml @@ -29,12 +29,12 @@ tracing-actix-web = "0.7.3" tracing-bunyan-formatter = "0.3.4" tracing-log = "0.1.3" xlsxwriter = "0.6.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" } aws-sdk-cloudwatchlogs= { version = "1.65.0", path = "../../../sdk/cloudwatchlogs" } aws-sdk-rdsdata= { version = "1.55.0", path = "../../../sdk/rdsdata" } aws-sdk-ses= { version = "1.57.0", path = "../../../sdk/ses" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types" } -aws-smithy-runtime= { version = "1.7.6", path = "../../../sdk/aws-smithy-runtime" } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } +aws-smithy-runtime= { version = "1.7.7", path = "../../../sdk/aws-smithy-runtime" } [dependencies.chrono] version = "0.4.22" @@ -69,7 +69,7 @@ features = ["v4", "serde"] once_cell = "1.15.0" rand = "0.8.5" wiremock = "0.5.15" -aws-smithy-runtime= { version = "1.7.6", path = "../../../sdk/aws-smithy-runtime" } +aws-smithy-runtime= { version = "1.7.7", path = "../../../sdk/aws-smithy-runtime" } [dev-dependencies.fake] version = "2.5.0" diff --git a/examples/cross_service/telephone/Cargo.toml b/examples/cross_service/telephone/Cargo.toml index a9f84e15a4e7..7cb0d78bff8a 100644 --- a/examples/cross_service/telephone/Cargo.toml +++ b/examples/cross_service/telephone/Cargo.toml @@ -11,11 +11,11 @@ anyhow = "1" bytes = "1" reqwest = "0.11.4" serde_json = "1.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" } aws-sdk-polly= { version = "1.56.0", path = "../../../sdk/polly" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } aws-sdk-transcribe= { version = "1.56.0", path = "../../../sdk/transcribe" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types", features = ["rt-tokio"] } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types", features = ["rt-tokio"] } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/apigateway/Cargo.toml b/examples/examples/apigateway/Cargo.toml index 09d19d322ca1..bfdb540abed8 100644 --- a/examples/examples/apigateway/Cargo.toml +++ b/examples/examples/apigateway/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] thiserror = "1.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-apigateway= { version = "1.56.0", path = "../../../sdk/apigateway" } aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] } diff --git a/examples/examples/apigatewaymanagement/Cargo.toml b/examples/examples/apigatewaymanagement/Cargo.toml index 57253275ada8..8b99787bcecc 100644 --- a/examples/examples/apigatewaymanagement/Cargo.toml +++ b/examples/examples/apigatewaymanagement/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] http = "0.2.5" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-apigatewaymanagement= { version = "1.54.0", path = "../../../sdk/apigatewaymanagement" } [dependencies.tokio] diff --git a/examples/examples/applicationautoscaling/Cargo.toml b/examples/examples/applicationautoscaling/Cargo.toml index c9d37d48bf8a..665d13cb87b3 100644 --- a/examples/examples/applicationautoscaling/Cargo.toml +++ b/examples/examples/applicationautoscaling/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-applicationautoscaling= { version = "1.59.0", path = "../../../sdk/applicationautoscaling" } [dependencies.tokio] diff --git a/examples/examples/aurora/Cargo.toml b/examples/examples/aurora/Cargo.toml index f3a38e4bdfc1..384e2e3096fa 100644 --- a/examples/examples/aurora/Cargo.toml +++ b/examples/examples/aurora/Cargo.toml @@ -13,8 +13,8 @@ inquire = "0.6.2" mockall = "0.11.4" secrecy = "0.8.0" tracing = "0.1.37" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" } aws-sdk-rds= { version = "1.73.0", path = "../../../sdk/rds" } diff --git a/examples/examples/auto-scaling/Cargo.toml b/examples/examples/auto-scaling/Cargo.toml index d8e7c1941fc8..cf4c4ab76671 100644 --- a/examples/examples/auto-scaling/Cargo.toml +++ b/examples/examples/auto-scaling/Cargo.toml @@ -10,10 +10,10 @@ publish = false anyhow = "1.0.75" tracing = "0.1.37" tokio-stream = "0.1.14" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-autoscaling= { version = "1.62.0", path = "../../../sdk/autoscaling" } aws-sdk-ec2= { version = "1.102.0", path = "../../../sdk/ec2" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/autoscalingplans/Cargo.toml b/examples/examples/autoscalingplans/Cargo.toml index 84496a71d46b..7b1f36804837 100644 --- a/examples/examples/autoscalingplans/Cargo.toml +++ b/examples/examples/autoscalingplans/Cargo.toml @@ -8,8 +8,8 @@ publish = false [dependencies] aws-sdk-autoscalingplans= { version = "1.54.0", path = "../../../sdk/autoscalingplans" } -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/batch/Cargo.toml b/examples/examples/batch/Cargo.toml index 4740ddd039ab..ed1aa7deb667 100644 --- a/examples/examples/batch/Cargo.toml +++ b/examples/examples/batch/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-batch= { version = "1.63.0", path = "../../../sdk/batch" } [dependencies.tokio] diff --git a/examples/examples/bedrock-runtime/Cargo.toml b/examples/examples/bedrock-runtime/Cargo.toml index f2fd87293554..684fc6c24d2a 100644 --- a/examples/examples/bedrock-runtime/Cargo.toml +++ b/examples/examples/bedrock-runtime/Cargo.toml @@ -11,10 +11,10 @@ serde = "1.0.204" serde_json = "1.0.120" tracing = "0.1.40" tracing-subscriber = "0.3.18" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" } aws-sdk-bedrockruntime= { version = "1.68.0", path = "../../../sdk/bedrockruntime" } aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types" } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } [dependencies.tokio] version = "1.38.1" diff --git a/examples/examples/cloudformation/Cargo.toml b/examples/examples/cloudformation/Cargo.toml index cf73d4493693..df89d1c37083 100644 --- a/examples/examples/cloudformation/Cargo.toml +++ b/examples/examples/cloudformation/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-cloudformation= { version = "1.60.0", path = "../../../sdk/cloudformation" } [dependencies.tokio] diff --git a/examples/examples/cloudwatch/Cargo.toml b/examples/examples/cloudwatch/Cargo.toml index 31c8fdcc829f..179fffff9a61 100644 --- a/examples/examples/cloudwatch/Cargo.toml +++ b/examples/examples/cloudwatch/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-cloudwatch= { version = "1.60.0", path = "../../../sdk/cloudwatch" } [dependencies.tokio] diff --git a/examples/examples/cloudwatchlogs/Cargo.toml b/examples/examples/cloudwatchlogs/Cargo.toml index 71f8dac5cae6..78c0b64fee03 100644 --- a/examples/examples/cloudwatchlogs/Cargo.toml +++ b/examples/examples/cloudwatchlogs/Cargo.toml @@ -11,9 +11,9 @@ chrono = "0.4.32" tracing = "0.1.40" async-recursion = "1.0.5" futures = "0.3.30" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-cloudwatchlogs= { version = "1.65.0", path = "../../../sdk/cloudwatchlogs", features = ["test-util"] } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/cognitoidentity/Cargo.toml b/examples/examples/cognitoidentity/Cargo.toml index 0692a910a9b9..e1ab667cb8b5 100644 --- a/examples/examples/cognitoidentity/Cargo.toml +++ b/examples/examples/cognitoidentity/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] chrono = "0.4" thiserror = "1.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-cognitoidentity= { version = "1.55.0", path = "../../../sdk/cognitoidentity" } aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] } diff --git a/examples/examples/cognitoidentityprovider/Cargo.toml b/examples/examples/cognitoidentityprovider/Cargo.toml index 4e835b1feb58..22b61caa089b 100644 --- a/examples/examples/cognitoidentityprovider/Cargo.toml +++ b/examples/examples/cognitoidentityprovider/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] thiserror = "1.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-cognitoidentityprovider= { version = "1.64.0", path = "../../../sdk/cognitoidentityprovider" } aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] } diff --git a/examples/examples/cognitosync/Cargo.toml b/examples/examples/cognitosync/Cargo.toml index 86f76dbf40c0..f49bf83be246 100644 --- a/examples/examples/cognitosync/Cargo.toml +++ b/examples/examples/cognitosync/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] thiserror = "1.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-cognitosync= { version = "1.54.0", path = "../../../sdk/cognitosync" } aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] } diff --git a/examples/examples/concurrency/Cargo.toml b/examples/examples/concurrency/Cargo.toml index 385f55b95995..9f6d5e8b1ec0 100644 --- a/examples/examples/concurrency/Cargo.toml +++ b/examples/examples/concurrency/Cargo.toml @@ -25,6 +25,6 @@ features = ["env-filter"] [dev-dependencies] fastrand = "1.8.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } aws-sdk-sqs= { version = "1.54.0", path = "../../../sdk/sqs" } diff --git a/examples/examples/config/Cargo.toml b/examples/examples/config/Cargo.toml index 6a534140d021..f6d1d819eddd 100644 --- a/examples/examples/config/Cargo.toml +++ b/examples/examples/config/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-config= { version = "1.57.0", path = "../../../sdk/config" } [dependencies.tokio] diff --git a/examples/examples/custom-root-certificates/Cargo.toml b/examples/examples/custom-root-certificates/Cargo.toml index bd469afe21a6..b0c62c916035 100644 --- a/examples/examples/custom-root-certificates/Cargo.toml +++ b/examples/examples/custom-root-certificates/Cargo.toml @@ -9,9 +9,9 @@ publish = false [dependencies] rustls = "0.21.9" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3", default-features = false } -aws-smithy-runtime= { version = "1.7.6", path = "../../../sdk/aws-smithy-runtime", features = ["tls-rustls"] } +aws-smithy-runtime= { version = "1.7.7", path = "../../../sdk/aws-smithy-runtime", features = ["tls-rustls"] } [dependencies.tokio] version = "1.21.2" diff --git a/examples/examples/dynamodb/Cargo.toml b/examples/examples/dynamodb/Cargo.toml index 1ad428bc86e3..4691a8412b58 100644 --- a/examples/examples/dynamodb/Cargo.toml +++ b/examples/examples/dynamodb/Cargo.toml @@ -16,11 +16,11 @@ serde_json = "1" thiserror = "1.0" tokio-stream = "0.1.8" tracing = "0.1" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-http= { version = "0.60.6", path = "../../../sdk/aws-http" } aws-sdk-dynamodb= { version = "1.60.0", path = "../../../sdk/dynamodb" } -aws-smithy-runtime= { version = "1.7.6", path = "../../../sdk/aws-smithy-runtime", features = ["test-util"] } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types" } +aws-smithy-runtime= { version = "1.7.7", path = "../../../sdk/aws-smithy-runtime", features = ["test-util"] } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } [dependencies.clap] version = "4.4" diff --git a/examples/examples/ebs/Cargo.toml b/examples/examples/ebs/Cargo.toml index e54480b71a39..30d6c23dadfa 100644 --- a/examples/examples/ebs/Cargo.toml +++ b/examples/examples/ebs/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] base64 = "0.13.0" sha2 = "0.9.5" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-ebs= { version = "1.54.0", path = "../../../sdk/ebs" } aws-sdk-ec2= { version = "1.102.0", path = "../../../sdk/ec2" } diff --git a/examples/examples/ec2/Cargo.toml b/examples/examples/ec2/Cargo.toml index f6610833d619..874552f36bca 100644 --- a/examples/examples/ec2/Cargo.toml +++ b/examples/examples/ec2/Cargo.toml @@ -13,10 +13,10 @@ inquire = "0.7.5" reqwest = "0.12.5" aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" } aws-sdk-ssm= { version = "1.60.0", path = "../../../sdk/ssm" } -aws-smithy-async= { version = "1.2.3", path = "../../../sdk/aws-smithy-async" } -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-smithy-async= { version = "1.2.4", path = "../../../sdk/aws-smithy-async" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-ec2= { version = "1.102.0", path = "../../../sdk/ec2" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/ecr/Cargo.toml b/examples/examples/ecr/Cargo.toml index 917235e7c23b..b2400d4601dc 100644 --- a/examples/examples/ecr/Cargo.toml +++ b/examples/examples/ecr/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-ecr= { version = "1.58.0", path = "../../../sdk/ecr" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/ecs/Cargo.toml b/examples/examples/ecs/Cargo.toml index 8744f4dce0e7..9ee00483868e 100644 --- a/examples/examples/ecs/Cargo.toml +++ b/examples/examples/ecs/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-ecs= { version = "1.62.0", path = "../../../sdk/ecs" } [dependencies.tokio] diff --git a/examples/examples/eks/Cargo.toml b/examples/examples/eks/Cargo.toml index cf955b798811..6953deefb1bc 100644 --- a/examples/examples/eks/Cargo.toml +++ b/examples/examples/eks/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-eks= { version = "1.67.0", path = "../../../sdk/eks" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/firehose/Cargo.toml b/examples/examples/firehose/Cargo.toml index 907661a07bb6..72093bf56690 100644 --- a/examples/examples/firehose/Cargo.toml +++ b/examples/examples/firehose/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-firehose= { version = "1.60.0", path = "../../../sdk/firehose" } [dependencies.tokio] diff --git a/examples/examples/globalaccelerator/Cargo.toml b/examples/examples/globalaccelerator/Cargo.toml index 44683a7ce1ba..217e867c4033 100644 --- a/examples/examples/globalaccelerator/Cargo.toml +++ b/examples/examples/globalaccelerator/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] tokio-stream = "0.1.8" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-globalaccelerator= { version = "1.56.0", path = "../../../sdk/globalaccelerator" } [dependencies.tokio] diff --git a/examples/examples/glue/Cargo.toml b/examples/examples/glue/Cargo.toml index 886a52b84ec1..df38fa067ccc 100644 --- a/examples/examples/glue/Cargo.toml +++ b/examples/examples/glue/Cargo.toml @@ -18,12 +18,12 @@ thiserror = "1.0.37" secrecy = "0.8.0" futures = "0.3.25" tracing-bunyan-formatter = "0.3.4" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-glue= { version = "1.77.0", path = "../../../sdk/glue" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } aws-http= { version = "0.60.6", path = "../../../sdk/aws-http" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/greengrassv2/Cargo.toml b/examples/examples/greengrassv2/Cargo.toml index 2067f55943ed..8bd49fa2476e 100644 --- a/examples/examples/greengrassv2/Cargo.toml +++ b/examples/examples/greengrassv2/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-greengrassv2= { version = "1.55.0", path = "../../../sdk/greengrassv2" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1" diff --git a/examples/examples/iam/Cargo.toml b/examples/examples/iam/Cargo.toml index 658cd88cd0f7..47f013f32b36 100644 --- a/examples/examples/iam/Cargo.toml +++ b/examples/examples/iam/Cargo.toml @@ -21,7 +21,7 @@ http = "0.2.8" futures = "0.3.28" async_once = "0.2.6" lazy_static = "1.4.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-credential-types= { version = "1.2.1", path = "../../../sdk/aws-credential-types", features = ["hardcoded-credentials"] } aws-sdk-iam= { version = "1.57.0", path = "../../../sdk/iam" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } diff --git a/examples/examples/iot/Cargo.toml b/examples/examples/iot/Cargo.toml index cc962a83ebcd..bda6c70e0974 100644 --- a/examples/examples/iot/Cargo.toml +++ b/examples/examples/iot/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-iot= { version = "1.62.0", path = "../../../sdk/iot" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.20.1" diff --git a/examples/examples/kinesis/Cargo.toml b/examples/examples/kinesis/Cargo.toml index c01a61946f25..325ea08f5c35 100644 --- a/examples/examples/kinesis/Cargo.toml +++ b/examples/examples/kinesis/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-kinesis= { version = "1.56.0", path = "../../../sdk/kinesis" } [dependencies.tokio] diff --git a/examples/examples/kms/Cargo.toml b/examples/examples/kms/Cargo.toml index 2d2092da0c95..100e7eeb2f6c 100644 --- a/examples/examples/kms/Cargo.toml +++ b/examples/examples/kms/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] base64 = "0.13.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-kms= { version = "1.55.0", path = "../../../sdk/kms" } [dependencies.tokio] diff --git a/examples/examples/lambda/Cargo.toml b/examples/examples/lambda/Cargo.toml index 222a65cab40f..39b43bedd518 100644 --- a/examples/examples/lambda/Cargo.toml +++ b/examples/examples/lambda/Cargo.toml @@ -11,13 +11,13 @@ serde_json = "1.0.94" anyhow = "1.0.71" lambda_runtime = "0.8.0" serde = "1.0.164" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-ec2= { version = "1.102.0", path = "../../../sdk/ec2" } aws-sdk-iam= { version = "1.57.0", path = "../../../sdk/iam" } aws-sdk-lambda= { version = "1.64.0", path = "../../../sdk/lambda" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.clap] version = "4.4" diff --git a/examples/examples/localstack/Cargo.toml b/examples/examples/localstack/Cargo.toml index e3e2b89bed25..7babe0581849 100644 --- a/examples/examples/localstack/Cargo.toml +++ b/examples/examples/localstack/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } [dependencies.tokio] diff --git a/examples/examples/logging/logger/Cargo.toml b/examples/examples/logging/logger/Cargo.toml index c94653e33b82..4d2e560d5309 100644 --- a/examples/examples/logging/logger/Cargo.toml +++ b/examples/examples/logging/logger/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] env_logger = "0.9.0" -aws-config= { version = "1.5.13", path = "../../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-dynamodb= { version = "1.60.0", path = "../../../../sdk/dynamodb" } [dependencies.clap] diff --git a/examples/examples/logging/tracing/Cargo.toml b/examples/examples/logging/tracing/Cargo.toml index d468738803a3..c0ec4c68504f 100644 --- a/examples/examples/logging/tracing/Cargo.toml +++ b/examples/examples/logging/tracing/Cargo.toml @@ -7,7 +7,7 @@ version = "0.1.0" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-dynamodb= { version = "1.60.0", path = "../../../../sdk/dynamodb" } [dependencies.clap] diff --git a/examples/examples/medialive/Cargo.toml b/examples/examples/medialive/Cargo.toml index f6ef9629fa27..8b32eb3c4d24 100644 --- a/examples/examples/medialive/Cargo.toml +++ b/examples/examples/medialive/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-medialive= { version = "1.67.0", path = "../../../sdk/medialive" } [dependencies.tokio] diff --git a/examples/examples/mediapackage/Cargo.toml b/examples/examples/mediapackage/Cargo.toml index e80bd44bf05a..1b55b4dc7deb 100644 --- a/examples/examples/mediapackage/Cargo.toml +++ b/examples/examples/mediapackage/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-mediapackage= { version = "1.54.0", path = "../../../sdk/mediapackage" } [dependencies.tokio] diff --git a/examples/examples/polly/Cargo.toml b/examples/examples/polly/Cargo.toml index 57c6b2318b9a..5c332de02a1a 100644 --- a/examples/examples/polly/Cargo.toml +++ b/examples/examples/polly/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] bytes = "1" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-polly= { version = "1.56.0", path = "../../../sdk/polly" } [dependencies.tokio] diff --git a/examples/examples/qldb/Cargo.toml b/examples/examples/qldb/Cargo.toml index 1dc2ebe41896..9e15fc43d4d9 100644 --- a/examples/examples/qldb/Cargo.toml +++ b/examples/examples/qldb/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-qldb= { version = "1.54.0", path = "../../../sdk/qldb" } aws-sdk-qldbsession= { version = "1.54.0", path = "../../../sdk/qldbsession" } diff --git a/examples/examples/rds/Cargo.toml b/examples/examples/rds/Cargo.toml index 142338093bb3..d3d552c6595f 100644 --- a/examples/examples/rds/Cargo.toml +++ b/examples/examples/rds/Cargo.toml @@ -14,7 +14,7 @@ inquire = "0.6.2" mockall = "0.11.4" secrecy = "0.8.0" tracing = "0.1.37" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api" } aws-sdk-rds= { version = "1.73.0", path = "../../../sdk/rds" } diff --git a/examples/examples/rdsdata/Cargo.toml b/examples/examples/rdsdata/Cargo.toml index aae774c99d5f..0ad10857764b 100644 --- a/examples/examples/rdsdata/Cargo.toml +++ b/examples/examples/rdsdata/Cargo.toml @@ -7,7 +7,7 @@ version = "0.1.0" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-rdsdata= { version = "1.55.0", path = "../../../sdk/rdsdata" } [dependencies.tokio] diff --git a/examples/examples/route53/Cargo.toml b/examples/examples/route53/Cargo.toml index b55b5cb50db7..6099bc589d52 100644 --- a/examples/examples/route53/Cargo.toml +++ b/examples/examples/route53/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-route53= { version = "1.60.0", path = "../../../sdk/route53" } [dependencies.tokio] diff --git a/examples/examples/s3/Cargo.toml b/examples/examples/s3/Cargo.toml index 3faba44fcd70..547df8993a6f 100644 --- a/examples/examples/s3/Cargo.toml +++ b/examples/examples/s3/Cargo.toml @@ -23,11 +23,11 @@ tokio-stream = "0.1.8" tracing = "0.1.37" serde_json = "1" chrono = "0.4.38" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3", features = ["rt-tokio"] } -aws-smithy-runtime= { version = "1.7.6", path = "../../../sdk/aws-smithy-runtime" } +aws-smithy-runtime= { version = "1.7.7", path = "../../../sdk/aws-smithy-runtime" } aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api", features = ["client"] } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types", features = ["http-body-0-4-x"] } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types", features = ["http-body-0-4-x"] } [dependencies.sdk-examples-test-utils] path = "../../test-utils" diff --git a/examples/examples/sagemaker/Cargo.toml b/examples/examples/sagemaker/Cargo.toml index 31447b5f0a2e..aca34223a800 100644 --- a/examples/examples/sagemaker/Cargo.toml +++ b/examples/examples/sagemaker/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] thiserror = "1.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-sagemaker= { version = "1.96.0", path = "../../../sdk/sagemaker" } aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] } diff --git a/examples/examples/sdk-config/Cargo.toml b/examples/examples/sdk-config/Cargo.toml index a0c926b9aae4..c11fea5277e0 100644 --- a/examples/examples/sdk-config/Cargo.toml +++ b/examples/examples/sdk-config/Cargo.toml @@ -10,7 +10,7 @@ publish = false lazy_static = "1.4.0" async_once = "0.2.6" tracing = "0.1.37" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-credential-types= { version = "1.2.1", path = "../../../sdk/aws-credential-types" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } diff --git a/examples/examples/secretsmanager/Cargo.toml b/examples/examples/secretsmanager/Cargo.toml index 474fd5f95a58..d556104e7c1a 100644 --- a/examples/examples/secretsmanager/Cargo.toml +++ b/examples/examples/secretsmanager/Cargo.toml @@ -8,7 +8,7 @@ description = "Example usage of the SecretManager service" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-secretsmanager= { version = "1.58.0", path = "../../../sdk/secretsmanager" } [dependencies.tokio] diff --git a/examples/examples/sending-presigned-requests/Cargo.toml b/examples/examples/sending-presigned-requests/Cargo.toml index 78ed88d9c338..17f9ad53addb 100644 --- a/examples/examples/sending-presigned-requests/Cargo.toml +++ b/examples/examples/sending-presigned-requests/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] hyper-tls = "0.6.0" reqwest = "0.12.9" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3", features = ["http-1x"] } [dependencies.clap] diff --git a/examples/examples/ses/Cargo.toml b/examples/examples/ses/Cargo.toml index 6e72c6296af3..4f4a82778a87 100644 --- a/examples/examples/ses/Cargo.toml +++ b/examples/examples/ses/Cargo.toml @@ -11,9 +11,9 @@ anyhow = "1.0.81" tracing = "0.1.40" tmpfile = "0.0.2" open = "5.1.2" -aws-smithy-http= { version = "0.60.11", path = "../../../sdk/aws-smithy-http" } +aws-smithy-http= { version = "0.60.12", path = "../../../sdk/aws-smithy-http" } aws-smithy-mocks-experimental= { version = "0.2.1", path = "../../../sdk/aws-smithy-mocks-experimental" } -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-sesv2= { version = "1.61.0", path = "../../../sdk/sesv2", features = ["test-util"] } [dependencies.tokio] diff --git a/examples/examples/sitewise/Cargo.toml b/examples/examples/sitewise/Cargo.toml index 71f70c979a18..ecc3fe8f7662 100644 --- a/examples/examples/sitewise/Cargo.toml +++ b/examples/examples/sitewise/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] thiserror = "1.0" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-iotsitewise= { version = "1.57.0", path = "../../../sdk/iotsitewise" } aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] } diff --git a/examples/examples/snowball/Cargo.toml b/examples/examples/snowball/Cargo.toml index b854bd38b5a0..82fa5a850fad 100644 --- a/examples/examples/snowball/Cargo.toml +++ b/examples/examples/snowball/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-snowball= { version = "1.54.0", path = "../../../sdk/snowball" } [dependencies.tokio] diff --git a/examples/examples/sns/Cargo.toml b/examples/examples/sns/Cargo.toml index 9194c4e5bdc2..3894120de37f 100644 --- a/examples/examples/sns/Cargo.toml +++ b/examples/examples/sns/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-sns= { version = "1.55.0", path = "../../../sdk/sns" } [dependencies.tokio] diff --git a/examples/examples/sqs/Cargo.toml b/examples/examples/sqs/Cargo.toml index 39750178fb49..b85e1ea9ad88 100644 --- a/examples/examples/sqs/Cargo.toml +++ b/examples/examples/sqs/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-sqs= { version = "1.54.0", path = "../../../sdk/sqs" } [dependencies.tokio] diff --git a/examples/examples/ssm/Cargo.toml b/examples/examples/ssm/Cargo.toml index 1beb14ef2729..01557f11102b 100644 --- a/examples/examples/ssm/Cargo.toml +++ b/examples/examples/ssm/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-ssm= { version = "1.60.0", path = "../../../sdk/ssm" } [dependencies.tokio] diff --git a/examples/examples/stepfunction/Cargo.toml b/examples/examples/stepfunction/Cargo.toml index 08a73300a9a2..5c31e88005f7 100644 --- a/examples/examples/stepfunction/Cargo.toml +++ b/examples/examples/stepfunction/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-sfn= { version = "1.58.0", path = "../../../sdk/sfn" } [dependencies.tokio] diff --git a/examples/examples/sts/Cargo.toml b/examples/examples/sts/Cargo.toml index fb3c8c1fad26..b33106089d64 100644 --- a/examples/examples/sts/Cargo.toml +++ b/examples/examples/sts/Cargo.toml @@ -7,10 +7,10 @@ edition = "2021" publish = false [dependencies] -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-sts= { version = "1.55.0", path = "../../../sdk/sts" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.clap] version = "4.4" diff --git a/examples/examples/testing/Cargo.toml b/examples/examples/testing/Cargo.toml index b5f820f42823..bbc8b462af17 100644 --- a/examples/examples/testing/Cargo.toml +++ b/examples/examples/testing/Cargo.toml @@ -15,13 +15,13 @@ async-trait = "0.1.51" http = "0.2.9" mockall = "0.11.4" serde_json = "1" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-credential-types= { version = "1.2.1", path = "../../../sdk/aws-credential-types", features = ["hardcoded-credentials"] } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } -aws-smithy-types= { version = "1.2.11", path = "../../../sdk/aws-smithy-types" } -aws-smithy-runtime= { version = "1.7.6", path = "../../../sdk/aws-smithy-runtime", features = ["test-util"] } +aws-smithy-types= { version = "1.2.12", path = "../../../sdk/aws-smithy-types" } +aws-smithy-runtime= { version = "1.7.7", path = "../../../sdk/aws-smithy-runtime", features = ["test-util"] } aws-smithy-runtime-api= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime-api", features = ["test-util"] } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.clap] version = "4.4" diff --git a/examples/examples/textract/Cargo.toml b/examples/examples/textract/Cargo.toml index fa531f8b9ecb..406cc9bbd819 100644 --- a/examples/examples/textract/Cargo.toml +++ b/examples/examples/textract/Cargo.toml @@ -8,9 +8,9 @@ publish = false [dependencies] thiserror = "1.0.49" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-textract= { version = "1.54.0", path = "../../../sdk/textract" } -aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" } +aws-types= { version = "1.3.4", path = "../../../sdk/aws-types" } [dependencies.tokio] version = "1.27" diff --git a/examples/examples/tls/Cargo.toml b/examples/examples/tls/Cargo.toml index b79a060942fb..68a402b8515a 100644 --- a/examples/examples/tls/Cargo.toml +++ b/examples/examples/tls/Cargo.toml @@ -16,8 +16,8 @@ path = "src/lib.rs" [dependencies] webpki-roots = "0.22.4" rustls = "0.20.6" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } -aws-smithy-runtime= { version = "1.7.6", path = "../../../sdk/aws-smithy-runtime" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-smithy-runtime= { version = "1.7.7", path = "../../../sdk/aws-smithy-runtime" } aws-sdk-kms= { version = "1.55.0", path = "../../../sdk/kms", default-features = false } [dependencies.tokio] diff --git a/examples/examples/transcribestreaming/Cargo.toml b/examples/examples/transcribestreaming/Cargo.toml index 55d5ac765934..91ead7b145e4 100644 --- a/examples/examples/transcribestreaming/Cargo.toml +++ b/examples/examples/transcribestreaming/Cargo.toml @@ -10,7 +10,7 @@ publish = false async-stream = "0.3" bytes = "1" hound = "3.4" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] } aws-sdk-transcribestreaming= { version = "1.55.0", path = "../../../sdk/transcribestreaming" } [dependencies.clap] diff --git a/examples/lambda/calculator/Cargo.toml b/examples/lambda/calculator/Cargo.toml index 5883dbee2a57..1ea20706f552 100644 --- a/examples/lambda/calculator/Cargo.toml +++ b/examples/lambda/calculator/Cargo.toml @@ -13,7 +13,7 @@ tracing = "0.1.37" serde_json = "1.0.94" anyhow = "1.0.71" serde = "1.0.164" -aws-config= { version = "1.5.13", path = "../../../sdk/aws-config" } +aws-config= { version = "1.5.14", path = "../../../sdk/aws-config" } aws-sdk-ec2= { version = "1.102.0", path = "../../../sdk/ec2" } aws-sdk-lambda= { version = "1.64.0", path = "../../../sdk/lambda" } aws-sdk-s3= { version = "1.69.0", path = "../../../sdk/s3" } diff --git a/examples/test-utils/Cargo.toml b/examples/test-utils/Cargo.toml index c3c02ad0450e..6dd782e16c9a 100644 --- a/examples/test-utils/Cargo.toml +++ b/examples/test-utils/Cargo.toml @@ -11,10 +11,10 @@ publish = false [dependencies] http = "0.2" tokio = "1.33.0" -aws-config= { version = "1.5.13", path = "../../sdk/aws-config" } -aws-smithy-types= { version = "1.2.11", path = "../../sdk/aws-smithy-types" } -aws-smithy-runtime= { version = "1.7.6", path = "../../sdk/aws-smithy-runtime", features = ["test-util"] } -aws-types= { version = "1.3.3", path = "../../sdk/aws-types" } +aws-config= { version = "1.5.14", path = "../../sdk/aws-config" } +aws-smithy-types= { version = "1.2.12", path = "../../sdk/aws-smithy-types" } +aws-smithy-runtime= { version = "1.7.7", path = "../../sdk/aws-smithy-runtime", features = ["test-util"] } +aws-types= { version = "1.3.4", path = "../../sdk/aws-types" } [lib] path = "src/mod.rs" diff --git a/examples/webassembly/Cargo.toml b/examples/webassembly/Cargo.toml index 8f76709ef420..ecd798f181c3 100644 --- a/examples/webassembly/Cargo.toml +++ b/examples/webassembly/Cargo.toml @@ -22,12 +22,12 @@ wasm-bindgen-futures = "0.4.33" wasm-timer = "0.2.5" tracing-wasm = "0.2.1" tracing = "0.1.37" -aws-config= { version = "1.5.13", path = "../../sdk/aws-config", default-features = false } +aws-config= { version = "1.5.14", path = "../../sdk/aws-config", default-features = false } aws-credential-types= { version = "1.2.1", path = "../../sdk/aws-credential-types", features = ["hardcoded-credentials"] } aws-sdk-lambda= { version = "1.64.0", path = "../../sdk/lambda", default-features = false } -aws-smithy-async= { version = "1.2.3", path = "../../sdk/aws-smithy-async" } +aws-smithy-async= { version = "1.2.4", path = "../../sdk/aws-smithy-async" } aws-smithy-runtime-api= { version = "1.7.3", path = "../../sdk/aws-smithy-runtime-api" } -aws-smithy-types= { version = "1.2.11", path = "../../sdk/aws-smithy-types" } +aws-smithy-types= { version = "1.2.12", path = "../../sdk/aws-smithy-types" } [dependencies.serde] version = "1.0.152" diff --git a/sdk/accessanalyzer/Cargo.toml b/sdk/accessanalyzer/Cargo.toml index 450d760a5b04..d258cb99864c 100644 --- a/sdk/accessanalyzer/Cargo.toml +++ b/sdk/accessanalyzer/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/accessanalyzer/src/config.rs b/sdk/accessanalyzer/src/config.rs index 5adaf61b1a92..b975b2fe4c8f 100644 --- a/sdk/accessanalyzer/src/config.rs +++ b/sdk/accessanalyzer/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "accessanalyzer"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("accessanalyzer") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/account/Cargo.toml b/sdk/account/Cargo.toml index ca72fdc771e1..a7ef9b4c5fef 100644 --- a/sdk/account/Cargo.toml +++ b/sdk/account/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/account/src/config.rs b/sdk/account/src/config.rs index 5086d49736bb..f5f562d41e86 100644 --- a/sdk/account/src/config.rs +++ b/sdk/account/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "account"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("account") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/acm/Cargo.toml b/sdk/acm/Cargo.toml index d25fceb870b4..2f87e24a7e89 100644 --- a/sdk/acm/Cargo.toml +++ b/sdk/acm/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/acm/src/config.rs b/sdk/acm/src/config.rs index 283f944195dd..ce13b16d6cac 100644 --- a/sdk/acm/src/config.rs +++ b/sdk/acm/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "acm"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("acm") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/acmpca/Cargo.toml b/sdk/acmpca/Cargo.toml index 021886261378..90f3046bb168 100644 --- a/sdk/acmpca/Cargo.toml +++ b/sdk/acmpca/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/acmpca/src/config.rs b/sdk/acmpca/src/config.rs index c0882b09fb60..a244a687a209 100644 --- a/sdk/acmpca/src/config.rs +++ b/sdk/acmpca/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "acmpca"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("acmpca") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/amp/Cargo.toml b/sdk/amp/Cargo.toml index d9bcf344f079..d0063010f4d9 100644 --- a/sdk/amp/Cargo.toml +++ b/sdk/amp/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/amp/src/config.rs b/sdk/amp/src/config.rs index 931f5f8a85ff..1be4d92f68e3 100644 --- a/sdk/amp/src/config.rs +++ b/sdk/amp/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "amp"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("amp") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/amplify/Cargo.toml b/sdk/amplify/Cargo.toml index 15fad4d378b1..41b9e5adddbb 100644 --- a/sdk/amplify/Cargo.toml +++ b/sdk/amplify/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/amplify/src/config.rs b/sdk/amplify/src/config.rs index 56ed0b0e95ab..2a44eeb1c5d6 100644 --- a/sdk/amplify/src/config.rs +++ b/sdk/amplify/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "amplify"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("amplify") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/amplifybackend/Cargo.toml b/sdk/amplifybackend/Cargo.toml index cf2ce6b592f6..12b703872793 100644 --- a/sdk/amplifybackend/Cargo.toml +++ b/sdk/amplifybackend/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/amplifybackend/src/config.rs b/sdk/amplifybackend/src/config.rs index c536960b4eaa..237494b6182c 100644 --- a/sdk/amplifybackend/src/config.rs +++ b/sdk/amplifybackend/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "amplifybackend"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("amplifybackend") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/amplifyuibuilder/Cargo.toml b/sdk/amplifyuibuilder/Cargo.toml index a01b8e82573b..820a3c9fe3fc 100644 --- a/sdk/amplifyuibuilder/Cargo.toml +++ b/sdk/amplifyuibuilder/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/amplifyuibuilder/src/config.rs b/sdk/amplifyuibuilder/src/config.rs index ebe3f7f14c49..da457474018c 100644 --- a/sdk/amplifyuibuilder/src/config.rs +++ b/sdk/amplifyuibuilder/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "amplifyuibuilder"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("amplifyuibuilder") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/apigateway/Cargo.toml b/sdk/apigateway/Cargo.toml index 862e40f4b961..6c2c8ec6488d 100644 --- a/sdk/apigateway/Cargo.toml +++ b/sdk/apigateway/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/apigateway/src/config.rs b/sdk/apigateway/src/config.rs index 15ec6e50247d..c39b0235bd8e 100644 --- a/sdk/apigateway/src/config.rs +++ b/sdk/apigateway/src/config.rs @@ -1287,11 +1287,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "apigateway"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("apigateway") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/apigatewaymanagement/Cargo.toml b/sdk/apigatewaymanagement/Cargo.toml index 82f0229202b0..873972d08064 100644 --- a/sdk/apigatewaymanagement/Cargo.toml +++ b/sdk/apigatewaymanagement/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/apigatewaymanagement/src/config.rs b/sdk/apigatewaymanagement/src/config.rs index be988e51c5fb..6846a5105ee9 100644 --- a/sdk/apigatewaymanagement/src/config.rs +++ b/sdk/apigatewaymanagement/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "apigatewaymanagementapi"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("apigatewaymanagementapi") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/apigatewayv2/Cargo.toml b/sdk/apigatewayv2/Cargo.toml index 007f2bbe5937..55d59e64027c 100644 --- a/sdk/apigatewayv2/Cargo.toml +++ b/sdk/apigatewayv2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/apigatewayv2/src/config.rs b/sdk/apigatewayv2/src/config.rs index 1a24580f451a..ba1a1b45de83 100644 --- a/sdk/apigatewayv2/src/config.rs +++ b/sdk/apigatewayv2/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "apigatewayv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("apigatewayv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/appconfig/Cargo.toml b/sdk/appconfig/Cargo.toml index c89247f74afa..1898c4bf7fa6 100644 --- a/sdk/appconfig/Cargo.toml +++ b/sdk/appconfig/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/appconfig/src/config.rs b/sdk/appconfig/src/config.rs index 0b4c3f2794b2..b902674aed3e 100644 --- a/sdk/appconfig/src/config.rs +++ b/sdk/appconfig/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "appconfig"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("appconfig") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/appconfigdata/Cargo.toml b/sdk/appconfigdata/Cargo.toml index b09bb5727b90..a9a28b8b9ad2 100644 --- a/sdk/appconfigdata/Cargo.toml +++ b/sdk/appconfigdata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/appconfigdata/src/config.rs b/sdk/appconfigdata/src/config.rs index 458ce261d517..a49e043dcd24 100644 --- a/sdk/appconfigdata/src/config.rs +++ b/sdk/appconfigdata/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "appconfigdata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("appconfigdata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/appfabric/Cargo.toml b/sdk/appfabric/Cargo.toml index 887abb1e412d..b93b09f597d2 100644 --- a/sdk/appfabric/Cargo.toml +++ b/sdk/appfabric/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/appfabric/src/config.rs b/sdk/appfabric/src/config.rs index 9538a0ad83d2..caf2c9347904 100644 --- a/sdk/appfabric/src/config.rs +++ b/sdk/appfabric/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "appfabric"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("appfabric") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/appflow/Cargo.toml b/sdk/appflow/Cargo.toml index 7f8f9060cd6a..688dc452c820 100644 --- a/sdk/appflow/Cargo.toml +++ b/sdk/appflow/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/appflow/src/config.rs b/sdk/appflow/src/config.rs index cea249064239..1afe970ed244 100644 --- a/sdk/appflow/src/config.rs +++ b/sdk/appflow/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "appflow"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("appflow") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/appintegrations/Cargo.toml b/sdk/appintegrations/Cargo.toml index 4e74cb590848..cfac6ea82f4a 100644 --- a/sdk/appintegrations/Cargo.toml +++ b/sdk/appintegrations/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/appintegrations/src/config.rs b/sdk/appintegrations/src/config.rs index 88163efea458..93675276e192 100644 --- a/sdk/appintegrations/src/config.rs +++ b/sdk/appintegrations/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "appintegrations"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("appintegrations") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/applicationautoscaling/Cargo.toml b/sdk/applicationautoscaling/Cargo.toml index f3ec96eb30e1..94966eeb5080 100644 --- a/sdk/applicationautoscaling/Cargo.toml +++ b/sdk/applicationautoscaling/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/applicationautoscaling/src/config.rs b/sdk/applicationautoscaling/src/config.rs index eea006a5f5e0..7d728ec27154 100644 --- a/sdk/applicationautoscaling/src/config.rs +++ b/sdk/applicationautoscaling/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "applicationautoscaling"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("applicationautoscaling") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/applicationcostprofiler/Cargo.toml b/sdk/applicationcostprofiler/Cargo.toml index abe84f435557..cb939e381658 100644 --- a/sdk/applicationcostprofiler/Cargo.toml +++ b/sdk/applicationcostprofiler/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/applicationcostprofiler/src/config.rs b/sdk/applicationcostprofiler/src/config.rs index 70c66a4c8560..b303239b20c1 100644 --- a/sdk/applicationcostprofiler/src/config.rs +++ b/sdk/applicationcostprofiler/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "applicationcostprofiler"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("applicationcostprofiler") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/applicationdiscovery/Cargo.toml b/sdk/applicationdiscovery/Cargo.toml index c30544566b3b..7df2e0aa1434 100644 --- a/sdk/applicationdiscovery/Cargo.toml +++ b/sdk/applicationdiscovery/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/applicationdiscovery/src/config.rs b/sdk/applicationdiscovery/src/config.rs index 86d481c8bbec..eff5ee633de2 100644 --- a/sdk/applicationdiscovery/src/config.rs +++ b/sdk/applicationdiscovery/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "applicationdiscoveryservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("applicationdiscoveryservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/applicationinsights/Cargo.toml b/sdk/applicationinsights/Cargo.toml index b974d5ad82f3..64a290991d4e 100644 --- a/sdk/applicationinsights/Cargo.toml +++ b/sdk/applicationinsights/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/applicationinsights/src/config.rs b/sdk/applicationinsights/src/config.rs index fe01238635c8..512c5db24dfa 100644 --- a/sdk/applicationinsights/src/config.rs +++ b/sdk/applicationinsights/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "applicationinsights"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("applicationinsights") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/applicationsignals/Cargo.toml b/sdk/applicationsignals/Cargo.toml index 85791d90bbd9..13fb450327e7 100644 --- a/sdk/applicationsignals/Cargo.toml +++ b/sdk/applicationsignals/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/applicationsignals/src/config.rs b/sdk/applicationsignals/src/config.rs index c960b9c6c94e..466ba0578e88 100644 --- a/sdk/applicationsignals/src/config.rs +++ b/sdk/applicationsignals/src/config.rs @@ -1274,11 +1274,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "applicationsignals"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("applicationsignals") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/appmesh/Cargo.toml b/sdk/appmesh/Cargo.toml index d0820857b2bb..fd3bc69aaeb6 100644 --- a/sdk/appmesh/Cargo.toml +++ b/sdk/appmesh/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/appmesh/src/config.rs b/sdk/appmesh/src/config.rs index 9d4d22573699..83a5492cf9b3 100644 --- a/sdk/appmesh/src/config.rs +++ b/sdk/appmesh/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "appmesh"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("appmesh") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/apprunner/Cargo.toml b/sdk/apprunner/Cargo.toml index d8a2f40c50d7..4b6a8f059a3b 100644 --- a/sdk/apprunner/Cargo.toml +++ b/sdk/apprunner/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/apprunner/src/config.rs b/sdk/apprunner/src/config.rs index 9b06d5537166..76d460110210 100644 --- a/sdk/apprunner/src/config.rs +++ b/sdk/apprunner/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "apprunner"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("apprunner") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/appstream/Cargo.toml b/sdk/appstream/Cargo.toml index 5a43d4226060..7c4bbe69795b 100644 --- a/sdk/appstream/Cargo.toml +++ b/sdk/appstream/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/appstream/src/config.rs b/sdk/appstream/src/config.rs index b6503eb4dbdb..16d7801e4b13 100644 --- a/sdk/appstream/src/config.rs +++ b/sdk/appstream/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "appstream"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("appstream") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/appsync/Cargo.toml b/sdk/appsync/Cargo.toml index e62adb36ed94..e3f2329bd529 100644 --- a/sdk/appsync/Cargo.toml +++ b/sdk/appsync/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/appsync/src/config.rs b/sdk/appsync/src/config.rs index e5af1daad7f1..08fd2d258e5e 100644 --- a/sdk/appsync/src/config.rs +++ b/sdk/appsync/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "appsync"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("appsync") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/apptest/Cargo.toml b/sdk/apptest/Cargo.toml index 3c5716afdd99..2c6b4a4fbea6 100644 --- a/sdk/apptest/Cargo.toml +++ b/sdk/apptest/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/apptest/src/config.rs b/sdk/apptest/src/config.rs index 12f690bb78be..e8a4a9df9c56 100644 --- a/sdk/apptest/src/config.rs +++ b/sdk/apptest/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "apptest"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("apptest") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/arczonalshift/Cargo.toml b/sdk/arczonalshift/Cargo.toml index de683849fa70..030cf17dcd0c 100644 --- a/sdk/arczonalshift/Cargo.toml +++ b/sdk/arczonalshift/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/arczonalshift/src/config.rs b/sdk/arczonalshift/src/config.rs index 77e630709072..394d8d609311 100644 --- a/sdk/arczonalshift/src/config.rs +++ b/sdk/arczonalshift/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "arczonalshift"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("arczonalshift") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/artifact/Cargo.toml b/sdk/artifact/Cargo.toml index b1cf851da91e..97cab8a2635b 100644 --- a/sdk/artifact/Cargo.toml +++ b/sdk/artifact/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/artifact/src/config.rs b/sdk/artifact/src/config.rs index 83e41fcda375..5df7e5f66f12 100644 --- a/sdk/artifact/src/config.rs +++ b/sdk/artifact/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "artifact"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("artifact") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/athena/Cargo.toml b/sdk/athena/Cargo.toml index 04dc7b1b6224..a21bdea5ad77 100644 --- a/sdk/athena/Cargo.toml +++ b/sdk/athena/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/athena/src/config.rs b/sdk/athena/src/config.rs index fd0f21bc632e..655e0fdfc2f4 100644 --- a/sdk/athena/src/config.rs +++ b/sdk/athena/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "athena"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("athena") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/auditmanager/Cargo.toml b/sdk/auditmanager/Cargo.toml index 0fef5e1a5f33..59d7a299f912 100644 --- a/sdk/auditmanager/Cargo.toml +++ b/sdk/auditmanager/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/auditmanager/src/config.rs b/sdk/auditmanager/src/config.rs index 0713c26b8874..4bdc1e320de4 100644 --- a/sdk/auditmanager/src/config.rs +++ b/sdk/auditmanager/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "auditmanager"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("auditmanager") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/autoscaling/Cargo.toml b/sdk/autoscaling/Cargo.toml index 77273514d4aa..9a984b0d744a 100644 --- a/sdk/autoscaling/Cargo.toml +++ b/sdk/autoscaling/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/autoscaling/src/config.rs b/sdk/autoscaling/src/config.rs index 91355f685f3f..6fbdd3d2ef2a 100644 --- a/sdk/autoscaling/src/config.rs +++ b/sdk/autoscaling/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "autoscaling"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("autoscaling") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/autoscalingplans/Cargo.toml b/sdk/autoscalingplans/Cargo.toml index 5a89388f5b32..23b2bbbd04a3 100644 --- a/sdk/autoscalingplans/Cargo.toml +++ b/sdk/autoscalingplans/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/autoscalingplans/src/config.rs b/sdk/autoscalingplans/src/config.rs index bde09c421bf7..4f092f580706 100644 --- a/sdk/autoscalingplans/src/config.rs +++ b/sdk/autoscalingplans/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "autoscalingplans"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("autoscalingplans") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/aws-config/Cargo.toml b/sdk/aws-config/Cargo.toml index b004fdc2bb36..183075109293 100644 --- a/sdk/aws-config/Cargo.toml +++ b/sdk/aws-config/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-config" -version = "1.5.13" +version = "1.5.14" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "AWS SDK config and credential provider implementations." edition = "2021" @@ -41,7 +41,7 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sdk-sts] path = "../sts" @@ -50,20 +50,20 @@ version = "1.55.0" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -72,11 +72,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.time] version = "0.3.4" @@ -120,7 +120,7 @@ serde_json = "1" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client", "connector-hyper-0-14-x", "test-util"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -150,4 +150,4 @@ features = ["webpki-tokio", "http2", "http1"] [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["rt-tokio", "test-util"] -version = "1.2.3" +version = "1.2.4" diff --git a/sdk/aws-config/external-types.toml b/sdk/aws-config/external-types.toml index 9c8d3c1b24e8..3e2c6726d1e8 100644 --- a/sdk/aws-config/external-types.toml +++ b/sdk/aws-config/external-types.toml @@ -34,6 +34,8 @@ allowed_external_types = [ "aws_smithy_runtime_api::client::result::SdkError", "aws_smithy_runtime_api::client::stalled_stream_protection::StalledStreamProtectionConfig", "aws_smithy_types::body::SdkBody", + "aws_smithy_types::checksum_config::RequestChecksumCalculation", + "aws_smithy_types::checksum_config::ResponseChecksumValidation", "aws_smithy_types::retry", "aws_smithy_types::retry::*", "aws_smithy_types::timeout", diff --git a/sdk/aws-config/fuzz/Cargo.toml b/sdk/aws-config/fuzz/Cargo.toml index 46855a0cfba5..9305e6421b6e 100644 --- a/sdk/aws-config/fuzz/Cargo.toml +++ b/sdk/aws-config/fuzz/Cargo.toml @@ -16,15 +16,15 @@ edition = "2021" cargo-fuzz = true [dependencies] -libfuzzer-sys = "0.4" +libfuzzer-sys = "=0.4.7" [dependencies.aws-config] path = ".." -version = "1.5.13" +version = "1.5.14" [dependencies.aws-types] path = "../../../sdk/build/aws-sdk/sdk/aws-types" -version = "1.3.3" +version = "1.3.4" [workspace] members = ["."] diff --git a/sdk/aws-config/src/default_provider.rs b/sdk/aws-config/src/default_provider.rs index fceb869fb00b..42e5a6173979 100644 --- a/sdk/aws-config/src/default_provider.rs +++ b/sdk/aws-config/src/default_provider.rs @@ -63,3 +63,6 @@ pub mod disable_request_compression; /// Default "request minimum compression size bytes" provider chain pub mod request_min_compression_size_bytes; + +/// Default provider chains for request/response checksum configuration +pub mod checksums; diff --git a/sdk/aws-config/src/default_provider/checksums.rs b/sdk/aws-config/src/default_provider/checksums.rs new file mode 100644 index 000000000000..25da664a3931 --- /dev/null +++ b/sdk/aws-config/src/default_provider/checksums.rs @@ -0,0 +1,259 @@ +/* + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + */ + +use crate::provider_config::ProviderConfig; +use aws_runtime::env_config::EnvConfigValue; +use aws_smithy_types::error::display::DisplayErrorContext; +use aws_types::sdk_config::{RequestChecksumCalculation, ResponseChecksumValidation}; +use std::str::FromStr; + +mod env { + pub(super) const REQUEST_CHECKSUM_CALCULATION: &str = "AWS_REQUEST_CHECKSUM_CALCULATION"; + pub(super) const RESPONSE_CHECKSUM_VALIDATION: &str = "AWS_RESPONSE_CHECKSUM_VALIDATION"; +} + +mod profile_key { + pub(super) const REQUEST_CHECKSUM_CALCULATION: &str = "request_checksum_calculation"; + pub(super) const RESPONSE_CHECKSUM_VALIDATION: &str = "response_checksum_validation"; +} + +/// Load the value for `request_checksum_calculation` +/// +/// This checks the following sources: +/// 1. The environment variable `AWS_REQUEST_CHECKSUM_CALCULATION=WHEN_SUPPORTED/WHEN_REQUIRED` +/// 2. The profile key `request_checksum_calculation=WHEN_SUPPORTED/WHEN_REQUIRED` +/// +/// If invalid values are found, the provider will return `None` and an error will be logged. +pub async fn request_checksum_calculation_provider( + provider_config: &ProviderConfig, +) -> Option { + let env = provider_config.env(); + let profiles = provider_config.profile().await; + + let loaded = EnvConfigValue::new() + .env(env::REQUEST_CHECKSUM_CALCULATION) + .profile(profile_key::REQUEST_CHECKSUM_CALCULATION) + .validate(&env, profiles, RequestChecksumCalculation::from_str) + .map_err( + |err| tracing::warn!(err = %DisplayErrorContext(&err), "invalid value for request_checksum_calculation setting"), + ) + .unwrap_or(None); + + // request_checksum_calculation should always have a non-None value and the + // default is WhenSupported + loaded.or(Some(RequestChecksumCalculation::WhenSupported)) +} + +/// Load the value for `response_checksum_validation` +/// +/// This checks the following sources: +/// 1. The environment variable `AWS_RESPONSE_CHECKSUM_VALIDATION=WHEN_SUPPORTED/WHEN_REQUIRED` +/// 2. The profile key `response_checksum_validation=WHEN_SUPPORTED/WHEN_REQUIRED` +/// +/// If invalid values are found, the provider will return `None` and an error will be logged. +pub async fn response_checksum_validation_provider( + provider_config: &ProviderConfig, +) -> Option { + let env = provider_config.env(); + let profiles = provider_config.profile().await; + + let loaded = EnvConfigValue::new() + .env(env::RESPONSE_CHECKSUM_VALIDATION) + .profile(profile_key::RESPONSE_CHECKSUM_VALIDATION) + .validate(&env, profiles, ResponseChecksumValidation::from_str) + .map_err( + |err| tracing::warn!(err = %DisplayErrorContext(&err), "invalid value for response_checksum_validation setting"), + ) + .unwrap_or(None); + + // response_checksum_validation should always have a non-None value and the + // default is WhenSupported + loaded.or(Some(ResponseChecksumValidation::WhenSupported)) +} + +#[cfg(test)] +mod test { + use crate::default_provider::checksums::{ + request_checksum_calculation_provider, response_checksum_validation_provider, + }; + #[allow(deprecated)] + use crate::profile::profile_file::{ProfileFileKind, ProfileFiles}; + use crate::provider_config::ProviderConfig; + use aws_smithy_types::checksum_config::{ + RequestChecksumCalculation, ResponseChecksumValidation, + }; + use aws_types::os_shim_internal::{Env, Fs}; + use tracing_test::traced_test; + + #[tokio::test] + #[traced_test] + async fn log_error_on_invalid_value_request() { + let conf = ProviderConfig::empty().with_env(Env::from_slice(&[( + "AWS_REQUEST_CHECKSUM_CALCULATION", + "not-a-valid-value", + )])); + assert_eq!( + request_checksum_calculation_provider(&conf).await, + Some(RequestChecksumCalculation::WhenSupported) + ); + assert!(logs_contain( + "invalid value for request_checksum_calculation setting" + )); + assert!(logs_contain("AWS_REQUEST_CHECKSUM_CALCULATION")); + } + + #[tokio::test] + #[traced_test] + async fn environment_priority_request() { + let conf = ProviderConfig::empty() + .with_env(Env::from_slice(&[( + "AWS_REQUEST_CHECKSUM_CALCULATION", + "WHEN_REQUIRED", + )])) + .with_profile_config( + Some( + #[allow(deprecated)] + ProfileFiles::builder() + .with_file( + #[allow(deprecated)] + ProfileFileKind::Config, + "conf", + ) + .build(), + ), + None, + ) + .with_fs(Fs::from_slice(&[( + "conf", + "[default]\nrequest_checksum_calculation = WHEN_SUPPORTED", + )])); + assert_eq!( + request_checksum_calculation_provider(&conf).await, + Some(RequestChecksumCalculation::WhenRequired) + ); + } + + #[tokio::test] + #[traced_test] + async fn profile_works_request() { + let conf = ProviderConfig::empty() + .with_profile_config( + Some( + #[allow(deprecated)] + ProfileFiles::builder() + .with_file( + #[allow(deprecated)] + ProfileFileKind::Config, + "conf", + ) + .build(), + ), + None, + ) + .with_fs(Fs::from_slice(&[( + "conf", + "[default]\nrequest_checksum_calculation = WHEN_REQUIRED", + )])); + assert_eq!( + request_checksum_calculation_provider(&conf).await, + Some(RequestChecksumCalculation::WhenRequired) + ); + } + + #[tokio::test] + #[traced_test] + async fn default_works_request() { + let conf = ProviderConfig::empty(); + assert_eq!( + request_checksum_calculation_provider(&conf).await, + Some(RequestChecksumCalculation::WhenSupported) + ); + } + + #[tokio::test] + #[traced_test] + async fn log_error_on_invalid_value_response() { + let conf = ProviderConfig::empty().with_env(Env::from_slice(&[( + "AWS_RESPONSE_CHECKSUM_VALIDATION", + "not-a-valid-value", + )])); + assert_eq!( + response_checksum_validation_provider(&conf).await, + Some(ResponseChecksumValidation::WhenSupported) + ); + assert!(logs_contain( + "invalid value for response_checksum_validation setting" + )); + assert!(logs_contain("AWS_RESPONSE_CHECKSUM_VALIDATION")); + } + + #[tokio::test] + #[traced_test] + async fn environment_priority_response() { + let conf = ProviderConfig::empty() + .with_env(Env::from_slice(&[( + "AWS_RESPONSE_CHECKSUM_VALIDATION", + "WHEN_SUPPORTED", + )])) + .with_profile_config( + Some( + #[allow(deprecated)] + ProfileFiles::builder() + .with_file( + #[allow(deprecated)] + ProfileFileKind::Config, + "conf", + ) + .build(), + ), + None, + ) + .with_fs(Fs::from_slice(&[( + "conf", + "[default]\response_checksum_validation = WHEN_REQUIRED", + )])); + assert_eq!( + response_checksum_validation_provider(&conf).await, + Some(ResponseChecksumValidation::WhenSupported) + ); + } + + #[tokio::test] + #[traced_test] + async fn profile_works_response() { + let conf = ProviderConfig::empty() + .with_profile_config( + Some( + #[allow(deprecated)] + ProfileFiles::builder() + .with_file( + #[allow(deprecated)] + ProfileFileKind::Config, + "conf", + ) + .build(), + ), + None, + ) + .with_fs(Fs::from_slice(&[( + "conf", + "[default]\nresponse_checksum_validation = WHEN_REQUIRED", + )])); + assert_eq!( + response_checksum_validation_provider(&conf).await, + Some(ResponseChecksumValidation::WhenRequired) + ); + } + + #[tokio::test] + #[traced_test] + async fn default_works_response() { + let conf = ProviderConfig::empty(); + assert_eq!( + response_checksum_validation_provider(&conf).await, + Some(ResponseChecksumValidation::WhenSupported) + ); + } +} diff --git a/sdk/aws-config/src/lib.rs b/sdk/aws-config/src/lib.rs index dd8732703766..8650325d09ab 100644 --- a/sdk/aws-config/src/lib.rs +++ b/sdk/aws-config/src/lib.rs @@ -228,6 +228,9 @@ mod loader { use aws_smithy_runtime_api::client::identity::{ResolveCachedIdentity, SharedIdentityCache}; use aws_smithy_runtime_api::client::stalled_stream_protection::StalledStreamProtectionConfig; use aws_smithy_runtime_api::shared::IntoShared; + use aws_smithy_types::checksum_config::{ + RequestChecksumCalculation, ResponseChecksumValidation, + }; use aws_smithy_types::retry::RetryConfig; use aws_smithy_types::timeout::TimeoutConfig; use aws_types::app_name::AppName; @@ -238,7 +241,7 @@ mod loader { use aws_types::SdkConfig; use crate::default_provider::{ - app_name, credentials, disable_request_compression, endpoint_url, + app_name, checksums, credentials, disable_request_compression, endpoint_url, ignore_configured_endpoint_urls as ignore_ep, region, request_min_compression_size_bytes, retry_config, timeout_config, use_dual_stack, use_fips, }; @@ -289,6 +292,8 @@ mod loader { env: Option, fs: Option, behavior_version: Option, + request_checksum_calculation: Option, + response_checksum_validation: Option, } impl ConfigLoader { @@ -919,6 +924,22 @@ mod loader { Some(user_cache) => Some(user_cache), }; + let request_checksum_calculation = + if let Some(request_checksum_calculation) = self.request_checksum_calculation { + Some(request_checksum_calculation) + } else { + checksums::request_checksum_calculation_provider(&conf).await + }; + + let response_checksum_validation = + if let Some(response_checksum_validation) = self.response_checksum_validation { + Some(response_checksum_validation) + } else { + checksums::response_checksum_validation_provider(&conf).await + }; + + builder.set_request_checksum_calculation(request_checksum_calculation); + builder.set_response_checksum_validation(response_checksum_validation); builder.set_identity_cache(identity_cache); builder.set_credentials_provider(credentials_provider); builder.set_token_provider(token_provider); diff --git a/sdk/aws-credential-types/Cargo.toml b/sdk/aws-credential-types/Cargo.toml index a6b4ed1c24e5..84b0cf73d3c6 100644 --- a/sdk/aws-credential-types/Cargo.toml +++ b/sdk/aws-credential-types/Cargo.toml @@ -25,11 +25,11 @@ zeroize = "1" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" diff --git a/sdk/aws-http/Cargo.toml b/sdk/aws-http/Cargo.toml index 9ec7701f332f..605809fa704a 100644 --- a/sdk/aws-http/Cargo.toml +++ b/sdk/aws-http/Cargo.toml @@ -15,4 +15,4 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies.aws-runtime] path = "../aws-runtime" features = ["http-02x"] -version = "1.5.3" +version = "1.5.4" diff --git a/sdk/aws-runtime/Cargo.toml b/sdk/aws-runtime/Cargo.toml index 6c69c01faa30..2aced2bf6b57 100644 --- a/sdk/aws-runtime/Cargo.toml +++ b/sdk/aws-runtime/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-runtime" -version = "1.5.3" +version = "1.5.4" authors = ["AWS Rust SDK Team "] description = "Runtime support code for the AWS SDK. This crate isn't intended to be used directly." edition = "2021" @@ -38,25 +38,25 @@ version = "1.2.1" [dependencies.aws-sigv4] path = "../aws-sigv4" features = ["http0-compat"] -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" optional = true -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -65,11 +65,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http-02x] package = "http" @@ -112,7 +112,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -126,7 +126,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.29" diff --git a/sdk/aws-runtime/src/user_agent/test_util.rs b/sdk/aws-runtime/src/user_agent/test_util.rs index a0a5679b63b3..de8013454fea 100644 --- a/sdk/aws-runtime/src/user_agent/test_util.rs +++ b/sdk/aws-runtime/src/user_agent/test_util.rs @@ -17,13 +17,8 @@ static RE: Lazy = Lazy::new(|| Regex::new(r"m/([A-Za-z0-9+/=_,-]+)").unwr /// Refer to the end of the parent module file `user_agent.rs` for the complete ABNF specification /// of `business-metrics`. pub fn assert_ua_contains_metric_values(user_agent: &str, values: &[&str]) { - match RE.find(user_agent) { - Some(matched) => { - let csv = matched - .as_str() - .strip_prefix("m/") - .expect("prefix `m/` is guaranteed to exist by regex match"); - let metrics: Vec<&str> = csv.split(',').collect(); + match extract_ua_values(user_agent) { + Some(metrics) => { let mut missed = vec![]; for value in values.iter() { @@ -43,6 +38,18 @@ pub fn assert_ua_contains_metric_values(user_agent: &str, values: &[&str]) { } } +/// Extract the metric values from the `user_agent` string +pub fn extract_ua_values(user_agent: &str) -> Option> { + RE.find(user_agent).map(|matched| { + matched + .as_str() + .strip_prefix("m/") + .expect("prefix `m/` is guaranteed to exist by regex match") + .split(',') + .collect() + }) +} + #[cfg(test)] mod tests { use super::*; diff --git a/sdk/aws-sigv4/Cargo.toml b/sdk/aws-sigv4/Cargo.toml index c8611082e9bf..68433ce872aa 100644 --- a/sdk/aws-sigv4/Cargo.toml +++ b/sdk/aws-sigv4/Cargo.toml @@ -10,7 +10,7 @@ required-features = ["sigv4a"] [package] name = "aws-sigv4" -version = "1.2.6" +version = "1.2.7" authors = ["AWS Rust SDK Team ", "David Barsky "] description = "SigV4 signer for HTTP requests and Event Stream messages." edition = "2021" @@ -50,11 +50,11 @@ version = "1.2.1" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" optional = true -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -63,7 +63,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.form_urlencoded] version = "1.0" @@ -107,7 +107,7 @@ optional = true bytes = "1" hex-literal = "0.4.1" httparse = "1.8" -libfuzzer-sys = "0.4.6" +libfuzzer-sys = "=0.4.7" pretty_assertions = "1.3" proptest = "1.2" serde = "1.0.180" diff --git a/sdk/aws-sigv4/src/http_request/canonical_request.rs b/sdk/aws-sigv4/src/http_request/canonical_request.rs index 03404276d957..4622f841d985 100644 --- a/sdk/aws-sigv4/src/http_request/canonical_request.rs +++ b/sdk/aws-sigv4/src/http_request/canonical_request.rs @@ -31,6 +31,7 @@ pub(crate) mod header { pub(crate) const X_AMZ_DATE: &str = "x-amz-date"; pub(crate) const X_AMZ_SECURITY_TOKEN: &str = "x-amz-security-token"; pub(crate) const X_AMZ_USER_AGENT: &str = "x-amz-user-agent"; + pub(crate) const X_AMZ_CHECKSUM_MODE: &str = "x-amz-checksum-mode"; } pub(crate) mod param { @@ -293,8 +294,10 @@ impl<'a> CanonicalRequest<'a> { } if params.settings().signature_location == SignatureLocation::QueryParams { - // The X-Amz-User-Agent header should not be signed if this is for a presigned URL - if name == HeaderName::from_static(header::X_AMZ_USER_AGENT) { + // The X-Amz-User-Agent and x-amz-checksum-mode headers should not be signed if this is for a presigned URL + if name == HeaderName::from_static(header::X_AMZ_USER_AGENT) + || name == HeaderName::from_static(header::X_AMZ_CHECKSUM_MODE) + { continue; } } diff --git a/sdk/aws-smithy-async/Cargo.toml b/sdk/aws-smithy-async/Cargo.toml index 78e62daacd58..e24c78ede90e 100644 --- a/sdk/aws-smithy-async/Cargo.toml +++ b/sdk/aws-smithy-async/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-async" -version = "1.2.3" +version = "1.2.4" authors = ["AWS Rust SDK Team ", "John DiSanti "] description = "Async runtime agnostic abstractions for smithy-rs." edition = "2021" diff --git a/sdk/aws-smithy-cbor/Cargo.toml b/sdk/aws-smithy-cbor/Cargo.toml index 4022d0e0bfe1..811ad8120bd6 100644 --- a/sdk/aws-smithy-cbor/Cargo.toml +++ b/sdk/aws-smithy-cbor/Cargo.toml @@ -26,7 +26,7 @@ features = ["alloc", "half"] [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dev-dependencies] criterion = "0.5.1" diff --git a/sdk/aws-smithy-checksums/Cargo.toml b/sdk/aws-smithy-checksums/Cargo.toml index 1e961a100c46..106eebf81a6a 100644 --- a/sdk/aws-smithy-checksums/Cargo.toml +++ b/sdk/aws-smithy-checksums/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-smithy-checksums" -version = "0.60.13" +version = "0.62.0" authors = ["AWS Rust SDK Team ", "Zelda Hessler "] description = "Checksum calculation and verification callbacks" edition = "2021" @@ -25,14 +25,15 @@ pin-project-lite = "0.2.9" sha1 = "0.10" sha2 = "0.10" tracing = "0.1" +crc64fast-nvme = "1.1.1" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dev-dependencies] bytes-utils = "0.1.2" diff --git a/sdk/aws-smithy-checksums/src/http.rs b/sdk/aws-smithy-checksums/src/http.rs index 01593568380b..7d84eaf3fd08 100644 --- a/sdk/aws-smithy-checksums/src/http.rs +++ b/sdk/aws-smithy-checksums/src/http.rs @@ -8,15 +8,17 @@ use aws_smithy_types::base64; use http::header::{HeaderMap, HeaderValue}; +use crate::Crc64Nvme; use crate::{ - Checksum, Crc32, Crc32c, Md5, Sha1, Sha256, CRC_32_C_NAME, CRC_32_NAME, SHA_1_NAME, - SHA_256_NAME, + Checksum, Crc32, Crc32c, Md5, Sha1, Sha256, CRC_32_C_NAME, CRC_32_NAME, CRC_64_NVME_NAME, + SHA_1_NAME, SHA_256_NAME, }; -pub static CRC_32_HEADER_NAME: &str = "x-amz-checksum-crc32"; -pub static CRC_32_C_HEADER_NAME: &str = "x-amz-checksum-crc32c"; -pub static SHA_1_HEADER_NAME: &str = "x-amz-checksum-sha1"; -pub static SHA_256_HEADER_NAME: &str = "x-amz-checksum-sha256"; +pub const CRC_32_HEADER_NAME: &str = "x-amz-checksum-crc32"; +pub const CRC_32_C_HEADER_NAME: &str = "x-amz-checksum-crc32c"; +pub const SHA_1_HEADER_NAME: &str = "x-amz-checksum-sha1"; +pub const SHA_256_HEADER_NAME: &str = "x-amz-checksum-sha256"; +pub const CRC_64_NVME_HEADER_NAME: &str = "x-amz-checksum-crc64nvme"; // Preserved for compatibility purposes. This should never be used by users, only within smithy-rs pub(crate) static MD5_HEADER_NAME: &str = "content-md5"; @@ -24,8 +26,13 @@ pub(crate) static MD5_HEADER_NAME: &str = "content-md5"; /// When a response has to be checksum-verified, we have to check possible headers until we find the /// header with the precalculated checksum. Because a service may send back multiple headers, we have /// to check them in order based on how fast each checksum is to calculate. -pub const CHECKSUM_ALGORITHMS_IN_PRIORITY_ORDER: [&str; 4] = - [CRC_32_C_NAME, CRC_32_NAME, SHA_1_NAME, SHA_256_NAME]; +pub const CHECKSUM_ALGORITHMS_IN_PRIORITY_ORDER: [&str; 5] = [ + CRC_64_NVME_NAME, + CRC_32_C_NAME, + CRC_32_NAME, + SHA_1_NAME, + SHA_256_NAME, +]; /// Checksum algorithms are use to validate the integrity of data. Structs that implement this trait /// can be used as checksum calculators. This trait requires Send + Sync because these checksums are @@ -81,6 +88,12 @@ impl HttpChecksum for Crc32c { } } +impl HttpChecksum for Crc64Nvme { + fn header_name(&self) -> &'static str { + CRC_64_NVME_HEADER_NAME + } +} + impl HttpChecksum for Sha1 { fn header_name(&self) -> &'static str { SHA_1_HEADER_NAME @@ -104,7 +117,9 @@ mod tests { use aws_smithy_types::base64; use bytes::Bytes; - use crate::{ChecksumAlgorithm, CRC_32_C_NAME, CRC_32_NAME, SHA_1_NAME, SHA_256_NAME}; + use crate::{ + ChecksumAlgorithm, CRC_32_C_NAME, CRC_32_NAME, CRC_64_NVME_NAME, SHA_1_NAME, SHA_256_NAME, + }; use super::HttpChecksum; @@ -156,6 +171,30 @@ mod tests { assert_eq!(expected_value, actual_value) } + #[test] + fn test_trailer_length_of_crc64nvme_checksum_body() { + let checksum = CRC_64_NVME_NAME + .parse::() + .unwrap() + .into_impl(); + let expected_size = 37; + let actual_size = HttpChecksum::size(&*checksum); + assert_eq!(expected_size, actual_size) + } + + #[test] + fn test_trailer_value_of_crc64nvme_checksum_body() { + let checksum = CRC_64_NVME_NAME + .parse::() + .unwrap() + .into_impl(); + // The CRC64NVME of an empty string is all zeroes + let expected_value = Bytes::from_static(b"\0\0\0\0\0\0\0\0"); + let expected_value = base64::encode(&expected_value); + let actual_value = checksum.header_value(); + assert_eq!(expected_value, actual_value) + } + #[test] fn test_trailer_length_of_sha1_checksum_body() { let checksum = SHA_1_NAME.parse::().unwrap().into_impl(); diff --git a/sdk/aws-smithy-checksums/src/lib.rs b/sdk/aws-smithy-checksums/src/lib.rs index e969918dd7c3..c024c2b54d51 100644 --- a/sdk/aws-smithy-checksums/src/lib.rs +++ b/sdk/aws-smithy-checksums/src/lib.rs @@ -17,8 +17,9 @@ //! Checksum calculation and verification callbacks. use crate::error::UnknownChecksumAlgorithmError; + use bytes::Bytes; -use std::str::FromStr; +use std::{fmt::Debug, str::FromStr}; pub mod body; pub mod error; @@ -27,18 +28,23 @@ pub mod http; // Valid checksum algorithm names pub const CRC_32_NAME: &str = "crc32"; pub const CRC_32_C_NAME: &str = "crc32c"; +pub const CRC_64_NVME_NAME: &str = "crc64nvme"; pub const SHA_1_NAME: &str = "sha1"; pub const SHA_256_NAME: &str = "sha256"; pub const MD5_NAME: &str = "md5"; /// We only support checksum calculation and validation for these checksum algorithms. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] +#[non_exhaustive] pub enum ChecksumAlgorithm { + #[default] Crc32, Crc32c, + #[deprecated] Md5, Sha1, Sha256, + Crc64Nvme, } impl FromStr for ChecksumAlgorithm { @@ -47,9 +53,9 @@ impl FromStr for ChecksumAlgorithm { /// Create a new `ChecksumAlgorithm` from an algorithm name. Valid algorithm names are: /// - "crc32" /// - "crc32c" + /// - "crc64nvme" /// - "sha1" /// - "sha256" - /// - "md5" /// /// Passing an invalid name will return an error. fn from_str(checksum_algorithm: &str) -> Result { @@ -62,7 +68,10 @@ impl FromStr for ChecksumAlgorithm { } else if checksum_algorithm.eq_ignore_ascii_case(SHA_256_NAME) { Ok(Self::Sha256) } else if checksum_algorithm.eq_ignore_ascii_case(MD5_NAME) { - Ok(Self::Md5) + // MD5 is now an alias for the default Crc32 since it is deprecated + Ok(Self::Crc32) + } else if checksum_algorithm.eq_ignore_ascii_case(CRC_64_NVME_NAME) { + Ok(Self::Crc64Nvme) } else { Err(UnknownChecksumAlgorithmError::new(checksum_algorithm)) } @@ -75,7 +84,9 @@ impl ChecksumAlgorithm { match self { Self::Crc32 => Box::::default(), Self::Crc32c => Box::::default(), - Self::Md5 => Box::::default(), + Self::Crc64Nvme => Box::::default(), + #[allow(deprecated)] + Self::Md5 => Box::::default(), Self::Sha1 => Box::::default(), Self::Sha256 => Box::::default(), } @@ -86,6 +97,8 @@ impl ChecksumAlgorithm { match self { Self::Crc32 => CRC_32_NAME, Self::Crc32c => CRC_32_C_NAME, + Self::Crc64Nvme => CRC_64_NVME_NAME, + #[allow(deprecated)] Self::Md5 => MD5_NAME, Self::Sha1 => SHA_1_NAME, Self::Sha256 => SHA_256_NAME, @@ -183,6 +196,45 @@ impl Checksum for Crc32c { } } +#[derive(Default)] +struct Crc64Nvme { + hasher: crc64fast_nvme::Digest, +} + +// crc64fast_nvme::Digest doesn't impl Debug so we can't derive the impl +impl Debug for Crc64Nvme { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + f.debug_struct("Crc64Nvme").finish() + } +} + +impl Crc64Nvme { + fn update(&mut self, bytes: &[u8]) { + self.hasher.write(bytes); + } + + fn finalize(self) -> Bytes { + Bytes::copy_from_slice(self.hasher.sum64().to_be_bytes().as_slice()) + } + + // Size of the checksum in bytes + fn size() -> u64 { + 8 + } +} + +impl Checksum for Crc64Nvme { + fn update(&mut self, bytes: &[u8]) { + Self::update(self, bytes) + } + fn finalize(self: Box) -> Bytes { + Self::finalize(*self) + } + fn size(&self) -> u64 { + Self::size() + } +} + #[derive(Debug, Default)] struct Sha1 { hasher: sha1::Sha1, @@ -301,6 +353,7 @@ mod tests { use crate::http::HttpChecksum; use crate::ChecksumAlgorithm; + use aws_smithy_types::base64; use http::HeaderValue; use pretty_assertions::assert_eq; @@ -349,6 +402,20 @@ mod tests { assert_eq!(decoded_checksum, expected_checksum); } + #[test] + fn test_crc64nvme_checksum() { + use crate::{http::CRC_64_NVME_HEADER_NAME, Crc64Nvme}; + let mut checksum = Crc64Nvme::default(); + checksum.update(TEST_DATA.as_bytes()); + let checksum_result = Box::new(checksum).headers(); + let encoded_checksum = checksum_result.get(CRC_64_NVME_HEADER_NAME).unwrap(); + let decoded_checksum = base64_encoded_checksum_to_hex_string(encoded_checksum); + + let expected_checksum = "0xAECAF3AF9C98A855"; + + assert_eq!(decoded_checksum, expected_checksum); + } + #[test] fn test_sha1_checksum() { let mut checksum = Sha1::default(); diff --git a/sdk/aws-smithy-compression/Cargo.toml b/sdk/aws-smithy-compression/Cargo.toml index 0485ba2c78b2..82f02ef84c4b 100644 --- a/sdk/aws-smithy-compression/Cargo.toml +++ b/sdk/aws-smithy-compression/Cargo.toml @@ -26,7 +26,7 @@ tracing = "0.1.40" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" diff --git a/sdk/aws-smithy-eventstream/Cargo.toml b/sdk/aws-smithy-eventstream/Cargo.toml index b0fd477eab90..460353c5f3f2 100644 --- a/sdk/aws-smithy-eventstream/Cargo.toml +++ b/sdk/aws-smithy-eventstream/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" authors = ["AWS Rust SDK Team ", "John DiSanti "] description = "Event stream logic for smithy-rs." edition = "2021" @@ -26,7 +26,7 @@ optional = true [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.derive_arbitrary] version = "1.3" diff --git a/sdk/aws-smithy-eventstream/fuzz/Cargo.toml b/sdk/aws-smithy-eventstream/fuzz/Cargo.toml index 42e0d2d6aa7f..34688ff40d03 100644 --- a/sdk/aws-smithy-eventstream/fuzz/Cargo.toml +++ b/sdk/aws-smithy-eventstream/fuzz/Cargo.toml @@ -44,16 +44,16 @@ arbitrary = "1.3" bytes = "1" crc32fast = "1" derive_arbitrary = "1.3" -libfuzzer-sys = "0.4" +libfuzzer-sys = "=0.4.7" [dependencies.aws-smithy-types] path = "../../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-eventstream] features = ["derive-arbitrary"] path = ".." -version = "0.60.5" +version = "0.60.6" [workspace] members = ["."] diff --git a/sdk/aws-smithy-experimental/Cargo.toml b/sdk/aws-smithy-experimental/Cargo.toml index d9a2f92836a7..be6d85384ba5 100644 --- a/sdk/aws-smithy-experimental/Cargo.toml +++ b/sdk/aws-smithy-experimental/Cargo.toml @@ -48,7 +48,7 @@ tower = "0.4.1" [dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["http-body-1-x"] -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-runtime-api] features = ["client", "http-1x"] @@ -58,11 +58,11 @@ version = "1.7.3" [dependencies.aws-smithy-runtime] features = ["client"] path = "../aws-smithy-runtime" -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.hyper] version = "1" @@ -79,12 +79,12 @@ default-features = false [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["rt-tokio", "test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client", "test-util", "connector-hyper-0-14-x"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.tokio] version = "1" diff --git a/sdk/aws-smithy-http/Cargo.toml b/sdk/aws-smithy-http/Cargo.toml index 4d8890dacbb8..7e7251891f83 100644 --- a/sdk/aws-smithy-http/Cargo.toml +++ b/sdk/aws-smithy-http/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-smithy-http" -version = "0.60.11" +version = "0.60.12" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "Smithy HTTP logic for smithy-rs." edition = "2021" @@ -30,7 +30,7 @@ futures-core = "0.3.29" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" optional = true -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -40,7 +40,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["byte-stream-poll-next", "http-body-0-4-x"] -version = "1.2.11" +version = "1.2.12" [dependencies.http-02x] package = "http" diff --git a/sdk/aws-smithy-http/fuzz/Cargo.toml b/sdk/aws-smithy-http/fuzz/Cargo.toml index 09e56e674619..23a7bde621ac 100644 --- a/sdk/aws-smithy-http/fuzz/Cargo.toml +++ b/sdk/aws-smithy-http/fuzz/Cargo.toml @@ -16,12 +16,12 @@ edition = "2021" cargo-fuzz = true [dependencies] -libfuzzer-sys = "0.4" +libfuzzer-sys = "=0.4.7" http = "0.2.3" [dependencies.aws-smithy-http] path = ".." -version = "0.60.11" +version = "0.60.12" [workspace] members = ["."] diff --git a/sdk/aws-smithy-json/Cargo.toml b/sdk/aws-smithy-json/Cargo.toml index 2f82116af366..8066e3d23c06 100644 --- a/sdk/aws-smithy-json/Cargo.toml +++ b/sdk/aws-smithy-json/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-smithy-json" -version = "0.61.1" +version = "0.61.2" authors = ["AWS Rust SDK Team ", "John DiSanti "] description = "Token streaming JSON parser for smithy-rs." edition = "2021" @@ -14,7 +14,7 @@ cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] rustdoc-args = ["--cfg", "docsrs"] [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dev-dependencies] proptest = "1" diff --git a/sdk/aws-smithy-json/fuzz/Cargo.toml b/sdk/aws-smithy-json/fuzz/Cargo.toml index 04160e77d956..2a7a377d46a0 100644 --- a/sdk/aws-smithy-json/fuzz/Cargo.toml +++ b/sdk/aws-smithy-json/fuzz/Cargo.toml @@ -22,15 +22,15 @@ edition = "2021" cargo-fuzz = true [dependencies] -libfuzzer-sys = "0.4" +libfuzzer-sys = "=0.4.7" [dependencies.aws-smithy-json] path = ".." -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-types] path = "../../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.serde_json] version = "1" diff --git a/sdk/aws-smithy-mocks-experimental/Cargo.toml b/sdk/aws-smithy-mocks-experimental/Cargo.toml index bfc6fed26bf3..74d34ef158e9 100644 --- a/sdk/aws-smithy-mocks-experimental/Cargo.toml +++ b/sdk/aws-smithy-mocks-experimental/Cargo.toml @@ -18,7 +18,7 @@ cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] rustdoc-args = ["--cfg", "docsrs"] [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" diff --git a/sdk/aws-smithy-query/Cargo.toml b/sdk/aws-smithy-query/Cargo.toml index 70599066f2fe..ab2d84d821f7 100644 --- a/sdk/aws-smithy-query/Cargo.toml +++ b/sdk/aws-smithy-query/Cargo.toml @@ -18,4 +18,4 @@ urlencoding = "2.1" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" diff --git a/sdk/aws-smithy-runtime-api/Cargo.toml b/sdk/aws-smithy-runtime-api/Cargo.toml index 7cc118d63274..b07974ed18e1 100644 --- a/sdk/aws-smithy-runtime-api/Cargo.toml +++ b/sdk/aws-smithy-runtime-api/Cargo.toml @@ -31,11 +31,11 @@ tracing = "0.1" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.http-02x] package = "http" diff --git a/sdk/aws-smithy-runtime/Cargo.toml b/sdk/aws-smithy-runtime/Cargo.toml index bff593640e46..78595021bc7e 100644 --- a/sdk/aws-smithy-runtime/Cargo.toml +++ b/sdk/aws-smithy-runtime/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-smithy-runtime" -version = "1.7.6" +version = "1.7.7" authors = ["AWS Rust SDK Team ", "Zelda Hessler "] description = "The new smithy runtime crate" edition = "2021" @@ -38,11 +38,11 @@ tracing = "0.1.37" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -56,7 +56,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["http-body-0-4-x"] -version = "1.2.11" +version = "1.2.12" [dependencies.h2] version = "0.3" @@ -124,7 +124,7 @@ tracing-test = "0.2.1" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["rt-tokio", "test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -134,7 +134,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.tokio] version = "1.25" diff --git a/sdk/aws-smithy-runtime/src/client/defaults.rs b/sdk/aws-smithy-runtime/src/client/defaults.rs index 33740a46b127..f6699907d708 100644 --- a/sdk/aws-smithy-runtime/src/client/defaults.rs +++ b/sdk/aws-smithy-runtime/src/client/defaults.rs @@ -11,6 +11,7 @@ use crate::client::http::body::content_length_enforcement::EnforceContentLengthRuntimePlugin; use crate::client::identity::IdentityCache; +use crate::client::retries::strategy::standard::TokenBucketProvider; use crate::client::retries::strategy::StandardRetryStrategy; use crate::client::retries::RetryPartition; use aws_smithy_async::rt::sleep::default_async_sleep; @@ -88,6 +89,7 @@ pub fn default_time_source_plugin() -> Option { pub fn default_retry_config_plugin( default_partition_name: impl Into>, ) -> Option { + let retry_partition = RetryPartition::new(default_partition_name); Some( default_plugin("default_retry_config_plugin", |components| { components @@ -95,10 +97,11 @@ pub fn default_retry_config_plugin( .with_config_validator(SharedConfigValidator::base_client_config_fn( validate_retry_config, )) + .with_interceptor(TokenBucketProvider::new(retry_partition.clone())) }) .with_config(layer("default_retry_config", |layer| { layer.store_put(RetryConfig::disabled()); - layer.store_put(RetryPartition::new(default_partition_name)); + layer.store_put(retry_partition); })) .into_shared(), ) diff --git a/sdk/aws-smithy-runtime/src/client/retries/strategy/standard.rs b/sdk/aws-smithy-runtime/src/client/retries/strategy/standard.rs index 344c06077120..933476aa5da0 100644 --- a/sdk/aws-smithy-runtime/src/client/retries/strategy/standard.rs +++ b/sdk/aws-smithy-runtime/src/client/retries/strategy/standard.rs @@ -7,14 +7,17 @@ use std::sync::Mutex; use std::time::{Duration, SystemTime}; use tokio::sync::OwnedSemaphorePermit; -use tracing::debug; +use tracing::{debug, trace}; use aws_smithy_runtime_api::box_error::BoxError; -use aws_smithy_runtime_api::client::interceptors::context::InterceptorContext; +use aws_smithy_runtime_api::client::interceptors::context::{ + BeforeTransmitInterceptorContextMut, InterceptorContext, +}; +use aws_smithy_runtime_api::client::interceptors::Intercept; use aws_smithy_runtime_api::client::retries::classifiers::{RetryAction, RetryReason}; use aws_smithy_runtime_api::client::retries::{RequestAttempts, RetryStrategy, ShouldAttempt}; use aws_smithy_runtime_api::client::runtime_components::RuntimeComponents; -use aws_smithy_types::config_bag::{ConfigBag, Storable, StoreReplace}; +use aws_smithy_types::config_bag::{ConfigBag, Layer, Storable, StoreReplace}; use aws_smithy_types::retry::{ErrorKind, RetryConfig, RetryMode}; use crate::client::retries::classifiers::run_classifiers_on_ctx; @@ -29,6 +32,9 @@ use crate::static_partition_map::StaticPartitionMap; static CLIENT_RATE_LIMITER: StaticPartitionMap = StaticPartitionMap::new(); +/// Used by token bucket interceptor to ensure a TokenBucket always exists in config bag +static TOKEN_BUCKET: StaticPartitionMap = StaticPartitionMap::new(); + /// Retry strategy with exponential backoff, max attempts, and a token bucket. #[derive(Debug, Default)] pub struct StandardRetryStrategy { @@ -102,16 +108,9 @@ impl StandardRetryStrategy { .load::() .expect("at least one request attempt is made before any retry is attempted") .attempts(); - let token_bucket = cfg.load::(); match retry_reason { RetryAction::RetryIndicated(RetryReason::RetryableError { kind, retry_after }) => { - update_rate_limiter_if_exists( - runtime_components, - cfg, - *kind == ErrorKind::ThrottlingError, - ); - if let Some(delay) = *retry_after { let delay = delay.min(retry_cfg.max_backoff()); debug!("explicit request from server to delay {delay:?} before retrying"); @@ -123,16 +122,6 @@ impl StandardRetryStrategy { debug!("rate limiter has requested a {delay:?} delay before retrying"); Ok(delay) } else { - if let Some(tb) = token_bucket { - match tb.acquire(kind) { - Some(permit) => self.set_retry_permit(permit), - None => { - debug!("attempt #{request_attempts} failed with {kind:?}; However, no retry permits are available, so no retry will be attempted."); - return Err(ShouldAttempt::No); - } - } - } - let base = if retry_cfg.use_static_exponential_base() { 1.0 } else { @@ -152,11 +141,10 @@ impl StandardRetryStrategy { } } RetryAction::RetryForbidden | RetryAction::NoActionIndicated => { - update_rate_limiter_if_exists(runtime_components, cfg, false); debug!( attempts = request_attempts, max_attempts = retry_cfg.max_attempts(), - "encountered unretryable error" + "encountered un-retryable error" ); Err(ShouldAttempt::No) } @@ -199,14 +187,50 @@ impl RetryStrategy for StandardRetryStrategy { ) -> Result { let retry_cfg = cfg.load::().expect("retry config is required"); - // Check if we're out of attempts + // bookkeeping + let token_bucket = cfg.load::().expect("token bucket is required"); + // run the classifier against the context to determine if we should retry + let retry_classifiers = runtime_components.retry_classifiers(); + let classifier_result = run_classifiers_on_ctx(retry_classifiers, ctx); + + // (adaptive only): update fill rate + // NOTE: SEP indicates doing bookkeeping before asking if we should retry. We need to know if + // the error was a throttling error though to do adaptive retry bookkeeping so we take + // advantage of that information being available via the classifier result + let error_kind = error_kind(&classifier_result); + let is_throttling_error = error_kind + .map(|kind| kind == ErrorKind::ThrottlingError) + .unwrap_or(false); + update_rate_limiter_if_exists(runtime_components, cfg, is_throttling_error); + + // on success release any retry quota held by previous attempts + if !ctx.is_failed() { + if let NoPermitWasReleased = self.release_retry_permit() { + // In the event that there was no retry permit to release, we generate new + // permits from nothing. We do this to make up for permits we had to "forget". + // Otherwise, repeated retries would empty the bucket and nothing could fill it + // back up again. + token_bucket.regenerate_a_token(); + } + } + // end bookkeeping + let request_attempts = cfg .load::() .expect("at least one request attempt is made before any retry is attempted") .attempts(); - if request_attempts >= retry_cfg.max_attempts() { - update_rate_limiter_if_exists(runtime_components, cfg, false); + // check if retry should be attempted + if !classifier_result.should_retry() { + debug!( + "attempt #{request_attempts} classified as {:?}, not retrying", + classifier_result + ); + return Ok(ShouldAttempt::No); + } + + // check if we're out of attempts + if request_attempts >= retry_cfg.max_attempts() { debug!( attempts = request_attempts, max_attempts = retry_cfg.max_attempts(), @@ -215,44 +239,37 @@ impl RetryStrategy for StandardRetryStrategy { return Ok(ShouldAttempt::No); } - // Run the classifier against the context to determine if we should retry - let retry_classifiers = runtime_components.retry_classifiers(); - let classifier_result = run_classifiers_on_ctx(retry_classifiers, ctx); + // acquire permit for retry + let error_kind = error_kind.expect("result was classified retryable"); + match token_bucket.acquire(&error_kind) { + Some(permit) => self.set_retry_permit(permit), + None => { + debug!("attempt #{request_attempts} failed with {error_kind:?}; However, not enough retry quota is available for another attempt so no retry will be attempted."); + return Ok(ShouldAttempt::No); + } + } - if classifier_result.should_retry() { - // Calculate the appropriate backoff time. - let backoff = match self.calculate_backoff( - runtime_components, - cfg, - retry_cfg, - &classifier_result, - ) { + // calculate delay until next attempt + let backoff = + match self.calculate_backoff(runtime_components, cfg, retry_cfg, &classifier_result) { Ok(value) => value, // In some cases, backoff calculation will decide that we shouldn't retry at all. Err(value) => return Ok(value), }; - debug!( - "attempt #{request_attempts} failed with {:?}; retrying after {:?}", - classifier_result, backoff, - ); - Ok(ShouldAttempt::YesAfterDelay(backoff)) - } else { - debug!("attempt #{request_attempts} succeeded, no retry necessary"); - if let Some(tb) = cfg.load::() { - // If this retry strategy is holding any permits, release them back to the bucket. - if let NoPermitWasReleased = self.release_retry_permit() { - // In the event that there was no retry permit to release, we generate new - // permits from nothing. We do this to make up for permits we had to "forget". - // Otherwise, repeated retries would empty the bucket and nothing could fill it - // back up again. - tb.regenerate_a_token(); - } - } - update_rate_limiter_if_exists(runtime_components, cfg, false); + debug!( + "attempt #{request_attempts} failed with {:?}; retrying after {:?}", + classifier_result, backoff + ); + Ok(ShouldAttempt::YesAfterDelay(backoff)) + } +} - Ok(ShouldAttempt::No) - } +/// extract the error kind from the classifier result if available +fn error_kind(classifier_result: &RetryAction) -> Option { + match classifier_result { + RetryAction::RetryIndicated(RetryReason::RetryableError { kind, .. }) => Some(*kind), + _ => None, } } @@ -325,6 +342,60 @@ fn get_seconds_since_unix_epoch(runtime_components: &RuntimeComponents) -> f64 { .as_secs_f64() } +/// Interceptor registered in default retry plugin that ensures a token bucket exists in config +/// bag for every operation. Token bucket provided is partitioned by the retry partition **in the +/// config bag** at the time an operation is executed. +#[derive(Debug)] +pub(crate) struct TokenBucketProvider { + default_partition: RetryPartition, + token_bucket: TokenBucket, +} + +impl TokenBucketProvider { + /// Create a new token bucket provider with the given default retry partition. + /// + /// NOTE: This partition should be the one used for every operation on a client + /// unless config is overridden. + pub(crate) fn new(default_partition: RetryPartition) -> Self { + let token_bucket = TOKEN_BUCKET.get_or_init_default(default_partition.clone()); + Self { + default_partition, + token_bucket, + } + } +} + +impl Intercept for TokenBucketProvider { + fn name(&self) -> &'static str { + "TokenBucketProvider" + } + + fn modify_before_retry_loop( + &self, + _context: &mut BeforeTransmitInterceptorContextMut<'_>, + _runtime_components: &RuntimeComponents, + cfg: &mut ConfigBag, + ) -> Result<(), BoxError> { + let retry_partition = cfg.load::().expect("set in default config"); + + // we store the original retry partition configured and associated token bucket + // for the client when created so that we can avoid locking on _every_ request + // from _every_ client + let tb = if *retry_partition != self.default_partition { + TOKEN_BUCKET.get_or_init_default(retry_partition.clone()) + } else { + // avoid contention on the global lock + self.token_bucket.clone() + }; + + trace!("token bucket for {retry_partition:?} added to config bag"); + let mut layer = Layer::new("token_bucket_partition"); + layer.store_put(tb); + cfg.push_layer(layer); + Ok(()) + } +} + #[cfg(test)] mod tests { #[allow(unused_imports)] // will be unused with `--no-default-features --features client` @@ -349,7 +420,6 @@ mod tests { use aws_smithy_types::retry::{ErrorKind, RetryConfig}; use super::{calculate_exponential_backoff, StandardRetryStrategy}; - #[cfg(feature = "test-util")] use crate::client::retries::TokenBucket; #[test] @@ -358,6 +428,7 @@ mod tests { let mut layer = Layer::new("test"); layer.store_put(RetryConfig::standard()); layer.store_put(RequestAttempts::new(1)); + layer.store_put(TokenBucket::default()); layer }]); let rc = RuntimeComponentsBuilder::for_tests().build().unwrap(); @@ -385,6 +456,7 @@ mod tests { let mut layer = Layer::new("test"); layer.store_put(RequestAttempts::new(current_request_attempts)); layer.store_put(retry_config); + layer.store_put(TokenBucket::default()); let cfg = ConfigBag::of_layers(vec![layer]); (ctx, rc, cfg) @@ -733,7 +805,7 @@ mod tests { let should_retry = strategy.should_attempt_retry(&ctx, &rc, &cfg).unwrap(); let dur = should_retry.expect_delay(); assert_eq!(dur, Duration::from_secs(1)); - assert_eq!(token_bucket.available_permits(), 90); + assert_eq!(token_bucket.available_permits(), 80); ctx.set_output_or_error(Ok(Output::doesnt_matter())); @@ -741,7 +813,7 @@ mod tests { let no_retry = strategy.should_attempt_retry(&ctx, &rc, &cfg).unwrap(); assert_eq!(no_retry, ShouldAttempt::No); - assert_eq!(token_bucket.available_permits(), 100); + assert_eq!(token_bucket.available_permits(), 90); } #[cfg(feature = "test-util")] diff --git a/sdk/aws-smithy-runtime/tests/retries.rs b/sdk/aws-smithy-runtime/tests/retries.rs new file mode 100644 index 000000000000..9b777d8fb6cc --- /dev/null +++ b/sdk/aws-smithy-runtime/tests/retries.rs @@ -0,0 +1,204 @@ +/* + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + */ + +#![cfg(all(feature = "client", feature = "test-util"))] + +use aws_smithy_runtime::client::http::test_util::infallible_client_fn; +use aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier; +use aws_smithy_runtime::client::retries::RetryPartition; +use aws_smithy_runtime::test_util::capture_test_logs::capture_test_logs; +pub use aws_smithy_runtime::{ + client::orchestrator::operation::Operation, test_util::capture_test_logs::show_test_logs, +}; +use aws_smithy_runtime_api::client::http::SharedHttpClient; +use aws_smithy_runtime_api::client::interceptors::context::BeforeTransmitInterceptorContextRef; +use aws_smithy_runtime_api::client::interceptors::Intercept; +use aws_smithy_runtime_api::client::result::ConnectorError; +pub use aws_smithy_runtime_api::{ + box_error::BoxError, + client::{ + http::{HttpClient, HttpConnector}, + interceptors::context::{Error, Output}, + orchestrator::{HttpRequest, HttpResponse, OrchestratorError}, + runtime_components::RuntimeComponents, + ser_de::DeserializeResponse, + }, + shared::IntoShared, +}; +use aws_smithy_types::config_bag::ConfigBag; +use aws_smithy_types::retry::RetryConfig; +pub use aws_smithy_types::{body::SdkBody, timeout::TimeoutConfig}; +pub use http_body_04x::Body; +pub use std::{ + convert::Infallible, + sync::{Arc, Mutex}, + time::Duration, +}; + +#[derive(Debug, Clone)] +struct OperationState { + inner: Arc>, +} + +#[derive(Debug, Default)] +struct Inner { + attempts: usize, + retry_partition: Option, +} + +impl OperationState { + fn new() -> Self { + OperationState { + inner: Arc::new(Mutex::new(Inner::default())), + } + } + fn attempts(&self) -> usize { + self.inner.lock().unwrap().attempts + } + + fn retry_partition(&self) -> String { + let inner = self.inner.lock().unwrap(); + inner + .retry_partition + .as_ref() + .expect("retry partition set") + .clone() + } +} + +impl Intercept for OperationState { + fn name(&self) -> &'static str { + "OperationState" + } + + fn read_before_attempt( + &self, + _context: &BeforeTransmitInterceptorContextRef<'_>, + _runtime_components: &RuntimeComponents, + cfg: &mut ConfigBag, + ) -> Result<(), BoxError> { + let mut inner = self.inner.lock().unwrap(); + inner.attempts += 1; + let retry_partition = cfg + .load::() + .expect("set by default retry plugin"); + inner.retry_partition = Some(retry_partition.to_string()); + Ok(()) + } +} + +fn operation( + service: impl Into, + max_attempts: usize, + http_client: impl Into, +) -> (Operation<(), String, Infallible>, OperationState) { + #[derive(Debug)] + struct Deserializer; + impl DeserializeResponse for Deserializer { + fn deserialize_nonstreaming( + &self, + resp: &HttpResponse, + ) -> Result> { + if resp.status().is_success() { + Ok(Output::erase("output".to_owned())) + } else { + Err(OrchestratorError::connector(ConnectorError::io( + "mock connector error".into(), + ))) + } + } + } + + let attempts = OperationState::new(); + + let op = Operation::builder() + .service_name(service.into()) + .operation_name("test") + .http_client(http_client.into()) + .endpoint_url("http://localhost:1234/doesntmatter") + .no_auth() + .retry_classifier(HttpStatusCodeClassifier::default()) + .standard_retry( + &RetryConfig::standard() + .with_max_attempts(max_attempts as u32) + .with_max_backoff(Duration::from_millis(1)), + ) + .timeout_config(TimeoutConfig::disabled()) + .serializer(|_body: ()| Ok(HttpRequest::new(SdkBody::empty()))) + .deserializer_impl(Deserializer) + .interceptor(attempts.clone()) + .build(); + + (op, attempts) +} + +/// Test we exhaust the token bucket long before we exhaust max attempts +/// +/// see [aws-sdk-rust#1234](https://github.com/awslabs/aws-sdk-rust/issues/1234) +#[tokio::test] +async fn token_bucket_exhausted_before_max_attempts() { + let (_guard, logs) = capture_test_logs(); + let max_attempts = 100; + + let http_client = infallible_client_fn(|_req| { + http_02x::Response::builder() + .status(503) + .body(SdkBody::empty()) + .unwrap() + }); + let (op, state) = operation("test", max_attempts, http_client); + + let output = op.invoke(()).await; + output.expect_err("operation should fail"); + let attempts = state.attempts(); + assert_eq!("test", state.retry_partition()); + assert!( + attempts < max_attempts && attempts > 1, + "attempts = {}", + attempts + ); + logs.contents().contains( + "not enough retry quota is available for another attempt so no retry will be attempted", + ); +} + +/// Test token bucket partitioning +/// +/// see [aws-sdk-rust#1234](https://github.com/awslabs/aws-sdk-rust/issues/1234) +#[tokio::test] +async fn token_bucket_partitioning() { + let _logs = show_test_logs(); + let max_attempts = 100; + + let http_client = infallible_client_fn(|_req| { + http_02x::Response::builder() + .status(503) + .body(SdkBody::empty()) + .unwrap() + }); + let (op1, _) = operation("service-1", max_attempts, http_client.clone()); + + op1.invoke(()).await.expect_err("operation should fail"); + + // uses same partition, should trigger exhaustion sooner + let (op2, state) = operation("service-1", max_attempts, http_client.clone()); + let output2 = op2.invoke(()).await; + output2.expect_err("operation should fail"); + let attempts = state.attempts(); + assert_eq!("service-1", state.retry_partition()); + assert_eq!(attempts, 1); + + // different partition, should use different token bucket + let (op3, state) = operation("service-2", max_attempts, http_client); + let output3 = op3.invoke(()).await; + output3.expect_err("operation should fail"); + let attempts = state.attempts(); + assert_eq!("service-2", state.retry_partition()); + assert!( + attempts < max_attempts && attempts > 1, + "attempts = {}", + attempts + ); +} diff --git a/sdk/aws-smithy-types-convert/Cargo.toml b/sdk/aws-smithy-types-convert/Cargo.toml index fb0bb66781cd..3ec8c6545e80 100644 --- a/sdk/aws-smithy-types-convert/Cargo.toml +++ b/sdk/aws-smithy-types-convert/Cargo.toml @@ -20,12 +20,12 @@ convert-streams = ["aws-smithy-async", "futures-core"] [dependencies.aws-smithy-types] path = "../aws-smithy-types" optional = true -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-async] path = "../aws-smithy-async" optional = true -version = "1.2.3" +version = "1.2.4" [dependencies.chrono] version = "0.4.35" diff --git a/sdk/aws-smithy-types/Cargo.toml b/sdk/aws-smithy-types/Cargo.toml index c113df0ba1ec..43d1426839a6 100644 --- a/sdk/aws-smithy-types/Cargo.toml +++ b/sdk/aws-smithy-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aws-smithy-types" -version = "1.2.11" +version = "1.2.12" authors = [ "AWS Rust SDK Team ", "Russell Cohen ", diff --git a/sdk/aws-smithy-types/fuzz/Cargo.toml b/sdk/aws-smithy-types/fuzz/Cargo.toml index ded6af9a8676..af9f40894ae2 100644 --- a/sdk/aws-smithy-types/fuzz/Cargo.toml +++ b/sdk/aws-smithy-types/fuzz/Cargo.toml @@ -40,11 +40,11 @@ edition = "2021" cargo-fuzz = true [dependencies] -libfuzzer-sys = "0.4" +libfuzzer-sys = "=0.4.7" [dependencies.aws-smithy-types] path = ".." -version = "1.2.11" +version = "1.2.12" [workspace] members = ["."] diff --git a/sdk/aws-smithy-types/src/checksum_config.rs b/sdk/aws-smithy-types/src/checksum_config.rs new file mode 100644 index 000000000000..a44c7bd4322f --- /dev/null +++ b/sdk/aws-smithy-types/src/checksum_config.rs @@ -0,0 +1,163 @@ +/* + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + */ + +//! Types that allow users to indicate their preferences for checksum calculation and validation + +// Note: These types would likely make more sense in `aws-smithy-checksums` and were originally +// added there. But we have lints protecting against exporting non-stable types from stable crates +// and the checksums crate is not yet 1.0, so these types cannot live there for now. In the future +// if we do decide to 1.0 the checksums crate we can move these types there and re-export them here +// to maintain the current behavior. + +use std::error::Error; +use std::fmt; +use std::str::FromStr; + +use crate::config_bag::{Storable, StoreReplace}; + +// Valid names for RequestChecksumCalculation and ResponseChecksumValidation +const WHEN_SUPPORTED: &str = "when_supported"; +const WHEN_REQUIRED: &str = "when_required"; + +/// Determines when a checksum will be calculated for request payloads. Values are: +/// * [RequestChecksumCalculation::WhenSupported] - (default) When set, a checksum will be +/// calculated for all request payloads of operations modeled with the +/// `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a +/// `requestAlgorithmMember` is modeled. +/// * [RequestChecksumCalculation::WhenRequired] - When set, a checksum will only be calculated for +/// request payloads of operations modeled with the `httpChecksum` trait where +/// `requestChecksumRequired` is `true` or where a requestAlgorithmMember +/// is modeled and supplied. +#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] +#[non_exhaustive] +pub enum RequestChecksumCalculation { + /// Calculate request checksums when they are supported. + #[default] + WhenSupported, + /// Caulculate request checksums only when they are required. + WhenRequired, +} + +impl Storable for RequestChecksumCalculation { + type Storer = StoreReplace; +} + +impl FromStr for RequestChecksumCalculation { + type Err = UnknownRequestChecksumCalculationError; + + fn from_str(request_checksum_calculation: &str) -> Result { + if request_checksum_calculation.eq_ignore_ascii_case(WHEN_SUPPORTED) { + Ok(Self::WhenSupported) + } else if request_checksum_calculation.eq_ignore_ascii_case(WHEN_REQUIRED) { + Ok(Self::WhenRequired) + } else { + Err(UnknownRequestChecksumCalculationError::new( + request_checksum_calculation, + )) + } + } +} + +/// Determines when checksum validation will be performed on response payloads. Values are: +/// * [ResponseChecksumValidation::WhenSupported] - (default) When set, checksum validation is performed on all +/// response payloads of operations modeled with the `httpChecksum` trait where +/// `responseAlgorithms` is modeled, except when no modeled checksum algorithms +/// are supported. +/// * [ResponseChecksumValidation::WhenRequired] - When set, checksum validation is not performed on +/// response payloads of operations unless the checksum algorithm is supported and +/// the `requestValidationModeMember` member is set to `ENABLED`. +#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] +#[non_exhaustive] +pub enum ResponseChecksumValidation { + /// Validate response checksums when they are supported. + #[default] + WhenSupported, + /// Validate response checksums only when they are required. + WhenRequired, +} + +impl Storable for ResponseChecksumValidation { + type Storer = StoreReplace; +} + +impl FromStr for ResponseChecksumValidation { + type Err = UnknownResponseChecksumValidationError; + + fn from_str(response_checksum_validation: &str) -> Result { + if response_checksum_validation.eq_ignore_ascii_case(WHEN_SUPPORTED) { + Ok(Self::WhenSupported) + } else if response_checksum_validation.eq_ignore_ascii_case(WHEN_REQUIRED) { + Ok(Self::WhenRequired) + } else { + Err(UnknownResponseChecksumValidationError::new( + response_checksum_validation, + )) + } + } +} + +/// Unknown setting for `request_checksum_calculation` +#[derive(Debug)] +#[non_exhaustive] +pub struct UnknownRequestChecksumCalculationError { + request_checksum_calculation: String, +} + +impl UnknownRequestChecksumCalculationError { + pub(crate) fn new(request_checksum_calculation: impl Into) -> Self { + Self { + request_checksum_calculation: request_checksum_calculation.into(), + } + } + + /// The unknown value + pub fn request_checksum_calculation(&self) -> &str { + &self.request_checksum_calculation + } +} + +impl fmt::Display for UnknownRequestChecksumCalculationError { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!( + f, + r#"unknown request_checksum_calculation value "{}", please pass a known name ("when_supported", "when_required")"#, + self.request_checksum_calculation + ) + } +} + +impl Error for UnknownRequestChecksumCalculationError {} + +/// Unknown setting for `response_checksum_validation` +#[derive(Debug)] +#[non_exhaustive] +pub struct UnknownResponseChecksumValidationError { + response_checksum_validation: String, +} + +impl UnknownResponseChecksumValidationError { + pub(crate) fn new(response_checksum_validation: impl Into) -> Self { + Self { + response_checksum_validation: response_checksum_validation.into(), + } + } + + /// The unknown value + pub fn response_checksum_validation(&self) -> &str { + &self.response_checksum_validation + } +} + +impl fmt::Display for UnknownResponseChecksumValidationError { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!( + f, + r#"unknown response_checksum_validation value "{}", please pass a known name ("when_supported", "when_required")"#, + self.response_checksum_validation + ) + } +} + +impl Error for UnknownResponseChecksumValidationError {} diff --git a/sdk/aws-smithy-types/src/lib.rs b/sdk/aws-smithy-types/src/lib.rs index ed53de191b46..5af73e1fb182 100644 --- a/sdk/aws-smithy-types/src/lib.rs +++ b/sdk/aws-smithy-types/src/lib.rs @@ -20,6 +20,7 @@ pub mod base64; pub mod body; pub mod byte_stream; +pub mod checksum_config; /// A typemap for storing configuration. pub mod config_bag; pub mod date_time; diff --git a/sdk/aws-smithy-wasm/Cargo.toml b/sdk/aws-smithy-wasm/Cargo.toml index 05e24fb4d425..300343a15979 100644 --- a/sdk/aws-smithy-wasm/Cargo.toml +++ b/sdk/aws-smithy-wasm/Cargo.toml @@ -26,8 +26,8 @@ version = "1.7.3" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" diff --git a/sdk/aws-types/Cargo.toml b/sdk/aws-types/Cargo.toml index e7e2da540c53..2483c51274c6 100644 --- a/sdk/aws-types/Cargo.toml +++ b/sdk/aws-types/Cargo.toml @@ -1,7 +1,7 @@ # Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. [package] name = "aws-types" -version = "1.3.3" +version = "1.3.4" authors = ["AWS Rust SDK Team ", "Russell Cohen "] description = "Cross-service types for the AWS SDK." edition = "2021" @@ -30,16 +30,16 @@ version = "1.2.1" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" optional = true -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" diff --git a/sdk/aws-types/external-types.toml b/sdk/aws-types/external-types.toml index 5dce405f8414..ee28a1732a59 100644 --- a/sdk/aws-types/external-types.toml +++ b/sdk/aws-types/external-types.toml @@ -13,6 +13,8 @@ allowed_external_types = [ "aws_smithy_runtime_api::client::identity::SharedIdentityCache", "aws_smithy_runtime_api::client::stalled_stream_protection::StalledStreamProtectionConfig", "aws_smithy_runtime_api::http::headers::Headers", + "aws_smithy_types::checksum_config::ResponseChecksumValidation", + "aws_smithy_types::checksum_config::RequestChecksumCalculation", "aws_smithy_types::config_bag::storable::Storable", "aws_smithy_types::config_bag::storable::StoreReplace", "aws_smithy_types::config_bag::storable::Storer", diff --git a/sdk/aws-types/src/sdk_config.rs b/sdk/aws-types/src/sdk_config.rs index c26d8741be8e..19220fc526e2 100644 --- a/sdk/aws-types/src/sdk_config.rs +++ b/sdk/aws-types/src/sdk_config.rs @@ -25,6 +25,9 @@ pub use aws_smithy_runtime_api::client::http::SharedHttpClient; use aws_smithy_runtime_api::client::identity::{ResolveCachedIdentity, SharedIdentityCache}; pub use aws_smithy_runtime_api::client::stalled_stream_protection::StalledStreamProtectionConfig; use aws_smithy_runtime_api::shared::IntoShared; +pub use aws_smithy_types::checksum_config::{ + RequestChecksumCalculation, ResponseChecksumValidation, +}; pub use aws_smithy_types::retry::RetryConfig; pub use aws_smithy_types::timeout::TimeoutConfig; use std::collections::HashMap; @@ -92,6 +95,8 @@ pub struct SdkConfig { config_origins: HashMap<&'static str, Origin>, disable_request_compression: Option, request_min_compression_size_bytes: Option, + request_checksum_calculation: Option, + response_checksum_validation: Option, } /// Builder for AWS Shared Configuration @@ -120,6 +125,8 @@ pub struct Builder { config_origins: HashMap<&'static str, Origin>, disable_request_compression: Option, request_min_compression_size_bytes: Option, + request_checksum_calculation: Option, + response_checksum_validation: Option, } impl Builder { @@ -174,6 +181,54 @@ impl Builder { self } + /// Set the checksum calculation strategy to use when making requests. + /// # Examples + /// ``` + /// use aws_types::SdkConfig; + /// use aws_smithy_types::checksum_config::RequestChecksumCalculation; + /// let config = SdkConfig::builder().request_checksum_calculation(RequestChecksumCalculation::WhenSupported).build(); + /// ``` + pub fn request_checksum_calculation( + mut self, + request_checksum_calculation: RequestChecksumCalculation, + ) -> Self { + self.set_request_checksum_calculation(Some(request_checksum_calculation)); + self + } + + /// Set the checksum calculation strategy to use when making requests. + pub fn set_request_checksum_calculation( + &mut self, + request_checksum_calculation: Option, + ) -> &mut Self { + self.request_checksum_calculation = request_checksum_calculation; + self + } + + /// Set the checksum calculation strategy to use for responses. + /// # Examples + /// ``` + /// use aws_types::SdkConfig; + /// use aws_smithy_types::checksum_config::ResponseChecksumValidation; + /// let config = SdkConfig::builder().response_checksum_validation(ResponseChecksumValidation::WhenSupported).build(); + /// ``` + pub fn response_checksum_validation( + mut self, + response_checksum_validation: ResponseChecksumValidation, + ) -> Self { + self.set_response_checksum_validation(Some(response_checksum_validation)); + self + } + + /// Set the checksum calculation strategy to use for responses. + pub fn set_response_checksum_validation( + &mut self, + response_checksum_validation: Option, + ) -> &mut Self { + self.response_checksum_validation = response_checksum_validation; + self + } + /// Set the retry_config for the builder /// /// _Note:_ Retries require a sleep implementation in order to work. When enabling retry, make @@ -720,6 +775,8 @@ impl Builder { config_origins: self.config_origins, disable_request_compression: self.disable_request_compression, request_min_compression_size_bytes: self.request_min_compression_size_bytes, + request_checksum_calculation: self.request_checksum_calculation, + response_checksum_validation: self.response_checksum_validation, } } } @@ -866,6 +923,16 @@ impl SdkConfig { self.disable_request_compression } + /// Configured checksum request behavior. + pub fn request_checksum_calculation(&self) -> Option { + self.request_checksum_calculation + } + + /// Configured checksum response behavior. + pub fn response_checksum_validation(&self) -> Option { + self.response_checksum_validation + } + /// Configured minimum request compression size. pub fn request_min_compression_size_bytes(&self) -> Option { self.request_min_compression_size_bytes @@ -933,6 +1000,8 @@ impl SdkConfig { config_origins: self.config_origins, disable_request_compression: self.disable_request_compression, request_min_compression_size_bytes: self.request_min_compression_size_bytes, + request_checksum_calculation: self.request_checksum_calculation, + response_checksum_validation: self.response_checksum_validation, } } } diff --git a/sdk/b2bi/Cargo.toml b/sdk/b2bi/Cargo.toml index ae17f9f64ac3..aa03abe2acb6 100644 --- a/sdk/b2bi/Cargo.toml +++ b/sdk/b2bi/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/b2bi/src/config.rs b/sdk/b2bi/src/config.rs index 996d07213026..853fd66e10f2 100644 --- a/sdk/b2bi/src/config.rs +++ b/sdk/b2bi/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "b2bi"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("b2bi") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/backup/Cargo.toml b/sdk/backup/Cargo.toml index 05a2f4a9b1b3..251ae179dd89 100644 --- a/sdk/backup/Cargo.toml +++ b/sdk/backup/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/backup/src/config.rs b/sdk/backup/src/config.rs index d0aea60a3cd4..9f8bd9324d7e 100644 --- a/sdk/backup/src/config.rs +++ b/sdk/backup/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "backup"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("backup") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/backupgateway/Cargo.toml b/sdk/backupgateway/Cargo.toml index b3f269a1944e..fab780f82e22 100644 --- a/sdk/backupgateway/Cargo.toml +++ b/sdk/backupgateway/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/backupgateway/src/config.rs b/sdk/backupgateway/src/config.rs index 6e9434cd4da1..2e6e097c5ca6 100644 --- a/sdk/backupgateway/src/config.rs +++ b/sdk/backupgateway/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "backupgateway"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("backupgateway") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/backupsearch/Cargo.toml b/sdk/backupsearch/Cargo.toml index 150d0ff5e0bd..ce6109388e8d 100644 --- a/sdk/backupsearch/Cargo.toml +++ b/sdk/backupsearch/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/backupsearch/src/config.rs b/sdk/backupsearch/src/config.rs index 066c6b577765..264b51e3506f 100644 --- a/sdk/backupsearch/src/config.rs +++ b/sdk/backupsearch/src/config.rs @@ -1274,11 +1274,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "backupsearch"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("backupsearch") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/batch/Cargo.toml b/sdk/batch/Cargo.toml index 7e462269656f..234588817fca 100644 --- a/sdk/batch/Cargo.toml +++ b/sdk/batch/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/batch/src/config.rs b/sdk/batch/src/config.rs index 40843cfccfcd..e7d97685a8bf 100644 --- a/sdk/batch/src/config.rs +++ b/sdk/batch/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "batch"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("batch") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/bcmdataexports/Cargo.toml b/sdk/bcmdataexports/Cargo.toml index bccfb17a411a..74b9338dd4fd 100644 --- a/sdk/bcmdataexports/Cargo.toml +++ b/sdk/bcmdataexports/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/bcmdataexports/src/config.rs b/sdk/bcmdataexports/src/config.rs index cdc1c0404803..1892dd8dd75a 100644 --- a/sdk/bcmdataexports/src/config.rs +++ b/sdk/bcmdataexports/src/config.rs @@ -1274,11 +1274,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "bcmdataexports"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("bcmdataexports") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/bcmpricingcalculator/Cargo.toml b/sdk/bcmpricingcalculator/Cargo.toml index 9de472611cae..17f1e0f233ec 100644 --- a/sdk/bcmpricingcalculator/Cargo.toml +++ b/sdk/bcmpricingcalculator/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/bcmpricingcalculator/src/config.rs b/sdk/bcmpricingcalculator/src/config.rs index 09e45163108d..97db5aa696f1 100644 --- a/sdk/bcmpricingcalculator/src/config.rs +++ b/sdk/bcmpricingcalculator/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "bcmpricingcalculator"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("bcmpricingcalculator") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/bedrock/Cargo.toml b/sdk/bedrock/Cargo.toml index a71b4d2fd16b..1d5648aaebf0 100644 --- a/sdk/bedrock/Cargo.toml +++ b/sdk/bedrock/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/bedrock/src/config.rs b/sdk/bedrock/src/config.rs index bbf40f17064b..3c142df7ba31 100644 --- a/sdk/bedrock/src/config.rs +++ b/sdk/bedrock/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "bedrock"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("bedrock") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/bedrockagent/Cargo.toml b/sdk/bedrockagent/Cargo.toml index 3abf3ad144f9..3f53e667d4d2 100644 --- a/sdk/bedrockagent/Cargo.toml +++ b/sdk/bedrockagent/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/bedrockagent/src/config.rs b/sdk/bedrockagent/src/config.rs index d9d5bc9e28db..4522205056e5 100644 --- a/sdk/bedrockagent/src/config.rs +++ b/sdk/bedrockagent/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "bedrockagent"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("bedrockagent") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/bedrockagentruntime/Cargo.toml b/sdk/bedrockagentruntime/Cargo.toml index 5e02ee8ee451..e0ea3f8cee96 100644 --- a/sdk/bedrockagentruntime/Cargo.toml +++ b/sdk/bedrockagentruntime/Cargo.toml @@ -20,29 +20,29 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -51,11 +51,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/bedrockagentruntime/src/config.rs b/sdk/bedrockagentruntime/src/config.rs index fda0cbcef967..6d14288ca707 100644 --- a/sdk/bedrockagentruntime/src/config.rs +++ b/sdk/bedrockagentruntime/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "bedrockagentruntime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("bedrockagentruntime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/bedrockdataautomation/Cargo.toml b/sdk/bedrockdataautomation/Cargo.toml index 3626d2d44f65..1e2429472a9d 100644 --- a/sdk/bedrockdataautomation/Cargo.toml +++ b/sdk/bedrockdataautomation/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/bedrockdataautomation/src/config.rs b/sdk/bedrockdataautomation/src/config.rs index 316c4f9a46f2..8a298d183607 100644 --- a/sdk/bedrockdataautomation/src/config.rs +++ b/sdk/bedrockdataautomation/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "bedrockdataautomation"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("bedrockdataautomation") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/bedrockdataautomationruntime/Cargo.toml b/sdk/bedrockdataautomationruntime/Cargo.toml index 1abd46e1f3af..60758c38d632 100644 --- a/sdk/bedrockdataautomationruntime/Cargo.toml +++ b/sdk/bedrockdataautomationruntime/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/bedrockdataautomationruntime/src/config.rs b/sdk/bedrockdataautomationruntime/src/config.rs index a0e8759abbe4..fc97a9662946 100644 --- a/sdk/bedrockdataautomationruntime/src/config.rs +++ b/sdk/bedrockdataautomationruntime/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "bedrockdataautomationruntime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("bedrockdataautomationruntime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/bedrockruntime/Cargo.toml b/sdk/bedrockruntime/Cargo.toml index c253165f6e9b..4a7455ed251a 100644 --- a/sdk/bedrockruntime/Cargo.toml +++ b/sdk/bedrockruntime/Cargo.toml @@ -20,29 +20,29 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -51,11 +51,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -76,7 +76,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/bedrockruntime/src/config.rs b/sdk/bedrockruntime/src/config.rs index fde53834d74f..a3f084491193 100644 --- a/sdk/bedrockruntime/src/config.rs +++ b/sdk/bedrockruntime/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "bedrockruntime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("bedrockruntime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/billing/Cargo.toml b/sdk/billing/Cargo.toml index 5bcc10a1f7c9..72a2d1e75292 100644 --- a/sdk/billing/Cargo.toml +++ b/sdk/billing/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/billing/src/config.rs b/sdk/billing/src/config.rs index b20f43750c85..17c20bfcf6f2 100644 --- a/sdk/billing/src/config.rs +++ b/sdk/billing/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "billing"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("billing") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/billingconductor/Cargo.toml b/sdk/billingconductor/Cargo.toml index 0b42591942fd..3abbd66056d9 100644 --- a/sdk/billingconductor/Cargo.toml +++ b/sdk/billingconductor/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/billingconductor/src/config.rs b/sdk/billingconductor/src/config.rs index 0fa6d98d6f5d..0df92f5dea2a 100644 --- a/sdk/billingconductor/src/config.rs +++ b/sdk/billingconductor/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "billingconductor"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("billingconductor") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/braket/Cargo.toml b/sdk/braket/Cargo.toml index c3c6cc2bdcec..a91523c64ccd 100644 --- a/sdk/braket/Cargo.toml +++ b/sdk/braket/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/braket/src/config.rs b/sdk/braket/src/config.rs index 2681b928fae4..7d6dad8c2b70 100644 --- a/sdk/braket/src/config.rs +++ b/sdk/braket/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "braket"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("braket") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/budgets/Cargo.toml b/sdk/budgets/Cargo.toml index f196068ccb66..11a47385f904 100644 --- a/sdk/budgets/Cargo.toml +++ b/sdk/budgets/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/budgets/src/config.rs b/sdk/budgets/src/config.rs index 0f80fb15ee90..bc85a87af508 100644 --- a/sdk/budgets/src/config.rs +++ b/sdk/budgets/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "budgets"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("budgets") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/chatbot/Cargo.toml b/sdk/chatbot/Cargo.toml index 7023567a9d55..945c36ed3c1c 100644 --- a/sdk/chatbot/Cargo.toml +++ b/sdk/chatbot/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/chatbot/src/config.rs b/sdk/chatbot/src/config.rs index e1f201532c17..de818ed6a1de 100644 --- a/sdk/chatbot/src/config.rs +++ b/sdk/chatbot/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "chatbot"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("chatbot") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/chime/Cargo.toml b/sdk/chime/Cargo.toml index 7755bcbc04aa..93434f2438f7 100644 --- a/sdk/chime/Cargo.toml +++ b/sdk/chime/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/chime/src/config.rs b/sdk/chime/src/config.rs index 4f876bba4294..8d60d02aec65 100644 --- a/sdk/chime/src/config.rs +++ b/sdk/chime/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "chime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("chime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/chimesdkidentity/Cargo.toml b/sdk/chimesdkidentity/Cargo.toml index e57a09a3754c..e099219ac949 100644 --- a/sdk/chimesdkidentity/Cargo.toml +++ b/sdk/chimesdkidentity/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/chimesdkidentity/src/config.rs b/sdk/chimesdkidentity/src/config.rs index 011ad71adc19..a4be0691d728 100644 --- a/sdk/chimesdkidentity/src/config.rs +++ b/sdk/chimesdkidentity/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "chimesdkidentity"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("chimesdkidentity") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/chimesdkmediapipelines/Cargo.toml b/sdk/chimesdkmediapipelines/Cargo.toml index 38bd0b3d2842..84ffb1dbffbe 100644 --- a/sdk/chimesdkmediapipelines/Cargo.toml +++ b/sdk/chimesdkmediapipelines/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/chimesdkmediapipelines/src/config.rs b/sdk/chimesdkmediapipelines/src/config.rs index 4575569ded60..f7095a473a42 100644 --- a/sdk/chimesdkmediapipelines/src/config.rs +++ b/sdk/chimesdkmediapipelines/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "chimesdkmediapipelines"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("chimesdkmediapipelines") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/chimesdkmeetings/Cargo.toml b/sdk/chimesdkmeetings/Cargo.toml index a6d72a6aa10d..9d27c2136e5e 100644 --- a/sdk/chimesdkmeetings/Cargo.toml +++ b/sdk/chimesdkmeetings/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/chimesdkmeetings/src/config.rs b/sdk/chimesdkmeetings/src/config.rs index 0c2c2c5a9683..f423d16977b5 100644 --- a/sdk/chimesdkmeetings/src/config.rs +++ b/sdk/chimesdkmeetings/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "chimesdkmeetings"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("chimesdkmeetings") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/chimesdkmessaging/Cargo.toml b/sdk/chimesdkmessaging/Cargo.toml index 2d5965c99764..145114fd8175 100644 --- a/sdk/chimesdkmessaging/Cargo.toml +++ b/sdk/chimesdkmessaging/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/chimesdkmessaging/src/config.rs b/sdk/chimesdkmessaging/src/config.rs index 9d910511dada..1144b35054c7 100644 --- a/sdk/chimesdkmessaging/src/config.rs +++ b/sdk/chimesdkmessaging/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "chimesdkmessaging"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("chimesdkmessaging") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/chimesdkvoice/Cargo.toml b/sdk/chimesdkvoice/Cargo.toml index a6555bd79352..d37189fcba23 100644 --- a/sdk/chimesdkvoice/Cargo.toml +++ b/sdk/chimesdkvoice/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/chimesdkvoice/src/config.rs b/sdk/chimesdkvoice/src/config.rs index ad9e5781e7c9..7e73fcb77b53 100644 --- a/sdk/chimesdkvoice/src/config.rs +++ b/sdk/chimesdkvoice/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "chimesdkvoice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("chimesdkvoice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cleanrooms/Cargo.toml b/sdk/cleanrooms/Cargo.toml index 5e9fd8c00238..6f304dd55026 100644 --- a/sdk/cleanrooms/Cargo.toml +++ b/sdk/cleanrooms/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cleanrooms/src/config.rs b/sdk/cleanrooms/src/config.rs index c5bb6cddaeca..ef73eca8af9e 100644 --- a/sdk/cleanrooms/src/config.rs +++ b/sdk/cleanrooms/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cleanrooms"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cleanrooms") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cleanroomsml/Cargo.toml b/sdk/cleanroomsml/Cargo.toml index 64fb63717ab8..3504fb4a971b 100644 --- a/sdk/cleanroomsml/Cargo.toml +++ b/sdk/cleanroomsml/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cleanroomsml/src/config.rs b/sdk/cleanroomsml/src/config.rs index 6260b8a71117..08ad38d5e329 100644 --- a/sdk/cleanroomsml/src/config.rs +++ b/sdk/cleanroomsml/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cleanroomsml"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cleanroomsml") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloud9/Cargo.toml b/sdk/cloud9/Cargo.toml index 29610fe6e7b6..b1ebe0570123 100644 --- a/sdk/cloud9/Cargo.toml +++ b/sdk/cloud9/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloud9/src/config.rs b/sdk/cloud9/src/config.rs index 2c05129e6415..aa237b35e36f 100644 --- a/sdk/cloud9/src/config.rs +++ b/sdk/cloud9/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloud9"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloud9") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudcontrol/Cargo.toml b/sdk/cloudcontrol/Cargo.toml index 0d4ddc7311e9..36c51f6b227a 100644 --- a/sdk/cloudcontrol/Cargo.toml +++ b/sdk/cloudcontrol/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudcontrol/src/config.rs b/sdk/cloudcontrol/src/config.rs index 402d16975e4c..25f5cf570e94 100644 --- a/sdk/cloudcontrol/src/config.rs +++ b/sdk/cloudcontrol/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudcontrol"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudcontrol") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/clouddirectory/Cargo.toml b/sdk/clouddirectory/Cargo.toml index ab7fec47828b..8b2692cf5287 100644 --- a/sdk/clouddirectory/Cargo.toml +++ b/sdk/clouddirectory/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/clouddirectory/src/config.rs b/sdk/clouddirectory/src/config.rs index 0609e26a9a3b..aa5ccd495644 100644 --- a/sdk/clouddirectory/src/config.rs +++ b/sdk/clouddirectory/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "clouddirectory"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("clouddirectory") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudformation/Cargo.toml b/sdk/cloudformation/Cargo.toml index 91899fdc2468..a4693937f285 100644 --- a/sdk/cloudformation/Cargo.toml +++ b/sdk/cloudformation/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.fastrand] version = "2.0.0" @@ -76,7 +76,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudformation/src/config.rs b/sdk/cloudformation/src/config.rs index 807b9cb1983c..fbd80a0e9322 100644 --- a/sdk/cloudformation/src/config.rs +++ b/sdk/cloudformation/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudformation"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudformation") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudfront/Cargo.toml b/sdk/cloudfront/Cargo.toml index 3589df3dfc90..23d03f0eb296 100644 --- a/sdk/cloudfront/Cargo.toml +++ b/sdk/cloudfront/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,7 +46,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -54,7 +54,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -69,7 +69,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudfront/src/config.rs b/sdk/cloudfront/src/config.rs index dd42e415905f..0c23fdc0f040 100644 --- a/sdk/cloudfront/src/config.rs +++ b/sdk/cloudfront/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudfront"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudfront") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudfrontkeyvaluestore/Cargo.toml b/sdk/cloudfrontkeyvaluestore/Cargo.toml index 575768ee8069..dbdf836ca6dd 100644 --- a/sdk/cloudfrontkeyvaluestore/Cargo.toml +++ b/sdk/cloudfrontkeyvaluestore/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1" version = "2.3.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudfrontkeyvaluestore/src/config.rs b/sdk/cloudfrontkeyvaluestore/src/config.rs index 8d345a3aa5dc..e1b345ff54b6 100644 --- a/sdk/cloudfrontkeyvaluestore/src/config.rs +++ b/sdk/cloudfrontkeyvaluestore/src/config.rs @@ -1285,11 +1285,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudfrontkeyvaluestore"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudfrontkeyvaluestore") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudhsm/Cargo.toml b/sdk/cloudhsm/Cargo.toml index 7ee2159257e9..c9498d875aff 100644 --- a/sdk/cloudhsm/Cargo.toml +++ b/sdk/cloudhsm/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudhsm/src/config.rs b/sdk/cloudhsm/src/config.rs index ec98ae8bdc0f..3a9ee91d0d9e 100644 --- a/sdk/cloudhsm/src/config.rs +++ b/sdk/cloudhsm/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudhsm"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudhsm") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudhsmv2/Cargo.toml b/sdk/cloudhsmv2/Cargo.toml index df0b0439538e..286c2bc0340a 100644 --- a/sdk/cloudhsmv2/Cargo.toml +++ b/sdk/cloudhsmv2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudhsmv2/src/config.rs b/sdk/cloudhsmv2/src/config.rs index 16e157b7b4fb..90d434bff665 100644 --- a/sdk/cloudhsmv2/src/config.rs +++ b/sdk/cloudhsmv2/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudhsmv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudhsmv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudsearch/Cargo.toml b/sdk/cloudsearch/Cargo.toml index d96270a61e63..3af8ebb23e2c 100644 --- a/sdk/cloudsearch/Cargo.toml +++ b/sdk/cloudsearch/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudsearch/src/config.rs b/sdk/cloudsearch/src/config.rs index 6d2d549de97e..33a2391997fc 100644 --- a/sdk/cloudsearch/src/config.rs +++ b/sdk/cloudsearch/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudsearch"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudsearch") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudsearchdomain/Cargo.toml b/sdk/cloudsearchdomain/Cargo.toml index 4be22ba5233c..6e4b3efdab99 100644 --- a/sdk/cloudsearchdomain/Cargo.toml +++ b/sdk/cloudsearchdomain/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudsearchdomain/src/config.rs b/sdk/cloudsearchdomain/src/config.rs index 4b0bc7b84209..6dbe649928d6 100644 --- a/sdk/cloudsearchdomain/src/config.rs +++ b/sdk/cloudsearchdomain/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudsearchdomain"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudsearchdomain") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudtrail/Cargo.toml b/sdk/cloudtrail/Cargo.toml index 3cd99c323802..b6d7b9be4d76 100644 --- a/sdk/cloudtrail/Cargo.toml +++ b/sdk/cloudtrail/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudtrail/src/config.rs b/sdk/cloudtrail/src/config.rs index f871ed5f4b93..15cd49dabe74 100644 --- a/sdk/cloudtrail/src/config.rs +++ b/sdk/cloudtrail/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudtrail"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudtrail") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudtraildata/Cargo.toml b/sdk/cloudtraildata/Cargo.toml index 099b5ac2460b..9f018172b94b 100644 --- a/sdk/cloudtraildata/Cargo.toml +++ b/sdk/cloudtraildata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudtraildata/src/config.rs b/sdk/cloudtraildata/src/config.rs index ab8c1ffcc134..f31d59109d7f 100644 --- a/sdk/cloudtraildata/src/config.rs +++ b/sdk/cloudtraildata/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudtraildata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudtraildata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudwatch/Cargo.toml b/sdk/cloudwatch/Cargo.toml index dea26d4374bb..47a4779cf767 100644 --- a/sdk/cloudwatch/Cargo.toml +++ b/sdk/cloudwatch/Cargo.toml @@ -20,11 +20,11 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-compression] path = "../aws-smithy-compression" @@ -33,11 +33,11 @@ version = "0.0.2" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -46,7 +46,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -56,7 +56,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["http-body-0-4-x"] -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -64,7 +64,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.flate2] version = "1.0.30" @@ -85,7 +85,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -94,7 +94,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dev-dependencies.tokio] version = "1.23.1" diff --git a/sdk/cloudwatch/src/config.rs b/sdk/cloudwatch/src/config.rs index b892bd6dbf54..bf0751982bc7 100644 --- a/sdk/cloudwatch/src/config.rs +++ b/sdk/cloudwatch/src/config.rs @@ -1340,11 +1340,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudwatch"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudwatch") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudwatchevents/Cargo.toml b/sdk/cloudwatchevents/Cargo.toml index 5c61e2bf1eb0..6eada6e2a6e5 100644 --- a/sdk/cloudwatchevents/Cargo.toml +++ b/sdk/cloudwatchevents/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudwatchevents/src/config.rs b/sdk/cloudwatchevents/src/config.rs index a03b3b19bee2..a3e8cca14da2 100644 --- a/sdk/cloudwatchevents/src/config.rs +++ b/sdk/cloudwatchevents/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudwatchevents"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudwatchevents") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cloudwatchlogs/Cargo.toml b/sdk/cloudwatchlogs/Cargo.toml index e07eff40dc7e..7f56c9c8a83f 100644 --- a/sdk/cloudwatchlogs/Cargo.toml +++ b/sdk/cloudwatchlogs/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cloudwatchlogs/src/config.rs b/sdk/cloudwatchlogs/src/config.rs index c132323b76cf..30516179bdab 100644 --- a/sdk/cloudwatchlogs/src/config.rs +++ b/sdk/cloudwatchlogs/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cloudwatchlogs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cloudwatchlogs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codeartifact/Cargo.toml b/sdk/codeartifact/Cargo.toml index ca08d6c0d16a..4b3d62448e0b 100644 --- a/sdk/codeartifact/Cargo.toml +++ b/sdk/codeartifact/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codeartifact/src/config.rs b/sdk/codeartifact/src/config.rs index 205f28f158d6..0524d75f54f7 100644 --- a/sdk/codeartifact/src/config.rs +++ b/sdk/codeartifact/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codeartifact"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codeartifact") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codebuild/Cargo.toml b/sdk/codebuild/Cargo.toml index cc2407fe453a..88a4836e3006 100644 --- a/sdk/codebuild/Cargo.toml +++ b/sdk/codebuild/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codebuild/src/config.rs b/sdk/codebuild/src/config.rs index 11a76904d3fc..4943b2790681 100644 --- a/sdk/codebuild/src/config.rs +++ b/sdk/codebuild/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codebuild"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codebuild") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codecatalyst/Cargo.toml b/sdk/codecatalyst/Cargo.toml index 2563ee052376..8a283f959267 100644 --- a/sdk/codecatalyst/Cargo.toml +++ b/sdk/codecatalyst/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client", "http-auth"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -81,12 +81,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -95,7 +95,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -105,7 +105,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/codecatalyst/src/config.rs b/sdk/codecatalyst/src/config.rs index 2a825e7754a4..2a01fd0db021 100644 --- a/sdk/codecatalyst/src/config.rs +++ b/sdk/codecatalyst/src/config.rs @@ -1296,11 +1296,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codecatalyst"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codecatalyst") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codecommit/Cargo.toml b/sdk/codecommit/Cargo.toml index e87d450b66b4..2dddc6745345 100644 --- a/sdk/codecommit/Cargo.toml +++ b/sdk/codecommit/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codecommit/src/config.rs b/sdk/codecommit/src/config.rs index 632b2c6a9c48..35d6c2c27de5 100644 --- a/sdk/codecommit/src/config.rs +++ b/sdk/codecommit/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codecommit"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codecommit") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codeconnections/Cargo.toml b/sdk/codeconnections/Cargo.toml index 614e2c266956..32c85ed9fe47 100644 --- a/sdk/codeconnections/Cargo.toml +++ b/sdk/codeconnections/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codeconnections/src/config.rs b/sdk/codeconnections/src/config.rs index 589f2b57df73..e8d58e262f8e 100644 --- a/sdk/codeconnections/src/config.rs +++ b/sdk/codeconnections/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codeconnections"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codeconnections") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codedeploy/Cargo.toml b/sdk/codedeploy/Cargo.toml index 035be80df354..0f205dadf695 100644 --- a/sdk/codedeploy/Cargo.toml +++ b/sdk/codedeploy/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codedeploy/src/config.rs b/sdk/codedeploy/src/config.rs index fe49302de5e7..5daa132a3d46 100644 --- a/sdk/codedeploy/src/config.rs +++ b/sdk/codedeploy/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codedeploy"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codedeploy") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codeguruprofiler/Cargo.toml b/sdk/codeguruprofiler/Cargo.toml index 1162850e46b4..036f034a5db4 100644 --- a/sdk/codeguruprofiler/Cargo.toml +++ b/sdk/codeguruprofiler/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codeguruprofiler/src/config.rs b/sdk/codeguruprofiler/src/config.rs index 431b2fb18e28..a0eb062fd6e8 100644 --- a/sdk/codeguruprofiler/src/config.rs +++ b/sdk/codeguruprofiler/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codeguruprofiler"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codeguruprofiler") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codegurureviewer/Cargo.toml b/sdk/codegurureviewer/Cargo.toml index 2e34b9d4bd30..914fa19988d2 100644 --- a/sdk/codegurureviewer/Cargo.toml +++ b/sdk/codegurureviewer/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codegurureviewer/src/config.rs b/sdk/codegurureviewer/src/config.rs index 3e40ad8c84dd..e1f494e6ce36 100644 --- a/sdk/codegurureviewer/src/config.rs +++ b/sdk/codegurureviewer/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codegurureviewer"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codegurureviewer") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codegurusecurity/Cargo.toml b/sdk/codegurusecurity/Cargo.toml index 6995975825d2..ee156b7fe9ac 100644 --- a/sdk/codegurusecurity/Cargo.toml +++ b/sdk/codegurusecurity/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codegurusecurity/src/config.rs b/sdk/codegurusecurity/src/config.rs index 627e4aa7d764..a35d70279ce0 100644 --- a/sdk/codegurusecurity/src/config.rs +++ b/sdk/codegurusecurity/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codegurusecurity"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codegurusecurity") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codepipeline/Cargo.toml b/sdk/codepipeline/Cargo.toml index d5b714cca45c..f490fd622181 100644 --- a/sdk/codepipeline/Cargo.toml +++ b/sdk/codepipeline/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codepipeline/src/config.rs b/sdk/codepipeline/src/config.rs index ca357657db0e..41418a366681 100644 --- a/sdk/codepipeline/src/config.rs +++ b/sdk/codepipeline/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codepipeline"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codepipeline") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codestarconnections/Cargo.toml b/sdk/codestarconnections/Cargo.toml index 7a70cb316f8a..ac269a0acee0 100644 --- a/sdk/codestarconnections/Cargo.toml +++ b/sdk/codestarconnections/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codestarconnections/src/config.rs b/sdk/codestarconnections/src/config.rs index bff7c6574732..b987b7fe3feb 100644 --- a/sdk/codestarconnections/src/config.rs +++ b/sdk/codestarconnections/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codestarconnections"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codestarconnections") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/codestarnotifications/Cargo.toml b/sdk/codestarnotifications/Cargo.toml index f458e3e340f9..1603fd5ce34e 100644 --- a/sdk/codestarnotifications/Cargo.toml +++ b/sdk/codestarnotifications/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/codestarnotifications/src/config.rs b/sdk/codestarnotifications/src/config.rs index 0ba6f760b126..3240a7dcf20c 100644 --- a/sdk/codestarnotifications/src/config.rs +++ b/sdk/codestarnotifications/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "codestarnotifications"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("codestarnotifications") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cognitoidentity/Cargo.toml b/sdk/cognitoidentity/Cargo.toml index b3b5d60ca367..e51356c746dd 100644 --- a/sdk/cognitoidentity/Cargo.toml +++ b/sdk/cognitoidentity/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cognitoidentity/src/config.rs b/sdk/cognitoidentity/src/config.rs index 8a9d0c79af96..d9e87794acc4 100644 --- a/sdk/cognitoidentity/src/config.rs +++ b/sdk/cognitoidentity/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cognitoidentity"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cognitoidentity") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cognitoidentityprovider/Cargo.toml b/sdk/cognitoidentityprovider/Cargo.toml index ae64e7bd976f..4563c477c570 100644 --- a/sdk/cognitoidentityprovider/Cargo.toml +++ b/sdk/cognitoidentityprovider/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cognitoidentityprovider/src/config.rs b/sdk/cognitoidentityprovider/src/config.rs index 0762c1a0b76a..3da2e042e093 100644 --- a/sdk/cognitoidentityprovider/src/config.rs +++ b/sdk/cognitoidentityprovider/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cognitoidentityprovider"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cognitoidentityprovider") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/cognitosync/Cargo.toml b/sdk/cognitosync/Cargo.toml index 3982138545cb..ce89a3137c78 100644 --- a/sdk/cognitosync/Cargo.toml +++ b/sdk/cognitosync/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/cognitosync/src/config.rs b/sdk/cognitosync/src/config.rs index 6cbc541cdc01..c79eb9cdd28b 100644 --- a/sdk/cognitosync/src/config.rs +++ b/sdk/cognitosync/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "cognitosync"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("cognitosync") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/comprehend/Cargo.toml b/sdk/comprehend/Cargo.toml index 60b4fa8143c6..e358b904a033 100644 --- a/sdk/comprehend/Cargo.toml +++ b/sdk/comprehend/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/comprehend/src/config.rs b/sdk/comprehend/src/config.rs index 54f181585ac1..5b16bf0c81f2 100644 --- a/sdk/comprehend/src/config.rs +++ b/sdk/comprehend/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "comprehend"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("comprehend") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/comprehendmedical/Cargo.toml b/sdk/comprehendmedical/Cargo.toml index 4d5fae2a6b08..647666874093 100644 --- a/sdk/comprehendmedical/Cargo.toml +++ b/sdk/comprehendmedical/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/comprehendmedical/src/config.rs b/sdk/comprehendmedical/src/config.rs index dc935fb9d0ec..16183a26fb7b 100644 --- a/sdk/comprehendmedical/src/config.rs +++ b/sdk/comprehendmedical/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "comprehendmedical"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("comprehendmedical") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/computeoptimizer/Cargo.toml b/sdk/computeoptimizer/Cargo.toml index eadf275b342e..fa4066293251 100644 --- a/sdk/computeoptimizer/Cargo.toml +++ b/sdk/computeoptimizer/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/computeoptimizer/src/config.rs b/sdk/computeoptimizer/src/config.rs index 3bf1241f33e3..ff85be6f270d 100644 --- a/sdk/computeoptimizer/src/config.rs +++ b/sdk/computeoptimizer/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "computeoptimizer"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("computeoptimizer") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/config/Cargo.toml b/sdk/config/Cargo.toml index 3143468e7ba5..15f9b250cd4c 100644 --- a/sdk/config/Cargo.toml +++ b/sdk/config/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/config/src/config.rs b/sdk/config/src/config.rs index 97c4126682e4..da9eb4bb1203 100644 --- a/sdk/config/src/config.rs +++ b/sdk/config/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "configservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("configservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/connect/Cargo.toml b/sdk/connect/Cargo.toml index 1cb0b0dc8a33..673ec74c13c9 100644 --- a/sdk/connect/Cargo.toml +++ b/sdk/connect/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/connect/src/config.rs b/sdk/connect/src/config.rs index 211a78184a28..2e175626ec5a 100644 --- a/sdk/connect/src/config.rs +++ b/sdk/connect/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "connect"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("connect") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/connectcampaigns/Cargo.toml b/sdk/connectcampaigns/Cargo.toml index 18b254f47d66..2b5f6dc35a1c 100644 --- a/sdk/connectcampaigns/Cargo.toml +++ b/sdk/connectcampaigns/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/connectcampaigns/src/config.rs b/sdk/connectcampaigns/src/config.rs index 47ec879a3d27..1eb3e15b51a7 100644 --- a/sdk/connectcampaigns/src/config.rs +++ b/sdk/connectcampaigns/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "connectcampaigns"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("connectcampaigns") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/connectcampaignsv2/Cargo.toml b/sdk/connectcampaignsv2/Cargo.toml index fd581bc8790b..ac2af0d25b7d 100644 --- a/sdk/connectcampaignsv2/Cargo.toml +++ b/sdk/connectcampaignsv2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/connectcampaignsv2/src/config.rs b/sdk/connectcampaignsv2/src/config.rs index 9171aabebe1b..b7785af7ae5c 100644 --- a/sdk/connectcampaignsv2/src/config.rs +++ b/sdk/connectcampaignsv2/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "connectcampaignsv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("connectcampaignsv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/connectcases/Cargo.toml b/sdk/connectcases/Cargo.toml index acb9a482354c..a459ad79c750 100644 --- a/sdk/connectcases/Cargo.toml +++ b/sdk/connectcases/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/connectcases/src/config.rs b/sdk/connectcases/src/config.rs index 60519b4d90bc..5d81ec718372 100644 --- a/sdk/connectcases/src/config.rs +++ b/sdk/connectcases/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "connectcases"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("connectcases") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/connectcontactlens/Cargo.toml b/sdk/connectcontactlens/Cargo.toml index 658739851d4f..9627c4644069 100644 --- a/sdk/connectcontactlens/Cargo.toml +++ b/sdk/connectcontactlens/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/connectcontactlens/src/config.rs b/sdk/connectcontactlens/src/config.rs index b03f7555f2dc..7bc96afabbbc 100644 --- a/sdk/connectcontactlens/src/config.rs +++ b/sdk/connectcontactlens/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "connectcontactlens"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("connectcontactlens") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/connectparticipant/Cargo.toml b/sdk/connectparticipant/Cargo.toml index 5318d8525a51..77237ea78a36 100644 --- a/sdk/connectparticipant/Cargo.toml +++ b/sdk/connectparticipant/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/connectparticipant/src/config.rs b/sdk/connectparticipant/src/config.rs index af3e7b3b283b..45fc844f10a3 100644 --- a/sdk/connectparticipant/src/config.rs +++ b/sdk/connectparticipant/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "connectparticipant"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("connectparticipant") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/controlcatalog/Cargo.toml b/sdk/controlcatalog/Cargo.toml index ca41e8897227..cc2b9cc8f007 100644 --- a/sdk/controlcatalog/Cargo.toml +++ b/sdk/controlcatalog/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/controlcatalog/src/config.rs b/sdk/controlcatalog/src/config.rs index 634009d70a88..f2d7bbe8c106 100644 --- a/sdk/controlcatalog/src/config.rs +++ b/sdk/controlcatalog/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "controlcatalog"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("controlcatalog") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/controltower/Cargo.toml b/sdk/controltower/Cargo.toml index 0cac1b0f3842..c21728e15a73 100644 --- a/sdk/controltower/Cargo.toml +++ b/sdk/controltower/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/controltower/src/config.rs b/sdk/controltower/src/config.rs index 1b4a829cf8b5..6fb06c0ecb9a 100644 --- a/sdk/controltower/src/config.rs +++ b/sdk/controltower/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "controltower"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("controltower") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/costandusagereport/Cargo.toml b/sdk/costandusagereport/Cargo.toml index 1ef64637c5ff..85861abe3bf4 100644 --- a/sdk/costandusagereport/Cargo.toml +++ b/sdk/costandusagereport/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/costandusagereport/src/config.rs b/sdk/costandusagereport/src/config.rs index 5d98d905e307..86a7657aa11a 100644 --- a/sdk/costandusagereport/src/config.rs +++ b/sdk/costandusagereport/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "costandusagereportservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("costandusagereportservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/costexplorer/Cargo.toml b/sdk/costexplorer/Cargo.toml index a694cf625af8..c81b91e9256a 100644 --- a/sdk/costexplorer/Cargo.toml +++ b/sdk/costexplorer/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/costexplorer/src/config.rs b/sdk/costexplorer/src/config.rs index 66c67a447f6d..7e160d94f940 100644 --- a/sdk/costexplorer/src/config.rs +++ b/sdk/costexplorer/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "costexplorer"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("costexplorer") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/costoptimizationhub/Cargo.toml b/sdk/costoptimizationhub/Cargo.toml index 6ba9a8764009..247146bb8e04 100644 --- a/sdk/costoptimizationhub/Cargo.toml +++ b/sdk/costoptimizationhub/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/costoptimizationhub/src/config.rs b/sdk/costoptimizationhub/src/config.rs index 74792d446b4c..6962806c9c67 100644 --- a/sdk/costoptimizationhub/src/config.rs +++ b/sdk/costoptimizationhub/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "costoptimizationhub"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("costoptimizationhub") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/customerprofiles/Cargo.toml b/sdk/customerprofiles/Cargo.toml index 2f85bd565a4a..3fe5611c3ac7 100644 --- a/sdk/customerprofiles/Cargo.toml +++ b/sdk/customerprofiles/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/customerprofiles/src/config.rs b/sdk/customerprofiles/src/config.rs index 868272d99767..00cd23f1c161 100644 --- a/sdk/customerprofiles/src/config.rs +++ b/sdk/customerprofiles/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "customerprofiles"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("customerprofiles") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/databasemigration/Cargo.toml b/sdk/databasemigration/Cargo.toml index 2d7cb39cd5bd..2f0bf06d981d 100644 --- a/sdk/databasemigration/Cargo.toml +++ b/sdk/databasemigration/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/databasemigration/src/config.rs b/sdk/databasemigration/src/config.rs index c8e12506cde3..e8eba680af2b 100644 --- a/sdk/databasemigration/src/config.rs +++ b/sdk/databasemigration/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "databasemigrationservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("databasemigrationservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/databrew/Cargo.toml b/sdk/databrew/Cargo.toml index dc5d1edd4c9d..2d3afc6a67d3 100644 --- a/sdk/databrew/Cargo.toml +++ b/sdk/databrew/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/databrew/src/config.rs b/sdk/databrew/src/config.rs index acd509988efb..23f26cef410c 100644 --- a/sdk/databrew/src/config.rs +++ b/sdk/databrew/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "databrew"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("databrew") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/dataexchange/Cargo.toml b/sdk/dataexchange/Cargo.toml index 623c6301f19c..87e4ffeae5c5 100644 --- a/sdk/dataexchange/Cargo.toml +++ b/sdk/dataexchange/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/dataexchange/src/config.rs b/sdk/dataexchange/src/config.rs index 95615a708478..b3cc5e037363 100644 --- a/sdk/dataexchange/src/config.rs +++ b/sdk/dataexchange/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "dataexchange"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("dataexchange") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/datapipeline/Cargo.toml b/sdk/datapipeline/Cargo.toml index edd45250b57e..b853dbf05591 100644 --- a/sdk/datapipeline/Cargo.toml +++ b/sdk/datapipeline/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/datapipeline/src/config.rs b/sdk/datapipeline/src/config.rs index 72df3c84538d..652e7cbe2348 100644 --- a/sdk/datapipeline/src/config.rs +++ b/sdk/datapipeline/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "datapipeline"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("datapipeline") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/datasync/Cargo.toml b/sdk/datasync/Cargo.toml index 6374cbc1e073..88048ada0fbe 100644 --- a/sdk/datasync/Cargo.toml +++ b/sdk/datasync/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/datasync/src/config.rs b/sdk/datasync/src/config.rs index baeef3180c7a..5ed403c8847e 100644 --- a/sdk/datasync/src/config.rs +++ b/sdk/datasync/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "datasync"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("datasync") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/datazone/Cargo.toml b/sdk/datazone/Cargo.toml index a582d60bc985..efc6e0c12bc3 100644 --- a/sdk/datazone/Cargo.toml +++ b/sdk/datazone/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/datazone/src/config.rs b/sdk/datazone/src/config.rs index f241900a6607..8619df48adef 100644 --- a/sdk/datazone/src/config.rs +++ b/sdk/datazone/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "datazone"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("datazone") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/dax/Cargo.toml b/sdk/dax/Cargo.toml index 6c72f9f4fff9..af41492fdd1b 100644 --- a/sdk/dax/Cargo.toml +++ b/sdk/dax/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/dax/src/config.rs b/sdk/dax/src/config.rs index 6da50211e6ab..a4fc10b1bb1f 100644 --- a/sdk/dax/src/config.rs +++ b/sdk/dax/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "dax"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("dax") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/deadline/Cargo.toml b/sdk/deadline/Cargo.toml index ea949177d778..d950531c19c5 100644 --- a/sdk/deadline/Cargo.toml +++ b/sdk/deadline/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/deadline/src/config.rs b/sdk/deadline/src/config.rs index 994d56d1cb0d..3833936d06ab 100644 --- a/sdk/deadline/src/config.rs +++ b/sdk/deadline/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "deadline"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("deadline") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/detective/Cargo.toml b/sdk/detective/Cargo.toml index 3166125bf6ff..41ae128eb67e 100644 --- a/sdk/detective/Cargo.toml +++ b/sdk/detective/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/detective/src/config.rs b/sdk/detective/src/config.rs index e03c31ae8167..09f724a463bd 100644 --- a/sdk/detective/src/config.rs +++ b/sdk/detective/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "detective"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("detective") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/devicefarm/Cargo.toml b/sdk/devicefarm/Cargo.toml index 64da06f4981e..4f923546222a 100644 --- a/sdk/devicefarm/Cargo.toml +++ b/sdk/devicefarm/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/devicefarm/src/config.rs b/sdk/devicefarm/src/config.rs index a80bf65f2ee6..462f92ed4783 100644 --- a/sdk/devicefarm/src/config.rs +++ b/sdk/devicefarm/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "devicefarm"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("devicefarm") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/devopsguru/Cargo.toml b/sdk/devopsguru/Cargo.toml index 6b9a1d207d97..9b05ee2a8313 100644 --- a/sdk/devopsguru/Cargo.toml +++ b/sdk/devopsguru/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/devopsguru/src/config.rs b/sdk/devopsguru/src/config.rs index 4cd7a0c32f88..000ab92747ff 100644 --- a/sdk/devopsguru/src/config.rs +++ b/sdk/devopsguru/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "devopsguru"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("devopsguru") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/directconnect/Cargo.toml b/sdk/directconnect/Cargo.toml index 9ff7cbb1e51a..28444f5633c8 100644 --- a/sdk/directconnect/Cargo.toml +++ b/sdk/directconnect/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/directconnect/src/config.rs b/sdk/directconnect/src/config.rs index a01e085facf4..3d4aff80f80b 100644 --- a/sdk/directconnect/src/config.rs +++ b/sdk/directconnect/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "directconnect"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("directconnect") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/directory/Cargo.toml b/sdk/directory/Cargo.toml index 3ea545780678..a89fc6cdbdc9 100644 --- a/sdk/directory/Cargo.toml +++ b/sdk/directory/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/directory/src/config.rs b/sdk/directory/src/config.rs index a907713177b3..d8ea979c232c 100644 --- a/sdk/directory/src/config.rs +++ b/sdk/directory/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "directoryservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("directoryservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/directoryservicedata/Cargo.toml b/sdk/directoryservicedata/Cargo.toml index c2130c1abbbc..f16a75dd9d39 100644 --- a/sdk/directoryservicedata/Cargo.toml +++ b/sdk/directoryservicedata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/directoryservicedata/src/config.rs b/sdk/directoryservicedata/src/config.rs index cd6262772b0d..06a9d14f066b 100644 --- a/sdk/directoryservicedata/src/config.rs +++ b/sdk/directoryservicedata/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "directoryservicedata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("directoryservicedata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/dlm/Cargo.toml b/sdk/dlm/Cargo.toml index e8dad1819ae7..9236d0133bc2 100644 --- a/sdk/dlm/Cargo.toml +++ b/sdk/dlm/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/dlm/src/config.rs b/sdk/dlm/src/config.rs index feed2290fe27..7cfb697801dc 100644 --- a/sdk/dlm/src/config.rs +++ b/sdk/dlm/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "dlm"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("dlm") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/docdb/Cargo.toml b/sdk/docdb/Cargo.toml index 0338ddc3c5e1..265577065a0c 100644 --- a/sdk/docdb/Cargo.toml +++ b/sdk/docdb/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/docdb/src/config.rs b/sdk/docdb/src/config.rs index 70518b712880..bca0144282ef 100644 --- a/sdk/docdb/src/config.rs +++ b/sdk/docdb/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "docdb"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("docdb") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/docdbelastic/Cargo.toml b/sdk/docdbelastic/Cargo.toml index 982579649cb7..7f389a60b7a3 100644 --- a/sdk/docdbelastic/Cargo.toml +++ b/sdk/docdbelastic/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/docdbelastic/src/config.rs b/sdk/docdbelastic/src/config.rs index a006ebccd5d3..9a8d8edc7603 100644 --- a/sdk/docdbelastic/src/config.rs +++ b/sdk/docdbelastic/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "docdbelastic"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("docdbelastic") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/drs/Cargo.toml b/sdk/drs/Cargo.toml index b6717e1ead46..2ce24b8409aa 100644 --- a/sdk/drs/Cargo.toml +++ b/sdk/drs/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/drs/src/config.rs b/sdk/drs/src/config.rs index ad6688e13bac..6a99b5404126 100644 --- a/sdk/drs/src/config.rs +++ b/sdk/drs/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "drs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("drs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/dsql/Cargo.toml b/sdk/dsql/Cargo.toml index cfc58de65338..848462ade8fd 100644 --- a/sdk/dsql/Cargo.toml +++ b/sdk/dsql/Cargo.toml @@ -20,28 +20,28 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,11 +50,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -78,7 +78,7 @@ version = "0.1" version = "2.3.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -88,7 +88,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.tokio] version = "1.23.1" diff --git a/sdk/dsql/src/config.rs b/sdk/dsql/src/config.rs index b265b459b99b..acb7aff59193 100644 --- a/sdk/dsql/src/config.rs +++ b/sdk/dsql/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "dsql"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("dsql") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/dynamodb/Cargo.toml b/sdk/dynamodb/Cargo.toml index 330681cb5947..80badc501146 100644 --- a/sdk/dynamodb/Cargo.toml +++ b/sdk/dynamodb/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -74,7 +74,7 @@ version = "0.5.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -84,12 +84,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -98,7 +98,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock", "client"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -108,7 +108,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.criterion] version = "0.5.0" diff --git a/sdk/dynamodb/src/config.rs b/sdk/dynamodb/src/config.rs index b2337e65da37..a4b4feb448d9 100644 --- a/sdk/dynamodb/src/config.rs +++ b/sdk/dynamodb/src/config.rs @@ -1330,11 +1330,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "dynamodb"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("dynamodb") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/dynamodbstreams/Cargo.toml b/sdk/dynamodbstreams/Cargo.toml index 8f097d1270af..395db5a4d8c0 100644 --- a/sdk/dynamodbstreams/Cargo.toml +++ b/sdk/dynamodbstreams/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/dynamodbstreams/src/config.rs b/sdk/dynamodbstreams/src/config.rs index 45b4eda24854..d1815168cf4a 100644 --- a/sdk/dynamodbstreams/src/config.rs +++ b/sdk/dynamodbstreams/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "dynamodbstreams"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("dynamodbstreams") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ebs/Cargo.toml b/sdk/ebs/Cargo.toml index 3caa5cda5854..463ce15471b0 100644 --- a/sdk/ebs/Cargo.toml +++ b/sdk/ebs/Cargo.toml @@ -20,28 +20,28 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,11 +50,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -75,7 +75,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ebs/src/config.rs b/sdk/ebs/src/config.rs index 7ffdfe607f17..12961cbab642 100644 --- a/sdk/ebs/src/config.rs +++ b/sdk/ebs/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ebs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ebs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ec2/Cargo.toml b/sdk/ec2/Cargo.toml index 665a86cde86f..e84f8d13090b 100644 --- a/sdk/ec2/Cargo.toml +++ b/sdk/ec2/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.fastrand] version = "2.0.0" @@ -76,7 +76,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -86,12 +86,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -100,7 +100,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -110,7 +110,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/ec2/src/config.rs b/sdk/ec2/src/config.rs index 72a5256a230e..7ed3e82a392c 100644 --- a/sdk/ec2/src/config.rs +++ b/sdk/ec2/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ec2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ec2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ec2instanceconnect/Cargo.toml b/sdk/ec2instanceconnect/Cargo.toml index d4eb98545ddb..2494a7f3560b 100644 --- a/sdk/ec2instanceconnect/Cargo.toml +++ b/sdk/ec2instanceconnect/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ec2instanceconnect/src/config.rs b/sdk/ec2instanceconnect/src/config.rs index 00f237a1712c..dab022d3ffaa 100644 --- a/sdk/ec2instanceconnect/src/config.rs +++ b/sdk/ec2instanceconnect/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ec2instanceconnect"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ec2instanceconnect") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ecr/Cargo.toml b/sdk/ecr/Cargo.toml index 038f7fe7e27f..4a862900f3ca 100644 --- a/sdk/ecr/Cargo.toml +++ b/sdk/ecr/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ecr/src/config.rs b/sdk/ecr/src/config.rs index bb6b850bb83f..8ed00778a8b3 100644 --- a/sdk/ecr/src/config.rs +++ b/sdk/ecr/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ecr"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ecr") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ecrpublic/Cargo.toml b/sdk/ecrpublic/Cargo.toml index bc644e2bb0da..8ebab679753e 100644 --- a/sdk/ecrpublic/Cargo.toml +++ b/sdk/ecrpublic/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ecrpublic/src/config.rs b/sdk/ecrpublic/src/config.rs index 73824538ea71..dcd88646d359 100644 --- a/sdk/ecrpublic/src/config.rs +++ b/sdk/ecrpublic/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ecrpublic"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ecrpublic") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ecs/Cargo.toml b/sdk/ecs/Cargo.toml index e47e7b1fd081..7a772c5254cb 100644 --- a/sdk/ecs/Cargo.toml +++ b/sdk/ecs/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ecs/src/config.rs b/sdk/ecs/src/config.rs index 8f8d8dfada88..51a37734c1e5 100644 --- a/sdk/ecs/src/config.rs +++ b/sdk/ecs/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ecs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ecs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/efs/Cargo.toml b/sdk/efs/Cargo.toml index 2f1e3981dd7d..58cc7094fa5a 100644 --- a/sdk/efs/Cargo.toml +++ b/sdk/efs/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/efs/src/config.rs b/sdk/efs/src/config.rs index 7d546c8153dd..3f1c4fc33fa9 100644 --- a/sdk/efs/src/config.rs +++ b/sdk/efs/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "efs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("efs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/eks/Cargo.toml b/sdk/eks/Cargo.toml index f02a06caf147..98c2db56a7ad 100644 --- a/sdk/eks/Cargo.toml +++ b/sdk/eks/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/eks/src/config.rs b/sdk/eks/src/config.rs index 45481d85c94b..a8bcb20b4879 100644 --- a/sdk/eks/src/config.rs +++ b/sdk/eks/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "eks"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("eks") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/eksauth/Cargo.toml b/sdk/eksauth/Cargo.toml index d52975a240d6..9bb4748ae9d2 100644 --- a/sdk/eksauth/Cargo.toml +++ b/sdk/eksauth/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/eksauth/src/config.rs b/sdk/eksauth/src/config.rs index 11b1dd92d735..630f7606a490 100644 --- a/sdk/eksauth/src/config.rs +++ b/sdk/eksauth/src/config.rs @@ -1274,11 +1274,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "eksauth"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("eksauth") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/elasticache/Cargo.toml b/sdk/elasticache/Cargo.toml index ddcd3731f4cc..7ef575793f2f 100644 --- a/sdk/elasticache/Cargo.toml +++ b/sdk/elasticache/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/elasticache/src/config.rs b/sdk/elasticache/src/config.rs index c27a619928fd..d77bb8e22527 100644 --- a/sdk/elasticache/src/config.rs +++ b/sdk/elasticache/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "elasticache"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("elasticache") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/elasticbeanstalk/Cargo.toml b/sdk/elasticbeanstalk/Cargo.toml index 8106c3e95ba4..d28200c12c5f 100644 --- a/sdk/elasticbeanstalk/Cargo.toml +++ b/sdk/elasticbeanstalk/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/elasticbeanstalk/src/config.rs b/sdk/elasticbeanstalk/src/config.rs index 6fbf0ca8736d..4c117fa8e631 100644 --- a/sdk/elasticbeanstalk/src/config.rs +++ b/sdk/elasticbeanstalk/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "elasticbeanstalk"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("elasticbeanstalk") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/elasticinference/Cargo.toml b/sdk/elasticinference/Cargo.toml index 3a155eb59bbf..7d9f15b4c920 100644 --- a/sdk/elasticinference/Cargo.toml +++ b/sdk/elasticinference/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/elasticinference/src/config.rs b/sdk/elasticinference/src/config.rs index d54996678448..a51a273e2573 100644 --- a/sdk/elasticinference/src/config.rs +++ b/sdk/elasticinference/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "elasticinference"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("elasticinference") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/elasticloadbalancing/Cargo.toml b/sdk/elasticloadbalancing/Cargo.toml index faa0858781c7..241ec4c593b9 100644 --- a/sdk/elasticloadbalancing/Cargo.toml +++ b/sdk/elasticloadbalancing/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/elasticloadbalancing/src/config.rs b/sdk/elasticloadbalancing/src/config.rs index d28411ac87c5..622db22a08c5 100644 --- a/sdk/elasticloadbalancing/src/config.rs +++ b/sdk/elasticloadbalancing/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "elasticloadbalancing"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("elasticloadbalancing") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/elasticloadbalancingv2/Cargo.toml b/sdk/elasticloadbalancingv2/Cargo.toml index c0982cbdb6f3..9bd7c6df671f 100644 --- a/sdk/elasticloadbalancingv2/Cargo.toml +++ b/sdk/elasticloadbalancingv2/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/elasticloadbalancingv2/src/config.rs b/sdk/elasticloadbalancingv2/src/config.rs index 4150685e7fe1..87d738de8918 100644 --- a/sdk/elasticloadbalancingv2/src/config.rs +++ b/sdk/elasticloadbalancingv2/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "elasticloadbalancingv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("elasticloadbalancingv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/elasticsearch/Cargo.toml b/sdk/elasticsearch/Cargo.toml index fd0eee5bfed9..85aebb7ec91a 100644 --- a/sdk/elasticsearch/Cargo.toml +++ b/sdk/elasticsearch/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/elasticsearch/src/config.rs b/sdk/elasticsearch/src/config.rs index e1b745e59d5d..f6a0cb0e54f7 100644 --- a/sdk/elasticsearch/src/config.rs +++ b/sdk/elasticsearch/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "elasticsearchservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("elasticsearchservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/elastictranscoder/Cargo.toml b/sdk/elastictranscoder/Cargo.toml index 67d6844dd6b2..0ccf9fce9be5 100644 --- a/sdk/elastictranscoder/Cargo.toml +++ b/sdk/elastictranscoder/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/elastictranscoder/src/config.rs b/sdk/elastictranscoder/src/config.rs index 3d7de260814b..b55dffc4b895 100644 --- a/sdk/elastictranscoder/src/config.rs +++ b/sdk/elastictranscoder/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "elastictranscoder"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("elastictranscoder") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/emr/Cargo.toml b/sdk/emr/Cargo.toml index 5fb2849ab8aa..515989a0afee 100644 --- a/sdk/emr/Cargo.toml +++ b/sdk/emr/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/emr/src/config.rs b/sdk/emr/src/config.rs index a3c5aca33a00..e95fbd1a4803 100644 --- a/sdk/emr/src/config.rs +++ b/sdk/emr/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "emr"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("emr") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/emrcontainers/Cargo.toml b/sdk/emrcontainers/Cargo.toml index e05552f649a6..87d37dccc34b 100644 --- a/sdk/emrcontainers/Cargo.toml +++ b/sdk/emrcontainers/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/emrcontainers/src/config.rs b/sdk/emrcontainers/src/config.rs index 52405d346f25..1c27b58a208a 100644 --- a/sdk/emrcontainers/src/config.rs +++ b/sdk/emrcontainers/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "emrcontainers"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("emrcontainers") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/emrserverless/Cargo.toml b/sdk/emrserverless/Cargo.toml index 932d639d63f5..7f02831df531 100644 --- a/sdk/emrserverless/Cargo.toml +++ b/sdk/emrserverless/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/emrserverless/src/config.rs b/sdk/emrserverless/src/config.rs index 2c6ae51646eb..3ad9ea3b630e 100644 --- a/sdk/emrserverless/src/config.rs +++ b/sdk/emrserverless/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "emrserverless"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("emrserverless") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/entityresolution/Cargo.toml b/sdk/entityresolution/Cargo.toml index eeec0f8f51b7..9a3c57a937ae 100644 --- a/sdk/entityresolution/Cargo.toml +++ b/sdk/entityresolution/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/entityresolution/src/config.rs b/sdk/entityresolution/src/config.rs index 0c12eeaa2807..81e2ef8caf60 100644 --- a/sdk/entityresolution/src/config.rs +++ b/sdk/entityresolution/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "entityresolution"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("entityresolution") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/eventbridge/Cargo.toml b/sdk/eventbridge/Cargo.toml index 3772b31b1f09..f1281e4ae8e2 100644 --- a/sdk/eventbridge/Cargo.toml +++ b/sdk/eventbridge/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -78,7 +78,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client", "test-util"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.proptest] version = "1" diff --git a/sdk/eventbridge/src/config.rs b/sdk/eventbridge/src/config.rs index 489d9f5e9868..0a642221c719 100644 --- a/sdk/eventbridge/src/config.rs +++ b/sdk/eventbridge/src/config.rs @@ -1297,11 +1297,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "eventbridge"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("eventbridge") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/evidently/Cargo.toml b/sdk/evidently/Cargo.toml index 1e6dfa61c766..8c33aca1d649 100644 --- a/sdk/evidently/Cargo.toml +++ b/sdk/evidently/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/evidently/src/config.rs b/sdk/evidently/src/config.rs index ce417f41c9e9..71efb80375b6 100644 --- a/sdk/evidently/src/config.rs +++ b/sdk/evidently/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "evidently"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("evidently") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/finspace/Cargo.toml b/sdk/finspace/Cargo.toml index d505d437b3f8..b3de52c8c788 100644 --- a/sdk/finspace/Cargo.toml +++ b/sdk/finspace/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/finspace/src/config.rs b/sdk/finspace/src/config.rs index 0dfe32f62425..0badd822f2f5 100644 --- a/sdk/finspace/src/config.rs +++ b/sdk/finspace/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "finspace"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("finspace") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/finspacedata/Cargo.toml b/sdk/finspacedata/Cargo.toml index 88a36cb05b8e..a6001c43471e 100644 --- a/sdk/finspacedata/Cargo.toml +++ b/sdk/finspacedata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/finspacedata/src/config.rs b/sdk/finspacedata/src/config.rs index 528132795beb..4a8037d7541a 100644 --- a/sdk/finspacedata/src/config.rs +++ b/sdk/finspacedata/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "finspacedata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("finspacedata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/firehose/Cargo.toml b/sdk/firehose/Cargo.toml index 59ac9ca99468..e751245ae66f 100644 --- a/sdk/firehose/Cargo.toml +++ b/sdk/firehose/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/firehose/src/config.rs b/sdk/firehose/src/config.rs index 3f3c667720f6..f50b95cc5d8b 100644 --- a/sdk/firehose/src/config.rs +++ b/sdk/firehose/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "firehose"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("firehose") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/fis/Cargo.toml b/sdk/fis/Cargo.toml index 2c854fdc5765..2980991c74b5 100644 --- a/sdk/fis/Cargo.toml +++ b/sdk/fis/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/fis/src/config.rs b/sdk/fis/src/config.rs index 0e3a3ab4e4e9..38f962616339 100644 --- a/sdk/fis/src/config.rs +++ b/sdk/fis/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "fis"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("fis") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/fms/Cargo.toml b/sdk/fms/Cargo.toml index b1f55cb9b8f7..5abc5703a8a7 100644 --- a/sdk/fms/Cargo.toml +++ b/sdk/fms/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/fms/src/config.rs b/sdk/fms/src/config.rs index 6eaff978b983..381c8854e6fc 100644 --- a/sdk/fms/src/config.rs +++ b/sdk/fms/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "fms"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("fms") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/forecast/Cargo.toml b/sdk/forecast/Cargo.toml index a51353e25999..b368985246f4 100644 --- a/sdk/forecast/Cargo.toml +++ b/sdk/forecast/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/forecast/src/config.rs b/sdk/forecast/src/config.rs index 07deec61f9b2..b9365d1c1833 100644 --- a/sdk/forecast/src/config.rs +++ b/sdk/forecast/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "forecast"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("forecast") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/forecastquery/Cargo.toml b/sdk/forecastquery/Cargo.toml index b32c0e13b8f8..715fc8d48053 100644 --- a/sdk/forecastquery/Cargo.toml +++ b/sdk/forecastquery/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/forecastquery/src/config.rs b/sdk/forecastquery/src/config.rs index 9db861807334..432461201a0c 100644 --- a/sdk/forecastquery/src/config.rs +++ b/sdk/forecastquery/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "forecastquery"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("forecastquery") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/frauddetector/Cargo.toml b/sdk/frauddetector/Cargo.toml index d62f1ef6bc4d..ab0626e0dfcd 100644 --- a/sdk/frauddetector/Cargo.toml +++ b/sdk/frauddetector/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/frauddetector/src/config.rs b/sdk/frauddetector/src/config.rs index 9a953bed7b93..71ec86d76cb6 100644 --- a/sdk/frauddetector/src/config.rs +++ b/sdk/frauddetector/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "frauddetector"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("frauddetector") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/freetier/Cargo.toml b/sdk/freetier/Cargo.toml index a80a84996eeb..bf413d194360 100644 --- a/sdk/freetier/Cargo.toml +++ b/sdk/freetier/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/freetier/src/config.rs b/sdk/freetier/src/config.rs index f2c81efb6655..49df266e1e37 100644 --- a/sdk/freetier/src/config.rs +++ b/sdk/freetier/src/config.rs @@ -1274,11 +1274,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "freetier"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("freetier") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/fsx/Cargo.toml b/sdk/fsx/Cargo.toml index 021f9ca4e37c..113f0910c39b 100644 --- a/sdk/fsx/Cargo.toml +++ b/sdk/fsx/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/fsx/src/config.rs b/sdk/fsx/src/config.rs index c2339e48414e..1f8e20855699 100644 --- a/sdk/fsx/src/config.rs +++ b/sdk/fsx/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "fsx"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("fsx") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/gamelift/Cargo.toml b/sdk/gamelift/Cargo.toml index 8dbc11482281..75a34fa51a3e 100644 --- a/sdk/gamelift/Cargo.toml +++ b/sdk/gamelift/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/gamelift/src/config.rs b/sdk/gamelift/src/config.rs index c50396a2fd83..e0ed89c0b0dd 100644 --- a/sdk/gamelift/src/config.rs +++ b/sdk/gamelift/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "gamelift"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("gamelift") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/geomaps/Cargo.toml b/sdk/geomaps/Cargo.toml index dd0722f46ab8..bca5a7a1bedd 100644 --- a/sdk/geomaps/Cargo.toml +++ b/sdk/geomaps/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/geomaps/src/config.rs b/sdk/geomaps/src/config.rs index a375fbb1d15c..db6937fd953c 100644 --- a/sdk/geomaps/src/config.rs +++ b/sdk/geomaps/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "geomaps"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("geomaps") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/geoplaces/Cargo.toml b/sdk/geoplaces/Cargo.toml index 925fa7ecfe4a..5d7bc54fdaf8 100644 --- a/sdk/geoplaces/Cargo.toml +++ b/sdk/geoplaces/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/geoplaces/src/config.rs b/sdk/geoplaces/src/config.rs index 4987d1c1c6fc..8ff58db89171 100644 --- a/sdk/geoplaces/src/config.rs +++ b/sdk/geoplaces/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "geoplaces"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("geoplaces") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/georoutes/Cargo.toml b/sdk/georoutes/Cargo.toml index ce768deb1e47..47e763392015 100644 --- a/sdk/georoutes/Cargo.toml +++ b/sdk/georoutes/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/georoutes/src/config.rs b/sdk/georoutes/src/config.rs index d1419a8e853f..f72d24dc7fff 100644 --- a/sdk/georoutes/src/config.rs +++ b/sdk/georoutes/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "georoutes"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("georoutes") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/glacier/Cargo.toml b/sdk/glacier/Cargo.toml index 3e2db095a08c..07842e96204a 100644 --- a/sdk/glacier/Cargo.toml +++ b/sdk/glacier/Cargo.toml @@ -20,28 +20,28 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,11 +50,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -78,7 +78,7 @@ version = "0.17.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -88,12 +88,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -102,7 +102,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock", "client"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -112,7 +112,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/glacier/src/config.rs b/sdk/glacier/src/config.rs index 7a2f9fe3ad44..627a41042d6e 100644 --- a/sdk/glacier/src/config.rs +++ b/sdk/glacier/src/config.rs @@ -1287,11 +1287,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "glacier"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("glacier") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/globalaccelerator/Cargo.toml b/sdk/globalaccelerator/Cargo.toml index fc065b1382ed..00867ccb5285 100644 --- a/sdk/globalaccelerator/Cargo.toml +++ b/sdk/globalaccelerator/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/globalaccelerator/src/config.rs b/sdk/globalaccelerator/src/config.rs index e0371cd52b09..a1607abea2d4 100644 --- a/sdk/globalaccelerator/src/config.rs +++ b/sdk/globalaccelerator/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "globalaccelerator"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("globalaccelerator") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/glue/Cargo.toml b/sdk/glue/Cargo.toml index 0c5640fe86e4..9c82ba159a29 100644 --- a/sdk/glue/Cargo.toml +++ b/sdk/glue/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/glue/src/config.rs b/sdk/glue/src/config.rs index 0dd8e6e99ae5..268a370ed0d1 100644 --- a/sdk/glue/src/config.rs +++ b/sdk/glue/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "glue"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("glue") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/grafana/Cargo.toml b/sdk/grafana/Cargo.toml index 1007eba767e7..74c510eff0a1 100644 --- a/sdk/grafana/Cargo.toml +++ b/sdk/grafana/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/grafana/src/config.rs b/sdk/grafana/src/config.rs index e0cd1c6979e1..83cec6c4795d 100644 --- a/sdk/grafana/src/config.rs +++ b/sdk/grafana/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "grafana"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("grafana") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/greengrass/Cargo.toml b/sdk/greengrass/Cargo.toml index 276498f3afca..4034fc77d7e5 100644 --- a/sdk/greengrass/Cargo.toml +++ b/sdk/greengrass/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/greengrass/src/config.rs b/sdk/greengrass/src/config.rs index cf69db9f9eeb..3f98904fab89 100644 --- a/sdk/greengrass/src/config.rs +++ b/sdk/greengrass/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "greengrass"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("greengrass") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/greengrassv2/Cargo.toml b/sdk/greengrassv2/Cargo.toml index d37caa5bdce4..1f9808425afe 100644 --- a/sdk/greengrassv2/Cargo.toml +++ b/sdk/greengrassv2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/greengrassv2/src/config.rs b/sdk/greengrassv2/src/config.rs index 27d121640c36..c412182de762 100644 --- a/sdk/greengrassv2/src/config.rs +++ b/sdk/greengrassv2/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "greengrassv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("greengrassv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/groundstation/Cargo.toml b/sdk/groundstation/Cargo.toml index ed4f58035c5e..4f6c02378c7f 100644 --- a/sdk/groundstation/Cargo.toml +++ b/sdk/groundstation/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/groundstation/src/config.rs b/sdk/groundstation/src/config.rs index f7bbdb512ae8..8e11bc01df11 100644 --- a/sdk/groundstation/src/config.rs +++ b/sdk/groundstation/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "groundstation"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("groundstation") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/guardduty/Cargo.toml b/sdk/guardduty/Cargo.toml index ca9d79bf0d90..a0583ee5eb3d 100644 --- a/sdk/guardduty/Cargo.toml +++ b/sdk/guardduty/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/guardduty/src/config.rs b/sdk/guardduty/src/config.rs index 613a4be77e67..0490b303c2be 100644 --- a/sdk/guardduty/src/config.rs +++ b/sdk/guardduty/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "guardduty"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("guardduty") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/health/Cargo.toml b/sdk/health/Cargo.toml index 31eadafce14d..bf88ee9e9203 100644 --- a/sdk/health/Cargo.toml +++ b/sdk/health/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/health/src/config.rs b/sdk/health/src/config.rs index e7cc4b01a0b6..17bf4dc3f46a 100644 --- a/sdk/health/src/config.rs +++ b/sdk/health/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "health"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("health") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/healthlake/Cargo.toml b/sdk/healthlake/Cargo.toml index a236d40fc4f1..07bb048622b6 100644 --- a/sdk/healthlake/Cargo.toml +++ b/sdk/healthlake/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/healthlake/src/config.rs b/sdk/healthlake/src/config.rs index e77c998a5e19..a625606d37c7 100644 --- a/sdk/healthlake/src/config.rs +++ b/sdk/healthlake/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "healthlake"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("healthlake") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iam/Cargo.toml b/sdk/iam/Cargo.toml index 9220100157f1..01f7751c16bb 100644 --- a/sdk/iam/Cargo.toml +++ b/sdk/iam/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -83,12 +83,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -97,7 +97,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -107,7 +107,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/iam/src/config.rs b/sdk/iam/src/config.rs index a3f1912bd89c..bd800aeda0d3 100644 --- a/sdk/iam/src/config.rs +++ b/sdk/iam/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iam"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iam") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/identitystore/Cargo.toml b/sdk/identitystore/Cargo.toml index 4b352f9063ea..605d7e710a46 100644 --- a/sdk/identitystore/Cargo.toml +++ b/sdk/identitystore/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/identitystore/src/config.rs b/sdk/identitystore/src/config.rs index 4fb6b3efbb33..9835624c67ab 100644 --- a/sdk/identitystore/src/config.rs +++ b/sdk/identitystore/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "identitystore"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("identitystore") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/imagebuilder/Cargo.toml b/sdk/imagebuilder/Cargo.toml index 7fc51b809497..24b78866a487 100644 --- a/sdk/imagebuilder/Cargo.toml +++ b/sdk/imagebuilder/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/imagebuilder/src/config.rs b/sdk/imagebuilder/src/config.rs index bc6ade90355c..ac79b425364e 100644 --- a/sdk/imagebuilder/src/config.rs +++ b/sdk/imagebuilder/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "imagebuilder"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("imagebuilder") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/inspector/Cargo.toml b/sdk/inspector/Cargo.toml index 6d91201b445d..92086a95fad0 100644 --- a/sdk/inspector/Cargo.toml +++ b/sdk/inspector/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/inspector/src/config.rs b/sdk/inspector/src/config.rs index 017e6d44bafe..84b5fe7dc7a1 100644 --- a/sdk/inspector/src/config.rs +++ b/sdk/inspector/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "inspector"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("inspector") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/inspector2/Cargo.toml b/sdk/inspector2/Cargo.toml index 44bf80f4f247..88cb5f062b69 100644 --- a/sdk/inspector2/Cargo.toml +++ b/sdk/inspector2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/inspector2/src/config.rs b/sdk/inspector2/src/config.rs index 024362b36ecd..05f098ec4016 100644 --- a/sdk/inspector2/src/config.rs +++ b/sdk/inspector2/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "inspector2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("inspector2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/inspectorscan/Cargo.toml b/sdk/inspectorscan/Cargo.toml index 667ecad3d163..7c6cd1c33468 100644 --- a/sdk/inspectorscan/Cargo.toml +++ b/sdk/inspectorscan/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/inspectorscan/src/config.rs b/sdk/inspectorscan/src/config.rs index 7cc0c96e5f26..57acd4144e68 100644 --- a/sdk/inspectorscan/src/config.rs +++ b/sdk/inspectorscan/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "inspectorscan"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("inspectorscan") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/internetmonitor/Cargo.toml b/sdk/internetmonitor/Cargo.toml index d6d5b3127865..afde017b37a3 100644 --- a/sdk/internetmonitor/Cargo.toml +++ b/sdk/internetmonitor/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/internetmonitor/src/config.rs b/sdk/internetmonitor/src/config.rs index bed8a85e70fc..38abb30bd43f 100644 --- a/sdk/internetmonitor/src/config.rs +++ b/sdk/internetmonitor/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "internetmonitor"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("internetmonitor") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/invoicing/Cargo.toml b/sdk/invoicing/Cargo.toml index 01b9ec9de55c..7be034c131a5 100644 --- a/sdk/invoicing/Cargo.toml +++ b/sdk/invoicing/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/invoicing/src/config.rs b/sdk/invoicing/src/config.rs index 49dd111705fe..a1aef105f9ea 100644 --- a/sdk/invoicing/src/config.rs +++ b/sdk/invoicing/src/config.rs @@ -1274,11 +1274,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "invoicing"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("invoicing") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iot/Cargo.toml b/sdk/iot/Cargo.toml index 59b7c8b1fbd4..e27860166ac5 100644 --- a/sdk/iot/Cargo.toml +++ b/sdk/iot/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iot/src/config.rs b/sdk/iot/src/config.rs index 13680ab08e36..7b8e8172877e 100644 --- a/sdk/iot/src/config.rs +++ b/sdk/iot/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iot"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iot") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotanalytics/Cargo.toml b/sdk/iotanalytics/Cargo.toml index 061c8b5d1a65..9911cca12f99 100644 --- a/sdk/iotanalytics/Cargo.toml +++ b/sdk/iotanalytics/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotanalytics/src/config.rs b/sdk/iotanalytics/src/config.rs index 5449c007260b..cab663a9562a 100644 --- a/sdk/iotanalytics/src/config.rs +++ b/sdk/iotanalytics/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotanalytics"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotanalytics") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotdataplane/Cargo.toml b/sdk/iotdataplane/Cargo.toml index d5f8a6139cbb..7c7e82ebe153 100644 --- a/sdk/iotdataplane/Cargo.toml +++ b/sdk/iotdataplane/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotdataplane/src/config.rs b/sdk/iotdataplane/src/config.rs index abc3f7923bcd..d559d1e7716e 100644 --- a/sdk/iotdataplane/src/config.rs +++ b/sdk/iotdataplane/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotdataplane"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotdataplane") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotdeviceadvisor/Cargo.toml b/sdk/iotdeviceadvisor/Cargo.toml index a90f577cac3a..41c3ca8e9fd7 100644 --- a/sdk/iotdeviceadvisor/Cargo.toml +++ b/sdk/iotdeviceadvisor/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotdeviceadvisor/src/config.rs b/sdk/iotdeviceadvisor/src/config.rs index fb0ebe118055..18fd66b2f163 100644 --- a/sdk/iotdeviceadvisor/src/config.rs +++ b/sdk/iotdeviceadvisor/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotdeviceadvisor"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotdeviceadvisor") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotevents/Cargo.toml b/sdk/iotevents/Cargo.toml index 67caa04beba2..abc4bb5edab3 100644 --- a/sdk/iotevents/Cargo.toml +++ b/sdk/iotevents/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotevents/src/config.rs b/sdk/iotevents/src/config.rs index 034cb9ff6c53..f58ee03ac522 100644 --- a/sdk/iotevents/src/config.rs +++ b/sdk/iotevents/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotevents"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotevents") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ioteventsdata/Cargo.toml b/sdk/ioteventsdata/Cargo.toml index f605c0220fb1..9437a5dd9194 100644 --- a/sdk/ioteventsdata/Cargo.toml +++ b/sdk/ioteventsdata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ioteventsdata/src/config.rs b/sdk/ioteventsdata/src/config.rs index b2fa5aa7c772..a40454ba1e2f 100644 --- a/sdk/ioteventsdata/src/config.rs +++ b/sdk/ioteventsdata/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ioteventsdata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ioteventsdata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotfleethub/Cargo.toml b/sdk/iotfleethub/Cargo.toml index 0ccc732b32e3..12de32631fad 100644 --- a/sdk/iotfleethub/Cargo.toml +++ b/sdk/iotfleethub/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotfleethub/src/config.rs b/sdk/iotfleethub/src/config.rs index f8cbf9dfc18c..8e02aaf81067 100644 --- a/sdk/iotfleethub/src/config.rs +++ b/sdk/iotfleethub/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotfleethub"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotfleethub") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotfleetwise/Cargo.toml b/sdk/iotfleetwise/Cargo.toml index 4f914b588685..efbeba966542 100644 --- a/sdk/iotfleetwise/Cargo.toml +++ b/sdk/iotfleetwise/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotfleetwise/src/config.rs b/sdk/iotfleetwise/src/config.rs index 096aee191335..7a07cb5857fc 100644 --- a/sdk/iotfleetwise/src/config.rs +++ b/sdk/iotfleetwise/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotfleetwise"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotfleetwise") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotjobsdataplane/Cargo.toml b/sdk/iotjobsdataplane/Cargo.toml index dcffd04f8685..4dfef450ece7 100644 --- a/sdk/iotjobsdataplane/Cargo.toml +++ b/sdk/iotjobsdataplane/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotjobsdataplane/src/config.rs b/sdk/iotjobsdataplane/src/config.rs index 6de4789f40a2..9a09a70aa5ca 100644 --- a/sdk/iotjobsdataplane/src/config.rs +++ b/sdk/iotjobsdataplane/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotjobsdataplane"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotjobsdataplane") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotsecuretunneling/Cargo.toml b/sdk/iotsecuretunneling/Cargo.toml index a5a331924c12..f41ed4ed6b26 100644 --- a/sdk/iotsecuretunneling/Cargo.toml +++ b/sdk/iotsecuretunneling/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotsecuretunneling/src/config.rs b/sdk/iotsecuretunneling/src/config.rs index 592478f369b9..9972bc133ca0 100644 --- a/sdk/iotsecuretunneling/src/config.rs +++ b/sdk/iotsecuretunneling/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotsecuretunneling"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotsecuretunneling") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotsitewise/Cargo.toml b/sdk/iotsitewise/Cargo.toml index de8b8ac41008..86011722ac9d 100644 --- a/sdk/iotsitewise/Cargo.toml +++ b/sdk/iotsitewise/Cargo.toml @@ -21,29 +21,29 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" features = ["event-stream"] -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -52,11 +52,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -77,7 +77,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotsitewise/src/config.rs b/sdk/iotsitewise/src/config.rs index 325c8c07cec3..cb4820dd7c2d 100644 --- a/sdk/iotsitewise/src/config.rs +++ b/sdk/iotsitewise/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotsitewise"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotsitewise") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotthingsgraph/Cargo.toml b/sdk/iotthingsgraph/Cargo.toml index a94fdb0e6db4..dbf80f96a9be 100644 --- a/sdk/iotthingsgraph/Cargo.toml +++ b/sdk/iotthingsgraph/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotthingsgraph/src/config.rs b/sdk/iotthingsgraph/src/config.rs index fc58ed8856da..79d4324df58e 100644 --- a/sdk/iotthingsgraph/src/config.rs +++ b/sdk/iotthingsgraph/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotthingsgraph"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotthingsgraph") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iottwinmaker/Cargo.toml b/sdk/iottwinmaker/Cargo.toml index 25a6e6a88f31..dc1eef21bc38 100644 --- a/sdk/iottwinmaker/Cargo.toml +++ b/sdk/iottwinmaker/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iottwinmaker/src/config.rs b/sdk/iottwinmaker/src/config.rs index 5ed7eb5b2037..b9bc45c425c9 100644 --- a/sdk/iottwinmaker/src/config.rs +++ b/sdk/iottwinmaker/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iottwinmaker"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iottwinmaker") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/iotwireless/Cargo.toml b/sdk/iotwireless/Cargo.toml index e502d771a506..deaea403d5d4 100644 --- a/sdk/iotwireless/Cargo.toml +++ b/sdk/iotwireless/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/iotwireless/src/config.rs b/sdk/iotwireless/src/config.rs index 479d31c8bf6d..b54dfe8dd9fe 100644 --- a/sdk/iotwireless/src/config.rs +++ b/sdk/iotwireless/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "iotwireless"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("iotwireless") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ivs/Cargo.toml b/sdk/ivs/Cargo.toml index 0ab736921d13..f505c2fe2c77 100644 --- a/sdk/ivs/Cargo.toml +++ b/sdk/ivs/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ivs/src/config.rs b/sdk/ivs/src/config.rs index 3fccaf351986..b5e2361bd6c2 100644 --- a/sdk/ivs/src/config.rs +++ b/sdk/ivs/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ivs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ivs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ivschat/Cargo.toml b/sdk/ivschat/Cargo.toml index a184ff37066b..77d501091a6f 100644 --- a/sdk/ivschat/Cargo.toml +++ b/sdk/ivschat/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ivschat/src/config.rs b/sdk/ivschat/src/config.rs index e2fb7d8939cf..3218cea42835 100644 --- a/sdk/ivschat/src/config.rs +++ b/sdk/ivschat/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ivschat"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ivschat") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ivsrealtime/Cargo.toml b/sdk/ivsrealtime/Cargo.toml index 28884e69864d..ea703dc48182 100644 --- a/sdk/ivsrealtime/Cargo.toml +++ b/sdk/ivsrealtime/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ivsrealtime/src/config.rs b/sdk/ivsrealtime/src/config.rs index d11244f14e45..7c09917a2abf 100644 --- a/sdk/ivsrealtime/src/config.rs +++ b/sdk/ivsrealtime/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ivsrealtime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ivsrealtime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kafka/Cargo.toml b/sdk/kafka/Cargo.toml index db2ebc7924e8..179f3ec6b5ac 100644 --- a/sdk/kafka/Cargo.toml +++ b/sdk/kafka/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kafka/src/config.rs b/sdk/kafka/src/config.rs index a145ebf13db7..fdbbc20115be 100644 --- a/sdk/kafka/src/config.rs +++ b/sdk/kafka/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kafka"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kafka") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kafkaconnect/Cargo.toml b/sdk/kafkaconnect/Cargo.toml index 6dd4be93db0b..d6df2a12a8cf 100644 --- a/sdk/kafkaconnect/Cargo.toml +++ b/sdk/kafkaconnect/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kafkaconnect/src/config.rs b/sdk/kafkaconnect/src/config.rs index b186e3752578..2436d624837f 100644 --- a/sdk/kafkaconnect/src/config.rs +++ b/sdk/kafkaconnect/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kafkaconnect"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kafkaconnect") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kendra/Cargo.toml b/sdk/kendra/Cargo.toml index bf0dff2a1b91..19e6294dc233 100644 --- a/sdk/kendra/Cargo.toml +++ b/sdk/kendra/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kendra/src/config.rs b/sdk/kendra/src/config.rs index 7e345962f926..df601ba6dfc5 100644 --- a/sdk/kendra/src/config.rs +++ b/sdk/kendra/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kendra"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kendra") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kendraranking/Cargo.toml b/sdk/kendraranking/Cargo.toml index 972c64c6af2c..0bddc505bf3a 100644 --- a/sdk/kendraranking/Cargo.toml +++ b/sdk/kendraranking/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kendraranking/src/config.rs b/sdk/kendraranking/src/config.rs index ce46ff69421b..0178591f5975 100644 --- a/sdk/kendraranking/src/config.rs +++ b/sdk/kendraranking/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kendraranking"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kendraranking") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/keyspaces/Cargo.toml b/sdk/keyspaces/Cargo.toml index f44c56a27b54..96f9b7bf8210 100644 --- a/sdk/keyspaces/Cargo.toml +++ b/sdk/keyspaces/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/keyspaces/src/config.rs b/sdk/keyspaces/src/config.rs index d56afed1620d..6ddbc3dc4d54 100644 --- a/sdk/keyspaces/src/config.rs +++ b/sdk/keyspaces/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "keyspaces"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("keyspaces") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kinesis/Cargo.toml b/sdk/kinesis/Cargo.toml index 734489346ae4..9c5125993cdb 100644 --- a/sdk/kinesis/Cargo.toml +++ b/sdk/kinesis/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kinesis/src/config.rs b/sdk/kinesis/src/config.rs index d80a2bdc4825..5d9e2ad68877 100644 --- a/sdk/kinesis/src/config.rs +++ b/sdk/kinesis/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kinesis"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kinesis") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kinesisanalytics/Cargo.toml b/sdk/kinesisanalytics/Cargo.toml index 5f5b9675c264..5352743219c4 100644 --- a/sdk/kinesisanalytics/Cargo.toml +++ b/sdk/kinesisanalytics/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kinesisanalytics/src/config.rs b/sdk/kinesisanalytics/src/config.rs index a97c80aaa50d..e8d6add9510b 100644 --- a/sdk/kinesisanalytics/src/config.rs +++ b/sdk/kinesisanalytics/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kinesisanalytics"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kinesisanalytics") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kinesisanalyticsv2/Cargo.toml b/sdk/kinesisanalyticsv2/Cargo.toml index 86898d2ac5ff..b28edef716d8 100644 --- a/sdk/kinesisanalyticsv2/Cargo.toml +++ b/sdk/kinesisanalyticsv2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kinesisanalyticsv2/src/config.rs b/sdk/kinesisanalyticsv2/src/config.rs index fc8c39efe866..080f3696e22e 100644 --- a/sdk/kinesisanalyticsv2/src/config.rs +++ b/sdk/kinesisanalyticsv2/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kinesisanalyticsv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kinesisanalyticsv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kinesisvideo/Cargo.toml b/sdk/kinesisvideo/Cargo.toml index 8bdc925b3265..c35bac748db8 100644 --- a/sdk/kinesisvideo/Cargo.toml +++ b/sdk/kinesisvideo/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kinesisvideo/src/config.rs b/sdk/kinesisvideo/src/config.rs index cb29a4d2c55c..3cebef1023da 100644 --- a/sdk/kinesisvideo/src/config.rs +++ b/sdk/kinesisvideo/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kinesisvideo"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kinesisvideo") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kinesisvideoarchivedmedia/Cargo.toml b/sdk/kinesisvideoarchivedmedia/Cargo.toml index 751ae6b98188..8b43a1721b48 100644 --- a/sdk/kinesisvideoarchivedmedia/Cargo.toml +++ b/sdk/kinesisvideoarchivedmedia/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kinesisvideoarchivedmedia/src/config.rs b/sdk/kinesisvideoarchivedmedia/src/config.rs index 5388d98e00a2..c501814d93c5 100644 --- a/sdk/kinesisvideoarchivedmedia/src/config.rs +++ b/sdk/kinesisvideoarchivedmedia/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kinesisvideoarchivedmedia"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kinesisvideoarchivedmedia") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kinesisvideomedia/Cargo.toml b/sdk/kinesisvideomedia/Cargo.toml index 3d3b35d51f53..d9f2e24778b9 100644 --- a/sdk/kinesisvideomedia/Cargo.toml +++ b/sdk/kinesisvideomedia/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kinesisvideomedia/src/config.rs b/sdk/kinesisvideomedia/src/config.rs index 223d9a35bc25..760933c6a86b 100644 --- a/sdk/kinesisvideomedia/src/config.rs +++ b/sdk/kinesisvideomedia/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kinesisvideomedia"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kinesisvideomedia") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kinesisvideosignaling/Cargo.toml b/sdk/kinesisvideosignaling/Cargo.toml index 8b0e2976421e..3d2d303909e0 100644 --- a/sdk/kinesisvideosignaling/Cargo.toml +++ b/sdk/kinesisvideosignaling/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kinesisvideosignaling/src/config.rs b/sdk/kinesisvideosignaling/src/config.rs index f35318e373ef..f4f9d14c8dca 100644 --- a/sdk/kinesisvideosignaling/src/config.rs +++ b/sdk/kinesisvideosignaling/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kinesisvideosignaling"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kinesisvideosignaling") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kinesisvideowebrtcstorage/Cargo.toml b/sdk/kinesisvideowebrtcstorage/Cargo.toml index 679e3d584dc5..6ddbf69e3387 100644 --- a/sdk/kinesisvideowebrtcstorage/Cargo.toml +++ b/sdk/kinesisvideowebrtcstorage/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/kinesisvideowebrtcstorage/src/config.rs b/sdk/kinesisvideowebrtcstorage/src/config.rs index 57ea4e0469ad..595a0d57e04e 100644 --- a/sdk/kinesisvideowebrtcstorage/src/config.rs +++ b/sdk/kinesisvideowebrtcstorage/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kinesisvideowebrtcstorage"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kinesisvideowebrtcstorage") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/kms/Cargo.toml b/sdk/kms/Cargo.toml index 3efcebf7631e..9b24307554eb 100644 --- a/sdk/kms/Cargo.toml +++ b/sdk/kms/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -78,12 +78,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -92,7 +92,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -102,7 +102,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/kms/src/config.rs b/sdk/kms/src/config.rs index 4d3ca66adf68..573279aec2bd 100644 --- a/sdk/kms/src/config.rs +++ b/sdk/kms/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "kms"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("kms") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lakeformation/Cargo.toml b/sdk/lakeformation/Cargo.toml index 9d4333b1f5fb..9e3ac7281a4e 100644 --- a/sdk/lakeformation/Cargo.toml +++ b/sdk/lakeformation/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/lakeformation/src/config.rs b/sdk/lakeformation/src/config.rs index c35d14fd22cd..1ce53e54025f 100644 --- a/sdk/lakeformation/src/config.rs +++ b/sdk/lakeformation/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lakeformation"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lakeformation") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lambda/Cargo.toml b/sdk/lambda/Cargo.toml index 5b8970a6182b..6e5607d34cea 100644 --- a/sdk/lambda/Cargo.toml +++ b/sdk/lambda/Cargo.toml @@ -21,29 +21,29 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" features = ["event-stream"] -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -52,11 +52,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -74,7 +74,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -84,12 +84,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -98,7 +98,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -108,7 +108,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/lambda/src/config.rs b/sdk/lambda/src/config.rs index 5f3920ad7a66..6b0d71907cb4 100644 --- a/sdk/lambda/src/config.rs +++ b/sdk/lambda/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lambda"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lambda") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/launchwizard/Cargo.toml b/sdk/launchwizard/Cargo.toml index dc2a1c8e3c1a..e433bd45ed52 100644 --- a/sdk/launchwizard/Cargo.toml +++ b/sdk/launchwizard/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/launchwizard/src/config.rs b/sdk/launchwizard/src/config.rs index b6eb631d5457..61a3f51d8811 100644 --- a/sdk/launchwizard/src/config.rs +++ b/sdk/launchwizard/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "launchwizard"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("launchwizard") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lexmodelbuilding/Cargo.toml b/sdk/lexmodelbuilding/Cargo.toml index 88255ba29d71..735fdd9ab48d 100644 --- a/sdk/lexmodelbuilding/Cargo.toml +++ b/sdk/lexmodelbuilding/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/lexmodelbuilding/src/config.rs b/sdk/lexmodelbuilding/src/config.rs index 734ca555afef..4c0d5a42d568 100644 --- a/sdk/lexmodelbuilding/src/config.rs +++ b/sdk/lexmodelbuilding/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lexmodelbuildingservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lexmodelbuildingservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lexmodelsv2/Cargo.toml b/sdk/lexmodelsv2/Cargo.toml index 3099acbdb9f7..50299d8225e1 100644 --- a/sdk/lexmodelsv2/Cargo.toml +++ b/sdk/lexmodelsv2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/lexmodelsv2/src/config.rs b/sdk/lexmodelsv2/src/config.rs index 1b235fca3dfb..3a7f4ba9f2f4 100644 --- a/sdk/lexmodelsv2/src/config.rs +++ b/sdk/lexmodelsv2/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lexmodelsv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lexmodelsv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lexruntime/Cargo.toml b/sdk/lexruntime/Cargo.toml index 5999687ff7a0..74d24983168a 100644 --- a/sdk/lexruntime/Cargo.toml +++ b/sdk/lexruntime/Cargo.toml @@ -20,28 +20,28 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,11 +50,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -72,7 +72,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/lexruntime/src/config.rs b/sdk/lexruntime/src/config.rs index 24fc7323b76f..e66c9355f9f4 100644 --- a/sdk/lexruntime/src/config.rs +++ b/sdk/lexruntime/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lexruntimeservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lexruntimeservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lexruntimev2/Cargo.toml b/sdk/lexruntimev2/Cargo.toml index 2107c3b97d09..aec93573a5b9 100644 --- a/sdk/lexruntimev2/Cargo.toml +++ b/sdk/lexruntimev2/Cargo.toml @@ -21,33 +21,33 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" features = ["event-stream"] -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -57,11 +57,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["http-body-0-4-x"] -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -83,7 +83,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -92,7 +92,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dev-dependencies.tokio] version = "1.23.1" diff --git a/sdk/lexruntimev2/src/config.rs b/sdk/lexruntimev2/src/config.rs index 77dd53c4d4a5..ca10e1d00902 100644 --- a/sdk/lexruntimev2/src/config.rs +++ b/sdk/lexruntimev2/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lexruntimev2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lexruntimev2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/licensemanager/Cargo.toml b/sdk/licensemanager/Cargo.toml index a584015a52b1..fd129951c544 100644 --- a/sdk/licensemanager/Cargo.toml +++ b/sdk/licensemanager/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/licensemanager/src/config.rs b/sdk/licensemanager/src/config.rs index 712ff1cf49ea..abaaa532a8e4 100644 --- a/sdk/licensemanager/src/config.rs +++ b/sdk/licensemanager/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "licensemanager"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("licensemanager") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/licensemanagerlinuxsubscriptions/Cargo.toml b/sdk/licensemanagerlinuxsubscriptions/Cargo.toml index bf1c1feb1aed..dcb407170911 100644 --- a/sdk/licensemanagerlinuxsubscriptions/Cargo.toml +++ b/sdk/licensemanagerlinuxsubscriptions/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/licensemanagerlinuxsubscriptions/src/config.rs b/sdk/licensemanagerlinuxsubscriptions/src/config.rs index 4dc38565f9b9..607d9fa764f5 100644 --- a/sdk/licensemanagerlinuxsubscriptions/src/config.rs +++ b/sdk/licensemanagerlinuxsubscriptions/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "licensemanagerlinuxsubscriptions"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("licensemanagerlinuxsubscriptions") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/licensemanagerusersubscriptions/Cargo.toml b/sdk/licensemanagerusersubscriptions/Cargo.toml index 51f679253167..c52471d28365 100644 --- a/sdk/licensemanagerusersubscriptions/Cargo.toml +++ b/sdk/licensemanagerusersubscriptions/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/licensemanagerusersubscriptions/src/config.rs b/sdk/licensemanagerusersubscriptions/src/config.rs index fe2daaa43125..7124b7a8584f 100644 --- a/sdk/licensemanagerusersubscriptions/src/config.rs +++ b/sdk/licensemanagerusersubscriptions/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "licensemanagerusersubscriptions"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("licensemanagerusersubscriptions") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lightsail/Cargo.toml b/sdk/lightsail/Cargo.toml index ea5d717644d9..a7b059ab8266 100644 --- a/sdk/lightsail/Cargo.toml +++ b/sdk/lightsail/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/lightsail/src/config.rs b/sdk/lightsail/src/config.rs index 28319e82b677..fa75e148fd9e 100644 --- a/sdk/lightsail/src/config.rs +++ b/sdk/lightsail/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lightsail"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lightsail") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/location/Cargo.toml b/sdk/location/Cargo.toml index 8bc0ee23e71b..96f139dc8e15 100644 --- a/sdk/location/Cargo.toml +++ b/sdk/location/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/location/src/config.rs b/sdk/location/src/config.rs index 8602d6f4e659..d507ab550afb 100644 --- a/sdk/location/src/config.rs +++ b/sdk/location/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "location"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("location") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lookoutequipment/Cargo.toml b/sdk/lookoutequipment/Cargo.toml index 18f48787d6ba..8b72af9978db 100644 --- a/sdk/lookoutequipment/Cargo.toml +++ b/sdk/lookoutequipment/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/lookoutequipment/src/config.rs b/sdk/lookoutequipment/src/config.rs index 570817623e4d..e3834e7aa069 100644 --- a/sdk/lookoutequipment/src/config.rs +++ b/sdk/lookoutequipment/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lookoutequipment"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lookoutequipment") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lookoutmetrics/Cargo.toml b/sdk/lookoutmetrics/Cargo.toml index 10edf1cfabcc..7b23b8f40d07 100644 --- a/sdk/lookoutmetrics/Cargo.toml +++ b/sdk/lookoutmetrics/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/lookoutmetrics/src/config.rs b/sdk/lookoutmetrics/src/config.rs index 1d2689ebc6bc..aa387a12e2db 100644 --- a/sdk/lookoutmetrics/src/config.rs +++ b/sdk/lookoutmetrics/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lookoutmetrics"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lookoutmetrics") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/lookoutvision/Cargo.toml b/sdk/lookoutvision/Cargo.toml index a2c6c82c04bc..ee17039f2df9 100644 --- a/sdk/lookoutvision/Cargo.toml +++ b/sdk/lookoutvision/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/lookoutvision/src/config.rs b/sdk/lookoutvision/src/config.rs index 7645cf30111d..b2cf456d0067 100644 --- a/sdk/lookoutvision/src/config.rs +++ b/sdk/lookoutvision/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "lookoutvision"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("lookoutvision") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/m2/Cargo.toml b/sdk/m2/Cargo.toml index 0289472a5258..2d84ab5961e6 100644 --- a/sdk/m2/Cargo.toml +++ b/sdk/m2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/m2/src/config.rs b/sdk/m2/src/config.rs index aee68742e925..3b5367cc8d69 100644 --- a/sdk/m2/src/config.rs +++ b/sdk/m2/src/config.rs @@ -1305,11 +1305,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "m2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("m2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/machinelearning/Cargo.toml b/sdk/machinelearning/Cargo.toml index 64b2b4d61073..5f625622dbfd 100644 --- a/sdk/machinelearning/Cargo.toml +++ b/sdk/machinelearning/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/machinelearning/src/config.rs b/sdk/machinelearning/src/config.rs index de320c66f162..9afe6b21dacd 100644 --- a/sdk/machinelearning/src/config.rs +++ b/sdk/machinelearning/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "machinelearning"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("machinelearning") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/macie2/Cargo.toml b/sdk/macie2/Cargo.toml index ef102a34db50..7bbf2dd36139 100644 --- a/sdk/macie2/Cargo.toml +++ b/sdk/macie2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/macie2/src/config.rs b/sdk/macie2/src/config.rs index 96c8d112a46f..741832239142 100644 --- a/sdk/macie2/src/config.rs +++ b/sdk/macie2/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "macie2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("macie2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mailmanager/Cargo.toml b/sdk/mailmanager/Cargo.toml index 68b110dc17d2..030acd84e372 100644 --- a/sdk/mailmanager/Cargo.toml +++ b/sdk/mailmanager/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mailmanager/src/config.rs b/sdk/mailmanager/src/config.rs index f5c3f985c03b..1107465a1ef6 100644 --- a/sdk/mailmanager/src/config.rs +++ b/sdk/mailmanager/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mailmanager"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mailmanager") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/managedblockchain/Cargo.toml b/sdk/managedblockchain/Cargo.toml index bb850181db2c..963568409257 100644 --- a/sdk/managedblockchain/Cargo.toml +++ b/sdk/managedblockchain/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/managedblockchain/src/config.rs b/sdk/managedblockchain/src/config.rs index d3c5bc1c4bbf..9c02e8f4fb95 100644 --- a/sdk/managedblockchain/src/config.rs +++ b/sdk/managedblockchain/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "managedblockchain"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("managedblockchain") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/managedblockchainquery/Cargo.toml b/sdk/managedblockchainquery/Cargo.toml index 05cad6722237..46311e6e5bc1 100644 --- a/sdk/managedblockchainquery/Cargo.toml +++ b/sdk/managedblockchainquery/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/managedblockchainquery/src/config.rs b/sdk/managedblockchainquery/src/config.rs index d6fef8cca749..398df6c3fc9b 100644 --- a/sdk/managedblockchainquery/src/config.rs +++ b/sdk/managedblockchainquery/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "managedblockchainquery"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("managedblockchainquery") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/marketplaceagreement/Cargo.toml b/sdk/marketplaceagreement/Cargo.toml index f94f720466fd..205b5ffb260c 100644 --- a/sdk/marketplaceagreement/Cargo.toml +++ b/sdk/marketplaceagreement/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/marketplaceagreement/src/config.rs b/sdk/marketplaceagreement/src/config.rs index eecfd7ba9f33..8262f9b88714 100644 --- a/sdk/marketplaceagreement/src/config.rs +++ b/sdk/marketplaceagreement/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "marketplaceagreement"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("marketplaceagreement") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/marketplacecatalog/Cargo.toml b/sdk/marketplacecatalog/Cargo.toml index 84a1a3f34973..38ede366b39e 100644 --- a/sdk/marketplacecatalog/Cargo.toml +++ b/sdk/marketplacecatalog/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/marketplacecatalog/src/config.rs b/sdk/marketplacecatalog/src/config.rs index b6ce21909090..23f3ab65c196 100644 --- a/sdk/marketplacecatalog/src/config.rs +++ b/sdk/marketplacecatalog/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "marketplacecatalog"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("marketplacecatalog") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/marketplacecommerceanalytics/Cargo.toml b/sdk/marketplacecommerceanalytics/Cargo.toml index 56cbc778fba1..0d2f6759f52f 100644 --- a/sdk/marketplacecommerceanalytics/Cargo.toml +++ b/sdk/marketplacecommerceanalytics/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/marketplacecommerceanalytics/src/config.rs b/sdk/marketplacecommerceanalytics/src/config.rs index d3ea45cb1000..18fc1a3057dc 100644 --- a/sdk/marketplacecommerceanalytics/src/config.rs +++ b/sdk/marketplacecommerceanalytics/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "marketplacecommerceanalytics"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("marketplacecommerceanalytics") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/marketplacedeployment/Cargo.toml b/sdk/marketplacedeployment/Cargo.toml index 79e50363c5a3..bce692263185 100644 --- a/sdk/marketplacedeployment/Cargo.toml +++ b/sdk/marketplacedeployment/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/marketplacedeployment/src/config.rs b/sdk/marketplacedeployment/src/config.rs index 1a074408fe63..c9a302e7665d 100644 --- a/sdk/marketplacedeployment/src/config.rs +++ b/sdk/marketplacedeployment/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "marketplacedeployment"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("marketplacedeployment") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/marketplaceentitlement/Cargo.toml b/sdk/marketplaceentitlement/Cargo.toml index 1d8c321446fc..5e0df573678b 100644 --- a/sdk/marketplaceentitlement/Cargo.toml +++ b/sdk/marketplaceentitlement/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/marketplaceentitlement/src/config.rs b/sdk/marketplaceentitlement/src/config.rs index 7fae86abdbd7..9c8b2047b7f4 100644 --- a/sdk/marketplaceentitlement/src/config.rs +++ b/sdk/marketplaceentitlement/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "marketplaceentitlementservice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("marketplaceentitlementservice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/marketplacemetering/Cargo.toml b/sdk/marketplacemetering/Cargo.toml index e2a90f4962ad..9599ce29f5d2 100644 --- a/sdk/marketplacemetering/Cargo.toml +++ b/sdk/marketplacemetering/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/marketplacemetering/src/config.rs b/sdk/marketplacemetering/src/config.rs index aa702e0fb6a9..7d17ee81aad9 100644 --- a/sdk/marketplacemetering/src/config.rs +++ b/sdk/marketplacemetering/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "marketplacemetering"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("marketplacemetering") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/marketplacereporting/Cargo.toml b/sdk/marketplacereporting/Cargo.toml index dafb374ed080..6f22e0c1f682 100644 --- a/sdk/marketplacereporting/Cargo.toml +++ b/sdk/marketplacereporting/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/marketplacereporting/src/config.rs b/sdk/marketplacereporting/src/config.rs index 25048a74e98d..237c0aad203f 100644 --- a/sdk/marketplacereporting/src/config.rs +++ b/sdk/marketplacereporting/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "marketplacereporting"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("marketplacereporting") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mediaconnect/Cargo.toml b/sdk/mediaconnect/Cargo.toml index 6c28cc6e8416..90b44385c5dd 100644 --- a/sdk/mediaconnect/Cargo.toml +++ b/sdk/mediaconnect/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mediaconnect/src/config.rs b/sdk/mediaconnect/src/config.rs index ea81d1e0f699..ec4a394aa49d 100644 --- a/sdk/mediaconnect/src/config.rs +++ b/sdk/mediaconnect/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mediaconnect"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mediaconnect") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mediaconvert/Cargo.toml b/sdk/mediaconvert/Cargo.toml index b83f4625d9f0..b63722c83c31 100644 --- a/sdk/mediaconvert/Cargo.toml +++ b/sdk/mediaconvert/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mediaconvert/src/config.rs b/sdk/mediaconvert/src/config.rs index ee2cae99564c..0ac1b3589e60 100644 --- a/sdk/mediaconvert/src/config.rs +++ b/sdk/mediaconvert/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mediaconvert"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mediaconvert") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/medialive/Cargo.toml b/sdk/medialive/Cargo.toml index 4870171c29fd..0aea887c6bf4 100644 --- a/sdk/medialive/Cargo.toml +++ b/sdk/medialive/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/medialive/src/config.rs b/sdk/medialive/src/config.rs index f88dbb04034d..d103bdecac5d 100644 --- a/sdk/medialive/src/config.rs +++ b/sdk/medialive/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "medialive"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("medialive") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mediapackage/Cargo.toml b/sdk/mediapackage/Cargo.toml index 7fab49496ad2..acc3d633680d 100644 --- a/sdk/mediapackage/Cargo.toml +++ b/sdk/mediapackage/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mediapackage/src/config.rs b/sdk/mediapackage/src/config.rs index 72bf538377cd..dfd0db91a484 100644 --- a/sdk/mediapackage/src/config.rs +++ b/sdk/mediapackage/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mediapackage"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mediapackage") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mediapackagev2/Cargo.toml b/sdk/mediapackagev2/Cargo.toml index 368499d73e3f..2d64cccd6f94 100644 --- a/sdk/mediapackagev2/Cargo.toml +++ b/sdk/mediapackagev2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mediapackagev2/src/config.rs b/sdk/mediapackagev2/src/config.rs index da14674d4e07..db150de03257 100644 --- a/sdk/mediapackagev2/src/config.rs +++ b/sdk/mediapackagev2/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mediapackagev2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mediapackagev2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mediapackagevod/Cargo.toml b/sdk/mediapackagevod/Cargo.toml index 56be5f85e08b..5c800e198f3c 100644 --- a/sdk/mediapackagevod/Cargo.toml +++ b/sdk/mediapackagevod/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mediapackagevod/src/config.rs b/sdk/mediapackagevod/src/config.rs index 0fb5162578ea..9097b55193bd 100644 --- a/sdk/mediapackagevod/src/config.rs +++ b/sdk/mediapackagevod/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mediapackagevod"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mediapackagevod") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mediastore/Cargo.toml b/sdk/mediastore/Cargo.toml index 2330a6646d96..3c58b4e997ea 100644 --- a/sdk/mediastore/Cargo.toml +++ b/sdk/mediastore/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mediastore/src/config.rs b/sdk/mediastore/src/config.rs index ee27bfe20389..ef2d9d23ebb3 100644 --- a/sdk/mediastore/src/config.rs +++ b/sdk/mediastore/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mediastore"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mediastore") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mediastoredata/Cargo.toml b/sdk/mediastoredata/Cargo.toml index b57d4362de9c..0462b40b4e4e 100644 --- a/sdk/mediastoredata/Cargo.toml +++ b/sdk/mediastoredata/Cargo.toml @@ -20,28 +20,28 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,11 +50,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -72,7 +72,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mediastoredata/src/config.rs b/sdk/mediastoredata/src/config.rs index 657782a8b734..afd429a4f08a 100644 --- a/sdk/mediastoredata/src/config.rs +++ b/sdk/mediastoredata/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mediastoredata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mediastoredata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mediatailor/Cargo.toml b/sdk/mediatailor/Cargo.toml index 16412c3c41ba..77a250028e89 100644 --- a/sdk/mediatailor/Cargo.toml +++ b/sdk/mediatailor/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mediatailor/src/config.rs b/sdk/mediatailor/src/config.rs index bdeda34be575..f2a977a05f98 100644 --- a/sdk/mediatailor/src/config.rs +++ b/sdk/mediatailor/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mediatailor"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mediatailor") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/medicalimaging/Cargo.toml b/sdk/medicalimaging/Cargo.toml index 425aeef6493a..9927f75a4af1 100644 --- a/sdk/medicalimaging/Cargo.toml +++ b/sdk/medicalimaging/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/medicalimaging/src/config.rs b/sdk/medicalimaging/src/config.rs index 72768e73de6b..f5fae871485b 100644 --- a/sdk/medicalimaging/src/config.rs +++ b/sdk/medicalimaging/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "medicalimaging"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("medicalimaging") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/memorydb/Cargo.toml b/sdk/memorydb/Cargo.toml index 67c47d8b94e2..320270a7ea52 100644 --- a/sdk/memorydb/Cargo.toml +++ b/sdk/memorydb/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/memorydb/src/config.rs b/sdk/memorydb/src/config.rs index a157a61b13b9..3fb2f44a108f 100644 --- a/sdk/memorydb/src/config.rs +++ b/sdk/memorydb/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "memorydb"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("memorydb") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mgn/Cargo.toml b/sdk/mgn/Cargo.toml index 1bfd534f4d50..1de5816c4fe0 100644 --- a/sdk/mgn/Cargo.toml +++ b/sdk/mgn/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mgn/src/config.rs b/sdk/mgn/src/config.rs index da7e97c68998..a06c15728865 100644 --- a/sdk/mgn/src/config.rs +++ b/sdk/mgn/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mgn"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mgn") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/migrationhub/Cargo.toml b/sdk/migrationhub/Cargo.toml index 7ac61d61ebba..8cdf30ebf925 100644 --- a/sdk/migrationhub/Cargo.toml +++ b/sdk/migrationhub/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/migrationhub/src/config.rs b/sdk/migrationhub/src/config.rs index 1355fbfe858f..3720a607b05c 100644 --- a/sdk/migrationhub/src/config.rs +++ b/sdk/migrationhub/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "migrationhub"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("migrationhub") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/migrationhubconfig/Cargo.toml b/sdk/migrationhubconfig/Cargo.toml index d23e71b26ed6..e7530364f04c 100644 --- a/sdk/migrationhubconfig/Cargo.toml +++ b/sdk/migrationhubconfig/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/migrationhubconfig/src/config.rs b/sdk/migrationhubconfig/src/config.rs index 17515d30bf63..62879b6a1516 100644 --- a/sdk/migrationhubconfig/src/config.rs +++ b/sdk/migrationhubconfig/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "migrationhubconfig"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("migrationhubconfig") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/migrationhuborchestrator/Cargo.toml b/sdk/migrationhuborchestrator/Cargo.toml index 49e74441b860..6704093f11a1 100644 --- a/sdk/migrationhuborchestrator/Cargo.toml +++ b/sdk/migrationhuborchestrator/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/migrationhuborchestrator/src/config.rs b/sdk/migrationhuborchestrator/src/config.rs index 33ce886ad0eb..20780e503758 100644 --- a/sdk/migrationhuborchestrator/src/config.rs +++ b/sdk/migrationhuborchestrator/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "migrationhuborchestrator"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("migrationhuborchestrator") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/migrationhubrefactorspaces/Cargo.toml b/sdk/migrationhubrefactorspaces/Cargo.toml index d90bc4c46f9e..b8a06e03e3f3 100644 --- a/sdk/migrationhubrefactorspaces/Cargo.toml +++ b/sdk/migrationhubrefactorspaces/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/migrationhubrefactorspaces/src/config.rs b/sdk/migrationhubrefactorspaces/src/config.rs index b9dc390ed0c3..5e698ca8b09c 100644 --- a/sdk/migrationhubrefactorspaces/src/config.rs +++ b/sdk/migrationhubrefactorspaces/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "migrationhubrefactorspaces"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("migrationhubrefactorspaces") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/migrationhubstrategy/Cargo.toml b/sdk/migrationhubstrategy/Cargo.toml index 636ca45e43f2..1295a528f7a9 100644 --- a/sdk/migrationhubstrategy/Cargo.toml +++ b/sdk/migrationhubstrategy/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/migrationhubstrategy/src/config.rs b/sdk/migrationhubstrategy/src/config.rs index 859ab999ade0..3c9d08b5afb9 100644 --- a/sdk/migrationhubstrategy/src/config.rs +++ b/sdk/migrationhubstrategy/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "migrationhubstrategy"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("migrationhubstrategy") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mq/Cargo.toml b/sdk/mq/Cargo.toml index f70717df1f47..21f53a4e2e4e 100644 --- a/sdk/mq/Cargo.toml +++ b/sdk/mq/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mq/src/config.rs b/sdk/mq/src/config.rs index a9a40af16508..8bb5ebb0b7c4 100644 --- a/sdk/mq/src/config.rs +++ b/sdk/mq/src/config.rs @@ -1305,11 +1305,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mq"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mq") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mturk/Cargo.toml b/sdk/mturk/Cargo.toml index 0bc6276eddbd..336d7f6b72a6 100644 --- a/sdk/mturk/Cargo.toml +++ b/sdk/mturk/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mturk/src/config.rs b/sdk/mturk/src/config.rs index edc557abe7b1..407b998acdf2 100644 --- a/sdk/mturk/src/config.rs +++ b/sdk/mturk/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mturk"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mturk") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/mwaa/Cargo.toml b/sdk/mwaa/Cargo.toml index 41b3da88f261..efec51c1e3bd 100644 --- a/sdk/mwaa/Cargo.toml +++ b/sdk/mwaa/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/mwaa/src/config.rs b/sdk/mwaa/src/config.rs index 1d6699b4b375..cdee043b53b8 100644 --- a/sdk/mwaa/src/config.rs +++ b/sdk/mwaa/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "mwaa"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("mwaa") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/neptune/Cargo.toml b/sdk/neptune/Cargo.toml index 2c1d019474bf..a2295d55520d 100644 --- a/sdk/neptune/Cargo.toml +++ b/sdk/neptune/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/neptune/src/config.rs b/sdk/neptune/src/config.rs index b1df1e6f7277..b13fdb428c0f 100644 --- a/sdk/neptune/src/config.rs +++ b/sdk/neptune/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "neptune"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("neptune") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/neptunedata/Cargo.toml b/sdk/neptunedata/Cargo.toml index 749093194290..1eeb0d5053d6 100644 --- a/sdk/neptunedata/Cargo.toml +++ b/sdk/neptunedata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/neptunedata/src/config.rs b/sdk/neptunedata/src/config.rs index 451b357a459e..bfeee1a865ca 100644 --- a/sdk/neptunedata/src/config.rs +++ b/sdk/neptunedata/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "neptunedata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("neptunedata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/neptunegraph/Cargo.toml b/sdk/neptunegraph/Cargo.toml index 5d3b3fe43334..74b389d9d120 100644 --- a/sdk/neptunegraph/Cargo.toml +++ b/sdk/neptunegraph/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/neptunegraph/src/config.rs b/sdk/neptunegraph/src/config.rs index c242ee98aeed..9d539a72ed42 100644 --- a/sdk/neptunegraph/src/config.rs +++ b/sdk/neptunegraph/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "neptunegraph"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("neptunegraph") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/networkfirewall/Cargo.toml b/sdk/networkfirewall/Cargo.toml index d7e9a9041f44..2876622d73df 100644 --- a/sdk/networkfirewall/Cargo.toml +++ b/sdk/networkfirewall/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/networkfirewall/src/config.rs b/sdk/networkfirewall/src/config.rs index 08638e91d973..e05e9b65c5be 100644 --- a/sdk/networkfirewall/src/config.rs +++ b/sdk/networkfirewall/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "networkfirewall"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("networkfirewall") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/networkflowmonitor/Cargo.toml b/sdk/networkflowmonitor/Cargo.toml index 0be36f304b78..929e5a519429 100644 --- a/sdk/networkflowmonitor/Cargo.toml +++ b/sdk/networkflowmonitor/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/networkflowmonitor/src/config.rs b/sdk/networkflowmonitor/src/config.rs index eb0cbd358062..c52616f36e7f 100644 --- a/sdk/networkflowmonitor/src/config.rs +++ b/sdk/networkflowmonitor/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "networkflowmonitor"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("networkflowmonitor") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/networkmanager/Cargo.toml b/sdk/networkmanager/Cargo.toml index d4d1ac2414ad..c68dcb705e21 100644 --- a/sdk/networkmanager/Cargo.toml +++ b/sdk/networkmanager/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/networkmanager/src/config.rs b/sdk/networkmanager/src/config.rs index 4211b4ce8d20..a8fdebdbbfc8 100644 --- a/sdk/networkmanager/src/config.rs +++ b/sdk/networkmanager/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "networkmanager"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("networkmanager") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/networkmonitor/Cargo.toml b/sdk/networkmonitor/Cargo.toml index 1a61fee4fdfb..9dc77fb96a08 100644 --- a/sdk/networkmonitor/Cargo.toml +++ b/sdk/networkmonitor/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/networkmonitor/src/config.rs b/sdk/networkmonitor/src/config.rs index db50fbde90fd..0ff5a3deec8a 100644 --- a/sdk/networkmonitor/src/config.rs +++ b/sdk/networkmonitor/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "networkmonitor"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("networkmonitor") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/notifications/Cargo.toml b/sdk/notifications/Cargo.toml index 5cc1ad6a42a7..28a75447ed85 100644 --- a/sdk/notifications/Cargo.toml +++ b/sdk/notifications/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/notifications/src/config.rs b/sdk/notifications/src/config.rs index 9cdbcee0ad49..324e3bcd8d81 100644 --- a/sdk/notifications/src/config.rs +++ b/sdk/notifications/src/config.rs @@ -1274,11 +1274,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "notifications"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("notifications") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/notificationscontacts/Cargo.toml b/sdk/notificationscontacts/Cargo.toml index 0d3eaffcbe84..26ade9327a5a 100644 --- a/sdk/notificationscontacts/Cargo.toml +++ b/sdk/notificationscontacts/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/notificationscontacts/src/config.rs b/sdk/notificationscontacts/src/config.rs index e3d6c63b4a2c..dcbb801670f2 100644 --- a/sdk/notificationscontacts/src/config.rs +++ b/sdk/notificationscontacts/src/config.rs @@ -1274,11 +1274,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "notificationscontacts"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("notificationscontacts") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/oam/Cargo.toml b/sdk/oam/Cargo.toml index 5a3c75e44a9a..e2eb1ad51488 100644 --- a/sdk/oam/Cargo.toml +++ b/sdk/oam/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/oam/src/config.rs b/sdk/oam/src/config.rs index 531cc253d19f..420e900681d0 100644 --- a/sdk/oam/src/config.rs +++ b/sdk/oam/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "oam"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("oam") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/observabilityadmin/Cargo.toml b/sdk/observabilityadmin/Cargo.toml index 90e12551944b..ff09e44f9892 100644 --- a/sdk/observabilityadmin/Cargo.toml +++ b/sdk/observabilityadmin/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/observabilityadmin/src/config.rs b/sdk/observabilityadmin/src/config.rs index 9c0019a9405d..b7c6a4ae0b08 100644 --- a/sdk/observabilityadmin/src/config.rs +++ b/sdk/observabilityadmin/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "observabilityadmin"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("observabilityadmin") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/omics/Cargo.toml b/sdk/omics/Cargo.toml index 03e9e6da1ff7..0af09254f841 100644 --- a/sdk/omics/Cargo.toml +++ b/sdk/omics/Cargo.toml @@ -20,28 +20,28 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,11 +50,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -75,7 +75,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/omics/src/config.rs b/sdk/omics/src/config.rs index be1cdd360ad1..e9a9b13a2a19 100644 --- a/sdk/omics/src/config.rs +++ b/sdk/omics/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "omics"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("omics") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/opensearch/Cargo.toml b/sdk/opensearch/Cargo.toml index 0c8b497d657c..8fe34ed82645 100644 --- a/sdk/opensearch/Cargo.toml +++ b/sdk/opensearch/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/opensearch/src/config.rs b/sdk/opensearch/src/config.rs index f65da1a58f6b..ece92075375f 100644 --- a/sdk/opensearch/src/config.rs +++ b/sdk/opensearch/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "opensearch"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("opensearch") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/opensearchserverless/Cargo.toml b/sdk/opensearchserverless/Cargo.toml index 4bc09aa4b290..526f9ba2b167 100644 --- a/sdk/opensearchserverless/Cargo.toml +++ b/sdk/opensearchserverless/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/opensearchserverless/src/config.rs b/sdk/opensearchserverless/src/config.rs index bd79ae4abe11..ab0ddccd8ce7 100644 --- a/sdk/opensearchserverless/src/config.rs +++ b/sdk/opensearchserverless/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "opensearchserverless"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("opensearchserverless") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/opsworks/Cargo.toml b/sdk/opsworks/Cargo.toml index 150873cfd91a..3eaaef6993f1 100644 --- a/sdk/opsworks/Cargo.toml +++ b/sdk/opsworks/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/opsworks/src/config.rs b/sdk/opsworks/src/config.rs index c63559d6e6a1..480aa079fe58 100644 --- a/sdk/opsworks/src/config.rs +++ b/sdk/opsworks/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "opsworks"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("opsworks") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/opsworkscm/Cargo.toml b/sdk/opsworkscm/Cargo.toml index a8f77089f401..8a022d85485c 100644 --- a/sdk/opsworkscm/Cargo.toml +++ b/sdk/opsworkscm/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/opsworkscm/src/config.rs b/sdk/opsworkscm/src/config.rs index dcddee96ff06..01058ef6c6c7 100644 --- a/sdk/opsworkscm/src/config.rs +++ b/sdk/opsworkscm/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "opsworkscm"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("opsworkscm") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/organizations/Cargo.toml b/sdk/organizations/Cargo.toml index a722c792f179..1a58a985481b 100644 --- a/sdk/organizations/Cargo.toml +++ b/sdk/organizations/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/organizations/src/config.rs b/sdk/organizations/src/config.rs index ab08eee9a2c1..edb5586f6c34 100644 --- a/sdk/organizations/src/config.rs +++ b/sdk/organizations/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "organizations"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("organizations") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/osis/Cargo.toml b/sdk/osis/Cargo.toml index d613232562ed..7953649d2db7 100644 --- a/sdk/osis/Cargo.toml +++ b/sdk/osis/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/osis/src/config.rs b/sdk/osis/src/config.rs index 6cbfeaf52cf2..e944b6ca5232 100644 --- a/sdk/osis/src/config.rs +++ b/sdk/osis/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "osis"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("osis") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/outposts/Cargo.toml b/sdk/outposts/Cargo.toml index 65b9b2f136f7..3f8103eedb0f 100644 --- a/sdk/outposts/Cargo.toml +++ b/sdk/outposts/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/outposts/src/config.rs b/sdk/outposts/src/config.rs index b545ba80b0d3..151a30c782e8 100644 --- a/sdk/outposts/src/config.rs +++ b/sdk/outposts/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "outposts"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("outposts") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/panorama/Cargo.toml b/sdk/panorama/Cargo.toml index ec33cc8db553..6d15bb8ccd51 100644 --- a/sdk/panorama/Cargo.toml +++ b/sdk/panorama/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/panorama/src/config.rs b/sdk/panorama/src/config.rs index 31788ebcdccd..d554e387fc0f 100644 --- a/sdk/panorama/src/config.rs +++ b/sdk/panorama/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "panorama"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("panorama") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/partnercentralselling/Cargo.toml b/sdk/partnercentralselling/Cargo.toml index b0b50e11c0c6..f1c27a093142 100644 --- a/sdk/partnercentralselling/Cargo.toml +++ b/sdk/partnercentralselling/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/partnercentralselling/src/config.rs b/sdk/partnercentralselling/src/config.rs index ca9726549ef7..1a1fa687b3a8 100644 --- a/sdk/partnercentralselling/src/config.rs +++ b/sdk/partnercentralselling/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "partnercentralselling"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("partnercentralselling") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/paymentcryptography/Cargo.toml b/sdk/paymentcryptography/Cargo.toml index 6eda68f7cc1c..0729cfdc3a03 100644 --- a/sdk/paymentcryptography/Cargo.toml +++ b/sdk/paymentcryptography/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/paymentcryptography/src/config.rs b/sdk/paymentcryptography/src/config.rs index 070db2c597df..e97fe05303d9 100644 --- a/sdk/paymentcryptography/src/config.rs +++ b/sdk/paymentcryptography/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "paymentcryptography"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("paymentcryptography") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/paymentcryptographydata/Cargo.toml b/sdk/paymentcryptographydata/Cargo.toml index a27f98065f1a..08ba8ae6e04b 100644 --- a/sdk/paymentcryptographydata/Cargo.toml +++ b/sdk/paymentcryptographydata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/paymentcryptographydata/src/config.rs b/sdk/paymentcryptographydata/src/config.rs index 9c1629b6b66b..70e89833218f 100644 --- a/sdk/paymentcryptographydata/src/config.rs +++ b/sdk/paymentcryptographydata/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "paymentcryptographydata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("paymentcryptographydata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pcaconnectorad/Cargo.toml b/sdk/pcaconnectorad/Cargo.toml index a3cd0d4139b0..49f350495d5e 100644 --- a/sdk/pcaconnectorad/Cargo.toml +++ b/sdk/pcaconnectorad/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pcaconnectorad/src/config.rs b/sdk/pcaconnectorad/src/config.rs index fa41ae2e7c71..a9045fe26008 100644 --- a/sdk/pcaconnectorad/src/config.rs +++ b/sdk/pcaconnectorad/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pcaconnectorad"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pcaconnectorad") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pcaconnectorscep/Cargo.toml b/sdk/pcaconnectorscep/Cargo.toml index 55156e708064..ef7c0fbefcb8 100644 --- a/sdk/pcaconnectorscep/Cargo.toml +++ b/sdk/pcaconnectorscep/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pcaconnectorscep/src/config.rs b/sdk/pcaconnectorscep/src/config.rs index b3c15d931eec..fb199fa28544 100644 --- a/sdk/pcaconnectorscep/src/config.rs +++ b/sdk/pcaconnectorscep/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pcaconnectorscep"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pcaconnectorscep") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pcs/Cargo.toml b/sdk/pcs/Cargo.toml index 0a0a6ca1c942..061dc9a57f01 100644 --- a/sdk/pcs/Cargo.toml +++ b/sdk/pcs/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pcs/src/config.rs b/sdk/pcs/src/config.rs index a9f88fbffb95..58f20866e46c 100644 --- a/sdk/pcs/src/config.rs +++ b/sdk/pcs/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pcs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pcs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/personalize/Cargo.toml b/sdk/personalize/Cargo.toml index 80916b769834..c3ea7cb87cc3 100644 --- a/sdk/personalize/Cargo.toml +++ b/sdk/personalize/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/personalize/src/config.rs b/sdk/personalize/src/config.rs index ec36b74e98f1..bf8b53645e97 100644 --- a/sdk/personalize/src/config.rs +++ b/sdk/personalize/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "personalize"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("personalize") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/personalizeevents/Cargo.toml b/sdk/personalizeevents/Cargo.toml index 069851086461..5d0903cbbf41 100644 --- a/sdk/personalizeevents/Cargo.toml +++ b/sdk/personalizeevents/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/personalizeevents/src/config.rs b/sdk/personalizeevents/src/config.rs index d3bd431fddf7..a6e7f394dfe4 100644 --- a/sdk/personalizeevents/src/config.rs +++ b/sdk/personalizeevents/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "personalizeevents"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("personalizeevents") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/personalizeruntime/Cargo.toml b/sdk/personalizeruntime/Cargo.toml index 4f58784e1281..117340a4bccb 100644 --- a/sdk/personalizeruntime/Cargo.toml +++ b/sdk/personalizeruntime/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/personalizeruntime/src/config.rs b/sdk/personalizeruntime/src/config.rs index bcc842769b7d..8ea3c169486a 100644 --- a/sdk/personalizeruntime/src/config.rs +++ b/sdk/personalizeruntime/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "personalizeruntime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("personalizeruntime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pi/Cargo.toml b/sdk/pi/Cargo.toml index 1fcf256badff..0409505f9484 100644 --- a/sdk/pi/Cargo.toml +++ b/sdk/pi/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pi/src/config.rs b/sdk/pi/src/config.rs index de65b25d0c20..eed10cf9eaf7 100644 --- a/sdk/pi/src/config.rs +++ b/sdk/pi/src/config.rs @@ -1284,11 +1284,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pi"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pi") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pinpoint/Cargo.toml b/sdk/pinpoint/Cargo.toml index 194bd352e570..b967ecf05e19 100644 --- a/sdk/pinpoint/Cargo.toml +++ b/sdk/pinpoint/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pinpoint/src/config.rs b/sdk/pinpoint/src/config.rs index bfbe792d6cbc..2452acc228fe 100644 --- a/sdk/pinpoint/src/config.rs +++ b/sdk/pinpoint/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pinpoint"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pinpoint") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pinpointemail/Cargo.toml b/sdk/pinpointemail/Cargo.toml index b3e02bfa55e5..8849c34fb3ce 100644 --- a/sdk/pinpointemail/Cargo.toml +++ b/sdk/pinpointemail/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pinpointemail/src/config.rs b/sdk/pinpointemail/src/config.rs index 7c13ddce6ff6..2402d1415575 100644 --- a/sdk/pinpointemail/src/config.rs +++ b/sdk/pinpointemail/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pinpointemail"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pinpointemail") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pinpointsmsvoice/Cargo.toml b/sdk/pinpointsmsvoice/Cargo.toml index 7ab6c90dca86..abc41600a3e9 100644 --- a/sdk/pinpointsmsvoice/Cargo.toml +++ b/sdk/pinpointsmsvoice/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pinpointsmsvoice/src/config.rs b/sdk/pinpointsmsvoice/src/config.rs index 72297b493234..ee9079f048b7 100644 --- a/sdk/pinpointsmsvoice/src/config.rs +++ b/sdk/pinpointsmsvoice/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pinpointsmsvoice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pinpointsmsvoice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pinpointsmsvoicev2/Cargo.toml b/sdk/pinpointsmsvoicev2/Cargo.toml index a793a362b9ea..24a5c57aa08c 100644 --- a/sdk/pinpointsmsvoicev2/Cargo.toml +++ b/sdk/pinpointsmsvoicev2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pinpointsmsvoicev2/src/config.rs b/sdk/pinpointsmsvoicev2/src/config.rs index cdb3770379f4..0e56eea65500 100644 --- a/sdk/pinpointsmsvoicev2/src/config.rs +++ b/sdk/pinpointsmsvoicev2/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pinpointsmsvoicev2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pinpointsmsvoicev2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/pipes/Cargo.toml b/sdk/pipes/Cargo.toml index 1f48b9bf398f..ccef05f2bca6 100644 --- a/sdk/pipes/Cargo.toml +++ b/sdk/pipes/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pipes/src/config.rs b/sdk/pipes/src/config.rs index 3f2139ccaf6b..84341503c714 100644 --- a/sdk/pipes/src/config.rs +++ b/sdk/pipes/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pipes"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pipes") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/polly/Cargo.toml b/sdk/polly/Cargo.toml index 643966ce8e76..2a250aff96db 100644 --- a/sdk/polly/Cargo.toml +++ b/sdk/polly/Cargo.toml @@ -20,28 +20,28 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,11 +50,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -82,7 +82,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -92,12 +92,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -106,7 +106,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -116,7 +116,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/polly/src/config.rs b/sdk/polly/src/config.rs index b67e17dc7c62..732bdfd88075 100644 --- a/sdk/polly/src/config.rs +++ b/sdk/polly/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "polly"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("polly") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/polly/src/presigning.rs b/sdk/polly/src/presigning.rs index 6eaf9d226a52..be9c9b529502 100644 --- a/sdk/polly/src/presigning.rs +++ b/sdk/polly/src/presigning.rs @@ -16,6 +16,7 @@ use aws_smithy_runtime_api::box_error::BoxError; use aws_smithy_runtime_api::client::orchestrator::HttpRequest; use aws_smithy_types::body::SdkBody; +use aws_smithy_types::config_bag::{Storable, StoreReplace}; use std::fmt; use std::time::{Duration, SystemTime}; @@ -261,3 +262,12 @@ impl fmt::Debug for PresignedRequest { .finish() } } + +/// A marker struct to be stored in the ConfigBag allowing other interceptors to know that +/// the current request is Presigned +#[derive(Debug)] +pub(crate) struct PresigningMarker; + +impl Storable for PresigningMarker { + type Storer = StoreReplace; +} diff --git a/sdk/polly/src/presigning_interceptors.rs b/sdk/polly/src/presigning_interceptors.rs index c8927aac30cb..e27e115fc1d2 100644 --- a/sdk/polly/src/presigning_interceptors.rs +++ b/sdk/polly/src/presigning_interceptors.rs @@ -6,7 +6,7 @@ #![allow(dead_code)] -use crate::presigning::PresigningConfig; +use crate::presigning::{PresigningConfig, PresigningMarker}; use crate::serialization_settings::HeaderSerializationSettings; use aws_runtime::auth::{HttpSignatureType, SigV4OperationSigningConfig}; use aws_runtime::invocation_id::InvocationIdInterceptor; @@ -54,6 +54,8 @@ impl Intercept for SigV4PresigningInterceptor { .omit_default_content_length() .omit_default_content_type(), ); + + cfg.interceptor_state().store_put(PresigningMarker); Ok(()) } diff --git a/sdk/pricing/Cargo.toml b/sdk/pricing/Cargo.toml index edfa0dde58db..dde97bddbec0 100644 --- a/sdk/pricing/Cargo.toml +++ b/sdk/pricing/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/pricing/src/config.rs b/sdk/pricing/src/config.rs index 54a3bf96c75a..7dd537a8394b 100644 --- a/sdk/pricing/src/config.rs +++ b/sdk/pricing/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "pricing"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("pricing") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/privatenetworks/Cargo.toml b/sdk/privatenetworks/Cargo.toml index c61708287d65..ab74ec8a3eb4 100644 --- a/sdk/privatenetworks/Cargo.toml +++ b/sdk/privatenetworks/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/privatenetworks/src/config.rs b/sdk/privatenetworks/src/config.rs index 3562ae01044b..c9fcc31bf457 100644 --- a/sdk/privatenetworks/src/config.rs +++ b/sdk/privatenetworks/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "privatenetworks"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("privatenetworks") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/proton/Cargo.toml b/sdk/proton/Cargo.toml index befd52139f98..14c15d997374 100644 --- a/sdk/proton/Cargo.toml +++ b/sdk/proton/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/proton/src/config.rs b/sdk/proton/src/config.rs index 00eb6baf9023..cda1c3533069 100644 --- a/sdk/proton/src/config.rs +++ b/sdk/proton/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "proton"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("proton") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/qapps/Cargo.toml b/sdk/qapps/Cargo.toml index 4247c7451483..f12b87411cb3 100644 --- a/sdk/qapps/Cargo.toml +++ b/sdk/qapps/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/qapps/src/config.rs b/sdk/qapps/src/config.rs index f6c33c62a440..36bc73b56462 100644 --- a/sdk/qapps/src/config.rs +++ b/sdk/qapps/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "qapps"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("qapps") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/qbusiness/Cargo.toml b/sdk/qbusiness/Cargo.toml index f18fc9bedcce..6ab09f9dadd2 100644 --- a/sdk/qbusiness/Cargo.toml +++ b/sdk/qbusiness/Cargo.toml @@ -21,33 +21,33 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" features = ["event-stream"] -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -57,11 +57,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["http-body-0-4-x"] -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -86,7 +86,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -95,7 +95,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dev-dependencies.tokio] version = "1.23.1" diff --git a/sdk/qbusiness/src/config.rs b/sdk/qbusiness/src/config.rs index e307fd120f0d..456bceb6e646 100644 --- a/sdk/qbusiness/src/config.rs +++ b/sdk/qbusiness/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "qbusiness"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("qbusiness") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/qconnect/Cargo.toml b/sdk/qconnect/Cargo.toml index 4ba97b211518..add995ac5cdc 100644 --- a/sdk/qconnect/Cargo.toml +++ b/sdk/qconnect/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/qconnect/src/config.rs b/sdk/qconnect/src/config.rs index 4cca78e1d770..65ddb5b61260 100644 --- a/sdk/qconnect/src/config.rs +++ b/sdk/qconnect/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "qconnect"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("qconnect") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/qldb/Cargo.toml b/sdk/qldb/Cargo.toml index 2fa7963bfc4e..0118ad47879d 100644 --- a/sdk/qldb/Cargo.toml +++ b/sdk/qldb/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/qldb/src/config.rs b/sdk/qldb/src/config.rs index f25d015d30bc..b21179aefcb7 100644 --- a/sdk/qldb/src/config.rs +++ b/sdk/qldb/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "qldb"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("qldb") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/qldbsession/Cargo.toml b/sdk/qldbsession/Cargo.toml index 40fca8bb0c6a..09f95db641e9 100644 --- a/sdk/qldbsession/Cargo.toml +++ b/sdk/qldbsession/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -78,12 +78,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -92,7 +92,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -102,7 +102,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/qldbsession/src/config.rs b/sdk/qldbsession/src/config.rs index 092bf82483a5..27fcead0cdc5 100644 --- a/sdk/qldbsession/src/config.rs +++ b/sdk/qldbsession/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "qldbsession"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("qldbsession") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/quicksight/Cargo.toml b/sdk/quicksight/Cargo.toml index f865fce64120..cb4c8250e614 100644 --- a/sdk/quicksight/Cargo.toml +++ b/sdk/quicksight/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/quicksight/src/config.rs b/sdk/quicksight/src/config.rs index fd083e2f8512..a44294497d92 100644 --- a/sdk/quicksight/src/config.rs +++ b/sdk/quicksight/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "quicksight"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("quicksight") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ram/Cargo.toml b/sdk/ram/Cargo.toml index 876cccedd17f..1b43adecfc7a 100644 --- a/sdk/ram/Cargo.toml +++ b/sdk/ram/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ram/src/config.rs b/sdk/ram/src/config.rs index 717210cb84f9..c306d432c92c 100644 --- a/sdk/ram/src/config.rs +++ b/sdk/ram/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ram"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ram") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/rbin/Cargo.toml b/sdk/rbin/Cargo.toml index 7edca203421e..3e1de9346385 100644 --- a/sdk/rbin/Cargo.toml +++ b/sdk/rbin/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/rbin/src/config.rs b/sdk/rbin/src/config.rs index 60af7c4815e6..2403fc70d17f 100644 --- a/sdk/rbin/src/config.rs +++ b/sdk/rbin/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "rbin"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("rbin") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/rds/Cargo.toml b/sdk/rds/Cargo.toml index 88757e091879..489c10c8271e 100644 --- a/sdk/rds/Cargo.toml +++ b/sdk/rds/Cargo.toml @@ -20,23 +20,23 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -45,7 +45,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -54,7 +54,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -62,7 +62,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -80,7 +80,7 @@ version = "0.1" version = "2.3.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -90,7 +90,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.tokio] version = "1.23.1" diff --git a/sdk/rds/src/config.rs b/sdk/rds/src/config.rs index c218dd3ecc41..7e129f4f952b 100644 --- a/sdk/rds/src/config.rs +++ b/sdk/rds/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "rds"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("rds") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/rdsdata/Cargo.toml b/sdk/rdsdata/Cargo.toml index 39cfdc53460a..c68a82dd2d8e 100644 --- a/sdk/rdsdata/Cargo.toml +++ b/sdk/rdsdata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/rdsdata/src/config.rs b/sdk/rdsdata/src/config.rs index 8a3ca59829a7..f5856fa21297 100644 --- a/sdk/rdsdata/src/config.rs +++ b/sdk/rdsdata/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "rdsdata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("rdsdata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/redshift/Cargo.toml b/sdk/redshift/Cargo.toml index 070296233a3e..fe9acc5c7e3f 100644 --- a/sdk/redshift/Cargo.toml +++ b/sdk/redshift/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/redshift/src/config.rs b/sdk/redshift/src/config.rs index 1553a69ecf5f..2101ab859fd5 100644 --- a/sdk/redshift/src/config.rs +++ b/sdk/redshift/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "redshift"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("redshift") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/redshiftdata/Cargo.toml b/sdk/redshiftdata/Cargo.toml index 77f63b5138fa..89942ae5752d 100644 --- a/sdk/redshiftdata/Cargo.toml +++ b/sdk/redshiftdata/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/redshiftdata/src/config.rs b/sdk/redshiftdata/src/config.rs index 76c1a3bcaa7d..19bcb8eae270 100644 --- a/sdk/redshiftdata/src/config.rs +++ b/sdk/redshiftdata/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "redshiftdata"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("redshiftdata") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/redshiftserverless/Cargo.toml b/sdk/redshiftserverless/Cargo.toml index b9949b8f3ffd..8d4b7528f9af 100644 --- a/sdk/redshiftserverless/Cargo.toml +++ b/sdk/redshiftserverless/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/redshiftserverless/src/config.rs b/sdk/redshiftserverless/src/config.rs index 306645688ffd..f6c0b186d80b 100644 --- a/sdk/redshiftserverless/src/config.rs +++ b/sdk/redshiftserverless/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "redshiftserverless"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("redshiftserverless") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/rekognition/Cargo.toml b/sdk/rekognition/Cargo.toml index c64fc781fbc5..bc3ec58a27b8 100644 --- a/sdk/rekognition/Cargo.toml +++ b/sdk/rekognition/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/rekognition/src/config.rs b/sdk/rekognition/src/config.rs index 8f3168c5a21f..dd0810d128d5 100644 --- a/sdk/rekognition/src/config.rs +++ b/sdk/rekognition/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "rekognition"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("rekognition") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/repostspace/Cargo.toml b/sdk/repostspace/Cargo.toml index bfbe7ea90243..29cbb4ccf2f0 100644 --- a/sdk/repostspace/Cargo.toml +++ b/sdk/repostspace/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/repostspace/src/config.rs b/sdk/repostspace/src/config.rs index 14729bc7e135..07ed1a329ac7 100644 --- a/sdk/repostspace/src/config.rs +++ b/sdk/repostspace/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "repostspace"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("repostspace") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/resiliencehub/Cargo.toml b/sdk/resiliencehub/Cargo.toml index 4bcbf542251e..673cdd2c44db 100644 --- a/sdk/resiliencehub/Cargo.toml +++ b/sdk/resiliencehub/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/resiliencehub/src/config.rs b/sdk/resiliencehub/src/config.rs index 75a9c82d6b2b..794b5452c11c 100644 --- a/sdk/resiliencehub/src/config.rs +++ b/sdk/resiliencehub/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "resiliencehub"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("resiliencehub") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/resourceexplorer2/Cargo.toml b/sdk/resourceexplorer2/Cargo.toml index 7636f43c365d..7c7462ed215c 100644 --- a/sdk/resourceexplorer2/Cargo.toml +++ b/sdk/resourceexplorer2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/resourceexplorer2/src/config.rs b/sdk/resourceexplorer2/src/config.rs index ce0aab18d98f..b8069db82a8c 100644 --- a/sdk/resourceexplorer2/src/config.rs +++ b/sdk/resourceexplorer2/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "resourceexplorer2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("resourceexplorer2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/resourcegroups/Cargo.toml b/sdk/resourcegroups/Cargo.toml index 05504ef66b01..e66a7dd62bed 100644 --- a/sdk/resourcegroups/Cargo.toml +++ b/sdk/resourcegroups/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/resourcegroups/src/config.rs b/sdk/resourcegroups/src/config.rs index 4efdb763b7f3..119771493f04 100644 --- a/sdk/resourcegroups/src/config.rs +++ b/sdk/resourcegroups/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "resourcegroups"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("resourcegroups") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/resourcegroupstagging/Cargo.toml b/sdk/resourcegroupstagging/Cargo.toml index 046406eec9ad..0f4e5ceb4695 100644 --- a/sdk/resourcegroupstagging/Cargo.toml +++ b/sdk/resourcegroupstagging/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/resourcegroupstagging/src/config.rs b/sdk/resourcegroupstagging/src/config.rs index 0f6e4bc8200b..3b42ed9bdc09 100644 --- a/sdk/resourcegroupstagging/src/config.rs +++ b/sdk/resourcegroupstagging/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "resourcegroupstaggingapi"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("resourcegroupstaggingapi") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/robomaker/Cargo.toml b/sdk/robomaker/Cargo.toml index 435536d91d06..e43d97103a5c 100644 --- a/sdk/robomaker/Cargo.toml +++ b/sdk/robomaker/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/robomaker/src/config.rs b/sdk/robomaker/src/config.rs index d3e41e4f89f9..e43940416157 100644 --- a/sdk/robomaker/src/config.rs +++ b/sdk/robomaker/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "robomaker"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("robomaker") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/rolesanywhere/Cargo.toml b/sdk/rolesanywhere/Cargo.toml index 162e82309376..a137e75e9d53 100644 --- a/sdk/rolesanywhere/Cargo.toml +++ b/sdk/rolesanywhere/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/rolesanywhere/src/config.rs b/sdk/rolesanywhere/src/config.rs index 7eb425b6c013..fbf74bc71c77 100644 --- a/sdk/rolesanywhere/src/config.rs +++ b/sdk/rolesanywhere/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "rolesanywhere"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("rolesanywhere") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/route53/Cargo.toml b/sdk/route53/Cargo.toml index e0c3af715f03..42a8164c14fe 100644 --- a/sdk/route53/Cargo.toml +++ b/sdk/route53/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,7 +46,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -54,7 +54,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -69,7 +69,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -79,7 +79,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client", "test-util"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.pretty_assertions] version = "1.3.0" diff --git a/sdk/route53/src/config.rs b/sdk/route53/src/config.rs index b9ae7b3fc2e8..2c27b400855d 100644 --- a/sdk/route53/src/config.rs +++ b/sdk/route53/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "route53"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("route53") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/route53domains/Cargo.toml b/sdk/route53domains/Cargo.toml index 4024f394148d..1a77c08f5556 100644 --- a/sdk/route53domains/Cargo.toml +++ b/sdk/route53domains/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/route53domains/src/config.rs b/sdk/route53domains/src/config.rs index 5d9083480fb4..9ef22d7e8997 100644 --- a/sdk/route53domains/src/config.rs +++ b/sdk/route53domains/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "route53domains"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("route53domains") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/route53profiles/Cargo.toml b/sdk/route53profiles/Cargo.toml index 9a6cac53e418..0f354d10259c 100644 --- a/sdk/route53profiles/Cargo.toml +++ b/sdk/route53profiles/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/route53profiles/src/config.rs b/sdk/route53profiles/src/config.rs index 751786d1e5c5..805c7c000ea1 100644 --- a/sdk/route53profiles/src/config.rs +++ b/sdk/route53profiles/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "route53profiles"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("route53profiles") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/route53recoverycluster/Cargo.toml b/sdk/route53recoverycluster/Cargo.toml index d8cfdfa3fb19..e321a344d4fb 100644 --- a/sdk/route53recoverycluster/Cargo.toml +++ b/sdk/route53recoverycluster/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/route53recoverycluster/src/config.rs b/sdk/route53recoverycluster/src/config.rs index 09a1238d5dce..cf3189e5dc86 100644 --- a/sdk/route53recoverycluster/src/config.rs +++ b/sdk/route53recoverycluster/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "route53recoverycluster"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("route53recoverycluster") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/route53recoverycontrolconfig/Cargo.toml b/sdk/route53recoverycontrolconfig/Cargo.toml index 608ff6b8fdc1..f384c7a9c38a 100644 --- a/sdk/route53recoverycontrolconfig/Cargo.toml +++ b/sdk/route53recoverycontrolconfig/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/route53recoverycontrolconfig/src/config.rs b/sdk/route53recoverycontrolconfig/src/config.rs index 54fe063eb312..4bc2cffd7fab 100644 --- a/sdk/route53recoverycontrolconfig/src/config.rs +++ b/sdk/route53recoverycontrolconfig/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "route53recoverycontrolconfig"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("route53recoverycontrolconfig") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/route53recoveryreadiness/Cargo.toml b/sdk/route53recoveryreadiness/Cargo.toml index 55228ecb4302..e44dfdf6aeb5 100644 --- a/sdk/route53recoveryreadiness/Cargo.toml +++ b/sdk/route53recoveryreadiness/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/route53recoveryreadiness/src/config.rs b/sdk/route53recoveryreadiness/src/config.rs index 58184e640088..8dd366122bf6 100644 --- a/sdk/route53recoveryreadiness/src/config.rs +++ b/sdk/route53recoveryreadiness/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "route53recoveryreadiness"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("route53recoveryreadiness") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/route53resolver/Cargo.toml b/sdk/route53resolver/Cargo.toml index f2dde4a21bb6..cca76fc6e95b 100644 --- a/sdk/route53resolver/Cargo.toml +++ b/sdk/route53resolver/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/route53resolver/src/config.rs b/sdk/route53resolver/src/config.rs index 4a700c8f31f0..aaad5e7720f4 100644 --- a/sdk/route53resolver/src/config.rs +++ b/sdk/route53resolver/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "route53resolver"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("route53resolver") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/rum/Cargo.toml b/sdk/rum/Cargo.toml index ebbeb525f5db..0ff0fd5eea50 100644 --- a/sdk/rum/Cargo.toml +++ b/sdk/rum/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/rum/src/config.rs b/sdk/rum/src/config.rs index 73f7f64d060b..8feebb5fb56e 100644 --- a/sdk/rum/src/config.rs +++ b/sdk/rum/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "rum"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("rum") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/s3/Cargo.toml b/sdk/s3/Cargo.toml index f5b0e297831e..c849cc3228da 100644 --- a/sdk/s3/Cargo.toml +++ b/sdk/s3/Cargo.toml @@ -21,37 +21,37 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" features = ["event-stream", "http-02x"] -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-checksums] path = "../aws-smithy-checksums" -version = "0.60.13" +version = "0.62.0" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -60,7 +60,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -68,7 +68,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -124,7 +124,7 @@ version = "1.12.0" [dev-dependencies.aws-config] path = "../aws-config" features = ["behavior-version-latest"] -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -134,12 +134,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-experimental] path = "../aws-smithy-experimental" @@ -153,7 +153,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock", "client"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -163,7 +163,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.bytes-utils] version = "0.1.0" diff --git a/sdk/s3/src/config.rs b/sdk/s3/src/config.rs index 002e7573ee32..405a77191159 100644 --- a/sdk/s3/src/config.rs +++ b/sdk/s3/src/config.rs @@ -116,6 +116,14 @@ impl Config { pub fn new(config: &::aws_types::sdk_config::SdkConfig) -> Self { Builder::from(config).build() } + /// Return a reference to the response_checksum_validation value contained in this config, if any. + pub fn response_checksum_validation(&self) -> ::std::option::Option<&crate::config::ResponseChecksumValidation> { + self.config.load::() + } + /// Return a reference to the request_checksum_calculation value contained in this config, if any. + pub fn request_checksum_calculation(&self) -> ::std::option::Option<&crate::config::RequestChecksumCalculation> { + self.config.load::() + } /// The signature version 4 service signing name to use in the credential scope when signing requests. /// /// The signing service may be overridden by the `Endpoint`, or by specifying a custom @@ -186,6 +194,8 @@ impl Builder { builder.set_endpoint_url(config_bag.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone())); builder.set_use_dual_stack(config_bag.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0)); builder.set_use_fips(config_bag.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0)); + builder.set_response_checksum_validation(config_bag.load::().cloned()); + builder.set_request_checksum_calculation(config_bag.load::().cloned()); builder.set_region(config_bag.load::().cloned()); builder } @@ -1005,6 +1015,36 @@ impl Builder { self.config.store_or_unset(use_fips.map(::aws_types::endpoint_config::UseFips)); self } + /// Set the [`ResponseChecksumValidation`](crate::config::ResponseChecksumValidation) + /// to determine when checksum validation will be performed on response payloads. + pub fn response_checksum_validation(mut self, response_checksum_validation: crate::config::ResponseChecksumValidation) -> Self { + self.set_response_checksum_validation(::std::option::Option::Some(response_checksum_validation)); + self + } + /// Set the [`ResponseChecksumValidation`](crate::config::ResponseChecksumValidation) + /// to determine when checksum validation will be performed on response payloads. + pub fn set_response_checksum_validation( + &mut self, + response_checksum_validation: ::std::option::Option, + ) -> &mut Self { + self.config.store_or_unset(response_checksum_validation); + self + } + /// Set the [`RequestChecksumCalculation`](crate::config::RequestChecksumCalculation) + /// to determine when a checksum will be calculated for request payloads. + pub fn request_checksum_calculation(mut self, request_checksum_calculation: crate::config::RequestChecksumCalculation) -> Self { + self.set_request_checksum_calculation(::std::option::Option::Some(request_checksum_calculation)); + self + } + /// Set the [`RequestChecksumCalculation`](crate::config::RequestChecksumCalculation) + /// to determine when a checksum will be calculated for request payloads. + pub fn set_request_checksum_calculation( + &mut self, + request_checksum_calculation: ::std::option::Option, + ) -> &mut Self { + self.config.store_or_unset(request_checksum_calculation); + self + } /// Sets the AWS region to use when making requests. /// /// # Examples @@ -1328,6 +1368,8 @@ impl From<&::aws_types::sdk_config::SdkConfig> for Builder { })); builder.set_credentials_provider(input.credentials_provider()); builder = builder.region(input.region().cloned()); + builder.set_request_checksum_calculation(input.request_checksum_calculation()); + builder.set_response_checksum_validation(input.response_checksum_validation()); builder.set_use_fips(input.use_fips()); builder.set_use_dual_stack(input.use_dual_stack()); if input.get_origin("endpoint_url").is_client_config() { @@ -1395,11 +1437,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "s3"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("s3") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config @@ -1440,6 +1488,10 @@ pub use ::aws_smithy_runtime_api::client::identity::SharedIdentityCache; pub use ::aws_smithy_runtime_api::client::interceptors::SharedInterceptor; +pub use ::aws_smithy_types::checksum_config::ResponseChecksumValidation; + +pub use ::aws_smithy_types::checksum_config::RequestChecksumCalculation; + pub use ::aws_types::region::Region; pub use ::aws_credential_types::provider::SharedCredentialsProvider; diff --git a/sdk/s3/src/http_request_checksum.rs b/sdk/s3/src/http_request_checksum.rs index 876ceb824b00..1e1e6bf1ac82 100644 --- a/sdk/s3/src/http_request_checksum.rs +++ b/sdk/s3/src/http_request_checksum.rs @@ -13,18 +13,24 @@ use aws_runtime::content_encoding::header_value::AWS_CHUNKED; use aws_runtime::content_encoding::{AwsChunkedBody, AwsChunkedBodyOptions}; use aws_smithy_checksums::ChecksumAlgorithm; use aws_smithy_checksums::{body::calculate, http::HttpChecksum}; +use aws_smithy_runtime::client::sdk_feature::SmithySdkFeature; use aws_smithy_runtime_api::box_error::BoxError; -use aws_smithy_runtime_api::client::interceptors::context::{BeforeSerializationInterceptorContextRef, BeforeTransmitInterceptorContextMut, Input}; +use aws_smithy_runtime_api::client::interceptors::context::{BeforeSerializationInterceptorContextMut, BeforeTransmitInterceptorContextMut, Input}; use aws_smithy_runtime_api::client::interceptors::Intercept; use aws_smithy_runtime_api::client::orchestrator::HttpRequest; use aws_smithy_runtime_api::client::runtime_components::RuntimeComponents; +use aws_smithy_runtime_api::http::Request; use aws_smithy_types::body::SdkBody; +use aws_smithy_types::checksum_config::RequestChecksumCalculation; use aws_smithy_types::config_bag::{ConfigBag, Layer, Storable, StoreReplace}; use aws_smithy_types::error::operation::BuildError; use http::HeaderValue; use http_body::Body; +use std::str::FromStr; use std::{fmt, mem}; +use crate::presigning::PresigningMarker; + /// Errors related to constructing checksum-validated HTTP requests #[derive(Debug)] pub(crate) enum Error { @@ -48,9 +54,12 @@ impl fmt::Display for Error { impl std::error::Error for Error {} -#[derive(Debug)] +#[derive(Debug, Clone)] struct RequestChecksumInterceptorState { - checksum_algorithm: Option, + /// The checksum algorithm to calculate + checksum_algorithm: Option, + /// This value is set in the model on the `httpChecksum` trait + request_checksum_required: bool, } impl Storable for RequestChecksumInterceptorState { type Storer = StoreReplace; @@ -83,40 +92,48 @@ impl DefaultRequestChecksumOverride { } } -pub(crate) struct RequestChecksumInterceptor { +pub(crate) struct RequestChecksumInterceptor { algorithm_provider: AP, + checksum_mutator: CM, } -impl fmt::Debug for RequestChecksumInterceptor { +impl fmt::Debug for RequestChecksumInterceptor { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("RequestChecksumInterceptor").finish() } } -impl RequestChecksumInterceptor { - pub(crate) fn new(algorithm_provider: AP) -> Self { - Self { algorithm_provider } +impl RequestChecksumInterceptor { + pub(crate) fn new(algorithm_provider: AP, checksum_mutator: CM) -> Self { + Self { + algorithm_provider, + checksum_mutator, + } } } -impl Intercept for RequestChecksumInterceptor +impl Intercept for RequestChecksumInterceptor where - AP: Fn(&Input) -> Result, BoxError> + Send + Sync, + AP: Fn(&Input) -> (Option, bool) + Send + Sync, + CM: Fn(&mut Request, &ConfigBag) -> Result + Send + Sync, { fn name(&self) -> &'static str { "RequestChecksumInterceptor" } - fn read_before_serialization( + fn modify_before_serialization( &self, - context: &BeforeSerializationInterceptorContextRef<'_>, + context: &mut BeforeSerializationInterceptorContextMut<'_>, _runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { - let checksum_algorithm = (self.algorithm_provider)(context.input())?; + let (checksum_algorithm, request_checksum_required) = (self.algorithm_provider)(context.input()); let mut layer = Layer::new("RequestChecksumInterceptor"); - layer.store_put(RequestChecksumInterceptorState { checksum_algorithm }); + layer.store_put(RequestChecksumInterceptorState { + checksum_algorithm, + request_checksum_required, + }); cfg.push_layer(layer); Ok(()) @@ -125,7 +142,7 @@ where /// Calculate a checksum and modify the request to include the checksum as a header /// (for in-memory request bodies) or a trailer (for streaming request bodies). /// Streaming bodies must be sized or this will return an error. - fn modify_before_signing( + fn modify_before_retry_loop( &self, context: &mut BeforeTransmitInterceptorContextMut<'_>, _runtime_components: &RuntimeComponents, @@ -133,14 +150,110 @@ where ) -> Result<(), BoxError> { let state = cfg.load::().expect("set in `read_before_serialization`"); - let checksum_algorithm = incorporate_custom_default(state.checksum_algorithm, cfg); - if let Some(checksum_algorithm) = checksum_algorithm { + let user_set_checksum_value = (self.checksum_mutator)(context.request_mut(), cfg).expect("Checksum header mutation should not fail"); + + // If the user manually set a checksum header we short circuit + if user_set_checksum_value { + return Ok(()); + } + + // This value is from the trait, but is needed for runtime logic + let request_checksum_required = state.request_checksum_required; + + // If the algorithm fails to parse it is not one we support and we error + let checksum_algorithm = state + .checksum_algorithm + .clone() + .map(|s| ChecksumAlgorithm::from_str(s.as_str())) + .transpose()?; + + // This value is set by the user on the SdkConfig to indicate their preference + // We provide a default here for users that use a client config instead of the SdkConfig + let request_checksum_calculation = cfg + .load::() + .unwrap_or(&RequestChecksumCalculation::WhenSupported); + + // Determine if we actually calculate the checksum. If the user setting is WhenSupported (the default) + // we always calculate it (because this interceptor isn't added if it isn't supported). If it is + // WhenRequired we only calculate it if the checksum is marked required on the trait. + let calculate_checksum = match request_checksum_calculation { + RequestChecksumCalculation::WhenRequired => request_checksum_required, + RequestChecksumCalculation::WhenSupported => true, + _ => true, + }; + + // Calculate the checksum if necessary + if calculate_checksum { + let is_presigned_req = cfg.load::().is_some(); + + // If this is a presigned request and the user has not set a checksum we short circuit + if is_presigned_req && checksum_algorithm.is_none() { + return Ok(()); + } + + // If a checksum override is set in the ConfigBag we use that instead (currently only used by S3Express) + // If we have made it this far without a checksum being set we set the default (currently Crc32) + let checksum_algorithm = incorporate_custom_default(checksum_algorithm, cfg).unwrap_or_default(); + + // Set the user-agent metric for the selected checksum algorithm + match checksum_algorithm { + ChecksumAlgorithm::Crc32 => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsReqCrc32); + } + ChecksumAlgorithm::Crc32c => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsReqCrc32c); + } + ChecksumAlgorithm::Crc64Nvme => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsReqCrc64); + } + #[allow(deprecated)] + ChecksumAlgorithm::Md5 => { + tracing::warn!(more_info = "Unsupported ChecksumAlgorithm MD5 set"); + } + ChecksumAlgorithm::Sha1 => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsReqSha1); + } + ChecksumAlgorithm::Sha256 => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsReqSha256); + } + unsupported => tracing::warn!( + more_info = "Unsupported value of ChecksumAlgorithm detected when setting user-agent metrics", + unsupported = ?unsupported), + } + let request = context.request_mut(); add_checksum_for_request_body(request, checksum_algorithm, cfg)?; } Ok(()) } + + /// Set the user-agent metrics for `RequestChecksumCalculation` here to avoid ownership issues + /// with the mutable borrow of cfg in `modify_before_signing` + fn read_after_serialization( + &self, + _context: &aws_smithy_runtime_api::client::interceptors::context::BeforeTransmitInterceptorContextRef<'_>, + _runtime_components: &RuntimeComponents, + cfg: &mut ConfigBag, + ) -> Result<(), BoxError> { + let request_checksum_calculation = cfg + .load::() + .unwrap_or(&RequestChecksumCalculation::WhenSupported); + + match request_checksum_calculation { + RequestChecksumCalculation::WhenSupported => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsReqWhenSupported); + } + RequestChecksumCalculation::WhenRequired => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsReqWhenRequired); + } + unsupported => tracing::warn!( + more_info = "Unsupported value of RequestChecksumCalculation when setting user-agent metrics", + unsupported = ?unsupported), + }; + + Ok(()) + } } fn incorporate_custom_default(checksum: Option, cfg: &ConfigBag) -> Option { @@ -154,11 +267,16 @@ fn add_checksum_for_request_body(request: &mut HttpRequest, checksum_algorithm: match request.body().bytes() { // Body is in-memory: read it and insert the checksum as a header. Some(data) => { - tracing::debug!("applying {checksum_algorithm:?} of the request body as a header"); let mut checksum = checksum_algorithm.into_impl(); - checksum.update(data); - request.headers_mut().insert(checksum.header_name(), checksum.header_value()); + // If the header has not already been set we set it. If it was already set by the user + // we do nothing and maintain their set value. + if request.headers().get(checksum.header_name()).is_none() { + tracing::debug!("applying {checksum_algorithm:?} of the request body as a header"); + checksum.update(data); + + request.headers_mut().insert(checksum.header_name(), checksum.header_value()); + } } // Body is streaming: wrap the body so it will emit a checksum as a trailer. None => { @@ -174,6 +292,13 @@ fn wrap_streaming_request_body_in_checksum_calculating_body( request: &mut HttpRequest, checksum_algorithm: ChecksumAlgorithm, ) -> Result<(), BuildError> { + let checksum = checksum_algorithm.into_impl(); + + // If the user already set the header value then do nothing and return early + if request.headers().get(checksum.header_name()).is_some() { + return Ok(()); + } + let original_body_size = request .body() .size_hint() @@ -199,10 +324,7 @@ fn wrap_streaming_request_body_in_checksum_calculating_body( let headers = request.headers_mut(); - headers.insert( - http::header::HeaderName::from_static("x-amz-trailer"), - checksum_algorithm.into_impl().header_name(), - ); + headers.insert(http::header::HeaderName::from_static("x-amz-trailer"), checksum.header_name()); headers.insert(http::header::CONTENT_LENGTH, HeaderValue::from(encoded_content_length)); headers.insert( diff --git a/sdk/s3/src/http_response_checksum.rs b/sdk/s3/src/http_response_checksum.rs index b51f149024f3..1c8873a3e04b 100644 --- a/sdk/s3/src/http_response_checksum.rs +++ b/sdk/s3/src/http_response_checksum.rs @@ -9,14 +9,16 @@ //! Interceptor for handling Smithy `@httpChecksum` response checksumming use aws_smithy_checksums::ChecksumAlgorithm; +use aws_smithy_runtime::client::sdk_feature::SmithySdkFeature; use aws_smithy_runtime_api::box_error::BoxError; use aws_smithy_runtime_api::client::interceptors::context::{ - BeforeDeserializationInterceptorContextMut, BeforeSerializationInterceptorContextRef, Input, + BeforeDeserializationInterceptorContextMut, BeforeSerializationInterceptorContextMut, Input, }; use aws_smithy_runtime_api::client::interceptors::Intercept; use aws_smithy_runtime_api::client::runtime_components::RuntimeComponents; use aws_smithy_runtime_api::http::Headers; use aws_smithy_types::body::SdkBody; +use aws_smithy_types::checksum_config::ResponseChecksumValidation; use aws_smithy_types::config_bag::{ConfigBag, Layer, Storable, StoreReplace}; use std::{fmt, mem}; @@ -28,12 +30,13 @@ impl Storable for ResponseChecksumInterceptorState { type Storer = StoreReplace; } -pub(crate) struct ResponseChecksumInterceptor { +pub(crate) struct ResponseChecksumInterceptor { response_algorithms: &'static [&'static str], validation_enabled: VE, + checksum_mutator: CM, } -impl fmt::Debug for ResponseChecksumInterceptor { +impl fmt::Debug for ResponseChecksumInterceptor { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("ResponseChecksumInterceptor") .field("response_algorithms", &self.response_algorithms) @@ -41,35 +44,55 @@ impl fmt::Debug for ResponseChecksumInterceptor { } } -impl ResponseChecksumInterceptor { - pub(crate) fn new(response_algorithms: &'static [&'static str], validation_enabled: VE) -> Self { +impl ResponseChecksumInterceptor { + pub(crate) fn new(response_algorithms: &'static [&'static str], validation_enabled: VE, checksum_mutator: CM) -> Self { Self { response_algorithms, validation_enabled, + checksum_mutator, } } } -impl Intercept for ResponseChecksumInterceptor +impl Intercept for ResponseChecksumInterceptor where VE: Fn(&Input) -> bool + Send + Sync, + CM: Fn(&mut Input, &ConfigBag) -> Result<(), BoxError> + Send + Sync, { fn name(&self) -> &'static str { "ResponseChecksumInterceptor" } - fn read_before_serialization( + fn modify_before_serialization( &self, - context: &BeforeSerializationInterceptorContextRef<'_>, + context: &mut BeforeSerializationInterceptorContextMut<'_>, _runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { + (self.checksum_mutator)(context.input_mut(), cfg)?; let validation_enabled = (self.validation_enabled)(context.input()); let mut layer = Layer::new("ResponseChecksumInterceptor"); layer.store_put(ResponseChecksumInterceptorState { validation_enabled }); cfg.push_layer(layer); + let response_checksum_validation = cfg + .load::() + .unwrap_or(&ResponseChecksumValidation::WhenSupported); + + // Set the user-agent feature metric for the response checksum config + match response_checksum_validation { + ResponseChecksumValidation::WhenSupported => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsResWhenSupported); + } + ResponseChecksumValidation::WhenRequired => { + cfg.interceptor_state().store_append(SmithySdkFeature::FlexibleChecksumsResWhenRequired); + } + unsupported => tracing::warn!( + more_info = "Unsupported value of ResponseChecksumValidation when setting user-agent metrics", + unsupported = ?unsupported), + }; + Ok(()) } @@ -83,9 +106,30 @@ where .load::() .expect("set in `read_before_serialization`"); - if state.validation_enabled { + // This value is set by the user on the SdkConfig to indicate their preference + // We provide a default here for users that use a client config instead of the SdkConfig + let response_checksum_validation = cfg + .load::() + .unwrap_or(&ResponseChecksumValidation::WhenSupported); + + // If validation has not been explicitly enabled we check the ResponseChecksumValidation + // from the SdkConfig. If it is WhenSupported (or unknown) we enable validation and if it + // is WhenRequired we leave it disabled since there is no way to indicate that a response + // checksum is required. + let validation_enabled = if !state.validation_enabled { + match response_checksum_validation { + ResponseChecksumValidation::WhenRequired => false, + ResponseChecksumValidation::WhenSupported => true, + _ => true, + } + } else { + true + }; + + if validation_enabled { let response = context.response_mut(); let maybe_checksum_headers = check_headers_for_precalculated_checksum(response.headers(), self.response_algorithms); + if let Some((checksum_algorithm, precalculated_checksum)) = maybe_checksum_headers { let mut body = SdkBody::taken(); mem::swap(&mut body, response.body_mut()); @@ -178,8 +222,8 @@ fn is_part_level_checksum(checksum: &str) -> bool { continue; } - // Yup, it's a part-level checksum - if ch == '-' { + // We saw a number first followed by the dash, yup, it's a part-level checksum + if found_number && ch == '-' { if found_dash { // Found a second dash?? This isn't a part-level checksum. return false; @@ -244,4 +288,16 @@ mod tests { assert!(!is_part_level_checksum("abcd==--11")); assert!(!is_part_level_checksum("abcd==-AA")); } + + #[test] + fn part_level_checksum_detection_works() { + let a_real_checksum = is_part_level_checksum("C9A5A6878D97B48CC965C1E41859F034-14"); + assert!(a_real_checksum); + let close_but_not_quite = is_part_level_checksum("a4-"); + assert!(!close_but_not_quite); + let backwards = is_part_level_checksum("14-C9A5A6878D97B48CC965C1E41859F034"); + assert!(!backwards); + let double_dash = is_part_level_checksum("C9A5A6878D97B48CC965C1E41859F03-4-14"); + assert!(!double_dash); + } } diff --git a/sdk/s3/src/operation/create_bucket_metadata_table_configuration.rs b/sdk/s3/src/operation/create_bucket_metadata_table_configuration.rs index a735de947c8f..9b3686b157cd 100644 --- a/sdk/s3/src/operation/create_bucket_metadata_table_configuration.rs +++ b/sdk/s3/src/operation/create_bucket_metadata_table_configuration.rs @@ -135,15 +135,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for CreateB let input: &crate::operation::create_bucket_metadata_table_configuration::CreateBucketMetadataTableConfigurationInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/delete_objects.rs b/sdk/s3/src/operation/delete_objects.rs index 0af8bb54c32d..39f7169cd3d9 100644 --- a/sdk/s3/src/operation/delete_objects.rs +++ b/sdk/s3/src/operation/delete_objects.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for DeleteO |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::delete_objects::DeleteObjectsInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/get_object.rs b/sdk/s3/src/operation/get_object.rs index ac71416e9edd..fa4a99cdfb1f 100644 --- a/sdk/s3/src/operation/get_object.rs +++ b/sdk/s3/src/operation/get_object.rs @@ -127,6 +127,33 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for GetObje let input: &crate::operation::get_object::GetObjectInput = input.downcast_ref().expect("correct type"); matches!(input.checksum_mode(), ::std::option::Option::Some(crate::types::ChecksumMode::Enabled)) }, + |input: &mut ::aws_smithy_runtime_api::client::interceptors::context::Input, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + let input = input + .downcast_mut::() + .ok_or("failed to downcast to crate::operation::get_object::GetObjectInput")?; + + let request_validation_enabled = matches!(input.checksum_mode(), Some(crate::types::ChecksumMode::Enabled)); + + if !request_validation_enabled { + // This value is set by the user on the SdkConfig to indicate their preference + let response_checksum_validation = cfg + .load::<::aws_smithy_types::checksum_config::ResponseChecksumValidation>() + .unwrap_or(&::aws_smithy_types::checksum_config::ResponseChecksumValidation::WhenSupported); + + // If validation setting is WhenSupported (or unknown) we enable response checksum + // validation. If it is WhenRequired we do not enable (since there is no way to + // indicate that a response checksum is required). + #[allow(clippy::wildcard_in_or_patterns)] + match response_checksum_validation { + ::aws_smithy_types::checksum_config::ResponseChecksumValidation::WhenRequired => {} + ::aws_smithy_types::checksum_config::ResponseChecksumValidation::WhenSupported | _ => { + input.checksum_mode = Some(crate::types::ChecksumMode::Enabled); + } + } + } + + ::std::result::Result::Ok(()) + }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< crate::operation::get_object::GetObjectError, diff --git a/sdk/s3/src/operation/put_bucket_accelerate_configuration.rs b/sdk/s3/src/operation/put_bucket_accelerate_configuration.rs index e6ca0fd481fa..c6010cb0fe5e 100644 --- a/sdk/s3/src/operation/put_bucket_accelerate_configuration.rs +++ b/sdk/s3/src/operation/put_bucket_accelerate_configuration.rs @@ -134,15 +134,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck let input: &crate::operation::put_bucket_accelerate_configuration::PutBucketAccelerateConfigurationInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), false) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = false; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_bucket_acl.rs b/sdk/s3/src/operation/put_bucket_acl.rs index 1468c41fb3ae..250675148e9d 100644 --- a/sdk/s3/src/operation/put_bucket_acl.rs +++ b/sdk/s3/src/operation/put_bucket_acl.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_acl::PutBucketAclInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_bucket_cors.rs b/sdk/s3/src/operation/put_bucket_cors.rs index 2060b501aff8..7a43801f3563 100644 --- a/sdk/s3/src/operation/put_bucket_cors.rs +++ b/sdk/s3/src/operation/put_bucket_cors.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_cors::PutBucketCorsInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_bucket_encryption.rs b/sdk/s3/src/operation/put_bucket_encryption.rs index 15b56c96e899..6c6deba38047 100644 --- a/sdk/s3/src/operation/put_bucket_encryption.rs +++ b/sdk/s3/src/operation/put_bucket_encryption.rs @@ -120,19 +120,63 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("PutBucketEncryption") .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) .with_interceptor(PutBucketEncryptionEndpointParamsInterceptor) -.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new(|input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { +.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new( + |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_encryption::PutBucketEncryptionInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); -let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)? - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) - })) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = request.headers().iter().filter_map(|(name, _val)| { + if name.starts_with("x-amz-checksum-") { + Some(name) + } else { + None + } + }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers() + .get("x-amz-sdk-checksum-algorithm") + .is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {}, + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) + } + )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::::new()) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::::new()) .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::::builder().transient_errors({ diff --git a/sdk/s3/src/operation/put_bucket_lifecycle_configuration.rs b/sdk/s3/src/operation/put_bucket_lifecycle_configuration.rs index a1a031994463..e2cc4e858a04 100644 --- a/sdk/s3/src/operation/put_bucket_lifecycle_configuration.rs +++ b/sdk/s3/src/operation/put_bucket_lifecycle_configuration.rs @@ -135,15 +135,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck let input: &crate::operation::put_bucket_lifecycle_configuration::PutBucketLifecycleConfigurationInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< @@ -353,7 +391,7 @@ mod put_bucket_lifecycle_configuration_test { .await; let _ = dbg!(result); let http_request = request_receiver.expect_request(); - let expected_headers = [("content-md5", "JP8DTuCSH6yDC8wNGg4+mA==")]; + let expected_headers = [("x-amz-checksum-crc32", "11+f3g==")]; ::aws_smithy_protocol_test::assert_ok(::aws_smithy_protocol_test::validate_headers(http_request.headers(), expected_headers)); let body = http_request.body().bytes().expect("body should be strict"); ::aws_smithy_protocol_test::assert_ok( diff --git a/sdk/s3/src/operation/put_bucket_logging.rs b/sdk/s3/src/operation/put_bucket_logging.rs index fb79d8abe386..60509f6c1122 100644 --- a/sdk/s3/src/operation/put_bucket_logging.rs +++ b/sdk/s3/src/operation/put_bucket_logging.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_logging::PutBucketLoggingInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_bucket_policy.rs b/sdk/s3/src/operation/put_bucket_policy.rs index 25ee7789d67f..efd72d7b8d1b 100644 --- a/sdk/s3/src/operation/put_bucket_policy.rs +++ b/sdk/s3/src/operation/put_bucket_policy.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_policy::PutBucketPolicyInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_bucket_replication.rs b/sdk/s3/src/operation/put_bucket_replication.rs index 8e4261a196bb..ec697352f9ba 100644 --- a/sdk/s3/src/operation/put_bucket_replication.rs +++ b/sdk/s3/src/operation/put_bucket_replication.rs @@ -123,19 +123,63 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("PutBucketReplication") .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) .with_interceptor(PutBucketReplicationEndpointParamsInterceptor) -.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new(|input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { +.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new( + |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_replication::PutBucketReplicationInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); -let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)? - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) - })) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = request.headers().iter().filter_map(|(name, _val)| { + if name.starts_with("x-amz-checksum-") { + Some(name) + } else { + None + } + }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers() + .get("x-amz-sdk-checksum-algorithm") + .is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {}, + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) + } + )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::::new()) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::::new()) .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::::builder().transient_errors({ diff --git a/sdk/s3/src/operation/put_bucket_request_payment.rs b/sdk/s3/src/operation/put_bucket_request_payment.rs index eccd9347162e..dadcd12a7f36 100644 --- a/sdk/s3/src/operation/put_bucket_request_payment.rs +++ b/sdk/s3/src/operation/put_bucket_request_payment.rs @@ -128,15 +128,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck let input: &crate::operation::put_bucket_request_payment::PutBucketRequestPaymentInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_bucket_tagging.rs b/sdk/s3/src/operation/put_bucket_tagging.rs index 21b4ad2aa7a7..a838e3a9d4a3 100644 --- a/sdk/s3/src/operation/put_bucket_tagging.rs +++ b/sdk/s3/src/operation/put_bucket_tagging.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_tagging::PutBucketTaggingInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_bucket_versioning.rs b/sdk/s3/src/operation/put_bucket_versioning.rs index eb7b5c1f16e1..0e63aa77a695 100644 --- a/sdk/s3/src/operation/put_bucket_versioning.rs +++ b/sdk/s3/src/operation/put_bucket_versioning.rs @@ -120,19 +120,63 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("PutBucketVersioning") .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) .with_interceptor(PutBucketVersioningEndpointParamsInterceptor) -.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new(|input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { +.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new( + |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_versioning::PutBucketVersioningInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); -let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)? - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) - })) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = request.headers().iter().filter_map(|(name, _val)| { + if name.starts_with("x-amz-checksum-") { + Some(name) + } else { + None + } + }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers() + .get("x-amz-sdk-checksum-algorithm") + .is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {}, + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) + } + )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::::new()) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::::new()) .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::::builder().transient_errors({ diff --git a/sdk/s3/src/operation/put_bucket_website.rs b/sdk/s3/src/operation/put_bucket_website.rs index 9e5ccba9a9f7..3643227531ca 100644 --- a/sdk/s3/src/operation/put_bucket_website.rs +++ b/sdk/s3/src/operation/put_bucket_website.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutBuck |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_bucket_website::PutBucketWebsiteInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_object.rs b/sdk/s3/src/operation/put_object.rs index 28217b3e3512..f7304b1a016f 100644 --- a/sdk/s3/src/operation/put_object.rs +++ b/sdk/s3/src/operation/put_object.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutObje |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_object::PutObjectInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), false) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = false; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_object_acl.rs b/sdk/s3/src/operation/put_object_acl.rs index 1fef0d95c338..f4a297f2dbdb 100644 --- a/sdk/s3/src/operation/put_object_acl.rs +++ b/sdk/s3/src/operation/put_object_acl.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutObje |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_object_acl::PutObjectAclInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_object_legal_hold.rs b/sdk/s3/src/operation/put_object_legal_hold.rs index 5f13d411b727..09efbf778627 100644 --- a/sdk/s3/src/operation/put_object_legal_hold.rs +++ b/sdk/s3/src/operation/put_object_legal_hold.rs @@ -120,19 +120,63 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutObje let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("PutObjectLegalHold") .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) .with_interceptor(PutObjectLegalHoldEndpointParamsInterceptor) -.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new(|input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { +.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new( + |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_object_legal_hold::PutObjectLegalHoldInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); -let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)? - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) - })) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = request.headers().iter().filter_map(|(name, _val)| { + if name.starts_with("x-amz-checksum-") { + Some(name) + } else { + None + } + }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers() + .get("x-amz-sdk-checksum-algorithm") + .is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {}, + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) + } + )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::::new()) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::::new()) .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::::builder().transient_errors({ diff --git a/sdk/s3/src/operation/put_object_lock_configuration.rs b/sdk/s3/src/operation/put_object_lock_configuration.rs index d4cf62e84484..ae34de8f60fa 100644 --- a/sdk/s3/src/operation/put_object_lock_configuration.rs +++ b/sdk/s3/src/operation/put_object_lock_configuration.rs @@ -129,15 +129,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutObje let input: &crate::operation::put_object_lock_configuration::PutObjectLockConfigurationInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_object_retention.rs b/sdk/s3/src/operation/put_object_retention.rs index 9b428a5fb2d8..71739215b61b 100644 --- a/sdk/s3/src/operation/put_object_retention.rs +++ b/sdk/s3/src/operation/put_object_retention.rs @@ -120,19 +120,63 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutObje let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("PutObjectRetention") .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) .with_interceptor(PutObjectRetentionEndpointParamsInterceptor) -.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new(|input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { +.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new( + |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_object_retention::PutObjectRetentionInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); -let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)? - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) - })) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = request.headers().iter().filter_map(|(name, _val)| { + if name.starts_with("x-amz-checksum-") { + Some(name) + } else { + None + } + }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers() + .get("x-amz-sdk-checksum-algorithm") + .is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {}, + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) + } + )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::::new()) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::::new()) .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::::builder().transient_errors({ diff --git a/sdk/s3/src/operation/put_object_tagging.rs b/sdk/s3/src/operation/put_object_tagging.rs index 7e584bbc3491..f804f89cb978 100644 --- a/sdk/s3/src/operation/put_object_tagging.rs +++ b/sdk/s3/src/operation/put_object_tagging.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutObje |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_object_tagging::PutObjectTaggingInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/put_public_access_block.rs b/sdk/s3/src/operation/put_public_access_block.rs index 701b909153f4..33950594597b 100644 --- a/sdk/s3/src/operation/put_public_access_block.rs +++ b/sdk/s3/src/operation/put_public_access_block.rs @@ -123,19 +123,63 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for PutPubl let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("PutPublicAccessBlock") .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default()) .with_interceptor(PutPublicAccessBlockEndpointParamsInterceptor) -.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new(|input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { +.with_interceptor(crate::http_request_checksum::RequestChecksumInterceptor::new( + |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::put_public_access_block::PutPublicAccessBlockInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("md5")); -let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)? - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) - })) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), true) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = request.headers().iter().filter_map(|(name, _val)| { + if name.starts_with("x-amz-checksum-") { + Some(name) + } else { + None + } + }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers() + .get("x-amz-sdk-checksum-algorithm") + .is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = true; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {}, + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) + } + )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::::new()) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::::new()) .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::::builder().transient_errors({ diff --git a/sdk/s3/src/operation/restore_object.rs b/sdk/s3/src/operation/restore_object.rs index 76b5a0183cfc..f3ab27006ebf 100644 --- a/sdk/s3/src/operation/restore_object.rs +++ b/sdk/s3/src/operation/restore_object.rs @@ -123,15 +123,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for Restore |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::restore_object::RestoreObjectInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), false) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = false; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/operation/upload_part.rs b/sdk/s3/src/operation/upload_part.rs index fd7ab0a71ddb..b3f0ae45d18f 100644 --- a/sdk/s3/src/operation/upload_part.rs +++ b/sdk/s3/src/operation/upload_part.rs @@ -124,15 +124,53 @@ impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for UploadP |input: &::aws_smithy_runtime_api::client::interceptors::context::Input| { let input: &crate::operation::upload_part::UploadPartInput = input.downcast_ref().expect("correct type"); let checksum_algorithm = input.checksum_algorithm(); - let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()); - let checksum_algorithm = match checksum_algorithm { - Some(algo) => Some( - algo.parse::<::aws_smithy_checksums::ChecksumAlgorithm>() - .map_err(::aws_smithy_types::error::operation::BuildError::other)?, - ), - None => None, - }; - ::std::result::Result::<_, ::aws_smithy_runtime_api::box_error::BoxError>::Ok(checksum_algorithm) + let checksum_algorithm = checksum_algorithm.map(|algorithm| algorithm.as_str()).or(Some("crc32")); + (checksum_algorithm.map(|s| s.to_string()), false) + }, + |request: &mut ::aws_smithy_runtime_api::http::Request, cfg: &::aws_smithy_types::config_bag::ConfigBag| { + // We check if the user has set any of the checksum values manually + let mut user_set_checksum_value = false; + let headers_to_check = + request + .headers() + .iter() + .filter_map(|(name, _val)| if name.starts_with("x-amz-checksum-") { Some(name) } else { None }); + for algo_header in headers_to_check { + if request.headers().get(algo_header).is_some() { + user_set_checksum_value = true; + } + } + + // We check if the user set the checksum algo manually + let user_set_checksum_algo = request.headers().get("x-amz-sdk-checksum-algorithm").is_some(); + + // This value is set by the user on the SdkConfig to indicate their preference + let request_checksum_calculation = cfg + .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>() + .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported); + + // From the httpChecksum trait + let http_checksum_required = false; + + // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo + // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not + // set a checksum value or algo we also set the default. In all other cases we do nothing. + match ( + request_checksum_calculation, + http_checksum_required, + user_set_checksum_value, + user_set_checksum_algo, + ) { + (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false) + | (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenRequired, true, false, false) => { + request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32"); + } + _ => {} + } + + // We return a bool indicating if the user did set the checksum value, if they did + // we can short circuit and exit the interceptor early. + Ok(user_set_checksum_value) }, )) .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::< diff --git a/sdk/s3/src/presigning.rs b/sdk/s3/src/presigning.rs index 6eaf9d226a52..be9c9b529502 100644 --- a/sdk/s3/src/presigning.rs +++ b/sdk/s3/src/presigning.rs @@ -16,6 +16,7 @@ use aws_smithy_runtime_api::box_error::BoxError; use aws_smithy_runtime_api::client::orchestrator::HttpRequest; use aws_smithy_types::body::SdkBody; +use aws_smithy_types::config_bag::{Storable, StoreReplace}; use std::fmt; use std::time::{Duration, SystemTime}; @@ -261,3 +262,12 @@ impl fmt::Debug for PresignedRequest { .finish() } } + +/// A marker struct to be stored in the ConfigBag allowing other interceptors to know that +/// the current request is Presigned +#[derive(Debug)] +pub(crate) struct PresigningMarker; + +impl Storable for PresigningMarker { + type Storer = StoreReplace; +} diff --git a/sdk/s3/src/presigning_interceptors.rs b/sdk/s3/src/presigning_interceptors.rs index c8927aac30cb..e27e115fc1d2 100644 --- a/sdk/s3/src/presigning_interceptors.rs +++ b/sdk/s3/src/presigning_interceptors.rs @@ -6,7 +6,7 @@ #![allow(dead_code)] -use crate::presigning::PresigningConfig; +use crate::presigning::{PresigningConfig, PresigningMarker}; use crate::serialization_settings::HeaderSerializationSettings; use aws_runtime::auth::{HttpSignatureType, SigV4OperationSigningConfig}; use aws_runtime::invocation_id::InvocationIdInterceptor; @@ -54,6 +54,8 @@ impl Intercept for SigV4PresigningInterceptor { .omit_default_content_length() .omit_default_content_type(), ); + + cfg.interceptor_state().store_put(PresigningMarker); Ok(()) } diff --git a/sdk/s3/tests/endpoints.rs b/sdk/s3/tests/endpoints.rs index 6b4f88c8f817..11b370ecc3c9 100644 --- a/sdk/s3/tests/endpoints.rs +++ b/sdk/s3/tests/endpoints.rs @@ -80,7 +80,7 @@ async fn multi_region_access_points() { let auth_header = captured_request.headers().get("AUTHORIZATION").unwrap(); // Verifies that the sigv4a signing algorithm was used, that the signing scope doesn't include a region, and that the x-amz-region-set header was signed. let expected_start = - "AWS4-ECDSA-P256-SHA256 Credential=ANOTREAL/20090213/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-region-set;x-amz-user-agent, Signature="; + "AWS4-ECDSA-P256-SHA256 Credential=ANOTREAL/20090213/s3/aws4_request, SignedHeaders=host;x-amz-checksum-mode;x-amz-content-sha256;x-amz-date;x-amz-region-set;x-amz-user-agent, Signature="; assert!( auth_header.starts_with(expected_start), diff --git a/sdk/s3/tests/express.rs b/sdk/s3/tests/express.rs index 8621b6c1088a..6c9fd16131d6 100644 --- a/sdk/s3/tests/express.rs +++ b/sdk/s3/tests/express.rs @@ -183,7 +183,11 @@ async fn presigning() { ][..], &query_params ); - assert_eq!(presigned.headers().count(), 0); + // Presigned request has one header and that is the x-amz-checksum-mode + // header with default value ENABLED + assert_eq!(presigned.headers().count(), 1); + let headers = presigned.headers().collect::>(); + assert_eq!(headers.get(0).unwrap(), &("x-amz-checksum-mode", "ENABLED")); } fn operation_request_with_checksum( diff --git a/sdk/s3/tests/presigning.rs b/sdk/s3/tests/presigning.rs index 768dd563bb58..f887b0643dac 100644 --- a/sdk/s3/tests/presigning.rs +++ b/sdk/s3/tests/presigning.rs @@ -100,7 +100,9 @@ async fn test_presigning() { ][..], &query_params ); - assert_eq!(presigned.headers().count(), 0); + assert_eq!(presigned.headers().count(), 1); + let headers = presigned.headers().collect::>(); + assert_eq!(headers.get("x-amz-checksum-mode").unwrap(), &"ENABLED"); } #[tokio::test] @@ -135,8 +137,8 @@ async fn test_presigning_with_payload_headers() { "X-Amz-Date=20090213T233131Z", "X-Amz-Expires=30", "X-Amz-Security-Token=notarealsessiontoken", - "X-Amz-Signature=be1d41dc392f7019750e4f5e577234fb9059dd20d15f6a99734196becce55e52", - "X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost", + "X-Amz-Signature=9403eb5961c8af066f2473f88cb9248b39fd61f8eedc33af14ec9c2d26c22974", + "X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bx-amz-checksum-crc32%3Bx-amz-sdk-checksum-algorithm", "x-id=PutObject" ][..], &query_params @@ -148,7 +150,9 @@ async fn test_presigning_with_payload_headers() { Some(&"application/x-test") ); assert_eq!(headers.get(CONTENT_LENGTH.as_str()), Some(&"12345")); - assert_eq!(headers.len(), 2); + assert_eq!(headers.get("x-amz-sdk-checksum-algorithm"), Some(&"CRC32")); + assert_eq!(headers.get("x-amz-checksum-crc32"), Some(&"AAAAAA==")); + assert_eq!(headers.len(), 4); } #[tokio::test] @@ -164,7 +168,7 @@ async fn test_presigned_upload_part() { }) .await; pretty_assertions::assert_eq!( - "https://bucket.s3.us-east-1.amazonaws.com/key?x-id=UploadPart&partNumber=0&uploadId=upload-id&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ANOTREAL%2F20090213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20090213T233131Z&X-Amz-Expires=30&X-Amz-SignedHeaders=content-length%3Bhost&X-Amz-Signature=a702867244f0bd1fb4d161e2a062520dcbefae3b9992d2e5366bcd61a60c6ddd&X-Amz-Security-Token=notarealsessiontoken", + "https://bucket.s3.us-east-1.amazonaws.com/key?x-id=UploadPart&partNumber=0&uploadId=upload-id&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ANOTREAL%2F20090213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20090213T233131Z&X-Amz-Expires=30&X-Amz-SignedHeaders=content-length%3Bhost%3Bx-amz-checksum-crc32%3Bx-amz-sdk-checksum-algorithm&X-Amz-Signature=0b5835e056c463d6c0963326966f6cf42c75b7a218057836274d38288e055d36&X-Amz-Security-Token=notarealsessiontoken", presigned.uri().to_string(), ); } diff --git a/sdk/s3/tests/stalled-stream-protection.rs b/sdk/s3/tests/stalled-stream-protection.rs index 283999d60e4c..920c95c1d6c4 100644 --- a/sdk/s3/tests/stalled-stream-protection.rs +++ b/sdk/s3/tests/stalled-stream-protection.rs @@ -96,6 +96,9 @@ async fn test_stalled_stream_protection_defaults_for_upload() { .credentials_provider(Credentials::for_tests()) .region(Region::new("us-east-1")) .endpoint_url(format!("http://{server_addr}")) + // The Body used here is odd and fails the body.size_hint().exact() check in the streaming branch of + // the `RequestChecksumInterceptor` + .request_checksum_calculation(aws_sdk_s3::config::RequestChecksumCalculation::WhenRequired) .build(); let client = Client::from_conf(conf); diff --git a/sdk/s3control/Cargo.toml b/sdk/s3control/Cargo.toml index 86971a19d50f..5de8fd8b8e28 100644 --- a/sdk/s3control/Cargo.toml +++ b/sdk/s3control/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,7 +46,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -54,7 +54,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.fastrand] version = "2.0.0" @@ -78,7 +78,7 @@ version = "0.1" version = "2.3.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -88,12 +88,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -102,7 +102,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock", "client"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -112,7 +112,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/s3control/src/config.rs b/sdk/s3control/src/config.rs index 12331c0e9b25..809feaa403bc 100644 --- a/sdk/s3control/src/config.rs +++ b/sdk/s3control/src/config.rs @@ -1318,11 +1318,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "s3control"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("s3control") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/s3outposts/Cargo.toml b/sdk/s3outposts/Cargo.toml index aabec27fb108..d2d63e5b1c9c 100644 --- a/sdk/s3outposts/Cargo.toml +++ b/sdk/s3outposts/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/s3outposts/src/config.rs b/sdk/s3outposts/src/config.rs index a64b1e0da5b8..62f9233368b5 100644 --- a/sdk/s3outposts/src/config.rs +++ b/sdk/s3outposts/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "s3outposts"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("s3outposts") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/s3tables/Cargo.toml b/sdk/s3tables/Cargo.toml index 6f18df400670..21cf813cbbc6 100644 --- a/sdk/s3tables/Cargo.toml +++ b/sdk/s3tables/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/s3tables/src/config.rs b/sdk/s3tables/src/config.rs index 9b35b2070780..50bc04ccdee9 100644 --- a/sdk/s3tables/src/config.rs +++ b/sdk/s3tables/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "s3tables"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("s3tables") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sagemaker/Cargo.toml b/sdk/sagemaker/Cargo.toml index 8807e26315a8..9338fec00035 100644 --- a/sdk/sagemaker/Cargo.toml +++ b/sdk/sagemaker/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sagemaker/src/config.rs b/sdk/sagemaker/src/config.rs index 0127c9e536b2..b847e4e863ce 100644 --- a/sdk/sagemaker/src/config.rs +++ b/sdk/sagemaker/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sagemaker"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sagemaker") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sagemakera2iruntime/Cargo.toml b/sdk/sagemakera2iruntime/Cargo.toml index 262590fb072a..babd0dab3615 100644 --- a/sdk/sagemakera2iruntime/Cargo.toml +++ b/sdk/sagemakera2iruntime/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sagemakera2iruntime/src/config.rs b/sdk/sagemakera2iruntime/src/config.rs index c0fbf2c230d3..12cea68fed92 100644 --- a/sdk/sagemakera2iruntime/src/config.rs +++ b/sdk/sagemakera2iruntime/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sagemakera2iruntime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sagemakera2iruntime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sagemakeredge/Cargo.toml b/sdk/sagemakeredge/Cargo.toml index 6320a6285aaa..e7cd706ae034 100644 --- a/sdk/sagemakeredge/Cargo.toml +++ b/sdk/sagemakeredge/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sagemakeredge/src/config.rs b/sdk/sagemakeredge/src/config.rs index 6f78ca5e87a9..58b4df105aab 100644 --- a/sdk/sagemakeredge/src/config.rs +++ b/sdk/sagemakeredge/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sagemakeredge"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sagemakeredge") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sagemakerfeaturestoreruntime/Cargo.toml b/sdk/sagemakerfeaturestoreruntime/Cargo.toml index 8fa70374799d..22da0d0304e8 100644 --- a/sdk/sagemakerfeaturestoreruntime/Cargo.toml +++ b/sdk/sagemakerfeaturestoreruntime/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sagemakerfeaturestoreruntime/src/config.rs b/sdk/sagemakerfeaturestoreruntime/src/config.rs index f05f88151f90..93d4c1cd50d8 100644 --- a/sdk/sagemakerfeaturestoreruntime/src/config.rs +++ b/sdk/sagemakerfeaturestoreruntime/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sagemakerfeaturestoreruntime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sagemakerfeaturestoreruntime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sagemakergeospatial/Cargo.toml b/sdk/sagemakergeospatial/Cargo.toml index f43721d0f6e4..fe01188149a1 100644 --- a/sdk/sagemakergeospatial/Cargo.toml +++ b/sdk/sagemakergeospatial/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sagemakergeospatial/src/config.rs b/sdk/sagemakergeospatial/src/config.rs index 3d4a5d9c4146..31d477f9bca7 100644 --- a/sdk/sagemakergeospatial/src/config.rs +++ b/sdk/sagemakergeospatial/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sagemakergeospatial"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sagemakergeospatial") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sagemakermetrics/Cargo.toml b/sdk/sagemakermetrics/Cargo.toml index 7871759ad0e0..d80462660b60 100644 --- a/sdk/sagemakermetrics/Cargo.toml +++ b/sdk/sagemakermetrics/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sagemakermetrics/src/config.rs b/sdk/sagemakermetrics/src/config.rs index 734dba216803..3293cd7e5b8d 100644 --- a/sdk/sagemakermetrics/src/config.rs +++ b/sdk/sagemakermetrics/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sagemakermetrics"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sagemakermetrics") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sagemakerruntime/Cargo.toml b/sdk/sagemakerruntime/Cargo.toml index ae38a64086d8..67b48f579e46 100644 --- a/sdk/sagemakerruntime/Cargo.toml +++ b/sdk/sagemakerruntime/Cargo.toml @@ -21,29 +21,29 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" features = ["event-stream"] -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -52,11 +52,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -74,7 +74,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sagemakerruntime/src/config.rs b/sdk/sagemakerruntime/src/config.rs index 382ed1857e3e..251f9736482b 100644 --- a/sdk/sagemakerruntime/src/config.rs +++ b/sdk/sagemakerruntime/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sagemakerruntime"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sagemakerruntime") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/savingsplans/Cargo.toml b/sdk/savingsplans/Cargo.toml index 0d5ddf437c78..b944c27d46e6 100644 --- a/sdk/savingsplans/Cargo.toml +++ b/sdk/savingsplans/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/savingsplans/src/config.rs b/sdk/savingsplans/src/config.rs index 1d8bfb47a266..ae404b7c70c2 100644 --- a/sdk/savingsplans/src/config.rs +++ b/sdk/savingsplans/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "savingsplans"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("savingsplans") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/scheduler/Cargo.toml b/sdk/scheduler/Cargo.toml index 2a5e6dfd2e25..46f0fa038c41 100644 --- a/sdk/scheduler/Cargo.toml +++ b/sdk/scheduler/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/scheduler/src/config.rs b/sdk/scheduler/src/config.rs index 76c5b2cb9b8a..7fcd4dfce723 100644 --- a/sdk/scheduler/src/config.rs +++ b/sdk/scheduler/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "scheduler"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("scheduler") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/schemas/Cargo.toml b/sdk/schemas/Cargo.toml index b2e2f0976825..eea2edda16cc 100644 --- a/sdk/schemas/Cargo.toml +++ b/sdk/schemas/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/schemas/src/config.rs b/sdk/schemas/src/config.rs index 1813a58ae1ec..a99950b86c03 100644 --- a/sdk/schemas/src/config.rs +++ b/sdk/schemas/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "schemas"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("schemas") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/secretsmanager/Cargo.toml b/sdk/secretsmanager/Cargo.toml index 63002322564d..1ed6e146f567 100644 --- a/sdk/secretsmanager/Cargo.toml +++ b/sdk/secretsmanager/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/secretsmanager/src/config.rs b/sdk/secretsmanager/src/config.rs index bc34d6670c7c..aaf07a5ba280 100644 --- a/sdk/secretsmanager/src/config.rs +++ b/sdk/secretsmanager/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "secretsmanager"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("secretsmanager") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/securityhub/Cargo.toml b/sdk/securityhub/Cargo.toml index 70604d38063e..3e983ffa9fe8 100644 --- a/sdk/securityhub/Cargo.toml +++ b/sdk/securityhub/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/securityhub/src/config.rs b/sdk/securityhub/src/config.rs index 786ff5082465..3e78dc3593b4 100644 --- a/sdk/securityhub/src/config.rs +++ b/sdk/securityhub/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "securityhub"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("securityhub") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/securityir/Cargo.toml b/sdk/securityir/Cargo.toml index bb87c58d29ec..b32694b2f8bd 100644 --- a/sdk/securityir/Cargo.toml +++ b/sdk/securityir/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/securityir/src/config.rs b/sdk/securityir/src/config.rs index 3aed58af8fe9..254209fe133c 100644 --- a/sdk/securityir/src/config.rs +++ b/sdk/securityir/src/config.rs @@ -1295,11 +1295,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "securityir"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("securityir") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/securitylake/Cargo.toml b/sdk/securitylake/Cargo.toml index 9d5dac50a1d0..f18f26d4e4ed 100644 --- a/sdk/securitylake/Cargo.toml +++ b/sdk/securitylake/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/securitylake/src/config.rs b/sdk/securitylake/src/config.rs index 4ab7dfc14ad6..65d001d62a61 100644 --- a/sdk/securitylake/src/config.rs +++ b/sdk/securitylake/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "securitylake"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("securitylake") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/serverlessapplicationrepository/Cargo.toml b/sdk/serverlessapplicationrepository/Cargo.toml index c4373b389e2a..0d030a878a3f 100644 --- a/sdk/serverlessapplicationrepository/Cargo.toml +++ b/sdk/serverlessapplicationrepository/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/serverlessapplicationrepository/src/config.rs b/sdk/serverlessapplicationrepository/src/config.rs index 3d6a7fdb57f5..22224192499d 100644 --- a/sdk/serverlessapplicationrepository/src/config.rs +++ b/sdk/serverlessapplicationrepository/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "serverlessapplicationrepository"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("serverlessapplicationrepository") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/servicecatalog/Cargo.toml b/sdk/servicecatalog/Cargo.toml index ae7bb28d3cb8..82ba89e1403e 100644 --- a/sdk/servicecatalog/Cargo.toml +++ b/sdk/servicecatalog/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/servicecatalog/src/config.rs b/sdk/servicecatalog/src/config.rs index f11cae0e86cc..18bdfc17fb40 100644 --- a/sdk/servicecatalog/src/config.rs +++ b/sdk/servicecatalog/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "servicecatalog"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("servicecatalog") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/servicecatalogappregistry/Cargo.toml b/sdk/servicecatalogappregistry/Cargo.toml index 1885e17246c8..12b87e1b2f7c 100644 --- a/sdk/servicecatalogappregistry/Cargo.toml +++ b/sdk/servicecatalogappregistry/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/servicecatalogappregistry/src/config.rs b/sdk/servicecatalogappregistry/src/config.rs index 42d690bbb895..e25f17a525d2 100644 --- a/sdk/servicecatalogappregistry/src/config.rs +++ b/sdk/servicecatalogappregistry/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "servicecatalogappregistry"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("servicecatalogappregistry") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/servicediscovery/Cargo.toml b/sdk/servicediscovery/Cargo.toml index d62d99a9d8fa..59aca4a45f70 100644 --- a/sdk/servicediscovery/Cargo.toml +++ b/sdk/servicediscovery/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/servicediscovery/src/config.rs b/sdk/servicediscovery/src/config.rs index 4bc929fee6cf..adf7f1cff2fc 100644 --- a/sdk/servicediscovery/src/config.rs +++ b/sdk/servicediscovery/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "servicediscovery"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("servicediscovery") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/servicequotas/Cargo.toml b/sdk/servicequotas/Cargo.toml index d189361e977d..d8987f227650 100644 --- a/sdk/servicequotas/Cargo.toml +++ b/sdk/servicequotas/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/servicequotas/src/config.rs b/sdk/servicequotas/src/config.rs index 7df0655f78be..c98dd5b1d64b 100644 --- a/sdk/servicequotas/src/config.rs +++ b/sdk/servicequotas/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "servicequotas"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("servicequotas") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ses/Cargo.toml b/sdk/ses/Cargo.toml index ec93768e6033..acdd1a25d66d 100644 --- a/sdk/ses/Cargo.toml +++ b/sdk/ses/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ses/src/config.rs b/sdk/ses/src/config.rs index 5e343cb4a96a..3fdfbc894eb2 100644 --- a/sdk/ses/src/config.rs +++ b/sdk/ses/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ses"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ses") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sesv2/Cargo.toml b/sdk/sesv2/Cargo.toml index c6ddc8d46fa4..b5fc89025150 100644 --- a/sdk/sesv2/Cargo.toml +++ b/sdk/sesv2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sesv2/src/config.rs b/sdk/sesv2/src/config.rs index 62952f25638e..aba3eb9575a6 100644 --- a/sdk/sesv2/src/config.rs +++ b/sdk/sesv2/src/config.rs @@ -1297,11 +1297,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sesv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sesv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sfn/Cargo.toml b/sdk/sfn/Cargo.toml index 1b3807d72b5c..43dcf92b18b7 100644 --- a/sdk/sfn/Cargo.toml +++ b/sdk/sfn/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sfn/src/config.rs b/sdk/sfn/src/config.rs index ed9bab2d73d2..d3e429618dac 100644 --- a/sdk/sfn/src/config.rs +++ b/sdk/sfn/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sfn"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sfn") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/shield/Cargo.toml b/sdk/shield/Cargo.toml index b554c989c78b..9b90c816adf8 100644 --- a/sdk/shield/Cargo.toml +++ b/sdk/shield/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/shield/src/config.rs b/sdk/shield/src/config.rs index 1e0287a04261..c76c0f0386dc 100644 --- a/sdk/shield/src/config.rs +++ b/sdk/shield/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "shield"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("shield") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/signer/Cargo.toml b/sdk/signer/Cargo.toml index fb3f453e8327..aa8060d0aecf 100644 --- a/sdk/signer/Cargo.toml +++ b/sdk/signer/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/signer/src/config.rs b/sdk/signer/src/config.rs index 86868a609654..0524ce5965a9 100644 --- a/sdk/signer/src/config.rs +++ b/sdk/signer/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "signer"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("signer") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/simspaceweaver/Cargo.toml b/sdk/simspaceweaver/Cargo.toml index 5fb1b99f01ad..93e433597397 100644 --- a/sdk/simspaceweaver/Cargo.toml +++ b/sdk/simspaceweaver/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/simspaceweaver/src/config.rs b/sdk/simspaceweaver/src/config.rs index 9e673081b360..c8f2ca96dee3 100644 --- a/sdk/simspaceweaver/src/config.rs +++ b/sdk/simspaceweaver/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "simspaceweaver"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("simspaceweaver") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sms/Cargo.toml b/sdk/sms/Cargo.toml index d8626a0c2e2d..2ed4022abe70 100644 --- a/sdk/sms/Cargo.toml +++ b/sdk/sms/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sms/src/config.rs b/sdk/sms/src/config.rs index c93c9b10c4dd..9ace65670211 100644 --- a/sdk/sms/src/config.rs +++ b/sdk/sms/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sms"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sms") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/snowball/Cargo.toml b/sdk/snowball/Cargo.toml index cf284a35b54f..143ab0ed67f0 100644 --- a/sdk/snowball/Cargo.toml +++ b/sdk/snowball/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/snowball/src/config.rs b/sdk/snowball/src/config.rs index 3105a3a8f8ab..8ba06f90579c 100644 --- a/sdk/snowball/src/config.rs +++ b/sdk/snowball/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "snowball"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("snowball") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/snowdevicemanagement/Cargo.toml b/sdk/snowdevicemanagement/Cargo.toml index 3b2e5580b481..c719b4c35512 100644 --- a/sdk/snowdevicemanagement/Cargo.toml +++ b/sdk/snowdevicemanagement/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/snowdevicemanagement/src/config.rs b/sdk/snowdevicemanagement/src/config.rs index 0fbc818a205f..f8611a8f1b3c 100644 --- a/sdk/snowdevicemanagement/src/config.rs +++ b/sdk/snowdevicemanagement/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "snowdevicemanagement"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("snowdevicemanagement") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sns/Cargo.toml b/sdk/sns/Cargo.toml index 07c923c783c6..8c2113251902 100644 --- a/sdk/sns/Cargo.toml +++ b/sdk/sns/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -73,7 +73,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sns/src/config.rs b/sdk/sns/src/config.rs index 8c6db912acc1..94827f7a8577 100644 --- a/sdk/sns/src/config.rs +++ b/sdk/sns/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sns"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sns") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/socialmessaging/Cargo.toml b/sdk/socialmessaging/Cargo.toml index 1fb45a02b655..64a777a243f0 100644 --- a/sdk/socialmessaging/Cargo.toml +++ b/sdk/socialmessaging/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/socialmessaging/src/config.rs b/sdk/socialmessaging/src/config.rs index bfa0cb2928aa..fd2c3819dbf9 100644 --- a/sdk/socialmessaging/src/config.rs +++ b/sdk/socialmessaging/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "socialmessaging"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("socialmessaging") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sqs/Cargo.toml b/sdk/sqs/Cargo.toml index 630f9a3ff552..e98b025f1d8a 100644 --- a/sdk/sqs/Cargo.toml +++ b/sdk/sqs/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/sqs/src/config.rs b/sdk/sqs/src/config.rs index 4a8e34bd7f1e..dce4706d4f5a 100644 --- a/sdk/sqs/src/config.rs +++ b/sdk/sqs/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sqs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sqs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ssm/Cargo.toml b/sdk/ssm/Cargo.toml index 8963b230387d..173bc9adea8c 100644 --- a/sdk/ssm/Cargo.toml +++ b/sdk/ssm/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ssm/src/config.rs b/sdk/ssm/src/config.rs index a765d6dcf5b0..a7a197604db7 100644 --- a/sdk/ssm/src/config.rs +++ b/sdk/ssm/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ssm"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ssm") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ssmcontacts/Cargo.toml b/sdk/ssmcontacts/Cargo.toml index 20e16812d7f1..31c1da25a9bc 100644 --- a/sdk/ssmcontacts/Cargo.toml +++ b/sdk/ssmcontacts/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ssmcontacts/src/config.rs b/sdk/ssmcontacts/src/config.rs index 5bad6c36ef4f..34a338c2e0e2 100644 --- a/sdk/ssmcontacts/src/config.rs +++ b/sdk/ssmcontacts/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ssmcontacts"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ssmcontacts") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ssmincidents/Cargo.toml b/sdk/ssmincidents/Cargo.toml index 3f426720af4b..ca498911fdd4 100644 --- a/sdk/ssmincidents/Cargo.toml +++ b/sdk/ssmincidents/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ssmincidents/src/config.rs b/sdk/ssmincidents/src/config.rs index 8936a35f2b02..c4c4122d4218 100644 --- a/sdk/ssmincidents/src/config.rs +++ b/sdk/ssmincidents/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ssmincidents"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ssmincidents") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ssmquicksetup/Cargo.toml b/sdk/ssmquicksetup/Cargo.toml index d90d53d054c1..11c5c4ca6235 100644 --- a/sdk/ssmquicksetup/Cargo.toml +++ b/sdk/ssmquicksetup/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ssmquicksetup/src/config.rs b/sdk/ssmquicksetup/src/config.rs index a36e72ac0eb9..cd3fa8c7609e 100644 --- a/sdk/ssmquicksetup/src/config.rs +++ b/sdk/ssmquicksetup/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ssmquicksetup"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ssmquicksetup") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ssmsap/Cargo.toml b/sdk/ssmsap/Cargo.toml index 94f5ae88696f..b3937cb8de56 100644 --- a/sdk/ssmsap/Cargo.toml +++ b/sdk/ssmsap/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ssmsap/src/config.rs b/sdk/ssmsap/src/config.rs index a62342793495..d6b0cd15bcc0 100644 --- a/sdk/ssmsap/src/config.rs +++ b/sdk/ssmsap/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ssmsap"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ssmsap") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sso/Cargo.toml b/sdk/sso/Cargo.toml index 5c4d7c41cf7b..015a5603d729 100644 --- a/sdk/sso/Cargo.toml +++ b/sdk/sso/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" diff --git a/sdk/sso/src/config.rs b/sdk/sso/src/config.rs index 054ef8b939c5..2d221c8e8655 100644 --- a/sdk/sso/src/config.rs +++ b/sdk/sso/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sso"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sso") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ssoadmin/Cargo.toml b/sdk/ssoadmin/Cargo.toml index 9265b48d87a1..71bbf6fc3d01 100644 --- a/sdk/ssoadmin/Cargo.toml +++ b/sdk/ssoadmin/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/ssoadmin/src/config.rs b/sdk/ssoadmin/src/config.rs index aa27b2fb300b..0307c319c3c5 100644 --- a/sdk/ssoadmin/src/config.rs +++ b/sdk/ssoadmin/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ssoadmin"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ssoadmin") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/ssooidc/Cargo.toml b/sdk/ssooidc/Cargo.toml index 6abbd916cee7..c6d1261acf5d 100644 --- a/sdk/ssooidc/Cargo.toml +++ b/sdk/ssooidc/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" diff --git a/sdk/ssooidc/src/config.rs b/sdk/ssooidc/src/config.rs index e15a2a54d552..16e9adad9297 100644 --- a/sdk/ssooidc/src/config.rs +++ b/sdk/ssooidc/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "ssooidc"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("ssooidc") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/storagegateway/Cargo.toml b/sdk/storagegateway/Cargo.toml index dee4636b82d0..69fbd55560ae 100644 --- a/sdk/storagegateway/Cargo.toml +++ b/sdk/storagegateway/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/storagegateway/src/config.rs b/sdk/storagegateway/src/config.rs index 86e426edc1a6..8ef175516821 100644 --- a/sdk/storagegateway/src/config.rs +++ b/sdk/storagegateway/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "storagegateway"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("storagegateway") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/sts/Cargo.toml b/sdk/sts/Cargo.toml index 20690e24baf6..01b8c850f6b1 100644 --- a/sdk/sts/Cargo.toml +++ b/sdk/sts/Cargo.toml @@ -20,19 +20,19 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-query] path = "../aws-smithy-query" @@ -41,7 +41,7 @@ version = "0.60.7" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -50,7 +50,7 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-smithy-xml] path = "../aws-smithy-xml" @@ -58,7 +58,7 @@ version = "0.60.9" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.http] version = "0.2.9" @@ -79,12 +79,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -93,7 +93,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -103,7 +103,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/sts/src/config.rs b/sdk/sts/src/config.rs index 16c57e490eeb..e3f5ff333dc4 100644 --- a/sdk/sts/src/config.rs +++ b/sdk/sts/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "sts"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("sts") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/supplychain/Cargo.toml b/sdk/supplychain/Cargo.toml index f6e8f63db152..b104f3807854 100644 --- a/sdk/supplychain/Cargo.toml +++ b/sdk/supplychain/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/supplychain/src/config.rs b/sdk/supplychain/src/config.rs index a7d8d47d3d61..61e3a035b9ff 100644 --- a/sdk/supplychain/src/config.rs +++ b/sdk/supplychain/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "supplychain"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("supplychain") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/support/Cargo.toml b/sdk/support/Cargo.toml index 2583335d17c4..d04a5abe3a53 100644 --- a/sdk/support/Cargo.toml +++ b/sdk/support/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/support/src/config.rs b/sdk/support/src/config.rs index 4db971599867..44f1ded22f27 100644 --- a/sdk/support/src/config.rs +++ b/sdk/support/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "support"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("support") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/supportapp/Cargo.toml b/sdk/supportapp/Cargo.toml index 4e0eda3144a2..8832ac1d4f10 100644 --- a/sdk/supportapp/Cargo.toml +++ b/sdk/supportapp/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/supportapp/src/config.rs b/sdk/supportapp/src/config.rs index 0d8c03ed436b..4fdce23d3550 100644 --- a/sdk/supportapp/src/config.rs +++ b/sdk/supportapp/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "supportapp"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("supportapp") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/swf/Cargo.toml b/sdk/swf/Cargo.toml index 897c56419a08..770d92972c3b 100644 --- a/sdk/swf/Cargo.toml +++ b/sdk/swf/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/swf/src/config.rs b/sdk/swf/src/config.rs index cced95935e37..1fd7edd6f6cc 100644 --- a/sdk/swf/src/config.rs +++ b/sdk/swf/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "swf"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("swf") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/synthetics/Cargo.toml b/sdk/synthetics/Cargo.toml index 51daf7d4ac21..a7bf1b824bb7 100644 --- a/sdk/synthetics/Cargo.toml +++ b/sdk/synthetics/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/synthetics/src/config.rs b/sdk/synthetics/src/config.rs index 48d1d418bbc0..3bef14179dbe 100644 --- a/sdk/synthetics/src/config.rs +++ b/sdk/synthetics/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "synthetics"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("synthetics") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/taxsettings/Cargo.toml b/sdk/taxsettings/Cargo.toml index edfde3de28c4..ee8f604768e8 100644 --- a/sdk/taxsettings/Cargo.toml +++ b/sdk/taxsettings/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/taxsettings/src/config.rs b/sdk/taxsettings/src/config.rs index 25e9029f8b40..1ae9df938632 100644 --- a/sdk/taxsettings/src/config.rs +++ b/sdk/taxsettings/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "taxsettings"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("taxsettings") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/textract/Cargo.toml b/sdk/textract/Cargo.toml index 7082ac830e8c..d6403ff45d07 100644 --- a/sdk/textract/Cargo.toml +++ b/sdk/textract/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/textract/src/config.rs b/sdk/textract/src/config.rs index 3becdc63eff8..7fa1809b87c9 100644 --- a/sdk/textract/src/config.rs +++ b/sdk/textract/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "textract"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("textract") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/timestreaminfluxdb/Cargo.toml b/sdk/timestreaminfluxdb/Cargo.toml index 8c658ce0d53b..1cc812f56a19 100644 --- a/sdk/timestreaminfluxdb/Cargo.toml +++ b/sdk/timestreaminfluxdb/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/timestreaminfluxdb/src/config.rs b/sdk/timestreaminfluxdb/src/config.rs index e611b46caf5d..73fb3be87a72 100644 --- a/sdk/timestreaminfluxdb/src/config.rs +++ b/sdk/timestreaminfluxdb/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "timestreaminfluxdb"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("timestreaminfluxdb") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/timestreamquery/Cargo.toml b/sdk/timestreamquery/Cargo.toml index 94774290d934..560e516e053d 100644 --- a/sdk/timestreamquery/Cargo.toml +++ b/sdk/timestreamquery/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -75,7 +75,7 @@ features = ["sync"] version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -85,12 +85,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -99,7 +99,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -109,7 +109,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-util] version = "0.3.25" diff --git a/sdk/timestreamquery/src/config.rs b/sdk/timestreamquery/src/config.rs index 0d29917f3154..c61f5fb4b9f5 100644 --- a/sdk/timestreamquery/src/config.rs +++ b/sdk/timestreamquery/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "timestreamquery"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("timestreamquery") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/timestreamwrite/Cargo.toml b/sdk/timestreamwrite/Cargo.toml index 00c627ba2c82..ce322e1fd3ba 100644 --- a/sdk/timestreamwrite/Cargo.toml +++ b/sdk/timestreamwrite/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -75,7 +75,7 @@ features = ["sync"] version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -85,7 +85,7 @@ version = "1.2.1" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.tokio] version = "1.23.1" diff --git a/sdk/timestreamwrite/src/config.rs b/sdk/timestreamwrite/src/config.rs index cd0ba3fbec2b..58f2ce13116c 100644 --- a/sdk/timestreamwrite/src/config.rs +++ b/sdk/timestreamwrite/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "timestreamwrite"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("timestreamwrite") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/tnb/Cargo.toml b/sdk/tnb/Cargo.toml index bdf388f64b7f..3cbfe7bdc505 100644 --- a/sdk/tnb/Cargo.toml +++ b/sdk/tnb/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/tnb/src/config.rs b/sdk/tnb/src/config.rs index 936bda863a07..0d6826b06259 100644 --- a/sdk/tnb/src/config.rs +++ b/sdk/tnb/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "tnb"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("tnb") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/transcribe/Cargo.toml b/sdk/transcribe/Cargo.toml index 3d8667a13dcf..d8d00b0628ed 100644 --- a/sdk/transcribe/Cargo.toml +++ b/sdk/transcribe/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/transcribe/src/config.rs b/sdk/transcribe/src/config.rs index a2c14b5bf8ba..f2fe272b63d4 100644 --- a/sdk/transcribe/src/config.rs +++ b/sdk/transcribe/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "transcribe"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("transcribe") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/transcribestreaming/Cargo.toml b/sdk/transcribestreaming/Cargo.toml index f473d89fc52a..4e1e592a08b0 100644 --- a/sdk/transcribestreaming/Cargo.toml +++ b/sdk/transcribestreaming/Cargo.toml @@ -21,33 +21,33 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" features = ["event-stream"] -version = "1.5.3" +version = "1.5.4" [dependencies.aws-sigv4] path = "../aws-sigv4" -version = "1.2.6" +version = "1.2.7" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-eventstream] path = "../aws-smithy-eventstream" -version = "0.60.5" +version = "0.60.6" [dependencies.aws-smithy-http] path = "../aws-smithy-http" features = ["event-stream"] -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -57,11 +57,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["http-body-0-4-x"] -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -86,7 +86,7 @@ version = "0.3.0" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" @@ -96,12 +96,12 @@ version = "1.2.1" [dev-dependencies.aws-runtime] path = "../aws-runtime" features = ["test-util"] -version = "1.5.3" +version = "1.5.4" [dev-dependencies.aws-smithy-async] path = "../aws-smithy-async" features = ["test-util"] -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-protocol-test] path = "../aws-smithy-protocol-test" @@ -110,7 +110,7 @@ version = "0.63.0" [dev-dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["test-util", "wire-mock"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -120,7 +120,7 @@ version = "1.7.3" [dev-dependencies.aws-smithy-types] path = "../aws-smithy-types" features = ["test-util"] -version = "1.2.11" +version = "1.2.12" [dev-dependencies.futures-core] version = "0.3.25" diff --git a/sdk/transcribestreaming/src/config.rs b/sdk/transcribestreaming/src/config.rs index 591a598b0976..85eb9d7ad5a5 100644 --- a/sdk/transcribestreaming/src/config.rs +++ b/sdk/transcribestreaming/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "transcribestreaming"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("transcribestreaming") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/transfer/Cargo.toml b/sdk/transfer/Cargo.toml index 0f3db0aabd31..d73d13b06e9a 100644 --- a/sdk/transfer/Cargo.toml +++ b/sdk/transfer/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/transfer/src/config.rs b/sdk/transfer/src/config.rs index 4aa0501cee20..c55851dcefd2 100644 --- a/sdk/transfer/src/config.rs +++ b/sdk/transfer/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "transfer"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("transfer") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/translate/Cargo.toml b/sdk/translate/Cargo.toml index b2f751e9c9c7..7d518b5da632 100644 --- a/sdk/translate/Cargo.toml +++ b/sdk/translate/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/translate/src/config.rs b/sdk/translate/src/config.rs index 1e93ceb48393..1f6f25efa19d 100644 --- a/sdk/translate/src/config.rs +++ b/sdk/translate/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "translate"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("translate") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/trustedadvisor/Cargo.toml b/sdk/trustedadvisor/Cargo.toml index 24ac62f2d180..6009acd6def5 100644 --- a/sdk/trustedadvisor/Cargo.toml +++ b/sdk/trustedadvisor/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/trustedadvisor/src/config.rs b/sdk/trustedadvisor/src/config.rs index 85c0cfedfea5..f2e2301a21cc 100644 --- a/sdk/trustedadvisor/src/config.rs +++ b/sdk/trustedadvisor/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "trustedadvisor"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("trustedadvisor") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/verifiedpermissions/Cargo.toml b/sdk/verifiedpermissions/Cargo.toml index 6dc41822da65..4b7c438ec6e8 100644 --- a/sdk/verifiedpermissions/Cargo.toml +++ b/sdk/verifiedpermissions/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/verifiedpermissions/src/config.rs b/sdk/verifiedpermissions/src/config.rs index db266a4db9b6..41fb4aee8671 100644 --- a/sdk/verifiedpermissions/src/config.rs +++ b/sdk/verifiedpermissions/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "verifiedpermissions"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("verifiedpermissions") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/voiceid/Cargo.toml b/sdk/voiceid/Cargo.toml index 25e150f827bd..3209a425c96e 100644 --- a/sdk/voiceid/Cargo.toml +++ b/sdk/voiceid/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/voiceid/src/config.rs b/sdk/voiceid/src/config.rs index 9d8ffb454bea..8b7654ef2cd6 100644 --- a/sdk/voiceid/src/config.rs +++ b/sdk/voiceid/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "voiceid"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("voiceid") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/vpclattice/Cargo.toml b/sdk/vpclattice/Cargo.toml index fbb171e806e3..a7d6127d7b36 100644 --- a/sdk/vpclattice/Cargo.toml +++ b/sdk/vpclattice/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/vpclattice/src/config.rs b/sdk/vpclattice/src/config.rs index aa4d27c00d6a..2aa0dd4e833b 100644 --- a/sdk/vpclattice/src/config.rs +++ b/sdk/vpclattice/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "vpclattice"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("vpclattice") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/waf/Cargo.toml b/sdk/waf/Cargo.toml index 929faf3fcdcb..2b14fc23fd4b 100644 --- a/sdk/waf/Cargo.toml +++ b/sdk/waf/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/waf/src/config.rs b/sdk/waf/src/config.rs index c2ae20eede69..7bc40e4a8f70 100644 --- a/sdk/waf/src/config.rs +++ b/sdk/waf/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "waf"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("waf") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/wafregional/Cargo.toml b/sdk/wafregional/Cargo.toml index f3106d8d9bc7..f5a778c0fb17 100644 --- a/sdk/wafregional/Cargo.toml +++ b/sdk/wafregional/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/wafregional/src/config.rs b/sdk/wafregional/src/config.rs index 399a34339aeb..1f69c6cd88e4 100644 --- a/sdk/wafregional/src/config.rs +++ b/sdk/wafregional/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "wafregional"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("wafregional") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/wafv2/Cargo.toml b/sdk/wafv2/Cargo.toml index 4f5098cf744d..0ecd32a4336b 100644 --- a/sdk/wafv2/Cargo.toml +++ b/sdk/wafv2/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/wafv2/src/config.rs b/sdk/wafv2/src/config.rs index f61775628081..cf11796235fd 100644 --- a/sdk/wafv2/src/config.rs +++ b/sdk/wafv2/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "wafv2"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("wafv2") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/wellarchitected/Cargo.toml b/sdk/wellarchitected/Cargo.toml index 8113ab73a64a..f467180d7618 100644 --- a/sdk/wellarchitected/Cargo.toml +++ b/sdk/wellarchitected/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/wellarchitected/src/config.rs b/sdk/wellarchitected/src/config.rs index 7da0162ae6b6..c489102a3272 100644 --- a/sdk/wellarchitected/src/config.rs +++ b/sdk/wellarchitected/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "wellarchitected"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("wellarchitected") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/wisdom/Cargo.toml b/sdk/wisdom/Cargo.toml index 61f6a4b853a9..4a311ea798bd 100644 --- a/sdk/wisdom/Cargo.toml +++ b/sdk/wisdom/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/wisdom/src/config.rs b/sdk/wisdom/src/config.rs index 23d348f3a0b5..5f04b753a20f 100644 --- a/sdk/wisdom/src/config.rs +++ b/sdk/wisdom/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "wisdom"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("wisdom") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/workdocs/Cargo.toml b/sdk/workdocs/Cargo.toml index cacb973a4d8f..24b6f46a8ce4 100644 --- a/sdk/workdocs/Cargo.toml +++ b/sdk/workdocs/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/workdocs/src/config.rs b/sdk/workdocs/src/config.rs index 18a1c29b19bf..0b0caa0dd6ba 100644 --- a/sdk/workdocs/src/config.rs +++ b/sdk/workdocs/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "workdocs"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("workdocs") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/workmail/Cargo.toml b/sdk/workmail/Cargo.toml index 09b8c9931aa2..a1165952973d 100644 --- a/sdk/workmail/Cargo.toml +++ b/sdk/workmail/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/workmail/src/config.rs b/sdk/workmail/src/config.rs index f337aa2aa694..cdf6ad78d4b5 100644 --- a/sdk/workmail/src/config.rs +++ b/sdk/workmail/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "workmail"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("workmail") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/workmailmessageflow/Cargo.toml b/sdk/workmailmessageflow/Cargo.toml index f393be7e58ca..525cbc10e39b 100644 --- a/sdk/workmailmessageflow/Cargo.toml +++ b/sdk/workmailmessageflow/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/workmailmessageflow/src/config.rs b/sdk/workmailmessageflow/src/config.rs index bb7e34041b88..9d9ed153378a 100644 --- a/sdk/workmailmessageflow/src/config.rs +++ b/sdk/workmailmessageflow/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "workmailmessageflow"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("workmailmessageflow") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/workspaces/Cargo.toml b/sdk/workspaces/Cargo.toml index 2455314442d6..804f82ffc13e 100644 --- a/sdk/workspaces/Cargo.toml +++ b/sdk/workspaces/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/workspaces/src/config.rs b/sdk/workspaces/src/config.rs index 204c7fe60831..eb2a5e41d606 100644 --- a/sdk/workspaces/src/config.rs +++ b/sdk/workspaces/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "workspaces"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("workspaces") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/workspacesthinclient/Cargo.toml b/sdk/workspacesthinclient/Cargo.toml index 2ca8fbcc5b69..71280f116a8f 100644 --- a/sdk/workspacesthinclient/Cargo.toml +++ b/sdk/workspacesthinclient/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/workspacesthinclient/src/config.rs b/sdk/workspacesthinclient/src/config.rs index 19902729a53d..e1441126931f 100644 --- a/sdk/workspacesthinclient/src/config.rs +++ b/sdk/workspacesthinclient/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "workspacesthinclient"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("workspacesthinclient") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/workspacesweb/Cargo.toml b/sdk/workspacesweb/Cargo.toml index 024ceb62c1f1..3957c6447ae5 100644 --- a/sdk/workspacesweb/Cargo.toml +++ b/sdk/workspacesweb/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -71,7 +71,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/workspacesweb/src/config.rs b/sdk/workspacesweb/src/config.rs index 70f4300e351e..7a79852b378a 100644 --- a/sdk/workspacesweb/src/config.rs +++ b/sdk/workspacesweb/src/config.rs @@ -1307,11 +1307,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "workspacesweb"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("workspacesweb") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/sdk/xray/Cargo.toml b/sdk/xray/Cargo.toml index 73d362cc4925..5b863ce34dea 100644 --- a/sdk/xray/Cargo.toml +++ b/sdk/xray/Cargo.toml @@ -20,24 +20,24 @@ version = "1.2.1" [dependencies.aws-runtime] path = "../aws-runtime" -version = "1.5.3" +version = "1.5.4" [dependencies.aws-smithy-async] path = "../aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dependencies.aws-smithy-http] path = "../aws-smithy-http" -version = "0.60.11" +version = "0.60.12" [dependencies.aws-smithy-json] path = "../aws-smithy-json" -version = "0.61.1" +version = "0.61.2" [dependencies.aws-smithy-runtime] path = "../aws-smithy-runtime" features = ["client"] -version = "1.7.6" +version = "1.7.7" [dependencies.aws-smithy-runtime-api] path = "../aws-smithy-runtime-api" @@ -46,11 +46,11 @@ version = "1.7.3" [dependencies.aws-smithy-types] path = "../aws-smithy-types" -version = "1.2.11" +version = "1.2.12" [dependencies.aws-types] path = "../aws-types" -version = "1.3.3" +version = "1.3.4" [dependencies.bytes] version = "1.4.0" @@ -68,7 +68,7 @@ version = "0.1.5" version = "0.1" [dev-dependencies.aws-config] path = "../aws-config" -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-credential-types] path = "../aws-credential-types" diff --git a/sdk/xray/src/config.rs b/sdk/xray/src/config.rs index c16657f519bf..774f16fe6a2e 100644 --- a/sdk/xray/src/config.rs +++ b/sdk/xray/src/config.rs @@ -1286,11 +1286,17 @@ pub(crate) fn base_client_runtime_plugins(mut config: crate::Config) -> ::aws_sm } } + let default_retry_partition = "xray"; + let default_retry_partition = match config.region() { + Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{}", region)), + None => ::std::borrow::Cow::from(default_retry_partition), + }; + let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new() // defaults .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins( ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new() - .with_retry_partition_name("xray") + .with_retry_partition_name(default_retry_partition) .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature.")) )) // user config diff --git a/tests/no-default-features/Cargo.toml b/tests/no-default-features/Cargo.toml index c57371870be8..13afda8d6613 100644 --- a/tests/no-default-features/Cargo.toml +++ b/tests/no-default-features/Cargo.toml @@ -16,7 +16,7 @@ http = "0.2.9" [dev-dependencies.aws-config] path = "../../sdk/aws-config" default-features = false -version = "1.5.13" +version = "1.5.14" [dev-dependencies.aws-sdk-s3] path = "../../sdk/s3" @@ -25,12 +25,12 @@ version = "1.69.0" [dev-dependencies.aws-smithy-async] path = "../../sdk/aws-smithy-async" -version = "1.2.3" +version = "1.2.4" [dev-dependencies.aws-smithy-runtime] path = "../../sdk/aws-smithy-runtime" features = ["test-util"] -version = "1.7.6" +version = "1.7.7" [dev-dependencies.aws-credential-types] path = "../../sdk/aws-credential-types" diff --git a/tests/webassembly/Cargo.toml b/tests/webassembly/Cargo.toml index ff1ea1f8172d..4d7920bb5b08 100644 --- a/tests/webassembly/Cargo.toml +++ b/tests/webassembly/Cargo.toml @@ -7,7 +7,7 @@ authors = [ ] description = """ These tests ensure that things will fail (or not fail) as expected -when target is set to wasm32-wasi for all SDK and runtime crates. +when target is set to wasm32-wasip1 for all SDK and runtime crates. """ edition = "2021" license = "Apache-2.0" @@ -35,7 +35,7 @@ aws-smithy-wasm = { path = "../../sdk/aws-smithy-wasm" } http = "0.2.9" tokio = { version = "1.32.0", features = ["macros", "rt"] } -[target.'cfg(all(target_family = "wasm", target_os = "wasi"))'.dependencies] +[target.'cfg(all(target_family = "wasm", target_env = "p1"))'.dependencies] wit-bindgen = { version = "0.16.0", features = ["macros", "realloc"] } [lib] diff --git a/tests/webassembly/src/lib.rs b/tests/webassembly/src/lib.rs index 3c29305c06e2..3706f0bbc503 100644 --- a/tests/webassembly/src/lib.rs +++ b/tests/webassembly/src/lib.rs @@ -7,5 +7,5 @@ #[cfg(target_family = "wasm")] mod http_client; -#[cfg(all(target_family = "wasm", target_os = "wasi"))] +#[cfg(all(target_family = "wasm", target_env = "p1"))] mod wasi; diff --git a/versions.toml b/versions.toml index e7ac00ccd6f8..136c8e513d6e 100644 --- a/versions.toml +++ b/versions.toml @@ -1,17 +1,17 @@ -smithy_rs_revision = '0259f5237a8bd97337b3a129e662e182752401e6' +smithy_rs_revision = '9303ce167db429401b7532cd168efc0df51fb9d7' aws_doc_sdk_examples_revision = 'a88cc766fcfcd6a333fdacaf524367c21ee23bf4' [manual_interventions] crates_to_remove = [] [crates.aws-config] category = 'AwsRuntime' -version = '1.5.13' -source_hash = '18b3897eca3c2ea54c489ea77d93513f180e4084ec4cc50d82006a788ea620ba' +version = '1.5.14' +source_hash = '8d46d9849463a1a99a2b29acc61f1c93557f541770fdf13fb1157fcb96a74086' [crates.aws-credential-types] category = 'AwsRuntime' version = '1.2.1' -source_hash = '1359693e27fc8bff659c07f6beaf134d8934413e20535f93c7dcae73104d63ee' +source_hash = 'd51af5d7027213ec12fb4fe94a518c2b323285c30dc41d0837880ba47e5dc2e3' [crates.aws-endpoint] category = 'AwsRuntime' @@ -21,7 +21,7 @@ source_hash = 'd82bcef1427ba42f1a669ae9f46bcd5b8e2bf405c836f497584e947398ab75a9' [crates.aws-http] category = 'AwsRuntime' version = '0.60.6' -source_hash = '57b38faac93292024485c28f2dac479650da6c30a851e0ff077121a71c793885' +source_hash = '8673086d5aa8ca860757dbca0fa35ff45a82f08b324f7458812928641ac3f52e' [crates.aws-hyper] category = 'AwsRuntime' @@ -30,8 +30,8 @@ source_hash = '728ed2dae4d74acecaa81829d131ad5911944dac4a3da955b5d17bb1fe2fb4ab' [crates.aws-runtime] category = 'AwsRuntime' -version = '1.5.3' -source_hash = '507a712408811976ae51b61a53e68640cad4927e89ab55481b97079c7d606c83' +version = '1.5.4' +source_hash = 'fc418d1e6d4339d4753a8c0348dacbdc60decec71719852b930522abf948378e' [crates.aws-runtime-api] category = 'AwsRuntime' @@ -41,2413 +41,2413 @@ source_hash = '7caa8ed74da665f093808300182adf679555d0e28ae81e3e7993903a56c4804d' [crates.aws-sdk-accessanalyzer] category = 'AwsSdk' version = '1.59.0' -source_hash = '47a1e21650bbca99ea24445148dd3d007240699a4657f318ca95d054e1c532b7' +source_hash = '92c21f82c1585b0fa28c4d8c0376c59743b0c24f7ef12d9f5656ad8c7ce44f82' model_hash = '5ad839d8aa2e17b3ef8299d0cd7a455d1c36b7f4090a84ae086e95f6bfb07459' [crates.aws-sdk-account] category = 'AwsSdk' version = '1.56.0' -source_hash = '7a1dd25da03ccfd893b587bd865024b7f9599192bf1dd27518f9b1ba312c4474' +source_hash = '434668d8a03d95b8efdfaca659e73179cb0ae1342161845aa0e8b2b236746de7' model_hash = '365773acf11f552b21421a7b199cd68d18eec8b4a7ee59bfbecfe9912311b8f6' [crates.aws-sdk-acm] category = 'AwsSdk' version = '1.55.0' -source_hash = '28ea0ace0d1f351bcf3e7e7c739a3115291b3ecdfacad5119ed5fcdabc6c96d6' +source_hash = '7d53e620769085dba6872781c9d0c8c8d5af645b33751c46f8021bc41f5c5b40' model_hash = '707cde7caa30133c4d1e401decfb9815af0805b744e956c8cc125119a3691f83' [crates.aws-sdk-acmpca] category = 'AwsSdk' version = '1.57.0' -source_hash = '1699f1f4ded97e00be3a3cbbe5e89af5ca946aba93b953d9336df464a0daceaa' +source_hash = '1c3068069098acaba130d09bed6363c7348cde15dd398b01add7aecf6c8ff2a7' model_hash = 'ae1e89c98ecb9c95b4f64fa65e2b0a1347611cd3de2db192630f9b53419fc821' [crates.aws-sdk-amp] category = 'AwsSdk' version = '1.54.0' -source_hash = '06856d407b172c680dc9313f86ba5cec123a7025b7936e9a4800b0358599946d' +source_hash = 'd382a1c9adac0b675d1e2504d7f728abc3b0e595ec6c52ac1b85d12b330ce223' model_hash = '1a65e46926c2017d3e39b6960adb4b7a38ff994d0291eac999e4a4f5f56a7283' [crates.aws-sdk-amplify] category = 'AwsSdk' version = '1.59.0' -source_hash = 'fcdefc8be712e97d88b4af69e8d67e23f237c91c916d8151a104207f4c508a30' +source_hash = '85ab3a4ecdf7f954ad6bf27bf7ff40b5fda7cb5eb5be2047d560d142946dc749' model_hash = '0ed0efda94eec7881f3b3b110d2e9b24ee32639ec6debd44068c1fdf18aaa925' [crates.aws-sdk-amplifybackend] category = 'AwsSdk' version = '1.54.0' -source_hash = '5d28fdc01c66d130fd5d453607f2c2bbd5725957628f34127ab01819e8ea4dff' +source_hash = '787b18070d7086328fbfedd7ec4068691a725b7d24592b24165d9713552effd5' model_hash = '55ebcb28813fcd6e41309a5113a3ea35ffec5306a194a215a22bc796cd6d4729' [crates.aws-sdk-amplifyuibuilder] category = 'AwsSdk' version = '1.54.0' -source_hash = 'a9347e3c889433133e87a20f65e97d8027445aa78e477308536bc938a8e92b4a' +source_hash = '227beb22e921973443cde86ff90db12e9710866e83c9dcb973f7dac147e20559' model_hash = '711a8d250ce7cfe2729c4838b919afef6eab9efc92d8655f2ebf50b50240db0d' [crates.aws-sdk-apigateway] category = 'AwsSdk' version = '1.56.0' -source_hash = '8df1978c4c3929aea1bf1b685d9bd837647b1da02b21d0eb4af9aa8635a1acae' +source_hash = 'c9615a2a29a546fcd9cd40dae411e01af8473e4554ea2375406692319a5d6bd2' model_hash = '6b3e0dd82e682fc0c6afab3e0485a01ba4c894465793f48e5bf85ace87a1a486' [crates.aws-sdk-apigatewaymanagement] category = 'AwsSdk' version = '1.54.0' -source_hash = 'ff7ac5e3877b3437fe437f45550b6200deba573d66fe6ccbe7e7d8e7a9ac1420' +source_hash = 'f6627e9ae2b9f6e644a27b94a8fa540059258c103a9ed76902a16b8d2f989edf' model_hash = 'da3fc1b71d982864cd77e0187eb3078f4443e8d9da188cbb5db04cef126e46b6' [crates.aws-sdk-apigatewayv2] category = 'AwsSdk' version = '1.54.0' -source_hash = '07cdfc80edbe62ce00d2139f98b73c6ab3335d73b901edbae816f542df093bf6' +source_hash = 'bbec8e34485774d35e67c747defebd34be2a8bec958b28305ece340e8ae00fcb' model_hash = 'd78aa2f44c0462bc70277b72ba410145023564b98a69babce0b6aa1afa1dedd2' [crates.aws-sdk-appconfig] category = 'AwsSdk' version = '1.58.0' -source_hash = '9469c40968ec98e63ae3f1a3df9cdec2a00a468612cea83c697ab90af1e150f8' +source_hash = 'ea7642854bd52703a4ad0cb0cf72ddbac2763923bbf1496a0b6279edca720a29' model_hash = '6ec2f5255d1bad55dd0ca630d30087d467c40144f6b3f577c0743c38112f153f' [crates.aws-sdk-appconfigdata] category = 'AwsSdk' version = '1.54.0' -source_hash = '4640283e9adaaffc5d0e5c3048ec5e45eeec13e584b12bb4dbbe309b106b57f0' +source_hash = '1039c785b5945f6da8848536bf6e61b4728eae8843103abd965dcaa46384d039' model_hash = '208225d7ff61f36e9195dc074364be704b5900d2236611829664a970a087567e' [crates.aws-sdk-appfabric] category = 'AwsSdk' version = '1.54.0' -source_hash = '6fee7321616bbf04a7dd55b638d4c9807790dc70e96efbd4c4827a7aba6bc7ed' +source_hash = 'c3ee1e512def2aa590f9da98320c492bdc48aade097179c0a6a6ef4c76ab119a' model_hash = '2045e5882967d5ddc7289898cab3875087d7e26abd9522fbabf3f6642e17cd8d' [crates.aws-sdk-appflow] category = 'AwsSdk' version = '1.54.0' -source_hash = '2124534c38f23b6ee3046645f603e41bc9ddbf91cbf86349edca5e53ddae46c0' +source_hash = '72620c090051eb80ced3d5837dfc921f070fd184ad64fff10df5f3304d2a45c4' model_hash = '68fd1624bacf0785f306eb113577bb96e3c1e2213ebd8c86f5003c2f1c4db231' [crates.aws-sdk-appintegrations] category = 'AwsSdk' version = '1.55.0' -source_hash = '78b22fcc3cafc3a011b3c3161f35abbd82f51f2229920cf3742bf53aabcc9a5a' +source_hash = '86ef8297326378f10bbc0d83166a660ff9120361e7681d9498b19889b4dd93f4' model_hash = '37502f0097392597b6f58bbac760da849215fe44aef900f0131c1df890d5578e' [crates.aws-sdk-applicationautoscaling] category = 'AwsSdk' version = '1.59.0' -source_hash = '665f76924e49cdc0462470ae0fdd1ba35a52854864e3a8a6a7279f9486f468ef' +source_hash = '7f1731dcf87db538bfc51aedeeed88d0b4b14ac844b5a436292ede35f85646b4' model_hash = '4192621b0816941c0bb48ed214fcd37f0c48c49f3bf547f92a334cd029b07bb2' [crates.aws-sdk-applicationcostprofiler] category = 'AwsSdk' version = '1.54.0' -source_hash = 'edca446390b6724437379884f1476204555898a3660dbd5e3fe479d5eaf05f55' +source_hash = '73d03e730af2be224c8e4694a8acb1293e953a78bd10ae54729d44797bf516cc' model_hash = '87f8b863a2d1b4902b1e5c1f822a2c3c31821a2885534c3080b7cdd70383fb6a' [crates.aws-sdk-applicationdiscovery] category = 'AwsSdk' version = '1.56.0' -source_hash = '1a7544526780cabac46e831b310f731dc8c1719bd4894d4ff56bc800515a8cbf' +source_hash = '68e1c7cc804fc1611cac7fe67ef793068adfcc850bbc2c498890824ae563f420' model_hash = '4665c5ff861b0b85a9036c2267449eb116dc8b27efd934d58be6782612491b00' [crates.aws-sdk-applicationinsights] category = 'AwsSdk' version = '1.55.0' -source_hash = '4448272251688c33d4ebbb3261fc94ed35acafd9c9719b618153d9f7af56fd51' +source_hash = '6cc722c67ef2a9d516cdd0644eb6ae2cdab1d909c26b2185902ec758ebd545ad' model_hash = '0f7c24be13a11a0a5f25fe792ae92fac5b9b7146f212bfe69ce365ed6aab46fc' [crates.aws-sdk-applicationsignals] category = 'AwsSdk' version = '1.27.0' -source_hash = '635903b56f1199fd47ceecb860319e8741b14dce15d3fb2e8196535a829d2bb7' +source_hash = '9f48ed92f5526f9a275006d2a534c8fbf64f6d66409fe480e3c4fa186ed1a938' model_hash = 'b188db919d0346548e5f10397b1f8c83e1d9a49dc110b7cf5890378e4129a6ed' [crates.aws-sdk-appmesh] category = 'AwsSdk' version = '1.54.0' -source_hash = '3ec61e177e77a7a7cf4767cd4f9cf0ca34ab2dc8bc2eadd8f59bdc0b29e7ac19' +source_hash = '7819184b22d91a28e42856362c9d8cd5783c865dcb241da42aff26fefb44060b' model_hash = 'c854c811b3717a23d61711e743e914d454dd4096713742a5e66d31ab9c463601' [crates.aws-sdk-apprunner] category = 'AwsSdk' version = '1.55.0' -source_hash = '418ab4cf08a1488e880c578768915242e9f8708194197432edf4d68e7dc21009' +source_hash = '07b5b9098de4bc7632adc4b1edab2d1dee98bcc3261664810dcadfffdabb5c7f' model_hash = 'f9eb666b5c1339269de9f9693e7519c35933d020a9afa77720d087ce5799938b' [crates.aws-sdk-appstream] category = 'AwsSdk' version = '1.58.0' -source_hash = 'c5d623575006f563dc282ae9efc48b2a9ed1d34d3fe6f5df893dea7a659ac352' +source_hash = '30f43f1c2dc98a70e8a87497f8bbd96d1eff1bacbd4efdd7bea60881b5ea3302' model_hash = '7ff5df44563fd71d272a92b44563ba4c068738212fa6d6545fe0bc750ae07821' [crates.aws-sdk-appsync] category = 'AwsSdk' version = '1.63.0' -source_hash = 'c60eb4968ec2fbb34ad769bc4374590031eadcb21dcb27c5aa711acc39f6b2ea' +source_hash = 'b2140aa8fb29b5a758a6234de94c2ab5f065f269982d5fb3a4c486297ce1272b' model_hash = 'c16b062e14b432c5448bd5271f33c9a36fa3dc5ca65ae944bae9f5ab3bc21d68' [crates.aws-sdk-apptest] category = 'AwsSdk' version = '1.24.0' -source_hash = '7ba759a2217c43e951acb119b72a478890c92efb7163fb19b54d5eda67956c11' +source_hash = '697ddafe4199bfc604c727bc1955d79511c4b5b8d3129949e055910e64a04d1d' model_hash = 'f5961b5b71219d66def6b205f539e8794b44347c0dfd5ef2586f566754f74fe1' [crates.aws-sdk-arczonalshift] category = 'AwsSdk' version = '1.55.0' -source_hash = 'bcf7f568fe075af81224264991dcc5ab60f46979de3116f76a089a19d19fe188' +source_hash = 'b929e30281f907dbb4fc027c2ae2ec4da681e4cc9756bbeaa4e735f8f5439761' model_hash = '44eb769636e65a66f6a327668b318a47c987fb8f6133ec1de72fc80cf31f2693' [crates.aws-sdk-artifact] category = 'AwsSdk' version = '1.44.0' -source_hash = '9de771ffdfa2e1e5ce4057dac53e22c747b53ddf12029c5f9ea745146b32414b' +source_hash = 'd6c71fda4474a07a1b7a808ade4b71b5c028474075969535d220a90cf917fd66' model_hash = '94f797836d58e2c164972058839da113df52b04d0d03246a40a1d71733b3d746' [crates.aws-sdk-athena] category = 'AwsSdk' version = '1.58.0' -source_hash = 'b595fb098a5e97585ba208fc14989f30f8a551a0d77951abcd12cb63c9844612' +source_hash = '4756d95b656b95f97fe3d4d5a629e632868b406453f48a5eb4473dbe08039c63' model_hash = 'd0fbb201b94be633bd3dce71f682c0429e8e357a0eeec0af419283c135d48100' [crates.aws-sdk-auditmanager] category = 'AwsSdk' version = '1.55.0' -source_hash = '9869c4dad7a9d626fb72b722811e0631a49abd3d66aee80c12fea8f831c68bed' +source_hash = '34c7251f363fa94e5771f0347d85081337db9591aebc4be803e2d5e14a17a4ac' model_hash = '0d9610c5970f4cdbeb4da161ce893ee8e5d28ce3d1953f74b8b4f0075f43f81a' [crates.aws-sdk-autoscaling] category = 'AwsSdk' version = '1.62.0' -source_hash = 'ea4a4804f579eb0c78f587e421f2b8ecc6407ba433bf605dec9dc66c168cda9a' +source_hash = '75d73937eff2e28ea1993ef9322779ab6c050e3780870ce5fc1ecc63779f9307' model_hash = '5327789a4f166a77473f09cdd3f9a43e3cad747252731c0fccf09da85be6786d' [crates.aws-sdk-autoscalingplans] category = 'AwsSdk' version = '1.54.0' -source_hash = 'd58452ec29c21e5f781cc0c096b0f2e8b81ac590d6a0a83b528d4a2ec75db313' +source_hash = '803a02e21a50cc77df73350fba175fec53d197dde81a4f8a28dd1ae02fa8f23c' model_hash = '228b888792ce40aa06e158c9b654f5d46820d2d2a947936808ff6412c1b61b0f' [crates.aws-sdk-b2bi] category = 'AwsSdk' version = '1.58.0' -source_hash = 'c6f8d7fcd5f8788d3fd8d1c9187678a00c9da0fc2f2d49d02cc28c04b05a3877' +source_hash = 'f6dfedc73eb0f0f096580841d9faaa288f5190ead5954f88debd58a9db27fbaf' model_hash = '6c88734f78bce340f7be0e95b62be541dc7bb7c68778d7ddf214fa3748155631' [crates.aws-sdk-backup] category = 'AwsSdk' version = '1.58.0' -source_hash = '71d35bb93431840711e5f20973e860318bd9ec209816f107d15cfb9a6aad1a96' +source_hash = 'ae90c39d218a54574627d91b08887caa46b5bed5806eb51a5379ebe86c06c1c0' model_hash = '09f3cb41ca93e53c19195e63c2992a92467e1c910421c28e12b9c2fa416d8c5e' [crates.aws-sdk-backupgateway] category = 'AwsSdk' version = '1.54.0' -source_hash = 'd1ffc79299f43a24753b78e76f8b0e706c65e3e1a3c5d672ddeec050293800f5' +source_hash = 'ed8939948c682bee0a52e860b36f5e2f88cf0e4d61b9a84174d8eb705fda550f' model_hash = 'f14d6bf655e9a701fb322eef4a961b41aefb3c2686c5f9c48d8203bcda8df0e2' [crates.aws-sdk-backupsearch] category = 'AwsSdk' version = '1.3.0' -source_hash = '834d5804bccd6e976ce7a00e6b03eaec4a125df01715dedb5ef389892bd705a5' +source_hash = '0706e30662492084305eba515e359855d8167e39d7b4fedb538f8855430b5bef' model_hash = '66fa4bdab3394f5d156cd8eb17636f6afc6c32447af1e5047c3b9dabb883bac4' [crates.aws-sdk-batch] category = 'AwsSdk' version = '1.63.0' -source_hash = '0560fbc89a77f6dec54256fcb3cc41f5a6a34f2b3be1c612fdd5ff2afd48164f' +source_hash = '42dba483e6c93d3bd09e77cc828285057dd4cef3bb1db7f518cc03ced37a5505' model_hash = '0da425f63a75520c9566ce76b0b902a7456e393ed4d67f79f4a23711f1c86553' [crates.aws-sdk-bcmdataexports] category = 'AwsSdk' version = '1.52.0' -source_hash = 'e3f48939db6b70d33c7f06ce42c20b3cacee41b8edf43c07caf185af6e40a7b2' +source_hash = '910ee1b4ae126c1910492780bae3432b0d6604f73415ef06d2f38df9ea976200' model_hash = '141b03c18f7edfe8cccdc3fb7ed6de6aedda05b38a430e7077b86af3e7141660' [crates.aws-sdk-bcmpricingcalculator] category = 'AwsSdk' version = '1.7.0' -source_hash = '26eea28240a3581988ff0b15bd77a7e7212b652ef5ec6be7faf9025b1220dc09' +source_hash = 'e2c1469331560dd34416d3365598887a7b114a21cac28745e9bc53a651e5f86f' model_hash = 'f376c7023ccb52d8f831598848affa665313d800f60cc8d9a16422b5e3c425f1' [crates.aws-sdk-bedrock] category = 'AwsSdk' version = '1.69.0' -source_hash = 'e6b96342592dd020998328db4741ae2fc80b6ac9b08fb57837b5c7ffd01aa32d' +source_hash = '17a21ee3ac711635eccb8f274458f15c7298ad665d80cf34d62c0e1f21c18064' model_hash = '4d6cf263a8e7b572a489f7a04616635053ed8da7dfbb260e55f06ec727f4b4e7' [crates.aws-sdk-bedrockagent] category = 'AwsSdk' version = '1.72.0' -source_hash = '37c0c6e47c5cae2467f2c30b698d5acff0273a92a80a19aac2a694cee99206fd' +source_hash = 'ad69545a725032c28dedbcf08cb196500aaed524c61b140bd57a092cf9c0ecb4' model_hash = 'bbc869ff7269d3e447ad5b9f2cad84b00fd18fe9ddf17d7de73c5875dae59580' [crates.aws-sdk-bedrockagentruntime] category = 'AwsSdk' version = '1.70.0' -source_hash = '01bf971596d0f0ef298b9f48c320e15eeb095ee9388b604dbe5b10c8942734ae' +source_hash = '9cb9e3e473fe330032875b1a9fb7b7d0704bc8d37881605d6546ba28a2373f25' model_hash = '66f8120186bd6e50179f1f0757d52069f082f2a3c96d541b2ee1faa74d68f581' [crates.aws-sdk-bedrockdataautomation] category = 'AwsSdk' version = '1.4.0' -source_hash = 'd7ef335f787d900b614e0878f6829d8fbc46beeaf064dcd85b1751b963c596f7' +source_hash = '2fb9a2e1df7559331816bb673f981ff0f9525d090f1eb32e19f8558291f24142' model_hash = '6811724116aa201678a1bc03787c906d64ae770a2ed6243db35897282d670a42' [crates.aws-sdk-bedrockdataautomationruntime] category = 'AwsSdk' version = '1.4.0' -source_hash = '7da0608188542cb38f5365531a99fb524bca7feceeb45553d19c1b8d47d33f89' +source_hash = '9f3043683c6282085806ef70b9abeaf588337fbf770b950263c326ba02b93581' model_hash = '0d5ef02da2732b86205ee68de0fe17f2ba6c99d2db660577edd8b9af5d4b9b25' [crates.aws-sdk-bedrockruntime] category = 'AwsSdk' version = '1.68.0' -source_hash = '6cde6ddc4a35ff2248bad8421edd06741e11dd9c836c49f301904cc1180577a9' +source_hash = 'a0bc9f50aa3921589b0654be151d66106d0fc4a0d5bf5ebc8dfce2dfdd2e6897' model_hash = '7ff33c073758b1097ff9e3138829d83bb6218b8668bfc2bf4704f5dd5bc81b42' [crates.aws-sdk-billing] category = 'AwsSdk' version = '1.6.0' -source_hash = '110aec7615faef4775dda0ef90b52e0ebe8ec83cd9ff9e970725bd7ec5f95526' +source_hash = 'eb3945dc66245f3d282a7f3b43f986b50b9e19b38b2f6df2a3de547783f8d6b8' model_hash = 'b42fc9aa1f983351b56a90eeb0126e18bd785116404e7a89e8b325be7e446bbb' [crates.aws-sdk-billingconductor] category = 'AwsSdk' version = '1.55.0' -source_hash = '70aa88c935c3981948c3518d2cb2cd99edc840a4288a15388a1ac902ee9cf6de' +source_hash = 'bbc2182d3b636978042177ab61e29561759b0dc7363e95a5e6f9190a2234a381' model_hash = 'cb22cd66668c35501637fe345dbb705752eccd4d91d6b4b8f35eaedaea0ba73c' [crates.aws-sdk-braket] category = 'AwsSdk' version = '1.56.0' -source_hash = '157dbb3021721da0a6f443183be5231df2228daff8e9ec2faeb1160965d22e5d' +source_hash = '5286bd39f1a449d84853536485b8a401843d0ffba7b74e66963560cd041f62f9' model_hash = 'c5d0bbeaa9fc98e88cd3cda2df9625e3694bf667d3c20a5f41b01aa3f0bd4be7' [crates.aws-sdk-budgets] category = 'AwsSdk' version = '1.56.0' -source_hash = 'ba58ee911db16c04c1d5e33f6c38a928f7a63bba905cf8ee1a86dbec66c62869' +source_hash = '3f6e4c6dd8fa4fc75e38d22f98ffcca1dc737d36ded2545f506d4502d8bd02a1' model_hash = '2ef9a5c0f5d3c93104c1e4bbcf32c98ea5fe6e280f692bf5162b6f232fa87468' [crates.aws-sdk-chatbot] category = 'AwsSdk' version = '1.44.0' -source_hash = 'f99b9a106a65f4f70461132fd3a469045cd9038eda0399802ac4356979a85fff' +source_hash = '7c6aa79e619dbbf685479cbe5214d9917b62cd6f3ae67b4dcae985fc564a6aec' model_hash = 'df65a46e4512e5fa93b367aec1d13a864db18ede2b35508640eb12cdbcd1386c' [crates.aws-sdk-chime] category = 'AwsSdk' version = '1.54.0' -source_hash = '24ed3e4793160b4e72685e3168188570397df5be2668eeafa00e89988d45baec' +source_hash = 'd0b2eb608e95a57a80c130640c7185db0c0961db96f9bdaf80cd25a525c5ea03' model_hash = '26c01cbaa804d2bfd474705d4726a7ea82693d0ed5ca5117d11958e9a7feac3c' [crates.aws-sdk-chimesdkidentity] category = 'AwsSdk' version = '1.54.0' -source_hash = 'ea77263ea3039442dfadff6e46cd2dc036143523398f984ec3710728cc657642' +source_hash = '220f4e4fcbc79f1374f30b98ebc297acbfa032af85e5b189293efc99f79a72b0' model_hash = 'bc1618d82f6503a626c4e9f1ddd5a1f2accda511152b4529964a8ea400ca9b2b' [crates.aws-sdk-chimesdkmediapipelines] category = 'AwsSdk' version = '1.56.0' -source_hash = '4451985e0edc7b336b560d28c49a0d1552e1433ccf80afc28f91a59b66989cf5' +source_hash = '6f5e53d7a667348b6b363a7492f130416b39d2de0e6aa74f769340316cf8f220' model_hash = '7bfd7f733fc17e33e340cbf3b252eceac70e441652acfafd050c17eb3863038a' [crates.aws-sdk-chimesdkmeetings] category = 'AwsSdk' version = '1.55.0' -source_hash = 'f9ac3d66bef716c06ad55cf1c63453033527c8f569d45692c5cee2cf3b0bf3ab' +source_hash = 'b646e11ed4419cf994685d0f7a054a3d4d1ab106f9fbd89bb467f00883ec6b75' model_hash = 'ba118c0a684183ba582b0fe25863c68a73a873bf21354738546b7a2eb3ec7205' [crates.aws-sdk-chimesdkmessaging] category = 'AwsSdk' version = '1.54.0' -source_hash = 'af5bf8d9747205cb5dd232393b0cc25248f50c4ca0aedcca3c696a5ba3e14496' +source_hash = '2edb0b81935116e69e4fe698f8d98978696e7a5c4ff9ad32b8389486be3819dc' model_hash = '7df60525433ab8706f92d474d4dad4c5dc972c6c853175a5678045482ef7a25f' [crates.aws-sdk-chimesdkvoice] category = 'AwsSdk' version = '1.56.0' -source_hash = '926b9ba34f2c672554067642a102a8709b439735046f3861cbad909f4a3d062f' +source_hash = '1a86e19f5376116830b831de8ea483a0c626b1ed0ac479e57eebcb8455b75459' model_hash = 'c29b309437bd93e3f555b26bc91d2b3097fcd8758a2dd2ee12eed092f20d3dff' [crates.aws-sdk-cleanrooms] category = 'AwsSdk' version = '1.62.0' -source_hash = '3f6218e1ee88edbde67efcf855670c58ab48b1935cfd1e92061cd9234b5355ef' +source_hash = 'b71641141a9bad9c83df7b1927c4ccfa54a9f261ca64561901bb936cb5819501' model_hash = '4d5b9c3c3e7c560691db17959b30ab0e57f6d150a8b9d1ed70a3764aa56abe7f' [crates.aws-sdk-cleanroomsml] category = 'AwsSdk' version = '1.55.0' -source_hash = 'fc49bf1a29f17618f10799d1f36a9ff15c0e10c657f050b0d67581794517d00a' +source_hash = 'a057c2b3ac49de462f336a197696846b9e0635102ce5c6a251a97f4d0f1f5edc' model_hash = '72728b5a121032f279b185513445d3102ed111c049dc53e00cf52a44704b9648' [crates.aws-sdk-cloud9] category = 'AwsSdk' version = '1.55.0' -source_hash = 'f12fc35cf58f184dd81799b0c828e8c03470694f7baa646688a7655d4d8ce41e' +source_hash = '229018f98a7769b4a1b10b3d602bb141c44d1a375fc9afddf132ae92a331edd8' model_hash = '9719d658547026fba883ee6dd1a054408647f7b3bb02da6893d880e618fb3756' [crates.aws-sdk-cloudcontrol] category = 'AwsSdk' version = '1.55.0' -source_hash = 'bba8369b87b2b19f74074f0180bdab8d356e9cdaa6c66901d93628113d0fb112' +source_hash = 'f07a147b6e816db4a52bfff72494cf9b67d278dc619886321b637e7c58319114' model_hash = '01fa4d1392f05f4f29552cf40471838ec29ff2a242dccc1a268e6ee7a274fd15' [crates.aws-sdk-clouddirectory] category = 'AwsSdk' version = '1.54.0' -source_hash = '893e222d47a79985493fffd214ecec58a3fa02b49240ecbbf29a5aae22118521' +source_hash = 'fc9b65451c0f61f8f25cd686caefef5a773e548a654aac5ccfee484d510e50b7' model_hash = '7a57057cb907516c5c5b64751c47c7255f78f8324a5449250158c58472dffba9' [crates.aws-sdk-cloudformation] category = 'AwsSdk' version = '1.60.0' -source_hash = '63eecda71d61ccc2752f5879c1d4ebd7323f987006179286d1db78b1ce005800' +source_hash = '16c5470280e3cf3a461052916c70bacc3e70623c16cb0c8f0bcf8e31898c88e8' model_hash = 'd31b60e5c189db40cb89034efaea06e141e50286ba7068b37820caf4a6a5023a' [crates.aws-sdk-cloudfront] category = 'AwsSdk' version = '1.60.0' -source_hash = '3fcbc8bd99119fb7e003be0aee28d066c9ebb9acd9cc8d9352f298cf3720f473' +source_hash = '2b3577d9e9d0b4dd0a0079f4b1c41a84ee59ecbffc0842134be4c7c460317459' model_hash = '20517c13b8d04fa68444672c70ab3b0122c51dbf002624a6fd14be957b296477' [crates.aws-sdk-cloudfrontkeyvaluestore] category = 'AwsSdk' version = '1.54.0' -source_hash = 'a5bbad6689ed3a5253b8c4e9e0ee2f8f9e53a5523e63314f45c9f385e5dd8c1b' +source_hash = '240af800959807f97779c68e97223c9d2fea6a864854dc5d9577a66aa39dbf60' model_hash = 'd21f98314e451c6b3cddac8858d487f36fe2d8d9c09898a25626d26b83f106d1' [crates.aws-sdk-cloudhsm] category = 'AwsSdk' version = '1.54.0' -source_hash = 'fca1059996e100020a83cef67ac33cad60866a9b5ea785d30e7e39fbf60a9548' +source_hash = 'b5e25603428b10a6102bdd9144ba743c9d3c4a3757a991559c2da55307e190b9' model_hash = 'b65bf64ffb06d0d3e137a01014909833b0b4bc6ea9be28676d96e189387419ad' [crates.aws-sdk-cloudhsmv2] category = 'AwsSdk' version = '1.57.0' -source_hash = 'c742e5b16f72b30dc7ad4f3991ee8e4c577190e1c0336903b1d195a2124f9250' +source_hash = '53ab34c210656145519b139441b5e2f0e4b20283df7060421ab3f5637ef037e7' model_hash = '4e091ccb9d71e775ae250b231f4c6c0bdbad945d7f0540064d3d8484b8e9e791' [crates.aws-sdk-cloudsearch] category = 'AwsSdk' version = '1.54.0' -source_hash = '6c76d94d381811b93c49ae3b7f14d178ca0ab47ae5ed23266d3d0687b3e73e08' +source_hash = '8900fc24635fbc4efc1ce71ccb9165b8ec3f0a4b5ac6bed9087480bdab2d43f2' model_hash = '1e81ce3fe0a460ec2087b1501bc19b837e1c829db6f155434cf7c677762b6b1a' [crates.aws-sdk-cloudsearchdomain] category = 'AwsSdk' version = '1.54.0' -source_hash = '15c329c5cec5bd23f187e7718c74c09163303377564bc5f7b1c0d2e9af5a4a9d' +source_hash = '681524b5fb12c74caa3b169eea0e0ae9f51a3d55664d5cc9f4567f603e6d4601' model_hash = 'd47b34a47470d77273ac364c1ce141ff9ff69dde0b023433fd97645c7e5f4fbc' [crates.aws-sdk-cloudtrail] category = 'AwsSdk' version = '1.59.0' -source_hash = '0c28e871672b4b14ddc5fa779b2b5f56ba950fde447f44e910e5ba418a060bb9' +source_hash = 'edfb16ff9d01fe2f4aee926f73db7267818015719611db6818493842fe24a8ca' model_hash = '47251890811fbd2b736aa6be889b2913e2404391d0f50d4b6b53940323be5e03' [crates.aws-sdk-cloudtraildata] category = 'AwsSdk' version = '1.54.0' -source_hash = '7b64554f6165a626fd3542032e22f42fd9efc85c8fee078aa4a01f6a02ea1c80' +source_hash = '8b1903c578de77bf02303b4fff954c9de116cbfd117732e647d023f0e4b3990c' model_hash = 'b0fca8401448081d86469d214adf368b56a8a534032015ff2c80fe0bd86f2c7a' [crates.aws-sdk-cloudwatch] category = 'AwsSdk' version = '1.60.0' -source_hash = '1145122e8a1089f0cac1f587ee4def44885dfabd5edc81644a5305f3c52cfbfb' +source_hash = '0f25b6c754fde7781e2e0d0bfcf8aaed45ec4fda0c6c2633b53410ee248b8ae5' model_hash = 'af5dbc3a33f56c8268fe20bb598b0a8fe34fb69bd8ce3851ca93c0cd3410ad14' [crates.aws-sdk-cloudwatchevents] category = 'AwsSdk' version = '1.54.0' -source_hash = '5f84a06bcaa22c751500b848fed113066b8a2b8c2eeb21be7bb3ec99d5ec8a92' +source_hash = 'b2db57b7fd12c013e2f27b6047226a096367d9e64e4314da7356f289b2ac9b9c' model_hash = '5497d1b84409af6543689f08c00475dd0942c86b4e575186d7c587da07ec97a0' [crates.aws-sdk-cloudwatchlogs] category = 'AwsSdk' version = '1.65.0' -source_hash = 'beef8d81cca19a3c01a3f77ca5a1a5f84e6920ee0d00cb5890e1461e0d30dd0b' +source_hash = 'ba07e7ec2e9486df6675b1472e5a279aec75f4c1faf048dfe5366b34de7886e7' model_hash = '90a0efaa5fc9991d5f337a6387c7d5f58fdf2a4415e16c81ac049ca7a52502a9' [crates.aws-sdk-codeartifact] category = 'AwsSdk' version = '1.57.0' -source_hash = '86dab6ed9fd884efae63c4263c61476cfc68ebdd5b4141876c13cc9ca42bc453' +source_hash = '2ede6e298c57e1b3faa666960dee21270372dbbe66a9659d70f99fa74855df42' model_hash = 'b4b741370ba8961708abf7da89928b5db646fa8d605805dbd8d0138d0ff1955f' [crates.aws-sdk-codebuild] category = 'AwsSdk' version = '1.68.0' -source_hash = '4a3c4f8349b8bdf5ba3d1cf539c4f276cf1b4d86fe145581bf076a4792278425' +source_hash = 'dd468822d83ac58f5844b1acd474d51c45d419977ba016afee5ea7ded3d7c0b8' model_hash = '4bcaf892e16796bc7e348e51ed03b55866a82bb91b4c1a0687f7c09ed2de12f2' [crates.aws-sdk-codecatalyst] category = 'AwsSdk' version = '1.55.0' -source_hash = '81f11a40a2c4b4a04a7a35ebac5306ed3e3f42a52a10aeac4587d779672607d4' +source_hash = '28d648a6aa1639b5bd52636449133f9333e1480b610aa95e1ec587098a7b2a8e' model_hash = 'ac0603cd19a357c2cc11529c2ce23e323237154e3a2e84c33f29b4a64faeca8c' [crates.aws-sdk-codecommit] category = 'AwsSdk' version = '1.55.0' -source_hash = 'c87a1d4f44cc14da3ca2796f6a950be04ab27ec40ea7ac3b81ed37845bf47ef6' +source_hash = '508cb9c65b29acd9dbdfceef7a98e92589e01999553c0dcc24595f19334c46ea' model_hash = '5078580cc97255fb41e290151a0b1190c45139a6d204a5dc6120faf2ce9c6ec8' [crates.aws-sdk-codeconnections] category = 'AwsSdk' version = '1.37.0' -source_hash = '560006eeb9fb0726d8afde8563d7eb9f9fc52f992a9adc835aca3322c7e588bd' +source_hash = 'b778943221f4e664740a9e558cbf5693f1e4236f64c19a8d5e0cd66cf6e33d62' model_hash = 'b0fb7635cbeaef4848f482d4378e893ce0f617d09dde2e5d86abdd406011ba3f' [crates.aws-sdk-codedeploy] category = 'AwsSdk' version = '1.56.0' -source_hash = 'a4e2d3364bc9027151f6fbd0749261c7268eaf852303c2e4428f35a1d8c21950' +source_hash = '46b75f6045aaf3b20615b4c1bce3a08e3078472e8da3034a734cb1442fbc81db' model_hash = '2a7f8fe2ef4c9ab04235ee8eb119879f19916038cf94371fe5b15bfdd37c356a' [crates.aws-sdk-codeguruprofiler] category = 'AwsSdk' version = '1.54.0' -source_hash = '8d061efc231542e312917b6564bf82efae417476fd8ef77efd2b151432f50d1a' +source_hash = '9adda742d686cc46dbb4a25c3b8ff017d2e76c90fe27c59ea50249a8b415ea7b' model_hash = 'f84648080798b37a359c18027550ebe7cf8dd9451542c6681724fef9799f8efa' [crates.aws-sdk-codegurureviewer] category = 'AwsSdk' version = '1.54.0' -source_hash = 'b949f96165a0701b6a1fdb1a6b466f2f5ea09e1cf6ac0e999339b869c4709a18' +source_hash = 'a2b5415a973c6edc93fca08c46d22aaee191cb6e585913fdb21bd06561bc86b4' model_hash = 'fac22fabaf522bd84c34df1072d443821576dc651eade9cc63a740cc396fe7f2' [crates.aws-sdk-codegurusecurity] category = 'AwsSdk' version = '1.55.0' -source_hash = '2ceecec70e93fd9b39f8f203e89e067baf2fabab01274650be796e90bb9050a7' +source_hash = '6ae573f092bb0eb27f66adc9db00fedf51f710476b5474325297db8562a703e4' model_hash = 'c6db5c090a27a7b7c92113bc8827999fff3130e382c9f5970fae1d1e4c81cda6' [crates.aws-sdk-codepipeline] category = 'AwsSdk' version = '1.63.0' -source_hash = '7ad3ffd12f4d80317a538c75465e0e5415a04f7e6a1630735a907cc37eb26eda' +source_hash = '5544b5d99c32b6a82f62aa2c25313fa2a6a97a2a1010226c7730ffa57eb96c0a' model_hash = '6a3fa7d19d46e7639f397b42657bba8199b5d2f8b03d6d6b7fb8a45e340e4afb' [crates.aws-sdk-codestarconnections] category = 'AwsSdk' version = '1.56.0' -source_hash = '5275dba0ea067cf665144ae99b80244815113f6c33f0c6db820804e4bb22fe68' +source_hash = '127e977e36b7c257f07e1631b5c0105ef13b4b07178ae58fe32b1ef37225ffb6' model_hash = '2f2267305388055154ccbe8246feeee77cfc1d0f9afb83d6c4572a8344c67c0a' [crates.aws-sdk-codestarnotifications] category = 'AwsSdk' version = '1.54.0' -source_hash = '3ae6b75df0a01e6204d21fd702d6f2c44cee8894916d667e6ca1adc1d67f44e8' +source_hash = '2e79f15c1c02fc7bb20768ab1f11c62ee9d99e217663696ed870859f77c77ff5' model_hash = '41e883a4dfd884874dd4c1039124b10cb9632c1bd91ce70a6ff6d7207720168e' [crates.aws-sdk-cognitoidentity] category = 'AwsSdk' version = '1.55.0' -source_hash = '77ee94ee641444d438699832480c9a334fdc84aa8c91d58c3acb102d5d235ec2' +source_hash = '83eefcd34dbe7f1d540ed28adf81d5d3d8a6245a71d35344e5dd961249adce6b' model_hash = '366fb4965781346e6167a86700b99dd3d55cc618325f3af6156e4569ef9f55fc' [crates.aws-sdk-cognitoidentityprovider] category = 'AwsSdk' version = '1.64.0' -source_hash = '162a24405ed5c96e4014dd270e37bddf6121a38503877b344681c315ec7232d0' +source_hash = '25be661b67ed3110b15a717fd8bc187a5f24ebb3a5fc8f7b9716b9079e763c29' model_hash = '3e7bbd19f73c61a179666d792910575951a9b07288a8c1c1358463823286e1b8' [crates.aws-sdk-cognitosync] category = 'AwsSdk' version = '1.54.0' -source_hash = 'ba1bc856364ba51bfbca7ecbc8aafab65400adb435d52abe31b4be0765b23963' +source_hash = '20c677547749dc20b1c1f6def95fee8aefb69303951f3b16bed348655c6ef0ea' model_hash = 'af13ffa672d43db8d997a90a103b2b55b98f64cc5c8537e635c94194c37cfea7' [crates.aws-sdk-comprehend] category = 'AwsSdk' version = '1.54.0' -source_hash = '35a7be00b511745544a02f1ce8c4ff63371c6e407520bb6fa9a1b0af0a6ef1e8' +source_hash = '92169b7aed56ce3c539fc33fc6a9fa75b9eb673c054a46127ac8d160cc64a9dd' model_hash = 'e4f45ca7a946c347371022179e1be451afbdd3b9b47c6c9bedb01cf3a847f000' [crates.aws-sdk-comprehendmedical] category = 'AwsSdk' version = '1.54.0' -source_hash = '80e69bf548ebd8ad5c75548cbf9b2aeada7cfc8337cc767cc7bd095ded809600' +source_hash = '31af79c067c40d3954b3b94af253cb42eaf1e6becd9e42beb4c4ffe81187d072' model_hash = 'b81682cd531559dab9989fe4a677f37e04eb416285824284c0514a03fa20f06f' [crates.aws-sdk-computeoptimizer] category = 'AwsSdk' version = '1.57.0' -source_hash = '2ca7e8246e63c36a2a7416b8e54fe1bef2ac383afb627fa68abd7d0c7d71472e' +source_hash = 'ae39e5f90e34edc39f851b4290d649c6c0caecd4393bd32d9e0c261a118d2004' model_hash = '13e1f624e858c233e9c2d615c3c9de2e59f7545532efed58f034531497cade69' [crates.aws-sdk-config] category = 'AwsSdk' version = '1.57.0' -source_hash = '769bb3972812273b4e59afe70e7e521d8691f1d8f9528eb53cfd163184340e55' +source_hash = 'cc7957fe299164af105668b22fef35bc39e2f1af742507bfbb4e1e9a8534ab5d' model_hash = '6b8642245c4ecdf27c29946146abd9a3e235247d5483fed13fc6a6dbb77b55a8' [crates.aws-sdk-connect] category = 'AwsSdk' version = '1.86.0' -source_hash = 'a8290b8c32fe2580acbb648f44279531590bbdf09117c3bf90d8726bda93c645' +source_hash = 'b92cdea4ab44497383321b579dec8c7ea66510cdeeda06adff2cd9410bcd87d4' model_hash = '95250695406078f10202341019cc7b7240e39bcb4eac89e3b0c586a99163f7bb' [crates.aws-sdk-connectcampaigns] category = 'AwsSdk' version = '1.56.0' -source_hash = 'bd8de9ecf2627a0bae1826d16aabec4efee78332d0cf8af1da5559e395bcfe7e' +source_hash = '353b81fcef476117b38238be63fbe1245e99bb834f210e68c3337be489dbe5ec' model_hash = '37ecc34e51a30d7479c2b73c944fb8932f6e75bda9db27439bfb4e149a2eec47' [crates.aws-sdk-connectcampaignsv2] category = 'AwsSdk' version = '1.6.0' -source_hash = '39803c608bd0c67308e24cf121cd0a3709a9ad34130df99dbd6626f7f1f9cdc6' +source_hash = 'b6be7eec3738acd9d483d6903a545ce778c94da7a3a79131bef8a869d85b4dd6' model_hash = 'e958d03f6fa08fb1daf15fc6c1a8f7aa7748472663dbcaadb8185d5ab83f1241' [crates.aws-sdk-connectcases] category = 'AwsSdk' version = '1.57.0' -source_hash = 'b9fe1d36b75004f6d20ddd5bd4f9500d648d4923494f3177b2acf61dd4a10f58' +source_hash = '4c8ab906093b38c678445fd09d86fff30d7b8a9f9822f91ad695be67110dd526' model_hash = 'c93bea065821a11a7f70bed666ba3134835e9ee894671644f70dfc32895ac822' [crates.aws-sdk-connectcontactlens] category = 'AwsSdk' version = '1.55.0' -source_hash = 'a372aced36f0c13adfcf39942df49163e624529285c924c5037eecd5fccdb1f5' +source_hash = 'a4bb11a1d124598343fea454a15281504f6b4be69bde6f7e31d232752b11680b' model_hash = 'd21e272c0bc0b4494ce7249d98d72a39a1cb27886f4ee2b3ef7802bda1e642fe' [crates.aws-sdk-connectparticipant] category = 'AwsSdk' version = '1.56.0' -source_hash = '48214e0143d212bebe7241ace520a65c91c120c30b9948412afd9058c8b73b7f' +source_hash = '98e7b51ed66dcde9da85c03011eb31ce27b2d583a1a8446884d10ab48aa5eb38' model_hash = 'b8b5e2bf01c4dc04562c92a5950fa9d93b478b00273f83dd2168082304110e16' [crates.aws-sdk-controlcatalog] category = 'AwsSdk' version = '1.37.0' -source_hash = 'b1f231d3529d7dd7dff7c3e8a17b97e911385d70529321c5ba659aadbc1af22e' +source_hash = 'be98b4a432c7cdfc60619dd8a69e435ef450b369376fd1857a7b6ed02a1191e7' model_hash = 'ba41dc01b76b17542394812b25b9fd97fe99763ddb84145b090b3e8a3d858a74' [crates.aws-sdk-controltower] category = 'AwsSdk' version = '1.59.0' -source_hash = '33e2d2665afd94f8763acfa620f99c741a6aa58b21c3bcc8132ef66bd4c524eb' +source_hash = 'c720028f64a72df2cae2c3afb35ab6c196bfd2c9f0df50e303b96d77d4a4dde9' model_hash = 'b79a79bd19658f880f39e4be19a13695beadf823b77add7aec700b4f65f242ac' [crates.aws-sdk-costandusagereport] category = 'AwsSdk' version = '1.55.0' -source_hash = '14b8c26ee2a417c8549c2bdd02701913cf434cf48f7509500245f79d5c80865e' +source_hash = 'be69f9ed4239419929329435a18323ab6cd859576f8527ec2ef670e525c6f77b' model_hash = 'bf4538c4a88e7593ec09204cc1424a979ccc4bed2885498a403e0650d1607c9d' [crates.aws-sdk-costexplorer] category = 'AwsSdk' version = '1.60.0' -source_hash = '5bf6e8590c880bbb4f244687b4e710a71ee4b2af36ab2a896cd707afb9b004fa' +source_hash = '1435dfb62ac963bf2c94b13a3c9b45ed5953f45acc00b9da6730e8d250e23714' model_hash = 'c918d80ddecbbc37219d84a9d0f859ad7fee1f4ccecc4fb1e83dd1c5a149029c' [crates.aws-sdk-costoptimizationhub] category = 'AwsSdk' version = '1.55.0' -source_hash = '8267ef8ed142f68006fa1dc8db41ca4fce1d416fcc22e19541ed86a77be56ae4' +source_hash = '6c49a833b052ff0d6b5e3ac566e9b889a0ccb7baf55cbcbbc02ff8b2fd2cda5e' model_hash = '2728edb81db70f9358d0d2244d8b4a18f9dd8903adda65818dca9104efd10385' [crates.aws-sdk-customerprofiles] category = 'AwsSdk' version = '1.59.0' -source_hash = 'f8c9d4c7ec2ea8223330273f0ced47bf3c99f7b8de91f7aa8111644c8f62d302' +source_hash = '3c8f3826750f168bfdbc29aef8848e706a55792d6ce769da7ca96263bda347ad' model_hash = 'fe4ff2498d89479566940bf870fe24597c512c97c3435140c88480a40aa25a14' [crates.aws-sdk-databasemigration] category = 'AwsSdk' version = '1.57.0' -source_hash = 'f7613c5e0b55686443df7fa9c6ff00f90d8772df68b2ff494ceb14e4438b75c0' +source_hash = 'a5d413b07a55a407863808515e6e26bb4fc227a57769745f819a4075e23d821e' model_hash = '444b2e782354a033252986c8f7e674b82a3aaf1fc6e9e5bdd8d17d669e36d92a' [crates.aws-sdk-databrew] category = 'AwsSdk' version = '1.54.0' -source_hash = 'a4074252771af160ac53a0bb2ddde9bb16571e4a03b33518b703ea649a9a16ab' +source_hash = 'c9c5193dcb3300efdd4533cdfb4595dad7b8e4f880696df57185409773627a8e' model_hash = 'be1b2b6b61f567d2234f7f1d8af10e0828f59498bad2f47c3a2a7c0f7f045256' [crates.aws-sdk-dataexchange] category = 'AwsSdk' version = '1.55.0' -source_hash = '226e76c85f3539fe65a7591be3f97832ff26d8f3e9876c5f9de8734a51fdbbe3' +source_hash = '8990c478771010f00ed5410989ba356eb008b520d79ae16af70bdf5b2e13f95c' model_hash = '079d33b2d107a5af140b7bc21792db47e2f898f6d0b58dea375892e3aa4c7ae9' [crates.aws-sdk-datapipeline] category = 'AwsSdk' version = '1.54.0' -source_hash = '10fc250a56bb8851150128dd67da135a32928ead76400ebe8841c041f2dc4cf8' +source_hash = 'a8375ea0f46ce8f052580d2897e4829f353bcd3447316253d89c0793819f2843' model_hash = '481a634abb604c1cff5824bd15503ce726661dec63a755e44575bb41e20190d6' [crates.aws-sdk-datasync] category = 'AwsSdk' version = '1.59.0' -source_hash = 'aa99f968f42bb5b09d390963bd3c16d0ef982e5eafcc8808e2b228a64d300800' +source_hash = '18f21584d9e4169e353909496bfc46ff822cefe543c961cf182c566fc102e11e' model_hash = '0741fe1140a42670ab87103aafbd9bb7471b2e668cbb884ae181a5be0ca78828' [crates.aws-sdk-datazone] category = 'AwsSdk' version = '1.67.0' -source_hash = '17ea13636cd19a7b154a19d9c677b8dc511166924397778ecea608608ed20242' +source_hash = 'e08f74a699c2cee657a079c4e23c3fcb1231448bc4f2753b0fdb7735fe844c07' model_hash = '872c29fe80ec3c50c2e3e085a3adae8df4ad5c4279e01f9f867aa4b0d8dd27e8' [crates.aws-sdk-dax] category = 'AwsSdk' version = '1.54.0' -source_hash = 'c69997d2d875cea2064dc220e6ad53e931e56a5f5af9772a81492d7be7da8956' +source_hash = 'b498a8e0431ea0f3623a36cabc0eb9e756a369e7e0ed6bddfa7ea4bf0bb3d7e9' model_hash = 'd7e14b3d73a945fd26374cb4679d329da7495f9664f9add2a2b129d431b1ea6c' [crates.aws-sdk-deadline] category = 'AwsSdk' version = '1.39.0' -source_hash = 'f05b429460c53f166f884324812163a0325561422431e149cb336479a7842a4a' +source_hash = '0ab4944f7e5f96bf0395161fa792c7bd768ae038f21c67e419f5cf105eeaa6ec' model_hash = 'caa4dbd32e37ea6a430a3179a1684ade68ba728744556cbae6889aa63a08a01e' [crates.aws-sdk-detective] category = 'AwsSdk' version = '1.54.0' -source_hash = 'e46f678345d6fedd4fa92fcae44f3c24e6a5d00460d4c91c470fb201982244b6' +source_hash = 'beebc727c096fd7b4acb33f78ee329267e9e9e4873b1b46046cdd670bebbee39' model_hash = '65b7dc670d32345f2b139fffa66d2e83c31874719632be4f17a5e0e68fe8d141' [crates.aws-sdk-devicefarm] category = 'AwsSdk' version = '1.56.0' -source_hash = '24957d9c6ccccafb8baea32229db1cff50ccbe5306e24a877cd5f8b9906f1798' +source_hash = '4129509769d24b3e10d4ad9753cd570226e7d8bf9b168b595eb4130a26fe2b1c' model_hash = '64957658452872b610a66576f191ef674983cb27dd3a57603a097d1d2df5757c' [crates.aws-sdk-devopsguru] category = 'AwsSdk' version = '1.54.0' -source_hash = '383a268c883e508ac80f54518a4de445ea232d5779929b889018b29d3e68a42d' +source_hash = 'dd156e80d4d0fb28bb36591de61dc5ebb58b3cdf82214d75fe80b3afa55e2016' model_hash = 'b3acf0a59884b7504ce6f196736993338aa9ea89ac46237d1ed8beaf31cc50aa' [crates.aws-sdk-directconnect] category = 'AwsSdk' version = '1.56.0' -source_hash = '6e5e9fa7801efe80fd8a18df1272f465a68096240a8c1c79e9e178aceeb49b8e' +source_hash = '37879a486b27438356daed45bbb73d80b0637fedeaffe99193c6aa1a75b2a9f2' model_hash = '42c695f3f0819f340c031781d76f8ede41ea89152c4c7df9a9abc2320b070e3c' [crates.aws-sdk-directory] category = 'AwsSdk' version = '1.56.0' -source_hash = '59b107271d38d96f6584b2bc7450b9d14336ec3d22a864f9e9a65d81adcc6927' +source_hash = '815baf6f791ee38f1ee09a825b2a42bff3e3a9c4330fe7fa252d4210d3dedc27' model_hash = 'cdb908c138dca9350f62713b5d9a95c6b587cd1fb712919647531d9fcb4ad5b0' [crates.aws-sdk-directoryservicedata] category = 'AwsSdk' version = '1.11.0' -source_hash = '02bb6546049ce9705d208073066429591ad02d08512b344c4226333a45ca59d2' +source_hash = 'ce9842b96df4ba3dc8b0ef4b11786019cc369d0c8c13392ccb002bf4c8dbfe02' model_hash = 'fdc5fb2884d3340748cf105624142f2241d55495905f61c3f5842eb9abfb70e8' [crates.aws-sdk-dlm] category = 'AwsSdk' version = '1.54.0' -source_hash = 'f93b2710021e30a8d8df104143cd90aac625d687eaddbfdb4dbee287808eada1' +source_hash = '3116b7f9e6df05e763c35dfd11b0ee08494aa1d7490b496bdeafbdff171c1263' model_hash = '935e58416d0dc7a5c5cf4db18b8aecb440003d21211fceaf241c339d69aa4186' [crates.aws-sdk-docdb] category = 'AwsSdk' version = '1.58.0' -source_hash = '387eb3444391d2de5f376e95c523018d954034e94eb16c3cf17783ce97ae4b22' +source_hash = 'd4f28d5a81845dfb08b7c47a323416cb1a452c4e07f05b024451d90a98ce99a7' model_hash = 'b611f656b4763527dad8296119887dae0a9695c2a5a5e492806b4b54a88933b7' [crates.aws-sdk-docdbelastic] category = 'AwsSdk' version = '1.56.0' -source_hash = 'cf773bb552846cb43cd0c0b1af21baac2f6ac4c5fe3a7511acedf9959657a586' +source_hash = 'f7ec88aed1930b7f93d2957d447e250d03d089a2ed7c2381426f633b66f1ecc8' model_hash = 'b9fe9aa9998785dc369f6b76a9a6c6f99e1402244354af30e423b047bf1cff7b' [crates.aws-sdk-drs] category = 'AwsSdk' version = '1.57.0' -source_hash = '31575c4207c71e2aa76b65e4830e195511228952b492501634af6811e1fb038b' +source_hash = 'd1b7d86d38920274a35a5be257da4c3ab50d15f284267a5d641397a6bcde207d' model_hash = '8fb73e1979de38a6fe2ffed3fd6295dac350ef807a1131d8cc093b73c3d80ece' [crates.aws-sdk-dsql] category = 'AwsSdk' version = '1.4.0' -source_hash = '9043e37f3c4f1218b5d847054ee1395bcf05fcab1e0f6edff4f9fd8ded50eff3' +source_hash = '09265470da93b79b7e845bae3c40394455bbe00402d2f4fa7d14a7e8f2b50ef0' model_hash = '7a381fa88ca7b27bc89a9ccc9829841c745f98706c6b7c73aed8432dfe9ccee0' [crates.aws-sdk-dynamodb] category = 'AwsSdk' version = '1.60.0' -source_hash = 'e160df72bc2eb5fd07cba958b7e960369a027ed7221e36c92c9281dbfc02bd8d' +source_hash = '4d99c34de06ba891e047a90d0622fadb52071870c305013adcfe7393130f6f16' model_hash = '706a2c6fd965a2838b8a58a9de623459b0f6f2c7033661dc206112730f6c8831' [crates.aws-sdk-dynamodbstreams] category = 'AwsSdk' version = '1.54.0' -source_hash = '7fa266be059f306625e70feef44531a5ebb5563d7fdc73932323743e8b85f777' +source_hash = 'ed1923a946074a6a89a63406dec5945936594100e44b8aa0c68c02c344cbc9d3' model_hash = '508c489fe7138b1db4f13650f3dd7dcad2fe2a24e9ec7c6fd4dc56ec7b2a6afe' [crates.aws-sdk-ebs] category = 'AwsSdk' version = '1.54.0' -source_hash = '0475e6a3cfef12dcaab095f9dee0c1885554840a19b381d4ae8f5daa5af7c2f5' +source_hash = '323bea9c413c0a3fdadb8364b101e1a9b8d66e9b631d891f7029b9fbd8d3473a' model_hash = '5ec7004d46e2bb30c8d974da3846e960c6d52a00307ee4cc8a62b95566a1fc84' [crates.aws-sdk-ec2] category = 'AwsSdk' version = '1.102.0' -source_hash = '47eaa8dcca0d702fd9fcbf36cf747a3a1ac32e085e86dedada018b53b8249e8d' +source_hash = '7e7548eae8200c0bb87d3fce710b37bb7d519c5576d68b4129dd38cd1010ab91' model_hash = '815961346367fba3414ba719676a62ca4f1d067597fb9fb52f34d93204e42c43' [crates.aws-sdk-ec2instanceconnect] category = 'AwsSdk' version = '1.54.0' -source_hash = 'fb2d00929e3f5ae9b9c81c4b6519262165ac2f75e78d76f1b7481e50b61b8788' +source_hash = '3d4aa84843dea7d9c80a7ce797c4a3bd89226a7b16d1abf8a6af3d7f409506b6' model_hash = '98c64ac19e5b1b6d648e7f1555abd77e32558f86abd1a37ba610fed06c0e7ca4' [crates.aws-sdk-ecr] category = 'AwsSdk' version = '1.58.0' -source_hash = 'c327a8f4fd9dca5775df7dcd43a906e466e1459527fa9a4449424820f389ea48' +source_hash = '6d24dad794b4679487189ecb9aa097603a6fa591fc9f4f05d8ffbe785e4d0b71' model_hash = '4aa8add93dd731a1b943f4bbf22683de55f7a8fdb7275a08acf9f8934a45c6f3' [crates.aws-sdk-ecrpublic] category = 'AwsSdk' version = '1.55.0' -source_hash = 'fdd75d8c13b317572f85dcd51855cde27db41a4b2386dbc845fb3814f5ba8b3f' +source_hash = 'ea08736274751fc31bf1369c8ac295096d15a0f100166dd8aac0b0e9ff49e27e' model_hash = 'b6e23be351cb44f9f2b57d80f227604694a8bac84ed1467add8d019c824ac349' [crates.aws-sdk-ecs] category = 'AwsSdk' version = '1.62.0' -source_hash = 'a63526c0ba27370138f5e1edd198c3ad88997a6103e07e5611566907fe413648' +source_hash = '47261650383a26b56d7a1dcc8b4a738aa2918e3bf485c60156aa88d52b446923' model_hash = '53e8349c6672e0227ad9a03761c2b09fd2f33d8687b21d2e696219bfaa971e89' [crates.aws-sdk-efs] category = 'AwsSdk' version = '1.56.0' -source_hash = '4151a92d141fc8646e9af2a4e4bd6a46a87ab6e651dda9576fb830783b7c6c98' +source_hash = '8eceeb63157e98d86171da44454441fa97fb80c3f6b9943d516d7bce807ee43d' model_hash = 'ea71b104be7928f6d09fdf34db39f80d4454a780359660ae804b7a161841762a' [crates.aws-sdk-eks] category = 'AwsSdk' version = '1.67.0' -source_hash = '7664a5b00a0c97baf5951140af843cf61e0ca7a68f525b03325b7ac2f0aed322' +source_hash = '9de25d7eacff95f77e012d6e06dd467b30c58892d6dd5a9bf7f444e598c562b4' model_hash = '543106788d9c4ff708cd63d2906aeab04daa2b0e53be6d9f28d07d306ccb04ab' [crates.aws-sdk-eksauth] category = 'AwsSdk' version = '1.52.0' -source_hash = 'c9acde1c93726aadd18b222b9eab4fb26098f079ed15bf7bf8e950c675e6be2d' +source_hash = '8dc178bb3691dd0b4610fb627fcaeb7a72696ef5a46085f7502f80fe6ac79164' model_hash = '5625a9633fc7b484b461f531792a1dcfa447e92f65815e55ef86e028221dd038' [crates.aws-sdk-elasticache] category = 'AwsSdk' version = '1.59.0' -source_hash = '5c8954614984b9c1cc5e67cab2c413500962f15eb4c21572be1504908888ea79' +source_hash = 'a38794ce1b29af22f265eb71855e7e9411a2afa21fb6c088f3393acd5d9110dd' model_hash = 'e1f5c4fc426e6f57b3083845014b431a207075e4f952b851fee4f214cf0679d5' [crates.aws-sdk-elasticbeanstalk] category = 'AwsSdk' version = '1.55.0' -source_hash = '1e18a8ce2398105e553d617d3a91c32338c10015af8d0772aa240af089469347' +source_hash = '7aa4fb870d7b3b73d32936c48dd30ed6c0f6c6d44d7a39d6ebec482fc0c55a2f' model_hash = 'e55bce3fdf06277dce4fbe4512bf5caf9a0c369b23608f66e24113e6dba91b75' [crates.aws-sdk-elasticinference] category = 'AwsSdk' version = '1.54.0' -source_hash = '7af232b70b0b3837757acb16aeca54c6f4c5e7296d41fe65be18fb513ff85ad3' +source_hash = 'f3775f39f54cce70561b141a6dbb8ff3298527b6f7149596da9f5c7be1c0f0f1' model_hash = '1732892152c88440b079cc2b2c6ef7995e996b9ca398d36d61dd36b2ea888887' [crates.aws-sdk-elasticloadbalancing] category = 'AwsSdk' version = '1.55.0' -source_hash = '877a006a1b257a2b4a9db9cf5a3b4dda8aa7632cf48125e606a64185dc9a011c' +source_hash = '172a5822109f2c47c8e6bacd88c97916821ea23c04aa9b7eb2b3bf5a1e724182' model_hash = '7f91a38b80c50460dca9144e3bf6fc8e10873598c7607b1f63642c6c75c7d8a1' [crates.aws-sdk-elasticloadbalancingv2] category = 'AwsSdk' version = '1.62.0' -source_hash = '159eba7ca6882b1e4eac5581fd1c5b98438c8840d28c4ae9663953cae01a888c' +source_hash = 'd50ca42a3ec9538d18a0a36a60251d661a5704d5fbfbcfac4d654ebad4357445' model_hash = '86f174c4596d1d251ea37920e32e0b59f6ca208bfc2e7a289ac0dc6cb5618e0e' [crates.aws-sdk-elasticsearch] category = 'AwsSdk' version = '1.57.0' -source_hash = 'e85d5d8ad0bb99ab51dbb086a76c3f40493d60b25b46a14964a2193a46276168' +source_hash = '2955153a7fb172bd71e9c6044c06b42496deda733e8f3c40041f7a8d57b4f8e3' model_hash = 'ded061c95ce077f80122192eccb1583fe814c598ae681e9338f44b17ff506265' [crates.aws-sdk-elastictranscoder] category = 'AwsSdk' version = '1.55.0' -source_hash = 'ad06dfe59cd1a4298a22a1a9b28303a38745512dc7764d480355770ce6be6142' +source_hash = '36c891af1e4d864cee525163231fe6e8b6e883531eb5e5316690e454ae856e73' model_hash = '6c1c1db4ee5d4030b2cbf681db8bf4cccdfdae9a32cac73ee86fb7329c167049' [crates.aws-sdk-emr] category = 'AwsSdk' version = '1.60.0' -source_hash = '9c363415f622b4f1b79a16473302c5c411e898537d5f6b2a0b7ee7ec4e9901c7' +source_hash = '7dc2f12d8552d6bdb549de685707da6771ef2ed919d442e06e4325a447aa13a4' model_hash = '5336a58f8d5ffb866e72dbdd012601369f43eb18af2bcae341299a0b18ecc768' [crates.aws-sdk-emrcontainers] category = 'AwsSdk' version = '1.58.0' -source_hash = 'ca9b2ec462a90ad83b0551b950837d43cb53786199badc19df79f9af13ee0614' +source_hash = 'c8cd8365bef1db38e53bf0e20b3ac4b1932983196e765d5923f5dfe9823c21f8' model_hash = 'e01331983fdcb25639be7ab206764bb644f490965875e69dc078c0e6f8ae05fc' [crates.aws-sdk-emrserverless] category = 'AwsSdk' version = '1.59.0' -source_hash = 'abb786c2d3c9bc8b55bb108368303657e4772d3391f79ac7de707b09eb4e1df0' +source_hash = 'a9dfded0e39d75af5d18d069a5142413cd97027c2bec982608070dacaae5c2a5' model_hash = '64485f2ea9e5843c21651e45880e7c0011e941aa038381c77be542d5b5247609' [crates.aws-sdk-entityresolution] category = 'AwsSdk' version = '1.58.0' -source_hash = 'b91d2b57ff40520e3a898c5796011ef2bb210c5eb276aba2908cd2d7ba12488a' +source_hash = '9e5105aed3b0815a41d8e8837a7fa1957fb7004f25d0572ec74023535a941718' model_hash = '8c37e22f177aebd819c4901539af64454a5e77407af044725d81b20ffb75d7d3' [crates.aws-sdk-eventbridge] category = 'AwsSdk' version = '1.57.0' -source_hash = 'fee63476729ae2ab6ebf0ca00e7443cb9b4b1c5f072f0a1e6b7953434a16058d' +source_hash = '08411f3cf8beaf0224858d8a181c9a74a276b2f8d11579abf4ae4616cfb5aef3' model_hash = '07de6cbaf1b8525f1f9b65a010ab466db179492fd0eafc3945745a7f710ffe39' [crates.aws-sdk-evidently] category = 'AwsSdk' version = '1.54.0' -source_hash = '9e66bb512490ed7a3893841a2e73f1bb8499eaa7951dbf70ce294e39dae68c81' +source_hash = '01bc2c07d5c02ce72d66ff2d17657df7dcf3cef3ab22989e1175b3c1869d6304' model_hash = '46ccb563d968d97801d539b55901e369c43eb44ec86ad0c6aea95ae44317eb44' [crates.aws-sdk-finspace] category = 'AwsSdk' version = '1.58.0' -source_hash = 'a60988cee6366ec88cbd742a9c4f6dd4d123dcce556d3acb34c182097158933c' +source_hash = '5df088d032a69a65bb9d238a675ac7aaf0e418085ae10f0213e956fd6948a6f3' model_hash = 'a0c16902a167b77b05bcd3743d615f0638614e50e79515b3b73cac889f6ba64b' [crates.aws-sdk-finspacedata] category = 'AwsSdk' version = '1.54.0' -source_hash = '361638b4022c219b5637d8fcc8bbf01e6c48ca831f5743a9b6ea8e3ae9180dfa' +source_hash = '47b3d88445930090436aab3a1fdd5d032106fd961281d5717a8875b9158d8bad' model_hash = '7f6485b3b7f33a01ea75793400c905e7e18daa4a2d67f26456bc700c119455ed' [crates.aws-sdk-firehose] category = 'AwsSdk' version = '1.60.0' -source_hash = 'f6003cc9aed795f2e3ebccad76b3c965429d356b9d52fe7094b2f95031382c88' +source_hash = '639c84d6bf37583b8cfb034645980cbef4b89dd70f705affbc47ee2864971235' model_hash = '2dbc2371c562a74d66d56a9ba96c97ddbdf6a40aca6041ea1ed8c894bbe1a635' [crates.aws-sdk-fis] category = 'AwsSdk' version = '1.57.0' -source_hash = '37c70fa80468565285d20f4fc75f2018dd0574026c46fb4c320c5d758b6030be' +source_hash = '6deabe3aa4e66cdbe6927d6711af90743b92120419514e7729df5ad877dab1ad' model_hash = '4c35149417b304cbc093f3f225af3ade1c6f77c1ec7f40c7ee38ac3ce505dd2f' [crates.aws-sdk-fms] category = 'AwsSdk' version = '1.59.0' -source_hash = 'f57eec007fb0bfa119f55b640db7a1ae8196a48c4ea0ff4f563813277b3db3fb' +source_hash = 'f3a31820dd79cc427293f75fe4e52ffa502d600a777739ec4a22af9d8b28ed2a' model_hash = '5bdc8fa9c74b8daf4bedf1c018b4ea7c00bb86bf441a8700a29feaf9bc229180' [crates.aws-sdk-forecast] category = 'AwsSdk' version = '1.54.0' -source_hash = '0b799b2d405b2789c6673b875a3ad0b3f3696d6517e702ff8a1e69aa01bfd48a' +source_hash = '445a188ba7ebf0a7d6eadf4d8c635bcc6702c3cea8972499632514974e8e8a03' model_hash = '3c92c6c2c8844f08d25fd063a1ccbb94f0ab0ea0f1c1c3469adcf7c870d8bfa2' [crates.aws-sdk-forecastquery] category = 'AwsSdk' version = '1.54.0' -source_hash = 'd3b1feed76fb620213e9aa520adc4f4232c1e987d378af5c2a61725cd611e624' +source_hash = '8e79dc5e7b515347b300554a12af7e225fbd03cc71b75ee4eb5f8aae059dbcae' model_hash = 'cd74ffeea730f02e0805832659d2d88713e61d588faae22786d41261205841a8' [crates.aws-sdk-frauddetector] category = 'AwsSdk' version = '1.54.0' -source_hash = '53fbb409f66a73171a2c2ecd83e1b4da384c4950c0c8e45e3eb2ed3d267e7b8c' +source_hash = '71258a6016fb12bbe087d62ef38fc33fceaa50593e66a2265fd8425a505d1480' model_hash = '4a429ec61afe2d8f7f9acea01da3c7a57bc65443c0f93325600ae2cc58109084' [crates.aws-sdk-freetier] category = 'AwsSdk' version = '1.52.0' -source_hash = 'd4ca2a36575634b39bee7bd3a25aad41d6fddbcbdaef801e9f540d311b788622' +source_hash = '014bc5fcb0d37fcab9022688b8441a848d87a22e7437347781ee5b545e46e576' model_hash = '4a7fa6312753c4f167f61399f428b49f35283a29bf54f8c0c128ff96dac00471' [crates.aws-sdk-fsx] category = 'AwsSdk' version = '1.60.0' -source_hash = '2896bbeadb13b641715e07af3aa71a3ef8edf298b3370a64553cee75b9db2175' +source_hash = '6f95bc9343e59e331f1718e0ef5f4ccd6f7bf351c77e5e3ae8e715d962f2c676' model_hash = 'ce009ea819a6dd1c71fc1963f1df0ed0fb3abe3895d7b31d61e0c78d7b330f7f' [crates.aws-sdk-gamelift] category = 'AwsSdk' version = '1.60.0' -source_hash = 'd6416c8dcfed63f2fba0f1e84532cb10ef6d5acdcf97d61427415ad916baf77e' +source_hash = 'ff7bf78feb344d0dd074b26560ab29b6c20a205aaccc8f3b68cb73c170127c40' model_hash = 'df7c3b978a45a2c4c3c95cbde28deb0b99225db9834b118881b441fc8a48008d' [crates.aws-sdk-geomaps] category = 'AwsSdk' version = '1.7.0' -source_hash = '8d2d21e5fb2f50e12e9da27df91a155d7a68f1cfbe640d23eef84e0da7bae301' +source_hash = 'f5e915d876073687ff0f77033bea73895844fb8a7828b3e4131fd40adf9a1c69' model_hash = '1e5d2aa8417cfcb9efb4ad2d774687dae7c2ee166085d3008a07a4798e0a2de0' [crates.aws-sdk-geoplaces] category = 'AwsSdk' version = '1.7.0' -source_hash = 'eb66902e838eccfb523302851b16c4612817b2598343c45d4698f767cb4c1b87' +source_hash = 'fea2232a87c32b18763c788d7466d3478deed98e75f2887c386562c6eb0f50ad' model_hash = '135e5bf5462aa28b33e659761736504cd15040474c415bc24885042e7a857f7c' [crates.aws-sdk-georoutes] category = 'AwsSdk' version = '1.7.0' -source_hash = 'bfc33543c872a770fc619c890ca5c4efe509c8c57756438e4201730ff4a9b755' +source_hash = 'e49462e969d62f8a5bd7348ba3e922d650b0b0a6475fe0bbf33a202a5c7a91c7' model_hash = 'be64beee3e9e6da40ce2ceb1afdae90b912b5234b2da6aca09e55535dca4758e' [crates.aws-sdk-glacier] category = 'AwsSdk' version = '1.54.0' -source_hash = 'cb889e90f7e84048452fd5d6ee6e980c7e661f9908796c703fc2bff0609e2d09' +source_hash = 'b5c9f824c70aa544c9eebcd240407b9fa26ec6f18b2c8ac45d8140d7ccbfc7e1' model_hash = 'dca44bc00b97fbb20fbb7412538d6aa5f7ff23a66ea8ff12693cdd6c869ce299' [crates.aws-sdk-globalaccelerator] category = 'AwsSdk' version = '1.56.0' -source_hash = '6c217f1737b7a48fb78b6f17af9d2e8e5949a8c435d98189de77971a1b0fdd9b' +source_hash = '8bddedcb007f0267d9e0af3179bd74d9b0bbecdec4d930c6be7b26480778d331' model_hash = '7a8bc11f1498fcf202e15dad74c422522285ca4c8f290e50f7d08d42f31ccf26' [crates.aws-sdk-glue] category = 'AwsSdk' version = '1.77.0' -source_hash = '7aea75da225f7bbcc166a0d89ab96e497b9a0e4006e225804b8d62207a9d261b' +source_hash = 'd5ff5f43bdedd3fcceb4d7cfad2c07a7b3f270d8ffe50040a7b90727f3f47633' model_hash = '93b3fd161bb3f414d21d9091509bed6ac27762aa9c0dad744327be74bfa6e1a7' [crates.aws-sdk-grafana] category = 'AwsSdk' version = '1.56.0' -source_hash = 'bd50478c2f266be60b76973d69f9f5b50c255ff34cf7d3104216d6d235e020f6' +source_hash = 'abffea0955656afc15d0f5b9ff33164544f155b41d94b6dc1d284997b269b9ae' model_hash = '45388b4930a5d5bea7684f3324feeb0632f7b6e581fd28d90c6e39a88a46d129' [crates.aws-sdk-greengrass] category = 'AwsSdk' version = '1.54.0' -source_hash = 'd0b1d864edd09c24b0dade2f0eafc236acd0b5d810671f988ff42c93eff3324b' +source_hash = 'e5aa430cf00ce875b54344645ab4260790f8c4ccd71f3682aec3fdf0414949f8' model_hash = '8f3a10c55aa9df63e30165c77677ef2e9648dd03d3cfe4105750a626c83a22df' [crates.aws-sdk-greengrassv2] category = 'AwsSdk' version = '1.55.0' -source_hash = '837b0d7adb89282e29d24b93bf4f5a46a41c3f26d0859bba57674d9f8f341751' +source_hash = '348faf8709e2175c2571eb84521bfefa237c5c6953dcc8becbd06cc618a315f1' model_hash = 'fc1574a6c07a9454870cd252b339ec90dd650a31d608904b791612e4b29bdd4a' [crates.aws-sdk-groundstation] category = 'AwsSdk' version = '1.55.0' -source_hash = 'de95f176928dbb423642d7f8f15ee253d66cfe916382eeb08f35f27cbb501420' +source_hash = '08345f82c95ac4048bda58455556bfd1a6279adec20e1d91f552e5fcaebdeeb8' model_hash = '2c97f5de5fc40115222b8f4b2eadc768ed5f4107083921c1a4efc05ee74ad219' [crates.aws-sdk-guardduty] category = 'AwsSdk' version = '1.63.0' -source_hash = '12c51d3aad2ff9d41004352780816dc655ddc43a0143b508ab0f771160fa940d' +source_hash = '83534f01f5b9c3f5ec2a985b07745976584cba0d261fa50cb1e4109a94fd9bf2' model_hash = '0d67f379cb4dd3a129be28c9faf85de0ca1944c911cb6bfe78f91637fbba833d' [crates.aws-sdk-health] category = 'AwsSdk' version = '1.55.0' -source_hash = '279da4901b6c367f4123642d0dfd0379c8093b0854fa116318c37c1ee4b6f8ee' +source_hash = '03a85ed8f7bf994ac9f767b5e82a080880096785df6d85e8b62ebbe334bc7282' model_hash = 'b03f4d964045f67a61ccc9c23125b54d62580cf0417e39cf5e69cdf107a6ef95' [crates.aws-sdk-healthlake] category = 'AwsSdk' version = '1.55.0' -source_hash = '0fdbdeb70c444fdf1f7661aa9b93378501d1adde27109a46d4d02f7e300254df' +source_hash = '11442a8aebc0b1698c7100938a08ad220219bd56747162e4a5d519d314daf21b' model_hash = '6a39608a02b9eafec57c1842eee8fe75c075a1ac4523bf3f73d62e7292783218' [crates.aws-sdk-iam] category = 'AwsSdk' version = '1.57.0' -source_hash = '0c986d35944be5e376d25f99b13cf62ba72a50159daeb7ce2c812e47afcca26e' +source_hash = '5b2909b6e302a045ba56daab34c219d8a588d8312b4d2a9a05802f8019fac569' model_hash = '6d0368e38f65e2b58ef40efbd00465df7c7264c1f9faa6a3b544ae1f01970a90' [crates.aws-sdk-identitystore] category = 'AwsSdk' version = '1.54.0' -source_hash = '999b81ef020ced0739d36d600471e8d9b532af78319a201ccc863813113d1998' +source_hash = 'ffc38bbf5aef417810b4cc5582ffc0a2005a778d761d77cc70e111dbe3821de9' model_hash = 'abd0728cd0c7060cf5e676f42e09b2a177eea6729e727c62b19b84e35304f7b2' [crates.aws-sdk-imagebuilder] category = 'AwsSdk' version = '1.58.0' -source_hash = '30fa4297ddd03eb097367099daf698f7a672a1d3c341e03c07cab470e7b11c2e' +source_hash = '5a2b2a41da5443ca168e6ec2266a21be4338bbb633b5db9bd35577e1413bb379' model_hash = 'd6632ec73c4a3ff8cbfce5f66b0743b362ce86cada98e3ff234e2bf096e840d4' [crates.aws-sdk-inspector] category = 'AwsSdk' version = '1.54.0' -source_hash = 'b2b468aa0278c5e4172635e3fa5c39126456eb1badf46bb339334736ca0691c8' +source_hash = '87483cd1b13d7feea0c8c192103c8ec464d41c2584ec7141ecb41cd9316e3c8c' model_hash = '70886218ed0115b5c85b366be76a361d4b27fa844847e5a2f902cce0b8f7ba5d' [crates.aws-sdk-inspector2] category = 'AwsSdk' version = '1.61.0' -source_hash = '7077841094011fa3c2f80fdec55a72e309b010d2c39a61865236ae7f9a425b6f' +source_hash = '297134e66724d485aa62173e44b0fff9c5accb7b7dcd1dc2ec7abaec7229cf33' model_hash = '844b605bd2ab19192c1155f06cd44a4a6d57091bbb37e9d954b9d5927e33e4c6' [crates.aws-sdk-inspectorscan] category = 'AwsSdk' version = '1.54.0' -source_hash = '528c262098521d286f65f9d8c5f34b6a41fe0c2a07feec9b8b2d80b9bb8a7e96' +source_hash = '1a1f24289e7b3feff53d9aa4af79f67180e5080bca1325535f08d88fadbea177' model_hash = '2caa013a9be3248e6f9d486f9c939588dbd041fb54938465981cded9a212bb24' [crates.aws-sdk-internetmonitor] category = 'AwsSdk' version = '1.59.0' -source_hash = '031c9546e4808655b383696d272eaee7f09e5c0161dc2c7c4e490cc4d72a9c23' +source_hash = '23fcda323cb0b1cf98e1072d5b10bda6f298c9dcd5487ef97d9ae3b5614d9b68' model_hash = 'f93adaf1c4787e4f08b2e35c9a47fac2579807caf7736e7d3d8ad85163ba1e20' [crates.aws-sdk-invoicing] category = 'AwsSdk' version = '1.5.0' -source_hash = '06c9bfd9ec7e838bd038c1382784e4c3b9660fd13895ca61ef6441b48e3098b2' +source_hash = '3675e812c199af5eb3eedce736a2b0f5effd50badc068b56291312f77bd1c1d0' model_hash = '5c3d7555fe8a22c7acdc7dcbbfa8f149c4a29f5e6c6ab25d89aecf93f3a6cfb9' [crates.aws-sdk-iot] category = 'AwsSdk' version = '1.62.0' -source_hash = '1093c325b1a041937e44e2a1692806d19cb2f8d506c134418020e0d5bd8a7eff' +source_hash = '7eb914c084e55121e1c16c138d9167bcca3bf1f7ee41380a7155b29b5382dac5' model_hash = '8c0c38e705f11ee5c04d981f20cdf6cfab9eaca1a76a85d0c938c1f9da8ce6fd' [crates.aws-sdk-iotanalytics] category = 'AwsSdk' version = '1.54.0' -source_hash = '76f5dd979f8265ef5e2e91874d9d0021933dfa1fa2b3ecf61f74a2380441d590' +source_hash = 'eaca5ede49f2fe5286f217e7ab6aecd40a5d0dd5dee571286134bb90e1e87eb4' model_hash = '8b7402d76f582f5fa80d28816367eb766bf53a7d78502626ed14defd1943e0fb' [crates.aws-sdk-iotdataplane] category = 'AwsSdk' version = '1.54.0' -source_hash = 'db268f5b523a575b7a4da442ca1539cb14fcc3c0c38ea2f2a129e371e231dd53' +source_hash = '336d47fcb2bbbeb0102310e34754dc59b80c5f2460a88dc2cae13ccb26369e03' model_hash = 'bd0477aea3b327ff1360119ae34181153984612148c4efa99c99df9feb4884ba' [crates.aws-sdk-iotdeviceadvisor] category = 'AwsSdk' version = '1.55.0' -source_hash = 'ede2b7f3211e47ad5bea845da1e1d36d90aae8542dceba6340ee277e8f4f9b43' +source_hash = 'cfe7d638b8a2046cc24b8333d4e546c5ad4095f849699e75227ae5d8335bf667' model_hash = '99d32f01133399392aa3da0f7b077acbd6b0b79b691072590b0f38a1bc638d8a' [crates.aws-sdk-iotevents] category = 'AwsSdk' version = '1.55.0' -source_hash = 'da73f2dfc74450f4320e38425318ce3ede1210557a80ef915bf8abdf7882c1f8' +source_hash = '8048d9bca85593e871bb6b206c1a2b261b42285d4e4fd7f547c0d6031b4c85ee' model_hash = '9ccbabcf94662e87248d6f723c25fe396c8275c1d7f8f8ea0e724628440256ea' [crates.aws-sdk-ioteventsdata] category = 'AwsSdk' version = '1.54.0' -source_hash = 'e556c06aa5a10c729233d9ee07b797e1db118da175e31e69ea309886086e88bd' +source_hash = 'ecff967f623f036014e06f440d627d89137d635267886ab3ca8d4986e8541ea5' model_hash = 'a492223e4a57806608f4d604075e4b24a6704eea1f1cad70cb9fc77c9f04c9a8' [crates.aws-sdk-iotfleethub] category = 'AwsSdk' version = '1.54.0' -source_hash = 'ab19021168733aa396328887e2cc350dfd1dc909223abca3f944cd5111a38337' +source_hash = 'd877625221667b7c268cb3dc31ce94cfdeef4b8541ff63671dcc263dc5d093b0' model_hash = '445ebd849fd5c7031c93b5e6f57b120d23bcb3ea42ac713b4ebd321203611c2c' [crates.aws-sdk-iotfleetwise] category = 'AwsSdk' version = '1.58.0' -source_hash = '447978d3b98923d7b9da3b7d6f76465f61d9833a677ba8968f79b1cd232d489c' +source_hash = '03b29ecd4bd13fc0bced71bbda8dc300185eec88555e95ca064423c86e447d0d' model_hash = 'c622adfeaa15bdeb4d85ce19ace58e389fdde5745b7665d93d6a243cd0e50a61' [crates.aws-sdk-iotjobsdataplane] category = 'AwsSdk' version = '1.55.0' -source_hash = '9a542403845a9d45138b247c55d4be702e6f4343d8fe049ee72d25a1508aa778' +source_hash = '11daf8de50d261692e78cc625a291d61e0b733e0c8a251dff1a894299b7ed274' model_hash = 'c4126be16b6d43e2349ae6a696f7f9d847ffcf6bb7be402d34bfa67b8d594fa2' [crates.aws-sdk-iotsecuretunneling] category = 'AwsSdk' version = '1.55.0' -source_hash = 'b6a34aacd8104fd5ca3e75df8102b1b4c2389dd6b352deb69392201ca76535de' +source_hash = '980b0a0fff498cb655848a92285fbb6691f699a8602a78d18b0351388891eaba' model_hash = 'a50e88f56aec6aab4d3952c5f4f23721ab2723df19046fff5d697b0ec092e4f3' [crates.aws-sdk-iotsitewise] category = 'AwsSdk' version = '1.57.0' -source_hash = 'e77b20e829677b071fa55da64d5795f38d8579ab700bb5c5cd18d429ffbef99f' +source_hash = 'd0c04517f2b2ca289b45190549826a4be6d6c5ebc2a615669086596139023f8b' model_hash = 'f1527ec2e6907a3a0966e6294347d4a0249866d34fdcd7e0ff022becc67638e9' [crates.aws-sdk-iotthingsgraph] category = 'AwsSdk' version = '1.54.0' -source_hash = '5ec186bc18e847bae678e806943a6fca0306df4007c6900a4c1566e443ad6346' +source_hash = '27c22db7aad38e662399356ea8cdea7548f6d42fa7726918c199e79c26e2004f' model_hash = 'd6c9b8a53d9eef739f2a7aa03c80b5bf7d572b551172dabbd429d06975d9855b' [crates.aws-sdk-iottwinmaker] category = 'AwsSdk' version = '1.54.0' -source_hash = '19f555b4a6625eceb0ecafa2e19cf9ba266317ab0d0eb36b18d9da27bc0ed94a' +source_hash = '6297c81ecb85023c96648c04110c08f5ea513c39e0dfc4ab48f1b70c7e70cb4a' model_hash = '98b47a7ac187f7010d7e41ab484e78c12e1968053677f414c2c854bd2401cac0' [crates.aws-sdk-iotwireless] category = 'AwsSdk' version = '1.58.0' -source_hash = '72a7b415330b17ccdb697841ee0f1ca3cbf695e1cb4a9b8f4f6ef9a8bdd7da2d' +source_hash = 'f20869edde2a071afc21ff9c590faf855e10e968185bee6a5960a5dfaf8ff0fd' model_hash = 'beefea69bbe9cabac11d34444d1d48709ce00af123727fd50da3e31f7245f776' [crates.aws-sdk-ivs] category = 'AwsSdk' version = '1.60.0' -source_hash = '7c49dcb8732d607dc02bea85daee8f31b755c985b8ded23376488b7755d87c99' +source_hash = 'bfec5c61946b6b54de53bdf865b5de3e8e412f97b07e1fda73870fff7126e277' model_hash = '0fff19212b73a707eb88f15dac8a0a8cc9340b14e822e696c96a1d751805edac' [crates.aws-sdk-ivschat] category = 'AwsSdk' version = '1.55.0' -source_hash = '4f68db76d0465ec7c887e46d69081b582476ac05331ff73557ca8e17dc04f06b' +source_hash = 'dbbcf6c00d64872b7dc1f26b09127a42c5abaf4261cb8c991a320f6de7dd92a5' model_hash = '8b1d12eaea48deeed8e7048d8b61c17cfc1d620a6f71e3b4db6ab4bce3970b78' [crates.aws-sdk-ivsrealtime] category = 'AwsSdk' version = '1.60.0' -source_hash = 'de4b82eb2d0b30501a828b9c2d64d65f14478678a2d514eb1c68100457181a04' +source_hash = 'dc9db308ae39d02425ad8ba549c02f3e47aef471ca4f4bc6abe9e3dd49724526' model_hash = '42274badbfe8f0a21c1a93efe58f6a54ef939d1d2d688dfca1d42718e8b480a0' [crates.aws-sdk-kafka] category = 'AwsSdk' version = '1.58.0' -source_hash = '85a6b3da39993bfa140ecda79af6816d012d5aa3ff22427aa600708303ba946a' +source_hash = '5e619388292de9e0148c86957962d35b05d35abe94eceeabfef22740da53e4db' model_hash = '955e0d0a0f73641c11ce9df2ac7e71c565c58d422f9e420588d97e527bfa6290' [crates.aws-sdk-kafkaconnect] category = 'AwsSdk' version = '1.56.0' -source_hash = '32d2e145bbd67f6ae2067b728bd03ece9c4edaf5ea0dfbf7bd37f8832e75c86a' +source_hash = '0d5312268bd9b5c03b9e622edc12a8b5938bbb1f37290d204d6e59a4f4dfbffc' model_hash = '1f323f94f41d986c40ef7618c0876df4b1aac5c9539313a7039821dccb98eade' [crates.aws-sdk-kendra] category = 'AwsSdk' version = '1.56.0' -source_hash = '6042efc23067c078989b0e2cb4abd3212bf2ab9b5a08d85ec174a1eb72826977' +source_hash = '279b5e11adc945e91f6672c9ebf9b9c0c3357e72ad9d93ab3604b5b44b04ab4a' model_hash = 'a5c9de4cadbf8f25ee696c8c336285bb2379cf8d24cbedbebb85f3603e0f1efb' [crates.aws-sdk-kendraranking] category = 'AwsSdk' version = '1.54.0' -source_hash = '6fa6033ce5a7f574ca6a12b79a857dc69fae6d8bc19b05b1dfeb8fa08783173c' +source_hash = 'cfe98ae39a5ee0f651fe661358bea6824664200f20814c8ceb9acb671c26d34a' model_hash = '1dc43d3164c0d60b6fff3ea824b56a6e5213bb665812174fa1754dc554bf727f' [crates.aws-sdk-keyspaces] category = 'AwsSdk' version = '1.57.0' -source_hash = '2f8c259128d96b941b672705d21b9a43de1787320f146696508b37bec64cf0c9' +source_hash = '0cafbc8b5a9fe2769eccd7cdac6e7d1c5a16ea7ee3c6f7c8ce6d0f8bef7d60dd' model_hash = 'eb0fa6aab953c482cade0d1a74d8458672c3b871eadc0fba2cd647add2bec765' [crates.aws-sdk-kinesis] category = 'AwsSdk' version = '1.56.0' -source_hash = '25c7b052678512c3f663c13ea2f34988ca9537b277e6348d49b8808b8f46da72' +source_hash = 'b0a97dd7e0a36a4ea80d566ee1fd560296b1c49ffb7bbcb5b8013edc50ecaef4' model_hash = 'abf1178906fa8c611da544d8678f059ce021a1311e8192af4aca1b8da7ec2abd' [crates.aws-sdk-kinesisanalytics] category = 'AwsSdk' version = '1.54.0' -source_hash = '5d3d875a7c456795471898f222363aeb9cad274380f38eec24841072c262eb55' +source_hash = '92e4b9a20d11da0af5e8172305d7b1d8da38f23d141be0769239f66c6a784b83' model_hash = '494c858c1a3082e73ca9efefa8188ae4f43abafc2d3efccf9bc7bea48f289c38' [crates.aws-sdk-kinesisanalyticsv2] category = 'AwsSdk' version = '1.58.0' -source_hash = '382bae346930db22677e534a5809af257d6ce0e91316ecfd18dc77f80ee697a6' +source_hash = 'aa9ba11d8395d9d8578fe5d4114867514962f15493e0f1c0c6ee488f02bd8533' model_hash = '433204537e94a0f3300c532c216b0ea19e110c1e5ef3c91942e4f042de1fe90e' [crates.aws-sdk-kinesisvideo] category = 'AwsSdk' version = '1.55.0' -source_hash = 'fd9bc5a1e9c0787a6253d66c09a86e9647834538e666d50a704c78ba0ee0299f' +source_hash = 'd4d74e522b9153569a50860486174bd87b93caa78045a2da039d72011f0d44c2' model_hash = '2737109e2095ba3e0257b5540756b05b5f49369abcb0d8a724b37a0dfe9c350e' [crates.aws-sdk-kinesisvideoarchivedmedia] category = 'AwsSdk' version = '1.55.0' -source_hash = 'b7d45c523f18cb4d820000d982b08cacd237baaa1168da27fab053042d08da70' +source_hash = '21b9b3188332399e27d41876890c2cb3adaab7034e2de79b22701c514c92bc79' model_hash = '02eef95d6727bbe68310100c8966aa979b37d38771ccb09f7f6dd5462e649d1e' [crates.aws-sdk-kinesisvideomedia] category = 'AwsSdk' version = '1.54.0' -source_hash = 'baa116bfad8c62e223f9f31493546ebdf8f7545bfa02650b05a3f19709fe02f8' +source_hash = '9a348881f40aa0a9fe6dbdfa4b737c88b46d906c8f6c31b62f9d407fc9d58843' model_hash = '671f36d68e0e0b0c15bc9fd98f50cdcf5578d20da693d49d6d590279ec6fee36' [crates.aws-sdk-kinesisvideosignaling] category = 'AwsSdk' version = '1.54.0' -source_hash = '467a89df7b261d1739ad4a47c6569cf5457c0a60107d42a1401971882ed75352' +source_hash = '4840ad392644eb3fe7afd7861cc24db0f040b85d559b5a7304d79847a8f579fb' model_hash = '7c4b92ed6a5934c6461b55720aeb89ee62a506f030532e26cb2ddf8d84b37aff' [crates.aws-sdk-kinesisvideowebrtcstorage] category = 'AwsSdk' version = '1.55.0' -source_hash = 'a59c4eef725b5bba2bb340a0f26877af5d3bcad07a5375b222e42f74fb85afad' +source_hash = '8821b8e1dde310bc794b26d11a2f1e8396ef2b86aac603f64a9e5e892b2b5dde' model_hash = 'ab864ee19799d8bd5f2a1e3ffe05edb0cd3b787eeadb1f466dd6ff3b95acf051' [crates.aws-sdk-kms] category = 'AwsSdk' version = '1.55.0' -source_hash = 'd82092d3357b0925cd99dbd2c8ec855823adc32e7791ea6b75f8b720639c891f' +source_hash = '2950ee0ed99ca347e1021855be251636536f123ea2f3962cb6cf2ba9c0dcbc56' model_hash = '323c47067b76444e7a3e8e162a90e92325ca666e74d68f6d16b6860b799f4b53' [crates.aws-sdk-lakeformation] category = 'AwsSdk' version = '1.57.0' -source_hash = '74e515c52a821b7623440b93ecf654a4b07793a21847e4f8867fa77cdb6b24cf' +source_hash = '37b04ab05382d5972cbb97628c22bc273a599d1e6e41f5ac65e6673e54c3b4b7' model_hash = 'c0d3c1b1f0568105e5909db803ff76389a36feb063d5c12f55fc63461ebc7a86' [crates.aws-sdk-lambda] category = 'AwsSdk' version = '1.64.0' -source_hash = 'f7ec9778bbe59e757b64638b6717bdeb6d825a22e7a757929840d3cd33253599' +source_hash = 'f57a97f04f9c87b191100b5556a4837bf6d917be1490e8a4134f841ed374653e' model_hash = 'ca6661fb2295f5e2b7d7400e87d1c44e8b6ca71d3b62c2684485793d06ca4869' [crates.aws-sdk-launchwizard] category = 'AwsSdk' version = '1.55.0' -source_hash = '2ed2e75747156f6d4d2e5ea8c9de707f63c81a2b7654119e0110596d38656ece' +source_hash = '6334a52b18ea01a14c4fba0db8125335e68da22536e37999c340c4c482122aa5' model_hash = 'ca4cec5f5ad4f42d1d843e75f54522589613c05353931976635558072b005f72' [crates.aws-sdk-lexmodelbuilding] category = 'AwsSdk' version = '1.54.0' -source_hash = '7a6665231e890e49bd23eb8c15e8bf5cf5d8dea4187a5533b4b1b618197dcb8c' +source_hash = '33c0fcc242373fa1fbb3c6f4be2c24146b6cd8f9673aedaddf0398446d2335d3' model_hash = '35c3a19d228343d030ddd9373b5bed448dc3d27fd807c3f716c95e6f30bffaec' [crates.aws-sdk-lexmodelsv2] category = 'AwsSdk' version = '1.58.0' -source_hash = '512dae1f5e3094bf8d8804fdf00c216712e1a1d3e6e6734075d48d13949bc74b' +source_hash = '6accb0be4fac65fc2bac23be6673ba41ac796b01a8f3eb8786d3d44617c9226f' model_hash = '590fbbf15947d084ab1f3d6cd00716bbd5f039f765cfacc808de0d11776e289c' [crates.aws-sdk-lexruntime] category = 'AwsSdk' version = '1.54.0' -source_hash = '921c43310b08a7d82de8c9d13cc07af9a96bc4cd9fcdb7150be5eb1fdaf5df79' +source_hash = 'e7e84b5ebae991db70c94c229a09b0f6da5a3bd6f05644b3eef230e52bf96ee2' model_hash = '596a20ac4ea87fa620ce112c5335a475c8dce6ebd097c824fc284a59d8d9e664' [crates.aws-sdk-lexruntimev2] category = 'AwsSdk' version = '1.54.0' -source_hash = '5e2674ffe5631724b2fa98d924f085f8bcc04bc7e77de179cda7ff5d9ccfdcd6' +source_hash = '5f6da91c8ee53c72468afd3bf87beba98202aaf547c553463692388bf70bcc65' model_hash = 'd652b1bc3e185d17736cd4ee27d84dcd5ef073fb77edb09d8722872b64c097fd' [crates.aws-sdk-licensemanager] category = 'AwsSdk' version = '1.54.0' -source_hash = 'bbb83a2f08d5d234a91c1228cf54f1007415769aea402d1af78de395838d1533' +source_hash = '93c1970ee3b83b9b4f5b6bc1ec63edb28391df3388cc748bdd573404cf4caa81' model_hash = '24fbeae2a2d682fff95e6a5b8ffaea36d02db2d983a60a420d8172596e15b2c4' [crates.aws-sdk-licensemanagerlinuxsubscriptions] category = 'AwsSdk' version = '1.55.0' -source_hash = '8c23068e0f3cce85eff37a120e8a0fb55648ba44ce2e1fd21d359a524161a3cc' +source_hash = '68bd10bbc5838dcd3ff3de48f65f95d38c36980d1b12ae15f5aa87978ddf6016' model_hash = '7c43a524389f318abc311ca9224b01cd2056473497898285394e83b8dc8cb87b' [crates.aws-sdk-licensemanagerusersubscriptions] category = 'AwsSdk' version = '1.55.0' -source_hash = '9a33672b0b0d0715b45a467bebe8c976564e52168a4ed59abe4c49a5a656f4ae' +source_hash = '5a96a0dfb85608fe08fe170fbc9721ec2d7e238497b14a14d8f0fa1f24c72c3a' model_hash = '4ee7601814f70e10656b6dd353b6aad57004b791d3178883304ad48b6ef3cea3' [crates.aws-sdk-lightsail] category = 'AwsSdk' version = '1.58.0' -source_hash = '00cf1105ba536dc9bad7c11ddb545274e0939ccb1ac14b7df768fcbbebd89228' +source_hash = 'ec7d2f77aaed2604651a5616409e4bda8af6c2a32dc434bdfab640ecebec17d6' model_hash = '20034586b4bf43804a277bc8fbf9906b8e87e3cf35eb2d86c4b8a24475a1d846' [crates.aws-sdk-location] category = 'AwsSdk' version = '1.57.0' -source_hash = 'accb72732accd45844d3f27688529c0bd11fc5ce7c8429d186ba19c25f1949d7' +source_hash = '29d0eac2338a4b0024165106d21529919792235214ece1eb58e9b8c8f5b95e73' model_hash = '549f6392c5362239d7495baed3bca82bcfbf494e7dd359421261fc5ade7a7850' [crates.aws-sdk-lookoutequipment] category = 'AwsSdk' version = '1.56.0' -source_hash = 'ce1bde64c03b22fd82c4405dc29caf121dba98c8b8c6bdb07479d58256609b76' +source_hash = '5fbbc05585dff60889429071c7e2c6b04d7b8d0601816821a51ea82c1d806b66' model_hash = '0fc423a89aa11cad2bf7fe8b8469a06ccbb8fb2cae9c9aa57e83e4701e38050b' [crates.aws-sdk-lookoutmetrics] category = 'AwsSdk' version = '1.54.0' -source_hash = '78907d475f8ab2b232ad37737c539e50936b6309608d6ba83e03b361b80e2a29' +source_hash = 'bcf8a7fa1f1a8716b07732aecf0c183f270c411613e17259f29b9fdcd95da831' model_hash = '6049c3732af55ae19aaca27dd9e669f7d3b99e3c1fddc43a3a4f1541a933e83a' [crates.aws-sdk-lookoutvision] category = 'AwsSdk' version = '1.54.0' -source_hash = '2698a5e9340dd8ad408cfc06098bb8c294282fbf136477d3a135008ad4a6c34a' +source_hash = 'a5df42d3af3a7f998b8413b464efaa756d0d7af4cb4bde863b627742bcf06264' model_hash = 'ad9b57505093a165cbe3fe1e84c3252c99cca170ba2de812a5c5ddad055219d4' [crates.aws-sdk-m2] category = 'AwsSdk' version = '1.57.0' -source_hash = 'c51fb01115e9ada07c036bfeb6332df11d03cdac2bc23654a1451fc7f3c02f45' +source_hash = 'efb15619b1e012275cedb6485512fbfc894611e9f55462ed1e7ab4db6bf0e1d6' model_hash = 'c96a653fb2b5961cc2509f557a6ee74281ea2ee65c0fd18a15f73744c998e5da' [crates.aws-sdk-machinelearning] category = 'AwsSdk' version = '1.54.0' -source_hash = '3ce34d346b90feac2b7d2e83e7c474ba0d448ec10920bf3bd72506aee18c532e' +source_hash = '6938e14894b0131b5ae6e59354d6c4e7ddf43d00c8c541d2f3191c97a1a17bed' model_hash = 'd4699b73b87a37092a5c012f626266886aea7e13302c6279f82c4c81f7106744' [crates.aws-sdk-macie2] category = 'AwsSdk' version = '1.57.0' -source_hash = '09a8210ec5c6281cde8920c5ee0b6755e421a01b602dfb36370200afeb631355' +source_hash = 'dbd7421173c194c160b6a02f81e2fa1a3061cff029a295c55df3e6a08653155e' model_hash = '6dba2a568f90078f112116f26822321b925c3206a3a5dfb28652b9d45d29bd95' [crates.aws-sdk-mailmanager] category = 'AwsSdk' version = '1.32.0' -source_hash = 'c2f0054a52124d8a4834fda41d713b1f0968ca3a5557a06d1f67c4de6f3dbb79' +source_hash = 'a4c313b11217d464b2d87d4656de8cd0affedeada5204334aca6c5a5253d28bc' model_hash = 'bdc2e84ecd628a0892e698574d55b86fe5ea815034fa3a50f350129b2c33a295' [crates.aws-sdk-managedblockchain] category = 'AwsSdk' version = '1.54.0' -source_hash = 'c4eee9e68f0e90d8699502ffc0ad5da4e8a934dbca30f719b75d0267778b85c1' +source_hash = '26518845fc18aa66ed90e1827529b4e9d7b869c1edd329c6d37d965d12c1d2da' model_hash = '7f632d2ba193be0fc05df066cec5ad5b24be4b5dba19888fcf5a015fd3b4e8bf' [crates.aws-sdk-managedblockchainquery] category = 'AwsSdk' version = '1.57.0' -source_hash = 'b25593b1de68537bcb280e5424883f98b8d17ba3f1a9ee576fab12c5e5f81ad8' +source_hash = '0f2eed7a7486b15bf31636517f69302b545fc60de62e84be2183a6df827f56bc' model_hash = '75e95fc63e28951777b9e51399dd8409595c2c851a3e77cfa0ff9e3db4106373' [crates.aws-sdk-marketplaceagreement] category = 'AwsSdk' version = '1.51.0' -source_hash = '27dca98fa9fd6ffc1066fc220b9f941063cdc335149c78c5d7f5a4ab0b12330c' +source_hash = 'd0b148b3099921adb517a878bf1f006ed58e727b0d65679f68ef8e4aaefe587e' model_hash = '7628550e920b50e1c9e3e9a0318647c0a33fb2c0d8d7bf6baa29e4a7d711b860' [crates.aws-sdk-marketplacecatalog] category = 'AwsSdk' version = '1.58.0' -source_hash = '9c445430ea3bda6c2a15f44b4eff47c587e505da097afac8207a806391338fd7' +source_hash = 'ab1574c48df80971cf22aa8f3af802b1c46d6a68e7e54dcc3754d6fea45c19eb' model_hash = '20635490bdaaefe00af6cfa09367091e2cd51b2ffdaab8a00dcb1a6bb8061478' [crates.aws-sdk-marketplacecommerceanalytics] category = 'AwsSdk' version = '1.54.0' -source_hash = 'db96e4ffb608109eff48eab7e9ebfcb0462c3ce457919aec3178ac22bfa8da95' +source_hash = '6bf85fca18091ed9d739fdaf96ec5d440430173f591d6b1497effcd0f5f53920' model_hash = '169990f7ee1b7e3faefaccacaf3063153e33541d0d5522567d9902b3332fd29e' [crates.aws-sdk-marketplacedeployment] category = 'AwsSdk' version = '1.51.0' -source_hash = '3394297334993cdae5e5569d52d3e02ad313972296979fd907fcfe9960059998' +source_hash = '9b5c79ab08f1f2cb0e7fb2390be70a4fd4dc623f3e32ea7ca4145df7e6863d00' model_hash = '137500e567737e786370a4438e395d8a57cc902cd4b29cccbea258e7fa4e077f' [crates.aws-sdk-marketplaceentitlement] category = 'AwsSdk' version = '1.55.0' -source_hash = 'bb9b4003c0fbdc4a1140e0a6a159974bedfc3bb22a4a65528efd0dd618aa81f1' +source_hash = 'c81495f7e7b4989cff9713b1e55a7da00a81cee9b9a7fae080e77b66bd804483' model_hash = 'c2d5b87511e219ae968e949e62a6d027a526a86332d1ea0bcedafb8175c0e13d' [crates.aws-sdk-marketplacemetering] category = 'AwsSdk' version = '1.54.0' -source_hash = 'ebff9057768fb09428baa4c5b7b62b58122063c82c90f90d2883b0b173ca473b' +source_hash = 'e374e029aa3de0bf3c7dc90aa867a5472f1a1529b1fcf3df98b1dfd3c2f98b46' model_hash = 'fe75e39451e44295d1ad9f365568e20f949776b676536aec5d13f5f5db0663d4' [crates.aws-sdk-marketplacereporting] category = 'AwsSdk' version = '1.10.0' -source_hash = '6dcac36959ef637e0b9f4ccc340e2d42d1039152cd937139ea7de2d58adc01d2' +source_hash = '1a166bac36989850d1ac41ab374cb80a2eece4e946b152bb36d9da9309f149eb' model_hash = '70e5240775e7c22a9c1c15e0ff0a1a1b2622907d6b5ea4680e1b2e4db6987dd3' [crates.aws-sdk-mediaconnect] category = 'AwsSdk' version = '1.58.0' -source_hash = '6d6f7a42121692567c0277769305470945e5754be976482be778c3a6ef1639f1' +source_hash = '363301e08c1ac48e33dcea39a74f15240faffd23b4a8e3484e93d9402c6e8dca' model_hash = '44d6f53b78d77363a85404fe86f72604bfc89aae84423ae235d083ea4857e6fe' [crates.aws-sdk-mediaconvert] category = 'AwsSdk' version = '1.65.0' -source_hash = '21b9b971a1e422bafacd40d6de00e683a5924ffa2a6dc309dc25532701e76691' +source_hash = '4def18159cea3c7838a45a924bad4afa6917ae26313f7c872d580da0154d8d57' model_hash = '0a6ea76d7a67699ed578be50499f6b97decda252721011f72c31965891f35459' [crates.aws-sdk-medialive] category = 'AwsSdk' version = '1.67.0' -source_hash = '4a1df8844bec20670e8b21ac06c540579f9f2d1f4870237284faf151c6f9044f' +source_hash = '157da83826595c576ce1c8c1df9f019fe562317346113596359afceecbc9f25d' model_hash = '875ce268754b51bb55d323abc16df5f3733d7f82df750a1a87dc2715f421707c' [crates.aws-sdk-mediapackage] category = 'AwsSdk' version = '1.54.0' -source_hash = 'aa8820b0c8ecb12e8abf963effce459df26070a3e596b5fe4f991a8ecdca2c87' +source_hash = '6bec6e5c421ba9868c5aee72dc0ba161d6f705a3c9f3dc91ffe9f4cc711d6828' model_hash = '6b1f33b67ca3b4d994b5180e1e84382e43a2e48852907d8628429009f5be0d00' [crates.aws-sdk-mediapackagev2] category = 'AwsSdk' version = '1.60.0' -source_hash = '94faeeef72995e3cf97c15465b44042ca9acda13dbdb44dd6b944a31ee13bd73' +source_hash = 'c8a46f3e58bcf2c368d7b3e1a9c9414c9335349771d45db31d18e275c22541b5' model_hash = '9ac30fcaf16558ebc4c91ee55eefbc537362e9dea5bc64cf375751f0cac91715' [crates.aws-sdk-mediapackagevod] category = 'AwsSdk' version = '1.54.0' -source_hash = '1cea6239034605fe193ad434411b2535d49a6327a3ef923c37b9264b22e1e035' +source_hash = 'c3398d6aa26e4150df97fe83259472dfd1fc3877f871e6b2a3e151d485d50b36' model_hash = '26ac5422bc7566d50c746c8990a9fdd77ae3aa6a4a1da500d251222be4d9b731' [crates.aws-sdk-mediastore] category = 'AwsSdk' version = '1.54.0' -source_hash = 'f67fd589758e0bc8c538e9c364646ff84d4f0fb6ba7297551c65a88a0074dd12' +source_hash = '5b50696ba7379d3053db6d1fda1ebaeda7b602e250b5fa69aa3cfa6bf4ca04e7' model_hash = '4c2a839b494422238ecfe7aed4b9ef4af99728044a9c9c74d3f67dd30698b16a' [crates.aws-sdk-mediastoredata] category = 'AwsSdk' version = '1.54.0' -source_hash = 'ce967179a6762b92ea43d2707e71489c4f72fa069d6eee46e0676b52e1aa2f6a' +source_hash = 'e2efd7f4648edcbd273f7b42871b0604a79b1ad172cd5d21e235c279b0f60669' model_hash = '5f37ca20e94fbb48d218b6a952a3b36c008b645c17f4eb2aee562342137b4d51' [crates.aws-sdk-mediatailor] category = 'AwsSdk' version = '1.56.0' -source_hash = '05079d6f494a22c79e41c90ec16fd7a36e94261ec06126add20833cb34d718a8' +source_hash = '05ec77f0ef8f8b7549724c1912b452e058c785a32e2b30be2a9bda7ac7307b2a' model_hash = '53459c76efd167d51bff31c90dfcf1b32cc5c534fdcf0210f680e3e6c43aea47' [crates.aws-sdk-medicalimaging] category = 'AwsSdk' version = '1.57.0' -source_hash = 'e6e3a798e953fe93c473e56519e689b0e68b3d58c53921a183131495b04ce637' +source_hash = 'c1c7701ec06864e9eeeda849cf0ee4d1d988ccc9060780b94cf34c94a50725c2' model_hash = '9e1fdd813daddf3df399b2498e19ef42edc473af4ef010b5c573152e9af0f7a3' [crates.aws-sdk-memorydb] category = 'AwsSdk' version = '1.56.0' -source_hash = 'f980ddb9070560095cc5aa0969e97dfa7a5a434e9ff862cd3297c185f27fb69d' +source_hash = 'd3c4b53cc6c60a62ad9fe4058bc8ecf10cde0ed24dc09497f962f34f874987b9' model_hash = '733e31df1c32468c47e716f46ff0eb12434a8f32f440f0ecf9866661129aedce' [crates.aws-sdk-mgn] category = 'AwsSdk' version = '1.54.0' -source_hash = '99160bd8fca093475e03c5a07041ae9bb9a7d2d4a7413794ab5b307640527fae' +source_hash = '6aacb3863bd7346b39b5c5b379fb081c300a4715417034de5b788132d4bc2dd6' model_hash = '32d5a10deec24263409839a3a8b236aa1f0bd6c6407269034b5bd0be6995739a' [crates.aws-sdk-migrationhub] category = 'AwsSdk' version = '1.55.0' -source_hash = 'd0858b7ac9975c6dab8c93428aa42b97f5da0c8f091588f8e16b3ba4547c2dd9' +source_hash = 'f7e1514e7e93d37db75a62acbb98b758316ec2d3193da6202f460bc39a2aeacd' model_hash = '3c7c2f02c366ff6cd2eb08a19ef21ff43ca53ff44ebb999a3c07cb33e3b994a7' [crates.aws-sdk-migrationhubconfig] category = 'AwsSdk' version = '1.54.0' -source_hash = 'c72bd1af4cedfcb3b6b9b9f1d67a3af3e1a26e127ab179e9a019a81aeb9efb4e' +source_hash = '4c7abf4d8884ede0dcee9110f69f56d05e4c0f6db4cb46144ef41052634b6c5d' model_hash = '703bdad748102aaa909f7ca665e0bdfe9b9f56a12bbf0c355241a129a0352223' [crates.aws-sdk-migrationhuborchestrator] category = 'AwsSdk' version = '1.55.0' -source_hash = 'ed59caf2a46788d3d9416a9a1742460397a51ad90e2e01ceb21da7eb57ebdf0b' +source_hash = '11948826a1d9ce11e667a12b22b38f65865ac024c4da8691f63d7640ee1e66f4' model_hash = '106fc037ea6900399cd4ba71fb57d608c8016d5b9b25697806a187e24eed9c38' [crates.aws-sdk-migrationhubrefactorspaces] category = 'AwsSdk' version = '1.54.0' -source_hash = 'bfd7f2617040704df4441a68c5327cd5fd47692dae890d054f34614132442dd5' +source_hash = 'be601d055d7bc3d196eae4b19ac7ea017c5c2c36b3400e1fa1803f6373ea93fd' model_hash = '7ac3f9a38041a038768928b8100787a2e8fb8909f742c501a68e561f8ae5489c' [crates.aws-sdk-migrationhubstrategy] category = 'AwsSdk' version = '1.54.0' -source_hash = '6d507d5da8f39aff523bd5a541596e00d6bfd106481643c52bb30849393ffbbe' +source_hash = 'baa5c218f63d0e452273413b425b9ac825831f843d00c9f030ab180e8b51900f' model_hash = '0b2b9ed320222b207b03eea464800c2ec5d7fb929a6348978e837e88144ed886' [crates.aws-sdk-mq] category = 'AwsSdk' version = '1.55.0' -source_hash = 'c93672f0e2cc8c3cb890f24b19d5e136c813ec63ec9020541c404296942045ac' +source_hash = 'f78b58cdf305e4f320197157ab2dfd3ba56c48349183589da96054c94c7ec764' model_hash = 'caaac7bf7f77d48137b33eaea004094a8546635ca4e545409b07ffeadad836ef' [crates.aws-sdk-mturk] category = 'AwsSdk' version = '1.54.0' -source_hash = '0def7c47f34cee841ded5d9c7354d6a56fbd63f331c57ab02036097d52eb4fcb' +source_hash = 'aa3d5aca669ad3793c7985216b69f173cb092bc84dc64db6de4245f1967258f5' model_hash = '1cd1e08bdab2e0bd55d6d6ea1e5d4e7ca54f6855513da0051007316cb9e923db' [crates.aws-sdk-mwaa] category = 'AwsSdk' version = '1.59.0' -source_hash = '178eb7daa587c533995265b8bc780fd011a91ca20e737e76ea9779d36c2359d2' +source_hash = 'a432bae55fa012d9328ae7fc917b2d295029662a9238c154721190895a8c69f3' model_hash = '9d9a3b2282e4a79f2bc0b92b0a5f9f4622925149dc0446613461a691896f793e' [crates.aws-sdk-neptune] category = 'AwsSdk' version = '1.56.0' -source_hash = '3228e8604afe9dfdd431801fd58ad40195cd2f51fb7f6a515ab85f157494ba37' +source_hash = 'c911cd9f29f01a020a6b5ab83916abd2290cf166347c7e60d99bf94f741de01a' model_hash = '2253b467182a0bfc5336862a3e5d5e810ca3655286d8aaa0d8c1c75b80d7be47' [crates.aws-sdk-neptunedata] category = 'AwsSdk' version = '1.54.0' -source_hash = '770515f8b40fef1c2dd5222f3f1b9fc41059b9ace319212eb1c0fb8a7be24cfe' +source_hash = 'b4bb54fec70e49a4b134a4ede2e869028cc5b9b6cc9fca847c930533fbda7401' model_hash = '3b83cd13db92df4ca24a11f8978d16f9aaebaaaf6144a282feba7c369d65c248' [crates.aws-sdk-neptunegraph] category = 'AwsSdk' version = '1.53.0' -source_hash = '2eacb48e4500d8a90bfba7658a88267b0cff56cdda70162670d46bbe8f974458' +source_hash = 'd680cd6e5b0c34a79a42d1020627bcb3c343132dc30f80a876683dce03fdfa7b' model_hash = 'ae2f3fc8fcf5f53a9219565095296f7c53f5d0fb29ae772a4b56edc1f6854183' [crates.aws-sdk-networkfirewall] category = 'AwsSdk' version = '1.56.0' -source_hash = 'f11e9fcc0241b9bc0d0c79a1221e4b145cc899edf08fbd48ab2108c3d64ad882' +source_hash = 'e3a2217c94a89e789b975a4a3116dbe2c35f27f55889fb03d6ee09f74190ccb4' model_hash = 'd937c9d101e863fe9d0ebe613a67a529c59b1f87a59a6e1f7c96024892041a46' [crates.aws-sdk-networkflowmonitor] category = 'AwsSdk' version = '1.5.0' -source_hash = '52633c657f2f64a659ddeb0618144704e4a8fe06b7a5951158e85cf073ae8490' +source_hash = 'b4bd50638a3255b2e909a241c07536153e809242333abbb41eeb20a0255119c9' model_hash = '3cce9f25814123318d3eca5c4caf791f2a8ae6e49aef963957e2f9859954b4e0' [crates.aws-sdk-networkmanager] category = 'AwsSdk' version = '1.57.0' -source_hash = 'a3c8df6bfc8b79f3a766cac0fb0a4e893d525f111eed880907852dd351179090' +source_hash = 'c422adf7616d3e7647845b5e261de4a267ffd7a0cc21e887974cb4786cafc476' model_hash = '63479ddde67f36b0f0df2f0dfd7e945da8957a02a1dbcedc6d0b7b034acc31e4' [crates.aws-sdk-networkmonitor] category = 'AwsSdk' version = '1.45.0' -source_hash = '71006b2a18c74fa19813e6cfd26b4f3e4bd5ec5f47ae86c7035d7c658a0d4b02' +source_hash = '9369d32497e7f4081048d51d954b657a43264d298e069b2229331344a991c2b6' model_hash = 'e2250a3f4396355c255b731f2a05eaed3d226d73b68131702375e2a9426c2a93' [crates.aws-sdk-notifications] category = 'AwsSdk' version = '1.5.0' -source_hash = 'f2ed273fe3790a02afefe6076d7ab4f6fdf40438354bfc107a425f0f4a743583' +source_hash = '33e08c85a43d5898e1c33c1a85025e35797fde3ebce198cf0975edd8595f2a5a' model_hash = '67ba8f0106a55c3fb7bba3ee1988233cab37a2f655b85f9cf2bdfe1a1e64f2c1' [crates.aws-sdk-notificationscontacts] category = 'AwsSdk' version = '1.5.0' -source_hash = '6e038354a5187ab80f5e0124bdd9d9ad1b7f711033b8fd3141ebb644c6b6fcd3' +source_hash = 'c9cc0cdfc509a8cbf9765c52ba591af4d4bbb31207c5c32690cd12ef8a03e042' model_hash = '40871f703df595ae6fd657f4dc7727fcfc437ab8f46133a98a9291d7bf4b05a4' [crates.aws-sdk-oam] category = 'AwsSdk' version = '1.56.0' -source_hash = '64ebeda069f1ea8dd6c1bd295016834156828094ee6564fc538455f00271d14c' +source_hash = '551fc3d93c5c1f0f23c965f3f245eec240b2aefb1b143d4cedb185882228a538' model_hash = '4bb49ed52f75326de3303b715606a2bdbc31cce525de08d52f72ca40c1cdf065' [crates.aws-sdk-observabilityadmin] category = 'AwsSdk' version = '1.5.0' -source_hash = 'c47f6c201f39e2bd56963ce463f4bce4bce97d30ab8595cb9938658559031f4b' +source_hash = '29d2ca25591025730207052aec039c6f9942cf57a47f97f12d72f40728d2ffa6' model_hash = '781d8115c27d2499382ac552a1d4a4fb8ce63c1272c0c25ed14f28dea401e531' [crates.aws-sdk-omics] category = 'AwsSdk' version = '1.59.0' -source_hash = 'fd06c527df989edbc3b29b58ab705c0af5aae7ef9458767181353a78107855e7' +source_hash = '0f21572f7a43b34546ce036c00c9134cfe4bcddbeadb51f3aa48dc3b4a40c668' model_hash = '6f43e356067796a8a3a074d0de3d484bc0ad595d931eb6bdfcd69c1b0b519ecd' [crates.aws-sdk-opensearch] category = 'AwsSdk' version = '1.67.0' -source_hash = '69b522ce4c8d15a83c0ca6c0239f2739bb65975eeb502a612083947725609891' +source_hash = '1cb640b077b42b60f445212f438bee3ab5359d6708c1cf352d03caa58448bcc3' model_hash = '7c0ed1bdb88a6a6cbf198900c0daaded30a5cb940044aa97aa74c667c594dfdf' [crates.aws-sdk-opensearchserverless] category = 'AwsSdk' version = '1.57.0' -source_hash = '6928705c7e5455ac1796fe055ad5c1fc522782379937f083af52238a89b62eb5' +source_hash = '28b500e30b2df21bf06dd8bea657e99c3ef7295933f8b8c0ad3327288408a877' model_hash = 'efc4185ff1239fdf3310d7163938fb84c9a82fb901a8432325ac9c843223cfd3' [crates.aws-sdk-opsworks] category = 'AwsSdk' version = '1.54.0' -source_hash = '3a4052c28f429e8f9f940f72895970f991f19e94317bb097dc0c7fac8044ce0b' +source_hash = 'cda0c91abbd9fe7077d596521572e0df7dc07183b848ebd357f728a5ac3f3806' model_hash = '482612bd4d21e5fb4d55bb3da0b24cdea41341b4069255926a92f11dfc721901' [crates.aws-sdk-opsworkscm] category = 'AwsSdk' version = '1.54.0' -source_hash = '4c493c0b804c3b5373458b8edeb62b5183d2c0fa23998ad277e244671b8d1a50' +source_hash = '929098938ed4d83fa8b4eacb236e33dec033d08874dca979a0ac022a8bd2aad7' model_hash = '94fae3de41f095f1626b2624ea61356b9e50a130845f08ed021b777cd63a0063' [crates.aws-sdk-organizations] category = 'AwsSdk' version = '1.62.0' -source_hash = 'e9d6382b151bf794cf95f95a6f714d16f9cdea9caece80506c514d33d6c56249' +source_hash = '5838cb56cb017924fe3016442b3bbd7d321a9e7b76f732ec06163944ccc5449f' model_hash = '0beff3e30cb2dc59a77142f7ba17e80061346774a199ffbdda296e031b2fc60a' [crates.aws-sdk-osis] category = 'AwsSdk' version = '1.56.0' -source_hash = 'd6c6935b30b62c1580469b25dab9c3ed5c028ef73d7f0d2b8db2d2e93ba0c437' +source_hash = 'eda276cff9985a772a721cd656ea15f3dfdb81ff09830ed109b5b68367d1b18a' model_hash = '4d2917fd5fa3eb1748b771abcc3273a96d4646cd7715aa010eb7e98c766648d6' [crates.aws-sdk-outposts] category = 'AwsSdk' version = '1.60.0' -source_hash = '07cf1bd930cf2634feb6b67702a1ec669ddb1ae6c683e910603bf5e54ffb6b5d' +source_hash = '857c13ceec9eeff705cad204bea061781b9e3860eb822754492b8306ce58dc35' model_hash = '3a148f6c568702e0d06c209dfb3c68fd29af680cdb5be10164fe5797b80d3825' [crates.aws-sdk-panorama] category = 'AwsSdk' version = '1.54.0' -source_hash = '954f02eae6242e92ab745b5ae4133df87cd411faf88ddb07a8f59c7f3fb14e60' +source_hash = '881c77531a5708b8e81d079a5f5934ea66dd1519b3be507bb467678e5c0d4e8f' model_hash = 'febaa3d19e9d98c7c7888395b77777d20b9914187a054b1443a86e9a0a5ab35f' [crates.aws-sdk-partnercentralselling] category = 'AwsSdk' version = '1.7.0' -source_hash = '395e12f8778f908e699e1d664f62c9b4521e1669f57abbb084d1790a1066c2b3' +source_hash = 'fbba8c2e3a6a134699a0e0805bc9ea547d67dfbbeb34a64017f1b2b6a6e86890' model_hash = '718011ecfa598f393269530695e328238f08df25edf81246d414d47a12e68018' [crates.aws-sdk-paymentcryptography] category = 'AwsSdk' version = '1.59.0' -source_hash = '6f46b859ad2a428a955d6b442d1ffa197c886c312cbc4e97a69c777874179d93' +source_hash = '899b6794b9a8bfb06777fda8317eb6dbbf9184de88000c089162f84eb51e3b47' model_hash = '5177d6bb855701636bb5fc7d1da59c5b5740952906c1737d99d0df0c5f321c7b' [crates.aws-sdk-paymentcryptographydata] category = 'AwsSdk' version = '1.58.0' -source_hash = 'cbd1e9a0258ba51879e118667f83a2ace94bee10daa47be9cd1676619acfc01f' +source_hash = '2b1c4e44adf5e450e47b09ac933227518e795da357eadccdd3867bda0bad49b6' model_hash = 'a9946469f1a161a03b9ef3f35cdf74984321c9ae64c384a2dcde205db258be72' [crates.aws-sdk-pcaconnectorad] category = 'AwsSdk' version = '1.54.0' -source_hash = '671b20fac78f89daf0387f8f50791b3a5dd20bacab9fa9d3f2131da56b372fb6' +source_hash = 'b728af4a8b8ddf18d2546fcfa02f0b486a61499ef67dd74dea51675a89fa9485' model_hash = 'dcd33f1b50d80dc3d4502f1f156b4d6d74444f011da309c399ea95b0e99f6e47' [crates.aws-sdk-pcaconnectorscep] category = 'AwsSdk' version = '1.24.0' -source_hash = 'd487ce8ff8bc51d4c3912d76ed885a8034abb63810ac126ccc474facd74fb194' +source_hash = '2b761916c3ac568b6868386474e391fc901881f33c23d8f88adce320cb3193b1' model_hash = '9cb3036f3a1c09cfdcbb58bef2cb67410014b4d1416536847bc4544729cc4c07' [crates.aws-sdk-pcs] category = 'AwsSdk' version = '1.15.0' -source_hash = '542fc73135d563294386fd0862a16746a011bb0336f671da2db10227aa2de40c' +source_hash = '97dd60d2ed3006d14bf59b0d34b817c833e61a87df35114f90206c9278737ada' model_hash = '1a10b8d4c3ac5b34bcf14a597a5838ac7aa4d3c36019770479c0025aaa776e2a' [crates.aws-sdk-personalize] category = 'AwsSdk' version = '1.56.0' -source_hash = '30f782db3df276a866de93fcf5c724165de8e0f0ec5f2d00d4caecd75f5bdb64' +source_hash = '41e38aa0e136ba204137372848421a2c18630b002a21e8e77fc3bfda4246ffd3' model_hash = '71d9ddec91a1ab33002f9677cb81d4da2ead87f08672e11815347f3395e31782' [crates.aws-sdk-personalizeevents] category = 'AwsSdk' version = '1.54.0' -source_hash = '9533b2384d612a3a689f5773a99c969338d033321b49cc7eee3baf4a9b2f70ca' +source_hash = '2c0e2743f6d505f6f3e75df3ca148f3ad5f054bbd9803edc95d1e1a8975c6594' model_hash = '8e2153df706ce4b9296ecf1d978beb680242f0c3ab63ecd7fa7b1eaf37a59b81' [crates.aws-sdk-personalizeruntime] category = 'AwsSdk' version = '1.54.0' -source_hash = '013906628f2f323d77baf807194a447990ad1d3665849073cf1ba69bf96aa6ea' +source_hash = '2b4141c3bb4302ac51041508185015e453f55274dc3f51280787387b5482c4bf' model_hash = 'b8c4fd06d11418021696adfddb3788a0e8d753692f5d09479f81d47646c416bd' [crates.aws-sdk-pi] category = 'AwsSdk' version = '1.55.0' -source_hash = 'ff35ad7fe2cf242df9d4d77a1b22dffb0bb7223fb5f19c62c42dc43d3012b31d' +source_hash = '6b5739f129eb1c2e2e6bf2c55fa50ef3f25c210c18bb35b708253eec8353b81d' model_hash = '7000b11004b6b8656719217d0a5356b8a63d293f622b4c48dbac28e9fe98b4ba' [crates.aws-sdk-pinpoint] category = 'AwsSdk' version = '1.56.0' -source_hash = '74da7cc1708eefe75567ff3549eab80bac3d91fa4df791582255a6e3dcfa6908' +source_hash = 'd243e590a81a1bdab22c0e7d42973c190c0c0380c113204abfebc3086a34d29d' model_hash = '5dcd132f83db800cc081868f261520f370e7b489b27dfca65856eceee0456cfb' [crates.aws-sdk-pinpointemail] category = 'AwsSdk' version = '1.54.0' -source_hash = '25eb00ac0220ac682fec661c501358d516a744b8fd0ac94ac251cab0e796c054' +source_hash = '9f1870fbcc9fa572fc56aeb53cffdbf17f35fcc223cf25922e4cf1317ad0730d' model_hash = '2e3995f2bf969329f1afec93f33bce0cd529a890b5f86d84ee5f538d138e5b56' [crates.aws-sdk-pinpointsmsvoice] category = 'AwsSdk' version = '1.54.0' -source_hash = 'd993b729315106b3d436e816865b5272a4fa298917b3041ba948799efb1fd50d' +source_hash = '506a940ec9a9b7cc6263e2b2df61abdb30536d8143fd3858f6478ccc70b9e06c' model_hash = '1c88a67d16451b4c40c3e7f51f3020b6961f62187c4503fc4788187849855a80' [crates.aws-sdk-pinpointsmsvoicev2] category = 'AwsSdk' version = '1.59.0' -source_hash = '01a1bc89cf28da00af5d68517ba3a02c406043bd1f2fc805737832214cd50878' +source_hash = '598b1201d614992f8b7844d44f45f071f1be9884bf6233ae3fd3d234d8ad0348' model_hash = 'cb131e06e0bb3e1493488adf814e4935e9c770b13ed7c8023925b045c6148685' [crates.aws-sdk-pipes] category = 'AwsSdk' version = '1.57.0' -source_hash = '9b15c5592f9b562921436b3c1afa4186ad143653b0817b4991210cbc77687ed5' +source_hash = '79439a567eb4ac883dda0dae21f64d09168ab2c46cfd6db23d993b73fbf5cb0b' model_hash = '0d5e27417d05239d1df3e2a728cd52b1d4926795f9b7c6b4e9d9d9d73c49f39e' [crates.aws-sdk-polly] category = 'AwsSdk' version = '1.56.0' -source_hash = 'aeaa97b10798a0fbd0ebd6ce936decea083ae2fc0296855707f92d09547d5b05' +source_hash = '8ddf1012cd8af1b2615908c208de3635afaecad6082e0bdfafd42457bc3ec59a' model_hash = '04275ca8cee498994817fff463337576e3424c7b297f4d13aac1ecc97e954f2c' [crates.aws-sdk-pricing] category = 'AwsSdk' version = '1.56.0' -source_hash = '9b4530464f33a7b524509676c04949e1c079ca16bcb4f02676ac1ea202d9f25e' +source_hash = '84770b11a8d43162c58d34bd1fcb7c7ec9cd190cd21293687f2c02e034ef39f9' model_hash = 'baa3c965304ceb0626617d6b157a32086c28a72100f77377a446f5ea207d61c2' [crates.aws-sdk-privatenetworks] category = 'AwsSdk' version = '1.54.0' -source_hash = '74e304a184b851ef4a484158bdec41797b620fb1a861dbf329fcf47ffd2ae95f' +source_hash = '4353df1218575bff820e75114766431eed06b6d2626e51d2878abd7d0f075dab' model_hash = 'c9861594f0c5119053f730a377bec52cb857608804185ab3a19d5a5027765a69' [crates.aws-sdk-proton] category = 'AwsSdk' version = '1.54.0' -source_hash = '683e53bbd50ce65ce26cb0451250b76e33244dfeb3b04185915303ee7ff18b67' +source_hash = '54bd77e5c3a35bb9fd9fec7fc227b71d5290e72fa0403e18945f2b457e55098d' model_hash = '70d8c095cad5fe369c404229900eba9fbc267d4db2cfd7fb925fe0bc65181dcb' [crates.aws-sdk-qapps] category = 'AwsSdk' version = '1.22.0' -source_hash = 'f0b67ebece4623de1fd934c866a8a76463e812fd5eca114097708da1ff110890' +source_hash = '2b29b4f594d48bb4f1c99b2fcf0758ff52ed819b9925c64df8f009360de7350f' model_hash = '4bd2edc09378bd9e8ef92cab901028113ec7feb54f270f86c3764629d5f66d1b' [crates.aws-sdk-qbusiness] category = 'AwsSdk' version = '1.61.0' -source_hash = '3f194679b6d5c481cee79bd557a47831ea3403d0a9f8f90c4592efe7ea9347bd' +source_hash = '5c1f02b9f3d7fbe67b63d2617a46beefe88882ada3e7dac4389b86558f96e69c' model_hash = '8da5beb48da96680deec8bf7f18edbcbc712961c3ce00e36212198f106649ffb' [crates.aws-sdk-qconnect] category = 'AwsSdk' version = '1.61.0' -source_hash = '47768b2d0324529942154b135eb0ed55af0dac2b31de705d5bc2981636a38950' +source_hash = 'f8f4ec4c350b5c77a14e153ab03ed3d6908113adafb6f3cd1b65c0ff2cefbffd' model_hash = '12e8324ddbcb970906446147ba63dea1c01cd1f27de080416b8b3c964c0ef07e' [crates.aws-sdk-qldb] category = 'AwsSdk' version = '1.54.0' -source_hash = '90a0f8cfc108c364783475cff5a4d03270e80e0cbc65fd92bb48a6a1060844a6' +source_hash = '250c16eeed4e009a97740bf323cce1b6be693d83f2d797be7f48c9275ad3d189' model_hash = '0ac33c66515f6895195e98e8a73acf044632275e51c573f02a0330379da08122' [crates.aws-sdk-qldbsession] category = 'AwsSdk' version = '1.54.0' -source_hash = 'aa60c926c615b3823722bc83fd6f0554cea2e4af4c1dad191f438750b2199931' +source_hash = '8ce698b78c81a583598492f3052d5f01df8052482681665c0028ddd707e4636a' model_hash = '27c9e9e5a0761cc6e79648630e51a0d6faf2ea5dea8826c722bcc5005fa36786' [crates.aws-sdk-quicksight] category = 'AwsSdk' version = '1.71.0' -source_hash = '160e02341a2f3b61861e54ff92e5d6b6fbe1f313270bb54e46c2556b823545af' +source_hash = 'ef88a7257fd9f803c37d2036c3979ba371e28bf38286421da206a1da7b3e2406' model_hash = '76a15ee090a32d04c195a600984465663f6cf417d66046d3d1a535f14a2b0a7f' [crates.aws-sdk-ram] category = 'AwsSdk' version = '1.54.0' -source_hash = 'b63e9b0776c2a537f00923ff3b1838a78f3b01d70d57781b4218cfe5f390a90c' +source_hash = '911921e7374f72628fec7bd3dbfe5c6179691e78e44c032564b1b3b49b4f9bee' model_hash = '089a8b12162eb3a3ad06adcef9c96f68661e8a54206da0150dd56557476513ef' [crates.aws-sdk-rbin] category = 'AwsSdk' version = '1.56.0' -source_hash = '08d0912d236dfa32c255e390c6342b8781da07d9c5d44e05938c55028352ade4' +source_hash = '145ab6922a95af45d8956ecc3b45475a86f5c9e949375e66688b9f7d4452397d' model_hash = '89b66df6ed8dd9dd5b9b7ce463ebf12ea437a2fc24a36a001c23fd2db6877a6d' [crates.aws-sdk-rds] category = 'AwsSdk' version = '1.73.0' -source_hash = '6b4d3a0a3d6863152a37c6e62ea5f713d2f703ebf3a89ec5cff6473454218f27' +source_hash = 'd431388b10bcac62f9cfe00c3bb76bcd2477728a8d91b8d2824d9a3e1c5588eb' model_hash = '1cb8150a7e1362541c9840d1229dd4169887f5718707062910947434ba947708' [crates.aws-sdk-rdsdata] category = 'AwsSdk' version = '1.55.0' -source_hash = '91d6344327b86665cb9d3a0d51c5fb5789ea2df6c24e9a03644c12b2c09dc332' +source_hash = '8625b21eeecc8f2db6e9e63c751e2613b7e960d3202acb92af5abc5f401519da' model_hash = 'dd87109612beacd833d65adb61355169618adb5ab5285f5d146620d1db23b28e' [crates.aws-sdk-redshift] category = 'AwsSdk' version = '1.59.0' -source_hash = 'fab31d44c78460d2b95f23db1675b81f0ececa6d89fbd5082e7b728e9b5ded29' +source_hash = 'a52557531b49bf3d82653d7edf65e6fffdb3fc5025fc25e0bd7de0889af68dfc' model_hash = '9546af96b09b5aa8515ae4acc77f3738abfd7099ce5524b67e3e24c386766da0' [crates.aws-sdk-redshiftdata] category = 'AwsSdk' version = '1.56.0' -source_hash = '7ece788f478beae298fc0f410f707a8b803e159aaf218509514128903655956f' +source_hash = 'd95a489d02ce85104759d7690897018571bc147880ef2561088a089d09fce887' model_hash = 'fd9b5ef1a71ea3b08d0966a6fa3d91aff3a98175585e82287048a2d267f17938' [crates.aws-sdk-redshiftserverless] category = 'AwsSdk' version = '1.57.0' -source_hash = '86b8ebb153da54371050db21ee9ff76a0186328a178a8efc4d0f0e8021d6a71f' +source_hash = 'a3ccd3b2a5387f304579d6a97f6073f0b340f635112c98c847cab4d07de6d089' model_hash = 'f30ef9956fe31ac985700295d545e46904d3b1b32bcf8977fd6b290b670b8346' [crates.aws-sdk-rekognition] category = 'AwsSdk' version = '1.57.0' -source_hash = '19e64bc3bedaa16274661587f5358a5c686d20cc20fcb18a3a13bf4e1c8c7904' +source_hash = 'e40284335c421d87ec36afe2d7809ed5e97c8911be67e53c22e8e7d2193a1e19' model_hash = 'aa17b6ae5b12d56dc2a00dc0ee4e5ceaa5090eed279819c0e7e298f2906b01a6' [crates.aws-sdk-repostspace] category = 'AwsSdk' version = '1.53.0' -source_hash = '46be2c84751232ada0d52386d0e77066c0b32b2c8f1fe1bc6b094aead0d2f02f' +source_hash = '9eeba026b94c618b1317868e754441688c195e03b73ec85f25432dfe15ef70ab' model_hash = 'd45f45aa7a94560c0f7dd37685fc124f7a824a566e6f1f6329b30695c7289666' [crates.aws-sdk-resiliencehub] category = 'AwsSdk' version = '1.58.0' -source_hash = 'e6ee42fdb860e1ceccfb737a344db9771719bef87dc8c34d1bedda166e5d618a' +source_hash = '851a3bde55ee39b2c7c94f35501c665a7575e67b2b683fa3a80a2b727a05f6c8' model_hash = 'cfff9aa838b536e58c8e4a9e33efdfb47400fbd99589092a1d6c78fd20971f58' [crates.aws-sdk-resourceexplorer2] category = 'AwsSdk' version = '1.57.0' -source_hash = '822a148a9a12ac45d3f300de6c26e65c4123f691fcf9034beaf30e69c0a8344a' +source_hash = '16f34b9192c8d98ae287d927ef094ee1533b1477fef95da00f72e99af25cb121' model_hash = 'df377aa0d4299e88b340e6d0c4156bf9e5e742e05a55b5ad2c60a86dfe1f7880' [crates.aws-sdk-resourcegroups] category = 'AwsSdk' version = '1.56.0' -source_hash = '5b7996bd8f1b11399277f14dd3fdb9e344e2f968a74e7af80dc3ee5efd618c69' +source_hash = 'd306d8f61ce4f32c595a491c8960613154acefc263983ed1e400cc8a805f5387' model_hash = 'd2e8e4e859cc947d3cdd7b832316930d0c55e39b899ff4ac4eb03b32aae8657a' [crates.aws-sdk-resourcegroupstagging] category = 'AwsSdk' version = '1.54.0' -source_hash = 'b051b6f3c40b0512bae8381aa5e15a965049bea389c810cda3eb7c8e7644ab9a' +source_hash = '8fe675010d5770878109d49d01247897bb1f945bfaa2af79bb7709f5ce34f223' model_hash = '773005ed64bcc3a4f67673721a30cfb108d00260fcbb83bfa2a79afc4898eb85' [crates.aws-sdk-robomaker] category = 'AwsSdk' version = '1.54.0' -source_hash = '2c61a686b720983faa7da4bf6aa9c7e9fe61f1a44127e23db5124cc4f9ff21ef' +source_hash = 'fdf5dbce0c9970010f2393c9e4c6071ac27c7e34857df509de325425972ad033' model_hash = '0375331f6d24e649a381f3cab6a30d375aeb4082d592889b0cf473bc2631196b' [crates.aws-sdk-rolesanywhere] category = 'AwsSdk' version = '1.58.0' -source_hash = 'f9f5460c7849cfa1f830104e642bc0c6aae08d4d0519b8820b3bd8dfa7ffc17a' +source_hash = '19abfdb6f1b80512c39df7823714afadaa96ebbbc5daea1d6d10a70c11112067' model_hash = '6f5fa488cec83ad13ba61601a55dbb9572afd2acaff4fbe555da2e6893c25206' [crates.aws-sdk-route53] category = 'AwsSdk' version = '1.60.0' -source_hash = 'cc6c9a9a079e2586b47565bf8f376cf823569b856028f400aa8d366b1b98e02e' +source_hash = '6b5bdf71f6ea23ac38f8b353451c93c5c8a45e154a109d43ecec78a4bec5d394' model_hash = '89457b3c1bd5eb91bfd8abdac4c5a9e72dbe33dbbc902b55ffc4bb6cf97a320d' [crates.aws-sdk-route53domains] category = 'AwsSdk' version = '1.57.0' -source_hash = 'f5b750d7f093f0cac3490fcaeb1055c518ebc96070ad966859058606a8c222c0' +source_hash = '3076fe605a780f9c9f08ed9f19e793113e4e46b6f491abfd6df07aa5e064208f' model_hash = '3fa03d9c55c9a0a7caea219fe07a39558dc6d276b00c22433009947bc694e282' [crates.aws-sdk-route53profiles] category = 'AwsSdk' version = '1.33.0' -source_hash = '90f85c27911b047e1b664321bf790702ec373fe6803b47691d9324faa00bc6a0' +source_hash = 'd09aac5f1c42d28dc5c629cb102af7036471364a6e53cfa8959a32298950ea99' model_hash = '3f9fa5cb10c43eac77cce90b40fbcb9e988bd15e862a89864bd20954333601ae' [crates.aws-sdk-route53recoverycluster] category = 'AwsSdk' version = '1.54.0' -source_hash = 'bb6467d0b093ce4f73072150a22c475ad33914bf861471a9dd66a728134a98ba' +source_hash = '6cb834be03ace46fe43823f0deb4256e91f7b94fc4b4092259feb67bf0d5427f' model_hash = '59a6c922197a539b1e1a8aea103f29d753556151a64c5ca951273df2cb2e1dc0' [crates.aws-sdk-route53recoverycontrolconfig] category = 'AwsSdk' version = '1.54.0' -source_hash = 'e383c17abb94f93a6b2e7630be747c10609a39a2c210093876829be3835ae858' +source_hash = 'b55095fd03f2bf3e2eec68943c0dd836e6ceaf371c3e4b806e8159ffd3e933aa' model_hash = 'e7a24052acc9c9375be129e14884058334a3fe0be09ca9c509f92c77f1c67388' [crates.aws-sdk-route53recoveryreadiness] category = 'AwsSdk' version = '1.54.0' -source_hash = 'a87bedca2b1102dd17b544bae23604b2aff4a0f684ff7f54ff4148a848c9a64f' +source_hash = '672c8b83eedef8fa9e8f4a42fd0eb37572079ace1a7a048e8332abb23b727bbf' model_hash = '4174e800015b430563a53761759735a4db5bc924a4107ae11d034af8e9c6625d' [crates.aws-sdk-route53resolver] category = 'AwsSdk' version = '1.59.0' -source_hash = 'fdca48ac242bd6497aa6c4ed0464d356c67b9a74386077ee9c101a993bf1a8e3' +source_hash = '7a37091e81431a65288a2b7caf990edbec9c7c7cc73e254a3ddea946789a2af9' model_hash = '2cbfbf47138035ef786551bc1144f61898414862fe19a4658db487bfc0f59721' [crates.aws-sdk-rum] category = 'AwsSdk' version = '1.54.0' -source_hash = '44e9e9f3ea7ff73473aaa90babce47d957fa5c1c595a5b4354d9fd847cf2a5a1' +source_hash = '3fd68e2eba6b2c10731c95c602ee31b304a5a6e363b854f137e6a27467522eec' model_hash = '34648839402316ab9da4bef0fe11beb9bc3ec1d05b3ff7d09664ab74c0cb3d2b' [crates.aws-sdk-s3] category = 'AwsSdk' version = '1.69.0' -source_hash = '70dc0ec320d0040131567cb796a152bef2da018998bd646d9cffb2dbaa1578e6' -model_hash = '693e567fbbdfd0cc57fbc398a5a61be68d50e4782548776fe8affe488d7014d1' +source_hash = 'a079a86c92e4b723ccb2175e219f7f25fe84478dabaf95dbf9f3cb66c2fab6ed' +model_hash = '7a4acae1dad780f9b3e3fc003faacbb465b99412caa2a50fb9adfdfc29dffb42' [crates.aws-sdk-s3control] category = 'AwsSdk' version = '1.59.0' -source_hash = '6a1f04f4957c34b110fcd86ef3c38d2f86ed367f94d366b7bb70bac291726ace' +source_hash = '29186805ec36f0af312f2d48f1babc2ddb9dc7c83c210ba76bdeb24dc4b96a7c' model_hash = '6fb7dbbca8c1f02a774745f33fff88e3104f62aa7b55c109572294f3652bcb4c' [crates.aws-sdk-s3outposts] category = 'AwsSdk' version = '1.54.0' -source_hash = '9eea7f81c602242025601e94b00a9df1d9f2cd3aaebfb31596b7219720c5caa8' +source_hash = 'f6562e734b18cbedcaac17227c43f9ce49f8bcbcb313292dc13ac2ecd7d9d670' model_hash = 'f9e4b75c464276658ad02e6fb32ece96389662d9e55fe7db3a5a057bd9fb5b03' [crates.aws-sdk-s3tables] category = 'AwsSdk' version = '1.4.0' -source_hash = 'aeb0fb120f1475520a5cc24b1713f03d54b036c6d98ad243a935686aa50f6600' +source_hash = '7d656b892be28c2239e41e238170399c116e18743da437f069d40ca1c3129aea' model_hash = '94274c589ec2b93d3c2907109cdea5f910a682797083615559ff3589a8ec742e' [crates.aws-sdk-sagemaker] category = 'AwsSdk' version = '1.96.0' -source_hash = '11ff1e6685c6488f7789e9e27c0d79b01bbc32665530ae28ee3749a448e27b66' +source_hash = 'fd5e3dcc5ba4b6c982a09271b60427d20b6197da3acf42855f0440db22b95fe8' model_hash = '61cebe94c0821966b52df1e3fdffeaf75ebe1d7c1809d5afe757e859fcefe0fd' [crates.aws-sdk-sagemakera2iruntime] category = 'AwsSdk' version = '1.54.0' -source_hash = '09544df338665bbae5a2df06e275931b20a101db226dddf92ac5a7a4531c8410' +source_hash = 'd2b54202f8cc12de903b838a7b39f748659b4cc745c8964b5f6d14fd012c1ea4' model_hash = '1ea1bea294abe5fddbef9ea896f194d8ede696c31556e3da9906e7b103a58469' [crates.aws-sdk-sagemakeredge] category = 'AwsSdk' version = '1.54.0' -source_hash = '5ac39f13e921a6b65f75610aeaffec122ddc41d07a37c90765519a7a9a884c97' +source_hash = '59fc7e1242055c6f805c7e25532405b8f6c24271213ef9130f3e6d39a0adbe78' model_hash = '656f873c16479eab5c6c210edffb7cb0584d9c3958b0ad5b07215375a8d843f4' [crates.aws-sdk-sagemakerfeaturestoreruntime] category = 'AwsSdk' version = '1.55.0' -source_hash = 'b8e2ed4741376a645baa60f6481391642715aad08027423933490b5dc9841bd8' +source_hash = '468cc0875582f447cfc5cf740aac54974e5352904514336a7efc4d8180095247' model_hash = '7262dd6b37b7ed626f1276a3c4a2479c454283d9046211e79e1edbf90d8a8a4d' [crates.aws-sdk-sagemakergeospatial] category = 'AwsSdk' version = '1.54.0' -source_hash = 'd180882093215b23c997ec7b94dfbc9996a131371ca523a1dd61751d92a7edce' +source_hash = 'e1517aa86944a8c4f5a9e23f9741245ad39b9a35dffecc85e04119706d4c0f0f' model_hash = '1374a50b7b671cf6aa6d404bc228204bbf8bf663ed8781a90c31f10b1d9891bc' [crates.aws-sdk-sagemakermetrics] category = 'AwsSdk' version = '1.55.0' -source_hash = '799641ae3bb6beca360776e0690649424ab13f5a6c0a4b02bd0f8a4cf7efd219' +source_hash = '9f6d3ce60ac310fac28ca1f8cc5bf4a0b764484f4d8f4c586c0ff17db84152d4' model_hash = '6e1532a57ac64cbb43d330ebfb658769df59bbcb86009dd8bde567af8c6e0666' [crates.aws-sdk-sagemakerruntime] category = 'AwsSdk' version = '1.56.0' -source_hash = 'eed5e45efbb2fd33593453a56b1ca50c14fa2a268af6482dbbd2f9b305d912c6' +source_hash = 'f3a6ac84ccb4b6167eabc14977c9cd5feae0d38b253146e884f3c97ea6526080' model_hash = '5a6ac8af6a4a50227fe146699e23dda4798c011e01acc07a97b184004ea973a4' [crates.aws-sdk-savingsplans] category = 'AwsSdk' version = '1.55.0' -source_hash = '9dd551e167db8f5ba06dc179c9d3869cc3e9e39a6d4d518355cb007c05bd5270' +source_hash = '281cc2bd7904b353fa86acd5317d26d08369dc90fef1ee42c109f9d21e09299c' model_hash = '6f3f06cde8d55546a24c9b33c006eb14b4da2518039c7aa5e7fa91235e9d9955' [crates.aws-sdk-scheduler] category = 'AwsSdk' version = '1.54.0' -source_hash = '0215e633e1588a8c8b5606d5196aac1f62174b48bc9889c5cc00957cf7af26f2' +source_hash = 'e670e8d4ac5f9a326177598a75022eb81c8b1afd73f1ae74a27ae657a9ac9884' model_hash = 'a2cc9a2ba86218f1943a36c8c0a0d7fc5d6877a1b7993f3b1487412d2cf9d1ed' [crates.aws-sdk-schemas] category = 'AwsSdk' version = '1.54.0' -source_hash = '8c38a2924d6edc7fe7158079a76da273438713cd18dc8f36fa70d22ca7dc1c6d' +source_hash = '3483587749ef1af4c24a614a493cdb43bed7343dfe8d4944280ce2fd1d389466' model_hash = 'f1ac740bbf221d07009cb31840d1d0cc731e30ff3d153b018b1706258e5619f2' [crates.aws-sdk-secretsmanager] category = 'AwsSdk' version = '1.58.0' -source_hash = '0baae8aca43e0b62304524f1466a5dcd76c254099a0d2c046fa86b6727d6b983' +source_hash = '7a2f4b8610bbb01a568474164953ee89a438323cb4a7ac40d10455f5d9018138' model_hash = '38c9e5e795416e436816ff34ca2e8c33e9deaf5e682fa6ac31f7c99a32ca6f67' [crates.aws-sdk-securityhub] category = 'AwsSdk' version = '1.58.0' -source_hash = 'e888f8b946a782cdc2c8483764657dde8ba59f0decddcb774b8f1d2a228c3e18' +source_hash = 'e24fd7f97132e898a99cd16ce567ed4607536e4f806b4440f7945a302525bc00' model_hash = 'a4666a1f966c62d4ea6371cb080780a80c71f0a6e0d9a198188745bf79975d38' [crates.aws-sdk-securityir] category = 'AwsSdk' version = '1.5.0' -source_hash = '7baa6a256cc71332f584f42aa16b4eee8b6b9ca071b648f2a1d41858bfea67e5' +source_hash = '7a31513d7991ff1f0ce9aa63141fa9b43972ea7892e3aeacf8c79df471c522ac' model_hash = 'f0bd142c2d190f5a557b4db33d2b110b92d4d4246cee55be7e573dc86190a840' [crates.aws-sdk-securitylake] category = 'AwsSdk' version = '1.57.0' -source_hash = 'bf64a42d58abd9608bb3b863d89157bff0351717f160c875f7db1b6dfed2fe82' +source_hash = '827d4d1b1ecc4a386e73be679d40c0d4c5e085021210fc1614549abbb7cb94d2' model_hash = '43b12e35530a95b6a32a44aace9863f58fdd47b629bf7ca7f56b135b42baa006' [crates.aws-sdk-serverlessapplicationrepository] category = 'AwsSdk' version = '1.54.0' -source_hash = 'aa994ff1fb9071d7baf8080e15fedbe12897c5da1ca1ee20fdac8b674ecd8300' +source_hash = '347726723cea39299dd894d82422ccbf907a350557999e2c24d68c441c3085e7' model_hash = '822f44c97fdfaa85c3ee6febd57426ef08199ee9e623b5aeaee154705bea5e9c' [crates.aws-sdk-servicecatalog] category = 'AwsSdk' version = '1.55.0' -source_hash = 'ec787c42ba13263e31dec648e4cb4d3436f8dd95e9cb36aec43aef7ff6e300ef' +source_hash = '28a487ebf0be4a91c7aa00175165be8d9571f14b26a2f728f3f38791467f6994' model_hash = '1ef3aa9780c079a91c7bbeadf6fff1f6779bb3821f9ffe10f87cf70feb9f1f21' [crates.aws-sdk-servicecatalogappregistry] category = 'AwsSdk' version = '1.54.0' -source_hash = '27e188db819b09cff77ef98c2fc8b3e52af430cd4cadd16d61c2f96b879d4e9f' +source_hash = '954db0000f95165babffc92bb4ad481605e519dbe579ba4dc671f1c6e25e7f65' model_hash = 'c63e3916a6662a06c0529acd65673fd2d96100fa137c40154ccd23807661c012' [crates.aws-sdk-servicediscovery] category = 'AwsSdk' version = '1.55.0' -source_hash = '8070a9d02391598bbd2711e972a10fa45a16f74ba926c8bc254bde2d7ba47af8' +source_hash = '9a9445dd9898b6029d727237c7413d208a9750845470eccc884ee8f4f3074bf0' model_hash = 'f89d144a106e79a93f2f7a19aa2c21a98a32e972af2bc604ae950df44c403799' [crates.aws-sdk-servicequotas] category = 'AwsSdk' version = '1.54.0' -source_hash = '36128666814b9fdc5b7beb6eb731d2ce6a944ef60404af1d24a2ca9a55329edf' +source_hash = '280a955138171b010a276f8127482e689d431f1cb351b8bfd2474c333008d8e7' model_hash = '13b9bfd192ebff6750f9102a2a9dbae7ef3727afff2326c2b21a547e96d91285' [crates.aws-sdk-ses] category = 'AwsSdk' version = '1.57.0' -source_hash = 'e10b19d1f12cb7279568e99457bc46b7d9c785e68bac9bf3c0e75981a1d9e949' +source_hash = '748ac81284072882b8a05f4fbed89fb09225474f92d1ae6051454f35109c3810' model_hash = '7ea630c51f0d837fd35192e6934ea08c17d2c67eb785cb84eabe95dc46e27ca7' [crates.aws-sdk-sesv2] category = 'AwsSdk' version = '1.61.0' -source_hash = '1991beaa8e062c1d2cefe3b9d2fec9c6f4eea47fd99fa99197dddbdf5a2e16e8' +source_hash = '463509b3626b50db84744db321c297f25f85fffeea93db232df8c160eeffc88a' model_hash = 'cee7e9e8d80931a9f983795d192319e5b5701cc9c06964244f26712f286d62d8' [crates.aws-sdk-sfn] category = 'AwsSdk' version = '1.58.0' -source_hash = 'd6e362014d74209d91acec4e6e2c469bd4890b45a1bb4d50af6a66120b19f9fc' +source_hash = '95be566f35de8a4e4d3532ca19d413d922e451414bf02cb51073ed4373d7c31b' model_hash = 'd265caee0ab5059aa915f5bc6d04874d5a7ce5cdf6c23cc66b9dd1c89709d67f' [crates.aws-sdk-shield] category = 'AwsSdk' version = '1.54.0' -source_hash = 'ce7cbbbf7e8f35aa2f8663e35ee982a7dfe94f95332edb6d76b20cb360039286' +source_hash = '0287d5de674c109233ea7dfc9c252a94a381c7602726fbb60b3f121a51c818c8' model_hash = '23c541cca0767fd5971203d0b04e4c7cc0e9ed9fb284e914f9b1f4c9b92c6d3c' [crates.aws-sdk-signer] category = 'AwsSdk' version = '1.54.0' -source_hash = '1c357c1234916083fe3c3457b02a2e4a7c237afba36e5c5d77508443eddd3d45' +source_hash = '0a17bd19c2d0025d8d2847ff9923d1daccdb1e85513c144a43c6e01ce8ea03e0' model_hash = '53ebac909a6d869619c8dfaf03764039e34b6a844ebb0c5ccef802c831d0adfb' [crates.aws-sdk-simspaceweaver] category = 'AwsSdk' version = '1.54.0' -source_hash = '8992760001bffa07a945b5da400debc6313da4c6a49a1801a8067c8c70521365' +source_hash = '036128f1f6bc35bcae237e16bc2ebd154993145335c15f00b2aafdd5fc04e327' model_hash = '533e82156505729b8d145bb443d469e37968adce23515d1a90ee2a597bd5447d' [crates.aws-sdk-sms] category = 'AwsSdk' version = '1.54.0' -source_hash = '182daa1422de01de3a5b8035cfedc6fd1545a54c429aefd46f1d5f022b69001b' +source_hash = 'd474419412ce318216794525bfe712d445d07fa82b16cfc4f448910e6d607ddd' model_hash = 'ca2de1f7c9f67ac9aa065738dc673137ca4b2e8e86373c413da2a41c7f42f232' [crates.aws-sdk-snowball] category = 'AwsSdk' version = '1.54.0' -source_hash = '474193c798092ad9a56086a110a7cda1427b0b2eb60b1c8a7ad4cdb118ceb3b8' +source_hash = 'd6bd77948914b82dc42d925ab508aa2f126eb93d36043375033a0634b662eb61' model_hash = '814a7d7f292cf3586bd5a242716f07fe194f83a9fa1075bac34093ba5ea349ba' [crates.aws-sdk-snowdevicemanagement] category = 'AwsSdk' version = '1.54.0' -source_hash = 'b555d19f1eb48007e74f5e1af6ebd388115201d445469a4c89b69b8932251e1e' +source_hash = '469869dc2e0268eced1f9c36413a9939c5c4631b01b3c7f1307eb0ff75bd7b93' model_hash = '171cb2c324ef8098f094220d7fe04469ccaadb534fa5658d8b9d7a816252815a' [crates.aws-sdk-sns] category = 'AwsSdk' version = '1.55.0' -source_hash = '09864c0f60da4629a174d3a9e9d89968290a151f3c1c6f8a9a90bbaca1ba81b0' +source_hash = '5693828defe038603b874847c6949ae89abcc77c93fa8f0ab9d434ffe7678459' model_hash = 'fdf1224fe00b4e32140d8ea9b9c93d764bde4027c2e212e2c7f8421c90268134' [crates.aws-sdk-socialmessaging] category = 'AwsSdk' version = '1.9.0' -source_hash = '0e7fc5ae0d690d38204a29b4aafe616ff6355e7c93e00ba4cc727b71a3df00d5' +source_hash = '5dda6803d0447a1eed6a196b40c646425644cfd86172eda482ab641f2e6695d4' model_hash = '051fb9fac8caa77fe4df43058c66904c841aa66c4905a7197c4077033b5dd862' [crates.aws-sdk-sqs] category = 'AwsSdk' version = '1.54.0' -source_hash = 'b25b5f5dccee96e8308a20a67a10dc04082fdf76587ca03c0df33ecefc0d46d7' +source_hash = '66d65eb0d000db1ecc0340424568cf112d569c7e19210fc628beb26fd7cbe2ff' model_hash = '427510dc9329fdb7107e160387c1051deb1062215c400ecc8f7a2f0d1aee0d61' [crates.aws-sdk-ssm] category = 'AwsSdk' version = '1.60.0' -source_hash = 'c23ef7289d5298acc028fce756a84a6597092ece4767eb126790a36452270eea' +source_hash = 'd7b182b8c1d204eadb95cf729a2c7db9d78a4451bfaf2ca9f87f93c9c6a357ba' model_hash = '7656f31715888b83c9867afddf0a6224820bec74592f054a11cf0fb9029456a5' [crates.aws-sdk-ssmcontacts] category = 'AwsSdk' version = '1.54.0' -source_hash = '2b85c6ae67f282507701878b1b86db039a19faab968541bcc82ba6766e255799' +source_hash = 'bbc17f3160681985209f211e98b14d5759ee8f5f00af3f94e70c1a765751d6bc' model_hash = '7917a0daad67c7ac35a49446f890181b3f303a4c536b7b141a03060795eb101f' [crates.aws-sdk-ssmincidents] category = 'AwsSdk' version = '1.54.0' -source_hash = '6d637bdd1239cfc4d70e742b0e04dfba6595c260ca67cdf999fb4b689d8ef775' +source_hash = '662781c8a6a31405d16bc7271fccca33767c9a5b482dee91e1c22390f019dd9e' model_hash = '1a3b6d948b2383d38212f7fb9a27d8b81f548a2f0a612687f1a376c21a705e2a' [crates.aws-sdk-ssmquicksetup] category = 'AwsSdk' version = '1.19.0' -source_hash = '2f060d81682854a367336767d536272fbc61aea9862cbc3a54e6299091bc0277' +source_hash = '7ebbb4d390904beddbf7c8f233a40324c435483060bc972887936efe2ad1b5d6' model_hash = '1694be05b0070483a7ae5a4a0943fa064971a4740ee9efafcdaec1fc792ba831' [crates.aws-sdk-ssmsap] category = 'AwsSdk' version = '1.57.0' -source_hash = '5fc69f2aa4c995e49d593ec29b25f4c651cd8562636122a579acd54f32ccfa8f' +source_hash = '2deb3bbd7a2fca3cae4c9cc8be85aaee5ce072200a00139768df5ad2f2470a98' model_hash = '10a88c46ef41d8c35e3f363396c2d991c5d21517d696cf419c1f71dfec90ba4f' [crates.aws-sdk-sso] category = 'AwsSdk' version = '1.54.0' -source_hash = '0735077965672267758dfa104cc221122b924abd166b85cb184a929af13e9250' +source_hash = '8f316cc28e212bee8c8a5f13a0464c2e001a9b60823fb72e020881132859d8b7' model_hash = '9e59beae18125c2c7ec98cb3e1c1d88a68f2dd71b43249a780704b4ae0fab357' [crates.aws-sdk-ssoadmin] category = 'AwsSdk' version = '1.54.0' -source_hash = '42604596149474794120f97c7b300f6f146725e93b860bcf88b952eae4d91f19' +source_hash = 'eeb2babdf2386b38d862894a0ded7ade05513feeaf410f37639d6b77a99fb58e' model_hash = '4f703cdad534196e863a1b9ab0090dfc93fab2e33eb662db8da716c95811a72b' [crates.aws-sdk-ssooidc] category = 'AwsSdk' version = '1.55.0' -source_hash = '159d64320c4b2fe726d08a6ab5e1a37dce0a823d54cb360155060fbc01876788' +source_hash = '6611136ca564e0e999f794811cf22a6b096fbcb28398f3422aaeb634e8f1085d' model_hash = 'ab2cae07b5d916ae421b910b40155b670023cedc1ce3b7db719862c5d6800772' [crates.aws-sdk-storagegateway] category = 'AwsSdk' version = '1.58.0' -source_hash = '989530b7e687e85c963b44e3090ca5ce9d5903880bae858b197bd348f88b0239' +source_hash = 'd41708eecd7e21ff9517373a96b6784be6ef6891ce04e2b48ce92064da19a12a' model_hash = '3d769ee530e6527e17baa6490c5003a59a84560d0d7af553dbb921808e6ea8a5' [crates.aws-sdk-sts] category = 'AwsSdk' version = '1.55.0' -source_hash = '0c0cc255782f6317d0a2f96e6ed00c688190981d59d69cbe80add388f61c4744' +source_hash = '969cb9835ef369614be9c40c71be41d2fba57014337e31ff97dc9db38eb33c9f' model_hash = '6889055418cd2aadc4da8cf04e48ae196d9ec62cc2af9297e8d8ad220563038f' [crates.aws-sdk-supplychain] category = 'AwsSdk' version = '1.48.0' -source_hash = '29cd4b98c73040b228943cc465e4ef05bc74f9fd1068d90b2f8314a73e33d1d5' +source_hash = '3cc846ecb2aad6a212f06622b9adb9001dd95e89ed9fa359099fbdf1b7a798b9' model_hash = '7736c4e81d7eb5bc1b3370b2ba852c23b677b086e75c2edf46c27ef1385f7022' [crates.aws-sdk-support] category = 'AwsSdk' version = '1.55.0' -source_hash = '9c95347f7619307c46f9b9993367643ffd4f97a19f3e31d46274be354865a7a8' +source_hash = 'b74c4f8e32b6a3de8dd20e328c47358ec06df74b7a2307a7e6eb1ee8951755ab' model_hash = '4ac7a952bef4e46eb6bd24a1b54248c6bd17898f5f52c8c8d02d9d42f84dc200' [crates.aws-sdk-supportapp] category = 'AwsSdk' version = '1.54.0' -source_hash = '2daec1a3c53957a312886338e71ffc7a5382afb5f952b1593392e11baa5e8823' +source_hash = '5e8a2c5f73718b672e446652bdb2b3985e01a0fd88eff3821a7324d19ab47988' model_hash = '9c99c40c7f7afedcc9d6351198ddbe8ff1193e6b6abe1d6582612e046d4ae8da' [crates.aws-sdk-swf] category = 'AwsSdk' version = '1.56.0' -source_hash = '57cc1d7ab6a27dcb5dac1b0c75688764aeeee1b34890c79904c11ad29d053b1a' +source_hash = '3f259d5e5a6c07f9f1b4f22a6ddc72a9dcc33442aa6306358678ad25d050872c' model_hash = '4cafdfff1443f955a809c0c1f164e38c2c54307ace206332dd666c7d1db33e85' [crates.aws-sdk-synthetics] category = 'AwsSdk' version = '1.57.0' -source_hash = 'bec05557d919d4066038a35e8595a544ae8907954e3ca3c5a1745b9d700cec33' +source_hash = 'caf5c869ff761102a637bfaff51626c5b51fd3ffbdec3b5a1b33197b84a6961d' model_hash = 'dd226f5fc2d0e55aba7892cbb176756d628f3b8059ee7bbe6e2dc7fa1b359764' [crates.aws-sdk-taxsettings] category = 'AwsSdk' version = '1.28.0' -source_hash = '980cb8daefc795f5120aca9a5eae9bbb2d7273555a6ccae1ae8441530367574f' +source_hash = 'f0fc1acf426335ae64b55bf235adfe621cd6fb2844d2092f9026db203640ef3e' model_hash = 'bda1f562e2873396676a3e8973d692f3006376b3eadc16023a3b231051e59dd3' [crates.aws-sdk-textract] category = 'AwsSdk' version = '1.54.0' -source_hash = 'de797bec6c088506ca5c8be30965d61bdc62bf06a74234facf2f1b9491237ec3' +source_hash = 'a9113c1c16fcf0fc515b530d060b32246d4ecc0f8f4f35acaf50be6026cf8638' model_hash = 'a53d78aba76a9e4ea3ea54db9720f8c1bf9a20b349516a5afce390bb40f55a9f' [crates.aws-sdk-timestreaminfluxdb] category = 'AwsSdk' version = '1.39.0' -source_hash = 'e6f417a64baacdd5e4e41c96bff00c852aa7dbe0ab1d74ecbde1f2c5ac2f2509' +source_hash = '2b3e2036fd9447cee33cddc47dec99b22abea967c59367b764f703b42160d575' model_hash = '643ef8f2b6671157adb0223ad599b901bbaa25ea433a49c4ddc97ee99d72687c' [crates.aws-sdk-timestreamquery] category = 'AwsSdk' version = '1.57.0' -source_hash = 'd67e77dc721c630758dd8125001c778d214997881940fd147128efff40e11c3a' +source_hash = '0fdc9e2d8b8f729e7d0d584eb449fd61d61d8bf55d8e412407151e17c5b8bd17' model_hash = 'a725b5e8ca9624a93004aad460377f62f237458c1312dc7d01ea9807976e99de' [crates.aws-sdk-timestreamwrite] category = 'AwsSdk' version = '1.54.0' -source_hash = '2086a24340e39d9d9e6ef797975cb495ff3ce0393d6ad1c368deea6a4f29b8c3' +source_hash = 'bbba8b490d92febbfd0a15e164b8a1c5c05ea9f6fbaceb3ce38ac9bf68792b28' model_hash = 'a1f3262010b114c954ec3ebca471c6aff8b2957af4969be36e5ac081683a3c7e' [crates.aws-sdk-tnb] category = 'AwsSdk' version = '1.55.0' -source_hash = '2ba6a8a29b301a9cb54665826adcc2d1e76e9c787022684a6b415f0a8eb717ba' +source_hash = '154865860531cab5656999bc4ce200108ad0ae1e0457eefe64f6388596033093' model_hash = '7c715cfce689a28f2886c2c7df1b2228b55f11a7b51be95da1143f08f93c2e3e' [crates.aws-sdk-transcribe] category = 'AwsSdk' version = '1.56.0' -source_hash = '0a188fbb63ab8770475acb20904831c39c2e9943a0c71bb187fd1edea54232cb' +source_hash = '75c6ae71301310ec80a419dcde5b2d5f29e528a1ca61c21a72d8bbcc6fbf32ea' model_hash = 'eda48e0782273b904bb11d8a26c10bede8098cfa9a0d62ed156b3e24ca5e3cc4' [crates.aws-sdk-transcribestreaming] category = 'AwsSdk' version = '1.55.0' -source_hash = '1d7394772746b18e7cc5b8eac9890981b425c26f11d951ea83091f13e2abbfe5' +source_hash = '927be6be51c6988760d8d60d320e71f17cab3bdd0de55c203d9de2efeda345d2' model_hash = '7f082a02d913a3d59f43d973f1cd1df3716c1696ccef1dd8728ae13277c36752' [crates.aws-sdk-transfer] category = 'AwsSdk' version = '1.61.0' -source_hash = '724df5df94bdf94ece322ef2be9c732a6311e1a8d3f52928bf4ff9c22f2f6570' +source_hash = '945a3d00c1cad9486bd8286705d544aab264bcf45357323a04187afff85d2678' model_hash = '54969775d9b487ba4c125231b7526fd30c21bcbe5c4994ec778afe9d493981f6' [crates.aws-sdk-translate] category = 'AwsSdk' version = '1.54.0' -source_hash = 'b1e78db342465f2f8d0043f034b55ee9bbe863439f4f02d230cf2d29afc4405f' +source_hash = 'd0b0b66188c6b68f1caff109503c29908b1fdb6281ec26afd1d2ec5dd14522b3' model_hash = '07e1d4a125bceac820fa7ba3ba4314903c47c463bd1c600a953038ab8dd1975f' [crates.aws-sdk-trustedadvisor] category = 'AwsSdk' version = '1.55.0' -source_hash = '73b08485856a415e180df87d2ac3aebddffd70b0626880f9c457dd84d2424084' +source_hash = 'b0fae2addeca2737ebf6f602712a1ce0af28e76b6a20bbec300b96a106268ae3' model_hash = 'ffb68f74e946dc2e4c4d51ff67ed5a078ed71b245da3baa52784e356fcda1885' [crates.aws-sdk-verifiedpermissions] category = 'AwsSdk' version = '1.60.0' -source_hash = '9c66fde98b4e54ddcf55082f4785b1eaf0f59e55bf97d30594e27ebc3ac360d2' +source_hash = '68ae4bc1e67a9e2594ee0a67762df1a295ca6267909cbca3f188e0d10859b9fe' model_hash = '2552c57ce0e2b9c3882575dd57ab5e59df126a7f4c6161c50c8ba645379d5a4c' [crates.aws-sdk-voiceid] category = 'AwsSdk' version = '1.54.0' -source_hash = '0ed89b7e096bc46c249ebcdcefe3702ad0e5ed79250aefda05133d8bcbe763b3' +source_hash = 'f1d2b8039dbd989483d4470445e40d7b5c828fd88936c411529af1bf9fc12cd0' model_hash = 'babc302a2d66181ccf27747be08198131836d1c11d345693aaf744dc8963f667' [crates.aws-sdk-vpclattice] category = 'AwsSdk' version = '1.56.0' -source_hash = '63b94d70fbdd3083ed9c35f96a21c906dff16b1dbbf57821c075575c6521dc3d' +source_hash = '28ed2c19e39192a3035c0e76d8bfdf48637545c802e7b269daa4d68c19df109f' model_hash = '3e4cdadcfb903febca138bf18d2ad2fce0ff68b6fbec973e104e2bb3ab07628e' [crates.aws-sdk-waf] category = 'AwsSdk' version = '1.55.0' -source_hash = 'b9575bf1c6456ba31db3dc04e464e39da1f404fe7a8fdd47f5b5f119917a8993' +source_hash = '6cf5e9825d2cb28080e8c084f07b2495be8841f1f9a64c6ba1f7b1e597387737' model_hash = '9e247d4ebf41e6c247c610b66cfc65b776149b663a4c9d92ae102590173a1fb5' [crates.aws-sdk-wafregional] category = 'AwsSdk' version = '1.55.0' -source_hash = '72069ab7e4e7e1151f23b56806964741758e377ac97c39b83349e84424ca545a' +source_hash = '7680f391b963d2c1043880f8778e59bc7f50abfa7d66f65ba26fe865b5f76479' model_hash = 'a67bf96b3b9d3c1539004d2923b5c1288efbf55dab3ae2005ef9ff620db85e6e' [crates.aws-sdk-wafv2] category = 'AwsSdk' version = '1.59.0' -source_hash = 'e18d85f7cf4c36744e10efea63bd494a0923a0633711671771c2be0d856e2f3e' +source_hash = '5f96de3e30727978e89bb5a8dc92635bca121724606ccb82ce6df49e3062801c' model_hash = 'c336ad1bf478190fd6f9e31136a029facece856202e1fdc08f774363c3b9dbce' [crates.aws-sdk-wellarchitected] category = 'AwsSdk' version = '1.55.0' -source_hash = 'e0950be5fb962fe7916a133dbf05c41e9ff756e26b3129aa69206cbb2659e3ff' +source_hash = '7cc796462f0d4e2151997c9bbfe70471241de929bf1acef845c05c89b571a4fc' model_hash = '10a6d6b88e100fa4dbff0c1396633b87fbe41ebc7ed7e18f5c34127a64478e37' [crates.aws-sdk-wisdom] category = 'AwsSdk' version = '1.55.0' -source_hash = '110927527145cbf1de0a25dbd07b64622072a74325013d95b74019d474256600' +source_hash = 'eed2caa29b4e35c65509edd6b555f467c3d81180cf2d0562227dc7ba07aac6c5' model_hash = 'e3e524636b5719b1512c04d81a9fddbfd04b305febf1b3f83562af6d240bb657' [crates.aws-sdk-workdocs] category = 'AwsSdk' version = '1.54.0' -source_hash = '254448d83fd2a7d7fd3e65d30cc055445bcc2681166efd8ec1fed32a9f1a7a09' +source_hash = 'b7393b80a8b9e06a8b3699ac3feec643b70b61376a5d498d5cc4c880d84ac368' model_hash = '3089c7f60a3c27474e6d041d518345ba73f9cf14a14e0c48cc1d54e720cc4ac5' [crates.aws-sdk-workmail] category = 'AwsSdk' version = '1.55.0' -source_hash = '2a5886863766675d1c74084f45f4775aa9ecd84ae82613b0216a4e807265827b' +source_hash = '72ab51377379929e63b52af70235af0b34a6584618a8ae56d283706f3d15c2ba' model_hash = '49712eadb4d28382f5cba294b294ab3fc460088babc9d7dc20851d1f3aca6a12' [crates.aws-sdk-workmailmessageflow] category = 'AwsSdk' version = '1.54.0' -source_hash = '0efff96e541cf2d9cf2d033b791c1801cd78fe5416252b00bf3832f5e371af62' +source_hash = '00a41a8de3608c56b5599872ad8a6754288d8d5d18c77207cc5015a92affcd39' model_hash = 'eab0659c4890363f26af020432f7d7c661fd228f3baeef3a52d77f80a1c13287' [crates.aws-sdk-workspaces] category = 'AwsSdk' version = '1.65.0' -source_hash = 'e692a0c953770d8437ad6626a9b4eacb83981adc9efc2b7d155c854e9a2c5e8b' +source_hash = '1a1c699e7a81e51aea263c12c1c08d1f5319c3d143d63e7878f2be3be0231fbb' model_hash = '24917a713c824dc09fea59625f6f98e372b8f0ff6e44c8dbdf0b42223be047a3' [crates.aws-sdk-workspacesthinclient] category = 'AwsSdk' version = '1.55.0' -source_hash = '2e9163edbb13905c51603479d5400b30055dd34e2251ed76f14d15782780188b' +source_hash = 'a5e1c85e3cea7298217a8013423dfb8dadfc69a9b4d55e14495284640ed146da' model_hash = 'b6d68be4c9197a9bd597738ba1bc80da3294c783070aa1a0a58ba7e504f9c212' [crates.aws-sdk-workspacesweb] category = 'AwsSdk' version = '1.58.0' -source_hash = '8c2d84fcc6d44b807c28d242000f4154717d4e3d8b6f36375aa6481d321ea594' +source_hash = '144e375365749ec1c343b9eed098347f0b6d47390bbe511f7fae6a7f6d555148' model_hash = '48995047da31d8d65d2d72f4b0934ae5e42ea22c698d8ad2a04a76b70d0d35b3' [crates.aws-sdk-xray] category = 'AwsSdk' version = '1.55.0' -source_hash = 'dc8f9e822ba0140423d07963da080428ed4936a4eda1e7779cd1cf9a9fd3cb3a' +source_hash = '4c9951bd39cdb89452a73ac52a84ac9e6a157b7546f0073452f04229a4d2a8bc' model_hash = 'a7d368eed3f7cbbbda8a46d1eacd1ed343f01eb0fee3bb3e22d94b01aee4411c' [crates.aws-sig-auth] @@ -2457,23 +2457,23 @@ source_hash = 'b748a6dfc4629c516cbb0ef8338767426913e055e2cebff9f112c4df7533f2d2' [crates.aws-sigv4] category = 'AwsRuntime' -version = '1.2.6' -source_hash = 'd0be7db5a0f796d142cb05f09640e8edd8d32410edbf973867cfe6d7c320a7e7' +version = '1.2.7' +source_hash = '38b7e49925b2d9fd5a35474ddebe126dfc651477c38671a376b056e436bf2892' [crates.aws-smithy-async] category = 'SmithyRuntime' -version = '1.2.3' -source_hash = '1e930efa5ba8117a67f27ce4c6c433bf4a5cad54f6692a76386931fe26bba0e3' +version = '1.2.4' +source_hash = 'e4ec275934382ef70d20106431846152502a5cfef3d95ae589b856a93298233e' [crates.aws-smithy-cbor] category = 'SmithyRuntime' version = '0.60.8' -source_hash = 'f1728c879d4700e6241d0623fbb637c32b94009829ca140bf8a4b7b8a142b460' +source_hash = '1210d929aa2de73aab6e7b5843bf7926e2493fa041c45fc9a919035a7b6c018c' [crates.aws-smithy-checksums] category = 'SmithyRuntime' -version = '0.60.13' -source_hash = '58d178edaa39b10bd45741db18834974df1b95fb730522307f1518575b3ad1e4' +version = '0.62.0' +source_hash = '1142c31a6a4cdf6f2e8c41a37134274b05755d14ab57d24a5c301b2517b73479' [crates.aws-smithy-client] category = 'SmithyRuntime' @@ -2483,27 +2483,27 @@ source_hash = '457f90aafb2642e8cd32274a527e61482f2fc97ec03928338b760501066eeadc' [crates.aws-smithy-compression] category = 'SmithyRuntime' version = '0.0.2' -source_hash = 'e37bd19826d94ebfd706981a87caf90d771c073df6de86550af87e70df14b0e2' +source_hash = 'd2de57e903ed5582d8d6a62005651a3c1864519578fa8b259c69b78e845ece3a' [crates.aws-smithy-eventstream] category = 'SmithyRuntime' -version = '0.60.5' -source_hash = 'be1c961a695112f7e51e3c591eff8a5db59c8682fb4a9faaa47a546229e9d3ef' +version = '0.60.6' +source_hash = '1f21ffb0fd147c426ce9d679cf7226cb555ba2741f9729179d5bf14bd7b60f81' [crates.aws-smithy-eventstream-fuzz] category = 'SmithyRuntime' version = '0.1.0' -source_hash = '1ed20259eaf7672cd1bca0f332054eaea63bad2edc01a6d8a0a21d225617f3f7' +source_hash = '2921d35b98956d4253553010ddfb755cc2ca24f4bf3ac13ca7b19ccc2b3e6889' [crates.aws-smithy-experimental] category = 'SmithyRuntime' version = '0.1.5' -source_hash = 'cb9cbe2d6bf9b89fd224dd7e914cf7cb30cfce6d8c8106b98749a3b1e00bff8f' +source_hash = '06589488d268ae73e4703f2d21b5d14f9afbaa8be90d30eca7bc656ff3ed2552' [crates.aws-smithy-http] category = 'SmithyRuntime' -version = '0.60.11' -source_hash = '79c7320c959321cb56cb1b521b44551f08383dab3374d7b3a5c151c33e0ceb2b' +version = '0.60.12' +source_hash = 'b45f1feb921942bfe168298e2f78d8aab8c7d7c383313b514a92838765cc151d' [crates.aws-smithy-http-auth] category = 'SmithyRuntime' @@ -2513,7 +2513,7 @@ source_hash = '9c009a85e395313675582cf5d853ab1e75879bb350249e44072d057086546077' [crates.aws-smithy-http-fuzz] category = 'SmithyRuntime' version = '0.0.0' -source_hash = 'e967b219e630e065bfdb80ff144cbb7056d89cf45ddca3756154a8314e6c524e' +source_hash = '09723c96808901261430cdee67fcb494f48663c4063cca8f29b813a0133b02aa' [crates.aws-smithy-http-tower] category = 'SmithyRuntime' @@ -2522,18 +2522,18 @@ source_hash = '782efee1d7db47f5948d8e418c9c5803404ad87df09492a85c6409ed423870af' [crates.aws-smithy-json] category = 'SmithyRuntime' -version = '0.61.1' -source_hash = 'dc087e4963e93a40d890b63a20c991f8d073671c76a0d9e2bf60ef9bad0664db' +version = '0.61.2' +source_hash = 'c0412e7615beecd1942357bc9e75bedfaeef2195e5a817e0dd6b911aa4f3f6ec' [crates.aws-smithy-json-fuzz] category = 'SmithyRuntime' version = '0.0.0' -source_hash = '5d2a107ae7afdc243fbc99c70153d44c45fa7e1f294072f98a9ace453a24b649' +source_hash = '25354b73393389050d3542cd15ef815d086d353a89bca23546d6f2bd6d2f8746' [crates.aws-smithy-mocks-experimental] category = 'SmithyRuntime' version = '0.2.1' -source_hash = '763c4b7046e7f142d557c296e63607bd720a67a6f02a323549c83d4aba6965c1' +source_hash = 'ab802960ee323221b3b0077333c4284e79fd645134d15b5f6c2904890fc19f27' [crates.aws-smithy-protocol-test] category = 'SmithyRuntime' @@ -2543,37 +2543,37 @@ source_hash = '83820baf400991afbb52c6020ca295c8154cba707e402a0411b79cac8ae46b89' [crates.aws-smithy-query] category = 'SmithyRuntime' version = '0.60.7' -source_hash = '590b798e2ed3a03672cf50d4c5935784393a4f24bacb83d1e0c94e6db8a24984' +source_hash = '55dcfc5f5f0814084037ef2db7e4ac7778bd027406daf09364c64f22930de1e1' [crates.aws-smithy-runtime] category = 'SmithyRuntime' -version = '1.7.6' -source_hash = '82f92f543099960202818889a9acd67a164b76760464f33c15eb393796580939' +version = '1.7.7' +source_hash = '1eb5a4ff15065f74554a0f21a58ca35ecec21d99147a488e07878b398e57cdfb' [crates.aws-smithy-runtime-api] category = 'SmithyRuntime' version = '1.7.3' -source_hash = '8f22373285ee0696fd55644bec44e89091091793facd669d423cac13a7778f8b' +source_hash = '35d6c5596987ed633c92c3a631b586de39ed93f3d1377a1a5c8805b9f439b3be' [crates.aws-smithy-types] category = 'SmithyRuntime' -version = '1.2.11' -source_hash = '69375c2a21bd535921abe525bcc721084954ba5cb3370e6d28a736885a957f1f' +version = '1.2.12' +source_hash = 'cb1483a531b5757816eca18ffa935b148dcc54e5da2cc2ba8af5202878f590bf' [crates.aws-smithy-types-convert] category = 'SmithyRuntime' version = '0.60.8' -source_hash = 'c059fd30e537d828bc9188a2a0d378307c8570083ec6a5b2ba77ef155ce97187' +source_hash = '87546ef6ab7539d59600a95b52825a9202cc54db9760873f7a5999bc878b902f' [crates.aws-smithy-types-fuzz] category = 'SmithyRuntime' version = '0.0.0' -source_hash = 'd237cdde52fb57543bb352734c14bfd75e3089ddf1871745ce953018d1b71841' +source_hash = 'acc2e4204e468eec463a303097a0f4a0101ea23426484f6ce140b18d8562fbcc' [crates.aws-smithy-wasm] category = 'SmithyRuntime' version = '0.1.3' -source_hash = 'c2371975ad244435149d2a05db1bed93fd96a90094e74975e76c23524214ac35' +source_hash = 'a33b1254e1f39a4e355c0b59072239e1eefcd3bb53ef855af3e2b3202678756c' [crates.aws-smithy-xml] category = 'SmithyRuntime' @@ -2582,14 +2582,16 @@ source_hash = 'd4e0e1881beffed51804ca3f71112f884293d8790ae21b7103e666100e87b157' [crates.aws-types] category = 'AwsRuntime' -version = '1.3.3' -source_hash = '8fda8b946a2401fe6cbf145dc3ab8e680535b4f84b151678165f9c0e39b5db02' +version = '1.3.4' +source_hash = 'dd55a22705d07da35ff355ff7ac6234548be0ed77473eebfa19458217b71856e' [crates.aws-types-fuzz] category = 'AwsRuntime' version = '0.0.0' -source_hash = '0f3fb1d32b4ecfb0fb367f90d43fbd791068180a9d343827ad5caaf7e31c00d2' +source_hash = 'dc84c83a3f4529e5ae347513db6a05223594a49cae0179d8f7af66be49607c2c' [release.crates] +aws-config = '1.5.14' +aws-runtime = '1.5.4' aws-sdk-accessanalyzer = '1.59.0' aws-sdk-account = '1.56.0' aws-sdk-acm = '1.55.0' @@ -2992,3 +2994,12 @@ aws-sdk-workspaces = '1.65.0' aws-sdk-workspacesthinclient = '1.55.0' aws-sdk-workspacesweb = '1.58.0' aws-sdk-xray = '1.55.0' +aws-sigv4 = '1.2.7' +aws-smithy-async = '1.2.4' +aws-smithy-checksums = '0.62.0' +aws-smithy-eventstream = '0.60.6' +aws-smithy-http = '0.60.12' +aws-smithy-json = '0.61.2' +aws-smithy-runtime = '1.7.7' +aws-smithy-types = '1.2.12' +aws-types = '1.3.4'