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