@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
@@ -107,8 +107,10 @@ export const serializeAws_restJson1CreateBotCommand = async (input, context) =>
107
107
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/bots";
108
108
  let body;
109
109
  body = JSON.stringify({
110
+ ...(input.botMembers != null && { botMembers: serializeAws_restJson1BotMembers(input.botMembers, context) }),
110
111
  ...(input.botName != null && { botName: input.botName }),
111
112
  ...(input.botTags != null && { botTags: serializeAws_restJson1TagMap(input.botTags, context) }),
113
+ ...(input.botType != null && { botType: input.botType }),
112
114
  ...(input.dataPrivacy != null && { dataPrivacy: serializeAws_restJson1DataPrivacy(input.dataPrivacy, context) }),
113
115
  ...(input.description != null && { description: input.description }),
114
116
  ...(input.idleSessionTTLInSeconds != null && { idleSessionTTLInSeconds: input.idleSessionTTLInSeconds }),
@@ -1480,7 +1482,9 @@ export const serializeAws_restJson1UpdateBotCommand = async (input, context) =>
1480
1482
  resolvedPath = __resolvedPath(resolvedPath, input, "botId", () => input.botId, "{botId}", false);
1481
1483
  let body;
1482
1484
  body = JSON.stringify({
1485
+ ...(input.botMembers != null && { botMembers: serializeAws_restJson1BotMembers(input.botMembers, context) }),
1483
1486
  ...(input.botName != null && { botName: input.botName }),
1487
+ ...(input.botType != null && { botType: input.botType }),
1484
1488
  ...(input.dataPrivacy != null && { dataPrivacy: serializeAws_restJson1DataPrivacy(input.dataPrivacy, context) }),
1485
1489
  ...(input.description != null && { description: input.description }),
1486
1490
  ...(input.idleSessionTTLInSeconds != null && { idleSessionTTLInSeconds: input.idleSessionTTLInSeconds }),
@@ -2010,6 +2014,9 @@ export const deserializeAws_restJson1CreateBotCommand = async (output, context)
2010
2014
  if (data.botId != null) {
2011
2015
  contents.botId = __expectString(data.botId);
2012
2016
  }
2017
+ if (data.botMembers != null) {
2018
+ contents.botMembers = deserializeAws_restJson1BotMembers(data.botMembers, context);
2019
+ }
2013
2020
  if (data.botName != null) {
2014
2021
  contents.botName = __expectString(data.botName);
2015
2022
  }
@@ -2019,6 +2026,9 @@ export const deserializeAws_restJson1CreateBotCommand = async (output, context)
2019
2026
  if (data.botTags != null) {
2020
2027
  contents.botTags = deserializeAws_restJson1TagMap(data.botTags, context);
2021
2028
  }
2029
+ if (data.botType != null) {
2030
+ contents.botType = __expectString(data.botType);
2031
+ }
2022
2032
  if (data.creationDateTime != null) {
2023
2033
  contents.creationDateTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.creationDateTime)));
2024
2034
  }
@@ -3402,12 +3412,18 @@ export const deserializeAws_restJson1DescribeBotCommand = async (output, context
3402
3412
  if (data.botId != null) {
3403
3413
  contents.botId = __expectString(data.botId);
3404
3414
  }
3415
+ if (data.botMembers != null) {
3416
+ contents.botMembers = deserializeAws_restJson1BotMembers(data.botMembers, context);
3417
+ }
3405
3418
  if (data.botName != null) {
3406
3419
  contents.botName = __expectString(data.botName);
3407
3420
  }
3408
3421
  if (data.botStatus != null) {
3409
3422
  contents.botStatus = __expectString(data.botStatus);
3410
3423
  }
3424
+ if (data.botType != null) {
3425
+ contents.botType = __expectString(data.botType);
3426
+ }
3411
3427
  if (data.creationDateTime != null) {
3412
3428
  contents.creationDateTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.creationDateTime)));
3413
3429
  }
@@ -3417,6 +3433,9 @@ export const deserializeAws_restJson1DescribeBotCommand = async (output, context
3417
3433
  if (data.description != null) {
3418
3434
  contents.description = __expectString(data.description);
3419
3435
  }
3436
+ if (data.failureReasons != null) {
3437
+ contents.failureReasons = deserializeAws_restJson1FailureReasons(data.failureReasons, context);
3438
+ }
3420
3439
  if (data.idleSessionTTLInSeconds != null) {
3421
3440
  contents.idleSessionTTLInSeconds = __expectInt32(data.idleSessionTTLInSeconds);
3422
3441
  }
@@ -3501,6 +3520,9 @@ export const deserializeAws_restJson1DescribeBotAliasCommand = async (output, co
3501
3520
  if (data.lastUpdatedDateTime != null) {
3502
3521
  contents.lastUpdatedDateTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDateTime)));
3503
3522
  }
3523
+ if (data.parentBotNetworks != null) {
3524
+ contents.parentBotNetworks = deserializeAws_restJson1ParentBotNetworks(data.parentBotNetworks, context);
3525
+ }
3504
3526
  if (data.sentimentAnalysisSettings != null) {
3505
3527
  contents.sentimentAnalysisSettings = deserializeAws_restJson1SentimentAnalysisSettings(data.sentimentAnalysisSettings, context);
3506
3528
  }
@@ -3711,12 +3733,18 @@ export const deserializeAws_restJson1DescribeBotVersionCommand = async (output,
3711
3733
  if (data.botId != null) {
3712
3734
  contents.botId = __expectString(data.botId);
3713
3735
  }
3736
+ if (data.botMembers != null) {
3737
+ contents.botMembers = deserializeAws_restJson1BotMembers(data.botMembers, context);
3738
+ }
3714
3739
  if (data.botName != null) {
3715
3740
  contents.botName = __expectString(data.botName);
3716
3741
  }
3717
3742
  if (data.botStatus != null) {
3718
3743
  contents.botStatus = __expectString(data.botStatus);
3719
3744
  }
3745
+ if (data.botType != null) {
3746
+ contents.botType = __expectString(data.botType);
3747
+ }
3720
3748
  if (data.botVersion != null) {
3721
3749
  contents.botVersion = __expectString(data.botVersion);
3722
3750
  }
@@ -3735,6 +3763,9 @@ export const deserializeAws_restJson1DescribeBotVersionCommand = async (output,
3735
3763
  if (data.idleSessionTTLInSeconds != null) {
3736
3764
  contents.idleSessionTTLInSeconds = __expectInt32(data.idleSessionTTLInSeconds);
3737
3765
  }
3766
+ if (data.parentBotNetworks != null) {
3767
+ contents.parentBotNetworks = deserializeAws_restJson1ParentBotNetworks(data.parentBotNetworks, context);
3768
+ }
3738
3769
  if (data.roleArn != null) {
3739
3770
  contents.roleArn = __expectString(data.roleArn);
3740
3771
  }
@@ -5454,12 +5485,18 @@ export const deserializeAws_restJson1UpdateBotCommand = async (output, context)
5454
5485
  if (data.botId != null) {
5455
5486
  contents.botId = __expectString(data.botId);
5456
5487
  }
5488
+ if (data.botMembers != null) {
5489
+ contents.botMembers = deserializeAws_restJson1BotMembers(data.botMembers, context);
5490
+ }
5457
5491
  if (data.botName != null) {
5458
5492
  contents.botName = __expectString(data.botName);
5459
5493
  }
5460
5494
  if (data.botStatus != null) {
5461
5495
  contents.botStatus = __expectString(data.botStatus);
5462
5496
  }
5497
+ if (data.botType != null) {
5498
+ contents.botType = __expectString(data.botType);
5499
+ }
5463
5500
  if (data.creationDateTime != null) {
5464
5501
  contents.creationDateTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.creationDateTime)));
5465
5502
  }
@@ -6396,6 +6433,22 @@ const serializeAws_restJson1BotLocaleSortBy = (input, context) => {
6396
6433
  ...(input.order != null && { order: input.order }),
6397
6434
  };
6398
6435
  };
6436
+ const serializeAws_restJson1BotMember = (input, context) => {
6437
+ return {
6438
+ ...(input.botMemberAliasId != null && { botMemberAliasId: input.botMemberAliasId }),
6439
+ ...(input.botMemberAliasName != null && { botMemberAliasName: input.botMemberAliasName }),
6440
+ ...(input.botMemberId != null && { botMemberId: input.botMemberId }),
6441
+ ...(input.botMemberName != null && { botMemberName: input.botMemberName }),
6442
+ ...(input.botMemberVersion != null && { botMemberVersion: input.botMemberVersion }),
6443
+ };
6444
+ };
6445
+ const serializeAws_restJson1BotMembers = (input, context) => {
6446
+ return input
6447
+ .filter((e) => e != null)
6448
+ .map((entry) => {
6449
+ return serializeAws_restJson1BotMember(entry, context);
6450
+ });
6451
+ };
6399
6452
  const serializeAws_restJson1BotSortBy = (input, context) => {
6400
6453
  return {
6401
6454
  ...(input.attribute != null && { attribute: input.attribute }),
@@ -7740,6 +7793,26 @@ const deserializeAws_restJson1BotLocaleSummaryList = (output, context) => {
7740
7793
  });
7741
7794
  return retVal;
7742
7795
  };
7796
+ const deserializeAws_restJson1BotMember = (output, context) => {
7797
+ return {
7798
+ botMemberAliasId: __expectString(output.botMemberAliasId),
7799
+ botMemberAliasName: __expectString(output.botMemberAliasName),
7800
+ botMemberId: __expectString(output.botMemberId),
7801
+ botMemberName: __expectString(output.botMemberName),
7802
+ botMemberVersion: __expectString(output.botMemberVersion),
7803
+ };
7804
+ };
7805
+ const deserializeAws_restJson1BotMembers = (output, context) => {
7806
+ const retVal = (output || [])
7807
+ .filter((e) => e != null)
7808
+ .map((entry) => {
7809
+ if (entry === null) {
7810
+ return null;
7811
+ }
7812
+ return deserializeAws_restJson1BotMember(entry, context);
7813
+ });
7814
+ return retVal;
7815
+ };
7743
7816
  const deserializeAws_restJson1BotRecommendationResults = (output, context) => {
7744
7817
  return {
7745
7818
  associatedTranscriptsUrl: __expectString(output.associatedTranscriptsUrl),
@@ -7783,6 +7856,7 @@ const deserializeAws_restJson1BotSummary = (output, context) => {
7783
7856
  botId: __expectString(output.botId),
7784
7857
  botName: __expectString(output.botName),
7785
7858
  botStatus: __expectString(output.botStatus),
7859
+ botType: __expectString(output.botType),
7786
7860
  description: __expectString(output.description),
7787
7861
  lastUpdatedDateTime: output.lastUpdatedDateTime != null
7788
7862
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
@@ -8459,6 +8533,23 @@ const deserializeAws_restJson1OutputContextsList = (output, context) => {
8459
8533
  });
8460
8534
  return retVal;
8461
8535
  };
8536
+ const deserializeAws_restJson1ParentBotNetwork = (output, context) => {
8537
+ return {
8538
+ botId: __expectString(output.botId),
8539
+ botVersion: __expectString(output.botVersion),
8540
+ };
8541
+ };
8542
+ const deserializeAws_restJson1ParentBotNetworks = (output, context) => {
8543
+ const retVal = (output || [])
8544
+ .filter((e) => e != null)
8545
+ .map((entry) => {
8546
+ if (entry === null) {
8547
+ return null;
8548
+ }
8549
+ return deserializeAws_restJson1ParentBotNetwork(entry, context);
8550
+ });
8551
+ return retVal;
8552
+ };
8462
8553
  const deserializeAws_restJson1PathFormat = (output, context) => {
8463
8554
  return {
8464
8555
  objectPrefixes: output.objectPrefixes != null
@@ -76,22 +76,22 @@ import { LexModelsV2Client } from "./LexModelsV2Client";
76
76
  */
77
77
  export declare class LexModelsV2 extends LexModelsV2Client {
78
78
  /**
79
- * <p>Batch create custom vocabulary item for the specified locale in the
80
- * specified bot.</p>
79
+ * <p>Create a batch of custom vocabulary items for a given bot locale's
80
+ * custom vocabulary.</p>
81
81
  */
82
82
  batchCreateCustomVocabularyItem(args: BatchCreateCustomVocabularyItemCommandInput, options?: __HttpHandlerOptions): Promise<BatchCreateCustomVocabularyItemCommandOutput>;
83
83
  batchCreateCustomVocabularyItem(args: BatchCreateCustomVocabularyItemCommandInput, cb: (err: any, data?: BatchCreateCustomVocabularyItemCommandOutput) => void): void;
84
84
  batchCreateCustomVocabularyItem(args: BatchCreateCustomVocabularyItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCreateCustomVocabularyItemCommandOutput) => void): void;
85
85
  /**
86
- * <p>Batch delete custom vocabulary item for the specified locale in the
87
- * specified bot.</p>
86
+ * <p>Delete a batch of custom vocabulary items for a given bot locale's
87
+ * custom vocabulary.</p>
88
88
  */
89
89
  batchDeleteCustomVocabularyItem(args: BatchDeleteCustomVocabularyItemCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteCustomVocabularyItemCommandOutput>;
90
90
  batchDeleteCustomVocabularyItem(args: BatchDeleteCustomVocabularyItemCommandInput, cb: (err: any, data?: BatchDeleteCustomVocabularyItemCommandOutput) => void): void;
91
91
  batchDeleteCustomVocabularyItem(args: BatchDeleteCustomVocabularyItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteCustomVocabularyItemCommandOutput) => void): void;
92
92
  /**
93
- * <p>Batch update custom vocabulary item for the specified locale in the
94
- * specified bot.</p>
93
+ * <p>Update a batch of custom vocabulary items for a given bot locale's custom
94
+ * vocabulary.</p>
95
95
  */
96
96
  batchUpdateCustomVocabularyItem(args: BatchUpdateCustomVocabularyItemCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateCustomVocabularyItemCommandOutput>;
97
97
  batchUpdateCustomVocabularyItem(args: BatchUpdateCustomVocabularyItemCommandInput, cb: (err: any, data?: BatchUpdateCustomVocabularyItemCommandOutput) => void): void;
@@ -271,8 +271,8 @@ export declare class LexModelsV2 extends LexModelsV2Client {
271
271
  deleteBotLocale(args: DeleteBotLocaleCommandInput, cb: (err: any, data?: DeleteBotLocaleCommandOutput) => void): void;
272
272
  deleteBotLocale(args: DeleteBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotLocaleCommandOutput) => void): void;
273
273
  /**
274
- * <p>Deletes a specific version of a bot. To delete all version of a bot,
275
- * use the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html">DeleteBot</a> operation.</p>
274
+ * <p>Deletes a specific version of a bot. To delete all versions of a bot,
275
+ * use the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html">DeleteBot</a> operation.</p>
276
276
  */
277
277
  deleteBotVersion(args: DeleteBotVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBotVersionCommandOutput>;
278
278
  deleteBotVersion(args: DeleteBotVersionCommandInput, cb: (err: any, data?: DeleteBotVersionCommandOutput) => void): void;
@@ -342,7 +342,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
342
342
  /**
343
343
  * <p>Deletes stored utterances.</p>
344
344
  * <p>Amazon Lex stores the utterances that users send to your bot. Utterances
345
- * are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
345
+ * are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
346
346
  * then stored indefinitely for use in improving the ability of your bot
347
347
  * to respond to user input..</p>
348
348
  * <p>Use the <code>DeleteUtterances</code> operation to manually delete
@@ -507,7 +507,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
507
507
  * <p>To use a built-in intent as a the base for your own intent, include
508
508
  * the built-in intent signature in the <code>parentIntentSignature</code>
509
509
  * parameter when you call the <code>CreateIntent</code> operation. For
510
- * more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html">CreateIntent</a>.</p>
510
+ * more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateIntent.html">CreateIntent</a>.</p>
511
511
  */
512
512
  listBuiltInIntents(args: ListBuiltInIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListBuiltInIntentsCommandOutput>;
513
513
  listBuiltInIntents(args: ListBuiltInIntentsCommandInput, cb: (err: any, data?: ListBuiltInIntentsCommandOutput) => void): void;
@@ -520,8 +520,8 @@ export declare class LexModelsV2 extends LexModelsV2Client {
520
520
  listBuiltInSlotTypes(args: ListBuiltInSlotTypesCommandInput, cb: (err: any, data?: ListBuiltInSlotTypesCommandOutput) => void): void;
521
521
  listBuiltInSlotTypes(args: ListBuiltInSlotTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBuiltInSlotTypesCommandOutput) => void): void;
522
522
  /**
523
- * <p>List custom vocabulary items for the specified locale in the
524
- * specified bot.</p>
523
+ * <p>Paginated list of custom vocabulary items for a given bot locale's
524
+ * custom vocabulary.</p>
525
525
  */
526
526
  listCustomVocabularyItems(args: ListCustomVocabularyItemsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomVocabularyItemsCommandOutput>;
527
527
  listCustomVocabularyItems(args: ListCustomVocabularyItemsCommandInput, cb: (err: any, data?: ListCustomVocabularyItemsCommandOutput) => void): void;
@@ -643,7 +643,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
643
643
  * <p>The password is not required. If you don't supply a password, Amazon Lex
644
644
  * generates a zip file that is not protected by a password. This is the
645
645
  * archive that is available at the pre-signed S3 URL provided by the
646
- * <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">DescribeExport</a> operation.</p>
646
+ * <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html">DescribeExport</a> operation.</p>
647
647
  */
648
648
  updateExport(args: UpdateExportCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExportCommandOutput>;
649
649
  updateExport(args: UpdateExportCommandInput, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
@@ -8,8 +8,8 @@ export interface BatchCreateCustomVocabularyItemCommandInput extends BatchCreate
8
8
  export interface BatchCreateCustomVocabularyItemCommandOutput extends BatchCreateCustomVocabularyItemResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Batch create custom vocabulary item for the specified locale in the
12
- * specified bot.</p>
11
+ * <p>Create a batch of custom vocabulary items for a given bot locale's
12
+ * custom vocabulary.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -8,8 +8,8 @@ export interface BatchDeleteCustomVocabularyItemCommandInput extends BatchDelete
8
8
  export interface BatchDeleteCustomVocabularyItemCommandOutput extends BatchDeleteCustomVocabularyItemResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Batch delete custom vocabulary item for the specified locale in the
12
- * specified bot.</p>
11
+ * <p>Delete a batch of custom vocabulary items for a given bot locale's
12
+ * custom vocabulary.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -8,8 +8,8 @@ export interface BatchUpdateCustomVocabularyItemCommandInput extends BatchUpdate
8
8
  export interface BatchUpdateCustomVocabularyItemCommandOutput extends BatchUpdateCustomVocabularyItemResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Batch update custom vocabulary item for the specified locale in the
12
- * specified bot.</p>
11
+ * <p>Update a batch of custom vocabulary items for a given bot locale's custom
12
+ * vocabulary.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -8,8 +8,8 @@ export interface DeleteBotVersionCommandInput extends DeleteBotVersionRequest {
8
8
  export interface DeleteBotVersionCommandOutput extends DeleteBotVersionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a specific version of a bot. To delete all version of a bot,
12
- * use the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html">DeleteBot</a> operation.</p>
11
+ * <p>Deletes a specific version of a bot. To delete all versions of a bot,
12
+ * use the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html">DeleteBot</a> operation.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -10,7 +10,7 @@ export interface DeleteUtterancesCommandOutput extends DeleteUtterancesResponse,
10
10
  /**
11
11
  * <p>Deletes stored utterances.</p>
12
12
  * <p>Amazon Lex stores the utterances that users send to your bot. Utterances
13
- * are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
13
+ * are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
14
14
  * then stored indefinitely for use in improving the ability of your bot
15
15
  * to respond to user input..</p>
16
16
  * <p>Use the <code>DeleteUtterances</code> operation to manually delete
@@ -13,7 +13,7 @@ export interface ListBuiltInIntentsCommandOutput extends ListBuiltInIntentsRespo
13
13
  * <p>To use a built-in intent as a the base for your own intent, include
14
14
  * the built-in intent signature in the <code>parentIntentSignature</code>
15
15
  * parameter when you call the <code>CreateIntent</code> operation. For
16
- * more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html">CreateIntent</a>.</p>
16
+ * more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateIntent.html">CreateIntent</a>.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -8,8 +8,8 @@ export interface ListCustomVocabularyItemsCommandInput extends ListCustomVocabul
8
8
  export interface ListCustomVocabularyItemsCommandOutput extends ListCustomVocabularyItemsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>List custom vocabulary items for the specified locale in the
12
- * specified bot.</p>
11
+ * <p>Paginated list of custom vocabulary items for a given bot locale's
12
+ * custom vocabulary.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
15
15
  * ```javascript
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
5
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ import { TagResourceRequest } from "../models/models_0";
6
+ import { TagResourceResponse } from "../models/models_1";
6
7
  export interface TagResourceCommandInput extends TagResourceRequest {
7
8
  }
8
9
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
5
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
6
6
  export interface UntagResourceCommandInput extends UntagResourceRequest {
7
7
  }
8
8
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
@@ -12,7 +12,7 @@ export interface UpdateExportCommandOutput extends UpdateExportResponse, __Metad
12
12
  * <p>The password is not required. If you don't supply a password, Amazon Lex
13
13
  * generates a zip file that is not protected by a password. This is the
14
14
  * archive that is available at the pre-signed S3 URL provided by the
15
- * <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">DescribeExport</a> operation.</p>
15
+ * <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html">DescribeExport</a> operation.</p>
16
16
  * @example
17
17
  * Use a bare-bones client and the command you need to make an API call.
18
18
  * ```javascript
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;