@webiny/aws-sdk 0.0.0-unstable.06b2ede40f β†’ 0.0.0-unstable.0d717d18dd

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.
Files changed (47) hide show
  1. package/README.md +11 -0
  2. package/client-apigatewaymanagementapi/index.d.ts +2 -1
  3. package/client-apigatewaymanagementapi/index.js +1 -122
  4. package/client-cloudfront/index.js +1 -14
  5. package/client-cloudwatch/index.d.ts +3 -2
  6. package/client-cloudwatch/index.js +2 -57
  7. package/client-cognito-identity-provider/index.d.ts +2 -2
  8. package/client-cognito-identity-provider/index.js +14 -70
  9. package/client-cognito-identity-provider/index.js.map +1 -1
  10. package/client-dynamodb/getDocumentClient.js +28 -53
  11. package/client-dynamodb/getDocumentClient.js.map +1 -1
  12. package/client-dynamodb/index.d.ts +3 -3
  13. package/client-dynamodb/index.js +4 -101
  14. package/client-eventbridge/index.d.ts +2 -2
  15. package/client-eventbridge/index.js +5 -31
  16. package/client-eventbridge/index.js.map +1 -1
  17. package/client-iam/index.js +1 -14
  18. package/client-iot/index.js +1 -20
  19. package/client-lambda/index.d.ts +2 -2
  20. package/client-lambda/index.js +14 -52
  21. package/client-lambda/index.js.map +1 -1
  22. package/client-s3/index.d.ts +3 -3
  23. package/client-s3/index.js +34 -187
  24. package/client-s3/index.js.map +1 -1
  25. package/client-scheduler/index.js +16 -56
  26. package/client-scheduler/index.js.map +1 -1
  27. package/client-sfn/index.js +45 -88
  28. package/client-sfn/index.js.map +1 -1
  29. package/client-sqs/index.d.ts +2 -1
  30. package/client-sqs/index.js +1 -26
  31. package/client-sts/index.js +1 -14
  32. package/credential-providers/index.js +1 -14
  33. package/lib-storage/index.d.ts +2 -1
  34. package/lib-storage/index.js +1 -44
  35. package/package.json +39 -39
  36. package/types/index.js +1 -18
  37. package/client-apigatewaymanagementapi/index.js.map +0 -1
  38. package/client-cloudfront/index.js.map +0 -1
  39. package/client-cloudwatch/index.js.map +0 -1
  40. package/client-dynamodb/index.js.map +0 -1
  41. package/client-iam/index.js.map +0 -1
  42. package/client-iot/index.js.map +0 -1
  43. package/client-sqs/index.js.map +0 -1
  44. package/client-sts/index.js.map +0 -1
  45. package/credential-providers/index.js.map +0 -1
  46. package/lib-storage/index.js.map +0 -1
  47. package/types/index.js.map +0 -1
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # @webiny/aws-sdk
2
+
3
+ > [!NOTE]
4
+ > This package is part of the [Webiny](https://www.webiny.com) monorepo.
5
+ > It’s **included in every Webiny project by default** and is not meant to be used as a standalone package.
6
+
7
+ πŸ“˜ **Documentation:** [https://www.webiny.com/docs](https://www.webiny.com/docs)
8
+
9
+ ---
10
+
11
+ _This README file is automatically generated during the publish process._
@@ -1 +1,2 @@
1
- export { ApiGatewayManagementApiClient, PostToConnectionCommand, PostToConnectionCommandInput, PostToConnectionRequest, PostToConnectionCommandOutput, PostToConnectionCommandInputType, DeleteConnectionCommand, DeleteConnectionCommandInput, DeleteConnectionRequest, DeleteConnectionCommandOutput, GetConnectionCommand, GetConnectionCommandInput, GetConnectionCommandOutput, GetConnectionRequest, GetConnectionResponse, GoneException, ForbiddenException, LimitExceededException, PayloadTooLargeException } from "@aws-sdk/client-apigatewaymanagementapi";
1
+ export { ApiGatewayManagementApiClient, PostToConnectionCommand, DeleteConnectionCommand, GetConnectionCommand, GoneException, ForbiddenException, LimitExceededException, PayloadTooLargeException } from "@aws-sdk/client-apigatewaymanagementapi";
2
+ export type { PostToConnectionCommandInput, PostToConnectionRequest, PostToConnectionCommandOutput, PostToConnectionCommandInputType, DeleteConnectionCommandInput, DeleteConnectionRequest, DeleteConnectionCommandOutput, GetConnectionCommandInput, GetConnectionCommandOutput, GetConnectionRequest, GetConnectionResponse } from "@aws-sdk/client-apigatewaymanagementapi";
@@ -1,122 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "ApiGatewayManagementApiClient", {
7
- enumerable: true,
8
- get: function () {
9
- return _clientApigatewaymanagementapi.ApiGatewayManagementApiClient;
10
- }
11
- });
12
- Object.defineProperty(exports, "DeleteConnectionCommand", {
13
- enumerable: true,
14
- get: function () {
15
- return _clientApigatewaymanagementapi.DeleteConnectionCommand;
16
- }
17
- });
18
- Object.defineProperty(exports, "DeleteConnectionCommandInput", {
19
- enumerable: true,
20
- get: function () {
21
- return _clientApigatewaymanagementapi.DeleteConnectionCommandInput;
22
- }
23
- });
24
- Object.defineProperty(exports, "DeleteConnectionCommandOutput", {
25
- enumerable: true,
26
- get: function () {
27
- return _clientApigatewaymanagementapi.DeleteConnectionCommandOutput;
28
- }
29
- });
30
- Object.defineProperty(exports, "DeleteConnectionRequest", {
31
- enumerable: true,
32
- get: function () {
33
- return _clientApigatewaymanagementapi.DeleteConnectionRequest;
34
- }
35
- });
36
- Object.defineProperty(exports, "ForbiddenException", {
37
- enumerable: true,
38
- get: function () {
39
- return _clientApigatewaymanagementapi.ForbiddenException;
40
- }
41
- });
42
- Object.defineProperty(exports, "GetConnectionCommand", {
43
- enumerable: true,
44
- get: function () {
45
- return _clientApigatewaymanagementapi.GetConnectionCommand;
46
- }
47
- });
48
- Object.defineProperty(exports, "GetConnectionCommandInput", {
49
- enumerable: true,
50
- get: function () {
51
- return _clientApigatewaymanagementapi.GetConnectionCommandInput;
52
- }
53
- });
54
- Object.defineProperty(exports, "GetConnectionCommandOutput", {
55
- enumerable: true,
56
- get: function () {
57
- return _clientApigatewaymanagementapi.GetConnectionCommandOutput;
58
- }
59
- });
60
- Object.defineProperty(exports, "GetConnectionRequest", {
61
- enumerable: true,
62
- get: function () {
63
- return _clientApigatewaymanagementapi.GetConnectionRequest;
64
- }
65
- });
66
- Object.defineProperty(exports, "GetConnectionResponse", {
67
- enumerable: true,
68
- get: function () {
69
- return _clientApigatewaymanagementapi.GetConnectionResponse;
70
- }
71
- });
72
- Object.defineProperty(exports, "GoneException", {
73
- enumerable: true,
74
- get: function () {
75
- return _clientApigatewaymanagementapi.GoneException;
76
- }
77
- });
78
- Object.defineProperty(exports, "LimitExceededException", {
79
- enumerable: true,
80
- get: function () {
81
- return _clientApigatewaymanagementapi.LimitExceededException;
82
- }
83
- });
84
- Object.defineProperty(exports, "PayloadTooLargeException", {
85
- enumerable: true,
86
- get: function () {
87
- return _clientApigatewaymanagementapi.PayloadTooLargeException;
88
- }
89
- });
90
- Object.defineProperty(exports, "PostToConnectionCommand", {
91
- enumerable: true,
92
- get: function () {
93
- return _clientApigatewaymanagementapi.PostToConnectionCommand;
94
- }
95
- });
96
- Object.defineProperty(exports, "PostToConnectionCommandInput", {
97
- enumerable: true,
98
- get: function () {
99
- return _clientApigatewaymanagementapi.PostToConnectionCommandInput;
100
- }
101
- });
102
- Object.defineProperty(exports, "PostToConnectionCommandInputType", {
103
- enumerable: true,
104
- get: function () {
105
- return _clientApigatewaymanagementapi.PostToConnectionCommandInputType;
106
- }
107
- });
108
- Object.defineProperty(exports, "PostToConnectionCommandOutput", {
109
- enumerable: true,
110
- get: function () {
111
- return _clientApigatewaymanagementapi.PostToConnectionCommandOutput;
112
- }
113
- });
114
- Object.defineProperty(exports, "PostToConnectionRequest", {
115
- enumerable: true,
116
- get: function () {
117
- return _clientApigatewaymanagementapi.PostToConnectionRequest;
118
- }
119
- });
120
- var _clientApigatewaymanagementapi = require("@aws-sdk/client-apigatewaymanagementapi");
121
-
122
- //# sourceMappingURL=index.js.map
1
+ export { ApiGatewayManagementApiClient, DeleteConnectionCommand, ForbiddenException, GetConnectionCommand, GoneException, LimitExceededException, PayloadTooLargeException, PostToConnectionCommand } from "@aws-sdk/client-apigatewaymanagementapi";
@@ -1,14 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "CloudFront", {
7
- enumerable: true,
8
- get: function () {
9
- return _clientCloudfront.CloudFront;
10
- }
11
- });
12
- var _clientCloudfront = require("@aws-sdk/client-cloudfront");
13
-
14
- //# sourceMappingURL=index.js.map
1
+ export { CloudFront } from "@aws-sdk/client-cloudfront";
@@ -1,2 +1,3 @@
1
- export { CloudWatchEventsClient, DeleteRuleCommand, RemoveTargetsCommand, PutRuleCommand, PutTargetsCommand, PutRuleCommandInput } from "@aws-sdk/client-cloudwatch-events";
2
- export { CloudWatchLogs, GetLogEventsRequest } from "@aws-sdk/client-cloudwatch-logs";
1
+ export { CloudWatchEventsClient, DeleteRuleCommand, RemoveTargetsCommand, PutRuleCommand, PutTargetsCommand } from "@aws-sdk/client-cloudwatch-events";
2
+ export type { PutRuleCommandInput } from "@aws-sdk/client-cloudwatch-events";
3
+ export { CloudWatchLogs, type GetLogEventsRequest } from "@aws-sdk/client-cloudwatch-logs";
@@ -1,57 +1,2 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "CloudWatchEventsClient", {
7
- enumerable: true,
8
- get: function () {
9
- return _clientCloudwatchEvents.CloudWatchEventsClient;
10
- }
11
- });
12
- Object.defineProperty(exports, "CloudWatchLogs", {
13
- enumerable: true,
14
- get: function () {
15
- return _clientCloudwatchLogs.CloudWatchLogs;
16
- }
17
- });
18
- Object.defineProperty(exports, "DeleteRuleCommand", {
19
- enumerable: true,
20
- get: function () {
21
- return _clientCloudwatchEvents.DeleteRuleCommand;
22
- }
23
- });
24
- Object.defineProperty(exports, "GetLogEventsRequest", {
25
- enumerable: true,
26
- get: function () {
27
- return _clientCloudwatchLogs.GetLogEventsRequest;
28
- }
29
- });
30
- Object.defineProperty(exports, "PutRuleCommand", {
31
- enumerable: true,
32
- get: function () {
33
- return _clientCloudwatchEvents.PutRuleCommand;
34
- }
35
- });
36
- Object.defineProperty(exports, "PutRuleCommandInput", {
37
- enumerable: true,
38
- get: function () {
39
- return _clientCloudwatchEvents.PutRuleCommandInput;
40
- }
41
- });
42
- Object.defineProperty(exports, "PutTargetsCommand", {
43
- enumerable: true,
44
- get: function () {
45
- return _clientCloudwatchEvents.PutTargetsCommand;
46
- }
47
- });
48
- Object.defineProperty(exports, "RemoveTargetsCommand", {
49
- enumerable: true,
50
- get: function () {
51
- return _clientCloudwatchEvents.RemoveTargetsCommand;
52
- }
53
- });
54
- var _clientCloudwatchEvents = require("@aws-sdk/client-cloudwatch-events");
55
- var _clientCloudwatchLogs = require("@aws-sdk/client-cloudwatch-logs");
56
-
57
- //# sourceMappingURL=index.js.map
1
+ export { CloudWatchEventsClient, DeleteRuleCommand, PutRuleCommand, PutTargetsCommand, RemoveTargetsCommand } from "@aws-sdk/client-cloudwatch-events";
2
+ export { CloudWatchLogs } from "@aws-sdk/client-cloudwatch-logs";
@@ -1,5 +1,5 @@
1
1
  import type { CognitoIdentityProviderClientConfig } from "@aws-sdk/client-cognito-identity-provider";
2
2
  import { CognitoIdentityProvider } from "@aws-sdk/client-cognito-identity-provider";
3
- export { AdminGetUserCommand, AdminCreateUserCommand, AdminDeleteUserCommand, AdminUpdateUserAttributesCommand, AdminCreateUserRequest, AdminGetUserRequest, CognitoIdentityProvider, CognitoIdentityProviderClient } from "@aws-sdk/client-cognito-identity-provider";
4
- export type { AttributeType, ListUsersResponse, UserType, CognitoIdentityProviderClientConfig, AdminGetUserCommandInput, AdminGetUserCommandOutput, AdminCreateUserCommandInput, AdminCreateUserCommandOutput, AdminDeleteUserCommandInput, AdminDeleteUserCommandOutput, AdminUpdateUserAttributesCommandInput, AdminUpdateUserAttributesCommandOutput } from "@aws-sdk/client-cognito-identity-provider";
3
+ export { AdminGetUserCommand, AdminCreateUserCommand, AdminDeleteUserCommand, AdminUpdateUserAttributesCommand, CognitoIdentityProvider, CognitoIdentityProviderClient } from "@aws-sdk/client-cognito-identity-provider";
4
+ export type { AttributeType, ListUsersResponse, AdminCreateUserRequest, AdminGetUserRequest, UserType, CognitoIdentityProviderClientConfig, AdminGetUserCommandInput, AdminGetUserCommandOutput, AdminCreateUserCommandInput, AdminCreateUserCommandOutput, AdminDeleteUserCommandInput, AdminDeleteUserCommandOutput, AdminUpdateUserAttributesCommandInput, AdminUpdateUserAttributesCommandOutput } from "@aws-sdk/client-cognito-identity-provider";
5
5
  export declare const createCognitoIdentityProviderClient: (input?: Partial<CognitoIdentityProviderClientConfig>) => CognitoIdentityProvider;
@@ -1,76 +1,20 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "AdminCreateUserCommand", {
7
- enumerable: true,
8
- get: function () {
9
- return _clientCognitoIdentityProvider.AdminCreateUserCommand;
10
- }
11
- });
12
- Object.defineProperty(exports, "AdminCreateUserRequest", {
13
- enumerable: true,
14
- get: function () {
15
- return _clientCognitoIdentityProvider.AdminCreateUserRequest;
16
- }
17
- });
18
- Object.defineProperty(exports, "AdminDeleteUserCommand", {
19
- enumerable: true,
20
- get: function () {
21
- return _clientCognitoIdentityProvider.AdminDeleteUserCommand;
22
- }
23
- });
24
- Object.defineProperty(exports, "AdminGetUserCommand", {
25
- enumerable: true,
26
- get: function () {
27
- return _clientCognitoIdentityProvider.AdminGetUserCommand;
28
- }
29
- });
30
- Object.defineProperty(exports, "AdminGetUserRequest", {
31
- enumerable: true,
32
- get: function () {
33
- return _clientCognitoIdentityProvider.AdminGetUserRequest;
34
- }
35
- });
36
- Object.defineProperty(exports, "AdminUpdateUserAttributesCommand", {
37
- enumerable: true,
38
- get: function () {
39
- return _clientCognitoIdentityProvider.AdminUpdateUserAttributesCommand;
40
- }
41
- });
42
- Object.defineProperty(exports, "CognitoIdentityProvider", {
43
- enumerable: true,
44
- get: function () {
45
- return _clientCognitoIdentityProvider.CognitoIdentityProvider;
46
- }
47
- });
48
- Object.defineProperty(exports, "CognitoIdentityProviderClient", {
49
- enumerable: true,
50
- get: function () {
51
- return _clientCognitoIdentityProvider.CognitoIdentityProviderClient;
52
- }
53
- });
54
- exports.createCognitoIdentityProviderClient = void 0;
55
- var _clientCognitoIdentityProvider = require("@aws-sdk/client-cognito-identity-provider");
56
- var _utils = require("@webiny/utils");
1
+ import { AdminCreateUserCommand, AdminDeleteUserCommand, AdminGetUserCommand, AdminUpdateUserAttributesCommand, CognitoIdentityProvider, CognitoIdentityProviderClient } from "@aws-sdk/client-cognito-identity-provider";
2
+ import { createCacheKey } from "@webiny/utils";
57
3
  const DEFAULT_CONFIG = {
58
- region: process.env.AWS_REGION
4
+ region: process.env.AWS_REGION
59
5
  };
60
6
  const cache = {};
61
- const createCognitoIdentityProviderClient = input => {
62
- const config = {
63
- ...DEFAULT_CONFIG,
64
- ...input
65
- };
66
- const key = (0, _utils.createCacheKey)(config);
67
- if (cache[key]) {
68
- return cache[key];
69
- }
70
- const client = new _clientCognitoIdentityProvider.CognitoIdentityProvider(config);
71
- cache[key] = client;
72
- return client;
7
+ const createCognitoIdentityProviderClient = (input)=>{
8
+ const config = {
9
+ ...DEFAULT_CONFIG,
10
+ ...input
11
+ };
12
+ const key = createCacheKey(config);
13
+ if (cache[key]) return cache[key];
14
+ const client = new CognitoIdentityProvider(config);
15
+ cache[key] = client;
16
+ return client;
73
17
  };
74
- exports.createCognitoIdentityProviderClient = createCognitoIdentityProviderClient;
18
+ export { AdminCreateUserCommand, AdminDeleteUserCommand, AdminGetUserCommand, AdminUpdateUserAttributesCommand, CognitoIdentityProvider, CognitoIdentityProviderClient, createCognitoIdentityProviderClient };
75
19
 
76
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_clientCognitoIdentityProvider","require","_utils","DEFAULT_CONFIG","region","process","env","AWS_REGION","cache","createCognitoIdentityProviderClient","input","config","key","createCacheKey","client","CognitoIdentityProvider","exports"],"sources":["index.ts"],"sourcesContent":["import type { CognitoIdentityProviderClientConfig } from \"@aws-sdk/client-cognito-identity-provider\";\nimport { CognitoIdentityProvider } from \"@aws-sdk/client-cognito-identity-provider\";\nimport type { GenericRecord } from \"@webiny/utils\";\nimport { createCacheKey } from \"@webiny/utils\";\n\nexport {\n AdminGetUserCommand,\n AdminCreateUserCommand,\n AdminDeleteUserCommand,\n AdminUpdateUserAttributesCommand,\n AdminCreateUserRequest,\n AdminGetUserRequest,\n CognitoIdentityProvider,\n CognitoIdentityProviderClient\n} from \"@aws-sdk/client-cognito-identity-provider\";\n\nexport type {\n AttributeType,\n ListUsersResponse,\n UserType,\n CognitoIdentityProviderClientConfig,\n AdminGetUserCommandInput,\n AdminGetUserCommandOutput,\n AdminCreateUserCommandInput,\n AdminCreateUserCommandOutput,\n AdminDeleteUserCommandInput,\n AdminDeleteUserCommandOutput,\n AdminUpdateUserAttributesCommandInput,\n AdminUpdateUserAttributesCommandOutput\n} from \"@aws-sdk/client-cognito-identity-provider\";\n\nconst DEFAULT_CONFIG = {\n region: process.env.AWS_REGION\n};\n\nconst cache: GenericRecord<string, CognitoIdentityProvider> = {};\n\nexport const createCognitoIdentityProviderClient = (\n input?: Partial<CognitoIdentityProviderClientConfig>\n) => {\n const config: CognitoIdentityProviderClientConfig = {\n ...DEFAULT_CONFIG,\n ...input\n };\n const key = createCacheKey(config);\n if (cache[key]) {\n return cache[key];\n }\n const client = new CognitoIdentityProvider(config);\n cache[key] = client;\n return client;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,8BAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AA4BA,MAAME,cAAc,GAAG;EACnBC,MAAM,EAAEC,OAAO,CAACC,GAAG,CAACC;AACxB,CAAC;AAED,MAAMC,KAAqD,GAAG,CAAC,CAAC;AAEzD,MAAMC,mCAAmC,GAC5CC,KAAoD,IACnD;EACD,MAAMC,MAA2C,GAAG;IAChD,GAAGR,cAAc;IACjB,GAAGO;EACP,CAAC;EACD,MAAME,GAAG,GAAG,IAAAC,qBAAc,EAACF,MAAM,CAAC;EAClC,IAAIH,KAAK,CAACI,GAAG,CAAC,EAAE;IACZ,OAAOJ,KAAK,CAACI,GAAG,CAAC;EACrB;EACA,MAAME,MAAM,GAAG,IAAIC,sDAAuB,CAACJ,MAAM,CAAC;EAClDH,KAAK,CAACI,GAAG,CAAC,GAAGE,MAAM;EACnB,OAAOA,MAAM;AACjB,CAAC;AAACE,OAAA,CAAAP,mCAAA,GAAAA,mCAAA","ignoreList":[]}
1
+ {"version":3,"file":"client-cognito-identity-provider/index.js","sources":["../../src/client-cognito-identity-provider/index.ts"],"sourcesContent":["import type { CognitoIdentityProviderClientConfig } from \"@aws-sdk/client-cognito-identity-provider\";\nimport { CognitoIdentityProvider } from \"@aws-sdk/client-cognito-identity-provider\";\nimport type { GenericRecord } from \"@webiny/utils\";\nimport { createCacheKey } from \"@webiny/utils\";\n\nexport {\n AdminGetUserCommand,\n AdminCreateUserCommand,\n AdminDeleteUserCommand,\n AdminUpdateUserAttributesCommand,\n CognitoIdentityProvider,\n CognitoIdentityProviderClient\n} from \"@aws-sdk/client-cognito-identity-provider\";\n\nexport type {\n AttributeType,\n ListUsersResponse,\n AdminCreateUserRequest,\n AdminGetUserRequest,\n UserType,\n CognitoIdentityProviderClientConfig,\n AdminGetUserCommandInput,\n AdminGetUserCommandOutput,\n AdminCreateUserCommandInput,\n AdminCreateUserCommandOutput,\n AdminDeleteUserCommandInput,\n AdminDeleteUserCommandOutput,\n AdminUpdateUserAttributesCommandInput,\n AdminUpdateUserAttributesCommandOutput\n} from \"@aws-sdk/client-cognito-identity-provider\";\n\nconst DEFAULT_CONFIG = {\n region: process.env.AWS_REGION\n};\n\nconst cache: GenericRecord<string, CognitoIdentityProvider> = {};\n\nexport const createCognitoIdentityProviderClient = (\n input?: Partial<CognitoIdentityProviderClientConfig>\n) => {\n const config: CognitoIdentityProviderClientConfig = {\n ...DEFAULT_CONFIG,\n ...input\n };\n const key = createCacheKey(config);\n if (cache[key]) {\n return cache[key];\n }\n const client = new CognitoIdentityProvider(config);\n cache[key] = client;\n return client;\n};\n"],"names":["DEFAULT_CONFIG","process","cache","createCognitoIdentityProviderClient","input","config","key","createCacheKey","client","CognitoIdentityProvider"],"mappings":";;AA+BA,MAAMA,iBAAiB;IACnB,QAAQC,QAAQ,GAAG,CAAC,UAAU;AAClC;AAEA,MAAMC,QAAwD,CAAC;AAExD,MAAMC,sCAAsC,CAC/CC;IAEA,MAAMC,SAA8C;QAChD,GAAGL,cAAc;QACjB,GAAGI,KAAK;IACZ;IACA,MAAME,MAAMC,eAAeF;IAC3B,IAAIH,KAAK,CAACI,IAAI,EACV,OAAOJ,KAAK,CAACI,IAAI;IAErB,MAAME,SAAS,IAAIC,wBAAwBJ;IAC3CH,KAAK,CAACI,IAAI,GAAGE;IACb,OAAOA;AACX"}
@@ -1,63 +1,38 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getDocumentClient = exports.decorateDocumentClient = exports.createDocumentClient = void 0;
7
- var _clientDynamodb = require("@aws-sdk/client-dynamodb");
8
- var _libDynamodb = require("@aws-sdk/lib-dynamodb");
9
- var _utils = require("@webiny/utils");
10
- let decorateDocumentClientCallable = undefined;
1
+ import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
2
+ import { DynamoDBDocument } from "@aws-sdk/lib-dynamodb";
3
+ import { createCacheKey } from "@webiny/utils";
4
+ let decorateDocumentClientCallable;
11
5
  const DEFAULT_CONFIG = {
12
- region: process.env.AWS_REGION
6
+ region: process.env.AWS_REGION
13
7
  };
14
8
  const documentClients = {};
15
-
16
- /**
17
- * We do not want users to be able to change these options, so we are not exposing them.
18
- */
19
9
  const documentClientConfig = {
20
- marshallOptions: {
21
- convertEmptyValues: true,
22
- removeUndefinedValues: true,
23
- convertClassInstanceToMap: true
24
- }
10
+ marshallOptions: {
11
+ convertEmptyValues: true,
12
+ removeUndefinedValues: true,
13
+ convertClassInstanceToMap: true
14
+ }
25
15
  };
26
- const getDocumentClient = input => {
27
- const config = {
28
- ...DEFAULT_CONFIG,
29
- ...input
30
- };
31
- const key = (0, _utils.createCacheKey)(config);
32
- if (documentClients[key]) {
33
- return applyDecoration(documentClients[key]);
34
- }
35
- const client = new _clientDynamodb.DynamoDBClient(config);
36
- const documentClient = _libDynamodb.DynamoDBDocument.from(client, documentClientConfig);
37
- return documentClients[key] = applyDecoration(documentClient);
16
+ const getDocumentClient = (input)=>{
17
+ const config = {
18
+ ...DEFAULT_CONFIG,
19
+ ...input
20
+ };
21
+ const key = createCacheKey(config);
22
+ if (documentClients[key]) return applyDecoration(documentClients[key]);
23
+ const client = new DynamoDBClient(config);
24
+ const documentClient = DynamoDBDocument.from(client, documentClientConfig);
25
+ return documentClients[key] = applyDecoration(documentClient);
38
26
  };
39
- /**
40
- * Client will not be decorated more than once.
41
- */
42
- exports.getDocumentClient = exports.createDocumentClient = getDocumentClient;
43
- const applyDecoration = client => {
44
- if (!decorateDocumentClientCallable) {
45
- return client;
46
- }
47
-
48
- // @ts-expect-error
49
- client.__decoratedByWebiny = true;
50
- return decorateDocumentClientCallable(client);
27
+ const applyDecoration = (client)=>{
28
+ if (!decorateDocumentClientCallable) return client;
29
+ client.__decoratedByWebiny = true;
30
+ return decorateDocumentClientCallable(client);
51
31
  };
52
- const decorateDocumentClient = cb => {
53
- decorateDocumentClientCallable = cb;
54
- /**
55
- * Decorate already existing clients.
56
- */
57
- for (const key in documentClients) {
58
- cb(documentClients[key]);
59
- }
32
+ const decorateDocumentClient = (cb)=>{
33
+ decorateDocumentClientCallable = cb;
34
+ for(const key in documentClients)cb(documentClients[key]);
60
35
  };
61
- exports.decorateDocumentClient = decorateDocumentClient;
36
+ export { decorateDocumentClient, getDocumentClient as createDocumentClient, getDocumentClient };
62
37
 
63
38
  //# sourceMappingURL=getDocumentClient.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_clientDynamodb","require","_libDynamodb","_utils","decorateDocumentClientCallable","undefined","DEFAULT_CONFIG","region","process","env","AWS_REGION","documentClients","documentClientConfig","marshallOptions","convertEmptyValues","removeUndefinedValues","convertClassInstanceToMap","getDocumentClient","input","config","key","createCacheKey","applyDecoration","client","DynamoDBClient","documentClient","DynamoDBDocument","from","exports","createDocumentClient","__decoratedByWebiny","decorateDocumentClient","cb"],"sources":["getDocumentClient.ts"],"sourcesContent":["import type { DynamoDBClientConfig } from \"@aws-sdk/client-dynamodb\";\nimport { DynamoDBClient } from \"@aws-sdk/client-dynamodb\";\nimport type { TranslateConfig } from \"@aws-sdk/lib-dynamodb\";\nimport { DynamoDBDocument } from \"@aws-sdk/lib-dynamodb\";\nimport { createCacheKey } from \"@webiny/utils\";\n\nexport interface IDecorateDocumentClientCallable {\n (client: DynamoDBDocument): DynamoDBDocument;\n}\n\nlet decorateDocumentClientCallable: IDecorateDocumentClientCallable | undefined = undefined;\n\nconst DEFAULT_CONFIG = {\n region: process.env.AWS_REGION\n};\n\nconst documentClients: Record<string, DynamoDBDocument> = {};\n\n/**\n * We do not want users to be able to change these options, so we are not exposing them.\n */\nconst documentClientConfig: TranslateConfig = {\n marshallOptions: {\n convertEmptyValues: true,\n removeUndefinedValues: true,\n convertClassInstanceToMap: true\n }\n};\n\nexport { getDocumentClient as createDocumentClient };\n\nexport const getDocumentClient = (input?: DynamoDBClientConfig): DynamoDBDocument => {\n const config: DynamoDBClientConfig = {\n ...DEFAULT_CONFIG,\n ...input\n };\n const key = createCacheKey(config);\n if (documentClients[key]) {\n return applyDecoration(documentClients[key]);\n }\n const client = new DynamoDBClient(config);\n const documentClient = DynamoDBDocument.from(client, documentClientConfig);\n return (documentClients[key] = applyDecoration(documentClient));\n};\n/**\n * Client will not be decorated more than once.\n */\nconst applyDecoration = (client: DynamoDBDocument): DynamoDBDocument => {\n if (!decorateDocumentClientCallable) {\n return client;\n }\n\n // @ts-expect-error\n client.__decoratedByWebiny = true;\n return decorateDocumentClientCallable(client);\n};\n\nexport const decorateDocumentClient = (cb: IDecorateDocumentClientCallable): void => {\n decorateDocumentClientCallable = cb;\n /**\n * Decorate already existing clients.\n */\n for (const key in documentClients) {\n cb(documentClients[key]);\n }\n};\n"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAMA,IAAIG,8BAA2E,GAAGC,SAAS;AAE3F,MAAMC,cAAc,GAAG;EACnBC,MAAM,EAAEC,OAAO,CAACC,GAAG,CAACC;AACxB,CAAC;AAED,MAAMC,eAAiD,GAAG,CAAC,CAAC;;AAE5D;AACA;AACA;AACA,MAAMC,oBAAqC,GAAG;EAC1CC,eAAe,EAAE;IACbC,kBAAkB,EAAE,IAAI;IACxBC,qBAAqB,EAAE,IAAI;IAC3BC,yBAAyB,EAAE;EAC/B;AACJ,CAAC;AAIM,MAAMC,iBAAiB,GAAIC,KAA4B,IAAuB;EACjF,MAAMC,MAA4B,GAAG;IACjC,GAAGb,cAAc;IACjB,GAAGY;EACP,CAAC;EACD,MAAME,GAAG,GAAG,IAAAC,qBAAc,EAACF,MAAM,CAAC;EAClC,IAAIR,eAAe,CAACS,GAAG,CAAC,EAAE;IACtB,OAAOE,eAAe,CAACX,eAAe,CAACS,GAAG,CAAC,CAAC;EAChD;EACA,MAAMG,MAAM,GAAG,IAAIC,8BAAc,CAACL,MAAM,CAAC;EACzC,MAAMM,cAAc,GAAGC,6BAAgB,CAACC,IAAI,CAACJ,MAAM,EAAEX,oBAAoB,CAAC;EAC1E,OAAQD,eAAe,CAACS,GAAG,CAAC,GAAGE,eAAe,CAACG,cAAc,CAAC;AAClE,CAAC;AACD;AACA;AACA;AAFAG,OAAA,CAAAX,iBAAA,GAAAW,OAAA,CAAAC,oBAAA,GAAAZ,iBAAA;AAGA,MAAMK,eAAe,GAAIC,MAAwB,IAAuB;EACpE,IAAI,CAACnB,8BAA8B,EAAE;IACjC,OAAOmB,MAAM;EACjB;;EAEA;EACAA,MAAM,CAACO,mBAAmB,GAAG,IAAI;EACjC,OAAO1B,8BAA8B,CAACmB,MAAM,CAAC;AACjD,CAAC;AAEM,MAAMQ,sBAAsB,GAAIC,EAAmC,IAAW;EACjF5B,8BAA8B,GAAG4B,EAAE;EACnC;AACJ;AACA;EACI,KAAK,MAAMZ,GAAG,IAAIT,eAAe,EAAE;IAC/BqB,EAAE,CAACrB,eAAe,CAACS,GAAG,CAAC,CAAC;EAC5B;AACJ,CAAC;AAACQ,OAAA,CAAAG,sBAAA,GAAAA,sBAAA","ignoreList":[]}
1
+ {"version":3,"file":"client-dynamodb/getDocumentClient.js","sources":["../../src/client-dynamodb/getDocumentClient.ts"],"sourcesContent":["import type { DynamoDBClientConfig } from \"@aws-sdk/client-dynamodb\";\nimport { DynamoDBClient } from \"@aws-sdk/client-dynamodb\";\nimport type { TranslateConfig } from \"@aws-sdk/lib-dynamodb\";\nimport { DynamoDBDocument } from \"@aws-sdk/lib-dynamodb\";\nimport { createCacheKey } from \"@webiny/utils\";\n\nexport interface IDecorateDocumentClientCallable {\n (client: DynamoDBDocument): DynamoDBDocument;\n}\n\nlet decorateDocumentClientCallable: IDecorateDocumentClientCallable | undefined = undefined;\n\nconst DEFAULT_CONFIG = {\n region: process.env.AWS_REGION\n};\n\nconst documentClients: Record<string, DynamoDBDocument> = {};\n\n/**\n * We do not want users to be able to change these options, so we are not exposing them.\n */\nconst documentClientConfig: TranslateConfig = {\n marshallOptions: {\n convertEmptyValues: true,\n removeUndefinedValues: true,\n convertClassInstanceToMap: true\n }\n};\n\nexport { getDocumentClient as createDocumentClient };\n\nexport const getDocumentClient = (input?: DynamoDBClientConfig): DynamoDBDocument => {\n const config: DynamoDBClientConfig = {\n ...DEFAULT_CONFIG,\n ...input\n };\n const key = createCacheKey(config);\n if (documentClients[key]) {\n return applyDecoration(documentClients[key]);\n }\n const client = new DynamoDBClient(config);\n const documentClient = DynamoDBDocument.from(client, documentClientConfig);\n return (documentClients[key] = applyDecoration(documentClient));\n};\n/**\n * Client will not be decorated more than once.\n */\nconst applyDecoration = (client: DynamoDBDocument): DynamoDBDocument => {\n if (!decorateDocumentClientCallable) {\n return client;\n }\n\n // @ts-expect-error\n client.__decoratedByWebiny = true;\n return decorateDocumentClientCallable(client);\n};\n\nexport const decorateDocumentClient = (cb: IDecorateDocumentClientCallable): void => {\n decorateDocumentClientCallable = cb;\n /**\n * Decorate already existing clients.\n */\n for (const key in documentClients) {\n cb(documentClients[key]);\n }\n};\n"],"names":["decorateDocumentClientCallable","DEFAULT_CONFIG","process","documentClients","documentClientConfig","getDocumentClient","input","config","key","createCacheKey","applyDecoration","client","DynamoDBClient","documentClient","DynamoDBDocument","decorateDocumentClient","cb"],"mappings":";;;AAUA,IAAIA;AAEJ,MAAMC,iBAAiB;IACnB,QAAQC,QAAQ,GAAG,CAAC,UAAU;AAClC;AAEA,MAAMC,kBAAoD,CAAC;AAK3D,MAAMC,uBAAwC;IAC1C,iBAAiB;QACb,oBAAoB;QACpB,uBAAuB;QACvB,2BAA2B;IAC/B;AACJ;AAIO,MAAMC,oBAAoB,CAACC;IAC9B,MAAMC,SAA+B;QACjC,GAAGN,cAAc;QACjB,GAAGK,KAAK;IACZ;IACA,MAAME,MAAMC,eAAeF;IAC3B,IAAIJ,eAAe,CAACK,IAAI,EACpB,OAAOE,gBAAgBP,eAAe,CAACK,IAAI;IAE/C,MAAMG,SAAS,IAAIC,eAAeL;IAClC,MAAMM,iBAAiBC,iBAAiB,IAAI,CAACH,QAAQP;IACrD,OAAQD,eAAe,CAACK,IAAI,GAAGE,gBAAgBG;AACnD;AAIA,MAAMH,kBAAkB,CAACC;IACrB,IAAI,CAACX,gCACD,OAAOW;IAIXA,OAAO,mBAAmB,GAAG;IAC7B,OAAOX,+BAA+BW;AAC1C;AAEO,MAAMI,yBAAyB,CAACC;IACnChB,iCAAiCgB;IAIjC,IAAK,MAAMR,OAAOL,gBACda,GAAGb,eAAe,CAACK,IAAI;AAE/B"}
@@ -1,7 +1,7 @@
1
- export { QueryCommand, ScanInput, ScanOutput, WriteRequest } from "@aws-sdk/client-dynamodb";
2
- export type { DynamoDBClient, DynamoDBClientConfig, AttributeValue } from "@aws-sdk/client-dynamodb";
1
+ export { QueryCommand } from "@aws-sdk/client-dynamodb";
2
+ export type { ScanInput, ScanOutput, WriteRequest, DynamoDBClient, DynamoDBClientConfig, AttributeValue } from "@aws-sdk/client-dynamodb";
3
3
  export type { StreamRecord } from "@aws-sdk/client-dynamodb-streams";
4
4
  export { BatchWriteCommand, BatchGetCommand, PutCommand, ScanCommand, GetCommand, UpdateCommand, DeleteCommand, DynamoDBDocument } from "@aws-sdk/lib-dynamodb";
5
5
  export type { BatchWriteCommandInput, BatchWriteCommandOutput, BatchGetCommandInput, BatchGetCommandOutput, PutCommandInput, PutCommandOutput, UpdateCommandInput, GetCommandInput, GetCommandOutput, DeleteCommandInput, DeleteCommandOutput, ScanCommandInput, ScanCommandOutput, QueryCommandOutput } from "@aws-sdk/lib-dynamodb";
6
6
  export { unmarshall, marshall } from "@aws-sdk/util-dynamodb";
7
- export { getDocumentClient } from "./getDocumentClient";
7
+ export { getDocumentClient } from "./getDocumentClient.js";
@@ -1,101 +1,4 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "BatchGetCommand", {
7
- enumerable: true,
8
- get: function () {
9
- return _libDynamodb.BatchGetCommand;
10
- }
11
- });
12
- Object.defineProperty(exports, "BatchWriteCommand", {
13
- enumerable: true,
14
- get: function () {
15
- return _libDynamodb.BatchWriteCommand;
16
- }
17
- });
18
- Object.defineProperty(exports, "DeleteCommand", {
19
- enumerable: true,
20
- get: function () {
21
- return _libDynamodb.DeleteCommand;
22
- }
23
- });
24
- Object.defineProperty(exports, "DynamoDBDocument", {
25
- enumerable: true,
26
- get: function () {
27
- return _libDynamodb.DynamoDBDocument;
28
- }
29
- });
30
- Object.defineProperty(exports, "GetCommand", {
31
- enumerable: true,
32
- get: function () {
33
- return _libDynamodb.GetCommand;
34
- }
35
- });
36
- Object.defineProperty(exports, "PutCommand", {
37
- enumerable: true,
38
- get: function () {
39
- return _libDynamodb.PutCommand;
40
- }
41
- });
42
- Object.defineProperty(exports, "QueryCommand", {
43
- enumerable: true,
44
- get: function () {
45
- return _clientDynamodb.QueryCommand;
46
- }
47
- });
48
- Object.defineProperty(exports, "ScanCommand", {
49
- enumerable: true,
50
- get: function () {
51
- return _libDynamodb.ScanCommand;
52
- }
53
- });
54
- Object.defineProperty(exports, "ScanInput", {
55
- enumerable: true,
56
- get: function () {
57
- return _clientDynamodb.ScanInput;
58
- }
59
- });
60
- Object.defineProperty(exports, "ScanOutput", {
61
- enumerable: true,
62
- get: function () {
63
- return _clientDynamodb.ScanOutput;
64
- }
65
- });
66
- Object.defineProperty(exports, "UpdateCommand", {
67
- enumerable: true,
68
- get: function () {
69
- return _libDynamodb.UpdateCommand;
70
- }
71
- });
72
- Object.defineProperty(exports, "WriteRequest", {
73
- enumerable: true,
74
- get: function () {
75
- return _clientDynamodb.WriteRequest;
76
- }
77
- });
78
- Object.defineProperty(exports, "getDocumentClient", {
79
- enumerable: true,
80
- get: function () {
81
- return _getDocumentClient.getDocumentClient;
82
- }
83
- });
84
- Object.defineProperty(exports, "marshall", {
85
- enumerable: true,
86
- get: function () {
87
- return _utilDynamodb.marshall;
88
- }
89
- });
90
- Object.defineProperty(exports, "unmarshall", {
91
- enumerable: true,
92
- get: function () {
93
- return _utilDynamodb.unmarshall;
94
- }
95
- });
96
- var _clientDynamodb = require("@aws-sdk/client-dynamodb");
97
- var _libDynamodb = require("@aws-sdk/lib-dynamodb");
98
- var _utilDynamodb = require("@aws-sdk/util-dynamodb");
99
- var _getDocumentClient = require("./getDocumentClient");
100
-
101
- //# sourceMappingURL=index.js.map
1
+ export { QueryCommand } from "@aws-sdk/client-dynamodb";
2
+ export { BatchGetCommand, BatchWriteCommand, DeleteCommand, DynamoDBDocument, GetCommand, PutCommand, ScanCommand, UpdateCommand } from "@aws-sdk/lib-dynamodb";
3
+ export { marshall, unmarshall } from "@aws-sdk/util-dynamodb";
4
+ export { getDocumentClient } from "./getDocumentClient.js";
@@ -1,5 +1,5 @@
1
1
  import type { EventBridgeClientConfig } from "@aws-sdk/client-eventbridge";
2
2
  import { EventBridgeClient } from "@aws-sdk/client-eventbridge";
3
- export { EventBridgeClient, PutEventsRequestEntry, PutEventsCommand } from "@aws-sdk/client-eventbridge";
4
- export type { EventBridgeClientConfig, PutEventsCommandInput, PutEventsCommandOutput } from "@aws-sdk/client-eventbridge";
3
+ export { EventBridgeClient, PutEventsCommand } from "@aws-sdk/client-eventbridge";
4
+ export type { EventBridgeClientConfig, PutEventsRequestEntry, PutEventsCommandInput, PutEventsCommandOutput } from "@aws-sdk/client-eventbridge";
5
5
  export declare const createEventBridgeClient: (config?: Partial<EventBridgeClientConfig>) => EventBridgeClient;
@@ -1,33 +1,7 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "EventBridgeClient", {
7
- enumerable: true,
8
- get: function () {
9
- return _clientEventbridge.EventBridgeClient;
10
- }
11
- });
12
- Object.defineProperty(exports, "PutEventsCommand", {
13
- enumerable: true,
14
- get: function () {
15
- return _clientEventbridge.PutEventsCommand;
16
- }
17
- });
18
- Object.defineProperty(exports, "PutEventsRequestEntry", {
19
- enumerable: true,
20
- get: function () {
21
- return _clientEventbridge.PutEventsRequestEntry;
22
- }
23
- });
24
- exports.createEventBridgeClient = void 0;
25
- var _clientEventbridge = require("@aws-sdk/client-eventbridge");
26
- const createEventBridgeClient = config => {
27
- return new _clientEventbridge.EventBridgeClient({
28
- ...config
29
- });
30
- };
31
- exports.createEventBridgeClient = createEventBridgeClient;
1
+ import { EventBridgeClient, PutEventsCommand } from "@aws-sdk/client-eventbridge";
2
+ const createEventBridgeClient = (config)=>new EventBridgeClient({
3
+ ...config
4
+ });
5
+ export { EventBridgeClient, PutEventsCommand, createEventBridgeClient };
32
6
 
33
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_clientEventbridge","require","createEventBridgeClient","config","EventBridgeClient","exports"],"sources":["index.ts"],"sourcesContent":["import type { EventBridgeClientConfig } from \"@aws-sdk/client-eventbridge\";\nimport { EventBridgeClient } from \"@aws-sdk/client-eventbridge\";\n\nexport {\n EventBridgeClient,\n PutEventsRequestEntry,\n PutEventsCommand\n} from \"@aws-sdk/client-eventbridge\";\n\nexport type {\n EventBridgeClientConfig,\n PutEventsCommandInput,\n PutEventsCommandOutput\n} from \"@aws-sdk/client-eventbridge\";\n\nexport const createEventBridgeClient = (config?: Partial<EventBridgeClientConfig>) => {\n return new EventBridgeClient({\n ...config\n });\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,kBAAA,GAAAC,OAAA;AAcO,MAAMC,uBAAuB,GAAIC,MAAyC,IAAK;EAClF,OAAO,IAAIC,oCAAiB,CAAC;IACzB,GAAGD;EACP,CAAC,CAAC;AACN,CAAC;AAACE,OAAA,CAAAH,uBAAA,GAAAA,uBAAA","ignoreList":[]}
1
+ {"version":3,"file":"client-eventbridge/index.js","sources":["../../src/client-eventbridge/index.ts"],"sourcesContent":["import type { EventBridgeClientConfig } from \"@aws-sdk/client-eventbridge\";\nimport { EventBridgeClient } from \"@aws-sdk/client-eventbridge\";\n\nexport { EventBridgeClient, PutEventsCommand } from \"@aws-sdk/client-eventbridge\";\n\nexport type {\n EventBridgeClientConfig,\n PutEventsRequestEntry,\n PutEventsCommandInput,\n PutEventsCommandOutput\n} from \"@aws-sdk/client-eventbridge\";\n\nexport const createEventBridgeClient = (config?: Partial<EventBridgeClientConfig>) => {\n return new EventBridgeClient({\n ...config\n });\n};\n"],"names":["createEventBridgeClient","config","EventBridgeClient"],"mappings":";AAYO,MAAMA,0BAA0B,CAACC,SAC7B,IAAIC,kBAAkB;QACzB,GAAGD,MAAM;IACb"}
@@ -1,14 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "IAM", {
7
- enumerable: true,
8
- get: function () {
9
- return _clientIam.IAM;
10
- }
11
- });
12
- var _clientIam = require("@aws-sdk/client-iam");
13
-
14
- //# sourceMappingURL=index.js.map
1
+ export { IAM } from "@aws-sdk/client-iam";