@webiny/aws-sdk 0.0.0-unstable.3bc8100a7f → 0.0.0-unstable.3fddf667ea
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/README.md +11 -0
- package/client-apigatewaymanagementapi/index.d.ts +2 -1
- package/client-apigatewaymanagementapi/index.js +1 -122
- package/client-cloudfront/index.js +1 -14
- package/client-cloudwatch/index.d.ts +3 -2
- package/client-cloudwatch/index.js +2 -57
- package/client-cognito-identity-provider/index.d.ts +2 -2
- package/client-cognito-identity-provider/index.js +14 -70
- package/client-cognito-identity-provider/index.js.map +1 -1
- package/client-dynamodb/getDocumentClient.js +28 -53
- package/client-dynamodb/getDocumentClient.js.map +1 -1
- package/client-dynamodb/index.d.ts +3 -3
- package/client-dynamodb/index.js +4 -101
- package/client-eventbridge/index.d.ts +2 -2
- package/client-eventbridge/index.js +5 -31
- package/client-eventbridge/index.js.map +1 -1
- package/client-iam/index.js +1 -14
- package/client-iot/index.js +1 -20
- package/client-lambda/index.d.ts +2 -2
- package/client-lambda/index.js +14 -52
- package/client-lambda/index.js.map +1 -1
- package/client-lambda-web/index.d.ts +13 -0
- package/client-lambda-web/index.js +1 -0
- package/client-s3/index.d.ts +3 -3
- package/client-s3/index.js +34 -187
- package/client-s3/index.js.map +1 -1
- package/client-scheduler/index.js +16 -56
- package/client-scheduler/index.js.map +1 -1
- package/client-secrets-manager/index.d.ts +2 -0
- package/client-secrets-manager/index.js +1 -0
- package/client-sfn/index.js +45 -88
- package/client-sfn/index.js.map +1 -1
- package/client-sqs/index.d.ts +2 -1
- package/client-sqs/index.js +1 -26
- package/client-sts/index.js +1 -14
- package/credential-providers/index.js +1 -14
- package/lib-storage/index.d.ts +2 -1
- package/lib-storage/index.js +1 -44
- package/package.json +41 -39
- package/types/index.js +1 -18
- package/client-apigatewaymanagementapi/index.js.map +0 -1
- package/client-cloudfront/index.js.map +0 -1
- package/client-cloudwatch/index.js.map +0 -1
- package/client-dynamodb/index.js.map +0 -1
- package/client-iam/index.js.map +0 -1
- package/client-iot/index.js.map +0 -1
- package/client-sqs/index.js.map +0 -1
- package/client-sts/index.js.map +0 -1
- package/credential-providers/index.js.map +0 -1
- package/lib-storage/index.js.map +0 -1
- package/types/index.js.map +0 -1
package/client-sfn/index.js
CHANGED
|
@@ -1,96 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "DescribeExecutionCommand", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _clientSfn.DescribeExecutionCommand;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "ListExecutionsCommand", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _clientSfn.ListExecutionsCommand;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "SFNClient", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _clientSfn.SFNClient;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "SFNServiceException", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _clientSfn.SFNServiceException;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "StartExecutionCommand", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _clientSfn.StartExecutionCommand;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
exports.triggerStepFunctionFactory = exports.listExecutionsFactory = exports.describeExecutionFactory = exports.createStepFunctionClient = void 0;
|
|
37
|
-
var _clientSfn = require("@aws-sdk/client-sfn");
|
|
38
|
-
var _utils = require("@webiny/utils");
|
|
1
|
+
import { DescribeExecutionCommand, ListExecutionsCommand, SFNClient, SFNServiceException, StartExecutionCommand } from "@aws-sdk/client-sfn";
|
|
2
|
+
import { createCacheKey } from "@webiny/utils";
|
|
39
3
|
const stepFunctionClientsCache = new Map();
|
|
40
|
-
const createStepFunctionClient = initial
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
...config
|
|
4
|
+
const createStepFunctionClient = (initial)=>{
|
|
5
|
+
const config = {
|
|
6
|
+
region: process.env.AWS_REGION,
|
|
7
|
+
...initial
|
|
8
|
+
};
|
|
9
|
+
const skipCache = false === config.cache;
|
|
10
|
+
delete config.cache;
|
|
11
|
+
if (skipCache) return new SFNClient({
|
|
12
|
+
...config
|
|
50
13
|
});
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
return new _clientSfn.SFNClient({
|
|
57
|
-
...config
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
exports.createStepFunctionClient = createStepFunctionClient;
|
|
61
|
-
const triggerStepFunctionFactory = input => {
|
|
62
|
-
const client = input instanceof _clientSfn.SFNClient ? input : createStepFunctionClient(input);
|
|
63
|
-
return async params => {
|
|
64
|
-
const cmd = new _clientSfn.StartExecutionCommand({
|
|
65
|
-
...params,
|
|
66
|
-
stateMachineArn: params.stateMachineArn || process.env.BG_TASK_SFN_ARN,
|
|
67
|
-
name: params.name,
|
|
68
|
-
input: JSON.stringify(params.input)
|
|
14
|
+
const key = createCacheKey(config);
|
|
15
|
+
if (stepFunctionClientsCache.has(key)) return stepFunctionClientsCache.get(key);
|
|
16
|
+
return new SFNClient({
|
|
17
|
+
...config
|
|
69
18
|
});
|
|
70
|
-
return await client.send(cmd);
|
|
71
|
-
};
|
|
72
19
|
};
|
|
73
|
-
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
20
|
+
const triggerStepFunctionFactory = (input)=>{
|
|
21
|
+
const client = input instanceof SFNClient ? input : createStepFunctionClient(input);
|
|
22
|
+
return async (params)=>{
|
|
23
|
+
const cmd = new StartExecutionCommand({
|
|
24
|
+
...params,
|
|
25
|
+
stateMachineArn: params.stateMachineArn || process.env.BG_TASK_SFN_ARN,
|
|
26
|
+
name: params.name,
|
|
27
|
+
input: JSON.stringify(params.input)
|
|
28
|
+
});
|
|
29
|
+
return await client.send(cmd);
|
|
30
|
+
};
|
|
83
31
|
};
|
|
84
|
-
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
32
|
+
const listExecutionsFactory = (input)=>{
|
|
33
|
+
const client = input instanceof SFNClient ? input : createStepFunctionClient(input);
|
|
34
|
+
return async (params)=>{
|
|
35
|
+
const cmd = new ListExecutionsCommand({
|
|
36
|
+
...params,
|
|
37
|
+
stateMachineArn: params.stateMachineArn || process.env.BG_TASK_SFN_ARN
|
|
38
|
+
});
|
|
39
|
+
return await client.send(cmd);
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
const describeExecutionFactory = (input)=>{
|
|
43
|
+
const client = input instanceof SFNClient ? input : createStepFunctionClient(input);
|
|
44
|
+
return async (params)=>{
|
|
45
|
+
const cmd = new DescribeExecutionCommand({
|
|
46
|
+
...params
|
|
47
|
+
});
|
|
48
|
+
return await client.send(cmd);
|
|
49
|
+
};
|
|
93
50
|
};
|
|
94
|
-
|
|
51
|
+
export { DescribeExecutionCommand, ListExecutionsCommand, SFNClient, SFNServiceException, StartExecutionCommand, createStepFunctionClient, describeExecutionFactory, listExecutionsFactory, triggerStepFunctionFactory };
|
|
95
52
|
|
|
96
53
|
//# sourceMappingURL=index.js.map
|
package/client-sfn/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"client-sfn/index.js","sources":["../../src/client-sfn/index.ts"],"sourcesContent":["import type {\n DescribeExecutionCommandInput,\n DescribeExecutionCommandOutput,\n ListExecutionsCommandInput,\n ListExecutionsCommandOutput,\n SFNClientConfig as BaseSFNClientConfig,\n StartExecutionCommandInput,\n StartExecutionCommandOutput\n} from \"@aws-sdk/client-sfn\";\nimport {\n DescribeExecutionCommand,\n ListExecutionsCommand,\n SFNClient,\n SFNServiceException,\n StartExecutionCommand\n} from \"@aws-sdk/client-sfn\";\nimport { createCacheKey, type GenericRecord } from \"@webiny/utils\";\n\nexport {\n SFNClient,\n DescribeExecutionCommand,\n SFNServiceException,\n StartExecutionCommand,\n ListExecutionsCommand\n};\n\nexport type {\n DescribeExecutionCommandInput,\n DescribeExecutionCommandOutput,\n StartExecutionCommandInput,\n StartExecutionCommandOutput,\n ListExecutionsCommandInput,\n ListExecutionsCommandOutput\n};\n\nexport interface SFNClientConfig extends BaseSFNClientConfig {\n cache?: boolean;\n}\n\nexport interface TriggerStepFunctionParams<T extends GenericRecord = GenericRecord> extends Partial<\n Omit<StartExecutionCommandInput, \"input\">\n> {\n input: T;\n}\n\nconst stepFunctionClientsCache = new Map<string, SFNClient>();\n\nexport const createStepFunctionClient = (initial?: SFNClientConfig): SFNClient => {\n const config: SFNClientConfig = {\n region: process.env.AWS_REGION,\n ...initial\n };\n const skipCache = config.cache === false;\n delete config.cache;\n if (skipCache) {\n return new SFNClient({\n ...config\n });\n }\n\n const key = createCacheKey(config);\n if (stepFunctionClientsCache.has(key)) {\n return stepFunctionClientsCache.get(key) as SFNClient;\n }\n\n return new SFNClient({\n ...config\n });\n};\n\nexport const triggerStepFunctionFactory = (input?: SFNClient | SFNClientConfig) => {\n const client = input instanceof SFNClient ? input : createStepFunctionClient(input);\n return async <T extends GenericRecord = GenericRecord>(\n params: TriggerStepFunctionParams<T>\n ): Promise<StartExecutionCommandOutput> => {\n const cmd = new StartExecutionCommand({\n ...params,\n stateMachineArn: params.stateMachineArn || process.env.BG_TASK_SFN_ARN,\n name: params.name,\n input: JSON.stringify(params.input)\n });\n return await client.send(cmd);\n };\n};\n\nexport const listExecutionsFactory = (input?: SFNClient | SFNClientConfig) => {\n const client = input instanceof SFNClient ? input : createStepFunctionClient(input);\n return async (params: ListExecutionsCommandInput): Promise<ListExecutionsCommandOutput> => {\n const cmd = new ListExecutionsCommand({\n ...params,\n stateMachineArn: params.stateMachineArn || process.env.BG_TASK_SFN_ARN\n });\n return await client.send(cmd);\n };\n};\n\nexport const describeExecutionFactory = (input?: SFNClient | SFNClientConfig) => {\n const client = input instanceof SFNClient ? input : createStepFunctionClient(input);\n return async (\n params: DescribeExecutionCommandInput\n ): Promise<DescribeExecutionCommandOutput> => {\n const cmd = new DescribeExecutionCommand({\n ...params\n });\n return await client.send(cmd);\n };\n};\n"],"names":["stepFunctionClientsCache","Map","createStepFunctionClient","initial","config","process","skipCache","SFNClient","key","createCacheKey","triggerStepFunctionFactory","input","client","params","cmd","StartExecutionCommand","JSON","listExecutionsFactory","ListExecutionsCommand","describeExecutionFactory","DescribeExecutionCommand"],"mappings":";;AA6CA,MAAMA,2BAA2B,IAAIC;AAE9B,MAAMC,2BAA2B,CAACC;IACrC,MAAMC,SAA0B;QAC5B,QAAQC,QAAQ,GAAG,CAAC,UAAU;QAC9B,GAAGF,OAAO;IACd;IACA,MAAMG,YAAYF,AAAiB,UAAjBA,OAAO,KAAK;IAC9B,OAAOA,OAAO,KAAK;IACnB,IAAIE,WACA,OAAO,IAAIC,UAAU;QACjB,GAAGH,MAAM;IACb;IAGJ,MAAMI,MAAMC,eAAeL;IAC3B,IAAIJ,yBAAyB,GAAG,CAACQ,MAC7B,OAAOR,yBAAyB,GAAG,CAACQ;IAGxC,OAAO,IAAID,UAAU;QACjB,GAAGH,MAAM;IACb;AACJ;AAEO,MAAMM,6BAA6B,CAACC;IACvC,MAAMC,SAASD,iBAAiBJ,YAAYI,QAAQT,yBAAyBS;IAC7E,OAAO,OACHE;QAEA,MAAMC,MAAM,IAAIC,sBAAsB;YAClC,GAAGF,MAAM;YACT,iBAAiBA,OAAO,eAAe,IAAIR,QAAQ,GAAG,CAAC,eAAe;YACtE,MAAMQ,OAAO,IAAI;YACjB,OAAOG,KAAK,SAAS,CAACH,OAAO,KAAK;QACtC;QACA,OAAO,MAAMD,OAAO,IAAI,CAACE;IAC7B;AACJ;AAEO,MAAMG,wBAAwB,CAACN;IAClC,MAAMC,SAASD,iBAAiBJ,YAAYI,QAAQT,yBAAyBS;IAC7E,OAAO,OAAOE;QACV,MAAMC,MAAM,IAAII,sBAAsB;YAClC,GAAGL,MAAM;YACT,iBAAiBA,OAAO,eAAe,IAAIR,QAAQ,GAAG,CAAC,eAAe;QAC1E;QACA,OAAO,MAAMO,OAAO,IAAI,CAACE;IAC7B;AACJ;AAEO,MAAMK,2BAA2B,CAACR;IACrC,MAAMC,SAASD,iBAAiBJ,YAAYI,QAAQT,yBAAyBS;IAC7E,OAAO,OACHE;QAEA,MAAMC,MAAM,IAAIM,yBAAyB;YACrC,GAAGP,MAAM;QACb;QACA,OAAO,MAAMD,OAAO,IAAI,CAACE;IAC7B;AACJ"}
|
package/client-sqs/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { SQSClient,
|
|
1
|
+
export { SQSClient, SendMessageBatchCommand } from "@aws-sdk/client-sqs";
|
|
2
|
+
export type { SendMessageBatchRequestEntry } from "@aws-sdk/client-sqs";
|
package/client-sqs/index.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "SQSClient", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _clientSqs.SQSClient;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "SendMessageBatchCommand", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _clientSqs.SendMessageBatchCommand;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "SendMessageBatchRequestEntry", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _clientSqs.SendMessageBatchRequestEntry;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
var _clientSqs = require("@aws-sdk/client-sqs");
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { SQSClient, SendMessageBatchCommand } from "@aws-sdk/client-sqs";
|
package/client-sts/index.js
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "STS", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _clientSts.STS;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _clientSts = require("@aws-sdk/client-sts");
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { STS } from "@aws-sdk/client-sts";
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "fromTemporaryCredentials", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _credentialProviders.fromTemporaryCredentials;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _credentialProviders = require("@aws-sdk/credential-providers");
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { fromTemporaryCredentials } from "@aws-sdk/credential-providers";
|
package/lib-storage/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Upload
|
|
1
|
+
export { Upload } from "@aws-sdk/lib-storage";
|
|
2
|
+
export type { Options, Progress, BodyDataTypes, RawDataPart, Configuration } from "@aws-sdk/lib-storage";
|
package/lib-storage/index.js
CHANGED
|
@@ -1,44 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "BodyDataTypes", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _libStorage.BodyDataTypes;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "Configuration", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _libStorage.Configuration;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "Options", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _libStorage.Options;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "Progress", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return _libStorage.Progress;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "RawDataPart", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return _libStorage.RawDataPart;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "Upload", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _libStorage.Upload;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
var _libStorage = require("@aws-sdk/lib-storage");
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { Upload } from "@aws-sdk/lib-storage";
|
package/package.json
CHANGED
|
@@ -1,58 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/aws-sdk",
|
|
3
|
-
"version": "0.0.0-unstable.
|
|
3
|
+
"version": "0.0.0-unstable.3fddf667ea",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "Wrapper for AWS SDK",
|
|
5
|
-
"
|
|
6
|
+
"exports": {
|
|
7
|
+
"./*": "./*"
|
|
8
|
+
},
|
|
6
9
|
"license": "MIT",
|
|
7
10
|
"author": "Webiny Ltd.",
|
|
8
11
|
"dependencies": {
|
|
9
|
-
"@aws-sdk/client-apigatewaymanagementapi": "3.
|
|
10
|
-
"@aws-sdk/client-cloudfront": "3.
|
|
11
|
-
"@aws-sdk/client-cloudwatch-events": "3.
|
|
12
|
-
"@aws-sdk/client-cloudwatch-logs": "3.
|
|
13
|
-
"@aws-sdk/client-cognito-identity-provider": "3.
|
|
14
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
15
|
-
"@aws-sdk/client-dynamodb-streams": "3.
|
|
16
|
-
"@aws-sdk/client-eventbridge": "3.
|
|
17
|
-
"@aws-sdk/client-iam": "3.
|
|
18
|
-
"@aws-sdk/client-iot": "3.
|
|
19
|
-
"@aws-sdk/client-lambda": "3.
|
|
20
|
-
"@aws-sdk/client-
|
|
21
|
-
"@aws-sdk/client-
|
|
22
|
-
"@aws-sdk/client-
|
|
23
|
-
"@aws-sdk/client-
|
|
24
|
-
"@aws-sdk/client-
|
|
25
|
-
"@aws-sdk/
|
|
26
|
-
"@aws-sdk/
|
|
27
|
-
"@aws-sdk/
|
|
28
|
-
"@aws-sdk/
|
|
29
|
-
"@aws-sdk/
|
|
30
|
-
"@aws-sdk/
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
12
|
+
"@aws-sdk/client-apigatewaymanagementapi": "3.1161.0",
|
|
13
|
+
"@aws-sdk/client-cloudfront": "3.1161.0",
|
|
14
|
+
"@aws-sdk/client-cloudwatch-events": "3.1161.0",
|
|
15
|
+
"@aws-sdk/client-cloudwatch-logs": "3.1161.0",
|
|
16
|
+
"@aws-sdk/client-cognito-identity-provider": "3.1161.0",
|
|
17
|
+
"@aws-sdk/client-dynamodb": "3.1161.0",
|
|
18
|
+
"@aws-sdk/client-dynamodb-streams": "3.1161.0",
|
|
19
|
+
"@aws-sdk/client-eventbridge": "3.1161.0",
|
|
20
|
+
"@aws-sdk/client-iam": "3.1161.0",
|
|
21
|
+
"@aws-sdk/client-iot": "3.1161.0",
|
|
22
|
+
"@aws-sdk/client-lambda": "3.1161.0",
|
|
23
|
+
"@aws-sdk/client-lambda-web": "3.1161.0",
|
|
24
|
+
"@aws-sdk/client-s3": "3.1161.0",
|
|
25
|
+
"@aws-sdk/client-scheduler": "3.1161.0",
|
|
26
|
+
"@aws-sdk/client-secrets-manager": "3.1164.0",
|
|
27
|
+
"@aws-sdk/client-sfn": "3.1161.0",
|
|
28
|
+
"@aws-sdk/client-sqs": "3.1161.0",
|
|
29
|
+
"@aws-sdk/client-sts": "3.1161.0",
|
|
30
|
+
"@aws-sdk/credential-providers": "3.1161.0",
|
|
31
|
+
"@aws-sdk/lib-dynamodb": "3.1161.0",
|
|
32
|
+
"@aws-sdk/lib-storage": "3.1161.0",
|
|
33
|
+
"@aws-sdk/s3-presigned-post": "3.1161.0",
|
|
34
|
+
"@aws-sdk/s3-request-presigner": "3.1161.0",
|
|
35
|
+
"@aws-sdk/util-dynamodb": "3.996.9",
|
|
36
|
+
"@types/aws-lambda": "8.10.164",
|
|
37
|
+
"@webiny/utils": "0.0.0-unstable.3fddf667ea"
|
|
33
38
|
},
|
|
34
39
|
"devDependencies": {
|
|
35
|
-
"@webiny/
|
|
36
|
-
"rimraf": "6.
|
|
37
|
-
"typescript": "
|
|
40
|
+
"@webiny/build-tools": "0.0.0-unstable.3fddf667ea",
|
|
41
|
+
"rimraf": "6.1.3",
|
|
42
|
+
"typescript": "7.0.2"
|
|
38
43
|
},
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"directory": "dist"
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"aws-lambda": "^1.0.7"
|
|
42
46
|
},
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"watch": "node ../cli/bin.js run watch"
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
46
49
|
},
|
|
47
50
|
"adio": {
|
|
48
51
|
"ignore": {
|
|
49
52
|
"dependencies": [
|
|
50
53
|
"@types/aws-lambda"
|
|
51
|
-
],
|
|
52
|
-
"src": [
|
|
53
|
-
"aws-lambda"
|
|
54
54
|
]
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
"
|
|
57
|
+
"webiny": {
|
|
58
|
+
"publishFrom": "dist"
|
|
59
|
+
}
|
|
58
60
|
}
|
package/types/index.js
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _awsLambda = require("aws-lambda");
|
|
7
|
-
Object.keys(_awsLambda).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _awsLambda[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _awsLambda[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export * from "aws-lambda";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_clientApigatewaymanagementapi","require"],"sources":["index.ts"],"sourcesContent":["export {\n ApiGatewayManagementApiClient,\n PostToConnectionCommand,\n PostToConnectionCommandInput,\n PostToConnectionRequest,\n PostToConnectionCommandOutput,\n PostToConnectionCommandInputType,\n DeleteConnectionCommand,\n DeleteConnectionCommandInput,\n DeleteConnectionRequest,\n DeleteConnectionCommandOutput,\n GetConnectionCommand,\n GetConnectionCommandInput,\n GetConnectionCommandOutput,\n GetConnectionRequest,\n GetConnectionResponse,\n // Exceptions\n GoneException,\n ForbiddenException,\n LimitExceededException,\n PayloadTooLargeException\n} from \"@aws-sdk/client-apigatewaymanagementapi\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,8BAAA,GAAAC,OAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_clientCloudfront","require"],"sources":["index.ts"],"sourcesContent":["export { CloudFront } from \"@aws-sdk/client-cloudfront\";\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_clientCloudwatchEvents","require","_clientCloudwatchLogs"],"sources":["index.ts"],"sourcesContent":["export {\n CloudWatchEventsClient,\n DeleteRuleCommand,\n RemoveTargetsCommand,\n PutRuleCommand,\n PutTargetsCommand,\n PutRuleCommandInput\n} from \"@aws-sdk/client-cloudwatch-events\";\n\nexport { CloudWatchLogs, GetLogEventsRequest } from \"@aws-sdk/client-cloudwatch-logs\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AASA,IAAAC,qBAAA,GAAAD,OAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_clientDynamodb","require","_libDynamodb","_utilDynamodb","_getDocumentClient"],"sources":["index.ts"],"sourcesContent":["export { QueryCommand, ScanInput, ScanOutput, WriteRequest } from \"@aws-sdk/client-dynamodb\";\nexport type {\n DynamoDBClient,\n DynamoDBClientConfig,\n AttributeValue\n} from \"@aws-sdk/client-dynamodb\";\n\nexport type { StreamRecord } from \"@aws-sdk/client-dynamodb-streams\";\n\nexport {\n BatchWriteCommand,\n BatchGetCommand,\n PutCommand,\n ScanCommand,\n GetCommand,\n UpdateCommand,\n DeleteCommand,\n DynamoDBDocument\n} from \"@aws-sdk/lib-dynamodb\";\n\nexport type {\n BatchWriteCommandInput,\n BatchWriteCommandOutput,\n BatchGetCommandInput,\n BatchGetCommandOutput,\n PutCommandInput,\n PutCommandOutput,\n UpdateCommandInput,\n GetCommandInput,\n GetCommandOutput,\n DeleteCommandInput,\n DeleteCommandOutput,\n ScanCommandInput,\n ScanCommandOutput,\n QueryCommandOutput\n} from \"@aws-sdk/lib-dynamodb\";\n\nexport { unmarshall, marshall } from \"@aws-sdk/util-dynamodb\";\n\nexport { getDocumentClient } from \"./getDocumentClient\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AASA,IAAAC,YAAA,GAAAD,OAAA;AA4BA,IAAAE,aAAA,GAAAF,OAAA;AAEA,IAAAG,kBAAA,GAAAH,OAAA","ignoreList":[]}
|
package/client-iam/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_clientIam","require"],"sources":["index.ts"],"sourcesContent":["export { IAM } from \"@aws-sdk/client-iam\";\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA","ignoreList":[]}
|
package/client-iot/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_clientIot","require"],"sources":["index.ts"],"sourcesContent":["export { IoTClient, DescribeEndpointCommand } from \"@aws-sdk/client-iot\";\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA","ignoreList":[]}
|
package/client-sqs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_clientSqs","require"],"sources":["index.ts"],"sourcesContent":["export {\n SQSClient,\n SendMessageBatchRequestEntry,\n SendMessageBatchCommand\n} from \"@aws-sdk/client-sqs\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA","ignoreList":[]}
|
package/client-sts/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_clientSts","require"],"sources":["index.ts"],"sourcesContent":["export { STS } from \"@aws-sdk/client-sts\";\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_credentialProviders","require"],"sources":["index.ts"],"sourcesContent":["export { fromTemporaryCredentials } from \"@aws-sdk/credential-providers\";\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,oBAAA,GAAAC,OAAA","ignoreList":[]}
|
package/lib-storage/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_libStorage","require"],"sources":["index.ts"],"sourcesContent":["export {\n Upload,\n Options,\n Progress,\n BodyDataTypes,\n RawDataPart,\n Configuration\n} from \"@aws-sdk/lib-storage\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA","ignoreList":[]}
|
package/types/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_awsLambda","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["index.ts"],"sourcesContent":["export * from \"aws-lambda\";\n"],"mappings":";;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,UAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,UAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,UAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|