@aws-sdk/client-lex-runtime-v2 3.477.0 → 3.481.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.
Files changed (29) hide show
  1. package/dist-cjs/commands/DeleteSessionCommand.js +18 -41
  2. package/dist-cjs/commands/GetSessionCommand.js +18 -41
  3. package/dist-cjs/commands/PutSessionCommand.js +18 -41
  4. package/dist-cjs/commands/RecognizeTextCommand.js +18 -41
  5. package/dist-cjs/commands/RecognizeUtteranceCommand.js +18 -41
  6. package/dist-cjs/commands/StartConversationCommand.js +24 -46
  7. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  8. package/dist-es/commands/DeleteSessionCommand.js +18 -41
  9. package/dist-es/commands/GetSessionCommand.js +18 -41
  10. package/dist-es/commands/PutSessionCommand.js +18 -41
  11. package/dist-es/commands/RecognizeTextCommand.js +18 -41
  12. package/dist-es/commands/RecognizeUtteranceCommand.js +18 -41
  13. package/dist-es/commands/StartConversationCommand.js +24 -46
  14. package/dist-es/endpoint/EndpointParameters.js +6 -0
  15. package/dist-types/commands/DeleteSessionCommand.d.ts +6 -21
  16. package/dist-types/commands/GetSessionCommand.d.ts +6 -21
  17. package/dist-types/commands/PutSessionCommand.d.ts +6 -21
  18. package/dist-types/commands/RecognizeTextCommand.d.ts +6 -21
  19. package/dist-types/commands/RecognizeUtteranceCommand.d.ts +6 -21
  20. package/dist-types/commands/StartConversationCommand.d.ts +6 -21
  21. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  22. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +14 -23
  23. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +14 -23
  24. package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +13 -20
  25. package/dist-types/ts3.4/commands/RecognizeTextCommand.d.ts +14 -23
  26. package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +13 -20
  27. package/dist-types/ts3.4/commands/StartConversationCommand.d.ts +14 -23
  28. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  29. package/package.json +11 -11
@@ -1,10 +1,6 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
3
  MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
4
  StreamingBlobPayloadOutputTypes,
9
5
  } from "@smithy/types";
10
6
  import {
@@ -23,19 +19,16 @@ export interface PutSessionCommandOutput
23
19
  __MetadataBearer {
24
20
  audioStream?: StreamingBlobPayloadOutputTypes;
25
21
  }
26
- export declare class PutSessionCommand extends $Command<
27
- PutSessionCommandInput,
28
- PutSessionCommandOutput,
29
- LexRuntimeV2ClientResolvedConfig
30
- > {
31
- readonly input: PutSessionCommandInput;
32
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
- constructor(input: PutSessionCommandInput);
34
- resolveMiddleware(
35
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
36
- configuration: LexRuntimeV2ClientResolvedConfig,
37
- options?: __HttpHandlerOptions
38
- ): Handler<PutSessionCommandInput, PutSessionCommandOutput>;
39
- private serialize;
40
- private deserialize;
41
- }
22
+ declare const PutSessionCommand_base: {
23
+ new (
24
+ input: PutSessionCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ PutSessionCommandInput,
27
+ PutSessionCommandOutput,
28
+ LexRuntimeV2ClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
32
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ };
34
+ export declare class PutSessionCommand extends PutSessionCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  LexRuntimeV2ClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface RecognizeTextCommandInput extends RecognizeTextRequest {}
20
14
  export interface RecognizeTextCommandOutput
21
15
  extends RecognizeTextResponse,
22
16
  __MetadataBearer {}
23
- export declare class RecognizeTextCommand extends $Command<
24
- RecognizeTextCommandInput,
25
- RecognizeTextCommandOutput,
26
- LexRuntimeV2ClientResolvedConfig
27
- > {
28
- readonly input: RecognizeTextCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: RecognizeTextCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: LexRuntimeV2ClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<RecognizeTextCommandInput, RecognizeTextCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const RecognizeTextCommand_base: {
18
+ new (
19
+ input: RecognizeTextCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ RecognizeTextCommandInput,
22
+ RecognizeTextCommandOutput,
23
+ LexRuntimeV2ClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class RecognizeTextCommand extends RecognizeTextCommand_base {}
@@ -1,10 +1,6 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
3
  MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
4
  StreamingBlobPayloadInputTypes,
9
5
  StreamingBlobPayloadOutputTypes,
10
6
  } from "@smithy/types";
@@ -33,19 +29,16 @@ export interface RecognizeUtteranceCommandOutput
33
29
  __MetadataBearer {
34
30
  audioStream?: StreamingBlobPayloadOutputTypes;
35
31
  }
36
- export declare class RecognizeUtteranceCommand extends $Command<
37
- RecognizeUtteranceCommandInput,
38
- RecognizeUtteranceCommandOutput,
39
- LexRuntimeV2ClientResolvedConfig
40
- > {
41
- readonly input: RecognizeUtteranceCommandInput;
42
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
43
- constructor(input: RecognizeUtteranceCommandInput);
44
- resolveMiddleware(
45
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
46
- configuration: LexRuntimeV2ClientResolvedConfig,
47
- options?: __HttpHandlerOptions
48
- ): Handler<RecognizeUtteranceCommandInput, RecognizeUtteranceCommandOutput>;
49
- private serialize;
50
- private deserialize;
51
- }
32
+ declare const RecognizeUtteranceCommand_base: {
33
+ new (
34
+ input: RecognizeUtteranceCommandInput
35
+ ): import("@smithy/smithy-client").CommandImpl<
36
+ RecognizeUtteranceCommandInput,
37
+ RecognizeUtteranceCommandOutput,
38
+ LexRuntimeV2ClientResolvedConfig,
39
+ ServiceInputTypes,
40
+ ServiceOutputTypes
41
+ >;
42
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
43
+ };
44
+ export declare class RecognizeUtteranceCommand extends RecognizeUtteranceCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  LexRuntimeV2ClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,19 +15,16 @@ export interface StartConversationCommandInput
21
15
  export interface StartConversationCommandOutput
22
16
  extends StartConversationResponse,
23
17
  __MetadataBearer {}
24
- export declare class StartConversationCommand extends $Command<
25
- StartConversationCommandInput,
26
- StartConversationCommandOutput,
27
- LexRuntimeV2ClientResolvedConfig
28
- > {
29
- readonly input: StartConversationCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: StartConversationCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: LexRuntimeV2ClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<StartConversationCommandInput, StartConversationCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const StartConversationCommand_base: {
19
+ new (
20
+ input: StartConversationCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ StartConversationCommandInput,
23
+ StartConversationCommandOutput,
24
+ LexRuntimeV2ClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class StartConversationCommand extends StartConversationCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
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.477.0",
4
+ "version": "3.481.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,23 +20,23 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/eventstream-handler-node": "3.468.0",
27
27
  "@aws-sdk/middleware-eventstream": "3.468.0",
28
28
  "@aws-sdk/middleware-host-header": "3.468.0",
29
29
  "@aws-sdk/middleware-logger": "3.468.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
31
31
  "@aws-sdk/middleware-signing": "3.468.0",
32
- "@aws-sdk/middleware-user-agent": "3.470.0",
32
+ "@aws-sdk/middleware-user-agent": "3.478.0",
33
33
  "@aws-sdk/region-config-resolver": "3.470.0",
34
34
  "@aws-sdk/types": "3.468.0",
35
- "@aws-sdk/util-endpoints": "3.470.0",
35
+ "@aws-sdk/util-endpoints": "3.478.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.468.0",
37
37
  "@aws-sdk/util-user-agent-node": "3.470.0",
38
38
  "@smithy/config-resolver": "^2.0.21",
39
- "@smithy/core": "^1.2.0",
39
+ "@smithy/core": "^1.2.1",
40
40
  "@smithy/eventstream-serde-browser": "^2.0.15",
41
41
  "@smithy/eventstream-serde-config-resolver": "^2.0.15",
42
42
  "@smithy/eventstream-serde-node": "^2.0.15",
@@ -45,20 +45,20 @@
45
45
  "@smithy/invalid-dependency": "^2.0.15",
46
46
  "@smithy/middleware-content-length": "^2.0.17",
47
47
  "@smithy/middleware-endpoint": "^2.2.3",
48
- "@smithy/middleware-retry": "^2.0.24",
48
+ "@smithy/middleware-retry": "^2.0.25",
49
49
  "@smithy/middleware-serde": "^2.0.15",
50
50
  "@smithy/middleware-stack": "^2.0.9",
51
51
  "@smithy/node-config-provider": "^2.1.8",
52
52
  "@smithy/node-http-handler": "^2.2.1",
53
53
  "@smithy/protocol-http": "^3.0.11",
54
- "@smithy/smithy-client": "^2.1.18",
54
+ "@smithy/smithy-client": "^2.2.0",
55
55
  "@smithy/types": "^2.7.0",
56
56
  "@smithy/url-parser": "^2.0.15",
57
57
  "@smithy/util-base64": "^2.0.1",
58
58
  "@smithy/util-body-length-browser": "^2.0.1",
59
59
  "@smithy/util-body-length-node": "^2.1.0",
60
- "@smithy/util-defaults-mode-browser": "^2.0.22",
61
- "@smithy/util-defaults-mode-node": "^2.0.29",
60
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
61
+ "@smithy/util-defaults-mode-node": "^2.0.30",
62
62
  "@smithy/util-endpoints": "^1.0.7",
63
63
  "@smithy/util-retry": "^2.0.8",
64
64
  "@smithy/util-stream": "^2.0.23",