Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test(protocoltests): add S3 Client#6178

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
trivikr wants to merge6 commits intoaws:main
base:main
Choose a base branch
Loading
fromtrivikr:aws-protocoltests-s3

Conversation

@trivikr
Copy link
Member

Issue

Internal JS-5057

Description

Adds S3 client in RestXml Protocol tests

Testing

CI

Additional context

Previous attempt in#5166


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr

This comment was marked as outdated.

@trivikrtrivikrforce-pushed theaws-protocoltests-s3 branch 2 times, most recently fromad85d41 to335de89CompareJuly 9, 2024 14:16
@trivikrtrivikrforce-pushed theaws-protocoltests-s3 branch from335de89 tob88ce57CompareJuly 9, 2024 15:17
@trivikr
Copy link
MemberAuthor

CI failure in build

src/S3Client.ts:311:58 - error TS2345: Argument of type 'S3ClientResolvedConfig' is not assignable to parameter of type 'S3ResolvedConfig'.  Type 'SmithyResolvedConfiguration<HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & ... 6 more ... & UserAgentResolvedConfig' is missing the following properties from type 'S3ResolvedConfig': followRegionRedirects, s3ExpressIdentityProvider311     this.middlewareStack.use(getValidateBucketNamePlugin(this.config));                                                             ~~~~~~~~~~~src/S3Client.ts:313:64 - error TS2345: Argument of type 'S3ClientResolvedConfig' is not assignable to parameter of type 'PreviouslyResolved'.  Property 'followRegionRedirects' is missing in type 'SmithyResolvedConfiguration<HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & ... 6 more ... & UserAgentResolvedConfig' but required in type 'PreviouslyResolved'.313     this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config));                                                                   ~~~~~~~~~~~  ../../packages/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts:7:5    7     followRegionRedirects: boolean;          ~~~~~~~~~~~~~~~~~~~~~    'followRegionRedirects' is declared here.src/runtimeConfig.ts:48:15 - error TS2339: Property 'disableS3ExpressSessionAuth' does not exist on type 'S3ClientConfig'.48       config?.disableS3ExpressSessionAuth ?? loadNodeConfig(NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS),                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~Found 3 errors in 2 files.Errors  Files     2  src/S3Client.ts:311     1  src/runtimeConfig.ts:48error Command failed with exit code 2.info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@trivikr

[8]ページ先頭

©2009-2025 Movatter.jp