@aws-sdk/client-transcribe 3.303.0 → 3.309.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.
- package/dist-cjs/commands/CreateCallAnalyticsCategoryCommand.js +2 -2
- package/dist-cjs/commands/CreateLanguageModelCommand.js +2 -2
- package/dist-cjs/commands/CreateMedicalVocabularyCommand.js +2 -2
- package/dist-cjs/commands/CreateVocabularyCommand.js +2 -2
- package/dist-cjs/commands/CreateVocabularyFilterCommand.js +2 -2
- package/dist-cjs/commands/DeleteCallAnalyticsCategoryCommand.js +2 -2
- package/dist-cjs/commands/DeleteCallAnalyticsJobCommand.js +2 -2
- package/dist-cjs/commands/DeleteLanguageModelCommand.js +2 -2
- package/dist-cjs/commands/DeleteMedicalTranscriptionJobCommand.js +2 -2
- package/dist-cjs/commands/DeleteMedicalVocabularyCommand.js +2 -2
- package/dist-cjs/commands/DeleteTranscriptionJobCommand.js +2 -2
- package/dist-cjs/commands/DeleteVocabularyCommand.js +2 -2
- package/dist-cjs/commands/DeleteVocabularyFilterCommand.js +2 -2
- package/dist-cjs/commands/DescribeLanguageModelCommand.js +2 -2
- package/dist-cjs/commands/GetCallAnalyticsCategoryCommand.js +2 -2
- package/dist-cjs/commands/GetCallAnalyticsJobCommand.js +2 -2
- package/dist-cjs/commands/GetMedicalTranscriptionJobCommand.js +2 -2
- package/dist-cjs/commands/GetMedicalVocabularyCommand.js +2 -2
- package/dist-cjs/commands/GetTranscriptionJobCommand.js +2 -2
- package/dist-cjs/commands/GetVocabularyCommand.js +2 -2
- package/dist-cjs/commands/GetVocabularyFilterCommand.js +2 -2
- package/dist-cjs/commands/ListCallAnalyticsCategoriesCommand.js +2 -2
- package/dist-cjs/commands/ListCallAnalyticsJobsCommand.js +2 -2
- package/dist-cjs/commands/ListLanguageModelsCommand.js +2 -2
- package/dist-cjs/commands/ListMedicalTranscriptionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListMedicalVocabulariesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTranscriptionJobsCommand.js +2 -2
- package/dist-cjs/commands/ListVocabulariesCommand.js +2 -2
- package/dist-cjs/commands/ListVocabularyFiltersCommand.js +2 -2
- package/dist-cjs/commands/StartCallAnalyticsJobCommand.js +2 -2
- package/dist-cjs/commands/StartMedicalTranscriptionJobCommand.js +2 -2
- package/dist-cjs/commands/StartTranscriptionJobCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateCallAnalyticsCategoryCommand.js +2 -2
- package/dist-cjs/commands/UpdateMedicalVocabularyCommand.js +2 -2
- package/dist-cjs/commands/UpdateVocabularyCommand.js +2 -2
- package/dist-cjs/commands/UpdateVocabularyFilterCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +755 -827
- package/dist-es/commands/CreateCallAnalyticsCategoryCommand.js +3 -3
- package/dist-es/commands/CreateLanguageModelCommand.js +3 -3
- package/dist-es/commands/CreateMedicalVocabularyCommand.js +3 -3
- package/dist-es/commands/CreateVocabularyCommand.js +3 -3
- package/dist-es/commands/CreateVocabularyFilterCommand.js +3 -3
- package/dist-es/commands/DeleteCallAnalyticsCategoryCommand.js +3 -3
- package/dist-es/commands/DeleteCallAnalyticsJobCommand.js +3 -3
- package/dist-es/commands/DeleteLanguageModelCommand.js +3 -3
- package/dist-es/commands/DeleteMedicalTranscriptionJobCommand.js +3 -3
- package/dist-es/commands/DeleteMedicalVocabularyCommand.js +3 -3
- package/dist-es/commands/DeleteTranscriptionJobCommand.js +3 -3
- package/dist-es/commands/DeleteVocabularyCommand.js +3 -3
- package/dist-es/commands/DeleteVocabularyFilterCommand.js +3 -3
- package/dist-es/commands/DescribeLanguageModelCommand.js +3 -3
- package/dist-es/commands/GetCallAnalyticsCategoryCommand.js +3 -3
- package/dist-es/commands/GetCallAnalyticsJobCommand.js +3 -3
- package/dist-es/commands/GetMedicalTranscriptionJobCommand.js +3 -3
- package/dist-es/commands/GetMedicalVocabularyCommand.js +3 -3
- package/dist-es/commands/GetTranscriptionJobCommand.js +3 -3
- package/dist-es/commands/GetVocabularyCommand.js +3 -3
- package/dist-es/commands/GetVocabularyFilterCommand.js +3 -3
- package/dist-es/commands/ListCallAnalyticsCategoriesCommand.js +3 -3
- package/dist-es/commands/ListCallAnalyticsJobsCommand.js +3 -3
- package/dist-es/commands/ListLanguageModelsCommand.js +3 -3
- package/dist-es/commands/ListMedicalTranscriptionJobsCommand.js +3 -3
- package/dist-es/commands/ListMedicalVocabulariesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTranscriptionJobsCommand.js +3 -3
- package/dist-es/commands/ListVocabulariesCommand.js +3 -3
- package/dist-es/commands/ListVocabularyFiltersCommand.js +3 -3
- package/dist-es/commands/StartCallAnalyticsJobCommand.js +3 -3
- package/dist-es/commands/StartMedicalTranscriptionJobCommand.js +3 -3
- package/dist-es/commands/StartTranscriptionJobCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateCallAnalyticsCategoryCommand.js +3 -3
- package/dist-es/commands/UpdateMedicalVocabularyCommand.js +3 -3
- package/dist-es/commands/UpdateVocabularyCommand.js +3 -3
- package/dist-es/commands/UpdateVocabularyFilterCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +675 -747
- package/dist-types/protocols/Aws_json1_1.d.ts +312 -78
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +78 -78
- package/package.json +29 -29
|
@@ -2,371 +2,371 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { BadRequestException, ConflictException, InternalFailureException, LimitExceededException, NotFoundException, Rule, } from "../models/models_0";
|
|
4
4
|
import { TranscribeServiceException as __BaseException } from "../models/TranscribeServiceException";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CreateCallAnalyticsCategoryCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "Transcribe.CreateCallAnalyticsCategory",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_CreateCallAnalyticsCategoryRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_CreateLanguageModelCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "Transcribe.CreateLanguageModel",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_CreateLanguageModelRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_CreateMedicalVocabularyCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "Transcribe.CreateMedicalVocabulary",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_CreateMedicalVocabularyRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_CreateVocabularyCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "Transcribe.CreateVocabulary",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_CreateVocabularyRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_CreateVocabularyFilterCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "Transcribe.CreateVocabularyFilter",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_CreateVocabularyFilterRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_DeleteCallAnalyticsCategoryCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "Transcribe.DeleteCallAnalyticsCategory",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_DeleteCallAnalyticsCategoryRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_DeleteCallAnalyticsJobCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "Transcribe.DeleteCallAnalyticsJob",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DeleteCallAnalyticsJobRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_DeleteLanguageModelCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "Transcribe.DeleteLanguageModel",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DeleteLanguageModelRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_DeleteMedicalTranscriptionJobCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "Transcribe.DeleteMedicalTranscriptionJob",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_DeleteMedicalTranscriptionJobRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_DeleteMedicalVocabularyCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "Transcribe.DeleteMedicalVocabulary",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_DeleteMedicalVocabularyRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_DeleteTranscriptionJobCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "Transcribe.DeleteTranscriptionJob",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_DeleteTranscriptionJobRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_DeleteVocabularyCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "Transcribe.DeleteVocabulary",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_DeleteVocabularyRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_DeleteVocabularyFilterCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.1",
|
|
116
116
|
"x-amz-target": "Transcribe.DeleteVocabularyFilter",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_DeleteVocabularyFilterRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_DescribeLanguageModelCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.1",
|
|
125
125
|
"x-amz-target": "Transcribe.DescribeLanguageModel",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_DescribeLanguageModelRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_GetCallAnalyticsCategoryCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.1",
|
|
134
134
|
"x-amz-target": "Transcribe.GetCallAnalyticsCategory",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_GetCallAnalyticsCategoryRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_GetCallAnalyticsJobCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "Transcribe.GetCallAnalyticsJob",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_GetCallAnalyticsJobRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_GetMedicalTranscriptionJobCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "Transcribe.GetMedicalTranscriptionJob",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_GetMedicalTranscriptionJobRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_GetMedicalVocabularyCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "Transcribe.GetMedicalVocabulary",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_GetMedicalVocabularyRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_GetTranscriptionJobCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "Transcribe.GetTranscriptionJob",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_GetTranscriptionJobRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_GetVocabularyCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "Transcribe.GetVocabulary",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_GetVocabularyRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_GetVocabularyFilterCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "Transcribe.GetVocabularyFilter",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_GetVocabularyFilterRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_ListCallAnalyticsCategoriesCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "Transcribe.ListCallAnalyticsCategories",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_ListCallAnalyticsCategoriesRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_ListCallAnalyticsJobsCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "Transcribe.ListCallAnalyticsJobs",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_ListCallAnalyticsJobsRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_ListLanguageModelsCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.1",
|
|
215
215
|
"x-amz-target": "Transcribe.ListLanguageModels",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_ListLanguageModelsRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_ListMedicalTranscriptionJobsCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.1",
|
|
224
224
|
"x-amz-target": "Transcribe.ListMedicalTranscriptionJobs",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_ListMedicalTranscriptionJobsRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const se_ListMedicalVocabulariesCommand = async (input, context) => {
|
|
231
231
|
const headers = {
|
|
232
232
|
"content-type": "application/x-amz-json-1.1",
|
|
233
233
|
"x-amz-target": "Transcribe.ListMedicalVocabularies",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(se_ListMedicalVocabulariesRequest(input, context));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
|
-
export const
|
|
239
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "Transcribe.ListTagsForResource",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
export const
|
|
248
|
+
export const se_ListTranscriptionJobsCommand = async (input, context) => {
|
|
249
249
|
const headers = {
|
|
250
250
|
"content-type": "application/x-amz-json-1.1",
|
|
251
251
|
"x-amz-target": "Transcribe.ListTranscriptionJobs",
|
|
252
252
|
};
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(se_ListTranscriptionJobsRequest(input, context));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
|
-
export const
|
|
257
|
+
export const se_ListVocabulariesCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-amz-json-1.1",
|
|
260
260
|
"x-amz-target": "Transcribe.ListVocabularies",
|
|
261
261
|
};
|
|
262
262
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
263
|
+
body = JSON.stringify(se_ListVocabulariesRequest(input, context));
|
|
264
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
265
|
};
|
|
266
|
-
export const
|
|
266
|
+
export const se_ListVocabularyFiltersCommand = async (input, context) => {
|
|
267
267
|
const headers = {
|
|
268
268
|
"content-type": "application/x-amz-json-1.1",
|
|
269
269
|
"x-amz-target": "Transcribe.ListVocabularyFilters",
|
|
270
270
|
};
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(se_ListVocabularyFiltersRequest(input, context));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
|
-
export const
|
|
275
|
+
export const se_StartCallAnalyticsJobCommand = async (input, context) => {
|
|
276
276
|
const headers = {
|
|
277
277
|
"content-type": "application/x-amz-json-1.1",
|
|
278
278
|
"x-amz-target": "Transcribe.StartCallAnalyticsJob",
|
|
279
279
|
};
|
|
280
280
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
281
|
+
body = JSON.stringify(se_StartCallAnalyticsJobRequest(input, context));
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
284
|
-
export const
|
|
284
|
+
export const se_StartMedicalTranscriptionJobCommand = async (input, context) => {
|
|
285
285
|
const headers = {
|
|
286
286
|
"content-type": "application/x-amz-json-1.1",
|
|
287
287
|
"x-amz-target": "Transcribe.StartMedicalTranscriptionJob",
|
|
288
288
|
};
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(se_StartMedicalTranscriptionJobRequest(input, context));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
|
-
export const
|
|
293
|
+
export const se_StartTranscriptionJobCommand = async (input, context) => {
|
|
294
294
|
const headers = {
|
|
295
295
|
"content-type": "application/x-amz-json-1.1",
|
|
296
296
|
"x-amz-target": "Transcribe.StartTranscriptionJob",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify(se_StartTranscriptionJobRequest(input, context));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
|
-
export const
|
|
302
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
303
303
|
const headers = {
|
|
304
304
|
"content-type": "application/x-amz-json-1.1",
|
|
305
305
|
"x-amz-target": "Transcribe.TagResource",
|
|
306
306
|
};
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
|
-
export const
|
|
311
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/x-amz-json-1.1",
|
|
314
314
|
"x-amz-target": "Transcribe.UntagResource",
|
|
315
315
|
};
|
|
316
316
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
317
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
318
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
319
|
};
|
|
320
|
-
export const
|
|
320
|
+
export const se_UpdateCallAnalyticsCategoryCommand = async (input, context) => {
|
|
321
321
|
const headers = {
|
|
322
322
|
"content-type": "application/x-amz-json-1.1",
|
|
323
323
|
"x-amz-target": "Transcribe.UpdateCallAnalyticsCategory",
|
|
324
324
|
};
|
|
325
325
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(se_UpdateCallAnalyticsCategoryRequest(input, context));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
|
-
export const
|
|
329
|
+
export const se_UpdateMedicalVocabularyCommand = async (input, context) => {
|
|
330
330
|
const headers = {
|
|
331
331
|
"content-type": "application/x-amz-json-1.1",
|
|
332
332
|
"x-amz-target": "Transcribe.UpdateMedicalVocabulary",
|
|
333
333
|
};
|
|
334
334
|
let body;
|
|
335
|
-
body = JSON.stringify(
|
|
335
|
+
body = JSON.stringify(se_UpdateMedicalVocabularyRequest(input, context));
|
|
336
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
337
|
};
|
|
338
|
-
export const
|
|
338
|
+
export const se_UpdateVocabularyCommand = async (input, context) => {
|
|
339
339
|
const headers = {
|
|
340
340
|
"content-type": "application/x-amz-json-1.1",
|
|
341
341
|
"x-amz-target": "Transcribe.UpdateVocabulary",
|
|
342
342
|
};
|
|
343
343
|
let body;
|
|
344
|
-
body = JSON.stringify(
|
|
344
|
+
body = JSON.stringify(se_UpdateVocabularyRequest(input, context));
|
|
345
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
346
|
};
|
|
347
|
-
export const
|
|
347
|
+
export const se_UpdateVocabularyFilterCommand = async (input, context) => {
|
|
348
348
|
const headers = {
|
|
349
349
|
"content-type": "application/x-amz-json-1.1",
|
|
350
350
|
"x-amz-target": "Transcribe.UpdateVocabularyFilter",
|
|
351
351
|
};
|
|
352
352
|
let body;
|
|
353
|
-
body = JSON.stringify(
|
|
353
|
+
body = JSON.stringify(se_UpdateVocabularyFilterRequest(input, context));
|
|
354
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
355
|
};
|
|
356
|
-
export const
|
|
356
|
+
export const de_CreateCallAnalyticsCategoryCommand = async (output, context) => {
|
|
357
357
|
if (output.statusCode >= 300) {
|
|
358
|
-
return
|
|
358
|
+
return de_CreateCallAnalyticsCategoryCommandError(output, context);
|
|
359
359
|
}
|
|
360
360
|
const data = await parseBody(output.body, context);
|
|
361
361
|
let contents = {};
|
|
362
|
-
contents =
|
|
362
|
+
contents = de_CreateCallAnalyticsCategoryResponse(data, context);
|
|
363
363
|
const response = {
|
|
364
364
|
$metadata: deserializeMetadata(output),
|
|
365
365
|
...contents,
|
|
366
366
|
};
|
|
367
367
|
return Promise.resolve(response);
|
|
368
368
|
};
|
|
369
|
-
const
|
|
369
|
+
const de_CreateCallAnalyticsCategoryCommandError = async (output, context) => {
|
|
370
370
|
const parsedOutput = {
|
|
371
371
|
...output,
|
|
372
372
|
body: await parseErrorBody(output.body, context),
|
|
@@ -375,16 +375,16 @@ const deserializeAws_json1_1CreateCallAnalyticsCategoryCommandError = async (out
|
|
|
375
375
|
switch (errorCode) {
|
|
376
376
|
case "BadRequestException":
|
|
377
377
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
378
|
-
throw await
|
|
378
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
379
379
|
case "ConflictException":
|
|
380
380
|
case "com.amazonaws.transcribe#ConflictException":
|
|
381
|
-
throw await
|
|
381
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
382
382
|
case "InternalFailureException":
|
|
383
383
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
384
|
-
throw await
|
|
384
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
385
385
|
case "LimitExceededException":
|
|
386
386
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
387
|
-
throw await
|
|
387
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
388
388
|
default:
|
|
389
389
|
const parsedBody = parsedOutput.body;
|
|
390
390
|
throwDefaultError({
|
|
@@ -395,20 +395,20 @@ const deserializeAws_json1_1CreateCallAnalyticsCategoryCommandError = async (out
|
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
397
|
};
|
|
398
|
-
export const
|
|
398
|
+
export const de_CreateLanguageModelCommand = async (output, context) => {
|
|
399
399
|
if (output.statusCode >= 300) {
|
|
400
|
-
return
|
|
400
|
+
return de_CreateLanguageModelCommandError(output, context);
|
|
401
401
|
}
|
|
402
402
|
const data = await parseBody(output.body, context);
|
|
403
403
|
let contents = {};
|
|
404
|
-
contents =
|
|
404
|
+
contents = de_CreateLanguageModelResponse(data, context);
|
|
405
405
|
const response = {
|
|
406
406
|
$metadata: deserializeMetadata(output),
|
|
407
407
|
...contents,
|
|
408
408
|
};
|
|
409
409
|
return Promise.resolve(response);
|
|
410
410
|
};
|
|
411
|
-
const
|
|
411
|
+
const de_CreateLanguageModelCommandError = async (output, context) => {
|
|
412
412
|
const parsedOutput = {
|
|
413
413
|
...output,
|
|
414
414
|
body: await parseErrorBody(output.body, context),
|
|
@@ -417,16 +417,16 @@ const deserializeAws_json1_1CreateLanguageModelCommandError = async (output, con
|
|
|
417
417
|
switch (errorCode) {
|
|
418
418
|
case "BadRequestException":
|
|
419
419
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
420
|
-
throw await
|
|
420
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
421
421
|
case "ConflictException":
|
|
422
422
|
case "com.amazonaws.transcribe#ConflictException":
|
|
423
|
-
throw await
|
|
423
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
424
424
|
case "InternalFailureException":
|
|
425
425
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
426
|
-
throw await
|
|
426
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
427
427
|
case "LimitExceededException":
|
|
428
428
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
429
|
-
throw await
|
|
429
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
430
430
|
default:
|
|
431
431
|
const parsedBody = parsedOutput.body;
|
|
432
432
|
throwDefaultError({
|
|
@@ -437,20 +437,20 @@ const deserializeAws_json1_1CreateLanguageModelCommandError = async (output, con
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
};
|
|
440
|
-
export const
|
|
440
|
+
export const de_CreateMedicalVocabularyCommand = async (output, context) => {
|
|
441
441
|
if (output.statusCode >= 300) {
|
|
442
|
-
return
|
|
442
|
+
return de_CreateMedicalVocabularyCommandError(output, context);
|
|
443
443
|
}
|
|
444
444
|
const data = await parseBody(output.body, context);
|
|
445
445
|
let contents = {};
|
|
446
|
-
contents =
|
|
446
|
+
contents = de_CreateMedicalVocabularyResponse(data, context);
|
|
447
447
|
const response = {
|
|
448
448
|
$metadata: deserializeMetadata(output),
|
|
449
449
|
...contents,
|
|
450
450
|
};
|
|
451
451
|
return Promise.resolve(response);
|
|
452
452
|
};
|
|
453
|
-
const
|
|
453
|
+
const de_CreateMedicalVocabularyCommandError = async (output, context) => {
|
|
454
454
|
const parsedOutput = {
|
|
455
455
|
...output,
|
|
456
456
|
body: await parseErrorBody(output.body, context),
|
|
@@ -459,16 +459,16 @@ const deserializeAws_json1_1CreateMedicalVocabularyCommandError = async (output,
|
|
|
459
459
|
switch (errorCode) {
|
|
460
460
|
case "BadRequestException":
|
|
461
461
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
462
|
-
throw await
|
|
462
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
463
463
|
case "ConflictException":
|
|
464
464
|
case "com.amazonaws.transcribe#ConflictException":
|
|
465
|
-
throw await
|
|
465
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
466
466
|
case "InternalFailureException":
|
|
467
467
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
468
|
-
throw await
|
|
468
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
469
469
|
case "LimitExceededException":
|
|
470
470
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
471
|
-
throw await
|
|
471
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
472
472
|
default:
|
|
473
473
|
const parsedBody = parsedOutput.body;
|
|
474
474
|
throwDefaultError({
|
|
@@ -479,20 +479,20 @@ const deserializeAws_json1_1CreateMedicalVocabularyCommandError = async (output,
|
|
|
479
479
|
});
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
|
-
export const
|
|
482
|
+
export const de_CreateVocabularyCommand = async (output, context) => {
|
|
483
483
|
if (output.statusCode >= 300) {
|
|
484
|
-
return
|
|
484
|
+
return de_CreateVocabularyCommandError(output, context);
|
|
485
485
|
}
|
|
486
486
|
const data = await parseBody(output.body, context);
|
|
487
487
|
let contents = {};
|
|
488
|
-
contents =
|
|
488
|
+
contents = de_CreateVocabularyResponse(data, context);
|
|
489
489
|
const response = {
|
|
490
490
|
$metadata: deserializeMetadata(output),
|
|
491
491
|
...contents,
|
|
492
492
|
};
|
|
493
493
|
return Promise.resolve(response);
|
|
494
494
|
};
|
|
495
|
-
const
|
|
495
|
+
const de_CreateVocabularyCommandError = async (output, context) => {
|
|
496
496
|
const parsedOutput = {
|
|
497
497
|
...output,
|
|
498
498
|
body: await parseErrorBody(output.body, context),
|
|
@@ -501,16 +501,16 @@ const deserializeAws_json1_1CreateVocabularyCommandError = async (output, contex
|
|
|
501
501
|
switch (errorCode) {
|
|
502
502
|
case "BadRequestException":
|
|
503
503
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
504
|
-
throw await
|
|
504
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
505
505
|
case "ConflictException":
|
|
506
506
|
case "com.amazonaws.transcribe#ConflictException":
|
|
507
|
-
throw await
|
|
507
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
508
508
|
case "InternalFailureException":
|
|
509
509
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
510
|
-
throw await
|
|
510
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
511
511
|
case "LimitExceededException":
|
|
512
512
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
513
|
-
throw await
|
|
513
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
514
514
|
default:
|
|
515
515
|
const parsedBody = parsedOutput.body;
|
|
516
516
|
throwDefaultError({
|
|
@@ -521,20 +521,20 @@ const deserializeAws_json1_1CreateVocabularyCommandError = async (output, contex
|
|
|
521
521
|
});
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
|
-
export const
|
|
524
|
+
export const de_CreateVocabularyFilterCommand = async (output, context) => {
|
|
525
525
|
if (output.statusCode >= 300) {
|
|
526
|
-
return
|
|
526
|
+
return de_CreateVocabularyFilterCommandError(output, context);
|
|
527
527
|
}
|
|
528
528
|
const data = await parseBody(output.body, context);
|
|
529
529
|
let contents = {};
|
|
530
|
-
contents =
|
|
530
|
+
contents = de_CreateVocabularyFilterResponse(data, context);
|
|
531
531
|
const response = {
|
|
532
532
|
$metadata: deserializeMetadata(output),
|
|
533
533
|
...contents,
|
|
534
534
|
};
|
|
535
535
|
return Promise.resolve(response);
|
|
536
536
|
};
|
|
537
|
-
const
|
|
537
|
+
const de_CreateVocabularyFilterCommandError = async (output, context) => {
|
|
538
538
|
const parsedOutput = {
|
|
539
539
|
...output,
|
|
540
540
|
body: await parseErrorBody(output.body, context),
|
|
@@ -543,16 +543,16 @@ const deserializeAws_json1_1CreateVocabularyFilterCommandError = async (output,
|
|
|
543
543
|
switch (errorCode) {
|
|
544
544
|
case "BadRequestException":
|
|
545
545
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
546
|
-
throw await
|
|
546
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
547
547
|
case "ConflictException":
|
|
548
548
|
case "com.amazonaws.transcribe#ConflictException":
|
|
549
|
-
throw await
|
|
549
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
550
550
|
case "InternalFailureException":
|
|
551
551
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
552
|
-
throw await
|
|
552
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
553
553
|
case "LimitExceededException":
|
|
554
554
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
555
|
-
throw await
|
|
555
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
556
556
|
default:
|
|
557
557
|
const parsedBody = parsedOutput.body;
|
|
558
558
|
throwDefaultError({
|
|
@@ -563,20 +563,20 @@ const deserializeAws_json1_1CreateVocabularyFilterCommandError = async (output,
|
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
|
-
export const
|
|
566
|
+
export const de_DeleteCallAnalyticsCategoryCommand = async (output, context) => {
|
|
567
567
|
if (output.statusCode >= 300) {
|
|
568
|
-
return
|
|
568
|
+
return de_DeleteCallAnalyticsCategoryCommandError(output, context);
|
|
569
569
|
}
|
|
570
570
|
const data = await parseBody(output.body, context);
|
|
571
571
|
let contents = {};
|
|
572
|
-
contents =
|
|
572
|
+
contents = de_DeleteCallAnalyticsCategoryResponse(data, context);
|
|
573
573
|
const response = {
|
|
574
574
|
$metadata: deserializeMetadata(output),
|
|
575
575
|
...contents,
|
|
576
576
|
};
|
|
577
577
|
return Promise.resolve(response);
|
|
578
578
|
};
|
|
579
|
-
const
|
|
579
|
+
const de_DeleteCallAnalyticsCategoryCommandError = async (output, context) => {
|
|
580
580
|
const parsedOutput = {
|
|
581
581
|
...output,
|
|
582
582
|
body: await parseErrorBody(output.body, context),
|
|
@@ -585,16 +585,16 @@ const deserializeAws_json1_1DeleteCallAnalyticsCategoryCommandError = async (out
|
|
|
585
585
|
switch (errorCode) {
|
|
586
586
|
case "BadRequestException":
|
|
587
587
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
588
|
-
throw await
|
|
588
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
589
589
|
case "InternalFailureException":
|
|
590
590
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
591
|
-
throw await
|
|
591
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
592
592
|
case "LimitExceededException":
|
|
593
593
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
594
|
-
throw await
|
|
594
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
595
595
|
case "NotFoundException":
|
|
596
596
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
597
|
-
throw await
|
|
597
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
598
598
|
default:
|
|
599
599
|
const parsedBody = parsedOutput.body;
|
|
600
600
|
throwDefaultError({
|
|
@@ -605,20 +605,20 @@ const deserializeAws_json1_1DeleteCallAnalyticsCategoryCommandError = async (out
|
|
|
605
605
|
});
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
|
-
export const
|
|
608
|
+
export const de_DeleteCallAnalyticsJobCommand = async (output, context) => {
|
|
609
609
|
if (output.statusCode >= 300) {
|
|
610
|
-
return
|
|
610
|
+
return de_DeleteCallAnalyticsJobCommandError(output, context);
|
|
611
611
|
}
|
|
612
612
|
const data = await parseBody(output.body, context);
|
|
613
613
|
let contents = {};
|
|
614
|
-
contents =
|
|
614
|
+
contents = de_DeleteCallAnalyticsJobResponse(data, context);
|
|
615
615
|
const response = {
|
|
616
616
|
$metadata: deserializeMetadata(output),
|
|
617
617
|
...contents,
|
|
618
618
|
};
|
|
619
619
|
return Promise.resolve(response);
|
|
620
620
|
};
|
|
621
|
-
const
|
|
621
|
+
const de_DeleteCallAnalyticsJobCommandError = async (output, context) => {
|
|
622
622
|
const parsedOutput = {
|
|
623
623
|
...output,
|
|
624
624
|
body: await parseErrorBody(output.body, context),
|
|
@@ -627,13 +627,13 @@ const deserializeAws_json1_1DeleteCallAnalyticsJobCommandError = async (output,
|
|
|
627
627
|
switch (errorCode) {
|
|
628
628
|
case "BadRequestException":
|
|
629
629
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
630
|
-
throw await
|
|
630
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
631
631
|
case "InternalFailureException":
|
|
632
632
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
633
|
-
throw await
|
|
633
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
634
634
|
case "LimitExceededException":
|
|
635
635
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
636
|
-
throw await
|
|
636
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
637
637
|
default:
|
|
638
638
|
const parsedBody = parsedOutput.body;
|
|
639
639
|
throwDefaultError({
|
|
@@ -644,9 +644,9 @@ const deserializeAws_json1_1DeleteCallAnalyticsJobCommandError = async (output,
|
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
646
|
};
|
|
647
|
-
export const
|
|
647
|
+
export const de_DeleteLanguageModelCommand = async (output, context) => {
|
|
648
648
|
if (output.statusCode >= 300) {
|
|
649
|
-
return
|
|
649
|
+
return de_DeleteLanguageModelCommandError(output, context);
|
|
650
650
|
}
|
|
651
651
|
await collectBody(output.body, context);
|
|
652
652
|
const response = {
|
|
@@ -654,7 +654,7 @@ export const deserializeAws_json1_1DeleteLanguageModelCommand = async (output, c
|
|
|
654
654
|
};
|
|
655
655
|
return Promise.resolve(response);
|
|
656
656
|
};
|
|
657
|
-
const
|
|
657
|
+
const de_DeleteLanguageModelCommandError = async (output, context) => {
|
|
658
658
|
const parsedOutput = {
|
|
659
659
|
...output,
|
|
660
660
|
body: await parseErrorBody(output.body, context),
|
|
@@ -663,13 +663,13 @@ const deserializeAws_json1_1DeleteLanguageModelCommandError = async (output, con
|
|
|
663
663
|
switch (errorCode) {
|
|
664
664
|
case "BadRequestException":
|
|
665
665
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
666
|
-
throw await
|
|
666
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
667
667
|
case "InternalFailureException":
|
|
668
668
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
669
|
-
throw await
|
|
669
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
670
670
|
case "LimitExceededException":
|
|
671
671
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
672
|
-
throw await
|
|
672
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
673
673
|
default:
|
|
674
674
|
const parsedBody = parsedOutput.body;
|
|
675
675
|
throwDefaultError({
|
|
@@ -680,9 +680,9 @@ const deserializeAws_json1_1DeleteLanguageModelCommandError = async (output, con
|
|
|
680
680
|
});
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
|
-
export const
|
|
683
|
+
export const de_DeleteMedicalTranscriptionJobCommand = async (output, context) => {
|
|
684
684
|
if (output.statusCode >= 300) {
|
|
685
|
-
return
|
|
685
|
+
return de_DeleteMedicalTranscriptionJobCommandError(output, context);
|
|
686
686
|
}
|
|
687
687
|
await collectBody(output.body, context);
|
|
688
688
|
const response = {
|
|
@@ -690,7 +690,7 @@ export const deserializeAws_json1_1DeleteMedicalTranscriptionJobCommand = async
|
|
|
690
690
|
};
|
|
691
691
|
return Promise.resolve(response);
|
|
692
692
|
};
|
|
693
|
-
const
|
|
693
|
+
const de_DeleteMedicalTranscriptionJobCommandError = async (output, context) => {
|
|
694
694
|
const parsedOutput = {
|
|
695
695
|
...output,
|
|
696
696
|
body: await parseErrorBody(output.body, context),
|
|
@@ -699,13 +699,13 @@ const deserializeAws_json1_1DeleteMedicalTranscriptionJobCommandError = async (o
|
|
|
699
699
|
switch (errorCode) {
|
|
700
700
|
case "BadRequestException":
|
|
701
701
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
702
|
-
throw await
|
|
702
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
703
703
|
case "InternalFailureException":
|
|
704
704
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
705
|
-
throw await
|
|
705
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
706
706
|
case "LimitExceededException":
|
|
707
707
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
708
|
-
throw await
|
|
708
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
709
709
|
default:
|
|
710
710
|
const parsedBody = parsedOutput.body;
|
|
711
711
|
throwDefaultError({
|
|
@@ -716,9 +716,9 @@ const deserializeAws_json1_1DeleteMedicalTranscriptionJobCommandError = async (o
|
|
|
716
716
|
});
|
|
717
717
|
}
|
|
718
718
|
};
|
|
719
|
-
export const
|
|
719
|
+
export const de_DeleteMedicalVocabularyCommand = async (output, context) => {
|
|
720
720
|
if (output.statusCode >= 300) {
|
|
721
|
-
return
|
|
721
|
+
return de_DeleteMedicalVocabularyCommandError(output, context);
|
|
722
722
|
}
|
|
723
723
|
await collectBody(output.body, context);
|
|
724
724
|
const response = {
|
|
@@ -726,7 +726,7 @@ export const deserializeAws_json1_1DeleteMedicalVocabularyCommand = async (outpu
|
|
|
726
726
|
};
|
|
727
727
|
return Promise.resolve(response);
|
|
728
728
|
};
|
|
729
|
-
const
|
|
729
|
+
const de_DeleteMedicalVocabularyCommandError = async (output, context) => {
|
|
730
730
|
const parsedOutput = {
|
|
731
731
|
...output,
|
|
732
732
|
body: await parseErrorBody(output.body, context),
|
|
@@ -735,16 +735,16 @@ const deserializeAws_json1_1DeleteMedicalVocabularyCommandError = async (output,
|
|
|
735
735
|
switch (errorCode) {
|
|
736
736
|
case "BadRequestException":
|
|
737
737
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
738
|
-
throw await
|
|
738
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
739
739
|
case "InternalFailureException":
|
|
740
740
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
741
|
-
throw await
|
|
741
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
742
742
|
case "LimitExceededException":
|
|
743
743
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
744
|
-
throw await
|
|
744
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
745
745
|
case "NotFoundException":
|
|
746
746
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
747
|
-
throw await
|
|
747
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
748
748
|
default:
|
|
749
749
|
const parsedBody = parsedOutput.body;
|
|
750
750
|
throwDefaultError({
|
|
@@ -755,9 +755,9 @@ const deserializeAws_json1_1DeleteMedicalVocabularyCommandError = async (output,
|
|
|
755
755
|
});
|
|
756
756
|
}
|
|
757
757
|
};
|
|
758
|
-
export const
|
|
758
|
+
export const de_DeleteTranscriptionJobCommand = async (output, context) => {
|
|
759
759
|
if (output.statusCode >= 300) {
|
|
760
|
-
return
|
|
760
|
+
return de_DeleteTranscriptionJobCommandError(output, context);
|
|
761
761
|
}
|
|
762
762
|
await collectBody(output.body, context);
|
|
763
763
|
const response = {
|
|
@@ -765,7 +765,7 @@ export const deserializeAws_json1_1DeleteTranscriptionJobCommand = async (output
|
|
|
765
765
|
};
|
|
766
766
|
return Promise.resolve(response);
|
|
767
767
|
};
|
|
768
|
-
const
|
|
768
|
+
const de_DeleteTranscriptionJobCommandError = async (output, context) => {
|
|
769
769
|
const parsedOutput = {
|
|
770
770
|
...output,
|
|
771
771
|
body: await parseErrorBody(output.body, context),
|
|
@@ -774,13 +774,13 @@ const deserializeAws_json1_1DeleteTranscriptionJobCommandError = async (output,
|
|
|
774
774
|
switch (errorCode) {
|
|
775
775
|
case "BadRequestException":
|
|
776
776
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
777
|
-
throw await
|
|
777
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
778
778
|
case "InternalFailureException":
|
|
779
779
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
780
|
-
throw await
|
|
780
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
781
781
|
case "LimitExceededException":
|
|
782
782
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
783
|
-
throw await
|
|
783
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
784
784
|
default:
|
|
785
785
|
const parsedBody = parsedOutput.body;
|
|
786
786
|
throwDefaultError({
|
|
@@ -791,9 +791,9 @@ const deserializeAws_json1_1DeleteTranscriptionJobCommandError = async (output,
|
|
|
791
791
|
});
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
|
-
export const
|
|
794
|
+
export const de_DeleteVocabularyCommand = async (output, context) => {
|
|
795
795
|
if (output.statusCode >= 300) {
|
|
796
|
-
return
|
|
796
|
+
return de_DeleteVocabularyCommandError(output, context);
|
|
797
797
|
}
|
|
798
798
|
await collectBody(output.body, context);
|
|
799
799
|
const response = {
|
|
@@ -801,7 +801,7 @@ export const deserializeAws_json1_1DeleteVocabularyCommand = async (output, cont
|
|
|
801
801
|
};
|
|
802
802
|
return Promise.resolve(response);
|
|
803
803
|
};
|
|
804
|
-
const
|
|
804
|
+
const de_DeleteVocabularyCommandError = async (output, context) => {
|
|
805
805
|
const parsedOutput = {
|
|
806
806
|
...output,
|
|
807
807
|
body: await parseErrorBody(output.body, context),
|
|
@@ -810,16 +810,16 @@ const deserializeAws_json1_1DeleteVocabularyCommandError = async (output, contex
|
|
|
810
810
|
switch (errorCode) {
|
|
811
811
|
case "BadRequestException":
|
|
812
812
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
813
|
-
throw await
|
|
813
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
814
814
|
case "InternalFailureException":
|
|
815
815
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
816
|
-
throw await
|
|
816
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
817
817
|
case "LimitExceededException":
|
|
818
818
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
820
820
|
case "NotFoundException":
|
|
821
821
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
822
|
-
throw await
|
|
822
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
823
823
|
default:
|
|
824
824
|
const parsedBody = parsedOutput.body;
|
|
825
825
|
throwDefaultError({
|
|
@@ -830,9 +830,9 @@ const deserializeAws_json1_1DeleteVocabularyCommandError = async (output, contex
|
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
|
-
export const
|
|
833
|
+
export const de_DeleteVocabularyFilterCommand = async (output, context) => {
|
|
834
834
|
if (output.statusCode >= 300) {
|
|
835
|
-
return
|
|
835
|
+
return de_DeleteVocabularyFilterCommandError(output, context);
|
|
836
836
|
}
|
|
837
837
|
await collectBody(output.body, context);
|
|
838
838
|
const response = {
|
|
@@ -840,7 +840,7 @@ export const deserializeAws_json1_1DeleteVocabularyFilterCommand = async (output
|
|
|
840
840
|
};
|
|
841
841
|
return Promise.resolve(response);
|
|
842
842
|
};
|
|
843
|
-
const
|
|
843
|
+
const de_DeleteVocabularyFilterCommandError = async (output, context) => {
|
|
844
844
|
const parsedOutput = {
|
|
845
845
|
...output,
|
|
846
846
|
body: await parseErrorBody(output.body, context),
|
|
@@ -849,16 +849,16 @@ const deserializeAws_json1_1DeleteVocabularyFilterCommandError = async (output,
|
|
|
849
849
|
switch (errorCode) {
|
|
850
850
|
case "BadRequestException":
|
|
851
851
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
852
|
-
throw await
|
|
852
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
853
853
|
case "InternalFailureException":
|
|
854
854
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
855
|
-
throw await
|
|
855
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
856
856
|
case "LimitExceededException":
|
|
857
857
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
859
859
|
case "NotFoundException":
|
|
860
860
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
862
862
|
default:
|
|
863
863
|
const parsedBody = parsedOutput.body;
|
|
864
864
|
throwDefaultError({
|
|
@@ -869,20 +869,20 @@ const deserializeAws_json1_1DeleteVocabularyFilterCommandError = async (output,
|
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
871
|
};
|
|
872
|
-
export const
|
|
872
|
+
export const de_DescribeLanguageModelCommand = async (output, context) => {
|
|
873
873
|
if (output.statusCode >= 300) {
|
|
874
|
-
return
|
|
874
|
+
return de_DescribeLanguageModelCommandError(output, context);
|
|
875
875
|
}
|
|
876
876
|
const data = await parseBody(output.body, context);
|
|
877
877
|
let contents = {};
|
|
878
|
-
contents =
|
|
878
|
+
contents = de_DescribeLanguageModelResponse(data, context);
|
|
879
879
|
const response = {
|
|
880
880
|
$metadata: deserializeMetadata(output),
|
|
881
881
|
...contents,
|
|
882
882
|
};
|
|
883
883
|
return Promise.resolve(response);
|
|
884
884
|
};
|
|
885
|
-
const
|
|
885
|
+
const de_DescribeLanguageModelCommandError = async (output, context) => {
|
|
886
886
|
const parsedOutput = {
|
|
887
887
|
...output,
|
|
888
888
|
body: await parseErrorBody(output.body, context),
|
|
@@ -891,16 +891,16 @@ const deserializeAws_json1_1DescribeLanguageModelCommandError = async (output, c
|
|
|
891
891
|
switch (errorCode) {
|
|
892
892
|
case "BadRequestException":
|
|
893
893
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
894
|
-
throw await
|
|
894
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
895
895
|
case "InternalFailureException":
|
|
896
896
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
897
|
-
throw await
|
|
897
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
898
898
|
case "LimitExceededException":
|
|
899
899
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
901
901
|
case "NotFoundException":
|
|
902
902
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
904
904
|
default:
|
|
905
905
|
const parsedBody = parsedOutput.body;
|
|
906
906
|
throwDefaultError({
|
|
@@ -911,20 +911,20 @@ const deserializeAws_json1_1DescribeLanguageModelCommandError = async (output, c
|
|
|
911
911
|
});
|
|
912
912
|
}
|
|
913
913
|
};
|
|
914
|
-
export const
|
|
914
|
+
export const de_GetCallAnalyticsCategoryCommand = async (output, context) => {
|
|
915
915
|
if (output.statusCode >= 300) {
|
|
916
|
-
return
|
|
916
|
+
return de_GetCallAnalyticsCategoryCommandError(output, context);
|
|
917
917
|
}
|
|
918
918
|
const data = await parseBody(output.body, context);
|
|
919
919
|
let contents = {};
|
|
920
|
-
contents =
|
|
920
|
+
contents = de_GetCallAnalyticsCategoryResponse(data, context);
|
|
921
921
|
const response = {
|
|
922
922
|
$metadata: deserializeMetadata(output),
|
|
923
923
|
...contents,
|
|
924
924
|
};
|
|
925
925
|
return Promise.resolve(response);
|
|
926
926
|
};
|
|
927
|
-
const
|
|
927
|
+
const de_GetCallAnalyticsCategoryCommandError = async (output, context) => {
|
|
928
928
|
const parsedOutput = {
|
|
929
929
|
...output,
|
|
930
930
|
body: await parseErrorBody(output.body, context),
|
|
@@ -933,16 +933,16 @@ const deserializeAws_json1_1GetCallAnalyticsCategoryCommandError = async (output
|
|
|
933
933
|
switch (errorCode) {
|
|
934
934
|
case "BadRequestException":
|
|
935
935
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
936
|
-
throw await
|
|
936
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
937
937
|
case "InternalFailureException":
|
|
938
938
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
939
|
-
throw await
|
|
939
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
940
940
|
case "LimitExceededException":
|
|
941
941
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
942
|
-
throw await
|
|
942
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
943
943
|
case "NotFoundException":
|
|
944
944
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
945
|
-
throw await
|
|
945
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
946
946
|
default:
|
|
947
947
|
const parsedBody = parsedOutput.body;
|
|
948
948
|
throwDefaultError({
|
|
@@ -953,20 +953,20 @@ const deserializeAws_json1_1GetCallAnalyticsCategoryCommandError = async (output
|
|
|
953
953
|
});
|
|
954
954
|
}
|
|
955
955
|
};
|
|
956
|
-
export const
|
|
956
|
+
export const de_GetCallAnalyticsJobCommand = async (output, context) => {
|
|
957
957
|
if (output.statusCode >= 300) {
|
|
958
|
-
return
|
|
958
|
+
return de_GetCallAnalyticsJobCommandError(output, context);
|
|
959
959
|
}
|
|
960
960
|
const data = await parseBody(output.body, context);
|
|
961
961
|
let contents = {};
|
|
962
|
-
contents =
|
|
962
|
+
contents = de_GetCallAnalyticsJobResponse(data, context);
|
|
963
963
|
const response = {
|
|
964
964
|
$metadata: deserializeMetadata(output),
|
|
965
965
|
...contents,
|
|
966
966
|
};
|
|
967
967
|
return Promise.resolve(response);
|
|
968
968
|
};
|
|
969
|
-
const
|
|
969
|
+
const de_GetCallAnalyticsJobCommandError = async (output, context) => {
|
|
970
970
|
const parsedOutput = {
|
|
971
971
|
...output,
|
|
972
972
|
body: await parseErrorBody(output.body, context),
|
|
@@ -975,16 +975,16 @@ const deserializeAws_json1_1GetCallAnalyticsJobCommandError = async (output, con
|
|
|
975
975
|
switch (errorCode) {
|
|
976
976
|
case "BadRequestException":
|
|
977
977
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
978
|
-
throw await
|
|
978
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
979
979
|
case "InternalFailureException":
|
|
980
980
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
981
|
-
throw await
|
|
981
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
982
982
|
case "LimitExceededException":
|
|
983
983
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
984
|
-
throw await
|
|
984
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
985
985
|
case "NotFoundException":
|
|
986
986
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
987
|
-
throw await
|
|
987
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
988
988
|
default:
|
|
989
989
|
const parsedBody = parsedOutput.body;
|
|
990
990
|
throwDefaultError({
|
|
@@ -995,20 +995,20 @@ const deserializeAws_json1_1GetCallAnalyticsJobCommandError = async (output, con
|
|
|
995
995
|
});
|
|
996
996
|
}
|
|
997
997
|
};
|
|
998
|
-
export const
|
|
998
|
+
export const de_GetMedicalTranscriptionJobCommand = async (output, context) => {
|
|
999
999
|
if (output.statusCode >= 300) {
|
|
1000
|
-
return
|
|
1000
|
+
return de_GetMedicalTranscriptionJobCommandError(output, context);
|
|
1001
1001
|
}
|
|
1002
1002
|
const data = await parseBody(output.body, context);
|
|
1003
1003
|
let contents = {};
|
|
1004
|
-
contents =
|
|
1004
|
+
contents = de_GetMedicalTranscriptionJobResponse(data, context);
|
|
1005
1005
|
const response = {
|
|
1006
1006
|
$metadata: deserializeMetadata(output),
|
|
1007
1007
|
...contents,
|
|
1008
1008
|
};
|
|
1009
1009
|
return Promise.resolve(response);
|
|
1010
1010
|
};
|
|
1011
|
-
const
|
|
1011
|
+
const de_GetMedicalTranscriptionJobCommandError = async (output, context) => {
|
|
1012
1012
|
const parsedOutput = {
|
|
1013
1013
|
...output,
|
|
1014
1014
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1017,16 +1017,16 @@ const deserializeAws_json1_1GetMedicalTranscriptionJobCommandError = async (outp
|
|
|
1017
1017
|
switch (errorCode) {
|
|
1018
1018
|
case "BadRequestException":
|
|
1019
1019
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1020
|
-
throw await
|
|
1020
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1021
1021
|
case "InternalFailureException":
|
|
1022
1022
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1023
|
-
throw await
|
|
1023
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1024
1024
|
case "LimitExceededException":
|
|
1025
1025
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1026
|
-
throw await
|
|
1026
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1027
1027
|
case "NotFoundException":
|
|
1028
1028
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1029
|
-
throw await
|
|
1029
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1030
1030
|
default:
|
|
1031
1031
|
const parsedBody = parsedOutput.body;
|
|
1032
1032
|
throwDefaultError({
|
|
@@ -1037,20 +1037,20 @@ const deserializeAws_json1_1GetMedicalTranscriptionJobCommandError = async (outp
|
|
|
1037
1037
|
});
|
|
1038
1038
|
}
|
|
1039
1039
|
};
|
|
1040
|
-
export const
|
|
1040
|
+
export const de_GetMedicalVocabularyCommand = async (output, context) => {
|
|
1041
1041
|
if (output.statusCode >= 300) {
|
|
1042
|
-
return
|
|
1042
|
+
return de_GetMedicalVocabularyCommandError(output, context);
|
|
1043
1043
|
}
|
|
1044
1044
|
const data = await parseBody(output.body, context);
|
|
1045
1045
|
let contents = {};
|
|
1046
|
-
contents =
|
|
1046
|
+
contents = de_GetMedicalVocabularyResponse(data, context);
|
|
1047
1047
|
const response = {
|
|
1048
1048
|
$metadata: deserializeMetadata(output),
|
|
1049
1049
|
...contents,
|
|
1050
1050
|
};
|
|
1051
1051
|
return Promise.resolve(response);
|
|
1052
1052
|
};
|
|
1053
|
-
const
|
|
1053
|
+
const de_GetMedicalVocabularyCommandError = async (output, context) => {
|
|
1054
1054
|
const parsedOutput = {
|
|
1055
1055
|
...output,
|
|
1056
1056
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1059,16 +1059,16 @@ const deserializeAws_json1_1GetMedicalVocabularyCommandError = async (output, co
|
|
|
1059
1059
|
switch (errorCode) {
|
|
1060
1060
|
case "BadRequestException":
|
|
1061
1061
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1062
|
-
throw await
|
|
1062
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1063
1063
|
case "InternalFailureException":
|
|
1064
1064
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1065
|
-
throw await
|
|
1065
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1066
1066
|
case "LimitExceededException":
|
|
1067
1067
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1068
|
-
throw await
|
|
1068
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1069
1069
|
case "NotFoundException":
|
|
1070
1070
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1071
|
-
throw await
|
|
1071
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1072
1072
|
default:
|
|
1073
1073
|
const parsedBody = parsedOutput.body;
|
|
1074
1074
|
throwDefaultError({
|
|
@@ -1079,20 +1079,20 @@ const deserializeAws_json1_1GetMedicalVocabularyCommandError = async (output, co
|
|
|
1079
1079
|
});
|
|
1080
1080
|
}
|
|
1081
1081
|
};
|
|
1082
|
-
export const
|
|
1082
|
+
export const de_GetTranscriptionJobCommand = async (output, context) => {
|
|
1083
1083
|
if (output.statusCode >= 300) {
|
|
1084
|
-
return
|
|
1084
|
+
return de_GetTranscriptionJobCommandError(output, context);
|
|
1085
1085
|
}
|
|
1086
1086
|
const data = await parseBody(output.body, context);
|
|
1087
1087
|
let contents = {};
|
|
1088
|
-
contents =
|
|
1088
|
+
contents = de_GetTranscriptionJobResponse(data, context);
|
|
1089
1089
|
const response = {
|
|
1090
1090
|
$metadata: deserializeMetadata(output),
|
|
1091
1091
|
...contents,
|
|
1092
1092
|
};
|
|
1093
1093
|
return Promise.resolve(response);
|
|
1094
1094
|
};
|
|
1095
|
-
const
|
|
1095
|
+
const de_GetTranscriptionJobCommandError = async (output, context) => {
|
|
1096
1096
|
const parsedOutput = {
|
|
1097
1097
|
...output,
|
|
1098
1098
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1101,16 +1101,16 @@ const deserializeAws_json1_1GetTranscriptionJobCommandError = async (output, con
|
|
|
1101
1101
|
switch (errorCode) {
|
|
1102
1102
|
case "BadRequestException":
|
|
1103
1103
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1104
|
-
throw await
|
|
1104
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1105
1105
|
case "InternalFailureException":
|
|
1106
1106
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1107
|
-
throw await
|
|
1107
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1108
1108
|
case "LimitExceededException":
|
|
1109
1109
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1110
|
-
throw await
|
|
1110
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1111
1111
|
case "NotFoundException":
|
|
1112
1112
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1113
|
-
throw await
|
|
1113
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1114
1114
|
default:
|
|
1115
1115
|
const parsedBody = parsedOutput.body;
|
|
1116
1116
|
throwDefaultError({
|
|
@@ -1121,20 +1121,20 @@ const deserializeAws_json1_1GetTranscriptionJobCommandError = async (output, con
|
|
|
1121
1121
|
});
|
|
1122
1122
|
}
|
|
1123
1123
|
};
|
|
1124
|
-
export const
|
|
1124
|
+
export const de_GetVocabularyCommand = async (output, context) => {
|
|
1125
1125
|
if (output.statusCode >= 300) {
|
|
1126
|
-
return
|
|
1126
|
+
return de_GetVocabularyCommandError(output, context);
|
|
1127
1127
|
}
|
|
1128
1128
|
const data = await parseBody(output.body, context);
|
|
1129
1129
|
let contents = {};
|
|
1130
|
-
contents =
|
|
1130
|
+
contents = de_GetVocabularyResponse(data, context);
|
|
1131
1131
|
const response = {
|
|
1132
1132
|
$metadata: deserializeMetadata(output),
|
|
1133
1133
|
...contents,
|
|
1134
1134
|
};
|
|
1135
1135
|
return Promise.resolve(response);
|
|
1136
1136
|
};
|
|
1137
|
-
const
|
|
1137
|
+
const de_GetVocabularyCommandError = async (output, context) => {
|
|
1138
1138
|
const parsedOutput = {
|
|
1139
1139
|
...output,
|
|
1140
1140
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1143,16 +1143,16 @@ const deserializeAws_json1_1GetVocabularyCommandError = async (output, context)
|
|
|
1143
1143
|
switch (errorCode) {
|
|
1144
1144
|
case "BadRequestException":
|
|
1145
1145
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1146
|
-
throw await
|
|
1146
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1147
1147
|
case "InternalFailureException":
|
|
1148
1148
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1149
|
-
throw await
|
|
1149
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1150
1150
|
case "LimitExceededException":
|
|
1151
1151
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1152
|
-
throw await
|
|
1152
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1153
1153
|
case "NotFoundException":
|
|
1154
1154
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1155
|
-
throw await
|
|
1155
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1156
1156
|
default:
|
|
1157
1157
|
const parsedBody = parsedOutput.body;
|
|
1158
1158
|
throwDefaultError({
|
|
@@ -1163,20 +1163,20 @@ const deserializeAws_json1_1GetVocabularyCommandError = async (output, context)
|
|
|
1163
1163
|
});
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|
|
1166
|
-
export const
|
|
1166
|
+
export const de_GetVocabularyFilterCommand = async (output, context) => {
|
|
1167
1167
|
if (output.statusCode >= 300) {
|
|
1168
|
-
return
|
|
1168
|
+
return de_GetVocabularyFilterCommandError(output, context);
|
|
1169
1169
|
}
|
|
1170
1170
|
const data = await parseBody(output.body, context);
|
|
1171
1171
|
let contents = {};
|
|
1172
|
-
contents =
|
|
1172
|
+
contents = de_GetVocabularyFilterResponse(data, context);
|
|
1173
1173
|
const response = {
|
|
1174
1174
|
$metadata: deserializeMetadata(output),
|
|
1175
1175
|
...contents,
|
|
1176
1176
|
};
|
|
1177
1177
|
return Promise.resolve(response);
|
|
1178
1178
|
};
|
|
1179
|
-
const
|
|
1179
|
+
const de_GetVocabularyFilterCommandError = async (output, context) => {
|
|
1180
1180
|
const parsedOutput = {
|
|
1181
1181
|
...output,
|
|
1182
1182
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1185,16 +1185,16 @@ const deserializeAws_json1_1GetVocabularyFilterCommandError = async (output, con
|
|
|
1185
1185
|
switch (errorCode) {
|
|
1186
1186
|
case "BadRequestException":
|
|
1187
1187
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1188
|
-
throw await
|
|
1188
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1189
1189
|
case "InternalFailureException":
|
|
1190
1190
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1191
|
-
throw await
|
|
1191
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1192
1192
|
case "LimitExceededException":
|
|
1193
1193
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1194
|
-
throw await
|
|
1194
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1195
1195
|
case "NotFoundException":
|
|
1196
1196
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1197
|
-
throw await
|
|
1197
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1198
1198
|
default:
|
|
1199
1199
|
const parsedBody = parsedOutput.body;
|
|
1200
1200
|
throwDefaultError({
|
|
@@ -1205,20 +1205,20 @@ const deserializeAws_json1_1GetVocabularyFilterCommandError = async (output, con
|
|
|
1205
1205
|
});
|
|
1206
1206
|
}
|
|
1207
1207
|
};
|
|
1208
|
-
export const
|
|
1208
|
+
export const de_ListCallAnalyticsCategoriesCommand = async (output, context) => {
|
|
1209
1209
|
if (output.statusCode >= 300) {
|
|
1210
|
-
return
|
|
1210
|
+
return de_ListCallAnalyticsCategoriesCommandError(output, context);
|
|
1211
1211
|
}
|
|
1212
1212
|
const data = await parseBody(output.body, context);
|
|
1213
1213
|
let contents = {};
|
|
1214
|
-
contents =
|
|
1214
|
+
contents = de_ListCallAnalyticsCategoriesResponse(data, context);
|
|
1215
1215
|
const response = {
|
|
1216
1216
|
$metadata: deserializeMetadata(output),
|
|
1217
1217
|
...contents,
|
|
1218
1218
|
};
|
|
1219
1219
|
return Promise.resolve(response);
|
|
1220
1220
|
};
|
|
1221
|
-
const
|
|
1221
|
+
const de_ListCallAnalyticsCategoriesCommandError = async (output, context) => {
|
|
1222
1222
|
const parsedOutput = {
|
|
1223
1223
|
...output,
|
|
1224
1224
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1227,13 +1227,13 @@ const deserializeAws_json1_1ListCallAnalyticsCategoriesCommandError = async (out
|
|
|
1227
1227
|
switch (errorCode) {
|
|
1228
1228
|
case "BadRequestException":
|
|
1229
1229
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1230
|
-
throw await
|
|
1230
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1231
1231
|
case "InternalFailureException":
|
|
1232
1232
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1233
|
-
throw await
|
|
1233
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1234
1234
|
case "LimitExceededException":
|
|
1235
1235
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1236
|
-
throw await
|
|
1236
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1237
1237
|
default:
|
|
1238
1238
|
const parsedBody = parsedOutput.body;
|
|
1239
1239
|
throwDefaultError({
|
|
@@ -1244,20 +1244,20 @@ const deserializeAws_json1_1ListCallAnalyticsCategoriesCommandError = async (out
|
|
|
1244
1244
|
});
|
|
1245
1245
|
}
|
|
1246
1246
|
};
|
|
1247
|
-
export const
|
|
1247
|
+
export const de_ListCallAnalyticsJobsCommand = async (output, context) => {
|
|
1248
1248
|
if (output.statusCode >= 300) {
|
|
1249
|
-
return
|
|
1249
|
+
return de_ListCallAnalyticsJobsCommandError(output, context);
|
|
1250
1250
|
}
|
|
1251
1251
|
const data = await parseBody(output.body, context);
|
|
1252
1252
|
let contents = {};
|
|
1253
|
-
contents =
|
|
1253
|
+
contents = de_ListCallAnalyticsJobsResponse(data, context);
|
|
1254
1254
|
const response = {
|
|
1255
1255
|
$metadata: deserializeMetadata(output),
|
|
1256
1256
|
...contents,
|
|
1257
1257
|
};
|
|
1258
1258
|
return Promise.resolve(response);
|
|
1259
1259
|
};
|
|
1260
|
-
const
|
|
1260
|
+
const de_ListCallAnalyticsJobsCommandError = async (output, context) => {
|
|
1261
1261
|
const parsedOutput = {
|
|
1262
1262
|
...output,
|
|
1263
1263
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1266,13 +1266,13 @@ const deserializeAws_json1_1ListCallAnalyticsJobsCommandError = async (output, c
|
|
|
1266
1266
|
switch (errorCode) {
|
|
1267
1267
|
case "BadRequestException":
|
|
1268
1268
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1269
|
-
throw await
|
|
1269
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1270
1270
|
case "InternalFailureException":
|
|
1271
1271
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1272
|
-
throw await
|
|
1272
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1273
1273
|
case "LimitExceededException":
|
|
1274
1274
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1275
|
-
throw await
|
|
1275
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1276
1276
|
default:
|
|
1277
1277
|
const parsedBody = parsedOutput.body;
|
|
1278
1278
|
throwDefaultError({
|
|
@@ -1283,20 +1283,20 @@ const deserializeAws_json1_1ListCallAnalyticsJobsCommandError = async (output, c
|
|
|
1283
1283
|
});
|
|
1284
1284
|
}
|
|
1285
1285
|
};
|
|
1286
|
-
export const
|
|
1286
|
+
export const de_ListLanguageModelsCommand = async (output, context) => {
|
|
1287
1287
|
if (output.statusCode >= 300) {
|
|
1288
|
-
return
|
|
1288
|
+
return de_ListLanguageModelsCommandError(output, context);
|
|
1289
1289
|
}
|
|
1290
1290
|
const data = await parseBody(output.body, context);
|
|
1291
1291
|
let contents = {};
|
|
1292
|
-
contents =
|
|
1292
|
+
contents = de_ListLanguageModelsResponse(data, context);
|
|
1293
1293
|
const response = {
|
|
1294
1294
|
$metadata: deserializeMetadata(output),
|
|
1295
1295
|
...contents,
|
|
1296
1296
|
};
|
|
1297
1297
|
return Promise.resolve(response);
|
|
1298
1298
|
};
|
|
1299
|
-
const
|
|
1299
|
+
const de_ListLanguageModelsCommandError = async (output, context) => {
|
|
1300
1300
|
const parsedOutput = {
|
|
1301
1301
|
...output,
|
|
1302
1302
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1305,13 +1305,13 @@ const deserializeAws_json1_1ListLanguageModelsCommandError = async (output, cont
|
|
|
1305
1305
|
switch (errorCode) {
|
|
1306
1306
|
case "BadRequestException":
|
|
1307
1307
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1308
|
-
throw await
|
|
1308
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1309
1309
|
case "InternalFailureException":
|
|
1310
1310
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1311
|
-
throw await
|
|
1311
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1312
1312
|
case "LimitExceededException":
|
|
1313
1313
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1314
|
-
throw await
|
|
1314
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1315
1315
|
default:
|
|
1316
1316
|
const parsedBody = parsedOutput.body;
|
|
1317
1317
|
throwDefaultError({
|
|
@@ -1322,20 +1322,20 @@ const deserializeAws_json1_1ListLanguageModelsCommandError = async (output, cont
|
|
|
1322
1322
|
});
|
|
1323
1323
|
}
|
|
1324
1324
|
};
|
|
1325
|
-
export const
|
|
1325
|
+
export const de_ListMedicalTranscriptionJobsCommand = async (output, context) => {
|
|
1326
1326
|
if (output.statusCode >= 300) {
|
|
1327
|
-
return
|
|
1327
|
+
return de_ListMedicalTranscriptionJobsCommandError(output, context);
|
|
1328
1328
|
}
|
|
1329
1329
|
const data = await parseBody(output.body, context);
|
|
1330
1330
|
let contents = {};
|
|
1331
|
-
contents =
|
|
1331
|
+
contents = de_ListMedicalTranscriptionJobsResponse(data, context);
|
|
1332
1332
|
const response = {
|
|
1333
1333
|
$metadata: deserializeMetadata(output),
|
|
1334
1334
|
...contents,
|
|
1335
1335
|
};
|
|
1336
1336
|
return Promise.resolve(response);
|
|
1337
1337
|
};
|
|
1338
|
-
const
|
|
1338
|
+
const de_ListMedicalTranscriptionJobsCommandError = async (output, context) => {
|
|
1339
1339
|
const parsedOutput = {
|
|
1340
1340
|
...output,
|
|
1341
1341
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1344,13 +1344,13 @@ const deserializeAws_json1_1ListMedicalTranscriptionJobsCommandError = async (ou
|
|
|
1344
1344
|
switch (errorCode) {
|
|
1345
1345
|
case "BadRequestException":
|
|
1346
1346
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1347
|
-
throw await
|
|
1347
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1348
1348
|
case "InternalFailureException":
|
|
1349
1349
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1350
|
-
throw await
|
|
1350
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1351
1351
|
case "LimitExceededException":
|
|
1352
1352
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1353
|
-
throw await
|
|
1353
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1354
1354
|
default:
|
|
1355
1355
|
const parsedBody = parsedOutput.body;
|
|
1356
1356
|
throwDefaultError({
|
|
@@ -1361,20 +1361,20 @@ const deserializeAws_json1_1ListMedicalTranscriptionJobsCommandError = async (ou
|
|
|
1361
1361
|
});
|
|
1362
1362
|
}
|
|
1363
1363
|
};
|
|
1364
|
-
export const
|
|
1364
|
+
export const de_ListMedicalVocabulariesCommand = async (output, context) => {
|
|
1365
1365
|
if (output.statusCode >= 300) {
|
|
1366
|
-
return
|
|
1366
|
+
return de_ListMedicalVocabulariesCommandError(output, context);
|
|
1367
1367
|
}
|
|
1368
1368
|
const data = await parseBody(output.body, context);
|
|
1369
1369
|
let contents = {};
|
|
1370
|
-
contents =
|
|
1370
|
+
contents = de_ListMedicalVocabulariesResponse(data, context);
|
|
1371
1371
|
const response = {
|
|
1372
1372
|
$metadata: deserializeMetadata(output),
|
|
1373
1373
|
...contents,
|
|
1374
1374
|
};
|
|
1375
1375
|
return Promise.resolve(response);
|
|
1376
1376
|
};
|
|
1377
|
-
const
|
|
1377
|
+
const de_ListMedicalVocabulariesCommandError = async (output, context) => {
|
|
1378
1378
|
const parsedOutput = {
|
|
1379
1379
|
...output,
|
|
1380
1380
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1383,13 +1383,13 @@ const deserializeAws_json1_1ListMedicalVocabulariesCommandError = async (output,
|
|
|
1383
1383
|
switch (errorCode) {
|
|
1384
1384
|
case "BadRequestException":
|
|
1385
1385
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1386
|
-
throw await
|
|
1386
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1387
1387
|
case "InternalFailureException":
|
|
1388
1388
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1389
|
-
throw await
|
|
1389
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1390
1390
|
case "LimitExceededException":
|
|
1391
1391
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1392
|
-
throw await
|
|
1392
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1393
1393
|
default:
|
|
1394
1394
|
const parsedBody = parsedOutput.body;
|
|
1395
1395
|
throwDefaultError({
|
|
@@ -1400,20 +1400,20 @@ const deserializeAws_json1_1ListMedicalVocabulariesCommandError = async (output,
|
|
|
1400
1400
|
});
|
|
1401
1401
|
}
|
|
1402
1402
|
};
|
|
1403
|
-
export const
|
|
1403
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1404
1404
|
if (output.statusCode >= 300) {
|
|
1405
|
-
return
|
|
1405
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1406
1406
|
}
|
|
1407
1407
|
const data = await parseBody(output.body, context);
|
|
1408
1408
|
let contents = {};
|
|
1409
|
-
contents =
|
|
1409
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1410
1410
|
const response = {
|
|
1411
1411
|
$metadata: deserializeMetadata(output),
|
|
1412
1412
|
...contents,
|
|
1413
1413
|
};
|
|
1414
1414
|
return Promise.resolve(response);
|
|
1415
1415
|
};
|
|
1416
|
-
const
|
|
1416
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1417
1417
|
const parsedOutput = {
|
|
1418
1418
|
...output,
|
|
1419
1419
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1422,16 +1422,16 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1422
1422
|
switch (errorCode) {
|
|
1423
1423
|
case "BadRequestException":
|
|
1424
1424
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1425
|
-
throw await
|
|
1425
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1426
1426
|
case "InternalFailureException":
|
|
1427
1427
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1428
|
-
throw await
|
|
1428
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1429
1429
|
case "LimitExceededException":
|
|
1430
1430
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1431
|
-
throw await
|
|
1431
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1432
1432
|
case "NotFoundException":
|
|
1433
1433
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1434
|
-
throw await
|
|
1434
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1435
1435
|
default:
|
|
1436
1436
|
const parsedBody = parsedOutput.body;
|
|
1437
1437
|
throwDefaultError({
|
|
@@ -1442,20 +1442,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
1444
1444
|
};
|
|
1445
|
-
export const
|
|
1445
|
+
export const de_ListTranscriptionJobsCommand = async (output, context) => {
|
|
1446
1446
|
if (output.statusCode >= 300) {
|
|
1447
|
-
return
|
|
1447
|
+
return de_ListTranscriptionJobsCommandError(output, context);
|
|
1448
1448
|
}
|
|
1449
1449
|
const data = await parseBody(output.body, context);
|
|
1450
1450
|
let contents = {};
|
|
1451
|
-
contents =
|
|
1451
|
+
contents = de_ListTranscriptionJobsResponse(data, context);
|
|
1452
1452
|
const response = {
|
|
1453
1453
|
$metadata: deserializeMetadata(output),
|
|
1454
1454
|
...contents,
|
|
1455
1455
|
};
|
|
1456
1456
|
return Promise.resolve(response);
|
|
1457
1457
|
};
|
|
1458
|
-
const
|
|
1458
|
+
const de_ListTranscriptionJobsCommandError = async (output, context) => {
|
|
1459
1459
|
const parsedOutput = {
|
|
1460
1460
|
...output,
|
|
1461
1461
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1464,13 +1464,13 @@ const deserializeAws_json1_1ListTranscriptionJobsCommandError = async (output, c
|
|
|
1464
1464
|
switch (errorCode) {
|
|
1465
1465
|
case "BadRequestException":
|
|
1466
1466
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1467
|
-
throw await
|
|
1467
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1468
1468
|
case "InternalFailureException":
|
|
1469
1469
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1470
|
-
throw await
|
|
1470
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1471
1471
|
case "LimitExceededException":
|
|
1472
1472
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1473
|
-
throw await
|
|
1473
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1474
1474
|
default:
|
|
1475
1475
|
const parsedBody = parsedOutput.body;
|
|
1476
1476
|
throwDefaultError({
|
|
@@ -1481,20 +1481,20 @@ const deserializeAws_json1_1ListTranscriptionJobsCommandError = async (output, c
|
|
|
1481
1481
|
});
|
|
1482
1482
|
}
|
|
1483
1483
|
};
|
|
1484
|
-
export const
|
|
1484
|
+
export const de_ListVocabulariesCommand = async (output, context) => {
|
|
1485
1485
|
if (output.statusCode >= 300) {
|
|
1486
|
-
return
|
|
1486
|
+
return de_ListVocabulariesCommandError(output, context);
|
|
1487
1487
|
}
|
|
1488
1488
|
const data = await parseBody(output.body, context);
|
|
1489
1489
|
let contents = {};
|
|
1490
|
-
contents =
|
|
1490
|
+
contents = de_ListVocabulariesResponse(data, context);
|
|
1491
1491
|
const response = {
|
|
1492
1492
|
$metadata: deserializeMetadata(output),
|
|
1493
1493
|
...contents,
|
|
1494
1494
|
};
|
|
1495
1495
|
return Promise.resolve(response);
|
|
1496
1496
|
};
|
|
1497
|
-
const
|
|
1497
|
+
const de_ListVocabulariesCommandError = async (output, context) => {
|
|
1498
1498
|
const parsedOutput = {
|
|
1499
1499
|
...output,
|
|
1500
1500
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1503,13 +1503,13 @@ const deserializeAws_json1_1ListVocabulariesCommandError = async (output, contex
|
|
|
1503
1503
|
switch (errorCode) {
|
|
1504
1504
|
case "BadRequestException":
|
|
1505
1505
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1506
|
-
throw await
|
|
1506
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1507
1507
|
case "InternalFailureException":
|
|
1508
1508
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1509
|
-
throw await
|
|
1509
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1510
1510
|
case "LimitExceededException":
|
|
1511
1511
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1512
|
-
throw await
|
|
1512
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1513
1513
|
default:
|
|
1514
1514
|
const parsedBody = parsedOutput.body;
|
|
1515
1515
|
throwDefaultError({
|
|
@@ -1520,20 +1520,20 @@ const deserializeAws_json1_1ListVocabulariesCommandError = async (output, contex
|
|
|
1520
1520
|
});
|
|
1521
1521
|
}
|
|
1522
1522
|
};
|
|
1523
|
-
export const
|
|
1523
|
+
export const de_ListVocabularyFiltersCommand = async (output, context) => {
|
|
1524
1524
|
if (output.statusCode >= 300) {
|
|
1525
|
-
return
|
|
1525
|
+
return de_ListVocabularyFiltersCommandError(output, context);
|
|
1526
1526
|
}
|
|
1527
1527
|
const data = await parseBody(output.body, context);
|
|
1528
1528
|
let contents = {};
|
|
1529
|
-
contents =
|
|
1529
|
+
contents = de_ListVocabularyFiltersResponse(data, context);
|
|
1530
1530
|
const response = {
|
|
1531
1531
|
$metadata: deserializeMetadata(output),
|
|
1532
1532
|
...contents,
|
|
1533
1533
|
};
|
|
1534
1534
|
return Promise.resolve(response);
|
|
1535
1535
|
};
|
|
1536
|
-
const
|
|
1536
|
+
const de_ListVocabularyFiltersCommandError = async (output, context) => {
|
|
1537
1537
|
const parsedOutput = {
|
|
1538
1538
|
...output,
|
|
1539
1539
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1542,13 +1542,13 @@ const deserializeAws_json1_1ListVocabularyFiltersCommandError = async (output, c
|
|
|
1542
1542
|
switch (errorCode) {
|
|
1543
1543
|
case "BadRequestException":
|
|
1544
1544
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1545
|
-
throw await
|
|
1545
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1546
1546
|
case "InternalFailureException":
|
|
1547
1547
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1548
|
-
throw await
|
|
1548
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1549
1549
|
case "LimitExceededException":
|
|
1550
1550
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1551
|
-
throw await
|
|
1551
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1552
1552
|
default:
|
|
1553
1553
|
const parsedBody = parsedOutput.body;
|
|
1554
1554
|
throwDefaultError({
|
|
@@ -1559,20 +1559,20 @@ const deserializeAws_json1_1ListVocabularyFiltersCommandError = async (output, c
|
|
|
1559
1559
|
});
|
|
1560
1560
|
}
|
|
1561
1561
|
};
|
|
1562
|
-
export const
|
|
1562
|
+
export const de_StartCallAnalyticsJobCommand = async (output, context) => {
|
|
1563
1563
|
if (output.statusCode >= 300) {
|
|
1564
|
-
return
|
|
1564
|
+
return de_StartCallAnalyticsJobCommandError(output, context);
|
|
1565
1565
|
}
|
|
1566
1566
|
const data = await parseBody(output.body, context);
|
|
1567
1567
|
let contents = {};
|
|
1568
|
-
contents =
|
|
1568
|
+
contents = de_StartCallAnalyticsJobResponse(data, context);
|
|
1569
1569
|
const response = {
|
|
1570
1570
|
$metadata: deserializeMetadata(output),
|
|
1571
1571
|
...contents,
|
|
1572
1572
|
};
|
|
1573
1573
|
return Promise.resolve(response);
|
|
1574
1574
|
};
|
|
1575
|
-
const
|
|
1575
|
+
const de_StartCallAnalyticsJobCommandError = async (output, context) => {
|
|
1576
1576
|
const parsedOutput = {
|
|
1577
1577
|
...output,
|
|
1578
1578
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1581,16 +1581,16 @@ const deserializeAws_json1_1StartCallAnalyticsJobCommandError = async (output, c
|
|
|
1581
1581
|
switch (errorCode) {
|
|
1582
1582
|
case "BadRequestException":
|
|
1583
1583
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1584
|
-
throw await
|
|
1584
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1585
1585
|
case "ConflictException":
|
|
1586
1586
|
case "com.amazonaws.transcribe#ConflictException":
|
|
1587
|
-
throw await
|
|
1587
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1588
1588
|
case "InternalFailureException":
|
|
1589
1589
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1590
|
-
throw await
|
|
1590
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1591
1591
|
case "LimitExceededException":
|
|
1592
1592
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1593
|
-
throw await
|
|
1593
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1594
1594
|
default:
|
|
1595
1595
|
const parsedBody = parsedOutput.body;
|
|
1596
1596
|
throwDefaultError({
|
|
@@ -1601,20 +1601,20 @@ const deserializeAws_json1_1StartCallAnalyticsJobCommandError = async (output, c
|
|
|
1601
1601
|
});
|
|
1602
1602
|
}
|
|
1603
1603
|
};
|
|
1604
|
-
export const
|
|
1604
|
+
export const de_StartMedicalTranscriptionJobCommand = async (output, context) => {
|
|
1605
1605
|
if (output.statusCode >= 300) {
|
|
1606
|
-
return
|
|
1606
|
+
return de_StartMedicalTranscriptionJobCommandError(output, context);
|
|
1607
1607
|
}
|
|
1608
1608
|
const data = await parseBody(output.body, context);
|
|
1609
1609
|
let contents = {};
|
|
1610
|
-
contents =
|
|
1610
|
+
contents = de_StartMedicalTranscriptionJobResponse(data, context);
|
|
1611
1611
|
const response = {
|
|
1612
1612
|
$metadata: deserializeMetadata(output),
|
|
1613
1613
|
...contents,
|
|
1614
1614
|
};
|
|
1615
1615
|
return Promise.resolve(response);
|
|
1616
1616
|
};
|
|
1617
|
-
const
|
|
1617
|
+
const de_StartMedicalTranscriptionJobCommandError = async (output, context) => {
|
|
1618
1618
|
const parsedOutput = {
|
|
1619
1619
|
...output,
|
|
1620
1620
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1623,16 +1623,16 @@ const deserializeAws_json1_1StartMedicalTranscriptionJobCommandError = async (ou
|
|
|
1623
1623
|
switch (errorCode) {
|
|
1624
1624
|
case "BadRequestException":
|
|
1625
1625
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1626
|
-
throw await
|
|
1626
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1627
1627
|
case "ConflictException":
|
|
1628
1628
|
case "com.amazonaws.transcribe#ConflictException":
|
|
1629
|
-
throw await
|
|
1629
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1630
1630
|
case "InternalFailureException":
|
|
1631
1631
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1632
|
-
throw await
|
|
1632
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1633
1633
|
case "LimitExceededException":
|
|
1634
1634
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1635
|
-
throw await
|
|
1635
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1636
1636
|
default:
|
|
1637
1637
|
const parsedBody = parsedOutput.body;
|
|
1638
1638
|
throwDefaultError({
|
|
@@ -1643,20 +1643,20 @@ const deserializeAws_json1_1StartMedicalTranscriptionJobCommandError = async (ou
|
|
|
1643
1643
|
});
|
|
1644
1644
|
}
|
|
1645
1645
|
};
|
|
1646
|
-
export const
|
|
1646
|
+
export const de_StartTranscriptionJobCommand = async (output, context) => {
|
|
1647
1647
|
if (output.statusCode >= 300) {
|
|
1648
|
-
return
|
|
1648
|
+
return de_StartTranscriptionJobCommandError(output, context);
|
|
1649
1649
|
}
|
|
1650
1650
|
const data = await parseBody(output.body, context);
|
|
1651
1651
|
let contents = {};
|
|
1652
|
-
contents =
|
|
1652
|
+
contents = de_StartTranscriptionJobResponse(data, context);
|
|
1653
1653
|
const response = {
|
|
1654
1654
|
$metadata: deserializeMetadata(output),
|
|
1655
1655
|
...contents,
|
|
1656
1656
|
};
|
|
1657
1657
|
return Promise.resolve(response);
|
|
1658
1658
|
};
|
|
1659
|
-
const
|
|
1659
|
+
const de_StartTranscriptionJobCommandError = async (output, context) => {
|
|
1660
1660
|
const parsedOutput = {
|
|
1661
1661
|
...output,
|
|
1662
1662
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1665,16 +1665,16 @@ const deserializeAws_json1_1StartTranscriptionJobCommandError = async (output, c
|
|
|
1665
1665
|
switch (errorCode) {
|
|
1666
1666
|
case "BadRequestException":
|
|
1667
1667
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1668
|
-
throw await
|
|
1668
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1669
1669
|
case "ConflictException":
|
|
1670
1670
|
case "com.amazonaws.transcribe#ConflictException":
|
|
1671
|
-
throw await
|
|
1671
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1672
1672
|
case "InternalFailureException":
|
|
1673
1673
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1674
|
-
throw await
|
|
1674
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1675
1675
|
case "LimitExceededException":
|
|
1676
1676
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1677
|
-
throw await
|
|
1677
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1678
1678
|
default:
|
|
1679
1679
|
const parsedBody = parsedOutput.body;
|
|
1680
1680
|
throwDefaultError({
|
|
@@ -1685,20 +1685,20 @@ const deserializeAws_json1_1StartTranscriptionJobCommandError = async (output, c
|
|
|
1685
1685
|
});
|
|
1686
1686
|
}
|
|
1687
1687
|
};
|
|
1688
|
-
export const
|
|
1688
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1689
1689
|
if (output.statusCode >= 300) {
|
|
1690
|
-
return
|
|
1690
|
+
return de_TagResourceCommandError(output, context);
|
|
1691
1691
|
}
|
|
1692
1692
|
const data = await parseBody(output.body, context);
|
|
1693
1693
|
let contents = {};
|
|
1694
|
-
contents =
|
|
1694
|
+
contents = de_TagResourceResponse(data, context);
|
|
1695
1695
|
const response = {
|
|
1696
1696
|
$metadata: deserializeMetadata(output),
|
|
1697
1697
|
...contents,
|
|
1698
1698
|
};
|
|
1699
1699
|
return Promise.resolve(response);
|
|
1700
1700
|
};
|
|
1701
|
-
const
|
|
1701
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1702
1702
|
const parsedOutput = {
|
|
1703
1703
|
...output,
|
|
1704
1704
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1707,19 +1707,19 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1707
1707
|
switch (errorCode) {
|
|
1708
1708
|
case "BadRequestException":
|
|
1709
1709
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1710
|
-
throw await
|
|
1710
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1711
1711
|
case "ConflictException":
|
|
1712
1712
|
case "com.amazonaws.transcribe#ConflictException":
|
|
1713
|
-
throw await
|
|
1713
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1714
1714
|
case "InternalFailureException":
|
|
1715
1715
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1716
|
-
throw await
|
|
1716
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1717
1717
|
case "LimitExceededException":
|
|
1718
1718
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1719
|
-
throw await
|
|
1719
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1720
1720
|
case "NotFoundException":
|
|
1721
1721
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1722
|
-
throw await
|
|
1722
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1723
1723
|
default:
|
|
1724
1724
|
const parsedBody = parsedOutput.body;
|
|
1725
1725
|
throwDefaultError({
|
|
@@ -1730,20 +1730,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1730
1730
|
});
|
|
1731
1731
|
}
|
|
1732
1732
|
};
|
|
1733
|
-
export const
|
|
1733
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1734
1734
|
if (output.statusCode >= 300) {
|
|
1735
|
-
return
|
|
1735
|
+
return de_UntagResourceCommandError(output, context);
|
|
1736
1736
|
}
|
|
1737
1737
|
const data = await parseBody(output.body, context);
|
|
1738
1738
|
let contents = {};
|
|
1739
|
-
contents =
|
|
1739
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1740
1740
|
const response = {
|
|
1741
1741
|
$metadata: deserializeMetadata(output),
|
|
1742
1742
|
...contents,
|
|
1743
1743
|
};
|
|
1744
1744
|
return Promise.resolve(response);
|
|
1745
1745
|
};
|
|
1746
|
-
const
|
|
1746
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1747
1747
|
const parsedOutput = {
|
|
1748
1748
|
...output,
|
|
1749
1749
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1752,19 +1752,19 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1752
1752
|
switch (errorCode) {
|
|
1753
1753
|
case "BadRequestException":
|
|
1754
1754
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1755
|
-
throw await
|
|
1755
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1756
1756
|
case "ConflictException":
|
|
1757
1757
|
case "com.amazonaws.transcribe#ConflictException":
|
|
1758
|
-
throw await
|
|
1758
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1759
1759
|
case "InternalFailureException":
|
|
1760
1760
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1761
|
-
throw await
|
|
1761
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1762
1762
|
case "LimitExceededException":
|
|
1763
1763
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1764
|
-
throw await
|
|
1764
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1765
1765
|
case "NotFoundException":
|
|
1766
1766
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1767
|
-
throw await
|
|
1767
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1768
1768
|
default:
|
|
1769
1769
|
const parsedBody = parsedOutput.body;
|
|
1770
1770
|
throwDefaultError({
|
|
@@ -1775,20 +1775,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1775
1775
|
});
|
|
1776
1776
|
}
|
|
1777
1777
|
};
|
|
1778
|
-
export const
|
|
1778
|
+
export const de_UpdateCallAnalyticsCategoryCommand = async (output, context) => {
|
|
1779
1779
|
if (output.statusCode >= 300) {
|
|
1780
|
-
return
|
|
1780
|
+
return de_UpdateCallAnalyticsCategoryCommandError(output, context);
|
|
1781
1781
|
}
|
|
1782
1782
|
const data = await parseBody(output.body, context);
|
|
1783
1783
|
let contents = {};
|
|
1784
|
-
contents =
|
|
1784
|
+
contents = de_UpdateCallAnalyticsCategoryResponse(data, context);
|
|
1785
1785
|
const response = {
|
|
1786
1786
|
$metadata: deserializeMetadata(output),
|
|
1787
1787
|
...contents,
|
|
1788
1788
|
};
|
|
1789
1789
|
return Promise.resolve(response);
|
|
1790
1790
|
};
|
|
1791
|
-
const
|
|
1791
|
+
const de_UpdateCallAnalyticsCategoryCommandError = async (output, context) => {
|
|
1792
1792
|
const parsedOutput = {
|
|
1793
1793
|
...output,
|
|
1794
1794
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1797,19 +1797,19 @@ const deserializeAws_json1_1UpdateCallAnalyticsCategoryCommandError = async (out
|
|
|
1797
1797
|
switch (errorCode) {
|
|
1798
1798
|
case "BadRequestException":
|
|
1799
1799
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1800
|
-
throw await
|
|
1800
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1801
1801
|
case "ConflictException":
|
|
1802
1802
|
case "com.amazonaws.transcribe#ConflictException":
|
|
1803
|
-
throw await
|
|
1803
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1804
1804
|
case "InternalFailureException":
|
|
1805
1805
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1806
|
-
throw await
|
|
1806
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1807
1807
|
case "LimitExceededException":
|
|
1808
1808
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1809
|
-
throw await
|
|
1809
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1810
1810
|
case "NotFoundException":
|
|
1811
1811
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1812
|
-
throw await
|
|
1812
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1813
1813
|
default:
|
|
1814
1814
|
const parsedBody = parsedOutput.body;
|
|
1815
1815
|
throwDefaultError({
|
|
@@ -1820,20 +1820,20 @@ const deserializeAws_json1_1UpdateCallAnalyticsCategoryCommandError = async (out
|
|
|
1820
1820
|
});
|
|
1821
1821
|
}
|
|
1822
1822
|
};
|
|
1823
|
-
export const
|
|
1823
|
+
export const de_UpdateMedicalVocabularyCommand = async (output, context) => {
|
|
1824
1824
|
if (output.statusCode >= 300) {
|
|
1825
|
-
return
|
|
1825
|
+
return de_UpdateMedicalVocabularyCommandError(output, context);
|
|
1826
1826
|
}
|
|
1827
1827
|
const data = await parseBody(output.body, context);
|
|
1828
1828
|
let contents = {};
|
|
1829
|
-
contents =
|
|
1829
|
+
contents = de_UpdateMedicalVocabularyResponse(data, context);
|
|
1830
1830
|
const response = {
|
|
1831
1831
|
$metadata: deserializeMetadata(output),
|
|
1832
1832
|
...contents,
|
|
1833
1833
|
};
|
|
1834
1834
|
return Promise.resolve(response);
|
|
1835
1835
|
};
|
|
1836
|
-
const
|
|
1836
|
+
const de_UpdateMedicalVocabularyCommandError = async (output, context) => {
|
|
1837
1837
|
const parsedOutput = {
|
|
1838
1838
|
...output,
|
|
1839
1839
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1842,19 +1842,19 @@ const deserializeAws_json1_1UpdateMedicalVocabularyCommandError = async (output,
|
|
|
1842
1842
|
switch (errorCode) {
|
|
1843
1843
|
case "BadRequestException":
|
|
1844
1844
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1845
|
-
throw await
|
|
1845
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1846
1846
|
case "ConflictException":
|
|
1847
1847
|
case "com.amazonaws.transcribe#ConflictException":
|
|
1848
|
-
throw await
|
|
1848
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1849
1849
|
case "InternalFailureException":
|
|
1850
1850
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1851
|
-
throw await
|
|
1851
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1852
1852
|
case "LimitExceededException":
|
|
1853
1853
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1854
|
-
throw await
|
|
1854
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1855
1855
|
case "NotFoundException":
|
|
1856
1856
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1857
|
-
throw await
|
|
1857
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1858
1858
|
default:
|
|
1859
1859
|
const parsedBody = parsedOutput.body;
|
|
1860
1860
|
throwDefaultError({
|
|
@@ -1865,20 +1865,20 @@ const deserializeAws_json1_1UpdateMedicalVocabularyCommandError = async (output,
|
|
|
1865
1865
|
});
|
|
1866
1866
|
}
|
|
1867
1867
|
};
|
|
1868
|
-
export const
|
|
1868
|
+
export const de_UpdateVocabularyCommand = async (output, context) => {
|
|
1869
1869
|
if (output.statusCode >= 300) {
|
|
1870
|
-
return
|
|
1870
|
+
return de_UpdateVocabularyCommandError(output, context);
|
|
1871
1871
|
}
|
|
1872
1872
|
const data = await parseBody(output.body, context);
|
|
1873
1873
|
let contents = {};
|
|
1874
|
-
contents =
|
|
1874
|
+
contents = de_UpdateVocabularyResponse(data, context);
|
|
1875
1875
|
const response = {
|
|
1876
1876
|
$metadata: deserializeMetadata(output),
|
|
1877
1877
|
...contents,
|
|
1878
1878
|
};
|
|
1879
1879
|
return Promise.resolve(response);
|
|
1880
1880
|
};
|
|
1881
|
-
const
|
|
1881
|
+
const de_UpdateVocabularyCommandError = async (output, context) => {
|
|
1882
1882
|
const parsedOutput = {
|
|
1883
1883
|
...output,
|
|
1884
1884
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1887,19 +1887,19 @@ const deserializeAws_json1_1UpdateVocabularyCommandError = async (output, contex
|
|
|
1887
1887
|
switch (errorCode) {
|
|
1888
1888
|
case "BadRequestException":
|
|
1889
1889
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1890
|
-
throw await
|
|
1890
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1891
1891
|
case "ConflictException":
|
|
1892
1892
|
case "com.amazonaws.transcribe#ConflictException":
|
|
1893
|
-
throw await
|
|
1893
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1894
1894
|
case "InternalFailureException":
|
|
1895
1895
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1896
|
-
throw await
|
|
1896
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1897
1897
|
case "LimitExceededException":
|
|
1898
1898
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1899
|
-
throw await
|
|
1899
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1900
1900
|
case "NotFoundException":
|
|
1901
1901
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1902
|
-
throw await
|
|
1902
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1903
1903
|
default:
|
|
1904
1904
|
const parsedBody = parsedOutput.body;
|
|
1905
1905
|
throwDefaultError({
|
|
@@ -1910,20 +1910,20 @@ const deserializeAws_json1_1UpdateVocabularyCommandError = async (output, contex
|
|
|
1910
1910
|
});
|
|
1911
1911
|
}
|
|
1912
1912
|
};
|
|
1913
|
-
export const
|
|
1913
|
+
export const de_UpdateVocabularyFilterCommand = async (output, context) => {
|
|
1914
1914
|
if (output.statusCode >= 300) {
|
|
1915
|
-
return
|
|
1915
|
+
return de_UpdateVocabularyFilterCommandError(output, context);
|
|
1916
1916
|
}
|
|
1917
1917
|
const data = await parseBody(output.body, context);
|
|
1918
1918
|
let contents = {};
|
|
1919
|
-
contents =
|
|
1919
|
+
contents = de_UpdateVocabularyFilterResponse(data, context);
|
|
1920
1920
|
const response = {
|
|
1921
1921
|
$metadata: deserializeMetadata(output),
|
|
1922
1922
|
...contents,
|
|
1923
1923
|
};
|
|
1924
1924
|
return Promise.resolve(response);
|
|
1925
1925
|
};
|
|
1926
|
-
const
|
|
1926
|
+
const de_UpdateVocabularyFilterCommandError = async (output, context) => {
|
|
1927
1927
|
const parsedOutput = {
|
|
1928
1928
|
...output,
|
|
1929
1929
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1932,16 +1932,16 @@ const deserializeAws_json1_1UpdateVocabularyFilterCommandError = async (output,
|
|
|
1932
1932
|
switch (errorCode) {
|
|
1933
1933
|
case "BadRequestException":
|
|
1934
1934
|
case "com.amazonaws.transcribe#BadRequestException":
|
|
1935
|
-
throw await
|
|
1935
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1936
1936
|
case "InternalFailureException":
|
|
1937
1937
|
case "com.amazonaws.transcribe#InternalFailureException":
|
|
1938
|
-
throw await
|
|
1938
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1939
1939
|
case "LimitExceededException":
|
|
1940
1940
|
case "com.amazonaws.transcribe#LimitExceededException":
|
|
1941
|
-
throw await
|
|
1941
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1942
1942
|
case "NotFoundException":
|
|
1943
1943
|
case "com.amazonaws.transcribe#NotFoundException":
|
|
1944
|
-
throw await
|
|
1944
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1945
1945
|
default:
|
|
1946
1946
|
const parsedBody = parsedOutput.body;
|
|
1947
1947
|
throwDefaultError({
|
|
@@ -1952,52 +1952,52 @@ const deserializeAws_json1_1UpdateVocabularyFilterCommandError = async (output,
|
|
|
1952
1952
|
});
|
|
1953
1953
|
}
|
|
1954
1954
|
};
|
|
1955
|
-
const
|
|
1955
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1956
1956
|
const body = parsedOutput.body;
|
|
1957
|
-
const deserialized =
|
|
1957
|
+
const deserialized = de_BadRequestException(body, context);
|
|
1958
1958
|
const exception = new BadRequestException({
|
|
1959
1959
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1960
1960
|
...deserialized,
|
|
1961
1961
|
});
|
|
1962
1962
|
return __decorateServiceException(exception, body);
|
|
1963
1963
|
};
|
|
1964
|
-
const
|
|
1964
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1965
1965
|
const body = parsedOutput.body;
|
|
1966
|
-
const deserialized =
|
|
1966
|
+
const deserialized = de_ConflictException(body, context);
|
|
1967
1967
|
const exception = new ConflictException({
|
|
1968
1968
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1969
1969
|
...deserialized,
|
|
1970
1970
|
});
|
|
1971
1971
|
return __decorateServiceException(exception, body);
|
|
1972
1972
|
};
|
|
1973
|
-
const
|
|
1973
|
+
const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
1974
1974
|
const body = parsedOutput.body;
|
|
1975
|
-
const deserialized =
|
|
1975
|
+
const deserialized = de_InternalFailureException(body, context);
|
|
1976
1976
|
const exception = new InternalFailureException({
|
|
1977
1977
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1978
1978
|
...deserialized,
|
|
1979
1979
|
});
|
|
1980
1980
|
return __decorateServiceException(exception, body);
|
|
1981
1981
|
};
|
|
1982
|
-
const
|
|
1982
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1983
1983
|
const body = parsedOutput.body;
|
|
1984
|
-
const deserialized =
|
|
1984
|
+
const deserialized = de_LimitExceededException(body, context);
|
|
1985
1985
|
const exception = new LimitExceededException({
|
|
1986
1986
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1987
1987
|
...deserialized,
|
|
1988
1988
|
});
|
|
1989
1989
|
return __decorateServiceException(exception, body);
|
|
1990
1990
|
};
|
|
1991
|
-
const
|
|
1991
|
+
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1992
1992
|
const body = parsedOutput.body;
|
|
1993
|
-
const deserialized =
|
|
1993
|
+
const deserialized = de_NotFoundException(body, context);
|
|
1994
1994
|
const exception = new NotFoundException({
|
|
1995
1995
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1996
1996
|
...deserialized,
|
|
1997
1997
|
});
|
|
1998
1998
|
return __decorateServiceException(exception, body);
|
|
1999
1999
|
};
|
|
2000
|
-
const
|
|
2000
|
+
const se_AbsoluteTimeRange = (input, context) => {
|
|
2001
2001
|
return {
|
|
2002
2002
|
...(input.EndTime != null && { EndTime: input.EndTime }),
|
|
2003
2003
|
...(input.First != null && { First: input.First }),
|
|
@@ -2005,202 +2005,194 @@ const serializeAws_json1_1AbsoluteTimeRange = (input, context) => {
|
|
|
2005
2005
|
...(input.StartTime != null && { StartTime: input.StartTime }),
|
|
2006
2006
|
};
|
|
2007
2007
|
};
|
|
2008
|
-
const
|
|
2008
|
+
const se_CallAnalyticsJobSettings = (input, context) => {
|
|
2009
2009
|
return {
|
|
2010
|
-
...(input.ContentRedaction != null && {
|
|
2011
|
-
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
2012
|
-
}),
|
|
2010
|
+
...(input.ContentRedaction != null && { ContentRedaction: se_ContentRedaction(input.ContentRedaction, context) }),
|
|
2013
2011
|
...(input.LanguageIdSettings != null && {
|
|
2014
|
-
LanguageIdSettings:
|
|
2012
|
+
LanguageIdSettings: se_LanguageIdSettingsMap(input.LanguageIdSettings, context),
|
|
2015
2013
|
}),
|
|
2016
2014
|
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
2017
|
-
...(input.LanguageOptions != null && {
|
|
2018
|
-
LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
|
|
2019
|
-
}),
|
|
2015
|
+
...(input.LanguageOptions != null && { LanguageOptions: se_LanguageOptions(input.LanguageOptions, context) }),
|
|
2020
2016
|
...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
|
|
2021
2017
|
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2022
2018
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2023
2019
|
};
|
|
2024
2020
|
};
|
|
2025
|
-
const
|
|
2021
|
+
const se_ChannelDefinition = (input, context) => {
|
|
2026
2022
|
return {
|
|
2027
2023
|
...(input.ChannelId != null && { ChannelId: input.ChannelId }),
|
|
2028
2024
|
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
2029
2025
|
};
|
|
2030
2026
|
};
|
|
2031
|
-
const
|
|
2027
|
+
const se_ChannelDefinitions = (input, context) => {
|
|
2032
2028
|
return input
|
|
2033
2029
|
.filter((e) => e != null)
|
|
2034
2030
|
.map((entry) => {
|
|
2035
|
-
return
|
|
2031
|
+
return se_ChannelDefinition(entry, context);
|
|
2036
2032
|
});
|
|
2037
2033
|
};
|
|
2038
|
-
const
|
|
2034
|
+
const se_ContentRedaction = (input, context) => {
|
|
2039
2035
|
return {
|
|
2040
|
-
...(input.PiiEntityTypes != null && {
|
|
2041
|
-
PiiEntityTypes: serializeAws_json1_1PiiEntityTypes(input.PiiEntityTypes, context),
|
|
2042
|
-
}),
|
|
2036
|
+
...(input.PiiEntityTypes != null && { PiiEntityTypes: se_PiiEntityTypes(input.PiiEntityTypes, context) }),
|
|
2043
2037
|
...(input.RedactionOutput != null && { RedactionOutput: input.RedactionOutput }),
|
|
2044
2038
|
...(input.RedactionType != null && { RedactionType: input.RedactionType }),
|
|
2045
2039
|
};
|
|
2046
2040
|
};
|
|
2047
|
-
const
|
|
2041
|
+
const se_CreateCallAnalyticsCategoryRequest = (input, context) => {
|
|
2048
2042
|
return {
|
|
2049
2043
|
...(input.CategoryName != null && { CategoryName: input.CategoryName }),
|
|
2050
2044
|
...(input.InputType != null && { InputType: input.InputType }),
|
|
2051
|
-
...(input.Rules != null && { Rules:
|
|
2045
|
+
...(input.Rules != null && { Rules: se_RuleList(input.Rules, context) }),
|
|
2052
2046
|
};
|
|
2053
2047
|
};
|
|
2054
|
-
const
|
|
2048
|
+
const se_CreateLanguageModelRequest = (input, context) => {
|
|
2055
2049
|
return {
|
|
2056
2050
|
...(input.BaseModelName != null && { BaseModelName: input.BaseModelName }),
|
|
2057
|
-
...(input.InputDataConfig != null && {
|
|
2058
|
-
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
2059
|
-
}),
|
|
2051
|
+
...(input.InputDataConfig != null && { InputDataConfig: se_InputDataConfig(input.InputDataConfig, context) }),
|
|
2060
2052
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2061
2053
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2062
|
-
...(input.Tags != null && { Tags:
|
|
2054
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2063
2055
|
};
|
|
2064
2056
|
};
|
|
2065
|
-
const
|
|
2057
|
+
const se_CreateMedicalVocabularyRequest = (input, context) => {
|
|
2066
2058
|
return {
|
|
2067
2059
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2068
|
-
...(input.Tags != null && { Tags:
|
|
2060
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2069
2061
|
...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2070
2062
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2071
2063
|
};
|
|
2072
2064
|
};
|
|
2073
|
-
const
|
|
2065
|
+
const se_CreateVocabularyFilterRequest = (input, context) => {
|
|
2074
2066
|
return {
|
|
2075
2067
|
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2076
2068
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2077
|
-
...(input.Tags != null && { Tags:
|
|
2069
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2078
2070
|
...(input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri }),
|
|
2079
2071
|
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2080
|
-
...(input.Words != null && { Words:
|
|
2072
|
+
...(input.Words != null && { Words: se_Words(input.Words, context) }),
|
|
2081
2073
|
};
|
|
2082
2074
|
};
|
|
2083
|
-
const
|
|
2075
|
+
const se_CreateVocabularyRequest = (input, context) => {
|
|
2084
2076
|
return {
|
|
2085
2077
|
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2086
2078
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2087
|
-
...(input.Phrases != null && { Phrases:
|
|
2088
|
-
...(input.Tags != null && { Tags:
|
|
2079
|
+
...(input.Phrases != null && { Phrases: se_Phrases(input.Phrases, context) }),
|
|
2080
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2089
2081
|
...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2090
2082
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2091
2083
|
};
|
|
2092
2084
|
};
|
|
2093
|
-
const
|
|
2085
|
+
const se_DeleteCallAnalyticsCategoryRequest = (input, context) => {
|
|
2094
2086
|
return {
|
|
2095
2087
|
...(input.CategoryName != null && { CategoryName: input.CategoryName }),
|
|
2096
2088
|
};
|
|
2097
2089
|
};
|
|
2098
|
-
const
|
|
2090
|
+
const se_DeleteCallAnalyticsJobRequest = (input, context) => {
|
|
2099
2091
|
return {
|
|
2100
2092
|
...(input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }),
|
|
2101
2093
|
};
|
|
2102
2094
|
};
|
|
2103
|
-
const
|
|
2095
|
+
const se_DeleteLanguageModelRequest = (input, context) => {
|
|
2104
2096
|
return {
|
|
2105
2097
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2106
2098
|
};
|
|
2107
2099
|
};
|
|
2108
|
-
const
|
|
2100
|
+
const se_DeleteMedicalTranscriptionJobRequest = (input, context) => {
|
|
2109
2101
|
return {
|
|
2110
2102
|
...(input.MedicalTranscriptionJobName != null && {
|
|
2111
2103
|
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2112
2104
|
}),
|
|
2113
2105
|
};
|
|
2114
2106
|
};
|
|
2115
|
-
const
|
|
2107
|
+
const se_DeleteMedicalVocabularyRequest = (input, context) => {
|
|
2116
2108
|
return {
|
|
2117
2109
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2118
2110
|
};
|
|
2119
2111
|
};
|
|
2120
|
-
const
|
|
2112
|
+
const se_DeleteTranscriptionJobRequest = (input, context) => {
|
|
2121
2113
|
return {
|
|
2122
2114
|
...(input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2123
2115
|
};
|
|
2124
2116
|
};
|
|
2125
|
-
const
|
|
2117
|
+
const se_DeleteVocabularyFilterRequest = (input, context) => {
|
|
2126
2118
|
return {
|
|
2127
2119
|
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2128
2120
|
};
|
|
2129
2121
|
};
|
|
2130
|
-
const
|
|
2122
|
+
const se_DeleteVocabularyRequest = (input, context) => {
|
|
2131
2123
|
return {
|
|
2132
2124
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2133
2125
|
};
|
|
2134
2126
|
};
|
|
2135
|
-
const
|
|
2127
|
+
const se_DescribeLanguageModelRequest = (input, context) => {
|
|
2136
2128
|
return {
|
|
2137
2129
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2138
2130
|
};
|
|
2139
2131
|
};
|
|
2140
|
-
const
|
|
2132
|
+
const se_GetCallAnalyticsCategoryRequest = (input, context) => {
|
|
2141
2133
|
return {
|
|
2142
2134
|
...(input.CategoryName != null && { CategoryName: input.CategoryName }),
|
|
2143
2135
|
};
|
|
2144
2136
|
};
|
|
2145
|
-
const
|
|
2137
|
+
const se_GetCallAnalyticsJobRequest = (input, context) => {
|
|
2146
2138
|
return {
|
|
2147
2139
|
...(input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }),
|
|
2148
2140
|
};
|
|
2149
2141
|
};
|
|
2150
|
-
const
|
|
2142
|
+
const se_GetMedicalTranscriptionJobRequest = (input, context) => {
|
|
2151
2143
|
return {
|
|
2152
2144
|
...(input.MedicalTranscriptionJobName != null && {
|
|
2153
2145
|
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2154
2146
|
}),
|
|
2155
2147
|
};
|
|
2156
2148
|
};
|
|
2157
|
-
const
|
|
2149
|
+
const se_GetMedicalVocabularyRequest = (input, context) => {
|
|
2158
2150
|
return {
|
|
2159
2151
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2160
2152
|
};
|
|
2161
2153
|
};
|
|
2162
|
-
const
|
|
2154
|
+
const se_GetTranscriptionJobRequest = (input, context) => {
|
|
2163
2155
|
return {
|
|
2164
2156
|
...(input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2165
2157
|
};
|
|
2166
2158
|
};
|
|
2167
|
-
const
|
|
2159
|
+
const se_GetVocabularyFilterRequest = (input, context) => {
|
|
2168
2160
|
return {
|
|
2169
2161
|
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2170
2162
|
};
|
|
2171
2163
|
};
|
|
2172
|
-
const
|
|
2164
|
+
const se_GetVocabularyRequest = (input, context) => {
|
|
2173
2165
|
return {
|
|
2174
2166
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2175
2167
|
};
|
|
2176
2168
|
};
|
|
2177
|
-
const
|
|
2169
|
+
const se_InputDataConfig = (input, context) => {
|
|
2178
2170
|
return {
|
|
2179
2171
|
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2180
2172
|
...(input.S3Uri != null && { S3Uri: input.S3Uri }),
|
|
2181
2173
|
...(input.TuningDataS3Uri != null && { TuningDataS3Uri: input.TuningDataS3Uri }),
|
|
2182
2174
|
};
|
|
2183
2175
|
};
|
|
2184
|
-
const
|
|
2176
|
+
const se_InterruptionFilter = (input, context) => {
|
|
2185
2177
|
return {
|
|
2186
2178
|
...(input.AbsoluteTimeRange != null && {
|
|
2187
|
-
AbsoluteTimeRange:
|
|
2179
|
+
AbsoluteTimeRange: se_AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
2188
2180
|
}),
|
|
2189
2181
|
...(input.Negate != null && { Negate: input.Negate }),
|
|
2190
2182
|
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
2191
2183
|
...(input.RelativeTimeRange != null && {
|
|
2192
|
-
RelativeTimeRange:
|
|
2184
|
+
RelativeTimeRange: se_RelativeTimeRange(input.RelativeTimeRange, context),
|
|
2193
2185
|
}),
|
|
2194
2186
|
...(input.Threshold != null && { Threshold: input.Threshold }),
|
|
2195
2187
|
};
|
|
2196
2188
|
};
|
|
2197
|
-
const
|
|
2189
|
+
const se_JobExecutionSettings = (input, context) => {
|
|
2198
2190
|
return {
|
|
2199
2191
|
...(input.AllowDeferredExecution != null && { AllowDeferredExecution: input.AllowDeferredExecution }),
|
|
2200
2192
|
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2201
2193
|
};
|
|
2202
2194
|
};
|
|
2203
|
-
const
|
|
2195
|
+
const se_KMSEncryptionContextMap = (input, context) => {
|
|
2204
2196
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2205
2197
|
if (value === null) {
|
|
2206
2198
|
return acc;
|
|
@@ -2209,36 +2201,36 @@ const serializeAws_json1_1KMSEncryptionContextMap = (input, context) => {
|
|
|
2209
2201
|
return acc;
|
|
2210
2202
|
}, {});
|
|
2211
2203
|
};
|
|
2212
|
-
const
|
|
2204
|
+
const se_LanguageIdSettings = (input, context) => {
|
|
2213
2205
|
return {
|
|
2214
2206
|
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
2215
2207
|
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2216
2208
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2217
2209
|
};
|
|
2218
2210
|
};
|
|
2219
|
-
const
|
|
2211
|
+
const se_LanguageIdSettingsMap = (input, context) => {
|
|
2220
2212
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2221
2213
|
if (value === null) {
|
|
2222
2214
|
return acc;
|
|
2223
2215
|
}
|
|
2224
|
-
acc[key] =
|
|
2216
|
+
acc[key] = se_LanguageIdSettings(value, context);
|
|
2225
2217
|
return acc;
|
|
2226
2218
|
}, {});
|
|
2227
2219
|
};
|
|
2228
|
-
const
|
|
2220
|
+
const se_LanguageOptions = (input, context) => {
|
|
2229
2221
|
return input
|
|
2230
2222
|
.filter((e) => e != null)
|
|
2231
2223
|
.map((entry) => {
|
|
2232
2224
|
return entry;
|
|
2233
2225
|
});
|
|
2234
2226
|
};
|
|
2235
|
-
const
|
|
2227
|
+
const se_ListCallAnalyticsCategoriesRequest = (input, context) => {
|
|
2236
2228
|
return {
|
|
2237
2229
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2238
2230
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2239
2231
|
};
|
|
2240
2232
|
};
|
|
2241
|
-
const
|
|
2233
|
+
const se_ListCallAnalyticsJobsRequest = (input, context) => {
|
|
2242
2234
|
return {
|
|
2243
2235
|
...(input.JobNameContains != null && { JobNameContains: input.JobNameContains }),
|
|
2244
2236
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2246,7 +2238,7 @@ const serializeAws_json1_1ListCallAnalyticsJobsRequest = (input, context) => {
|
|
|
2246
2238
|
...(input.Status != null && { Status: input.Status }),
|
|
2247
2239
|
};
|
|
2248
2240
|
};
|
|
2249
|
-
const
|
|
2241
|
+
const se_ListLanguageModelsRequest = (input, context) => {
|
|
2250
2242
|
return {
|
|
2251
2243
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2252
2244
|
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
@@ -2254,7 +2246,7 @@ const serializeAws_json1_1ListLanguageModelsRequest = (input, context) => {
|
|
|
2254
2246
|
...(input.StatusEquals != null && { StatusEquals: input.StatusEquals }),
|
|
2255
2247
|
};
|
|
2256
2248
|
};
|
|
2257
|
-
const
|
|
2249
|
+
const se_ListMedicalTranscriptionJobsRequest = (input, context) => {
|
|
2258
2250
|
return {
|
|
2259
2251
|
...(input.JobNameContains != null && { JobNameContains: input.JobNameContains }),
|
|
2260
2252
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2262,7 +2254,7 @@ const serializeAws_json1_1ListMedicalTranscriptionJobsRequest = (input, context)
|
|
|
2262
2254
|
...(input.Status != null && { Status: input.Status }),
|
|
2263
2255
|
};
|
|
2264
2256
|
};
|
|
2265
|
-
const
|
|
2257
|
+
const se_ListMedicalVocabulariesRequest = (input, context) => {
|
|
2266
2258
|
return {
|
|
2267
2259
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2268
2260
|
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
@@ -2270,12 +2262,12 @@ const serializeAws_json1_1ListMedicalVocabulariesRequest = (input, context) => {
|
|
|
2270
2262
|
...(input.StateEquals != null && { StateEquals: input.StateEquals }),
|
|
2271
2263
|
};
|
|
2272
2264
|
};
|
|
2273
|
-
const
|
|
2265
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2274
2266
|
return {
|
|
2275
2267
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2276
2268
|
};
|
|
2277
2269
|
};
|
|
2278
|
-
const
|
|
2270
|
+
const se_ListTranscriptionJobsRequest = (input, context) => {
|
|
2279
2271
|
return {
|
|
2280
2272
|
...(input.JobNameContains != null && { JobNameContains: input.JobNameContains }),
|
|
2281
2273
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2283,7 +2275,7 @@ const serializeAws_json1_1ListTranscriptionJobsRequest = (input, context) => {
|
|
|
2283
2275
|
...(input.Status != null && { Status: input.Status }),
|
|
2284
2276
|
};
|
|
2285
2277
|
};
|
|
2286
|
-
const
|
|
2278
|
+
const se_ListVocabulariesRequest = (input, context) => {
|
|
2287
2279
|
return {
|
|
2288
2280
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2289
2281
|
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
@@ -2291,20 +2283,20 @@ const serializeAws_json1_1ListVocabulariesRequest = (input, context) => {
|
|
|
2291
2283
|
...(input.StateEquals != null && { StateEquals: input.StateEquals }),
|
|
2292
2284
|
};
|
|
2293
2285
|
};
|
|
2294
|
-
const
|
|
2286
|
+
const se_ListVocabularyFiltersRequest = (input, context) => {
|
|
2295
2287
|
return {
|
|
2296
2288
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2297
2289
|
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
2298
2290
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2299
2291
|
};
|
|
2300
2292
|
};
|
|
2301
|
-
const
|
|
2293
|
+
const se_Media = (input, context) => {
|
|
2302
2294
|
return {
|
|
2303
2295
|
...(input.MediaFileUri != null && { MediaFileUri: input.MediaFileUri }),
|
|
2304
2296
|
...(input.RedactedMediaFileUri != null && { RedactedMediaFileUri: input.RedactedMediaFileUri }),
|
|
2305
2297
|
};
|
|
2306
2298
|
};
|
|
2307
|
-
const
|
|
2299
|
+
const se_MedicalTranscriptionSetting = (input, context) => {
|
|
2308
2300
|
return {
|
|
2309
2301
|
...(input.ChannelIdentification != null && { ChannelIdentification: input.ChannelIdentification }),
|
|
2310
2302
|
...(input.MaxAlternatives != null && { MaxAlternatives: input.MaxAlternatives }),
|
|
@@ -2314,38 +2306,38 @@ const serializeAws_json1_1MedicalTranscriptionSetting = (input, context) => {
|
|
|
2314
2306
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2315
2307
|
};
|
|
2316
2308
|
};
|
|
2317
|
-
const
|
|
2309
|
+
const se_ModelSettings = (input, context) => {
|
|
2318
2310
|
return {
|
|
2319
2311
|
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
2320
2312
|
};
|
|
2321
2313
|
};
|
|
2322
|
-
const
|
|
2314
|
+
const se_NonTalkTimeFilter = (input, context) => {
|
|
2323
2315
|
return {
|
|
2324
2316
|
...(input.AbsoluteTimeRange != null && {
|
|
2325
|
-
AbsoluteTimeRange:
|
|
2317
|
+
AbsoluteTimeRange: se_AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
2326
2318
|
}),
|
|
2327
2319
|
...(input.Negate != null && { Negate: input.Negate }),
|
|
2328
2320
|
...(input.RelativeTimeRange != null && {
|
|
2329
|
-
RelativeTimeRange:
|
|
2321
|
+
RelativeTimeRange: se_RelativeTimeRange(input.RelativeTimeRange, context),
|
|
2330
2322
|
}),
|
|
2331
2323
|
...(input.Threshold != null && { Threshold: input.Threshold }),
|
|
2332
2324
|
};
|
|
2333
2325
|
};
|
|
2334
|
-
const
|
|
2326
|
+
const se_Phrases = (input, context) => {
|
|
2335
2327
|
return input
|
|
2336
2328
|
.filter((e) => e != null)
|
|
2337
2329
|
.map((entry) => {
|
|
2338
2330
|
return entry;
|
|
2339
2331
|
});
|
|
2340
2332
|
};
|
|
2341
|
-
const
|
|
2333
|
+
const se_PiiEntityTypes = (input, context) => {
|
|
2342
2334
|
return input
|
|
2343
2335
|
.filter((e) => e != null)
|
|
2344
2336
|
.map((entry) => {
|
|
2345
2337
|
return entry;
|
|
2346
2338
|
});
|
|
2347
2339
|
};
|
|
2348
|
-
const
|
|
2340
|
+
const se_RelativeTimeRange = (input, context) => {
|
|
2349
2341
|
return {
|
|
2350
2342
|
...(input.EndPercentage != null && { EndPercentage: input.EndPercentage }),
|
|
2351
2343
|
...(input.First != null && { First: input.First }),
|
|
@@ -2353,43 +2345,43 @@ const serializeAws_json1_1RelativeTimeRange = (input, context) => {
|
|
|
2353
2345
|
...(input.StartPercentage != null && { StartPercentage: input.StartPercentage }),
|
|
2354
2346
|
};
|
|
2355
2347
|
};
|
|
2356
|
-
const
|
|
2348
|
+
const se_Rule = (input, context) => {
|
|
2357
2349
|
return Rule.visit(input, {
|
|
2358
|
-
InterruptionFilter: (value) => ({ InterruptionFilter:
|
|
2359
|
-
NonTalkTimeFilter: (value) => ({ NonTalkTimeFilter:
|
|
2360
|
-
SentimentFilter: (value) => ({ SentimentFilter:
|
|
2361
|
-
TranscriptFilter: (value) => ({ TranscriptFilter:
|
|
2350
|
+
InterruptionFilter: (value) => ({ InterruptionFilter: se_InterruptionFilter(value, context) }),
|
|
2351
|
+
NonTalkTimeFilter: (value) => ({ NonTalkTimeFilter: se_NonTalkTimeFilter(value, context) }),
|
|
2352
|
+
SentimentFilter: (value) => ({ SentimentFilter: se_SentimentFilter(value, context) }),
|
|
2353
|
+
TranscriptFilter: (value) => ({ TranscriptFilter: se_TranscriptFilter(value, context) }),
|
|
2362
2354
|
_: (name, value) => ({ name: value }),
|
|
2363
2355
|
});
|
|
2364
2356
|
};
|
|
2365
|
-
const
|
|
2357
|
+
const se_RuleList = (input, context) => {
|
|
2366
2358
|
return input
|
|
2367
2359
|
.filter((e) => e != null)
|
|
2368
2360
|
.map((entry) => {
|
|
2369
|
-
return
|
|
2361
|
+
return se_Rule(entry, context);
|
|
2370
2362
|
});
|
|
2371
2363
|
};
|
|
2372
|
-
const
|
|
2364
|
+
const se_SentimentFilter = (input, context) => {
|
|
2373
2365
|
return {
|
|
2374
2366
|
...(input.AbsoluteTimeRange != null && {
|
|
2375
|
-
AbsoluteTimeRange:
|
|
2367
|
+
AbsoluteTimeRange: se_AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
2376
2368
|
}),
|
|
2377
2369
|
...(input.Negate != null && { Negate: input.Negate }),
|
|
2378
2370
|
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
2379
2371
|
...(input.RelativeTimeRange != null && {
|
|
2380
|
-
RelativeTimeRange:
|
|
2372
|
+
RelativeTimeRange: se_RelativeTimeRange(input.RelativeTimeRange, context),
|
|
2381
2373
|
}),
|
|
2382
|
-
...(input.Sentiments != null && { Sentiments:
|
|
2374
|
+
...(input.Sentiments != null && { Sentiments: se_SentimentValueList(input.Sentiments, context) }),
|
|
2383
2375
|
};
|
|
2384
2376
|
};
|
|
2385
|
-
const
|
|
2377
|
+
const se_SentimentValueList = (input, context) => {
|
|
2386
2378
|
return input
|
|
2387
2379
|
.filter((e) => e != null)
|
|
2388
2380
|
.map((entry) => {
|
|
2389
2381
|
return entry;
|
|
2390
2382
|
});
|
|
2391
2383
|
};
|
|
2392
|
-
const
|
|
2384
|
+
const se_Settings = (input, context) => {
|
|
2393
2385
|
return {
|
|
2394
2386
|
...(input.ChannelIdentification != null && { ChannelIdentification: input.ChannelIdentification }),
|
|
2395
2387
|
...(input.MaxAlternatives != null && { MaxAlternatives: input.MaxAlternatives }),
|
|
@@ -2401,27 +2393,27 @@ const serializeAws_json1_1Settings = (input, context) => {
|
|
|
2401
2393
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2402
2394
|
};
|
|
2403
2395
|
};
|
|
2404
|
-
const
|
|
2396
|
+
const se_StartCallAnalyticsJobRequest = (input, context) => {
|
|
2405
2397
|
return {
|
|
2406
2398
|
...(input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }),
|
|
2407
2399
|
...(input.ChannelDefinitions != null && {
|
|
2408
|
-
ChannelDefinitions:
|
|
2400
|
+
ChannelDefinitions: se_ChannelDefinitions(input.ChannelDefinitions, context),
|
|
2409
2401
|
}),
|
|
2410
2402
|
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2411
|
-
...(input.Media != null && { Media:
|
|
2403
|
+
...(input.Media != null && { Media: se_Media(input.Media, context) }),
|
|
2412
2404
|
...(input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
2413
2405
|
...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
|
|
2414
|
-
...(input.Settings != null && { Settings:
|
|
2406
|
+
...(input.Settings != null && { Settings: se_CallAnalyticsJobSettings(input.Settings, context) }),
|
|
2415
2407
|
};
|
|
2416
2408
|
};
|
|
2417
|
-
const
|
|
2409
|
+
const se_StartMedicalTranscriptionJobRequest = (input, context) => {
|
|
2418
2410
|
return {
|
|
2419
2411
|
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
2420
2412
|
...(input.KMSEncryptionContext != null && {
|
|
2421
|
-
KMSEncryptionContext:
|
|
2413
|
+
KMSEncryptionContext: se_KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
2422
2414
|
}),
|
|
2423
2415
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2424
|
-
...(input.Media != null && { Media:
|
|
2416
|
+
...(input.Media != null && { Media: se_Media(input.Media, context) }),
|
|
2425
2417
|
...(input.MediaFormat != null && { MediaFormat: input.MediaFormat }),
|
|
2426
2418
|
...(input.MediaSampleRateHertz != null && { MediaSampleRateHertz: input.MediaSampleRateHertz }),
|
|
2427
2419
|
...(input.MedicalTranscriptionJobName != null && {
|
|
@@ -2430,154 +2422,146 @@ const serializeAws_json1_1StartMedicalTranscriptionJobRequest = (input, context)
|
|
|
2430
2422
|
...(input.OutputBucketName != null && { OutputBucketName: input.OutputBucketName }),
|
|
2431
2423
|
...(input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
2432
2424
|
...(input.OutputKey != null && { OutputKey: input.OutputKey }),
|
|
2433
|
-
...(input.Settings != null && {
|
|
2434
|
-
Settings: serializeAws_json1_1MedicalTranscriptionSetting(input.Settings, context),
|
|
2435
|
-
}),
|
|
2425
|
+
...(input.Settings != null && { Settings: se_MedicalTranscriptionSetting(input.Settings, context) }),
|
|
2436
2426
|
...(input.Specialty != null && { Specialty: input.Specialty }),
|
|
2437
|
-
...(input.Tags != null && { Tags:
|
|
2427
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2438
2428
|
...(input.Type != null && { Type: input.Type }),
|
|
2439
2429
|
};
|
|
2440
2430
|
};
|
|
2441
|
-
const
|
|
2431
|
+
const se_StartTranscriptionJobRequest = (input, context) => {
|
|
2442
2432
|
return {
|
|
2443
|
-
...(input.ContentRedaction != null && {
|
|
2444
|
-
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
2445
|
-
}),
|
|
2433
|
+
...(input.ContentRedaction != null && { ContentRedaction: se_ContentRedaction(input.ContentRedaction, context) }),
|
|
2446
2434
|
...(input.IdentifyLanguage != null && { IdentifyLanguage: input.IdentifyLanguage }),
|
|
2447
2435
|
...(input.IdentifyMultipleLanguages != null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages }),
|
|
2448
2436
|
...(input.JobExecutionSettings != null && {
|
|
2449
|
-
JobExecutionSettings:
|
|
2437
|
+
JobExecutionSettings: se_JobExecutionSettings(input.JobExecutionSettings, context),
|
|
2450
2438
|
}),
|
|
2451
2439
|
...(input.KMSEncryptionContext != null && {
|
|
2452
|
-
KMSEncryptionContext:
|
|
2440
|
+
KMSEncryptionContext: se_KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
2453
2441
|
}),
|
|
2454
2442
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2455
2443
|
...(input.LanguageIdSettings != null && {
|
|
2456
|
-
LanguageIdSettings:
|
|
2457
|
-
}),
|
|
2458
|
-
...(input.LanguageOptions != null && {
|
|
2459
|
-
LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
|
|
2444
|
+
LanguageIdSettings: se_LanguageIdSettingsMap(input.LanguageIdSettings, context),
|
|
2460
2445
|
}),
|
|
2461
|
-
...(input.
|
|
2446
|
+
...(input.LanguageOptions != null && { LanguageOptions: se_LanguageOptions(input.LanguageOptions, context) }),
|
|
2447
|
+
...(input.Media != null && { Media: se_Media(input.Media, context) }),
|
|
2462
2448
|
...(input.MediaFormat != null && { MediaFormat: input.MediaFormat }),
|
|
2463
2449
|
...(input.MediaSampleRateHertz != null && { MediaSampleRateHertz: input.MediaSampleRateHertz }),
|
|
2464
|
-
...(input.ModelSettings != null && {
|
|
2465
|
-
ModelSettings: serializeAws_json1_1ModelSettings(input.ModelSettings, context),
|
|
2466
|
-
}),
|
|
2450
|
+
...(input.ModelSettings != null && { ModelSettings: se_ModelSettings(input.ModelSettings, context) }),
|
|
2467
2451
|
...(input.OutputBucketName != null && { OutputBucketName: input.OutputBucketName }),
|
|
2468
2452
|
...(input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
2469
2453
|
...(input.OutputKey != null && { OutputKey: input.OutputKey }),
|
|
2470
|
-
...(input.Settings != null && { Settings:
|
|
2471
|
-
...(input.Subtitles != null && { Subtitles:
|
|
2472
|
-
...(input.Tags != null && { Tags:
|
|
2454
|
+
...(input.Settings != null && { Settings: se_Settings(input.Settings, context) }),
|
|
2455
|
+
...(input.Subtitles != null && { Subtitles: se_Subtitles(input.Subtitles, context) }),
|
|
2456
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2473
2457
|
...(input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2474
2458
|
};
|
|
2475
2459
|
};
|
|
2476
|
-
const
|
|
2460
|
+
const se_StringTargetList = (input, context) => {
|
|
2477
2461
|
return input
|
|
2478
2462
|
.filter((e) => e != null)
|
|
2479
2463
|
.map((entry) => {
|
|
2480
2464
|
return entry;
|
|
2481
2465
|
});
|
|
2482
2466
|
};
|
|
2483
|
-
const
|
|
2467
|
+
const se_SubtitleFormats = (input, context) => {
|
|
2484
2468
|
return input
|
|
2485
2469
|
.filter((e) => e != null)
|
|
2486
2470
|
.map((entry) => {
|
|
2487
2471
|
return entry;
|
|
2488
2472
|
});
|
|
2489
2473
|
};
|
|
2490
|
-
const
|
|
2474
|
+
const se_Subtitles = (input, context) => {
|
|
2491
2475
|
return {
|
|
2492
|
-
...(input.Formats != null && { Formats:
|
|
2476
|
+
...(input.Formats != null && { Formats: se_SubtitleFormats(input.Formats, context) }),
|
|
2493
2477
|
...(input.OutputStartIndex != null && { OutputStartIndex: input.OutputStartIndex }),
|
|
2494
2478
|
};
|
|
2495
2479
|
};
|
|
2496
|
-
const
|
|
2480
|
+
const se_Tag = (input, context) => {
|
|
2497
2481
|
return {
|
|
2498
2482
|
...(input.Key != null && { Key: input.Key }),
|
|
2499
2483
|
...(input.Value != null && { Value: input.Value }),
|
|
2500
2484
|
};
|
|
2501
2485
|
};
|
|
2502
|
-
const
|
|
2486
|
+
const se_TagKeyList = (input, context) => {
|
|
2503
2487
|
return input
|
|
2504
2488
|
.filter((e) => e != null)
|
|
2505
2489
|
.map((entry) => {
|
|
2506
2490
|
return entry;
|
|
2507
2491
|
});
|
|
2508
2492
|
};
|
|
2509
|
-
const
|
|
2493
|
+
const se_TagList = (input, context) => {
|
|
2510
2494
|
return input
|
|
2511
2495
|
.filter((e) => e != null)
|
|
2512
2496
|
.map((entry) => {
|
|
2513
|
-
return
|
|
2497
|
+
return se_Tag(entry, context);
|
|
2514
2498
|
});
|
|
2515
2499
|
};
|
|
2516
|
-
const
|
|
2500
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2517
2501
|
return {
|
|
2518
2502
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2519
|
-
...(input.Tags != null && { Tags:
|
|
2503
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2520
2504
|
};
|
|
2521
2505
|
};
|
|
2522
|
-
const
|
|
2506
|
+
const se_TranscriptFilter = (input, context) => {
|
|
2523
2507
|
return {
|
|
2524
2508
|
...(input.AbsoluteTimeRange != null && {
|
|
2525
|
-
AbsoluteTimeRange:
|
|
2509
|
+
AbsoluteTimeRange: se_AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
2526
2510
|
}),
|
|
2527
2511
|
...(input.Negate != null && { Negate: input.Negate }),
|
|
2528
2512
|
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
2529
2513
|
...(input.RelativeTimeRange != null && {
|
|
2530
|
-
RelativeTimeRange:
|
|
2514
|
+
RelativeTimeRange: se_RelativeTimeRange(input.RelativeTimeRange, context),
|
|
2531
2515
|
}),
|
|
2532
|
-
...(input.Targets != null && { Targets:
|
|
2516
|
+
...(input.Targets != null && { Targets: se_StringTargetList(input.Targets, context) }),
|
|
2533
2517
|
...(input.TranscriptFilterType != null && { TranscriptFilterType: input.TranscriptFilterType }),
|
|
2534
2518
|
};
|
|
2535
2519
|
};
|
|
2536
|
-
const
|
|
2520
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2537
2521
|
return {
|
|
2538
2522
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2539
|
-
...(input.TagKeys != null && { TagKeys:
|
|
2523
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2540
2524
|
};
|
|
2541
2525
|
};
|
|
2542
|
-
const
|
|
2526
|
+
const se_UpdateCallAnalyticsCategoryRequest = (input, context) => {
|
|
2543
2527
|
return {
|
|
2544
2528
|
...(input.CategoryName != null && { CategoryName: input.CategoryName }),
|
|
2545
2529
|
...(input.InputType != null && { InputType: input.InputType }),
|
|
2546
|
-
...(input.Rules != null && { Rules:
|
|
2530
|
+
...(input.Rules != null && { Rules: se_RuleList(input.Rules, context) }),
|
|
2547
2531
|
};
|
|
2548
2532
|
};
|
|
2549
|
-
const
|
|
2533
|
+
const se_UpdateMedicalVocabularyRequest = (input, context) => {
|
|
2550
2534
|
return {
|
|
2551
2535
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2552
2536
|
...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2553
2537
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2554
2538
|
};
|
|
2555
2539
|
};
|
|
2556
|
-
const
|
|
2540
|
+
const se_UpdateVocabularyFilterRequest = (input, context) => {
|
|
2557
2541
|
return {
|
|
2558
2542
|
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2559
2543
|
...(input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri }),
|
|
2560
2544
|
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2561
|
-
...(input.Words != null && { Words:
|
|
2545
|
+
...(input.Words != null && { Words: se_Words(input.Words, context) }),
|
|
2562
2546
|
};
|
|
2563
2547
|
};
|
|
2564
|
-
const
|
|
2548
|
+
const se_UpdateVocabularyRequest = (input, context) => {
|
|
2565
2549
|
return {
|
|
2566
2550
|
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2567
2551
|
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2568
|
-
...(input.Phrases != null && { Phrases:
|
|
2552
|
+
...(input.Phrases != null && { Phrases: se_Phrases(input.Phrases, context) }),
|
|
2569
2553
|
...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2570
2554
|
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2571
2555
|
};
|
|
2572
2556
|
};
|
|
2573
|
-
const
|
|
2557
|
+
const se_Words = (input, context) => {
|
|
2574
2558
|
return input
|
|
2575
2559
|
.filter((e) => e != null)
|
|
2576
2560
|
.map((entry) => {
|
|
2577
2561
|
return entry;
|
|
2578
2562
|
});
|
|
2579
2563
|
};
|
|
2580
|
-
const
|
|
2564
|
+
const de_AbsoluteTimeRange = (output, context) => {
|
|
2581
2565
|
return {
|
|
2582
2566
|
EndTime: __expectLong(output.EndTime),
|
|
2583
2567
|
First: __expectLong(output.First),
|
|
@@ -2585,18 +2569,16 @@ const deserializeAws_json1_1AbsoluteTimeRange = (output, context) => {
|
|
|
2585
2569
|
StartTime: __expectLong(output.StartTime),
|
|
2586
2570
|
};
|
|
2587
2571
|
};
|
|
2588
|
-
const
|
|
2572
|
+
const de_BadRequestException = (output, context) => {
|
|
2589
2573
|
return {
|
|
2590
2574
|
Message: __expectString(output.Message),
|
|
2591
2575
|
};
|
|
2592
2576
|
};
|
|
2593
|
-
const
|
|
2577
|
+
const de_CallAnalyticsJob = (output, context) => {
|
|
2594
2578
|
return {
|
|
2595
2579
|
CallAnalyticsJobName: __expectString(output.CallAnalyticsJobName),
|
|
2596
2580
|
CallAnalyticsJobStatus: __expectString(output.CallAnalyticsJobStatus),
|
|
2597
|
-
ChannelDefinitions: output.ChannelDefinitions != null
|
|
2598
|
-
? deserializeAws_json1_1ChannelDefinitions(output.ChannelDefinitions, context)
|
|
2599
|
-
: undefined,
|
|
2581
|
+
ChannelDefinitions: output.ChannelDefinitions != null ? de_ChannelDefinitions(output.ChannelDefinitions, context) : undefined,
|
|
2600
2582
|
CompletionTime: output.CompletionTime != null
|
|
2601
2583
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
2602
2584
|
: undefined,
|
|
@@ -2607,43 +2589,37 @@ const deserializeAws_json1_1CallAnalyticsJob = (output, context) => {
|
|
|
2607
2589
|
FailureReason: __expectString(output.FailureReason),
|
|
2608
2590
|
IdentifiedLanguageScore: __limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
2609
2591
|
LanguageCode: __expectString(output.LanguageCode),
|
|
2610
|
-
Media: output.Media != null ?
|
|
2592
|
+
Media: output.Media != null ? de_Media(output.Media, context) : undefined,
|
|
2611
2593
|
MediaFormat: __expectString(output.MediaFormat),
|
|
2612
2594
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
2613
|
-
Settings: output.Settings != null ?
|
|
2595
|
+
Settings: output.Settings != null ? de_CallAnalyticsJobSettings(output.Settings, context) : undefined,
|
|
2614
2596
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2615
|
-
Transcript: output.Transcript != null ?
|
|
2597
|
+
Transcript: output.Transcript != null ? de_Transcript(output.Transcript, context) : undefined,
|
|
2616
2598
|
};
|
|
2617
2599
|
};
|
|
2618
|
-
const
|
|
2600
|
+
const de_CallAnalyticsJobSettings = (output, context) => {
|
|
2619
2601
|
return {
|
|
2620
|
-
ContentRedaction: output.ContentRedaction != null
|
|
2621
|
-
|
|
2622
|
-
: undefined,
|
|
2623
|
-
LanguageIdSettings: output.LanguageIdSettings != null
|
|
2624
|
-
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
2625
|
-
: undefined,
|
|
2602
|
+
ContentRedaction: output.ContentRedaction != null ? de_ContentRedaction(output.ContentRedaction, context) : undefined,
|
|
2603
|
+
LanguageIdSettings: output.LanguageIdSettings != null ? de_LanguageIdSettingsMap(output.LanguageIdSettings, context) : undefined,
|
|
2626
2604
|
LanguageModelName: __expectString(output.LanguageModelName),
|
|
2627
|
-
LanguageOptions: output.LanguageOptions != null
|
|
2628
|
-
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
2629
|
-
: undefined,
|
|
2605
|
+
LanguageOptions: output.LanguageOptions != null ? de_LanguageOptions(output.LanguageOptions, context) : undefined,
|
|
2630
2606
|
VocabularyFilterMethod: __expectString(output.VocabularyFilterMethod),
|
|
2631
2607
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
2632
2608
|
VocabularyName: __expectString(output.VocabularyName),
|
|
2633
2609
|
};
|
|
2634
2610
|
};
|
|
2635
|
-
const
|
|
2611
|
+
const de_CallAnalyticsJobSummaries = (output, context) => {
|
|
2636
2612
|
const retVal = (output || [])
|
|
2637
2613
|
.filter((e) => e != null)
|
|
2638
2614
|
.map((entry) => {
|
|
2639
2615
|
if (entry === null) {
|
|
2640
2616
|
return null;
|
|
2641
2617
|
}
|
|
2642
|
-
return
|
|
2618
|
+
return de_CallAnalyticsJobSummary(entry, context);
|
|
2643
2619
|
});
|
|
2644
2620
|
return retVal;
|
|
2645
2621
|
};
|
|
2646
|
-
const
|
|
2622
|
+
const de_CallAnalyticsJobSummary = (output, context) => {
|
|
2647
2623
|
return {
|
|
2648
2624
|
CallAnalyticsJobName: __expectString(output.CallAnalyticsJobName),
|
|
2649
2625
|
CallAnalyticsJobStatus: __expectString(output.CallAnalyticsJobStatus),
|
|
@@ -2658,7 +2634,7 @@ const deserializeAws_json1_1CallAnalyticsJobSummary = (output, context) => {
|
|
|
2658
2634
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2659
2635
|
};
|
|
2660
2636
|
};
|
|
2661
|
-
const
|
|
2637
|
+
const de_CategoryProperties = (output, context) => {
|
|
2662
2638
|
return {
|
|
2663
2639
|
CategoryName: __expectString(output.CategoryName),
|
|
2664
2640
|
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
@@ -2666,68 +2642,64 @@ const deserializeAws_json1_1CategoryProperties = (output, context) => {
|
|
|
2666
2642
|
LastUpdateTime: output.LastUpdateTime != null
|
|
2667
2643
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
2668
2644
|
: undefined,
|
|
2669
|
-
Rules: output.Rules != null ?
|
|
2645
|
+
Rules: output.Rules != null ? de_RuleList(output.Rules, context) : undefined,
|
|
2670
2646
|
};
|
|
2671
2647
|
};
|
|
2672
|
-
const
|
|
2648
|
+
const de_CategoryPropertiesList = (output, context) => {
|
|
2673
2649
|
const retVal = (output || [])
|
|
2674
2650
|
.filter((e) => e != null)
|
|
2675
2651
|
.map((entry) => {
|
|
2676
2652
|
if (entry === null) {
|
|
2677
2653
|
return null;
|
|
2678
2654
|
}
|
|
2679
|
-
return
|
|
2655
|
+
return de_CategoryProperties(entry, context);
|
|
2680
2656
|
});
|
|
2681
2657
|
return retVal;
|
|
2682
2658
|
};
|
|
2683
|
-
const
|
|
2659
|
+
const de_ChannelDefinition = (output, context) => {
|
|
2684
2660
|
return {
|
|
2685
2661
|
ChannelId: __expectInt32(output.ChannelId),
|
|
2686
2662
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
2687
2663
|
};
|
|
2688
2664
|
};
|
|
2689
|
-
const
|
|
2665
|
+
const de_ChannelDefinitions = (output, context) => {
|
|
2690
2666
|
const retVal = (output || [])
|
|
2691
2667
|
.filter((e) => e != null)
|
|
2692
2668
|
.map((entry) => {
|
|
2693
2669
|
if (entry === null) {
|
|
2694
2670
|
return null;
|
|
2695
2671
|
}
|
|
2696
|
-
return
|
|
2672
|
+
return de_ChannelDefinition(entry, context);
|
|
2697
2673
|
});
|
|
2698
2674
|
return retVal;
|
|
2699
2675
|
};
|
|
2700
|
-
const
|
|
2676
|
+
const de_ConflictException = (output, context) => {
|
|
2701
2677
|
return {
|
|
2702
2678
|
Message: __expectString(output.Message),
|
|
2703
2679
|
};
|
|
2704
2680
|
};
|
|
2705
|
-
const
|
|
2681
|
+
const de_ContentRedaction = (output, context) => {
|
|
2706
2682
|
return {
|
|
2707
|
-
PiiEntityTypes: output.PiiEntityTypes != null ?
|
|
2683
|
+
PiiEntityTypes: output.PiiEntityTypes != null ? de_PiiEntityTypes(output.PiiEntityTypes, context) : undefined,
|
|
2708
2684
|
RedactionOutput: __expectString(output.RedactionOutput),
|
|
2709
2685
|
RedactionType: __expectString(output.RedactionType),
|
|
2710
2686
|
};
|
|
2711
2687
|
};
|
|
2712
|
-
const
|
|
2688
|
+
const de_CreateCallAnalyticsCategoryResponse = (output, context) => {
|
|
2713
2689
|
return {
|
|
2714
|
-
CategoryProperties: output.CategoryProperties != null
|
|
2715
|
-
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
2716
|
-
: undefined,
|
|
2690
|
+
CategoryProperties: output.CategoryProperties != null ? de_CategoryProperties(output.CategoryProperties, context) : undefined,
|
|
2717
2691
|
};
|
|
2718
2692
|
};
|
|
2719
|
-
const
|
|
2693
|
+
const de_CreateLanguageModelResponse = (output, context) => {
|
|
2720
2694
|
return {
|
|
2721
2695
|
BaseModelName: __expectString(output.BaseModelName),
|
|
2722
|
-
InputDataConfig: output.InputDataConfig != null
|
|
2723
|
-
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
2724
|
-
: undefined,
|
|
2696
|
+
InputDataConfig: output.InputDataConfig != null ? de_InputDataConfig(output.InputDataConfig, context) : undefined,
|
|
2725
2697
|
LanguageCode: __expectString(output.LanguageCode),
|
|
2726
2698
|
ModelName: __expectString(output.ModelName),
|
|
2727
2699
|
ModelStatus: __expectString(output.ModelStatus),
|
|
2728
2700
|
};
|
|
2729
2701
|
};
|
|
2730
|
-
const
|
|
2702
|
+
const de_CreateMedicalVocabularyResponse = (output, context) => {
|
|
2731
2703
|
return {
|
|
2732
2704
|
FailureReason: __expectString(output.FailureReason),
|
|
2733
2705
|
LanguageCode: __expectString(output.LanguageCode),
|
|
@@ -2738,7 +2710,7 @@ const deserializeAws_json1_1CreateMedicalVocabularyResponse = (output, context)
|
|
|
2738
2710
|
VocabularyState: __expectString(output.VocabularyState),
|
|
2739
2711
|
};
|
|
2740
2712
|
};
|
|
2741
|
-
const
|
|
2713
|
+
const de_CreateVocabularyFilterResponse = (output, context) => {
|
|
2742
2714
|
return {
|
|
2743
2715
|
LanguageCode: __expectString(output.LanguageCode),
|
|
2744
2716
|
LastModifiedTime: output.LastModifiedTime != null
|
|
@@ -2747,7 +2719,7 @@ const deserializeAws_json1_1CreateVocabularyFilterResponse = (output, context) =
|
|
|
2747
2719
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
2748
2720
|
};
|
|
2749
2721
|
};
|
|
2750
|
-
const
|
|
2722
|
+
const de_CreateVocabularyResponse = (output, context) => {
|
|
2751
2723
|
return {
|
|
2752
2724
|
FailureReason: __expectString(output.FailureReason),
|
|
2753
2725
|
LanguageCode: __expectString(output.LanguageCode),
|
|
@@ -2758,39 +2730,35 @@ const deserializeAws_json1_1CreateVocabularyResponse = (output, context) => {
|
|
|
2758
2730
|
VocabularyState: __expectString(output.VocabularyState),
|
|
2759
2731
|
};
|
|
2760
2732
|
};
|
|
2761
|
-
const
|
|
2733
|
+
const de_DeleteCallAnalyticsCategoryResponse = (output, context) => {
|
|
2762
2734
|
return {};
|
|
2763
2735
|
};
|
|
2764
|
-
const
|
|
2736
|
+
const de_DeleteCallAnalyticsJobResponse = (output, context) => {
|
|
2765
2737
|
return {};
|
|
2766
2738
|
};
|
|
2767
|
-
const
|
|
2739
|
+
const de_DescribeLanguageModelResponse = (output, context) => {
|
|
2768
2740
|
return {
|
|
2769
|
-
LanguageModel: output.LanguageModel != null ?
|
|
2741
|
+
LanguageModel: output.LanguageModel != null ? de_LanguageModel(output.LanguageModel, context) : undefined,
|
|
2770
2742
|
};
|
|
2771
2743
|
};
|
|
2772
|
-
const
|
|
2744
|
+
const de_GetCallAnalyticsCategoryResponse = (output, context) => {
|
|
2773
2745
|
return {
|
|
2774
|
-
CategoryProperties: output.CategoryProperties != null
|
|
2775
|
-
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
2776
|
-
: undefined,
|
|
2746
|
+
CategoryProperties: output.CategoryProperties != null ? de_CategoryProperties(output.CategoryProperties, context) : undefined,
|
|
2777
2747
|
};
|
|
2778
2748
|
};
|
|
2779
|
-
const
|
|
2749
|
+
const de_GetCallAnalyticsJobResponse = (output, context) => {
|
|
2780
2750
|
return {
|
|
2781
|
-
CallAnalyticsJob: output.CallAnalyticsJob != null
|
|
2782
|
-
? deserializeAws_json1_1CallAnalyticsJob(output.CallAnalyticsJob, context)
|
|
2783
|
-
: undefined,
|
|
2751
|
+
CallAnalyticsJob: output.CallAnalyticsJob != null ? de_CallAnalyticsJob(output.CallAnalyticsJob, context) : undefined,
|
|
2784
2752
|
};
|
|
2785
2753
|
};
|
|
2786
|
-
const
|
|
2754
|
+
const de_GetMedicalTranscriptionJobResponse = (output, context) => {
|
|
2787
2755
|
return {
|
|
2788
2756
|
MedicalTranscriptionJob: output.MedicalTranscriptionJob != null
|
|
2789
|
-
?
|
|
2757
|
+
? de_MedicalTranscriptionJob(output.MedicalTranscriptionJob, context)
|
|
2790
2758
|
: undefined,
|
|
2791
2759
|
};
|
|
2792
2760
|
};
|
|
2793
|
-
const
|
|
2761
|
+
const de_GetMedicalVocabularyResponse = (output, context) => {
|
|
2794
2762
|
return {
|
|
2795
2763
|
DownloadUri: __expectString(output.DownloadUri),
|
|
2796
2764
|
FailureReason: __expectString(output.FailureReason),
|
|
@@ -2802,14 +2770,12 @@ const deserializeAws_json1_1GetMedicalVocabularyResponse = (output, context) =>
|
|
|
2802
2770
|
VocabularyState: __expectString(output.VocabularyState),
|
|
2803
2771
|
};
|
|
2804
2772
|
};
|
|
2805
|
-
const
|
|
2773
|
+
const de_GetTranscriptionJobResponse = (output, context) => {
|
|
2806
2774
|
return {
|
|
2807
|
-
TranscriptionJob: output.TranscriptionJob != null
|
|
2808
|
-
? deserializeAws_json1_1TranscriptionJob(output.TranscriptionJob, context)
|
|
2809
|
-
: undefined,
|
|
2775
|
+
TranscriptionJob: output.TranscriptionJob != null ? de_TranscriptionJob(output.TranscriptionJob, context) : undefined,
|
|
2810
2776
|
};
|
|
2811
2777
|
};
|
|
2812
|
-
const
|
|
2778
|
+
const de_GetVocabularyFilterResponse = (output, context) => {
|
|
2813
2779
|
return {
|
|
2814
2780
|
DownloadUri: __expectString(output.DownloadUri),
|
|
2815
2781
|
LanguageCode: __expectString(output.LanguageCode),
|
|
@@ -2819,7 +2785,7 @@ const deserializeAws_json1_1GetVocabularyFilterResponse = (output, context) => {
|
|
|
2819
2785
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
2820
2786
|
};
|
|
2821
2787
|
};
|
|
2822
|
-
const
|
|
2788
|
+
const de_GetVocabularyResponse = (output, context) => {
|
|
2823
2789
|
return {
|
|
2824
2790
|
DownloadUri: __expectString(output.DownloadUri),
|
|
2825
2791
|
FailureReason: __expectString(output.FailureReason),
|
|
@@ -2831,78 +2797,72 @@ const deserializeAws_json1_1GetVocabularyResponse = (output, context) => {
|
|
|
2831
2797
|
VocabularyState: __expectString(output.VocabularyState),
|
|
2832
2798
|
};
|
|
2833
2799
|
};
|
|
2834
|
-
const
|
|
2800
|
+
const de_InputDataConfig = (output, context) => {
|
|
2835
2801
|
return {
|
|
2836
2802
|
DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
|
|
2837
2803
|
S3Uri: __expectString(output.S3Uri),
|
|
2838
2804
|
TuningDataS3Uri: __expectString(output.TuningDataS3Uri),
|
|
2839
2805
|
};
|
|
2840
2806
|
};
|
|
2841
|
-
const
|
|
2807
|
+
const de_InternalFailureException = (output, context) => {
|
|
2842
2808
|
return {
|
|
2843
2809
|
Message: __expectString(output.Message),
|
|
2844
2810
|
};
|
|
2845
2811
|
};
|
|
2846
|
-
const
|
|
2812
|
+
const de_InterruptionFilter = (output, context) => {
|
|
2847
2813
|
return {
|
|
2848
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
2849
|
-
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
2850
|
-
: undefined,
|
|
2814
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null ? de_AbsoluteTimeRange(output.AbsoluteTimeRange, context) : undefined,
|
|
2851
2815
|
Negate: __expectBoolean(output.Negate),
|
|
2852
2816
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
2853
|
-
RelativeTimeRange: output.RelativeTimeRange != null
|
|
2854
|
-
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
2855
|
-
: undefined,
|
|
2817
|
+
RelativeTimeRange: output.RelativeTimeRange != null ? de_RelativeTimeRange(output.RelativeTimeRange, context) : undefined,
|
|
2856
2818
|
Threshold: __expectLong(output.Threshold),
|
|
2857
2819
|
};
|
|
2858
2820
|
};
|
|
2859
|
-
const
|
|
2821
|
+
const de_JobExecutionSettings = (output, context) => {
|
|
2860
2822
|
return {
|
|
2861
2823
|
AllowDeferredExecution: __expectBoolean(output.AllowDeferredExecution),
|
|
2862
2824
|
DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
|
|
2863
2825
|
};
|
|
2864
2826
|
};
|
|
2865
|
-
const
|
|
2827
|
+
const de_LanguageCodeItem = (output, context) => {
|
|
2866
2828
|
return {
|
|
2867
2829
|
DurationInSeconds: __limitedParseFloat32(output.DurationInSeconds),
|
|
2868
2830
|
LanguageCode: __expectString(output.LanguageCode),
|
|
2869
2831
|
};
|
|
2870
2832
|
};
|
|
2871
|
-
const
|
|
2833
|
+
const de_LanguageCodeList = (output, context) => {
|
|
2872
2834
|
const retVal = (output || [])
|
|
2873
2835
|
.filter((e) => e != null)
|
|
2874
2836
|
.map((entry) => {
|
|
2875
2837
|
if (entry === null) {
|
|
2876
2838
|
return null;
|
|
2877
2839
|
}
|
|
2878
|
-
return
|
|
2840
|
+
return de_LanguageCodeItem(entry, context);
|
|
2879
2841
|
});
|
|
2880
2842
|
return retVal;
|
|
2881
2843
|
};
|
|
2882
|
-
const
|
|
2844
|
+
const de_LanguageIdSettings = (output, context) => {
|
|
2883
2845
|
return {
|
|
2884
2846
|
LanguageModelName: __expectString(output.LanguageModelName),
|
|
2885
2847
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
2886
2848
|
VocabularyName: __expectString(output.VocabularyName),
|
|
2887
2849
|
};
|
|
2888
2850
|
};
|
|
2889
|
-
const
|
|
2851
|
+
const de_LanguageIdSettingsMap = (output, context) => {
|
|
2890
2852
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2891
2853
|
if (value === null) {
|
|
2892
2854
|
return acc;
|
|
2893
2855
|
}
|
|
2894
|
-
acc[key] =
|
|
2856
|
+
acc[key] = de_LanguageIdSettings(value, context);
|
|
2895
2857
|
return acc;
|
|
2896
2858
|
}, {});
|
|
2897
2859
|
};
|
|
2898
|
-
const
|
|
2860
|
+
const de_LanguageModel = (output, context) => {
|
|
2899
2861
|
return {
|
|
2900
2862
|
BaseModelName: __expectString(output.BaseModelName),
|
|
2901
2863
|
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
2902
2864
|
FailureReason: __expectString(output.FailureReason),
|
|
2903
|
-
InputDataConfig: output.InputDataConfig != null
|
|
2904
|
-
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
2905
|
-
: undefined,
|
|
2865
|
+
InputDataConfig: output.InputDataConfig != null ? de_InputDataConfig(output.InputDataConfig, context) : undefined,
|
|
2906
2866
|
LanguageCode: __expectString(output.LanguageCode),
|
|
2907
2867
|
LastModifiedTime: output.LastModifiedTime != null
|
|
2908
2868
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
@@ -2912,7 +2872,7 @@ const deserializeAws_json1_1LanguageModel = (output, context) => {
|
|
|
2912
2872
|
UpgradeAvailability: __expectBoolean(output.UpgradeAvailability),
|
|
2913
2873
|
};
|
|
2914
2874
|
};
|
|
2915
|
-
const
|
|
2875
|
+
const de_LanguageOptions = (output, context) => {
|
|
2916
2876
|
const retVal = (output || [])
|
|
2917
2877
|
.filter((e) => e != null)
|
|
2918
2878
|
.map((entry) => {
|
|
@@ -2923,90 +2883,88 @@ const deserializeAws_json1_1LanguageOptions = (output, context) => {
|
|
|
2923
2883
|
});
|
|
2924
2884
|
return retVal;
|
|
2925
2885
|
};
|
|
2926
|
-
const
|
|
2886
|
+
const de_LimitExceededException = (output, context) => {
|
|
2927
2887
|
return {
|
|
2928
2888
|
Message: __expectString(output.Message),
|
|
2929
2889
|
};
|
|
2930
2890
|
};
|
|
2931
|
-
const
|
|
2891
|
+
const de_ListCallAnalyticsCategoriesResponse = (output, context) => {
|
|
2932
2892
|
return {
|
|
2933
|
-
Categories: output.Categories != null ?
|
|
2893
|
+
Categories: output.Categories != null ? de_CategoryPropertiesList(output.Categories, context) : undefined,
|
|
2934
2894
|
NextToken: __expectString(output.NextToken),
|
|
2935
2895
|
};
|
|
2936
2896
|
};
|
|
2937
|
-
const
|
|
2897
|
+
const de_ListCallAnalyticsJobsResponse = (output, context) => {
|
|
2938
2898
|
return {
|
|
2939
2899
|
CallAnalyticsJobSummaries: output.CallAnalyticsJobSummaries != null
|
|
2940
|
-
?
|
|
2900
|
+
? de_CallAnalyticsJobSummaries(output.CallAnalyticsJobSummaries, context)
|
|
2941
2901
|
: undefined,
|
|
2942
2902
|
NextToken: __expectString(output.NextToken),
|
|
2943
2903
|
Status: __expectString(output.Status),
|
|
2944
2904
|
};
|
|
2945
2905
|
};
|
|
2946
|
-
const
|
|
2906
|
+
const de_ListLanguageModelsResponse = (output, context) => {
|
|
2947
2907
|
return {
|
|
2948
|
-
Models: output.Models != null ?
|
|
2908
|
+
Models: output.Models != null ? de_Models(output.Models, context) : undefined,
|
|
2949
2909
|
NextToken: __expectString(output.NextToken),
|
|
2950
2910
|
};
|
|
2951
2911
|
};
|
|
2952
|
-
const
|
|
2912
|
+
const de_ListMedicalTranscriptionJobsResponse = (output, context) => {
|
|
2953
2913
|
return {
|
|
2954
2914
|
MedicalTranscriptionJobSummaries: output.MedicalTranscriptionJobSummaries != null
|
|
2955
|
-
?
|
|
2915
|
+
? de_MedicalTranscriptionJobSummaries(output.MedicalTranscriptionJobSummaries, context)
|
|
2956
2916
|
: undefined,
|
|
2957
2917
|
NextToken: __expectString(output.NextToken),
|
|
2958
2918
|
Status: __expectString(output.Status),
|
|
2959
2919
|
};
|
|
2960
2920
|
};
|
|
2961
|
-
const
|
|
2921
|
+
const de_ListMedicalVocabulariesResponse = (output, context) => {
|
|
2962
2922
|
return {
|
|
2963
2923
|
NextToken: __expectString(output.NextToken),
|
|
2964
2924
|
Status: __expectString(output.Status),
|
|
2965
|
-
Vocabularies: output.Vocabularies != null ?
|
|
2925
|
+
Vocabularies: output.Vocabularies != null ? de_Vocabularies(output.Vocabularies, context) : undefined,
|
|
2966
2926
|
};
|
|
2967
2927
|
};
|
|
2968
|
-
const
|
|
2928
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2969
2929
|
return {
|
|
2970
2930
|
ResourceArn: __expectString(output.ResourceArn),
|
|
2971
|
-
Tags: output.Tags != null ?
|
|
2931
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2972
2932
|
};
|
|
2973
2933
|
};
|
|
2974
|
-
const
|
|
2934
|
+
const de_ListTranscriptionJobsResponse = (output, context) => {
|
|
2975
2935
|
return {
|
|
2976
2936
|
NextToken: __expectString(output.NextToken),
|
|
2977
2937
|
Status: __expectString(output.Status),
|
|
2978
2938
|
TranscriptionJobSummaries: output.TranscriptionJobSummaries != null
|
|
2979
|
-
?
|
|
2939
|
+
? de_TranscriptionJobSummaries(output.TranscriptionJobSummaries, context)
|
|
2980
2940
|
: undefined,
|
|
2981
2941
|
};
|
|
2982
2942
|
};
|
|
2983
|
-
const
|
|
2943
|
+
const de_ListVocabulariesResponse = (output, context) => {
|
|
2984
2944
|
return {
|
|
2985
2945
|
NextToken: __expectString(output.NextToken),
|
|
2986
2946
|
Status: __expectString(output.Status),
|
|
2987
|
-
Vocabularies: output.Vocabularies != null ?
|
|
2947
|
+
Vocabularies: output.Vocabularies != null ? de_Vocabularies(output.Vocabularies, context) : undefined,
|
|
2988
2948
|
};
|
|
2989
2949
|
};
|
|
2990
|
-
const
|
|
2950
|
+
const de_ListVocabularyFiltersResponse = (output, context) => {
|
|
2991
2951
|
return {
|
|
2992
2952
|
NextToken: __expectString(output.NextToken),
|
|
2993
|
-
VocabularyFilters: output.VocabularyFilters != null
|
|
2994
|
-
? deserializeAws_json1_1VocabularyFilters(output.VocabularyFilters, context)
|
|
2995
|
-
: undefined,
|
|
2953
|
+
VocabularyFilters: output.VocabularyFilters != null ? de_VocabularyFilters(output.VocabularyFilters, context) : undefined,
|
|
2996
2954
|
};
|
|
2997
2955
|
};
|
|
2998
|
-
const
|
|
2956
|
+
const de_Media = (output, context) => {
|
|
2999
2957
|
return {
|
|
3000
2958
|
MediaFileUri: __expectString(output.MediaFileUri),
|
|
3001
2959
|
RedactedMediaFileUri: __expectString(output.RedactedMediaFileUri),
|
|
3002
2960
|
};
|
|
3003
2961
|
};
|
|
3004
|
-
const
|
|
2962
|
+
const de_MedicalTranscript = (output, context) => {
|
|
3005
2963
|
return {
|
|
3006
2964
|
TranscriptFileUri: __expectString(output.TranscriptFileUri),
|
|
3007
2965
|
};
|
|
3008
2966
|
};
|
|
3009
|
-
const
|
|
2967
|
+
const de_MedicalTranscriptionJob = (output, context) => {
|
|
3010
2968
|
return {
|
|
3011
2969
|
CompletionTime: output.CompletionTime != null
|
|
3012
2970
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
@@ -3017,31 +2975,31 @@ const deserializeAws_json1_1MedicalTranscriptionJob = (output, context) => {
|
|
|
3017
2975
|
: undefined,
|
|
3018
2976
|
FailureReason: __expectString(output.FailureReason),
|
|
3019
2977
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3020
|
-
Media: output.Media != null ?
|
|
2978
|
+
Media: output.Media != null ? de_Media(output.Media, context) : undefined,
|
|
3021
2979
|
MediaFormat: __expectString(output.MediaFormat),
|
|
3022
2980
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
3023
2981
|
MedicalTranscriptionJobName: __expectString(output.MedicalTranscriptionJobName),
|
|
3024
|
-
Settings: output.Settings != null ?
|
|
2982
|
+
Settings: output.Settings != null ? de_MedicalTranscriptionSetting(output.Settings, context) : undefined,
|
|
3025
2983
|
Specialty: __expectString(output.Specialty),
|
|
3026
2984
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3027
|
-
Tags: output.Tags != null ?
|
|
3028
|
-
Transcript: output.Transcript != null ?
|
|
2985
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2986
|
+
Transcript: output.Transcript != null ? de_MedicalTranscript(output.Transcript, context) : undefined,
|
|
3029
2987
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
3030
2988
|
Type: __expectString(output.Type),
|
|
3031
2989
|
};
|
|
3032
2990
|
};
|
|
3033
|
-
const
|
|
2991
|
+
const de_MedicalTranscriptionJobSummaries = (output, context) => {
|
|
3034
2992
|
const retVal = (output || [])
|
|
3035
2993
|
.filter((e) => e != null)
|
|
3036
2994
|
.map((entry) => {
|
|
3037
2995
|
if (entry === null) {
|
|
3038
2996
|
return null;
|
|
3039
2997
|
}
|
|
3040
|
-
return
|
|
2998
|
+
return de_MedicalTranscriptionJobSummary(entry, context);
|
|
3041
2999
|
});
|
|
3042
3000
|
return retVal;
|
|
3043
3001
|
};
|
|
3044
|
-
const
|
|
3002
|
+
const de_MedicalTranscriptionJobSummary = (output, context) => {
|
|
3045
3003
|
return {
|
|
3046
3004
|
CompletionTime: output.CompletionTime != null
|
|
3047
3005
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
@@ -3060,7 +3018,7 @@ const deserializeAws_json1_1MedicalTranscriptionJobSummary = (output, context) =
|
|
|
3060
3018
|
Type: __expectString(output.Type),
|
|
3061
3019
|
};
|
|
3062
3020
|
};
|
|
3063
|
-
const
|
|
3021
|
+
const de_MedicalTranscriptionSetting = (output, context) => {
|
|
3064
3022
|
return {
|
|
3065
3023
|
ChannelIdentification: __expectBoolean(output.ChannelIdentification),
|
|
3066
3024
|
MaxAlternatives: __expectInt32(output.MaxAlternatives),
|
|
@@ -3070,40 +3028,36 @@ const deserializeAws_json1_1MedicalTranscriptionSetting = (output, context) => {
|
|
|
3070
3028
|
VocabularyName: __expectString(output.VocabularyName),
|
|
3071
3029
|
};
|
|
3072
3030
|
};
|
|
3073
|
-
const
|
|
3031
|
+
const de_Models = (output, context) => {
|
|
3074
3032
|
const retVal = (output || [])
|
|
3075
3033
|
.filter((e) => e != null)
|
|
3076
3034
|
.map((entry) => {
|
|
3077
3035
|
if (entry === null) {
|
|
3078
3036
|
return null;
|
|
3079
3037
|
}
|
|
3080
|
-
return
|
|
3038
|
+
return de_LanguageModel(entry, context);
|
|
3081
3039
|
});
|
|
3082
3040
|
return retVal;
|
|
3083
3041
|
};
|
|
3084
|
-
const
|
|
3042
|
+
const de_ModelSettings = (output, context) => {
|
|
3085
3043
|
return {
|
|
3086
3044
|
LanguageModelName: __expectString(output.LanguageModelName),
|
|
3087
3045
|
};
|
|
3088
3046
|
};
|
|
3089
|
-
const
|
|
3047
|
+
const de_NonTalkTimeFilter = (output, context) => {
|
|
3090
3048
|
return {
|
|
3091
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3092
|
-
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3093
|
-
: undefined,
|
|
3049
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null ? de_AbsoluteTimeRange(output.AbsoluteTimeRange, context) : undefined,
|
|
3094
3050
|
Negate: __expectBoolean(output.Negate),
|
|
3095
|
-
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3096
|
-
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3097
|
-
: undefined,
|
|
3051
|
+
RelativeTimeRange: output.RelativeTimeRange != null ? de_RelativeTimeRange(output.RelativeTimeRange, context) : undefined,
|
|
3098
3052
|
Threshold: __expectLong(output.Threshold),
|
|
3099
3053
|
};
|
|
3100
3054
|
};
|
|
3101
|
-
const
|
|
3055
|
+
const de_NotFoundException = (output, context) => {
|
|
3102
3056
|
return {
|
|
3103
3057
|
Message: __expectString(output.Message),
|
|
3104
3058
|
};
|
|
3105
3059
|
};
|
|
3106
|
-
const
|
|
3060
|
+
const de_PiiEntityTypes = (output, context) => {
|
|
3107
3061
|
const retVal = (output || [])
|
|
3108
3062
|
.filter((e) => e != null)
|
|
3109
3063
|
.map((entry) => {
|
|
@@ -3114,7 +3068,7 @@ const deserializeAws_json1_1PiiEntityTypes = (output, context) => {
|
|
|
3114
3068
|
});
|
|
3115
3069
|
return retVal;
|
|
3116
3070
|
};
|
|
3117
|
-
const
|
|
3071
|
+
const de_RelativeTimeRange = (output, context) => {
|
|
3118
3072
|
return {
|
|
3119
3073
|
EndPercentage: __expectInt32(output.EndPercentage),
|
|
3120
3074
|
First: __expectInt32(output.First),
|
|
@@ -3122,54 +3076,50 @@ const deserializeAws_json1_1RelativeTimeRange = (output, context) => {
|
|
|
3122
3076
|
StartPercentage: __expectInt32(output.StartPercentage),
|
|
3123
3077
|
};
|
|
3124
3078
|
};
|
|
3125
|
-
const
|
|
3079
|
+
const de_Rule = (output, context) => {
|
|
3126
3080
|
if (output.InterruptionFilter != null) {
|
|
3127
3081
|
return {
|
|
3128
|
-
InterruptionFilter:
|
|
3082
|
+
InterruptionFilter: de_InterruptionFilter(output.InterruptionFilter, context),
|
|
3129
3083
|
};
|
|
3130
3084
|
}
|
|
3131
3085
|
if (output.NonTalkTimeFilter != null) {
|
|
3132
3086
|
return {
|
|
3133
|
-
NonTalkTimeFilter:
|
|
3087
|
+
NonTalkTimeFilter: de_NonTalkTimeFilter(output.NonTalkTimeFilter, context),
|
|
3134
3088
|
};
|
|
3135
3089
|
}
|
|
3136
3090
|
if (output.SentimentFilter != null) {
|
|
3137
3091
|
return {
|
|
3138
|
-
SentimentFilter:
|
|
3092
|
+
SentimentFilter: de_SentimentFilter(output.SentimentFilter, context),
|
|
3139
3093
|
};
|
|
3140
3094
|
}
|
|
3141
3095
|
if (output.TranscriptFilter != null) {
|
|
3142
3096
|
return {
|
|
3143
|
-
TranscriptFilter:
|
|
3097
|
+
TranscriptFilter: de_TranscriptFilter(output.TranscriptFilter, context),
|
|
3144
3098
|
};
|
|
3145
3099
|
}
|
|
3146
3100
|
return { $unknown: Object.entries(output)[0] };
|
|
3147
3101
|
};
|
|
3148
|
-
const
|
|
3102
|
+
const de_RuleList = (output, context) => {
|
|
3149
3103
|
const retVal = (output || [])
|
|
3150
3104
|
.filter((e) => e != null)
|
|
3151
3105
|
.map((entry) => {
|
|
3152
3106
|
if (entry === null) {
|
|
3153
3107
|
return null;
|
|
3154
3108
|
}
|
|
3155
|
-
return
|
|
3109
|
+
return de_Rule(__expectUnion(entry), context);
|
|
3156
3110
|
});
|
|
3157
3111
|
return retVal;
|
|
3158
3112
|
};
|
|
3159
|
-
const
|
|
3113
|
+
const de_SentimentFilter = (output, context) => {
|
|
3160
3114
|
return {
|
|
3161
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3162
|
-
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3163
|
-
: undefined,
|
|
3115
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null ? de_AbsoluteTimeRange(output.AbsoluteTimeRange, context) : undefined,
|
|
3164
3116
|
Negate: __expectBoolean(output.Negate),
|
|
3165
3117
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
3166
|
-
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3167
|
-
|
|
3168
|
-
: undefined,
|
|
3169
|
-
Sentiments: output.Sentiments != null ? deserializeAws_json1_1SentimentValueList(output.Sentiments, context) : undefined,
|
|
3118
|
+
RelativeTimeRange: output.RelativeTimeRange != null ? de_RelativeTimeRange(output.RelativeTimeRange, context) : undefined,
|
|
3119
|
+
Sentiments: output.Sentiments != null ? de_SentimentValueList(output.Sentiments, context) : undefined,
|
|
3170
3120
|
};
|
|
3171
3121
|
};
|
|
3172
|
-
const
|
|
3122
|
+
const de_SentimentValueList = (output, context) => {
|
|
3173
3123
|
const retVal = (output || [])
|
|
3174
3124
|
.filter((e) => e != null)
|
|
3175
3125
|
.map((entry) => {
|
|
@@ -3180,7 +3130,7 @@ const deserializeAws_json1_1SentimentValueList = (output, context) => {
|
|
|
3180
3130
|
});
|
|
3181
3131
|
return retVal;
|
|
3182
3132
|
};
|
|
3183
|
-
const
|
|
3133
|
+
const de_Settings = (output, context) => {
|
|
3184
3134
|
return {
|
|
3185
3135
|
ChannelIdentification: __expectBoolean(output.ChannelIdentification),
|
|
3186
3136
|
MaxAlternatives: __expectInt32(output.MaxAlternatives),
|
|
@@ -3192,28 +3142,24 @@ const deserializeAws_json1_1Settings = (output, context) => {
|
|
|
3192
3142
|
VocabularyName: __expectString(output.VocabularyName),
|
|
3193
3143
|
};
|
|
3194
3144
|
};
|
|
3195
|
-
const
|
|
3145
|
+
const de_StartCallAnalyticsJobResponse = (output, context) => {
|
|
3196
3146
|
return {
|
|
3197
|
-
CallAnalyticsJob: output.CallAnalyticsJob != null
|
|
3198
|
-
? deserializeAws_json1_1CallAnalyticsJob(output.CallAnalyticsJob, context)
|
|
3199
|
-
: undefined,
|
|
3147
|
+
CallAnalyticsJob: output.CallAnalyticsJob != null ? de_CallAnalyticsJob(output.CallAnalyticsJob, context) : undefined,
|
|
3200
3148
|
};
|
|
3201
3149
|
};
|
|
3202
|
-
const
|
|
3150
|
+
const de_StartMedicalTranscriptionJobResponse = (output, context) => {
|
|
3203
3151
|
return {
|
|
3204
3152
|
MedicalTranscriptionJob: output.MedicalTranscriptionJob != null
|
|
3205
|
-
?
|
|
3153
|
+
? de_MedicalTranscriptionJob(output.MedicalTranscriptionJob, context)
|
|
3206
3154
|
: undefined,
|
|
3207
3155
|
};
|
|
3208
3156
|
};
|
|
3209
|
-
const
|
|
3157
|
+
const de_StartTranscriptionJobResponse = (output, context) => {
|
|
3210
3158
|
return {
|
|
3211
|
-
TranscriptionJob: output.TranscriptionJob != null
|
|
3212
|
-
? deserializeAws_json1_1TranscriptionJob(output.TranscriptionJob, context)
|
|
3213
|
-
: undefined,
|
|
3159
|
+
TranscriptionJob: output.TranscriptionJob != null ? de_TranscriptionJob(output.TranscriptionJob, context) : undefined,
|
|
3214
3160
|
};
|
|
3215
3161
|
};
|
|
3216
|
-
const
|
|
3162
|
+
const de_StringTargetList = (output, context) => {
|
|
3217
3163
|
const retVal = (output || [])
|
|
3218
3164
|
.filter((e) => e != null)
|
|
3219
3165
|
.map((entry) => {
|
|
@@ -3224,7 +3170,7 @@ const deserializeAws_json1_1StringTargetList = (output, context) => {
|
|
|
3224
3170
|
});
|
|
3225
3171
|
return retVal;
|
|
3226
3172
|
};
|
|
3227
|
-
const
|
|
3173
|
+
const de_SubtitleFileUris = (output, context) => {
|
|
3228
3174
|
const retVal = (output || [])
|
|
3229
3175
|
.filter((e) => e != null)
|
|
3230
3176
|
.map((entry) => {
|
|
@@ -3235,7 +3181,7 @@ const deserializeAws_json1_1SubtitleFileUris = (output, context) => {
|
|
|
3235
3181
|
});
|
|
3236
3182
|
return retVal;
|
|
3237
3183
|
};
|
|
3238
|
-
const
|
|
3184
|
+
const de_SubtitleFormats = (output, context) => {
|
|
3239
3185
|
const retVal = (output || [])
|
|
3240
3186
|
.filter((e) => e != null)
|
|
3241
3187
|
.map((entry) => {
|
|
@@ -3246,63 +3192,55 @@ const deserializeAws_json1_1SubtitleFormats = (output, context) => {
|
|
|
3246
3192
|
});
|
|
3247
3193
|
return retVal;
|
|
3248
3194
|
};
|
|
3249
|
-
const
|
|
3195
|
+
const de_SubtitlesOutput = (output, context) => {
|
|
3250
3196
|
return {
|
|
3251
|
-
Formats: output.Formats != null ?
|
|
3197
|
+
Formats: output.Formats != null ? de_SubtitleFormats(output.Formats, context) : undefined,
|
|
3252
3198
|
OutputStartIndex: __expectInt32(output.OutputStartIndex),
|
|
3253
|
-
SubtitleFileUris: output.SubtitleFileUris != null
|
|
3254
|
-
? deserializeAws_json1_1SubtitleFileUris(output.SubtitleFileUris, context)
|
|
3255
|
-
: undefined,
|
|
3199
|
+
SubtitleFileUris: output.SubtitleFileUris != null ? de_SubtitleFileUris(output.SubtitleFileUris, context) : undefined,
|
|
3256
3200
|
};
|
|
3257
3201
|
};
|
|
3258
|
-
const
|
|
3202
|
+
const de_Tag = (output, context) => {
|
|
3259
3203
|
return {
|
|
3260
3204
|
Key: __expectString(output.Key),
|
|
3261
3205
|
Value: __expectString(output.Value),
|
|
3262
3206
|
};
|
|
3263
3207
|
};
|
|
3264
|
-
const
|
|
3208
|
+
const de_TagList = (output, context) => {
|
|
3265
3209
|
const retVal = (output || [])
|
|
3266
3210
|
.filter((e) => e != null)
|
|
3267
3211
|
.map((entry) => {
|
|
3268
3212
|
if (entry === null) {
|
|
3269
3213
|
return null;
|
|
3270
3214
|
}
|
|
3271
|
-
return
|
|
3215
|
+
return de_Tag(entry, context);
|
|
3272
3216
|
});
|
|
3273
3217
|
return retVal;
|
|
3274
3218
|
};
|
|
3275
|
-
const
|
|
3219
|
+
const de_TagResourceResponse = (output, context) => {
|
|
3276
3220
|
return {};
|
|
3277
3221
|
};
|
|
3278
|
-
const
|
|
3222
|
+
const de_Transcript = (output, context) => {
|
|
3279
3223
|
return {
|
|
3280
3224
|
RedactedTranscriptFileUri: __expectString(output.RedactedTranscriptFileUri),
|
|
3281
3225
|
TranscriptFileUri: __expectString(output.TranscriptFileUri),
|
|
3282
3226
|
};
|
|
3283
3227
|
};
|
|
3284
|
-
const
|
|
3228
|
+
const de_TranscriptFilter = (output, context) => {
|
|
3285
3229
|
return {
|
|
3286
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3287
|
-
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3288
|
-
: undefined,
|
|
3230
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null ? de_AbsoluteTimeRange(output.AbsoluteTimeRange, context) : undefined,
|
|
3289
3231
|
Negate: __expectBoolean(output.Negate),
|
|
3290
3232
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
3291
|
-
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3292
|
-
|
|
3293
|
-
: undefined,
|
|
3294
|
-
Targets: output.Targets != null ? deserializeAws_json1_1StringTargetList(output.Targets, context) : undefined,
|
|
3233
|
+
RelativeTimeRange: output.RelativeTimeRange != null ? de_RelativeTimeRange(output.RelativeTimeRange, context) : undefined,
|
|
3234
|
+
Targets: output.Targets != null ? de_StringTargetList(output.Targets, context) : undefined,
|
|
3295
3235
|
TranscriptFilterType: __expectString(output.TranscriptFilterType),
|
|
3296
3236
|
};
|
|
3297
3237
|
};
|
|
3298
|
-
const
|
|
3238
|
+
const de_TranscriptionJob = (output, context) => {
|
|
3299
3239
|
return {
|
|
3300
3240
|
CompletionTime: output.CompletionTime != null
|
|
3301
3241
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3302
3242
|
: undefined,
|
|
3303
|
-
ContentRedaction: output.ContentRedaction != null
|
|
3304
|
-
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
3305
|
-
: undefined,
|
|
3243
|
+
ContentRedaction: output.ContentRedaction != null ? de_ContentRedaction(output.ContentRedaction, context) : undefined,
|
|
3306
3244
|
CreationTime: output.CreationTime != null
|
|
3307
3245
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3308
3246
|
: undefined,
|
|
@@ -3310,49 +3248,41 @@ const deserializeAws_json1_1TranscriptionJob = (output, context) => {
|
|
|
3310
3248
|
IdentifiedLanguageScore: __limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
3311
3249
|
IdentifyLanguage: __expectBoolean(output.IdentifyLanguage),
|
|
3312
3250
|
IdentifyMultipleLanguages: __expectBoolean(output.IdentifyMultipleLanguages),
|
|
3313
|
-
JobExecutionSettings: output.JobExecutionSettings != null
|
|
3314
|
-
? deserializeAws_json1_1JobExecutionSettings(output.JobExecutionSettings, context)
|
|
3315
|
-
: undefined,
|
|
3251
|
+
JobExecutionSettings: output.JobExecutionSettings != null ? de_JobExecutionSettings(output.JobExecutionSettings, context) : undefined,
|
|
3316
3252
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3317
|
-
LanguageCodes: output.LanguageCodes != null ?
|
|
3318
|
-
LanguageIdSettings: output.LanguageIdSettings != null
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
LanguageOptions: output.LanguageOptions != null
|
|
3322
|
-
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
3323
|
-
: undefined,
|
|
3324
|
-
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
3253
|
+
LanguageCodes: output.LanguageCodes != null ? de_LanguageCodeList(output.LanguageCodes, context) : undefined,
|
|
3254
|
+
LanguageIdSettings: output.LanguageIdSettings != null ? de_LanguageIdSettingsMap(output.LanguageIdSettings, context) : undefined,
|
|
3255
|
+
LanguageOptions: output.LanguageOptions != null ? de_LanguageOptions(output.LanguageOptions, context) : undefined,
|
|
3256
|
+
Media: output.Media != null ? de_Media(output.Media, context) : undefined,
|
|
3325
3257
|
MediaFormat: __expectString(output.MediaFormat),
|
|
3326
3258
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
3327
|
-
ModelSettings: output.ModelSettings != null ?
|
|
3328
|
-
Settings: output.Settings != null ?
|
|
3259
|
+
ModelSettings: output.ModelSettings != null ? de_ModelSettings(output.ModelSettings, context) : undefined,
|
|
3260
|
+
Settings: output.Settings != null ? de_Settings(output.Settings, context) : undefined,
|
|
3329
3261
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3330
|
-
Subtitles: output.Subtitles != null ?
|
|
3331
|
-
Tags: output.Tags != null ?
|
|
3332
|
-
Transcript: output.Transcript != null ?
|
|
3262
|
+
Subtitles: output.Subtitles != null ? de_SubtitlesOutput(output.Subtitles, context) : undefined,
|
|
3263
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3264
|
+
Transcript: output.Transcript != null ? de_Transcript(output.Transcript, context) : undefined,
|
|
3333
3265
|
TranscriptionJobName: __expectString(output.TranscriptionJobName),
|
|
3334
3266
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
3335
3267
|
};
|
|
3336
3268
|
};
|
|
3337
|
-
const
|
|
3269
|
+
const de_TranscriptionJobSummaries = (output, context) => {
|
|
3338
3270
|
const retVal = (output || [])
|
|
3339
3271
|
.filter((e) => e != null)
|
|
3340
3272
|
.map((entry) => {
|
|
3341
3273
|
if (entry === null) {
|
|
3342
3274
|
return null;
|
|
3343
3275
|
}
|
|
3344
|
-
return
|
|
3276
|
+
return de_TranscriptionJobSummary(entry, context);
|
|
3345
3277
|
});
|
|
3346
3278
|
return retVal;
|
|
3347
3279
|
};
|
|
3348
|
-
const
|
|
3280
|
+
const de_TranscriptionJobSummary = (output, context) => {
|
|
3349
3281
|
return {
|
|
3350
3282
|
CompletionTime: output.CompletionTime != null
|
|
3351
3283
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3352
3284
|
: undefined,
|
|
3353
|
-
ContentRedaction: output.ContentRedaction != null
|
|
3354
|
-
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
3355
|
-
: undefined,
|
|
3285
|
+
ContentRedaction: output.ContentRedaction != null ? de_ContentRedaction(output.ContentRedaction, context) : undefined,
|
|
3356
3286
|
CreationTime: output.CreationTime != null
|
|
3357
3287
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3358
3288
|
: undefined,
|
|
@@ -3361,25 +3291,23 @@ const deserializeAws_json1_1TranscriptionJobSummary = (output, context) => {
|
|
|
3361
3291
|
IdentifyLanguage: __expectBoolean(output.IdentifyLanguage),
|
|
3362
3292
|
IdentifyMultipleLanguages: __expectBoolean(output.IdentifyMultipleLanguages),
|
|
3363
3293
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3364
|
-
LanguageCodes: output.LanguageCodes != null ?
|
|
3365
|
-
ModelSettings: output.ModelSettings != null ?
|
|
3294
|
+
LanguageCodes: output.LanguageCodes != null ? de_LanguageCodeList(output.LanguageCodes, context) : undefined,
|
|
3295
|
+
ModelSettings: output.ModelSettings != null ? de_ModelSettings(output.ModelSettings, context) : undefined,
|
|
3366
3296
|
OutputLocationType: __expectString(output.OutputLocationType),
|
|
3367
3297
|
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3368
3298
|
TranscriptionJobName: __expectString(output.TranscriptionJobName),
|
|
3369
3299
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
3370
3300
|
};
|
|
3371
3301
|
};
|
|
3372
|
-
const
|
|
3302
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
3373
3303
|
return {};
|
|
3374
3304
|
};
|
|
3375
|
-
const
|
|
3305
|
+
const de_UpdateCallAnalyticsCategoryResponse = (output, context) => {
|
|
3376
3306
|
return {
|
|
3377
|
-
CategoryProperties: output.CategoryProperties != null
|
|
3378
|
-
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
3379
|
-
: undefined,
|
|
3307
|
+
CategoryProperties: output.CategoryProperties != null ? de_CategoryProperties(output.CategoryProperties, context) : undefined,
|
|
3380
3308
|
};
|
|
3381
3309
|
};
|
|
3382
|
-
const
|
|
3310
|
+
const de_UpdateMedicalVocabularyResponse = (output, context) => {
|
|
3383
3311
|
return {
|
|
3384
3312
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3385
3313
|
LastModifiedTime: output.LastModifiedTime != null
|
|
@@ -3389,7 +3317,7 @@ const deserializeAws_json1_1UpdateMedicalVocabularyResponse = (output, context)
|
|
|
3389
3317
|
VocabularyState: __expectString(output.VocabularyState),
|
|
3390
3318
|
};
|
|
3391
3319
|
};
|
|
3392
|
-
const
|
|
3320
|
+
const de_UpdateVocabularyFilterResponse = (output, context) => {
|
|
3393
3321
|
return {
|
|
3394
3322
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3395
3323
|
LastModifiedTime: output.LastModifiedTime != null
|
|
@@ -3398,7 +3326,7 @@ const deserializeAws_json1_1UpdateVocabularyFilterResponse = (output, context) =
|
|
|
3398
3326
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
3399
3327
|
};
|
|
3400
3328
|
};
|
|
3401
|
-
const
|
|
3329
|
+
const de_UpdateVocabularyResponse = (output, context) => {
|
|
3402
3330
|
return {
|
|
3403
3331
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3404
3332
|
LastModifiedTime: output.LastModifiedTime != null
|
|
@@ -3408,18 +3336,18 @@ const deserializeAws_json1_1UpdateVocabularyResponse = (output, context) => {
|
|
|
3408
3336
|
VocabularyState: __expectString(output.VocabularyState),
|
|
3409
3337
|
};
|
|
3410
3338
|
};
|
|
3411
|
-
const
|
|
3339
|
+
const de_Vocabularies = (output, context) => {
|
|
3412
3340
|
const retVal = (output || [])
|
|
3413
3341
|
.filter((e) => e != null)
|
|
3414
3342
|
.map((entry) => {
|
|
3415
3343
|
if (entry === null) {
|
|
3416
3344
|
return null;
|
|
3417
3345
|
}
|
|
3418
|
-
return
|
|
3346
|
+
return de_VocabularyInfo(entry, context);
|
|
3419
3347
|
});
|
|
3420
3348
|
return retVal;
|
|
3421
3349
|
};
|
|
3422
|
-
const
|
|
3350
|
+
const de_VocabularyFilterInfo = (output, context) => {
|
|
3423
3351
|
return {
|
|
3424
3352
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3425
3353
|
LastModifiedTime: output.LastModifiedTime != null
|
|
@@ -3428,18 +3356,18 @@ const deserializeAws_json1_1VocabularyFilterInfo = (output, context) => {
|
|
|
3428
3356
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
3429
3357
|
};
|
|
3430
3358
|
};
|
|
3431
|
-
const
|
|
3359
|
+
const de_VocabularyFilters = (output, context) => {
|
|
3432
3360
|
const retVal = (output || [])
|
|
3433
3361
|
.filter((e) => e != null)
|
|
3434
3362
|
.map((entry) => {
|
|
3435
3363
|
if (entry === null) {
|
|
3436
3364
|
return null;
|
|
3437
3365
|
}
|
|
3438
|
-
return
|
|
3366
|
+
return de_VocabularyFilterInfo(entry, context);
|
|
3439
3367
|
});
|
|
3440
3368
|
return retVal;
|
|
3441
3369
|
};
|
|
3442
|
-
const
|
|
3370
|
+
const de_VocabularyInfo = (output, context) => {
|
|
3443
3371
|
return {
|
|
3444
3372
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3445
3373
|
LastModifiedTime: output.LastModifiedTime != null
|