Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move result and connection from aws-smithy-http to aws-smithy-runtime-api #3103

Conversation

ysaito1001
Copy link
Contributor

@ysaito1001 ysaito1001 commented Oct 27, 2023

Motivation and Context

Implements #3092

Description

This PR moves the connection and result modules from aws-smithy-http to aws_smithy_runtime_api. SdkError is primarily used within the context of the orchestrator, hence aws_smithy_runtime_api instead of aws-smithy-types.

Like the previous sibling PRs, type aliases for affected pub items are left in aws_smithy_http for backwards compatibility. However, due to lack of trait aliases, a trait CreateUnhandledError needs to be consumed from aws_smithy_runtime_api.

This PR also updates existing places that consumed those moved types so they now depend on aws-smithy-runtime-api to do so.

Testing

Relied on the existing tests, which ensured no deprecated warnings of using moved types from the old place were issued.

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ysaito1001 ysaito1001 requested review from a team as code owners October 27, 2023 01:51
@ysaito1001 ysaito1001 added breaking-change This will require a breaking change needs-sdk-review labels Oct 27, 2023
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@ysaito1001 ysaito1001 enabled auto-merge October 27, 2023 20:52
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@ysaito1001 ysaito1001 added this pull request to the merge queue Oct 27, 2023
Merged via the queue into main with commit cae35b7 Oct 27, 2023
40 of 41 checks passed
@ysaito1001 ysaito1001 deleted the ysaito/move-result-module-from-smithy-http-to-smithy-runtime-api branch October 27, 2023 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This will require a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants