@cumulus/aws-client 9.9.0 → 9.9.1
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/SQS.d.ts +4 -1
- package/StepFunctions.d.ts +3 -1
- package/package.json +5 -5
package/SQS.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* @module SQS
|
|
3
3
|
*/
|
|
4
4
|
import Logger from '@cumulus/logger';
|
|
5
|
+
import { SQSRecord } from 'aws-lambda';
|
|
5
6
|
export interface SQSMessage extends AWS.SQS.Message {
|
|
6
7
|
ReceiptHandle: string;
|
|
7
8
|
}
|
|
@@ -52,7 +53,9 @@ declare type ReceiveSQSMessagesOptions = {
|
|
|
52
53
|
* @returns {Promise<Array>} an array of messages
|
|
53
54
|
*/
|
|
54
55
|
export declare const receiveSQSMessages: (queueUrl: string, options: ReceiveSQSMessagesOptions) => Promise<SQSMessage[]>;
|
|
55
|
-
export declare const parseSQSMessageBody: (message:
|
|
56
|
+
export declare const parseSQSMessageBody: (message: SQSRecord | AWS.SQS.Message) => {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
};
|
|
56
59
|
/**
|
|
57
60
|
* Delete a given SQS message from a given queue.
|
|
58
61
|
*
|
package/StepFunctions.d.ts
CHANGED
|
@@ -65,7 +65,9 @@ export declare const getExecutionHistory: (params: import("aws-sdk/clients/stepf
|
|
|
65
65
|
events: import("aws-sdk/clients/stepfunctions").HistoryEventList;
|
|
66
66
|
}>;
|
|
67
67
|
export declare const getExecutionStatus: (executionArn: string) => Promise<{
|
|
68
|
-
execution: import("aws-sdk/
|
|
68
|
+
execution: import("aws-sdk/clients/stepfunctions").DescribeExecutionOutput & {
|
|
69
|
+
$response: import("aws-sdk").Response<import("aws-sdk/clients/stepfunctions").DescribeExecutionOutput, import("aws-sdk").AWSError>;
|
|
70
|
+
};
|
|
69
71
|
executionHistory: {
|
|
70
72
|
events: import("aws-sdk/clients/stepfunctions").HistoryEventList;
|
|
71
73
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/aws-client",
|
|
3
|
-
"version": "9.9.
|
|
3
|
+
"version": "9.9.1",
|
|
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": "9.9.
|
|
47
|
-
"@cumulus/errors": "9.9.
|
|
48
|
-
"@cumulus/logger": "9.9.
|
|
46
|
+
"@cumulus/checksum": "9.9.1",
|
|
47
|
+
"@cumulus/errors": "9.9.1",
|
|
48
|
+
"@cumulus/logger": "9.9.1",
|
|
49
49
|
"aws-sdk": "^2.814.0",
|
|
50
50
|
"jsonpath-plus": "^1.1.0",
|
|
51
51
|
"lodash": "~4.17.20",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"p-wait-for": "^3.1.0",
|
|
55
55
|
"pump": "^3.0.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "7a6a8ce08bf67e5174c1523b4af2e00e1a3c58cc"
|
|
58
58
|
}
|