@aws-sdk/client-lex-runtime-v2 3.337.0 → 3.338.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/LexRuntimeV2Client.js +2 -1
- package/dist-cjs/commands/DeleteSessionCommand.js +2 -1
- package/dist-cjs/commands/GetSessionCommand.js +2 -1
- package/dist-cjs/commands/PutSessionCommand.js +2 -1
- package/dist-cjs/commands/RecognizeTextCommand.js +2 -1
- package/dist-cjs/commands/RecognizeUtteranceCommand.js +2 -1
- package/dist-cjs/commands/StartConversationCommand.js +2 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/models/LexRuntimeV2ServiceException.js +2 -1
- package/dist-es/LexRuntimeV2Client.js +1 -0
- package/dist-es/commands/DeleteSessionCommand.js +1 -0
- package/dist-es/commands/GetSessionCommand.js +1 -0
- package/dist-es/commands/PutSessionCommand.js +1 -0
- package/dist-es/commands/RecognizeTextCommand.js +1 -0
- package/dist-es/commands/RecognizeUtteranceCommand.js +1 -0
- package/dist-es/commands/StartConversationCommand.js +1 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/LexRuntimeV2ServiceException.js +1 -0
- package/dist-types/LexRuntimeV2Client.d.ts +3 -3
- package/dist-types/commands/DeleteSessionCommand.d.ts +4 -0
- package/dist-types/commands/GetSessionCommand.d.ts +4 -0
- package/dist-types/commands/PutSessionCommand.d.ts +4 -0
- package/dist-types/commands/RecognizeTextCommand.d.ts +4 -0
- package/dist-types/commands/RecognizeUtteranceCommand.d.ts +4 -0
- package/dist-types/commands/StartConversationCommand.d.ts +4 -0
- package/dist-types/index.d.ts +6 -1
- package/dist-types/models/LexRuntimeV2ServiceException.d.ts +1 -0
- package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/RecognizeTextCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/StartConversationCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/LexRuntimeV2ServiceException.d.ts +1 -0
- package/package.json +35 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LexRuntimeV2Client = void 0;
|
|
3
|
+
exports.LexRuntimeV2Client = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const eventstream_serde_config_resolver_1 = require("@aws-sdk/eventstream-serde-config-resolver");
|
|
6
6
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
@@ -13,6 +13,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
13
13
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
14
14
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
15
15
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
16
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
16
17
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
17
18
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
18
19
|
class LexRuntimeV2Client extends smithy_client_1.Client {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteSessionCommand = void 0;
|
|
3
|
+
exports.DeleteSessionCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class DeleteSessionCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetSessionCommand = void 0;
|
|
3
|
+
exports.GetSessionCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class GetSessionCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutSessionCommand = void 0;
|
|
3
|
+
exports.PutSessionCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class PutSessionCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecognizeTextCommand = void 0;
|
|
3
|
+
exports.RecognizeTextCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class RecognizeTextCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecognizeUtteranceCommand = void 0;
|
|
3
|
+
exports.RecognizeUtteranceCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class RecognizeUtteranceCommand extends smithy_client_1.Command {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartConversationCommand = void 0;
|
|
3
|
+
exports.StartConversationCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_eventstream_1 = require("@aws-sdk/middleware-eventstream");
|
|
6
6
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
11
|
class StartConversationCommand extends smithy_client_1.Command {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LexRuntimeV2ServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./LexRuntimeV2"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./LexRuntimeV2Client"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./LexRuntimeV2"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
9
|
var LexRuntimeV2ServiceException_1 = require("./models/LexRuntimeV2ServiceException");
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LexRuntimeV2ServiceException = void 0;
|
|
3
|
+
exports.LexRuntimeV2ServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class LexRuntimeV2ServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -12,6 +12,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
12
12
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
14
14
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
15
|
+
export { __Client };
|
|
15
16
|
export class LexRuntimeV2Client extends __Client {
|
|
16
17
|
constructor(configuration) {
|
|
17
18
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -2,6 +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 { de_DeleteSessionCommand, se_DeleteSessionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class DeleteSessionCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { GetSessionResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { de_GetSessionCommand, se_GetSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class GetSessionCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { PutSessionRequestFilterSensitiveLog, PutSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_PutSessionCommand, se_PutSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class PutSessionCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { RecognizeTextRequestFilterSensitiveLog, RecognizeTextResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_RecognizeTextCommand, se_RecognizeTextCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class RecognizeTextCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { RecognizeUtteranceRequestFilterSensitiveLog, RecognizeUtteranceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_RecognizeUtteranceCommand, se_RecognizeUtteranceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class RecognizeUtteranceCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -4,6 +4,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { StartConversationRequestFilterSensitiveLog, StartConversationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_StartConversationCommand, se_StartConversationCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
7
8
|
export class StartConversationCommand extends $Command {
|
|
8
9
|
static getEndpointParameterInstructions() {
|
|
9
10
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -17,6 +17,7 @@ import { RecognizeTextCommandInput, RecognizeTextCommandOutput } from "./command
|
|
|
17
17
|
import { RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput } from "./commands/RecognizeUtteranceCommand";
|
|
18
18
|
import { StartConversationCommandInput, StartConversationCommandOutput } from "./commands/StartConversationCommand";
|
|
19
19
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
+
export { __Client };
|
|
20
21
|
/**
|
|
21
22
|
* @public
|
|
22
23
|
*/
|
|
@@ -145,7 +146,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
145
146
|
/**
|
|
146
147
|
* @public
|
|
147
148
|
*/
|
|
148
|
-
type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
|
|
149
|
+
export type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
|
|
149
150
|
/**
|
|
150
151
|
* @public
|
|
151
152
|
*
|
|
@@ -156,7 +157,7 @@ export interface LexRuntimeV2ClientConfig extends LexRuntimeV2ClientConfigType {
|
|
|
156
157
|
/**
|
|
157
158
|
* @public
|
|
158
159
|
*/
|
|
159
|
-
type LexRuntimeV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & EventStreamResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
|
|
160
|
+
export type LexRuntimeV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & EventStreamResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
|
|
160
161
|
/**
|
|
161
162
|
* @public
|
|
162
163
|
*
|
|
@@ -181,4 +182,3 @@ export declare class LexRuntimeV2Client extends __Client<__HttpHandlerOptions, S
|
|
|
181
182
|
*/
|
|
182
183
|
destroy(): void;
|
|
183
184
|
}
|
|
184
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, WithSdkStreamMixin as __WithSdkStreamMixin } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -4,6 +4,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, WithSdkStreamMixin as __WithSdkStreamMixin } from "@aws-sdk/types";
|
|
5
5
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
6
6
|
import { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export { __MetadataBearer, $Command };
|
|
7
11
|
/**
|
|
8
12
|
* @public
|
|
9
13
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
|
|
5
5
|
import { StartConversationRequest, StartConversationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <p>This section contains documentation for the Amazon Lex V2 Runtime V2 API operations.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
2
6
|
export * from "./LexRuntimeV2Client";
|
|
7
|
+
export * from "./LexRuntimeV2";
|
|
3
8
|
export * from "./commands";
|
|
4
9
|
export * from "./models";
|
|
5
10
|
export { LexRuntimeV2ServiceException } from "./models/LexRuntimeV2ServiceException";
|
|
@@ -86,6 +86,7 @@ import {
|
|
|
86
86
|
ClientResolvedEndpointParameters,
|
|
87
87
|
EndpointParameters,
|
|
88
88
|
} from "./endpoint/EndpointParameters";
|
|
89
|
+
export { __Client };
|
|
89
90
|
export type ServiceInputTypes =
|
|
90
91
|
| DeleteSessionCommandInput
|
|
91
92
|
| GetSessionCommandInput
|
|
@@ -127,7 +128,7 @@ export interface ClientDefaults
|
|
|
127
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
128
129
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
129
130
|
}
|
|
130
|
-
type LexRuntimeV2ClientConfigType = Partial<
|
|
131
|
+
export type LexRuntimeV2ClientConfigType = Partial<
|
|
131
132
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
132
133
|
> &
|
|
133
134
|
ClientDefaults &
|
|
@@ -142,7 +143,7 @@ type LexRuntimeV2ClientConfigType = Partial<
|
|
|
142
143
|
ClientInputEndpointParameters;
|
|
143
144
|
export interface LexRuntimeV2ClientConfig
|
|
144
145
|
extends LexRuntimeV2ClientConfigType {}
|
|
145
|
-
type LexRuntimeV2ClientResolvedConfigType =
|
|
146
|
+
export type LexRuntimeV2ClientResolvedConfigType =
|
|
146
147
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
147
148
|
Required<ClientDefaults> &
|
|
148
149
|
RegionResolvedConfig &
|
|
@@ -166,4 +167,3 @@ export declare class LexRuntimeV2Client extends __Client<
|
|
|
166
167
|
constructor(configuration: LexRuntimeV2ClientConfig);
|
|
167
168
|
destroy(): void;
|
|
168
169
|
}
|
|
169
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DeleteSessionRequest,
|
|
16
16
|
DeleteSessionResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DeleteSessionCommandInput extends DeleteSessionRequest {}
|
|
19
20
|
export interface DeleteSessionCommandOutput
|
|
20
21
|
extends DeleteSessionResponse,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../LexRuntimeV2Client";
|
|
14
14
|
import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface GetSessionCommandInput extends GetSessionRequest {}
|
|
16
17
|
export interface GetSessionCommandOutput
|
|
17
18
|
extends GetSessionResponse,
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
ServiceOutputTypes,
|
|
14
14
|
} from "../LexRuntimeV2Client";
|
|
15
15
|
import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
|
|
16
|
+
export { __MetadataBearer, $Command };
|
|
16
17
|
export interface PutSessionCommandInput extends PutSessionRequest {}
|
|
17
18
|
export interface PutSessionCommandOutput
|
|
18
19
|
extends __WithSdkStreamMixin<PutSessionResponse, "audioStream">,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
RecognizeTextRequest,
|
|
16
16
|
RecognizeTextResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface RecognizeTextCommandInput extends RecognizeTextRequest {}
|
|
19
20
|
export interface RecognizeTextCommandOutput
|
|
20
21
|
extends RecognizeTextResponse,
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
RecognizeUtteranceRequest,
|
|
17
17
|
RecognizeUtteranceResponse,
|
|
18
18
|
} from "../models/models_0";
|
|
19
|
+
export { __MetadataBearer, $Command };
|
|
19
20
|
export type RecognizeUtteranceCommandInputType = Pick<
|
|
20
21
|
RecognizeUtteranceRequest,
|
|
21
22
|
Exclude<keyof RecognizeUtteranceRequest, "inputStream">
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
StartConversationRequest,
|
|
16
16
|
StartConversationResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface StartConversationCommandInput
|
|
19
20
|
extends StartConversationRequest {}
|
|
20
21
|
export interface StartConversationCommandOutput
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class LexRuntimeV2ServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
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.338.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",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
28
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
29
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
31
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
32
|
-
"@aws-sdk/hash-node": "3.
|
|
33
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
34
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
35
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
36
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
40
|
-
"@aws-sdk/middleware-retry": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
-
"@aws-sdk/node-http-handler": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.338.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.338.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.338.0",
|
|
27
|
+
"@aws-sdk/eventstream-handler-node": "3.338.0",
|
|
28
|
+
"@aws-sdk/eventstream-serde-browser": "3.338.0",
|
|
29
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.338.0",
|
|
30
|
+
"@aws-sdk/eventstream-serde-node": "3.338.0",
|
|
31
|
+
"@aws-sdk/fetch-http-handler": "3.338.0",
|
|
32
|
+
"@aws-sdk/hash-node": "3.338.0",
|
|
33
|
+
"@aws-sdk/invalid-dependency": "3.338.0",
|
|
34
|
+
"@aws-sdk/middleware-content-length": "3.338.0",
|
|
35
|
+
"@aws-sdk/middleware-endpoint": "3.338.0",
|
|
36
|
+
"@aws-sdk/middleware-eventstream": "3.338.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.338.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.338.0",
|
|
39
|
+
"@aws-sdk/middleware-recursion-detection": "3.338.0",
|
|
40
|
+
"@aws-sdk/middleware-retry": "3.338.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.338.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.338.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.338.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.338.0",
|
|
45
|
+
"@aws-sdk/node-config-provider": "3.338.0",
|
|
46
|
+
"@aws-sdk/node-http-handler": "3.338.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.338.0",
|
|
48
|
+
"@aws-sdk/types": "3.338.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.338.0",
|
|
50
50
|
"@aws-sdk/util-base64": "3.310.0",
|
|
51
51
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
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.
|
|
53
|
+
"@aws-sdk/util-defaults-mode-browser": "3.338.0",
|
|
54
|
+
"@aws-sdk/util-defaults-mode-node": "3.338.0",
|
|
55
|
+
"@aws-sdk/util-endpoints": "3.338.0",
|
|
56
|
+
"@aws-sdk/util-retry": "3.338.0",
|
|
57
|
+
"@aws-sdk/util-stream-browser": "3.338.0",
|
|
58
|
+
"@aws-sdk/util-stream-node": "3.338.0",
|
|
59
|
+
"@aws-sdk/util-user-agent-browser": "3.338.0",
|
|
60
|
+
"@aws-sdk/util-user-agent-node": "3.338.0",
|
|
61
61
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
62
62
|
"@smithy/protocol-http": "^1.0.1",
|
|
63
63
|
"@smithy/types": "^1.0.0",
|