@aws-sdk/client-lex-models-v2 3.267.0 → 3.268.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.
Files changed (32) hide show
  1. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  2. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  3. package/dist-cjs/endpoint/ruleset.js +3 -3
  4. package/dist-cjs/models/models_0.js +22 -18
  5. package/dist-cjs/models/models_1.js +13 -1
  6. package/dist-cjs/protocols/Aws_restJson1.js +91 -0
  7. package/dist-es/commands/TagResourceCommand.js +2 -1
  8. package/dist-es/commands/UntagResourceCommand.js +1 -1
  9. package/dist-es/endpoint/ruleset.js +3 -3
  10. package/dist-es/models/models_0.js +14 -9
  11. package/dist-es/models/models_1.js +9 -0
  12. package/dist-es/protocols/Aws_restJson1.js +91 -0
  13. package/dist-types/LexModelsV2.d.ts +13 -13
  14. package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +2 -2
  15. package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +2 -2
  16. package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +2 -2
  17. package/dist-types/commands/DeleteBotVersionCommand.d.ts +2 -2
  18. package/dist-types/commands/DeleteUtterancesCommand.d.ts +1 -1
  19. package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +2 -2
  21. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  22. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  23. package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
  24. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  25. package/dist-types/models/models_0.d.ts +215 -131
  26. package/dist-types/models/models_1.d.ts +47 -2
  27. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
  28. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  30. package/dist-types/ts3.4/models/models_0.d.ts +34 -15
  31. package/dist-types/ts3.4/models/models_1.d.ts +21 -0
  32. package/package.json +1 -1
@@ -1,8 +1,24 @@
1
- import { BotAliasLocaleSettings, BotAliasStatus, BotLocaleStatus, BotRecommendationStatus, BotStatus, CompositeSlotTypeSetting, Condition, ConversationLogSettings, DataPrivacy, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, EncryptionSetting, ExportResourceSpecification, ExportStatus, ExternalSourceSetting, FulfillmentUpdatesSpecification, ImportExportFileFormat, InputContext, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SentimentAnalysisSettings, SlotConstraint, SlotDefaultValueSpecification, SlotPriority, SlotShape, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SubSlotSetting, TranscriptSourceSetting, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
1
+ import { BotAliasLocaleSettings, BotAliasStatus, BotLocaleStatus, BotMember, BotRecommendationStatus, BotStatus, BotType, CompositeSlotTypeSetting, Condition, ConversationLogSettings, DataPrivacy, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, EncryptionSetting, ExportResourceSpecification, ExportStatus, ExternalSourceSetting, FulfillmentUpdatesSpecification, ImportExportFileFormat, InputContext, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SentimentAnalysisSettings, SlotConstraint, SlotDefaultValueSpecification, SlotPriority, SlotShape, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SubSlotSetting, TranscriptSourceSetting, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
2
+ export interface TagResourceResponse {
3
+ }
4
+ export interface UntagResourceRequest {
5
+ /**
6
+ * <p>The Amazon Resource Name (ARN) of the resource to remove the tags
7
+ * from.</p>
8
+ */
9
+ resourceARN: string | undefined;
10
+ /**
11
+ * <p>A list of tag keys to remove from the resource. If a tag key does
12
+ * not exist on the resource, it is ignored.</p>
13
+ */
14
+ tagKeys: string[] | undefined;
15
+ }
16
+ export interface UntagResourceResponse {
17
+ }
2
18
  export interface UpdateBotRequest {
3
19
  /**
4
20
  * <p>The unique identifier of the bot to update. This identifier is
5
- * returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html">CreateBot</a> operation.</p>
21
+ * returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html">CreateBot</a> operation.</p>
6
22
  */
7
23
  botId: string | undefined;
8
24
  /**
@@ -34,6 +50,15 @@ export interface UpdateBotRequest {
34
50
  * seconds.</p>
35
51
  */
36
52
  idleSessionTTLInSeconds: number | undefined;
53
+ /**
54
+ * <p>The type of the bot to be updated.</p>
55
+ */
56
+ botType?: BotType | string;
57
+ /**
58
+ * <p>The list of bot members in the network associated
59
+ * with the update action.</p>
60
+ */
61
+ botMembers?: BotMember[];
37
62
  }
38
63
  export interface UpdateBotResponse {
39
64
  /**
@@ -78,6 +103,14 @@ export interface UpdateBotResponse {
78
103
  * updated.</p>
79
104
  */
80
105
  lastUpdatedDateTime?: Date;
106
+ /**
107
+ * <p>The type of the bot that was updated.</p>
108
+ */
109
+ botType?: BotType | string;
110
+ /**
111
+ * <p>The list of bot members in the network that was updated.</p>
112
+ */
113
+ botMembers?: BotMember[];
81
114
  }
82
115
  export interface UpdateBotAliasRequest {
83
116
  /**
@@ -1809,6 +1842,18 @@ export interface UpdateIntentResponse {
1809
1842
  */
1810
1843
  initialResponseSetting?: InitialResponseSetting;
1811
1844
  }
1845
+ /**
1846
+ * @internal
1847
+ */
1848
+ export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
1849
+ /**
1850
+ * @internal
1851
+ */
1852
+ export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
1853
+ /**
1854
+ * @internal
1855
+ */
1856
+ export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
1812
1857
  /**
1813
1858
  * @internal
1814
1859
  */
@@ -11,7 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../LexModelsV2Client";
14
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
14
+ import { TagResourceRequest } from "../models/models_0";
15
+ import { TagResourceResponse } from "../models/models_1";
15
16
  export interface TagResourceCommandInput extends TagResourceRequest {}
16
17
  export interface TagResourceCommandOutput
17
18
  extends TagResourceResponse,
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  UntagResourceRequest,
16
16
  UntagResourceResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
19
19
  export interface UntagResourceCommandOutput
20
20
  extends UntagResourceResponse,
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -217,10 +217,12 @@ export interface BotExportSpecification {
217
217
  }
218
218
  export declare enum BotFilterName {
219
219
  BotName = "BotName",
220
+ BotType = "BotType",
220
221
  }
221
222
  export declare enum BotFilterOperator {
222
223
  Contains = "CO",
223
224
  Equals = "EQ",
225
+ NotEquals = "NE",
224
226
  }
225
227
  export interface BotFilter {
226
228
  name: BotFilterName | string | undefined;
@@ -300,6 +302,13 @@ export interface BotLocaleSummary {
300
302
  lastUpdatedDateTime?: Date;
301
303
  lastBuildSubmittedDateTime?: Date;
302
304
  }
305
+ export interface BotMember {
306
+ botMemberId: string | undefined;
307
+ botMemberName: string | undefined;
308
+ botMemberAliasId: string | undefined;
309
+ botMemberAliasName: string | undefined;
310
+ botMemberVersion: string | undefined;
311
+ }
303
312
  export interface IntentStatistics {
304
313
  discoveredIntentCount?: number;
305
314
  }
@@ -346,8 +355,13 @@ export declare enum BotStatus {
346
355
  Failed = "Failed",
347
356
  Importing = "Importing",
348
357
  Inactive = "Inactive",
358
+ Updating = "Updating",
349
359
  Versioning = "Versioning",
350
360
  }
361
+ export declare enum BotType {
362
+ Bot = "Bot",
363
+ BotNetwork = "BotNetwork",
364
+ }
351
365
  export interface BotSummary {
352
366
  botId?: string;
353
367
  botName?: string;
@@ -355,6 +369,7 @@ export interface BotSummary {
355
369
  botStatus?: BotStatus | string;
356
370
  latestBotVersion?: string;
357
371
  lastUpdatedDateTime?: Date;
372
+ botType?: BotType | string;
358
373
  }
359
374
  export interface BotVersionLocaleDetails {
360
375
  sourceBotVersion: string | undefined;
@@ -508,6 +523,8 @@ export interface CreateBotRequest {
508
523
  idleSessionTTLInSeconds: number | undefined;
509
524
  botTags?: Record<string, string>;
510
525
  testBotAliasTags?: Record<string, string>;
526
+ botType?: BotType | string;
527
+ botMembers?: BotMember[];
511
528
  }
512
529
  export interface CreateBotResponse {
513
530
  botId?: string;
@@ -520,6 +537,8 @@ export interface CreateBotResponse {
520
537
  creationDateTime?: Date;
521
538
  botTags?: Record<string, string>;
522
539
  testBotAliasTags?: Record<string, string>;
540
+ botType?: BotType | string;
541
+ botMembers?: BotMember[];
523
542
  }
524
543
  export interface SentimentAnalysisSettings {
525
544
  detectSentiment: boolean | undefined;
@@ -959,11 +978,18 @@ export interface DescribeBotResponse {
959
978
  botStatus?: BotStatus | string;
960
979
  creationDateTime?: Date;
961
980
  lastUpdatedDateTime?: Date;
981
+ botType?: BotType | string;
982
+ botMembers?: BotMember[];
983
+ failureReasons?: string[];
962
984
  }
963
985
  export interface DescribeBotAliasRequest {
964
986
  botAliasId: string | undefined;
965
987
  botId: string | undefined;
966
988
  }
989
+ export interface ParentBotNetwork {
990
+ botId: string | undefined;
991
+ botVersion: string | undefined;
992
+ }
967
993
  export interface DescribeBotAliasResponse {
968
994
  botAliasId?: string;
969
995
  botAliasName?: string;
@@ -977,6 +1003,7 @@ export interface DescribeBotAliasResponse {
977
1003
  botId?: string;
978
1004
  creationDateTime?: Date;
979
1005
  lastUpdatedDateTime?: Date;
1006
+ parentBotNetworks?: ParentBotNetwork[];
980
1007
  }
981
1008
  export interface DescribeBotLocaleRequest {
982
1009
  botId: string | undefined;
@@ -1062,6 +1089,9 @@ export interface DescribeBotVersionResponse {
1062
1089
  botStatus?: BotStatus | string;
1063
1090
  failureReasons?: string[];
1064
1091
  creationDateTime?: Date;
1092
+ parentBotNetworks?: ParentBotNetwork[];
1093
+ botType?: BotType | string;
1094
+ botMembers?: BotMember[];
1065
1095
  }
1066
1096
  export interface DescribeCustomVocabularyMetadataRequest {
1067
1097
  botId: string | undefined;
@@ -1622,12 +1652,6 @@ export interface TagResourceRequest {
1622
1652
  resourceARN: string | undefined;
1623
1653
  tags: Record<string, string> | undefined;
1624
1654
  }
1625
- export interface TagResourceResponse {}
1626
- export interface UntagResourceRequest {
1627
- resourceARN: string | undefined;
1628
- tagKeys: string[] | undefined;
1629
- }
1630
- export interface UntagResourceResponse {}
1631
1655
  export declare const AdvancedRecognitionSettingFilterSensitiveLog: (
1632
1656
  obj: AdvancedRecognitionSetting
1633
1657
  ) => any;
@@ -1741,6 +1765,7 @@ export declare const BotLocaleSortByFilterSensitiveLog: (
1741
1765
  export declare const BotLocaleSummaryFilterSensitiveLog: (
1742
1766
  obj: BotLocaleSummary
1743
1767
  ) => any;
1768
+ export declare const BotMemberFilterSensitiveLog: (obj: BotMember) => any;
1744
1769
  export declare const IntentStatisticsFilterSensitiveLog: (
1745
1770
  obj: IntentStatistics
1746
1771
  ) => any;
@@ -2050,6 +2075,9 @@ export declare const DescribeBotResponseFilterSensitiveLog: (
2050
2075
  export declare const DescribeBotAliasRequestFilterSensitiveLog: (
2051
2076
  obj: DescribeBotAliasRequest
2052
2077
  ) => any;
2078
+ export declare const ParentBotNetworkFilterSensitiveLog: (
2079
+ obj: ParentBotNetwork
2080
+ ) => any;
2053
2081
  export declare const DescribeBotAliasResponseFilterSensitiveLog: (
2054
2082
  obj: DescribeBotAliasResponse
2055
2083
  ) => any;
@@ -2286,12 +2314,3 @@ export declare const StopBotRecommendationResponseFilterSensitiveLog: (
2286
2314
  export declare const TagResourceRequestFilterSensitiveLog: (
2287
2315
  obj: TagResourceRequest
2288
2316
  ) => any;
2289
- export declare const TagResourceResponseFilterSensitiveLog: (
2290
- obj: TagResourceResponse
2291
- ) => any;
2292
- export declare const UntagResourceRequestFilterSensitiveLog: (
2293
- obj: UntagResourceRequest
2294
- ) => any;
2295
- export declare const UntagResourceResponseFilterSensitiveLog: (
2296
- obj: UntagResourceResponse
2297
- ) => any;
@@ -2,8 +2,10 @@ import {
2
2
  BotAliasLocaleSettings,
3
3
  BotAliasStatus,
4
4
  BotLocaleStatus,
5
+ BotMember,
5
6
  BotRecommendationStatus,
6
7
  BotStatus,
8
+ BotType,
7
9
  CompositeSlotTypeSetting,
8
10
  Condition,
9
11
  ConversationLogSettings,
@@ -38,6 +40,12 @@ import {
38
40
  VoiceSettings,
39
41
  WaitAndContinueSpecification,
40
42
  } from "./models_0";
43
+ export interface TagResourceResponse {}
44
+ export interface UntagResourceRequest {
45
+ resourceARN: string | undefined;
46
+ tagKeys: string[] | undefined;
47
+ }
48
+ export interface UntagResourceResponse {}
41
49
  export interface UpdateBotRequest {
42
50
  botId: string | undefined;
43
51
  botName: string | undefined;
@@ -45,6 +53,8 @@ export interface UpdateBotRequest {
45
53
  roleArn: string | undefined;
46
54
  dataPrivacy: DataPrivacy | undefined;
47
55
  idleSessionTTLInSeconds: number | undefined;
56
+ botType?: BotType | string;
57
+ botMembers?: BotMember[];
48
58
  }
49
59
  export interface UpdateBotResponse {
50
60
  botId?: string;
@@ -56,6 +66,8 @@ export interface UpdateBotResponse {
56
66
  botStatus?: BotStatus | string;
57
67
  creationDateTime?: Date;
58
68
  lastUpdatedDateTime?: Date;
69
+ botType?: BotType | string;
70
+ botMembers?: BotMember[];
59
71
  }
60
72
  export interface UpdateBotAliasRequest {
61
73
  botAliasId: string | undefined;
@@ -450,6 +462,15 @@ export interface UpdateIntentResponse {
450
462
  lastUpdatedDateTime?: Date;
451
463
  initialResponseSetting?: InitialResponseSetting;
452
464
  }
465
+ export declare const TagResourceResponseFilterSensitiveLog: (
466
+ obj: TagResourceResponse
467
+ ) => any;
468
+ export declare const UntagResourceRequestFilterSensitiveLog: (
469
+ obj: UntagResourceRequest
470
+ ) => any;
471
+ export declare const UntagResourceResponseFilterSensitiveLog: (
472
+ obj: UntagResourceResponse
473
+ ) => any;
453
474
  export declare const UpdateBotRequestFilterSensitiveLog: (
454
475
  obj: UpdateBotRequest
455
476
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-models-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
4
- "version": "3.267.0",
4
+ "version": "3.268.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",