@aws-sdk/client-lambda 3.696.0 → 3.698.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/README.md +1 -1
- package/dist-cjs/index.js +13 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +7 -0
- package/dist-types/Lambda.d.ts +1 -1
- package/dist-types/LambdaClient.d.ts +1 -1
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +19 -5
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +5 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +5 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +5 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListLayersCommand.d.ts +2 -2
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
- package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +4 -1
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +19 -5
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +2 -2
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +72 -6
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ response. </p>
|
|
|
24
24
|
line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
|
|
25
25
|
Amazon Web Services</a>. </p>
|
|
26
26
|
<p>For a list of Region-specific endpoints that Lambda supports,
|
|
27
|
-
see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html
|
|
27
|
+
see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda
|
|
28
28
|
endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
|
|
29
29
|
<p>When making the API calls, you will need to
|
|
30
30
|
authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
|
package/dist-cjs/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __export(src_exports, {
|
|
|
57
57
|
EnvironmentErrorFilterSensitiveLog: () => EnvironmentErrorFilterSensitiveLog,
|
|
58
58
|
EnvironmentFilterSensitiveLog: () => EnvironmentFilterSensitiveLog,
|
|
59
59
|
EnvironmentResponseFilterSensitiveLog: () => EnvironmentResponseFilterSensitiveLog,
|
|
60
|
+
EventSourceMappingMetric: () => EventSourceMappingMetric,
|
|
60
61
|
EventSourcePosition: () => EventSourcePosition,
|
|
61
62
|
FullDocument: () => FullDocument,
|
|
62
63
|
FunctionCodeFilterSensitiveLog: () => FunctionCodeFilterSensitiveLog,
|
|
@@ -544,6 +545,9 @@ var FullDocument = {
|
|
|
544
545
|
var FunctionResponseType = {
|
|
545
546
|
ReportBatchItemFailures: "ReportBatchItemFailures"
|
|
546
547
|
};
|
|
548
|
+
var EventSourceMappingMetric = {
|
|
549
|
+
EventCount: "EventCount"
|
|
550
|
+
};
|
|
547
551
|
var EndPointType = {
|
|
548
552
|
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS"
|
|
549
553
|
};
|
|
@@ -651,6 +655,7 @@ var Runtime = {
|
|
|
651
655
|
nodejs16x: "nodejs16.x",
|
|
652
656
|
nodejs18x: "nodejs18.x",
|
|
653
657
|
nodejs20x: "nodejs20.x",
|
|
658
|
+
nodejs22x: "nodejs22.x",
|
|
654
659
|
nodejs43: "nodejs4.3",
|
|
655
660
|
nodejs43edge: "nodejs4.3-edge",
|
|
656
661
|
nodejs610: "nodejs6.10",
|
|
@@ -1535,6 +1540,7 @@ var se_CreateEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1535
1540
|
MaximumBatchingWindowInSeconds: [],
|
|
1536
1541
|
MaximumRecordAgeInSeconds: [],
|
|
1537
1542
|
MaximumRetryAttempts: [],
|
|
1543
|
+
MetricsConfig: (_) => (0, import_smithy_client._json)(_),
|
|
1538
1544
|
ParallelizationFactor: [],
|
|
1539
1545
|
Queues: (_) => (0, import_smithy_client._json)(_),
|
|
1540
1546
|
ScalingConfig: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -2367,6 +2373,7 @@ var se_UpdateEventSourceMappingCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
2367
2373
|
MaximumBatchingWindowInSeconds: [],
|
|
2368
2374
|
MaximumRecordAgeInSeconds: [],
|
|
2369
2375
|
MaximumRetryAttempts: [],
|
|
2376
|
+
MetricsConfig: (_) => (0, import_smithy_client._json)(_),
|
|
2370
2377
|
ParallelizationFactor: [],
|
|
2371
2378
|
ScalingConfig: (_) => (0, import_smithy_client._json)(_),
|
|
2372
2379
|
SourceAccessConfigurations: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -2564,6 +2571,7 @@ var de_CreateEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2564
2571
|
MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,
|
|
2565
2572
|
MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,
|
|
2566
2573
|
MaximumRetryAttempts: import_smithy_client.expectInt32,
|
|
2574
|
+
MetricsConfig: import_smithy_client._json,
|
|
2567
2575
|
ParallelizationFactor: import_smithy_client.expectInt32,
|
|
2568
2576
|
Queues: import_smithy_client._json,
|
|
2569
2577
|
ScalingConfig: import_smithy_client._json,
|
|
@@ -2695,6 +2703,7 @@ var de_DeleteEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2695
2703
|
MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,
|
|
2696
2704
|
MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,
|
|
2697
2705
|
MaximumRetryAttempts: import_smithy_client.expectInt32,
|
|
2706
|
+
MetricsConfig: import_smithy_client._json,
|
|
2698
2707
|
ParallelizationFactor: import_smithy_client.expectInt32,
|
|
2699
2708
|
Queues: import_smithy_client._json,
|
|
2700
2709
|
ScalingConfig: import_smithy_client._json,
|
|
@@ -2856,6 +2865,7 @@ var de_GetEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2856
2865
|
MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,
|
|
2857
2866
|
MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,
|
|
2858
2867
|
MaximumRetryAttempts: import_smithy_client.expectInt32,
|
|
2868
|
+
MetricsConfig: import_smithy_client._json,
|
|
2859
2869
|
ParallelizationFactor: import_smithy_client.expectInt32,
|
|
2860
2870
|
Queues: import_smithy_client._json,
|
|
2861
2871
|
ScalingConfig: import_smithy_client._json,
|
|
@@ -3621,6 +3631,7 @@ var de_UpdateEventSourceMappingCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3621
3631
|
MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,
|
|
3622
3632
|
MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,
|
|
3623
3633
|
MaximumRetryAttempts: import_smithy_client.expectInt32,
|
|
3634
|
+
MetricsConfig: import_smithy_client._json,
|
|
3624
3635
|
ParallelizationFactor: import_smithy_client.expectInt32,
|
|
3625
3636
|
Queues: import_smithy_client._json,
|
|
3626
3637
|
ScalingConfig: import_smithy_client._json,
|
|
@@ -4548,6 +4559,7 @@ var de_EventSourceMappingConfiguration = /* @__PURE__ */ __name((output, context
|
|
|
4548
4559
|
MaximumBatchingWindowInSeconds: import_smithy_client.expectInt32,
|
|
4549
4560
|
MaximumRecordAgeInSeconds: import_smithy_client.expectInt32,
|
|
4550
4561
|
MaximumRetryAttempts: import_smithy_client.expectInt32,
|
|
4562
|
+
MetricsConfig: import_smithy_client._json,
|
|
4551
4563
|
ParallelizationFactor: import_smithy_client.expectInt32,
|
|
4552
4564
|
Queues: import_smithy_client._json,
|
|
4553
4565
|
ScalingConfig: import_smithy_client._json,
|
|
@@ -6082,6 +6094,7 @@ var waitUntilPublishedVersionActive = /* @__PURE__ */ __name(async (params, inpu
|
|
|
6082
6094
|
CodeSigningPolicy,
|
|
6083
6095
|
FullDocument,
|
|
6084
6096
|
FunctionResponseType,
|
|
6097
|
+
EventSourceMappingMetric,
|
|
6085
6098
|
EndPointType,
|
|
6086
6099
|
SourceAccessType,
|
|
6087
6100
|
EventSourcePosition,
|
|
@@ -130,6 +130,9 @@ export const FullDocument = {
|
|
|
130
130
|
export const FunctionResponseType = {
|
|
131
131
|
ReportBatchItemFailures: "ReportBatchItemFailures",
|
|
132
132
|
};
|
|
133
|
+
export const EventSourceMappingMetric = {
|
|
134
|
+
EventCount: "EventCount",
|
|
135
|
+
};
|
|
133
136
|
export const EndPointType = {
|
|
134
137
|
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS",
|
|
135
138
|
};
|
|
@@ -222,6 +225,7 @@ export const Runtime = {
|
|
|
222
225
|
nodejs16x: "nodejs16.x",
|
|
223
226
|
nodejs18x: "nodejs18.x",
|
|
224
227
|
nodejs20x: "nodejs20.x",
|
|
228
|
+
nodejs22x: "nodejs22.x",
|
|
225
229
|
nodejs43: "nodejs4.3",
|
|
226
230
|
nodejs43edge: "nodejs4.3-edge",
|
|
227
231
|
nodejs610: "nodejs6.10",
|
|
@@ -104,6 +104,7 @@ export const se_CreateEventSourceMappingCommand = async (input, context) => {
|
|
|
104
104
|
MaximumBatchingWindowInSeconds: [],
|
|
105
105
|
MaximumRecordAgeInSeconds: [],
|
|
106
106
|
MaximumRetryAttempts: [],
|
|
107
|
+
MetricsConfig: (_) => _json(_),
|
|
107
108
|
ParallelizationFactor: [],
|
|
108
109
|
Queues: (_) => _json(_),
|
|
109
110
|
ScalingConfig: (_) => _json(_),
|
|
@@ -908,6 +909,7 @@ export const se_UpdateEventSourceMappingCommand = async (input, context) => {
|
|
|
908
909
|
MaximumBatchingWindowInSeconds: [],
|
|
909
910
|
MaximumRecordAgeInSeconds: [],
|
|
910
911
|
MaximumRetryAttempts: [],
|
|
912
|
+
MetricsConfig: (_) => _json(_),
|
|
911
913
|
ParallelizationFactor: [],
|
|
912
914
|
ScalingConfig: (_) => _json(_),
|
|
913
915
|
SourceAccessConfigurations: (_) => _json(_),
|
|
@@ -1096,6 +1098,7 @@ export const de_CreateEventSourceMappingCommand = async (output, context) => {
|
|
|
1096
1098
|
MaximumBatchingWindowInSeconds: __expectInt32,
|
|
1097
1099
|
MaximumRecordAgeInSeconds: __expectInt32,
|
|
1098
1100
|
MaximumRetryAttempts: __expectInt32,
|
|
1101
|
+
MetricsConfig: _json,
|
|
1099
1102
|
ParallelizationFactor: __expectInt32,
|
|
1100
1103
|
Queues: _json,
|
|
1101
1104
|
ScalingConfig: _json,
|
|
@@ -1227,6 +1230,7 @@ export const de_DeleteEventSourceMappingCommand = async (output, context) => {
|
|
|
1227
1230
|
MaximumBatchingWindowInSeconds: __expectInt32,
|
|
1228
1231
|
MaximumRecordAgeInSeconds: __expectInt32,
|
|
1229
1232
|
MaximumRetryAttempts: __expectInt32,
|
|
1233
|
+
MetricsConfig: _json,
|
|
1230
1234
|
ParallelizationFactor: __expectInt32,
|
|
1231
1235
|
Queues: _json,
|
|
1232
1236
|
ScalingConfig: _json,
|
|
@@ -1388,6 +1392,7 @@ export const de_GetEventSourceMappingCommand = async (output, context) => {
|
|
|
1388
1392
|
MaximumBatchingWindowInSeconds: __expectInt32,
|
|
1389
1393
|
MaximumRecordAgeInSeconds: __expectInt32,
|
|
1390
1394
|
MaximumRetryAttempts: __expectInt32,
|
|
1395
|
+
MetricsConfig: _json,
|
|
1391
1396
|
ParallelizationFactor: __expectInt32,
|
|
1392
1397
|
Queues: _json,
|
|
1393
1398
|
ScalingConfig: _json,
|
|
@@ -2153,6 +2158,7 @@ export const de_UpdateEventSourceMappingCommand = async (output, context) => {
|
|
|
2153
2158
|
MaximumBatchingWindowInSeconds: __expectInt32,
|
|
2154
2159
|
MaximumRecordAgeInSeconds: __expectInt32,
|
|
2155
2160
|
MaximumRetryAttempts: __expectInt32,
|
|
2161
|
+
MetricsConfig: _json,
|
|
2156
2162
|
ParallelizationFactor: __expectInt32,
|
|
2157
2163
|
Queues: _json,
|
|
2158
2164
|
ScalingConfig: _json,
|
|
@@ -3082,6 +3088,7 @@ const de_EventSourceMappingConfiguration = (output, context) => {
|
|
|
3082
3088
|
MaximumBatchingWindowInSeconds: __expectInt32,
|
|
3083
3089
|
MaximumRecordAgeInSeconds: __expectInt32,
|
|
3084
3090
|
MaximumRetryAttempts: __expectInt32,
|
|
3091
|
+
MetricsConfig: _json,
|
|
3085
3092
|
ParallelizationFactor: __expectInt32,
|
|
3086
3093
|
Queues: _json,
|
|
3087
3094
|
ScalingConfig: _json,
|
package/dist-types/Lambda.d.ts
CHANGED
|
@@ -501,7 +501,7 @@ export interface Lambda {
|
|
|
501
501
|
* line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
|
|
502
502
|
* Amazon Web Services</a>. </p>
|
|
503
503
|
* <p>For a list of Region-specific endpoints that Lambda supports,
|
|
504
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html
|
|
504
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda
|
|
505
505
|
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
|
|
506
506
|
* <p>When making the API calls, you will need to
|
|
507
507
|
* authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
|
|
@@ -241,7 +241,7 @@ export interface LambdaClientResolvedConfig extends LambdaClientResolvedConfigTy
|
|
|
241
241
|
* line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
|
|
242
242
|
* Amazon Web Services</a>. </p>
|
|
243
243
|
* <p>For a list of Region-specific endpoints that Lambda supports,
|
|
244
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html
|
|
244
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda
|
|
245
245
|
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
|
|
246
246
|
* <p>When making the API calls, you will need to
|
|
247
247
|
* authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
|
|
@@ -73,7 +73,7 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
73
73
|
* </p>
|
|
74
74
|
* </li>
|
|
75
75
|
* </ul>
|
|
76
|
-
* <p>The following error handling options are available only for
|
|
76
|
+
* <p>The following error handling options are available only for DynamoDB and Kinesis event sources:</p>
|
|
77
77
|
* <ul>
|
|
78
78
|
* <li>
|
|
79
79
|
* <p>
|
|
@@ -81,10 +81,6 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
81
81
|
* </li>
|
|
82
82
|
* <li>
|
|
83
83
|
* <p>
|
|
84
|
-
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
|
|
85
|
-
* </li>
|
|
86
|
-
* <li>
|
|
87
|
-
* <p>
|
|
88
84
|
* <code>MaximumRecordAgeInSeconds</code> – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
|
|
89
85
|
* </li>
|
|
90
86
|
* <li>
|
|
@@ -96,6 +92,14 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
96
92
|
* <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p>
|
|
97
93
|
* </li>
|
|
98
94
|
* </ul>
|
|
95
|
+
* <p>For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka), the following option is also available:</p>
|
|
96
|
+
* <ul>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>
|
|
99
|
+
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or
|
|
100
|
+
* Amazon S3 bucket.</p>
|
|
101
|
+
* </li>
|
|
102
|
+
* </ul>
|
|
99
103
|
* <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
|
|
100
104
|
* <ul>
|
|
101
105
|
* <li>
|
|
@@ -215,6 +219,11 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
215
219
|
* FullDocument: "UpdateLookup" || "Default",
|
|
216
220
|
* },
|
|
217
221
|
* KMSKeyArn: "STRING_VALUE",
|
|
222
|
+
* MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
223
|
+
* Metrics: [ // EventSourceMappingMetricList
|
|
224
|
+
* "EventCount",
|
|
225
|
+
* ],
|
|
226
|
+
* },
|
|
218
227
|
* };
|
|
219
228
|
* const command = new CreateEventSourceMappingCommand(input);
|
|
220
229
|
* const response = await client.send(command);
|
|
@@ -292,6 +301,11 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
292
301
|
* // Message: "STRING_VALUE",
|
|
293
302
|
* // },
|
|
294
303
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
304
|
+
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
305
|
+
* // Metrics: [ // EventSourceMappingMetricList
|
|
306
|
+
* // "EventCount",
|
|
307
|
+
* // ],
|
|
308
|
+
* // },
|
|
295
309
|
* // };
|
|
296
310
|
*
|
|
297
311
|
* ```
|
|
@@ -73,7 +73,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
73
73
|
* const client = new LambdaClient(config);
|
|
74
74
|
* const input = { // CreateFunctionRequest
|
|
75
75
|
* FunctionName: "STRING_VALUE", // required
|
|
76
|
-
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
76
|
+
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
77
77
|
* Role: "STRING_VALUE", // required
|
|
78
78
|
* Handler: "STRING_VALUE",
|
|
79
79
|
* Code: { // FunctionCode
|
|
@@ -153,7 +153,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
153
153
|
* // { // FunctionConfiguration
|
|
154
154
|
* // FunctionName: "STRING_VALUE",
|
|
155
155
|
* // FunctionArn: "STRING_VALUE",
|
|
156
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
156
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
157
157
|
* // Role: "STRING_VALUE",
|
|
158
158
|
* // Handler: "STRING_VALUE",
|
|
159
159
|
* // CodeSize: Number("long"),
|
|
@@ -116,6 +116,11 @@ declare const DeleteEventSourceMappingCommand_base: {
|
|
|
116
116
|
* // Message: "STRING_VALUE",
|
|
117
117
|
* // },
|
|
118
118
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
119
|
+
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
120
|
+
* // Metrics: [ // EventSourceMappingMetricList
|
|
121
|
+
* // "EventCount",
|
|
122
|
+
* // ],
|
|
123
|
+
* // },
|
|
119
124
|
* // };
|
|
120
125
|
*
|
|
121
126
|
* ```
|
|
@@ -114,6 +114,11 @@ declare const GetEventSourceMappingCommand_base: {
|
|
|
114
114
|
* // Message: "STRING_VALUE",
|
|
115
115
|
* // },
|
|
116
116
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
117
|
+
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
118
|
+
* // Metrics: [ // EventSourceMappingMetricList
|
|
119
|
+
* // "EventCount",
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
117
122
|
* // };
|
|
118
123
|
*
|
|
119
124
|
* ```
|
|
@@ -46,7 +46,7 @@ declare const GetFunctionCommand_base: {
|
|
|
46
46
|
* // Configuration: { // FunctionConfiguration
|
|
47
47
|
* // FunctionName: "STRING_VALUE",
|
|
48
48
|
* // FunctionArn: "STRING_VALUE",
|
|
49
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
49
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
50
50
|
* // Role: "STRING_VALUE",
|
|
51
51
|
* // Handler: "STRING_VALUE",
|
|
52
52
|
* // CodeSize: Number("long"),
|
|
@@ -45,7 +45,7 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
45
45
|
* // { // FunctionConfiguration
|
|
46
46
|
* // FunctionName: "STRING_VALUE",
|
|
47
47
|
* // FunctionArn: "STRING_VALUE",
|
|
48
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
48
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
49
49
|
* // Role: "STRING_VALUE",
|
|
50
50
|
* // Handler: "STRING_VALUE",
|
|
51
51
|
* // CodeSize: Number("long"),
|
|
@@ -55,7 +55,7 @@ declare const GetLayerVersionByArnCommand_base: {
|
|
|
55
55
|
* // CreatedDate: "STRING_VALUE",
|
|
56
56
|
* // Version: Number("long"),
|
|
57
57
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
58
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
58
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
59
59
|
* // ],
|
|
60
60
|
* // LicenseInfo: "STRING_VALUE",
|
|
61
61
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -56,7 +56,7 @@ declare const GetLayerVersionCommand_base: {
|
|
|
56
56
|
* // CreatedDate: "STRING_VALUE",
|
|
57
57
|
* // Version: Number("long"),
|
|
58
58
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
59
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
59
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
60
60
|
* // ],
|
|
61
61
|
* // LicenseInfo: "STRING_VALUE",
|
|
62
62
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -120,6 +120,11 @@ declare const ListEventSourceMappingsCommand_base: {
|
|
|
120
120
|
* // Message: "STRING_VALUE",
|
|
121
121
|
* // },
|
|
122
122
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
123
|
+
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
124
|
+
* // Metrics: [ // EventSourceMappingMetricList
|
|
125
|
+
* // "EventCount",
|
|
126
|
+
* // ],
|
|
127
|
+
* // },
|
|
123
128
|
* // },
|
|
124
129
|
* // ],
|
|
125
130
|
* // };
|
|
@@ -56,7 +56,7 @@ declare const ListFunctionsCommand_base: {
|
|
|
56
56
|
* // { // FunctionConfiguration
|
|
57
57
|
* // FunctionName: "STRING_VALUE",
|
|
58
58
|
* // FunctionArn: "STRING_VALUE",
|
|
59
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
59
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
60
60
|
* // Role: "STRING_VALUE",
|
|
61
61
|
* // Handler: "STRING_VALUE",
|
|
62
62
|
* // CodeSize: Number("long"),
|
|
@@ -38,7 +38,7 @@ declare const ListLayerVersionsCommand_base: {
|
|
|
38
38
|
* // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
39
39
|
* const client = new LambdaClient(config);
|
|
40
40
|
* const input = { // ListLayerVersionsRequest
|
|
41
|
-
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
41
|
+
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
42
42
|
* LayerName: "STRING_VALUE", // required
|
|
43
43
|
* Marker: "STRING_VALUE",
|
|
44
44
|
* MaxItems: Number("int"),
|
|
@@ -55,7 +55,7 @@ declare const ListLayerVersionsCommand_base: {
|
|
|
55
55
|
* // Description: "STRING_VALUE",
|
|
56
56
|
* // CreatedDate: "STRING_VALUE",
|
|
57
57
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
58
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
58
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
59
59
|
* // ],
|
|
60
60
|
* // LicenseInfo: "STRING_VALUE",
|
|
61
61
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -40,7 +40,7 @@ declare const ListLayersCommand_base: {
|
|
|
40
40
|
* // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
41
41
|
* const client = new LambdaClient(config);
|
|
42
42
|
* const input = { // ListLayersRequest
|
|
43
|
-
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
43
|
+
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
44
44
|
* Marker: "STRING_VALUE",
|
|
45
45
|
* MaxItems: Number("int"),
|
|
46
46
|
* CompatibleArchitecture: "x86_64" || "arm64",
|
|
@@ -59,7 +59,7 @@ declare const ListLayersCommand_base: {
|
|
|
59
59
|
* // Description: "STRING_VALUE",
|
|
60
60
|
* // CreatedDate: "STRING_VALUE",
|
|
61
61
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
62
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
62
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
63
63
|
* // ],
|
|
64
64
|
* // LicenseInfo: "STRING_VALUE",
|
|
65
65
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -48,7 +48,7 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
48
48
|
* // { // FunctionConfiguration
|
|
49
49
|
* // FunctionName: "STRING_VALUE",
|
|
50
50
|
* // FunctionArn: "STRING_VALUE",
|
|
51
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
51
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
52
52
|
* // Role: "STRING_VALUE",
|
|
53
53
|
* // Handler: "STRING_VALUE",
|
|
54
54
|
* // CodeSize: Number("long"),
|
|
@@ -47,7 +47,7 @@ declare const PublishLayerVersionCommand_base: {
|
|
|
47
47
|
* ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
48
48
|
* },
|
|
49
49
|
* CompatibleRuntimes: [ // CompatibleRuntimes
|
|
50
|
-
* "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
50
|
+
* "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
51
51
|
* ],
|
|
52
52
|
* LicenseInfo: "STRING_VALUE",
|
|
53
53
|
* CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -70,7 +70,7 @@ declare const PublishLayerVersionCommand_base: {
|
|
|
70
70
|
* // CreatedDate: "STRING_VALUE",
|
|
71
71
|
* // Version: Number("long"),
|
|
72
72
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
73
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
73
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
74
74
|
* // ],
|
|
75
75
|
* // LicenseInfo: "STRING_VALUE",
|
|
76
76
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -51,7 +51,7 @@ declare const PublishVersionCommand_base: {
|
|
|
51
51
|
* // { // FunctionConfiguration
|
|
52
52
|
* // FunctionName: "STRING_VALUE",
|
|
53
53
|
* // FunctionArn: "STRING_VALUE",
|
|
54
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
54
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
55
55
|
* // Role: "STRING_VALUE",
|
|
56
56
|
* // Handler: "STRING_VALUE",
|
|
57
57
|
* // CodeSize: Number("long"),
|
|
@@ -35,9 +35,12 @@ declare const PutFunctionEventInvokeConfigCommand_base: {
|
|
|
35
35
|
* events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous
|
|
36
36
|
* invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with
|
|
37
37
|
* <a>UpdateFunctionConfiguration</a>.</p>
|
|
38
|
-
* <p>To send an invocation record to a queue, topic, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events
|
|
38
|
+
* <p>To send an invocation record to a queue, topic, S3 bucket, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events
|
|
39
39
|
* that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a
|
|
40
40
|
* dead-letter queue.</p>
|
|
41
|
+
* <note>
|
|
42
|
+
* <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p>
|
|
43
|
+
* </note>
|
|
41
44
|
* @example
|
|
42
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
46
|
* ```javascript
|
|
@@ -74,7 +74,7 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
74
74
|
* </p>
|
|
75
75
|
* </li>
|
|
76
76
|
* </ul>
|
|
77
|
-
* <p>The following error handling options are available only for
|
|
77
|
+
* <p>The following error handling options are available only for DynamoDB and Kinesis event sources:</p>
|
|
78
78
|
* <ul>
|
|
79
79
|
* <li>
|
|
80
80
|
* <p>
|
|
@@ -82,10 +82,6 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
82
82
|
* </li>
|
|
83
83
|
* <li>
|
|
84
84
|
* <p>
|
|
85
|
-
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>
|
|
89
85
|
* <code>MaximumRecordAgeInSeconds</code> – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
|
|
90
86
|
* </li>
|
|
91
87
|
* <li>
|
|
@@ -97,6 +93,14 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
97
93
|
* <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p>
|
|
98
94
|
* </li>
|
|
99
95
|
* </ul>
|
|
96
|
+
* <p>For stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka), the following option is also available:</p>
|
|
97
|
+
* <ul>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>
|
|
100
|
+
* <code>DestinationConfig</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, or
|
|
101
|
+
* Amazon S3 bucket.</p>
|
|
102
|
+
* </li>
|
|
103
|
+
* </ul>
|
|
100
104
|
* <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
|
|
101
105
|
* <ul>
|
|
102
106
|
* <li>
|
|
@@ -192,6 +196,11 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
192
196
|
* FullDocument: "UpdateLookup" || "Default",
|
|
193
197
|
* },
|
|
194
198
|
* KMSKeyArn: "STRING_VALUE",
|
|
199
|
+
* MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
200
|
+
* Metrics: [ // EventSourceMappingMetricList
|
|
201
|
+
* "EventCount",
|
|
202
|
+
* ],
|
|
203
|
+
* },
|
|
195
204
|
* };
|
|
196
205
|
* const command = new UpdateEventSourceMappingCommand(input);
|
|
197
206
|
* const response = await client.send(command);
|
|
@@ -269,6 +278,11 @@ declare const UpdateEventSourceMappingCommand_base: {
|
|
|
269
278
|
* // Message: "STRING_VALUE",
|
|
270
279
|
* // },
|
|
271
280
|
* // EventSourceMappingArn: "STRING_VALUE",
|
|
281
|
+
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
282
|
+
* // Metrics: [ // EventSourceMappingMetricList
|
|
283
|
+
* // "EventCount",
|
|
284
|
+
* // ],
|
|
285
|
+
* // },
|
|
272
286
|
* // };
|
|
273
287
|
*
|
|
274
288
|
* ```
|
|
@@ -69,7 +69,7 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
69
69
|
* // { // FunctionConfiguration
|
|
70
70
|
* // FunctionName: "STRING_VALUE",
|
|
71
71
|
* // FunctionArn: "STRING_VALUE",
|
|
72
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
72
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
73
73
|
* // Role: "STRING_VALUE",
|
|
74
74
|
* // Handler: "STRING_VALUE",
|
|
75
75
|
* // CodeSize: Number("long"),
|
|
@@ -66,7 +66,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
66
66
|
* "<keys>": "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
68
|
* },
|
|
69
|
-
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
69
|
+
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
70
70
|
* DeadLetterConfig: { // DeadLetterConfig
|
|
71
71
|
* TargetArn: "STRING_VALUE",
|
|
72
72
|
* },
|
|
@@ -111,7 +111,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
111
111
|
* // { // FunctionConfiguration
|
|
112
112
|
* // FunctionName: "STRING_VALUE",
|
|
113
113
|
* // FunctionArn: "STRING_VALUE",
|
|
114
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
114
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x",
|
|
115
115
|
* // Role: "STRING_VALUE",
|
|
116
116
|
* // Handler: "STRING_VALUE",
|
|
117
117
|
* // CodeSize: Number("long"),
|
package/dist-types/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
|
|
17
17
|
* Amazon Web Services</a>. </p>
|
|
18
18
|
* <p>For a list of Region-specific endpoints that Lambda supports,
|
|
19
|
-
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html
|
|
19
|
+
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda
|
|
20
20
|
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
|
|
21
21
|
* <p>When making the API calls, you will need to
|
|
22
22
|
* authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
|
|
@@ -616,13 +616,11 @@ export interface CreateCodeSigningConfigResponse {
|
|
|
616
616
|
export interface OnFailure {
|
|
617
617
|
/**
|
|
618
618
|
* <p>The Amazon Resource Name (ARN) of the destination resource.</p>
|
|
619
|
-
* <p>To retain records of <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">asynchronous invocations</a>,
|
|
620
|
-
* you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function,
|
|
619
|
+
* <p>To retain records of unsuccessful <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">asynchronous invocations</a>,
|
|
620
|
+
* you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function,
|
|
621
621
|
* or Amazon EventBridge event bus as the destination.</p>
|
|
622
|
-
* <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/
|
|
623
|
-
* DynamoDB
|
|
624
|
-
* Amazon SQS queue as the destination.</p>
|
|
625
|
-
* <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed Kafka</a> or
|
|
622
|
+
* <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html">Kinesis</a>,
|
|
623
|
+
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html">DynamoDB</a>, <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed Kafka</a> or
|
|
626
624
|
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination">Amazon MSK</a>,
|
|
627
625
|
* you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.</p>
|
|
628
626
|
* @public
|
|
@@ -631,6 +629,9 @@ export interface OnFailure {
|
|
|
631
629
|
}
|
|
632
630
|
/**
|
|
633
631
|
* <p>A destination for events that were processed successfully.</p>
|
|
632
|
+
* <p>To retain records of successful <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">asynchronous invocations</a>,
|
|
633
|
+
* you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function,
|
|
634
|
+
* or Amazon EventBridge event bus as the destination.</p>
|
|
634
635
|
* @public
|
|
635
636
|
*/
|
|
636
637
|
export interface OnSuccess {
|
|
@@ -740,6 +741,34 @@ export declare const FunctionResponseType: {
|
|
|
740
741
|
* @public
|
|
741
742
|
*/
|
|
742
743
|
export type FunctionResponseType = (typeof FunctionResponseType)[keyof typeof FunctionResponseType];
|
|
744
|
+
/**
|
|
745
|
+
* @public
|
|
746
|
+
* @enum
|
|
747
|
+
*/
|
|
748
|
+
export declare const EventSourceMappingMetric: {
|
|
749
|
+
readonly EventCount: "EventCount";
|
|
750
|
+
};
|
|
751
|
+
/**
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
export type EventSourceMappingMetric = (typeof EventSourceMappingMetric)[keyof typeof EventSourceMappingMetric];
|
|
755
|
+
/**
|
|
756
|
+
* <p>The metrics configuration for your event source. Use this configuration object to define which metrics you want your
|
|
757
|
+
* event source mapping to produce.</p>
|
|
758
|
+
* @public
|
|
759
|
+
*/
|
|
760
|
+
export interface EventSourceMappingMetricsConfig {
|
|
761
|
+
/**
|
|
762
|
+
* <p>
|
|
763
|
+
* The metrics you want your event source mapping to produce. Include <code>EventCount</code> to receive event source mapping
|
|
764
|
+
* metrics related to the number of events processed by your event source mapping. For more information about these metrics,
|
|
765
|
+
* see <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics">
|
|
766
|
+
* Event source mapping metrics</a>.
|
|
767
|
+
* </p>
|
|
768
|
+
* @public
|
|
769
|
+
*/
|
|
770
|
+
Metrics?: EventSourceMappingMetric[] | undefined;
|
|
771
|
+
}
|
|
743
772
|
/**
|
|
744
773
|
* <p>(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.</p>
|
|
745
774
|
* @public
|
|
@@ -1099,6 +1128,11 @@ export interface CreateEventSourceMappingRequest {
|
|
|
1099
1128
|
* @public
|
|
1100
1129
|
*/
|
|
1101
1130
|
KMSKeyArn?: string | undefined;
|
|
1131
|
+
/**
|
|
1132
|
+
* <p>The metrics configuration for your event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics">Event source mapping metrics</a>.</p>
|
|
1133
|
+
* @public
|
|
1134
|
+
*/
|
|
1135
|
+
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
1102
1136
|
}
|
|
1103
1137
|
/**
|
|
1104
1138
|
* <p>An object that contains details about an error related to filter criteria encryption.</p>
|
|
@@ -1295,6 +1329,11 @@ export interface EventSourceMappingConfiguration {
|
|
|
1295
1329
|
* @public
|
|
1296
1330
|
*/
|
|
1297
1331
|
EventSourceMappingArn?: string | undefined;
|
|
1332
|
+
/**
|
|
1333
|
+
* <p>The metrics configuration for your event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics">Event source mapping metrics</a>.</p>
|
|
1334
|
+
* @public
|
|
1335
|
+
*/
|
|
1336
|
+
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
1298
1337
|
}
|
|
1299
1338
|
/**
|
|
1300
1339
|
* <p>The specified code signing configuration does not exist.</p>
|
|
@@ -1550,6 +1589,7 @@ export declare const Runtime: {
|
|
|
1550
1589
|
readonly nodejs16x: "nodejs16.x";
|
|
1551
1590
|
readonly nodejs18x: "nodejs18.x";
|
|
1552
1591
|
readonly nodejs20x: "nodejs20.x";
|
|
1592
|
+
readonly nodejs22x: "nodejs22.x";
|
|
1553
1593
|
readonly nodejs43: "nodejs4.3";
|
|
1554
1594
|
readonly nodejs43edge: "nodejs4.3-edge";
|
|
1555
1595
|
readonly nodejs610: "nodejs6.10";
|
|
@@ -3179,6 +3219,10 @@ export interface FunctionEventInvokeConfig {
|
|
|
3179
3219
|
* </li>
|
|
3180
3220
|
* <li>
|
|
3181
3221
|
* <p>
|
|
3222
|
+
* <b>Bucket</b> - The ARN of an Amazon S3 bucket.</p>
|
|
3223
|
+
* </li>
|
|
3224
|
+
* <li>
|
|
3225
|
+
* <p>
|
|
3182
3226
|
* <b>Topic</b> - The ARN of a standard SNS topic.</p>
|
|
3183
3227
|
* </li>
|
|
3184
3228
|
* <li>
|
|
@@ -3186,6 +3230,9 @@ export interface FunctionEventInvokeConfig {
|
|
|
3186
3230
|
* <b>Event Bus</b> - The ARN of an Amazon EventBridge event bus.</p>
|
|
3187
3231
|
* </li>
|
|
3188
3232
|
* </ul>
|
|
3233
|
+
* <note>
|
|
3234
|
+
* <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p>
|
|
3235
|
+
* </note>
|
|
3189
3236
|
* @public
|
|
3190
3237
|
*/
|
|
3191
3238
|
DestinationConfig?: DestinationConfig | undefined;
|
|
@@ -5563,6 +5610,10 @@ export interface PutFunctionEventInvokeConfigRequest {
|
|
|
5563
5610
|
* </li>
|
|
5564
5611
|
* <li>
|
|
5565
5612
|
* <p>
|
|
5613
|
+
* <b>Bucket</b> - The ARN of an Amazon S3 bucket.</p>
|
|
5614
|
+
* </li>
|
|
5615
|
+
* <li>
|
|
5616
|
+
* <p>
|
|
5566
5617
|
* <b>Topic</b> - The ARN of a standard SNS topic.</p>
|
|
5567
5618
|
* </li>
|
|
5568
5619
|
* <li>
|
|
@@ -5570,6 +5621,9 @@ export interface PutFunctionEventInvokeConfigRequest {
|
|
|
5570
5621
|
* <b>Event Bus</b> - The ARN of an Amazon EventBridge event bus.</p>
|
|
5571
5622
|
* </li>
|
|
5572
5623
|
* </ul>
|
|
5624
|
+
* <note>
|
|
5625
|
+
* <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p>
|
|
5626
|
+
* </note>
|
|
5573
5627
|
* @public
|
|
5574
5628
|
*/
|
|
5575
5629
|
DestinationConfig?: DestinationConfig | undefined;
|
|
@@ -6143,6 +6197,11 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
6143
6197
|
* @public
|
|
6144
6198
|
*/
|
|
6145
6199
|
KMSKeyArn?: string | undefined;
|
|
6200
|
+
/**
|
|
6201
|
+
* <p>The metrics configuration for your event source. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics">Event source mapping metrics</a>.</p>
|
|
6202
|
+
* @public
|
|
6203
|
+
*/
|
|
6204
|
+
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
6146
6205
|
}
|
|
6147
6206
|
/**
|
|
6148
6207
|
* @public
|
|
@@ -6446,6 +6505,10 @@ export interface UpdateFunctionEventInvokeConfigRequest {
|
|
|
6446
6505
|
* </li>
|
|
6447
6506
|
* <li>
|
|
6448
6507
|
* <p>
|
|
6508
|
+
* <b>Bucket</b> - The ARN of an Amazon S3 bucket.</p>
|
|
6509
|
+
* </li>
|
|
6510
|
+
* <li>
|
|
6511
|
+
* <p>
|
|
6449
6512
|
* <b>Topic</b> - The ARN of a standard SNS topic.</p>
|
|
6450
6513
|
* </li>
|
|
6451
6514
|
* <li>
|
|
@@ -6453,6 +6516,9 @@ export interface UpdateFunctionEventInvokeConfigRequest {
|
|
|
6453
6516
|
* <b>Event Bus</b> - The ARN of an Amazon EventBridge event bus.</p>
|
|
6454
6517
|
* </li>
|
|
6455
6518
|
* </ul>
|
|
6519
|
+
* <note>
|
|
6520
|
+
* <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p>
|
|
6521
|
+
* </note>
|
|
6456
6522
|
* @public
|
|
6457
6523
|
*/
|
|
6458
6524
|
DestinationConfig?: DestinationConfig | undefined;
|
|
@@ -211,6 +211,14 @@ export declare const FunctionResponseType: {
|
|
|
211
211
|
};
|
|
212
212
|
export type FunctionResponseType =
|
|
213
213
|
(typeof FunctionResponseType)[keyof typeof FunctionResponseType];
|
|
214
|
+
export declare const EventSourceMappingMetric: {
|
|
215
|
+
readonly EventCount: "EventCount";
|
|
216
|
+
};
|
|
217
|
+
export type EventSourceMappingMetric =
|
|
218
|
+
(typeof EventSourceMappingMetric)[keyof typeof EventSourceMappingMetric];
|
|
219
|
+
export interface EventSourceMappingMetricsConfig {
|
|
220
|
+
Metrics?: EventSourceMappingMetric[] | undefined;
|
|
221
|
+
}
|
|
214
222
|
export interface ScalingConfig {
|
|
215
223
|
MaximumConcurrency?: number | undefined;
|
|
216
224
|
}
|
|
@@ -277,6 +285,7 @@ export interface CreateEventSourceMappingRequest {
|
|
|
277
285
|
ScalingConfig?: ScalingConfig | undefined;
|
|
278
286
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
|
|
279
287
|
KMSKeyArn?: string | undefined;
|
|
288
|
+
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
280
289
|
}
|
|
281
290
|
export interface FilterCriteriaError {
|
|
282
291
|
ErrorCode?: string | undefined;
|
|
@@ -317,6 +326,7 @@ export interface EventSourceMappingConfiguration {
|
|
|
317
326
|
KMSKeyArn?: string | undefined;
|
|
318
327
|
FilterCriteriaError?: FilterCriteriaError | undefined;
|
|
319
328
|
EventSourceMappingArn?: string | undefined;
|
|
329
|
+
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
320
330
|
}
|
|
321
331
|
export declare class CodeSigningConfigNotFoundException extends __BaseException {
|
|
322
332
|
readonly name: "CodeSigningConfigNotFoundException";
|
|
@@ -419,6 +429,7 @@ export declare const Runtime: {
|
|
|
419
429
|
readonly nodejs16x: "nodejs16.x";
|
|
420
430
|
readonly nodejs18x: "nodejs18.x";
|
|
421
431
|
readonly nodejs20x: "nodejs20.x";
|
|
432
|
+
readonly nodejs22x: "nodejs22.x";
|
|
422
433
|
readonly nodejs43: "nodejs4.3";
|
|
423
434
|
readonly nodejs43edge: "nodejs4.3-edge";
|
|
424
435
|
readonly nodejs610: "nodejs6.10";
|
|
@@ -1511,6 +1522,7 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
1511
1522
|
ScalingConfig?: ScalingConfig | undefined;
|
|
1512
1523
|
DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig | undefined;
|
|
1513
1524
|
KMSKeyArn?: string | undefined;
|
|
1525
|
+
MetricsConfig?: EventSourceMappingMetricsConfig | undefined;
|
|
1514
1526
|
}
|
|
1515
1527
|
export interface UpdateFunctionCodeRequest {
|
|
1516
1528
|
FunctionName: 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.698.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",
|