@aws-sdk/client-cloudsearch 3.306.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/BuildSuggestersCommand.js +2 -2
- package/dist-cjs/commands/CreateDomainCommand.js +2 -2
- package/dist-cjs/commands/DefineAnalysisSchemeCommand.js +2 -2
- package/dist-cjs/commands/DefineExpressionCommand.js +2 -2
- package/dist-cjs/commands/DefineIndexFieldCommand.js +2 -2
- package/dist-cjs/commands/DefineSuggesterCommand.js +2 -2
- package/dist-cjs/commands/DeleteAnalysisSchemeCommand.js +2 -2
- package/dist-cjs/commands/DeleteDomainCommand.js +2 -2
- package/dist-cjs/commands/DeleteExpressionCommand.js +2 -2
- package/dist-cjs/commands/DeleteIndexFieldCommand.js +2 -2
- package/dist-cjs/commands/DeleteSuggesterCommand.js +2 -2
- package/dist-cjs/commands/DescribeAnalysisSchemesCommand.js +2 -2
- package/dist-cjs/commands/DescribeAvailabilityOptionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeDomainEndpointOptionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeDomainsCommand.js +2 -2
- package/dist-cjs/commands/DescribeExpressionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeIndexFieldsCommand.js +2 -2
- package/dist-cjs/commands/DescribeScalingParametersCommand.js +2 -2
- package/dist-cjs/commands/DescribeServiceAccessPoliciesCommand.js +2 -2
- package/dist-cjs/commands/DescribeSuggestersCommand.js +2 -2
- package/dist-cjs/commands/IndexDocumentsCommand.js +2 -2
- package/dist-cjs/commands/ListDomainNamesCommand.js +2 -2
- package/dist-cjs/commands/UpdateAvailabilityOptionsCommand.js +2 -2
- package/dist-cjs/commands/UpdateDomainEndpointOptionsCommand.js +2 -2
- package/dist-cjs/commands/UpdateScalingParametersCommand.js +2 -2
- package/dist-cjs/commands/UpdateServiceAccessPoliciesCommand.js +2 -2
- package/dist-cjs/protocols/Aws_query.js +546 -546
- package/dist-es/commands/BuildSuggestersCommand.js +3 -3
- package/dist-es/commands/CreateDomainCommand.js +3 -3
- package/dist-es/commands/DefineAnalysisSchemeCommand.js +3 -3
- package/dist-es/commands/DefineExpressionCommand.js +3 -3
- package/dist-es/commands/DefineIndexFieldCommand.js +3 -3
- package/dist-es/commands/DefineSuggesterCommand.js +3 -3
- package/dist-es/commands/DeleteAnalysisSchemeCommand.js +3 -3
- package/dist-es/commands/DeleteDomainCommand.js +3 -3
- package/dist-es/commands/DeleteExpressionCommand.js +3 -3
- package/dist-es/commands/DeleteIndexFieldCommand.js +3 -3
- package/dist-es/commands/DeleteSuggesterCommand.js +3 -3
- package/dist-es/commands/DescribeAnalysisSchemesCommand.js +3 -3
- package/dist-es/commands/DescribeAvailabilityOptionsCommand.js +3 -3
- package/dist-es/commands/DescribeDomainEndpointOptionsCommand.js +3 -3
- package/dist-es/commands/DescribeDomainsCommand.js +3 -3
- package/dist-es/commands/DescribeExpressionsCommand.js +3 -3
- package/dist-es/commands/DescribeIndexFieldsCommand.js +3 -3
- package/dist-es/commands/DescribeScalingParametersCommand.js +3 -3
- package/dist-es/commands/DescribeServiceAccessPoliciesCommand.js +3 -3
- package/dist-es/commands/DescribeSuggestersCommand.js +3 -3
- package/dist-es/commands/IndexDocumentsCommand.js +3 -3
- package/dist-es/commands/ListDomainNamesCommand.js +3 -3
- package/dist-es/commands/UpdateAvailabilityOptionsCommand.js +3 -3
- package/dist-es/commands/UpdateDomainEndpointOptionsCommand.js +3 -3
- package/dist-es/commands/UpdateScalingParametersCommand.js +3 -3
- package/dist-es/commands/UpdateServiceAccessPoliciesCommand.js +3 -3
- package/dist-es/protocols/Aws_query.js +492 -492
- package/dist-types/protocols/Aws_query.d.ts +208 -52
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +52 -52
- package/package.json +6 -6
|
@@ -3,259 +3,259 @@ import { decorateServiceException as __decorateServiceException, expectNonNull a
|
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { CloudSearchServiceException as __BaseException } from "../models/CloudSearchServiceException";
|
|
5
5
|
import { BaseException, DisabledOperationException, InternalException, InvalidTypeException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
|
|
6
|
-
export const
|
|
6
|
+
export const se_BuildSuggestersCommand = async (input, context) => {
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/x-www-form-urlencoded",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
11
|
body = buildFormUrlencodedString({
|
|
12
|
-
...
|
|
12
|
+
...se_BuildSuggestersRequest(input, context),
|
|
13
13
|
Action: "BuildSuggesters",
|
|
14
14
|
Version: "2013-01-01",
|
|
15
15
|
});
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
|
-
export const
|
|
18
|
+
export const se_CreateDomainCommand = async (input, context) => {
|
|
19
19
|
const headers = {
|
|
20
20
|
"content-type": "application/x-www-form-urlencoded",
|
|
21
21
|
};
|
|
22
22
|
let body;
|
|
23
23
|
body = buildFormUrlencodedString({
|
|
24
|
-
...
|
|
24
|
+
...se_CreateDomainRequest(input, context),
|
|
25
25
|
Action: "CreateDomain",
|
|
26
26
|
Version: "2013-01-01",
|
|
27
27
|
});
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
29
|
};
|
|
30
|
-
export const
|
|
30
|
+
export const se_DefineAnalysisSchemeCommand = async (input, context) => {
|
|
31
31
|
const headers = {
|
|
32
32
|
"content-type": "application/x-www-form-urlencoded",
|
|
33
33
|
};
|
|
34
34
|
let body;
|
|
35
35
|
body = buildFormUrlencodedString({
|
|
36
|
-
...
|
|
36
|
+
...se_DefineAnalysisSchemeRequest(input, context),
|
|
37
37
|
Action: "DefineAnalysisScheme",
|
|
38
38
|
Version: "2013-01-01",
|
|
39
39
|
});
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const se_DefineExpressionCommand = async (input, context) => {
|
|
43
43
|
const headers = {
|
|
44
44
|
"content-type": "application/x-www-form-urlencoded",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
47
|
body = buildFormUrlencodedString({
|
|
48
|
-
...
|
|
48
|
+
...se_DefineExpressionRequest(input, context),
|
|
49
49
|
Action: "DefineExpression",
|
|
50
50
|
Version: "2013-01-01",
|
|
51
51
|
});
|
|
52
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
53
|
};
|
|
54
|
-
export const
|
|
54
|
+
export const se_DefineIndexFieldCommand = async (input, context) => {
|
|
55
55
|
const headers = {
|
|
56
56
|
"content-type": "application/x-www-form-urlencoded",
|
|
57
57
|
};
|
|
58
58
|
let body;
|
|
59
59
|
body = buildFormUrlencodedString({
|
|
60
|
-
...
|
|
60
|
+
...se_DefineIndexFieldRequest(input, context),
|
|
61
61
|
Action: "DefineIndexField",
|
|
62
62
|
Version: "2013-01-01",
|
|
63
63
|
});
|
|
64
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
65
|
};
|
|
66
|
-
export const
|
|
66
|
+
export const se_DefineSuggesterCommand = async (input, context) => {
|
|
67
67
|
const headers = {
|
|
68
68
|
"content-type": "application/x-www-form-urlencoded",
|
|
69
69
|
};
|
|
70
70
|
let body;
|
|
71
71
|
body = buildFormUrlencodedString({
|
|
72
|
-
...
|
|
72
|
+
...se_DefineSuggesterRequest(input, context),
|
|
73
73
|
Action: "DefineSuggester",
|
|
74
74
|
Version: "2013-01-01",
|
|
75
75
|
});
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
export const
|
|
78
|
+
export const se_DeleteAnalysisSchemeCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-www-form-urlencoded",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
83
|
body = buildFormUrlencodedString({
|
|
84
|
-
...
|
|
84
|
+
...se_DeleteAnalysisSchemeRequest(input, context),
|
|
85
85
|
Action: "DeleteAnalysisScheme",
|
|
86
86
|
Version: "2013-01-01",
|
|
87
87
|
});
|
|
88
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
89
|
};
|
|
90
|
-
export const
|
|
90
|
+
export const se_DeleteDomainCommand = async (input, context) => {
|
|
91
91
|
const headers = {
|
|
92
92
|
"content-type": "application/x-www-form-urlencoded",
|
|
93
93
|
};
|
|
94
94
|
let body;
|
|
95
95
|
body = buildFormUrlencodedString({
|
|
96
|
-
...
|
|
96
|
+
...se_DeleteDomainRequest(input, context),
|
|
97
97
|
Action: "DeleteDomain",
|
|
98
98
|
Version: "2013-01-01",
|
|
99
99
|
});
|
|
100
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
101
|
};
|
|
102
|
-
export const
|
|
102
|
+
export const se_DeleteExpressionCommand = async (input, context) => {
|
|
103
103
|
const headers = {
|
|
104
104
|
"content-type": "application/x-www-form-urlencoded",
|
|
105
105
|
};
|
|
106
106
|
let body;
|
|
107
107
|
body = buildFormUrlencodedString({
|
|
108
|
-
...
|
|
108
|
+
...se_DeleteExpressionRequest(input, context),
|
|
109
109
|
Action: "DeleteExpression",
|
|
110
110
|
Version: "2013-01-01",
|
|
111
111
|
});
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
|
-
export const
|
|
114
|
+
export const se_DeleteIndexFieldCommand = async (input, context) => {
|
|
115
115
|
const headers = {
|
|
116
116
|
"content-type": "application/x-www-form-urlencoded",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
119
|
body = buildFormUrlencodedString({
|
|
120
|
-
...
|
|
120
|
+
...se_DeleteIndexFieldRequest(input, context),
|
|
121
121
|
Action: "DeleteIndexField",
|
|
122
122
|
Version: "2013-01-01",
|
|
123
123
|
});
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
|
-
export const
|
|
126
|
+
export const se_DeleteSuggesterCommand = async (input, context) => {
|
|
127
127
|
const headers = {
|
|
128
128
|
"content-type": "application/x-www-form-urlencoded",
|
|
129
129
|
};
|
|
130
130
|
let body;
|
|
131
131
|
body = buildFormUrlencodedString({
|
|
132
|
-
...
|
|
132
|
+
...se_DeleteSuggesterRequest(input, context),
|
|
133
133
|
Action: "DeleteSuggester",
|
|
134
134
|
Version: "2013-01-01",
|
|
135
135
|
});
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
|
-
export const
|
|
138
|
+
export const se_DescribeAnalysisSchemesCommand = async (input, context) => {
|
|
139
139
|
const headers = {
|
|
140
140
|
"content-type": "application/x-www-form-urlencoded",
|
|
141
141
|
};
|
|
142
142
|
let body;
|
|
143
143
|
body = buildFormUrlencodedString({
|
|
144
|
-
...
|
|
144
|
+
...se_DescribeAnalysisSchemesRequest(input, context),
|
|
145
145
|
Action: "DescribeAnalysisSchemes",
|
|
146
146
|
Version: "2013-01-01",
|
|
147
147
|
});
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
|
-
export const
|
|
150
|
+
export const se_DescribeAvailabilityOptionsCommand = async (input, context) => {
|
|
151
151
|
const headers = {
|
|
152
152
|
"content-type": "application/x-www-form-urlencoded",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
155
|
body = buildFormUrlencodedString({
|
|
156
|
-
...
|
|
156
|
+
...se_DescribeAvailabilityOptionsRequest(input, context),
|
|
157
157
|
Action: "DescribeAvailabilityOptions",
|
|
158
158
|
Version: "2013-01-01",
|
|
159
159
|
});
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
|
-
export const
|
|
162
|
+
export const se_DescribeDomainEndpointOptionsCommand = async (input, context) => {
|
|
163
163
|
const headers = {
|
|
164
164
|
"content-type": "application/x-www-form-urlencoded",
|
|
165
165
|
};
|
|
166
166
|
let body;
|
|
167
167
|
body = buildFormUrlencodedString({
|
|
168
|
-
...
|
|
168
|
+
...se_DescribeDomainEndpointOptionsRequest(input, context),
|
|
169
169
|
Action: "DescribeDomainEndpointOptions",
|
|
170
170
|
Version: "2013-01-01",
|
|
171
171
|
});
|
|
172
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
173
|
};
|
|
174
|
-
export const
|
|
174
|
+
export const se_DescribeDomainsCommand = async (input, context) => {
|
|
175
175
|
const headers = {
|
|
176
176
|
"content-type": "application/x-www-form-urlencoded",
|
|
177
177
|
};
|
|
178
178
|
let body;
|
|
179
179
|
body = buildFormUrlencodedString({
|
|
180
|
-
...
|
|
180
|
+
...se_DescribeDomainsRequest(input, context),
|
|
181
181
|
Action: "DescribeDomains",
|
|
182
182
|
Version: "2013-01-01",
|
|
183
183
|
});
|
|
184
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
185
|
};
|
|
186
|
-
export const
|
|
186
|
+
export const se_DescribeExpressionsCommand = async (input, context) => {
|
|
187
187
|
const headers = {
|
|
188
188
|
"content-type": "application/x-www-form-urlencoded",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
191
|
body = buildFormUrlencodedString({
|
|
192
|
-
...
|
|
192
|
+
...se_DescribeExpressionsRequest(input, context),
|
|
193
193
|
Action: "DescribeExpressions",
|
|
194
194
|
Version: "2013-01-01",
|
|
195
195
|
});
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
|
-
export const
|
|
198
|
+
export const se_DescribeIndexFieldsCommand = async (input, context) => {
|
|
199
199
|
const headers = {
|
|
200
200
|
"content-type": "application/x-www-form-urlencoded",
|
|
201
201
|
};
|
|
202
202
|
let body;
|
|
203
203
|
body = buildFormUrlencodedString({
|
|
204
|
-
...
|
|
204
|
+
...se_DescribeIndexFieldsRequest(input, context),
|
|
205
205
|
Action: "DescribeIndexFields",
|
|
206
206
|
Version: "2013-01-01",
|
|
207
207
|
});
|
|
208
208
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
209
|
};
|
|
210
|
-
export const
|
|
210
|
+
export const se_DescribeScalingParametersCommand = async (input, context) => {
|
|
211
211
|
const headers = {
|
|
212
212
|
"content-type": "application/x-www-form-urlencoded",
|
|
213
213
|
};
|
|
214
214
|
let body;
|
|
215
215
|
body = buildFormUrlencodedString({
|
|
216
|
-
...
|
|
216
|
+
...se_DescribeScalingParametersRequest(input, context),
|
|
217
217
|
Action: "DescribeScalingParameters",
|
|
218
218
|
Version: "2013-01-01",
|
|
219
219
|
});
|
|
220
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
221
|
};
|
|
222
|
-
export const
|
|
222
|
+
export const se_DescribeServiceAccessPoliciesCommand = async (input, context) => {
|
|
223
223
|
const headers = {
|
|
224
224
|
"content-type": "application/x-www-form-urlencoded",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
227
|
body = buildFormUrlencodedString({
|
|
228
|
-
...
|
|
228
|
+
...se_DescribeServiceAccessPoliciesRequest(input, context),
|
|
229
229
|
Action: "DescribeServiceAccessPolicies",
|
|
230
230
|
Version: "2013-01-01",
|
|
231
231
|
});
|
|
232
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
233
|
};
|
|
234
|
-
export const
|
|
234
|
+
export const se_DescribeSuggestersCommand = async (input, context) => {
|
|
235
235
|
const headers = {
|
|
236
236
|
"content-type": "application/x-www-form-urlencoded",
|
|
237
237
|
};
|
|
238
238
|
let body;
|
|
239
239
|
body = buildFormUrlencodedString({
|
|
240
|
-
...
|
|
240
|
+
...se_DescribeSuggestersRequest(input, context),
|
|
241
241
|
Action: "DescribeSuggesters",
|
|
242
242
|
Version: "2013-01-01",
|
|
243
243
|
});
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
|
-
export const
|
|
246
|
+
export const se_IndexDocumentsCommand = async (input, context) => {
|
|
247
247
|
const headers = {
|
|
248
248
|
"content-type": "application/x-www-form-urlencoded",
|
|
249
249
|
};
|
|
250
250
|
let body;
|
|
251
251
|
body = buildFormUrlencodedString({
|
|
252
|
-
...
|
|
252
|
+
...se_IndexDocumentsRequest(input, context),
|
|
253
253
|
Action: "IndexDocuments",
|
|
254
254
|
Version: "2013-01-01",
|
|
255
255
|
});
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
|
-
export const
|
|
258
|
+
export const se_ListDomainNamesCommand = async (input, context) => {
|
|
259
259
|
const headers = {
|
|
260
260
|
"content-type": "application/x-www-form-urlencoded",
|
|
261
261
|
};
|
|
@@ -265,68 +265,68 @@ export const serializeAws_queryListDomainNamesCommand = async (input, context) =
|
|
|
265
265
|
});
|
|
266
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
267
|
};
|
|
268
|
-
export const
|
|
268
|
+
export const se_UpdateAvailabilityOptionsCommand = async (input, context) => {
|
|
269
269
|
const headers = {
|
|
270
270
|
"content-type": "application/x-www-form-urlencoded",
|
|
271
271
|
};
|
|
272
272
|
let body;
|
|
273
273
|
body = buildFormUrlencodedString({
|
|
274
|
-
...
|
|
274
|
+
...se_UpdateAvailabilityOptionsRequest(input, context),
|
|
275
275
|
Action: "UpdateAvailabilityOptions",
|
|
276
276
|
Version: "2013-01-01",
|
|
277
277
|
});
|
|
278
278
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
279
279
|
};
|
|
280
|
-
export const
|
|
280
|
+
export const se_UpdateDomainEndpointOptionsCommand = async (input, context) => {
|
|
281
281
|
const headers = {
|
|
282
282
|
"content-type": "application/x-www-form-urlencoded",
|
|
283
283
|
};
|
|
284
284
|
let body;
|
|
285
285
|
body = buildFormUrlencodedString({
|
|
286
|
-
...
|
|
286
|
+
...se_UpdateDomainEndpointOptionsRequest(input, context),
|
|
287
287
|
Action: "UpdateDomainEndpointOptions",
|
|
288
288
|
Version: "2013-01-01",
|
|
289
289
|
});
|
|
290
290
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
291
291
|
};
|
|
292
|
-
export const
|
|
292
|
+
export const se_UpdateScalingParametersCommand = async (input, context) => {
|
|
293
293
|
const headers = {
|
|
294
294
|
"content-type": "application/x-www-form-urlencoded",
|
|
295
295
|
};
|
|
296
296
|
let body;
|
|
297
297
|
body = buildFormUrlencodedString({
|
|
298
|
-
...
|
|
298
|
+
...se_UpdateScalingParametersRequest(input, context),
|
|
299
299
|
Action: "UpdateScalingParameters",
|
|
300
300
|
Version: "2013-01-01",
|
|
301
301
|
});
|
|
302
302
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
303
303
|
};
|
|
304
|
-
export const
|
|
304
|
+
export const se_UpdateServiceAccessPoliciesCommand = async (input, context) => {
|
|
305
305
|
const headers = {
|
|
306
306
|
"content-type": "application/x-www-form-urlencoded",
|
|
307
307
|
};
|
|
308
308
|
let body;
|
|
309
309
|
body = buildFormUrlencodedString({
|
|
310
|
-
...
|
|
310
|
+
...se_UpdateServiceAccessPoliciesRequest(input, context),
|
|
311
311
|
Action: "UpdateServiceAccessPolicies",
|
|
312
312
|
Version: "2013-01-01",
|
|
313
313
|
});
|
|
314
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
315
315
|
};
|
|
316
|
-
export const
|
|
316
|
+
export const de_BuildSuggestersCommand = async (output, context) => {
|
|
317
317
|
if (output.statusCode >= 300) {
|
|
318
|
-
return
|
|
318
|
+
return de_BuildSuggestersCommandError(output, context);
|
|
319
319
|
}
|
|
320
320
|
const data = await parseBody(output.body, context);
|
|
321
321
|
let contents = {};
|
|
322
|
-
contents =
|
|
322
|
+
contents = de_BuildSuggestersResponse(data.BuildSuggestersResult, context);
|
|
323
323
|
const response = {
|
|
324
324
|
$metadata: deserializeMetadata(output),
|
|
325
325
|
...contents,
|
|
326
326
|
};
|
|
327
327
|
return Promise.resolve(response);
|
|
328
328
|
};
|
|
329
|
-
const
|
|
329
|
+
const de_BuildSuggestersCommandError = async (output, context) => {
|
|
330
330
|
const parsedOutput = {
|
|
331
331
|
...output,
|
|
332
332
|
body: await parseErrorBody(output.body, context),
|
|
@@ -335,16 +335,16 @@ const deserializeAws_queryBuildSuggestersCommandError = async (output, context)
|
|
|
335
335
|
switch (errorCode) {
|
|
336
336
|
case "BaseException":
|
|
337
337
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
338
|
-
throw await
|
|
338
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
339
339
|
case "InternalException":
|
|
340
340
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
341
|
-
throw await
|
|
341
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
342
342
|
case "ResourceNotFound":
|
|
343
343
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
344
|
-
throw await
|
|
344
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
345
345
|
case "ValidationException":
|
|
346
346
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
347
|
-
throw await
|
|
347
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
348
348
|
default:
|
|
349
349
|
const parsedBody = parsedOutput.body;
|
|
350
350
|
throwDefaultError({
|
|
@@ -355,20 +355,20 @@ const deserializeAws_queryBuildSuggestersCommandError = async (output, context)
|
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
|
-
export const
|
|
358
|
+
export const de_CreateDomainCommand = async (output, context) => {
|
|
359
359
|
if (output.statusCode >= 300) {
|
|
360
|
-
return
|
|
360
|
+
return de_CreateDomainCommandError(output, context);
|
|
361
361
|
}
|
|
362
362
|
const data = await parseBody(output.body, context);
|
|
363
363
|
let contents = {};
|
|
364
|
-
contents =
|
|
364
|
+
contents = de_CreateDomainResponse(data.CreateDomainResult, context);
|
|
365
365
|
const response = {
|
|
366
366
|
$metadata: deserializeMetadata(output),
|
|
367
367
|
...contents,
|
|
368
368
|
};
|
|
369
369
|
return Promise.resolve(response);
|
|
370
370
|
};
|
|
371
|
-
const
|
|
371
|
+
const de_CreateDomainCommandError = async (output, context) => {
|
|
372
372
|
const parsedOutput = {
|
|
373
373
|
...output,
|
|
374
374
|
body: await parseErrorBody(output.body, context),
|
|
@@ -377,19 +377,19 @@ const deserializeAws_queryCreateDomainCommandError = async (output, context) =>
|
|
|
377
377
|
switch (errorCode) {
|
|
378
378
|
case "BaseException":
|
|
379
379
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
380
|
-
throw await
|
|
380
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
381
381
|
case "InternalException":
|
|
382
382
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
383
|
-
throw await
|
|
383
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
384
384
|
case "LimitExceeded":
|
|
385
385
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
386
|
-
throw await
|
|
386
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
387
387
|
case "ResourceAlreadyExists":
|
|
388
388
|
case "com.amazonaws.cloudsearch#ResourceAlreadyExistsException":
|
|
389
|
-
throw await
|
|
389
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
390
390
|
case "ValidationException":
|
|
391
391
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
392
|
-
throw await
|
|
392
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
393
393
|
default:
|
|
394
394
|
const parsedBody = parsedOutput.body;
|
|
395
395
|
throwDefaultError({
|
|
@@ -400,20 +400,20 @@ const deserializeAws_queryCreateDomainCommandError = async (output, context) =>
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
};
|
|
403
|
-
export const
|
|
403
|
+
export const de_DefineAnalysisSchemeCommand = async (output, context) => {
|
|
404
404
|
if (output.statusCode >= 300) {
|
|
405
|
-
return
|
|
405
|
+
return de_DefineAnalysisSchemeCommandError(output, context);
|
|
406
406
|
}
|
|
407
407
|
const data = await parseBody(output.body, context);
|
|
408
408
|
let contents = {};
|
|
409
|
-
contents =
|
|
409
|
+
contents = de_DefineAnalysisSchemeResponse(data.DefineAnalysisSchemeResult, context);
|
|
410
410
|
const response = {
|
|
411
411
|
$metadata: deserializeMetadata(output),
|
|
412
412
|
...contents,
|
|
413
413
|
};
|
|
414
414
|
return Promise.resolve(response);
|
|
415
415
|
};
|
|
416
|
-
const
|
|
416
|
+
const de_DefineAnalysisSchemeCommandError = async (output, context) => {
|
|
417
417
|
const parsedOutput = {
|
|
418
418
|
...output,
|
|
419
419
|
body: await parseErrorBody(output.body, context),
|
|
@@ -422,22 +422,22 @@ const deserializeAws_queryDefineAnalysisSchemeCommandError = async (output, cont
|
|
|
422
422
|
switch (errorCode) {
|
|
423
423
|
case "BaseException":
|
|
424
424
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
425
|
-
throw await
|
|
425
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
426
426
|
case "InternalException":
|
|
427
427
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
428
|
-
throw await
|
|
428
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
429
429
|
case "InvalidType":
|
|
430
430
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
431
|
-
throw await
|
|
431
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
432
432
|
case "LimitExceeded":
|
|
433
433
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
434
|
-
throw await
|
|
434
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
435
435
|
case "ResourceNotFound":
|
|
436
436
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
437
|
-
throw await
|
|
437
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
438
438
|
case "ValidationException":
|
|
439
439
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
440
|
-
throw await
|
|
440
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
441
441
|
default:
|
|
442
442
|
const parsedBody = parsedOutput.body;
|
|
443
443
|
throwDefaultError({
|
|
@@ -448,20 +448,20 @@ const deserializeAws_queryDefineAnalysisSchemeCommandError = async (output, cont
|
|
|
448
448
|
});
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
|
-
export const
|
|
451
|
+
export const de_DefineExpressionCommand = async (output, context) => {
|
|
452
452
|
if (output.statusCode >= 300) {
|
|
453
|
-
return
|
|
453
|
+
return de_DefineExpressionCommandError(output, context);
|
|
454
454
|
}
|
|
455
455
|
const data = await parseBody(output.body, context);
|
|
456
456
|
let contents = {};
|
|
457
|
-
contents =
|
|
457
|
+
contents = de_DefineExpressionResponse(data.DefineExpressionResult, context);
|
|
458
458
|
const response = {
|
|
459
459
|
$metadata: deserializeMetadata(output),
|
|
460
460
|
...contents,
|
|
461
461
|
};
|
|
462
462
|
return Promise.resolve(response);
|
|
463
463
|
};
|
|
464
|
-
const
|
|
464
|
+
const de_DefineExpressionCommandError = async (output, context) => {
|
|
465
465
|
const parsedOutput = {
|
|
466
466
|
...output,
|
|
467
467
|
body: await parseErrorBody(output.body, context),
|
|
@@ -470,22 +470,22 @@ const deserializeAws_queryDefineExpressionCommandError = async (output, context)
|
|
|
470
470
|
switch (errorCode) {
|
|
471
471
|
case "BaseException":
|
|
472
472
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
473
|
-
throw await
|
|
473
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
474
474
|
case "InternalException":
|
|
475
475
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
476
|
-
throw await
|
|
476
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
477
477
|
case "InvalidType":
|
|
478
478
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
479
|
-
throw await
|
|
479
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
480
480
|
case "LimitExceeded":
|
|
481
481
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
482
|
-
throw await
|
|
482
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
483
483
|
case "ResourceNotFound":
|
|
484
484
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
485
|
-
throw await
|
|
485
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
486
486
|
case "ValidationException":
|
|
487
487
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
488
|
-
throw await
|
|
488
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
489
489
|
default:
|
|
490
490
|
const parsedBody = parsedOutput.body;
|
|
491
491
|
throwDefaultError({
|
|
@@ -496,20 +496,20 @@ const deserializeAws_queryDefineExpressionCommandError = async (output, context)
|
|
|
496
496
|
});
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
|
-
export const
|
|
499
|
+
export const de_DefineIndexFieldCommand = async (output, context) => {
|
|
500
500
|
if (output.statusCode >= 300) {
|
|
501
|
-
return
|
|
501
|
+
return de_DefineIndexFieldCommandError(output, context);
|
|
502
502
|
}
|
|
503
503
|
const data = await parseBody(output.body, context);
|
|
504
504
|
let contents = {};
|
|
505
|
-
contents =
|
|
505
|
+
contents = de_DefineIndexFieldResponse(data.DefineIndexFieldResult, context);
|
|
506
506
|
const response = {
|
|
507
507
|
$metadata: deserializeMetadata(output),
|
|
508
508
|
...contents,
|
|
509
509
|
};
|
|
510
510
|
return Promise.resolve(response);
|
|
511
511
|
};
|
|
512
|
-
const
|
|
512
|
+
const de_DefineIndexFieldCommandError = async (output, context) => {
|
|
513
513
|
const parsedOutput = {
|
|
514
514
|
...output,
|
|
515
515
|
body: await parseErrorBody(output.body, context),
|
|
@@ -518,22 +518,22 @@ const deserializeAws_queryDefineIndexFieldCommandError = async (output, context)
|
|
|
518
518
|
switch (errorCode) {
|
|
519
519
|
case "BaseException":
|
|
520
520
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
521
|
-
throw await
|
|
521
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
522
522
|
case "InternalException":
|
|
523
523
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
524
|
-
throw await
|
|
524
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
525
525
|
case "InvalidType":
|
|
526
526
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
527
|
-
throw await
|
|
527
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
528
528
|
case "LimitExceeded":
|
|
529
529
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
530
|
-
throw await
|
|
530
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
531
531
|
case "ResourceNotFound":
|
|
532
532
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
533
|
-
throw await
|
|
533
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
534
534
|
case "ValidationException":
|
|
535
535
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
536
|
-
throw await
|
|
536
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
537
537
|
default:
|
|
538
538
|
const parsedBody = parsedOutput.body;
|
|
539
539
|
throwDefaultError({
|
|
@@ -544,20 +544,20 @@ const deserializeAws_queryDefineIndexFieldCommandError = async (output, context)
|
|
|
544
544
|
});
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
export const
|
|
547
|
+
export const de_DefineSuggesterCommand = async (output, context) => {
|
|
548
548
|
if (output.statusCode >= 300) {
|
|
549
|
-
return
|
|
549
|
+
return de_DefineSuggesterCommandError(output, context);
|
|
550
550
|
}
|
|
551
551
|
const data = await parseBody(output.body, context);
|
|
552
552
|
let contents = {};
|
|
553
|
-
contents =
|
|
553
|
+
contents = de_DefineSuggesterResponse(data.DefineSuggesterResult, context);
|
|
554
554
|
const response = {
|
|
555
555
|
$metadata: deserializeMetadata(output),
|
|
556
556
|
...contents,
|
|
557
557
|
};
|
|
558
558
|
return Promise.resolve(response);
|
|
559
559
|
};
|
|
560
|
-
const
|
|
560
|
+
const de_DefineSuggesterCommandError = async (output, context) => {
|
|
561
561
|
const parsedOutput = {
|
|
562
562
|
...output,
|
|
563
563
|
body: await parseErrorBody(output.body, context),
|
|
@@ -566,22 +566,22 @@ const deserializeAws_queryDefineSuggesterCommandError = async (output, context)
|
|
|
566
566
|
switch (errorCode) {
|
|
567
567
|
case "BaseException":
|
|
568
568
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
569
|
-
throw await
|
|
569
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
570
570
|
case "InternalException":
|
|
571
571
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
572
|
-
throw await
|
|
572
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
573
573
|
case "InvalidType":
|
|
574
574
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
575
|
-
throw await
|
|
575
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
576
576
|
case "LimitExceeded":
|
|
577
577
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
578
|
-
throw await
|
|
578
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
579
579
|
case "ResourceNotFound":
|
|
580
580
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
581
|
-
throw await
|
|
581
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
582
582
|
case "ValidationException":
|
|
583
583
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
584
|
-
throw await
|
|
584
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
585
585
|
default:
|
|
586
586
|
const parsedBody = parsedOutput.body;
|
|
587
587
|
throwDefaultError({
|
|
@@ -592,20 +592,20 @@ const deserializeAws_queryDefineSuggesterCommandError = async (output, context)
|
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
594
|
};
|
|
595
|
-
export const
|
|
595
|
+
export const de_DeleteAnalysisSchemeCommand = async (output, context) => {
|
|
596
596
|
if (output.statusCode >= 300) {
|
|
597
|
-
return
|
|
597
|
+
return de_DeleteAnalysisSchemeCommandError(output, context);
|
|
598
598
|
}
|
|
599
599
|
const data = await parseBody(output.body, context);
|
|
600
600
|
let contents = {};
|
|
601
|
-
contents =
|
|
601
|
+
contents = de_DeleteAnalysisSchemeResponse(data.DeleteAnalysisSchemeResult, context);
|
|
602
602
|
const response = {
|
|
603
603
|
$metadata: deserializeMetadata(output),
|
|
604
604
|
...contents,
|
|
605
605
|
};
|
|
606
606
|
return Promise.resolve(response);
|
|
607
607
|
};
|
|
608
|
-
const
|
|
608
|
+
const de_DeleteAnalysisSchemeCommandError = async (output, context) => {
|
|
609
609
|
const parsedOutput = {
|
|
610
610
|
...output,
|
|
611
611
|
body: await parseErrorBody(output.body, context),
|
|
@@ -614,19 +614,19 @@ const deserializeAws_queryDeleteAnalysisSchemeCommandError = async (output, cont
|
|
|
614
614
|
switch (errorCode) {
|
|
615
615
|
case "BaseException":
|
|
616
616
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
617
|
-
throw await
|
|
617
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
618
618
|
case "InternalException":
|
|
619
619
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
620
|
-
throw await
|
|
620
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
621
621
|
case "InvalidType":
|
|
622
622
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
623
|
-
throw await
|
|
623
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
624
624
|
case "ResourceNotFound":
|
|
625
625
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
626
|
-
throw await
|
|
626
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
627
627
|
case "ValidationException":
|
|
628
628
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
629
|
-
throw await
|
|
629
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
630
630
|
default:
|
|
631
631
|
const parsedBody = parsedOutput.body;
|
|
632
632
|
throwDefaultError({
|
|
@@ -637,20 +637,20 @@ const deserializeAws_queryDeleteAnalysisSchemeCommandError = async (output, cont
|
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
};
|
|
640
|
-
export const
|
|
640
|
+
export const de_DeleteDomainCommand = async (output, context) => {
|
|
641
641
|
if (output.statusCode >= 300) {
|
|
642
|
-
return
|
|
642
|
+
return de_DeleteDomainCommandError(output, context);
|
|
643
643
|
}
|
|
644
644
|
const data = await parseBody(output.body, context);
|
|
645
645
|
let contents = {};
|
|
646
|
-
contents =
|
|
646
|
+
contents = de_DeleteDomainResponse(data.DeleteDomainResult, context);
|
|
647
647
|
const response = {
|
|
648
648
|
$metadata: deserializeMetadata(output),
|
|
649
649
|
...contents,
|
|
650
650
|
};
|
|
651
651
|
return Promise.resolve(response);
|
|
652
652
|
};
|
|
653
|
-
const
|
|
653
|
+
const de_DeleteDomainCommandError = async (output, context) => {
|
|
654
654
|
const parsedOutput = {
|
|
655
655
|
...output,
|
|
656
656
|
body: await parseErrorBody(output.body, context),
|
|
@@ -659,10 +659,10 @@ const deserializeAws_queryDeleteDomainCommandError = async (output, context) =>
|
|
|
659
659
|
switch (errorCode) {
|
|
660
660
|
case "BaseException":
|
|
661
661
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
662
|
-
throw await
|
|
662
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
663
663
|
case "InternalException":
|
|
664
664
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
665
|
-
throw await
|
|
665
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
666
666
|
default:
|
|
667
667
|
const parsedBody = parsedOutput.body;
|
|
668
668
|
throwDefaultError({
|
|
@@ -673,20 +673,20 @@ const deserializeAws_queryDeleteDomainCommandError = async (output, context) =>
|
|
|
673
673
|
});
|
|
674
674
|
}
|
|
675
675
|
};
|
|
676
|
-
export const
|
|
676
|
+
export const de_DeleteExpressionCommand = async (output, context) => {
|
|
677
677
|
if (output.statusCode >= 300) {
|
|
678
|
-
return
|
|
678
|
+
return de_DeleteExpressionCommandError(output, context);
|
|
679
679
|
}
|
|
680
680
|
const data = await parseBody(output.body, context);
|
|
681
681
|
let contents = {};
|
|
682
|
-
contents =
|
|
682
|
+
contents = de_DeleteExpressionResponse(data.DeleteExpressionResult, context);
|
|
683
683
|
const response = {
|
|
684
684
|
$metadata: deserializeMetadata(output),
|
|
685
685
|
...contents,
|
|
686
686
|
};
|
|
687
687
|
return Promise.resolve(response);
|
|
688
688
|
};
|
|
689
|
-
const
|
|
689
|
+
const de_DeleteExpressionCommandError = async (output, context) => {
|
|
690
690
|
const parsedOutput = {
|
|
691
691
|
...output,
|
|
692
692
|
body: await parseErrorBody(output.body, context),
|
|
@@ -695,19 +695,19 @@ const deserializeAws_queryDeleteExpressionCommandError = async (output, context)
|
|
|
695
695
|
switch (errorCode) {
|
|
696
696
|
case "BaseException":
|
|
697
697
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
698
|
-
throw await
|
|
698
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
699
699
|
case "InternalException":
|
|
700
700
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
701
|
-
throw await
|
|
701
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
702
702
|
case "InvalidType":
|
|
703
703
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
704
|
-
throw await
|
|
704
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
705
705
|
case "ResourceNotFound":
|
|
706
706
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
707
|
-
throw await
|
|
707
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
708
708
|
case "ValidationException":
|
|
709
709
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
710
|
-
throw await
|
|
710
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
711
711
|
default:
|
|
712
712
|
const parsedBody = parsedOutput.body;
|
|
713
713
|
throwDefaultError({
|
|
@@ -718,20 +718,20 @@ const deserializeAws_queryDeleteExpressionCommandError = async (output, context)
|
|
|
718
718
|
});
|
|
719
719
|
}
|
|
720
720
|
};
|
|
721
|
-
export const
|
|
721
|
+
export const de_DeleteIndexFieldCommand = async (output, context) => {
|
|
722
722
|
if (output.statusCode >= 300) {
|
|
723
|
-
return
|
|
723
|
+
return de_DeleteIndexFieldCommandError(output, context);
|
|
724
724
|
}
|
|
725
725
|
const data = await parseBody(output.body, context);
|
|
726
726
|
let contents = {};
|
|
727
|
-
contents =
|
|
727
|
+
contents = de_DeleteIndexFieldResponse(data.DeleteIndexFieldResult, context);
|
|
728
728
|
const response = {
|
|
729
729
|
$metadata: deserializeMetadata(output),
|
|
730
730
|
...contents,
|
|
731
731
|
};
|
|
732
732
|
return Promise.resolve(response);
|
|
733
733
|
};
|
|
734
|
-
const
|
|
734
|
+
const de_DeleteIndexFieldCommandError = async (output, context) => {
|
|
735
735
|
const parsedOutput = {
|
|
736
736
|
...output,
|
|
737
737
|
body: await parseErrorBody(output.body, context),
|
|
@@ -740,19 +740,19 @@ const deserializeAws_queryDeleteIndexFieldCommandError = async (output, context)
|
|
|
740
740
|
switch (errorCode) {
|
|
741
741
|
case "BaseException":
|
|
742
742
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
743
|
-
throw await
|
|
743
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
744
744
|
case "InternalException":
|
|
745
745
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
746
|
-
throw await
|
|
746
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
747
747
|
case "InvalidType":
|
|
748
748
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
749
|
-
throw await
|
|
749
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
750
750
|
case "ResourceNotFound":
|
|
751
751
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
752
|
-
throw await
|
|
752
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
753
753
|
case "ValidationException":
|
|
754
754
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
755
|
-
throw await
|
|
755
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
756
756
|
default:
|
|
757
757
|
const parsedBody = parsedOutput.body;
|
|
758
758
|
throwDefaultError({
|
|
@@ -763,20 +763,20 @@ const deserializeAws_queryDeleteIndexFieldCommandError = async (output, context)
|
|
|
763
763
|
});
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
|
-
export const
|
|
766
|
+
export const de_DeleteSuggesterCommand = async (output, context) => {
|
|
767
767
|
if (output.statusCode >= 300) {
|
|
768
|
-
return
|
|
768
|
+
return de_DeleteSuggesterCommandError(output, context);
|
|
769
769
|
}
|
|
770
770
|
const data = await parseBody(output.body, context);
|
|
771
771
|
let contents = {};
|
|
772
|
-
contents =
|
|
772
|
+
contents = de_DeleteSuggesterResponse(data.DeleteSuggesterResult, context);
|
|
773
773
|
const response = {
|
|
774
774
|
$metadata: deserializeMetadata(output),
|
|
775
775
|
...contents,
|
|
776
776
|
};
|
|
777
777
|
return Promise.resolve(response);
|
|
778
778
|
};
|
|
779
|
-
const
|
|
779
|
+
const de_DeleteSuggesterCommandError = async (output, context) => {
|
|
780
780
|
const parsedOutput = {
|
|
781
781
|
...output,
|
|
782
782
|
body: await parseErrorBody(output.body, context),
|
|
@@ -785,19 +785,19 @@ const deserializeAws_queryDeleteSuggesterCommandError = async (output, context)
|
|
|
785
785
|
switch (errorCode) {
|
|
786
786
|
case "BaseException":
|
|
787
787
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
788
|
-
throw await
|
|
788
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
789
789
|
case "InternalException":
|
|
790
790
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
791
|
-
throw await
|
|
791
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
792
792
|
case "InvalidType":
|
|
793
793
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
794
|
-
throw await
|
|
794
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
795
795
|
case "ResourceNotFound":
|
|
796
796
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
797
|
-
throw await
|
|
797
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
798
798
|
case "ValidationException":
|
|
799
799
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
800
|
-
throw await
|
|
800
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
801
801
|
default:
|
|
802
802
|
const parsedBody = parsedOutput.body;
|
|
803
803
|
throwDefaultError({
|
|
@@ -808,20 +808,20 @@ const deserializeAws_queryDeleteSuggesterCommandError = async (output, context)
|
|
|
808
808
|
});
|
|
809
809
|
}
|
|
810
810
|
};
|
|
811
|
-
export const
|
|
811
|
+
export const de_DescribeAnalysisSchemesCommand = async (output, context) => {
|
|
812
812
|
if (output.statusCode >= 300) {
|
|
813
|
-
return
|
|
813
|
+
return de_DescribeAnalysisSchemesCommandError(output, context);
|
|
814
814
|
}
|
|
815
815
|
const data = await parseBody(output.body, context);
|
|
816
816
|
let contents = {};
|
|
817
|
-
contents =
|
|
817
|
+
contents = de_DescribeAnalysisSchemesResponse(data.DescribeAnalysisSchemesResult, context);
|
|
818
818
|
const response = {
|
|
819
819
|
$metadata: deserializeMetadata(output),
|
|
820
820
|
...contents,
|
|
821
821
|
};
|
|
822
822
|
return Promise.resolve(response);
|
|
823
823
|
};
|
|
824
|
-
const
|
|
824
|
+
const de_DescribeAnalysisSchemesCommandError = async (output, context) => {
|
|
825
825
|
const parsedOutput = {
|
|
826
826
|
...output,
|
|
827
827
|
body: await parseErrorBody(output.body, context),
|
|
@@ -830,13 +830,13 @@ const deserializeAws_queryDescribeAnalysisSchemesCommandError = async (output, c
|
|
|
830
830
|
switch (errorCode) {
|
|
831
831
|
case "BaseException":
|
|
832
832
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
833
|
-
throw await
|
|
833
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
834
834
|
case "InternalException":
|
|
835
835
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
836
|
-
throw await
|
|
836
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
837
837
|
case "ResourceNotFound":
|
|
838
838
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
839
|
-
throw await
|
|
839
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
840
840
|
default:
|
|
841
841
|
const parsedBody = parsedOutput.body;
|
|
842
842
|
throwDefaultError({
|
|
@@ -847,20 +847,20 @@ const deserializeAws_queryDescribeAnalysisSchemesCommandError = async (output, c
|
|
|
847
847
|
});
|
|
848
848
|
}
|
|
849
849
|
};
|
|
850
|
-
export const
|
|
850
|
+
export const de_DescribeAvailabilityOptionsCommand = async (output, context) => {
|
|
851
851
|
if (output.statusCode >= 300) {
|
|
852
|
-
return
|
|
852
|
+
return de_DescribeAvailabilityOptionsCommandError(output, context);
|
|
853
853
|
}
|
|
854
854
|
const data = await parseBody(output.body, context);
|
|
855
855
|
let contents = {};
|
|
856
|
-
contents =
|
|
856
|
+
contents = de_DescribeAvailabilityOptionsResponse(data.DescribeAvailabilityOptionsResult, context);
|
|
857
857
|
const response = {
|
|
858
858
|
$metadata: deserializeMetadata(output),
|
|
859
859
|
...contents,
|
|
860
860
|
};
|
|
861
861
|
return Promise.resolve(response);
|
|
862
862
|
};
|
|
863
|
-
const
|
|
863
|
+
const de_DescribeAvailabilityOptionsCommandError = async (output, context) => {
|
|
864
864
|
const parsedOutput = {
|
|
865
865
|
...output,
|
|
866
866
|
body: await parseErrorBody(output.body, context),
|
|
@@ -869,22 +869,22 @@ const deserializeAws_queryDescribeAvailabilityOptionsCommandError = async (outpu
|
|
|
869
869
|
switch (errorCode) {
|
|
870
870
|
case "BaseException":
|
|
871
871
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
872
|
-
throw await
|
|
872
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
873
873
|
case "DisabledAction":
|
|
874
874
|
case "com.amazonaws.cloudsearch#DisabledOperationException":
|
|
875
|
-
throw await
|
|
875
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
876
876
|
case "InternalException":
|
|
877
877
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
878
|
-
throw await
|
|
878
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
879
879
|
case "InvalidType":
|
|
880
880
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
881
|
-
throw await
|
|
881
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
882
882
|
case "LimitExceeded":
|
|
883
883
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
884
|
-
throw await
|
|
884
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
885
885
|
case "ResourceNotFound":
|
|
886
886
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
887
|
-
throw await
|
|
887
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
888
888
|
default:
|
|
889
889
|
const parsedBody = parsedOutput.body;
|
|
890
890
|
throwDefaultError({
|
|
@@ -895,20 +895,20 @@ const deserializeAws_queryDescribeAvailabilityOptionsCommandError = async (outpu
|
|
|
895
895
|
});
|
|
896
896
|
}
|
|
897
897
|
};
|
|
898
|
-
export const
|
|
898
|
+
export const de_DescribeDomainEndpointOptionsCommand = async (output, context) => {
|
|
899
899
|
if (output.statusCode >= 300) {
|
|
900
|
-
return
|
|
900
|
+
return de_DescribeDomainEndpointOptionsCommandError(output, context);
|
|
901
901
|
}
|
|
902
902
|
const data = await parseBody(output.body, context);
|
|
903
903
|
let contents = {};
|
|
904
|
-
contents =
|
|
904
|
+
contents = de_DescribeDomainEndpointOptionsResponse(data.DescribeDomainEndpointOptionsResult, context);
|
|
905
905
|
const response = {
|
|
906
906
|
$metadata: deserializeMetadata(output),
|
|
907
907
|
...contents,
|
|
908
908
|
};
|
|
909
909
|
return Promise.resolve(response);
|
|
910
910
|
};
|
|
911
|
-
const
|
|
911
|
+
const de_DescribeDomainEndpointOptionsCommandError = async (output, context) => {
|
|
912
912
|
const parsedOutput = {
|
|
913
913
|
...output,
|
|
914
914
|
body: await parseErrorBody(output.body, context),
|
|
@@ -917,19 +917,19 @@ const deserializeAws_queryDescribeDomainEndpointOptionsCommandError = async (out
|
|
|
917
917
|
switch (errorCode) {
|
|
918
918
|
case "BaseException":
|
|
919
919
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
920
|
-
throw await
|
|
920
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
921
921
|
case "DisabledAction":
|
|
922
922
|
case "com.amazonaws.cloudsearch#DisabledOperationException":
|
|
923
|
-
throw await
|
|
923
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
924
924
|
case "InternalException":
|
|
925
925
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
926
|
-
throw await
|
|
926
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
927
927
|
case "LimitExceeded":
|
|
928
928
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
929
|
-
throw await
|
|
929
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
930
930
|
case "ResourceNotFound":
|
|
931
931
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
932
|
-
throw await
|
|
932
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
933
933
|
default:
|
|
934
934
|
const parsedBody = parsedOutput.body;
|
|
935
935
|
throwDefaultError({
|
|
@@ -940,20 +940,20 @@ const deserializeAws_queryDescribeDomainEndpointOptionsCommandError = async (out
|
|
|
940
940
|
});
|
|
941
941
|
}
|
|
942
942
|
};
|
|
943
|
-
export const
|
|
943
|
+
export const de_DescribeDomainsCommand = async (output, context) => {
|
|
944
944
|
if (output.statusCode >= 300) {
|
|
945
|
-
return
|
|
945
|
+
return de_DescribeDomainsCommandError(output, context);
|
|
946
946
|
}
|
|
947
947
|
const data = await parseBody(output.body, context);
|
|
948
948
|
let contents = {};
|
|
949
|
-
contents =
|
|
949
|
+
contents = de_DescribeDomainsResponse(data.DescribeDomainsResult, context);
|
|
950
950
|
const response = {
|
|
951
951
|
$metadata: deserializeMetadata(output),
|
|
952
952
|
...contents,
|
|
953
953
|
};
|
|
954
954
|
return Promise.resolve(response);
|
|
955
955
|
};
|
|
956
|
-
const
|
|
956
|
+
const de_DescribeDomainsCommandError = async (output, context) => {
|
|
957
957
|
const parsedOutput = {
|
|
958
958
|
...output,
|
|
959
959
|
body: await parseErrorBody(output.body, context),
|
|
@@ -962,10 +962,10 @@ const deserializeAws_queryDescribeDomainsCommandError = async (output, context)
|
|
|
962
962
|
switch (errorCode) {
|
|
963
963
|
case "BaseException":
|
|
964
964
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
965
|
-
throw await
|
|
965
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
966
966
|
case "InternalException":
|
|
967
967
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
968
|
-
throw await
|
|
968
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
969
969
|
default:
|
|
970
970
|
const parsedBody = parsedOutput.body;
|
|
971
971
|
throwDefaultError({
|
|
@@ -976,20 +976,20 @@ const deserializeAws_queryDescribeDomainsCommandError = async (output, context)
|
|
|
976
976
|
});
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
|
-
export const
|
|
979
|
+
export const de_DescribeExpressionsCommand = async (output, context) => {
|
|
980
980
|
if (output.statusCode >= 300) {
|
|
981
|
-
return
|
|
981
|
+
return de_DescribeExpressionsCommandError(output, context);
|
|
982
982
|
}
|
|
983
983
|
const data = await parseBody(output.body, context);
|
|
984
984
|
let contents = {};
|
|
985
|
-
contents =
|
|
985
|
+
contents = de_DescribeExpressionsResponse(data.DescribeExpressionsResult, context);
|
|
986
986
|
const response = {
|
|
987
987
|
$metadata: deserializeMetadata(output),
|
|
988
988
|
...contents,
|
|
989
989
|
};
|
|
990
990
|
return Promise.resolve(response);
|
|
991
991
|
};
|
|
992
|
-
const
|
|
992
|
+
const de_DescribeExpressionsCommandError = async (output, context) => {
|
|
993
993
|
const parsedOutput = {
|
|
994
994
|
...output,
|
|
995
995
|
body: await parseErrorBody(output.body, context),
|
|
@@ -998,13 +998,13 @@ const deserializeAws_queryDescribeExpressionsCommandError = async (output, conte
|
|
|
998
998
|
switch (errorCode) {
|
|
999
999
|
case "BaseException":
|
|
1000
1000
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1001
|
-
throw await
|
|
1001
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1002
1002
|
case "InternalException":
|
|
1003
1003
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1004
|
-
throw await
|
|
1004
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1005
1005
|
case "ResourceNotFound":
|
|
1006
1006
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1007
|
-
throw await
|
|
1007
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1008
1008
|
default:
|
|
1009
1009
|
const parsedBody = parsedOutput.body;
|
|
1010
1010
|
throwDefaultError({
|
|
@@ -1015,20 +1015,20 @@ const deserializeAws_queryDescribeExpressionsCommandError = async (output, conte
|
|
|
1015
1015
|
});
|
|
1016
1016
|
}
|
|
1017
1017
|
};
|
|
1018
|
-
export const
|
|
1018
|
+
export const de_DescribeIndexFieldsCommand = async (output, context) => {
|
|
1019
1019
|
if (output.statusCode >= 300) {
|
|
1020
|
-
return
|
|
1020
|
+
return de_DescribeIndexFieldsCommandError(output, context);
|
|
1021
1021
|
}
|
|
1022
1022
|
const data = await parseBody(output.body, context);
|
|
1023
1023
|
let contents = {};
|
|
1024
|
-
contents =
|
|
1024
|
+
contents = de_DescribeIndexFieldsResponse(data.DescribeIndexFieldsResult, context);
|
|
1025
1025
|
const response = {
|
|
1026
1026
|
$metadata: deserializeMetadata(output),
|
|
1027
1027
|
...contents,
|
|
1028
1028
|
};
|
|
1029
1029
|
return Promise.resolve(response);
|
|
1030
1030
|
};
|
|
1031
|
-
const
|
|
1031
|
+
const de_DescribeIndexFieldsCommandError = async (output, context) => {
|
|
1032
1032
|
const parsedOutput = {
|
|
1033
1033
|
...output,
|
|
1034
1034
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1037,13 +1037,13 @@ const deserializeAws_queryDescribeIndexFieldsCommandError = async (output, conte
|
|
|
1037
1037
|
switch (errorCode) {
|
|
1038
1038
|
case "BaseException":
|
|
1039
1039
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1040
|
-
throw await
|
|
1040
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1041
1041
|
case "InternalException":
|
|
1042
1042
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1043
|
-
throw await
|
|
1043
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1044
1044
|
case "ResourceNotFound":
|
|
1045
1045
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1046
|
-
throw await
|
|
1046
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1047
1047
|
default:
|
|
1048
1048
|
const parsedBody = parsedOutput.body;
|
|
1049
1049
|
throwDefaultError({
|
|
@@ -1054,20 +1054,20 @@ const deserializeAws_queryDescribeIndexFieldsCommandError = async (output, conte
|
|
|
1054
1054
|
});
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
|
-
export const
|
|
1057
|
+
export const de_DescribeScalingParametersCommand = async (output, context) => {
|
|
1058
1058
|
if (output.statusCode >= 300) {
|
|
1059
|
-
return
|
|
1059
|
+
return de_DescribeScalingParametersCommandError(output, context);
|
|
1060
1060
|
}
|
|
1061
1061
|
const data = await parseBody(output.body, context);
|
|
1062
1062
|
let contents = {};
|
|
1063
|
-
contents =
|
|
1063
|
+
contents = de_DescribeScalingParametersResponse(data.DescribeScalingParametersResult, context);
|
|
1064
1064
|
const response = {
|
|
1065
1065
|
$metadata: deserializeMetadata(output),
|
|
1066
1066
|
...contents,
|
|
1067
1067
|
};
|
|
1068
1068
|
return Promise.resolve(response);
|
|
1069
1069
|
};
|
|
1070
|
-
const
|
|
1070
|
+
const de_DescribeScalingParametersCommandError = async (output, context) => {
|
|
1071
1071
|
const parsedOutput = {
|
|
1072
1072
|
...output,
|
|
1073
1073
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1076,13 +1076,13 @@ const deserializeAws_queryDescribeScalingParametersCommandError = async (output,
|
|
|
1076
1076
|
switch (errorCode) {
|
|
1077
1077
|
case "BaseException":
|
|
1078
1078
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1079
|
-
throw await
|
|
1079
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1080
1080
|
case "InternalException":
|
|
1081
1081
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1082
|
-
throw await
|
|
1082
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1083
1083
|
case "ResourceNotFound":
|
|
1084
1084
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1085
|
-
throw await
|
|
1085
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1086
1086
|
default:
|
|
1087
1087
|
const parsedBody = parsedOutput.body;
|
|
1088
1088
|
throwDefaultError({
|
|
@@ -1093,20 +1093,20 @@ const deserializeAws_queryDescribeScalingParametersCommandError = async (output,
|
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
1095
|
};
|
|
1096
|
-
export const
|
|
1096
|
+
export const de_DescribeServiceAccessPoliciesCommand = async (output, context) => {
|
|
1097
1097
|
if (output.statusCode >= 300) {
|
|
1098
|
-
return
|
|
1098
|
+
return de_DescribeServiceAccessPoliciesCommandError(output, context);
|
|
1099
1099
|
}
|
|
1100
1100
|
const data = await parseBody(output.body, context);
|
|
1101
1101
|
let contents = {};
|
|
1102
|
-
contents =
|
|
1102
|
+
contents = de_DescribeServiceAccessPoliciesResponse(data.DescribeServiceAccessPoliciesResult, context);
|
|
1103
1103
|
const response = {
|
|
1104
1104
|
$metadata: deserializeMetadata(output),
|
|
1105
1105
|
...contents,
|
|
1106
1106
|
};
|
|
1107
1107
|
return Promise.resolve(response);
|
|
1108
1108
|
};
|
|
1109
|
-
const
|
|
1109
|
+
const de_DescribeServiceAccessPoliciesCommandError = async (output, context) => {
|
|
1110
1110
|
const parsedOutput = {
|
|
1111
1111
|
...output,
|
|
1112
1112
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1115,13 +1115,13 @@ const deserializeAws_queryDescribeServiceAccessPoliciesCommandError = async (out
|
|
|
1115
1115
|
switch (errorCode) {
|
|
1116
1116
|
case "BaseException":
|
|
1117
1117
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1118
|
-
throw await
|
|
1118
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1119
1119
|
case "InternalException":
|
|
1120
1120
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1121
|
-
throw await
|
|
1121
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1122
1122
|
case "ResourceNotFound":
|
|
1123
1123
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1124
|
-
throw await
|
|
1124
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1125
1125
|
default:
|
|
1126
1126
|
const parsedBody = parsedOutput.body;
|
|
1127
1127
|
throwDefaultError({
|
|
@@ -1132,20 +1132,20 @@ const deserializeAws_queryDescribeServiceAccessPoliciesCommandError = async (out
|
|
|
1132
1132
|
});
|
|
1133
1133
|
}
|
|
1134
1134
|
};
|
|
1135
|
-
export const
|
|
1135
|
+
export const de_DescribeSuggestersCommand = async (output, context) => {
|
|
1136
1136
|
if (output.statusCode >= 300) {
|
|
1137
|
-
return
|
|
1137
|
+
return de_DescribeSuggestersCommandError(output, context);
|
|
1138
1138
|
}
|
|
1139
1139
|
const data = await parseBody(output.body, context);
|
|
1140
1140
|
let contents = {};
|
|
1141
|
-
contents =
|
|
1141
|
+
contents = de_DescribeSuggestersResponse(data.DescribeSuggestersResult, context);
|
|
1142
1142
|
const response = {
|
|
1143
1143
|
$metadata: deserializeMetadata(output),
|
|
1144
1144
|
...contents,
|
|
1145
1145
|
};
|
|
1146
1146
|
return Promise.resolve(response);
|
|
1147
1147
|
};
|
|
1148
|
-
const
|
|
1148
|
+
const de_DescribeSuggestersCommandError = async (output, context) => {
|
|
1149
1149
|
const parsedOutput = {
|
|
1150
1150
|
...output,
|
|
1151
1151
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1154,13 +1154,13 @@ const deserializeAws_queryDescribeSuggestersCommandError = async (output, contex
|
|
|
1154
1154
|
switch (errorCode) {
|
|
1155
1155
|
case "BaseException":
|
|
1156
1156
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1157
|
-
throw await
|
|
1157
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1158
1158
|
case "InternalException":
|
|
1159
1159
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1160
|
-
throw await
|
|
1160
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1161
1161
|
case "ResourceNotFound":
|
|
1162
1162
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1163
|
-
throw await
|
|
1163
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1164
1164
|
default:
|
|
1165
1165
|
const parsedBody = parsedOutput.body;
|
|
1166
1166
|
throwDefaultError({
|
|
@@ -1171,20 +1171,20 @@ const deserializeAws_queryDescribeSuggestersCommandError = async (output, contex
|
|
|
1171
1171
|
});
|
|
1172
1172
|
}
|
|
1173
1173
|
};
|
|
1174
|
-
export const
|
|
1174
|
+
export const de_IndexDocumentsCommand = async (output, context) => {
|
|
1175
1175
|
if (output.statusCode >= 300) {
|
|
1176
|
-
return
|
|
1176
|
+
return de_IndexDocumentsCommandError(output, context);
|
|
1177
1177
|
}
|
|
1178
1178
|
const data = await parseBody(output.body, context);
|
|
1179
1179
|
let contents = {};
|
|
1180
|
-
contents =
|
|
1180
|
+
contents = de_IndexDocumentsResponse(data.IndexDocumentsResult, context);
|
|
1181
1181
|
const response = {
|
|
1182
1182
|
$metadata: deserializeMetadata(output),
|
|
1183
1183
|
...contents,
|
|
1184
1184
|
};
|
|
1185
1185
|
return Promise.resolve(response);
|
|
1186
1186
|
};
|
|
1187
|
-
const
|
|
1187
|
+
const de_IndexDocumentsCommandError = async (output, context) => {
|
|
1188
1188
|
const parsedOutput = {
|
|
1189
1189
|
...output,
|
|
1190
1190
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1193,16 +1193,16 @@ const deserializeAws_queryIndexDocumentsCommandError = async (output, context) =
|
|
|
1193
1193
|
switch (errorCode) {
|
|
1194
1194
|
case "BaseException":
|
|
1195
1195
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1196
|
-
throw await
|
|
1196
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1197
1197
|
case "InternalException":
|
|
1198
1198
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1199
|
-
throw await
|
|
1199
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1200
1200
|
case "ResourceNotFound":
|
|
1201
1201
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1202
|
-
throw await
|
|
1202
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1203
1203
|
case "ValidationException":
|
|
1204
1204
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1205
|
-
throw await
|
|
1205
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1206
1206
|
default:
|
|
1207
1207
|
const parsedBody = parsedOutput.body;
|
|
1208
1208
|
throwDefaultError({
|
|
@@ -1213,20 +1213,20 @@ const deserializeAws_queryIndexDocumentsCommandError = async (output, context) =
|
|
|
1213
1213
|
});
|
|
1214
1214
|
}
|
|
1215
1215
|
};
|
|
1216
|
-
export const
|
|
1216
|
+
export const de_ListDomainNamesCommand = async (output, context) => {
|
|
1217
1217
|
if (output.statusCode >= 300) {
|
|
1218
|
-
return
|
|
1218
|
+
return de_ListDomainNamesCommandError(output, context);
|
|
1219
1219
|
}
|
|
1220
1220
|
const data = await parseBody(output.body, context);
|
|
1221
1221
|
let contents = {};
|
|
1222
|
-
contents =
|
|
1222
|
+
contents = de_ListDomainNamesResponse(data.ListDomainNamesResult, context);
|
|
1223
1223
|
const response = {
|
|
1224
1224
|
$metadata: deserializeMetadata(output),
|
|
1225
1225
|
...contents,
|
|
1226
1226
|
};
|
|
1227
1227
|
return Promise.resolve(response);
|
|
1228
1228
|
};
|
|
1229
|
-
const
|
|
1229
|
+
const de_ListDomainNamesCommandError = async (output, context) => {
|
|
1230
1230
|
const parsedOutput = {
|
|
1231
1231
|
...output,
|
|
1232
1232
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1235,7 +1235,7 @@ const deserializeAws_queryListDomainNamesCommandError = async (output, context)
|
|
|
1235
1235
|
switch (errorCode) {
|
|
1236
1236
|
case "BaseException":
|
|
1237
1237
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1238
|
-
throw await
|
|
1238
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1239
1239
|
default:
|
|
1240
1240
|
const parsedBody = parsedOutput.body;
|
|
1241
1241
|
throwDefaultError({
|
|
@@ -1246,20 +1246,20 @@ const deserializeAws_queryListDomainNamesCommandError = async (output, context)
|
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
1248
|
};
|
|
1249
|
-
export const
|
|
1249
|
+
export const de_UpdateAvailabilityOptionsCommand = async (output, context) => {
|
|
1250
1250
|
if (output.statusCode >= 300) {
|
|
1251
|
-
return
|
|
1251
|
+
return de_UpdateAvailabilityOptionsCommandError(output, context);
|
|
1252
1252
|
}
|
|
1253
1253
|
const data = await parseBody(output.body, context);
|
|
1254
1254
|
let contents = {};
|
|
1255
|
-
contents =
|
|
1255
|
+
contents = de_UpdateAvailabilityOptionsResponse(data.UpdateAvailabilityOptionsResult, context);
|
|
1256
1256
|
const response = {
|
|
1257
1257
|
$metadata: deserializeMetadata(output),
|
|
1258
1258
|
...contents,
|
|
1259
1259
|
};
|
|
1260
1260
|
return Promise.resolve(response);
|
|
1261
1261
|
};
|
|
1262
|
-
const
|
|
1262
|
+
const de_UpdateAvailabilityOptionsCommandError = async (output, context) => {
|
|
1263
1263
|
const parsedOutput = {
|
|
1264
1264
|
...output,
|
|
1265
1265
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1268,25 +1268,25 @@ const deserializeAws_queryUpdateAvailabilityOptionsCommandError = async (output,
|
|
|
1268
1268
|
switch (errorCode) {
|
|
1269
1269
|
case "BaseException":
|
|
1270
1270
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1271
|
-
throw await
|
|
1271
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1272
1272
|
case "DisabledAction":
|
|
1273
1273
|
case "com.amazonaws.cloudsearch#DisabledOperationException":
|
|
1274
|
-
throw await
|
|
1274
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
1275
1275
|
case "InternalException":
|
|
1276
1276
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1277
|
-
throw await
|
|
1277
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1278
1278
|
case "InvalidType":
|
|
1279
1279
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
1280
|
-
throw await
|
|
1280
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
1281
1281
|
case "LimitExceeded":
|
|
1282
1282
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
1283
|
-
throw await
|
|
1283
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1284
1284
|
case "ResourceNotFound":
|
|
1285
1285
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1286
|
-
throw await
|
|
1286
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1287
1287
|
case "ValidationException":
|
|
1288
1288
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1289
|
-
throw await
|
|
1289
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1290
1290
|
default:
|
|
1291
1291
|
const parsedBody = parsedOutput.body;
|
|
1292
1292
|
throwDefaultError({
|
|
@@ -1297,20 +1297,20 @@ const deserializeAws_queryUpdateAvailabilityOptionsCommandError = async (output,
|
|
|
1297
1297
|
});
|
|
1298
1298
|
}
|
|
1299
1299
|
};
|
|
1300
|
-
export const
|
|
1300
|
+
export const de_UpdateDomainEndpointOptionsCommand = async (output, context) => {
|
|
1301
1301
|
if (output.statusCode >= 300) {
|
|
1302
|
-
return
|
|
1302
|
+
return de_UpdateDomainEndpointOptionsCommandError(output, context);
|
|
1303
1303
|
}
|
|
1304
1304
|
const data = await parseBody(output.body, context);
|
|
1305
1305
|
let contents = {};
|
|
1306
|
-
contents =
|
|
1306
|
+
contents = de_UpdateDomainEndpointOptionsResponse(data.UpdateDomainEndpointOptionsResult, context);
|
|
1307
1307
|
const response = {
|
|
1308
1308
|
$metadata: deserializeMetadata(output),
|
|
1309
1309
|
...contents,
|
|
1310
1310
|
};
|
|
1311
1311
|
return Promise.resolve(response);
|
|
1312
1312
|
};
|
|
1313
|
-
const
|
|
1313
|
+
const de_UpdateDomainEndpointOptionsCommandError = async (output, context) => {
|
|
1314
1314
|
const parsedOutput = {
|
|
1315
1315
|
...output,
|
|
1316
1316
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1319,25 +1319,25 @@ const deserializeAws_queryUpdateDomainEndpointOptionsCommandError = async (outpu
|
|
|
1319
1319
|
switch (errorCode) {
|
|
1320
1320
|
case "BaseException":
|
|
1321
1321
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1322
|
-
throw await
|
|
1322
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1323
1323
|
case "DisabledAction":
|
|
1324
1324
|
case "com.amazonaws.cloudsearch#DisabledOperationException":
|
|
1325
|
-
throw await
|
|
1325
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
1326
1326
|
case "InternalException":
|
|
1327
1327
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1328
|
-
throw await
|
|
1328
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1329
1329
|
case "InvalidType":
|
|
1330
1330
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
1331
|
-
throw await
|
|
1331
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
1332
1332
|
case "LimitExceeded":
|
|
1333
1333
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
1334
|
-
throw await
|
|
1334
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1335
1335
|
case "ResourceNotFound":
|
|
1336
1336
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1337
|
-
throw await
|
|
1337
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1338
1338
|
case "ValidationException":
|
|
1339
1339
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1340
|
-
throw await
|
|
1340
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1341
1341
|
default:
|
|
1342
1342
|
const parsedBody = parsedOutput.body;
|
|
1343
1343
|
throwDefaultError({
|
|
@@ -1348,20 +1348,20 @@ const deserializeAws_queryUpdateDomainEndpointOptionsCommandError = async (outpu
|
|
|
1348
1348
|
});
|
|
1349
1349
|
}
|
|
1350
1350
|
};
|
|
1351
|
-
export const
|
|
1351
|
+
export const de_UpdateScalingParametersCommand = async (output, context) => {
|
|
1352
1352
|
if (output.statusCode >= 300) {
|
|
1353
|
-
return
|
|
1353
|
+
return de_UpdateScalingParametersCommandError(output, context);
|
|
1354
1354
|
}
|
|
1355
1355
|
const data = await parseBody(output.body, context);
|
|
1356
1356
|
let contents = {};
|
|
1357
|
-
contents =
|
|
1357
|
+
contents = de_UpdateScalingParametersResponse(data.UpdateScalingParametersResult, context);
|
|
1358
1358
|
const response = {
|
|
1359
1359
|
$metadata: deserializeMetadata(output),
|
|
1360
1360
|
...contents,
|
|
1361
1361
|
};
|
|
1362
1362
|
return Promise.resolve(response);
|
|
1363
1363
|
};
|
|
1364
|
-
const
|
|
1364
|
+
const de_UpdateScalingParametersCommandError = async (output, context) => {
|
|
1365
1365
|
const parsedOutput = {
|
|
1366
1366
|
...output,
|
|
1367
1367
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1370,22 +1370,22 @@ const deserializeAws_queryUpdateScalingParametersCommandError = async (output, c
|
|
|
1370
1370
|
switch (errorCode) {
|
|
1371
1371
|
case "BaseException":
|
|
1372
1372
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1373
|
-
throw await
|
|
1373
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1374
1374
|
case "InternalException":
|
|
1375
1375
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1376
|
-
throw await
|
|
1376
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1377
1377
|
case "InvalidType":
|
|
1378
1378
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
1379
|
-
throw await
|
|
1379
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
1380
1380
|
case "LimitExceeded":
|
|
1381
1381
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
1382
|
-
throw await
|
|
1382
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1383
1383
|
case "ResourceNotFound":
|
|
1384
1384
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1385
|
-
throw await
|
|
1385
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1386
1386
|
case "ValidationException":
|
|
1387
1387
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1388
|
-
throw await
|
|
1388
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1389
1389
|
default:
|
|
1390
1390
|
const parsedBody = parsedOutput.body;
|
|
1391
1391
|
throwDefaultError({
|
|
@@ -1396,20 +1396,20 @@ const deserializeAws_queryUpdateScalingParametersCommandError = async (output, c
|
|
|
1396
1396
|
});
|
|
1397
1397
|
}
|
|
1398
1398
|
};
|
|
1399
|
-
export const
|
|
1399
|
+
export const de_UpdateServiceAccessPoliciesCommand = async (output, context) => {
|
|
1400
1400
|
if (output.statusCode >= 300) {
|
|
1401
|
-
return
|
|
1401
|
+
return de_UpdateServiceAccessPoliciesCommandError(output, context);
|
|
1402
1402
|
}
|
|
1403
1403
|
const data = await parseBody(output.body, context);
|
|
1404
1404
|
let contents = {};
|
|
1405
|
-
contents =
|
|
1405
|
+
contents = de_UpdateServiceAccessPoliciesResponse(data.UpdateServiceAccessPoliciesResult, context);
|
|
1406
1406
|
const response = {
|
|
1407
1407
|
$metadata: deserializeMetadata(output),
|
|
1408
1408
|
...contents,
|
|
1409
1409
|
};
|
|
1410
1410
|
return Promise.resolve(response);
|
|
1411
1411
|
};
|
|
1412
|
-
const
|
|
1412
|
+
const de_UpdateServiceAccessPoliciesCommandError = async (output, context) => {
|
|
1413
1413
|
const parsedOutput = {
|
|
1414
1414
|
...output,
|
|
1415
1415
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1418,22 +1418,22 @@ const deserializeAws_queryUpdateServiceAccessPoliciesCommandError = async (outpu
|
|
|
1418
1418
|
switch (errorCode) {
|
|
1419
1419
|
case "BaseException":
|
|
1420
1420
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1421
|
-
throw await
|
|
1421
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1422
1422
|
case "InternalException":
|
|
1423
1423
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1424
|
-
throw await
|
|
1424
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1425
1425
|
case "InvalidType":
|
|
1426
1426
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
1427
|
-
throw await
|
|
1427
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
1428
1428
|
case "LimitExceeded":
|
|
1429
1429
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
1430
|
-
throw await
|
|
1430
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1431
1431
|
case "ResourceNotFound":
|
|
1432
1432
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1433
|
-
throw await
|
|
1433
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1434
1434
|
case "ValidationException":
|
|
1435
1435
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1436
|
-
throw await
|
|
1436
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1437
1437
|
default:
|
|
1438
1438
|
const parsedBody = parsedOutput.body;
|
|
1439
1439
|
throwDefaultError({
|
|
@@ -1444,79 +1444,79 @@ const deserializeAws_queryUpdateServiceAccessPoliciesCommandError = async (outpu
|
|
|
1444
1444
|
});
|
|
1445
1445
|
}
|
|
1446
1446
|
};
|
|
1447
|
-
const
|
|
1447
|
+
const de_BaseExceptionRes = async (parsedOutput, context) => {
|
|
1448
1448
|
const body = parsedOutput.body;
|
|
1449
|
-
const deserialized =
|
|
1449
|
+
const deserialized = de_BaseException(body.Error, context);
|
|
1450
1450
|
const exception = new BaseException({
|
|
1451
1451
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1452
1452
|
...deserialized,
|
|
1453
1453
|
});
|
|
1454
1454
|
return __decorateServiceException(exception, body);
|
|
1455
1455
|
};
|
|
1456
|
-
const
|
|
1456
|
+
const de_DisabledOperationExceptionRes = async (parsedOutput, context) => {
|
|
1457
1457
|
const body = parsedOutput.body;
|
|
1458
|
-
const deserialized =
|
|
1458
|
+
const deserialized = de_DisabledOperationException(body.Error, context);
|
|
1459
1459
|
const exception = new DisabledOperationException({
|
|
1460
1460
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1461
1461
|
...deserialized,
|
|
1462
1462
|
});
|
|
1463
1463
|
return __decorateServiceException(exception, body);
|
|
1464
1464
|
};
|
|
1465
|
-
const
|
|
1465
|
+
const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
1466
1466
|
const body = parsedOutput.body;
|
|
1467
|
-
const deserialized =
|
|
1467
|
+
const deserialized = de_InternalException(body.Error, context);
|
|
1468
1468
|
const exception = new InternalException({
|
|
1469
1469
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1470
1470
|
...deserialized,
|
|
1471
1471
|
});
|
|
1472
1472
|
return __decorateServiceException(exception, body);
|
|
1473
1473
|
};
|
|
1474
|
-
const
|
|
1474
|
+
const de_InvalidTypeExceptionRes = async (parsedOutput, context) => {
|
|
1475
1475
|
const body = parsedOutput.body;
|
|
1476
|
-
const deserialized =
|
|
1476
|
+
const deserialized = de_InvalidTypeException(body.Error, context);
|
|
1477
1477
|
const exception = new InvalidTypeException({
|
|
1478
1478
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1479
1479
|
...deserialized,
|
|
1480
1480
|
});
|
|
1481
1481
|
return __decorateServiceException(exception, body);
|
|
1482
1482
|
};
|
|
1483
|
-
const
|
|
1483
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1484
1484
|
const body = parsedOutput.body;
|
|
1485
|
-
const deserialized =
|
|
1485
|
+
const deserialized = de_LimitExceededException(body.Error, context);
|
|
1486
1486
|
const exception = new LimitExceededException({
|
|
1487
1487
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1488
1488
|
...deserialized,
|
|
1489
1489
|
});
|
|
1490
1490
|
return __decorateServiceException(exception, body);
|
|
1491
1491
|
};
|
|
1492
|
-
const
|
|
1492
|
+
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1493
1493
|
const body = parsedOutput.body;
|
|
1494
|
-
const deserialized =
|
|
1494
|
+
const deserialized = de_ResourceAlreadyExistsException(body.Error, context);
|
|
1495
1495
|
const exception = new ResourceAlreadyExistsException({
|
|
1496
1496
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1497
1497
|
...deserialized,
|
|
1498
1498
|
});
|
|
1499
1499
|
return __decorateServiceException(exception, body);
|
|
1500
1500
|
};
|
|
1501
|
-
const
|
|
1501
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1502
1502
|
const body = parsedOutput.body;
|
|
1503
|
-
const deserialized =
|
|
1503
|
+
const deserialized = de_ResourceNotFoundException(body.Error, context);
|
|
1504
1504
|
const exception = new ResourceNotFoundException({
|
|
1505
1505
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1506
1506
|
...deserialized,
|
|
1507
1507
|
});
|
|
1508
1508
|
return __decorateServiceException(exception, body);
|
|
1509
1509
|
};
|
|
1510
|
-
const
|
|
1510
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1511
1511
|
const body = parsedOutput.body;
|
|
1512
|
-
const deserialized =
|
|
1512
|
+
const deserialized = de_ValidationException(body.Error, context);
|
|
1513
1513
|
const exception = new ValidationException({
|
|
1514
1514
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1515
1515
|
...deserialized,
|
|
1516
1516
|
});
|
|
1517
1517
|
return __decorateServiceException(exception, body);
|
|
1518
1518
|
};
|
|
1519
|
-
const
|
|
1519
|
+
const se_AnalysisOptions = (input, context) => {
|
|
1520
1520
|
const entries = {};
|
|
1521
1521
|
if (input.Synonyms != null) {
|
|
1522
1522
|
entries["Synonyms"] = input.Synonyms;
|
|
@@ -1535,7 +1535,7 @@ const serializeAws_queryAnalysisOptions = (input, context) => {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
return entries;
|
|
1537
1537
|
};
|
|
1538
|
-
const
|
|
1538
|
+
const se_AnalysisScheme = (input, context) => {
|
|
1539
1539
|
const entries = {};
|
|
1540
1540
|
if (input.AnalysisSchemeName != null) {
|
|
1541
1541
|
entries["AnalysisSchemeName"] = input.AnalysisSchemeName;
|
|
@@ -1544,7 +1544,7 @@ const serializeAws_queryAnalysisScheme = (input, context) => {
|
|
|
1544
1544
|
entries["AnalysisSchemeLanguage"] = input.AnalysisSchemeLanguage;
|
|
1545
1545
|
}
|
|
1546
1546
|
if (input.AnalysisOptions != null) {
|
|
1547
|
-
const memberEntries =
|
|
1547
|
+
const memberEntries = se_AnalysisOptions(input.AnalysisOptions, context);
|
|
1548
1548
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1549
1549
|
const loc = `AnalysisOptions.${key}`;
|
|
1550
1550
|
entries[loc] = value;
|
|
@@ -1552,21 +1552,21 @@ const serializeAws_queryAnalysisScheme = (input, context) => {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
return entries;
|
|
1554
1554
|
};
|
|
1555
|
-
const
|
|
1555
|
+
const se_BuildSuggestersRequest = (input, context) => {
|
|
1556
1556
|
const entries = {};
|
|
1557
1557
|
if (input.DomainName != null) {
|
|
1558
1558
|
entries["DomainName"] = input.DomainName;
|
|
1559
1559
|
}
|
|
1560
1560
|
return entries;
|
|
1561
1561
|
};
|
|
1562
|
-
const
|
|
1562
|
+
const se_CreateDomainRequest = (input, context) => {
|
|
1563
1563
|
const entries = {};
|
|
1564
1564
|
if (input.DomainName != null) {
|
|
1565
1565
|
entries["DomainName"] = input.DomainName;
|
|
1566
1566
|
}
|
|
1567
1567
|
return entries;
|
|
1568
1568
|
};
|
|
1569
|
-
const
|
|
1569
|
+
const se_DateArrayOptions = (input, context) => {
|
|
1570
1570
|
const entries = {};
|
|
1571
1571
|
if (input.DefaultValue != null) {
|
|
1572
1572
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -1585,7 +1585,7 @@ const serializeAws_queryDateArrayOptions = (input, context) => {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
return entries;
|
|
1587
1587
|
};
|
|
1588
|
-
const
|
|
1588
|
+
const se_DateOptions = (input, context) => {
|
|
1589
1589
|
const entries = {};
|
|
1590
1590
|
if (input.DefaultValue != null) {
|
|
1591
1591
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -1607,13 +1607,13 @@ const serializeAws_queryDateOptions = (input, context) => {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
return entries;
|
|
1609
1609
|
};
|
|
1610
|
-
const
|
|
1610
|
+
const se_DefineAnalysisSchemeRequest = (input, context) => {
|
|
1611
1611
|
const entries = {};
|
|
1612
1612
|
if (input.DomainName != null) {
|
|
1613
1613
|
entries["DomainName"] = input.DomainName;
|
|
1614
1614
|
}
|
|
1615
1615
|
if (input.AnalysisScheme != null) {
|
|
1616
|
-
const memberEntries =
|
|
1616
|
+
const memberEntries = se_AnalysisScheme(input.AnalysisScheme, context);
|
|
1617
1617
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1618
1618
|
const loc = `AnalysisScheme.${key}`;
|
|
1619
1619
|
entries[loc] = value;
|
|
@@ -1621,13 +1621,13 @@ const serializeAws_queryDefineAnalysisSchemeRequest = (input, context) => {
|
|
|
1621
1621
|
}
|
|
1622
1622
|
return entries;
|
|
1623
1623
|
};
|
|
1624
|
-
const
|
|
1624
|
+
const se_DefineExpressionRequest = (input, context) => {
|
|
1625
1625
|
const entries = {};
|
|
1626
1626
|
if (input.DomainName != null) {
|
|
1627
1627
|
entries["DomainName"] = input.DomainName;
|
|
1628
1628
|
}
|
|
1629
1629
|
if (input.Expression != null) {
|
|
1630
|
-
const memberEntries =
|
|
1630
|
+
const memberEntries = se_Expression(input.Expression, context);
|
|
1631
1631
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1632
1632
|
const loc = `Expression.${key}`;
|
|
1633
1633
|
entries[loc] = value;
|
|
@@ -1635,13 +1635,13 @@ const serializeAws_queryDefineExpressionRequest = (input, context) => {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
return entries;
|
|
1637
1637
|
};
|
|
1638
|
-
const
|
|
1638
|
+
const se_DefineIndexFieldRequest = (input, context) => {
|
|
1639
1639
|
const entries = {};
|
|
1640
1640
|
if (input.DomainName != null) {
|
|
1641
1641
|
entries["DomainName"] = input.DomainName;
|
|
1642
1642
|
}
|
|
1643
1643
|
if (input.IndexField != null) {
|
|
1644
|
-
const memberEntries =
|
|
1644
|
+
const memberEntries = se_IndexField(input.IndexField, context);
|
|
1645
1645
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1646
1646
|
const loc = `IndexField.${key}`;
|
|
1647
1647
|
entries[loc] = value;
|
|
@@ -1649,13 +1649,13 @@ const serializeAws_queryDefineIndexFieldRequest = (input, context) => {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
return entries;
|
|
1651
1651
|
};
|
|
1652
|
-
const
|
|
1652
|
+
const se_DefineSuggesterRequest = (input, context) => {
|
|
1653
1653
|
const entries = {};
|
|
1654
1654
|
if (input.DomainName != null) {
|
|
1655
1655
|
entries["DomainName"] = input.DomainName;
|
|
1656
1656
|
}
|
|
1657
1657
|
if (input.Suggester != null) {
|
|
1658
|
-
const memberEntries =
|
|
1658
|
+
const memberEntries = se_Suggester(input.Suggester, context);
|
|
1659
1659
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1660
1660
|
const loc = `Suggester.${key}`;
|
|
1661
1661
|
entries[loc] = value;
|
|
@@ -1663,7 +1663,7 @@ const serializeAws_queryDefineSuggesterRequest = (input, context) => {
|
|
|
1663
1663
|
}
|
|
1664
1664
|
return entries;
|
|
1665
1665
|
};
|
|
1666
|
-
const
|
|
1666
|
+
const se_DeleteAnalysisSchemeRequest = (input, context) => {
|
|
1667
1667
|
const entries = {};
|
|
1668
1668
|
if (input.DomainName != null) {
|
|
1669
1669
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1673,14 +1673,14 @@ const serializeAws_queryDeleteAnalysisSchemeRequest = (input, context) => {
|
|
|
1673
1673
|
}
|
|
1674
1674
|
return entries;
|
|
1675
1675
|
};
|
|
1676
|
-
const
|
|
1676
|
+
const se_DeleteDomainRequest = (input, context) => {
|
|
1677
1677
|
const entries = {};
|
|
1678
1678
|
if (input.DomainName != null) {
|
|
1679
1679
|
entries["DomainName"] = input.DomainName;
|
|
1680
1680
|
}
|
|
1681
1681
|
return entries;
|
|
1682
1682
|
};
|
|
1683
|
-
const
|
|
1683
|
+
const se_DeleteExpressionRequest = (input, context) => {
|
|
1684
1684
|
const entries = {};
|
|
1685
1685
|
if (input.DomainName != null) {
|
|
1686
1686
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1690,7 +1690,7 @@ const serializeAws_queryDeleteExpressionRequest = (input, context) => {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
return entries;
|
|
1692
1692
|
};
|
|
1693
|
-
const
|
|
1693
|
+
const se_DeleteIndexFieldRequest = (input, context) => {
|
|
1694
1694
|
const entries = {};
|
|
1695
1695
|
if (input.DomainName != null) {
|
|
1696
1696
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1700,7 +1700,7 @@ const serializeAws_queryDeleteIndexFieldRequest = (input, context) => {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
return entries;
|
|
1702
1702
|
};
|
|
1703
|
-
const
|
|
1703
|
+
const se_DeleteSuggesterRequest = (input, context) => {
|
|
1704
1704
|
const entries = {};
|
|
1705
1705
|
if (input.DomainName != null) {
|
|
1706
1706
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1710,13 +1710,13 @@ const serializeAws_queryDeleteSuggesterRequest = (input, context) => {
|
|
|
1710
1710
|
}
|
|
1711
1711
|
return entries;
|
|
1712
1712
|
};
|
|
1713
|
-
const
|
|
1713
|
+
const se_DescribeAnalysisSchemesRequest = (input, context) => {
|
|
1714
1714
|
const entries = {};
|
|
1715
1715
|
if (input.DomainName != null) {
|
|
1716
1716
|
entries["DomainName"] = input.DomainName;
|
|
1717
1717
|
}
|
|
1718
1718
|
if (input.AnalysisSchemeNames != null) {
|
|
1719
|
-
const memberEntries =
|
|
1719
|
+
const memberEntries = se_StandardNameList(input.AnalysisSchemeNames, context);
|
|
1720
1720
|
if (input.AnalysisSchemeNames?.length === 0) {
|
|
1721
1721
|
entries.AnalysisSchemeNames = [];
|
|
1722
1722
|
}
|
|
@@ -1730,7 +1730,7 @@ const serializeAws_queryDescribeAnalysisSchemesRequest = (input, context) => {
|
|
|
1730
1730
|
}
|
|
1731
1731
|
return entries;
|
|
1732
1732
|
};
|
|
1733
|
-
const
|
|
1733
|
+
const se_DescribeAvailabilityOptionsRequest = (input, context) => {
|
|
1734
1734
|
const entries = {};
|
|
1735
1735
|
if (input.DomainName != null) {
|
|
1736
1736
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1740,7 +1740,7 @@ const serializeAws_queryDescribeAvailabilityOptionsRequest = (input, context) =>
|
|
|
1740
1740
|
}
|
|
1741
1741
|
return entries;
|
|
1742
1742
|
};
|
|
1743
|
-
const
|
|
1743
|
+
const se_DescribeDomainEndpointOptionsRequest = (input, context) => {
|
|
1744
1744
|
const entries = {};
|
|
1745
1745
|
if (input.DomainName != null) {
|
|
1746
1746
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1750,10 +1750,10 @@ const serializeAws_queryDescribeDomainEndpointOptionsRequest = (input, context)
|
|
|
1750
1750
|
}
|
|
1751
1751
|
return entries;
|
|
1752
1752
|
};
|
|
1753
|
-
const
|
|
1753
|
+
const se_DescribeDomainsRequest = (input, context) => {
|
|
1754
1754
|
const entries = {};
|
|
1755
1755
|
if (input.DomainNames != null) {
|
|
1756
|
-
const memberEntries =
|
|
1756
|
+
const memberEntries = se_DomainNameList(input.DomainNames, context);
|
|
1757
1757
|
if (input.DomainNames?.length === 0) {
|
|
1758
1758
|
entries.DomainNames = [];
|
|
1759
1759
|
}
|
|
@@ -1764,13 +1764,13 @@ const serializeAws_queryDescribeDomainsRequest = (input, context) => {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
return entries;
|
|
1766
1766
|
};
|
|
1767
|
-
const
|
|
1767
|
+
const se_DescribeExpressionsRequest = (input, context) => {
|
|
1768
1768
|
const entries = {};
|
|
1769
1769
|
if (input.DomainName != null) {
|
|
1770
1770
|
entries["DomainName"] = input.DomainName;
|
|
1771
1771
|
}
|
|
1772
1772
|
if (input.ExpressionNames != null) {
|
|
1773
|
-
const memberEntries =
|
|
1773
|
+
const memberEntries = se_StandardNameList(input.ExpressionNames, context);
|
|
1774
1774
|
if (input.ExpressionNames?.length === 0) {
|
|
1775
1775
|
entries.ExpressionNames = [];
|
|
1776
1776
|
}
|
|
@@ -1784,13 +1784,13 @@ const serializeAws_queryDescribeExpressionsRequest = (input, context) => {
|
|
|
1784
1784
|
}
|
|
1785
1785
|
return entries;
|
|
1786
1786
|
};
|
|
1787
|
-
const
|
|
1787
|
+
const se_DescribeIndexFieldsRequest = (input, context) => {
|
|
1788
1788
|
const entries = {};
|
|
1789
1789
|
if (input.DomainName != null) {
|
|
1790
1790
|
entries["DomainName"] = input.DomainName;
|
|
1791
1791
|
}
|
|
1792
1792
|
if (input.FieldNames != null) {
|
|
1793
|
-
const memberEntries =
|
|
1793
|
+
const memberEntries = se_DynamicFieldNameList(input.FieldNames, context);
|
|
1794
1794
|
if (input.FieldNames?.length === 0) {
|
|
1795
1795
|
entries.FieldNames = [];
|
|
1796
1796
|
}
|
|
@@ -1804,14 +1804,14 @@ const serializeAws_queryDescribeIndexFieldsRequest = (input, context) => {
|
|
|
1804
1804
|
}
|
|
1805
1805
|
return entries;
|
|
1806
1806
|
};
|
|
1807
|
-
const
|
|
1807
|
+
const se_DescribeScalingParametersRequest = (input, context) => {
|
|
1808
1808
|
const entries = {};
|
|
1809
1809
|
if (input.DomainName != null) {
|
|
1810
1810
|
entries["DomainName"] = input.DomainName;
|
|
1811
1811
|
}
|
|
1812
1812
|
return entries;
|
|
1813
1813
|
};
|
|
1814
|
-
const
|
|
1814
|
+
const se_DescribeServiceAccessPoliciesRequest = (input, context) => {
|
|
1815
1815
|
const entries = {};
|
|
1816
1816
|
if (input.DomainName != null) {
|
|
1817
1817
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1821,13 +1821,13 @@ const serializeAws_queryDescribeServiceAccessPoliciesRequest = (input, context)
|
|
|
1821
1821
|
}
|
|
1822
1822
|
return entries;
|
|
1823
1823
|
};
|
|
1824
|
-
const
|
|
1824
|
+
const se_DescribeSuggestersRequest = (input, context) => {
|
|
1825
1825
|
const entries = {};
|
|
1826
1826
|
if (input.DomainName != null) {
|
|
1827
1827
|
entries["DomainName"] = input.DomainName;
|
|
1828
1828
|
}
|
|
1829
1829
|
if (input.SuggesterNames != null) {
|
|
1830
|
-
const memberEntries =
|
|
1830
|
+
const memberEntries = se_StandardNameList(input.SuggesterNames, context);
|
|
1831
1831
|
if (input.SuggesterNames?.length === 0) {
|
|
1832
1832
|
entries.SuggesterNames = [];
|
|
1833
1833
|
}
|
|
@@ -1841,7 +1841,7 @@ const serializeAws_queryDescribeSuggestersRequest = (input, context) => {
|
|
|
1841
1841
|
}
|
|
1842
1842
|
return entries;
|
|
1843
1843
|
};
|
|
1844
|
-
const
|
|
1844
|
+
const se_DocumentSuggesterOptions = (input, context) => {
|
|
1845
1845
|
const entries = {};
|
|
1846
1846
|
if (input.SourceField != null) {
|
|
1847
1847
|
entries["SourceField"] = input.SourceField;
|
|
@@ -1854,7 +1854,7 @@ const serializeAws_queryDocumentSuggesterOptions = (input, context) => {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
return entries;
|
|
1856
1856
|
};
|
|
1857
|
-
const
|
|
1857
|
+
const se_DomainEndpointOptions = (input, context) => {
|
|
1858
1858
|
const entries = {};
|
|
1859
1859
|
if (input.EnforceHTTPS != null) {
|
|
1860
1860
|
entries["EnforceHTTPS"] = input.EnforceHTTPS;
|
|
@@ -1864,7 +1864,7 @@ const serializeAws_queryDomainEndpointOptions = (input, context) => {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
return entries;
|
|
1866
1866
|
};
|
|
1867
|
-
const
|
|
1867
|
+
const se_DomainNameList = (input, context) => {
|
|
1868
1868
|
const entries = {};
|
|
1869
1869
|
let counter = 1;
|
|
1870
1870
|
for (const entry of input) {
|
|
@@ -1876,7 +1876,7 @@ const serializeAws_queryDomainNameList = (input, context) => {
|
|
|
1876
1876
|
}
|
|
1877
1877
|
return entries;
|
|
1878
1878
|
};
|
|
1879
|
-
const
|
|
1879
|
+
const se_DoubleArrayOptions = (input, context) => {
|
|
1880
1880
|
const entries = {};
|
|
1881
1881
|
if (input.DefaultValue != null) {
|
|
1882
1882
|
entries["DefaultValue"] = __serializeFloat(input.DefaultValue);
|
|
@@ -1895,7 +1895,7 @@ const serializeAws_queryDoubleArrayOptions = (input, context) => {
|
|
|
1895
1895
|
}
|
|
1896
1896
|
return entries;
|
|
1897
1897
|
};
|
|
1898
|
-
const
|
|
1898
|
+
const se_DoubleOptions = (input, context) => {
|
|
1899
1899
|
const entries = {};
|
|
1900
1900
|
if (input.DefaultValue != null) {
|
|
1901
1901
|
entries["DefaultValue"] = __serializeFloat(input.DefaultValue);
|
|
@@ -1917,7 +1917,7 @@ const serializeAws_queryDoubleOptions = (input, context) => {
|
|
|
1917
1917
|
}
|
|
1918
1918
|
return entries;
|
|
1919
1919
|
};
|
|
1920
|
-
const
|
|
1920
|
+
const se_DynamicFieldNameList = (input, context) => {
|
|
1921
1921
|
const entries = {};
|
|
1922
1922
|
let counter = 1;
|
|
1923
1923
|
for (const entry of input) {
|
|
@@ -1929,7 +1929,7 @@ const serializeAws_queryDynamicFieldNameList = (input, context) => {
|
|
|
1929
1929
|
}
|
|
1930
1930
|
return entries;
|
|
1931
1931
|
};
|
|
1932
|
-
const
|
|
1932
|
+
const se_Expression = (input, context) => {
|
|
1933
1933
|
const entries = {};
|
|
1934
1934
|
if (input.ExpressionName != null) {
|
|
1935
1935
|
entries["ExpressionName"] = input.ExpressionName;
|
|
@@ -1939,14 +1939,14 @@ const serializeAws_queryExpression = (input, context) => {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
return entries;
|
|
1941
1941
|
};
|
|
1942
|
-
const
|
|
1942
|
+
const se_IndexDocumentsRequest = (input, context) => {
|
|
1943
1943
|
const entries = {};
|
|
1944
1944
|
if (input.DomainName != null) {
|
|
1945
1945
|
entries["DomainName"] = input.DomainName;
|
|
1946
1946
|
}
|
|
1947
1947
|
return entries;
|
|
1948
1948
|
};
|
|
1949
|
-
const
|
|
1949
|
+
const se_IndexField = (input, context) => {
|
|
1950
1950
|
const entries = {};
|
|
1951
1951
|
if (input.IndexFieldName != null) {
|
|
1952
1952
|
entries["IndexFieldName"] = input.IndexFieldName;
|
|
@@ -1955,77 +1955,77 @@ const serializeAws_queryIndexField = (input, context) => {
|
|
|
1955
1955
|
entries["IndexFieldType"] = input.IndexFieldType;
|
|
1956
1956
|
}
|
|
1957
1957
|
if (input.IntOptions != null) {
|
|
1958
|
-
const memberEntries =
|
|
1958
|
+
const memberEntries = se_IntOptions(input.IntOptions, context);
|
|
1959
1959
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1960
1960
|
const loc = `IntOptions.${key}`;
|
|
1961
1961
|
entries[loc] = value;
|
|
1962
1962
|
});
|
|
1963
1963
|
}
|
|
1964
1964
|
if (input.DoubleOptions != null) {
|
|
1965
|
-
const memberEntries =
|
|
1965
|
+
const memberEntries = se_DoubleOptions(input.DoubleOptions, context);
|
|
1966
1966
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1967
1967
|
const loc = `DoubleOptions.${key}`;
|
|
1968
1968
|
entries[loc] = value;
|
|
1969
1969
|
});
|
|
1970
1970
|
}
|
|
1971
1971
|
if (input.LiteralOptions != null) {
|
|
1972
|
-
const memberEntries =
|
|
1972
|
+
const memberEntries = se_LiteralOptions(input.LiteralOptions, context);
|
|
1973
1973
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1974
1974
|
const loc = `LiteralOptions.${key}`;
|
|
1975
1975
|
entries[loc] = value;
|
|
1976
1976
|
});
|
|
1977
1977
|
}
|
|
1978
1978
|
if (input.TextOptions != null) {
|
|
1979
|
-
const memberEntries =
|
|
1979
|
+
const memberEntries = se_TextOptions(input.TextOptions, context);
|
|
1980
1980
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1981
1981
|
const loc = `TextOptions.${key}`;
|
|
1982
1982
|
entries[loc] = value;
|
|
1983
1983
|
});
|
|
1984
1984
|
}
|
|
1985
1985
|
if (input.DateOptions != null) {
|
|
1986
|
-
const memberEntries =
|
|
1986
|
+
const memberEntries = se_DateOptions(input.DateOptions, context);
|
|
1987
1987
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1988
1988
|
const loc = `DateOptions.${key}`;
|
|
1989
1989
|
entries[loc] = value;
|
|
1990
1990
|
});
|
|
1991
1991
|
}
|
|
1992
1992
|
if (input.LatLonOptions != null) {
|
|
1993
|
-
const memberEntries =
|
|
1993
|
+
const memberEntries = se_LatLonOptions(input.LatLonOptions, context);
|
|
1994
1994
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1995
1995
|
const loc = `LatLonOptions.${key}`;
|
|
1996
1996
|
entries[loc] = value;
|
|
1997
1997
|
});
|
|
1998
1998
|
}
|
|
1999
1999
|
if (input.IntArrayOptions != null) {
|
|
2000
|
-
const memberEntries =
|
|
2000
|
+
const memberEntries = se_IntArrayOptions(input.IntArrayOptions, context);
|
|
2001
2001
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2002
2002
|
const loc = `IntArrayOptions.${key}`;
|
|
2003
2003
|
entries[loc] = value;
|
|
2004
2004
|
});
|
|
2005
2005
|
}
|
|
2006
2006
|
if (input.DoubleArrayOptions != null) {
|
|
2007
|
-
const memberEntries =
|
|
2007
|
+
const memberEntries = se_DoubleArrayOptions(input.DoubleArrayOptions, context);
|
|
2008
2008
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2009
2009
|
const loc = `DoubleArrayOptions.${key}`;
|
|
2010
2010
|
entries[loc] = value;
|
|
2011
2011
|
});
|
|
2012
2012
|
}
|
|
2013
2013
|
if (input.LiteralArrayOptions != null) {
|
|
2014
|
-
const memberEntries =
|
|
2014
|
+
const memberEntries = se_LiteralArrayOptions(input.LiteralArrayOptions, context);
|
|
2015
2015
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2016
2016
|
const loc = `LiteralArrayOptions.${key}`;
|
|
2017
2017
|
entries[loc] = value;
|
|
2018
2018
|
});
|
|
2019
2019
|
}
|
|
2020
2020
|
if (input.TextArrayOptions != null) {
|
|
2021
|
-
const memberEntries =
|
|
2021
|
+
const memberEntries = se_TextArrayOptions(input.TextArrayOptions, context);
|
|
2022
2022
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2023
2023
|
const loc = `TextArrayOptions.${key}`;
|
|
2024
2024
|
entries[loc] = value;
|
|
2025
2025
|
});
|
|
2026
2026
|
}
|
|
2027
2027
|
if (input.DateArrayOptions != null) {
|
|
2028
|
-
const memberEntries =
|
|
2028
|
+
const memberEntries = se_DateArrayOptions(input.DateArrayOptions, context);
|
|
2029
2029
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2030
2030
|
const loc = `DateArrayOptions.${key}`;
|
|
2031
2031
|
entries[loc] = value;
|
|
@@ -2033,7 +2033,7 @@ const serializeAws_queryIndexField = (input, context) => {
|
|
|
2033
2033
|
}
|
|
2034
2034
|
return entries;
|
|
2035
2035
|
};
|
|
2036
|
-
const
|
|
2036
|
+
const se_IntArrayOptions = (input, context) => {
|
|
2037
2037
|
const entries = {};
|
|
2038
2038
|
if (input.DefaultValue != null) {
|
|
2039
2039
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2052,7 +2052,7 @@ const serializeAws_queryIntArrayOptions = (input, context) => {
|
|
|
2052
2052
|
}
|
|
2053
2053
|
return entries;
|
|
2054
2054
|
};
|
|
2055
|
-
const
|
|
2055
|
+
const se_IntOptions = (input, context) => {
|
|
2056
2056
|
const entries = {};
|
|
2057
2057
|
if (input.DefaultValue != null) {
|
|
2058
2058
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2074,7 +2074,7 @@ const serializeAws_queryIntOptions = (input, context) => {
|
|
|
2074
2074
|
}
|
|
2075
2075
|
return entries;
|
|
2076
2076
|
};
|
|
2077
|
-
const
|
|
2077
|
+
const se_LatLonOptions = (input, context) => {
|
|
2078
2078
|
const entries = {};
|
|
2079
2079
|
if (input.DefaultValue != null) {
|
|
2080
2080
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2096,7 +2096,7 @@ const serializeAws_queryLatLonOptions = (input, context) => {
|
|
|
2096
2096
|
}
|
|
2097
2097
|
return entries;
|
|
2098
2098
|
};
|
|
2099
|
-
const
|
|
2099
|
+
const se_LiteralArrayOptions = (input, context) => {
|
|
2100
2100
|
const entries = {};
|
|
2101
2101
|
if (input.DefaultValue != null) {
|
|
2102
2102
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2115,7 +2115,7 @@ const serializeAws_queryLiteralArrayOptions = (input, context) => {
|
|
|
2115
2115
|
}
|
|
2116
2116
|
return entries;
|
|
2117
2117
|
};
|
|
2118
|
-
const
|
|
2118
|
+
const se_LiteralOptions = (input, context) => {
|
|
2119
2119
|
const entries = {};
|
|
2120
2120
|
if (input.DefaultValue != null) {
|
|
2121
2121
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2137,7 +2137,7 @@ const serializeAws_queryLiteralOptions = (input, context) => {
|
|
|
2137
2137
|
}
|
|
2138
2138
|
return entries;
|
|
2139
2139
|
};
|
|
2140
|
-
const
|
|
2140
|
+
const se_ScalingParameters = (input, context) => {
|
|
2141
2141
|
const entries = {};
|
|
2142
2142
|
if (input.DesiredInstanceType != null) {
|
|
2143
2143
|
entries["DesiredInstanceType"] = input.DesiredInstanceType;
|
|
@@ -2150,7 +2150,7 @@ const serializeAws_queryScalingParameters = (input, context) => {
|
|
|
2150
2150
|
}
|
|
2151
2151
|
return entries;
|
|
2152
2152
|
};
|
|
2153
|
-
const
|
|
2153
|
+
const se_StandardNameList = (input, context) => {
|
|
2154
2154
|
const entries = {};
|
|
2155
2155
|
let counter = 1;
|
|
2156
2156
|
for (const entry of input) {
|
|
@@ -2162,13 +2162,13 @@ const serializeAws_queryStandardNameList = (input, context) => {
|
|
|
2162
2162
|
}
|
|
2163
2163
|
return entries;
|
|
2164
2164
|
};
|
|
2165
|
-
const
|
|
2165
|
+
const se_Suggester = (input, context) => {
|
|
2166
2166
|
const entries = {};
|
|
2167
2167
|
if (input.SuggesterName != null) {
|
|
2168
2168
|
entries["SuggesterName"] = input.SuggesterName;
|
|
2169
2169
|
}
|
|
2170
2170
|
if (input.DocumentSuggesterOptions != null) {
|
|
2171
|
-
const memberEntries =
|
|
2171
|
+
const memberEntries = se_DocumentSuggesterOptions(input.DocumentSuggesterOptions, context);
|
|
2172
2172
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2173
2173
|
const loc = `DocumentSuggesterOptions.${key}`;
|
|
2174
2174
|
entries[loc] = value;
|
|
@@ -2176,7 +2176,7 @@ const serializeAws_querySuggester = (input, context) => {
|
|
|
2176
2176
|
}
|
|
2177
2177
|
return entries;
|
|
2178
2178
|
};
|
|
2179
|
-
const
|
|
2179
|
+
const se_TextArrayOptions = (input, context) => {
|
|
2180
2180
|
const entries = {};
|
|
2181
2181
|
if (input.DefaultValue != null) {
|
|
2182
2182
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2195,7 +2195,7 @@ const serializeAws_queryTextArrayOptions = (input, context) => {
|
|
|
2195
2195
|
}
|
|
2196
2196
|
return entries;
|
|
2197
2197
|
};
|
|
2198
|
-
const
|
|
2198
|
+
const se_TextOptions = (input, context) => {
|
|
2199
2199
|
const entries = {};
|
|
2200
2200
|
if (input.DefaultValue != null) {
|
|
2201
2201
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2217,7 +2217,7 @@ const serializeAws_queryTextOptions = (input, context) => {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
return entries;
|
|
2219
2219
|
};
|
|
2220
|
-
const
|
|
2220
|
+
const se_UpdateAvailabilityOptionsRequest = (input, context) => {
|
|
2221
2221
|
const entries = {};
|
|
2222
2222
|
if (input.DomainName != null) {
|
|
2223
2223
|
entries["DomainName"] = input.DomainName;
|
|
@@ -2227,13 +2227,13 @@ const serializeAws_queryUpdateAvailabilityOptionsRequest = (input, context) => {
|
|
|
2227
2227
|
}
|
|
2228
2228
|
return entries;
|
|
2229
2229
|
};
|
|
2230
|
-
const
|
|
2230
|
+
const se_UpdateDomainEndpointOptionsRequest = (input, context) => {
|
|
2231
2231
|
const entries = {};
|
|
2232
2232
|
if (input.DomainName != null) {
|
|
2233
2233
|
entries["DomainName"] = input.DomainName;
|
|
2234
2234
|
}
|
|
2235
2235
|
if (input.DomainEndpointOptions != null) {
|
|
2236
|
-
const memberEntries =
|
|
2236
|
+
const memberEntries = se_DomainEndpointOptions(input.DomainEndpointOptions, context);
|
|
2237
2237
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2238
2238
|
const loc = `DomainEndpointOptions.${key}`;
|
|
2239
2239
|
entries[loc] = value;
|
|
@@ -2241,13 +2241,13 @@ const serializeAws_queryUpdateDomainEndpointOptionsRequest = (input, context) =>
|
|
|
2241
2241
|
}
|
|
2242
2242
|
return entries;
|
|
2243
2243
|
};
|
|
2244
|
-
const
|
|
2244
|
+
const se_UpdateScalingParametersRequest = (input, context) => {
|
|
2245
2245
|
const entries = {};
|
|
2246
2246
|
if (input.DomainName != null) {
|
|
2247
2247
|
entries["DomainName"] = input.DomainName;
|
|
2248
2248
|
}
|
|
2249
2249
|
if (input.ScalingParameters != null) {
|
|
2250
|
-
const memberEntries =
|
|
2250
|
+
const memberEntries = se_ScalingParameters(input.ScalingParameters, context);
|
|
2251
2251
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2252
2252
|
const loc = `ScalingParameters.${key}`;
|
|
2253
2253
|
entries[loc] = value;
|
|
@@ -2255,7 +2255,7 @@ const serializeAws_queryUpdateScalingParametersRequest = (input, context) => {
|
|
|
2255
2255
|
}
|
|
2256
2256
|
return entries;
|
|
2257
2257
|
};
|
|
2258
|
-
const
|
|
2258
|
+
const se_UpdateServiceAccessPoliciesRequest = (input, context) => {
|
|
2259
2259
|
const entries = {};
|
|
2260
2260
|
if (input.DomainName != null) {
|
|
2261
2261
|
entries["DomainName"] = input.DomainName;
|
|
@@ -2265,17 +2265,17 @@ const serializeAws_queryUpdateServiceAccessPoliciesRequest = (input, context) =>
|
|
|
2265
2265
|
}
|
|
2266
2266
|
return entries;
|
|
2267
2267
|
};
|
|
2268
|
-
const
|
|
2268
|
+
const de_AccessPoliciesStatus = (output, context) => {
|
|
2269
2269
|
const contents = {};
|
|
2270
2270
|
if (output["Options"] !== undefined) {
|
|
2271
2271
|
contents.Options = __expectString(output["Options"]);
|
|
2272
2272
|
}
|
|
2273
2273
|
if (output["Status"] !== undefined) {
|
|
2274
|
-
contents.Status =
|
|
2274
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2275
2275
|
}
|
|
2276
2276
|
return contents;
|
|
2277
2277
|
};
|
|
2278
|
-
const
|
|
2278
|
+
const de_AnalysisOptions = (output, context) => {
|
|
2279
2279
|
const contents = {};
|
|
2280
2280
|
if (output["Synonyms"] !== undefined) {
|
|
2281
2281
|
contents.Synonyms = __expectString(output["Synonyms"]);
|
|
@@ -2294,7 +2294,7 @@ const deserializeAws_queryAnalysisOptions = (output, context) => {
|
|
|
2294
2294
|
}
|
|
2295
2295
|
return contents;
|
|
2296
2296
|
};
|
|
2297
|
-
const
|
|
2297
|
+
const de_AnalysisScheme = (output, context) => {
|
|
2298
2298
|
const contents = {};
|
|
2299
2299
|
if (output["AnalysisSchemeName"] !== undefined) {
|
|
2300
2300
|
contents.AnalysisSchemeName = __expectString(output["AnalysisSchemeName"]);
|
|
@@ -2303,38 +2303,38 @@ const deserializeAws_queryAnalysisScheme = (output, context) => {
|
|
|
2303
2303
|
contents.AnalysisSchemeLanguage = __expectString(output["AnalysisSchemeLanguage"]);
|
|
2304
2304
|
}
|
|
2305
2305
|
if (output["AnalysisOptions"] !== undefined) {
|
|
2306
|
-
contents.AnalysisOptions =
|
|
2306
|
+
contents.AnalysisOptions = de_AnalysisOptions(output["AnalysisOptions"], context);
|
|
2307
2307
|
}
|
|
2308
2308
|
return contents;
|
|
2309
2309
|
};
|
|
2310
|
-
const
|
|
2310
|
+
const de_AnalysisSchemeStatus = (output, context) => {
|
|
2311
2311
|
const contents = {};
|
|
2312
2312
|
if (output["Options"] !== undefined) {
|
|
2313
|
-
contents.Options =
|
|
2313
|
+
contents.Options = de_AnalysisScheme(output["Options"], context);
|
|
2314
2314
|
}
|
|
2315
2315
|
if (output["Status"] !== undefined) {
|
|
2316
|
-
contents.Status =
|
|
2316
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2317
2317
|
}
|
|
2318
2318
|
return contents;
|
|
2319
2319
|
};
|
|
2320
|
-
const
|
|
2320
|
+
const de_AnalysisSchemeStatusList = (output, context) => {
|
|
2321
2321
|
return (output || [])
|
|
2322
2322
|
.filter((e) => e != null)
|
|
2323
2323
|
.map((entry) => {
|
|
2324
|
-
return
|
|
2324
|
+
return de_AnalysisSchemeStatus(entry, context);
|
|
2325
2325
|
});
|
|
2326
2326
|
};
|
|
2327
|
-
const
|
|
2327
|
+
const de_AvailabilityOptionsStatus = (output, context) => {
|
|
2328
2328
|
const contents = {};
|
|
2329
2329
|
if (output["Options"] !== undefined) {
|
|
2330
2330
|
contents.Options = __parseBoolean(output["Options"]);
|
|
2331
2331
|
}
|
|
2332
2332
|
if (output["Status"] !== undefined) {
|
|
2333
|
-
contents.Status =
|
|
2333
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2334
2334
|
}
|
|
2335
2335
|
return contents;
|
|
2336
2336
|
};
|
|
2337
|
-
const
|
|
2337
|
+
const de_BaseException = (output, context) => {
|
|
2338
2338
|
const contents = {};
|
|
2339
2339
|
if (output["Code"] !== undefined) {
|
|
2340
2340
|
contents.Code = __expectString(output["Code"]);
|
|
@@ -2344,24 +2344,24 @@ const deserializeAws_queryBaseException = (output, context) => {
|
|
|
2344
2344
|
}
|
|
2345
2345
|
return contents;
|
|
2346
2346
|
};
|
|
2347
|
-
const
|
|
2347
|
+
const de_BuildSuggestersResponse = (output, context) => {
|
|
2348
2348
|
const contents = {};
|
|
2349
2349
|
if (output.FieldNames === "") {
|
|
2350
2350
|
contents.FieldNames = [];
|
|
2351
2351
|
}
|
|
2352
2352
|
else if (output["FieldNames"] !== undefined && output["FieldNames"]["member"] !== undefined) {
|
|
2353
|
-
contents.FieldNames =
|
|
2353
|
+
contents.FieldNames = de_FieldNameList(__getArrayIfSingleItem(output["FieldNames"]["member"]), context);
|
|
2354
2354
|
}
|
|
2355
2355
|
return contents;
|
|
2356
2356
|
};
|
|
2357
|
-
const
|
|
2357
|
+
const de_CreateDomainResponse = (output, context) => {
|
|
2358
2358
|
const contents = {};
|
|
2359
2359
|
if (output["DomainStatus"] !== undefined) {
|
|
2360
|
-
contents.DomainStatus =
|
|
2360
|
+
contents.DomainStatus = de_DomainStatus(output["DomainStatus"], context);
|
|
2361
2361
|
}
|
|
2362
2362
|
return contents;
|
|
2363
2363
|
};
|
|
2364
|
-
const
|
|
2364
|
+
const de_DateArrayOptions = (output, context) => {
|
|
2365
2365
|
const contents = {};
|
|
2366
2366
|
if (output["DefaultValue"] !== undefined) {
|
|
2367
2367
|
contents.DefaultValue = __expectString(output["DefaultValue"]);
|
|
@@ -2380,7 +2380,7 @@ const deserializeAws_queryDateArrayOptions = (output, context) => {
|
|
|
2380
2380
|
}
|
|
2381
2381
|
return contents;
|
|
2382
2382
|
};
|
|
2383
|
-
const
|
|
2383
|
+
const de_DateOptions = (output, context) => {
|
|
2384
2384
|
const contents = {};
|
|
2385
2385
|
if (output["DefaultValue"] !== undefined) {
|
|
2386
2386
|
contents.DefaultValue = __expectString(output["DefaultValue"]);
|
|
@@ -2402,148 +2402,148 @@ const deserializeAws_queryDateOptions = (output, context) => {
|
|
|
2402
2402
|
}
|
|
2403
2403
|
return contents;
|
|
2404
2404
|
};
|
|
2405
|
-
const
|
|
2405
|
+
const de_DefineAnalysisSchemeResponse = (output, context) => {
|
|
2406
2406
|
const contents = {};
|
|
2407
2407
|
if (output["AnalysisScheme"] !== undefined) {
|
|
2408
|
-
contents.AnalysisScheme =
|
|
2408
|
+
contents.AnalysisScheme = de_AnalysisSchemeStatus(output["AnalysisScheme"], context);
|
|
2409
2409
|
}
|
|
2410
2410
|
return contents;
|
|
2411
2411
|
};
|
|
2412
|
-
const
|
|
2412
|
+
const de_DefineExpressionResponse = (output, context) => {
|
|
2413
2413
|
const contents = {};
|
|
2414
2414
|
if (output["Expression"] !== undefined) {
|
|
2415
|
-
contents.Expression =
|
|
2415
|
+
contents.Expression = de_ExpressionStatus(output["Expression"], context);
|
|
2416
2416
|
}
|
|
2417
2417
|
return contents;
|
|
2418
2418
|
};
|
|
2419
|
-
const
|
|
2419
|
+
const de_DefineIndexFieldResponse = (output, context) => {
|
|
2420
2420
|
const contents = {};
|
|
2421
2421
|
if (output["IndexField"] !== undefined) {
|
|
2422
|
-
contents.IndexField =
|
|
2422
|
+
contents.IndexField = de_IndexFieldStatus(output["IndexField"], context);
|
|
2423
2423
|
}
|
|
2424
2424
|
return contents;
|
|
2425
2425
|
};
|
|
2426
|
-
const
|
|
2426
|
+
const de_DefineSuggesterResponse = (output, context) => {
|
|
2427
2427
|
const contents = {};
|
|
2428
2428
|
if (output["Suggester"] !== undefined) {
|
|
2429
|
-
contents.Suggester =
|
|
2429
|
+
contents.Suggester = de_SuggesterStatus(output["Suggester"], context);
|
|
2430
2430
|
}
|
|
2431
2431
|
return contents;
|
|
2432
2432
|
};
|
|
2433
|
-
const
|
|
2433
|
+
const de_DeleteAnalysisSchemeResponse = (output, context) => {
|
|
2434
2434
|
const contents = {};
|
|
2435
2435
|
if (output["AnalysisScheme"] !== undefined) {
|
|
2436
|
-
contents.AnalysisScheme =
|
|
2436
|
+
contents.AnalysisScheme = de_AnalysisSchemeStatus(output["AnalysisScheme"], context);
|
|
2437
2437
|
}
|
|
2438
2438
|
return contents;
|
|
2439
2439
|
};
|
|
2440
|
-
const
|
|
2440
|
+
const de_DeleteDomainResponse = (output, context) => {
|
|
2441
2441
|
const contents = {};
|
|
2442
2442
|
if (output["DomainStatus"] !== undefined) {
|
|
2443
|
-
contents.DomainStatus =
|
|
2443
|
+
contents.DomainStatus = de_DomainStatus(output["DomainStatus"], context);
|
|
2444
2444
|
}
|
|
2445
2445
|
return contents;
|
|
2446
2446
|
};
|
|
2447
|
-
const
|
|
2447
|
+
const de_DeleteExpressionResponse = (output, context) => {
|
|
2448
2448
|
const contents = {};
|
|
2449
2449
|
if (output["Expression"] !== undefined) {
|
|
2450
|
-
contents.Expression =
|
|
2450
|
+
contents.Expression = de_ExpressionStatus(output["Expression"], context);
|
|
2451
2451
|
}
|
|
2452
2452
|
return contents;
|
|
2453
2453
|
};
|
|
2454
|
-
const
|
|
2454
|
+
const de_DeleteIndexFieldResponse = (output, context) => {
|
|
2455
2455
|
const contents = {};
|
|
2456
2456
|
if (output["IndexField"] !== undefined) {
|
|
2457
|
-
contents.IndexField =
|
|
2457
|
+
contents.IndexField = de_IndexFieldStatus(output["IndexField"], context);
|
|
2458
2458
|
}
|
|
2459
2459
|
return contents;
|
|
2460
2460
|
};
|
|
2461
|
-
const
|
|
2461
|
+
const de_DeleteSuggesterResponse = (output, context) => {
|
|
2462
2462
|
const contents = {};
|
|
2463
2463
|
if (output["Suggester"] !== undefined) {
|
|
2464
|
-
contents.Suggester =
|
|
2464
|
+
contents.Suggester = de_SuggesterStatus(output["Suggester"], context);
|
|
2465
2465
|
}
|
|
2466
2466
|
return contents;
|
|
2467
2467
|
};
|
|
2468
|
-
const
|
|
2468
|
+
const de_DescribeAnalysisSchemesResponse = (output, context) => {
|
|
2469
2469
|
const contents = {};
|
|
2470
2470
|
if (output.AnalysisSchemes === "") {
|
|
2471
2471
|
contents.AnalysisSchemes = [];
|
|
2472
2472
|
}
|
|
2473
2473
|
else if (output["AnalysisSchemes"] !== undefined && output["AnalysisSchemes"]["member"] !== undefined) {
|
|
2474
|
-
contents.AnalysisSchemes =
|
|
2474
|
+
contents.AnalysisSchemes = de_AnalysisSchemeStatusList(__getArrayIfSingleItem(output["AnalysisSchemes"]["member"]), context);
|
|
2475
2475
|
}
|
|
2476
2476
|
return contents;
|
|
2477
2477
|
};
|
|
2478
|
-
const
|
|
2478
|
+
const de_DescribeAvailabilityOptionsResponse = (output, context) => {
|
|
2479
2479
|
const contents = {};
|
|
2480
2480
|
if (output["AvailabilityOptions"] !== undefined) {
|
|
2481
|
-
contents.AvailabilityOptions =
|
|
2481
|
+
contents.AvailabilityOptions = de_AvailabilityOptionsStatus(output["AvailabilityOptions"], context);
|
|
2482
2482
|
}
|
|
2483
2483
|
return contents;
|
|
2484
2484
|
};
|
|
2485
|
-
const
|
|
2485
|
+
const de_DescribeDomainEndpointOptionsResponse = (output, context) => {
|
|
2486
2486
|
const contents = {};
|
|
2487
2487
|
if (output["DomainEndpointOptions"] !== undefined) {
|
|
2488
|
-
contents.DomainEndpointOptions =
|
|
2488
|
+
contents.DomainEndpointOptions = de_DomainEndpointOptionsStatus(output["DomainEndpointOptions"], context);
|
|
2489
2489
|
}
|
|
2490
2490
|
return contents;
|
|
2491
2491
|
};
|
|
2492
|
-
const
|
|
2492
|
+
const de_DescribeDomainsResponse = (output, context) => {
|
|
2493
2493
|
const contents = {};
|
|
2494
2494
|
if (output.DomainStatusList === "") {
|
|
2495
2495
|
contents.DomainStatusList = [];
|
|
2496
2496
|
}
|
|
2497
2497
|
else if (output["DomainStatusList"] !== undefined && output["DomainStatusList"]["member"] !== undefined) {
|
|
2498
|
-
contents.DomainStatusList =
|
|
2498
|
+
contents.DomainStatusList = de_DomainStatusList(__getArrayIfSingleItem(output["DomainStatusList"]["member"]), context);
|
|
2499
2499
|
}
|
|
2500
2500
|
return contents;
|
|
2501
2501
|
};
|
|
2502
|
-
const
|
|
2502
|
+
const de_DescribeExpressionsResponse = (output, context) => {
|
|
2503
2503
|
const contents = {};
|
|
2504
2504
|
if (output.Expressions === "") {
|
|
2505
2505
|
contents.Expressions = [];
|
|
2506
2506
|
}
|
|
2507
2507
|
else if (output["Expressions"] !== undefined && output["Expressions"]["member"] !== undefined) {
|
|
2508
|
-
contents.Expressions =
|
|
2508
|
+
contents.Expressions = de_ExpressionStatusList(__getArrayIfSingleItem(output["Expressions"]["member"]), context);
|
|
2509
2509
|
}
|
|
2510
2510
|
return contents;
|
|
2511
2511
|
};
|
|
2512
|
-
const
|
|
2512
|
+
const de_DescribeIndexFieldsResponse = (output, context) => {
|
|
2513
2513
|
const contents = {};
|
|
2514
2514
|
if (output.IndexFields === "") {
|
|
2515
2515
|
contents.IndexFields = [];
|
|
2516
2516
|
}
|
|
2517
2517
|
else if (output["IndexFields"] !== undefined && output["IndexFields"]["member"] !== undefined) {
|
|
2518
|
-
contents.IndexFields =
|
|
2518
|
+
contents.IndexFields = de_IndexFieldStatusList(__getArrayIfSingleItem(output["IndexFields"]["member"]), context);
|
|
2519
2519
|
}
|
|
2520
2520
|
return contents;
|
|
2521
2521
|
};
|
|
2522
|
-
const
|
|
2522
|
+
const de_DescribeScalingParametersResponse = (output, context) => {
|
|
2523
2523
|
const contents = {};
|
|
2524
2524
|
if (output["ScalingParameters"] !== undefined) {
|
|
2525
|
-
contents.ScalingParameters =
|
|
2525
|
+
contents.ScalingParameters = de_ScalingParametersStatus(output["ScalingParameters"], context);
|
|
2526
2526
|
}
|
|
2527
2527
|
return contents;
|
|
2528
2528
|
};
|
|
2529
|
-
const
|
|
2529
|
+
const de_DescribeServiceAccessPoliciesResponse = (output, context) => {
|
|
2530
2530
|
const contents = {};
|
|
2531
2531
|
if (output["AccessPolicies"] !== undefined) {
|
|
2532
|
-
contents.AccessPolicies =
|
|
2532
|
+
contents.AccessPolicies = de_AccessPoliciesStatus(output["AccessPolicies"], context);
|
|
2533
2533
|
}
|
|
2534
2534
|
return contents;
|
|
2535
2535
|
};
|
|
2536
|
-
const
|
|
2536
|
+
const de_DescribeSuggestersResponse = (output, context) => {
|
|
2537
2537
|
const contents = {};
|
|
2538
2538
|
if (output.Suggesters === "") {
|
|
2539
2539
|
contents.Suggesters = [];
|
|
2540
2540
|
}
|
|
2541
2541
|
else if (output["Suggesters"] !== undefined && output["Suggesters"]["member"] !== undefined) {
|
|
2542
|
-
contents.Suggesters =
|
|
2542
|
+
contents.Suggesters = de_SuggesterStatusList(__getArrayIfSingleItem(output["Suggesters"]["member"]), context);
|
|
2543
2543
|
}
|
|
2544
2544
|
return contents;
|
|
2545
2545
|
};
|
|
2546
|
-
const
|
|
2546
|
+
const de_DisabledOperationException = (output, context) => {
|
|
2547
2547
|
const contents = {};
|
|
2548
2548
|
if (output["Code"] !== undefined) {
|
|
2549
2549
|
contents.Code = __expectString(output["Code"]);
|
|
@@ -2553,7 +2553,7 @@ const deserializeAws_queryDisabledOperationException = (output, context) => {
|
|
|
2553
2553
|
}
|
|
2554
2554
|
return contents;
|
|
2555
2555
|
};
|
|
2556
|
-
const
|
|
2556
|
+
const de_DocumentSuggesterOptions = (output, context) => {
|
|
2557
2557
|
const contents = {};
|
|
2558
2558
|
if (output["SourceField"] !== undefined) {
|
|
2559
2559
|
contents.SourceField = __expectString(output["SourceField"]);
|
|
@@ -2566,7 +2566,7 @@ const deserializeAws_queryDocumentSuggesterOptions = (output, context) => {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
return contents;
|
|
2568
2568
|
};
|
|
2569
|
-
const
|
|
2569
|
+
const de_DomainEndpointOptions = (output, context) => {
|
|
2570
2570
|
const contents = {};
|
|
2571
2571
|
if (output["EnforceHTTPS"] !== undefined) {
|
|
2572
2572
|
contents.EnforceHTTPS = __parseBoolean(output["EnforceHTTPS"]);
|
|
@@ -2576,17 +2576,17 @@ const deserializeAws_queryDomainEndpointOptions = (output, context) => {
|
|
|
2576
2576
|
}
|
|
2577
2577
|
return contents;
|
|
2578
2578
|
};
|
|
2579
|
-
const
|
|
2579
|
+
const de_DomainEndpointOptionsStatus = (output, context) => {
|
|
2580
2580
|
const contents = {};
|
|
2581
2581
|
if (output["Options"] !== undefined) {
|
|
2582
|
-
contents.Options =
|
|
2582
|
+
contents.Options = de_DomainEndpointOptions(output["Options"], context);
|
|
2583
2583
|
}
|
|
2584
2584
|
if (output["Status"] !== undefined) {
|
|
2585
|
-
contents.Status =
|
|
2585
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2586
2586
|
}
|
|
2587
2587
|
return contents;
|
|
2588
2588
|
};
|
|
2589
|
-
const
|
|
2589
|
+
const de_DomainNameMap = (output, context) => {
|
|
2590
2590
|
return output.reduce((acc, pair) => {
|
|
2591
2591
|
if (pair["value"] === null) {
|
|
2592
2592
|
return acc;
|
|
@@ -2595,7 +2595,7 @@ const deserializeAws_queryDomainNameMap = (output, context) => {
|
|
|
2595
2595
|
return acc;
|
|
2596
2596
|
}, {});
|
|
2597
2597
|
};
|
|
2598
|
-
const
|
|
2598
|
+
const de_DomainStatus = (output, context) => {
|
|
2599
2599
|
const contents = {};
|
|
2600
2600
|
if (output["DomainId"] !== undefined) {
|
|
2601
2601
|
contents.DomainId = __expectString(output["DomainId"]);
|
|
@@ -2613,10 +2613,10 @@ const deserializeAws_queryDomainStatus = (output, context) => {
|
|
|
2613
2613
|
contents.Deleted = __parseBoolean(output["Deleted"]);
|
|
2614
2614
|
}
|
|
2615
2615
|
if (output["DocService"] !== undefined) {
|
|
2616
|
-
contents.DocService =
|
|
2616
|
+
contents.DocService = de_ServiceEndpoint(output["DocService"], context);
|
|
2617
2617
|
}
|
|
2618
2618
|
if (output["SearchService"] !== undefined) {
|
|
2619
|
-
contents.SearchService =
|
|
2619
|
+
contents.SearchService = de_ServiceEndpoint(output["SearchService"], context);
|
|
2620
2620
|
}
|
|
2621
2621
|
if (output["RequiresIndexDocuments"] !== undefined) {
|
|
2622
2622
|
contents.RequiresIndexDocuments = __parseBoolean(output["RequiresIndexDocuments"]);
|
|
@@ -2634,18 +2634,18 @@ const deserializeAws_queryDomainStatus = (output, context) => {
|
|
|
2634
2634
|
contents.SearchInstanceCount = __strictParseInt32(output["SearchInstanceCount"]);
|
|
2635
2635
|
}
|
|
2636
2636
|
if (output["Limits"] !== undefined) {
|
|
2637
|
-
contents.Limits =
|
|
2637
|
+
contents.Limits = de_Limits(output["Limits"], context);
|
|
2638
2638
|
}
|
|
2639
2639
|
return contents;
|
|
2640
2640
|
};
|
|
2641
|
-
const
|
|
2641
|
+
const de_DomainStatusList = (output, context) => {
|
|
2642
2642
|
return (output || [])
|
|
2643
2643
|
.filter((e) => e != null)
|
|
2644
2644
|
.map((entry) => {
|
|
2645
|
-
return
|
|
2645
|
+
return de_DomainStatus(entry, context);
|
|
2646
2646
|
});
|
|
2647
2647
|
};
|
|
2648
|
-
const
|
|
2648
|
+
const de_DoubleArrayOptions = (output, context) => {
|
|
2649
2649
|
const contents = {};
|
|
2650
2650
|
if (output["DefaultValue"] !== undefined) {
|
|
2651
2651
|
contents.DefaultValue = __strictParseFloat(output["DefaultValue"]);
|
|
@@ -2664,7 +2664,7 @@ const deserializeAws_queryDoubleArrayOptions = (output, context) => {
|
|
|
2664
2664
|
}
|
|
2665
2665
|
return contents;
|
|
2666
2666
|
};
|
|
2667
|
-
const
|
|
2667
|
+
const de_DoubleOptions = (output, context) => {
|
|
2668
2668
|
const contents = {};
|
|
2669
2669
|
if (output["DefaultValue"] !== undefined) {
|
|
2670
2670
|
contents.DefaultValue = __strictParseFloat(output["DefaultValue"]);
|
|
@@ -2686,7 +2686,7 @@ const deserializeAws_queryDoubleOptions = (output, context) => {
|
|
|
2686
2686
|
}
|
|
2687
2687
|
return contents;
|
|
2688
2688
|
};
|
|
2689
|
-
const
|
|
2689
|
+
const de_Expression = (output, context) => {
|
|
2690
2690
|
const contents = {};
|
|
2691
2691
|
if (output["ExpressionName"] !== undefined) {
|
|
2692
2692
|
contents.ExpressionName = __expectString(output["ExpressionName"]);
|
|
@@ -2696,41 +2696,41 @@ const deserializeAws_queryExpression = (output, context) => {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
return contents;
|
|
2698
2698
|
};
|
|
2699
|
-
const
|
|
2699
|
+
const de_ExpressionStatus = (output, context) => {
|
|
2700
2700
|
const contents = {};
|
|
2701
2701
|
if (output["Options"] !== undefined) {
|
|
2702
|
-
contents.Options =
|
|
2702
|
+
contents.Options = de_Expression(output["Options"], context);
|
|
2703
2703
|
}
|
|
2704
2704
|
if (output["Status"] !== undefined) {
|
|
2705
|
-
contents.Status =
|
|
2705
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2706
2706
|
}
|
|
2707
2707
|
return contents;
|
|
2708
2708
|
};
|
|
2709
|
-
const
|
|
2709
|
+
const de_ExpressionStatusList = (output, context) => {
|
|
2710
2710
|
return (output || [])
|
|
2711
2711
|
.filter((e) => e != null)
|
|
2712
2712
|
.map((entry) => {
|
|
2713
|
-
return
|
|
2713
|
+
return de_ExpressionStatus(entry, context);
|
|
2714
2714
|
});
|
|
2715
2715
|
};
|
|
2716
|
-
const
|
|
2716
|
+
const de_FieldNameList = (output, context) => {
|
|
2717
2717
|
return (output || [])
|
|
2718
2718
|
.filter((e) => e != null)
|
|
2719
2719
|
.map((entry) => {
|
|
2720
2720
|
return __expectString(entry);
|
|
2721
2721
|
});
|
|
2722
2722
|
};
|
|
2723
|
-
const
|
|
2723
|
+
const de_IndexDocumentsResponse = (output, context) => {
|
|
2724
2724
|
const contents = {};
|
|
2725
2725
|
if (output.FieldNames === "") {
|
|
2726
2726
|
contents.FieldNames = [];
|
|
2727
2727
|
}
|
|
2728
2728
|
else if (output["FieldNames"] !== undefined && output["FieldNames"]["member"] !== undefined) {
|
|
2729
|
-
contents.FieldNames =
|
|
2729
|
+
contents.FieldNames = de_FieldNameList(__getArrayIfSingleItem(output["FieldNames"]["member"]), context);
|
|
2730
2730
|
}
|
|
2731
2731
|
return contents;
|
|
2732
2732
|
};
|
|
2733
|
-
const
|
|
2733
|
+
const de_IndexField = (output, context) => {
|
|
2734
2734
|
const contents = {};
|
|
2735
2735
|
if (output["IndexFieldName"] !== undefined) {
|
|
2736
2736
|
contents.IndexFieldName = __expectString(output["IndexFieldName"]);
|
|
@@ -2739,58 +2739,58 @@ const deserializeAws_queryIndexField = (output, context) => {
|
|
|
2739
2739
|
contents.IndexFieldType = __expectString(output["IndexFieldType"]);
|
|
2740
2740
|
}
|
|
2741
2741
|
if (output["IntOptions"] !== undefined) {
|
|
2742
|
-
contents.IntOptions =
|
|
2742
|
+
contents.IntOptions = de_IntOptions(output["IntOptions"], context);
|
|
2743
2743
|
}
|
|
2744
2744
|
if (output["DoubleOptions"] !== undefined) {
|
|
2745
|
-
contents.DoubleOptions =
|
|
2745
|
+
contents.DoubleOptions = de_DoubleOptions(output["DoubleOptions"], context);
|
|
2746
2746
|
}
|
|
2747
2747
|
if (output["LiteralOptions"] !== undefined) {
|
|
2748
|
-
contents.LiteralOptions =
|
|
2748
|
+
contents.LiteralOptions = de_LiteralOptions(output["LiteralOptions"], context);
|
|
2749
2749
|
}
|
|
2750
2750
|
if (output["TextOptions"] !== undefined) {
|
|
2751
|
-
contents.TextOptions =
|
|
2751
|
+
contents.TextOptions = de_TextOptions(output["TextOptions"], context);
|
|
2752
2752
|
}
|
|
2753
2753
|
if (output["DateOptions"] !== undefined) {
|
|
2754
|
-
contents.DateOptions =
|
|
2754
|
+
contents.DateOptions = de_DateOptions(output["DateOptions"], context);
|
|
2755
2755
|
}
|
|
2756
2756
|
if (output["LatLonOptions"] !== undefined) {
|
|
2757
|
-
contents.LatLonOptions =
|
|
2757
|
+
contents.LatLonOptions = de_LatLonOptions(output["LatLonOptions"], context);
|
|
2758
2758
|
}
|
|
2759
2759
|
if (output["IntArrayOptions"] !== undefined) {
|
|
2760
|
-
contents.IntArrayOptions =
|
|
2760
|
+
contents.IntArrayOptions = de_IntArrayOptions(output["IntArrayOptions"], context);
|
|
2761
2761
|
}
|
|
2762
2762
|
if (output["DoubleArrayOptions"] !== undefined) {
|
|
2763
|
-
contents.DoubleArrayOptions =
|
|
2763
|
+
contents.DoubleArrayOptions = de_DoubleArrayOptions(output["DoubleArrayOptions"], context);
|
|
2764
2764
|
}
|
|
2765
2765
|
if (output["LiteralArrayOptions"] !== undefined) {
|
|
2766
|
-
contents.LiteralArrayOptions =
|
|
2766
|
+
contents.LiteralArrayOptions = de_LiteralArrayOptions(output["LiteralArrayOptions"], context);
|
|
2767
2767
|
}
|
|
2768
2768
|
if (output["TextArrayOptions"] !== undefined) {
|
|
2769
|
-
contents.TextArrayOptions =
|
|
2769
|
+
contents.TextArrayOptions = de_TextArrayOptions(output["TextArrayOptions"], context);
|
|
2770
2770
|
}
|
|
2771
2771
|
if (output["DateArrayOptions"] !== undefined) {
|
|
2772
|
-
contents.DateArrayOptions =
|
|
2772
|
+
contents.DateArrayOptions = de_DateArrayOptions(output["DateArrayOptions"], context);
|
|
2773
2773
|
}
|
|
2774
2774
|
return contents;
|
|
2775
2775
|
};
|
|
2776
|
-
const
|
|
2776
|
+
const de_IndexFieldStatus = (output, context) => {
|
|
2777
2777
|
const contents = {};
|
|
2778
2778
|
if (output["Options"] !== undefined) {
|
|
2779
|
-
contents.Options =
|
|
2779
|
+
contents.Options = de_IndexField(output["Options"], context);
|
|
2780
2780
|
}
|
|
2781
2781
|
if (output["Status"] !== undefined) {
|
|
2782
|
-
contents.Status =
|
|
2782
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2783
2783
|
}
|
|
2784
2784
|
return contents;
|
|
2785
2785
|
};
|
|
2786
|
-
const
|
|
2786
|
+
const de_IndexFieldStatusList = (output, context) => {
|
|
2787
2787
|
return (output || [])
|
|
2788
2788
|
.filter((e) => e != null)
|
|
2789
2789
|
.map((entry) => {
|
|
2790
|
-
return
|
|
2790
|
+
return de_IndexFieldStatus(entry, context);
|
|
2791
2791
|
});
|
|
2792
2792
|
};
|
|
2793
|
-
const
|
|
2793
|
+
const de_IntArrayOptions = (output, context) => {
|
|
2794
2794
|
const contents = {};
|
|
2795
2795
|
if (output["DefaultValue"] !== undefined) {
|
|
2796
2796
|
contents.DefaultValue = __strictParseLong(output["DefaultValue"]);
|
|
@@ -2809,7 +2809,7 @@ const deserializeAws_queryIntArrayOptions = (output, context) => {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
return contents;
|
|
2811
2811
|
};
|
|
2812
|
-
const
|
|
2812
|
+
const de_InternalException = (output, context) => {
|
|
2813
2813
|
const contents = {};
|
|
2814
2814
|
if (output["Code"] !== undefined) {
|
|
2815
2815
|
contents.Code = __expectString(output["Code"]);
|
|
@@ -2819,7 +2819,7 @@ const deserializeAws_queryInternalException = (output, context) => {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
return contents;
|
|
2821
2821
|
};
|
|
2822
|
-
const
|
|
2822
|
+
const de_IntOptions = (output, context) => {
|
|
2823
2823
|
const contents = {};
|
|
2824
2824
|
if (output["DefaultValue"] !== undefined) {
|
|
2825
2825
|
contents.DefaultValue = __strictParseLong(output["DefaultValue"]);
|
|
@@ -2841,7 +2841,7 @@ const deserializeAws_queryIntOptions = (output, context) => {
|
|
|
2841
2841
|
}
|
|
2842
2842
|
return contents;
|
|
2843
2843
|
};
|
|
2844
|
-
const
|
|
2844
|
+
const de_InvalidTypeException = (output, context) => {
|
|
2845
2845
|
const contents = {};
|
|
2846
2846
|
if (output["Code"] !== undefined) {
|
|
2847
2847
|
contents.Code = __expectString(output["Code"]);
|
|
@@ -2851,7 +2851,7 @@ const deserializeAws_queryInvalidTypeException = (output, context) => {
|
|
|
2851
2851
|
}
|
|
2852
2852
|
return contents;
|
|
2853
2853
|
};
|
|
2854
|
-
const
|
|
2854
|
+
const de_LatLonOptions = (output, context) => {
|
|
2855
2855
|
const contents = {};
|
|
2856
2856
|
if (output["DefaultValue"] !== undefined) {
|
|
2857
2857
|
contents.DefaultValue = __expectString(output["DefaultValue"]);
|
|
@@ -2873,7 +2873,7 @@ const deserializeAws_queryLatLonOptions = (output, context) => {
|
|
|
2873
2873
|
}
|
|
2874
2874
|
return contents;
|
|
2875
2875
|
};
|
|
2876
|
-
const
|
|
2876
|
+
const de_LimitExceededException = (output, context) => {
|
|
2877
2877
|
const contents = {};
|
|
2878
2878
|
if (output["Code"] !== undefined) {
|
|
2879
2879
|
contents.Code = __expectString(output["Code"]);
|
|
@@ -2883,7 +2883,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
|
2883
2883
|
}
|
|
2884
2884
|
return contents;
|
|
2885
2885
|
};
|
|
2886
|
-
const
|
|
2886
|
+
const de_Limits = (output, context) => {
|
|
2887
2887
|
const contents = {};
|
|
2888
2888
|
if (output["MaximumReplicationCount"] !== undefined) {
|
|
2889
2889
|
contents.MaximumReplicationCount = __strictParseInt32(output["MaximumReplicationCount"]);
|
|
@@ -2893,17 +2893,17 @@ const deserializeAws_queryLimits = (output, context) => {
|
|
|
2893
2893
|
}
|
|
2894
2894
|
return contents;
|
|
2895
2895
|
};
|
|
2896
|
-
const
|
|
2896
|
+
const de_ListDomainNamesResponse = (output, context) => {
|
|
2897
2897
|
const contents = {};
|
|
2898
2898
|
if (output.DomainNames === "") {
|
|
2899
2899
|
contents.DomainNames = {};
|
|
2900
2900
|
}
|
|
2901
2901
|
else if (output["DomainNames"] !== undefined && output["DomainNames"]["entry"] !== undefined) {
|
|
2902
|
-
contents.DomainNames =
|
|
2902
|
+
contents.DomainNames = de_DomainNameMap(__getArrayIfSingleItem(output["DomainNames"]["entry"]), context);
|
|
2903
2903
|
}
|
|
2904
2904
|
return contents;
|
|
2905
2905
|
};
|
|
2906
|
-
const
|
|
2906
|
+
const de_LiteralArrayOptions = (output, context) => {
|
|
2907
2907
|
const contents = {};
|
|
2908
2908
|
if (output["DefaultValue"] !== undefined) {
|
|
2909
2909
|
contents.DefaultValue = __expectString(output["DefaultValue"]);
|
|
@@ -2922,7 +2922,7 @@ const deserializeAws_queryLiteralArrayOptions = (output, context) => {
|
|
|
2922
2922
|
}
|
|
2923
2923
|
return contents;
|
|
2924
2924
|
};
|
|
2925
|
-
const
|
|
2925
|
+
const de_LiteralOptions = (output, context) => {
|
|
2926
2926
|
const contents = {};
|
|
2927
2927
|
if (output["DefaultValue"] !== undefined) {
|
|
2928
2928
|
contents.DefaultValue = __expectString(output["DefaultValue"]);
|
|
@@ -2944,7 +2944,7 @@ const deserializeAws_queryLiteralOptions = (output, context) => {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
return contents;
|
|
2946
2946
|
};
|
|
2947
|
-
const
|
|
2947
|
+
const de_OptionStatus = (output, context) => {
|
|
2948
2948
|
const contents = {};
|
|
2949
2949
|
if (output["CreationDate"] !== undefined) {
|
|
2950
2950
|
contents.CreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreationDate"]));
|
|
@@ -2963,7 +2963,7 @@ const deserializeAws_queryOptionStatus = (output, context) => {
|
|
|
2963
2963
|
}
|
|
2964
2964
|
return contents;
|
|
2965
2965
|
};
|
|
2966
|
-
const
|
|
2966
|
+
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
2967
2967
|
const contents = {};
|
|
2968
2968
|
if (output["Code"] !== undefined) {
|
|
2969
2969
|
contents.Code = __expectString(output["Code"]);
|
|
@@ -2973,7 +2973,7 @@ const deserializeAws_queryResourceAlreadyExistsException = (output, context) =>
|
|
|
2973
2973
|
}
|
|
2974
2974
|
return contents;
|
|
2975
2975
|
};
|
|
2976
|
-
const
|
|
2976
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
2977
2977
|
const contents = {};
|
|
2978
2978
|
if (output["Code"] !== undefined) {
|
|
2979
2979
|
contents.Code = __expectString(output["Code"]);
|
|
@@ -2983,7 +2983,7 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
|
2983
2983
|
}
|
|
2984
2984
|
return contents;
|
|
2985
2985
|
};
|
|
2986
|
-
const
|
|
2986
|
+
const de_ScalingParameters = (output, context) => {
|
|
2987
2987
|
const contents = {};
|
|
2988
2988
|
if (output["DesiredInstanceType"] !== undefined) {
|
|
2989
2989
|
contents.DesiredInstanceType = __expectString(output["DesiredInstanceType"]);
|
|
@@ -2996,51 +2996,51 @@ const deserializeAws_queryScalingParameters = (output, context) => {
|
|
|
2996
2996
|
}
|
|
2997
2997
|
return contents;
|
|
2998
2998
|
};
|
|
2999
|
-
const
|
|
2999
|
+
const de_ScalingParametersStatus = (output, context) => {
|
|
3000
3000
|
const contents = {};
|
|
3001
3001
|
if (output["Options"] !== undefined) {
|
|
3002
|
-
contents.Options =
|
|
3002
|
+
contents.Options = de_ScalingParameters(output["Options"], context);
|
|
3003
3003
|
}
|
|
3004
3004
|
if (output["Status"] !== undefined) {
|
|
3005
|
-
contents.Status =
|
|
3005
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
3006
3006
|
}
|
|
3007
3007
|
return contents;
|
|
3008
3008
|
};
|
|
3009
|
-
const
|
|
3009
|
+
const de_ServiceEndpoint = (output, context) => {
|
|
3010
3010
|
const contents = {};
|
|
3011
3011
|
if (output["Endpoint"] !== undefined) {
|
|
3012
3012
|
contents.Endpoint = __expectString(output["Endpoint"]);
|
|
3013
3013
|
}
|
|
3014
3014
|
return contents;
|
|
3015
3015
|
};
|
|
3016
|
-
const
|
|
3016
|
+
const de_Suggester = (output, context) => {
|
|
3017
3017
|
const contents = {};
|
|
3018
3018
|
if (output["SuggesterName"] !== undefined) {
|
|
3019
3019
|
contents.SuggesterName = __expectString(output["SuggesterName"]);
|
|
3020
3020
|
}
|
|
3021
3021
|
if (output["DocumentSuggesterOptions"] !== undefined) {
|
|
3022
|
-
contents.DocumentSuggesterOptions =
|
|
3022
|
+
contents.DocumentSuggesterOptions = de_DocumentSuggesterOptions(output["DocumentSuggesterOptions"], context);
|
|
3023
3023
|
}
|
|
3024
3024
|
return contents;
|
|
3025
3025
|
};
|
|
3026
|
-
const
|
|
3026
|
+
const de_SuggesterStatus = (output, context) => {
|
|
3027
3027
|
const contents = {};
|
|
3028
3028
|
if (output["Options"] !== undefined) {
|
|
3029
|
-
contents.Options =
|
|
3029
|
+
contents.Options = de_Suggester(output["Options"], context);
|
|
3030
3030
|
}
|
|
3031
3031
|
if (output["Status"] !== undefined) {
|
|
3032
|
-
contents.Status =
|
|
3032
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
3033
3033
|
}
|
|
3034
3034
|
return contents;
|
|
3035
3035
|
};
|
|
3036
|
-
const
|
|
3036
|
+
const de_SuggesterStatusList = (output, context) => {
|
|
3037
3037
|
return (output || [])
|
|
3038
3038
|
.filter((e) => e != null)
|
|
3039
3039
|
.map((entry) => {
|
|
3040
|
-
return
|
|
3040
|
+
return de_SuggesterStatus(entry, context);
|
|
3041
3041
|
});
|
|
3042
3042
|
};
|
|
3043
|
-
const
|
|
3043
|
+
const de_TextArrayOptions = (output, context) => {
|
|
3044
3044
|
const contents = {};
|
|
3045
3045
|
if (output["DefaultValue"] !== undefined) {
|
|
3046
3046
|
contents.DefaultValue = __expectString(output["DefaultValue"]);
|
|
@@ -3059,7 +3059,7 @@ const deserializeAws_queryTextArrayOptions = (output, context) => {
|
|
|
3059
3059
|
}
|
|
3060
3060
|
return contents;
|
|
3061
3061
|
};
|
|
3062
|
-
const
|
|
3062
|
+
const de_TextOptions = (output, context) => {
|
|
3063
3063
|
const contents = {};
|
|
3064
3064
|
if (output["DefaultValue"] !== undefined) {
|
|
3065
3065
|
contents.DefaultValue = __expectString(output["DefaultValue"]);
|
|
@@ -3081,35 +3081,35 @@ const deserializeAws_queryTextOptions = (output, context) => {
|
|
|
3081
3081
|
}
|
|
3082
3082
|
return contents;
|
|
3083
3083
|
};
|
|
3084
|
-
const
|
|
3084
|
+
const de_UpdateAvailabilityOptionsResponse = (output, context) => {
|
|
3085
3085
|
const contents = {};
|
|
3086
3086
|
if (output["AvailabilityOptions"] !== undefined) {
|
|
3087
|
-
contents.AvailabilityOptions =
|
|
3087
|
+
contents.AvailabilityOptions = de_AvailabilityOptionsStatus(output["AvailabilityOptions"], context);
|
|
3088
3088
|
}
|
|
3089
3089
|
return contents;
|
|
3090
3090
|
};
|
|
3091
|
-
const
|
|
3091
|
+
const de_UpdateDomainEndpointOptionsResponse = (output, context) => {
|
|
3092
3092
|
const contents = {};
|
|
3093
3093
|
if (output["DomainEndpointOptions"] !== undefined) {
|
|
3094
|
-
contents.DomainEndpointOptions =
|
|
3094
|
+
contents.DomainEndpointOptions = de_DomainEndpointOptionsStatus(output["DomainEndpointOptions"], context);
|
|
3095
3095
|
}
|
|
3096
3096
|
return contents;
|
|
3097
3097
|
};
|
|
3098
|
-
const
|
|
3098
|
+
const de_UpdateScalingParametersResponse = (output, context) => {
|
|
3099
3099
|
const contents = {};
|
|
3100
3100
|
if (output["ScalingParameters"] !== undefined) {
|
|
3101
|
-
contents.ScalingParameters =
|
|
3101
|
+
contents.ScalingParameters = de_ScalingParametersStatus(output["ScalingParameters"], context);
|
|
3102
3102
|
}
|
|
3103
3103
|
return contents;
|
|
3104
3104
|
};
|
|
3105
|
-
const
|
|
3105
|
+
const de_UpdateServiceAccessPoliciesResponse = (output, context) => {
|
|
3106
3106
|
const contents = {};
|
|
3107
3107
|
if (output["AccessPolicies"] !== undefined) {
|
|
3108
|
-
contents.AccessPolicies =
|
|
3108
|
+
contents.AccessPolicies = de_AccessPoliciesStatus(output["AccessPolicies"], context);
|
|
3109
3109
|
}
|
|
3110
3110
|
return contents;
|
|
3111
3111
|
};
|
|
3112
|
-
const
|
|
3112
|
+
const de_ValidationException = (output, context) => {
|
|
3113
3113
|
const contents = {};
|
|
3114
3114
|
if (output["Code"] !== undefined) {
|
|
3115
3115
|
contents.Code = __expectString(output["Code"]);
|