-
Notifications
You must be signed in to change notification settings - Fork 638
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
Fix eventbridge tests #2197
Fix eventbridge tests #2197
Conversation
@@ -229,6 +234,30 @@ func (c *Client) invokeOperation(ctx context.Context, opID string, params interf | |||
|
|||
type noSmithyDocumentSerde = smithydocument.NoSerde | |||
|
|||
type LegacyEndpointContextSetter struct { |
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.
correctness: Why is this type public?
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.
good call, will privatize in next PR
@@ -512,3 +533,32 @@ func addRequestResponseLogging(stack *middleware.Stack, o Options) error { | |||
LogResponseWithBody: o.ClientLogMode.IsResponseWithBody(), | |||
}, middleware.After) | |||
} | |||
|
|||
type EndpointDisableHTTPSMiddleware struct { |
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.
correctness: Same question, why public?
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.
will privatize in next PR
Added the following changes which got all of eventbridge endpoint customization unit tests to pass
GetRequiresLegacyEndpoints
context checker in theeventbridge
endpoint customizations