@aws-sdk/client-lambda 3.775.0 → 3.782.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/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +10 -10
- package/dist-types/commands/AddPermissionCommand.d.ts +16 -17
- package/dist-types/commands/CreateAliasCommand.d.ts +12 -12
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +13 -13
- package/dist-types/commands/CreateFunctionCommand.d.ts +45 -45
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +8 -5
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -22
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +8 -5
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +7 -4
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +8 -5
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +8 -5
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +8 -5
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +13 -13
- package/dist-types/commands/GetAliasCommand.d.ts +10 -10
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -27
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +33 -33
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +5 -5
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +27 -27
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -26
- package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +14 -14
- package/dist-types/commands/GetLayerVersionCommand.d.ts +16 -16
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +7 -7
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +18 -19
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +6 -6
- package/dist-types/commands/InvokeCommand.d.ts +15 -16
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +18 -18
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +12 -12
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +13 -13
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +1 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +40 -40
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +15 -15
- package/dist-types/commands/ListLayersCommand.d.ts +13 -13
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +17 -17
- package/dist-types/commands/ListTagsCommand.d.ts +7 -7
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +45 -45
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +21 -21
- package/dist-types/commands/PublishVersionCommand.d.ts +28 -28
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +6 -6
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -25
- package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +10 -10
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +9 -6
- package/dist-types/commands/RemovePermissionCommand.d.ts +9 -6
- package/dist-types/commands/TagResourceCommand.d.ts +9 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAliasCommand.d.ts +17 -17
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +1 -26
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +21 -21
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +20 -20
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +15 -15
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -0
- package/package.json +5 -5
|
@@ -223,40 +223,40 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
223
223
|
* @throws {@link LambdaServiceException}
|
|
224
224
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
225
225
|
*
|
|
226
|
-
*
|
|
226
|
+
*
|
|
227
227
|
* @example To update a Lambda function's code
|
|
228
228
|
* ```javascript
|
|
229
229
|
* // The following example replaces the code of the unpublished ($LATEST) version of a function named my-function with the contents of the specified zip file in Amazon S3.
|
|
230
230
|
* const input = {
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
231
|
+
* FunctionName: "my-function",
|
|
232
|
+
* S3Bucket: "my-bucket-1xpuxmplzrlbh",
|
|
233
|
+
* S3Key: "function.zip"
|
|
234
234
|
* };
|
|
235
235
|
* const command = new UpdateFunctionCodeCommand(input);
|
|
236
236
|
* const response = await client.send(command);
|
|
237
|
-
* /* response
|
|
237
|
+
* /* response is
|
|
238
238
|
* {
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
239
|
+
* CodeSha256: "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
|
|
240
|
+
* CodeSize: 308,
|
|
241
|
+
* Description: "",
|
|
242
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
|
243
|
+
* FunctionName: "my-function",
|
|
244
|
+
* Handler: "index.handler",
|
|
245
|
+
* LastModified: "2019-08-14T22:26:11.234+0000",
|
|
246
|
+
* MemorySize: 128,
|
|
247
|
+
* RevisionId: "873282ed-xmpl-4dc8-a069-d0c647e470c6",
|
|
248
|
+
* Role: "arn:aws:iam::123456789012:role/lambda-role",
|
|
249
|
+
* Runtime: "nodejs12.x",
|
|
250
|
+
* Timeout: 3,
|
|
251
|
+
* TracingConfig: {
|
|
252
|
+
* Mode: "PassThrough"
|
|
253
253
|
* },
|
|
254
|
-
*
|
|
254
|
+
* Version: "$LATEST"
|
|
255
255
|
* }
|
|
256
256
|
* *\/
|
|
257
|
-
* // example id: to-update-a-lambda-functions-code-1481650992672
|
|
258
257
|
* ```
|
|
259
258
|
*
|
|
259
|
+
* @public
|
|
260
260
|
*/
|
|
261
261
|
export declare class UpdateFunctionCodeCommand extends UpdateFunctionCodeCommand_base {
|
|
262
262
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -262,39 +262,39 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
262
262
|
* @throws {@link LambdaServiceException}
|
|
263
263
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
264
264
|
*
|
|
265
|
-
*
|
|
265
|
+
*
|
|
266
266
|
* @example To update a Lambda function's configuration
|
|
267
267
|
* ```javascript
|
|
268
268
|
* // The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named my-function.
|
|
269
269
|
* const input = {
|
|
270
|
-
*
|
|
271
|
-
*
|
|
270
|
+
* FunctionName: "my-function",
|
|
271
|
+
* MemorySize: 256
|
|
272
272
|
* };
|
|
273
273
|
* const command = new UpdateFunctionConfigurationCommand(input);
|
|
274
274
|
* const response = await client.send(command);
|
|
275
|
-
* /* response
|
|
275
|
+
* /* response is
|
|
276
276
|
* {
|
|
277
|
-
*
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
*
|
|
277
|
+
* CodeSha256: "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
|
|
278
|
+
* CodeSize: 308,
|
|
279
|
+
* Description: "",
|
|
280
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
|
281
|
+
* FunctionName: "my-function",
|
|
282
|
+
* Handler: "index.handler",
|
|
283
|
+
* LastModified: "2019-08-14T22:26:11.234+0000",
|
|
284
|
+
* MemorySize: 256,
|
|
285
|
+
* RevisionId: "873282ed-xmpl-4dc8-a069-d0c647e470c6",
|
|
286
|
+
* Role: "arn:aws:iam::123456789012:role/lambda-role",
|
|
287
|
+
* Runtime: "nodejs12.x",
|
|
288
|
+
* Timeout: 3,
|
|
289
|
+
* TracingConfig: {
|
|
290
|
+
* Mode: "PassThrough"
|
|
291
291
|
* },
|
|
292
|
-
*
|
|
292
|
+
* Version: "$LATEST"
|
|
293
293
|
* }
|
|
294
294
|
* *\/
|
|
295
|
-
* // example id: to-update-a-lambda-functions-configuration-1481651096447
|
|
296
295
|
* ```
|
|
297
296
|
*
|
|
297
|
+
* @public
|
|
298
298
|
*/
|
|
299
299
|
export declare class UpdateFunctionConfigurationCommand extends UpdateFunctionConfigurationCommand_base {
|
|
300
300
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -92,37 +92,37 @@ declare const UpdateFunctionEventInvokeConfigCommand_base: {
|
|
|
92
92
|
* @throws {@link LambdaServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
94
94
|
*
|
|
95
|
-
*
|
|
95
|
+
*
|
|
96
96
|
* @example To update an asynchronous invocation configuration
|
|
97
97
|
* ```javascript
|
|
98
98
|
* // The following example adds an on-failure destination to the existing asynchronous invocation configuration for a function named my-function.
|
|
99
99
|
* const input = {
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
100
|
+
* DestinationConfig: {
|
|
101
|
+
* OnFailure: {
|
|
102
|
+
* Destination: "arn:aws:sqs:us-east-2:123456789012:destination"
|
|
103
103
|
* }
|
|
104
104
|
* },
|
|
105
|
-
*
|
|
105
|
+
* FunctionName: "my-function"
|
|
106
106
|
* };
|
|
107
107
|
* const command = new UpdateFunctionEventInvokeConfigCommand(input);
|
|
108
108
|
* const response = await client.send(command);
|
|
109
|
-
* /* response
|
|
109
|
+
* /* response is
|
|
110
110
|
* {
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
111
|
+
* DestinationConfig: {
|
|
112
|
+
* OnFailure: {
|
|
113
|
+
* Destination: "arn:aws:sqs:us-east-2:123456789012:destination"
|
|
114
114
|
* },
|
|
115
|
-
*
|
|
115
|
+
* OnSuccess: { /* empty *\/ }
|
|
116
116
|
* },
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
117
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
|
|
118
|
+
* LastModified: 1.573687896493E9,
|
|
119
|
+
* MaximumEventAgeInSeconds: 3600,
|
|
120
|
+
* MaximumRetryAttempts: 0
|
|
121
121
|
* }
|
|
122
122
|
* *\/
|
|
123
|
-
* // example id: to-update-an-asynchronous-invocation-configuration-1586492061186
|
|
124
123
|
* ```
|
|
125
124
|
*
|
|
125
|
+
* @public
|
|
126
126
|
*/
|
|
127
127
|
export declare class UpdateFunctionEventInvokeConfigCommand extends UpdateFunctionEventInvokeConfigCommand_base {
|
|
128
128
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -109,6 +109,7 @@ declare const UpdateFunctionUrlConfigCommand_base: {
|
|
|
109
109
|
* @throws {@link LambdaServiceException}
|
|
110
110
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
111
111
|
*
|
|
112
|
+
*
|
|
112
113
|
* @public
|
|
113
114
|
*/
|
|
114
115
|
export declare class UpdateFunctionUrlConfigCommand extends UpdateFunctionUrlConfigCommand_base {
|
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.
|
|
4
|
+
"version": "3.782.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lambda",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.0.2",
|