@aws-sdk/client-lambda 3.306.0 → 3.309.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.
Files changed (170) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Lambda.js +15 -0
  3. package/dist-cjs/LambdaClient.js +4 -2
  4. package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +2 -2
  5. package/dist-cjs/commands/AddPermissionCommand.js +2 -2
  6. package/dist-cjs/commands/CreateAliasCommand.js +2 -2
  7. package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +2 -2
  8. package/dist-cjs/commands/CreateEventSourceMappingCommand.js +2 -2
  9. package/dist-cjs/commands/CreateFunctionCommand.js +2 -2
  10. package/dist-cjs/commands/CreateFunctionUrlConfigCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteAliasCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +2 -2
  15. package/dist-cjs/commands/DeleteFunctionCommand.js +2 -2
  16. package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +2 -2
  17. package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +2 -2
  18. package/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js +2 -2
  19. package/dist-cjs/commands/DeleteLayerVersionCommand.js +2 -2
  20. package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +2 -2
  21. package/dist-cjs/commands/GetAccountSettingsCommand.js +2 -2
  22. package/dist-cjs/commands/GetAliasCommand.js +2 -2
  23. package/dist-cjs/commands/GetCodeSigningConfigCommand.js +2 -2
  24. package/dist-cjs/commands/GetEventSourceMappingCommand.js +2 -2
  25. package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +2 -2
  26. package/dist-cjs/commands/GetFunctionCommand.js +2 -2
  27. package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +2 -2
  28. package/dist-cjs/commands/GetFunctionConfigurationCommand.js +2 -2
  29. package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +2 -2
  30. package/dist-cjs/commands/GetFunctionUrlConfigCommand.js +2 -2
  31. package/dist-cjs/commands/GetLayerVersionByArnCommand.js +2 -2
  32. package/dist-cjs/commands/GetLayerVersionCommand.js +2 -2
  33. package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +2 -2
  34. package/dist-cjs/commands/GetPolicyCommand.js +2 -2
  35. package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +2 -2
  36. package/dist-cjs/commands/GetRuntimeManagementConfigCommand.js +2 -2
  37. package/dist-cjs/commands/InvokeAsyncCommand.js +2 -2
  38. package/dist-cjs/commands/InvokeCommand.js +2 -2
  39. package/dist-cjs/commands/InvokeWithResponseStreamCommand.js +46 -0
  40. package/dist-cjs/commands/ListAliasesCommand.js +2 -2
  41. package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +2 -2
  42. package/dist-cjs/commands/ListEventSourceMappingsCommand.js +2 -2
  43. package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +2 -2
  44. package/dist-cjs/commands/ListFunctionUrlConfigsCommand.js +2 -2
  45. package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +2 -2
  46. package/dist-cjs/commands/ListFunctionsCommand.js +2 -2
  47. package/dist-cjs/commands/ListLayerVersionsCommand.js +2 -2
  48. package/dist-cjs/commands/ListLayersCommand.js +2 -2
  49. package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +2 -2
  50. package/dist-cjs/commands/ListTagsCommand.js +2 -2
  51. package/dist-cjs/commands/ListVersionsByFunctionCommand.js +2 -2
  52. package/dist-cjs/commands/PublishLayerVersionCommand.js +2 -2
  53. package/dist-cjs/commands/PublishVersionCommand.js +2 -2
  54. package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +2 -2
  55. package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +2 -2
  56. package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +2 -2
  57. package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +2 -2
  58. package/dist-cjs/commands/PutRuntimeManagementConfigCommand.js +2 -2
  59. package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +2 -2
  60. package/dist-cjs/commands/RemovePermissionCommand.js +2 -2
  61. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  62. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  63. package/dist-cjs/commands/UpdateAliasCommand.js +2 -2
  64. package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +2 -2
  65. package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +2 -2
  66. package/dist-cjs/commands/UpdateFunctionCodeCommand.js +2 -2
  67. package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +2 -2
  68. package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +2 -2
  69. package/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js +2 -2
  70. package/dist-cjs/commands/index.js +1 -0
  71. package/dist-cjs/models/models_0.js +44 -2
  72. package/dist-cjs/protocols/Aws_restJson1.js +1338 -1217
  73. package/dist-cjs/runtimeConfig.browser.js +2 -0
  74. package/dist-cjs/runtimeConfig.js +2 -0
  75. package/dist-es/Lambda.js +15 -0
  76. package/dist-es/LambdaClient.js +4 -2
  77. package/dist-es/commands/AddLayerVersionPermissionCommand.js +3 -3
  78. package/dist-es/commands/AddPermissionCommand.js +3 -3
  79. package/dist-es/commands/CreateAliasCommand.js +3 -3
  80. package/dist-es/commands/CreateCodeSigningConfigCommand.js +3 -3
  81. package/dist-es/commands/CreateEventSourceMappingCommand.js +3 -3
  82. package/dist-es/commands/CreateFunctionCommand.js +3 -3
  83. package/dist-es/commands/CreateFunctionUrlConfigCommand.js +3 -3
  84. package/dist-es/commands/DeleteAliasCommand.js +3 -3
  85. package/dist-es/commands/DeleteCodeSigningConfigCommand.js +3 -3
  86. package/dist-es/commands/DeleteEventSourceMappingCommand.js +3 -3
  87. package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +3 -3
  88. package/dist-es/commands/DeleteFunctionCommand.js +3 -3
  89. package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +3 -3
  90. package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +3 -3
  91. package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +3 -3
  92. package/dist-es/commands/DeleteLayerVersionCommand.js +3 -3
  93. package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +3 -3
  94. package/dist-es/commands/GetAccountSettingsCommand.js +3 -3
  95. package/dist-es/commands/GetAliasCommand.js +3 -3
  96. package/dist-es/commands/GetCodeSigningConfigCommand.js +3 -3
  97. package/dist-es/commands/GetEventSourceMappingCommand.js +3 -3
  98. package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +3 -3
  99. package/dist-es/commands/GetFunctionCommand.js +3 -3
  100. package/dist-es/commands/GetFunctionConcurrencyCommand.js +3 -3
  101. package/dist-es/commands/GetFunctionConfigurationCommand.js +3 -3
  102. package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +3 -3
  103. package/dist-es/commands/GetFunctionUrlConfigCommand.js +3 -3
  104. package/dist-es/commands/GetLayerVersionByArnCommand.js +3 -3
  105. package/dist-es/commands/GetLayerVersionCommand.js +3 -3
  106. package/dist-es/commands/GetLayerVersionPolicyCommand.js +3 -3
  107. package/dist-es/commands/GetPolicyCommand.js +3 -3
  108. package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +3 -3
  109. package/dist-es/commands/GetRuntimeManagementConfigCommand.js +3 -3
  110. package/dist-es/commands/InvokeAsyncCommand.js +3 -3
  111. package/dist-es/commands/InvokeCommand.js +3 -3
  112. package/dist-es/commands/InvokeWithResponseStreamCommand.js +42 -0
  113. package/dist-es/commands/ListAliasesCommand.js +3 -3
  114. package/dist-es/commands/ListCodeSigningConfigsCommand.js +3 -3
  115. package/dist-es/commands/ListEventSourceMappingsCommand.js +3 -3
  116. package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +3 -3
  117. package/dist-es/commands/ListFunctionUrlConfigsCommand.js +3 -3
  118. package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +3 -3
  119. package/dist-es/commands/ListFunctionsCommand.js +3 -3
  120. package/dist-es/commands/ListLayerVersionsCommand.js +3 -3
  121. package/dist-es/commands/ListLayersCommand.js +3 -3
  122. package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +3 -3
  123. package/dist-es/commands/ListTagsCommand.js +3 -3
  124. package/dist-es/commands/ListVersionsByFunctionCommand.js +3 -3
  125. package/dist-es/commands/PublishLayerVersionCommand.js +3 -3
  126. package/dist-es/commands/PublishVersionCommand.js +3 -3
  127. package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +3 -3
  128. package/dist-es/commands/PutFunctionConcurrencyCommand.js +3 -3
  129. package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +3 -3
  130. package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +3 -3
  131. package/dist-es/commands/PutRuntimeManagementConfigCommand.js +3 -3
  132. package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +3 -3
  133. package/dist-es/commands/RemovePermissionCommand.js +3 -3
  134. package/dist-es/commands/TagResourceCommand.js +3 -3
  135. package/dist-es/commands/UntagResourceCommand.js +3 -3
  136. package/dist-es/commands/UpdateAliasCommand.js +3 -3
  137. package/dist-es/commands/UpdateCodeSigningConfigCommand.js +3 -3
  138. package/dist-es/commands/UpdateEventSourceMappingCommand.js +3 -3
  139. package/dist-es/commands/UpdateFunctionCodeCommand.js +3 -3
  140. package/dist-es/commands/UpdateFunctionConfigurationCommand.js +3 -3
  141. package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +3 -3
  142. package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +3 -3
  143. package/dist-es/commands/index.js +1 -0
  144. package/dist-es/models/models_0.js +38 -0
  145. package/dist-es/protocols/Aws_restJson1.js +1203 -1084
  146. package/dist-es/runtimeConfig.browser.js +2 -0
  147. package/dist-es/runtimeConfig.js +2 -0
  148. package/dist-types/Lambda.d.ts +32 -0
  149. package/dist-types/LambdaClient.d.ts +11 -5
  150. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +12 -0
  151. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +1 -0
  152. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +158 -0
  153. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +12 -0
  154. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -0
  155. package/dist-types/commands/index.d.ts +1 -0
  156. package/dist-types/models/models_0.d.ts +340 -32
  157. package/dist-types/protocols/Aws_restJson1.d.ts +530 -131
  158. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  159. package/dist-types/runtimeConfig.d.ts +1 -0
  160. package/dist-types/runtimeConfig.native.d.ts +1 -0
  161. package/dist-types/ts3.4/Lambda.d.ts +17 -0
  162. package/dist-types/ts3.4/LambdaClient.d.ts +14 -0
  163. package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +41 -0
  164. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  165. package/dist-types/ts3.4/models/models_0.d.ts +81 -0
  166. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +146 -131
  167. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  168. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  169. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  170. package/package.json +9 -6
package/README.md CHANGED
@@ -550,6 +550,14 @@ InvokeAsync
550
550
 
551
551
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/invokeasynccommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokeasynccommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokeasynccommandoutput.html)
552
552
 
553
+ </details>
554
+ <details>
555
+ <summary>
556
+ InvokeWithResponseStream
557
+ </summary>
558
+
559
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/invokewithresponsestreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokewithresponsestreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokewithresponsestreamcommandoutput.html)
560
+
553
561
  </details>
554
562
  <details>
555
563
  <summary>
@@ -36,6 +36,7 @@ const GetProvisionedConcurrencyConfigCommand_1 = require("./commands/GetProvisio
36
36
  const GetRuntimeManagementConfigCommand_1 = require("./commands/GetRuntimeManagementConfigCommand");
37
37
  const InvokeAsyncCommand_1 = require("./commands/InvokeAsyncCommand");
38
38
  const InvokeCommand_1 = require("./commands/InvokeCommand");
39
+ const InvokeWithResponseStreamCommand_1 = require("./commands/InvokeWithResponseStreamCommand");
39
40
  const ListAliasesCommand_1 = require("./commands/ListAliasesCommand");
40
41
  const ListCodeSigningConfigsCommand_1 = require("./commands/ListCodeSigningConfigsCommand");
41
42
  const ListEventSourceMappingsCommand_1 = require("./commands/ListEventSourceMappingsCommand");
@@ -558,6 +559,20 @@ class Lambda extends LambdaClient_1.LambdaClient {
558
559
  return this.send(command, optionsOrCb);
559
560
  }
560
561
  }
562
+ invokeWithResponseStream(args, optionsOrCb, cb) {
563
+ const command = new InvokeWithResponseStreamCommand_1.InvokeWithResponseStreamCommand(args);
564
+ if (typeof optionsOrCb === "function") {
565
+ this.send(command, optionsOrCb);
566
+ }
567
+ else if (typeof cb === "function") {
568
+ if (typeof optionsOrCb !== "object")
569
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
570
+ this.send(command, optionsOrCb || {}, cb);
571
+ }
572
+ else {
573
+ return this.send(command, optionsOrCb);
574
+ }
575
+ }
561
576
  listAliases(args, optionsOrCb, cb) {
562
577
  const command = new ListAliasesCommand_1.ListAliasesCommand(args);
563
578
  if (typeof optionsOrCb === "function") {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LambdaClient = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const eventstream_serde_config_resolver_1 = require("@aws-sdk/eventstream-serde-config-resolver");
5
6
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
7
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
7
8
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -23,8 +24,9 @@ class LambdaClient extends smithy_client_1.Client {
23
24
  const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
24
25
  const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
25
26
  const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
26
- super(_config_7);
27
- this.config = _config_7;
27
+ const _config_8 = (0, eventstream_serde_config_resolver_1.resolveEventStreamSerdeConfig)(_config_7);
28
+ super(_config_8);
29
+ this.config = _config_8;
28
30
  this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
30
32
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
@@ -36,10 +36,10 @@ class AddLayerVersionPermissionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1AddLayerVersionPermissionCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_AddLayerVersionPermissionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1AddLayerVersionPermissionCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_AddLayerVersionPermissionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.AddLayerVersionPermissionCommand = AddLayerVersionPermissionCommand;
@@ -36,10 +36,10 @@ class AddPermissionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1AddPermissionCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_AddPermissionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1AddPermissionCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_AddPermissionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.AddPermissionCommand = AddPermissionCommand;
@@ -36,10 +36,10 @@ class CreateAliasCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateAliasCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_CreateAliasCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateAliasCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_CreateAliasCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.CreateAliasCommand = CreateAliasCommand;
@@ -36,10 +36,10 @@ class CreateCodeSigningConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateCodeSigningConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_CreateCodeSigningConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateCodeSigningConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_CreateCodeSigningConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.CreateCodeSigningConfigCommand = CreateCodeSigningConfigCommand;
@@ -36,10 +36,10 @@ class CreateEventSourceMappingCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateEventSourceMappingCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_CreateEventSourceMappingCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateEventSourceMappingCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_CreateEventSourceMappingCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.CreateEventSourceMappingCommand = CreateEventSourceMappingCommand;
@@ -37,10 +37,10 @@ class CreateFunctionCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateFunctionCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_CreateFunctionCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateFunctionCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_CreateFunctionCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.CreateFunctionCommand = CreateFunctionCommand;
@@ -36,10 +36,10 @@ class CreateFunctionUrlConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateFunctionUrlConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_CreateFunctionUrlConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateFunctionUrlConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_CreateFunctionUrlConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.CreateFunctionUrlConfigCommand = CreateFunctionUrlConfigCommand;
@@ -36,10 +36,10 @@ class DeleteAliasCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteAliasCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteAliasCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteAliasCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteAliasCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteAliasCommand = DeleteAliasCommand;
@@ -36,10 +36,10 @@ class DeleteCodeSigningConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteCodeSigningConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteCodeSigningConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteCodeSigningConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteCodeSigningConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteCodeSigningConfigCommand = DeleteCodeSigningConfigCommand;
@@ -36,10 +36,10 @@ class DeleteEventSourceMappingCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteEventSourceMappingCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteEventSourceMappingCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteEventSourceMappingCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteEventSourceMappingCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteEventSourceMappingCommand = DeleteEventSourceMappingCommand;
@@ -36,10 +36,10 @@ class DeleteFunctionCodeSigningConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteFunctionCodeSigningConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteFunctionCodeSigningConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteFunctionCodeSigningConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteFunctionCodeSigningConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteFunctionCodeSigningConfigCommand = DeleteFunctionCodeSigningConfigCommand;
@@ -36,10 +36,10 @@ class DeleteFunctionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteFunctionCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteFunctionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteFunctionCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteFunctionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteFunctionCommand = DeleteFunctionCommand;
@@ -36,10 +36,10 @@ class DeleteFunctionConcurrencyCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteFunctionConcurrencyCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteFunctionConcurrencyCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteFunctionConcurrencyCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteFunctionConcurrencyCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteFunctionConcurrencyCommand = DeleteFunctionConcurrencyCommand;
@@ -36,10 +36,10 @@ class DeleteFunctionEventInvokeConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteFunctionEventInvokeConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteFunctionEventInvokeConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteFunctionEventInvokeConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteFunctionEventInvokeConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteFunctionEventInvokeConfigCommand = DeleteFunctionEventInvokeConfigCommand;
@@ -36,10 +36,10 @@ class DeleteFunctionUrlConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteFunctionUrlConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteFunctionUrlConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteFunctionUrlConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteFunctionUrlConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteFunctionUrlConfigCommand = DeleteFunctionUrlConfigCommand;
@@ -36,10 +36,10 @@ class DeleteLayerVersionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteLayerVersionCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteLayerVersionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteLayerVersionCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteLayerVersionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteLayerVersionCommand = DeleteLayerVersionCommand;
@@ -36,10 +36,10 @@ class DeleteProvisionedConcurrencyConfigCommand extends smithy_client_1.Command
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteProvisionedConcurrencyConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteProvisionedConcurrencyConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteProvisionedConcurrencyConfigCommand = DeleteProvisionedConcurrencyConfigCommand;
@@ -36,10 +36,10 @@ class GetAccountSettingsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetAccountSettingsCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetAccountSettingsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetAccountSettingsCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetAccountSettingsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetAccountSettingsCommand = GetAccountSettingsCommand;
@@ -36,10 +36,10 @@ class GetAliasCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetAliasCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetAliasCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetAliasCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetAliasCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetAliasCommand = GetAliasCommand;
@@ -36,10 +36,10 @@ class GetCodeSigningConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetCodeSigningConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetCodeSigningConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetCodeSigningConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetCodeSigningConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetCodeSigningConfigCommand = GetCodeSigningConfigCommand;
@@ -36,10 +36,10 @@ class GetEventSourceMappingCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetEventSourceMappingCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetEventSourceMappingCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetEventSourceMappingCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetEventSourceMappingCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetEventSourceMappingCommand = GetEventSourceMappingCommand;
@@ -36,10 +36,10 @@ class GetFunctionCodeSigningConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetFunctionCodeSigningConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetFunctionCodeSigningConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetFunctionCodeSigningConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetFunctionCodeSigningConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetFunctionCodeSigningConfigCommand = GetFunctionCodeSigningConfigCommand;
@@ -37,10 +37,10 @@ class GetFunctionCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1GetFunctionCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_GetFunctionCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetFunctionCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_GetFunctionCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.GetFunctionCommand = GetFunctionCommand;
@@ -36,10 +36,10 @@ class GetFunctionConcurrencyCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetFunctionConcurrencyCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetFunctionConcurrencyCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetFunctionConcurrencyCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetFunctionConcurrencyCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetFunctionConcurrencyCommand = GetFunctionConcurrencyCommand;
@@ -37,10 +37,10 @@ class GetFunctionConfigurationCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1GetFunctionConfigurationCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_GetFunctionConfigurationCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetFunctionConfigurationCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_GetFunctionConfigurationCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.GetFunctionConfigurationCommand = GetFunctionConfigurationCommand;
@@ -36,10 +36,10 @@ class GetFunctionEventInvokeConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetFunctionEventInvokeConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetFunctionEventInvokeConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetFunctionEventInvokeConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetFunctionEventInvokeConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetFunctionEventInvokeConfigCommand = GetFunctionEventInvokeConfigCommand;
@@ -36,10 +36,10 @@ class GetFunctionUrlConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetFunctionUrlConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetFunctionUrlConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetFunctionUrlConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetFunctionUrlConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetFunctionUrlConfigCommand = GetFunctionUrlConfigCommand;
@@ -36,10 +36,10 @@ class GetLayerVersionByArnCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetLayerVersionByArnCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetLayerVersionByArnCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetLayerVersionByArnCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetLayerVersionByArnCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetLayerVersionByArnCommand = GetLayerVersionByArnCommand;
@@ -36,10 +36,10 @@ class GetLayerVersionCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetLayerVersionCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetLayerVersionCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetLayerVersionCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetLayerVersionCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetLayerVersionCommand = GetLayerVersionCommand;
@@ -36,10 +36,10 @@ class GetLayerVersionPolicyCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetLayerVersionPolicyCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetLayerVersionPolicyCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetLayerVersionPolicyCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetLayerVersionPolicyCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetLayerVersionPolicyCommand = GetLayerVersionPolicyCommand;
@@ -36,10 +36,10 @@ class GetPolicyCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetPolicyCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetPolicyCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetPolicyCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetPolicyCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetPolicyCommand = GetPolicyCommand;
@@ -36,10 +36,10 @@ class GetProvisionedConcurrencyConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetProvisionedConcurrencyConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetProvisionedConcurrencyConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetProvisionedConcurrencyConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetProvisionedConcurrencyConfigCommand = GetProvisionedConcurrencyConfigCommand;
@@ -36,10 +36,10 @@ class GetRuntimeManagementConfigCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1GetRuntimeManagementConfigCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_GetRuntimeManagementConfigCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1GetRuntimeManagementConfigCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_GetRuntimeManagementConfigCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.GetRuntimeManagementConfigCommand = GetRuntimeManagementConfigCommand;
@@ -37,10 +37,10 @@ class InvokeAsyncCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1InvokeAsyncCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_InvokeAsyncCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1InvokeAsyncCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_InvokeAsyncCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.InvokeAsyncCommand = InvokeAsyncCommand;
@@ -37,10 +37,10 @@ class InvokeCommand extends smithy_client_1.Command {
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
38
  }
39
39
  serialize(input, context) {
40
- return (0, Aws_restJson1_1.serializeAws_restJson1InvokeCommand)(input, context);
40
+ return (0, Aws_restJson1_1.se_InvokeCommand)(input, context);
41
41
  }
42
42
  deserialize(output, context) {
43
- return (0, Aws_restJson1_1.deserializeAws_restJson1InvokeCommand)(output, context);
43
+ return (0, Aws_restJson1_1.de_InvokeCommand)(output, context);
44
44
  }
45
45
  }
46
46
  exports.InvokeCommand = InvokeCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvokeWithResponseStreamCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class InvokeWithResponseStreamCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, InvokeWithResponseStreamCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "LambdaClient";
28
+ const commandName = "InvokeWithResponseStreamCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.InvokeWithResponseStreamRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.InvokeWithResponseStreamResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_InvokeWithResponseStreamCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_InvokeWithResponseStreamCommand)(output, context);
44
+ }
45
+ }
46
+ exports.InvokeWithResponseStreamCommand = InvokeWithResponseStreamCommand;