@cumulus/aws-client 19.1.0 → 19.2.0-alpha.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 +6 -6
- package/services.d.ts +2 -2
- package/services.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/aws-client",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.2.0-alpha.0",
|
|
4
4
|
"description": "Utilities for working with AWS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GIBS",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"@aws-sdk/s3-request-presigner": "^3.621.0",
|
|
69
69
|
"@aws-sdk/signature-v4-crt": "^3.621.0",
|
|
70
70
|
"@aws-sdk/types": "^3.609.0",
|
|
71
|
-
"@cumulus/checksum": "19.
|
|
72
|
-
"@cumulus/errors": "19.
|
|
73
|
-
"@cumulus/logger": "19.
|
|
74
|
-
"@cumulus/types": "19.
|
|
71
|
+
"@cumulus/checksum": "19.2.0-alpha.0",
|
|
72
|
+
"@cumulus/errors": "19.2.0-alpha.0",
|
|
73
|
+
"@cumulus/logger": "19.2.0-alpha.0",
|
|
74
|
+
"@cumulus/types": "19.2.0-alpha.0",
|
|
75
75
|
"lodash": "~4.17.21",
|
|
76
76
|
"mem": "^8.0.2",
|
|
77
77
|
"p-map": "^1.2.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"@cumulus/test-data": "19.0.0",
|
|
86
86
|
"@types/uuid": "^8.0.0"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "533280b62564b6ce89fabcde5cbe653afb964205"
|
|
89
89
|
}
|
package/services.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { Kinesis } from '@aws-sdk/client-kinesis';
|
|
|
7
7
|
import { KMS } from '@aws-sdk/client-kms';
|
|
8
8
|
import { Lambda } from '@aws-sdk/client-lambda';
|
|
9
9
|
import { CloudWatchEvents } from '@aws-sdk/client-cloudwatch-events';
|
|
10
|
-
import { S3 } from '@aws-sdk/client-s3';
|
|
10
|
+
import { S3, S3ClientConfig } from '@aws-sdk/client-s3';
|
|
11
11
|
import { SecretsManager } from '@aws-sdk/client-secrets-manager';
|
|
12
12
|
import { SFN } from '@aws-sdk/client-sfn';
|
|
13
13
|
import { SQS } from '@aws-sdk/client-sqs';
|
|
@@ -28,7 +28,7 @@ export declare const es: (params?: object | undefined) => ElasticsearchService;
|
|
|
28
28
|
export declare const kinesis: (params?: object | undefined) => Kinesis;
|
|
29
29
|
export declare const kms: (params?: object | undefined) => KMS;
|
|
30
30
|
export declare const lambda: (params?: object | undefined) => Lambda;
|
|
31
|
-
export declare const s3: (
|
|
31
|
+
export declare const s3: (serviceOptions?: S3ClientConfig) => S3;
|
|
32
32
|
export declare const secretsManager: (params?: object | undefined) => SecretsManager;
|
|
33
33
|
export declare const sfn: (params?: object | undefined) => SFN;
|
|
34
34
|
export declare const sns: (params?: object | undefined) => SNS;
|
package/services.js
CHANGED
|
@@ -36,7 +36,8 @@ exports.es = (0, client_1.default)(client_elasticsearch_service_1.ElasticsearchS
|
|
|
36
36
|
exports.kinesis = (0, client_1.default)(client_kinesis_1.Kinesis, '2013-12-02');
|
|
37
37
|
exports.kms = (0, client_1.default)(client_kms_1.KMS, '2014-11-01');
|
|
38
38
|
exports.lambda = (0, client_1.default)(client_lambda_1.Lambda, '2015-03-31');
|
|
39
|
-
|
|
39
|
+
const s3 = (serviceOptions) => (0, client_1.default)(client_s3_1.S3, '2006-03-01', serviceOptions)();
|
|
40
|
+
exports.s3 = s3;
|
|
40
41
|
exports.secretsManager = (0, client_1.default)(client_secrets_manager_1.SecretsManager, '2017-10-17');
|
|
41
42
|
exports.sfn = (0, client_1.default)(client_sfn_1.SFN, '2016-11-23');
|
|
42
43
|
exports.sns = (0, client_1.default)(client_sns_1.SNS, '2010-03-31');
|