@aws-sdk/client-lex-runtime-service 3.169.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 CHANGED
@@ -3,6 +3,14 @@
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
+
6
14
  # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
7
15
 
8
16
  **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 { 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";
7
- import { LexRuntimeServiceClient } from "./LexRuntimeServiceClient";
8
-
9
- export declare class LexRuntimeService extends LexRuntimeServiceClient {
10
-
11
- deleteSession(args: DeleteSessionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSessionCommandOutput>;
12
- deleteSession(args: DeleteSessionCommandInput, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
13
- deleteSession(args: DeleteSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
14
-
15
- getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
16
- getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
17
- getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
18
-
19
- postContent(args: PostContentCommandInput, options?: __HttpHandlerOptions): Promise<PostContentCommandOutput>;
20
- postContent(args: PostContentCommandInput, cb: (err: any, data?: PostContentCommandOutput) => void): void;
21
- postContent(args: PostContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostContentCommandOutput) => void): void;
22
-
23
- postText(args: PostTextCommandInput, options?: __HttpHandlerOptions): Promise<PostTextCommandOutput>;
24
- postText(args: PostTextCommandInput, cb: (err: any, data?: PostTextCommandOutput) => void): void;
25
- postText(args: PostTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostTextCommandOutput) => void): void;
26
-
27
- putSession(args: PutSessionCommandInput, options?: __HttpHandlerOptions): Promise<PutSessionCommandOutput>;
28
- putSession(args: PutSessionCommandInput, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
29
- putSession(args: PutSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
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 { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
10
- import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
11
- import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
12
- import { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
13
- import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
14
- export declare type ServiceInputTypes = DeleteSessionCommandInput | GetSessionCommandInput | PostContentCommandInput | PostTextCommandInput | PutSessionCommandInput;
15
- export declare type ServiceOutputTypes = DeleteSessionCommandOutput | GetSessionCommandOutput | PostContentCommandOutput | PostTextCommandOutput | PutSessionCommandOutput;
16
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
17
-
18
- requestHandler?: __HttpHandler;
19
-
20
- sha256?: __HashConstructor;
21
-
22
- urlParser?: __UrlParser;
23
-
24
- bodyLengthChecker?: __BodyLengthCalculator;
25
-
26
- streamCollector?: __StreamCollector;
27
-
28
- base64Decoder?: __Decoder;
29
-
30
- base64Encoder?: __Encoder;
31
-
32
- utf8Decoder?: __Decoder;
33
-
34
- utf8Encoder?: __Encoder;
35
-
36
- runtime?: string;
37
-
38
- disableHostPrefix?: boolean;
39
-
40
- maxAttempts?: number | __Provider<number>;
41
-
42
- retryMode?: string | __Provider<string>;
43
-
44
- logger?: __Logger;
45
-
46
- useDualstackEndpoint?: boolean | __Provider<boolean>;
47
-
48
- useFipsEndpoint?: boolean | __Provider<boolean>;
49
-
50
- serviceId?: string;
51
-
52
- region?: string | __Provider<string>;
53
-
54
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
55
-
56
- regionInfoProvider?: RegionInfoProvider;
57
-
58
- defaultUserAgentProvider?: Provider<__UserAgent>;
59
-
60
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
61
- }
62
- declare type LexRuntimeServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
63
-
64
- export interface LexRuntimeServiceClientConfig extends LexRuntimeServiceClientConfigType {
65
- }
66
- declare type LexRuntimeServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
67
-
68
- export interface LexRuntimeServiceClientResolvedConfig extends LexRuntimeServiceClientResolvedConfigType {
69
- }
70
-
71
- export declare class LexRuntimeServiceClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LexRuntimeServiceClientResolvedConfig> {
72
-
73
- readonly config: LexRuntimeServiceClientResolvedConfig;
74
- constructor(configuration: LexRuntimeServiceClientConfig);
75
-
76
- destroy(): void;
77
- }
78
- export {};
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
4
- import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
5
- export interface DeleteSessionCommandInput extends DeleteSessionRequest {
6
- }
7
- export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class DeleteSessionCommand extends $Command<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
11
- readonly input: DeleteSessionCommandInput;
12
- constructor(input: DeleteSessionCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSessionCommandInput, DeleteSessionCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
4
- import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
5
- export interface GetSessionCommandInput extends GetSessionRequest {
6
- }
7
- export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
11
- readonly input: GetSessionCommandInput;
12
- constructor(input: GetSessionCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionCommandInput, GetSessionCommandOutput>;
15
- private serialize;
16
- private deserialize;
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 { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
5
- import { PostContentRequest, PostContentResponse } from "../models/models_0";
6
- declare type PostContentCommandInputType = Pick<PostContentRequest, Exclude<keyof PostContentRequest, "inputStream">> & {
7
-
8
- inputStream: PostContentRequest["inputStream"] | string | Uint8Array | Buffer;
9
- };
10
-
11
- export interface PostContentCommandInput extends PostContentCommandInputType {
12
- }
13
- export interface PostContentCommandOutput extends PostContentResponse, __MetadataBearer {
14
- }
15
-
16
- export declare class PostContentCommand extends $Command<PostContentCommandInput, PostContentCommandOutput, LexRuntimeServiceClientResolvedConfig> {
17
- readonly input: PostContentCommandInput;
18
- constructor(input: PostContentCommandInput);
19
-
20
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PostContentCommandInput, PostContentCommandOutput>;
21
- private serialize;
22
- private deserialize;
23
- }
24
- export {};
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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
4
- import { PostTextRequest, PostTextResponse } from "../models/models_0";
5
- export interface PostTextCommandInput extends PostTextRequest {
6
- }
7
- export interface PostTextCommandOutput extends PostTextResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class PostTextCommand extends $Command<PostTextCommandInput, PostTextCommandOutput, LexRuntimeServiceClientResolvedConfig> {
11
- readonly input: PostTextCommandInput;
12
- constructor(input: PostTextCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PostTextCommandInput, PostTextCommandOutput>;
15
- private serialize;
16
- private deserialize;
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
+ }