@aws-sdk/client-lex-runtime-service 3.1019.0 → 3.1021.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-es/LexRuntimeService.js +3 -3
- package/dist-types/LexRuntimeService.d.ts +5 -5
- package/dist-types/LexRuntimeServiceClient.d.ts +8 -8
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/commands/PostContentCommand.d.ts +1 -1
- package/dist-types/commands/PutSessionCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/package.json +15 -15
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { DeleteSessionCommand, } from "./commands/DeleteSessionCommand";
|
|
3
|
-
import { GetSessionCommand } from "./commands/GetSessionCommand";
|
|
4
|
-
import { PostContentCommand } from "./commands/PostContentCommand";
|
|
3
|
+
import { GetSessionCommand, } from "./commands/GetSessionCommand";
|
|
4
|
+
import { PostContentCommand, } from "./commands/PostContentCommand";
|
|
5
5
|
import { PostTextCommand } from "./commands/PostTextCommand";
|
|
6
|
-
import { PutSessionCommand } from "./commands/PutSessionCommand";
|
|
6
|
+
import { PutSessionCommand, } from "./commands/PutSessionCommand";
|
|
7
7
|
import { LexRuntimeServiceClient } from "./LexRuntimeServiceClient";
|
|
8
8
|
const commands = {
|
|
9
9
|
DeleteSessionCommand,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
-
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
3
|
-
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
4
|
-
import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
|
|
5
|
-
import { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
|
|
6
|
-
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
2
|
+
import { type DeleteSessionCommandInput, type DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
3
|
+
import { type GetSessionCommandInput, type GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
4
|
+
import { type PostContentCommandInput, type PostContentCommandOutput } from "./commands/PostContentCommand";
|
|
5
|
+
import { type PostTextCommandInput, type PostTextCommandOutput } from "./commands/PostTextCommand";
|
|
6
|
+
import { type PutSessionCommandInput, type PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
7
7
|
import { LexRuntimeServiceClient } from "./LexRuntimeServiceClient";
|
|
8
8
|
export interface LexRuntimeService {
|
|
9
9
|
/**
|
|
@@ -5,14 +5,14 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import {
|
|
8
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
-
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
11
|
-
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
12
|
-
import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
|
|
13
|
-
import { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
|
|
14
|
-
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
15
|
-
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
10
|
+
import type { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
11
|
+
import type { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
12
|
+
import type { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
|
|
13
|
+
import type { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
|
|
14
|
+
import type { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
15
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
16
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
17
17
|
export { __Client };
|
|
18
18
|
/**
|
|
@@ -121,7 +121,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
121
121
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
122
122
|
* @internal
|
|
123
123
|
*/
|
|
124
|
-
defaultUserAgentProvider?:
|
|
124
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
125
125
|
/**
|
|
126
126
|
* Default credentials provider; Not available in browser runtime.
|
|
127
127
|
* @deprecated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { LexRuntimeServiceHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
3
3
|
import type { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
4
|
-
import { PostContentRequest, PostContentResponse } from "../models/models_0";
|
|
4
|
+
import type { PostContentRequest, PostContentResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
3
3
|
import type { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
|
|
4
|
-
import {
|
|
4
|
+
import type { PutSessionRequest, PutSessionResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export * from "./LexRuntimeServiceClient";
|
|
18
18
|
export * from "./LexRuntimeService";
|
|
19
|
-
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
20
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
21
21
|
export type { LexRuntimeServiceExtensionConfiguration } from "./extensionConfiguration";
|
|
22
22
|
export * from "./commands";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
|
|
2
|
-
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import { ConfirmationStatus, ContentType, DialogActionType, DialogState, FulfillmentState, MessageFormatType } from "./enums";
|
|
2
|
+
import type { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
+
import type { ConfirmationStatus, ContentType, DialogActionType, DialogState, FulfillmentState, MessageFormatType } from "./enums";
|
|
4
4
|
/**
|
|
5
5
|
* <p>The length of time or number of turns that a context remains
|
|
6
6
|
* active.</p>
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
29
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -38,8 +39,6 @@ import {
|
|
|
38
39
|
SdkStreamMixinInjector as __SdkStreamMixinInjector,
|
|
39
40
|
StreamCollector as __StreamCollector,
|
|
40
41
|
UrlParser as __UrlParser,
|
|
41
|
-
AwsCredentialIdentityProvider,
|
|
42
|
-
Provider,
|
|
43
42
|
UserAgent as __UserAgent,
|
|
44
43
|
} from "@smithy/types";
|
|
45
44
|
import {
|
|
@@ -103,7 +102,7 @@ export interface ClientDefaults
|
|
|
103
102
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
104
103
|
region?: string | __Provider<string>;
|
|
105
104
|
profile?: string;
|
|
106
|
-
defaultUserAgentProvider?:
|
|
105
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
107
106
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
108
107
|
maxAttempts?: number | __Provider<number>;
|
|
109
108
|
retryMode?: string | __Provider<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
HttpAuthScheme,
|
|
3
2
|
AwsCredentialIdentity,
|
|
4
3
|
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
5
|
} from "@smithy/types";
|
|
6
6
|
import { LexRuntimeServiceHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
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.1021.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 client-lex-runtime-service",
|
|
@@ -23,42 +23,42 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.973.26",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.29",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
29
29
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.28",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
33
33
|
"@aws-sdk/types": "^3.973.6",
|
|
34
34
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.14",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.13",
|
|
38
|
-
"@smithy/core": "^3.23.
|
|
38
|
+
"@smithy/core": "^3.23.13",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
40
40
|
"@smithy/hash-node": "^4.2.12",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.46",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.16",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.12",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.12",
|
|
48
|
-
"@smithy/node-http-handler": "^4.5.
|
|
48
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.12",
|
|
50
|
-
"@smithy/smithy-client": "^4.12.
|
|
50
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
51
51
|
"@smithy/types": "^4.13.1",
|
|
52
52
|
"@smithy/url-parser": "^4.2.12",
|
|
53
53
|
"@smithy/util-base64": "^4.3.2",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.44",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
58
58
|
"@smithy/util-endpoints": "^3.3.3",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.12",
|
|
60
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
-
"@smithy/util-stream": "^4.5.
|
|
60
|
+
"@smithy/util-retry": "^4.2.13",
|
|
61
|
+
"@smithy/util-stream": "^4.5.21",
|
|
62
62
|
"@smithy/util-utf8": "^4.2.2",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|