@aws-sdk/client-lex-runtime-service 3.337.0 → 3.341.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/LexRuntimeServiceClient.js +2 -1
- package/dist-cjs/commands/DeleteSessionCommand.js +2 -1
- package/dist-cjs/commands/GetSessionCommand.js +2 -1
- package/dist-cjs/commands/PostContentCommand.js +2 -1
- package/dist-cjs/commands/PostTextCommand.js +2 -1
- package/dist-cjs/commands/PutSessionCommand.js +2 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/models/LexRuntimeServiceServiceException.js +2 -1
- package/dist-es/LexRuntimeServiceClient.js +1 -0
- package/dist-es/commands/DeleteSessionCommand.js +1 -0
- package/dist-es/commands/GetSessionCommand.js +1 -0
- package/dist-es/commands/PostContentCommand.js +1 -0
- package/dist-es/commands/PostTextCommand.js +1 -0
- package/dist-es/commands/PutSessionCommand.js +1 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/LexRuntimeServiceServiceException.js +1 -0
- package/dist-types/LexRuntimeServiceClient.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/PostContentCommand.d.ts +4 -0
- package/dist-types/commands/PostTextCommand.d.ts +4 -0
- package/dist-types/commands/PutSessionCommand.d.ts +4 -0
- package/dist-types/index.d.ts +17 -1
- package/dist-types/models/LexRuntimeServiceServiceException.d.ts +1 -0
- package/dist-types/ts3.4/LexRuntimeServiceClient.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/PostContentCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/PostTextCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/LexRuntimeServiceServiceException.d.ts +1 -0
- package/package.json +30 -30
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LexRuntimeServiceClient = void 0;
|
|
3
|
+
exports.LexRuntimeServiceClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class LexRuntimeServiceClient 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.PostContentCommand = void 0;
|
|
3
|
+
exports.PostContentCommand = 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 PostContentCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PostTextCommand = void 0;
|
|
3
|
+
exports.PostTextCommand = 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 PostTextCommand 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 {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LexRuntimeServiceServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./LexRuntimeService"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./LexRuntimeServiceClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./LexRuntimeService"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
9
|
var LexRuntimeServiceServiceException_1 = require("./models/LexRuntimeServiceServiceException");
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LexRuntimeServiceServiceException = void 0;
|
|
3
|
+
exports.LexRuntimeServiceServiceException = 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 LexRuntimeServiceServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class LexRuntimeServiceClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
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 { PostContentRequestFilterSensitiveLog, PostContentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_PostContentCommand, se_PostContentCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class PostContentCommand 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 { PostTextRequestFilterSensitiveLog, PostTextResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_PostTextCommand, se_PostTextCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class PostTextCommand 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 {
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./LexRuntimeService";
|
|
2
1
|
export * from "./LexRuntimeServiceClient";
|
|
2
|
+
export * from "./LexRuntimeService";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./models";
|
|
5
5
|
export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";
|
|
@@ -14,6 +14,7 @@ import { PostContentCommandInput, PostContentCommandOutput } from "./commands/Po
|
|
|
14
14
|
import { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
|
|
15
15
|
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
16
16
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
17
|
+
export { __Client };
|
|
17
18
|
/**
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
@@ -133,7 +134,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
133
134
|
/**
|
|
134
135
|
* @public
|
|
135
136
|
*/
|
|
136
|
-
type LexRuntimeServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
137
|
+
export type LexRuntimeServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
137
138
|
/**
|
|
138
139
|
* @public
|
|
139
140
|
*
|
|
@@ -144,7 +145,7 @@ export interface LexRuntimeServiceClientConfig extends LexRuntimeServiceClientCo
|
|
|
144
145
|
/**
|
|
145
146
|
* @public
|
|
146
147
|
*/
|
|
147
|
-
type LexRuntimeServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
148
|
+
export type LexRuntimeServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
148
149
|
/**
|
|
149
150
|
* @public
|
|
150
151
|
*
|
|
@@ -180,4 +181,3 @@ export declare class LexRuntimeServiceClient extends __Client<__HttpHandlerOptio
|
|
|
180
181
|
*/
|
|
181
182
|
destroy(): void;
|
|
182
183
|
}
|
|
183
|
-
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 { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
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 { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
5
5
|
import { GetSessionRequest, GetSessionResponse } 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 { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
6
6
|
import { PostContentRequest, PostContentResponse } 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 { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
5
5
|
import { PostTextRequest, PostTextResponse } 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 { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
5
5
|
import { PutSessionRequest, PutSessionResponse } 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,21 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <p>Amazon Lex provides both build and runtime endpoints. Each endpoint
|
|
3
|
+
* provides a set of operations (API). Your conversational bot uses the
|
|
4
|
+
* runtime API to understand user utterances (user input text or voice). For
|
|
5
|
+
* example, suppose a user says "I want pizza", your bot sends this input to
|
|
6
|
+
* Amazon Lex using the runtime API. Amazon Lex recognizes that the user
|
|
7
|
+
* request is for the OrderPizza intent (one of the intents defined in the
|
|
8
|
+
* bot). Then Amazon Lex engages in user conversation on behalf of the bot to
|
|
9
|
+
* elicit required information (slot values, such as pizza size and crust
|
|
10
|
+
* type), and then performs fulfillment activity (that you configured when
|
|
11
|
+
* you created the bot). You use the build-time API to create and manage your
|
|
12
|
+
* Amazon Lex bot. For a list of build-time operations, see the build-time
|
|
13
|
+
* API, . </p>
|
|
14
|
+
*
|
|
15
|
+
* @packageDocumentation
|
|
16
|
+
*/
|
|
2
17
|
export * from "./LexRuntimeServiceClient";
|
|
18
|
+
export * from "./LexRuntimeService";
|
|
3
19
|
export * from "./commands";
|
|
4
20
|
export * from "./models";
|
|
5
21
|
export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";
|
|
@@ -72,6 +72,7 @@ import {
|
|
|
72
72
|
ClientResolvedEndpointParameters,
|
|
73
73
|
EndpointParameters,
|
|
74
74
|
} from "./endpoint/EndpointParameters";
|
|
75
|
+
export { __Client };
|
|
75
76
|
export type ServiceInputTypes =
|
|
76
77
|
| DeleteSessionCommandInput
|
|
77
78
|
| GetSessionCommandInput
|
|
@@ -109,7 +110,7 @@ export interface ClientDefaults
|
|
|
109
110
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
110
111
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
111
112
|
}
|
|
112
|
-
type LexRuntimeServiceClientConfigType = Partial<
|
|
113
|
+
export type LexRuntimeServiceClientConfigType = Partial<
|
|
113
114
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
114
115
|
> &
|
|
115
116
|
ClientDefaults &
|
|
@@ -122,7 +123,7 @@ type LexRuntimeServiceClientConfigType = Partial<
|
|
|
122
123
|
ClientInputEndpointParameters;
|
|
123
124
|
export interface LexRuntimeServiceClientConfig
|
|
124
125
|
extends LexRuntimeServiceClientConfigType {}
|
|
125
|
-
type LexRuntimeServiceClientResolvedConfigType =
|
|
126
|
+
export type LexRuntimeServiceClientResolvedConfigType =
|
|
126
127
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
127
128
|
Required<ClientDefaults> &
|
|
128
129
|
RegionResolvedConfig &
|
|
@@ -144,4 +145,3 @@ export declare class LexRuntimeServiceClient extends __Client<
|
|
|
144
145
|
constructor(configuration: LexRuntimeServiceClientConfig);
|
|
145
146
|
destroy(): void;
|
|
146
147
|
}
|
|
147
|
-
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 "../LexRuntimeServiceClient";
|
|
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 "../LexRuntimeServiceClient";
|
|
15
15
|
import { PostContentRequest, PostContentResponse } from "../models/models_0";
|
|
16
|
+
export { __MetadataBearer, $Command };
|
|
16
17
|
export type PostContentCommandInputType = Pick<
|
|
17
18
|
PostContentRequest,
|
|
18
19
|
Exclude<keyof PostContentRequest, "inputStream">
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../LexRuntimeServiceClient";
|
|
14
14
|
import { PostTextRequest, PostTextResponse } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface PostTextCommandInput extends PostTextRequest {}
|
|
16
17
|
export interface PostTextCommandOutput
|
|
17
18
|
extends PostTextResponse,
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
ServiceOutputTypes,
|
|
14
14
|
} from "../LexRuntimeServiceClient";
|
|
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">,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./LexRuntimeService";
|
|
2
1
|
export * from "./LexRuntimeServiceClient";
|
|
2
|
+
export * from "./LexRuntimeService";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./models";
|
|
5
5
|
export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";
|
|
@@ -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 LexRuntimeServiceServiceException 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-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.341.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",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/config-resolver": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
29
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
30
|
-
"@aws-sdk/hash-node": "3.
|
|
31
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
32
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
33
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
34
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
35
|
-
"@aws-sdk/middleware-logger": "3.
|
|
36
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
37
|
-
"@aws-sdk/middleware-retry": "3.
|
|
38
|
-
"@aws-sdk/middleware-serde": "3.
|
|
39
|
-
"@aws-sdk/middleware-signing": "3.
|
|
40
|
-
"@aws-sdk/middleware-stack": "3.
|
|
41
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
42
|
-
"@aws-sdk/node-config-provider": "3.
|
|
43
|
-
"@aws-sdk/node-http-handler": "3.
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
-
"@aws-sdk/types": "3.
|
|
46
|
-
"@aws-sdk/url-parser": "3.
|
|
26
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
27
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
30
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
31
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
40
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
41
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
42
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
43
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
44
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
45
|
+
"@aws-sdk/types": "3.341.0",
|
|
46
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
47
47
|
"@aws-sdk/util-base64": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
52
|
-
"@aws-sdk/util-endpoints": "3.
|
|
53
|
-
"@aws-sdk/util-retry": "3.
|
|
54
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
55
|
-
"@aws-sdk/util-stream-node": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
54
|
+
"@aws-sdk/util-stream-browser": "3.341.0",
|
|
55
|
+
"@aws-sdk/util-stream-node": "3.341.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
58
58
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
59
59
|
"@smithy/protocol-http": "^1.0.1",
|
|
60
60
|
"@smithy/types": "^1.0.0",
|