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

Per shape timestamp format #882

Merged
merged 2 commits into from Jan 11, 2023

Conversation

divarvel
Copy link
Contributor

As discovered in #881

  • timestampFormat was not supported in shapes definitions
  • timestampFormat is supported in service metadata but not used anywhere (neither botocore nor amazonka annexes) (it was quickly checked by turning it into a Maybe Void; no parse error was triggered)

This PR adds support for reading it in shape definition and removes support from reading it from service metadata.

Copy link
Collaborator

@endgame endgame left a comment

Choose a reason for hiding this comment

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

If you can knock up a quick changelog entry in lib/CHANGELOG.md, I'll merge this.

gen/src/Gen/AST/Subst.hs Outdated Show resolved Hide resolved
This commits lets shape definitions carry a `timestampFormat` field, allowing
to override the service defaults, as supported by botocore: boto/botocore#1507
@endgame endgame merged commit 1d7b84a into brendanhay:main Jan 11, 2023
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