@aws-sdk/client-lambda 3.37.0 → 3.41.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/commands/index.js +61 -0
  3. package/dist-cjs/endpoints.js +145 -23
  4. package/dist-cjs/index.js +5 -74
  5. package/dist-cjs/pagination/index.js +14 -0
  6. package/dist-cjs/runtimeConfig.browser.js +6 -3
  7. package/dist-cjs/runtimeConfig.js +5 -3
  8. package/dist-cjs/waiters/index.js +6 -0
  9. package/dist-es/commands/index.js +58 -0
  10. package/dist-es/endpoints.js +145 -23
  11. package/dist-es/index.js +5 -74
  12. package/dist-es/pagination/index.js +11 -0
  13. package/dist-es/runtimeConfig.browser.js +3 -2
  14. package/dist-es/runtimeConfig.js +3 -3
  15. package/dist-es/waiters/index.js +3 -0
  16. package/dist-types/LambdaClient.d.ts +8 -0
  17. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +1 -1
  18. package/dist-types/commands/AddPermissionCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +1 -1
  32. package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -1
  33. package/dist-types/commands/GetAliasCommand.d.ts +1 -1
  34. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -1
  35. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -1
  36. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -1
  37. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  38. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -1
  39. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
  40. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -1
  41. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
  42. package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
  43. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -1
  44. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  45. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +1 -1
  46. package/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
  47. package/dist-types/commands/InvokeCommand.d.ts +1 -1
  48. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  49. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -1
  50. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -1
  51. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
  52. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -1
  53. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
  54. package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -1
  55. package/dist-types/commands/ListLayersCommand.d.ts +1 -1
  56. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
  59. package/dist-types/commands/PublishLayerVersionCommand.d.ts +1 -1
  60. package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
  61. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -1
  62. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
  63. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -1
  64. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
  65. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +1 -1
  66. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  67. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  68. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +1 -1
  75. package/dist-types/commands/index.d.ts +58 -0
  76. package/dist-types/index.d.ts +5 -74
  77. package/dist-types/pagination/index.d.ts +11 -0
  78. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  79. package/dist-types/runtimeConfig.d.ts +2 -0
  80. package/dist-types/runtimeConfig.native.d.ts +2 -0
  81. package/dist-types/ts3.4/LambdaClient.d.ts +4 -0
  82. package/dist-types/ts3.4/commands/index.d.ts +58 -0
  83. package/dist-types/ts3.4/index.d.ts +5 -74
  84. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  88. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  89. package/dist-types/waiters/index.d.ts +3 -0
  90. package/package.json +27 -27
@@ -1,75 +1,6 @@
1
- export * from "./LambdaClient";
2
1
  export * from "./Lambda";
3
- export * from "./commands/AddLayerVersionPermissionCommand";
4
- export * from "./commands/AddPermissionCommand";
5
- export * from "./commands/CreateAliasCommand";
6
- export * from "./commands/CreateCodeSigningConfigCommand";
7
- export * from "./commands/CreateEventSourceMappingCommand";
8
- export * from "./commands/CreateFunctionCommand";
9
- export * from "./commands/DeleteAliasCommand";
10
- export * from "./commands/DeleteCodeSigningConfigCommand";
11
- export * from "./commands/DeleteEventSourceMappingCommand";
12
- export * from "./commands/DeleteFunctionCommand";
13
- export * from "./commands/DeleteFunctionCodeSigningConfigCommand";
14
- export * from "./commands/DeleteFunctionConcurrencyCommand";
15
- export * from "./commands/DeleteFunctionEventInvokeConfigCommand";
16
- export * from "./commands/DeleteLayerVersionCommand";
17
- export * from "./commands/DeleteProvisionedConcurrencyConfigCommand";
18
- export * from "./commands/GetAccountSettingsCommand";
19
- export * from "./commands/GetAliasCommand";
20
- export * from "./commands/GetCodeSigningConfigCommand";
21
- export * from "./commands/GetEventSourceMappingCommand";
22
- export * from "./commands/GetFunctionCommand";
23
- export * from "./waiters/waitForFunctionExists";
24
- export * from "./commands/GetFunctionCodeSigningConfigCommand";
25
- export * from "./commands/GetFunctionConcurrencyCommand";
26
- export * from "./commands/GetFunctionConfigurationCommand";
27
- export * from "./waiters/waitForFunctionActive";
28
- export * from "./waiters/waitForFunctionUpdated";
29
- export * from "./commands/GetFunctionEventInvokeConfigCommand";
30
- export * from "./commands/GetLayerVersionCommand";
31
- export * from "./commands/GetLayerVersionByArnCommand";
32
- export * from "./commands/GetLayerVersionPolicyCommand";
33
- export * from "./commands/GetPolicyCommand";
34
- export * from "./commands/GetProvisionedConcurrencyConfigCommand";
35
- export * from "./commands/InvokeCommand";
36
- export * from "./commands/InvokeAsyncCommand";
37
- export * from "./commands/ListAliasesCommand";
38
- export * from "./pagination/ListAliasesPaginator";
39
- export * from "./commands/ListCodeSigningConfigsCommand";
40
- export * from "./pagination/ListCodeSigningConfigsPaginator";
41
- export * from "./commands/ListEventSourceMappingsCommand";
42
- export * from "./pagination/ListEventSourceMappingsPaginator";
43
- export * from "./commands/ListFunctionEventInvokeConfigsCommand";
44
- export * from "./pagination/ListFunctionEventInvokeConfigsPaginator";
45
- export * from "./commands/ListFunctionsCommand";
46
- export * from "./pagination/ListFunctionsPaginator";
47
- export * from "./commands/ListFunctionsByCodeSigningConfigCommand";
48
- export * from "./pagination/ListFunctionsByCodeSigningConfigPaginator";
49
- export * from "./commands/ListLayersCommand";
50
- export * from "./pagination/ListLayersPaginator";
51
- export * from "./commands/ListLayerVersionsCommand";
52
- export * from "./pagination/ListLayerVersionsPaginator";
53
- export * from "./commands/ListProvisionedConcurrencyConfigsCommand";
54
- export * from "./pagination/ListProvisionedConcurrencyConfigsPaginator";
55
- export * from "./commands/ListTagsCommand";
56
- export * from "./commands/ListVersionsByFunctionCommand";
57
- export * from "./pagination/ListVersionsByFunctionPaginator";
58
- export * from "./commands/PublishLayerVersionCommand";
59
- export * from "./commands/PublishVersionCommand";
60
- export * from "./commands/PutFunctionCodeSigningConfigCommand";
61
- export * from "./commands/PutFunctionConcurrencyCommand";
62
- export * from "./commands/PutFunctionEventInvokeConfigCommand";
63
- export * from "./commands/PutProvisionedConcurrencyConfigCommand";
64
- export * from "./commands/RemoveLayerVersionPermissionCommand";
65
- export * from "./commands/RemovePermissionCommand";
66
- export * from "./commands/TagResourceCommand";
67
- export * from "./commands/UntagResourceCommand";
68
- export * from "./commands/UpdateAliasCommand";
69
- export * from "./commands/UpdateCodeSigningConfigCommand";
70
- export * from "./commands/UpdateEventSourceMappingCommand";
71
- export * from "./commands/UpdateFunctionCodeCommand";
72
- export * from "./commands/UpdateFunctionConfigurationCommand";
73
- export * from "./commands/UpdateFunctionEventInvokeConfigCommand";
74
- export * from "./pagination/Interfaces";
75
- export * from "./models/index";
2
+ export * from "./LambdaClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -0,0 +1,11 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAliasesPaginator";
3
+ export * from "./ListCodeSigningConfigsPaginator";
4
+ export * from "./ListEventSourceMappingsPaginator";
5
+ export * from "./ListFunctionEventInvokeConfigsPaginator";
6
+ export * from "./ListFunctionsByCodeSigningConfigPaginator";
7
+ export * from "./ListFunctionsPaginator";
8
+ export * from "./ListLayerVersionsPaginator";
9
+ export * from "./ListLayersPaginator";
10
+ export * from "./ListProvisionedConcurrencyConfigsPaginator";
11
+ export * from "./ListVersionsByFunctionPaginator";
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
14
14
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
15
  sha256: import("@aws-sdk/types").HashConstructor;
16
16
  streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
18
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
19
21
  apiVersion: string;
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
14
14
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
15
  sha256: import("@aws-sdk/types").HashConstructor;
16
16
  streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
18
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
19
21
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
16
16
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
18
18
  logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  serviceId: string;
20
22
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
21
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
@@ -0,0 +1,3 @@
1
+ export * from "./waitForFunctionActive";
2
+ export * from "./waitForFunctionExists";
3
+ export * from "./waitForFunctionUpdated";
@@ -0,0 +1,3 @@
1
+ export * from "./waitForFunctionActive";
2
+ export * from "./waitForFunctionExists";
3
+ export * from "./waitForFunctionUpdated";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
3
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
4
- "version": "3.37.0",
4
+ "version": "3.41.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -19,41 +19,41 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "^1.0.0",
23
- "@aws-crypto/sha256-js": "^1.0.0",
24
- "@aws-sdk/client-sts": "3.37.0",
25
- "@aws-sdk/config-resolver": "3.37.0",
26
- "@aws-sdk/credential-provider-node": "3.37.0",
27
- "@aws-sdk/fetch-http-handler": "3.37.0",
28
- "@aws-sdk/hash-node": "3.37.0",
29
- "@aws-sdk/invalid-dependency": "3.37.0",
30
- "@aws-sdk/middleware-content-length": "3.37.0",
31
- "@aws-sdk/middleware-host-header": "3.37.0",
32
- "@aws-sdk/middleware-logger": "3.37.0",
33
- "@aws-sdk/middleware-retry": "3.37.0",
34
- "@aws-sdk/middleware-serde": "3.37.0",
35
- "@aws-sdk/middleware-signing": "3.37.0",
36
- "@aws-sdk/middleware-stack": "3.37.0",
37
- "@aws-sdk/middleware-user-agent": "3.37.0",
38
- "@aws-sdk/node-config-provider": "3.37.0",
39
- "@aws-sdk/node-http-handler": "3.37.0",
40
- "@aws-sdk/protocol-http": "3.37.0",
41
- "@aws-sdk/smithy-client": "3.37.0",
42
- "@aws-sdk/types": "3.37.0",
43
- "@aws-sdk/url-parser": "3.37.0",
22
+ "@aws-crypto/sha256-browser": "2.0.0",
23
+ "@aws-crypto/sha256-js": "2.0.0",
24
+ "@aws-sdk/client-sts": "3.41.0",
25
+ "@aws-sdk/config-resolver": "3.40.0",
26
+ "@aws-sdk/credential-provider-node": "3.41.0",
27
+ "@aws-sdk/fetch-http-handler": "3.40.0",
28
+ "@aws-sdk/hash-node": "3.40.0",
29
+ "@aws-sdk/invalid-dependency": "3.40.0",
30
+ "@aws-sdk/middleware-content-length": "3.40.0",
31
+ "@aws-sdk/middleware-host-header": "3.40.0",
32
+ "@aws-sdk/middleware-logger": "3.40.0",
33
+ "@aws-sdk/middleware-retry": "3.40.0",
34
+ "@aws-sdk/middleware-serde": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.40.0",
36
+ "@aws-sdk/middleware-stack": "3.40.0",
37
+ "@aws-sdk/middleware-user-agent": "3.40.0",
38
+ "@aws-sdk/node-config-provider": "3.40.0",
39
+ "@aws-sdk/node-http-handler": "3.40.0",
40
+ "@aws-sdk/protocol-http": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
+ "@aws-sdk/types": "3.40.0",
43
+ "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",
45
45
  "@aws-sdk/util-base64-node": "3.37.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.37.0",
47
47
  "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.37.0",
49
- "@aws-sdk/util-user-agent-node": "3.37.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.40.0",
49
+ "@aws-sdk/util-user-agent-node": "3.40.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.37.0",
51
51
  "@aws-sdk/util-utf8-node": "3.37.0",
52
- "@aws-sdk/util-waiter": "3.37.0",
52
+ "@aws-sdk/util-waiter": "3.40.0",
53
53
  "tslib": "^2.3.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@aws-sdk/client-documentation-generator": "3.37.0",
56
+ "@aws-sdk/service-client-documentation-generator": "3.38.0",
57
57
  "@types/node": "^12.7.5",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "jest": "^26.1.0",