@aws-sdk/client-lex-runtime-service 3.131.0 → 3.142.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.
@@ -21,12 +21,6 @@ export interface ActiveContextTimeToLive {
21
21
  */
22
22
  turnsToLive?: number;
23
23
  }
24
- export declare namespace ActiveContextTimeToLive {
25
- /**
26
- * @internal
27
- */
28
- const filterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
29
- }
30
24
  /**
31
25
  * <p>A context is a variable that contains information about the current
32
26
  * state of the conversation between a user and Amazon Lex. Context can be set
@@ -50,12 +44,6 @@ export interface ActiveContext {
50
44
  */
51
45
  parameters: Record<string, string> | undefined;
52
46
  }
53
- export declare namespace ActiveContext {
54
- /**
55
- * @internal
56
- */
57
- const filterSensitiveLog: (obj: ActiveContext) => any;
58
- }
59
47
  /**
60
48
  * <p> Request validation failed, there is no usable message in the context,
61
49
  * or the bot build failed, is still in progress, or contains unbuilt
@@ -95,12 +83,6 @@ export interface DeleteSessionRequest {
95
83
  */
96
84
  userId: string | undefined;
97
85
  }
98
- export declare namespace DeleteSessionRequest {
99
- /**
100
- * @internal
101
- */
102
- const filterSensitiveLog: (obj: DeleteSessionRequest) => any;
103
- }
104
86
  export interface DeleteSessionResponse {
105
87
  /**
106
88
  * <p>The name of the bot associated with the session data.</p>
@@ -119,12 +101,6 @@ export interface DeleteSessionResponse {
119
101
  */
120
102
  sessionId?: string;
121
103
  }
122
- export declare namespace DeleteSessionResponse {
123
- /**
124
- * @internal
125
- */
126
- const filterSensitiveLog: (obj: DeleteSessionResponse) => any;
127
- }
128
104
  /**
129
105
  * <p>Internal service error. Retry the call.</p>
130
106
  */
@@ -183,12 +159,6 @@ export interface GetSessionRequest {
183
159
  */
184
160
  checkpointLabelFilter?: string;
185
161
  }
186
- export declare namespace GetSessionRequest {
187
- /**
188
- * @internal
189
- */
190
- const filterSensitiveLog: (obj: GetSessionRequest) => any;
191
- }
192
162
  export declare enum FulfillmentState {
193
163
  FAILED = "Failed",
194
164
  FULFILLED = "Fulfilled",
@@ -315,12 +285,6 @@ export interface DialogAction {
315
285
  */
316
286
  messageFormat?: MessageFormatType | string;
317
287
  }
318
- export declare namespace DialogAction {
319
- /**
320
- * @internal
321
- */
322
- const filterSensitiveLog: (obj: DialogAction) => any;
323
- }
324
288
  export declare enum ConfirmationStatus {
325
289
  CONFIRMED = "Confirmed",
326
290
  DENIED = "Denied",
@@ -432,12 +396,6 @@ export interface IntentSummary {
432
396
  */
433
397
  slotToElicit?: string;
434
398
  }
435
- export declare namespace IntentSummary {
436
- /**
437
- * @internal
438
- */
439
- const filterSensitiveLog: (obj: IntentSummary) => any;
440
- }
441
399
  export interface GetSessionResponse {
442
400
  /**
443
401
  * <p>An array of information about the intents used in the session. The
@@ -472,12 +430,6 @@ export interface GetSessionResponse {
472
430
  */
473
431
  activeContexts?: ActiveContext[];
474
432
  }
475
- export declare namespace GetSessionResponse {
476
- /**
477
- * @internal
478
- */
479
- const filterSensitiveLog: (obj: GetSessionResponse) => any;
480
- }
481
433
  /**
482
434
  * <p>Either the Amazon Lex bot is still building, or one of the dependent
483
435
  * services (Amazon Polly, AWS Lambda) failed with an internal service
@@ -711,12 +663,6 @@ export interface PostContentRequest {
711
663
  */
712
664
  activeContexts?: __LazyJsonString | string;
713
665
  }
714
- export declare namespace PostContentRequest {
715
- /**
716
- * @internal
717
- */
718
- const filterSensitiveLog: (obj: PostContentRequest) => any;
719
- }
720
666
  export declare enum DialogState {
721
667
  CONFIRM_INTENT = "ConfirmIntent",
722
668
  ELICIT_INTENT = "ElicitIntent",
@@ -972,12 +918,6 @@ export interface PostContentResponse {
972
918
  */
973
919
  activeContexts?: __LazyJsonString | string;
974
920
  }
975
- export declare namespace PostContentResponse {
976
- /**
977
- * @internal
978
- */
979
- const filterSensitiveLog: (obj: PostContentResponse) => any;
980
- }
981
921
  /**
982
922
  * <p>The input speech is too long.</p>
983
923
  */
@@ -1071,12 +1011,6 @@ export interface PostTextRequest {
1071
1011
  */
1072
1012
  activeContexts?: ActiveContext[];
1073
1013
  }
1074
- export declare namespace PostTextRequest {
1075
- /**
1076
- * @internal
1077
- */
1078
- const filterSensitiveLog: (obj: PostTextRequest) => any;
1079
- }
1080
1014
  /**
1081
1015
  * <p>Provides a score that indicates the confidence that Amazon Lex has that an
1082
1016
  * intent is the one that satisfies the user's intent.</p>
@@ -1089,12 +1023,6 @@ export interface IntentConfidence {
1089
1023
  */
1090
1024
  score?: number;
1091
1025
  }
1092
- export declare namespace IntentConfidence {
1093
- /**
1094
- * @internal
1095
- */
1096
- const filterSensitiveLog: (obj: IntentConfidence) => any;
1097
- }
1098
1026
  /**
1099
1027
  * <p>An intent that Amazon Lex suggests satisfies the user's intent. Includes
1100
1028
  * the name of the intent, the confidence that Amazon Lex has that the user's
@@ -1116,12 +1044,6 @@ export interface PredictedIntent {
1116
1044
  */
1117
1045
  slots?: Record<string, string>;
1118
1046
  }
1119
- export declare namespace PredictedIntent {
1120
- /**
1121
- * @internal
1122
- */
1123
- const filterSensitiveLog: (obj: PredictedIntent) => any;
1124
- }
1125
1047
  export declare enum ContentType {
1126
1048
  GENERIC = "application/vnd.amazonaws.card.generic"
1127
1049
  }
@@ -1141,12 +1063,6 @@ export interface Button {
1141
1063
  */
1142
1064
  value: string | undefined;
1143
1065
  }
1144
- export declare namespace Button {
1145
- /**
1146
- * @internal
1147
- */
1148
- const filterSensitiveLog: (obj: Button) => any;
1149
- }
1150
1066
  /**
1151
1067
  * <p>Represents an option rendered to the user when a prompt is shown. It
1152
1068
  * could be an image, a button, a link, or text. </p>
@@ -1173,12 +1089,6 @@ export interface GenericAttachment {
1173
1089
  */
1174
1090
  buttons?: Button[];
1175
1091
  }
1176
- export declare namespace GenericAttachment {
1177
- /**
1178
- * @internal
1179
- */
1180
- const filterSensitiveLog: (obj: GenericAttachment) => any;
1181
- }
1182
1092
  /**
1183
1093
  * <p>If you configure a response card when creating your bots, Amazon Lex
1184
1094
  * substitutes the session attributes and slot values that are available, and
@@ -1200,12 +1110,6 @@ export interface ResponseCard {
1200
1110
  */
1201
1111
  genericAttachments?: GenericAttachment[];
1202
1112
  }
1203
- export declare namespace ResponseCard {
1204
- /**
1205
- * @internal
1206
- */
1207
- const filterSensitiveLog: (obj: ResponseCard) => any;
1208
- }
1209
1113
  /**
1210
1114
  * <p>The sentiment expressed in an utterance.</p>
1211
1115
  * <p>When the bot is configured to send utterances to Amazon Comprehend for
@@ -1223,12 +1127,6 @@ export interface SentimentResponse {
1223
1127
  */
1224
1128
  sentimentScore?: string;
1225
1129
  }
1226
- export declare namespace SentimentResponse {
1227
- /**
1228
- * @internal
1229
- */
1230
- const filterSensitiveLog: (obj: SentimentResponse) => any;
1231
- }
1232
1130
  export interface PostTextResponse {
1233
1131
  /**
1234
1132
  * <p>The current user intent that Amazon Lex is aware of.</p>
@@ -1414,12 +1312,6 @@ export interface PostTextResponse {
1414
1312
  */
1415
1313
  activeContexts?: ActiveContext[];
1416
1314
  }
1417
- export declare namespace PostTextResponse {
1418
- /**
1419
- * @internal
1420
- */
1421
- const filterSensitiveLog: (obj: PostTextResponse) => any;
1422
- }
1423
1315
  export interface PutSessionRequest {
1424
1316
  /**
1425
1317
  * <p>The name of the bot that contains the session data.</p>
@@ -1537,12 +1429,6 @@ export interface PutSessionRequest {
1537
1429
  */
1538
1430
  activeContexts?: ActiveContext[];
1539
1431
  }
1540
- export declare namespace PutSessionRequest {
1541
- /**
1542
- * @internal
1543
- */
1544
- const filterSensitiveLog: (obj: PutSessionRequest) => any;
1545
- }
1546
1432
  export interface PutSessionResponse {
1547
1433
  /**
1548
1434
  * <p>Content type as specified in the <code>Accept</code> HTTP header in
@@ -1674,9 +1560,83 @@ export interface PutSessionResponse {
1674
1560
  */
1675
1561
  activeContexts?: __LazyJsonString | string;
1676
1562
  }
1677
- export declare namespace PutSessionResponse {
1678
- /**
1679
- * @internal
1680
- */
1681
- const filterSensitiveLog: (obj: PutSessionResponse) => any;
1682
- }
1563
+ /**
1564
+ * @internal
1565
+ */
1566
+ export declare const ActiveContextTimeToLiveFilterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
1567
+ /**
1568
+ * @internal
1569
+ */
1570
+ export declare const ActiveContextFilterSensitiveLog: (obj: ActiveContext) => any;
1571
+ /**
1572
+ * @internal
1573
+ */
1574
+ export declare const DeleteSessionRequestFilterSensitiveLog: (obj: DeleteSessionRequest) => any;
1575
+ /**
1576
+ * @internal
1577
+ */
1578
+ export declare const DeleteSessionResponseFilterSensitiveLog: (obj: DeleteSessionResponse) => any;
1579
+ /**
1580
+ * @internal
1581
+ */
1582
+ export declare const GetSessionRequestFilterSensitiveLog: (obj: GetSessionRequest) => any;
1583
+ /**
1584
+ * @internal
1585
+ */
1586
+ export declare const DialogActionFilterSensitiveLog: (obj: DialogAction) => any;
1587
+ /**
1588
+ * @internal
1589
+ */
1590
+ export declare const IntentSummaryFilterSensitiveLog: (obj: IntentSummary) => any;
1591
+ /**
1592
+ * @internal
1593
+ */
1594
+ export declare const GetSessionResponseFilterSensitiveLog: (obj: GetSessionResponse) => any;
1595
+ /**
1596
+ * @internal
1597
+ */
1598
+ export declare const PostContentRequestFilterSensitiveLog: (obj: PostContentRequest) => any;
1599
+ /**
1600
+ * @internal
1601
+ */
1602
+ export declare const PostContentResponseFilterSensitiveLog: (obj: PostContentResponse) => any;
1603
+ /**
1604
+ * @internal
1605
+ */
1606
+ export declare const PostTextRequestFilterSensitiveLog: (obj: PostTextRequest) => any;
1607
+ /**
1608
+ * @internal
1609
+ */
1610
+ export declare const IntentConfidenceFilterSensitiveLog: (obj: IntentConfidence) => any;
1611
+ /**
1612
+ * @internal
1613
+ */
1614
+ export declare const PredictedIntentFilterSensitiveLog: (obj: PredictedIntent) => any;
1615
+ /**
1616
+ * @internal
1617
+ */
1618
+ export declare const ButtonFilterSensitiveLog: (obj: Button) => any;
1619
+ /**
1620
+ * @internal
1621
+ */
1622
+ export declare const GenericAttachmentFilterSensitiveLog: (obj: GenericAttachment) => any;
1623
+ /**
1624
+ * @internal
1625
+ */
1626
+ export declare const ResponseCardFilterSensitiveLog: (obj: ResponseCard) => any;
1627
+ /**
1628
+ * @internal
1629
+ */
1630
+ export declare const SentimentResponseFilterSensitiveLog: (obj: SentimentResponse) => any;
1631
+ /**
1632
+ * @internal
1633
+ */
1634
+ export declare const PostTextResponseFilterSensitiveLog: (obj: PostTextResponse) => any;
1635
+ /**
1636
+ * @internal
1637
+ */
1638
+ export declare const PutSessionRequestFilterSensitiveLog: (obj: PutSessionRequest) => any;
1639
+ /**
1640
+ * @internal
1641
+ */
1642
+ export declare const PutSessionResponseFilterSensitiveLog: (obj: PutSessionResponse) => any;
@@ -9,10 +9,6 @@ export interface ActiveContextTimeToLive {
9
9
 
10
10
  turnsToLive?: number;
11
11
  }
12
- export declare namespace ActiveContextTimeToLive {
13
-
14
- const filterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
15
- }
16
12
 
17
13
  export interface ActiveContext {
18
14
 
@@ -22,10 +18,6 @@ export interface ActiveContext {
22
18
 
23
19
  parameters: Record<string, string> | undefined;
24
20
  }
25
- export declare namespace ActiveContext {
26
-
27
- const filterSensitiveLog: (obj: ActiveContext) => any;
28
- }
29
21
 
30
22
  export declare class BadRequestException extends __BaseException {
31
23
  readonly name: "BadRequestException";
@@ -48,10 +40,6 @@ export interface DeleteSessionRequest {
48
40
 
49
41
  userId: string | undefined;
50
42
  }
51
- export declare namespace DeleteSessionRequest {
52
-
53
- const filterSensitiveLog: (obj: DeleteSessionRequest) => any;
54
- }
55
43
  export interface DeleteSessionResponse {
56
44
 
57
45
  botName?: string;
@@ -62,10 +50,6 @@ export interface DeleteSessionResponse {
62
50
 
63
51
  sessionId?: string;
64
52
  }
65
- export declare namespace DeleteSessionResponse {
66
-
67
- const filterSensitiveLog: (obj: DeleteSessionResponse) => any;
68
- }
69
53
 
70
54
  export declare class InternalFailureException extends __BaseException {
71
55
  readonly name: "InternalFailureException";
@@ -98,10 +82,6 @@ export interface GetSessionRequest {
98
82
 
99
83
  checkpointLabelFilter?: string;
100
84
  }
101
- export declare namespace GetSessionRequest {
102
-
103
- const filterSensitiveLog: (obj: GetSessionRequest) => any;
104
- }
105
85
  export declare enum FulfillmentState {
106
86
  FAILED = "Failed",
107
87
  FULFILLED = "Fulfilled",
@@ -137,10 +117,6 @@ export interface DialogAction {
137
117
 
138
118
  messageFormat?: MessageFormatType | string;
139
119
  }
140
- export declare namespace DialogAction {
141
-
142
- const filterSensitiveLog: (obj: DialogAction) => any;
143
- }
144
120
  export declare enum ConfirmationStatus {
145
121
  CONFIRMED = "Confirmed",
146
122
  DENIED = "Denied",
@@ -163,10 +139,6 @@ export interface IntentSummary {
163
139
 
164
140
  slotToElicit?: string;
165
141
  }
166
- export declare namespace IntentSummary {
167
-
168
- const filterSensitiveLog: (obj: IntentSummary) => any;
169
- }
170
142
  export interface GetSessionResponse {
171
143
 
172
144
  recentIntentSummaryView?: IntentSummary[];
@@ -179,10 +151,6 @@ export interface GetSessionResponse {
179
151
 
180
152
  activeContexts?: ActiveContext[];
181
153
  }
182
- export declare namespace GetSessionResponse {
183
-
184
- const filterSensitiveLog: (obj: GetSessionResponse) => any;
185
- }
186
154
 
187
155
  export declare class BadGatewayException extends __BaseException {
188
156
  readonly name: "BadGatewayException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-runtime-service",
3
3
  "description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
4
- "version": "3.131.0",
4
+ "version": "3.142.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.131.0",
23
+ "@aws-sdk/client-sts": "3.142.0",
24
24
  "@aws-sdk/config-resolver": "3.130.0",
25
- "@aws-sdk/credential-provider-node": "3.131.0",
25
+ "@aws-sdk/credential-provider-node": "3.142.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.131.0",
27
27
  "@aws-sdk/hash-node": "3.127.0",
28
28
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -38,15 +38,15 @@
38
38
  "@aws-sdk/node-config-provider": "3.127.0",
39
39
  "@aws-sdk/node-http-handler": "3.127.0",
40
40
  "@aws-sdk/protocol-http": "3.127.0",
41
- "@aws-sdk/smithy-client": "3.127.0",
41
+ "@aws-sdk/smithy-client": "3.142.0",
42
42
  "@aws-sdk/types": "3.127.0",
43
43
  "@aws-sdk/url-parser": "3.127.0",
44
44
  "@aws-sdk/util-base64-browser": "3.109.0",
45
45
  "@aws-sdk/util-base64-node": "3.55.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.55.0",
47
47
  "@aws-sdk/util-body-length-node": "3.55.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.142.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.142.0",
50
50
  "@aws-sdk/util-user-agent-browser": "3.127.0",
51
51
  "@aws-sdk/util-user-agent-node": "3.127.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.109.0",