Skip to content

Property Body does not exist on type ServiceOutputTypes with AWS sdk v3 #1520

Open
@jlefebvre1997

Description

Hello,

I'm trying to use the NodeJsClient type, I'm following this documentation : https://www.npmjs.com/package/@smithy/types

I'm using NestJS so there is dependency injection involved, but I'm doing basically everything as indicated in the doc. However, it doesn't seem to work, the type inferred from NodeJsClient<S3Client> doesn't seem to resolve to the right type, resulting in the error message Property Body does not exist on type ServiceOutputTypes

I have smithy/types to version 4.1.0, and aws s3 client to version 3.744.0

Thanks in advance for your help 🙏

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions