-
Notifications
You must be signed in to change notification settings - Fork 3
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
Upgraded AWS dependencies to 1.0 #33
Conversation
Coverage after merging upgrade-dependencies into main
Coverage Report
|
Coverage after merging upgrade-dependencies into main
Coverage Report
|
Coverage after merging upgrade-dependencies into main
Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems pretty straight forward/mechanical. I carefully looked at the changes around unwrap()
calls after build()
invocations. I didn't see any changes in non-test code. It looks like the reason is because we aren't using the AVP API GetPolicyOutput
/GetPolicyInput
, etc types directly. We are using the sdk client which hasn't been effected by the upgrade correct?
There are some changes in non-test code, some of them being in the translator. You're right that we aren't building the |
Coverage after merging upgrade-dependencies into main
Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Description of changes
Upgraded the AWS dependencies in the
Cargo.toml
to 1.0. As a result some things broke and needed fixing, here are the types of changes done in this PR:.build()
.GetPolicyOutput
will fail to build unless passed aPolicyStoreId
,PolicyId
,CreatedTime
etc.Option
GetPolicyOutput.policy_id
wasOption<String>
, now it is justString
.Some
orNone
cases and they have been removed in the PR.Unhandled
variant in the AVP api exceptions is deprecated and shouldn't be used directly.unhandled
on the exception insteadBehaviorVersion
BehaviorVersion
StaticReplayClient
Issue #, if available
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):
I confirm that this PR (choose one, and delete the other options):
Testing
Ran the
./scripts/build_and_test.sh
script and ran the integration tests on my aws account. Everything passed.Disclaimer
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.