@aws-sdk/client-lex-runtime-v2 3.331.0 → 3.335.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/protocols/Aws_restJson1.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/LexRuntimeV2Client.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +7 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_StartConversationCommand = exports.de_RecognizeUtteranceCommand = exports.de_RecognizeTextCommand = exports.de_PutSessionCommand = exports.de_GetSessionCommand = exports.de_DeleteSessionCommand = exports.se_StartConversationCommand = exports.se_RecognizeUtteranceCommand = exports.se_RecognizeTextCommand = exports.se_PutSessionCommand = exports.se_GetSessionCommand = exports.se_DeleteSessionCommand = void 0;
|
|
4
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const LexRuntimeV2ServiceException_1 = require("../models/LexRuntimeV2ServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const se_DeleteSessionCommand = async (input, context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { LexRuntimeV2ServiceException as __BaseException } from "../models/LexRuntimeV2ServiceException";
|
|
4
4
|
import { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ResourceNotFoundException, StartConversationRequestEventStream, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_DeleteSessionCommand = async (input, context) => {
|
|
@@ -6,9 +6,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
|
|
|
6
6
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
8
8
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
9
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
10
9
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
11
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials,
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
11
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
12
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
12
13
|
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
13
14
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
14
15
|
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { EventStreamSerdeContext as __EventStreamSerdeContext, SdkStreamSerdeContext as __SdkStreamSerdeContext } from "@aws-sdk/types";
|
|
2
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
3
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
4
|
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "../commands/DeleteSessionCommand";
|
|
4
5
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "../commands/GetSessionCommand";
|
|
5
6
|
import { PutSessionCommandInput, PutSessionCommandOutput } from "../commands/PutSessionCommand";
|
|
@@ -7,29 +7,29 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
|
|
13
13
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
14
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
15
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
17
|
-
retryMode: string | import("@
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
17
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
18
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
19
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
20
|
-
streamCollector: import("@
|
|
21
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
22
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
21
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
22
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
23
23
|
apiVersion: string;
|
|
24
24
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
25
|
-
base64Decoder: import("@
|
|
26
|
-
base64Encoder: import("@
|
|
27
|
-
utf8Decoder: import("@
|
|
28
|
-
utf8Encoder: import("@
|
|
25
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
27
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
29
29
|
disableHostPrefix: boolean;
|
|
30
30
|
serviceId: string;
|
|
31
31
|
logger: import("@aws-sdk/types").Logger;
|
|
32
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
32
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
33
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
34
34
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
35
35
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -7,29 +7,29 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
|
|
13
13
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
17
|
-
retryMode: string | import("@
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
17
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
18
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
19
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
20
|
-
streamCollector: import("@
|
|
20
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
apiVersion: string;
|
|
24
24
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
25
|
-
base64Decoder: import("@
|
|
26
|
-
base64Encoder: import("@
|
|
27
|
-
utf8Decoder: import("@
|
|
28
|
-
utf8Encoder: import("@
|
|
25
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
27
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
29
29
|
disableHostPrefix: boolean;
|
|
30
30
|
serviceId: string;
|
|
31
31
|
logger: import("@aws-sdk/types").Logger;
|
|
32
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
32
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
33
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
34
34
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
35
35
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -6,29 +6,29 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
|
|
8
8
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
9
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
9
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
10
10
|
apiVersion: string;
|
|
11
11
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
12
12
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
13
|
-
streamCollector: import("@
|
|
14
|
-
base64Decoder: import("@
|
|
15
|
-
base64Encoder: import("@
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
13
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
14
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
15
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
21
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
21
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
22
22
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
25
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
26
|
-
retryMode: string | import("@
|
|
25
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
26
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
29
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@
|
|
29
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
30
30
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
31
|
-
endpoint?: string | import("@aws-sdk/types").
|
|
31
|
+
endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
|
|
32
32
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
33
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
34
34
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -4,8 +4,8 @@ import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
|
-
base64Decoder: import("@
|
|
8
|
-
base64Encoder: import("@
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
|
@@ -30,7 +30,6 @@ import {
|
|
|
30
30
|
UserAgentInputConfig,
|
|
31
31
|
UserAgentResolvedConfig,
|
|
32
32
|
} from "@aws-sdk/middleware-user-agent";
|
|
33
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
34
33
|
import {
|
|
35
34
|
Client as __Client,
|
|
36
35
|
DefaultsMode as __DefaultsMode,
|
|
@@ -41,20 +40,23 @@ import {
|
|
|
41
40
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
42
41
|
ChecksumConstructor as __ChecksumConstructor,
|
|
43
42
|
Credentials as __Credentials,
|
|
44
|
-
Decoder as __Decoder,
|
|
45
|
-
Encoder as __Encoder,
|
|
46
43
|
EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider,
|
|
47
44
|
EventStreamSerdeProvider as __EventStreamSerdeProvider,
|
|
48
45
|
HashConstructor as __HashConstructor,
|
|
49
46
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
50
47
|
Logger as __Logger,
|
|
51
|
-
Provider as __Provider,
|
|
52
48
|
Provider,
|
|
53
49
|
SdkStreamMixinInjector as __SdkStreamMixinInjector,
|
|
54
|
-
StreamCollector as __StreamCollector,
|
|
55
50
|
UrlParser as __UrlParser,
|
|
56
51
|
UserAgent as __UserAgent,
|
|
57
52
|
} from "@aws-sdk/types";
|
|
53
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
54
|
+
import {
|
|
55
|
+
Decoder as __Decoder,
|
|
56
|
+
Encoder as __Encoder,
|
|
57
|
+
Provider as __Provider,
|
|
58
|
+
StreamCollector as __StreamCollector,
|
|
59
|
+
} from "@smithy/types";
|
|
58
60
|
import {
|
|
59
61
|
DeleteSessionCommandInput,
|
|
60
62
|
DeleteSessionCommandOutput,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Endpoint,
|
|
3
2
|
EndpointParameters as __EndpointParameters,
|
|
4
3
|
EndpointV2,
|
|
5
|
-
Provider,
|
|
6
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
7
6
|
export interface ClientInputEndpointParameters {
|
|
8
7
|
region?: string | Provider<string>;
|
|
9
8
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HttpRequest as __HttpRequest,
|
|
3
|
-
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@aws-sdk/protocol-http";
|
|
5
1
|
import {
|
|
6
2
|
EventStreamSerdeContext as __EventStreamSerdeContext,
|
|
7
3
|
SdkStreamSerdeContext as __SdkStreamSerdeContext,
|
|
8
|
-
SerdeContext as __SerdeContext,
|
|
9
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import {
|
|
6
|
+
HttpRequest as __HttpRequest,
|
|
7
|
+
HttpResponse as __HttpResponse,
|
|
8
|
+
} from "@smithy/protocol-http";
|
|
9
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
10
10
|
import {
|
|
11
11
|
DeleteSessionCommandInput,
|
|
12
12
|
DeleteSessionCommandOutput,
|
|
@@ -8,13 +8,14 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
15
15
|
eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
|
|
16
16
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
17
|
-
maxAttempts: number | import("@
|
|
17
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
18
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
18
19
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
19
20
|
requestHandler:
|
|
20
21
|
| (import("@aws-sdk/types").RequestHandler<
|
|
@@ -22,20 +23,22 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
22
23
|
any,
|
|
23
24
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
24
25
|
> &
|
|
25
|
-
import("@
|
|
26
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
26
27
|
| RequestHandler;
|
|
27
|
-
retryMode: string | import("@
|
|
28
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
29
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
29
30
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
30
|
-
streamCollector: import("@
|
|
31
|
-
useDualstackEndpoint: boolean | import("@
|
|
32
|
-
|
|
31
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
32
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
34
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
35
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
33
36
|
apiVersion: string;
|
|
34
37
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
35
|
-
base64Decoder: import("@
|
|
36
|
-
base64Encoder: import("@
|
|
37
|
-
utf8Decoder: import("@
|
|
38
|
-
utf8Encoder: import("@
|
|
38
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
39
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
40
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
39
42
|
disableHostPrefix: boolean;
|
|
40
43
|
serviceId: string;
|
|
41
44
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -49,11 +52,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
49
52
|
) &
|
|
50
53
|
(
|
|
51
54
|
| string
|
|
52
|
-
| import("@
|
|
53
|
-
| import("@
|
|
54
|
-
| import("@
|
|
55
|
+
| import("@smithy/types").Provider<string>
|
|
56
|
+
| import("@smithy/types").Endpoint
|
|
57
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
55
58
|
| import("@aws-sdk/types").EndpointV2
|
|
56
|
-
| import("@
|
|
59
|
+
| import("@smithy/types").Provider<
|
|
57
60
|
import("@aws-sdk/types").EndpointV2
|
|
58
61
|
>
|
|
59
62
|
))
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -22,20 +22,20 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
22
22
|
any,
|
|
23
23
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
24
24
|
> &
|
|
25
|
-
import("@
|
|
25
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
26
26
|
| RequestHandler;
|
|
27
|
-
retryMode: string | import("@
|
|
27
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
29
29
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
30
|
-
streamCollector: import("@
|
|
30
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
31
31
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
32
32
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
33
33
|
apiVersion: string;
|
|
34
34
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
35
|
-
base64Decoder: import("@
|
|
36
|
-
base64Encoder: import("@
|
|
37
|
-
utf8Decoder: import("@
|
|
38
|
-
utf8Encoder: import("@
|
|
35
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
36
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
39
39
|
disableHostPrefix: boolean;
|
|
40
40
|
serviceId: string;
|
|
41
41
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -49,11 +49,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
49
49
|
) &
|
|
50
50
|
(
|
|
51
51
|
| string
|
|
52
|
-
| import("@
|
|
53
|
-
| import("@
|
|
54
|
-
| import("@
|
|
52
|
+
| import("@smithy/types").Provider<string>
|
|
53
|
+
| import("@smithy/types").Endpoint
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
55
55
|
| import("@aws-sdk/types").EndpointV2
|
|
56
|
-
| import("@
|
|
56
|
+
| import("@smithy/types").Provider<
|
|
57
57
|
import("@aws-sdk/types").EndpointV2
|
|
58
58
|
>
|
|
59
59
|
))
|
|
@@ -9,43 +9,48 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
9
9
|
any,
|
|
10
10
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
11
11
|
> &
|
|
12
|
-
import("@
|
|
12
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
13
13
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
14
14
|
apiVersion: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
16
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
17
|
-
streamCollector: import("@
|
|
18
|
-
base64Decoder: import("@
|
|
19
|
-
base64Encoder: import("@
|
|
20
|
-
utf8Decoder: import("@
|
|
21
|
-
utf8Encoder: import("@
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
19
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
20
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
22
22
|
disableHostPrefix: boolean;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
useDualstackEndpoint: boolean | import("@
|
|
25
|
-
|
|
24
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
26
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
27
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
26
28
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
27
29
|
credentialDefaultProvider: (
|
|
28
30
|
input: any
|
|
29
|
-
) => import("@
|
|
31
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
30
32
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
31
33
|
import("@aws-sdk/types").UserAgent
|
|
32
34
|
>;
|
|
33
|
-
maxAttempts: number | import("@
|
|
34
|
-
|
|
35
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
36
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
37
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
35
38
|
logger: import("@aws-sdk/types").Logger;
|
|
36
39
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
37
40
|
defaultsMode:
|
|
38
41
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
|
-
| import("@
|
|
42
|
+
| import("@smithy/types").Provider<
|
|
40
43
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
41
44
|
>;
|
|
42
45
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
43
46
|
endpoint?:
|
|
44
47
|
| string
|
|
45
|
-
| import("@aws-sdk/types").Endpoint
|
|
46
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
47
48
|
| import("@aws-sdk/types").EndpointV2
|
|
48
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
49
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
50
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
51
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
52
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
53
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
49
54
|
| undefined;
|
|
50
55
|
endpointProvider: (
|
|
51
56
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client";
|
|
2
2
|
export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.335.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.335.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
27
27
|
"@aws-sdk/eventstream-handler-node": "3.329.0",
|
|
28
28
|
"@aws-sdk/eventstream-serde-browser": "3.329.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-config-resolver": "3.329.0",
|
|
@@ -41,10 +41,9 @@
|
|
|
41
41
|
"@aws-sdk/middleware-serde": "3.329.0",
|
|
42
42
|
"@aws-sdk/middleware-signing": "3.329.0",
|
|
43
43
|
"@aws-sdk/middleware-stack": "3.329.0",
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
45
45
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
46
46
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
47
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
48
47
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
49
48
|
"@aws-sdk/types": "3.329.0",
|
|
50
49
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -53,13 +52,15 @@
|
|
|
53
52
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
54
53
|
"@aws-sdk/util-defaults-mode-browser": "3.329.0",
|
|
55
54
|
"@aws-sdk/util-defaults-mode-node": "3.329.0",
|
|
56
|
-
"@aws-sdk/util-endpoints": "3.
|
|
55
|
+
"@aws-sdk/util-endpoints": "3.332.0",
|
|
57
56
|
"@aws-sdk/util-retry": "3.329.0",
|
|
58
57
|
"@aws-sdk/util-stream-browser": "3.329.0",
|
|
59
58
|
"@aws-sdk/util-stream-node": "3.331.0",
|
|
60
59
|
"@aws-sdk/util-user-agent-browser": "3.329.0",
|
|
61
60
|
"@aws-sdk/util-user-agent-node": "3.329.0",
|
|
62
61
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
62
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
63
|
+
"@smithy/types": "^1.0.0",
|
|
63
64
|
"tslib": "^2.5.0"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|