@aws-sdk/client-lex-runtime-v2 3.1077.0 → 3.1078.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/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
3
3
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
4
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
- exports.$Command = Command;
4
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
5
+ const { Command: $Command } = require("@smithy/core/client");
6
+ exports.$Command = $Command;
6
7
  exports.__Client = Client;
7
8
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
8
9
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -71,7 +72,7 @@ const commonParams = {
71
72
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
72
73
  };
73
74
 
74
- var version = "3.1076.0";
75
+ var version = "3.1077.0";
75
76
  var packageInfo = {
76
77
  version: version};
77
78
 
@@ -900,84 +901,29 @@ class LexRuntimeV2Client extends Client {
900
901
  }
901
902
  }
902
903
 
903
- class DeleteSessionCommand extends Command
904
- .classBuilder()
905
- .ep(commonParams)
906
- .m(function (Command, cs, config, o) {
907
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
908
- })
909
- .s("AWSDeepSenseRunTimeServiceApi2_0", "DeleteSession", {})
910
- .n("LexRuntimeV2Client", "DeleteSessionCommand")
911
- .sc(DeleteSession$)
912
- .build() {
904
+ const command = makeBuilder(commonParams, "AWSDeepSenseRunTimeServiceApi2_0", "LexRuntimeV2Client", getEndpointPlugin);
905
+ const _ep0 = {};
906
+ const _mw0 = (Command, cs, config, o) => [];
907
+ const _mw1 = (Command, cs, config, o) => [
908
+ getEventStreamPlugin(config),
909
+ ];
910
+
911
+ class DeleteSessionCommand extends command(_ep0, _mw0, "DeleteSession", DeleteSession$) {
913
912
  }
914
913
 
915
- class GetSessionCommand extends Command
916
- .classBuilder()
917
- .ep(commonParams)
918
- .m(function (Command, cs, config, o) {
919
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
920
- })
921
- .s("AWSDeepSenseRunTimeServiceApi2_0", "GetSession", {})
922
- .n("LexRuntimeV2Client", "GetSessionCommand")
923
- .sc(GetSession$)
924
- .build() {
914
+ class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
925
915
  }
926
916
 
927
- class PutSessionCommand extends Command
928
- .classBuilder()
929
- .ep(commonParams)
930
- .m(function (Command, cs, config, o) {
931
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
932
- })
933
- .s("AWSDeepSenseRunTimeServiceApi2_0", "PutSession", {})
934
- .n("LexRuntimeV2Client", "PutSessionCommand")
935
- .sc(PutSession$)
936
- .build() {
917
+ class PutSessionCommand extends command(_ep0, _mw0, "PutSession", PutSession$) {
937
918
  }
938
919
 
939
- class RecognizeTextCommand extends Command
940
- .classBuilder()
941
- .ep(commonParams)
942
- .m(function (Command, cs, config, o) {
943
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
944
- })
945
- .s("AWSDeepSenseRunTimeServiceApi2_0", "RecognizeText", {})
946
- .n("LexRuntimeV2Client", "RecognizeTextCommand")
947
- .sc(RecognizeText$)
948
- .build() {
920
+ class RecognizeTextCommand extends command(_ep0, _mw0, "RecognizeText", RecognizeText$) {
949
921
  }
950
922
 
951
- class RecognizeUtteranceCommand extends Command
952
- .classBuilder()
953
- .ep(commonParams)
954
- .m(function (Command, cs, config, o) {
955
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
956
- })
957
- .s("AWSDeepSenseRunTimeServiceApi2_0", "RecognizeUtterance", {})
958
- .n("LexRuntimeV2Client", "RecognizeUtteranceCommand")
959
- .sc(RecognizeUtterance$)
960
- .build() {
923
+ class RecognizeUtteranceCommand extends command(_ep0, _mw0, "RecognizeUtterance", RecognizeUtterance$) {
961
924
  }
962
925
 
963
- class StartConversationCommand extends Command
964
- .classBuilder()
965
- .ep(commonParams)
966
- .m(function (Command, cs, config, o) {
967
- return [
968
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
969
- getEventStreamPlugin(config),
970
- ];
971
- })
972
- .s("AWSDeepSenseRunTimeServiceApi2_0", "StartConversation", {
973
- eventStream: {
974
- input: true,
975
- output: true,
976
- },
977
- })
978
- .n("LexRuntimeV2Client", "StartConversationCommand")
979
- .sc(StartConversation$)
980
- .build() {
926
+ class StartConversationCommand extends command(_ep0, _mw1, "StartConversation", StartConversation$) {
981
927
  }
982
928
 
983
929
  const commands = {
@@ -0,0 +1,10 @@
1
+ import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
+ import { makeBuilder } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
+ import { commonParams } from "./endpoint/EndpointParameters";
5
+ export const command = makeBuilder(commonParams, "AWSDeepSenseRunTimeServiceApi2_0", "LexRuntimeV2Client", getEndpointPlugin);
6
+ export const _ep0 = {};
7
+ export const _mw0 = (Command, cs, config, o) => [];
8
+ export const _mw1 = (Command, cs, config, o) => [
9
+ getEventStreamPlugin(config),
10
+ ];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseRunTimeServiceApi2_0", "DeleteSession", {})
13
- .n("LexRuntimeV2Client", "DeleteSessionCommand")
14
- .sc(DeleteSession$)
15
- .build() {
3
+ export class DeleteSessionCommand extends command(_ep0, _mw0, "DeleteSession", DeleteSession$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseRunTimeServiceApi2_0", "GetSession", {})
13
- .n("LexRuntimeV2Client", "GetSessionCommand")
14
- .sc(GetSession$)
15
- .build() {
3
+ export class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseRunTimeServiceApi2_0", "PutSession", {})
13
- .n("LexRuntimeV2Client", "PutSessionCommand")
14
- .sc(PutSession$)
15
- .build() {
3
+ export class PutSessionCommand extends command(_ep0, _mw0, "PutSession", PutSession$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RecognizeText$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RecognizeTextCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseRunTimeServiceApi2_0", "RecognizeText", {})
13
- .n("LexRuntimeV2Client", "RecognizeTextCommand")
14
- .sc(RecognizeText$)
15
- .build() {
3
+ export class RecognizeTextCommand extends command(_ep0, _mw0, "RecognizeText", RecognizeText$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RecognizeUtterance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RecognizeUtteranceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSDeepSenseRunTimeServiceApi2_0", "RecognizeUtterance", {})
13
- .n("LexRuntimeV2Client", "RecognizeUtteranceCommand")
14
- .sc(RecognizeUtterance$)
15
- .build() {
3
+ export class RecognizeUtteranceCommand extends command(_ep0, _mw0, "RecognizeUtterance", RecognizeUtterance$) {
16
4
  }
@@ -1,25 +1,4 @@
1
- import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
- import { Command as $Command } from "@smithy/core/client";
3
- import { getEndpointPlugin } from "@smithy/core/endpoints";
4
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw1, command } from "../commandBuilder";
5
2
  import { StartConversation$ } from "../schemas/schemas_0";
6
- export { $Command };
7
- export class StartConversationCommand extends $Command
8
- .classBuilder()
9
- .ep(commonParams)
10
- .m(function (Command, cs, config, o) {
11
- return [
12
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
- getEventStreamPlugin(config),
14
- ];
15
- })
16
- .s("AWSDeepSenseRunTimeServiceApi2_0", "StartConversation", {
17
- eventStream: {
18
- input: true,
19
- output: true,
20
- },
21
- })
22
- .n("LexRuntimeV2Client", "StartConversationCommand")
23
- .sc(StartConversation$)
24
- .build() {
3
+ export class StartConversationCommand extends command(_ep0, _mw1, "StartConversation", StartConversation$) {
25
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./LexRuntimeV2Client";
2
2
  export * from "./LexRuntimeV2";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -0,0 +1,22 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./LexRuntimeV2Client";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare const _mw1: (Command: any, cs: any, config: any, o: any) => import("@smithy/types").Pluggable<any, any>[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
2
  import type { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteSessionCommandInput extends DeleteSessionRequest {
22
19
  export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteSessionCommand_base: {
25
- new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Removes session information for a specified bot, alias, and user ID. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
2
  import type { GetSessionRequest, GetSessionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetSessionCommandInput extends GetSessionRequest {
22
19
  export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetSessionCommand_base: {
25
- new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns session information for a specified bot, alias, and
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
- import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
2
  import type { PutSessionRequest, PutSessionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -23,11 +20,9 @@ export interface PutSessionCommandOutput extends Omit<PutSessionResponse, "audio
23
20
  audioStream?: StreamingBlobPayloadOutputTypes;
24
21
  }
25
22
  declare const PutSessionCommand_base: {
26
- new (input: PutSessionCommandInput): import("@smithy/core/client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- new (input: PutSessionCommandInput): import("@smithy/core/client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
23
+ new (input: PutSessionCommandInput): import("@smithy/core/client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ new (input: PutSessionCommandInput): import("@smithy/core/client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
26
  };
32
27
  /**
33
28
  * <p>Creates a new session or modifies an existing session with an Amazon Lex V2
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
2
  import type { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface RecognizeTextCommandInput extends RecognizeTextRequest {
22
19
  export interface RecognizeTextCommandOutput extends RecognizeTextResponse, __MetadataBearer {
23
20
  }
24
21
  declare const RecognizeTextCommand_base: {
25
- new (input: RecognizeTextCommandInput): import("@smithy/core/client").CommandImpl<RecognizeTextCommandInput, RecognizeTextCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: RecognizeTextCommandInput): import("@smithy/core/client").CommandImpl<RecognizeTextCommandInput, RecognizeTextCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: RecognizeTextCommandInput): import("@smithy/core/client").CommandImpl<RecognizeTextCommandInput, RecognizeTextCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RecognizeTextCommandInput): import("@smithy/core/client").CommandImpl<RecognizeTextCommandInput, RecognizeTextCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Sends user input to Amazon Lex V2. Client applications use this API to send
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes, StreamingBlobPayloadOutputTypes } from "@smithy/types";
3
- import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
2
  import type { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -24,11 +21,9 @@ export interface RecognizeUtteranceCommandOutput extends Omit<RecognizeUtterance
24
21
  audioStream?: StreamingBlobPayloadOutputTypes;
25
22
  }
26
23
  declare const RecognizeUtteranceCommand_base: {
27
- new (input: RecognizeUtteranceCommandInput): import("@smithy/core/client").CommandImpl<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- new (input: RecognizeUtteranceCommandInput): import("@smithy/core/client").CommandImpl<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
29
- getEndpointParameterInstructions(): {
30
- [x: string]: unknown;
31
- };
24
+ new (input: RecognizeUtteranceCommandInput): import("@smithy/core/client").CommandImpl<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
25
+ new (input: RecognizeUtteranceCommandInput): import("@smithy/core/client").CommandImpl<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
32
27
  };
33
28
  /**
34
29
  * <p>Sends user input to Amazon Lex V2. You can send text or speech. Clients use
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeV2Client";
4
2
  import type { StartConversationRequest, StartConversationResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface StartConversationCommandInput extends StartConversationRequest
22
19
  export interface StartConversationCommandOutput extends StartConversationResponse, __MetadataBearer {
23
20
  }
24
21
  declare const StartConversationCommand_base: {
25
- new (input: StartConversationCommandInput): import("@smithy/core/client").CommandImpl<StartConversationCommandInput, StartConversationCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartConversationCommandInput): import("@smithy/core/client").CommandImpl<StartConversationCommandInput, StartConversationCommandOutput, LexRuntimeV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StartConversationCommandInput): import("@smithy/core/client").CommandImpl<StartConversationCommandInput, StartConversationCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartConversationCommandInput): import("@smithy/core/client").CommandImpl<StartConversationCommandInput, StartConversationCommandOutput, import("..").LexRuntimeV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Starts an HTTP/2 bidirectional event stream that enables you to send
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { LexRuntimeV2ExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./models/enums";
14
15
  export * from "./models/errors";
@@ -0,0 +1,52 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ LexRuntimeV2ClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./LexRuntimeV2Client";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ LexRuntimeV2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ LexRuntimeV2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
47
+ export declare const _mw1: (
48
+ Command: any,
49
+ cs: any,
50
+ config: any,
51
+ o: any
52
+ ) => import("@smithy/types").Pluggable<any, any>[];
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- LexRuntimeV2ClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../LexRuntimeV2Client";
8
2
  import {
9
3
  DeleteSessionRequest,
10
4
  DeleteSessionResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface DeleteSessionCommandInput extends DeleteSessionRequest {}
15
8
  export interface DeleteSessionCommandOutput
16
9
  extends DeleteSessionResponse,
@@ -21,22 +14,20 @@ declare const DeleteSessionCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  DeleteSessionCommandInput,
23
16
  DeleteSessionCommandOutput,
24
- LexRuntimeV2ClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").LexRuntimeV2ClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: DeleteSessionCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  DeleteSessionCommandInput,
32
25
  DeleteSessionCommandOutput,
33
- LexRuntimeV2ClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").LexRuntimeV2ClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class DeleteSessionCommand extends DeleteSessionCommand_base {
42
33
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- LexRuntimeV2ClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../LexRuntimeV2Client";
8
2
  import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface GetSessionCommandInput extends GetSessionRequest {}
12
5
  export interface GetSessionCommandOutput
13
6
  extends GetSessionResponse,
@@ -18,22 +11,20 @@ declare const GetSessionCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  GetSessionCommandInput,
20
13
  GetSessionCommandOutput,
21
- LexRuntimeV2ClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").LexRuntimeV2ClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: GetSessionCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  GetSessionCommandInput,
29
22
  GetSessionCommandOutput,
30
- LexRuntimeV2ClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").LexRuntimeV2ClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class GetSessionCommand extends GetSessionCommand_base {
39
30
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import {
3
2
  MetadataBearer as __MetadataBearer,
4
3
  StreamingBlobPayloadOutputTypes,
5
4
  } from "@smithy/types";
6
- import {
7
- LexRuntimeV2ClientResolvedConfig,
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- } from "../LexRuntimeV2Client";
11
5
  import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface PutSessionCommandInput extends PutSessionRequest {}
15
8
  export interface PutSessionCommandOutput
16
9
  extends Pick<
@@ -26,22 +19,20 @@ declare const PutSessionCommand_base: {
26
19
  ): import("@smithy/core/client").CommandImpl<
27
20
  PutSessionCommandInput,
28
21
  PutSessionCommandOutput,
29
- LexRuntimeV2ClientResolvedConfig,
30
- ServiceInputTypes,
31
- ServiceOutputTypes
22
+ import("..").LexRuntimeV2ClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
32
25
  >;
33
26
  new (
34
27
  input: PutSessionCommandInput
35
28
  ): import("@smithy/core/client").CommandImpl<
36
29
  PutSessionCommandInput,
37
30
  PutSessionCommandOutput,
38
- LexRuntimeV2ClientResolvedConfig,
39
- ServiceInputTypes,
40
- ServiceOutputTypes
31
+ import("..").LexRuntimeV2ClientResolvedConfig,
32
+ import("..").ServiceInputTypes,
33
+ import("..").ServiceOutputTypes
41
34
  >;
42
- getEndpointParameterInstructions(): {
43
- [x: string]: unknown;
44
- };
35
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
45
36
  };
46
37
  export declare class PutSessionCommand extends PutSessionCommand_base {
47
38
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- LexRuntimeV2ClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../LexRuntimeV2Client";
8
2
  import {
9
3
  RecognizeTextRequest,
10
4
  RecognizeTextResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface RecognizeTextCommandInput extends RecognizeTextRequest {}
15
8
  export interface RecognizeTextCommandOutput
16
9
  extends RecognizeTextResponse,
@@ -21,22 +14,20 @@ declare const RecognizeTextCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  RecognizeTextCommandInput,
23
16
  RecognizeTextCommandOutput,
24
- LexRuntimeV2ClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").LexRuntimeV2ClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: RecognizeTextCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  RecognizeTextCommandInput,
32
25
  RecognizeTextCommandOutput,
33
- LexRuntimeV2ClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").LexRuntimeV2ClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class RecognizeTextCommand extends RecognizeTextCommand_base {
42
33
  protected static __types: {
@@ -1,20 +1,13 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import {
3
2
  MetadataBearer as __MetadataBearer,
4
3
  StreamingBlobPayloadInputTypes,
5
4
  StreamingBlobPayloadOutputTypes,
6
5
  } from "@smithy/types";
7
- import {
8
- LexRuntimeV2ClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../LexRuntimeV2Client";
12
6
  import {
13
7
  RecognizeUtteranceRequest,
14
8
  RecognizeUtteranceResponse,
15
9
  } from "../models/models_0";
16
10
  export { __MetadataBearer };
17
- export { $Command };
18
11
  export interface RecognizeUtteranceCommandInput
19
12
  extends Pick<
20
13
  RecognizeUtteranceRequest,
@@ -36,22 +29,20 @@ declare const RecognizeUtteranceCommand_base: {
36
29
  ): import("@smithy/core/client").CommandImpl<
37
30
  RecognizeUtteranceCommandInput,
38
31
  RecognizeUtteranceCommandOutput,
39
- LexRuntimeV2ClientResolvedConfig,
40
- ServiceInputTypes,
41
- ServiceOutputTypes
32
+ import("..").LexRuntimeV2ClientResolvedConfig,
33
+ import("..").ServiceInputTypes,
34
+ import("..").ServiceOutputTypes
42
35
  >;
43
36
  new (
44
37
  input: RecognizeUtteranceCommandInput
45
38
  ): import("@smithy/core/client").CommandImpl<
46
39
  RecognizeUtteranceCommandInput,
47
40
  RecognizeUtteranceCommandOutput,
48
- LexRuntimeV2ClientResolvedConfig,
49
- ServiceInputTypes,
50
- ServiceOutputTypes
41
+ import("..").LexRuntimeV2ClientResolvedConfig,
42
+ import("..").ServiceInputTypes,
43
+ import("..").ServiceOutputTypes
51
44
  >;
52
- getEndpointParameterInstructions(): {
53
- [x: string]: unknown;
54
- };
45
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
55
46
  };
56
47
  export declare class RecognizeUtteranceCommand extends RecognizeUtteranceCommand_base {
57
48
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- LexRuntimeV2ClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../LexRuntimeV2Client";
8
2
  import {
9
3
  StartConversationRequest,
10
4
  StartConversationResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartConversationCommandInput
15
8
  extends StartConversationRequest {}
16
9
  export interface StartConversationCommandOutput
@@ -22,22 +15,20 @@ declare const StartConversationCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartConversationCommandInput,
24
17
  StartConversationCommandOutput,
25
- LexRuntimeV2ClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").LexRuntimeV2ClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartConversationCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartConversationCommandInput,
33
26
  StartConversationCommandOutput,
34
- LexRuntimeV2ClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").LexRuntimeV2ClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartConversationCommand extends StartConversationCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { LexRuntimeV2ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
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.1077.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -23,19 +23,19 @@
23
23
  "module": "./dist-es/index.js",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@aws-sdk/core": "^3.974.25",
27
- "@aws-sdk/credential-provider-node": "^3.972.60",
28
- "@aws-sdk/eventstream-handler-node": "^3.972.24",
29
- "@aws-sdk/middleware-eventstream": "^3.972.20",
30
- "@aws-sdk/types": "^3.973.14",
31
- "@smithy/core": "^3.28.0",
32
- "@smithy/fetch-http-handler": "^5.6.1",
33
- "@smithy/node-http-handler": "^4.9.1",
34
- "@smithy/types": "^4.15.0",
26
+ "@aws-sdk/core": "^3.974.26",
27
+ "@aws-sdk/credential-provider-node": "^3.972.61",
28
+ "@aws-sdk/eventstream-handler-node": "^3.972.25",
29
+ "@aws-sdk/middleware-eventstream": "^3.972.21",
30
+ "@aws-sdk/types": "^3.973.15",
31
+ "@smithy/core": "^3.29.0",
32
+ "@smithy/fetch-http-handler": "^5.6.2",
33
+ "@smithy/node-http-handler": "^4.9.2",
34
+ "@smithy/types": "^4.15.1",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@smithy/snapshot-testing": "^2.2.4",
38
+ "@smithy/snapshot-testing": "^2.2.5",
39
39
  "@tsconfig/node20": "20.1.8",
40
40
  "@types/node": "^20.14.8",
41
41
  "concurrently": "7.0.0",