-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor EC2-related code #45
Conversation
|
…eturning SDK enums where possible
…tus summary shortcuts)
There are several different types with essentially the same set of parameters describing instance launch specification:
There are for sure more such types, but these are the ones we're interested in the lib. And the problem is that they are not related anyhow in the SDK. So what I'm going to do here is to make a common denominator type and construct those other ones from it (similar to the current |
Here is the list of their parameters with the common ones and specific. Common parameters
|
…a common type for different SDK requests
So-so. Something was already done here, but things should be simplified.