@aws-sdk/client-lambda 3.306.0 → 3.310.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 +39 -36
@@ -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_restJson1PutFunctionConcurrencyCommand, serializeAws_restJson1PutFunctionConcurrencyCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_PutFunctionConcurrencyCommand, se_PutFunctionConcurrencyCommand } from "../protocols/Aws_restJson1";
5
5
  export class PutFunctionConcurrencyCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class PutFunctionConcurrencyCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1PutFunctionConcurrencyCommand(input, context);
36
+ return se_PutFunctionConcurrencyCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1PutFunctionConcurrencyCommand(output, context);
39
+ return de_PutFunctionConcurrencyCommand(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_restJson1PutFunctionEventInvokeConfigCommand, serializeAws_restJson1PutFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_PutFunctionEventInvokeConfigCommand, se_PutFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
5
5
  export class PutFunctionEventInvokeConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class PutFunctionEventInvokeConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1PutFunctionEventInvokeConfigCommand(input, context);
36
+ return se_PutFunctionEventInvokeConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1PutFunctionEventInvokeConfigCommand(output, context);
39
+ return de_PutFunctionEventInvokeConfigCommand(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_restJson1PutProvisionedConcurrencyConfigCommand, serializeAws_restJson1PutProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_PutProvisionedConcurrencyConfigCommand, se_PutProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
5
5
  export class PutProvisionedConcurrencyConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class PutProvisionedConcurrencyConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1PutProvisionedConcurrencyConfigCommand(input, context);
36
+ return se_PutProvisionedConcurrencyConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand(output, context);
39
+ return de_PutProvisionedConcurrencyConfigCommand(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_restJson1PutRuntimeManagementConfigCommand, serializeAws_restJson1PutRuntimeManagementConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_PutRuntimeManagementConfigCommand, se_PutRuntimeManagementConfigCommand } from "../protocols/Aws_restJson1";
5
5
  export class PutRuntimeManagementConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class PutRuntimeManagementConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1PutRuntimeManagementConfigCommand(input, context);
36
+ return se_PutRuntimeManagementConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1PutRuntimeManagementConfigCommand(output, context);
39
+ return de_PutRuntimeManagementConfigCommand(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_restJson1RemoveLayerVersionPermissionCommand, serializeAws_restJson1RemoveLayerVersionPermissionCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_RemoveLayerVersionPermissionCommand, se_RemoveLayerVersionPermissionCommand, } from "../protocols/Aws_restJson1";
5
5
  export class RemoveLayerVersionPermissionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class RemoveLayerVersionPermissionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1RemoveLayerVersionPermissionCommand(input, context);
36
+ return se_RemoveLayerVersionPermissionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1RemoveLayerVersionPermissionCommand(output, context);
39
+ return de_RemoveLayerVersionPermissionCommand(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_restJson1RemovePermissionCommand, serializeAws_restJson1RemovePermissionCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_restJson1";
5
5
  export class RemovePermissionCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class RemovePermissionCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1RemovePermissionCommand(input, context);
36
+ return se_RemovePermissionCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1RemovePermissionCommand(output, context);
39
+ return de_RemovePermissionCommand(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_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
5
  export class TagResourceCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class TagResourceCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1TagResourceCommand(input, context);
36
+ return se_TagResourceCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1TagResourceCommand(output, context);
39
+ return de_TagResourceCommand(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_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
5
  export class UntagResourceCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UntagResourceCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1UntagResourceCommand(input, context);
36
+ return se_UntagResourceCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UntagResourceCommand(output, context);
39
+ return de_UntagResourceCommand(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_restJson1UpdateAliasCommand, serializeAws_restJson1UpdateAliasCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_UpdateAliasCommand, se_UpdateAliasCommand } from "../protocols/Aws_restJson1";
5
5
  export class UpdateAliasCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UpdateAliasCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1UpdateAliasCommand(input, context);
36
+ return se_UpdateAliasCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UpdateAliasCommand(output, context);
39
+ return de_UpdateAliasCommand(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_restJson1UpdateCodeSigningConfigCommand, serializeAws_restJson1UpdateCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_UpdateCodeSigningConfigCommand, se_UpdateCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
5
5
  export class UpdateCodeSigningConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UpdateCodeSigningConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1UpdateCodeSigningConfigCommand(input, context);
36
+ return se_UpdateCodeSigningConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UpdateCodeSigningConfigCommand(output, context);
39
+ return de_UpdateCodeSigningConfigCommand(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_restJson1UpdateEventSourceMappingCommand, serializeAws_restJson1UpdateEventSourceMappingCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_UpdateEventSourceMappingCommand, se_UpdateEventSourceMappingCommand } from "../protocols/Aws_restJson1";
5
5
  export class UpdateEventSourceMappingCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UpdateEventSourceMappingCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1UpdateEventSourceMappingCommand(input, context);
36
+ return se_UpdateEventSourceMappingCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UpdateEventSourceMappingCommand(output, context);
39
+ return de_UpdateEventSourceMappingCommand(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 { FunctionConfigurationFilterSensitiveLog, UpdateFunctionCodeRequestFilterSensitiveLog, } from "../models/models_0";
5
- import { deserializeAws_restJson1UpdateFunctionCodeCommand, serializeAws_restJson1UpdateFunctionCodeCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_UpdateFunctionCodeCommand, se_UpdateFunctionCodeCommand } from "../protocols/Aws_restJson1";
6
6
  export class UpdateFunctionCodeCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class UpdateFunctionCodeCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1UpdateFunctionCodeCommand(input, context);
37
+ return se_UpdateFunctionCodeCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1UpdateFunctionCodeCommand(output, context);
40
+ return de_UpdateFunctionCodeCommand(output, context);
41
41
  }
42
42
  }
@@ -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 { FunctionConfigurationFilterSensitiveLog, UpdateFunctionConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
5
- import { deserializeAws_restJson1UpdateFunctionConfigurationCommand, serializeAws_restJson1UpdateFunctionConfigurationCommand, } from "../protocols/Aws_restJson1";
5
+ import { de_UpdateFunctionConfigurationCommand, se_UpdateFunctionConfigurationCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateFunctionConfigurationCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
8
8
  return {
@@ -34,9 +34,9 @@ export class UpdateFunctionConfigurationCommand extends $Command {
34
34
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
35
  }
36
36
  serialize(input, context) {
37
- return serializeAws_restJson1UpdateFunctionConfigurationCommand(input, context);
37
+ return se_UpdateFunctionConfigurationCommand(input, context);
38
38
  }
39
39
  deserialize(output, context) {
40
- return deserializeAws_restJson1UpdateFunctionConfigurationCommand(output, context);
40
+ return de_UpdateFunctionConfigurationCommand(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_restJson1UpdateFunctionEventInvokeConfigCommand, serializeAws_restJson1UpdateFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_UpdateFunctionEventInvokeConfigCommand, se_UpdateFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
5
5
  export class UpdateFunctionEventInvokeConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UpdateFunctionEventInvokeConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1UpdateFunctionEventInvokeConfigCommand(input, context);
36
+ return se_UpdateFunctionEventInvokeConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommand(output, context);
39
+ return de_UpdateFunctionEventInvokeConfigCommand(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_restJson1UpdateFunctionUrlConfigCommand, serializeAws_restJson1UpdateFunctionUrlConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_UpdateFunctionUrlConfigCommand, se_UpdateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1";
5
5
  export class UpdateFunctionUrlConfigCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class UpdateFunctionUrlConfigCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1UpdateFunctionUrlConfigCommand(input, context);
36
+ return se_UpdateFunctionUrlConfigCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1UpdateFunctionUrlConfigCommand(output, context);
39
+ return de_UpdateFunctionUrlConfigCommand(output, context);
40
40
  }
41
41
  }
@@ -33,6 +33,7 @@ export * from "./GetProvisionedConcurrencyConfigCommand";
33
33
  export * from "./GetRuntimeManagementConfigCommand";
34
34
  export * from "./InvokeAsyncCommand";
35
35
  export * from "./InvokeCommand";
36
+ export * from "./InvokeWithResponseStreamCommand";
36
37
  export * from "./ListAliasesCommand";
37
38
  export * from "./ListCodeSigningConfigsCommand";
38
39
  export * from "./ListEventSourceMappingsCommand";
@@ -301,6 +301,10 @@ export class InvalidCodeSignatureException extends __BaseException {
301
301
  this.Message = opts.Message;
302
302
  }
303
303
  }
304
+ export const InvokeMode = {
305
+ BUFFERED: "BUFFERED",
306
+ RESPONSE_STREAM: "RESPONSE_STREAM",
307
+ };
304
308
  export class ResourceInUseException extends __BaseException {
305
309
  constructor(opts) {
306
310
  super({
@@ -680,6 +684,20 @@ export class UnsupportedMediaTypeException extends __BaseException {
680
684
  this.Type = opts.Type;
681
685
  }
682
686
  }
687
+ export const ResponseStreamingInvocationType = {
688
+ DryRun: "DryRun",
689
+ RequestResponse: "RequestResponse",
690
+ };
691
+ export var InvokeWithResponseStreamResponseEvent;
692
+ (function (InvokeWithResponseStreamResponseEvent) {
693
+ InvokeWithResponseStreamResponseEvent.visit = (value, visitor) => {
694
+ if (value.PayloadChunk !== undefined)
695
+ return visitor.PayloadChunk(value.PayloadChunk);
696
+ if (value.InvokeComplete !== undefined)
697
+ return visitor.InvokeComplete(value.InvokeComplete);
698
+ return visitor._(value.$unknown[0], value.$unknown[1]);
699
+ };
700
+ })(InvokeWithResponseStreamResponseEvent || (InvokeWithResponseStreamResponseEvent = {}));
683
701
  export const FunctionVersion = {
684
702
  ALL: "ALL",
685
703
  };
@@ -746,6 +764,26 @@ export const InvocationResponseFilterSensitiveLog = (obj) => ({
746
764
  export const InvokeAsyncRequestFilterSensitiveLog = (obj) => ({
747
765
  ...obj,
748
766
  });
767
+ export const InvokeWithResponseStreamRequestFilterSensitiveLog = (obj) => ({
768
+ ...obj,
769
+ ...(obj.Payload && { Payload: SENSITIVE_STRING }),
770
+ });
771
+ export const InvokeResponseStreamUpdateFilterSensitiveLog = (obj) => ({
772
+ ...obj,
773
+ ...(obj.Payload && { Payload: SENSITIVE_STRING }),
774
+ });
775
+ export const InvokeWithResponseStreamResponseEventFilterSensitiveLog = (obj) => {
776
+ if (obj.PayloadChunk !== undefined)
777
+ return { PayloadChunk: InvokeResponseStreamUpdateFilterSensitiveLog(obj.PayloadChunk) };
778
+ if (obj.InvokeComplete !== undefined)
779
+ return { InvokeComplete: obj.InvokeComplete };
780
+ if (obj.$unknown !== undefined)
781
+ return { [obj.$unknown[0]]: "UNKNOWN" };
782
+ };
783
+ export const InvokeWithResponseStreamResponseFilterSensitiveLog = (obj) => ({
784
+ ...obj,
785
+ ...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }),
786
+ });
749
787
  export const ListFunctionsResponseFilterSensitiveLog = (obj) => ({
750
788
  ...obj,
751
789
  ...(obj.Functions && { Functions: obj.Functions.map((item) => FunctionConfigurationFilterSensitiveLog(item)) }),