@aws-sdk/client-lambda 3.303.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 +33 -30
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
12
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
14
  region: string | import("@aws-sdk/types").Provider<any>;
14
15
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
12
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
14
  region: string | import("@aws-sdk/types").Provider<string>;
14
15
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
24
24
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
25
25
  retryMode: string | import("@aws-sdk/types").Provider<string>;
26
26
  logger: import("@aws-sdk/types").Logger;
27
+ eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
27
28
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
29
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -139,6 +139,10 @@ import {
139
139
  InvokeCommandInput,
140
140
  InvokeCommandOutput,
141
141
  } from "./commands/InvokeCommand";
142
+ import {
143
+ InvokeWithResponseStreamCommandInput,
144
+ InvokeWithResponseStreamCommandOutput,
145
+ } from "./commands/InvokeWithResponseStreamCommand";
142
146
  import {
143
147
  ListAliasesCommandInput,
144
148
  ListAliasesCommandOutput,
@@ -722,6 +726,19 @@ export declare class Lambda extends LambdaClient {
722
726
  options: __HttpHandlerOptions,
723
727
  cb: (err: any, data?: InvokeAsyncCommandOutput) => void
724
728
  ): void;
729
+ invokeWithResponseStream(
730
+ args: InvokeWithResponseStreamCommandInput,
731
+ options?: __HttpHandlerOptions
732
+ ): Promise<InvokeWithResponseStreamCommandOutput>;
733
+ invokeWithResponseStream(
734
+ args: InvokeWithResponseStreamCommandInput,
735
+ cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void
736
+ ): void;
737
+ invokeWithResponseStream(
738
+ args: InvokeWithResponseStreamCommandInput,
739
+ options: __HttpHandlerOptions,
740
+ cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void
741
+ ): void;
725
742
  listAliases(
726
743
  args: ListAliasesCommandInput,
727
744
  options?: __HttpHandlerOptions
@@ -2,6 +2,10 @@ import {
2
2
  RegionInputConfig,
3
3
  RegionResolvedConfig,
4
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EventStreamSerdeInputConfig,
7
+ EventStreamSerdeResolvedConfig,
8
+ } from "@aws-sdk/eventstream-serde-config-resolver";
5
9
  import {
6
10
  EndpointInputConfig,
7
11
  EndpointResolvedConfig,
@@ -35,6 +39,7 @@ import {
35
39
  Credentials as __Credentials,
36
40
  Decoder as __Decoder,
37
41
  Encoder as __Encoder,
42
+ EventStreamSerdeProvider as __EventStreamSerdeProvider,
38
43
  HashConstructor as __HashConstructor,
39
44
  HttpHandlerOptions as __HttpHandlerOptions,
40
45
  Logger as __Logger,
@@ -184,6 +189,10 @@ import {
184
189
  InvokeCommandInput,
185
190
  InvokeCommandOutput,
186
191
  } from "./commands/InvokeCommand";
192
+ import {
193
+ InvokeWithResponseStreamCommandInput,
194
+ InvokeWithResponseStreamCommandOutput,
195
+ } from "./commands/InvokeWithResponseStreamCommand";
187
196
  import {
188
197
  ListAliasesCommandInput,
189
198
  ListAliasesCommandOutput,
@@ -345,6 +354,7 @@ export type ServiceInputTypes =
345
354
  | GetRuntimeManagementConfigCommandInput
346
355
  | InvokeAsyncCommandInput
347
356
  | InvokeCommandInput
357
+ | InvokeWithResponseStreamCommandInput
348
358
  | ListAliasesCommandInput
349
359
  | ListCodeSigningConfigsCommandInput
350
360
  | ListEventSourceMappingsCommandInput
@@ -411,6 +421,7 @@ export type ServiceOutputTypes =
411
421
  | GetRuntimeManagementConfigCommandOutput
412
422
  | InvokeAsyncCommandOutput
413
423
  | InvokeCommandOutput
424
+ | InvokeWithResponseStreamCommandOutput
414
425
  | ListAliasesCommandOutput
415
426
  | ListCodeSigningConfigsCommandOutput
416
427
  | ListEventSourceMappingsCommandOutput
@@ -463,6 +474,7 @@ export interface ClientDefaults
463
474
  maxAttempts?: number | __Provider<number>;
464
475
  retryMode?: string | __Provider<string>;
465
476
  logger?: __Logger;
477
+ eventStreamSerdeProvider?: __EventStreamSerdeProvider;
466
478
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
467
479
  }
468
480
  type LambdaClientConfigType = Partial<
@@ -475,6 +487,7 @@ type LambdaClientConfigType = Partial<
475
487
  HostHeaderInputConfig &
476
488
  AwsAuthInputConfig &
477
489
  UserAgentInputConfig &
490
+ EventStreamSerdeInputConfig &
478
491
  ClientInputEndpointParameters;
479
492
  export interface LambdaClientConfig extends LambdaClientConfigType {}
480
493
  type LambdaClientResolvedConfigType =
@@ -486,6 +499,7 @@ type LambdaClientResolvedConfigType =
486
499
  HostHeaderResolvedConfig &
487
500
  AwsAuthResolvedConfig &
488
501
  UserAgentResolvedConfig &
502
+ EventStreamSerdeResolvedConfig &
489
503
  ClientResolvedEndpointParameters;
490
504
  export interface LambdaClientResolvedConfig
491
505
  extends LambdaClientResolvedConfigType {}
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ LambdaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../LambdaClient";
14
+ import {
15
+ InvokeWithResponseStreamRequest,
16
+ InvokeWithResponseStreamResponse,
17
+ } from "../models/models_0";
18
+ export interface InvokeWithResponseStreamCommandInput
19
+ extends InvokeWithResponseStreamRequest {}
20
+ export interface InvokeWithResponseStreamCommandOutput
21
+ extends InvokeWithResponseStreamResponse,
22
+ __MetadataBearer {}
23
+ export declare class InvokeWithResponseStreamCommand extends $Command<
24
+ InvokeWithResponseStreamCommandInput,
25
+ InvokeWithResponseStreamCommandOutput,
26
+ LambdaClientResolvedConfig
27
+ > {
28
+ readonly input: InvokeWithResponseStreamCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: InvokeWithResponseStreamCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: LambdaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ InvokeWithResponseStreamCommandInput,
37
+ InvokeWithResponseStreamCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
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";
@@ -598,11 +598,17 @@ export interface Cors {
598
598
  ExposeHeaders?: string[];
599
599
  MaxAge?: number;
600
600
  }
601
+ export declare const InvokeMode: {
602
+ readonly BUFFERED: "BUFFERED";
603
+ readonly RESPONSE_STREAM: "RESPONSE_STREAM";
604
+ };
605
+ export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode];
601
606
  export interface CreateFunctionUrlConfigRequest {
602
607
  FunctionName: string | undefined;
603
608
  Qualifier?: string;
604
609
  AuthType: FunctionUrlAuthType | string | undefined;
605
610
  Cors?: Cors;
611
+ InvokeMode?: InvokeMode | string;
606
612
  }
607
613
  export interface CreateFunctionUrlConfigResponse {
608
614
  FunctionUrl: string | undefined;
@@ -610,6 +616,7 @@ export interface CreateFunctionUrlConfigResponse {
610
616
  AuthType: FunctionUrlAuthType | string | undefined;
611
617
  Cors?: Cors;
612
618
  CreationTime: string | undefined;
619
+ InvokeMode?: InvokeMode | string;
613
620
  }
614
621
  export interface DeleteAliasRequest {
615
622
  FunctionName: string | undefined;
@@ -733,6 +740,7 @@ export interface GetFunctionUrlConfigResponse {
733
740
  Cors?: Cors;
734
741
  CreationTime: string | undefined;
735
742
  LastModifiedTime: string | undefined;
743
+ InvokeMode?: InvokeMode | string;
736
744
  }
737
745
  export interface GetLayerVersionRequest {
738
746
  LayerName: string | undefined;
@@ -1070,6 +1078,64 @@ export interface InvokeAsyncRequest {
1070
1078
  export interface InvokeAsyncResponse {
1071
1079
  Status?: number;
1072
1080
  }
1081
+ export declare const ResponseStreamingInvocationType: {
1082
+ readonly DryRun: "DryRun";
1083
+ readonly RequestResponse: "RequestResponse";
1084
+ };
1085
+ export type ResponseStreamingInvocationType =
1086
+ (typeof ResponseStreamingInvocationType)[keyof typeof ResponseStreamingInvocationType];
1087
+ export interface InvokeWithResponseStreamRequest {
1088
+ FunctionName: string | undefined;
1089
+ InvocationType?: ResponseStreamingInvocationType | string;
1090
+ LogType?: LogType | string;
1091
+ ClientContext?: string;
1092
+ Qualifier?: string;
1093
+ Payload?: Uint8Array;
1094
+ }
1095
+ export interface InvokeWithResponseStreamCompleteEvent {
1096
+ ErrorCode?: string;
1097
+ ErrorDetails?: string;
1098
+ LogResult?: string;
1099
+ }
1100
+ export interface InvokeResponseStreamUpdate {
1101
+ Payload?: Uint8Array;
1102
+ }
1103
+ export type InvokeWithResponseStreamResponseEvent =
1104
+ | InvokeWithResponseStreamResponseEvent.InvokeCompleteMember
1105
+ | InvokeWithResponseStreamResponseEvent.PayloadChunkMember
1106
+ | InvokeWithResponseStreamResponseEvent.$UnknownMember;
1107
+ export declare namespace InvokeWithResponseStreamResponseEvent {
1108
+ interface PayloadChunkMember {
1109
+ PayloadChunk: InvokeResponseStreamUpdate;
1110
+ InvokeComplete?: never;
1111
+ $unknown?: never;
1112
+ }
1113
+ interface InvokeCompleteMember {
1114
+ PayloadChunk?: never;
1115
+ InvokeComplete: InvokeWithResponseStreamCompleteEvent;
1116
+ $unknown?: never;
1117
+ }
1118
+ interface $UnknownMember {
1119
+ PayloadChunk?: never;
1120
+ InvokeComplete?: never;
1121
+ $unknown: [string, any];
1122
+ }
1123
+ interface Visitor<T> {
1124
+ PayloadChunk: (value: InvokeResponseStreamUpdate) => T;
1125
+ InvokeComplete: (value: InvokeWithResponseStreamCompleteEvent) => T;
1126
+ _: (name: string, value: any) => T;
1127
+ }
1128
+ const visit: <T>(
1129
+ value: InvokeWithResponseStreamResponseEvent,
1130
+ visitor: Visitor<T>
1131
+ ) => T;
1132
+ }
1133
+ export interface InvokeWithResponseStreamResponse {
1134
+ StatusCode?: number;
1135
+ ExecutedVersion?: string;
1136
+ EventStream?: AsyncIterable<InvokeWithResponseStreamResponseEvent>;
1137
+ ResponseStreamContentType?: string;
1138
+ }
1073
1139
  export interface ListAliasesRequest {
1074
1140
  FunctionName: string | undefined;
1075
1141
  FunctionVersion?: string;
@@ -1143,6 +1209,7 @@ export interface FunctionUrlConfig {
1143
1209
  LastModifiedTime: string | undefined;
1144
1210
  Cors?: Cors;
1145
1211
  AuthType: FunctionUrlAuthType | string | undefined;
1212
+ InvokeMode?: InvokeMode | string;
1146
1213
  }
1147
1214
  export interface ListFunctionUrlConfigsResponse {
1148
1215
  FunctionUrlConfigs: FunctionUrlConfig[] | undefined;
@@ -1389,6 +1456,7 @@ export interface UpdateFunctionUrlConfigRequest {
1389
1456
  Qualifier?: string;
1390
1457
  AuthType?: FunctionUrlAuthType | string;
1391
1458
  Cors?: Cors;
1459
+ InvokeMode?: InvokeMode | string;
1392
1460
  }
1393
1461
  export interface UpdateFunctionUrlConfigResponse {
1394
1462
  FunctionUrl: string | undefined;
@@ -1397,6 +1465,7 @@ export interface UpdateFunctionUrlConfigResponse {
1397
1465
  Cors?: Cors;
1398
1466
  CreationTime: string | undefined;
1399
1467
  LastModifiedTime: string | undefined;
1468
+ InvokeMode?: InvokeMode | string;
1400
1469
  }
1401
1470
  export declare const FunctionCodeFilterSensitiveLog: (obj: FunctionCode) => any;
1402
1471
  export declare const EnvironmentFilterSensitiveLog: (obj: Environment) => any;
@@ -1436,6 +1505,18 @@ export declare const InvocationResponseFilterSensitiveLog: (
1436
1505
  export declare const InvokeAsyncRequestFilterSensitiveLog: (
1437
1506
  obj: InvokeAsyncRequest
1438
1507
  ) => any;
1508
+ export declare const InvokeWithResponseStreamRequestFilterSensitiveLog: (
1509
+ obj: InvokeWithResponseStreamRequest
1510
+ ) => any;
1511
+ export declare const InvokeResponseStreamUpdateFilterSensitiveLog: (
1512
+ obj: InvokeResponseStreamUpdate
1513
+ ) => any;
1514
+ export declare const InvokeWithResponseStreamResponseEventFilterSensitiveLog: (
1515
+ obj: InvokeWithResponseStreamResponseEvent
1516
+ ) => any;
1517
+ export declare const InvokeWithResponseStreamResponseFilterSensitiveLog: (
1518
+ obj: InvokeWithResponseStreamResponse
1519
+ ) => any;
1439
1520
  export declare const ListFunctionsResponseFilterSensitiveLog: (
1440
1521
  obj: ListFunctionsResponse
1441
1522
  ) => any;