@aws-lite/s3-types 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
// $IMPORTS_START
|
|
4
4
|
GetObjectCommandOutput as GetObjectResponse,
|
|
5
5
|
HeadObjectCommandOutput as HeadObjectResponse,
|
|
6
|
+
ListBucketsCommandOutput as ListBucketsResponse,
|
|
6
7
|
ListObjectsV2CommandOutput as ListObjectsV2Response,
|
|
7
8
|
PutObjectCommandOutput as PutObjectResponse,
|
|
8
9
|
// $IMPORTS_END
|
|
@@ -23,6 +24,8 @@ declare interface AwsLiteS3 {
|
|
|
23
24
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#HeadObject S3: HeadObject}
|
|
24
25
|
*/
|
|
25
26
|
HeadObject: (input: { Bucket: string, Key: string, PartNumber?: number, VersionId?: string, IfMatch?: string, IfModifiedSince?: string, IfNoneMatch?: string, IfUnmodifiedSince?: string, Range?: string, SSECustomerAlgorithm?: string, SSECustomerKey?: string, SSECustomerKeyMD5?: string, RequestPayer?: string, ExpectedBucketOwner?: string, ChecksumMode?: string }) => Promise<HeadObjectResponse>
|
|
27
|
+
/** @description aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#ListBuckets S3: ListBuckets} */
|
|
28
|
+
ListBuckets: () => Promise<ListBucketsResponse>
|
|
26
29
|
/**
|
|
27
30
|
* @description
|
|
28
31
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html S3: ListObjectsV2}
|