From 22a47c18cda82d7703f0c1fb473214dc4de83322 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 12 May 2022 18:19:07 +0000 Subject: [PATCH] feat(client-lambda): Lambda releases NodeJs 16 managed runtime to be available in all commercial regions. --- clients/client-lambda/src/models/models_0.ts | 7 +-- codegen/sdk-codegen/aws-models/lambda.json | 46 ++++++++++++++++++-- 2 files changed, 47 insertions(+), 6 deletions(-) diff --git a/clients/client-lambda/src/models/models_0.ts b/clients/client-lambda/src/models/models_0.ts index 6cffa01b6a7a..c28f0f19862d 100644 --- a/clients/client-lambda/src/models/models_0.ts +++ b/clients/client-lambda/src/models/models_0.ts @@ -988,7 +988,7 @@ export interface CreateEventSourceMappingRequest { * *
  • *

    - * Amazon DynamoDB Streams - Default 100. Max 1,000.

    + * Amazon DynamoDB Streams - Default 100. Max 10,000.

    *
  • *
  • *

    @@ -1226,7 +1226,7 @@ export interface EventSourceMappingConfiguration { TumblingWindowInSeconds?: number; /** - *

    (Streams only) A list of current response type enums applied to the event source mapping.

    + *

    (Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.

    */ FunctionResponseTypes?: (FunctionResponseType | string)[]; } @@ -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", @@ -5960,7 +5961,7 @@ export interface UpdateEventSourceMappingRequest { *
  • *
  • *

    - * Amazon DynamoDB Streams - Default 100. Max 1,000.

    + * Amazon DynamoDB Streams - Default 100. Max 10,000.

    *
  • *
  • *

    diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index e0917c48d35b..5d6e0a5b0efa 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -1168,7 +1168,7 @@ "BatchSize": { "target": "com.amazonaws.lambda#BatchSize", "traits": { - "smithy.api#documentation": "

    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).

    \n " + "smithy.api#documentation": "

    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).

    \n " } }, "FilterCriteria": { @@ -1577,6 +1577,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteAliasRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -1721,6 +1724,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -1752,6 +1758,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionCodeSigningConfigRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#CodeSigningConfigNotFoundException" @@ -1799,6 +1808,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionConcurrencyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -1843,6 +1855,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionEventInvokeConfigRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -1914,6 +1929,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteFunctionUrlConfigRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#ResourceConflictException" @@ -1962,6 +1980,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteLayerVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#ServiceException" @@ -2005,6 +2026,9 @@ "input": { "target": "com.amazonaws.lambda#DeleteProvisionedConcurrencyConfigRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -2518,7 +2542,7 @@ "FunctionResponseTypes": { "target": "com.amazonaws.lambda#FunctionResponseTypeList", "traits": { - "smithy.api#documentation": "

    (Streams only) A list of current response type enums applied to the event source mapping.

    " + "smithy.api#documentation": "

    (Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.

    " } } }, @@ -7110,6 +7134,9 @@ "input": { "target": "com.amazonaws.lambda#RemoveLayerVersionPermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -7177,6 +7204,9 @@ "input": { "target": "com.amazonaws.lambda#RemovePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -7383,6 +7413,10 @@ "value": "nodejs14.x", "name": "nodejs14x" }, + { + "value": "nodejs16.x", + "name": "nodejs16x" + }, { "value": "java8", "name": "java8" @@ -7789,6 +7823,9 @@ "input": { "target": "com.amazonaws.lambda#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -8027,6 +8064,9 @@ "input": { "target": "com.amazonaws.lambda#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lambda#InvalidParameterValueException" @@ -8290,7 +8330,7 @@ "BatchSize": { "target": "com.amazonaws.lambda#BatchSize", "traits": { - "smithy.api#documentation": "

    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).

    \n " + "smithy.api#documentation": "

    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).

    \n " } }, "FilterCriteria": {