@aws-sdk/client-lex-models-v2 3.39.0 → 3.43.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 (81) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/endpoints.js +74 -5
  3. package/dist-cjs/models/models_0.js +10 -5
  4. package/dist-cjs/protocols/Aws_restJson1.js +2 -0
  5. package/dist-cjs/runtimeConfig.browser.js +6 -3
  6. package/dist-cjs/runtimeConfig.js +5 -3
  7. package/dist-es/endpoints.js +74 -5
  8. package/dist-es/models/models_0.js +5 -0
  9. package/dist-es/protocols/Aws_restJson1.js +2 -1
  10. package/dist-es/runtimeConfig.browser.js +3 -2
  11. package/dist-es/runtimeConfig.js +3 -3
  12. package/dist-types/LexModelsV2.d.ts +6 -6
  13. package/dist-types/LexModelsV2Client.d.ts +8 -0
  14. package/dist-types/commands/BuildBotLocaleCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateBotAliasCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateBotCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateBotLocaleCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateBotVersionCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateExportCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateIntentCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateResourcePolicyCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateSlotCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateSlotTypeCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateUploadUrlCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteBotAliasCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteBotCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteBotLocaleCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteBotVersionCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteExportCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteImportCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteIntentCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteSlotCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteSlotTypeCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteUtterancesCommand.d.ts +4 -4
  38. package/dist-types/commands/DescribeBotAliasCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeBotCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeBotLocaleCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeBotVersionCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeExportCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeImportCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeIntentCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeSlotCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeSlotTypeCommand.d.ts +1 -1
  48. package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +1 -1
  49. package/dist-types/commands/ListBotAliasesCommand.d.ts +1 -1
  50. package/dist-types/commands/ListBotLocalesCommand.d.ts +1 -1
  51. package/dist-types/commands/ListBotVersionsCommand.d.ts +1 -1
  52. package/dist-types/commands/ListBotsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +2 -2
  54. package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +1 -1
  55. package/dist-types/commands/ListExportsCommand.d.ts +1 -1
  56. package/dist-types/commands/ListImportsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListIntentsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListSlotTypesCommand.d.ts +1 -1
  59. package/dist-types/commands/ListSlotsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  61. package/dist-types/commands/StartImportCommand.d.ts +1 -1
  62. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  63. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/UpdateBotAliasCommand.d.ts +1 -1
  65. package/dist-types/commands/UpdateBotCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateBotLocaleCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateExportCommand.d.ts +2 -2
  68. package/dist-types/commands/UpdateIntentCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateSlotCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateSlotTypeCommand.d.ts +1 -1
  72. package/dist-types/models/models_0.d.ts +35 -25
  73. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  74. package/dist-types/runtimeConfig.d.ts +2 -0
  75. package/dist-types/runtimeConfig.native.d.ts +2 -0
  76. package/dist-types/ts3.4/LexModelsV2Client.d.ts +4 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +6 -0
  78. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  79. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  80. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  81. package/package.json +24 -24
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-lex-models-v2
20
+
21
+
22
+
23
+
24
+
25
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
26
+
27
+
28
+ ### Features
29
+
30
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
31
+
32
+
33
+
34
+
35
+
36
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
37
+
38
+
39
+ ### Features
40
+
41
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
48
 
8
49
  **Note:** Version bump only for package @aws-sdk/client-lex-models-v2
@@ -29,27 +29,96 @@ const partitionHash = {
29
29
  "us-west-2",
30
30
  ],
31
31
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
32
- hostname: "models-v2-lex.{region}.amazonaws.com",
32
+ variants: [
33
+ {
34
+ hostname: "models-v2-lex.{region}.amazonaws.com",
35
+ tags: [],
36
+ },
37
+ {
38
+ hostname: "models-v2-lex-fips.{region}.amazonaws.com",
39
+ tags: ["fips"],
40
+ },
41
+ {
42
+ hostname: "models-v2-lex-fips.{region}.api.aws",
43
+ tags: ["dualstack", "fips"],
44
+ },
45
+ {
46
+ hostname: "models-v2-lex.{region}.api.aws",
47
+ tags: ["dualstack"],
48
+ },
49
+ ],
33
50
  },
34
51
  "aws-cn": {
35
52
  regions: ["cn-north-1", "cn-northwest-1"],
36
53
  regionRegex: "^cn\\-\\w+\\-\\d+$",
37
- hostname: "models-v2-lex.{region}.amazonaws.com.cn",
54
+ variants: [
55
+ {
56
+ hostname: "models-v2-lex.{region}.amazonaws.com.cn",
57
+ tags: [],
58
+ },
59
+ {
60
+ hostname: "models-v2-lex-fips.{region}.amazonaws.com.cn",
61
+ tags: ["fips"],
62
+ },
63
+ {
64
+ hostname: "models-v2-lex-fips.{region}.api.amazonwebservices.com.cn",
65
+ tags: ["dualstack", "fips"],
66
+ },
67
+ {
68
+ hostname: "models-v2-lex.{region}.api.amazonwebservices.com.cn",
69
+ tags: ["dualstack"],
70
+ },
71
+ ],
38
72
  },
39
73
  "aws-iso": {
40
74
  regions: ["us-iso-east-1", "us-iso-west-1"],
41
75
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
42
- hostname: "models-v2-lex.{region}.c2s.ic.gov",
76
+ variants: [
77
+ {
78
+ hostname: "models-v2-lex.{region}.c2s.ic.gov",
79
+ tags: [],
80
+ },
81
+ {
82
+ hostname: "models-v2-lex-fips.{region}.c2s.ic.gov",
83
+ tags: ["fips"],
84
+ },
85
+ ],
43
86
  },
44
87
  "aws-iso-b": {
45
88
  regions: ["us-isob-east-1"],
46
89
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
47
- hostname: "models-v2-lex.{region}.sc2s.sgov.gov",
90
+ variants: [
91
+ {
92
+ hostname: "models-v2-lex.{region}.sc2s.sgov.gov",
93
+ tags: [],
94
+ },
95
+ {
96
+ hostname: "models-v2-lex-fips.{region}.sc2s.sgov.gov",
97
+ tags: ["fips"],
98
+ },
99
+ ],
48
100
  },
49
101
  "aws-us-gov": {
50
102
  regions: ["us-gov-east-1", "us-gov-west-1"],
51
103
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
52
- hostname: "models-v2-lex.{region}.amazonaws.com",
104
+ variants: [
105
+ {
106
+ hostname: "models-v2-lex.{region}.amazonaws.com",
107
+ tags: [],
108
+ },
109
+ {
110
+ hostname: "models-v2-lex-fips.{region}.amazonaws.com",
111
+ tags: ["fips"],
112
+ },
113
+ {
114
+ hostname: "models-v2-lex-fips.{region}.api.aws",
115
+ tags: ["dualstack", "fips"],
116
+ },
117
+ {
118
+ hostname: "models-v2-lex.{region}.api.aws",
119
+ tags: ["dualstack"],
120
+ },
121
+ ],
53
122
  },
54
123
  };
55
124
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BuiltInIntentSortAttribute = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.PreconditionFailedException = exports.InternalServerException = exports.ConflictException = exports.BuildBotLocaleResponse = exports.BuildBotLocaleRequest = exports.BotVersionSummary = exports.BotVersionSortBy = exports.BotVersionSortAttribute = exports.BotVersionLocaleDetails = exports.BotSummary = exports.BotStatus = exports.BotSortBy = exports.BotSortAttribute = exports.BotLocaleSummary = exports.BotLocaleStatus = exports.BotLocaleSortBy = exports.BotLocaleSortAttribute = exports.BotLocaleImportSpecification = exports.VoiceSettings = exports.BotLocaleHistoryEvent = exports.BotLocaleFilter = exports.BotLocaleFilterOperator = exports.BotLocaleFilterName = exports.BotLocaleExportSpecification = exports.BotImportSpecification = exports.DataPrivacy = exports.BotFilter = exports.BotFilterOperator = exports.BotFilterName = exports.BotExportSpecification = exports.BotAliasSummary = exports.BotAliasStatus = exports.BotAliasLocaleSettings = exports.CodeHookSpecification = exports.LambdaCodeHook = exports.BotAliasHistoryEvent = exports.AudioLogSetting = exports.AudioLogDestination = exports.S3BucketLogDestination = exports.AggregatedUtterancesSummary = exports.AggregatedUtterancesSortBy = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilter = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = void 0;
4
- exports.Effect = exports.CreateResourcePolicyResponse = exports.CreateResourcePolicyRequest = exports.CreateIntentResponse = exports.CreateIntentRequest = exports.SampleUtterance = exports.OutputContext = exports.KendraConfiguration = exports.IntentConfirmationSetting = exports.PromptSpecification = exports.IntentClosingSetting = exports.InputContext = exports.FulfillmentCodeHookSettings = exports.PostFulfillmentStatusSpecification = exports.ResponseSpecification = exports.FulfillmentUpdatesSpecification = exports.FulfillmentUpdateResponseSpecification = exports.FulfillmentStartResponseSpecification = exports.MessageGroup = exports.Message = exports.SSMLMessage = exports.PlainTextMessage = exports.ImageResponseCard = exports.CustomPayload = exports.DialogCodeHookSettings = exports.ResourceNotFoundException = exports.CreateExportResponse = exports.ExportStatus = exports.CreateExportRequest = exports.ExportResourceSpecification = exports.ImportExportFileFormat = exports.CreateBotVersionResponse = exports.CreateBotVersionRequest = exports.CreateBotLocaleResponse = exports.CreateBotLocaleRequest = exports.CreateBotAliasResponse = exports.CreateBotAliasRequest = exports.SentimentAnalysisSettings = exports.CreateBotResponse = exports.CreateBotRequest = exports.ConversationLogSettings = exports.TextLogSetting = exports.TextLogDestination = exports.CloudWatchLogGroupLogDestination = exports.Button = exports.BuiltInSlotTypeSummary = exports.BuiltInSlotTypeSortBy = exports.BuiltInSlotTypeSortAttribute = exports.BuiltInIntentSummary = exports.BuiltInIntentSortBy = void 0;
5
- exports.DescribeBotLocaleRequest = exports.DescribeBotAliasResponse = exports.DescribeBotAliasRequest = exports.DescribeBotResponse = exports.DescribeBotRequest = exports.DeleteUtterancesResponse = exports.DeleteUtterancesRequest = exports.DeleteSlotTypeRequest = exports.DeleteSlotRequest = exports.DeleteResourcePolicyStatementResponse = exports.DeleteResourcePolicyStatementRequest = exports.DeleteResourcePolicyResponse = exports.DeleteResourcePolicyRequest = exports.DeleteIntentRequest = exports.DeleteImportResponse = exports.ImportStatus = exports.DeleteImportRequest = exports.DeleteExportResponse = exports.DeleteExportRequest = exports.DeleteBotVersionResponse = exports.DeleteBotVersionRequest = exports.DeleteBotLocaleResponse = exports.DeleteBotLocaleRequest = exports.DeleteBotAliasResponse = exports.DeleteBotAliasRequest = exports.DeleteBotResponse = exports.DeleteBotRequest = exports.CreateUploadUrlResponse = exports.CreateUploadUrlRequest = exports.CreateSlotTypeResponse = exports.CreateSlotTypeRequest = exports.SlotValueSelectionSetting = exports.SlotValueResolutionStrategy = exports.SlotValueRegexFilter = exports.SlotTypeValue = exports.SampleValue = exports.CreateSlotResponse = exports.CreateSlotRequest = exports.SlotValueElicitationSetting = exports.WaitAndContinueSpecification = exports.StillWaitingResponseSpecification = exports.SlotConstraint = exports.SlotDefaultValueSpecification = exports.SlotDefaultValue = exports.ObfuscationSetting = exports.ObfuscationSettingType = exports.MultipleValuesSetting = exports.CreateResourcePolicyStatementResponse = exports.CreateResourcePolicyStatementRequest = exports.Principal = void 0;
6
- exports.ListBuiltInIntentsRequest = exports.ListBotVersionsResponse = exports.ListBotVersionsRequest = exports.ListBotsResponse = exports.ListBotsRequest = exports.ListBotLocalesResponse = exports.ListBotLocalesRequest = exports.ListBotAliasesResponse = exports.ListBotAliasesRequest = exports.ListAggregatedUtterancesResponse = exports.ListAggregatedUtterancesRequest = exports.UtteranceAggregationDuration = exports.RelativeAggregationDuration = exports.TimeDimension = exports.IntentSummary = exports.IntentSortBy = exports.IntentSortAttribute = exports.IntentFilter = exports.IntentFilterOperator = exports.IntentFilterName = exports.ImportSummary = exports.ImportSortBy = exports.ImportSortAttribute = exports.ImportFilter = exports.ImportFilterOperator = exports.ImportFilterName = exports.ExportSummary = exports.ExportSortBy = exports.ExportSortAttribute = exports.ExportFilter = exports.ExportFilterOperator = exports.ExportFilterName = exports.DescribeSlotTypeResponse = exports.DescribeSlotTypeRequest = exports.DescribeSlotResponse = exports.DescribeSlotRequest = exports.DescribeResourcePolicyResponse = exports.DescribeResourcePolicyRequest = exports.DescribeIntentResponse = exports.SlotPriority = exports.DescribeIntentRequest = exports.DescribeImportResponse = exports.ImportResourceSpecification = exports.MergeStrategy = exports.DescribeImportRequest = exports.DescribeExportResponse = exports.DescribeExportRequest = exports.DescribeBotVersionResponse = exports.DescribeBotVersionRequest = exports.DescribeBotLocaleResponse = void 0;
7
- exports.UpdateSlotTypeResponse = exports.UpdateSlotTypeRequest = exports.UpdateSlotResponse = exports.UpdateSlotRequest = exports.UpdateResourcePolicyResponse = exports.UpdateResourcePolicyRequest = exports.UpdateIntentResponse = exports.UpdateIntentRequest = exports.UpdateExportResponse = exports.UpdateExportRequest = exports.UpdateBotLocaleResponse = exports.UpdateBotLocaleRequest = exports.UpdateBotAliasResponse = exports.UpdateBotAliasRequest = exports.UpdateBotResponse = exports.UpdateBotRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartImportResponse = exports.StartImportRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSlotTypesResponse = exports.SlotTypeSummary = exports.ListSlotTypesRequest = exports.SlotTypeSortBy = exports.SlotTypeSortAttribute = exports.SlotTypeFilter = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.ListSlotsResponse = exports.SlotSummary = exports.ListSlotsRequest = exports.SlotSortBy = exports.SlotSortAttribute = exports.SlotFilter = exports.SlotFilterOperator = exports.SlotFilterName = exports.ListIntentsResponse = exports.ListIntentsRequest = exports.ListImportsResponse = exports.ListImportsRequest = exports.ListExportsResponse = exports.ListExportsRequest = exports.ListBuiltInSlotTypesResponse = exports.ListBuiltInSlotTypesRequest = exports.ListBuiltInIntentsResponse = void 0;
3
+ exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.PreconditionFailedException = exports.InternalServerException = exports.ConflictException = exports.BuildBotLocaleResponse = exports.BuildBotLocaleRequest = exports.BotVersionSummary = exports.BotVersionSortBy = exports.BotVersionSortAttribute = exports.BotVersionLocaleDetails = exports.BotSummary = exports.BotStatus = exports.BotSortBy = exports.BotSortAttribute = exports.BotLocaleSummary = exports.BotLocaleStatus = exports.BotLocaleSortBy = exports.BotLocaleSortAttribute = exports.BotLocaleImportSpecification = exports.VoiceSettings = exports.VoiceEngine = exports.BotLocaleHistoryEvent = exports.BotLocaleFilter = exports.BotLocaleFilterOperator = exports.BotLocaleFilterName = exports.BotLocaleExportSpecification = exports.BotImportSpecification = exports.DataPrivacy = exports.BotFilter = exports.BotFilterOperator = exports.BotFilterName = exports.BotExportSpecification = exports.BotAliasSummary = exports.BotAliasStatus = exports.BotAliasLocaleSettings = exports.CodeHookSpecification = exports.LambdaCodeHook = exports.BotAliasHistoryEvent = exports.AudioLogSetting = exports.AudioLogDestination = exports.S3BucketLogDestination = exports.AggregatedUtterancesSummary = exports.AggregatedUtterancesSortBy = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilter = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = void 0;
4
+ exports.CreateResourcePolicyResponse = exports.CreateResourcePolicyRequest = exports.CreateIntentResponse = exports.CreateIntentRequest = exports.SampleUtterance = exports.OutputContext = exports.KendraConfiguration = exports.IntentConfirmationSetting = exports.PromptSpecification = exports.IntentClosingSetting = exports.InputContext = exports.FulfillmentCodeHookSettings = exports.PostFulfillmentStatusSpecification = exports.ResponseSpecification = exports.FulfillmentUpdatesSpecification = exports.FulfillmentUpdateResponseSpecification = exports.FulfillmentStartResponseSpecification = exports.MessageGroup = exports.Message = exports.SSMLMessage = exports.PlainTextMessage = exports.ImageResponseCard = exports.CustomPayload = exports.DialogCodeHookSettings = exports.ResourceNotFoundException = exports.CreateExportResponse = exports.ExportStatus = exports.CreateExportRequest = exports.ExportResourceSpecification = exports.ImportExportFileFormat = exports.CreateBotVersionResponse = exports.CreateBotVersionRequest = exports.CreateBotLocaleResponse = exports.CreateBotLocaleRequest = exports.CreateBotAliasResponse = exports.CreateBotAliasRequest = exports.SentimentAnalysisSettings = exports.CreateBotResponse = exports.CreateBotRequest = exports.ConversationLogSettings = exports.TextLogSetting = exports.TextLogDestination = exports.CloudWatchLogGroupLogDestination = exports.Button = exports.BuiltInSlotTypeSummary = exports.BuiltInSlotTypeSortBy = exports.BuiltInSlotTypeSortAttribute = exports.BuiltInIntentSummary = exports.BuiltInIntentSortBy = exports.BuiltInIntentSortAttribute = void 0;
5
+ exports.DescribeBotAliasResponse = exports.DescribeBotAliasRequest = exports.DescribeBotResponse = exports.DescribeBotRequest = exports.DeleteUtterancesResponse = exports.DeleteUtterancesRequest = exports.DeleteSlotTypeRequest = exports.DeleteSlotRequest = exports.DeleteResourcePolicyStatementResponse = exports.DeleteResourcePolicyStatementRequest = exports.DeleteResourcePolicyResponse = exports.DeleteResourcePolicyRequest = exports.DeleteIntentRequest = exports.DeleteImportResponse = exports.ImportStatus = exports.DeleteImportRequest = exports.DeleteExportResponse = exports.DeleteExportRequest = exports.DeleteBotVersionResponse = exports.DeleteBotVersionRequest = exports.DeleteBotLocaleResponse = exports.DeleteBotLocaleRequest = exports.DeleteBotAliasResponse = exports.DeleteBotAliasRequest = exports.DeleteBotResponse = exports.DeleteBotRequest = exports.CreateUploadUrlResponse = exports.CreateUploadUrlRequest = exports.CreateSlotTypeResponse = exports.CreateSlotTypeRequest = exports.SlotValueSelectionSetting = exports.SlotValueResolutionStrategy = exports.SlotValueRegexFilter = exports.SlotTypeValue = exports.SampleValue = exports.CreateSlotResponse = exports.CreateSlotRequest = exports.SlotValueElicitationSetting = exports.WaitAndContinueSpecification = exports.StillWaitingResponseSpecification = exports.SlotConstraint = exports.SlotDefaultValueSpecification = exports.SlotDefaultValue = exports.ObfuscationSetting = exports.ObfuscationSettingType = exports.MultipleValuesSetting = exports.CreateResourcePolicyStatementResponse = exports.CreateResourcePolicyStatementRequest = exports.Principal = exports.Effect = void 0;
6
+ exports.ListBotVersionsResponse = exports.ListBotVersionsRequest = exports.ListBotsResponse = exports.ListBotsRequest = exports.ListBotLocalesResponse = exports.ListBotLocalesRequest = exports.ListBotAliasesResponse = exports.ListBotAliasesRequest = exports.ListAggregatedUtterancesResponse = exports.ListAggregatedUtterancesRequest = exports.UtteranceAggregationDuration = exports.RelativeAggregationDuration = exports.TimeDimension = exports.IntentSummary = exports.IntentSortBy = exports.IntentSortAttribute = exports.IntentFilter = exports.IntentFilterOperator = exports.IntentFilterName = exports.ImportSummary = exports.ImportSortBy = exports.ImportSortAttribute = exports.ImportFilter = exports.ImportFilterOperator = exports.ImportFilterName = exports.ExportSummary = exports.ExportSortBy = exports.ExportSortAttribute = exports.ExportFilter = exports.ExportFilterOperator = exports.ExportFilterName = exports.DescribeSlotTypeResponse = exports.DescribeSlotTypeRequest = exports.DescribeSlotResponse = exports.DescribeSlotRequest = exports.DescribeResourcePolicyResponse = exports.DescribeResourcePolicyRequest = exports.DescribeIntentResponse = exports.SlotPriority = exports.DescribeIntentRequest = exports.DescribeImportResponse = exports.ImportResourceSpecification = exports.MergeStrategy = exports.DescribeImportRequest = exports.DescribeExportResponse = exports.DescribeExportRequest = exports.DescribeBotVersionResponse = exports.DescribeBotVersionRequest = exports.DescribeBotLocaleResponse = exports.DescribeBotLocaleRequest = void 0;
7
+ exports.UpdateSlotTypeResponse = exports.UpdateSlotTypeRequest = exports.UpdateSlotResponse = exports.UpdateSlotRequest = exports.UpdateResourcePolicyResponse = exports.UpdateResourcePolicyRequest = exports.UpdateIntentResponse = exports.UpdateIntentRequest = exports.UpdateExportResponse = exports.UpdateExportRequest = exports.UpdateBotLocaleResponse = exports.UpdateBotLocaleRequest = exports.UpdateBotAliasResponse = exports.UpdateBotAliasRequest = exports.UpdateBotResponse = exports.UpdateBotRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartImportResponse = exports.StartImportRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSlotTypesResponse = exports.SlotTypeSummary = exports.ListSlotTypesRequest = exports.SlotTypeSortBy = exports.SlotTypeSortAttribute = exports.SlotTypeFilter = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.ListSlotsResponse = exports.SlotSummary = exports.ListSlotsRequest = exports.SlotSortBy = exports.SlotSortAttribute = exports.SlotFilter = exports.SlotFilterOperator = exports.SlotFilterName = exports.ListIntentsResponse = exports.ListIntentsRequest = exports.ListImportsResponse = exports.ListImportsRequest = exports.ListExportsResponse = exports.ListExportsRequest = exports.ListBuiltInSlotTypesResponse = exports.ListBuiltInSlotTypesRequest = exports.ListBuiltInIntentsResponse = exports.ListBuiltInIntentsRequest = void 0;
8
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
9
9
  var AggregatedUtterancesFilterName;
10
10
  (function (AggregatedUtterancesFilterName) {
@@ -158,6 +158,11 @@ var BotLocaleHistoryEvent;
158
158
  ...obj,
159
159
  });
160
160
  })(BotLocaleHistoryEvent = exports.BotLocaleHistoryEvent || (exports.BotLocaleHistoryEvent = {}));
161
+ var VoiceEngine;
162
+ (function (VoiceEngine) {
163
+ VoiceEngine["Neural"] = "neural";
164
+ VoiceEngine["Standard"] = "standard";
165
+ })(VoiceEngine = exports.VoiceEngine || (exports.VoiceEngine = {}));
161
166
  var VoiceSettings;
162
167
  (function (VoiceSettings) {
163
168
  VoiceSettings.filterSensitiveLog = (obj) => ({
@@ -9403,6 +9403,7 @@ const serializeAws_restJson1UtteranceAggregationDuration = (input, context) => {
9403
9403
  };
9404
9404
  const serializeAws_restJson1VoiceSettings = (input, context) => {
9405
9405
  return {
9406
+ ...(input.engine !== undefined && input.engine !== null && { engine: input.engine }),
9406
9407
  ...(input.voiceId !== undefined && input.voiceId !== null && { voiceId: input.voiceId }),
9407
9408
  };
9408
9409
  };
@@ -10322,6 +10323,7 @@ const deserializeAws_restJson1UtteranceAggregationDuration = (output, context) =
10322
10323
  };
10323
10324
  const deserializeAws_restJson1VoiceSettings = (output, context) => {
10324
10325
  return {
10326
+ engine: smithy_client_1.expectString(output.engine),
10325
10327
  voiceId: smithy_client_1.expectString(output.voiceId),
10326
10328
  };
10327
10329
  };
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -27,27 +27,96 @@ var partitionHash = {
27
27
  "us-west-2",
28
28
  ],
29
29
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
30
- hostname: "models-v2-lex.{region}.amazonaws.com",
30
+ variants: [
31
+ {
32
+ hostname: "models-v2-lex.{region}.amazonaws.com",
33
+ tags: [],
34
+ },
35
+ {
36
+ hostname: "models-v2-lex-fips.{region}.amazonaws.com",
37
+ tags: ["fips"],
38
+ },
39
+ {
40
+ hostname: "models-v2-lex-fips.{region}.api.aws",
41
+ tags: ["dualstack", "fips"],
42
+ },
43
+ {
44
+ hostname: "models-v2-lex.{region}.api.aws",
45
+ tags: ["dualstack"],
46
+ },
47
+ ],
31
48
  },
32
49
  "aws-cn": {
33
50
  regions: ["cn-north-1", "cn-northwest-1"],
34
51
  regionRegex: "^cn\\-\\w+\\-\\d+$",
35
- hostname: "models-v2-lex.{region}.amazonaws.com.cn",
52
+ variants: [
53
+ {
54
+ hostname: "models-v2-lex.{region}.amazonaws.com.cn",
55
+ tags: [],
56
+ },
57
+ {
58
+ hostname: "models-v2-lex-fips.{region}.amazonaws.com.cn",
59
+ tags: ["fips"],
60
+ },
61
+ {
62
+ hostname: "models-v2-lex-fips.{region}.api.amazonwebservices.com.cn",
63
+ tags: ["dualstack", "fips"],
64
+ },
65
+ {
66
+ hostname: "models-v2-lex.{region}.api.amazonwebservices.com.cn",
67
+ tags: ["dualstack"],
68
+ },
69
+ ],
36
70
  },
37
71
  "aws-iso": {
38
72
  regions: ["us-iso-east-1", "us-iso-west-1"],
39
73
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
40
- hostname: "models-v2-lex.{region}.c2s.ic.gov",
74
+ variants: [
75
+ {
76
+ hostname: "models-v2-lex.{region}.c2s.ic.gov",
77
+ tags: [],
78
+ },
79
+ {
80
+ hostname: "models-v2-lex-fips.{region}.c2s.ic.gov",
81
+ tags: ["fips"],
82
+ },
83
+ ],
41
84
  },
42
85
  "aws-iso-b": {
43
86
  regions: ["us-isob-east-1"],
44
87
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
45
- hostname: "models-v2-lex.{region}.sc2s.sgov.gov",
88
+ variants: [
89
+ {
90
+ hostname: "models-v2-lex.{region}.sc2s.sgov.gov",
91
+ tags: [],
92
+ },
93
+ {
94
+ hostname: "models-v2-lex-fips.{region}.sc2s.sgov.gov",
95
+ tags: ["fips"],
96
+ },
97
+ ],
46
98
  },
47
99
  "aws-us-gov": {
48
100
  regions: ["us-gov-east-1", "us-gov-west-1"],
49
101
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
50
- hostname: "models-v2-lex.{region}.amazonaws.com",
102
+ variants: [
103
+ {
104
+ hostname: "models-v2-lex.{region}.amazonaws.com",
105
+ tags: [],
106
+ },
107
+ {
108
+ hostname: "models-v2-lex-fips.{region}.amazonaws.com",
109
+ tags: ["fips"],
110
+ },
111
+ {
112
+ hostname: "models-v2-lex-fips.{region}.api.aws",
113
+ tags: ["dualstack", "fips"],
114
+ },
115
+ {
116
+ hostname: "models-v2-lex.{region}.api.aws",
117
+ tags: ["dualstack"],
118
+ },
119
+ ],
51
120
  },
52
121
  };
53
122
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
@@ -116,6 +116,11 @@ export var BotLocaleHistoryEvent;
116
116
  (function (BotLocaleHistoryEvent) {
117
117
  BotLocaleHistoryEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
118
118
  })(BotLocaleHistoryEvent || (BotLocaleHistoryEvent = {}));
119
+ export var VoiceEngine;
120
+ (function (VoiceEngine) {
121
+ VoiceEngine["Neural"] = "neural";
122
+ VoiceEngine["Standard"] = "standard";
123
+ })(VoiceEngine || (VoiceEngine = {}));
119
124
  export var VoiceSettings;
120
125
  (function (VoiceSettings) {
121
126
  VoiceSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -10069,7 +10069,7 @@ var serializeAws_restJson1UtteranceAggregationDuration = function (input, contex
10069
10069
  }));
10070
10070
  };
10071
10071
  var serializeAws_restJson1VoiceSettings = function (input, context) {
10072
- return __assign({}, (input.voiceId !== undefined && input.voiceId !== null && { voiceId: input.voiceId }));
10072
+ return __assign(__assign({}, (input.engine !== undefined && input.engine !== null && { engine: input.engine })), (input.voiceId !== undefined && input.voiceId !== null && { voiceId: input.voiceId }));
10073
10073
  };
10074
10074
  var serializeAws_restJson1WaitAndContinueSpecification = function (input, context) {
10075
10075
  return __assign(__assign(__assign(__assign({}, (input.active !== undefined && input.active !== null && { active: input.active })), (input.continueResponse !== undefined &&
@@ -10979,6 +10979,7 @@ var deserializeAws_restJson1UtteranceAggregationDuration = function (output, con
10979
10979
  };
10980
10980
  var deserializeAws_restJson1VoiceSettings = function (output, context) {
10981
10981
  return {
10982
+ engine: __expectString(output.engine),
10982
10983
  voiceId: __expectString(output.voiceId),
10983
10984
  };
10984
10985
  };
@@ -1,6 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
5
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
13
  export var getRuntimeConfig = function (config) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
14
15
  var clientSharedValues = getSharedRuntimeConfig(config);
15
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
16
17
  };
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
21
  };
@@ -238,7 +238,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
238
238
  deleteBotLocale(args: DeleteBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotLocaleCommandOutput) => void): void;
239
239
  /**
240
240
  * <p>Deletes a specific version of a bot. To delete all version of a bot,
241
- * use the <a>DeleteBot</a> operation.</p>
241
+ * use the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html">DeleteBot</a> operation.</p>
242
242
  */
243
243
  deleteBotVersion(args: DeleteBotVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBotVersionCommandOutput>;
244
244
  deleteBotVersion(args: DeleteBotVersionCommandInput, cb: (err: any, data?: DeleteBotVersionCommandOutput) => void): void;
@@ -301,9 +301,9 @@ export declare class LexModelsV2 extends LexModelsV2Client {
301
301
  /**
302
302
  * <p>Deletes stored utterances.</p>
303
303
  * <p>Amazon Lex stores the utterances that users send to your bot. Utterances
304
- * are stored for 15 days for use with the operation, and then stored
305
- * indefinitely for use in improving the ability of your bot to respond to
306
- * user input..</p>
304
+ * 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
305
+ * then stored indefinitely for use in improving the ability of your bot
306
+ * to respond to user input..</p>
307
307
  * <p>Use the <code>DeleteUtterances</code> operation to manually delete
308
308
  * utterances for a specific session. When you use the
309
309
  * <code>DeleteUtterances</code> operation, utterances stored for
@@ -443,7 +443,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
443
443
  * <p>To use a built-in intent as a the base for your own intent, include
444
444
  * the built-in intent signature in the <code>parentIntentSignature</code>
445
445
  * parameter when you call the <code>CreateIntent</code> operation. For
446
- * more information, see <a>CreateIntent</a>.</p>
446
+ * more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html">CreateIntent</a>.</p>
447
447
  */
448
448
  listBuiltInIntents(args: ListBuiltInIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListBuiltInIntentsCommandOutput>;
449
449
  listBuiltInIntents(args: ListBuiltInIntentsCommandInput, cb: (err: any, data?: ListBuiltInIntentsCommandOutput) => void): void;
@@ -538,7 +538,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
538
538
  * <p>The password is not required. If you don't supply a password, Amazon Lex
539
539
  * generates a zip file that is not protected by a password. This is the
540
540
  * archive that is available at the pre-signed S3 URL provided by the
541
- * operation.</p>
541
+ * <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">DescribeExport</a> operation.</p>
542
542
  */
543
543
  updateExport(args: UpdateExportCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExportCommandOutput>;
544
544
  updateExport(args: UpdateExportCommandInput, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
@@ -134,6 +134,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
134
134
  * Optional logger for logging debug/info/warn/error.
135
135
  */
136
136
  logger?: __Logger;
137
+ /**
138
+ * Enables IPv6/IPv4 dualstack endpoint.
139
+ */
140
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
141
+ /**
142
+ * Enables FIPS compatible endpoints.
143
+ */
144
+ useFipsEndpoint?: boolean | __Provider<boolean>;
137
145
  /**
138
146
  * Unique service identifier.
139
147
  * @internal
@@ -22,7 +22,7 @@ export interface BuildBotLocaleCommandOutput extends BuildBotLocaleResponse, __M
22
22
  *
23
23
  * @see {@link BuildBotLocaleCommandInput} for command's `input` shape.
24
24
  * @see {@link BuildBotLocaleCommandOutput} for command's `response` shape.
25
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class BuildBotLocaleCommand extends $Command<BuildBotLocaleCommandInput, BuildBotLocaleCommandOutput, LexModelsV2ClientResolvedConfig> {
@@ -24,7 +24,7 @@ export interface CreateBotAliasCommandOutput extends CreateBotAliasResponse, __M
24
24
  *
25
25
  * @see {@link CreateBotAliasCommandInput} for command's `input` shape.
26
26
  * @see {@link CreateBotAliasCommandOutput} for command's `response` shape.
27
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class CreateBotAliasCommand extends $Command<CreateBotAliasCommandInput, CreateBotAliasCommandOutput, LexModelsV2ClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateBotCommandOutput extends CreateBotResponse, __MetadataBea
20
20
  *
21
21
  * @see {@link CreateBotCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateBotCommandOutput} for command's `response` shape.
23
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateBotCommand extends $Command<CreateBotCommandInput, CreateBotCommandOutput, LexModelsV2ClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface CreateBotLocaleCommandOutput extends CreateBotLocaleResponse, _
23
23
  *
24
24
  * @see {@link CreateBotLocaleCommandInput} for command's `input` shape.
25
25
  * @see {@link CreateBotLocaleCommandOutput} for command's `response` shape.
26
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class CreateBotLocaleCommand extends $Command<CreateBotLocaleCommandInput, CreateBotLocaleCommandOutput, LexModelsV2ClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
25
25
  *
26
26
  * @see {@link CreateBotVersionCommandInput} for command's `input` shape.
27
27
  * @see {@link CreateBotVersionCommandOutput} for command's `response` shape.
28
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class CreateBotVersionCommand extends $Command<CreateBotVersionCommandInput, CreateBotVersionCommandOutput, LexModelsV2ClientResolvedConfig> {
@@ -29,7 +29,7 @@ export interface CreateExportCommandOutput extends CreateExportResponse, __Metad
29
29
  *
30
30
  * @see {@link CreateExportCommandInput} for command's `input` shape.
31
31
  * @see {@link CreateExportCommandOutput} for command's `response` shape.
32
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
32
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
33
33
  *
34
34
  */
35
35
  export declare class CreateExportCommand extends $Command<CreateExportCommandInput, CreateExportCommandOutput, LexModelsV2ClientResolvedConfig> {
@@ -57,7 +57,7 @@ export interface CreateIntentCommandOutput extends CreateIntentResponse, __Metad
57
57
  *
58
58
  * @see {@link CreateIntentCommandInput} for command's `input` shape.
59
59
  * @see {@link CreateIntentCommandOutput} for command's `response` shape.
60
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
60
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
61
61
  *
62
62
  */
63
63
  export declare class CreateIntentCommand extends $Command<CreateIntentCommandInput, CreateIntentCommandOutput, LexModelsV2ClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface CreateResourcePolicyCommandOutput extends CreateResourcePolicyR
21
21
  *
22
22
  * @see {@link CreateResourcePolicyCommandInput} for command's `input` shape.
23
23
  * @see {@link CreateResourcePolicyCommandOutput} for command's `response` shape.
24
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class CreateResourcePolicyCommand extends $Command<CreateResourcePolicyCommandInput, CreateResourcePolicyCommandOutput, LexModelsV2ClientResolvedConfig> {
@@ -24,7 +24,7 @@ export interface CreateResourcePolicyStatementCommandOutput extends CreateResour
24
24
  *
25
25
  * @see {@link CreateResourcePolicyStatementCommandInput} for command's `input` shape.
26
26
  * @see {@link CreateResourcePolicyStatementCommandOutput} for command's `response` shape.
27
- * @see {@link LexModelsV2ClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class CreateResourcePolicyStatementCommand extends $Command<CreateResourcePolicyStatementCommandInput, CreateResourcePolicyStatementCommandOutput, LexModelsV2ClientResolvedConfig> {