@cumulus/aws-client 12.0.1 → 13.1.0
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/package.json +14 -13
- package/services.d.ts +2 -1
- package/services.js +2 -1
- package/test-utils.d.ts +1 -1
- package/test-utils.js +1 -1
- package/types.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/aws-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"description": "Utilities for working with AWS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GIBS",
|
|
@@ -43,17 +43,18 @@
|
|
|
43
43
|
"author": "Cumulus Authors",
|
|
44
44
|
"license": "Apache-2.0",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@aws-sdk/client-
|
|
47
|
-
"@aws-sdk/client-dynamodb
|
|
48
|
-
"@aws-sdk/client-
|
|
49
|
-
"@aws-sdk/
|
|
50
|
-
"@aws-sdk/lib-
|
|
51
|
-
"@aws-sdk/
|
|
52
|
-
"@aws-sdk/
|
|
53
|
-
"@aws-sdk/
|
|
54
|
-
"@
|
|
55
|
-
"@cumulus/
|
|
56
|
-
"@cumulus/
|
|
46
|
+
"@aws-sdk/client-api-gateway": "^3.58.0",
|
|
47
|
+
"@aws-sdk/client-dynamodb": "^3.58.0",
|
|
48
|
+
"@aws-sdk/client-dynamodb-streams": "^3.58.0",
|
|
49
|
+
"@aws-sdk/client-s3": "^3.58.0",
|
|
50
|
+
"@aws-sdk/lib-dynamodb": "^3.58.0",
|
|
51
|
+
"@aws-sdk/lib-storage": "^3.58.0",
|
|
52
|
+
"@aws-sdk/s3-request-presigner": "^3.58.0",
|
|
53
|
+
"@aws-sdk/signature-v4-crt": "^3.58.0",
|
|
54
|
+
"@aws-sdk/types": "^3.58.0",
|
|
55
|
+
"@cumulus/checksum": "13.1.0",
|
|
56
|
+
"@cumulus/errors": "13.1.0",
|
|
57
|
+
"@cumulus/logger": "13.1.0",
|
|
57
58
|
"aws-sdk": "^2.585.0",
|
|
58
59
|
"jsonpath-plus": "^1.1.0",
|
|
59
60
|
"lodash": "~4.17.21",
|
|
@@ -68,5 +69,5 @@
|
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@types/uuid": "^8.0.0"
|
|
70
71
|
},
|
|
71
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "1966c485551680a65e665ecb30c05a8fadad0d08"
|
|
72
73
|
}
|
package/services.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { APIGatewayClient } from '@aws-sdk/client-api-gateway';
|
|
1
2
|
import { DynamoDB } from '@aws-sdk/client-dynamodb';
|
|
2
3
|
import { DynamoDBStreamsClient } from '@aws-sdk/client-dynamodb-streams';
|
|
3
4
|
import { S3 } from '@aws-sdk/client-s3';
|
|
4
5
|
import { DynamoDBDocument, TranslateConfig } from '@aws-sdk/lib-dynamodb';
|
|
5
6
|
import * as AWS from 'aws-sdk';
|
|
6
|
-
export declare const apigateway: (params?: object | undefined) =>
|
|
7
|
+
export declare const apigateway: (params?: object | undefined) => APIGatewayClient;
|
|
7
8
|
export declare const ecs: (params?: object | undefined) => AWS.ECS;
|
|
8
9
|
export declare const ec2: (params?: object | undefined) => AWS.EC2;
|
|
9
10
|
export declare const s3: (params?: object | undefined) => S3;
|
package/services.js
CHANGED
|
@@ -27,13 +27,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.sts = exports.es = exports.kms = exports.systemsManager = exports.secretsManager = exports.sns = exports.cf = exports.sfn = exports.dynamodbDocClient = exports.dynamodbstreams = exports.dynamodb = exports.cloudwatch = exports.cloudwatchlogs = exports.cloudwatchevents = exports.sqs = exports.lambda = exports.kinesis = exports.s3 = exports.ec2 = exports.ecs = exports.apigateway = void 0;
|
|
30
|
+
const client_api_gateway_1 = require("@aws-sdk/client-api-gateway");
|
|
30
31
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
31
32
|
const client_dynamodb_streams_1 = require("@aws-sdk/client-dynamodb-streams");
|
|
32
33
|
const client_s3_1 = require("@aws-sdk/client-s3");
|
|
33
34
|
const lib_dynamodb_1 = require("@aws-sdk/lib-dynamodb");
|
|
34
35
|
const AWS = __importStar(require("aws-sdk"));
|
|
35
36
|
const client_1 = __importDefault(require("./client"));
|
|
36
|
-
exports.apigateway = (0, client_1.default)(
|
|
37
|
+
exports.apigateway = (0, client_1.default)(client_api_gateway_1.APIGatewayClient, '2015-07-09');
|
|
37
38
|
exports.ecs = (0, client_1.default)(AWS.ECS, '2014-11-13');
|
|
38
39
|
exports.ec2 = (0, client_1.default)(AWS.EC2, '2016-11-15');
|
|
39
40
|
exports.s3 = (0, client_1.default)(client_s3_1.S3, '2006-03-01');
|
package/test-utils.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AWSClientTypes } from './types';
|
|
|
2
2
|
export declare const inTestMode: () => boolean;
|
|
3
3
|
declare const localStackPorts: {
|
|
4
4
|
stepfunctions: number;
|
|
5
|
-
|
|
5
|
+
APIGatewayClient: number;
|
|
6
6
|
cloudformation: number;
|
|
7
7
|
cloudwatch: number;
|
|
8
8
|
cloudwatchevents: number;
|
package/test-utils.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.inTestMode = inTestMode;
|
|
|
8
8
|
// From https://github.com/localstack/localstack/blob/master/README.md
|
|
9
9
|
const localStackPorts = {
|
|
10
10
|
stepfunctions: 4566,
|
|
11
|
-
|
|
11
|
+
APIGatewayClient: 4566,
|
|
12
12
|
cloudformation: 4566,
|
|
13
13
|
cloudwatch: 4566,
|
|
14
14
|
cloudwatchevents: 4566,
|
package/types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as AWS from 'aws-sdk';
|
|
2
|
+
import { APIGatewayClient } from '@aws-sdk/client-api-gateway';
|
|
2
3
|
import { DynamoDBStreamsClient } from '@aws-sdk/client-dynamodb-streams';
|
|
3
4
|
import { DynamoDB, DynamoDBClient } from '@aws-sdk/client-dynamodb';
|
|
4
5
|
import { S3 } from '@aws-sdk/client-s3';
|
|
5
|
-
export declare type AWSClientTypes = DynamoDB | DynamoDBClient | DynamoDBStreamsClient | S3 | AWS.Service | AWS.DynamoDB.DocumentClient;
|
|
6
|
+
export declare type AWSClientTypes = APIGatewayClient | DynamoDB | DynamoDBClient | DynamoDBStreamsClient | S3 | AWS.Service | AWS.DynamoDB.DocumentClient;
|
|
6
7
|
//# sourceMappingURL=types.d.ts.map
|