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

Fix eventbridge tests #2197

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

isaiahvita
Copy link
Contributor

@isaiahvita isaiahvita commented Jul 19, 2023

Added the following changes which got all of eventbridge endpoint customization unit tests to pass

  1. added the GetRequiresLegacyEndpoints context checker in the eventbridge endpoint customizations
  2. regenerated eventbridge to get all of the recent changes that were done to get S3 tests working
  3. also regenerated s3 just because

@isaiahvita isaiahvita requested a review from a team as a code owner July 19, 2023 19:16
@@ -229,6 +234,30 @@ func (c *Client) invokeOperation(ctx context.Context, opID string, params interf

type noSmithyDocumentSerde = smithydocument.NoSerde

type LegacyEndpointContextSetter struct {
Copy link
Contributor

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?

Copy link
Contributor Author

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 {
Copy link
Contributor

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?

Copy link
Contributor Author

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

@isaiahvita isaiahvita merged commit 44a1c7e into aws:feat-ep20 Jul 20, 2023
1 check passed
@isaiahvita isaiahvita deleted the feat-ep20-eventbridge-tests branch July 20, 2023 16:15
isaiahvita added a commit to isaiahvita/aws-sdk-go-v2 that referenced this pull request Jul 25, 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.

3 participants