@aws-sdk/client-transcribe 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 (62) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/endpoints.js +165 -25
  3. package/dist-cjs/models/models_0.js +9 -3
  4. package/dist-cjs/protocols/Aws_json1_1.js +53 -0
  5. package/dist-cjs/runtimeConfig.browser.js +6 -3
  6. package/dist-cjs/runtimeConfig.js +5 -3
  7. package/dist-es/endpoints.js +165 -25
  8. package/dist-es/models/models_0.js +4 -0
  9. package/dist-es/protocols/Aws_json1_1.js +48 -3
  10. package/dist-es/runtimeConfig.browser.js +3 -2
  11. package/dist-es/runtimeConfig.js +3 -3
  12. package/dist-types/Transcribe.d.ts +1 -1
  13. package/dist-types/TranscribeClient.d.ts +8 -0
  14. package/dist-types/commands/CreateCallAnalyticsCategoryCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateLanguageModelCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateVocabularyCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteCallAnalyticsCategoryCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteCallAnalyticsJobCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteLanguageModelCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteMedicalTranscriptionJobCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteMedicalVocabularyCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteTranscriptionJobCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteVocabularyFilterCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeLanguageModelCommand.d.ts +1 -1
  28. package/dist-types/commands/GetCallAnalyticsCategoryCommand.d.ts +1 -1
  29. package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +1 -1
  30. package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +1 -1
  31. package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +1 -1
  32. package/dist-types/commands/GetTranscriptionJobCommand.d.ts +1 -1
  33. package/dist-types/commands/GetVocabularyCommand.d.ts +1 -1
  34. package/dist-types/commands/GetVocabularyFilterCommand.d.ts +1 -1
  35. package/dist-types/commands/ListCallAnalyticsCategoriesCommand.d.ts +1 -1
  36. package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListLanguageModelsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +1 -1
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  41. package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListVocabulariesCommand.d.ts +1 -1
  43. package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +1 -1
  44. package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +1 -1
  45. package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +1 -1
  46. package/dist-types/commands/StartTranscriptionJobCommand.d.ts +1 -1
  47. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  48. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateCallAnalyticsCategoryCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateVocabularyCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +1 -1
  53. package/dist-types/models/models_0.d.ts +87 -11
  54. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  55. package/dist-types/runtimeConfig.d.ts +2 -0
  56. package/dist-types/runtimeConfig.native.d.ts +2 -0
  57. package/dist-types/ts3.4/TranscribeClient.d.ts +4 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +25 -0
  59. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  60. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  61. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  62. package/package.json +23 -23
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
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
+ **Note:** Version bump only for package @aws-sdk/client-transcribe
9
+
10
+
11
+
12
+
13
+
14
+ # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **clients:** merge default variants by comparing tags ([#3044](https://github.com/aws/aws-sdk-js-v3/issues/3044)) ([d65a310](https://github.com/aws/aws-sdk-js-v3/commit/d65a310ed5a471e72633a18ae6f3c98390e20783))
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
+ * **clients:** update clients as of 2021/11/05 ([#2994](https://github.com/aws/aws-sdk-js-v3/issues/2994)) ([f5ecc31](https://github.com/aws/aws-sdk-js-v3/commit/f5ecc3147035a1f3d2d74cfed147999927ea8256))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
49
 
8
50
  **Note:** Version bump only for package @aws-sdk/client-transcribe
@@ -3,37 +3,107 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
+ "ca-central-1": {
7
+ variants: [
8
+ {
9
+ hostname: "transcribe.ca-central-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ {
13
+ hostname: "fips.transcribe.ca-central-1.amazonaws.com",
14
+ tags: ["fips"],
15
+ },
16
+ ],
17
+ },
6
18
  "cn-north-1": {
7
- hostname: "cn.transcribe.cn-north-1.amazonaws.com.cn",
19
+ variants: [
20
+ {
21
+ hostname: "cn.transcribe.cn-north-1.amazonaws.com.cn",
22
+ tags: [],
23
+ },
24
+ ],
8
25
  signingRegion: "cn-north-1",
9
26
  },
10
27
  "cn-northwest-1": {
11
- hostname: "cn.transcribe.cn-northwest-1.amazonaws.com.cn",
28
+ variants: [
29
+ {
30
+ hostname: "cn.transcribe.cn-northwest-1.amazonaws.com.cn",
31
+ tags: [],
32
+ },
33
+ ],
12
34
  signingRegion: "cn-northwest-1",
13
35
  },
14
- "fips-us-east-1": {
15
- hostname: "fips.transcribe.us-east-1.amazonaws.com",
16
- signingRegion: "us-east-1",
36
+ "us-east-1": {
37
+ variants: [
38
+ {
39
+ hostname: "transcribe.us-east-1.amazonaws.com",
40
+ tags: [],
41
+ },
42
+ {
43
+ hostname: "fips.transcribe.us-east-1.amazonaws.com",
44
+ tags: ["fips"],
45
+ },
46
+ ],
17
47
  },
18
- "fips-us-east-2": {
19
- hostname: "fips.transcribe.us-east-2.amazonaws.com",
20
- signingRegion: "us-east-2",
48
+ "us-east-2": {
49
+ variants: [
50
+ {
51
+ hostname: "transcribe.us-east-2.amazonaws.com",
52
+ tags: [],
53
+ },
54
+ {
55
+ hostname: "fips.transcribe.us-east-2.amazonaws.com",
56
+ tags: ["fips"],
57
+ },
58
+ ],
21
59
  },
22
- "fips-us-gov-east-1": {
23
- hostname: "fips.transcribe.us-gov-east-1.amazonaws.com",
24
- signingRegion: "us-gov-east-1",
60
+ "us-gov-east-1": {
61
+ variants: [
62
+ {
63
+ hostname: "transcribe.us-gov-east-1.amazonaws.com",
64
+ tags: [],
65
+ },
66
+ {
67
+ hostname: "fips.transcribe.us-gov-east-1.amazonaws.com",
68
+ tags: ["fips"],
69
+ },
70
+ ],
25
71
  },
26
- "fips-us-gov-west-1": {
27
- hostname: "fips.transcribe.us-gov-west-1.amazonaws.com",
28
- signingRegion: "us-gov-west-1",
72
+ "us-gov-west-1": {
73
+ variants: [
74
+ {
75
+ hostname: "transcribe.us-gov-west-1.amazonaws.com",
76
+ tags: [],
77
+ },
78
+ {
79
+ hostname: "fips.transcribe.us-gov-west-1.amazonaws.com",
80
+ tags: ["fips"],
81
+ },
82
+ ],
29
83
  },
30
- "fips-us-west-1": {
31
- hostname: "fips.transcribe.us-west-1.amazonaws.com",
32
- signingRegion: "us-west-1",
84
+ "us-west-1": {
85
+ variants: [
86
+ {
87
+ hostname: "transcribe.us-west-1.amazonaws.com",
88
+ tags: [],
89
+ },
90
+ {
91
+ hostname: "fips.transcribe.us-west-1.amazonaws.com",
92
+ tags: ["fips"],
93
+ },
94
+ ],
33
95
  },
34
- "fips-us-west-2": {
35
- hostname: "fips.transcribe.us-west-2.amazonaws.com",
36
- signingRegion: "us-west-2",
96
+ "us-west-2": {
97
+ variants: [
98
+ {
99
+ hostname: "transcribe.us-west-2.amazonaws.com",
100
+ tags: [],
101
+ },
102
+ {
103
+ hostname: "fips.transcribe.us-west-2.amazonaws.com",
104
+ tags: ["fips"],
105
+ },
106
+ ],
37
107
  },
38
108
  };
39
109
  const partitionHash = {
@@ -54,6 +124,7 @@ const partitionHash = {
54
124
  "eu-west-1",
55
125
  "eu-west-2",
56
126
  "eu-west-3",
127
+ "fips-ca-central-1",
57
128
  "fips-us-east-1",
58
129
  "fips-us-east-2",
59
130
  "fips-us-west-1",
@@ -66,27 +137,96 @@ const partitionHash = {
66
137
  "us-west-2",
67
138
  ],
68
139
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
69
- hostname: "transcribe.{region}.amazonaws.com",
140
+ variants: [
141
+ {
142
+ hostname: "transcribe.{region}.amazonaws.com",
143
+ tags: [],
144
+ },
145
+ {
146
+ hostname: "fips.transcribe.{region}.amazonaws.com",
147
+ tags: ["fips"],
148
+ },
149
+ {
150
+ hostname: "transcribe-fips.{region}.api.aws",
151
+ tags: ["dualstack", "fips"],
152
+ },
153
+ {
154
+ hostname: "transcribe.{region}.api.aws",
155
+ tags: ["dualstack"],
156
+ },
157
+ ],
70
158
  },
71
159
  "aws-cn": {
72
160
  regions: ["cn-north-1", "cn-northwest-1"],
73
161
  regionRegex: "^cn\\-\\w+\\-\\d+$",
74
- hostname: "transcribe.{region}.amazonaws.com.cn",
162
+ variants: [
163
+ {
164
+ hostname: "transcribe.{region}.amazonaws.com.cn",
165
+ tags: [],
166
+ },
167
+ {
168
+ hostname: "transcribe-fips.{region}.amazonaws.com.cn",
169
+ tags: ["fips"],
170
+ },
171
+ {
172
+ hostname: "transcribe-fips.{region}.api.amazonwebservices.com.cn",
173
+ tags: ["dualstack", "fips"],
174
+ },
175
+ {
176
+ hostname: "transcribe.{region}.api.amazonwebservices.com.cn",
177
+ tags: ["dualstack"],
178
+ },
179
+ ],
75
180
  },
76
181
  "aws-iso": {
77
182
  regions: ["us-iso-east-1", "us-iso-west-1"],
78
183
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
79
- hostname: "transcribe.{region}.c2s.ic.gov",
184
+ variants: [
185
+ {
186
+ hostname: "transcribe.{region}.c2s.ic.gov",
187
+ tags: [],
188
+ },
189
+ {
190
+ hostname: "transcribe-fips.{region}.c2s.ic.gov",
191
+ tags: ["fips"],
192
+ },
193
+ ],
80
194
  },
81
195
  "aws-iso-b": {
82
196
  regions: ["us-isob-east-1"],
83
197
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
84
- hostname: "transcribe.{region}.sc2s.sgov.gov",
198
+ variants: [
199
+ {
200
+ hostname: "transcribe.{region}.sc2s.sgov.gov",
201
+ tags: [],
202
+ },
203
+ {
204
+ hostname: "transcribe-fips.{region}.sc2s.sgov.gov",
205
+ tags: ["fips"],
206
+ },
207
+ ],
85
208
  },
86
209
  "aws-us-gov": {
87
210
  regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
88
211
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
89
- hostname: "transcribe.{region}.amazonaws.com",
212
+ variants: [
213
+ {
214
+ hostname: "transcribe.{region}.amazonaws.com",
215
+ tags: [],
216
+ },
217
+ {
218
+ hostname: "fips.transcribe.{region}.amazonaws.com",
219
+ tags: ["fips"],
220
+ },
221
+ {
222
+ hostname: "transcribe-fips.{region}.api.aws",
223
+ tags: ["dualstack", "fips"],
224
+ },
225
+ {
226
+ hostname: "transcribe.{region}.api.aws",
227
+ tags: ["dualstack"],
228
+ },
229
+ ],
90
230
  },
91
231
  };
92
232
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteLanguageModelRequest = exports.DeleteCallAnalyticsJobResponse = exports.DeleteCallAnalyticsJobRequest = exports.NotFoundException = exports.DeleteCallAnalyticsCategoryResponse = exports.DeleteCallAnalyticsCategoryRequest = exports.CreateVocabularyFilterResponse = exports.CreateVocabularyFilterRequest = exports.CreateVocabularyResponse = exports.CreateVocabularyRequest = exports.CreateMedicalVocabularyResponse = exports.VocabularyState = exports.CreateMedicalVocabularyRequest = exports.CreateLanguageModelResponse = exports.ModelStatus = exports.CreateLanguageModelRequest = exports.Tag = exports.InputDataConfig = exports.LimitExceededException = exports.InternalFailureException = exports.CreateCallAnalyticsCategoryResponse = exports.CreateCallAnalyticsCategoryRequest = exports.ConflictException = exports.CLMLanguageCode = exports.CategoryProperties = exports.Rule = exports.TranscriptFilter = exports.TranscriptFilterType = exports.SentimentFilter = exports.SentimentValue = exports.NonTalkTimeFilter = exports.InterruptionFilter = exports.RelativeTimeRange = exports.CallAnalyticsJobSummary = exports.CallAnalyticsJob = exports.Transcript = exports.CallAnalyticsJobSettings = exports.VocabularyFilterMethod = exports.ContentRedaction = exports.RedactionType = exports.RedactionOutput = exports.MediaFormat = exports.Media = exports.LanguageCode = exports.ChannelDefinition = exports.ParticipantRole = exports.CallAnalyticsJobStatus = exports.BaseModelName = exports.BadRequestException = exports.AbsoluteTimeRange = void 0;
4
- exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListMedicalVocabulariesResponse = exports.VocabularyInfo = exports.ListMedicalVocabulariesRequest = exports.ListMedicalTranscriptionJobsResponse = exports.MedicalTranscriptionJobSummary = exports.OutputLocationType = exports.ListMedicalTranscriptionJobsRequest = exports.ListLanguageModelsResponse = exports.ListLanguageModelsRequest = exports.ListCallAnalyticsJobsResponse = exports.ListCallAnalyticsJobsRequest = exports.ListCallAnalyticsCategoriesResponse = exports.ListCallAnalyticsCategoriesRequest = exports.GetVocabularyFilterResponse = exports.GetVocabularyFilterRequest = exports.GetVocabularyResponse = exports.GetVocabularyRequest = exports.GetTranscriptionJobResponse = exports.TranscriptionJob = exports.SubtitlesOutput = exports.SubtitleFormat = exports.Settings = exports.ModelSettings = exports.JobExecutionSettings = exports.GetTranscriptionJobRequest = exports.GetMedicalVocabularyResponse = exports.GetMedicalVocabularyRequest = exports.GetMedicalTranscriptionJobResponse = exports.MedicalTranscriptionJob = exports.Type = exports.TranscriptionJobStatus = exports.MedicalTranscript = exports.Specialty = exports.MedicalTranscriptionSetting = exports.MedicalContentIdentificationType = exports.GetMedicalTranscriptionJobRequest = exports.GetCallAnalyticsJobResponse = exports.GetCallAnalyticsJobRequest = exports.GetCallAnalyticsCategoryResponse = exports.GetCallAnalyticsCategoryRequest = exports.DescribeLanguageModelResponse = exports.LanguageModel = exports.DescribeLanguageModelRequest = exports.DeleteVocabularyFilterRequest = exports.DeleteVocabularyRequest = exports.DeleteTranscriptionJobRequest = exports.DeleteMedicalVocabularyRequest = exports.DeleteMedicalTranscriptionJobRequest = void 0;
5
- exports.UpdateVocabularyFilterResponse = exports.UpdateVocabularyFilterRequest = exports.UpdateVocabularyResponse = exports.UpdateVocabularyRequest = exports.UpdateMedicalVocabularyResponse = exports.UpdateMedicalVocabularyRequest = exports.UpdateCallAnalyticsCategoryResponse = exports.UpdateCallAnalyticsCategoryRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartTranscriptionJobResponse = exports.StartTranscriptionJobRequest = exports.Subtitles = exports.StartMedicalTranscriptionJobResponse = exports.StartMedicalTranscriptionJobRequest = exports.StartCallAnalyticsJobResponse = exports.StartCallAnalyticsJobRequest = exports.ListVocabularyFiltersResponse = exports.VocabularyFilterInfo = exports.ListVocabularyFiltersRequest = exports.ListVocabulariesResponse = exports.ListVocabulariesRequest = exports.ListTranscriptionJobsResponse = exports.TranscriptionJobSummary = exports.ListTranscriptionJobsRequest = void 0;
3
+ exports.DeleteCallAnalyticsJobResponse = exports.DeleteCallAnalyticsJobRequest = exports.NotFoundException = exports.DeleteCallAnalyticsCategoryResponse = exports.DeleteCallAnalyticsCategoryRequest = exports.CreateVocabularyFilterResponse = exports.CreateVocabularyFilterRequest = exports.CreateVocabularyResponse = exports.CreateVocabularyRequest = exports.CreateMedicalVocabularyResponse = exports.VocabularyState = exports.CreateMedicalVocabularyRequest = exports.CreateLanguageModelResponse = exports.ModelStatus = exports.CreateLanguageModelRequest = exports.Tag = exports.InputDataConfig = exports.LimitExceededException = exports.InternalFailureException = exports.CreateCallAnalyticsCategoryResponse = exports.CreateCallAnalyticsCategoryRequest = exports.ConflictException = exports.CLMLanguageCode = exports.CategoryProperties = exports.Rule = exports.TranscriptFilter = exports.TranscriptFilterType = exports.SentimentFilter = exports.SentimentValue = exports.NonTalkTimeFilter = exports.InterruptionFilter = exports.RelativeTimeRange = exports.CallAnalyticsJobSummary = exports.CallAnalyticsJob = exports.Transcript = exports.CallAnalyticsJobSettings = exports.VocabularyFilterMethod = exports.LanguageIdSettings = exports.ContentRedaction = exports.RedactionType = exports.RedactionOutput = exports.MediaFormat = exports.Media = exports.LanguageCode = exports.ChannelDefinition = exports.ParticipantRole = exports.CallAnalyticsJobStatus = exports.BaseModelName = exports.BadRequestException = exports.AbsoluteTimeRange = void 0;
4
+ exports.ListTagsForResourceRequest = exports.ListMedicalVocabulariesResponse = exports.VocabularyInfo = exports.ListMedicalVocabulariesRequest = exports.ListMedicalTranscriptionJobsResponse = exports.MedicalTranscriptionJobSummary = exports.OutputLocationType = exports.ListMedicalTranscriptionJobsRequest = exports.ListLanguageModelsResponse = exports.ListLanguageModelsRequest = exports.ListCallAnalyticsJobsResponse = exports.ListCallAnalyticsJobsRequest = exports.ListCallAnalyticsCategoriesResponse = exports.ListCallAnalyticsCategoriesRequest = exports.GetVocabularyFilterResponse = exports.GetVocabularyFilterRequest = exports.GetVocabularyResponse = exports.GetVocabularyRequest = exports.GetTranscriptionJobResponse = exports.TranscriptionJob = exports.SubtitlesOutput = exports.SubtitleFormat = exports.Settings = exports.ModelSettings = exports.JobExecutionSettings = exports.GetTranscriptionJobRequest = exports.GetMedicalVocabularyResponse = exports.GetMedicalVocabularyRequest = exports.GetMedicalTranscriptionJobResponse = exports.MedicalTranscriptionJob = exports.Type = exports.TranscriptionJobStatus = exports.MedicalTranscript = exports.Specialty = exports.MedicalTranscriptionSetting = exports.MedicalContentIdentificationType = exports.GetMedicalTranscriptionJobRequest = exports.GetCallAnalyticsJobResponse = exports.GetCallAnalyticsJobRequest = exports.GetCallAnalyticsCategoryResponse = exports.GetCallAnalyticsCategoryRequest = exports.DescribeLanguageModelResponse = exports.LanguageModel = exports.DescribeLanguageModelRequest = exports.DeleteVocabularyFilterRequest = exports.DeleteVocabularyRequest = exports.DeleteTranscriptionJobRequest = exports.DeleteMedicalVocabularyRequest = exports.DeleteMedicalTranscriptionJobRequest = exports.DeleteLanguageModelRequest = void 0;
5
+ exports.UpdateVocabularyFilterResponse = exports.UpdateVocabularyFilterRequest = exports.UpdateVocabularyResponse = exports.UpdateVocabularyRequest = exports.UpdateMedicalVocabularyResponse = exports.UpdateMedicalVocabularyRequest = exports.UpdateCallAnalyticsCategoryResponse = exports.UpdateCallAnalyticsCategoryRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartTranscriptionJobResponse = exports.StartTranscriptionJobRequest = exports.Subtitles = exports.StartMedicalTranscriptionJobResponse = exports.StartMedicalTranscriptionJobRequest = exports.StartCallAnalyticsJobResponse = exports.StartCallAnalyticsJobRequest = exports.ListVocabularyFiltersResponse = exports.VocabularyFilterInfo = exports.ListVocabularyFiltersRequest = exports.ListVocabulariesResponse = exports.ListVocabulariesRequest = exports.ListTranscriptionJobsResponse = exports.TranscriptionJobSummary = exports.ListTranscriptionJobsRequest = exports.ListTagsForResourceResponse = void 0;
6
6
  var AbsoluteTimeRange;
7
7
  (function (AbsoluteTimeRange) {
8
8
  AbsoluteTimeRange.filterSensitiveLog = (obj) => ({
@@ -112,6 +112,12 @@ var ContentRedaction;
112
112
  ...obj,
113
113
  });
114
114
  })(ContentRedaction = exports.ContentRedaction || (exports.ContentRedaction = {}));
115
+ var LanguageIdSettings;
116
+ (function (LanguageIdSettings) {
117
+ LanguageIdSettings.filterSensitiveLog = (obj) => ({
118
+ ...obj,
119
+ });
120
+ })(LanguageIdSettings = exports.LanguageIdSettings || (exports.LanguageIdSettings = {}));
115
121
  var VocabularyFilterMethod;
116
122
  (function (VocabularyFilterMethod) {
117
123
  VocabularyFilterMethod["MASK"] = "mask";
@@ -3159,6 +3159,10 @@ const serializeAws_json1_1CallAnalyticsJobSettings = (input, context) => {
3159
3159
  input.ContentRedaction !== null && {
3160
3160
  ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
3161
3161
  }),
3162
+ ...(input.LanguageIdSettings !== undefined &&
3163
+ input.LanguageIdSettings !== null && {
3164
+ LanguageIdSettings: serializeAws_json1_1LanguageIdSettingsMap(input.LanguageIdSettings, context),
3165
+ }),
3162
3166
  ...(input.LanguageModelName !== undefined &&
3163
3167
  input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName }),
3164
3168
  ...(input.LanguageOptions !== undefined &&
@@ -3386,6 +3390,27 @@ const serializeAws_json1_1KMSEncryptionContextMap = (input, context) => {
3386
3390
  };
3387
3391
  }, {});
3388
3392
  };
3393
+ const serializeAws_json1_1LanguageIdSettings = (input, context) => {
3394
+ return {
3395
+ ...(input.LanguageModelName !== undefined &&
3396
+ input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName }),
3397
+ ...(input.VocabularyFilterName !== undefined &&
3398
+ input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
3399
+ ...(input.VocabularyName !== undefined &&
3400
+ input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
3401
+ };
3402
+ };
3403
+ const serializeAws_json1_1LanguageIdSettingsMap = (input, context) => {
3404
+ return Object.entries(input).reduce((acc, [key, value]) => {
3405
+ if (value === null) {
3406
+ return acc;
3407
+ }
3408
+ return {
3409
+ ...acc,
3410
+ [key]: serializeAws_json1_1LanguageIdSettings(value, context),
3411
+ };
3412
+ }, {});
3413
+ };
3389
3414
  const serializeAws_json1_1LanguageOptions = (input, context) => {
3390
3415
  return input
3391
3416
  .filter((e) => e != null)
@@ -3660,6 +3685,10 @@ const serializeAws_json1_1StartTranscriptionJobRequest = (input, context) => {
3660
3685
  KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
3661
3686
  }),
3662
3687
  ...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
3688
+ ...(input.LanguageIdSettings !== undefined &&
3689
+ input.LanguageIdSettings !== null && {
3690
+ LanguageIdSettings: serializeAws_json1_1LanguageIdSettingsMap(input.LanguageIdSettings, context),
3691
+ }),
3663
3692
  ...(input.LanguageOptions !== undefined &&
3664
3693
  input.LanguageOptions !== null && {
3665
3694
  LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
@@ -3869,6 +3898,9 @@ const deserializeAws_json1_1CallAnalyticsJobSettings = (output, context) => {
3869
3898
  ContentRedaction: output.ContentRedaction !== undefined && output.ContentRedaction !== null
3870
3899
  ? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
3871
3900
  : undefined,
3901
+ LanguageIdSettings: output.LanguageIdSettings !== undefined && output.LanguageIdSettings !== null
3902
+ ? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
3903
+ : undefined,
3872
3904
  LanguageModelName: smithy_client_1.expectString(output.LanguageModelName),
3873
3905
  LanguageOptions: output.LanguageOptions !== undefined && output.LanguageOptions !== null
3874
3906
  ? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
@@ -4111,6 +4143,24 @@ const deserializeAws_json1_1JobExecutionSettings = (output, context) => {
4111
4143
  DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
4112
4144
  };
4113
4145
  };
4146
+ const deserializeAws_json1_1LanguageIdSettings = (output, context) => {
4147
+ return {
4148
+ LanguageModelName: smithy_client_1.expectString(output.LanguageModelName),
4149
+ VocabularyFilterName: smithy_client_1.expectString(output.VocabularyFilterName),
4150
+ VocabularyName: smithy_client_1.expectString(output.VocabularyName),
4151
+ };
4152
+ };
4153
+ const deserializeAws_json1_1LanguageIdSettingsMap = (output, context) => {
4154
+ return Object.entries(output).reduce((acc, [key, value]) => {
4155
+ if (value === null) {
4156
+ return acc;
4157
+ }
4158
+ return {
4159
+ ...acc,
4160
+ [key]: deserializeAws_json1_1LanguageIdSettings(value, context),
4161
+ };
4162
+ }, {});
4163
+ };
4114
4164
  const deserializeAws_json1_1LanguageModel = (output, context) => {
4115
4165
  return {
4116
4166
  BaseModelName: smithy_client_1.expectString(output.BaseModelName),
@@ -4538,6 +4588,9 @@ const deserializeAws_json1_1TranscriptionJob = (output, context) => {
4538
4588
  ? deserializeAws_json1_1JobExecutionSettings(output.JobExecutionSettings, context)
4539
4589
  : undefined,
4540
4590
  LanguageCode: smithy_client_1.expectString(output.LanguageCode),
4591
+ LanguageIdSettings: output.LanguageIdSettings !== undefined && output.LanguageIdSettings !== null
4592
+ ? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
4593
+ : undefined,
4541
4594
  LanguageOptions: output.LanguageOptions !== undefined && output.LanguageOptions !== null
4542
4595
  ? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
4543
4596
  : undefined,
@@ -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;