@aws-sdk/client-lex-runtime-v2 3.293.0 → 3.295.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.
- package/dist-cjs/commands/DeleteSessionCommand.js +4 -4
- package/dist-cjs/commands/GetSessionCommand.js +4 -4
- package/dist-cjs/commands/PutSessionCommand.js +4 -4
- package/dist-cjs/commands/RecognizeTextCommand.js +4 -4
- package/dist-cjs/commands/RecognizeUtteranceCommand.js +4 -4
- package/dist-cjs/commands/StartConversationCommand.js +4 -4
- package/dist-es/commands/DeleteSessionCommand.js +4 -4
- package/dist-es/commands/GetSessionCommand.js +4 -4
- package/dist-es/commands/PutSessionCommand.js +4 -4
- package/dist-es/commands/RecognizeTextCommand.js +4 -4
- package/dist-es/commands/RecognizeUtteranceCommand.js +4 -4
- package/dist-es/commands/StartConversationCommand.js +4 -4
- package/dist-types/LexRuntimeV2Client.d.ts +4 -4
- package/dist-types/commands/RecognizeUtteranceCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +4 -4
- package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/dist-types/ts3.4/models/models_0.d.ts +2 -2
- package/package.json +43 -43
|
@@ -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
|
|
20
|
-
export
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
87
|
+
export type ServiceInputTypes =
|
|
88
88
|
| DeleteSessionCommandInput
|
|
89
89
|
| GetSessionCommandInput
|
|
90
90
|
| PutSessionCommandInput
|
|
91
91
|
| RecognizeTextCommandInput
|
|
92
92
|
| RecognizeUtteranceCommandInput
|
|
93
93
|
| StartConversationCommandInput;
|
|
94
|
-
export
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
20
|
-
|
|
21
|
-
|
|
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
|
|
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
|
|
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.
|
|
4
|
+
"version": "3.295.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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
27
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
28
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
30
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
31
|
-
"@aws-sdk/hash-node": "3.
|
|
32
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
33
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
34
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
35
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
37
|
-
"@aws-sdk/middleware-logger": "3.
|
|
38
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64": "3.
|
|
51
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
53
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
54
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
55
|
-
"@aws-sdk/util-endpoints": "3.
|
|
56
|
-
"@aws-sdk/util-retry": "3.
|
|
57
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
58
|
-
"@aws-sdk/util-stream-node": "3.
|
|
59
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
60
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
61
|
-
"@aws-sdk/util-utf8": "3.
|
|
62
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.295.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.295.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.295.0",
|
|
26
|
+
"@aws-sdk/eventstream-handler-node": "3.295.0",
|
|
27
|
+
"@aws-sdk/eventstream-serde-browser": "3.295.0",
|
|
28
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.295.0",
|
|
29
|
+
"@aws-sdk/eventstream-serde-node": "3.295.0",
|
|
30
|
+
"@aws-sdk/fetch-http-handler": "3.295.0",
|
|
31
|
+
"@aws-sdk/hash-node": "3.295.0",
|
|
32
|
+
"@aws-sdk/invalid-dependency": "3.295.0",
|
|
33
|
+
"@aws-sdk/middleware-content-length": "3.295.0",
|
|
34
|
+
"@aws-sdk/middleware-endpoint": "3.295.0",
|
|
35
|
+
"@aws-sdk/middleware-eventstream": "3.295.0",
|
|
36
|
+
"@aws-sdk/middleware-host-header": "3.295.0",
|
|
37
|
+
"@aws-sdk/middleware-logger": "3.295.0",
|
|
38
|
+
"@aws-sdk/middleware-recursion-detection": "3.295.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.295.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.295.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.295.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.295.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.295.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.295.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.295.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.295.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.295.0",
|
|
48
|
+
"@aws-sdk/types": "3.295.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.295.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.295.0",
|
|
54
|
+
"@aws-sdk/util-defaults-mode-node": "3.295.0",
|
|
55
|
+
"@aws-sdk/util-endpoints": "3.295.0",
|
|
56
|
+
"@aws-sdk/util-retry": "3.295.0",
|
|
57
|
+
"@aws-sdk/util-stream-browser": "3.295.0",
|
|
58
|
+
"@aws-sdk/util-stream-node": "3.295.0",
|
|
59
|
+
"@aws-sdk/util-user-agent-browser": "3.295.0",
|
|
60
|
+
"@aws-sdk/util-user-agent-node": "3.295.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.
|
|
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.
|
|
72
|
+
"typescript": "~4.9.5"
|
|
73
73
|
},
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=14.0.0"
|