@aws-sdk/client-lambda 3.654.0 → 3.656.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-cjs/index.js +31 -24
- package/dist-es/models/models_0.js +14 -14
- package/dist-es/protocols/Aws_restJson1.js +10 -3
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +21 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +46 -1
- package/dist-types/commands/CreateAliasCommand.d.ts +23 -0
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +3 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +28 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +64 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +12 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +23 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +12 -0
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +11 -0
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +12 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +12 -0
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +12 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +5 -1
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +24 -0
- package/dist-types/commands/GetAliasCommand.d.ts +21 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +28 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +50 -0
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +16 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +41 -0
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +26 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +28 -0
- package/dist-types/commands/GetLayerVersionCommand.d.ts +31 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +18 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +42 -0
- package/dist-types/commands/GetPublicAccessBlockConfigCommand.d.ts +5 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +5 -1
- package/dist-types/commands/InvokeAsyncCommand.d.ts +17 -0
- package/dist-types/commands/InvokeCommand.d.ts +39 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +36 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +27 -0
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +29 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +57 -0
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +35 -0
- package/dist-types/commands/ListLayersCommand.d.ts +31 -0
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +33 -0
- package/dist-types/commands/ListTagsCommand.d.ts +21 -2
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +67 -0
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +40 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +42 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +17 -0
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +25 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +21 -0
- package/dist-types/commands/PutPublicAccessBlockConfigCommand.d.ts +5 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +5 -1
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +13 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +18 -0
- package/dist-types/commands/TagResourceCommand.d.ts +15 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +15 -1
- package/dist-types/commands/UpdateAliasCommand.d.ts +32 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +27 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +33 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +32 -0
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +30 -0
- package/dist-types/models/models_0.d.ts +42 -27
- package/dist-types/ts3.4/models/models_0.d.ts +12 -9
- package/package.json +1 -1
|
@@ -101,6 +101,38 @@ declare const UpdateAliasCommand_base: {
|
|
|
101
101
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
102
102
|
*
|
|
103
103
|
* @public
|
|
104
|
+
* @example To update a function alias
|
|
105
|
+
* ```javascript
|
|
106
|
+
* // The following example updates the alias named BLUE to send 30% of traffic to version 2 and 70% to version 1.
|
|
107
|
+
* const input = {
|
|
108
|
+
* "FunctionName": "my-function",
|
|
109
|
+
* "FunctionVersion": "2",
|
|
110
|
+
* "Name": "BLUE",
|
|
111
|
+
* "RoutingConfig": {
|
|
112
|
+
* "AdditionalVersionWeights": {
|
|
113
|
+
* "1": 0.7
|
|
114
|
+
* }
|
|
115
|
+
* }
|
|
116
|
+
* };
|
|
117
|
+
* const command = new UpdateAliasCommand(input);
|
|
118
|
+
* const response = await client.send(command);
|
|
119
|
+
* /* response ==
|
|
120
|
+
* {
|
|
121
|
+
* "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
|
|
122
|
+
* "Description": "Production environment BLUE.",
|
|
123
|
+
* "FunctionVersion": "2",
|
|
124
|
+
* "Name": "BLUE",
|
|
125
|
+
* "RevisionId": "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93",
|
|
126
|
+
* "RoutingConfig": {
|
|
127
|
+
* "AdditionalVersionWeights": {
|
|
128
|
+
* "1": 0.7
|
|
129
|
+
* }
|
|
130
|
+
* }
|
|
131
|
+
* }
|
|
132
|
+
* *\/
|
|
133
|
+
* // example id: to-update-a-function-alias-1481650817950
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
104
136
|
*/
|
|
105
137
|
export declare class UpdateAliasCommand extends UpdateAliasCommand_base {
|
|
106
138
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -268,6 +268,7 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
268
268
|
* // ErrorCode: "STRING_VALUE",
|
|
269
269
|
* // Message: "STRING_VALUE",
|
|
270
270
|
* // },
|
|
271
|
+
* // EventSourceMappingArn: "STRING_VALUE",
|
|
271
272
|
* // };
|
|
272
273
|
*
|
|
273
274
|
* ```
|
|
@@ -301,6 +302,32 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
301
302
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
302
303
|
*
|
|
303
304
|
* @public
|
|
305
|
+
* @example To update a Lambda function event source mapping
|
|
306
|
+
* ```javascript
|
|
307
|
+
* // This operation updates a Lambda function event source mapping
|
|
308
|
+
* const input = {
|
|
309
|
+
* "BatchSize": 123,
|
|
310
|
+
* "Enabled": true,
|
|
311
|
+
* "FunctionName": "myFunction",
|
|
312
|
+
* "UUID": "1234xCy789012"
|
|
313
|
+
* };
|
|
314
|
+
* const command = new UpdateEventSourceMappingCommand(input);
|
|
315
|
+
* const response = await client.send(command);
|
|
316
|
+
* /* response ==
|
|
317
|
+
* {
|
|
318
|
+
* "BatchSize": 123,
|
|
319
|
+
* "EventSourceArn": "arn:aws:s3:::examplebucket/*",
|
|
320
|
+
* "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction",
|
|
321
|
+
* "LastModified": "2016-11-21T19:49:20.006+0000",
|
|
322
|
+
* "LastProcessingResult": "",
|
|
323
|
+
* "State": "",
|
|
324
|
+
* "StateTransitionReason": "",
|
|
325
|
+
* "UUID": "1234xCy789012"
|
|
326
|
+
* }
|
|
327
|
+
* *\/
|
|
328
|
+
* // example id: to-update-a-lambda-function-event-source-mapping-1481650907413
|
|
329
|
+
* ```
|
|
330
|
+
*
|
|
304
331
|
*/
|
|
305
332
|
export declare class UpdateEventSourceMappingCommand extends UpdateEventSourceMappingCommand_base {
|
|
306
333
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -223,6 +223,39 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
223
223
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
224
224
|
*
|
|
225
225
|
* @public
|
|
226
|
+
* @example To update a Lambda function's code
|
|
227
|
+
* ```javascript
|
|
228
|
+
* // 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.
|
|
229
|
+
* const input = {
|
|
230
|
+
* "FunctionName": "my-function",
|
|
231
|
+
* "S3Bucket": "my-bucket-1xpuxmplzrlbh",
|
|
232
|
+
* "S3Key": "function.zip"
|
|
233
|
+
* };
|
|
234
|
+
* const command = new UpdateFunctionCodeCommand(input);
|
|
235
|
+
* const response = await client.send(command);
|
|
236
|
+
* /* response ==
|
|
237
|
+
* {
|
|
238
|
+
* "CodeSha256": "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
|
|
239
|
+
* "CodeSize": 308,
|
|
240
|
+
* "Description": "",
|
|
241
|
+
* "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
|
242
|
+
* "FunctionName": "my-function",
|
|
243
|
+
* "Handler": "index.handler",
|
|
244
|
+
* "LastModified": "2019-08-14T22:26:11.234+0000",
|
|
245
|
+
* "MemorySize": 128,
|
|
246
|
+
* "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6",
|
|
247
|
+
* "Role": "arn:aws:iam::123456789012:role/lambda-role",
|
|
248
|
+
* "Runtime": "nodejs12.x",
|
|
249
|
+
* "Timeout": 3,
|
|
250
|
+
* "TracingConfig": {
|
|
251
|
+
* "Mode": "PassThrough"
|
|
252
|
+
* },
|
|
253
|
+
* "Version": "$LATEST"
|
|
254
|
+
* }
|
|
255
|
+
* *\/
|
|
256
|
+
* // example id: to-update-a-lambda-functions-code-1481650992672
|
|
257
|
+
* ```
|
|
258
|
+
*
|
|
226
259
|
*/
|
|
227
260
|
export declare class UpdateFunctionCodeCommand extends UpdateFunctionCodeCommand_base {
|
|
228
261
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -263,6 +263,38 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
263
263
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
264
264
|
*
|
|
265
265
|
* @public
|
|
266
|
+
* @example To update a Lambda function's configuration
|
|
267
|
+
* ```javascript
|
|
268
|
+
* // The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named my-function.
|
|
269
|
+
* const input = {
|
|
270
|
+
* "FunctionName": "my-function",
|
|
271
|
+
* "MemorySize": 256
|
|
272
|
+
* };
|
|
273
|
+
* const command = new UpdateFunctionConfigurationCommand(input);
|
|
274
|
+
* const response = await client.send(command);
|
|
275
|
+
* /* response ==
|
|
276
|
+
* {
|
|
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
|
+
* },
|
|
292
|
+
* "Version": "$LATEST"
|
|
293
|
+
* }
|
|
294
|
+
* *\/
|
|
295
|
+
* // example id: to-update-a-lambda-functions-configuration-1481651096447
|
|
296
|
+
* ```
|
|
297
|
+
*
|
|
266
298
|
*/
|
|
267
299
|
export declare class UpdateFunctionConfigurationCommand extends UpdateFunctionConfigurationCommand_base {
|
|
268
300
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -93,6 +93,36 @@ declare const UpdateFunctionEventInvokeConfigCommand_base: {
|
|
|
93
93
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
94
94
|
*
|
|
95
95
|
* @public
|
|
96
|
+
* @example To update an asynchronous invocation configuration
|
|
97
|
+
* ```javascript
|
|
98
|
+
* // The following example adds an on-failure destination to the existing asynchronous invocation configuration for a function named my-function.
|
|
99
|
+
* const input = {
|
|
100
|
+
* "DestinationConfig": {
|
|
101
|
+
* "OnFailure": {
|
|
102
|
+
* "Destination": "arn:aws:sqs:us-east-2:123456789012:destination"
|
|
103
|
+
* }
|
|
104
|
+
* },
|
|
105
|
+
* "FunctionName": "my-function"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new UpdateFunctionEventInvokeConfigCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response ==
|
|
110
|
+
* {
|
|
111
|
+
* "DestinationConfig": {
|
|
112
|
+
* "OnFailure": {
|
|
113
|
+
* "Destination": "arn:aws:sqs:us-east-2:123456789012:destination"
|
|
114
|
+
* },
|
|
115
|
+
* "OnSuccess": {}
|
|
116
|
+
* },
|
|
117
|
+
* "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
|
|
118
|
+
* "LastModified": 1573687896.493,
|
|
119
|
+
* "MaximumEventAgeInSeconds": 3600,
|
|
120
|
+
* "MaximumRetryAttempts": 0
|
|
121
|
+
* }
|
|
122
|
+
* *\/
|
|
123
|
+
* // example id: to-update-an-asynchronous-invocation-configuration-1586492061186
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
96
126
|
*/
|
|
97
127
|
export declare class UpdateFunctionEventInvokeConfigCommand extends UpdateFunctionEventInvokeConfigCommand_base {
|
|
98
128
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -299,7 +299,7 @@ export interface AddPermissionRequest {
|
|
|
299
299
|
*/
|
|
300
300
|
Action: string | undefined;
|
|
301
301
|
/**
|
|
302
|
-
* <p>The Amazon Web Servicesservice
|
|
302
|
+
* <p>The Amazon Web Servicesservice, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a
|
|
303
303
|
* service, use <code>SourceArn</code> or <code>SourceAccount</code> to limit who can invoke the function through
|
|
304
304
|
* that service.</p>
|
|
305
305
|
* @public
|
|
@@ -359,6 +359,26 @@ export interface AddPermissionResponse {
|
|
|
359
359
|
*/
|
|
360
360
|
Statement?: string;
|
|
361
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
* <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
|
|
364
|
+
* create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
|
|
365
|
+
* to allow public policies.</p>
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
export declare class PublicPolicyException extends __BaseException {
|
|
369
|
+
readonly name: "PublicPolicyException";
|
|
370
|
+
readonly $fault: "client";
|
|
371
|
+
/**
|
|
372
|
+
* <p>The exception type.</p>
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
Type?: string;
|
|
376
|
+
Message?: string;
|
|
377
|
+
/**
|
|
378
|
+
* @internal
|
|
379
|
+
*/
|
|
380
|
+
constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
|
|
381
|
+
}
|
|
362
382
|
/**
|
|
363
383
|
* <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html">traffic-shifting</a> configuration of a Lambda function alias.</p>
|
|
364
384
|
* @public
|
|
@@ -557,6 +577,11 @@ export interface CreateCodeSigningConfigRequest {
|
|
|
557
577
|
* @public
|
|
558
578
|
*/
|
|
559
579
|
CodeSigningPolicies?: CodeSigningPolicies;
|
|
580
|
+
/**
|
|
581
|
+
* <p>A list of tags to add to the code signing configuration.</p>
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
584
|
+
Tags?: Record<string, string>;
|
|
560
585
|
}
|
|
561
586
|
/**
|
|
562
587
|
* <p>Details about a <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">Code signing configuration</a>. </p>
|
|
@@ -1029,6 +1054,11 @@ export interface CreateEventSourceMappingRequest {
|
|
|
1029
1054
|
* @public
|
|
1030
1055
|
*/
|
|
1031
1056
|
MaximumRetryAttempts?: number;
|
|
1057
|
+
/**
|
|
1058
|
+
* <p>A list of tags to apply to the event source mapping.</p>
|
|
1059
|
+
* @public
|
|
1060
|
+
*/
|
|
1061
|
+
Tags?: Record<string, string>;
|
|
1032
1062
|
/**
|
|
1033
1063
|
* <p>(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.</p>
|
|
1034
1064
|
* @public
|
|
@@ -1280,6 +1310,11 @@ export interface EventSourceMappingConfiguration {
|
|
|
1280
1310
|
* @public
|
|
1281
1311
|
*/
|
|
1282
1312
|
FilterCriteriaError?: FilterCriteriaError;
|
|
1313
|
+
/**
|
|
1314
|
+
* <p>The Amazon Resource Name (ARN) of the event source mapping.</p>
|
|
1315
|
+
* @public
|
|
1316
|
+
*/
|
|
1317
|
+
EventSourceMappingArn?: string;
|
|
1283
1318
|
}
|
|
1284
1319
|
/**
|
|
1285
1320
|
* <p>The specified code signing configuration does not exist.</p>
|
|
@@ -5155,8 +5190,8 @@ export interface ListProvisionedConcurrencyConfigsResponse {
|
|
|
5155
5190
|
*/
|
|
5156
5191
|
export interface ListTagsRequest {
|
|
5157
5192
|
/**
|
|
5158
|
-
* <p>The
|
|
5159
|
-
* Note: Lambda does not support adding tags to aliases or versions.</p>
|
|
5193
|
+
* <p>The resource's Amazon Resource Name (ARN).
|
|
5194
|
+
* Note: Lambda does not support adding tags to function aliases or versions.</p>
|
|
5160
5195
|
* @public
|
|
5161
5196
|
*/
|
|
5162
5197
|
Resource: string | undefined;
|
|
@@ -5746,26 +5781,6 @@ export interface PutPublicAccessBlockConfigResponse {
|
|
|
5746
5781
|
*/
|
|
5747
5782
|
PublicAccessBlockConfig?: PublicAccessBlockConfig;
|
|
5748
5783
|
}
|
|
5749
|
-
/**
|
|
5750
|
-
* <p>Lambda prevented your policy from being created because it would grant public access to your function. If you intended to
|
|
5751
|
-
* create a public policy, use the <a>PutPublicAccessBlockConfig</a> API action to configure your function's public-access settings
|
|
5752
|
-
* to allow public policies.</p>
|
|
5753
|
-
* @public
|
|
5754
|
-
*/
|
|
5755
|
-
export declare class PublicPolicyException extends __BaseException {
|
|
5756
|
-
readonly name: "PublicPolicyException";
|
|
5757
|
-
readonly $fault: "client";
|
|
5758
|
-
/**
|
|
5759
|
-
* <p>The exception type.</p>
|
|
5760
|
-
* @public
|
|
5761
|
-
*/
|
|
5762
|
-
Type?: string;
|
|
5763
|
-
Message?: string;
|
|
5764
|
-
/**
|
|
5765
|
-
* @internal
|
|
5766
|
-
*/
|
|
5767
|
-
constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
|
|
5768
|
-
}
|
|
5769
5784
|
/**
|
|
5770
5785
|
* @public
|
|
5771
5786
|
*/
|
|
@@ -5970,12 +5985,12 @@ export interface RemovePermissionRequest {
|
|
|
5970
5985
|
*/
|
|
5971
5986
|
export interface TagResourceRequest {
|
|
5972
5987
|
/**
|
|
5973
|
-
* <p>The
|
|
5988
|
+
* <p>The resource's Amazon Resource Name (ARN).</p>
|
|
5974
5989
|
* @public
|
|
5975
5990
|
*/
|
|
5976
5991
|
Resource: string | undefined;
|
|
5977
5992
|
/**
|
|
5978
|
-
* <p>A list of tags to apply to the
|
|
5993
|
+
* <p>A list of tags to apply to the resource.</p>
|
|
5979
5994
|
* @public
|
|
5980
5995
|
*/
|
|
5981
5996
|
Tags: Record<string, string> | undefined;
|
|
@@ -5985,12 +6000,12 @@ export interface TagResourceRequest {
|
|
|
5985
6000
|
*/
|
|
5986
6001
|
export interface UntagResourceRequest {
|
|
5987
6002
|
/**
|
|
5988
|
-
* <p>The
|
|
6003
|
+
* <p>The resource's Amazon Resource Name (ARN).</p>
|
|
5989
6004
|
* @public
|
|
5990
6005
|
*/
|
|
5991
6006
|
Resource: string | undefined;
|
|
5992
6007
|
/**
|
|
5993
|
-
* <p>A list of tag keys to remove from the
|
|
6008
|
+
* <p>A list of tag keys to remove from the resource.</p>
|
|
5994
6009
|
* @public
|
|
5995
6010
|
*/
|
|
5996
6011
|
TagKeys: string[] | undefined;
|
|
@@ -115,6 +115,15 @@ export interface AddPermissionRequest {
|
|
|
115
115
|
export interface AddPermissionResponse {
|
|
116
116
|
Statement?: string;
|
|
117
117
|
}
|
|
118
|
+
export declare class PublicPolicyException extends __BaseException {
|
|
119
|
+
readonly name: "PublicPolicyException";
|
|
120
|
+
readonly $fault: "client";
|
|
121
|
+
Type?: string;
|
|
122
|
+
Message?: string;
|
|
123
|
+
constructor(
|
|
124
|
+
opts: __ExceptionOptionType<PublicPolicyException, __BaseException>
|
|
125
|
+
);
|
|
126
|
+
}
|
|
118
127
|
export interface AliasRoutingConfiguration {
|
|
119
128
|
AdditionalVersionWeights?: Record<string, number>;
|
|
120
129
|
}
|
|
@@ -167,6 +176,7 @@ export interface CreateCodeSigningConfigRequest {
|
|
|
167
176
|
Description?: string;
|
|
168
177
|
AllowedPublishers: AllowedPublishers | undefined;
|
|
169
178
|
CodeSigningPolicies?: CodeSigningPolicies;
|
|
179
|
+
Tags?: Record<string, string>;
|
|
170
180
|
}
|
|
171
181
|
export interface CodeSigningConfig {
|
|
172
182
|
CodeSigningConfigId: string | undefined;
|
|
@@ -260,6 +270,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
260
270
|
MaximumRecordAgeInSeconds?: number;
|
|
261
271
|
BisectBatchOnFunctionError?: boolean;
|
|
262
272
|
MaximumRetryAttempts?: number;
|
|
273
|
+
Tags?: Record<string, string>;
|
|
263
274
|
TumblingWindowInSeconds?: number;
|
|
264
275
|
Topics?: string[];
|
|
265
276
|
Queues?: string[];
|
|
@@ -306,6 +317,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
306
317
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
|
|
307
318
|
KMSKeyArn?: string;
|
|
308
319
|
FilterCriteriaError?: FilterCriteriaError;
|
|
320
|
+
EventSourceMappingArn?: string;
|
|
309
321
|
}
|
|
310
322
|
export declare class CodeSigningConfigNotFoundException extends __BaseException {
|
|
311
323
|
readonly name: "CodeSigningConfigNotFoundException";
|
|
@@ -1450,15 +1462,6 @@ export interface PutPublicAccessBlockConfigRequest {
|
|
|
1450
1462
|
export interface PutPublicAccessBlockConfigResponse {
|
|
1451
1463
|
PublicAccessBlockConfig?: PublicAccessBlockConfig;
|
|
1452
1464
|
}
|
|
1453
|
-
export declare class PublicPolicyException extends __BaseException {
|
|
1454
|
-
readonly name: "PublicPolicyException";
|
|
1455
|
-
readonly $fault: "client";
|
|
1456
|
-
Type?: string;
|
|
1457
|
-
Message?: string;
|
|
1458
|
-
constructor(
|
|
1459
|
-
opts: __ExceptionOptionType<PublicPolicyException, __BaseException>
|
|
1460
|
-
);
|
|
1461
|
-
}
|
|
1462
1465
|
export interface PutResourcePolicyRequest {
|
|
1463
1466
|
ResourceArn: string | undefined;
|
|
1464
1467
|
Policy: string | undefined;
|
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.656.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",
|