-
Notifications
You must be signed in to change notification settings - Fork 909
Expose event-type in stream interface #2176
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
Conversation
482176c
to
c39678a
Compare
codegen/src/main/java/software/amazon/awssdk/codegen/poet/model/AwsServiceModel.java
Outdated
Show resolved
Hide resolved
...n/src/test/resources/software/amazon/awssdk/codegen/poet/model/sharedstream/eventstream.java
Outdated
Show resolved
Hide resolved
425ac63
to
a839ef8
Compare
a839ef8
to
79caff9
Compare
79caff9
to
32cd8d6
Compare
Kudos, SonarCloud Quality Gate passed! |
* {@code EventStream#EventTwo} event. Do not use this class directly. Instead, use the static builder methods on | ||
* {@link software.amazon.awssdk.services.jsonprotocoltests.model.EventStream}. | ||
* A specialization of {@code software.amazon.awssdk.services.json.model.EventTwo} that represents the | ||
* {@code EventStream$EventTwo} event. Do not use this class directly. Instead, use the static builder methods on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo? EventStream$EventTwo
-> EventStream#EventTwo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, decided to use the C2j notation
*/ | ||
@SdkInternalApi | ||
@Generated("software.amazon.awssdk:codegen") | ||
public final class DefaultSecondEventTwo extends EventTwo { | ||
public final class DefaultSecondeventtwo extends EventTwo { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change intentional? Shouldn't it be DefaultSecondEventTwo
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a little confusing, but this one corresponds to this event
Line 106 in 32cd8d6
"secondeventtwo": { |
Description
Motivation and Context
Testing
Screenshots (if appropriate)
Types of changes
Checklist
mvn install
succeedsLicense