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

feat: implement SSM #8

Merged
merged 1 commit into from
Jan 17, 2023
Merged

feat: implement SSM #8

merged 1 commit into from
Jan 17, 2023

Conversation

sam-goodwin
Copy link
Owner

Closes #5

With this one, learned about the API reference some times containing examples API requests including all the headers which is helpful: https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_GetParameter.html

Also learned about the various content types for JSON which is annoying. I wonder how many permutations are required here:

const contentTypeMap: Partial<Record<keyof SDK, string>> = {
  DynamoDB: "application/x-amz-json-1.0",
  SSM: "application/x-amz-json-1.1",
};

Should look into generating these look up tables from a manifest, as suggested here: https://twitter.com/jenschude/status/1615373732926656518?s=20&t=FWEvbqlfpTbT0Cn0q8AvYA

@sam-goodwin sam-goodwin merged commit 4012a83 into main Jan 17, 2023
@sam-goodwin sam-goodwin deleted the sam/ssm branch January 17, 2023 17:33
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.

SSM
1 participant