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

AWS Endpoint Middleware #188

Merged
merged 3 commits into from
Feb 10, 2021
Merged

AWS Endpoint Middleware #188

merged 3 commits into from
Feb 10, 2021

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Feb 9, 2021

Issue #, if available: #109

Description of changes: Add AWS-specific endpoint support and middleware

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

This commit builds on the work of previous `Endpoint` work to incorporate AWS-specific endpoint abstractions.
@rcoh rcoh added this to the Dynamo DB milestone Feb 9, 2021
@rcoh rcoh requested review from aajtodd, jasdel and a team February 9, 2021 23:04
@@ -50,7 +50,7 @@ impl Credentials {
session_token,
expires_after: None,

provider_name: STATIC_CREDENTIALS
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

formatting only. the CI format gate isn't set up for the aws runtime yet.

@@ -3,13 +3,13 @@
* SPDX-License-Identifier: Apache-2.0.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

formatting only

}
}

type AwsEndpointProvider = Arc<dyn ResolveAwsEndpoint>;
Copy link
Contributor

Choose a reason for hiding this comment

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

question

I see the term resolver used in some places and provider in others. Is this intentional?

Copy link
Collaborator Author

@rcoh rcoh Feb 10, 2021

Choose a reason for hiding this comment

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

No, good catch. Halfway through I was looking at your doc and decided I liked Resolver better since it was a bit more descriptive

@rcoh rcoh merged commit 38f2b29 into main Feb 10, 2021
@rcoh rcoh deleted the endpoint-middleware branch February 10, 2021 12:50
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.

2 participants