@aws-sdk/client-lambda 3.148.0 → 3.154.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.154.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.153.0...v3.154.0) (2022-08-19)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-lambda
9
+
10
+
11
+
12
+
13
+
14
+ # [3.152.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.151.0...v3.152.0) (2022-08-17)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-lambda:** Added support for customization of Consumer Group ID for MSK and Kafka Event Source Mappings. ([ce4030b](https://github.com/aws/aws-sdk-js-v3/commit/ce4030b850cde79cc50d3c6c569c44018a4c2d0b))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-lambda
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.148.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.147.0...v3.148.0) (2022-08-11)
7
34
 
8
35
 
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.LogType = exports.InvocationType = exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.ProvisionedConcurrencyConfigNotFoundException = exports.ProvisionedConcurrencyStatusEnum = exports.ResourceInUseException = exports.InvalidCodeSignatureException = exports.StateReasonCode = exports.State = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.TracingMode = exports.Runtime = exports.PackageType = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourcePosition = exports.SourceAccessType = exports.EndPointType = exports.FunctionResponseType = exports.CodeSigningPolicy = exports.Architecture = exports.FunctionUrlAuthType = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = void 0;
4
- exports.DeleteEventSourceMappingRequestFilterSensitiveLog = exports.DeleteCodeSigningConfigResponseFilterSensitiveLog = exports.DeleteCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteAliasRequestFilterSensitiveLog = exports.CreateFunctionUrlConfigResponseFilterSensitiveLog = exports.CreateFunctionUrlConfigRequestFilterSensitiveLog = exports.CorsFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.VpcConfigResponseFilterSensitiveLog = exports.TracingConfigResponseFilterSensitiveLog = exports.LayerFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.VpcConfigFilterSensitiveLog = exports.TracingConfigFilterSensitiveLog = exports.ImageConfigFilterSensitiveLog = exports.FileSystemConfigFilterSensitiveLog = exports.EphemeralStorageFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.DeadLetterConfigFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.EventSourceMappingConfigurationFilterSensitiveLog = exports.CreateEventSourceMappingRequestFilterSensitiveLog = exports.SourceAccessConfigurationFilterSensitiveLog = exports.SelfManagedEventSourceFilterSensitiveLog = exports.FilterCriteriaFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DestinationConfigFilterSensitiveLog = exports.OnSuccessFilterSensitiveLog = exports.OnFailureFilterSensitiveLog = exports.CreateCodeSigningConfigResponseFilterSensitiveLog = exports.CodeSigningConfigFilterSensitiveLog = exports.CreateCodeSigningConfigRequestFilterSensitiveLog = exports.CodeSigningPoliciesFilterSensitiveLog = exports.CreateAliasRequestFilterSensitiveLog = exports.AllowedPublishersFilterSensitiveLog = exports.AliasConfigurationFilterSensitiveLog = exports.AliasRoutingConfigurationFilterSensitiveLog = exports.AddPermissionResponseFilterSensitiveLog = exports.AddPermissionRequestFilterSensitiveLog = exports.AddLayerVersionPermissionResponseFilterSensitiveLog = exports.AddLayerVersionPermissionRequestFilterSensitiveLog = exports.AccountUsageFilterSensitiveLog = exports.AccountLimitFilterSensitiveLog = exports.FunctionVersion = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = void 0;
5
- exports.ListFunctionsResponseFilterSensitiveLog = exports.ListFunctionsRequestFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsResponseFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsRequestFilterSensitiveLog = exports.ListEventSourceMappingsResponseFilterSensitiveLog = exports.ListEventSourceMappingsRequestFilterSensitiveLog = exports.ListCodeSigningConfigsResponseFilterSensitiveLog = exports.ListCodeSigningConfigsRequestFilterSensitiveLog = exports.ListAliasesResponseFilterSensitiveLog = exports.ListAliasesRequestFilterSensitiveLog = exports.InvokeAsyncResponseFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.GetPolicyResponseFilterSensitiveLog = exports.GetPolicyRequestFilterSensitiveLog = exports.GetLayerVersionPolicyResponseFilterSensitiveLog = exports.GetLayerVersionPolicyRequestFilterSensitiveLog = exports.GetLayerVersionByArnRequestFilterSensitiveLog = exports.GetLayerVersionResponseFilterSensitiveLog = exports.LayerVersionContentOutputFilterSensitiveLog = exports.GetLayerVersionRequestFilterSensitiveLog = exports.GetFunctionUrlConfigResponseFilterSensitiveLog = exports.GetFunctionUrlConfigRequestFilterSensitiveLog = exports.GetFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.FunctionEventInvokeConfigFilterSensitiveLog = exports.GetFunctionConfigurationRequestFilterSensitiveLog = exports.GetFunctionConcurrencyResponseFilterSensitiveLog = exports.GetFunctionConcurrencyRequestFilterSensitiveLog = exports.GetFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.GetFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.ConcurrencyFilterSensitiveLog = exports.FunctionCodeLocationFilterSensitiveLog = exports.GetFunctionRequestFilterSensitiveLog = exports.GetEventSourceMappingRequestFilterSensitiveLog = exports.GetCodeSigningConfigResponseFilterSensitiveLog = exports.GetCodeSigningConfigRequestFilterSensitiveLog = exports.GetAliasRequestFilterSensitiveLog = exports.GetAccountSettingsResponseFilterSensitiveLog = exports.GetAccountSettingsRequestFilterSensitiveLog = exports.DeleteProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.DeleteLayerVersionRequestFilterSensitiveLog = exports.DeleteFunctionUrlConfigRequestFilterSensitiveLog = exports.DeleteFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.DeleteFunctionConcurrencyRequestFilterSensitiveLog = exports.DeleteFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteFunctionRequestFilterSensitiveLog = void 0;
6
- exports.UpdateFunctionUrlConfigResponseFilterSensitiveLog = exports.UpdateFunctionUrlConfigRequestFilterSensitiveLog = exports.UpdateFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.UpdateEventSourceMappingRequestFilterSensitiveLog = exports.UpdateCodeSigningConfigResponseFilterSensitiveLog = exports.UpdateCodeSigningConfigRequestFilterSensitiveLog = exports.UpdateAliasRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RemovePermissionRequestFilterSensitiveLog = exports.RemoveLayerVersionPermissionRequestFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.PutFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.PutFunctionConcurrencyRequestFilterSensitiveLog = exports.PutFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.PutFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.PublishVersionRequestFilterSensitiveLog = exports.PublishLayerVersionResponseFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListVersionsByFunctionRequestFilterSensitiveLog = exports.ListTagsResponseFilterSensitiveLog = exports.ListTagsRequestFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsResponseFilterSensitiveLog = exports.ProvisionedConcurrencyConfigListItemFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsRequestFilterSensitiveLog = exports.ListLayerVersionsResponseFilterSensitiveLog = exports.ListLayerVersionsRequestFilterSensitiveLog = exports.ListLayersResponseFilterSensitiveLog = exports.LayersListItemFilterSensitiveLog = exports.LayerVersionsListItemFilterSensitiveLog = exports.ListLayersRequestFilterSensitiveLog = exports.ListFunctionUrlConfigsResponseFilterSensitiveLog = exports.FunctionUrlConfigFilterSensitiveLog = exports.ListFunctionUrlConfigsRequestFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigResponseFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigRequestFilterSensitiveLog = void 0;
4
+ exports.DeleteCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteAliasRequestFilterSensitiveLog = exports.CreateFunctionUrlConfigResponseFilterSensitiveLog = exports.CreateFunctionUrlConfigRequestFilterSensitiveLog = exports.CorsFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.VpcConfigResponseFilterSensitiveLog = exports.TracingConfigResponseFilterSensitiveLog = exports.LayerFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.VpcConfigFilterSensitiveLog = exports.TracingConfigFilterSensitiveLog = exports.ImageConfigFilterSensitiveLog = exports.FileSystemConfigFilterSensitiveLog = exports.EphemeralStorageFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.DeadLetterConfigFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.EventSourceMappingConfigurationFilterSensitiveLog = exports.CreateEventSourceMappingRequestFilterSensitiveLog = exports.SourceAccessConfigurationFilterSensitiveLog = exports.SelfManagedKafkaEventSourceConfigFilterSensitiveLog = exports.SelfManagedEventSourceFilterSensitiveLog = exports.FilterCriteriaFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DestinationConfigFilterSensitiveLog = exports.OnSuccessFilterSensitiveLog = exports.OnFailureFilterSensitiveLog = exports.CreateCodeSigningConfigResponseFilterSensitiveLog = exports.CodeSigningConfigFilterSensitiveLog = exports.CreateCodeSigningConfigRequestFilterSensitiveLog = exports.CodeSigningPoliciesFilterSensitiveLog = exports.CreateAliasRequestFilterSensitiveLog = exports.AmazonManagedKafkaEventSourceConfigFilterSensitiveLog = exports.AllowedPublishersFilterSensitiveLog = exports.AliasConfigurationFilterSensitiveLog = exports.AliasRoutingConfigurationFilterSensitiveLog = exports.AddPermissionResponseFilterSensitiveLog = exports.AddPermissionRequestFilterSensitiveLog = exports.AddLayerVersionPermissionResponseFilterSensitiveLog = exports.AddLayerVersionPermissionRequestFilterSensitiveLog = exports.AccountUsageFilterSensitiveLog = exports.AccountLimitFilterSensitiveLog = exports.FunctionVersion = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = void 0;
5
+ exports.ListFunctionEventInvokeConfigsResponseFilterSensitiveLog = exports.ListFunctionEventInvokeConfigsRequestFilterSensitiveLog = exports.ListEventSourceMappingsResponseFilterSensitiveLog = exports.ListEventSourceMappingsRequestFilterSensitiveLog = exports.ListCodeSigningConfigsResponseFilterSensitiveLog = exports.ListCodeSigningConfigsRequestFilterSensitiveLog = exports.ListAliasesResponseFilterSensitiveLog = exports.ListAliasesRequestFilterSensitiveLog = exports.InvokeAsyncResponseFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.GetProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.GetPolicyResponseFilterSensitiveLog = exports.GetPolicyRequestFilterSensitiveLog = exports.GetLayerVersionPolicyResponseFilterSensitiveLog = exports.GetLayerVersionPolicyRequestFilterSensitiveLog = exports.GetLayerVersionByArnRequestFilterSensitiveLog = exports.GetLayerVersionResponseFilterSensitiveLog = exports.LayerVersionContentOutputFilterSensitiveLog = exports.GetLayerVersionRequestFilterSensitiveLog = exports.GetFunctionUrlConfigResponseFilterSensitiveLog = exports.GetFunctionUrlConfigRequestFilterSensitiveLog = exports.GetFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.FunctionEventInvokeConfigFilterSensitiveLog = exports.GetFunctionConfigurationRequestFilterSensitiveLog = exports.GetFunctionConcurrencyResponseFilterSensitiveLog = exports.GetFunctionConcurrencyRequestFilterSensitiveLog = exports.GetFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.GetFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.ConcurrencyFilterSensitiveLog = exports.FunctionCodeLocationFilterSensitiveLog = exports.GetFunctionRequestFilterSensitiveLog = exports.GetEventSourceMappingRequestFilterSensitiveLog = exports.GetCodeSigningConfigResponseFilterSensitiveLog = exports.GetCodeSigningConfigRequestFilterSensitiveLog = exports.GetAliasRequestFilterSensitiveLog = exports.GetAccountSettingsResponseFilterSensitiveLog = exports.GetAccountSettingsRequestFilterSensitiveLog = exports.DeleteProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.DeleteLayerVersionRequestFilterSensitiveLog = exports.DeleteFunctionUrlConfigRequestFilterSensitiveLog = exports.DeleteFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.DeleteFunctionConcurrencyRequestFilterSensitiveLog = exports.DeleteFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.DeleteFunctionRequestFilterSensitiveLog = exports.DeleteEventSourceMappingRequestFilterSensitiveLog = exports.DeleteCodeSigningConfigResponseFilterSensitiveLog = void 0;
6
+ exports.UpdateFunctionUrlConfigResponseFilterSensitiveLog = exports.UpdateFunctionUrlConfigRequestFilterSensitiveLog = exports.UpdateFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.UpdateEventSourceMappingRequestFilterSensitiveLog = exports.UpdateCodeSigningConfigResponseFilterSensitiveLog = exports.UpdateCodeSigningConfigRequestFilterSensitiveLog = exports.UpdateAliasRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RemovePermissionRequestFilterSensitiveLog = exports.RemoveLayerVersionPermissionRequestFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigResponseFilterSensitiveLog = exports.PutProvisionedConcurrencyConfigRequestFilterSensitiveLog = exports.PutFunctionEventInvokeConfigRequestFilterSensitiveLog = exports.PutFunctionConcurrencyRequestFilterSensitiveLog = exports.PutFunctionCodeSigningConfigResponseFilterSensitiveLog = exports.PutFunctionCodeSigningConfigRequestFilterSensitiveLog = exports.PublishVersionRequestFilterSensitiveLog = exports.PublishLayerVersionResponseFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListVersionsByFunctionRequestFilterSensitiveLog = exports.ListTagsResponseFilterSensitiveLog = exports.ListTagsRequestFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsResponseFilterSensitiveLog = exports.ProvisionedConcurrencyConfigListItemFilterSensitiveLog = exports.ListProvisionedConcurrencyConfigsRequestFilterSensitiveLog = exports.ListLayerVersionsResponseFilterSensitiveLog = exports.ListLayerVersionsRequestFilterSensitiveLog = exports.ListLayersResponseFilterSensitiveLog = exports.LayersListItemFilterSensitiveLog = exports.LayerVersionsListItemFilterSensitiveLog = exports.ListLayersRequestFilterSensitiveLog = exports.ListFunctionUrlConfigsResponseFilterSensitiveLog = exports.FunctionUrlConfigFilterSensitiveLog = exports.ListFunctionUrlConfigsRequestFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigResponseFilterSensitiveLog = exports.ListFunctionsByCodeSigningConfigRequestFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.ListFunctionsRequestFilterSensitiveLog = void 0;
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const LambdaServiceException_1 = require("./LambdaServiceException");
9
9
  class InvalidParameterValueException extends LambdaServiceException_1.LambdaServiceException {
@@ -695,6 +695,10 @@ const AllowedPublishersFilterSensitiveLog = (obj) => ({
695
695
  ...obj,
696
696
  });
697
697
  exports.AllowedPublishersFilterSensitiveLog = AllowedPublishersFilterSensitiveLog;
698
+ const AmazonManagedKafkaEventSourceConfigFilterSensitiveLog = (obj) => ({
699
+ ...obj,
700
+ });
701
+ exports.AmazonManagedKafkaEventSourceConfigFilterSensitiveLog = AmazonManagedKafkaEventSourceConfigFilterSensitiveLog;
698
702
  const CreateAliasRequestFilterSensitiveLog = (obj) => ({
699
703
  ...obj,
700
704
  });
@@ -739,6 +743,10 @@ const SelfManagedEventSourceFilterSensitiveLog = (obj) => ({
739
743
  ...obj,
740
744
  });
741
745
  exports.SelfManagedEventSourceFilterSensitiveLog = SelfManagedEventSourceFilterSensitiveLog;
746
+ const SelfManagedKafkaEventSourceConfigFilterSensitiveLog = (obj) => ({
747
+ ...obj,
748
+ });
749
+ exports.SelfManagedKafkaEventSourceConfigFilterSensitiveLog = SelfManagedKafkaEventSourceConfigFilterSensitiveLog;
742
750
  const SourceAccessConfigurationFilterSensitiveLog = (obj) => ({
743
751
  ...obj,
744
752
  });
@@ -136,6 +136,9 @@ const serializeAws_restJson1CreateEventSourceMappingCommand = async (input, cont
136
136
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings";
137
137
  let body;
138
138
  body = JSON.stringify({
139
+ ...(input.AmazonManagedKafkaEventSourceConfig != null && {
140
+ AmazonManagedKafkaEventSourceConfig: serializeAws_restJson1AmazonManagedKafkaEventSourceConfig(input.AmazonManagedKafkaEventSourceConfig, context),
141
+ }),
139
142
  ...(input.BatchSize != null && { BatchSize: input.BatchSize }),
140
143
  ...(input.BisectBatchOnFunctionError != null && { BisectBatchOnFunctionError: input.BisectBatchOnFunctionError }),
141
144
  ...(input.DestinationConfig != null && {
@@ -160,6 +163,9 @@ const serializeAws_restJson1CreateEventSourceMappingCommand = async (input, cont
160
163
  ...(input.SelfManagedEventSource != null && {
161
164
  SelfManagedEventSource: serializeAws_restJson1SelfManagedEventSource(input.SelfManagedEventSource, context),
162
165
  }),
166
+ ...(input.SelfManagedKafkaEventSourceConfig != null && {
167
+ SelfManagedKafkaEventSourceConfig: serializeAws_restJson1SelfManagedKafkaEventSourceConfig(input.SelfManagedKafkaEventSourceConfig, context),
168
+ }),
163
169
  ...(input.SourceAccessConfigurations != null && {
164
170
  SourceAccessConfigurations: serializeAws_restJson1SourceAccessConfigurations(input.SourceAccessConfigurations, context),
165
171
  }),
@@ -1781,6 +1787,9 @@ const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, c
1781
1787
  $metadata: deserializeMetadata(output),
1782
1788
  });
1783
1789
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1790
+ if (data.AmazonManagedKafkaEventSourceConfig != null) {
1791
+ contents.AmazonManagedKafkaEventSourceConfig = deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(data.AmazonManagedKafkaEventSourceConfig, context);
1792
+ }
1784
1793
  if (data.BatchSize != null) {
1785
1794
  contents.BatchSize = (0, smithy_client_1.expectInt32)(data.BatchSize);
1786
1795
  }
@@ -1826,6 +1835,9 @@ const deserializeAws_restJson1CreateEventSourceMappingCommand = async (output, c
1826
1835
  if (data.SelfManagedEventSource != null) {
1827
1836
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
1828
1837
  }
1838
+ if (data.SelfManagedKafkaEventSourceConfig != null) {
1839
+ contents.SelfManagedKafkaEventSourceConfig = deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(data.SelfManagedKafkaEventSourceConfig, context);
1840
+ }
1829
1841
  if (data.SourceAccessConfigurations != null) {
1830
1842
  contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
1831
1843
  }
@@ -2185,6 +2197,9 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, c
2185
2197
  $metadata: deserializeMetadata(output),
2186
2198
  });
2187
2199
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2200
+ if (data.AmazonManagedKafkaEventSourceConfig != null) {
2201
+ contents.AmazonManagedKafkaEventSourceConfig = deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(data.AmazonManagedKafkaEventSourceConfig, context);
2202
+ }
2188
2203
  if (data.BatchSize != null) {
2189
2204
  contents.BatchSize = (0, smithy_client_1.expectInt32)(data.BatchSize);
2190
2205
  }
@@ -2230,6 +2245,9 @@ const deserializeAws_restJson1DeleteEventSourceMappingCommand = async (output, c
2230
2245
  if (data.SelfManagedEventSource != null) {
2231
2246
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
2232
2247
  }
2248
+ if (data.SelfManagedKafkaEventSourceConfig != null) {
2249
+ contents.SelfManagedKafkaEventSourceConfig = deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(data.SelfManagedKafkaEventSourceConfig, context);
2250
+ }
2233
2251
  if (data.SourceAccessConfigurations != null) {
2234
2252
  contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
2235
2253
  }
@@ -2727,6 +2745,9 @@ const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, cont
2727
2745
  $metadata: deserializeMetadata(output),
2728
2746
  });
2729
2747
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2748
+ if (data.AmazonManagedKafkaEventSourceConfig != null) {
2749
+ contents.AmazonManagedKafkaEventSourceConfig = deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(data.AmazonManagedKafkaEventSourceConfig, context);
2750
+ }
2730
2751
  if (data.BatchSize != null) {
2731
2752
  contents.BatchSize = (0, smithy_client_1.expectInt32)(data.BatchSize);
2732
2753
  }
@@ -2772,6 +2793,9 @@ const deserializeAws_restJson1GetEventSourceMappingCommand = async (output, cont
2772
2793
  if (data.SelfManagedEventSource != null) {
2773
2794
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
2774
2795
  }
2796
+ if (data.SelfManagedKafkaEventSourceConfig != null) {
2797
+ contents.SelfManagedKafkaEventSourceConfig = deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(data.SelfManagedKafkaEventSourceConfig, context);
2798
+ }
2775
2799
  if (data.SourceAccessConfigurations != null) {
2776
2800
  contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
2777
2801
  }
@@ -4920,6 +4944,9 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, c
4920
4944
  $metadata: deserializeMetadata(output),
4921
4945
  });
4922
4946
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4947
+ if (data.AmazonManagedKafkaEventSourceConfig != null) {
4948
+ contents.AmazonManagedKafkaEventSourceConfig = deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(data.AmazonManagedKafkaEventSourceConfig, context);
4949
+ }
4923
4950
  if (data.BatchSize != null) {
4924
4951
  contents.BatchSize = (0, smithy_client_1.expectInt32)(data.BatchSize);
4925
4952
  }
@@ -4965,6 +4992,9 @@ const deserializeAws_restJson1UpdateEventSourceMappingCommand = async (output, c
4965
4992
  if (data.SelfManagedEventSource != null) {
4966
4993
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
4967
4994
  }
4995
+ if (data.SelfManagedKafkaEventSourceConfig != null) {
4996
+ contents.SelfManagedKafkaEventSourceConfig = deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(data.SelfManagedKafkaEventSourceConfig, context);
4997
+ }
4968
4998
  if (data.SourceAccessConfigurations != null) {
4969
4999
  contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
4970
5000
  }
@@ -6015,6 +6045,11 @@ const serializeAws_restJson1AllowOriginsList = (input, context) => {
6015
6045
  return entry;
6016
6046
  });
6017
6047
  };
6048
+ const serializeAws_restJson1AmazonManagedKafkaEventSourceConfig = (input, context) => {
6049
+ return {
6050
+ ...(input.ConsumerGroupId != null && { ConsumerGroupId: input.ConsumerGroupId }),
6051
+ };
6052
+ };
6018
6053
  const serializeAws_restJson1ArchitecturesList = (input, context) => {
6019
6054
  return input
6020
6055
  .filter((e) => e != null)
@@ -6213,6 +6248,11 @@ const serializeAws_restJson1SelfManagedEventSource = (input, context) => {
6213
6248
  ...(input.Endpoints != null && { Endpoints: serializeAws_restJson1Endpoints(input.Endpoints, context) }),
6214
6249
  };
6215
6250
  };
6251
+ const serializeAws_restJson1SelfManagedKafkaEventSourceConfig = (input, context) => {
6252
+ return {
6253
+ ...(input.ConsumerGroupId != null && { ConsumerGroupId: input.ConsumerGroupId }),
6254
+ };
6255
+ };
6216
6256
  const serializeAws_restJson1SigningProfileVersionArns = (input, context) => {
6217
6257
  return input
6218
6258
  .filter((e) => e != null)
@@ -6363,6 +6403,11 @@ const deserializeAws_restJson1AllowOriginsList = (output, context) => {
6363
6403
  });
6364
6404
  return retVal;
6365
6405
  };
6406
+ const deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig = (output, context) => {
6407
+ return {
6408
+ ConsumerGroupId: (0, smithy_client_1.expectString)(output.ConsumerGroupId),
6409
+ };
6410
+ };
6366
6411
  const deserializeAws_restJson1ArchitecturesList = (output, context) => {
6367
6412
  const retVal = (output || [])
6368
6413
  .filter((e) => e != null)
@@ -6504,6 +6549,9 @@ const deserializeAws_restJson1EphemeralStorage = (output, context) => {
6504
6549
  };
6505
6550
  const deserializeAws_restJson1EventSourceMappingConfiguration = (output, context) => {
6506
6551
  return {
6552
+ AmazonManagedKafkaEventSourceConfig: output.AmazonManagedKafkaEventSourceConfig != null
6553
+ ? deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(output.AmazonManagedKafkaEventSourceConfig, context)
6554
+ : undefined,
6507
6555
  BatchSize: (0, smithy_client_1.expectInt32)(output.BatchSize),
6508
6556
  BisectBatchOnFunctionError: (0, smithy_client_1.expectBoolean)(output.BisectBatchOnFunctionError),
6509
6557
  DestinationConfig: output.DestinationConfig != null
@@ -6529,6 +6577,9 @@ const deserializeAws_restJson1EventSourceMappingConfiguration = (output, context
6529
6577
  SelfManagedEventSource: output.SelfManagedEventSource != null
6530
6578
  ? deserializeAws_restJson1SelfManagedEventSource(output.SelfManagedEventSource, context)
6531
6579
  : undefined,
6580
+ SelfManagedKafkaEventSourceConfig: output.SelfManagedKafkaEventSourceConfig != null
6581
+ ? deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(output.SelfManagedKafkaEventSourceConfig, context)
6582
+ : undefined,
6532
6583
  SourceAccessConfigurations: output.SourceAccessConfigurations != null
6533
6584
  ? deserializeAws_restJson1SourceAccessConfigurations(output.SourceAccessConfigurations, context)
6534
6585
  : undefined,
@@ -6890,6 +6941,11 @@ const deserializeAws_restJson1SelfManagedEventSource = (output, context) => {
6890
6941
  Endpoints: output.Endpoints != null ? deserializeAws_restJson1Endpoints(output.Endpoints, context) : undefined,
6891
6942
  };
6892
6943
  };
6944
+ const deserializeAws_restJson1SelfManagedKafkaEventSourceConfig = (output, context) => {
6945
+ return {
6946
+ ConsumerGroupId: (0, smithy_client_1.expectString)(output.ConsumerGroupId),
6947
+ };
6948
+ };
6893
6949
  const deserializeAws_restJson1SigningProfileVersionArns = (output, context) => {
6894
6950
  const retVal = (output || [])
6895
6951
  .filter((e) => e != null)
@@ -629,6 +629,7 @@ export var AddPermissionResponseFilterSensitiveLog = function (obj) { return (__
629
629
  export var AliasRoutingConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
630
630
  export var AliasConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
631
631
  export var AllowedPublishersFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
632
+ export var AmazonManagedKafkaEventSourceConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
632
633
  export var CreateAliasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
633
634
  export var CodeSigningPoliciesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
634
635
  export var CreateCodeSigningConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -640,6 +641,7 @@ export var DestinationConfigFilterSensitiveLog = function (obj) { return (__assi
640
641
  export var FilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
641
642
  export var FilterCriteriaFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
642
643
  export var SelfManagedEventSourceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
644
+ export var SelfManagedKafkaEventSourceConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
643
645
  export var SourceAccessConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
644
646
  export var CreateEventSourceMappingRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
645
647
  export var EventSourceMappingConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -131,7 +131,9 @@ export var serializeAws_restJson1CreateEventSourceMappingCommand = function (inp
131
131
  "content-type": "application/json",
132
132
  };
133
133
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-03-31/event-source-mappings";
134
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BatchSize != null && { BatchSize: input.BatchSize })), (input.BisectBatchOnFunctionError != null && { BisectBatchOnFunctionError: input.BisectBatchOnFunctionError })), (input.DestinationConfig != null && {
134
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AmazonManagedKafkaEventSourceConfig != null && {
135
+ AmazonManagedKafkaEventSourceConfig: serializeAws_restJson1AmazonManagedKafkaEventSourceConfig(input.AmazonManagedKafkaEventSourceConfig, context),
136
+ })), (input.BatchSize != null && { BatchSize: input.BatchSize })), (input.BisectBatchOnFunctionError != null && { BisectBatchOnFunctionError: input.BisectBatchOnFunctionError })), (input.DestinationConfig != null && {
135
137
  DestinationConfig: serializeAws_restJson1DestinationConfig(input.DestinationConfig, context),
136
138
  })), (input.Enabled != null && { Enabled: input.Enabled })), (input.EventSourceArn != null && { EventSourceArn: input.EventSourceArn })), (input.FilterCriteria != null && {
137
139
  FilterCriteria: serializeAws_restJson1FilterCriteria(input.FilterCriteria, context),
@@ -141,6 +143,8 @@ export var serializeAws_restJson1CreateEventSourceMappingCommand = function (inp
141
143
  MaximumBatchingWindowInSeconds: input.MaximumBatchingWindowInSeconds,
142
144
  })), (input.MaximumRecordAgeInSeconds != null && { MaximumRecordAgeInSeconds: input.MaximumRecordAgeInSeconds })), (input.MaximumRetryAttempts != null && { MaximumRetryAttempts: input.MaximumRetryAttempts })), (input.ParallelizationFactor != null && { ParallelizationFactor: input.ParallelizationFactor })), (input.Queues != null && { Queues: serializeAws_restJson1Queues(input.Queues, context) })), (input.SelfManagedEventSource != null && {
143
145
  SelfManagedEventSource: serializeAws_restJson1SelfManagedEventSource(input.SelfManagedEventSource, context),
146
+ })), (input.SelfManagedKafkaEventSourceConfig != null && {
147
+ SelfManagedKafkaEventSourceConfig: serializeAws_restJson1SelfManagedKafkaEventSourceConfig(input.SelfManagedKafkaEventSourceConfig, context),
144
148
  })), (input.SourceAccessConfigurations != null && {
145
149
  SourceAccessConfigurations: serializeAws_restJson1SourceAccessConfigurations(input.SourceAccessConfigurations, context),
146
150
  })), (input.StartingPosition != null && { StartingPosition: input.StartingPosition })), (input.StartingPositionTimestamp != null && {
@@ -2056,6 +2060,9 @@ export var deserializeAws_restJson1CreateEventSourceMappingCommand = function (o
2056
2060
  return [4, parseBody(output.body, context)];
2057
2061
  case 1:
2058
2062
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2063
+ if (data.AmazonManagedKafkaEventSourceConfig != null) {
2064
+ contents.AmazonManagedKafkaEventSourceConfig = deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(data.AmazonManagedKafkaEventSourceConfig, context);
2065
+ }
2059
2066
  if (data.BatchSize != null) {
2060
2067
  contents.BatchSize = __expectInt32(data.BatchSize);
2061
2068
  }
@@ -2101,6 +2108,9 @@ export var deserializeAws_restJson1CreateEventSourceMappingCommand = function (o
2101
2108
  if (data.SelfManagedEventSource != null) {
2102
2109
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
2103
2110
  }
2111
+ if (data.SelfManagedKafkaEventSourceConfig != null) {
2112
+ contents.SelfManagedKafkaEventSourceConfig = deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(data.SelfManagedKafkaEventSourceConfig, context);
2113
+ }
2104
2114
  if (data.SourceAccessConfigurations != null) {
2105
2115
  contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
2106
2116
  }
@@ -2588,6 +2598,9 @@ export var deserializeAws_restJson1DeleteEventSourceMappingCommand = function (o
2588
2598
  return [4, parseBody(output.body, context)];
2589
2599
  case 1:
2590
2600
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
2601
+ if (data.AmazonManagedKafkaEventSourceConfig != null) {
2602
+ contents.AmazonManagedKafkaEventSourceConfig = deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(data.AmazonManagedKafkaEventSourceConfig, context);
2603
+ }
2591
2604
  if (data.BatchSize != null) {
2592
2605
  contents.BatchSize = __expectInt32(data.BatchSize);
2593
2606
  }
@@ -2633,6 +2646,9 @@ export var deserializeAws_restJson1DeleteEventSourceMappingCommand = function (o
2633
2646
  if (data.SelfManagedEventSource != null) {
2634
2647
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
2635
2648
  }
2649
+ if (data.SelfManagedKafkaEventSourceConfig != null) {
2650
+ contents.SelfManagedKafkaEventSourceConfig = deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(data.SelfManagedKafkaEventSourceConfig, context);
2651
+ }
2636
2652
  if (data.SourceAccessConfigurations != null) {
2637
2653
  contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
2638
2654
  }
@@ -3393,6 +3409,9 @@ export var deserializeAws_restJson1GetEventSourceMappingCommand = function (outp
3393
3409
  return [4, parseBody(output.body, context)];
3394
3410
  case 1:
3395
3411
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
3412
+ if (data.AmazonManagedKafkaEventSourceConfig != null) {
3413
+ contents.AmazonManagedKafkaEventSourceConfig = deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(data.AmazonManagedKafkaEventSourceConfig, context);
3414
+ }
3396
3415
  if (data.BatchSize != null) {
3397
3416
  contents.BatchSize = __expectInt32(data.BatchSize);
3398
3417
  }
@@ -3438,6 +3457,9 @@ export var deserializeAws_restJson1GetEventSourceMappingCommand = function (outp
3438
3457
  if (data.SelfManagedEventSource != null) {
3439
3458
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
3440
3459
  }
3460
+ if (data.SelfManagedKafkaEventSourceConfig != null) {
3461
+ contents.SelfManagedKafkaEventSourceConfig = deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(data.SelfManagedKafkaEventSourceConfig, context);
3462
+ }
3441
3463
  if (data.SourceAccessConfigurations != null) {
3442
3464
  contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
3443
3465
  }
@@ -6557,6 +6579,9 @@ export var deserializeAws_restJson1UpdateEventSourceMappingCommand = function (o
6557
6579
  return [4, parseBody(output.body, context)];
6558
6580
  case 1:
6559
6581
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
6582
+ if (data.AmazonManagedKafkaEventSourceConfig != null) {
6583
+ contents.AmazonManagedKafkaEventSourceConfig = deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(data.AmazonManagedKafkaEventSourceConfig, context);
6584
+ }
6560
6585
  if (data.BatchSize != null) {
6561
6586
  contents.BatchSize = __expectInt32(data.BatchSize);
6562
6587
  }
@@ -6602,6 +6627,9 @@ export var deserializeAws_restJson1UpdateEventSourceMappingCommand = function (o
6602
6627
  if (data.SelfManagedEventSource != null) {
6603
6628
  contents.SelfManagedEventSource = deserializeAws_restJson1SelfManagedEventSource(data.SelfManagedEventSource, context);
6604
6629
  }
6630
+ if (data.SelfManagedKafkaEventSourceConfig != null) {
6631
+ contents.SelfManagedKafkaEventSourceConfig = deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(data.SelfManagedKafkaEventSourceConfig, context);
6632
+ }
6605
6633
  if (data.SourceAccessConfigurations != null) {
6606
6634
  contents.SourceAccessConfigurations = deserializeAws_restJson1SourceAccessConfigurations(data.SourceAccessConfigurations, context);
6607
6635
  }
@@ -7779,6 +7807,9 @@ var serializeAws_restJson1AllowOriginsList = function (input, context) {
7779
7807
  return entry;
7780
7808
  });
7781
7809
  };
7810
+ var serializeAws_restJson1AmazonManagedKafkaEventSourceConfig = function (input, context) {
7811
+ return __assign({}, (input.ConsumerGroupId != null && { ConsumerGroupId: input.ConsumerGroupId }));
7812
+ };
7782
7813
  var serializeAws_restJson1ArchitecturesList = function (input, context) {
7783
7814
  return input
7784
7815
  .filter(function (e) { return e != null; })
@@ -7929,6 +7960,9 @@ var serializeAws_restJson1SecurityGroupIds = function (input, context) {
7929
7960
  var serializeAws_restJson1SelfManagedEventSource = function (input, context) {
7930
7961
  return __assign({}, (input.Endpoints != null && { Endpoints: serializeAws_restJson1Endpoints(input.Endpoints, context) }));
7931
7962
  };
7963
+ var serializeAws_restJson1SelfManagedKafkaEventSourceConfig = function (input, context) {
7964
+ return __assign({}, (input.ConsumerGroupId != null && { ConsumerGroupId: input.ConsumerGroupId }));
7965
+ };
7932
7966
  var serializeAws_restJson1SigningProfileVersionArns = function (input, context) {
7933
7967
  return input
7934
7968
  .filter(function (e) { return e != null; })
@@ -8069,6 +8103,11 @@ var deserializeAws_restJson1AllowOriginsList = function (output, context) {
8069
8103
  });
8070
8104
  return retVal;
8071
8105
  };
8106
+ var deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig = function (output, context) {
8107
+ return {
8108
+ ConsumerGroupId: __expectString(output.ConsumerGroupId),
8109
+ };
8110
+ };
8072
8111
  var deserializeAws_restJson1ArchitecturesList = function (output, context) {
8073
8112
  var retVal = (output || [])
8074
8113
  .filter(function (e) { return e != null; })
@@ -8208,6 +8247,9 @@ var deserializeAws_restJson1EphemeralStorage = function (output, context) {
8208
8247
  };
8209
8248
  var deserializeAws_restJson1EventSourceMappingConfiguration = function (output, context) {
8210
8249
  return {
8250
+ AmazonManagedKafkaEventSourceConfig: output.AmazonManagedKafkaEventSourceConfig != null
8251
+ ? deserializeAws_restJson1AmazonManagedKafkaEventSourceConfig(output.AmazonManagedKafkaEventSourceConfig, context)
8252
+ : undefined,
8211
8253
  BatchSize: __expectInt32(output.BatchSize),
8212
8254
  BisectBatchOnFunctionError: __expectBoolean(output.BisectBatchOnFunctionError),
8213
8255
  DestinationConfig: output.DestinationConfig != null
@@ -8233,6 +8275,9 @@ var deserializeAws_restJson1EventSourceMappingConfiguration = function (output,
8233
8275
  SelfManagedEventSource: output.SelfManagedEventSource != null
8234
8276
  ? deserializeAws_restJson1SelfManagedEventSource(output.SelfManagedEventSource, context)
8235
8277
  : undefined,
8278
+ SelfManagedKafkaEventSourceConfig: output.SelfManagedKafkaEventSourceConfig != null
8279
+ ? deserializeAws_restJson1SelfManagedKafkaEventSourceConfig(output.SelfManagedKafkaEventSourceConfig, context)
8280
+ : undefined,
8236
8281
  SourceAccessConfigurations: output.SourceAccessConfigurations != null
8237
8282
  ? deserializeAws_restJson1SourceAccessConfigurations(output.SourceAccessConfigurations, context)
8238
8283
  : undefined,
@@ -8594,6 +8639,11 @@ var deserializeAws_restJson1SelfManagedEventSource = function (output, context)
8594
8639
  Endpoints: output.Endpoints != null ? deserializeAws_restJson1Endpoints(output.Endpoints, context) : undefined,
8595
8640
  };
8596
8641
  };
8642
+ var deserializeAws_restJson1SelfManagedKafkaEventSourceConfig = function (output, context) {
8643
+ return {
8644
+ ConsumerGroupId: __expectString(output.ConsumerGroupId),
8645
+ };
8646
+ };
8597
8647
  var deserializeAws_restJson1SigningProfileVersionArns = function (output, context) {
8598
8648
  var retVal = (output || [])
8599
8649
  .filter(function (e) { return e != null; })
@@ -184,7 +184,7 @@ export declare class Lambda extends LambdaClient {
184
184
  createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void;
185
185
  /**
186
186
  * <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the
187
- * event source and triggers the function.</p>
187
+ * event source and invokes the function.</p>
188
188
  * <p>For details about how to configure different event sources, see the following topics. </p>
189
189
  * <ul>
190
190
  * <li>
@@ -225,7 +225,7 @@ export declare class Lambda extends LambdaClient {
225
225
  * </li>
226
226
  * </ul>
227
227
  *
228
- * <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
228
+ * <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
229
229
  * <ul>
230
230
  * <li>
231
231
  * <p>
@@ -552,7 +552,9 @@ export declare class Lambda extends LambdaClient {
552
552
  * waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long
553
553
  * connections with timeout or keep-alive settings.</p>
554
554
  *
555
- * <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action.</p>
555
+ * <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
556
+ * permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
557
+ * access to other accounts</a>.</p>
556
558
  */
557
559
  invoke(args: InvokeCommandInput, options?: __HttpHandlerOptions): Promise<InvokeCommandOutput>;
558
560
  invoke(args: InvokeCommandInput, cb: (err: any, data?: InvokeCommandOutput) => void): void;
@@ -584,7 +586,7 @@ export declare class Lambda extends LambdaClient {
584
586
  listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
585
587
  listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
586
588
  /**
587
- * <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to only show event source mappings for a
589
+ * <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to show only event source mappings for a
588
590
  * single event source.</p>
589
591
  */
590
592
  listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSourceMappingsCommandOutput>;
@@ -813,7 +815,7 @@ export declare class Lambda extends LambdaClient {
813
815
  * </li>
814
816
  * </ul>
815
817
  *
816
- * <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
818
+ * <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
817
819
  * <ul>
818
820
  * <li>
819
821
  * <p>
@@ -8,7 +8,7 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
8
8
  }
9
9
  /**
10
10
  * <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the
11
- * event source and triggers the function.</p>
11
+ * event source and invokes the function.</p>
12
12
  * <p>For details about how to configure different event sources, see the following topics. </p>
13
13
  * <ul>
14
14
  * <li>
@@ -49,7 +49,7 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
49
49
  * </li>
50
50
  * </ul>
51
51
  *
52
- * <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
52
+ * <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
53
53
  * <ul>
54
54
  * <li>
55
55
  * <p>
@@ -33,7 +33,9 @@ export interface InvokeCommandOutput extends InvocationResponse, __MetadataBeare
33
33
  * waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long
34
34
  * connections with timeout or keep-alive settings.</p>
35
35
  *
36
- * <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action.</p>
36
+ * <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
37
+ * permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
38
+ * access to other accounts</a>.</p>
37
39
  * @example
38
40
  * Use a bare-bones client and the command you need to make an API call.
39
41
  * ```javascript
@@ -7,7 +7,7 @@ export interface ListEventSourceMappingsCommandInput extends ListEventSourceMapp
7
7
  export interface ListEventSourceMappingsCommandOutput extends ListEventSourceMappingsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to only show event source mappings for a
10
+ * <p>Lists event source mappings. Specify an <code>EventSourceArn</code> to show only event source mappings for a
11
11
  * single event source.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
@@ -49,7 +49,7 @@ export interface UpdateEventSourceMappingCommandOutput extends EventSourceMappin
49
49
  * </li>
50
50
  * </ul>
51
51
  *
52
- * <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
52
+ * <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
53
53
  * <ul>
54
54
  * <li>
55
55
  * <p>
@@ -331,6 +331,17 @@ export interface AllowedPublishers {
331
331
  */
332
332
  SigningProfileVersionArns: string[] | undefined;
333
333
  }
334
+ /**
335
+ * <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
336
+ */
337
+ export interface AmazonManagedKafkaEventSourceConfig {
338
+ /**
339
+ * <p>The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources.
340
+ * After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see
341
+ * <a>services-msk-consumer-group-id</a>.</p>
342
+ */
343
+ ConsumerGroupId?: string;
344
+ }
334
345
  export declare enum Architecture {
335
346
  arm64 = "arm64",
336
347
  x86_64 = "x86_64"
@@ -519,6 +530,17 @@ export interface SelfManagedEventSource {
519
530
  */
520
531
  Endpoints?: Record<string, string[]>;
521
532
  }
533
+ /**
534
+ * <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
535
+ */
536
+ export interface SelfManagedKafkaEventSourceConfig {
537
+ /**
538
+ * <p>The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources.
539
+ * After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see
540
+ * <a>services-msk-consumer-group-id</a>.</p>
541
+ */
542
+ ConsumerGroupId?: string;
543
+ }
522
544
  export declare enum SourceAccessType {
523
545
  BASIC_AUTH = "BASIC_AUTH",
524
546
  CLIENT_CERTIFICATE_TLS_AUTH = "CLIENT_CERTIFICATE_TLS_AUTH",
@@ -567,7 +589,7 @@ export interface SourceAccessConfiguration {
567
589
  * </li>
568
590
  * <li>
569
591
  * <p>
570
- * <code>CLIENT_CERTIFICATE_TLS_AUTH</code> - (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM),
592
+ * <code>CLIENT_CERTIFICATE_TLS_AUTH</code> - (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM),
571
593
  * private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.</p>
572
594
  * </li>
573
595
  * <li>
@@ -665,7 +687,7 @@ export interface CreateEventSourceMappingRequest {
665
687
  * </li>
666
688
  * <li>
667
689
  * <p>
668
- * <b>Self-Managed Apache Kafka</b> - Default 100. Max 10,000.</p>
690
+ * <b>Self-managed Apache Kafka</b> - Default 100. Max 10,000.</p>
669
691
  * </li>
670
692
  * <li>
671
693
  * <p>
@@ -690,8 +712,9 @@ export interface CreateEventSourceMappingRequest {
690
712
  */
691
713
  ParallelizationFactor?: number;
692
714
  /**
693
- * <p>The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon
694
- * MSK Streams sources. <code>AT_TIMESTAMP</code> is only supported for Amazon Kinesis streams.</p>
715
+ * <p>The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon
716
+ * DynamoDB, and Amazon MSK Streams sources. <code>AT_TIMESTAMP</code> is supported only for
717
+ * Amazon Kinesis streams.</p>
695
718
  */
696
719
  StartingPosition?: EventSourcePosition | string;
697
720
  /**
@@ -712,11 +735,11 @@ export interface CreateEventSourceMappingRequest {
712
735
  */
713
736
  BisectBatchOnFunctionError?: boolean;
714
737
  /**
715
- * <p>(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.</p>
738
+ * <p>(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
716
739
  */
717
740
  MaximumRetryAttempts?: number;
718
741
  /**
719
- * <p>(Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.</p>
742
+ * <p>(Streams only) The duration in seconds of a processing window. The range is between 1 second and 900 seconds.</p>
720
743
  */
721
744
  TumblingWindowInSeconds?: number;
722
745
  /**
@@ -732,13 +755,21 @@ export interface CreateEventSourceMappingRequest {
732
755
  */
733
756
  SourceAccessConfigurations?: SourceAccessConfiguration[];
734
757
  /**
735
- * <p>The Self-Managed Apache Kafka cluster to send records.</p>
758
+ * <p>The self-managed Apache Kafka cluster to receive records from.</p>
736
759
  */
737
760
  SelfManagedEventSource?: SelfManagedEventSource;
738
761
  /**
739
762
  * <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
740
763
  */
741
764
  FunctionResponseTypes?: (FunctionResponseType | string)[];
765
+ /**
766
+ * <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
767
+ */
768
+ AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
769
+ /**
770
+ * <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
771
+ */
772
+ SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
742
773
  }
743
774
  /**
744
775
  * <p>A mapping between an Amazon Web Services resource and a Lambda function. For details, see <a>CreateEventSourceMapping</a>.</p>
@@ -847,6 +878,14 @@ export interface EventSourceMappingConfiguration {
847
878
  * <p>(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.</p>
848
879
  */
849
880
  FunctionResponseTypes?: (FunctionResponseType | string)[];
881
+ /**
882
+ * <p>Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.</p>
883
+ */
884
+ AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
885
+ /**
886
+ * <p>Specific configuration settings for a self-managed Apache Kafka event source.</p>
887
+ */
888
+ SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
850
889
  }
851
890
  /**
852
891
  * <p>The specified code signing configuration does not exist.</p>
@@ -3942,7 +3981,7 @@ export interface UpdateEventSourceMappingRequest {
3942
3981
  * </li>
3943
3982
  * <li>
3944
3983
  * <p>
3945
- * <b>Self-Managed Apache Kafka</b> - Default 100. Max 10,000.</p>
3984
+ * <b>Self-managed Apache Kafka</b> - Default 100. Max 10,000.</p>
3946
3985
  * </li>
3947
3986
  * <li>
3948
3987
  * <p>
@@ -3975,7 +4014,7 @@ export interface UpdateEventSourceMappingRequest {
3975
4014
  */
3976
4015
  BisectBatchOnFunctionError?: boolean;
3977
4016
  /**
3978
- * <p>(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.</p>
4017
+ * <p>(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
3979
4018
  */
3980
4019
  MaximumRetryAttempts?: number;
3981
4020
  /**
@@ -3987,7 +4026,7 @@ export interface UpdateEventSourceMappingRequest {
3987
4026
  */
3988
4027
  SourceAccessConfigurations?: SourceAccessConfiguration[];
3989
4028
  /**
3990
- * <p>(Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.</p>
4029
+ * <p>(Streams only) The duration in seconds of a processing window. The range is between 1 second and 900 seconds.</p>
3991
4030
  */
3992
4031
  TumblingWindowInSeconds?: number;
3993
4032
  /**
@@ -4334,6 +4373,10 @@ export declare const AliasConfigurationFilterSensitiveLog: (obj: AliasConfigurat
4334
4373
  * @internal
4335
4374
  */
4336
4375
  export declare const AllowedPublishersFilterSensitiveLog: (obj: AllowedPublishers) => any;
4376
+ /**
4377
+ * @internal
4378
+ */
4379
+ export declare const AmazonManagedKafkaEventSourceConfigFilterSensitiveLog: (obj: AmazonManagedKafkaEventSourceConfig) => any;
4337
4380
  /**
4338
4381
  * @internal
4339
4382
  */
@@ -4378,6 +4421,10 @@ export declare const FilterCriteriaFilterSensitiveLog: (obj: FilterCriteria) =>
4378
4421
  * @internal
4379
4422
  */
4380
4423
  export declare const SelfManagedEventSourceFilterSensitiveLog: (obj: SelfManagedEventSource) => any;
4424
+ /**
4425
+ * @internal
4426
+ */
4427
+ export declare const SelfManagedKafkaEventSourceConfigFilterSensitiveLog: (obj: SelfManagedKafkaEventSourceConfig) => any;
4381
4428
  /**
4382
4429
  * @internal
4383
4430
  */
@@ -172,6 +172,11 @@ export interface AllowedPublishers {
172
172
 
173
173
  SigningProfileVersionArns: string[] | undefined;
174
174
  }
175
+
176
+ export interface AmazonManagedKafkaEventSourceConfig {
177
+
178
+ ConsumerGroupId?: string;
179
+ }
175
180
  export declare enum Architecture {
176
181
  arm64 = "arm64",
177
182
  x86_64 = "x86_64"
@@ -262,6 +267,11 @@ export interface SelfManagedEventSource {
262
267
 
263
268
  Endpoints?: Record<string, string[]>;
264
269
  }
270
+
271
+ export interface SelfManagedKafkaEventSourceConfig {
272
+
273
+ ConsumerGroupId?: string;
274
+ }
265
275
  export declare enum SourceAccessType {
266
276
  BASIC_AUTH = "BASIC_AUTH",
267
277
  CLIENT_CERTIFICATE_TLS_AUTH = "CLIENT_CERTIFICATE_TLS_AUTH",
@@ -323,6 +333,10 @@ export interface CreateEventSourceMappingRequest {
323
333
  SelfManagedEventSource?: SelfManagedEventSource;
324
334
 
325
335
  FunctionResponseTypes?: (FunctionResponseType | string)[];
336
+
337
+ AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
338
+
339
+ SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
326
340
  }
327
341
 
328
342
  export interface EventSourceMappingConfiguration {
@@ -372,6 +386,10 @@ export interface EventSourceMappingConfiguration {
372
386
  TumblingWindowInSeconds?: number;
373
387
 
374
388
  FunctionResponseTypes?: (FunctionResponseType | string)[];
389
+
390
+ AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig;
391
+
392
+ SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig;
375
393
  }
376
394
 
377
395
  export declare class CodeSigningConfigNotFoundException extends __BaseException {
@@ -1805,6 +1823,8 @@ export declare const AliasConfigurationFilterSensitiveLog: (obj: AliasConfigurat
1805
1823
 
1806
1824
  export declare const AllowedPublishersFilterSensitiveLog: (obj: AllowedPublishers) => any;
1807
1825
 
1826
+ export declare const AmazonManagedKafkaEventSourceConfigFilterSensitiveLog: (obj: AmazonManagedKafkaEventSourceConfig) => any;
1827
+
1808
1828
  export declare const CreateAliasRequestFilterSensitiveLog: (obj: CreateAliasRequest) => any;
1809
1829
 
1810
1830
  export declare const CodeSigningPoliciesFilterSensitiveLog: (obj: CodeSigningPolicies) => any;
@@ -1827,6 +1847,8 @@ export declare const FilterCriteriaFilterSensitiveLog: (obj: FilterCriteria) =>
1827
1847
 
1828
1848
  export declare const SelfManagedEventSourceFilterSensitiveLog: (obj: SelfManagedEventSource) => any;
1829
1849
 
1850
+ export declare const SelfManagedKafkaEventSourceConfigFilterSensitiveLog: (obj: SelfManagedKafkaEventSourceConfig) => any;
1851
+
1830
1852
  export declare const SourceAccessConfigurationFilterSensitiveLog: (obj: SourceAccessConfiguration) => any;
1831
1853
 
1832
1854
  export declare const CreateEventSourceMappingRequestFilterSensitiveLog: (obj: CreateEventSourceMappingRequest) => any;
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.148.0",
4
+ "version": "3.154.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.145.0",
21
+ "@aws-sdk/client-sts": "3.154.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.145.0",
23
+ "@aws-sdk/credential-provider-node": "3.154.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -41,7 +41,7 @@
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
- "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-browser": "3.154.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.142.0",
47
47
  "@aws-sdk/util-defaults-mode-node": "3.142.0",