Skip to content

Commit

Permalink
feat(client-lambda): Lambda releases NodeJs 16 managed runtime to be …
Browse files Browse the repository at this point in the history
…available in all commercial regions.
  • Loading branch information
awstools committed May 12, 2022
1 parent a227f9c commit 22a47c1
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 6 deletions.
7 changes: 4 additions & 3 deletions clients/client-lambda/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ export interface CreateEventSourceMappingRequest {
* </li>
* <li>
* <p>
* <b>Amazon DynamoDB Streams</b> - Default 100. Max 1,000.</p>
* <b>Amazon DynamoDB Streams</b> - Default 100. Max 10,000.</p>
* </li>
* <li>
* <p>
Expand Down Expand Up @@ -1226,7 +1226,7 @@ export interface EventSourceMappingConfiguration {
TumblingWindowInSeconds?: number;

/**
* <p>(Streams only) A list of current response type enums applied to the event source mapping.</p>
* <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
*/
FunctionResponseTypes?: (FunctionResponseType | string)[];
}
Expand Down Expand Up @@ -1492,6 +1492,7 @@ export enum Runtime {
nodejs10x = "nodejs10.x",
nodejs12x = "nodejs12.x",
nodejs14x = "nodejs14.x",
nodejs16x = "nodejs16.x",
nodejs43 = "nodejs4.3",
nodejs43edge = "nodejs4.3-edge",
nodejs610 = "nodejs6.10",
Expand Down Expand Up @@ -5960,7 +5961,7 @@ export interface UpdateEventSourceMappingRequest {
* </li>
* <li>
* <p>
* <b>Amazon DynamoDB Streams</b> - Default 100. Max 1,000.</p>
* <b>Amazon DynamoDB Streams</b> - Default 100. Max 10,000.</p>
* </li>
* <li>
* <p>
Expand Down
46 changes: 43 additions & 3 deletions codegen/sdk-codegen/aws-models/lambda.json
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@
"BatchSize": {
"target": "com.amazonaws.lambda#BatchSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).</p>\n <ul>\n <li>\n <p>\n <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon DynamoDB Streams</b> - Default 100. Max 1,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon Simple Queue Service</b> - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p>\n </li>\n <li>\n <p>\n <b>Amazon Managed Streaming for Apache Kafka</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Self-Managed Apache Kafka</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> - Default 100. Max 10,000.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).</p>\n <ul>\n <li>\n <p>\n <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon DynamoDB Streams</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon Simple Queue Service</b> - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p>\n </li>\n <li>\n <p>\n <b>Amazon Managed Streaming for Apache Kafka</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Self-Managed Apache Kafka</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> - Default 100. Max 10,000.</p>\n </li>\n </ul>"
}
},
"FilterCriteria": {
Expand Down Expand Up @@ -1577,6 +1577,9 @@
"input": {
"target": "com.amazonaws.lambda#DeleteAliasRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -1721,6 +1724,9 @@
"input": {
"target": "com.amazonaws.lambda#DeleteFunctionRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -1752,6 +1758,9 @@
"input": {
"target": "com.amazonaws.lambda#DeleteFunctionCodeSigningConfigRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#CodeSigningConfigNotFoundException"
Expand Down Expand Up @@ -1799,6 +1808,9 @@
"input": {
"target": "com.amazonaws.lambda#DeleteFunctionConcurrencyRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -1843,6 +1855,9 @@
"input": {
"target": "com.amazonaws.lambda#DeleteFunctionEventInvokeConfigRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -1914,6 +1929,9 @@
"input": {
"target": "com.amazonaws.lambda#DeleteFunctionUrlConfigRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#ResourceConflictException"
Expand Down Expand Up @@ -1962,6 +1980,9 @@
"input": {
"target": "com.amazonaws.lambda#DeleteLayerVersionRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#ServiceException"
Expand Down Expand Up @@ -2005,6 +2026,9 @@
"input": {
"target": "com.amazonaws.lambda#DeleteProvisionedConcurrencyConfigRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -2518,7 +2542,7 @@
"FunctionResponseTypes": {
"target": "com.amazonaws.lambda#FunctionResponseTypeList",
"traits": {
"smithy.api#documentation": "<p>(Streams only) A list of current response type enums applied to the event source mapping.</p>"
"smithy.api#documentation": "<p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>"
}
}
},
Expand Down Expand Up @@ -7110,6 +7134,9 @@
"input": {
"target": "com.amazonaws.lambda#RemoveLayerVersionPermissionRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -7177,6 +7204,9 @@
"input": {
"target": "com.amazonaws.lambda#RemovePermissionRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -7383,6 +7413,10 @@
"value": "nodejs14.x",
"name": "nodejs14x"
},
{
"value": "nodejs16.x",
"name": "nodejs16x"
},
{
"value": "java8",
"name": "java8"
Expand Down Expand Up @@ -7789,6 +7823,9 @@
"input": {
"target": "com.amazonaws.lambda#TagResourceRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -8027,6 +8064,9 @@
"input": {
"target": "com.amazonaws.lambda#UntagResourceRequest"
},
"output": {
"target": "smithy.api#Unit"
},
"errors": [
{
"target": "com.amazonaws.lambda#InvalidParameterValueException"
Expand Down Expand Up @@ -8290,7 +8330,7 @@
"BatchSize": {
"target": "com.amazonaws.lambda#BatchSize",
"traits": {
"smithy.api#documentation": "<p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).</p>\n <ul>\n <li>\n <p>\n <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon DynamoDB Streams</b> - Default 100. Max 1,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon Simple Queue Service</b> - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p>\n </li>\n <li>\n <p>\n <b>Amazon Managed Streaming for Apache Kafka</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Self-Managed Apache Kafka</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> - Default 100. Max 10,000.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).</p>\n <ul>\n <li>\n <p>\n <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon DynamoDB Streams</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon Simple Queue Service</b> - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.</p>\n </li>\n <li>\n <p>\n <b>Amazon Managed Streaming for Apache Kafka</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Self-Managed Apache Kafka</b> - Default 100. Max 10,000.</p>\n </li>\n <li>\n <p>\n <b>Amazon MQ (ActiveMQ and RabbitMQ)</b> - Default 100. Max 10,000.</p>\n </li>\n </ul>"
}
},
"FilterCriteria": {
Expand Down

0 comments on commit 22a47c1

Please sign in to comment.