Skip to content

TypeScript API / laikacms/storage/s3 / S3ClientLike

Interface: S3ClientLike ​

Structural shape of the AWS SDK v3 S3Client.send(command) surface. Using this rather than importing @aws-sdk/client-s3 directly keeps the adapter a zero-dependency module that works with any S3-shaped client (the AWS SDK is the canonical one, but mock clients in tests count too).

Methods ​

send() ​

ts
send(command): Promise<unknown>;

Parameters ​

ParameterType
commandobject & object

Returns ​

Promise<unknown>

Released under the MIT License.