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

Update aws-sdk to 1 #736

Closed
wants to merge 1 commit into from
Closed

Conversation

ecpullen
Copy link
Contributor

@ecpullen ecpullen commented Dec 12, 2023

Issue #, if available:

Description of changes:
Updates the AWS SDK for rust to 1.

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

@ecpullen ecpullen requested review from webern and jpculp December 12, 2023 18:47
dependencies = [
"aws-smithy-types",
"urlencoding",
]

[[package]]
name = "aws-smithy-runtime"
version = "0.57.2"
version = "1.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be 1.0.3 to avoid pulling in two versions of aws-smithy-http?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one major version will be allowed anyway, so a distinction between "1.1" and "1.0" is not meaningful (the lock file will not be consulted when using a lib from an external project). Not sure if I'm missing something.

@ecpullen ecpullen force-pushed the aws-sdk-update branch 2 times, most recently from 262cad4 to 000ef5d Compare December 12, 2023 19:07
@ecpullen ecpullen requested a review from jpculp December 12, 2023 20:24
aws-smithy-http = "0.57"
aws-smithy-types = "0.57"
aws-smithy-runtime = {version = "1.0", features = ["test-util"]}
aws-smithy-types = "1.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make types "1.0" too and make sure aws-smithy-runtime-api and aws-smithy-async are also 1.0.3? (not sure what happens if we have mixed versions)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make these say "1", not "1.1".

@@ -16,16 +16,15 @@ aws-sdk-rust-rustls = ["aws-config/rustls", "aws-sdk-kms/rustls"]
[dependencies]
tough = { version = "0.16", path = "../tough", features = ["http"] }
ring = { version = "0.17", features = ["std"] }
aws-sdk-kms = "0.36"
aws-config = "0.57"
aws-sdk-kms = { version = "1.4", features = ["behavior-version-latest"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
aws-sdk-kms = { version = "1.4", features = ["behavior-version-latest"] }
aws-sdk-kms = { version = "1", features = ["behavior-version-latest"] }

aws-sdk-kms = "0.36"
aws-config = "0.57"
aws-sdk-kms = { version = "1.4", features = ["behavior-version-latest"] }
aws-config = { version = "1.0", features = ["behavior-version-latest"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
aws-config = { version = "1.0", features = ["behavior-version-latest"] }
aws-config = { version = "1", features = ["behavior-version-latest"] }

aws-smithy-runtime = {version = "0.57", features = ["test-util"]}
aws-smithy-http = "0.57"
aws-smithy-types = "0.57"
aws-smithy-runtime = {version = "1.0", features = ["test-util"]}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
aws-smithy-runtime = {version = "1.0", features = ["test-util"]}
aws-smithy-runtime = {version = "1", features = ["test-util"]}

aws-smithy-http = "0.57"
aws-smithy-types = "0.57"
aws-smithy-runtime = {version = "1.0", features = ["test-util"]}
aws-smithy-types = "1.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
aws-smithy-types = "1.1"
aws-smithy-types = "1"

@@ -15,7 +15,7 @@ aws-sdk-rust-rustls = ["aws-config/rustls", "aws-sdk-ssm/rustls"]

[dependencies]
tough = { version = "0.16", path = "../tough", features = ["http"] }
aws-sdk-ssm = "0.36"
aws-config = "0.57"
aws-sdk-ssm = "1.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
aws-sdk-ssm = "1.4"
aws-sdk-ssm = "1"

aws-sdk-ssm = "0.36"
aws-config = "0.57"
aws-sdk-ssm = "1.4"
aws-config = { version = "1.0", features = ["behavior-version-latest"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
aws-config = { version = "1.0", features = ["behavior-version-latest"] }
aws-config = { version = "1", features = ["behavior-version-latest"] }

Comment on lines 18 to 20
aws-config = { version = "1.0", features = ["behavior-version-latest"] }
aws-sdk-kms = "1.4"
aws-sdk-ssm = "1.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
aws-config = { version = "1.0", features = ["behavior-version-latest"] }
aws-sdk-kms = "1.4"
aws-sdk-ssm = "1.4"
aws-config = { version = "1", features = ["behavior-version-latest"] }
aws-sdk-kms = "1"
aws-sdk-ssm = "1"

@ecpullen
Copy link
Contributor Author

ecpullen commented Dec 12, 2023

^ Updated aws-sdk dependencies to 1 and ran

cargo update -p aws-config -p aws-sdk-kms -p aws-sdk-ssm

to update Cargo.lock

@ecpullen ecpullen changed the title Update aws-sdk to 1.4 Update aws-sdk to 1 Dec 12, 2023
@ecpullen ecpullen requested review from jpculp and webern December 12, 2023 23:08
@webern
Copy link
Contributor

webern commented Mar 8, 2024

Superseded by #751

@webern webern closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants