@cumulus/aws-client 10.1.2 → 10.1.3
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/CloudwatchEvents.d.ts +1 -1
- package/S3.d.ts +1 -1
- package/client.d.ts +1 -1
- package/package.json +5 -5
package/CloudwatchEvents.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @param {string} [role] - a Role ARN
|
|
12
12
|
* @returns {Promise<CloudWatchEvents.PutRuleResponse>}
|
|
13
13
|
*/
|
|
14
|
-
export declare const putEvent: (name: string, schedule: string, state: string, description?: string
|
|
14
|
+
export declare const putEvent: (name: string, schedule: string, state: string, description?: string, role?: string) => Promise<import("aws-sdk/lib/request").PromiseResult<import("aws-sdk/clients/cloudwatchevents").PutRuleResponse, import("aws-sdk").AWSError>>;
|
|
15
15
|
export declare const deleteEvent: (name: string) => Promise<{
|
|
16
16
|
$response: import("aws-sdk").Response<{}, import("aws-sdk").AWSError>;
|
|
17
17
|
}>;
|
package/S3.d.ts
CHANGED
|
@@ -323,7 +323,7 @@ export declare const uploadS3FileStream: (fileStream: Readable, bucket: string,
|
|
|
323
323
|
* object is represented as a JS object with the following attributes: `Key`,
|
|
324
324
|
* `ETag`, `LastModified`, `Owner`, `Size`, `StorageClass`.
|
|
325
325
|
*/
|
|
326
|
-
export declare const listS3Objects: (bucket: string, prefix?: string
|
|
326
|
+
export declare const listS3Objects: (bucket: string, prefix?: string, skipFolders?: boolean) => Promise<import("aws-sdk/clients/s3").ObjectList>;
|
|
327
327
|
export declare type ListS3ObjectsV2Result = Promise<Object[]>;
|
|
328
328
|
/**
|
|
329
329
|
* Fetch complete list of S3 objects
|
package/client.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ import AWS from 'aws-sdk';
|
|
|
14
14
|
*
|
|
15
15
|
* @private
|
|
16
16
|
*/
|
|
17
|
-
declare const awsClient: <T extends AWS.Service | AWS.DynamoDB.DocumentClient>(Service: new (params: object) => T, version?: string
|
|
17
|
+
declare const awsClient: <T extends AWS.Service | AWS.DynamoDB.DocumentClient>(Service: new (params: object) => T, version?: string, serviceOptions?: object) => (options?: object) => T;
|
|
18
18
|
export = awsClient;
|
|
19
19
|
//# sourceMappingURL=client.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/aws-client",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.3",
|
|
4
4
|
"description": "Utilities for working with AWS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GIBS",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"author": "Cumulus Authors",
|
|
44
44
|
"license": "Apache-2.0",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@cumulus/checksum": "10.1.
|
|
47
|
-
"@cumulus/errors": "10.1.
|
|
48
|
-
"@cumulus/logger": "10.1.
|
|
46
|
+
"@cumulus/checksum": "10.1.3",
|
|
47
|
+
"@cumulus/errors": "10.1.3",
|
|
48
|
+
"@cumulus/logger": "10.1.3",
|
|
49
49
|
"aws-sdk": "^2.814.0",
|
|
50
50
|
"jsonpath-plus": "^1.1.0",
|
|
51
51
|
"lodash": "~4.17.21",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"p-wait-for": "^3.2.0",
|
|
56
56
|
"pump": "^3.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "3dfabef58c4647d3ae5a64997bacaad5d6b274e1"
|
|
59
59
|
}
|