@aws-sdk/client-lex-runtime-service 3.297.0 → 3.299.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.
@@ -4,7 +4,6 @@ exports.DeleteSessionCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
8
  class DeleteSessionCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class DeleteSessionCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DeleteSessionRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.DeleteSessionResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -30,7 +30,7 @@ class GetSessionCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.GetSessionRequestFilterSensitiveLog,
33
+ inputFilterSensitiveLog: (_) => _,
34
34
  outputFilterSensitiveLog: models_0_1.GetSessionResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutSessionResponseFilterSensitiveLog = exports.PutSessionRequestFilterSensitiveLog = exports.PostTextResponseFilterSensitiveLog = exports.SentimentResponseFilterSensitiveLog = exports.ResponseCardFilterSensitiveLog = exports.GenericAttachmentFilterSensitiveLog = exports.ButtonFilterSensitiveLog = exports.PredictedIntentFilterSensitiveLog = exports.IntentConfidenceFilterSensitiveLog = exports.PostTextRequestFilterSensitiveLog = exports.PostContentResponseFilterSensitiveLog = exports.PostContentRequestFilterSensitiveLog = exports.GetSessionResponseFilterSensitiveLog = exports.IntentSummaryFilterSensitiveLog = exports.DialogActionFilterSensitiveLog = exports.GetSessionRequestFilterSensitiveLog = exports.DeleteSessionResponseFilterSensitiveLog = exports.DeleteSessionRequestFilterSensitiveLog = exports.ActiveContextFilterSensitiveLog = exports.ActiveContextTimeToLiveFilterSensitiveLog = exports.ContentType = exports.UnsupportedMediaTypeException = exports.RequestTimeoutException = exports.DialogState = exports.NotAcceptableException = exports.LoopDetectedException = exports.DependencyFailedException = exports.BadGatewayException = exports.ConfirmationStatus = exports.DialogActionType = exports.MessageFormatType = exports.FulfillmentState = exports.NotFoundException = exports.LimitExceededException = exports.InternalFailureException = exports.ConflictException = exports.BadRequestException = void 0;
3
+ exports.PutSessionResponseFilterSensitiveLog = exports.PutSessionRequestFilterSensitiveLog = exports.PostTextResponseFilterSensitiveLog = exports.PredictedIntentFilterSensitiveLog = exports.PostTextRequestFilterSensitiveLog = exports.PostContentResponseFilterSensitiveLog = exports.PostContentRequestFilterSensitiveLog = exports.GetSessionResponseFilterSensitiveLog = exports.IntentSummaryFilterSensitiveLog = exports.DialogActionFilterSensitiveLog = exports.ActiveContextFilterSensitiveLog = exports.ContentType = exports.UnsupportedMediaTypeException = exports.RequestTimeoutException = exports.DialogState = exports.NotAcceptableException = exports.LoopDetectedException = exports.DependencyFailedException = exports.BadGatewayException = exports.ConfirmationStatus = exports.DialogActionType = exports.MessageFormatType = exports.FulfillmentState = exports.NotFoundException = exports.LimitExceededException = exports.InternalFailureException = exports.ConflictException = exports.BadRequestException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const LexRuntimeServiceServiceException_1 = require("./LexRuntimeServiceServiceException");
6
6
  class BadRequestException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
@@ -190,27 +190,11 @@ var ContentType;
190
190
  (function (ContentType) {
191
191
  ContentType["GENERIC"] = "application/vnd.amazonaws.card.generic";
192
192
  })(ContentType = exports.ContentType || (exports.ContentType = {}));
193
- const ActiveContextTimeToLiveFilterSensitiveLog = (obj) => ({
194
- ...obj,
195
- });
196
- exports.ActiveContextTimeToLiveFilterSensitiveLog = ActiveContextTimeToLiveFilterSensitiveLog;
197
193
  const ActiveContextFilterSensitiveLog = (obj) => ({
198
194
  ...obj,
199
195
  ...(obj.parameters && { parameters: smithy_client_1.SENSITIVE_STRING }),
200
196
  });
201
197
  exports.ActiveContextFilterSensitiveLog = ActiveContextFilterSensitiveLog;
202
- const DeleteSessionRequestFilterSensitiveLog = (obj) => ({
203
- ...obj,
204
- });
205
- exports.DeleteSessionRequestFilterSensitiveLog = DeleteSessionRequestFilterSensitiveLog;
206
- const DeleteSessionResponseFilterSensitiveLog = (obj) => ({
207
- ...obj,
208
- });
209
- exports.DeleteSessionResponseFilterSensitiveLog = DeleteSessionResponseFilterSensitiveLog;
210
- const GetSessionRequestFilterSensitiveLog = (obj) => ({
211
- ...obj,
212
- });
213
- exports.GetSessionRequestFilterSensitiveLog = GetSessionRequestFilterSensitiveLog;
214
198
  const DialogActionFilterSensitiveLog = (obj) => ({
215
199
  ...obj,
216
200
  ...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
@@ -255,31 +239,11 @@ const PostTextRequestFilterSensitiveLog = (obj) => ({
255
239
  ...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
256
240
  });
257
241
  exports.PostTextRequestFilterSensitiveLog = PostTextRequestFilterSensitiveLog;
258
- const IntentConfidenceFilterSensitiveLog = (obj) => ({
259
- ...obj,
260
- });
261
- exports.IntentConfidenceFilterSensitiveLog = IntentConfidenceFilterSensitiveLog;
262
242
  const PredictedIntentFilterSensitiveLog = (obj) => ({
263
243
  ...obj,
264
244
  ...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
265
245
  });
266
246
  exports.PredictedIntentFilterSensitiveLog = PredictedIntentFilterSensitiveLog;
267
- const ButtonFilterSensitiveLog = (obj) => ({
268
- ...obj,
269
- });
270
- exports.ButtonFilterSensitiveLog = ButtonFilterSensitiveLog;
271
- const GenericAttachmentFilterSensitiveLog = (obj) => ({
272
- ...obj,
273
- });
274
- exports.GenericAttachmentFilterSensitiveLog = GenericAttachmentFilterSensitiveLog;
275
- const ResponseCardFilterSensitiveLog = (obj) => ({
276
- ...obj,
277
- });
278
- exports.ResponseCardFilterSensitiveLog = ResponseCardFilterSensitiveLog;
279
- const SentimentResponseFilterSensitiveLog = (obj) => ({
280
- ...obj,
281
- });
282
- exports.SentimentResponseFilterSensitiveLog = SentimentResponseFilterSensitiveLog;
283
247
  const PostTextResponseFilterSensitiveLog = (obj) => ({
284
248
  ...obj,
285
249
  ...(obj.alternativeIntents && {
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteSessionRequestFilterSensitiveLog, DeleteSessionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteSessionCommand, serializeAws_restJson1DeleteSessionCommand, } from "../protocols/Aws_restJson1";
6
5
  export class DeleteSessionCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class DeleteSessionCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: DeleteSessionRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: DeleteSessionResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetSessionRequestFilterSensitiveLog, GetSessionResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { GetSessionResponseFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetSessionCommand, serializeAws_restJson1GetSessionCommand, } from "../protocols/Aws_restJson1";
6
6
  export class GetSessionCommand extends $Command {
7
7
  static getEndpointParameterInstructions() {
@@ -27,7 +27,7 @@ export class GetSessionCommand extends $Command {
27
27
  logger,
28
28
  clientName,
29
29
  commandName,
30
- inputFilterSensitiveLog: GetSessionRequestFilterSensitiveLog,
30
+ inputFilterSensitiveLog: (_) => _,
31
31
  outputFilterSensitiveLog: GetSessionResponseFilterSensitiveLog,
32
32
  };
33
33
  const { requestHandler } = configuration;
@@ -176,22 +176,10 @@ export var ContentType;
176
176
  (function (ContentType) {
177
177
  ContentType["GENERIC"] = "application/vnd.amazonaws.card.generic";
178
178
  })(ContentType || (ContentType = {}));
179
- export const ActiveContextTimeToLiveFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- });
182
179
  export const ActiveContextFilterSensitiveLog = (obj) => ({
183
180
  ...obj,
184
181
  ...(obj.parameters && { parameters: SENSITIVE_STRING }),
185
182
  });
186
- export const DeleteSessionRequestFilterSensitiveLog = (obj) => ({
187
- ...obj,
188
- });
189
- export const DeleteSessionResponseFilterSensitiveLog = (obj) => ({
190
- ...obj,
191
- });
192
- export const GetSessionRequestFilterSensitiveLog = (obj) => ({
193
- ...obj,
194
- });
195
183
  export const DialogActionFilterSensitiveLog = (obj) => ({
196
184
  ...obj,
197
185
  ...(obj.slots && { slots: SENSITIVE_STRING }),
@@ -230,25 +218,10 @@ export const PostTextRequestFilterSensitiveLog = (obj) => ({
230
218
  ...(obj.inputText && { inputText: SENSITIVE_STRING }),
231
219
  ...(obj.activeContexts && { activeContexts: SENSITIVE_STRING }),
232
220
  });
233
- export const IntentConfidenceFilterSensitiveLog = (obj) => ({
234
- ...obj,
235
- });
236
221
  export const PredictedIntentFilterSensitiveLog = (obj) => ({
237
222
  ...obj,
238
223
  ...(obj.slots && { slots: SENSITIVE_STRING }),
239
224
  });
240
- export const ButtonFilterSensitiveLog = (obj) => ({
241
- ...obj,
242
- });
243
- export const GenericAttachmentFilterSensitiveLog = (obj) => ({
244
- ...obj,
245
- });
246
- export const ResponseCardFilterSensitiveLog = (obj) => ({
247
- ...obj,
248
- });
249
- export const SentimentResponseFilterSensitiveLog = (obj) => ({
250
- ...obj,
251
- });
252
225
  export const PostTextResponseFilterSensitiveLog = (obj) => ({
253
226
  ...obj,
254
227
  ...(obj.alternativeIntents && {
@@ -1629,26 +1629,10 @@ export interface PutSessionResponse {
1629
1629
  */
1630
1630
  activeContexts?: __LazyJsonString | string;
1631
1631
  }
1632
- /**
1633
- * @internal
1634
- */
1635
- export declare const ActiveContextTimeToLiveFilterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
1636
1632
  /**
1637
1633
  * @internal
1638
1634
  */
1639
1635
  export declare const ActiveContextFilterSensitiveLog: (obj: ActiveContext) => any;
1640
- /**
1641
- * @internal
1642
- */
1643
- export declare const DeleteSessionRequestFilterSensitiveLog: (obj: DeleteSessionRequest) => any;
1644
- /**
1645
- * @internal
1646
- */
1647
- export declare const DeleteSessionResponseFilterSensitiveLog: (obj: DeleteSessionResponse) => any;
1648
- /**
1649
- * @internal
1650
- */
1651
- export declare const GetSessionRequestFilterSensitiveLog: (obj: GetSessionRequest) => any;
1652
1636
  /**
1653
1637
  * @internal
1654
1638
  */
@@ -1673,30 +1657,10 @@ export declare const PostContentResponseFilterSensitiveLog: (obj: PostContentRes
1673
1657
  * @internal
1674
1658
  */
1675
1659
  export declare const PostTextRequestFilterSensitiveLog: (obj: PostTextRequest) => any;
1676
- /**
1677
- * @internal
1678
- */
1679
- export declare const IntentConfidenceFilterSensitiveLog: (obj: IntentConfidence) => any;
1680
1660
  /**
1681
1661
  * @internal
1682
1662
  */
1683
1663
  export declare const PredictedIntentFilterSensitiveLog: (obj: PredictedIntent) => any;
1684
- /**
1685
- * @internal
1686
- */
1687
- export declare const ButtonFilterSensitiveLog: (obj: Button) => any;
1688
- /**
1689
- * @internal
1690
- */
1691
- export declare const GenericAttachmentFilterSensitiveLog: (obj: GenericAttachment) => any;
1692
- /**
1693
- * @internal
1694
- */
1695
- export declare const ResponseCardFilterSensitiveLog: (obj: ResponseCard) => any;
1696
- /**
1697
- * @internal
1698
- */
1699
- export declare const SentimentResponseFilterSensitiveLog: (obj: SentimentResponse) => any;
1700
1664
  /**
1701
1665
  * @internal
1702
1666
  */
@@ -274,21 +274,9 @@ export interface PutSessionResponse {
274
274
  sessionId?: string;
275
275
  activeContexts?: __LazyJsonString | string;
276
276
  }
277
- export declare const ActiveContextTimeToLiveFilterSensitiveLog: (
278
- obj: ActiveContextTimeToLive
279
- ) => any;
280
277
  export declare const ActiveContextFilterSensitiveLog: (
281
278
  obj: ActiveContext
282
279
  ) => any;
283
- export declare const DeleteSessionRequestFilterSensitiveLog: (
284
- obj: DeleteSessionRequest
285
- ) => any;
286
- export declare const DeleteSessionResponseFilterSensitiveLog: (
287
- obj: DeleteSessionResponse
288
- ) => any;
289
- export declare const GetSessionRequestFilterSensitiveLog: (
290
- obj: GetSessionRequest
291
- ) => any;
292
280
  export declare const DialogActionFilterSensitiveLog: (obj: DialogAction) => any;
293
281
  export declare const IntentSummaryFilterSensitiveLog: (
294
282
  obj: IntentSummary
@@ -305,20 +293,9 @@ export declare const PostContentResponseFilterSensitiveLog: (
305
293
  export declare const PostTextRequestFilterSensitiveLog: (
306
294
  obj: PostTextRequest
307
295
  ) => any;
308
- export declare const IntentConfidenceFilterSensitiveLog: (
309
- obj: IntentConfidence
310
- ) => any;
311
296
  export declare const PredictedIntentFilterSensitiveLog: (
312
297
  obj: PredictedIntent
313
298
  ) => any;
314
- export declare const ButtonFilterSensitiveLog: (obj: Button) => any;
315
- export declare const GenericAttachmentFilterSensitiveLog: (
316
- obj: GenericAttachment
317
- ) => any;
318
- export declare const ResponseCardFilterSensitiveLog: (obj: ResponseCard) => any;
319
- export declare const SentimentResponseFilterSensitiveLog: (
320
- obj: SentimentResponse
321
- ) => any;
322
299
  export declare const PostTextResponseFilterSensitiveLog: (
323
300
  obj: PostTextResponse
324
301
  ) => any;
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.297.0",
4
+ "version": "3.299.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",
@@ -11,6 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
+ "extract:docs": "api-extractor run --local",
14
15
  "generate:client": "node ../../scripts/generate-clients/single-service --solo lex-runtime-service",
15
16
  "test": "yarn test:unit",
16
17
  "test:unit": "ts-mocha test/**/*.spec.ts"
@@ -22,22 +23,22 @@
22
23
  "dependencies": {
23
24
  "@aws-crypto/sha256-browser": "3.0.0",
24
25
  "@aws-crypto/sha256-js": "3.0.0",
25
- "@aws-sdk/client-sts": "3.297.0",
26
- "@aws-sdk/config-resolver": "3.296.0",
27
- "@aws-sdk/credential-provider-node": "3.297.0",
26
+ "@aws-sdk/client-sts": "3.299.0",
27
+ "@aws-sdk/config-resolver": "3.299.0",
28
+ "@aws-sdk/credential-provider-node": "3.299.0",
28
29
  "@aws-sdk/fetch-http-handler": "3.296.0",
29
30
  "@aws-sdk/hash-node": "3.296.0",
30
31
  "@aws-sdk/invalid-dependency": "3.296.0",
31
32
  "@aws-sdk/middleware-content-length": "3.296.0",
32
- "@aws-sdk/middleware-endpoint": "3.296.0",
33
+ "@aws-sdk/middleware-endpoint": "3.299.0",
33
34
  "@aws-sdk/middleware-host-header": "3.296.0",
34
35
  "@aws-sdk/middleware-logger": "3.296.0",
35
36
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
36
37
  "@aws-sdk/middleware-retry": "3.296.0",
37
38
  "@aws-sdk/middleware-serde": "3.296.0",
38
- "@aws-sdk/middleware-signing": "3.296.0",
39
+ "@aws-sdk/middleware-signing": "3.299.0",
39
40
  "@aws-sdk/middleware-stack": "3.296.0",
40
- "@aws-sdk/middleware-user-agent": "3.296.0",
41
+ "@aws-sdk/middleware-user-agent": "3.299.0",
41
42
  "@aws-sdk/node-config-provider": "3.296.0",
42
43
  "@aws-sdk/node-http-handler": "3.296.0",
43
44
  "@aws-sdk/protocol-http": "3.296.0",
@@ -48,13 +49,13 @@
48
49
  "@aws-sdk/util-body-length-browser": "3.295.0",
49
50
  "@aws-sdk/util-body-length-node": "3.295.0",
50
51
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
51
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
52
+ "@aws-sdk/util-defaults-mode-node": "3.299.0",
52
53
  "@aws-sdk/util-endpoints": "3.296.0",
53
54
  "@aws-sdk/util-retry": "3.296.0",
54
55
  "@aws-sdk/util-stream-browser": "3.296.0",
55
56
  "@aws-sdk/util-stream-node": "3.296.0",
56
- "@aws-sdk/util-user-agent-browser": "3.296.0",
57
- "@aws-sdk/util-user-agent-node": "3.296.0",
57
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
58
+ "@aws-sdk/util-user-agent-node": "3.299.0",
58
59
  "@aws-sdk/util-utf8": "3.295.0",
59
60
  "tslib": "^2.5.0"
60
61
  },