@aws-sdk/client-lex-runtime-service 3.168.0 → 3.170.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/CHANGELOG.md +16 -0
- package/dist-types/ts3.4/LexRuntimeService.d.ts +94 -30
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +160 -78
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/PostContentCommand.d.ts +42 -24
- package/dist-types/ts3.4/commands/PostTextCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/index.d.ts +5 -5
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/LexRuntimeServiceServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1509 -65
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +65 -17
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +68 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +69 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -11
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
|
|
@@ -1,30 +1,94 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
DeleteSessionCommandInput,
|
|
4
|
+
DeleteSessionCommandOutput,
|
|
5
|
+
} from "./commands/DeleteSessionCommand";
|
|
6
|
+
import {
|
|
7
|
+
GetSessionCommandInput,
|
|
8
|
+
GetSessionCommandOutput,
|
|
9
|
+
} from "./commands/GetSessionCommand";
|
|
10
|
+
import {
|
|
11
|
+
PostContentCommandInput,
|
|
12
|
+
PostContentCommandOutput,
|
|
13
|
+
} from "./commands/PostContentCommand";
|
|
14
|
+
import {
|
|
15
|
+
PostTextCommandInput,
|
|
16
|
+
PostTextCommandOutput,
|
|
17
|
+
} from "./commands/PostTextCommand";
|
|
18
|
+
import {
|
|
19
|
+
PutSessionCommandInput,
|
|
20
|
+
PutSessionCommandOutput,
|
|
21
|
+
} from "./commands/PutSessionCommand";
|
|
22
|
+
import { LexRuntimeServiceClient } from "./LexRuntimeServiceClient";
|
|
23
|
+
|
|
24
|
+
export declare class LexRuntimeService extends LexRuntimeServiceClient {
|
|
25
|
+
deleteSession(
|
|
26
|
+
args: DeleteSessionCommandInput,
|
|
27
|
+
options?: __HttpHandlerOptions
|
|
28
|
+
): Promise<DeleteSessionCommandOutput>;
|
|
29
|
+
deleteSession(
|
|
30
|
+
args: DeleteSessionCommandInput,
|
|
31
|
+
cb: (err: any, data?: DeleteSessionCommandOutput) => void
|
|
32
|
+
): void;
|
|
33
|
+
deleteSession(
|
|
34
|
+
args: DeleteSessionCommandInput,
|
|
35
|
+
options: __HttpHandlerOptions,
|
|
36
|
+
cb: (err: any, data?: DeleteSessionCommandOutput) => void
|
|
37
|
+
): void;
|
|
38
|
+
|
|
39
|
+
getSession(
|
|
40
|
+
args: GetSessionCommandInput,
|
|
41
|
+
options?: __HttpHandlerOptions
|
|
42
|
+
): Promise<GetSessionCommandOutput>;
|
|
43
|
+
getSession(
|
|
44
|
+
args: GetSessionCommandInput,
|
|
45
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
46
|
+
): void;
|
|
47
|
+
getSession(
|
|
48
|
+
args: GetSessionCommandInput,
|
|
49
|
+
options: __HttpHandlerOptions,
|
|
50
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
51
|
+
): void;
|
|
52
|
+
|
|
53
|
+
postContent(
|
|
54
|
+
args: PostContentCommandInput,
|
|
55
|
+
options?: __HttpHandlerOptions
|
|
56
|
+
): Promise<PostContentCommandOutput>;
|
|
57
|
+
postContent(
|
|
58
|
+
args: PostContentCommandInput,
|
|
59
|
+
cb: (err: any, data?: PostContentCommandOutput) => void
|
|
60
|
+
): void;
|
|
61
|
+
postContent(
|
|
62
|
+
args: PostContentCommandInput,
|
|
63
|
+
options: __HttpHandlerOptions,
|
|
64
|
+
cb: (err: any, data?: PostContentCommandOutput) => void
|
|
65
|
+
): void;
|
|
66
|
+
|
|
67
|
+
postText(
|
|
68
|
+
args: PostTextCommandInput,
|
|
69
|
+
options?: __HttpHandlerOptions
|
|
70
|
+
): Promise<PostTextCommandOutput>;
|
|
71
|
+
postText(
|
|
72
|
+
args: PostTextCommandInput,
|
|
73
|
+
cb: (err: any, data?: PostTextCommandOutput) => void
|
|
74
|
+
): void;
|
|
75
|
+
postText(
|
|
76
|
+
args: PostTextCommandInput,
|
|
77
|
+
options: __HttpHandlerOptions,
|
|
78
|
+
cb: (err: any, data?: PostTextCommandOutput) => void
|
|
79
|
+
): void;
|
|
80
|
+
|
|
81
|
+
putSession(
|
|
82
|
+
args: PutSessionCommandInput,
|
|
83
|
+
options?: __HttpHandlerOptions
|
|
84
|
+
): Promise<PutSessionCommandOutput>;
|
|
85
|
+
putSession(
|
|
86
|
+
args: PutSessionCommandInput,
|
|
87
|
+
cb: (err: any, data?: PutSessionCommandOutput) => void
|
|
88
|
+
): void;
|
|
89
|
+
putSession(
|
|
90
|
+
args: PutSessionCommandInput,
|
|
91
|
+
options: __HttpHandlerOptions,
|
|
92
|
+
cb: (err: any, data?: PutSessionCommandOutput) => void
|
|
93
|
+
): void;
|
|
94
|
+
}
|
|
@@ -1,78 +1,160 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
export declare
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
1
|
+
import {
|
|
2
|
+
EndpointsInputConfig,
|
|
3
|
+
EndpointsResolvedConfig,
|
|
4
|
+
RegionInputConfig,
|
|
5
|
+
RegionResolvedConfig,
|
|
6
|
+
} from "@aws-sdk/config-resolver";
|
|
7
|
+
import {
|
|
8
|
+
HostHeaderInputConfig,
|
|
9
|
+
HostHeaderResolvedConfig,
|
|
10
|
+
} from "@aws-sdk/middleware-host-header";
|
|
11
|
+
import {
|
|
12
|
+
RetryInputConfig,
|
|
13
|
+
RetryResolvedConfig,
|
|
14
|
+
} from "@aws-sdk/middleware-retry";
|
|
15
|
+
import {
|
|
16
|
+
AwsAuthInputConfig,
|
|
17
|
+
AwsAuthResolvedConfig,
|
|
18
|
+
} from "@aws-sdk/middleware-signing";
|
|
19
|
+
import {
|
|
20
|
+
UserAgentInputConfig,
|
|
21
|
+
UserAgentResolvedConfig,
|
|
22
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
23
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
24
|
+
import {
|
|
25
|
+
Client as __Client,
|
|
26
|
+
DefaultsMode,
|
|
27
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
28
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
29
|
+
} from "@aws-sdk/smithy-client";
|
|
30
|
+
import {
|
|
31
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
32
|
+
Credentials as __Credentials,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
RegionInfoProvider,
|
|
41
|
+
StreamCollector as __StreamCollector,
|
|
42
|
+
UrlParser as __UrlParser,
|
|
43
|
+
UserAgent as __UserAgent,
|
|
44
|
+
} from "@aws-sdk/types";
|
|
45
|
+
import {
|
|
46
|
+
DeleteSessionCommandInput,
|
|
47
|
+
DeleteSessionCommandOutput,
|
|
48
|
+
} from "./commands/DeleteSessionCommand";
|
|
49
|
+
import {
|
|
50
|
+
GetSessionCommandInput,
|
|
51
|
+
GetSessionCommandOutput,
|
|
52
|
+
} from "./commands/GetSessionCommand";
|
|
53
|
+
import {
|
|
54
|
+
PostContentCommandInput,
|
|
55
|
+
PostContentCommandOutput,
|
|
56
|
+
} from "./commands/PostContentCommand";
|
|
57
|
+
import {
|
|
58
|
+
PostTextCommandInput,
|
|
59
|
+
PostTextCommandOutput,
|
|
60
|
+
} from "./commands/PostTextCommand";
|
|
61
|
+
import {
|
|
62
|
+
PutSessionCommandInput,
|
|
63
|
+
PutSessionCommandOutput,
|
|
64
|
+
} from "./commands/PutSessionCommand";
|
|
65
|
+
export declare type ServiceInputTypes =
|
|
66
|
+
| DeleteSessionCommandInput
|
|
67
|
+
| GetSessionCommandInput
|
|
68
|
+
| PostContentCommandInput
|
|
69
|
+
| PostTextCommandInput
|
|
70
|
+
| PutSessionCommandInput;
|
|
71
|
+
export declare type ServiceOutputTypes =
|
|
72
|
+
| DeleteSessionCommandOutput
|
|
73
|
+
| GetSessionCommandOutput
|
|
74
|
+
| PostContentCommandOutput
|
|
75
|
+
| PostTextCommandOutput
|
|
76
|
+
| PutSessionCommandOutput;
|
|
77
|
+
export interface ClientDefaults
|
|
78
|
+
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
79
|
+
requestHandler?: __HttpHandler;
|
|
80
|
+
|
|
81
|
+
sha256?: __HashConstructor;
|
|
82
|
+
|
|
83
|
+
urlParser?: __UrlParser;
|
|
84
|
+
|
|
85
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
86
|
+
|
|
87
|
+
streamCollector?: __StreamCollector;
|
|
88
|
+
|
|
89
|
+
base64Decoder?: __Decoder;
|
|
90
|
+
|
|
91
|
+
base64Encoder?: __Encoder;
|
|
92
|
+
|
|
93
|
+
utf8Decoder?: __Decoder;
|
|
94
|
+
|
|
95
|
+
utf8Encoder?: __Encoder;
|
|
96
|
+
|
|
97
|
+
runtime?: string;
|
|
98
|
+
|
|
99
|
+
disableHostPrefix?: boolean;
|
|
100
|
+
|
|
101
|
+
maxAttempts?: number | __Provider<number>;
|
|
102
|
+
|
|
103
|
+
retryMode?: string | __Provider<string>;
|
|
104
|
+
|
|
105
|
+
logger?: __Logger;
|
|
106
|
+
|
|
107
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
108
|
+
|
|
109
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
110
|
+
|
|
111
|
+
serviceId?: string;
|
|
112
|
+
|
|
113
|
+
region?: string | __Provider<string>;
|
|
114
|
+
|
|
115
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
116
|
+
|
|
117
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
118
|
+
|
|
119
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
120
|
+
|
|
121
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
122
|
+
}
|
|
123
|
+
declare type LexRuntimeServiceClientConfigType = Partial<
|
|
124
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
125
|
+
> &
|
|
126
|
+
ClientDefaults &
|
|
127
|
+
RegionInputConfig &
|
|
128
|
+
EndpointsInputConfig &
|
|
129
|
+
RetryInputConfig &
|
|
130
|
+
HostHeaderInputConfig &
|
|
131
|
+
AwsAuthInputConfig &
|
|
132
|
+
UserAgentInputConfig;
|
|
133
|
+
|
|
134
|
+
export interface LexRuntimeServiceClientConfig
|
|
135
|
+
extends LexRuntimeServiceClientConfigType {}
|
|
136
|
+
declare type LexRuntimeServiceClientResolvedConfigType =
|
|
137
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
138
|
+
Required<ClientDefaults> &
|
|
139
|
+
RegionResolvedConfig &
|
|
140
|
+
EndpointsResolvedConfig &
|
|
141
|
+
RetryResolvedConfig &
|
|
142
|
+
HostHeaderResolvedConfig &
|
|
143
|
+
AwsAuthResolvedConfig &
|
|
144
|
+
UserAgentResolvedConfig;
|
|
145
|
+
|
|
146
|
+
export interface LexRuntimeServiceClientResolvedConfig
|
|
147
|
+
extends LexRuntimeServiceClientResolvedConfigType {}
|
|
148
|
+
|
|
149
|
+
export declare class LexRuntimeServiceClient extends __Client<
|
|
150
|
+
__HttpHandlerOptions,
|
|
151
|
+
ServiceInputTypes,
|
|
152
|
+
ServiceOutputTypes,
|
|
153
|
+
LexRuntimeServiceClientResolvedConfig
|
|
154
|
+
> {
|
|
155
|
+
readonly config: LexRuntimeServiceClientResolvedConfig;
|
|
156
|
+
constructor(configuration: LexRuntimeServiceClientConfig);
|
|
157
|
+
|
|
158
|
+
destroy(): void;
|
|
159
|
+
}
|
|
160
|
+
export {};
|
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
LexRuntimeServiceClientResolvedConfig,
|
|
10
|
+
ServiceInputTypes,
|
|
11
|
+
ServiceOutputTypes,
|
|
12
|
+
} from "../LexRuntimeServiceClient";
|
|
13
|
+
import {
|
|
14
|
+
DeleteSessionRequest,
|
|
15
|
+
DeleteSessionResponse,
|
|
16
|
+
} from "../models/models_0";
|
|
17
|
+
export interface DeleteSessionCommandInput extends DeleteSessionRequest {}
|
|
18
|
+
export interface DeleteSessionCommandOutput
|
|
19
|
+
extends DeleteSessionResponse,
|
|
20
|
+
__MetadataBearer {}
|
|
21
|
+
|
|
22
|
+
export declare class DeleteSessionCommand extends $Command<
|
|
23
|
+
DeleteSessionCommandInput,
|
|
24
|
+
DeleteSessionCommandOutput,
|
|
25
|
+
LexRuntimeServiceClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: DeleteSessionCommandInput;
|
|
28
|
+
constructor(input: DeleteSessionCommandInput);
|
|
29
|
+
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: LexRuntimeServiceClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<DeleteSessionCommandInput, DeleteSessionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -1,17 +1,34 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
LexRuntimeServiceClientResolvedConfig,
|
|
10
|
+
ServiceInputTypes,
|
|
11
|
+
ServiceOutputTypes,
|
|
12
|
+
} from "../LexRuntimeServiceClient";
|
|
13
|
+
import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
|
|
14
|
+
export interface GetSessionCommandInput extends GetSessionRequest {}
|
|
15
|
+
export interface GetSessionCommandOutput
|
|
16
|
+
extends GetSessionResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
|
|
19
|
+
export declare class GetSessionCommand extends $Command<
|
|
20
|
+
GetSessionCommandInput,
|
|
21
|
+
GetSessionCommandOutput,
|
|
22
|
+
LexRuntimeServiceClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: GetSessionCommandInput;
|
|
25
|
+
constructor(input: GetSessionCommandInput);
|
|
26
|
+
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: LexRuntimeServiceClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<GetSessionCommandInput, GetSessionCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -1,24 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
LexRuntimeServiceClientResolvedConfig,
|
|
10
|
+
ServiceInputTypes,
|
|
11
|
+
ServiceOutputTypes,
|
|
12
|
+
} from "../LexRuntimeServiceClient";
|
|
13
|
+
import { PostContentRequest, PostContentResponse } from "../models/models_0";
|
|
14
|
+
declare type PostContentCommandInputType = Pick<
|
|
15
|
+
PostContentRequest,
|
|
16
|
+
Exclude<keyof PostContentRequest, "inputStream">
|
|
17
|
+
> & {
|
|
18
|
+
inputStream: PostContentRequest["inputStream"] | string | Uint8Array | Buffer;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export interface PostContentCommandInput extends PostContentCommandInputType {}
|
|
22
|
+
export interface PostContentCommandOutput
|
|
23
|
+
extends PostContentResponse,
|
|
24
|
+
__MetadataBearer {}
|
|
25
|
+
|
|
26
|
+
export declare class PostContentCommand extends $Command<
|
|
27
|
+
PostContentCommandInput,
|
|
28
|
+
PostContentCommandOutput,
|
|
29
|
+
LexRuntimeServiceClientResolvedConfig
|
|
30
|
+
> {
|
|
31
|
+
readonly input: PostContentCommandInput;
|
|
32
|
+
constructor(input: PostContentCommandInput);
|
|
33
|
+
|
|
34
|
+
resolveMiddleware(
|
|
35
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
36
|
+
configuration: LexRuntimeServiceClientResolvedConfig,
|
|
37
|
+
options?: __HttpHandlerOptions
|
|
38
|
+
): Handler<PostContentCommandInput, PostContentCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
@@ -1,17 +1,34 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
LexRuntimeServiceClientResolvedConfig,
|
|
10
|
+
ServiceInputTypes,
|
|
11
|
+
ServiceOutputTypes,
|
|
12
|
+
} from "../LexRuntimeServiceClient";
|
|
13
|
+
import { PostTextRequest, PostTextResponse } from "../models/models_0";
|
|
14
|
+
export interface PostTextCommandInput extends PostTextRequest {}
|
|
15
|
+
export interface PostTextCommandOutput
|
|
16
|
+
extends PostTextResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
|
|
19
|
+
export declare class PostTextCommand extends $Command<
|
|
20
|
+
PostTextCommandInput,
|
|
21
|
+
PostTextCommandOutput,
|
|
22
|
+
LexRuntimeServiceClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: PostTextCommandInput;
|
|
25
|
+
constructor(input: PostTextCommandInput);
|
|
26
|
+
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: LexRuntimeServiceClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<PostTextCommandInput, PostTextCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|