@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
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
+ const eventstream_serde_browser_1 = require("@aws-sdk/eventstream-serde-browser");
8
9
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
10
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
11
  const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
@@ -26,6 +27,7 @@ const getRuntimeConfig = (config) => {
26
27
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
28
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
29
  (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider,
29
31
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
32
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
33
  requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
@@ -6,6 +6,7 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
+ const eventstream_serde_node_1 = require("@aws-sdk/eventstream-serde-node");
9
10
  const hash_node_1 = require("@aws-sdk/hash-node");
10
11
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
12
  const node_config_provider_1 = require("@aws-sdk/node-config-provider");
@@ -31,6 +32,7 @@ const getRuntimeConfig = (config) => {
31
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
32
33
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
33
34
  (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,
34
36
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
35
37
  region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
38
  requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
package/dist-es/Lambda.js CHANGED
@@ -33,6 +33,7 @@ import { GetProvisionedConcurrencyConfigCommand, } from "./commands/GetProvision
33
33
  import { GetRuntimeManagementConfigCommand, } from "./commands/GetRuntimeManagementConfigCommand";
34
34
  import { InvokeAsyncCommand } from "./commands/InvokeAsyncCommand";
35
35
  import { InvokeCommand } from "./commands/InvokeCommand";
36
+ import { InvokeWithResponseStreamCommand, } from "./commands/InvokeWithResponseStreamCommand";
36
37
  import { ListAliasesCommand } from "./commands/ListAliasesCommand";
37
38
  import { ListCodeSigningConfigsCommand, } from "./commands/ListCodeSigningConfigsCommand";
38
39
  import { ListEventSourceMappingsCommand, } from "./commands/ListEventSourceMappingsCommand";
@@ -555,6 +556,20 @@ export class Lambda extends LambdaClient {
555
556
  return this.send(command, optionsOrCb);
556
557
  }
557
558
  }
559
+ invokeWithResponseStream(args, optionsOrCb, cb) {
560
+ const command = new InvokeWithResponseStreamCommand(args);
561
+ if (typeof optionsOrCb === "function") {
562
+ this.send(command, optionsOrCb);
563
+ }
564
+ else if (typeof cb === "function") {
565
+ if (typeof optionsOrCb !== "object")
566
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
567
+ this.send(command, optionsOrCb || {}, cb);
568
+ }
569
+ else {
570
+ return this.send(command, optionsOrCb);
571
+ }
572
+ }
558
573
  listAliases(args, optionsOrCb, cb) {
559
574
  const command = new ListAliasesCommand(args);
560
575
  if (typeof optionsOrCb === "function") {
@@ -1,4 +1,5 @@
1
1
  import { resolveRegionConfig } from "@aws-sdk/config-resolver";
2
+ import { resolveEventStreamSerdeConfig, } from "@aws-sdk/eventstream-serde-config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
4
5
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -20,8 +21,9 @@ export class LambdaClient extends __Client {
20
21
  const _config_5 = resolveHostHeaderConfig(_config_4);
21
22
  const _config_6 = resolveAwsAuthConfig(_config_5);
22
23
  const _config_7 = resolveUserAgentConfig(_config_6);
23
- super(_config_7);
24
- this.config = _config_7;
24
+ const _config_8 = resolveEventStreamSerdeConfig(_config_7);
25
+ super(_config_8);
26
+ this.config = _config_8;
25
27
  this.middlewareStack.use(getRetryPlugin(this.config));
26
28
  this.middlewareStack.use(getContentLengthPlugin(this.config));
27
29
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1AddLayerVersionPermissionCommand, serializeAws_restJson1AddLayerVersionPermissionCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_AddLayerVersionPermissionCommand, se_AddLayerVersionPermissionCommand } from "../protocols/Aws_restJson1";
5
5
  export class AddLayerVersionPermissionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class AddLayerVersionPermissionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1AddLayerVersionPermissionCommand(input, context);
36
+ return se_AddLayerVersionPermissionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1AddLayerVersionPermissionCommand(output, context);
39
+ return de_AddLayerVersionPermissionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1AddPermissionCommand, serializeAws_restJson1AddPermissionCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_restJson1";
5
5
  export class AddPermissionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class AddPermissionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1AddPermissionCommand(input, context);
36
+ return se_AddPermissionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1AddPermissionCommand(output, context);
39
+ return de_AddPermissionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1CreateAliasCommand, serializeAws_restJson1CreateAliasCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_CreateAliasCommand, se_CreateAliasCommand } from "../protocols/Aws_restJson1";
5
5
  export class CreateAliasCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateAliasCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1CreateAliasCommand(input, context);
36
+ return se_CreateAliasCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1CreateAliasCommand(output, context);
39
+ return de_CreateAliasCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1CreateCodeSigningConfigCommand, serializeAws_restJson1CreateCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_CreateCodeSigningConfigCommand, se_CreateCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
5
5
  export class CreateCodeSigningConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateCodeSigningConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1CreateCodeSigningConfigCommand(input, context);
36
+ return se_CreateCodeSigningConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1CreateCodeSigningConfigCommand(output, context);
39
+ return de_CreateCodeSigningConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1CreateEventSourceMappingCommand, serializeAws_restJson1CreateEventSourceMappingCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_CreateEventSourceMappingCommand, se_CreateEventSourceMappingCommand } from "../protocols/Aws_restJson1";
5
5
  export class CreateEventSourceMappingCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateEventSourceMappingCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1CreateEventSourceMappingCommand(input, context);
36
+ return se_CreateEventSourceMappingCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1CreateEventSourceMappingCommand(output, context);
39
+ return de_CreateEventSourceMappingCommand(output, context);
40
40
  }
41
41
  }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateFunctionRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog, } from "../models/models_0";
5
- import { deserializeAws_restJson1CreateFunctionCommand, serializeAws_restJson1CreateFunctionCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_CreateFunctionCommand, se_CreateFunctionCommand } from "../protocols/Aws_restJson1";
6
6
  export class CreateFunctionCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class CreateFunctionCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1CreateFunctionCommand(input, context);
37
+ return se_CreateFunctionCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1CreateFunctionCommand(output, context);
40
+ return de_CreateFunctionCommand(output, context);
41
41
  }
42
42
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1CreateFunctionUrlConfigCommand, serializeAws_restJson1CreateFunctionUrlConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_CreateFunctionUrlConfigCommand, se_CreateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1";
5
5
  export class CreateFunctionUrlConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateFunctionUrlConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1CreateFunctionUrlConfigCommand(input, context);
36
+ return se_CreateFunctionUrlConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1CreateFunctionUrlConfigCommand(output, context);
39
+ return de_CreateFunctionUrlConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteAliasCommand, serializeAws_restJson1DeleteAliasCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteAliasCommand, se_DeleteAliasCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteAliasCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteAliasCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteAliasCommand(input, context);
36
+ return se_DeleteAliasCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteAliasCommand(output, context);
39
+ return de_DeleteAliasCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteCodeSigningConfigCommand, serializeAws_restJson1DeleteCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteCodeSigningConfigCommand, se_DeleteCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteCodeSigningConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteCodeSigningConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteCodeSigningConfigCommand(input, context);
36
+ return se_DeleteCodeSigningConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteCodeSigningConfigCommand(output, context);
39
+ return de_DeleteCodeSigningConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteEventSourceMappingCommand, serializeAws_restJson1DeleteEventSourceMappingCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteEventSourceMappingCommand, se_DeleteEventSourceMappingCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteEventSourceMappingCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteEventSourceMappingCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteEventSourceMappingCommand(input, context);
36
+ return se_DeleteEventSourceMappingCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteEventSourceMappingCommand(output, context);
39
+ return de_DeleteEventSourceMappingCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteFunctionCodeSigningConfigCommand, serializeAws_restJson1DeleteFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteFunctionCodeSigningConfigCommand, se_DeleteFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
5
5
  export class DeleteFunctionCodeSigningConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteFunctionCodeSigningConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteFunctionCodeSigningConfigCommand(input, context);
36
+ return se_DeleteFunctionCodeSigningConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteFunctionCodeSigningConfigCommand(output, context);
39
+ return de_DeleteFunctionCodeSigningConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteFunctionCommand, serializeAws_restJson1DeleteFunctionCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteFunctionCommand, se_DeleteFunctionCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteFunctionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteFunctionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteFunctionCommand(input, context);
36
+ return se_DeleteFunctionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteFunctionCommand(output, context);
39
+ return de_DeleteFunctionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteFunctionConcurrencyCommand, serializeAws_restJson1DeleteFunctionConcurrencyCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteFunctionConcurrencyCommand, se_DeleteFunctionConcurrencyCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteFunctionConcurrencyCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteFunctionConcurrencyCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteFunctionConcurrencyCommand(input, context);
36
+ return se_DeleteFunctionConcurrencyCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteFunctionConcurrencyCommand(output, context);
39
+ return de_DeleteFunctionConcurrencyCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteFunctionEventInvokeConfigCommand, serializeAws_restJson1DeleteFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteFunctionEventInvokeConfigCommand, se_DeleteFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
5
5
  export class DeleteFunctionEventInvokeConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteFunctionEventInvokeConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteFunctionEventInvokeConfigCommand(input, context);
36
+ return se_DeleteFunctionEventInvokeConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteFunctionEventInvokeConfigCommand(output, context);
39
+ return de_DeleteFunctionEventInvokeConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteFunctionUrlConfigCommand, serializeAws_restJson1DeleteFunctionUrlConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteFunctionUrlConfigCommand, se_DeleteFunctionUrlConfigCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteFunctionUrlConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteFunctionUrlConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteFunctionUrlConfigCommand(input, context);
36
+ return se_DeleteFunctionUrlConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteFunctionUrlConfigCommand(output, context);
39
+ return de_DeleteFunctionUrlConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteLayerVersionCommand, serializeAws_restJson1DeleteLayerVersionCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteLayerVersionCommand, se_DeleteLayerVersionCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteLayerVersionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteLayerVersionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteLayerVersionCommand(input, context);
36
+ return se_DeleteLayerVersionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteLayerVersionCommand(output, context);
39
+ return de_DeleteLayerVersionCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand, serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteProvisionedConcurrencyConfigCommand, se_DeleteProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
5
5
  export class DeleteProvisionedConcurrencyConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteProvisionedConcurrencyConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand(input, context);
36
+ return se_DeleteProvisionedConcurrencyConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand(output, context);
39
+ return de_DeleteProvisionedConcurrencyConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1GetAccountSettingsCommand, serializeAws_restJson1GetAccountSettingsCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_GetAccountSettingsCommand, se_GetAccountSettingsCommand } from "../protocols/Aws_restJson1";
5
5
  export class GetAccountSettingsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class GetAccountSettingsCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1GetAccountSettingsCommand(input, context);
36
+ return se_GetAccountSettingsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1GetAccountSettingsCommand(output, context);
39
+ return de_GetAccountSettingsCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1GetAliasCommand, serializeAws_restJson1GetAliasCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_GetAliasCommand, se_GetAliasCommand } from "../protocols/Aws_restJson1";
5
5
  export class GetAliasCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class GetAliasCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1GetAliasCommand(input, context);
36
+ return se_GetAliasCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1GetAliasCommand(output, context);
39
+ return de_GetAliasCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1GetCodeSigningConfigCommand, serializeAws_restJson1GetCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_GetCodeSigningConfigCommand, se_GetCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
5
5
  export class GetCodeSigningConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class GetCodeSigningConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1GetCodeSigningConfigCommand(input, context);
36
+ return se_GetCodeSigningConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1GetCodeSigningConfigCommand(output, context);
39
+ return de_GetCodeSigningConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1GetEventSourceMappingCommand, serializeAws_restJson1GetEventSourceMappingCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_GetEventSourceMappingCommand, se_GetEventSourceMappingCommand } from "../protocols/Aws_restJson1";
5
5
  export class GetEventSourceMappingCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class GetEventSourceMappingCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1GetEventSourceMappingCommand(input, context);
36
+ return se_GetEventSourceMappingCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1GetEventSourceMappingCommand(output, context);
39
+ return de_GetEventSourceMappingCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1GetFunctionCodeSigningConfigCommand, serializeAws_restJson1GetFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_GetFunctionCodeSigningConfigCommand, se_GetFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
5
5
  export class GetFunctionCodeSigningConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class GetFunctionCodeSigningConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1GetFunctionCodeSigningConfigCommand(input, context);
36
+ return se_GetFunctionCodeSigningConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1GetFunctionCodeSigningConfigCommand(output, context);
39
+ return de_GetFunctionCodeSigningConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetFunctionResponseFilterSensitiveLog } from "../models/models_0";
5
- import { deserializeAws_restJson1GetFunctionCommand, serializeAws_restJson1GetFunctionCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_GetFunctionCommand, se_GetFunctionCommand } from "../protocols/Aws_restJson1";
6
6
  export class GetFunctionCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class GetFunctionCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1GetFunctionCommand(input, context);
37
+ return se_GetFunctionCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1GetFunctionCommand(output, context);
40
+ return de_GetFunctionCommand(output, context);
41
41
  }
42
42
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { deserializeAws_restJson1GetFunctionConcurrencyCommand, serializeAws_restJson1GetFunctionConcurrencyCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_GetFunctionConcurrencyCommand, se_GetFunctionConcurrencyCommand } from "../protocols/Aws_restJson1";
5
5
  export class GetFunctionConcurrencyCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class GetFunctionConcurrencyCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1GetFunctionConcurrencyCommand(input, context);
36
+ return se_GetFunctionConcurrencyCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1GetFunctionConcurrencyCommand(output, context);
39
+ return de_GetFunctionConcurrencyCommand(output, context);
40
40
  }
41
41
  }