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

Add an abstraction over QLDBSession #4

Merged
merged 1 commit into from Oct 6, 2020
Merged

Add an abstraction over QLDBSession #4

merged 1 commit into from Oct 6, 2020

Conversation

marcbowes
Copy link
Contributor

The QLDBSession service defines a single "send command" RPC method,
where the command is a tagged union. For example, a command may
be (exactly one of) StartTransaction, ExecuteStatement, etc.

Rusoto is a SDK for AWS, decomposed into modules. In this commit, we
use the Rusoto modules we need to communicate with QLDBSession. We
abstract over Rusoto such that only proper use of the session API is
possible and, as a side-effect, are decoupled from Rusoto.

Issue #, if available:

Description of changes:

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

The QLDBSession service defines a single "send command" RPC method,
where the command is a tagged union. For example, a command may
be (exactly one of) StartTransaction, ExecuteStatement, etc.

Rusoto is a SDK for AWS, decomposed into modules. In this commit, we
use the Rusoto modules we need to communicate with QLDBSession. We
abstract over Rusoto such that only proper use of the session API is
possible and, as a side-effect, are decoupled from Rusoto.
@yoroto yoroto merged commit d596878 into main Oct 6, 2020
src/api.rs Show resolved Hide resolved
@marcbowes marcbowes deleted the api branch October 7, 2020 00:07
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.

None yet

2 participants