Skip to content

Feat: add AWSClient, ClientResolvedConfiguration, MetadataBearer interfaces #256

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

Merged
merged 8 commits into from
May 18, 2019

Conversation

AllanZhengYP
Copy link
Contributor

Issue #, if available:

Description of changes:

  • Add AWSClient interface to all service clients. This way we can easily create interface for higher level functions that would utilize the clients;
  • Add ClientResolvedConfiguration interface and make resolved configuration of each client accessible from external.
  • Add MetadataBearer interface to operation output shapes specifcly. The operation output shapes extend MetadataBearer implicitly before. Making it explicit helps typescript does better inferring the generic types.

The last commit is generating the clients, you can exclude the last commit to have a better visibility over what has been changed.

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

@AllanZhengYP AllanZhengYP requested a review from trivikr May 17, 2019 21:37
@codecov-io
Copy link

Codecov Report

Merging #256 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #256      +/-   ##
==========================================
+ Coverage   91.38%   91.38%   +<.01%     
==========================================
  Files         265      265              
  Lines        6068     6070       +2     
  Branches     1364     1364              
==========================================
+ Hits         5545     5547       +2     
  Misses        523      523
Impacted Files Coverage Δ
...ce-types-generator/src/Components/Client/Client.ts 100% <0%> (ø) ⬆️
...s-generator/src/Components/Client/Configuration.ts 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bb4c62c...7c8329a. Read the comment docs.

@AllanZhengYP AllanZhengYP merged commit 56f5862 into aws:master May 18, 2019
@lock
Copy link

lock bot commented Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants