Skip to content

Commit

Permalink
[smithy-rs] Remove fixes for some now not broken request tests (#2165)
Browse files Browse the repository at this point in the history
Fixes were upstreamed in:

* smithy-lang/smithy#1040, which was rolled out in
  Smithy v1.18, 10 months ago.
* smithy-lang/smithy#1392, which was rolled out in
  Smithy v1.26.1, 9 weeks ago.
  • Loading branch information
david-perez authored and aws-sdk-rust-ci committed Jan 13, 2023
1 parent 76b1404 commit bc626be
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion sdk/kinesis/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -852,8 +852,8 @@ impl DeregisterStreamConsumerInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_operation_type(Some("control".to_string()))
.set_consumer_arn(self.consumer_arn.clone())
.set_stream_arn(self.stream_arn.clone())
.set_consumer_arn(self.consumer_arn.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down
24 changes: 12 additions & 12 deletions sdk/s3control/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ impl CreateAccessPointInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_account_id(self.account_id.clone())
.set_bucket(self.bucket.clone())
.set_account_id(self.account_id.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -722,8 +722,8 @@ impl CreateBucketInput {
.set_use_arn_region(_config.use_arn_region)
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_bucket(self.bucket.clone())
.set_outpost_id(self.outpost_id.clone())
.set_bucket(self.bucket.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -1473,8 +1473,8 @@ impl DeleteAccessPointInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_access_point_name(self.name.clone())
.set_account_id(self.account_id.clone())
.set_access_point_name(self.name.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -1868,8 +1868,8 @@ impl DeleteAccessPointPolicyInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_account_id(self.account_id.clone())
.set_access_point_name(self.name.clone())
.set_account_id(self.account_id.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -2470,8 +2470,8 @@ impl DeleteBucketLifecycleConfigurationInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_account_id(self.account_id.clone())
.set_bucket(self.bucket.clone())
.set_account_id(self.account_id.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -2683,8 +2683,8 @@ impl DeleteBucketPolicyInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_bucket(self.bucket.clone())
.set_account_id(self.account_id.clone())
.set_bucket(self.bucket.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -2890,8 +2890,8 @@ impl DeleteBucketTaggingInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_bucket(self.bucket.clone())
.set_account_id(self.account_id.clone())
.set_bucket(self.bucket.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -4406,8 +4406,8 @@ impl GetAccessPointInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_account_id(self.account_id.clone())
.set_access_point_name(self.name.clone())
.set_account_id(self.account_id.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -5762,8 +5762,8 @@ impl GetBucketInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_account_id(self.account_id.clone())
.set_bucket(self.bucket.clone())
.set_account_id(self.account_id.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -6178,8 +6178,8 @@ impl GetBucketPolicyInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_bucket(self.bucket.clone())
.set_account_id(self.account_id.clone())
.set_bucket(self.bucket.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -6385,8 +6385,8 @@ impl GetBucketTaggingInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_bucket(self.bucket.clone())
.set_account_id(self.account_id.clone())
.set_bucket(self.bucket.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down Expand Up @@ -8316,8 +8316,8 @@ impl ListAccessPointsInput {
.set_use_fips(_config.use_fips)
.set_use_dual_stack(_config.use_dual_stack)
.set_requires_account_id(Some(true))
.set_bucket(self.bucket.clone())
.set_account_id(self.account_id.clone())
.set_bucket(self.bucket.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
Expand Down
6 changes: 3 additions & 3 deletions versions.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
smithy_rs_revision = '4768926b06df58e837684207d5ca7edac292b214'
smithy_rs_revision = 'b894ff2870d0969752275066a5de439be4fe527b'
aws_doc_sdk_examples_revision = 'cf400c3d1eefb910869a961bc3c948e75386daa1'

[manual_interventions]
Expand Down Expand Up @@ -1051,7 +1051,7 @@ model_hash = '6556c6b5343776c5dea4f1bdb3f5bd03ba10f147b6b74218f8b6d54efdae74ca'
[crates.aws-sdk-kinesis]
category = 'AwsSdk'
version = '0.23.0'
source_hash = '392191f29c7cb06b0123a35464bfd8528370c79fbafed0f2d693aa349fc3bd7f'
source_hash = '831119da133649cb06755137402fa68516b26b8a849cc12723bb933d220bb5bc'
model_hash = 'd3fe0055424ca8c9d4998ffb25623977d28d2d5bebd852805c17787809c745f2'

[crates.aws-sdk-kinesisanalytics]
Expand Down Expand Up @@ -1663,7 +1663,7 @@ model_hash = '78eb7dd7acf02fc39b4ec540a7135fb1846a13888ccc292d1dc105b80b696757'
[crates.aws-sdk-s3control]
category = 'AwsSdk'
version = '0.23.0'
source_hash = '0c34de6b442daf8f7feadd102d254aa61caee7682da1ac6a850c36680ad54c89'
source_hash = '3a8bb8c5c5a54c5541c910161899cb0178a6ed7561f26a2aa4a82f1ae63272b6'
model_hash = 'bd3252c3f5ee09b9431d77bd3dd985679bd3b94d7b61cb90727c63cbd0653833'

[crates.aws-sdk-s3outposts]
Expand Down

0 comments on commit bc626be

Please sign in to comment.