@aws-sdk/client-lex-runtime-v2 3.294.0 → 3.296.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.
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class DeleteSessionCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class DeleteSessionCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteSessionCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class GetSessionCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class GetSessionCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSessionCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class PutSessionCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class PutSessionCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutSessionCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class RecognizeTextCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class RecognizeTextCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RecognizeTextCommand.getEndpointParameterInstructions()));
@@ -7,10 +7,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
9
  class RecognizeUtteranceCommand extends smithy_client_1.Command {
10
- constructor(input) {
11
- super();
12
- this.input = input;
13
- }
14
10
  static getEndpointParameterInstructions() {
15
11
  return {
16
12
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -19,6 +15,10 @@ class RecognizeUtteranceCommand extends smithy_client_1.Command {
19
15
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
16
  };
21
17
  }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
22
  resolveMiddleware(clientStack, configuration, options) {
23
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
24
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RecognizeUtteranceCommand.getEndpointParameterInstructions()));
@@ -8,10 +8,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
10
  class StartConversationCommand extends smithy_client_1.Command {
11
- constructor(input) {
12
- super();
13
- this.input = input;
14
- }
15
11
  static getEndpointParameterInstructions() {
16
12
  return {
17
13
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -20,6 +16,10 @@ class StartConversationCommand extends smithy_client_1.Command {
20
16
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
21
17
  };
22
18
  }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
23
  resolveMiddleware(clientStack, configuration, options) {
24
24
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
25
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartConversationCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteSessionRequestFilterSensitiveLog, DeleteSessionResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteSessionCommand, serializeAws_restJson1DeleteSessionCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteSessionCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DeleteSessionCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSessionCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetSessionRequestFilterSensitiveLog, GetSessionResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetSessionCommand, serializeAws_restJson1GetSessionCommand, } from "../protocols/Aws_restJson1";
6
6
  export class GetSessionCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class GetSessionCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, GetSessionCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { PutSessionRequestFilterSensitiveLog, PutSessionResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1PutSessionCommand, serializeAws_restJson1PutSessionCommand, } from "../protocols/Aws_restJson1";
6
6
  export class PutSessionCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class PutSessionCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, PutSessionCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { RecognizeTextRequestFilterSensitiveLog, RecognizeTextResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1RecognizeTextCommand, serializeAws_restJson1RecognizeTextCommand, } from "../protocols/Aws_restJson1";
6
6
  export class RecognizeTextCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class RecognizeTextCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, RecognizeTextCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { RecognizeUtteranceRequestFilterSensitiveLog, RecognizeUtteranceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1RecognizeUtteranceCommand, serializeAws_restJson1RecognizeUtteranceCommand, } from "../protocols/Aws_restJson1";
6
6
  export class RecognizeUtteranceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class RecognizeUtteranceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, RecognizeUtteranceCommand.getEndpointParameterInstructions()));
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
5
5
  import { StartConversationRequestFilterSensitiveLog, StartConversationResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { deserializeAws_restJson1StartConversationCommand, serializeAws_restJson1StartConversationCommand, } from "../protocols/Aws_restJson1";
7
7
  export class StartConversationCommand extends $Command {
8
- constructor(input) {
9
- super();
10
- this.input = input;
11
- }
12
8
  static getEndpointParameterInstructions() {
13
9
  return {
14
10
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -17,6 +13,10 @@ export class StartConversationCommand extends $Command {
17
13
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
14
  };
19
15
  }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
20
  resolveMiddleware(clientStack, configuration, options) {
21
21
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
22
  this.middlewareStack.use(getEndpointPlugin(configuration, StartConversationCommand.getEndpointParameterInstructions()));
@@ -16,8 +16,8 @@ import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./command
16
16
  import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
17
17
  import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
18
18
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
19
- export declare type ServiceInputTypes = DeleteSessionCommandInput | GetSessionCommandInput | PutSessionCommandInput | RecognizeTextCommandInput | RecognizeUtteranceCommandInput | StartConversationCommandInput;
20
- export declare type ServiceOutputTypes = DeleteSessionCommandOutput | GetSessionCommandOutput | PutSessionCommandOutput | RecognizeTextCommandOutput | RecognizeUtteranceCommandOutput | StartConversationCommandOutput;
19
+ export type ServiceInputTypes = DeleteSessionCommandInput | GetSessionCommandInput | PutSessionCommandInput | RecognizeTextCommandInput | RecognizeUtteranceCommandInput | StartConversationCommandInput;
20
+ export type ServiceOutputTypes = DeleteSessionCommandOutput | GetSessionCommandOutput | PutSessionCommandOutput | RecognizeTextCommandOutput | RecognizeUtteranceCommandOutput | StartConversationCommandOutput;
21
21
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
22
22
  /**
23
23
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -132,13 +132,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
132
132
  */
133
133
  sdkStreamMixin?: __SdkStreamMixinInjector;
134
134
  }
135
- declare type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
135
+ type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
136
136
  /**
137
137
  * The configuration interface of LexRuntimeV2Client class constructor that set the region, credentials and other options.
138
138
  */
139
139
  export interface LexRuntimeV2ClientConfig extends LexRuntimeV2ClientConfigType {
140
140
  }
141
- declare type LexRuntimeV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & EventStreamResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
141
+ type LexRuntimeV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & EventStreamResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
142
142
  /**
143
143
  * The resolved configuration interface of LexRuntimeV2Client class. This is resolved and normalized from the {@link LexRuntimeV2ClientConfig | constructor configuration interface}.
144
144
  */
@@ -7,7 +7,7 @@ import { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models
7
7
  /**
8
8
  * The input for {@link RecognizeUtteranceCommand}.
9
9
  */
10
- declare type RecognizeUtteranceCommandInputType = Omit<RecognizeUtteranceRequest, "inputStream"> & {
10
+ type RecognizeUtteranceCommandInputType = Omit<RecognizeUtteranceRequest, "inputStream"> & {
11
11
  /**
12
12
  * For *`RecognizeUtteranceRequest["inputStream"]`*, see {@link RecognizeUtteranceRequest.inputStream}.
13
13
  */
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
@@ -1291,7 +1291,7 @@ export interface RecognizeTextRequest {
1291
1291
  * <p>Represents a stream of events between your application and
1292
1292
  * Amazon Lex V2.</p>
1293
1293
  */
1294
- export declare type StartConversationRequestEventStream = StartConversationRequestEventStream.AudioInputEventMember | StartConversationRequestEventStream.ConfigurationEventMember | StartConversationRequestEventStream.DTMFInputEventMember | StartConversationRequestEventStream.DisconnectionEventMember | StartConversationRequestEventStream.PlaybackCompletionEventMember | StartConversationRequestEventStream.TextInputEventMember | StartConversationRequestEventStream.$UnknownMember;
1294
+ export type StartConversationRequestEventStream = StartConversationRequestEventStream.AudioInputEventMember | StartConversationRequestEventStream.ConfigurationEventMember | StartConversationRequestEventStream.DTMFInputEventMember | StartConversationRequestEventStream.DisconnectionEventMember | StartConversationRequestEventStream.PlaybackCompletionEventMember | StartConversationRequestEventStream.TextInputEventMember | StartConversationRequestEventStream.$UnknownMember;
1295
1295
  export declare namespace StartConversationRequestEventStream {
1296
1296
  /**
1297
1297
  * <p>Configuration information sent from your client application to
@@ -1552,7 +1552,7 @@ export interface RecognizeTextResponse {
1552
1552
  * <p>Represents a stream of events between Amazon Lex V2 and your
1553
1553
  * application.</p>
1554
1554
  */
1555
- export declare type StartConversationResponseEventStream = StartConversationResponseEventStream.AccessDeniedExceptionMember | StartConversationResponseEventStream.AudioResponseEventMember | StartConversationResponseEventStream.BadGatewayExceptionMember | StartConversationResponseEventStream.ConflictExceptionMember | StartConversationResponseEventStream.DependencyFailedExceptionMember | StartConversationResponseEventStream.HeartbeatEventMember | StartConversationResponseEventStream.IntentResultEventMember | StartConversationResponseEventStream.InternalServerExceptionMember | StartConversationResponseEventStream.PlaybackInterruptionEventMember | StartConversationResponseEventStream.ResourceNotFoundExceptionMember | StartConversationResponseEventStream.TextResponseEventMember | StartConversationResponseEventStream.ThrottlingExceptionMember | StartConversationResponseEventStream.TranscriptEventMember | StartConversationResponseEventStream.ValidationExceptionMember | StartConversationResponseEventStream.$UnknownMember;
1555
+ export type StartConversationResponseEventStream = StartConversationResponseEventStream.AccessDeniedExceptionMember | StartConversationResponseEventStream.AudioResponseEventMember | StartConversationResponseEventStream.BadGatewayExceptionMember | StartConversationResponseEventStream.ConflictExceptionMember | StartConversationResponseEventStream.DependencyFailedExceptionMember | StartConversationResponseEventStream.HeartbeatEventMember | StartConversationResponseEventStream.IntentResultEventMember | StartConversationResponseEventStream.InternalServerExceptionMember | StartConversationResponseEventStream.PlaybackInterruptionEventMember | StartConversationResponseEventStream.ResourceNotFoundExceptionMember | StartConversationResponseEventStream.TextResponseEventMember | StartConversationResponseEventStream.ThrottlingExceptionMember | StartConversationResponseEventStream.TranscriptEventMember | StartConversationResponseEventStream.ValidationExceptionMember | StartConversationResponseEventStream.$UnknownMember;
1556
1556
  export declare namespace StartConversationResponseEventStream {
1557
1557
  /**
1558
1558
  * <p>Event sent from Amazon Lex V2 to indicate to the client application should
@@ -84,14 +84,14 @@ import {
84
84
  ClientResolvedEndpointParameters,
85
85
  EndpointParameters,
86
86
  } from "./endpoint/EndpointParameters";
87
- export declare type ServiceInputTypes =
87
+ export type ServiceInputTypes =
88
88
  | DeleteSessionCommandInput
89
89
  | GetSessionCommandInput
90
90
  | PutSessionCommandInput
91
91
  | RecognizeTextCommandInput
92
92
  | RecognizeUtteranceCommandInput
93
93
  | StartConversationCommandInput;
94
- export declare type ServiceOutputTypes =
94
+ export type ServiceOutputTypes =
95
95
  | DeleteSessionCommandOutput
96
96
  | GetSessionCommandOutput
97
97
  | PutSessionCommandOutput
@@ -125,7 +125,7 @@ export interface ClientDefaults
125
125
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
126
126
  sdkStreamMixin?: __SdkStreamMixinInjector;
127
127
  }
128
- declare type LexRuntimeV2ClientConfigType = Partial<
128
+ type LexRuntimeV2ClientConfigType = Partial<
129
129
  __SmithyConfiguration<__HttpHandlerOptions>
130
130
  > &
131
131
  ClientDefaults &
@@ -140,7 +140,7 @@ declare type LexRuntimeV2ClientConfigType = Partial<
140
140
  ClientInputEndpointParameters;
141
141
  export interface LexRuntimeV2ClientConfig
142
142
  extends LexRuntimeV2ClientConfigType {}
143
- declare type LexRuntimeV2ClientResolvedConfigType =
143
+ type LexRuntimeV2ClientResolvedConfigType =
144
144
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
145
145
  Required<ClientDefaults> &
146
146
  RegionResolvedConfig &
@@ -16,7 +16,7 @@ import {
16
16
  RecognizeUtteranceRequest,
17
17
  RecognizeUtteranceResponse,
18
18
  } from "../models/models_0";
19
- declare type RecognizeUtteranceCommandInputType = Pick<
19
+ type RecognizeUtteranceCommandInputType = Pick<
20
20
  RecognizeUtteranceRequest,
21
21
  Exclude<keyof RecognizeUtteranceRequest, "inputStream">
22
22
  > & {
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
@@ -325,7 +325,7 @@ export interface RecognizeTextRequest {
325
325
  sessionState?: SessionState;
326
326
  requestAttributes?: Record<string, string>;
327
327
  }
328
- export declare type StartConversationRequestEventStream =
328
+ export type StartConversationRequestEventStream =
329
329
  | StartConversationRequestEventStream.AudioInputEventMember
330
330
  | StartConversationRequestEventStream.ConfigurationEventMember
331
331
  | StartConversationRequestEventStream.DTMFInputEventMember
@@ -444,7 +444,7 @@ export interface RecognizeTextResponse {
444
444
  sessionId?: string;
445
445
  recognizedBotMember?: RecognizedBotMember;
446
446
  }
447
- export declare type StartConversationResponseEventStream =
447
+ export type StartConversationResponseEventStream =
448
448
  | StartConversationResponseEventStream.AccessDeniedExceptionMember
449
449
  | StartConversationResponseEventStream.AudioResponseEventMember
450
450
  | StartConversationResponseEventStream.BadGatewayExceptionMember
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-runtime-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
4
- "version": "3.294.0",
4
+ "version": "3.296.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.294.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.294.0",
26
- "@aws-sdk/eventstream-handler-node": "3.292.0",
27
- "@aws-sdk/eventstream-serde-browser": "3.292.0",
28
- "@aws-sdk/eventstream-serde-config-resolver": "3.292.0",
29
- "@aws-sdk/eventstream-serde-node": "3.292.0",
30
- "@aws-sdk/fetch-http-handler": "3.292.0",
31
- "@aws-sdk/hash-node": "3.292.0",
32
- "@aws-sdk/invalid-dependency": "3.292.0",
33
- "@aws-sdk/middleware-content-length": "3.292.0",
34
- "@aws-sdk/middleware-endpoint": "3.292.0",
35
- "@aws-sdk/middleware-eventstream": "3.292.0",
36
- "@aws-sdk/middleware-host-header": "3.292.0",
37
- "@aws-sdk/middleware-logger": "3.292.0",
38
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
39
- "@aws-sdk/middleware-retry": "3.293.0",
40
- "@aws-sdk/middleware-serde": "3.292.0",
41
- "@aws-sdk/middleware-signing": "3.292.0",
42
- "@aws-sdk/middleware-stack": "3.292.0",
43
- "@aws-sdk/middleware-user-agent": "3.293.0",
44
- "@aws-sdk/node-config-provider": "3.292.0",
45
- "@aws-sdk/node-http-handler": "3.292.0",
46
- "@aws-sdk/protocol-http": "3.292.0",
47
- "@aws-sdk/smithy-client": "3.292.0",
48
- "@aws-sdk/types": "3.292.0",
49
- "@aws-sdk/url-parser": "3.292.0",
50
- "@aws-sdk/util-base64": "3.292.0",
51
- "@aws-sdk/util-body-length-browser": "3.292.0",
52
- "@aws-sdk/util-body-length-node": "3.292.0",
53
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
54
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
55
- "@aws-sdk/util-endpoints": "3.293.0",
56
- "@aws-sdk/util-retry": "3.292.0",
57
- "@aws-sdk/util-stream-browser": "3.292.0",
58
- "@aws-sdk/util-stream-node": "3.292.0",
59
- "@aws-sdk/util-user-agent-browser": "3.292.0",
60
- "@aws-sdk/util-user-agent-node": "3.292.0",
61
- "@aws-sdk/util-utf8": "3.292.0",
62
- "tslib": "^2.3.1"
23
+ "@aws-sdk/client-sts": "3.296.0",
24
+ "@aws-sdk/config-resolver": "3.296.0",
25
+ "@aws-sdk/credential-provider-node": "3.296.0",
26
+ "@aws-sdk/eventstream-handler-node": "3.296.0",
27
+ "@aws-sdk/eventstream-serde-browser": "3.296.0",
28
+ "@aws-sdk/eventstream-serde-config-resolver": "3.296.0",
29
+ "@aws-sdk/eventstream-serde-node": "3.296.0",
30
+ "@aws-sdk/fetch-http-handler": "3.296.0",
31
+ "@aws-sdk/hash-node": "3.296.0",
32
+ "@aws-sdk/invalid-dependency": "3.296.0",
33
+ "@aws-sdk/middleware-content-length": "3.296.0",
34
+ "@aws-sdk/middleware-endpoint": "3.296.0",
35
+ "@aws-sdk/middleware-eventstream": "3.296.0",
36
+ "@aws-sdk/middleware-host-header": "3.296.0",
37
+ "@aws-sdk/middleware-logger": "3.296.0",
38
+ "@aws-sdk/middleware-recursion-detection": "3.296.0",
39
+ "@aws-sdk/middleware-retry": "3.296.0",
40
+ "@aws-sdk/middleware-serde": "3.296.0",
41
+ "@aws-sdk/middleware-signing": "3.296.0",
42
+ "@aws-sdk/middleware-stack": "3.296.0",
43
+ "@aws-sdk/middleware-user-agent": "3.296.0",
44
+ "@aws-sdk/node-config-provider": "3.296.0",
45
+ "@aws-sdk/node-http-handler": "3.296.0",
46
+ "@aws-sdk/protocol-http": "3.296.0",
47
+ "@aws-sdk/smithy-client": "3.296.0",
48
+ "@aws-sdk/types": "3.296.0",
49
+ "@aws-sdk/url-parser": "3.296.0",
50
+ "@aws-sdk/util-base64": "3.295.0",
51
+ "@aws-sdk/util-body-length-browser": "3.295.0",
52
+ "@aws-sdk/util-body-length-node": "3.295.0",
53
+ "@aws-sdk/util-defaults-mode-browser": "3.296.0",
54
+ "@aws-sdk/util-defaults-mode-node": "3.296.0",
55
+ "@aws-sdk/util-endpoints": "3.296.0",
56
+ "@aws-sdk/util-retry": "3.296.0",
57
+ "@aws-sdk/util-stream-browser": "3.296.0",
58
+ "@aws-sdk/util-stream-node": "3.296.0",
59
+ "@aws-sdk/util-user-agent-browser": "3.296.0",
60
+ "@aws-sdk/util-user-agent-node": "3.296.0",
61
+ "@aws-sdk/util-utf8": "3.295.0",
62
+ "tslib": "^2.5.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
65
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
66
66
  "@tsconfig/node14": "1.0.3",
67
67
  "@types/node": "^14.14.31",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
71
  "typedoc": "0.23.23",
72
- "typescript": "~4.6.2"
72
+ "typescript": "~4.9.5"
73
73
  },
74
74
  "engines": {
75
75
  "node": ">=14.0.0"