@aws-sdk/client-lex-runtime-service 3.934.0 → 3.935.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/index.js +35 -34
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +34 -0
- package/dist-es/models/errors.js +141 -0
- package/dist-es/models/models_0.js +1 -175
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +82 -0
- package/dist-types/models/errors.d.ts +160 -0
- package/dist-types/models/models_0.d.ts +2 -242
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +44 -0
- package/dist-types/ts3.4/models/errors.d.ts +79 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -126
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -179,29 +179,6 @@ let NotFoundException$1 = class NotFoundException extends LexRuntimeServiceServi
|
|
|
179
179
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
|
-
const FulfillmentState = {
|
|
183
|
-
FAILED: "Failed",
|
|
184
|
-
FULFILLED: "Fulfilled",
|
|
185
|
-
READY_FOR_FULFILLMENT: "ReadyForFulfillment",
|
|
186
|
-
};
|
|
187
|
-
const MessageFormatType = {
|
|
188
|
-
COMPOSITE: "Composite",
|
|
189
|
-
CUSTOM_PAYLOAD: "CustomPayload",
|
|
190
|
-
PLAIN_TEXT: "PlainText",
|
|
191
|
-
SSML: "SSML",
|
|
192
|
-
};
|
|
193
|
-
const DialogActionType = {
|
|
194
|
-
CLOSE: "Close",
|
|
195
|
-
CONFIRM_INTENT: "ConfirmIntent",
|
|
196
|
-
DELEGATE: "Delegate",
|
|
197
|
-
ELICIT_INTENT: "ElicitIntent",
|
|
198
|
-
ELICIT_SLOT: "ElicitSlot",
|
|
199
|
-
};
|
|
200
|
-
const ConfirmationStatus = {
|
|
201
|
-
CONFIRMED: "Confirmed",
|
|
202
|
-
DENIED: "Denied",
|
|
203
|
-
NONE: "None",
|
|
204
|
-
};
|
|
205
182
|
let BadGatewayException$1 = class BadGatewayException extends LexRuntimeServiceServiceException$1 {
|
|
206
183
|
name = "BadGatewayException";
|
|
207
184
|
$fault = "server";
|
|
@@ -256,14 +233,6 @@ let NotAcceptableException$1 = class NotAcceptableException extends LexRuntimeSe
|
|
|
256
233
|
Object.setPrototypeOf(this, NotAcceptableException.prototype);
|
|
257
234
|
}
|
|
258
235
|
};
|
|
259
|
-
const DialogState = {
|
|
260
|
-
CONFIRM_INTENT: "ConfirmIntent",
|
|
261
|
-
ELICIT_INTENT: "ElicitIntent",
|
|
262
|
-
ELICIT_SLOT: "ElicitSlot",
|
|
263
|
-
FAILED: "Failed",
|
|
264
|
-
FULFILLED: "Fulfilled",
|
|
265
|
-
READY_FOR_FULFILLMENT: "ReadyForFulfillment",
|
|
266
|
-
};
|
|
267
236
|
let RequestTimeoutException$1 = class RequestTimeoutException extends LexRuntimeServiceServiceException$1 {
|
|
268
237
|
name = "RequestTimeoutException";
|
|
269
238
|
$fault = "client";
|
|
@@ -288,9 +257,6 @@ let UnsupportedMediaTypeException$1 = class UnsupportedMediaTypeException extend
|
|
|
288
257
|
Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
|
|
289
258
|
}
|
|
290
259
|
};
|
|
291
|
-
const ContentType = {
|
|
292
|
-
GENERIC: "application/vnd.amazonaws.card.generic",
|
|
293
|
-
};
|
|
294
260
|
|
|
295
261
|
const _A = "Accept";
|
|
296
262
|
const _AC = "ActiveContext";
|
|
@@ -1123,6 +1089,41 @@ class LexRuntimeService extends LexRuntimeServiceClient {
|
|
|
1123
1089
|
}
|
|
1124
1090
|
smithyClient.createAggregatedClient(commands, LexRuntimeService);
|
|
1125
1091
|
|
|
1092
|
+
const FulfillmentState = {
|
|
1093
|
+
FAILED: "Failed",
|
|
1094
|
+
FULFILLED: "Fulfilled",
|
|
1095
|
+
READY_FOR_FULFILLMENT: "ReadyForFulfillment",
|
|
1096
|
+
};
|
|
1097
|
+
const MessageFormatType = {
|
|
1098
|
+
COMPOSITE: "Composite",
|
|
1099
|
+
CUSTOM_PAYLOAD: "CustomPayload",
|
|
1100
|
+
PLAIN_TEXT: "PlainText",
|
|
1101
|
+
SSML: "SSML",
|
|
1102
|
+
};
|
|
1103
|
+
const DialogActionType = {
|
|
1104
|
+
CLOSE: "Close",
|
|
1105
|
+
CONFIRM_INTENT: "ConfirmIntent",
|
|
1106
|
+
DELEGATE: "Delegate",
|
|
1107
|
+
ELICIT_INTENT: "ElicitIntent",
|
|
1108
|
+
ELICIT_SLOT: "ElicitSlot",
|
|
1109
|
+
};
|
|
1110
|
+
const ConfirmationStatus = {
|
|
1111
|
+
CONFIRMED: "Confirmed",
|
|
1112
|
+
DENIED: "Denied",
|
|
1113
|
+
NONE: "None",
|
|
1114
|
+
};
|
|
1115
|
+
const DialogState = {
|
|
1116
|
+
CONFIRM_INTENT: "ConfirmIntent",
|
|
1117
|
+
ELICIT_INTENT: "ElicitIntent",
|
|
1118
|
+
ELICIT_SLOT: "ElicitSlot",
|
|
1119
|
+
FAILED: "Failed",
|
|
1120
|
+
FULFILLED: "Fulfilled",
|
|
1121
|
+
READY_FOR_FULFILLMENT: "ReadyForFulfillment",
|
|
1122
|
+
};
|
|
1123
|
+
const ContentType = {
|
|
1124
|
+
GENERIC: "application/vnd.amazonaws.card.generic",
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1126
1127
|
Object.defineProperty(exports, "$Command", {
|
|
1127
1128
|
enumerable: true,
|
|
1128
1129
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./LexRuntimeServiceClient";
|
|
2
2
|
export * from "./LexRuntimeService";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/enums";
|
|
5
|
+
export * from "./models/errors";
|
|
5
6
|
export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export const FulfillmentState = {
|
|
2
|
+
FAILED: "Failed",
|
|
3
|
+
FULFILLED: "Fulfilled",
|
|
4
|
+
READY_FOR_FULFILLMENT: "ReadyForFulfillment",
|
|
5
|
+
};
|
|
6
|
+
export const MessageFormatType = {
|
|
7
|
+
COMPOSITE: "Composite",
|
|
8
|
+
CUSTOM_PAYLOAD: "CustomPayload",
|
|
9
|
+
PLAIN_TEXT: "PlainText",
|
|
10
|
+
SSML: "SSML",
|
|
11
|
+
};
|
|
12
|
+
export const DialogActionType = {
|
|
13
|
+
CLOSE: "Close",
|
|
14
|
+
CONFIRM_INTENT: "ConfirmIntent",
|
|
15
|
+
DELEGATE: "Delegate",
|
|
16
|
+
ELICIT_INTENT: "ElicitIntent",
|
|
17
|
+
ELICIT_SLOT: "ElicitSlot",
|
|
18
|
+
};
|
|
19
|
+
export const ConfirmationStatus = {
|
|
20
|
+
CONFIRMED: "Confirmed",
|
|
21
|
+
DENIED: "Denied",
|
|
22
|
+
NONE: "None",
|
|
23
|
+
};
|
|
24
|
+
export const DialogState = {
|
|
25
|
+
CONFIRM_INTENT: "ConfirmIntent",
|
|
26
|
+
ELICIT_INTENT: "ElicitIntent",
|
|
27
|
+
ELICIT_SLOT: "ElicitSlot",
|
|
28
|
+
FAILED: "Failed",
|
|
29
|
+
FULFILLED: "Fulfilled",
|
|
30
|
+
READY_FOR_FULFILLMENT: "ReadyForFulfillment",
|
|
31
|
+
};
|
|
32
|
+
export const ContentType = {
|
|
33
|
+
GENERIC: "application/vnd.amazonaws.card.generic",
|
|
34
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
2
|
+
export class BadRequestException extends __BaseException {
|
|
3
|
+
name = "BadRequestException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "BadRequestException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalFailureException extends __BaseException {
|
|
27
|
+
name = "InternalFailureException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InternalFailureException",
|
|
32
|
+
$fault: "server",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class LimitExceededException extends __BaseException {
|
|
39
|
+
name = "LimitExceededException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
retryAfterSeconds;
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "LimitExceededException",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts,
|
|
47
|
+
});
|
|
48
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
49
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export class NotFoundException extends __BaseException {
|
|
53
|
+
name = "NotFoundException";
|
|
54
|
+
$fault = "client";
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "NotFoundException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export class BadGatewayException extends __BaseException {
|
|
65
|
+
name = "BadGatewayException";
|
|
66
|
+
$fault = "server";
|
|
67
|
+
Message;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "BadGatewayException",
|
|
71
|
+
$fault: "server",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, BadGatewayException.prototype);
|
|
75
|
+
this.Message = opts.Message;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export class DependencyFailedException extends __BaseException {
|
|
79
|
+
name = "DependencyFailedException";
|
|
80
|
+
$fault = "client";
|
|
81
|
+
Message;
|
|
82
|
+
constructor(opts) {
|
|
83
|
+
super({
|
|
84
|
+
name: "DependencyFailedException",
|
|
85
|
+
$fault: "client",
|
|
86
|
+
...opts,
|
|
87
|
+
});
|
|
88
|
+
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
89
|
+
this.Message = opts.Message;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export class LoopDetectedException extends __BaseException {
|
|
93
|
+
name = "LoopDetectedException";
|
|
94
|
+
$fault = "server";
|
|
95
|
+
Message;
|
|
96
|
+
constructor(opts) {
|
|
97
|
+
super({
|
|
98
|
+
name: "LoopDetectedException",
|
|
99
|
+
$fault: "server",
|
|
100
|
+
...opts,
|
|
101
|
+
});
|
|
102
|
+
Object.setPrototypeOf(this, LoopDetectedException.prototype);
|
|
103
|
+
this.Message = opts.Message;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export class NotAcceptableException extends __BaseException {
|
|
107
|
+
name = "NotAcceptableException";
|
|
108
|
+
$fault = "client";
|
|
109
|
+
constructor(opts) {
|
|
110
|
+
super({
|
|
111
|
+
name: "NotAcceptableException",
|
|
112
|
+
$fault: "client",
|
|
113
|
+
...opts,
|
|
114
|
+
});
|
|
115
|
+
Object.setPrototypeOf(this, NotAcceptableException.prototype);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export class RequestTimeoutException extends __BaseException {
|
|
119
|
+
name = "RequestTimeoutException";
|
|
120
|
+
$fault = "client";
|
|
121
|
+
constructor(opts) {
|
|
122
|
+
super({
|
|
123
|
+
name: "RequestTimeoutException",
|
|
124
|
+
$fault: "client",
|
|
125
|
+
...opts,
|
|
126
|
+
});
|
|
127
|
+
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class UnsupportedMediaTypeException extends __BaseException {
|
|
131
|
+
name = "UnsupportedMediaTypeException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
constructor(opts) {
|
|
134
|
+
super({
|
|
135
|
+
name: "UnsupportedMediaTypeException",
|
|
136
|
+
$fault: "client",
|
|
137
|
+
...opts,
|
|
138
|
+
});
|
|
139
|
+
Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -1,175 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class BadRequestException extends __BaseException {
|
|
3
|
-
name = "BadRequestException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "BadRequestException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ConflictException extends __BaseException {
|
|
15
|
-
name = "ConflictException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "ConflictException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class InternalFailureException extends __BaseException {
|
|
27
|
-
name = "InternalFailureException";
|
|
28
|
-
$fault = "server";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "InternalFailureException",
|
|
32
|
-
$fault: "server",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class LimitExceededException extends __BaseException {
|
|
39
|
-
name = "LimitExceededException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
retryAfterSeconds;
|
|
42
|
-
constructor(opts) {
|
|
43
|
-
super({
|
|
44
|
-
name: "LimitExceededException",
|
|
45
|
-
$fault: "client",
|
|
46
|
-
...opts,
|
|
47
|
-
});
|
|
48
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
49
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
export class NotFoundException extends __BaseException {
|
|
53
|
-
name = "NotFoundException";
|
|
54
|
-
$fault = "client";
|
|
55
|
-
constructor(opts) {
|
|
56
|
-
super({
|
|
57
|
-
name: "NotFoundException",
|
|
58
|
-
$fault: "client",
|
|
59
|
-
...opts,
|
|
60
|
-
});
|
|
61
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
export const FulfillmentState = {
|
|
65
|
-
FAILED: "Failed",
|
|
66
|
-
FULFILLED: "Fulfilled",
|
|
67
|
-
READY_FOR_FULFILLMENT: "ReadyForFulfillment",
|
|
68
|
-
};
|
|
69
|
-
export const MessageFormatType = {
|
|
70
|
-
COMPOSITE: "Composite",
|
|
71
|
-
CUSTOM_PAYLOAD: "CustomPayload",
|
|
72
|
-
PLAIN_TEXT: "PlainText",
|
|
73
|
-
SSML: "SSML",
|
|
74
|
-
};
|
|
75
|
-
export const DialogActionType = {
|
|
76
|
-
CLOSE: "Close",
|
|
77
|
-
CONFIRM_INTENT: "ConfirmIntent",
|
|
78
|
-
DELEGATE: "Delegate",
|
|
79
|
-
ELICIT_INTENT: "ElicitIntent",
|
|
80
|
-
ELICIT_SLOT: "ElicitSlot",
|
|
81
|
-
};
|
|
82
|
-
export const ConfirmationStatus = {
|
|
83
|
-
CONFIRMED: "Confirmed",
|
|
84
|
-
DENIED: "Denied",
|
|
85
|
-
NONE: "None",
|
|
86
|
-
};
|
|
87
|
-
export class BadGatewayException extends __BaseException {
|
|
88
|
-
name = "BadGatewayException";
|
|
89
|
-
$fault = "server";
|
|
90
|
-
Message;
|
|
91
|
-
constructor(opts) {
|
|
92
|
-
super({
|
|
93
|
-
name: "BadGatewayException",
|
|
94
|
-
$fault: "server",
|
|
95
|
-
...opts,
|
|
96
|
-
});
|
|
97
|
-
Object.setPrototypeOf(this, BadGatewayException.prototype);
|
|
98
|
-
this.Message = opts.Message;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
export class DependencyFailedException extends __BaseException {
|
|
102
|
-
name = "DependencyFailedException";
|
|
103
|
-
$fault = "client";
|
|
104
|
-
Message;
|
|
105
|
-
constructor(opts) {
|
|
106
|
-
super({
|
|
107
|
-
name: "DependencyFailedException",
|
|
108
|
-
$fault: "client",
|
|
109
|
-
...opts,
|
|
110
|
-
});
|
|
111
|
-
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
112
|
-
this.Message = opts.Message;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
export class LoopDetectedException extends __BaseException {
|
|
116
|
-
name = "LoopDetectedException";
|
|
117
|
-
$fault = "server";
|
|
118
|
-
Message;
|
|
119
|
-
constructor(opts) {
|
|
120
|
-
super({
|
|
121
|
-
name: "LoopDetectedException",
|
|
122
|
-
$fault: "server",
|
|
123
|
-
...opts,
|
|
124
|
-
});
|
|
125
|
-
Object.setPrototypeOf(this, LoopDetectedException.prototype);
|
|
126
|
-
this.Message = opts.Message;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
export class NotAcceptableException extends __BaseException {
|
|
130
|
-
name = "NotAcceptableException";
|
|
131
|
-
$fault = "client";
|
|
132
|
-
constructor(opts) {
|
|
133
|
-
super({
|
|
134
|
-
name: "NotAcceptableException",
|
|
135
|
-
$fault: "client",
|
|
136
|
-
...opts,
|
|
137
|
-
});
|
|
138
|
-
Object.setPrototypeOf(this, NotAcceptableException.prototype);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
export const DialogState = {
|
|
142
|
-
CONFIRM_INTENT: "ConfirmIntent",
|
|
143
|
-
ELICIT_INTENT: "ElicitIntent",
|
|
144
|
-
ELICIT_SLOT: "ElicitSlot",
|
|
145
|
-
FAILED: "Failed",
|
|
146
|
-
FULFILLED: "Fulfilled",
|
|
147
|
-
READY_FOR_FULFILLMENT: "ReadyForFulfillment",
|
|
148
|
-
};
|
|
149
|
-
export class RequestTimeoutException extends __BaseException {
|
|
150
|
-
name = "RequestTimeoutException";
|
|
151
|
-
$fault = "client";
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "RequestTimeoutException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
export class UnsupportedMediaTypeException extends __BaseException {
|
|
162
|
-
name = "UnsupportedMediaTypeException";
|
|
163
|
-
$fault = "client";
|
|
164
|
-
constructor(opts) {
|
|
165
|
-
super({
|
|
166
|
-
name: "UnsupportedMediaTypeException",
|
|
167
|
-
$fault: "client",
|
|
168
|
-
...opts,
|
|
169
|
-
});
|
|
170
|
-
Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
export const ContentType = {
|
|
174
|
-
GENERIC: "application/vnd.amazonaws.card.generic",
|
|
175
|
-
};
|
|
1
|
+
export {};
|
|
@@ -135,7 +135,7 @@ const _xalsi = "x-amz-lex-session-id";
|
|
|
135
135
|
const _xalste = "x-amz-lex-slot-to-elicit";
|
|
136
136
|
const n0 = "com.amazonaws.lexruntimeservice";
|
|
137
137
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
138
|
-
import { BadGatewayException as __BadGatewayException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, DependencyFailedException as __DependencyFailedException, InternalFailureException as __InternalFailureException, LimitExceededException as __LimitExceededException, LoopDetectedException as __LoopDetectedException, NotAcceptableException as __NotAcceptableException, NotFoundException as __NotFoundException, RequestTimeoutException as __RequestTimeoutException, UnsupportedMediaTypeException as __UnsupportedMediaTypeException, } from "../models/
|
|
138
|
+
import { BadGatewayException as __BadGatewayException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, DependencyFailedException as __DependencyFailedException, InternalFailureException as __InternalFailureException, LimitExceededException as __LimitExceededException, LoopDetectedException as __LoopDetectedException, NotAcceptableException as __NotAcceptableException, NotFoundException as __NotFoundException, RequestTimeoutException as __RequestTimeoutException, UnsupportedMediaTypeException as __UnsupportedMediaTypeException, } from "../models/errors";
|
|
139
139
|
import { LexRuntimeServiceServiceException as __LexRuntimeServiceServiceException } from "../models/LexRuntimeServiceServiceException";
|
|
140
140
|
export var BlobStream = [
|
|
141
141
|
0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -20,5 +20,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
20
20
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
21
21
|
export type { LexRuntimeServiceExtensionConfiguration } from "./extensionConfiguration";
|
|
22
22
|
export * from "./commands";
|
|
23
|
-
export * from "./models";
|
|
23
|
+
export * from "./models/enums";
|
|
24
|
+
export * from "./models/errors";
|
|
25
|
+
export type * from "./models/models_0";
|
|
24
26
|
export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const FulfillmentState: {
|
|
6
|
+
readonly FAILED: "Failed";
|
|
7
|
+
readonly FULFILLED: "Fulfilled";
|
|
8
|
+
readonly READY_FOR_FULFILLMENT: "ReadyForFulfillment";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type FulfillmentState = (typeof FulfillmentState)[keyof typeof FulfillmentState];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const MessageFormatType: {
|
|
19
|
+
readonly COMPOSITE: "Composite";
|
|
20
|
+
readonly CUSTOM_PAYLOAD: "CustomPayload";
|
|
21
|
+
readonly PLAIN_TEXT: "PlainText";
|
|
22
|
+
readonly SSML: "SSML";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type MessageFormatType = (typeof MessageFormatType)[keyof typeof MessageFormatType];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const DialogActionType: {
|
|
33
|
+
readonly CLOSE: "Close";
|
|
34
|
+
readonly CONFIRM_INTENT: "ConfirmIntent";
|
|
35
|
+
readonly DELEGATE: "Delegate";
|
|
36
|
+
readonly ELICIT_INTENT: "ElicitIntent";
|
|
37
|
+
readonly ELICIT_SLOT: "ElicitSlot";
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export type DialogActionType = (typeof DialogActionType)[keyof typeof DialogActionType];
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* @enum
|
|
46
|
+
*/
|
|
47
|
+
export declare const ConfirmationStatus: {
|
|
48
|
+
readonly CONFIRMED: "Confirmed";
|
|
49
|
+
readonly DENIED: "Denied";
|
|
50
|
+
readonly NONE: "None";
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export type ConfirmationStatus = (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
* @enum
|
|
59
|
+
*/
|
|
60
|
+
export declare const DialogState: {
|
|
61
|
+
readonly CONFIRM_INTENT: "ConfirmIntent";
|
|
62
|
+
readonly ELICIT_INTENT: "ElicitIntent";
|
|
63
|
+
readonly ELICIT_SLOT: "ElicitSlot";
|
|
64
|
+
readonly FAILED: "Failed";
|
|
65
|
+
readonly FULFILLED: "Fulfilled";
|
|
66
|
+
readonly READY_FOR_FULFILLMENT: "ReadyForFulfillment";
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export type DialogState = (typeof DialogState)[keyof typeof DialogState];
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* @enum
|
|
75
|
+
*/
|
|
76
|
+
export declare const ContentType: {
|
|
77
|
+
readonly GENERIC: "application/vnd.amazonaws.card.generic";
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export type ContentType = (typeof ContentType)[keyof typeof ContentType];
|