@aws-sdk/client-cloudsearch 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/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 +29 -29
|
@@ -1,286 +1,286 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_UpdateDomainEndpointOptionsCommand = exports.de_UpdateAvailabilityOptionsCommand = exports.de_ListDomainNamesCommand = exports.de_IndexDocumentsCommand = exports.de_DescribeSuggestersCommand = exports.de_DescribeServiceAccessPoliciesCommand = exports.de_DescribeScalingParametersCommand = exports.de_DescribeIndexFieldsCommand = exports.de_DescribeExpressionsCommand = exports.de_DescribeDomainsCommand = exports.de_DescribeDomainEndpointOptionsCommand = exports.de_DescribeAvailabilityOptionsCommand = exports.de_DescribeAnalysisSchemesCommand = exports.de_DeleteSuggesterCommand = exports.de_DeleteIndexFieldCommand = exports.de_DeleteExpressionCommand = exports.de_DeleteDomainCommand = exports.de_DeleteAnalysisSchemeCommand = exports.de_DefineSuggesterCommand = exports.de_DefineIndexFieldCommand = exports.de_DefineExpressionCommand = exports.de_DefineAnalysisSchemeCommand = exports.de_CreateDomainCommand = exports.de_BuildSuggestersCommand = exports.se_UpdateServiceAccessPoliciesCommand = exports.se_UpdateScalingParametersCommand = exports.se_UpdateDomainEndpointOptionsCommand = exports.se_UpdateAvailabilityOptionsCommand = exports.se_ListDomainNamesCommand = exports.se_IndexDocumentsCommand = exports.se_DescribeSuggestersCommand = exports.se_DescribeServiceAccessPoliciesCommand = exports.se_DescribeScalingParametersCommand = exports.se_DescribeIndexFieldsCommand = exports.se_DescribeExpressionsCommand = exports.se_DescribeDomainsCommand = exports.se_DescribeDomainEndpointOptionsCommand = exports.se_DescribeAvailabilityOptionsCommand = exports.se_DescribeAnalysisSchemesCommand = exports.se_DeleteSuggesterCommand = exports.se_DeleteIndexFieldCommand = exports.se_DeleteExpressionCommand = exports.se_DeleteDomainCommand = exports.se_DeleteAnalysisSchemeCommand = exports.se_DefineSuggesterCommand = exports.se_DefineIndexFieldCommand = exports.se_DefineExpressionCommand = exports.se_DefineAnalysisSchemeCommand = exports.se_CreateDomainCommand = exports.se_BuildSuggestersCommand = void 0;
|
|
4
|
+
exports.de_UpdateServiceAccessPoliciesCommand = exports.de_UpdateScalingParametersCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
8
8
|
const CloudSearchServiceException_1 = require("../models/CloudSearchServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const
|
|
10
|
+
const se_BuildSuggestersCommand = async (input, context) => {
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/x-www-form-urlencoded",
|
|
13
13
|
};
|
|
14
14
|
let body;
|
|
15
15
|
body = buildFormUrlencodedString({
|
|
16
|
-
...
|
|
16
|
+
...se_BuildSuggestersRequest(input, context),
|
|
17
17
|
Action: "BuildSuggesters",
|
|
18
18
|
Version: "2013-01-01",
|
|
19
19
|
});
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
|
-
exports.
|
|
23
|
-
const
|
|
22
|
+
exports.se_BuildSuggestersCommand = se_BuildSuggestersCommand;
|
|
23
|
+
const se_CreateDomainCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-www-form-urlencoded",
|
|
26
26
|
};
|
|
27
27
|
let body;
|
|
28
28
|
body = buildFormUrlencodedString({
|
|
29
|
-
...
|
|
29
|
+
...se_CreateDomainRequest(input, context),
|
|
30
30
|
Action: "CreateDomain",
|
|
31
31
|
Version: "2013-01-01",
|
|
32
32
|
});
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
|
-
exports.
|
|
36
|
-
const
|
|
35
|
+
exports.se_CreateDomainCommand = se_CreateDomainCommand;
|
|
36
|
+
const se_DefineAnalysisSchemeCommand = async (input, context) => {
|
|
37
37
|
const headers = {
|
|
38
38
|
"content-type": "application/x-www-form-urlencoded",
|
|
39
39
|
};
|
|
40
40
|
let body;
|
|
41
41
|
body = buildFormUrlencodedString({
|
|
42
|
-
...
|
|
42
|
+
...se_DefineAnalysisSchemeRequest(input, context),
|
|
43
43
|
Action: "DefineAnalysisScheme",
|
|
44
44
|
Version: "2013-01-01",
|
|
45
45
|
});
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
48
|
+
exports.se_DefineAnalysisSchemeCommand = se_DefineAnalysisSchemeCommand;
|
|
49
|
+
const se_DefineExpressionCommand = async (input, context) => {
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/x-www-form-urlencoded",
|
|
52
52
|
};
|
|
53
53
|
let body;
|
|
54
54
|
body = buildFormUrlencodedString({
|
|
55
|
-
...
|
|
55
|
+
...se_DefineExpressionRequest(input, context),
|
|
56
56
|
Action: "DefineExpression",
|
|
57
57
|
Version: "2013-01-01",
|
|
58
58
|
});
|
|
59
59
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
60
|
};
|
|
61
|
-
exports.
|
|
62
|
-
const
|
|
61
|
+
exports.se_DefineExpressionCommand = se_DefineExpressionCommand;
|
|
62
|
+
const se_DefineIndexFieldCommand = async (input, context) => {
|
|
63
63
|
const headers = {
|
|
64
64
|
"content-type": "application/x-www-form-urlencoded",
|
|
65
65
|
};
|
|
66
66
|
let body;
|
|
67
67
|
body = buildFormUrlencodedString({
|
|
68
|
-
...
|
|
68
|
+
...se_DefineIndexFieldRequest(input, context),
|
|
69
69
|
Action: "DefineIndexField",
|
|
70
70
|
Version: "2013-01-01",
|
|
71
71
|
});
|
|
72
72
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
73
73
|
};
|
|
74
|
-
exports.
|
|
75
|
-
const
|
|
74
|
+
exports.se_DefineIndexFieldCommand = se_DefineIndexFieldCommand;
|
|
75
|
+
const se_DefineSuggesterCommand = async (input, context) => {
|
|
76
76
|
const headers = {
|
|
77
77
|
"content-type": "application/x-www-form-urlencoded",
|
|
78
78
|
};
|
|
79
79
|
let body;
|
|
80
80
|
body = buildFormUrlencodedString({
|
|
81
|
-
...
|
|
81
|
+
...se_DefineSuggesterRequest(input, context),
|
|
82
82
|
Action: "DefineSuggester",
|
|
83
83
|
Version: "2013-01-01",
|
|
84
84
|
});
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
exports.
|
|
88
|
-
const
|
|
87
|
+
exports.se_DefineSuggesterCommand = se_DefineSuggesterCommand;
|
|
88
|
+
const se_DeleteAnalysisSchemeCommand = async (input, context) => {
|
|
89
89
|
const headers = {
|
|
90
90
|
"content-type": "application/x-www-form-urlencoded",
|
|
91
91
|
};
|
|
92
92
|
let body;
|
|
93
93
|
body = buildFormUrlencodedString({
|
|
94
|
-
...
|
|
94
|
+
...se_DeleteAnalysisSchemeRequest(input, context),
|
|
95
95
|
Action: "DeleteAnalysisScheme",
|
|
96
96
|
Version: "2013-01-01",
|
|
97
97
|
});
|
|
98
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
99
|
};
|
|
100
|
-
exports.
|
|
101
|
-
const
|
|
100
|
+
exports.se_DeleteAnalysisSchemeCommand = se_DeleteAnalysisSchemeCommand;
|
|
101
|
+
const se_DeleteDomainCommand = async (input, context) => {
|
|
102
102
|
const headers = {
|
|
103
103
|
"content-type": "application/x-www-form-urlencoded",
|
|
104
104
|
};
|
|
105
105
|
let body;
|
|
106
106
|
body = buildFormUrlencodedString({
|
|
107
|
-
...
|
|
107
|
+
...se_DeleteDomainRequest(input, context),
|
|
108
108
|
Action: "DeleteDomain",
|
|
109
109
|
Version: "2013-01-01",
|
|
110
110
|
});
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
exports.
|
|
114
|
-
const
|
|
113
|
+
exports.se_DeleteDomainCommand = se_DeleteDomainCommand;
|
|
114
|
+
const se_DeleteExpressionCommand = 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_DeleteExpressionRequest(input, context),
|
|
121
121
|
Action: "DeleteExpression",
|
|
122
122
|
Version: "2013-01-01",
|
|
123
123
|
});
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
|
-
exports.
|
|
127
|
-
const
|
|
126
|
+
exports.se_DeleteExpressionCommand = se_DeleteExpressionCommand;
|
|
127
|
+
const se_DeleteIndexFieldCommand = async (input, context) => {
|
|
128
128
|
const headers = {
|
|
129
129
|
"content-type": "application/x-www-form-urlencoded",
|
|
130
130
|
};
|
|
131
131
|
let body;
|
|
132
132
|
body = buildFormUrlencodedString({
|
|
133
|
-
...
|
|
133
|
+
...se_DeleteIndexFieldRequest(input, context),
|
|
134
134
|
Action: "DeleteIndexField",
|
|
135
135
|
Version: "2013-01-01",
|
|
136
136
|
});
|
|
137
137
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
138
|
};
|
|
139
|
-
exports.
|
|
140
|
-
const
|
|
139
|
+
exports.se_DeleteIndexFieldCommand = se_DeleteIndexFieldCommand;
|
|
140
|
+
const se_DeleteSuggesterCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-www-form-urlencoded",
|
|
143
143
|
};
|
|
144
144
|
let body;
|
|
145
145
|
body = buildFormUrlencodedString({
|
|
146
|
-
...
|
|
146
|
+
...se_DeleteSuggesterRequest(input, context),
|
|
147
147
|
Action: "DeleteSuggester",
|
|
148
148
|
Version: "2013-01-01",
|
|
149
149
|
});
|
|
150
150
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
151
151
|
};
|
|
152
|
-
exports.
|
|
153
|
-
const
|
|
152
|
+
exports.se_DeleteSuggesterCommand = se_DeleteSuggesterCommand;
|
|
153
|
+
const se_DescribeAnalysisSchemesCommand = async (input, context) => {
|
|
154
154
|
const headers = {
|
|
155
155
|
"content-type": "application/x-www-form-urlencoded",
|
|
156
156
|
};
|
|
157
157
|
let body;
|
|
158
158
|
body = buildFormUrlencodedString({
|
|
159
|
-
...
|
|
159
|
+
...se_DescribeAnalysisSchemesRequest(input, context),
|
|
160
160
|
Action: "DescribeAnalysisSchemes",
|
|
161
161
|
Version: "2013-01-01",
|
|
162
162
|
});
|
|
163
163
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
164
164
|
};
|
|
165
|
-
exports.
|
|
166
|
-
const
|
|
165
|
+
exports.se_DescribeAnalysisSchemesCommand = se_DescribeAnalysisSchemesCommand;
|
|
166
|
+
const se_DescribeAvailabilityOptionsCommand = async (input, context) => {
|
|
167
167
|
const headers = {
|
|
168
168
|
"content-type": "application/x-www-form-urlencoded",
|
|
169
169
|
};
|
|
170
170
|
let body;
|
|
171
171
|
body = buildFormUrlencodedString({
|
|
172
|
-
...
|
|
172
|
+
...se_DescribeAvailabilityOptionsRequest(input, context),
|
|
173
173
|
Action: "DescribeAvailabilityOptions",
|
|
174
174
|
Version: "2013-01-01",
|
|
175
175
|
});
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_DescribeAvailabilityOptionsCommand = se_DescribeAvailabilityOptionsCommand;
|
|
179
|
+
const se_DescribeDomainEndpointOptionsCommand = async (input, context) => {
|
|
180
180
|
const headers = {
|
|
181
181
|
"content-type": "application/x-www-form-urlencoded",
|
|
182
182
|
};
|
|
183
183
|
let body;
|
|
184
184
|
body = buildFormUrlencodedString({
|
|
185
|
-
...
|
|
185
|
+
...se_DescribeDomainEndpointOptionsRequest(input, context),
|
|
186
186
|
Action: "DescribeDomainEndpointOptions",
|
|
187
187
|
Version: "2013-01-01",
|
|
188
188
|
});
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
|
-
exports.
|
|
192
|
-
const
|
|
191
|
+
exports.se_DescribeDomainEndpointOptionsCommand = se_DescribeDomainEndpointOptionsCommand;
|
|
192
|
+
const se_DescribeDomainsCommand = async (input, context) => {
|
|
193
193
|
const headers = {
|
|
194
194
|
"content-type": "application/x-www-form-urlencoded",
|
|
195
195
|
};
|
|
196
196
|
let body;
|
|
197
197
|
body = buildFormUrlencodedString({
|
|
198
|
-
...
|
|
198
|
+
...se_DescribeDomainsRequest(input, context),
|
|
199
199
|
Action: "DescribeDomains",
|
|
200
200
|
Version: "2013-01-01",
|
|
201
201
|
});
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
|
-
exports.
|
|
205
|
-
const
|
|
204
|
+
exports.se_DescribeDomainsCommand = se_DescribeDomainsCommand;
|
|
205
|
+
const se_DescribeExpressionsCommand = async (input, context) => {
|
|
206
206
|
const headers = {
|
|
207
207
|
"content-type": "application/x-www-form-urlencoded",
|
|
208
208
|
};
|
|
209
209
|
let body;
|
|
210
210
|
body = buildFormUrlencodedString({
|
|
211
|
-
...
|
|
211
|
+
...se_DescribeExpressionsRequest(input, context),
|
|
212
212
|
Action: "DescribeExpressions",
|
|
213
213
|
Version: "2013-01-01",
|
|
214
214
|
});
|
|
215
215
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
216
|
};
|
|
217
|
-
exports.
|
|
218
|
-
const
|
|
217
|
+
exports.se_DescribeExpressionsCommand = se_DescribeExpressionsCommand;
|
|
218
|
+
const se_DescribeIndexFieldsCommand = async (input, context) => {
|
|
219
219
|
const headers = {
|
|
220
220
|
"content-type": "application/x-www-form-urlencoded",
|
|
221
221
|
};
|
|
222
222
|
let body;
|
|
223
223
|
body = buildFormUrlencodedString({
|
|
224
|
-
...
|
|
224
|
+
...se_DescribeIndexFieldsRequest(input, context),
|
|
225
225
|
Action: "DescribeIndexFields",
|
|
226
226
|
Version: "2013-01-01",
|
|
227
227
|
});
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
exports.
|
|
231
|
-
const
|
|
230
|
+
exports.se_DescribeIndexFieldsCommand = se_DescribeIndexFieldsCommand;
|
|
231
|
+
const se_DescribeScalingParametersCommand = async (input, context) => {
|
|
232
232
|
const headers = {
|
|
233
233
|
"content-type": "application/x-www-form-urlencoded",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
236
|
body = buildFormUrlencodedString({
|
|
237
|
-
...
|
|
237
|
+
...se_DescribeScalingParametersRequest(input, context),
|
|
238
238
|
Action: "DescribeScalingParameters",
|
|
239
239
|
Version: "2013-01-01",
|
|
240
240
|
});
|
|
241
241
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
242
242
|
};
|
|
243
|
-
exports.
|
|
244
|
-
const
|
|
243
|
+
exports.se_DescribeScalingParametersCommand = se_DescribeScalingParametersCommand;
|
|
244
|
+
const se_DescribeServiceAccessPoliciesCommand = async (input, context) => {
|
|
245
245
|
const headers = {
|
|
246
246
|
"content-type": "application/x-www-form-urlencoded",
|
|
247
247
|
};
|
|
248
248
|
let body;
|
|
249
249
|
body = buildFormUrlencodedString({
|
|
250
|
-
...
|
|
250
|
+
...se_DescribeServiceAccessPoliciesRequest(input, context),
|
|
251
251
|
Action: "DescribeServiceAccessPolicies",
|
|
252
252
|
Version: "2013-01-01",
|
|
253
253
|
});
|
|
254
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
255
255
|
};
|
|
256
|
-
exports.
|
|
257
|
-
const
|
|
256
|
+
exports.se_DescribeServiceAccessPoliciesCommand = se_DescribeServiceAccessPoliciesCommand;
|
|
257
|
+
const se_DescribeSuggestersCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-www-form-urlencoded",
|
|
260
260
|
};
|
|
261
261
|
let body;
|
|
262
262
|
body = buildFormUrlencodedString({
|
|
263
|
-
...
|
|
263
|
+
...se_DescribeSuggestersRequest(input, context),
|
|
264
264
|
Action: "DescribeSuggesters",
|
|
265
265
|
Version: "2013-01-01",
|
|
266
266
|
});
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
|
-
exports.
|
|
270
|
-
const
|
|
269
|
+
exports.se_DescribeSuggestersCommand = se_DescribeSuggestersCommand;
|
|
270
|
+
const se_IndexDocumentsCommand = async (input, context) => {
|
|
271
271
|
const headers = {
|
|
272
272
|
"content-type": "application/x-www-form-urlencoded",
|
|
273
273
|
};
|
|
274
274
|
let body;
|
|
275
275
|
body = buildFormUrlencodedString({
|
|
276
|
-
...
|
|
276
|
+
...se_IndexDocumentsRequest(input, context),
|
|
277
277
|
Action: "IndexDocuments",
|
|
278
278
|
Version: "2013-01-01",
|
|
279
279
|
});
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
|
-
exports.
|
|
283
|
-
const
|
|
282
|
+
exports.se_IndexDocumentsCommand = se_IndexDocumentsCommand;
|
|
283
|
+
const se_ListDomainNamesCommand = async (input, context) => {
|
|
284
284
|
const headers = {
|
|
285
285
|
"content-type": "application/x-www-form-urlencoded",
|
|
286
286
|
};
|
|
@@ -290,74 +290,74 @@ const serializeAws_queryListDomainNamesCommand = async (input, context) => {
|
|
|
290
290
|
});
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
|
-
exports.
|
|
294
|
-
const
|
|
293
|
+
exports.se_ListDomainNamesCommand = se_ListDomainNamesCommand;
|
|
294
|
+
const se_UpdateAvailabilityOptionsCommand = async (input, context) => {
|
|
295
295
|
const headers = {
|
|
296
296
|
"content-type": "application/x-www-form-urlencoded",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
299
|
body = buildFormUrlencodedString({
|
|
300
|
-
...
|
|
300
|
+
...se_UpdateAvailabilityOptionsRequest(input, context),
|
|
301
301
|
Action: "UpdateAvailabilityOptions",
|
|
302
302
|
Version: "2013-01-01",
|
|
303
303
|
});
|
|
304
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
305
|
};
|
|
306
|
-
exports.
|
|
307
|
-
const
|
|
306
|
+
exports.se_UpdateAvailabilityOptionsCommand = se_UpdateAvailabilityOptionsCommand;
|
|
307
|
+
const se_UpdateDomainEndpointOptionsCommand = async (input, context) => {
|
|
308
308
|
const headers = {
|
|
309
309
|
"content-type": "application/x-www-form-urlencoded",
|
|
310
310
|
};
|
|
311
311
|
let body;
|
|
312
312
|
body = buildFormUrlencodedString({
|
|
313
|
-
...
|
|
313
|
+
...se_UpdateDomainEndpointOptionsRequest(input, context),
|
|
314
314
|
Action: "UpdateDomainEndpointOptions",
|
|
315
315
|
Version: "2013-01-01",
|
|
316
316
|
});
|
|
317
317
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
318
|
};
|
|
319
|
-
exports.
|
|
320
|
-
const
|
|
319
|
+
exports.se_UpdateDomainEndpointOptionsCommand = se_UpdateDomainEndpointOptionsCommand;
|
|
320
|
+
const se_UpdateScalingParametersCommand = async (input, context) => {
|
|
321
321
|
const headers = {
|
|
322
322
|
"content-type": "application/x-www-form-urlencoded",
|
|
323
323
|
};
|
|
324
324
|
let body;
|
|
325
325
|
body = buildFormUrlencodedString({
|
|
326
|
-
...
|
|
326
|
+
...se_UpdateScalingParametersRequest(input, context),
|
|
327
327
|
Action: "UpdateScalingParameters",
|
|
328
328
|
Version: "2013-01-01",
|
|
329
329
|
});
|
|
330
330
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
331
331
|
};
|
|
332
|
-
exports.
|
|
333
|
-
const
|
|
332
|
+
exports.se_UpdateScalingParametersCommand = se_UpdateScalingParametersCommand;
|
|
333
|
+
const se_UpdateServiceAccessPoliciesCommand = async (input, context) => {
|
|
334
334
|
const headers = {
|
|
335
335
|
"content-type": "application/x-www-form-urlencoded",
|
|
336
336
|
};
|
|
337
337
|
let body;
|
|
338
338
|
body = buildFormUrlencodedString({
|
|
339
|
-
...
|
|
339
|
+
...se_UpdateServiceAccessPoliciesRequest(input, context),
|
|
340
340
|
Action: "UpdateServiceAccessPolicies",
|
|
341
341
|
Version: "2013-01-01",
|
|
342
342
|
});
|
|
343
343
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
344
344
|
};
|
|
345
|
-
exports.
|
|
346
|
-
const
|
|
345
|
+
exports.se_UpdateServiceAccessPoliciesCommand = se_UpdateServiceAccessPoliciesCommand;
|
|
346
|
+
const de_BuildSuggestersCommand = async (output, context) => {
|
|
347
347
|
if (output.statusCode >= 300) {
|
|
348
|
-
return
|
|
348
|
+
return de_BuildSuggestersCommandError(output, context);
|
|
349
349
|
}
|
|
350
350
|
const data = await parseBody(output.body, context);
|
|
351
351
|
let contents = {};
|
|
352
|
-
contents =
|
|
352
|
+
contents = de_BuildSuggestersResponse(data.BuildSuggestersResult, context);
|
|
353
353
|
const response = {
|
|
354
354
|
$metadata: deserializeMetadata(output),
|
|
355
355
|
...contents,
|
|
356
356
|
};
|
|
357
357
|
return Promise.resolve(response);
|
|
358
358
|
};
|
|
359
|
-
exports.
|
|
360
|
-
const
|
|
359
|
+
exports.de_BuildSuggestersCommand = de_BuildSuggestersCommand;
|
|
360
|
+
const de_BuildSuggestersCommandError = async (output, context) => {
|
|
361
361
|
const parsedOutput = {
|
|
362
362
|
...output,
|
|
363
363
|
body: await parseErrorBody(output.body, context),
|
|
@@ -366,16 +366,16 @@ const deserializeAws_queryBuildSuggestersCommandError = async (output, context)
|
|
|
366
366
|
switch (errorCode) {
|
|
367
367
|
case "BaseException":
|
|
368
368
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
369
|
-
throw await
|
|
369
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
370
370
|
case "InternalException":
|
|
371
371
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
372
|
-
throw await
|
|
372
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
373
373
|
case "ResourceNotFound":
|
|
374
374
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
375
|
-
throw await
|
|
375
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
376
376
|
case "ValidationException":
|
|
377
377
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
378
|
-
throw await
|
|
378
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
379
379
|
default:
|
|
380
380
|
const parsedBody = parsedOutput.body;
|
|
381
381
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -386,21 +386,21 @@ const deserializeAws_queryBuildSuggestersCommandError = async (output, context)
|
|
|
386
386
|
});
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
|
-
const
|
|
389
|
+
const de_CreateDomainCommand = async (output, context) => {
|
|
390
390
|
if (output.statusCode >= 300) {
|
|
391
|
-
return
|
|
391
|
+
return de_CreateDomainCommandError(output, context);
|
|
392
392
|
}
|
|
393
393
|
const data = await parseBody(output.body, context);
|
|
394
394
|
let contents = {};
|
|
395
|
-
contents =
|
|
395
|
+
contents = de_CreateDomainResponse(data.CreateDomainResult, context);
|
|
396
396
|
const response = {
|
|
397
397
|
$metadata: deserializeMetadata(output),
|
|
398
398
|
...contents,
|
|
399
399
|
};
|
|
400
400
|
return Promise.resolve(response);
|
|
401
401
|
};
|
|
402
|
-
exports.
|
|
403
|
-
const
|
|
402
|
+
exports.de_CreateDomainCommand = de_CreateDomainCommand;
|
|
403
|
+
const de_CreateDomainCommandError = async (output, context) => {
|
|
404
404
|
const parsedOutput = {
|
|
405
405
|
...output,
|
|
406
406
|
body: await parseErrorBody(output.body, context),
|
|
@@ -409,19 +409,19 @@ const deserializeAws_queryCreateDomainCommandError = async (output, context) =>
|
|
|
409
409
|
switch (errorCode) {
|
|
410
410
|
case "BaseException":
|
|
411
411
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
412
|
-
throw await
|
|
412
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
413
413
|
case "InternalException":
|
|
414
414
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
415
|
-
throw await
|
|
415
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
416
416
|
case "LimitExceeded":
|
|
417
417
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
418
|
-
throw await
|
|
418
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
419
419
|
case "ResourceAlreadyExists":
|
|
420
420
|
case "com.amazonaws.cloudsearch#ResourceAlreadyExistsException":
|
|
421
|
-
throw await
|
|
421
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
422
422
|
case "ValidationException":
|
|
423
423
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
424
|
-
throw await
|
|
424
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
425
425
|
default:
|
|
426
426
|
const parsedBody = parsedOutput.body;
|
|
427
427
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -432,21 +432,21 @@ const deserializeAws_queryCreateDomainCommandError = async (output, context) =>
|
|
|
432
432
|
});
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
|
-
const
|
|
435
|
+
const de_DefineAnalysisSchemeCommand = async (output, context) => {
|
|
436
436
|
if (output.statusCode >= 300) {
|
|
437
|
-
return
|
|
437
|
+
return de_DefineAnalysisSchemeCommandError(output, context);
|
|
438
438
|
}
|
|
439
439
|
const data = await parseBody(output.body, context);
|
|
440
440
|
let contents = {};
|
|
441
|
-
contents =
|
|
441
|
+
contents = de_DefineAnalysisSchemeResponse(data.DefineAnalysisSchemeResult, context);
|
|
442
442
|
const response = {
|
|
443
443
|
$metadata: deserializeMetadata(output),
|
|
444
444
|
...contents,
|
|
445
445
|
};
|
|
446
446
|
return Promise.resolve(response);
|
|
447
447
|
};
|
|
448
|
-
exports.
|
|
449
|
-
const
|
|
448
|
+
exports.de_DefineAnalysisSchemeCommand = de_DefineAnalysisSchemeCommand;
|
|
449
|
+
const de_DefineAnalysisSchemeCommandError = async (output, context) => {
|
|
450
450
|
const parsedOutput = {
|
|
451
451
|
...output,
|
|
452
452
|
body: await parseErrorBody(output.body, context),
|
|
@@ -455,22 +455,22 @@ const deserializeAws_queryDefineAnalysisSchemeCommandError = async (output, cont
|
|
|
455
455
|
switch (errorCode) {
|
|
456
456
|
case "BaseException":
|
|
457
457
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
458
|
-
throw await
|
|
458
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
459
459
|
case "InternalException":
|
|
460
460
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
461
|
-
throw await
|
|
461
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
462
462
|
case "InvalidType":
|
|
463
463
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
464
|
-
throw await
|
|
464
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
465
465
|
case "LimitExceeded":
|
|
466
466
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
467
|
-
throw await
|
|
467
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
468
468
|
case "ResourceNotFound":
|
|
469
469
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
470
|
-
throw await
|
|
470
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
471
471
|
case "ValidationException":
|
|
472
472
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
473
|
-
throw await
|
|
473
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
474
474
|
default:
|
|
475
475
|
const parsedBody = parsedOutput.body;
|
|
476
476
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -481,21 +481,21 @@ const deserializeAws_queryDefineAnalysisSchemeCommandError = async (output, cont
|
|
|
481
481
|
});
|
|
482
482
|
}
|
|
483
483
|
};
|
|
484
|
-
const
|
|
484
|
+
const de_DefineExpressionCommand = async (output, context) => {
|
|
485
485
|
if (output.statusCode >= 300) {
|
|
486
|
-
return
|
|
486
|
+
return de_DefineExpressionCommandError(output, context);
|
|
487
487
|
}
|
|
488
488
|
const data = await parseBody(output.body, context);
|
|
489
489
|
let contents = {};
|
|
490
|
-
contents =
|
|
490
|
+
contents = de_DefineExpressionResponse(data.DefineExpressionResult, context);
|
|
491
491
|
const response = {
|
|
492
492
|
$metadata: deserializeMetadata(output),
|
|
493
493
|
...contents,
|
|
494
494
|
};
|
|
495
495
|
return Promise.resolve(response);
|
|
496
496
|
};
|
|
497
|
-
exports.
|
|
498
|
-
const
|
|
497
|
+
exports.de_DefineExpressionCommand = de_DefineExpressionCommand;
|
|
498
|
+
const de_DefineExpressionCommandError = async (output, context) => {
|
|
499
499
|
const parsedOutput = {
|
|
500
500
|
...output,
|
|
501
501
|
body: await parseErrorBody(output.body, context),
|
|
@@ -504,22 +504,22 @@ const deserializeAws_queryDefineExpressionCommandError = async (output, context)
|
|
|
504
504
|
switch (errorCode) {
|
|
505
505
|
case "BaseException":
|
|
506
506
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
507
|
-
throw await
|
|
507
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
508
508
|
case "InternalException":
|
|
509
509
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
510
|
-
throw await
|
|
510
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
511
511
|
case "InvalidType":
|
|
512
512
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
513
|
-
throw await
|
|
513
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
514
514
|
case "LimitExceeded":
|
|
515
515
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
516
|
-
throw await
|
|
516
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
517
517
|
case "ResourceNotFound":
|
|
518
518
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
519
|
-
throw await
|
|
519
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
520
520
|
case "ValidationException":
|
|
521
521
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
522
|
-
throw await
|
|
522
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
523
523
|
default:
|
|
524
524
|
const parsedBody = parsedOutput.body;
|
|
525
525
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -530,21 +530,21 @@ const deserializeAws_queryDefineExpressionCommandError = async (output, context)
|
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
|
-
const
|
|
533
|
+
const de_DefineIndexFieldCommand = async (output, context) => {
|
|
534
534
|
if (output.statusCode >= 300) {
|
|
535
|
-
return
|
|
535
|
+
return de_DefineIndexFieldCommandError(output, context);
|
|
536
536
|
}
|
|
537
537
|
const data = await parseBody(output.body, context);
|
|
538
538
|
let contents = {};
|
|
539
|
-
contents =
|
|
539
|
+
contents = de_DefineIndexFieldResponse(data.DefineIndexFieldResult, context);
|
|
540
540
|
const response = {
|
|
541
541
|
$metadata: deserializeMetadata(output),
|
|
542
542
|
...contents,
|
|
543
543
|
};
|
|
544
544
|
return Promise.resolve(response);
|
|
545
545
|
};
|
|
546
|
-
exports.
|
|
547
|
-
const
|
|
546
|
+
exports.de_DefineIndexFieldCommand = de_DefineIndexFieldCommand;
|
|
547
|
+
const de_DefineIndexFieldCommandError = async (output, context) => {
|
|
548
548
|
const parsedOutput = {
|
|
549
549
|
...output,
|
|
550
550
|
body: await parseErrorBody(output.body, context),
|
|
@@ -553,22 +553,22 @@ const deserializeAws_queryDefineIndexFieldCommandError = async (output, context)
|
|
|
553
553
|
switch (errorCode) {
|
|
554
554
|
case "BaseException":
|
|
555
555
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
556
|
-
throw await
|
|
556
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
557
557
|
case "InternalException":
|
|
558
558
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
559
|
-
throw await
|
|
559
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
560
560
|
case "InvalidType":
|
|
561
561
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
562
|
-
throw await
|
|
562
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
563
563
|
case "LimitExceeded":
|
|
564
564
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
565
|
-
throw await
|
|
565
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
566
566
|
case "ResourceNotFound":
|
|
567
567
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
568
|
-
throw await
|
|
568
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
569
569
|
case "ValidationException":
|
|
570
570
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
571
|
-
throw await
|
|
571
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
572
572
|
default:
|
|
573
573
|
const parsedBody = parsedOutput.body;
|
|
574
574
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -579,21 +579,21 @@ const deserializeAws_queryDefineIndexFieldCommandError = async (output, context)
|
|
|
579
579
|
});
|
|
580
580
|
}
|
|
581
581
|
};
|
|
582
|
-
const
|
|
582
|
+
const de_DefineSuggesterCommand = async (output, context) => {
|
|
583
583
|
if (output.statusCode >= 300) {
|
|
584
|
-
return
|
|
584
|
+
return de_DefineSuggesterCommandError(output, context);
|
|
585
585
|
}
|
|
586
586
|
const data = await parseBody(output.body, context);
|
|
587
587
|
let contents = {};
|
|
588
|
-
contents =
|
|
588
|
+
contents = de_DefineSuggesterResponse(data.DefineSuggesterResult, context);
|
|
589
589
|
const response = {
|
|
590
590
|
$metadata: deserializeMetadata(output),
|
|
591
591
|
...contents,
|
|
592
592
|
};
|
|
593
593
|
return Promise.resolve(response);
|
|
594
594
|
};
|
|
595
|
-
exports.
|
|
596
|
-
const
|
|
595
|
+
exports.de_DefineSuggesterCommand = de_DefineSuggesterCommand;
|
|
596
|
+
const de_DefineSuggesterCommandError = async (output, context) => {
|
|
597
597
|
const parsedOutput = {
|
|
598
598
|
...output,
|
|
599
599
|
body: await parseErrorBody(output.body, context),
|
|
@@ -602,22 +602,22 @@ const deserializeAws_queryDefineSuggesterCommandError = async (output, context)
|
|
|
602
602
|
switch (errorCode) {
|
|
603
603
|
case "BaseException":
|
|
604
604
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
605
|
-
throw await
|
|
605
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
606
606
|
case "InternalException":
|
|
607
607
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
608
|
-
throw await
|
|
608
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
609
609
|
case "InvalidType":
|
|
610
610
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
611
|
-
throw await
|
|
611
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
612
612
|
case "LimitExceeded":
|
|
613
613
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
614
|
-
throw await
|
|
614
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
615
615
|
case "ResourceNotFound":
|
|
616
616
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
617
|
-
throw await
|
|
617
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
618
618
|
case "ValidationException":
|
|
619
619
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
620
|
-
throw await
|
|
620
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
621
621
|
default:
|
|
622
622
|
const parsedBody = parsedOutput.body;
|
|
623
623
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -628,21 +628,21 @@ const deserializeAws_queryDefineSuggesterCommandError = async (output, context)
|
|
|
628
628
|
});
|
|
629
629
|
}
|
|
630
630
|
};
|
|
631
|
-
const
|
|
631
|
+
const de_DeleteAnalysisSchemeCommand = async (output, context) => {
|
|
632
632
|
if (output.statusCode >= 300) {
|
|
633
|
-
return
|
|
633
|
+
return de_DeleteAnalysisSchemeCommandError(output, context);
|
|
634
634
|
}
|
|
635
635
|
const data = await parseBody(output.body, context);
|
|
636
636
|
let contents = {};
|
|
637
|
-
contents =
|
|
637
|
+
contents = de_DeleteAnalysisSchemeResponse(data.DeleteAnalysisSchemeResult, context);
|
|
638
638
|
const response = {
|
|
639
639
|
$metadata: deserializeMetadata(output),
|
|
640
640
|
...contents,
|
|
641
641
|
};
|
|
642
642
|
return Promise.resolve(response);
|
|
643
643
|
};
|
|
644
|
-
exports.
|
|
645
|
-
const
|
|
644
|
+
exports.de_DeleteAnalysisSchemeCommand = de_DeleteAnalysisSchemeCommand;
|
|
645
|
+
const de_DeleteAnalysisSchemeCommandError = async (output, context) => {
|
|
646
646
|
const parsedOutput = {
|
|
647
647
|
...output,
|
|
648
648
|
body: await parseErrorBody(output.body, context),
|
|
@@ -651,19 +651,19 @@ const deserializeAws_queryDeleteAnalysisSchemeCommandError = async (output, cont
|
|
|
651
651
|
switch (errorCode) {
|
|
652
652
|
case "BaseException":
|
|
653
653
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
654
|
-
throw await
|
|
654
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
655
655
|
case "InternalException":
|
|
656
656
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
657
|
-
throw await
|
|
657
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
658
658
|
case "InvalidType":
|
|
659
659
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
660
|
-
throw await
|
|
660
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
661
661
|
case "ResourceNotFound":
|
|
662
662
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
663
|
-
throw await
|
|
663
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
664
664
|
case "ValidationException":
|
|
665
665
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
666
|
-
throw await
|
|
666
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
667
667
|
default:
|
|
668
668
|
const parsedBody = parsedOutput.body;
|
|
669
669
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -674,21 +674,21 @@ const deserializeAws_queryDeleteAnalysisSchemeCommandError = async (output, cont
|
|
|
674
674
|
});
|
|
675
675
|
}
|
|
676
676
|
};
|
|
677
|
-
const
|
|
677
|
+
const de_DeleteDomainCommand = async (output, context) => {
|
|
678
678
|
if (output.statusCode >= 300) {
|
|
679
|
-
return
|
|
679
|
+
return de_DeleteDomainCommandError(output, context);
|
|
680
680
|
}
|
|
681
681
|
const data = await parseBody(output.body, context);
|
|
682
682
|
let contents = {};
|
|
683
|
-
contents =
|
|
683
|
+
contents = de_DeleteDomainResponse(data.DeleteDomainResult, context);
|
|
684
684
|
const response = {
|
|
685
685
|
$metadata: deserializeMetadata(output),
|
|
686
686
|
...contents,
|
|
687
687
|
};
|
|
688
688
|
return Promise.resolve(response);
|
|
689
689
|
};
|
|
690
|
-
exports.
|
|
691
|
-
const
|
|
690
|
+
exports.de_DeleteDomainCommand = de_DeleteDomainCommand;
|
|
691
|
+
const de_DeleteDomainCommandError = async (output, context) => {
|
|
692
692
|
const parsedOutput = {
|
|
693
693
|
...output,
|
|
694
694
|
body: await parseErrorBody(output.body, context),
|
|
@@ -697,10 +697,10 @@ const deserializeAws_queryDeleteDomainCommandError = async (output, context) =>
|
|
|
697
697
|
switch (errorCode) {
|
|
698
698
|
case "BaseException":
|
|
699
699
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
700
|
-
throw await
|
|
700
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
701
701
|
case "InternalException":
|
|
702
702
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
703
|
-
throw await
|
|
703
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
704
704
|
default:
|
|
705
705
|
const parsedBody = parsedOutput.body;
|
|
706
706
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -711,21 +711,21 @@ const deserializeAws_queryDeleteDomainCommandError = async (output, context) =>
|
|
|
711
711
|
});
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
|
-
const
|
|
714
|
+
const de_DeleteExpressionCommand = async (output, context) => {
|
|
715
715
|
if (output.statusCode >= 300) {
|
|
716
|
-
return
|
|
716
|
+
return de_DeleteExpressionCommandError(output, context);
|
|
717
717
|
}
|
|
718
718
|
const data = await parseBody(output.body, context);
|
|
719
719
|
let contents = {};
|
|
720
|
-
contents =
|
|
720
|
+
contents = de_DeleteExpressionResponse(data.DeleteExpressionResult, context);
|
|
721
721
|
const response = {
|
|
722
722
|
$metadata: deserializeMetadata(output),
|
|
723
723
|
...contents,
|
|
724
724
|
};
|
|
725
725
|
return Promise.resolve(response);
|
|
726
726
|
};
|
|
727
|
-
exports.
|
|
728
|
-
const
|
|
727
|
+
exports.de_DeleteExpressionCommand = de_DeleteExpressionCommand;
|
|
728
|
+
const de_DeleteExpressionCommandError = async (output, context) => {
|
|
729
729
|
const parsedOutput = {
|
|
730
730
|
...output,
|
|
731
731
|
body: await parseErrorBody(output.body, context),
|
|
@@ -734,19 +734,19 @@ const deserializeAws_queryDeleteExpressionCommandError = async (output, context)
|
|
|
734
734
|
switch (errorCode) {
|
|
735
735
|
case "BaseException":
|
|
736
736
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
737
|
-
throw await
|
|
737
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
738
738
|
case "InternalException":
|
|
739
739
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
740
|
-
throw await
|
|
740
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
741
741
|
case "InvalidType":
|
|
742
742
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
743
|
-
throw await
|
|
743
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
744
744
|
case "ResourceNotFound":
|
|
745
745
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
746
|
-
throw await
|
|
746
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
747
747
|
case "ValidationException":
|
|
748
748
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
749
|
-
throw await
|
|
749
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
750
750
|
default:
|
|
751
751
|
const parsedBody = parsedOutput.body;
|
|
752
752
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -757,21 +757,21 @@ const deserializeAws_queryDeleteExpressionCommandError = async (output, context)
|
|
|
757
757
|
});
|
|
758
758
|
}
|
|
759
759
|
};
|
|
760
|
-
const
|
|
760
|
+
const de_DeleteIndexFieldCommand = async (output, context) => {
|
|
761
761
|
if (output.statusCode >= 300) {
|
|
762
|
-
return
|
|
762
|
+
return de_DeleteIndexFieldCommandError(output, context);
|
|
763
763
|
}
|
|
764
764
|
const data = await parseBody(output.body, context);
|
|
765
765
|
let contents = {};
|
|
766
|
-
contents =
|
|
766
|
+
contents = de_DeleteIndexFieldResponse(data.DeleteIndexFieldResult, context);
|
|
767
767
|
const response = {
|
|
768
768
|
$metadata: deserializeMetadata(output),
|
|
769
769
|
...contents,
|
|
770
770
|
};
|
|
771
771
|
return Promise.resolve(response);
|
|
772
772
|
};
|
|
773
|
-
exports.
|
|
774
|
-
const
|
|
773
|
+
exports.de_DeleteIndexFieldCommand = de_DeleteIndexFieldCommand;
|
|
774
|
+
const de_DeleteIndexFieldCommandError = async (output, context) => {
|
|
775
775
|
const parsedOutput = {
|
|
776
776
|
...output,
|
|
777
777
|
body: await parseErrorBody(output.body, context),
|
|
@@ -780,19 +780,19 @@ const deserializeAws_queryDeleteIndexFieldCommandError = async (output, context)
|
|
|
780
780
|
switch (errorCode) {
|
|
781
781
|
case "BaseException":
|
|
782
782
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
783
|
-
throw await
|
|
783
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
784
784
|
case "InternalException":
|
|
785
785
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
786
|
-
throw await
|
|
786
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
787
787
|
case "InvalidType":
|
|
788
788
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
789
|
-
throw await
|
|
789
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
790
790
|
case "ResourceNotFound":
|
|
791
791
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
792
|
-
throw await
|
|
792
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
793
793
|
case "ValidationException":
|
|
794
794
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
795
|
-
throw await
|
|
795
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
796
796
|
default:
|
|
797
797
|
const parsedBody = parsedOutput.body;
|
|
798
798
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -803,21 +803,21 @@ const deserializeAws_queryDeleteIndexFieldCommandError = async (output, context)
|
|
|
803
803
|
});
|
|
804
804
|
}
|
|
805
805
|
};
|
|
806
|
-
const
|
|
806
|
+
const de_DeleteSuggesterCommand = async (output, context) => {
|
|
807
807
|
if (output.statusCode >= 300) {
|
|
808
|
-
return
|
|
808
|
+
return de_DeleteSuggesterCommandError(output, context);
|
|
809
809
|
}
|
|
810
810
|
const data = await parseBody(output.body, context);
|
|
811
811
|
let contents = {};
|
|
812
|
-
contents =
|
|
812
|
+
contents = de_DeleteSuggesterResponse(data.DeleteSuggesterResult, context);
|
|
813
813
|
const response = {
|
|
814
814
|
$metadata: deserializeMetadata(output),
|
|
815
815
|
...contents,
|
|
816
816
|
};
|
|
817
817
|
return Promise.resolve(response);
|
|
818
818
|
};
|
|
819
|
-
exports.
|
|
820
|
-
const
|
|
819
|
+
exports.de_DeleteSuggesterCommand = de_DeleteSuggesterCommand;
|
|
820
|
+
const de_DeleteSuggesterCommandError = async (output, context) => {
|
|
821
821
|
const parsedOutput = {
|
|
822
822
|
...output,
|
|
823
823
|
body: await parseErrorBody(output.body, context),
|
|
@@ -826,19 +826,19 @@ const deserializeAws_queryDeleteSuggesterCommandError = async (output, context)
|
|
|
826
826
|
switch (errorCode) {
|
|
827
827
|
case "BaseException":
|
|
828
828
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
829
|
-
throw await
|
|
829
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
830
830
|
case "InternalException":
|
|
831
831
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
832
|
-
throw await
|
|
832
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
833
833
|
case "InvalidType":
|
|
834
834
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
835
|
-
throw await
|
|
835
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
836
836
|
case "ResourceNotFound":
|
|
837
837
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
838
|
-
throw await
|
|
838
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
839
839
|
case "ValidationException":
|
|
840
840
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
841
|
-
throw await
|
|
841
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
842
842
|
default:
|
|
843
843
|
const parsedBody = parsedOutput.body;
|
|
844
844
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -849,21 +849,21 @@ const deserializeAws_queryDeleteSuggesterCommandError = async (output, context)
|
|
|
849
849
|
});
|
|
850
850
|
}
|
|
851
851
|
};
|
|
852
|
-
const
|
|
852
|
+
const de_DescribeAnalysisSchemesCommand = async (output, context) => {
|
|
853
853
|
if (output.statusCode >= 300) {
|
|
854
|
-
return
|
|
854
|
+
return de_DescribeAnalysisSchemesCommandError(output, context);
|
|
855
855
|
}
|
|
856
856
|
const data = await parseBody(output.body, context);
|
|
857
857
|
let contents = {};
|
|
858
|
-
contents =
|
|
858
|
+
contents = de_DescribeAnalysisSchemesResponse(data.DescribeAnalysisSchemesResult, context);
|
|
859
859
|
const response = {
|
|
860
860
|
$metadata: deserializeMetadata(output),
|
|
861
861
|
...contents,
|
|
862
862
|
};
|
|
863
863
|
return Promise.resolve(response);
|
|
864
864
|
};
|
|
865
|
-
exports.
|
|
866
|
-
const
|
|
865
|
+
exports.de_DescribeAnalysisSchemesCommand = de_DescribeAnalysisSchemesCommand;
|
|
866
|
+
const de_DescribeAnalysisSchemesCommandError = async (output, context) => {
|
|
867
867
|
const parsedOutput = {
|
|
868
868
|
...output,
|
|
869
869
|
body: await parseErrorBody(output.body, context),
|
|
@@ -872,13 +872,13 @@ const deserializeAws_queryDescribeAnalysisSchemesCommandError = async (output, c
|
|
|
872
872
|
switch (errorCode) {
|
|
873
873
|
case "BaseException":
|
|
874
874
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
875
|
-
throw await
|
|
875
|
+
throw await de_BaseExceptionRes(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 "ResourceNotFound":
|
|
880
880
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
881
|
-
throw await
|
|
881
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
882
882
|
default:
|
|
883
883
|
const parsedBody = parsedOutput.body;
|
|
884
884
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -889,21 +889,21 @@ const deserializeAws_queryDescribeAnalysisSchemesCommandError = async (output, c
|
|
|
889
889
|
});
|
|
890
890
|
}
|
|
891
891
|
};
|
|
892
|
-
const
|
|
892
|
+
const de_DescribeAvailabilityOptionsCommand = async (output, context) => {
|
|
893
893
|
if (output.statusCode >= 300) {
|
|
894
|
-
return
|
|
894
|
+
return de_DescribeAvailabilityOptionsCommandError(output, context);
|
|
895
895
|
}
|
|
896
896
|
const data = await parseBody(output.body, context);
|
|
897
897
|
let contents = {};
|
|
898
|
-
contents =
|
|
898
|
+
contents = de_DescribeAvailabilityOptionsResponse(data.DescribeAvailabilityOptionsResult, context);
|
|
899
899
|
const response = {
|
|
900
900
|
$metadata: deserializeMetadata(output),
|
|
901
901
|
...contents,
|
|
902
902
|
};
|
|
903
903
|
return Promise.resolve(response);
|
|
904
904
|
};
|
|
905
|
-
exports.
|
|
906
|
-
const
|
|
905
|
+
exports.de_DescribeAvailabilityOptionsCommand = de_DescribeAvailabilityOptionsCommand;
|
|
906
|
+
const de_DescribeAvailabilityOptionsCommandError = async (output, context) => {
|
|
907
907
|
const parsedOutput = {
|
|
908
908
|
...output,
|
|
909
909
|
body: await parseErrorBody(output.body, context),
|
|
@@ -912,22 +912,22 @@ const deserializeAws_queryDescribeAvailabilityOptionsCommandError = async (outpu
|
|
|
912
912
|
switch (errorCode) {
|
|
913
913
|
case "BaseException":
|
|
914
914
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
915
|
-
throw await
|
|
915
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
916
916
|
case "DisabledAction":
|
|
917
917
|
case "com.amazonaws.cloudsearch#DisabledOperationException":
|
|
918
|
-
throw await
|
|
918
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
919
919
|
case "InternalException":
|
|
920
920
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
921
|
-
throw await
|
|
921
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
922
922
|
case "InvalidType":
|
|
923
923
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
924
|
-
throw await
|
|
924
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
925
925
|
case "LimitExceeded":
|
|
926
926
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
927
|
-
throw await
|
|
927
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
928
928
|
case "ResourceNotFound":
|
|
929
929
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
930
|
-
throw await
|
|
930
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
931
931
|
default:
|
|
932
932
|
const parsedBody = parsedOutput.body;
|
|
933
933
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -938,21 +938,21 @@ const deserializeAws_queryDescribeAvailabilityOptionsCommandError = async (outpu
|
|
|
938
938
|
});
|
|
939
939
|
}
|
|
940
940
|
};
|
|
941
|
-
const
|
|
941
|
+
const de_DescribeDomainEndpointOptionsCommand = async (output, context) => {
|
|
942
942
|
if (output.statusCode >= 300) {
|
|
943
|
-
return
|
|
943
|
+
return de_DescribeDomainEndpointOptionsCommandError(output, context);
|
|
944
944
|
}
|
|
945
945
|
const data = await parseBody(output.body, context);
|
|
946
946
|
let contents = {};
|
|
947
|
-
contents =
|
|
947
|
+
contents = de_DescribeDomainEndpointOptionsResponse(data.DescribeDomainEndpointOptionsResult, context);
|
|
948
948
|
const response = {
|
|
949
949
|
$metadata: deserializeMetadata(output),
|
|
950
950
|
...contents,
|
|
951
951
|
};
|
|
952
952
|
return Promise.resolve(response);
|
|
953
953
|
};
|
|
954
|
-
exports.
|
|
955
|
-
const
|
|
954
|
+
exports.de_DescribeDomainEndpointOptionsCommand = de_DescribeDomainEndpointOptionsCommand;
|
|
955
|
+
const de_DescribeDomainEndpointOptionsCommandError = async (output, context) => {
|
|
956
956
|
const parsedOutput = {
|
|
957
957
|
...output,
|
|
958
958
|
body: await parseErrorBody(output.body, context),
|
|
@@ -961,19 +961,19 @@ const deserializeAws_queryDescribeDomainEndpointOptionsCommandError = async (out
|
|
|
961
961
|
switch (errorCode) {
|
|
962
962
|
case "BaseException":
|
|
963
963
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
964
|
-
throw await
|
|
964
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
965
965
|
case "DisabledAction":
|
|
966
966
|
case "com.amazonaws.cloudsearch#DisabledOperationException":
|
|
967
|
-
throw await
|
|
967
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
968
968
|
case "InternalException":
|
|
969
969
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
970
|
-
throw await
|
|
970
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
971
971
|
case "LimitExceeded":
|
|
972
972
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
973
|
-
throw await
|
|
973
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
974
974
|
case "ResourceNotFound":
|
|
975
975
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
976
|
-
throw await
|
|
976
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
977
977
|
default:
|
|
978
978
|
const parsedBody = parsedOutput.body;
|
|
979
979
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -984,21 +984,21 @@ const deserializeAws_queryDescribeDomainEndpointOptionsCommandError = async (out
|
|
|
984
984
|
});
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
|
-
const
|
|
987
|
+
const de_DescribeDomainsCommand = async (output, context) => {
|
|
988
988
|
if (output.statusCode >= 300) {
|
|
989
|
-
return
|
|
989
|
+
return de_DescribeDomainsCommandError(output, context);
|
|
990
990
|
}
|
|
991
991
|
const data = await parseBody(output.body, context);
|
|
992
992
|
let contents = {};
|
|
993
|
-
contents =
|
|
993
|
+
contents = de_DescribeDomainsResponse(data.DescribeDomainsResult, context);
|
|
994
994
|
const response = {
|
|
995
995
|
$metadata: deserializeMetadata(output),
|
|
996
996
|
...contents,
|
|
997
997
|
};
|
|
998
998
|
return Promise.resolve(response);
|
|
999
999
|
};
|
|
1000
|
-
exports.
|
|
1001
|
-
const
|
|
1000
|
+
exports.de_DescribeDomainsCommand = de_DescribeDomainsCommand;
|
|
1001
|
+
const de_DescribeDomainsCommandError = async (output, context) => {
|
|
1002
1002
|
const parsedOutput = {
|
|
1003
1003
|
...output,
|
|
1004
1004
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1007,10 +1007,10 @@ const deserializeAws_queryDescribeDomainsCommandError = async (output, context)
|
|
|
1007
1007
|
switch (errorCode) {
|
|
1008
1008
|
case "BaseException":
|
|
1009
1009
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1010
|
-
throw await
|
|
1010
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1011
1011
|
case "InternalException":
|
|
1012
1012
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1013
|
-
throw await
|
|
1013
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1014
1014
|
default:
|
|
1015
1015
|
const parsedBody = parsedOutput.body;
|
|
1016
1016
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1021,21 +1021,21 @@ const deserializeAws_queryDescribeDomainsCommandError = async (output, context)
|
|
|
1021
1021
|
});
|
|
1022
1022
|
}
|
|
1023
1023
|
};
|
|
1024
|
-
const
|
|
1024
|
+
const de_DescribeExpressionsCommand = async (output, context) => {
|
|
1025
1025
|
if (output.statusCode >= 300) {
|
|
1026
|
-
return
|
|
1026
|
+
return de_DescribeExpressionsCommandError(output, context);
|
|
1027
1027
|
}
|
|
1028
1028
|
const data = await parseBody(output.body, context);
|
|
1029
1029
|
let contents = {};
|
|
1030
|
-
contents =
|
|
1030
|
+
contents = de_DescribeExpressionsResponse(data.DescribeExpressionsResult, context);
|
|
1031
1031
|
const response = {
|
|
1032
1032
|
$metadata: deserializeMetadata(output),
|
|
1033
1033
|
...contents,
|
|
1034
1034
|
};
|
|
1035
1035
|
return Promise.resolve(response);
|
|
1036
1036
|
};
|
|
1037
|
-
exports.
|
|
1038
|
-
const
|
|
1037
|
+
exports.de_DescribeExpressionsCommand = de_DescribeExpressionsCommand;
|
|
1038
|
+
const de_DescribeExpressionsCommandError = async (output, context) => {
|
|
1039
1039
|
const parsedOutput = {
|
|
1040
1040
|
...output,
|
|
1041
1041
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1044,13 +1044,13 @@ const deserializeAws_queryDescribeExpressionsCommandError = async (output, conte
|
|
|
1044
1044
|
switch (errorCode) {
|
|
1045
1045
|
case "BaseException":
|
|
1046
1046
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1047
|
-
throw await
|
|
1047
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1048
1048
|
case "InternalException":
|
|
1049
1049
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1051
1051
|
case "ResourceNotFound":
|
|
1052
1052
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1054
1054
|
default:
|
|
1055
1055
|
const parsedBody = parsedOutput.body;
|
|
1056
1056
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1061,21 +1061,21 @@ const deserializeAws_queryDescribeExpressionsCommandError = async (output, conte
|
|
|
1061
1061
|
});
|
|
1062
1062
|
}
|
|
1063
1063
|
};
|
|
1064
|
-
const
|
|
1064
|
+
const de_DescribeIndexFieldsCommand = async (output, context) => {
|
|
1065
1065
|
if (output.statusCode >= 300) {
|
|
1066
|
-
return
|
|
1066
|
+
return de_DescribeIndexFieldsCommandError(output, context);
|
|
1067
1067
|
}
|
|
1068
1068
|
const data = await parseBody(output.body, context);
|
|
1069
1069
|
let contents = {};
|
|
1070
|
-
contents =
|
|
1070
|
+
contents = de_DescribeIndexFieldsResponse(data.DescribeIndexFieldsResult, context);
|
|
1071
1071
|
const response = {
|
|
1072
1072
|
$metadata: deserializeMetadata(output),
|
|
1073
1073
|
...contents,
|
|
1074
1074
|
};
|
|
1075
1075
|
return Promise.resolve(response);
|
|
1076
1076
|
};
|
|
1077
|
-
exports.
|
|
1078
|
-
const
|
|
1077
|
+
exports.de_DescribeIndexFieldsCommand = de_DescribeIndexFieldsCommand;
|
|
1078
|
+
const de_DescribeIndexFieldsCommandError = async (output, context) => {
|
|
1079
1079
|
const parsedOutput = {
|
|
1080
1080
|
...output,
|
|
1081
1081
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1084,13 +1084,13 @@ const deserializeAws_queryDescribeIndexFieldsCommandError = async (output, conte
|
|
|
1084
1084
|
switch (errorCode) {
|
|
1085
1085
|
case "BaseException":
|
|
1086
1086
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1087
|
-
throw await
|
|
1087
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1088
1088
|
case "InternalException":
|
|
1089
1089
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1090
|
-
throw await
|
|
1090
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1091
1091
|
case "ResourceNotFound":
|
|
1092
1092
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1093
|
-
throw await
|
|
1093
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1094
1094
|
default:
|
|
1095
1095
|
const parsedBody = parsedOutput.body;
|
|
1096
1096
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1101,21 +1101,21 @@ const deserializeAws_queryDescribeIndexFieldsCommandError = async (output, conte
|
|
|
1101
1101
|
});
|
|
1102
1102
|
}
|
|
1103
1103
|
};
|
|
1104
|
-
const
|
|
1104
|
+
const de_DescribeScalingParametersCommand = async (output, context) => {
|
|
1105
1105
|
if (output.statusCode >= 300) {
|
|
1106
|
-
return
|
|
1106
|
+
return de_DescribeScalingParametersCommandError(output, context);
|
|
1107
1107
|
}
|
|
1108
1108
|
const data = await parseBody(output.body, context);
|
|
1109
1109
|
let contents = {};
|
|
1110
|
-
contents =
|
|
1110
|
+
contents = de_DescribeScalingParametersResponse(data.DescribeScalingParametersResult, context);
|
|
1111
1111
|
const response = {
|
|
1112
1112
|
$metadata: deserializeMetadata(output),
|
|
1113
1113
|
...contents,
|
|
1114
1114
|
};
|
|
1115
1115
|
return Promise.resolve(response);
|
|
1116
1116
|
};
|
|
1117
|
-
exports.
|
|
1118
|
-
const
|
|
1117
|
+
exports.de_DescribeScalingParametersCommand = de_DescribeScalingParametersCommand;
|
|
1118
|
+
const de_DescribeScalingParametersCommandError = async (output, context) => {
|
|
1119
1119
|
const parsedOutput = {
|
|
1120
1120
|
...output,
|
|
1121
1121
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1124,13 +1124,13 @@ const deserializeAws_queryDescribeScalingParametersCommandError = async (output,
|
|
|
1124
1124
|
switch (errorCode) {
|
|
1125
1125
|
case "BaseException":
|
|
1126
1126
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1127
|
-
throw await
|
|
1127
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1128
1128
|
case "InternalException":
|
|
1129
1129
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1130
|
-
throw await
|
|
1130
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1131
1131
|
case "ResourceNotFound":
|
|
1132
1132
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1133
|
-
throw await
|
|
1133
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1134
1134
|
default:
|
|
1135
1135
|
const parsedBody = parsedOutput.body;
|
|
1136
1136
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1141,21 +1141,21 @@ const deserializeAws_queryDescribeScalingParametersCommandError = async (output,
|
|
|
1141
1141
|
});
|
|
1142
1142
|
}
|
|
1143
1143
|
};
|
|
1144
|
-
const
|
|
1144
|
+
const de_DescribeServiceAccessPoliciesCommand = async (output, context) => {
|
|
1145
1145
|
if (output.statusCode >= 300) {
|
|
1146
|
-
return
|
|
1146
|
+
return de_DescribeServiceAccessPoliciesCommandError(output, context);
|
|
1147
1147
|
}
|
|
1148
1148
|
const data = await parseBody(output.body, context);
|
|
1149
1149
|
let contents = {};
|
|
1150
|
-
contents =
|
|
1150
|
+
contents = de_DescribeServiceAccessPoliciesResponse(data.DescribeServiceAccessPoliciesResult, context);
|
|
1151
1151
|
const response = {
|
|
1152
1152
|
$metadata: deserializeMetadata(output),
|
|
1153
1153
|
...contents,
|
|
1154
1154
|
};
|
|
1155
1155
|
return Promise.resolve(response);
|
|
1156
1156
|
};
|
|
1157
|
-
exports.
|
|
1158
|
-
const
|
|
1157
|
+
exports.de_DescribeServiceAccessPoliciesCommand = de_DescribeServiceAccessPoliciesCommand;
|
|
1158
|
+
const de_DescribeServiceAccessPoliciesCommandError = async (output, context) => {
|
|
1159
1159
|
const parsedOutput = {
|
|
1160
1160
|
...output,
|
|
1161
1161
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1164,13 +1164,13 @@ const deserializeAws_queryDescribeServiceAccessPoliciesCommandError = async (out
|
|
|
1164
1164
|
switch (errorCode) {
|
|
1165
1165
|
case "BaseException":
|
|
1166
1166
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1167
|
-
throw await
|
|
1167
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1168
1168
|
case "InternalException":
|
|
1169
1169
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1170
|
-
throw await
|
|
1170
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1171
1171
|
case "ResourceNotFound":
|
|
1172
1172
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1173
|
-
throw await
|
|
1173
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1174
1174
|
default:
|
|
1175
1175
|
const parsedBody = parsedOutput.body;
|
|
1176
1176
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1181,21 +1181,21 @@ const deserializeAws_queryDescribeServiceAccessPoliciesCommandError = async (out
|
|
|
1181
1181
|
});
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
|
-
const
|
|
1184
|
+
const de_DescribeSuggestersCommand = async (output, context) => {
|
|
1185
1185
|
if (output.statusCode >= 300) {
|
|
1186
|
-
return
|
|
1186
|
+
return de_DescribeSuggestersCommandError(output, context);
|
|
1187
1187
|
}
|
|
1188
1188
|
const data = await parseBody(output.body, context);
|
|
1189
1189
|
let contents = {};
|
|
1190
|
-
contents =
|
|
1190
|
+
contents = de_DescribeSuggestersResponse(data.DescribeSuggestersResult, context);
|
|
1191
1191
|
const response = {
|
|
1192
1192
|
$metadata: deserializeMetadata(output),
|
|
1193
1193
|
...contents,
|
|
1194
1194
|
};
|
|
1195
1195
|
return Promise.resolve(response);
|
|
1196
1196
|
};
|
|
1197
|
-
exports.
|
|
1198
|
-
const
|
|
1197
|
+
exports.de_DescribeSuggestersCommand = de_DescribeSuggestersCommand;
|
|
1198
|
+
const de_DescribeSuggestersCommandError = async (output, context) => {
|
|
1199
1199
|
const parsedOutput = {
|
|
1200
1200
|
...output,
|
|
1201
1201
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1204,13 +1204,13 @@ const deserializeAws_queryDescribeSuggestersCommandError = async (output, contex
|
|
|
1204
1204
|
switch (errorCode) {
|
|
1205
1205
|
case "BaseException":
|
|
1206
1206
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1207
|
-
throw await
|
|
1207
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1208
1208
|
case "InternalException":
|
|
1209
1209
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1210
|
-
throw await
|
|
1210
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1211
1211
|
case "ResourceNotFound":
|
|
1212
1212
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1213
|
-
throw await
|
|
1213
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1214
1214
|
default:
|
|
1215
1215
|
const parsedBody = parsedOutput.body;
|
|
1216
1216
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1221,21 +1221,21 @@ const deserializeAws_queryDescribeSuggestersCommandError = async (output, contex
|
|
|
1221
1221
|
});
|
|
1222
1222
|
}
|
|
1223
1223
|
};
|
|
1224
|
-
const
|
|
1224
|
+
const de_IndexDocumentsCommand = async (output, context) => {
|
|
1225
1225
|
if (output.statusCode >= 300) {
|
|
1226
|
-
return
|
|
1226
|
+
return de_IndexDocumentsCommandError(output, context);
|
|
1227
1227
|
}
|
|
1228
1228
|
const data = await parseBody(output.body, context);
|
|
1229
1229
|
let contents = {};
|
|
1230
|
-
contents =
|
|
1230
|
+
contents = de_IndexDocumentsResponse(data.IndexDocumentsResult, context);
|
|
1231
1231
|
const response = {
|
|
1232
1232
|
$metadata: deserializeMetadata(output),
|
|
1233
1233
|
...contents,
|
|
1234
1234
|
};
|
|
1235
1235
|
return Promise.resolve(response);
|
|
1236
1236
|
};
|
|
1237
|
-
exports.
|
|
1238
|
-
const
|
|
1237
|
+
exports.de_IndexDocumentsCommand = de_IndexDocumentsCommand;
|
|
1238
|
+
const de_IndexDocumentsCommandError = async (output, context) => {
|
|
1239
1239
|
const parsedOutput = {
|
|
1240
1240
|
...output,
|
|
1241
1241
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1244,16 +1244,16 @@ const deserializeAws_queryIndexDocumentsCommandError = async (output, context) =
|
|
|
1244
1244
|
switch (errorCode) {
|
|
1245
1245
|
case "BaseException":
|
|
1246
1246
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1247
|
-
throw await
|
|
1247
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1248
1248
|
case "InternalException":
|
|
1249
1249
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1250
|
-
throw await
|
|
1250
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1251
1251
|
case "ResourceNotFound":
|
|
1252
1252
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1253
|
-
throw await
|
|
1253
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1254
1254
|
case "ValidationException":
|
|
1255
1255
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1256
|
-
throw await
|
|
1256
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1257
1257
|
default:
|
|
1258
1258
|
const parsedBody = parsedOutput.body;
|
|
1259
1259
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1264,21 +1264,21 @@ const deserializeAws_queryIndexDocumentsCommandError = async (output, context) =
|
|
|
1264
1264
|
});
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
1267
|
-
const
|
|
1267
|
+
const de_ListDomainNamesCommand = async (output, context) => {
|
|
1268
1268
|
if (output.statusCode >= 300) {
|
|
1269
|
-
return
|
|
1269
|
+
return de_ListDomainNamesCommandError(output, context);
|
|
1270
1270
|
}
|
|
1271
1271
|
const data = await parseBody(output.body, context);
|
|
1272
1272
|
let contents = {};
|
|
1273
|
-
contents =
|
|
1273
|
+
contents = de_ListDomainNamesResponse(data.ListDomainNamesResult, context);
|
|
1274
1274
|
const response = {
|
|
1275
1275
|
$metadata: deserializeMetadata(output),
|
|
1276
1276
|
...contents,
|
|
1277
1277
|
};
|
|
1278
1278
|
return Promise.resolve(response);
|
|
1279
1279
|
};
|
|
1280
|
-
exports.
|
|
1281
|
-
const
|
|
1280
|
+
exports.de_ListDomainNamesCommand = de_ListDomainNamesCommand;
|
|
1281
|
+
const de_ListDomainNamesCommandError = async (output, context) => {
|
|
1282
1282
|
const parsedOutput = {
|
|
1283
1283
|
...output,
|
|
1284
1284
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1287,7 +1287,7 @@ const deserializeAws_queryListDomainNamesCommandError = async (output, context)
|
|
|
1287
1287
|
switch (errorCode) {
|
|
1288
1288
|
case "BaseException":
|
|
1289
1289
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1290
|
-
throw await
|
|
1290
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1291
1291
|
default:
|
|
1292
1292
|
const parsedBody = parsedOutput.body;
|
|
1293
1293
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1298,21 +1298,21 @@ const deserializeAws_queryListDomainNamesCommandError = async (output, context)
|
|
|
1298
1298
|
});
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
|
-
const
|
|
1301
|
+
const de_UpdateAvailabilityOptionsCommand = async (output, context) => {
|
|
1302
1302
|
if (output.statusCode >= 300) {
|
|
1303
|
-
return
|
|
1303
|
+
return de_UpdateAvailabilityOptionsCommandError(output, context);
|
|
1304
1304
|
}
|
|
1305
1305
|
const data = await parseBody(output.body, context);
|
|
1306
1306
|
let contents = {};
|
|
1307
|
-
contents =
|
|
1307
|
+
contents = de_UpdateAvailabilityOptionsResponse(data.UpdateAvailabilityOptionsResult, context);
|
|
1308
1308
|
const response = {
|
|
1309
1309
|
$metadata: deserializeMetadata(output),
|
|
1310
1310
|
...contents,
|
|
1311
1311
|
};
|
|
1312
1312
|
return Promise.resolve(response);
|
|
1313
1313
|
};
|
|
1314
|
-
exports.
|
|
1315
|
-
const
|
|
1314
|
+
exports.de_UpdateAvailabilityOptionsCommand = de_UpdateAvailabilityOptionsCommand;
|
|
1315
|
+
const de_UpdateAvailabilityOptionsCommandError = async (output, context) => {
|
|
1316
1316
|
const parsedOutput = {
|
|
1317
1317
|
...output,
|
|
1318
1318
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1321,25 +1321,25 @@ const deserializeAws_queryUpdateAvailabilityOptionsCommandError = async (output,
|
|
|
1321
1321
|
switch (errorCode) {
|
|
1322
1322
|
case "BaseException":
|
|
1323
1323
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1324
|
-
throw await
|
|
1324
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1325
1325
|
case "DisabledAction":
|
|
1326
1326
|
case "com.amazonaws.cloudsearch#DisabledOperationException":
|
|
1327
|
-
throw await
|
|
1327
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
1328
1328
|
case "InternalException":
|
|
1329
1329
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1330
|
-
throw await
|
|
1330
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1331
1331
|
case "InvalidType":
|
|
1332
1332
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
1333
|
-
throw await
|
|
1333
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
1334
1334
|
case "LimitExceeded":
|
|
1335
1335
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
1336
|
-
throw await
|
|
1336
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1337
1337
|
case "ResourceNotFound":
|
|
1338
1338
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1339
|
-
throw await
|
|
1339
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1340
1340
|
case "ValidationException":
|
|
1341
1341
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1342
|
-
throw await
|
|
1342
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1343
1343
|
default:
|
|
1344
1344
|
const parsedBody = parsedOutput.body;
|
|
1345
1345
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1350,21 +1350,21 @@ const deserializeAws_queryUpdateAvailabilityOptionsCommandError = async (output,
|
|
|
1350
1350
|
});
|
|
1351
1351
|
}
|
|
1352
1352
|
};
|
|
1353
|
-
const
|
|
1353
|
+
const de_UpdateDomainEndpointOptionsCommand = async (output, context) => {
|
|
1354
1354
|
if (output.statusCode >= 300) {
|
|
1355
|
-
return
|
|
1355
|
+
return de_UpdateDomainEndpointOptionsCommandError(output, context);
|
|
1356
1356
|
}
|
|
1357
1357
|
const data = await parseBody(output.body, context);
|
|
1358
1358
|
let contents = {};
|
|
1359
|
-
contents =
|
|
1359
|
+
contents = de_UpdateDomainEndpointOptionsResponse(data.UpdateDomainEndpointOptionsResult, context);
|
|
1360
1360
|
const response = {
|
|
1361
1361
|
$metadata: deserializeMetadata(output),
|
|
1362
1362
|
...contents,
|
|
1363
1363
|
};
|
|
1364
1364
|
return Promise.resolve(response);
|
|
1365
1365
|
};
|
|
1366
|
-
exports.
|
|
1367
|
-
const
|
|
1366
|
+
exports.de_UpdateDomainEndpointOptionsCommand = de_UpdateDomainEndpointOptionsCommand;
|
|
1367
|
+
const de_UpdateDomainEndpointOptionsCommandError = async (output, context) => {
|
|
1368
1368
|
const parsedOutput = {
|
|
1369
1369
|
...output,
|
|
1370
1370
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1373,25 +1373,25 @@ const deserializeAws_queryUpdateDomainEndpointOptionsCommandError = async (outpu
|
|
|
1373
1373
|
switch (errorCode) {
|
|
1374
1374
|
case "BaseException":
|
|
1375
1375
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1376
|
-
throw await
|
|
1376
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1377
1377
|
case "DisabledAction":
|
|
1378
1378
|
case "com.amazonaws.cloudsearch#DisabledOperationException":
|
|
1379
|
-
throw await
|
|
1379
|
+
throw await de_DisabledOperationExceptionRes(parsedOutput, context);
|
|
1380
1380
|
case "InternalException":
|
|
1381
1381
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1382
|
-
throw await
|
|
1382
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1383
1383
|
case "InvalidType":
|
|
1384
1384
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
1385
|
-
throw await
|
|
1385
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
1386
1386
|
case "LimitExceeded":
|
|
1387
1387
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
1388
|
-
throw await
|
|
1388
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1389
1389
|
case "ResourceNotFound":
|
|
1390
1390
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1391
|
-
throw await
|
|
1391
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1392
1392
|
case "ValidationException":
|
|
1393
1393
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1394
|
-
throw await
|
|
1394
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1395
1395
|
default:
|
|
1396
1396
|
const parsedBody = parsedOutput.body;
|
|
1397
1397
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1402,21 +1402,21 @@ const deserializeAws_queryUpdateDomainEndpointOptionsCommandError = async (outpu
|
|
|
1402
1402
|
});
|
|
1403
1403
|
}
|
|
1404
1404
|
};
|
|
1405
|
-
const
|
|
1405
|
+
const de_UpdateScalingParametersCommand = async (output, context) => {
|
|
1406
1406
|
if (output.statusCode >= 300) {
|
|
1407
|
-
return
|
|
1407
|
+
return de_UpdateScalingParametersCommandError(output, context);
|
|
1408
1408
|
}
|
|
1409
1409
|
const data = await parseBody(output.body, context);
|
|
1410
1410
|
let contents = {};
|
|
1411
|
-
contents =
|
|
1411
|
+
contents = de_UpdateScalingParametersResponse(data.UpdateScalingParametersResult, context);
|
|
1412
1412
|
const response = {
|
|
1413
1413
|
$metadata: deserializeMetadata(output),
|
|
1414
1414
|
...contents,
|
|
1415
1415
|
};
|
|
1416
1416
|
return Promise.resolve(response);
|
|
1417
1417
|
};
|
|
1418
|
-
exports.
|
|
1419
|
-
const
|
|
1418
|
+
exports.de_UpdateScalingParametersCommand = de_UpdateScalingParametersCommand;
|
|
1419
|
+
const de_UpdateScalingParametersCommandError = async (output, context) => {
|
|
1420
1420
|
const parsedOutput = {
|
|
1421
1421
|
...output,
|
|
1422
1422
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1425,22 +1425,22 @@ const deserializeAws_queryUpdateScalingParametersCommandError = async (output, c
|
|
|
1425
1425
|
switch (errorCode) {
|
|
1426
1426
|
case "BaseException":
|
|
1427
1427
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1428
|
-
throw await
|
|
1428
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1429
1429
|
case "InternalException":
|
|
1430
1430
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1431
|
-
throw await
|
|
1431
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1432
1432
|
case "InvalidType":
|
|
1433
1433
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
1434
|
-
throw await
|
|
1434
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
1435
1435
|
case "LimitExceeded":
|
|
1436
1436
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
1437
|
-
throw await
|
|
1437
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1438
1438
|
case "ResourceNotFound":
|
|
1439
1439
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1440
|
-
throw await
|
|
1440
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1441
1441
|
case "ValidationException":
|
|
1442
1442
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1443
|
-
throw await
|
|
1443
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1444
1444
|
default:
|
|
1445
1445
|
const parsedBody = parsedOutput.body;
|
|
1446
1446
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1451,21 +1451,21 @@ const deserializeAws_queryUpdateScalingParametersCommandError = async (output, c
|
|
|
1451
1451
|
});
|
|
1452
1452
|
}
|
|
1453
1453
|
};
|
|
1454
|
-
const
|
|
1454
|
+
const de_UpdateServiceAccessPoliciesCommand = async (output, context) => {
|
|
1455
1455
|
if (output.statusCode >= 300) {
|
|
1456
|
-
return
|
|
1456
|
+
return de_UpdateServiceAccessPoliciesCommandError(output, context);
|
|
1457
1457
|
}
|
|
1458
1458
|
const data = await parseBody(output.body, context);
|
|
1459
1459
|
let contents = {};
|
|
1460
|
-
contents =
|
|
1460
|
+
contents = de_UpdateServiceAccessPoliciesResponse(data.UpdateServiceAccessPoliciesResult, context);
|
|
1461
1461
|
const response = {
|
|
1462
1462
|
$metadata: deserializeMetadata(output),
|
|
1463
1463
|
...contents,
|
|
1464
1464
|
};
|
|
1465
1465
|
return Promise.resolve(response);
|
|
1466
1466
|
};
|
|
1467
|
-
exports.
|
|
1468
|
-
const
|
|
1467
|
+
exports.de_UpdateServiceAccessPoliciesCommand = de_UpdateServiceAccessPoliciesCommand;
|
|
1468
|
+
const de_UpdateServiceAccessPoliciesCommandError = async (output, context) => {
|
|
1469
1469
|
const parsedOutput = {
|
|
1470
1470
|
...output,
|
|
1471
1471
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1474,22 +1474,22 @@ const deserializeAws_queryUpdateServiceAccessPoliciesCommandError = async (outpu
|
|
|
1474
1474
|
switch (errorCode) {
|
|
1475
1475
|
case "BaseException":
|
|
1476
1476
|
case "com.amazonaws.cloudsearch#BaseException":
|
|
1477
|
-
throw await
|
|
1477
|
+
throw await de_BaseExceptionRes(parsedOutput, context);
|
|
1478
1478
|
case "InternalException":
|
|
1479
1479
|
case "com.amazonaws.cloudsearch#InternalException":
|
|
1480
|
-
throw await
|
|
1480
|
+
throw await de_InternalExceptionRes(parsedOutput, context);
|
|
1481
1481
|
case "InvalidType":
|
|
1482
1482
|
case "com.amazonaws.cloudsearch#InvalidTypeException":
|
|
1483
|
-
throw await
|
|
1483
|
+
throw await de_InvalidTypeExceptionRes(parsedOutput, context);
|
|
1484
1484
|
case "LimitExceeded":
|
|
1485
1485
|
case "com.amazonaws.cloudsearch#LimitExceededException":
|
|
1486
|
-
throw await
|
|
1486
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1487
1487
|
case "ResourceNotFound":
|
|
1488
1488
|
case "com.amazonaws.cloudsearch#ResourceNotFoundException":
|
|
1489
|
-
throw await
|
|
1489
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1490
1490
|
case "ValidationException":
|
|
1491
1491
|
case "com.amazonaws.cloudsearch#ValidationException":
|
|
1492
|
-
throw await
|
|
1492
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1493
1493
|
default:
|
|
1494
1494
|
const parsedBody = parsedOutput.body;
|
|
1495
1495
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1500,79 +1500,79 @@ const deserializeAws_queryUpdateServiceAccessPoliciesCommandError = async (outpu
|
|
|
1500
1500
|
});
|
|
1501
1501
|
}
|
|
1502
1502
|
};
|
|
1503
|
-
const
|
|
1503
|
+
const de_BaseExceptionRes = async (parsedOutput, context) => {
|
|
1504
1504
|
const body = parsedOutput.body;
|
|
1505
|
-
const deserialized =
|
|
1505
|
+
const deserialized = de_BaseException(body.Error, context);
|
|
1506
1506
|
const exception = new models_0_1.BaseException({
|
|
1507
1507
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1508
1508
|
...deserialized,
|
|
1509
1509
|
});
|
|
1510
1510
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1511
1511
|
};
|
|
1512
|
-
const
|
|
1512
|
+
const de_DisabledOperationExceptionRes = async (parsedOutput, context) => {
|
|
1513
1513
|
const body = parsedOutput.body;
|
|
1514
|
-
const deserialized =
|
|
1514
|
+
const deserialized = de_DisabledOperationException(body.Error, context);
|
|
1515
1515
|
const exception = new models_0_1.DisabledOperationException({
|
|
1516
1516
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1517
1517
|
...deserialized,
|
|
1518
1518
|
});
|
|
1519
1519
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1520
1520
|
};
|
|
1521
|
-
const
|
|
1521
|
+
const de_InternalExceptionRes = async (parsedOutput, context) => {
|
|
1522
1522
|
const body = parsedOutput.body;
|
|
1523
|
-
const deserialized =
|
|
1523
|
+
const deserialized = de_InternalException(body.Error, context);
|
|
1524
1524
|
const exception = new models_0_1.InternalException({
|
|
1525
1525
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1526
1526
|
...deserialized,
|
|
1527
1527
|
});
|
|
1528
1528
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1529
1529
|
};
|
|
1530
|
-
const
|
|
1530
|
+
const de_InvalidTypeExceptionRes = async (parsedOutput, context) => {
|
|
1531
1531
|
const body = parsedOutput.body;
|
|
1532
|
-
const deserialized =
|
|
1532
|
+
const deserialized = de_InvalidTypeException(body.Error, context);
|
|
1533
1533
|
const exception = new models_0_1.InvalidTypeException({
|
|
1534
1534
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1535
1535
|
...deserialized,
|
|
1536
1536
|
});
|
|
1537
1537
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1538
1538
|
};
|
|
1539
|
-
const
|
|
1539
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1540
1540
|
const body = parsedOutput.body;
|
|
1541
|
-
const deserialized =
|
|
1541
|
+
const deserialized = de_LimitExceededException(body.Error, context);
|
|
1542
1542
|
const exception = new models_0_1.LimitExceededException({
|
|
1543
1543
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1544
1544
|
...deserialized,
|
|
1545
1545
|
});
|
|
1546
1546
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1547
1547
|
};
|
|
1548
|
-
const
|
|
1548
|
+
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1549
1549
|
const body = parsedOutput.body;
|
|
1550
|
-
const deserialized =
|
|
1550
|
+
const deserialized = de_ResourceAlreadyExistsException(body.Error, context);
|
|
1551
1551
|
const exception = new models_0_1.ResourceAlreadyExistsException({
|
|
1552
1552
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1553
1553
|
...deserialized,
|
|
1554
1554
|
});
|
|
1555
1555
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1556
1556
|
};
|
|
1557
|
-
const
|
|
1557
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1558
1558
|
const body = parsedOutput.body;
|
|
1559
|
-
const deserialized =
|
|
1559
|
+
const deserialized = de_ResourceNotFoundException(body.Error, context);
|
|
1560
1560
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1561
1561
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1562
1562
|
...deserialized,
|
|
1563
1563
|
});
|
|
1564
1564
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1565
1565
|
};
|
|
1566
|
-
const
|
|
1566
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1567
1567
|
const body = parsedOutput.body;
|
|
1568
|
-
const deserialized =
|
|
1568
|
+
const deserialized = de_ValidationException(body.Error, context);
|
|
1569
1569
|
const exception = new models_0_1.ValidationException({
|
|
1570
1570
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1571
1571
|
...deserialized,
|
|
1572
1572
|
});
|
|
1573
1573
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1574
1574
|
};
|
|
1575
|
-
const
|
|
1575
|
+
const se_AnalysisOptions = (input, context) => {
|
|
1576
1576
|
const entries = {};
|
|
1577
1577
|
if (input.Synonyms != null) {
|
|
1578
1578
|
entries["Synonyms"] = input.Synonyms;
|
|
@@ -1591,7 +1591,7 @@ const serializeAws_queryAnalysisOptions = (input, context) => {
|
|
|
1591
1591
|
}
|
|
1592
1592
|
return entries;
|
|
1593
1593
|
};
|
|
1594
|
-
const
|
|
1594
|
+
const se_AnalysisScheme = (input, context) => {
|
|
1595
1595
|
const entries = {};
|
|
1596
1596
|
if (input.AnalysisSchemeName != null) {
|
|
1597
1597
|
entries["AnalysisSchemeName"] = input.AnalysisSchemeName;
|
|
@@ -1600,7 +1600,7 @@ const serializeAws_queryAnalysisScheme = (input, context) => {
|
|
|
1600
1600
|
entries["AnalysisSchemeLanguage"] = input.AnalysisSchemeLanguage;
|
|
1601
1601
|
}
|
|
1602
1602
|
if (input.AnalysisOptions != null) {
|
|
1603
|
-
const memberEntries =
|
|
1603
|
+
const memberEntries = se_AnalysisOptions(input.AnalysisOptions, context);
|
|
1604
1604
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1605
1605
|
const loc = `AnalysisOptions.${key}`;
|
|
1606
1606
|
entries[loc] = value;
|
|
@@ -1608,21 +1608,21 @@ const serializeAws_queryAnalysisScheme = (input, context) => {
|
|
|
1608
1608
|
}
|
|
1609
1609
|
return entries;
|
|
1610
1610
|
};
|
|
1611
|
-
const
|
|
1611
|
+
const se_BuildSuggestersRequest = (input, context) => {
|
|
1612
1612
|
const entries = {};
|
|
1613
1613
|
if (input.DomainName != null) {
|
|
1614
1614
|
entries["DomainName"] = input.DomainName;
|
|
1615
1615
|
}
|
|
1616
1616
|
return entries;
|
|
1617
1617
|
};
|
|
1618
|
-
const
|
|
1618
|
+
const se_CreateDomainRequest = (input, context) => {
|
|
1619
1619
|
const entries = {};
|
|
1620
1620
|
if (input.DomainName != null) {
|
|
1621
1621
|
entries["DomainName"] = input.DomainName;
|
|
1622
1622
|
}
|
|
1623
1623
|
return entries;
|
|
1624
1624
|
};
|
|
1625
|
-
const
|
|
1625
|
+
const se_DateArrayOptions = (input, context) => {
|
|
1626
1626
|
const entries = {};
|
|
1627
1627
|
if (input.DefaultValue != null) {
|
|
1628
1628
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -1641,7 +1641,7 @@ const serializeAws_queryDateArrayOptions = (input, context) => {
|
|
|
1641
1641
|
}
|
|
1642
1642
|
return entries;
|
|
1643
1643
|
};
|
|
1644
|
-
const
|
|
1644
|
+
const se_DateOptions = (input, context) => {
|
|
1645
1645
|
const entries = {};
|
|
1646
1646
|
if (input.DefaultValue != null) {
|
|
1647
1647
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -1663,13 +1663,13 @@ const serializeAws_queryDateOptions = (input, context) => {
|
|
|
1663
1663
|
}
|
|
1664
1664
|
return entries;
|
|
1665
1665
|
};
|
|
1666
|
-
const
|
|
1666
|
+
const se_DefineAnalysisSchemeRequest = (input, context) => {
|
|
1667
1667
|
const entries = {};
|
|
1668
1668
|
if (input.DomainName != null) {
|
|
1669
1669
|
entries["DomainName"] = input.DomainName;
|
|
1670
1670
|
}
|
|
1671
1671
|
if (input.AnalysisScheme != null) {
|
|
1672
|
-
const memberEntries =
|
|
1672
|
+
const memberEntries = se_AnalysisScheme(input.AnalysisScheme, context);
|
|
1673
1673
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1674
1674
|
const loc = `AnalysisScheme.${key}`;
|
|
1675
1675
|
entries[loc] = value;
|
|
@@ -1677,13 +1677,13 @@ const serializeAws_queryDefineAnalysisSchemeRequest = (input, context) => {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
return entries;
|
|
1679
1679
|
};
|
|
1680
|
-
const
|
|
1680
|
+
const se_DefineExpressionRequest = (input, context) => {
|
|
1681
1681
|
const entries = {};
|
|
1682
1682
|
if (input.DomainName != null) {
|
|
1683
1683
|
entries["DomainName"] = input.DomainName;
|
|
1684
1684
|
}
|
|
1685
1685
|
if (input.Expression != null) {
|
|
1686
|
-
const memberEntries =
|
|
1686
|
+
const memberEntries = se_Expression(input.Expression, context);
|
|
1687
1687
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1688
1688
|
const loc = `Expression.${key}`;
|
|
1689
1689
|
entries[loc] = value;
|
|
@@ -1691,13 +1691,13 @@ const serializeAws_queryDefineExpressionRequest = (input, context) => {
|
|
|
1691
1691
|
}
|
|
1692
1692
|
return entries;
|
|
1693
1693
|
};
|
|
1694
|
-
const
|
|
1694
|
+
const se_DefineIndexFieldRequest = (input, context) => {
|
|
1695
1695
|
const entries = {};
|
|
1696
1696
|
if (input.DomainName != null) {
|
|
1697
1697
|
entries["DomainName"] = input.DomainName;
|
|
1698
1698
|
}
|
|
1699
1699
|
if (input.IndexField != null) {
|
|
1700
|
-
const memberEntries =
|
|
1700
|
+
const memberEntries = se_IndexField(input.IndexField, context);
|
|
1701
1701
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1702
1702
|
const loc = `IndexField.${key}`;
|
|
1703
1703
|
entries[loc] = value;
|
|
@@ -1705,13 +1705,13 @@ const serializeAws_queryDefineIndexFieldRequest = (input, context) => {
|
|
|
1705
1705
|
}
|
|
1706
1706
|
return entries;
|
|
1707
1707
|
};
|
|
1708
|
-
const
|
|
1708
|
+
const se_DefineSuggesterRequest = (input, context) => {
|
|
1709
1709
|
const entries = {};
|
|
1710
1710
|
if (input.DomainName != null) {
|
|
1711
1711
|
entries["DomainName"] = input.DomainName;
|
|
1712
1712
|
}
|
|
1713
1713
|
if (input.Suggester != null) {
|
|
1714
|
-
const memberEntries =
|
|
1714
|
+
const memberEntries = se_Suggester(input.Suggester, context);
|
|
1715
1715
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1716
1716
|
const loc = `Suggester.${key}`;
|
|
1717
1717
|
entries[loc] = value;
|
|
@@ -1719,7 +1719,7 @@ const serializeAws_queryDefineSuggesterRequest = (input, context) => {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
return entries;
|
|
1721
1721
|
};
|
|
1722
|
-
const
|
|
1722
|
+
const se_DeleteAnalysisSchemeRequest = (input, context) => {
|
|
1723
1723
|
const entries = {};
|
|
1724
1724
|
if (input.DomainName != null) {
|
|
1725
1725
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1729,14 +1729,14 @@ const serializeAws_queryDeleteAnalysisSchemeRequest = (input, context) => {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
return entries;
|
|
1731
1731
|
};
|
|
1732
|
-
const
|
|
1732
|
+
const se_DeleteDomainRequest = (input, context) => {
|
|
1733
1733
|
const entries = {};
|
|
1734
1734
|
if (input.DomainName != null) {
|
|
1735
1735
|
entries["DomainName"] = input.DomainName;
|
|
1736
1736
|
}
|
|
1737
1737
|
return entries;
|
|
1738
1738
|
};
|
|
1739
|
-
const
|
|
1739
|
+
const se_DeleteExpressionRequest = (input, context) => {
|
|
1740
1740
|
const entries = {};
|
|
1741
1741
|
if (input.DomainName != null) {
|
|
1742
1742
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1746,7 +1746,7 @@ const serializeAws_queryDeleteExpressionRequest = (input, context) => {
|
|
|
1746
1746
|
}
|
|
1747
1747
|
return entries;
|
|
1748
1748
|
};
|
|
1749
|
-
const
|
|
1749
|
+
const se_DeleteIndexFieldRequest = (input, context) => {
|
|
1750
1750
|
const entries = {};
|
|
1751
1751
|
if (input.DomainName != null) {
|
|
1752
1752
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1756,7 +1756,7 @@ const serializeAws_queryDeleteIndexFieldRequest = (input, context) => {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
return entries;
|
|
1758
1758
|
};
|
|
1759
|
-
const
|
|
1759
|
+
const se_DeleteSuggesterRequest = (input, context) => {
|
|
1760
1760
|
const entries = {};
|
|
1761
1761
|
if (input.DomainName != null) {
|
|
1762
1762
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1766,13 +1766,13 @@ const serializeAws_queryDeleteSuggesterRequest = (input, context) => {
|
|
|
1766
1766
|
}
|
|
1767
1767
|
return entries;
|
|
1768
1768
|
};
|
|
1769
|
-
const
|
|
1769
|
+
const se_DescribeAnalysisSchemesRequest = (input, context) => {
|
|
1770
1770
|
const entries = {};
|
|
1771
1771
|
if (input.DomainName != null) {
|
|
1772
1772
|
entries["DomainName"] = input.DomainName;
|
|
1773
1773
|
}
|
|
1774
1774
|
if (input.AnalysisSchemeNames != null) {
|
|
1775
|
-
const memberEntries =
|
|
1775
|
+
const memberEntries = se_StandardNameList(input.AnalysisSchemeNames, context);
|
|
1776
1776
|
if (input.AnalysisSchemeNames?.length === 0) {
|
|
1777
1777
|
entries.AnalysisSchemeNames = [];
|
|
1778
1778
|
}
|
|
@@ -1786,7 +1786,7 @@ const serializeAws_queryDescribeAnalysisSchemesRequest = (input, context) => {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
return entries;
|
|
1788
1788
|
};
|
|
1789
|
-
const
|
|
1789
|
+
const se_DescribeAvailabilityOptionsRequest = (input, context) => {
|
|
1790
1790
|
const entries = {};
|
|
1791
1791
|
if (input.DomainName != null) {
|
|
1792
1792
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1796,7 +1796,7 @@ const serializeAws_queryDescribeAvailabilityOptionsRequest = (input, context) =>
|
|
|
1796
1796
|
}
|
|
1797
1797
|
return entries;
|
|
1798
1798
|
};
|
|
1799
|
-
const
|
|
1799
|
+
const se_DescribeDomainEndpointOptionsRequest = (input, context) => {
|
|
1800
1800
|
const entries = {};
|
|
1801
1801
|
if (input.DomainName != null) {
|
|
1802
1802
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1806,10 +1806,10 @@ const serializeAws_queryDescribeDomainEndpointOptionsRequest = (input, context)
|
|
|
1806
1806
|
}
|
|
1807
1807
|
return entries;
|
|
1808
1808
|
};
|
|
1809
|
-
const
|
|
1809
|
+
const se_DescribeDomainsRequest = (input, context) => {
|
|
1810
1810
|
const entries = {};
|
|
1811
1811
|
if (input.DomainNames != null) {
|
|
1812
|
-
const memberEntries =
|
|
1812
|
+
const memberEntries = se_DomainNameList(input.DomainNames, context);
|
|
1813
1813
|
if (input.DomainNames?.length === 0) {
|
|
1814
1814
|
entries.DomainNames = [];
|
|
1815
1815
|
}
|
|
@@ -1820,13 +1820,13 @@ const serializeAws_queryDescribeDomainsRequest = (input, context) => {
|
|
|
1820
1820
|
}
|
|
1821
1821
|
return entries;
|
|
1822
1822
|
};
|
|
1823
|
-
const
|
|
1823
|
+
const se_DescribeExpressionsRequest = (input, context) => {
|
|
1824
1824
|
const entries = {};
|
|
1825
1825
|
if (input.DomainName != null) {
|
|
1826
1826
|
entries["DomainName"] = input.DomainName;
|
|
1827
1827
|
}
|
|
1828
1828
|
if (input.ExpressionNames != null) {
|
|
1829
|
-
const memberEntries =
|
|
1829
|
+
const memberEntries = se_StandardNameList(input.ExpressionNames, context);
|
|
1830
1830
|
if (input.ExpressionNames?.length === 0) {
|
|
1831
1831
|
entries.ExpressionNames = [];
|
|
1832
1832
|
}
|
|
@@ -1840,13 +1840,13 @@ const serializeAws_queryDescribeExpressionsRequest = (input, context) => {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
return entries;
|
|
1842
1842
|
};
|
|
1843
|
-
const
|
|
1843
|
+
const se_DescribeIndexFieldsRequest = (input, context) => {
|
|
1844
1844
|
const entries = {};
|
|
1845
1845
|
if (input.DomainName != null) {
|
|
1846
1846
|
entries["DomainName"] = input.DomainName;
|
|
1847
1847
|
}
|
|
1848
1848
|
if (input.FieldNames != null) {
|
|
1849
|
-
const memberEntries =
|
|
1849
|
+
const memberEntries = se_DynamicFieldNameList(input.FieldNames, context);
|
|
1850
1850
|
if (input.FieldNames?.length === 0) {
|
|
1851
1851
|
entries.FieldNames = [];
|
|
1852
1852
|
}
|
|
@@ -1860,14 +1860,14 @@ const serializeAws_queryDescribeIndexFieldsRequest = (input, context) => {
|
|
|
1860
1860
|
}
|
|
1861
1861
|
return entries;
|
|
1862
1862
|
};
|
|
1863
|
-
const
|
|
1863
|
+
const se_DescribeScalingParametersRequest = (input, context) => {
|
|
1864
1864
|
const entries = {};
|
|
1865
1865
|
if (input.DomainName != null) {
|
|
1866
1866
|
entries["DomainName"] = input.DomainName;
|
|
1867
1867
|
}
|
|
1868
1868
|
return entries;
|
|
1869
1869
|
};
|
|
1870
|
-
const
|
|
1870
|
+
const se_DescribeServiceAccessPoliciesRequest = (input, context) => {
|
|
1871
1871
|
const entries = {};
|
|
1872
1872
|
if (input.DomainName != null) {
|
|
1873
1873
|
entries["DomainName"] = input.DomainName;
|
|
@@ -1877,13 +1877,13 @@ const serializeAws_queryDescribeServiceAccessPoliciesRequest = (input, context)
|
|
|
1877
1877
|
}
|
|
1878
1878
|
return entries;
|
|
1879
1879
|
};
|
|
1880
|
-
const
|
|
1880
|
+
const se_DescribeSuggestersRequest = (input, context) => {
|
|
1881
1881
|
const entries = {};
|
|
1882
1882
|
if (input.DomainName != null) {
|
|
1883
1883
|
entries["DomainName"] = input.DomainName;
|
|
1884
1884
|
}
|
|
1885
1885
|
if (input.SuggesterNames != null) {
|
|
1886
|
-
const memberEntries =
|
|
1886
|
+
const memberEntries = se_StandardNameList(input.SuggesterNames, context);
|
|
1887
1887
|
if (input.SuggesterNames?.length === 0) {
|
|
1888
1888
|
entries.SuggesterNames = [];
|
|
1889
1889
|
}
|
|
@@ -1897,7 +1897,7 @@ const serializeAws_queryDescribeSuggestersRequest = (input, context) => {
|
|
|
1897
1897
|
}
|
|
1898
1898
|
return entries;
|
|
1899
1899
|
};
|
|
1900
|
-
const
|
|
1900
|
+
const se_DocumentSuggesterOptions = (input, context) => {
|
|
1901
1901
|
const entries = {};
|
|
1902
1902
|
if (input.SourceField != null) {
|
|
1903
1903
|
entries["SourceField"] = input.SourceField;
|
|
@@ -1910,7 +1910,7 @@ const serializeAws_queryDocumentSuggesterOptions = (input, context) => {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
return entries;
|
|
1912
1912
|
};
|
|
1913
|
-
const
|
|
1913
|
+
const se_DomainEndpointOptions = (input, context) => {
|
|
1914
1914
|
const entries = {};
|
|
1915
1915
|
if (input.EnforceHTTPS != null) {
|
|
1916
1916
|
entries["EnforceHTTPS"] = input.EnforceHTTPS;
|
|
@@ -1920,7 +1920,7 @@ const serializeAws_queryDomainEndpointOptions = (input, context) => {
|
|
|
1920
1920
|
}
|
|
1921
1921
|
return entries;
|
|
1922
1922
|
};
|
|
1923
|
-
const
|
|
1923
|
+
const se_DomainNameList = (input, context) => {
|
|
1924
1924
|
const entries = {};
|
|
1925
1925
|
let counter = 1;
|
|
1926
1926
|
for (const entry of input) {
|
|
@@ -1932,7 +1932,7 @@ const serializeAws_queryDomainNameList = (input, context) => {
|
|
|
1932
1932
|
}
|
|
1933
1933
|
return entries;
|
|
1934
1934
|
};
|
|
1935
|
-
const
|
|
1935
|
+
const se_DoubleArrayOptions = (input, context) => {
|
|
1936
1936
|
const entries = {};
|
|
1937
1937
|
if (input.DefaultValue != null) {
|
|
1938
1938
|
entries["DefaultValue"] = (0, smithy_client_1.serializeFloat)(input.DefaultValue);
|
|
@@ -1951,7 +1951,7 @@ const serializeAws_queryDoubleArrayOptions = (input, context) => {
|
|
|
1951
1951
|
}
|
|
1952
1952
|
return entries;
|
|
1953
1953
|
};
|
|
1954
|
-
const
|
|
1954
|
+
const se_DoubleOptions = (input, context) => {
|
|
1955
1955
|
const entries = {};
|
|
1956
1956
|
if (input.DefaultValue != null) {
|
|
1957
1957
|
entries["DefaultValue"] = (0, smithy_client_1.serializeFloat)(input.DefaultValue);
|
|
@@ -1973,7 +1973,7 @@ const serializeAws_queryDoubleOptions = (input, context) => {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
return entries;
|
|
1975
1975
|
};
|
|
1976
|
-
const
|
|
1976
|
+
const se_DynamicFieldNameList = (input, context) => {
|
|
1977
1977
|
const entries = {};
|
|
1978
1978
|
let counter = 1;
|
|
1979
1979
|
for (const entry of input) {
|
|
@@ -1985,7 +1985,7 @@ const serializeAws_queryDynamicFieldNameList = (input, context) => {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
return entries;
|
|
1987
1987
|
};
|
|
1988
|
-
const
|
|
1988
|
+
const se_Expression = (input, context) => {
|
|
1989
1989
|
const entries = {};
|
|
1990
1990
|
if (input.ExpressionName != null) {
|
|
1991
1991
|
entries["ExpressionName"] = input.ExpressionName;
|
|
@@ -1995,14 +1995,14 @@ const serializeAws_queryExpression = (input, context) => {
|
|
|
1995
1995
|
}
|
|
1996
1996
|
return entries;
|
|
1997
1997
|
};
|
|
1998
|
-
const
|
|
1998
|
+
const se_IndexDocumentsRequest = (input, context) => {
|
|
1999
1999
|
const entries = {};
|
|
2000
2000
|
if (input.DomainName != null) {
|
|
2001
2001
|
entries["DomainName"] = input.DomainName;
|
|
2002
2002
|
}
|
|
2003
2003
|
return entries;
|
|
2004
2004
|
};
|
|
2005
|
-
const
|
|
2005
|
+
const se_IndexField = (input, context) => {
|
|
2006
2006
|
const entries = {};
|
|
2007
2007
|
if (input.IndexFieldName != null) {
|
|
2008
2008
|
entries["IndexFieldName"] = input.IndexFieldName;
|
|
@@ -2011,77 +2011,77 @@ const serializeAws_queryIndexField = (input, context) => {
|
|
|
2011
2011
|
entries["IndexFieldType"] = input.IndexFieldType;
|
|
2012
2012
|
}
|
|
2013
2013
|
if (input.IntOptions != null) {
|
|
2014
|
-
const memberEntries =
|
|
2014
|
+
const memberEntries = se_IntOptions(input.IntOptions, context);
|
|
2015
2015
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2016
2016
|
const loc = `IntOptions.${key}`;
|
|
2017
2017
|
entries[loc] = value;
|
|
2018
2018
|
});
|
|
2019
2019
|
}
|
|
2020
2020
|
if (input.DoubleOptions != null) {
|
|
2021
|
-
const memberEntries =
|
|
2021
|
+
const memberEntries = se_DoubleOptions(input.DoubleOptions, context);
|
|
2022
2022
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2023
2023
|
const loc = `DoubleOptions.${key}`;
|
|
2024
2024
|
entries[loc] = value;
|
|
2025
2025
|
});
|
|
2026
2026
|
}
|
|
2027
2027
|
if (input.LiteralOptions != null) {
|
|
2028
|
-
const memberEntries =
|
|
2028
|
+
const memberEntries = se_LiteralOptions(input.LiteralOptions, context);
|
|
2029
2029
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2030
2030
|
const loc = `LiteralOptions.${key}`;
|
|
2031
2031
|
entries[loc] = value;
|
|
2032
2032
|
});
|
|
2033
2033
|
}
|
|
2034
2034
|
if (input.TextOptions != null) {
|
|
2035
|
-
const memberEntries =
|
|
2035
|
+
const memberEntries = se_TextOptions(input.TextOptions, context);
|
|
2036
2036
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2037
2037
|
const loc = `TextOptions.${key}`;
|
|
2038
2038
|
entries[loc] = value;
|
|
2039
2039
|
});
|
|
2040
2040
|
}
|
|
2041
2041
|
if (input.DateOptions != null) {
|
|
2042
|
-
const memberEntries =
|
|
2042
|
+
const memberEntries = se_DateOptions(input.DateOptions, context);
|
|
2043
2043
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2044
2044
|
const loc = `DateOptions.${key}`;
|
|
2045
2045
|
entries[loc] = value;
|
|
2046
2046
|
});
|
|
2047
2047
|
}
|
|
2048
2048
|
if (input.LatLonOptions != null) {
|
|
2049
|
-
const memberEntries =
|
|
2049
|
+
const memberEntries = se_LatLonOptions(input.LatLonOptions, context);
|
|
2050
2050
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2051
2051
|
const loc = `LatLonOptions.${key}`;
|
|
2052
2052
|
entries[loc] = value;
|
|
2053
2053
|
});
|
|
2054
2054
|
}
|
|
2055
2055
|
if (input.IntArrayOptions != null) {
|
|
2056
|
-
const memberEntries =
|
|
2056
|
+
const memberEntries = se_IntArrayOptions(input.IntArrayOptions, context);
|
|
2057
2057
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2058
2058
|
const loc = `IntArrayOptions.${key}`;
|
|
2059
2059
|
entries[loc] = value;
|
|
2060
2060
|
});
|
|
2061
2061
|
}
|
|
2062
2062
|
if (input.DoubleArrayOptions != null) {
|
|
2063
|
-
const memberEntries =
|
|
2063
|
+
const memberEntries = se_DoubleArrayOptions(input.DoubleArrayOptions, context);
|
|
2064
2064
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2065
2065
|
const loc = `DoubleArrayOptions.${key}`;
|
|
2066
2066
|
entries[loc] = value;
|
|
2067
2067
|
});
|
|
2068
2068
|
}
|
|
2069
2069
|
if (input.LiteralArrayOptions != null) {
|
|
2070
|
-
const memberEntries =
|
|
2070
|
+
const memberEntries = se_LiteralArrayOptions(input.LiteralArrayOptions, context);
|
|
2071
2071
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2072
2072
|
const loc = `LiteralArrayOptions.${key}`;
|
|
2073
2073
|
entries[loc] = value;
|
|
2074
2074
|
});
|
|
2075
2075
|
}
|
|
2076
2076
|
if (input.TextArrayOptions != null) {
|
|
2077
|
-
const memberEntries =
|
|
2077
|
+
const memberEntries = se_TextArrayOptions(input.TextArrayOptions, context);
|
|
2078
2078
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2079
2079
|
const loc = `TextArrayOptions.${key}`;
|
|
2080
2080
|
entries[loc] = value;
|
|
2081
2081
|
});
|
|
2082
2082
|
}
|
|
2083
2083
|
if (input.DateArrayOptions != null) {
|
|
2084
|
-
const memberEntries =
|
|
2084
|
+
const memberEntries = se_DateArrayOptions(input.DateArrayOptions, context);
|
|
2085
2085
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2086
2086
|
const loc = `DateArrayOptions.${key}`;
|
|
2087
2087
|
entries[loc] = value;
|
|
@@ -2089,7 +2089,7 @@ const serializeAws_queryIndexField = (input, context) => {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
return entries;
|
|
2091
2091
|
};
|
|
2092
|
-
const
|
|
2092
|
+
const se_IntArrayOptions = (input, context) => {
|
|
2093
2093
|
const entries = {};
|
|
2094
2094
|
if (input.DefaultValue != null) {
|
|
2095
2095
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2108,7 +2108,7 @@ const serializeAws_queryIntArrayOptions = (input, context) => {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
return entries;
|
|
2110
2110
|
};
|
|
2111
|
-
const
|
|
2111
|
+
const se_IntOptions = (input, context) => {
|
|
2112
2112
|
const entries = {};
|
|
2113
2113
|
if (input.DefaultValue != null) {
|
|
2114
2114
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2130,7 +2130,7 @@ const serializeAws_queryIntOptions = (input, context) => {
|
|
|
2130
2130
|
}
|
|
2131
2131
|
return entries;
|
|
2132
2132
|
};
|
|
2133
|
-
const
|
|
2133
|
+
const se_LatLonOptions = (input, context) => {
|
|
2134
2134
|
const entries = {};
|
|
2135
2135
|
if (input.DefaultValue != null) {
|
|
2136
2136
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2152,7 +2152,7 @@ const serializeAws_queryLatLonOptions = (input, context) => {
|
|
|
2152
2152
|
}
|
|
2153
2153
|
return entries;
|
|
2154
2154
|
};
|
|
2155
|
-
const
|
|
2155
|
+
const se_LiteralArrayOptions = (input, context) => {
|
|
2156
2156
|
const entries = {};
|
|
2157
2157
|
if (input.DefaultValue != null) {
|
|
2158
2158
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2171,7 +2171,7 @@ const serializeAws_queryLiteralArrayOptions = (input, context) => {
|
|
|
2171
2171
|
}
|
|
2172
2172
|
return entries;
|
|
2173
2173
|
};
|
|
2174
|
-
const
|
|
2174
|
+
const se_LiteralOptions = (input, context) => {
|
|
2175
2175
|
const entries = {};
|
|
2176
2176
|
if (input.DefaultValue != null) {
|
|
2177
2177
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2193,7 +2193,7 @@ const serializeAws_queryLiteralOptions = (input, context) => {
|
|
|
2193
2193
|
}
|
|
2194
2194
|
return entries;
|
|
2195
2195
|
};
|
|
2196
|
-
const
|
|
2196
|
+
const se_ScalingParameters = (input, context) => {
|
|
2197
2197
|
const entries = {};
|
|
2198
2198
|
if (input.DesiredInstanceType != null) {
|
|
2199
2199
|
entries["DesiredInstanceType"] = input.DesiredInstanceType;
|
|
@@ -2206,7 +2206,7 @@ const serializeAws_queryScalingParameters = (input, context) => {
|
|
|
2206
2206
|
}
|
|
2207
2207
|
return entries;
|
|
2208
2208
|
};
|
|
2209
|
-
const
|
|
2209
|
+
const se_StandardNameList = (input, context) => {
|
|
2210
2210
|
const entries = {};
|
|
2211
2211
|
let counter = 1;
|
|
2212
2212
|
for (const entry of input) {
|
|
@@ -2218,13 +2218,13 @@ const serializeAws_queryStandardNameList = (input, context) => {
|
|
|
2218
2218
|
}
|
|
2219
2219
|
return entries;
|
|
2220
2220
|
};
|
|
2221
|
-
const
|
|
2221
|
+
const se_Suggester = (input, context) => {
|
|
2222
2222
|
const entries = {};
|
|
2223
2223
|
if (input.SuggesterName != null) {
|
|
2224
2224
|
entries["SuggesterName"] = input.SuggesterName;
|
|
2225
2225
|
}
|
|
2226
2226
|
if (input.DocumentSuggesterOptions != null) {
|
|
2227
|
-
const memberEntries =
|
|
2227
|
+
const memberEntries = se_DocumentSuggesterOptions(input.DocumentSuggesterOptions, context);
|
|
2228
2228
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2229
2229
|
const loc = `DocumentSuggesterOptions.${key}`;
|
|
2230
2230
|
entries[loc] = value;
|
|
@@ -2232,7 +2232,7 @@ const serializeAws_querySuggester = (input, context) => {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
return entries;
|
|
2234
2234
|
};
|
|
2235
|
-
const
|
|
2235
|
+
const se_TextArrayOptions = (input, context) => {
|
|
2236
2236
|
const entries = {};
|
|
2237
2237
|
if (input.DefaultValue != null) {
|
|
2238
2238
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2251,7 +2251,7 @@ const serializeAws_queryTextArrayOptions = (input, context) => {
|
|
|
2251
2251
|
}
|
|
2252
2252
|
return entries;
|
|
2253
2253
|
};
|
|
2254
|
-
const
|
|
2254
|
+
const se_TextOptions = (input, context) => {
|
|
2255
2255
|
const entries = {};
|
|
2256
2256
|
if (input.DefaultValue != null) {
|
|
2257
2257
|
entries["DefaultValue"] = input.DefaultValue;
|
|
@@ -2273,7 +2273,7 @@ const serializeAws_queryTextOptions = (input, context) => {
|
|
|
2273
2273
|
}
|
|
2274
2274
|
return entries;
|
|
2275
2275
|
};
|
|
2276
|
-
const
|
|
2276
|
+
const se_UpdateAvailabilityOptionsRequest = (input, context) => {
|
|
2277
2277
|
const entries = {};
|
|
2278
2278
|
if (input.DomainName != null) {
|
|
2279
2279
|
entries["DomainName"] = input.DomainName;
|
|
@@ -2283,13 +2283,13 @@ const serializeAws_queryUpdateAvailabilityOptionsRequest = (input, context) => {
|
|
|
2283
2283
|
}
|
|
2284
2284
|
return entries;
|
|
2285
2285
|
};
|
|
2286
|
-
const
|
|
2286
|
+
const se_UpdateDomainEndpointOptionsRequest = (input, context) => {
|
|
2287
2287
|
const entries = {};
|
|
2288
2288
|
if (input.DomainName != null) {
|
|
2289
2289
|
entries["DomainName"] = input.DomainName;
|
|
2290
2290
|
}
|
|
2291
2291
|
if (input.DomainEndpointOptions != null) {
|
|
2292
|
-
const memberEntries =
|
|
2292
|
+
const memberEntries = se_DomainEndpointOptions(input.DomainEndpointOptions, context);
|
|
2293
2293
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2294
2294
|
const loc = `DomainEndpointOptions.${key}`;
|
|
2295
2295
|
entries[loc] = value;
|
|
@@ -2297,13 +2297,13 @@ const serializeAws_queryUpdateDomainEndpointOptionsRequest = (input, context) =>
|
|
|
2297
2297
|
}
|
|
2298
2298
|
return entries;
|
|
2299
2299
|
};
|
|
2300
|
-
const
|
|
2300
|
+
const se_UpdateScalingParametersRequest = (input, context) => {
|
|
2301
2301
|
const entries = {};
|
|
2302
2302
|
if (input.DomainName != null) {
|
|
2303
2303
|
entries["DomainName"] = input.DomainName;
|
|
2304
2304
|
}
|
|
2305
2305
|
if (input.ScalingParameters != null) {
|
|
2306
|
-
const memberEntries =
|
|
2306
|
+
const memberEntries = se_ScalingParameters(input.ScalingParameters, context);
|
|
2307
2307
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2308
2308
|
const loc = `ScalingParameters.${key}`;
|
|
2309
2309
|
entries[loc] = value;
|
|
@@ -2311,7 +2311,7 @@ const serializeAws_queryUpdateScalingParametersRequest = (input, context) => {
|
|
|
2311
2311
|
}
|
|
2312
2312
|
return entries;
|
|
2313
2313
|
};
|
|
2314
|
-
const
|
|
2314
|
+
const se_UpdateServiceAccessPoliciesRequest = (input, context) => {
|
|
2315
2315
|
const entries = {};
|
|
2316
2316
|
if (input.DomainName != null) {
|
|
2317
2317
|
entries["DomainName"] = input.DomainName;
|
|
@@ -2321,17 +2321,17 @@ const serializeAws_queryUpdateServiceAccessPoliciesRequest = (input, context) =>
|
|
|
2321
2321
|
}
|
|
2322
2322
|
return entries;
|
|
2323
2323
|
};
|
|
2324
|
-
const
|
|
2324
|
+
const de_AccessPoliciesStatus = (output, context) => {
|
|
2325
2325
|
const contents = {};
|
|
2326
2326
|
if (output["Options"] !== undefined) {
|
|
2327
2327
|
contents.Options = (0, smithy_client_1.expectString)(output["Options"]);
|
|
2328
2328
|
}
|
|
2329
2329
|
if (output["Status"] !== undefined) {
|
|
2330
|
-
contents.Status =
|
|
2330
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2331
2331
|
}
|
|
2332
2332
|
return contents;
|
|
2333
2333
|
};
|
|
2334
|
-
const
|
|
2334
|
+
const de_AnalysisOptions = (output, context) => {
|
|
2335
2335
|
const contents = {};
|
|
2336
2336
|
if (output["Synonyms"] !== undefined) {
|
|
2337
2337
|
contents.Synonyms = (0, smithy_client_1.expectString)(output["Synonyms"]);
|
|
@@ -2350,7 +2350,7 @@ const deserializeAws_queryAnalysisOptions = (output, context) => {
|
|
|
2350
2350
|
}
|
|
2351
2351
|
return contents;
|
|
2352
2352
|
};
|
|
2353
|
-
const
|
|
2353
|
+
const de_AnalysisScheme = (output, context) => {
|
|
2354
2354
|
const contents = {};
|
|
2355
2355
|
if (output["AnalysisSchemeName"] !== undefined) {
|
|
2356
2356
|
contents.AnalysisSchemeName = (0, smithy_client_1.expectString)(output["AnalysisSchemeName"]);
|
|
@@ -2359,38 +2359,38 @@ const deserializeAws_queryAnalysisScheme = (output, context) => {
|
|
|
2359
2359
|
contents.AnalysisSchemeLanguage = (0, smithy_client_1.expectString)(output["AnalysisSchemeLanguage"]);
|
|
2360
2360
|
}
|
|
2361
2361
|
if (output["AnalysisOptions"] !== undefined) {
|
|
2362
|
-
contents.AnalysisOptions =
|
|
2362
|
+
contents.AnalysisOptions = de_AnalysisOptions(output["AnalysisOptions"], context);
|
|
2363
2363
|
}
|
|
2364
2364
|
return contents;
|
|
2365
2365
|
};
|
|
2366
|
-
const
|
|
2366
|
+
const de_AnalysisSchemeStatus = (output, context) => {
|
|
2367
2367
|
const contents = {};
|
|
2368
2368
|
if (output["Options"] !== undefined) {
|
|
2369
|
-
contents.Options =
|
|
2369
|
+
contents.Options = de_AnalysisScheme(output["Options"], context);
|
|
2370
2370
|
}
|
|
2371
2371
|
if (output["Status"] !== undefined) {
|
|
2372
|
-
contents.Status =
|
|
2372
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2373
2373
|
}
|
|
2374
2374
|
return contents;
|
|
2375
2375
|
};
|
|
2376
|
-
const
|
|
2376
|
+
const de_AnalysisSchemeStatusList = (output, context) => {
|
|
2377
2377
|
return (output || [])
|
|
2378
2378
|
.filter((e) => e != null)
|
|
2379
2379
|
.map((entry) => {
|
|
2380
|
-
return
|
|
2380
|
+
return de_AnalysisSchemeStatus(entry, context);
|
|
2381
2381
|
});
|
|
2382
2382
|
};
|
|
2383
|
-
const
|
|
2383
|
+
const de_AvailabilityOptionsStatus = (output, context) => {
|
|
2384
2384
|
const contents = {};
|
|
2385
2385
|
if (output["Options"] !== undefined) {
|
|
2386
2386
|
contents.Options = (0, smithy_client_1.parseBoolean)(output["Options"]);
|
|
2387
2387
|
}
|
|
2388
2388
|
if (output["Status"] !== undefined) {
|
|
2389
|
-
contents.Status =
|
|
2389
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2390
2390
|
}
|
|
2391
2391
|
return contents;
|
|
2392
2392
|
};
|
|
2393
|
-
const
|
|
2393
|
+
const de_BaseException = (output, context) => {
|
|
2394
2394
|
const contents = {};
|
|
2395
2395
|
if (output["Code"] !== undefined) {
|
|
2396
2396
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
@@ -2400,24 +2400,24 @@ const deserializeAws_queryBaseException = (output, context) => {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
return contents;
|
|
2402
2402
|
};
|
|
2403
|
-
const
|
|
2403
|
+
const de_BuildSuggestersResponse = (output, context) => {
|
|
2404
2404
|
const contents = {};
|
|
2405
2405
|
if (output.FieldNames === "") {
|
|
2406
2406
|
contents.FieldNames = [];
|
|
2407
2407
|
}
|
|
2408
2408
|
else if (output["FieldNames"] !== undefined && output["FieldNames"]["member"] !== undefined) {
|
|
2409
|
-
contents.FieldNames =
|
|
2409
|
+
contents.FieldNames = de_FieldNameList((0, smithy_client_1.getArrayIfSingleItem)(output["FieldNames"]["member"]), context);
|
|
2410
2410
|
}
|
|
2411
2411
|
return contents;
|
|
2412
2412
|
};
|
|
2413
|
-
const
|
|
2413
|
+
const de_CreateDomainResponse = (output, context) => {
|
|
2414
2414
|
const contents = {};
|
|
2415
2415
|
if (output["DomainStatus"] !== undefined) {
|
|
2416
|
-
contents.DomainStatus =
|
|
2416
|
+
contents.DomainStatus = de_DomainStatus(output["DomainStatus"], context);
|
|
2417
2417
|
}
|
|
2418
2418
|
return contents;
|
|
2419
2419
|
};
|
|
2420
|
-
const
|
|
2420
|
+
const de_DateArrayOptions = (output, context) => {
|
|
2421
2421
|
const contents = {};
|
|
2422
2422
|
if (output["DefaultValue"] !== undefined) {
|
|
2423
2423
|
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
@@ -2436,7 +2436,7 @@ const deserializeAws_queryDateArrayOptions = (output, context) => {
|
|
|
2436
2436
|
}
|
|
2437
2437
|
return contents;
|
|
2438
2438
|
};
|
|
2439
|
-
const
|
|
2439
|
+
const de_DateOptions = (output, context) => {
|
|
2440
2440
|
const contents = {};
|
|
2441
2441
|
if (output["DefaultValue"] !== undefined) {
|
|
2442
2442
|
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
@@ -2458,148 +2458,148 @@ const deserializeAws_queryDateOptions = (output, context) => {
|
|
|
2458
2458
|
}
|
|
2459
2459
|
return contents;
|
|
2460
2460
|
};
|
|
2461
|
-
const
|
|
2461
|
+
const de_DefineAnalysisSchemeResponse = (output, context) => {
|
|
2462
2462
|
const contents = {};
|
|
2463
2463
|
if (output["AnalysisScheme"] !== undefined) {
|
|
2464
|
-
contents.AnalysisScheme =
|
|
2464
|
+
contents.AnalysisScheme = de_AnalysisSchemeStatus(output["AnalysisScheme"], context);
|
|
2465
2465
|
}
|
|
2466
2466
|
return contents;
|
|
2467
2467
|
};
|
|
2468
|
-
const
|
|
2468
|
+
const de_DefineExpressionResponse = (output, context) => {
|
|
2469
2469
|
const contents = {};
|
|
2470
2470
|
if (output["Expression"] !== undefined) {
|
|
2471
|
-
contents.Expression =
|
|
2471
|
+
contents.Expression = de_ExpressionStatus(output["Expression"], context);
|
|
2472
2472
|
}
|
|
2473
2473
|
return contents;
|
|
2474
2474
|
};
|
|
2475
|
-
const
|
|
2475
|
+
const de_DefineIndexFieldResponse = (output, context) => {
|
|
2476
2476
|
const contents = {};
|
|
2477
2477
|
if (output["IndexField"] !== undefined) {
|
|
2478
|
-
contents.IndexField =
|
|
2478
|
+
contents.IndexField = de_IndexFieldStatus(output["IndexField"], context);
|
|
2479
2479
|
}
|
|
2480
2480
|
return contents;
|
|
2481
2481
|
};
|
|
2482
|
-
const
|
|
2482
|
+
const de_DefineSuggesterResponse = (output, context) => {
|
|
2483
2483
|
const contents = {};
|
|
2484
2484
|
if (output["Suggester"] !== undefined) {
|
|
2485
|
-
contents.Suggester =
|
|
2485
|
+
contents.Suggester = de_SuggesterStatus(output["Suggester"], context);
|
|
2486
2486
|
}
|
|
2487
2487
|
return contents;
|
|
2488
2488
|
};
|
|
2489
|
-
const
|
|
2489
|
+
const de_DeleteAnalysisSchemeResponse = (output, context) => {
|
|
2490
2490
|
const contents = {};
|
|
2491
2491
|
if (output["AnalysisScheme"] !== undefined) {
|
|
2492
|
-
contents.AnalysisScheme =
|
|
2492
|
+
contents.AnalysisScheme = de_AnalysisSchemeStatus(output["AnalysisScheme"], context);
|
|
2493
2493
|
}
|
|
2494
2494
|
return contents;
|
|
2495
2495
|
};
|
|
2496
|
-
const
|
|
2496
|
+
const de_DeleteDomainResponse = (output, context) => {
|
|
2497
2497
|
const contents = {};
|
|
2498
2498
|
if (output["DomainStatus"] !== undefined) {
|
|
2499
|
-
contents.DomainStatus =
|
|
2499
|
+
contents.DomainStatus = de_DomainStatus(output["DomainStatus"], context);
|
|
2500
2500
|
}
|
|
2501
2501
|
return contents;
|
|
2502
2502
|
};
|
|
2503
|
-
const
|
|
2503
|
+
const de_DeleteExpressionResponse = (output, context) => {
|
|
2504
2504
|
const contents = {};
|
|
2505
2505
|
if (output["Expression"] !== undefined) {
|
|
2506
|
-
contents.Expression =
|
|
2506
|
+
contents.Expression = de_ExpressionStatus(output["Expression"], context);
|
|
2507
2507
|
}
|
|
2508
2508
|
return contents;
|
|
2509
2509
|
};
|
|
2510
|
-
const
|
|
2510
|
+
const de_DeleteIndexFieldResponse = (output, context) => {
|
|
2511
2511
|
const contents = {};
|
|
2512
2512
|
if (output["IndexField"] !== undefined) {
|
|
2513
|
-
contents.IndexField =
|
|
2513
|
+
contents.IndexField = de_IndexFieldStatus(output["IndexField"], context);
|
|
2514
2514
|
}
|
|
2515
2515
|
return contents;
|
|
2516
2516
|
};
|
|
2517
|
-
const
|
|
2517
|
+
const de_DeleteSuggesterResponse = (output, context) => {
|
|
2518
2518
|
const contents = {};
|
|
2519
2519
|
if (output["Suggester"] !== undefined) {
|
|
2520
|
-
contents.Suggester =
|
|
2520
|
+
contents.Suggester = de_SuggesterStatus(output["Suggester"], context);
|
|
2521
2521
|
}
|
|
2522
2522
|
return contents;
|
|
2523
2523
|
};
|
|
2524
|
-
const
|
|
2524
|
+
const de_DescribeAnalysisSchemesResponse = (output, context) => {
|
|
2525
2525
|
const contents = {};
|
|
2526
2526
|
if (output.AnalysisSchemes === "") {
|
|
2527
2527
|
contents.AnalysisSchemes = [];
|
|
2528
2528
|
}
|
|
2529
2529
|
else if (output["AnalysisSchemes"] !== undefined && output["AnalysisSchemes"]["member"] !== undefined) {
|
|
2530
|
-
contents.AnalysisSchemes =
|
|
2530
|
+
contents.AnalysisSchemes = de_AnalysisSchemeStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["AnalysisSchemes"]["member"]), context);
|
|
2531
2531
|
}
|
|
2532
2532
|
return contents;
|
|
2533
2533
|
};
|
|
2534
|
-
const
|
|
2534
|
+
const de_DescribeAvailabilityOptionsResponse = (output, context) => {
|
|
2535
2535
|
const contents = {};
|
|
2536
2536
|
if (output["AvailabilityOptions"] !== undefined) {
|
|
2537
|
-
contents.AvailabilityOptions =
|
|
2537
|
+
contents.AvailabilityOptions = de_AvailabilityOptionsStatus(output["AvailabilityOptions"], context);
|
|
2538
2538
|
}
|
|
2539
2539
|
return contents;
|
|
2540
2540
|
};
|
|
2541
|
-
const
|
|
2541
|
+
const de_DescribeDomainEndpointOptionsResponse = (output, context) => {
|
|
2542
2542
|
const contents = {};
|
|
2543
2543
|
if (output["DomainEndpointOptions"] !== undefined) {
|
|
2544
|
-
contents.DomainEndpointOptions =
|
|
2544
|
+
contents.DomainEndpointOptions = de_DomainEndpointOptionsStatus(output["DomainEndpointOptions"], context);
|
|
2545
2545
|
}
|
|
2546
2546
|
return contents;
|
|
2547
2547
|
};
|
|
2548
|
-
const
|
|
2548
|
+
const de_DescribeDomainsResponse = (output, context) => {
|
|
2549
2549
|
const contents = {};
|
|
2550
2550
|
if (output.DomainStatusList === "") {
|
|
2551
2551
|
contents.DomainStatusList = [];
|
|
2552
2552
|
}
|
|
2553
2553
|
else if (output["DomainStatusList"] !== undefined && output["DomainStatusList"]["member"] !== undefined) {
|
|
2554
|
-
contents.DomainStatusList =
|
|
2554
|
+
contents.DomainStatusList = de_DomainStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["DomainStatusList"]["member"]), context);
|
|
2555
2555
|
}
|
|
2556
2556
|
return contents;
|
|
2557
2557
|
};
|
|
2558
|
-
const
|
|
2558
|
+
const de_DescribeExpressionsResponse = (output, context) => {
|
|
2559
2559
|
const contents = {};
|
|
2560
2560
|
if (output.Expressions === "") {
|
|
2561
2561
|
contents.Expressions = [];
|
|
2562
2562
|
}
|
|
2563
2563
|
else if (output["Expressions"] !== undefined && output["Expressions"]["member"] !== undefined) {
|
|
2564
|
-
contents.Expressions =
|
|
2564
|
+
contents.Expressions = de_ExpressionStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["Expressions"]["member"]), context);
|
|
2565
2565
|
}
|
|
2566
2566
|
return contents;
|
|
2567
2567
|
};
|
|
2568
|
-
const
|
|
2568
|
+
const de_DescribeIndexFieldsResponse = (output, context) => {
|
|
2569
2569
|
const contents = {};
|
|
2570
2570
|
if (output.IndexFields === "") {
|
|
2571
2571
|
contents.IndexFields = [];
|
|
2572
2572
|
}
|
|
2573
2573
|
else if (output["IndexFields"] !== undefined && output["IndexFields"]["member"] !== undefined) {
|
|
2574
|
-
contents.IndexFields =
|
|
2574
|
+
contents.IndexFields = de_IndexFieldStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["IndexFields"]["member"]), context);
|
|
2575
2575
|
}
|
|
2576
2576
|
return contents;
|
|
2577
2577
|
};
|
|
2578
|
-
const
|
|
2578
|
+
const de_DescribeScalingParametersResponse = (output, context) => {
|
|
2579
2579
|
const contents = {};
|
|
2580
2580
|
if (output["ScalingParameters"] !== undefined) {
|
|
2581
|
-
contents.ScalingParameters =
|
|
2581
|
+
contents.ScalingParameters = de_ScalingParametersStatus(output["ScalingParameters"], context);
|
|
2582
2582
|
}
|
|
2583
2583
|
return contents;
|
|
2584
2584
|
};
|
|
2585
|
-
const
|
|
2585
|
+
const de_DescribeServiceAccessPoliciesResponse = (output, context) => {
|
|
2586
2586
|
const contents = {};
|
|
2587
2587
|
if (output["AccessPolicies"] !== undefined) {
|
|
2588
|
-
contents.AccessPolicies =
|
|
2588
|
+
contents.AccessPolicies = de_AccessPoliciesStatus(output["AccessPolicies"], context);
|
|
2589
2589
|
}
|
|
2590
2590
|
return contents;
|
|
2591
2591
|
};
|
|
2592
|
-
const
|
|
2592
|
+
const de_DescribeSuggestersResponse = (output, context) => {
|
|
2593
2593
|
const contents = {};
|
|
2594
2594
|
if (output.Suggesters === "") {
|
|
2595
2595
|
contents.Suggesters = [];
|
|
2596
2596
|
}
|
|
2597
2597
|
else if (output["Suggesters"] !== undefined && output["Suggesters"]["member"] !== undefined) {
|
|
2598
|
-
contents.Suggesters =
|
|
2598
|
+
contents.Suggesters = de_SuggesterStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["Suggesters"]["member"]), context);
|
|
2599
2599
|
}
|
|
2600
2600
|
return contents;
|
|
2601
2601
|
};
|
|
2602
|
-
const
|
|
2602
|
+
const de_DisabledOperationException = (output, context) => {
|
|
2603
2603
|
const contents = {};
|
|
2604
2604
|
if (output["Code"] !== undefined) {
|
|
2605
2605
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
@@ -2609,7 +2609,7 @@ const deserializeAws_queryDisabledOperationException = (output, context) => {
|
|
|
2609
2609
|
}
|
|
2610
2610
|
return contents;
|
|
2611
2611
|
};
|
|
2612
|
-
const
|
|
2612
|
+
const de_DocumentSuggesterOptions = (output, context) => {
|
|
2613
2613
|
const contents = {};
|
|
2614
2614
|
if (output["SourceField"] !== undefined) {
|
|
2615
2615
|
contents.SourceField = (0, smithy_client_1.expectString)(output["SourceField"]);
|
|
@@ -2622,7 +2622,7 @@ const deserializeAws_queryDocumentSuggesterOptions = (output, context) => {
|
|
|
2622
2622
|
}
|
|
2623
2623
|
return contents;
|
|
2624
2624
|
};
|
|
2625
|
-
const
|
|
2625
|
+
const de_DomainEndpointOptions = (output, context) => {
|
|
2626
2626
|
const contents = {};
|
|
2627
2627
|
if (output["EnforceHTTPS"] !== undefined) {
|
|
2628
2628
|
contents.EnforceHTTPS = (0, smithy_client_1.parseBoolean)(output["EnforceHTTPS"]);
|
|
@@ -2632,17 +2632,17 @@ const deserializeAws_queryDomainEndpointOptions = (output, context) => {
|
|
|
2632
2632
|
}
|
|
2633
2633
|
return contents;
|
|
2634
2634
|
};
|
|
2635
|
-
const
|
|
2635
|
+
const de_DomainEndpointOptionsStatus = (output, context) => {
|
|
2636
2636
|
const contents = {};
|
|
2637
2637
|
if (output["Options"] !== undefined) {
|
|
2638
|
-
contents.Options =
|
|
2638
|
+
contents.Options = de_DomainEndpointOptions(output["Options"], context);
|
|
2639
2639
|
}
|
|
2640
2640
|
if (output["Status"] !== undefined) {
|
|
2641
|
-
contents.Status =
|
|
2641
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2642
2642
|
}
|
|
2643
2643
|
return contents;
|
|
2644
2644
|
};
|
|
2645
|
-
const
|
|
2645
|
+
const de_DomainNameMap = (output, context) => {
|
|
2646
2646
|
return output.reduce((acc, pair) => {
|
|
2647
2647
|
if (pair["value"] === null) {
|
|
2648
2648
|
return acc;
|
|
@@ -2651,7 +2651,7 @@ const deserializeAws_queryDomainNameMap = (output, context) => {
|
|
|
2651
2651
|
return acc;
|
|
2652
2652
|
}, {});
|
|
2653
2653
|
};
|
|
2654
|
-
const
|
|
2654
|
+
const de_DomainStatus = (output, context) => {
|
|
2655
2655
|
const contents = {};
|
|
2656
2656
|
if (output["DomainId"] !== undefined) {
|
|
2657
2657
|
contents.DomainId = (0, smithy_client_1.expectString)(output["DomainId"]);
|
|
@@ -2669,10 +2669,10 @@ const deserializeAws_queryDomainStatus = (output, context) => {
|
|
|
2669
2669
|
contents.Deleted = (0, smithy_client_1.parseBoolean)(output["Deleted"]);
|
|
2670
2670
|
}
|
|
2671
2671
|
if (output["DocService"] !== undefined) {
|
|
2672
|
-
contents.DocService =
|
|
2672
|
+
contents.DocService = de_ServiceEndpoint(output["DocService"], context);
|
|
2673
2673
|
}
|
|
2674
2674
|
if (output["SearchService"] !== undefined) {
|
|
2675
|
-
contents.SearchService =
|
|
2675
|
+
contents.SearchService = de_ServiceEndpoint(output["SearchService"], context);
|
|
2676
2676
|
}
|
|
2677
2677
|
if (output["RequiresIndexDocuments"] !== undefined) {
|
|
2678
2678
|
contents.RequiresIndexDocuments = (0, smithy_client_1.parseBoolean)(output["RequiresIndexDocuments"]);
|
|
@@ -2690,18 +2690,18 @@ const deserializeAws_queryDomainStatus = (output, context) => {
|
|
|
2690
2690
|
contents.SearchInstanceCount = (0, smithy_client_1.strictParseInt32)(output["SearchInstanceCount"]);
|
|
2691
2691
|
}
|
|
2692
2692
|
if (output["Limits"] !== undefined) {
|
|
2693
|
-
contents.Limits =
|
|
2693
|
+
contents.Limits = de_Limits(output["Limits"], context);
|
|
2694
2694
|
}
|
|
2695
2695
|
return contents;
|
|
2696
2696
|
};
|
|
2697
|
-
const
|
|
2697
|
+
const de_DomainStatusList = (output, context) => {
|
|
2698
2698
|
return (output || [])
|
|
2699
2699
|
.filter((e) => e != null)
|
|
2700
2700
|
.map((entry) => {
|
|
2701
|
-
return
|
|
2701
|
+
return de_DomainStatus(entry, context);
|
|
2702
2702
|
});
|
|
2703
2703
|
};
|
|
2704
|
-
const
|
|
2704
|
+
const de_DoubleArrayOptions = (output, context) => {
|
|
2705
2705
|
const contents = {};
|
|
2706
2706
|
if (output["DefaultValue"] !== undefined) {
|
|
2707
2707
|
contents.DefaultValue = (0, smithy_client_1.strictParseFloat)(output["DefaultValue"]);
|
|
@@ -2720,7 +2720,7 @@ const deserializeAws_queryDoubleArrayOptions = (output, context) => {
|
|
|
2720
2720
|
}
|
|
2721
2721
|
return contents;
|
|
2722
2722
|
};
|
|
2723
|
-
const
|
|
2723
|
+
const de_DoubleOptions = (output, context) => {
|
|
2724
2724
|
const contents = {};
|
|
2725
2725
|
if (output["DefaultValue"] !== undefined) {
|
|
2726
2726
|
contents.DefaultValue = (0, smithy_client_1.strictParseFloat)(output["DefaultValue"]);
|
|
@@ -2742,7 +2742,7 @@ const deserializeAws_queryDoubleOptions = (output, context) => {
|
|
|
2742
2742
|
}
|
|
2743
2743
|
return contents;
|
|
2744
2744
|
};
|
|
2745
|
-
const
|
|
2745
|
+
const de_Expression = (output, context) => {
|
|
2746
2746
|
const contents = {};
|
|
2747
2747
|
if (output["ExpressionName"] !== undefined) {
|
|
2748
2748
|
contents.ExpressionName = (0, smithy_client_1.expectString)(output["ExpressionName"]);
|
|
@@ -2752,41 +2752,41 @@ const deserializeAws_queryExpression = (output, context) => {
|
|
|
2752
2752
|
}
|
|
2753
2753
|
return contents;
|
|
2754
2754
|
};
|
|
2755
|
-
const
|
|
2755
|
+
const de_ExpressionStatus = (output, context) => {
|
|
2756
2756
|
const contents = {};
|
|
2757
2757
|
if (output["Options"] !== undefined) {
|
|
2758
|
-
contents.Options =
|
|
2758
|
+
contents.Options = de_Expression(output["Options"], context);
|
|
2759
2759
|
}
|
|
2760
2760
|
if (output["Status"] !== undefined) {
|
|
2761
|
-
contents.Status =
|
|
2761
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2762
2762
|
}
|
|
2763
2763
|
return contents;
|
|
2764
2764
|
};
|
|
2765
|
-
const
|
|
2765
|
+
const de_ExpressionStatusList = (output, context) => {
|
|
2766
2766
|
return (output || [])
|
|
2767
2767
|
.filter((e) => e != null)
|
|
2768
2768
|
.map((entry) => {
|
|
2769
|
-
return
|
|
2769
|
+
return de_ExpressionStatus(entry, context);
|
|
2770
2770
|
});
|
|
2771
2771
|
};
|
|
2772
|
-
const
|
|
2772
|
+
const de_FieldNameList = (output, context) => {
|
|
2773
2773
|
return (output || [])
|
|
2774
2774
|
.filter((e) => e != null)
|
|
2775
2775
|
.map((entry) => {
|
|
2776
2776
|
return (0, smithy_client_1.expectString)(entry);
|
|
2777
2777
|
});
|
|
2778
2778
|
};
|
|
2779
|
-
const
|
|
2779
|
+
const de_IndexDocumentsResponse = (output, context) => {
|
|
2780
2780
|
const contents = {};
|
|
2781
2781
|
if (output.FieldNames === "") {
|
|
2782
2782
|
contents.FieldNames = [];
|
|
2783
2783
|
}
|
|
2784
2784
|
else if (output["FieldNames"] !== undefined && output["FieldNames"]["member"] !== undefined) {
|
|
2785
|
-
contents.FieldNames =
|
|
2785
|
+
contents.FieldNames = de_FieldNameList((0, smithy_client_1.getArrayIfSingleItem)(output["FieldNames"]["member"]), context);
|
|
2786
2786
|
}
|
|
2787
2787
|
return contents;
|
|
2788
2788
|
};
|
|
2789
|
-
const
|
|
2789
|
+
const de_IndexField = (output, context) => {
|
|
2790
2790
|
const contents = {};
|
|
2791
2791
|
if (output["IndexFieldName"] !== undefined) {
|
|
2792
2792
|
contents.IndexFieldName = (0, smithy_client_1.expectString)(output["IndexFieldName"]);
|
|
@@ -2795,58 +2795,58 @@ const deserializeAws_queryIndexField = (output, context) => {
|
|
|
2795
2795
|
contents.IndexFieldType = (0, smithy_client_1.expectString)(output["IndexFieldType"]);
|
|
2796
2796
|
}
|
|
2797
2797
|
if (output["IntOptions"] !== undefined) {
|
|
2798
|
-
contents.IntOptions =
|
|
2798
|
+
contents.IntOptions = de_IntOptions(output["IntOptions"], context);
|
|
2799
2799
|
}
|
|
2800
2800
|
if (output["DoubleOptions"] !== undefined) {
|
|
2801
|
-
contents.DoubleOptions =
|
|
2801
|
+
contents.DoubleOptions = de_DoubleOptions(output["DoubleOptions"], context);
|
|
2802
2802
|
}
|
|
2803
2803
|
if (output["LiteralOptions"] !== undefined) {
|
|
2804
|
-
contents.LiteralOptions =
|
|
2804
|
+
contents.LiteralOptions = de_LiteralOptions(output["LiteralOptions"], context);
|
|
2805
2805
|
}
|
|
2806
2806
|
if (output["TextOptions"] !== undefined) {
|
|
2807
|
-
contents.TextOptions =
|
|
2807
|
+
contents.TextOptions = de_TextOptions(output["TextOptions"], context);
|
|
2808
2808
|
}
|
|
2809
2809
|
if (output["DateOptions"] !== undefined) {
|
|
2810
|
-
contents.DateOptions =
|
|
2810
|
+
contents.DateOptions = de_DateOptions(output["DateOptions"], context);
|
|
2811
2811
|
}
|
|
2812
2812
|
if (output["LatLonOptions"] !== undefined) {
|
|
2813
|
-
contents.LatLonOptions =
|
|
2813
|
+
contents.LatLonOptions = de_LatLonOptions(output["LatLonOptions"], context);
|
|
2814
2814
|
}
|
|
2815
2815
|
if (output["IntArrayOptions"] !== undefined) {
|
|
2816
|
-
contents.IntArrayOptions =
|
|
2816
|
+
contents.IntArrayOptions = de_IntArrayOptions(output["IntArrayOptions"], context);
|
|
2817
2817
|
}
|
|
2818
2818
|
if (output["DoubleArrayOptions"] !== undefined) {
|
|
2819
|
-
contents.DoubleArrayOptions =
|
|
2819
|
+
contents.DoubleArrayOptions = de_DoubleArrayOptions(output["DoubleArrayOptions"], context);
|
|
2820
2820
|
}
|
|
2821
2821
|
if (output["LiteralArrayOptions"] !== undefined) {
|
|
2822
|
-
contents.LiteralArrayOptions =
|
|
2822
|
+
contents.LiteralArrayOptions = de_LiteralArrayOptions(output["LiteralArrayOptions"], context);
|
|
2823
2823
|
}
|
|
2824
2824
|
if (output["TextArrayOptions"] !== undefined) {
|
|
2825
|
-
contents.TextArrayOptions =
|
|
2825
|
+
contents.TextArrayOptions = de_TextArrayOptions(output["TextArrayOptions"], context);
|
|
2826
2826
|
}
|
|
2827
2827
|
if (output["DateArrayOptions"] !== undefined) {
|
|
2828
|
-
contents.DateArrayOptions =
|
|
2828
|
+
contents.DateArrayOptions = de_DateArrayOptions(output["DateArrayOptions"], context);
|
|
2829
2829
|
}
|
|
2830
2830
|
return contents;
|
|
2831
2831
|
};
|
|
2832
|
-
const
|
|
2832
|
+
const de_IndexFieldStatus = (output, context) => {
|
|
2833
2833
|
const contents = {};
|
|
2834
2834
|
if (output["Options"] !== undefined) {
|
|
2835
|
-
contents.Options =
|
|
2835
|
+
contents.Options = de_IndexField(output["Options"], context);
|
|
2836
2836
|
}
|
|
2837
2837
|
if (output["Status"] !== undefined) {
|
|
2838
|
-
contents.Status =
|
|
2838
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
2839
2839
|
}
|
|
2840
2840
|
return contents;
|
|
2841
2841
|
};
|
|
2842
|
-
const
|
|
2842
|
+
const de_IndexFieldStatusList = (output, context) => {
|
|
2843
2843
|
return (output || [])
|
|
2844
2844
|
.filter((e) => e != null)
|
|
2845
2845
|
.map((entry) => {
|
|
2846
|
-
return
|
|
2846
|
+
return de_IndexFieldStatus(entry, context);
|
|
2847
2847
|
});
|
|
2848
2848
|
};
|
|
2849
|
-
const
|
|
2849
|
+
const de_IntArrayOptions = (output, context) => {
|
|
2850
2850
|
const contents = {};
|
|
2851
2851
|
if (output["DefaultValue"] !== undefined) {
|
|
2852
2852
|
contents.DefaultValue = (0, smithy_client_1.strictParseLong)(output["DefaultValue"]);
|
|
@@ -2865,7 +2865,7 @@ const deserializeAws_queryIntArrayOptions = (output, context) => {
|
|
|
2865
2865
|
}
|
|
2866
2866
|
return contents;
|
|
2867
2867
|
};
|
|
2868
|
-
const
|
|
2868
|
+
const de_InternalException = (output, context) => {
|
|
2869
2869
|
const contents = {};
|
|
2870
2870
|
if (output["Code"] !== undefined) {
|
|
2871
2871
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
@@ -2875,7 +2875,7 @@ const deserializeAws_queryInternalException = (output, context) => {
|
|
|
2875
2875
|
}
|
|
2876
2876
|
return contents;
|
|
2877
2877
|
};
|
|
2878
|
-
const
|
|
2878
|
+
const de_IntOptions = (output, context) => {
|
|
2879
2879
|
const contents = {};
|
|
2880
2880
|
if (output["DefaultValue"] !== undefined) {
|
|
2881
2881
|
contents.DefaultValue = (0, smithy_client_1.strictParseLong)(output["DefaultValue"]);
|
|
@@ -2897,7 +2897,7 @@ const deserializeAws_queryIntOptions = (output, context) => {
|
|
|
2897
2897
|
}
|
|
2898
2898
|
return contents;
|
|
2899
2899
|
};
|
|
2900
|
-
const
|
|
2900
|
+
const de_InvalidTypeException = (output, context) => {
|
|
2901
2901
|
const contents = {};
|
|
2902
2902
|
if (output["Code"] !== undefined) {
|
|
2903
2903
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
@@ -2907,7 +2907,7 @@ const deserializeAws_queryInvalidTypeException = (output, context) => {
|
|
|
2907
2907
|
}
|
|
2908
2908
|
return contents;
|
|
2909
2909
|
};
|
|
2910
|
-
const
|
|
2910
|
+
const de_LatLonOptions = (output, context) => {
|
|
2911
2911
|
const contents = {};
|
|
2912
2912
|
if (output["DefaultValue"] !== undefined) {
|
|
2913
2913
|
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
@@ -2929,7 +2929,7 @@ const deserializeAws_queryLatLonOptions = (output, context) => {
|
|
|
2929
2929
|
}
|
|
2930
2930
|
return contents;
|
|
2931
2931
|
};
|
|
2932
|
-
const
|
|
2932
|
+
const de_LimitExceededException = (output, context) => {
|
|
2933
2933
|
const contents = {};
|
|
2934
2934
|
if (output["Code"] !== undefined) {
|
|
2935
2935
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
@@ -2939,7 +2939,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
|
2939
2939
|
}
|
|
2940
2940
|
return contents;
|
|
2941
2941
|
};
|
|
2942
|
-
const
|
|
2942
|
+
const de_Limits = (output, context) => {
|
|
2943
2943
|
const contents = {};
|
|
2944
2944
|
if (output["MaximumReplicationCount"] !== undefined) {
|
|
2945
2945
|
contents.MaximumReplicationCount = (0, smithy_client_1.strictParseInt32)(output["MaximumReplicationCount"]);
|
|
@@ -2949,17 +2949,17 @@ const deserializeAws_queryLimits = (output, context) => {
|
|
|
2949
2949
|
}
|
|
2950
2950
|
return contents;
|
|
2951
2951
|
};
|
|
2952
|
-
const
|
|
2952
|
+
const de_ListDomainNamesResponse = (output, context) => {
|
|
2953
2953
|
const contents = {};
|
|
2954
2954
|
if (output.DomainNames === "") {
|
|
2955
2955
|
contents.DomainNames = {};
|
|
2956
2956
|
}
|
|
2957
2957
|
else if (output["DomainNames"] !== undefined && output["DomainNames"]["entry"] !== undefined) {
|
|
2958
|
-
contents.DomainNames =
|
|
2958
|
+
contents.DomainNames = de_DomainNameMap((0, smithy_client_1.getArrayIfSingleItem)(output["DomainNames"]["entry"]), context);
|
|
2959
2959
|
}
|
|
2960
2960
|
return contents;
|
|
2961
2961
|
};
|
|
2962
|
-
const
|
|
2962
|
+
const de_LiteralArrayOptions = (output, context) => {
|
|
2963
2963
|
const contents = {};
|
|
2964
2964
|
if (output["DefaultValue"] !== undefined) {
|
|
2965
2965
|
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
@@ -2978,7 +2978,7 @@ const deserializeAws_queryLiteralArrayOptions = (output, context) => {
|
|
|
2978
2978
|
}
|
|
2979
2979
|
return contents;
|
|
2980
2980
|
};
|
|
2981
|
-
const
|
|
2981
|
+
const de_LiteralOptions = (output, context) => {
|
|
2982
2982
|
const contents = {};
|
|
2983
2983
|
if (output["DefaultValue"] !== undefined) {
|
|
2984
2984
|
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
@@ -3000,7 +3000,7 @@ const deserializeAws_queryLiteralOptions = (output, context) => {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
return contents;
|
|
3002
3002
|
};
|
|
3003
|
-
const
|
|
3003
|
+
const de_OptionStatus = (output, context) => {
|
|
3004
3004
|
const contents = {};
|
|
3005
3005
|
if (output["CreationDate"] !== undefined) {
|
|
3006
3006
|
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreationDate"]));
|
|
@@ -3019,7 +3019,7 @@ const deserializeAws_queryOptionStatus = (output, context) => {
|
|
|
3019
3019
|
}
|
|
3020
3020
|
return contents;
|
|
3021
3021
|
};
|
|
3022
|
-
const
|
|
3022
|
+
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
3023
3023
|
const contents = {};
|
|
3024
3024
|
if (output["Code"] !== undefined) {
|
|
3025
3025
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
@@ -3029,7 +3029,7 @@ const deserializeAws_queryResourceAlreadyExistsException = (output, context) =>
|
|
|
3029
3029
|
}
|
|
3030
3030
|
return contents;
|
|
3031
3031
|
};
|
|
3032
|
-
const
|
|
3032
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
3033
3033
|
const contents = {};
|
|
3034
3034
|
if (output["Code"] !== undefined) {
|
|
3035
3035
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
@@ -3039,7 +3039,7 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
|
3039
3039
|
}
|
|
3040
3040
|
return contents;
|
|
3041
3041
|
};
|
|
3042
|
-
const
|
|
3042
|
+
const de_ScalingParameters = (output, context) => {
|
|
3043
3043
|
const contents = {};
|
|
3044
3044
|
if (output["DesiredInstanceType"] !== undefined) {
|
|
3045
3045
|
contents.DesiredInstanceType = (0, smithy_client_1.expectString)(output["DesiredInstanceType"]);
|
|
@@ -3052,51 +3052,51 @@ const deserializeAws_queryScalingParameters = (output, context) => {
|
|
|
3052
3052
|
}
|
|
3053
3053
|
return contents;
|
|
3054
3054
|
};
|
|
3055
|
-
const
|
|
3055
|
+
const de_ScalingParametersStatus = (output, context) => {
|
|
3056
3056
|
const contents = {};
|
|
3057
3057
|
if (output["Options"] !== undefined) {
|
|
3058
|
-
contents.Options =
|
|
3058
|
+
contents.Options = de_ScalingParameters(output["Options"], context);
|
|
3059
3059
|
}
|
|
3060
3060
|
if (output["Status"] !== undefined) {
|
|
3061
|
-
contents.Status =
|
|
3061
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
3062
3062
|
}
|
|
3063
3063
|
return contents;
|
|
3064
3064
|
};
|
|
3065
|
-
const
|
|
3065
|
+
const de_ServiceEndpoint = (output, context) => {
|
|
3066
3066
|
const contents = {};
|
|
3067
3067
|
if (output["Endpoint"] !== undefined) {
|
|
3068
3068
|
contents.Endpoint = (0, smithy_client_1.expectString)(output["Endpoint"]);
|
|
3069
3069
|
}
|
|
3070
3070
|
return contents;
|
|
3071
3071
|
};
|
|
3072
|
-
const
|
|
3072
|
+
const de_Suggester = (output, context) => {
|
|
3073
3073
|
const contents = {};
|
|
3074
3074
|
if (output["SuggesterName"] !== undefined) {
|
|
3075
3075
|
contents.SuggesterName = (0, smithy_client_1.expectString)(output["SuggesterName"]);
|
|
3076
3076
|
}
|
|
3077
3077
|
if (output["DocumentSuggesterOptions"] !== undefined) {
|
|
3078
|
-
contents.DocumentSuggesterOptions =
|
|
3078
|
+
contents.DocumentSuggesterOptions = de_DocumentSuggesterOptions(output["DocumentSuggesterOptions"], context);
|
|
3079
3079
|
}
|
|
3080
3080
|
return contents;
|
|
3081
3081
|
};
|
|
3082
|
-
const
|
|
3082
|
+
const de_SuggesterStatus = (output, context) => {
|
|
3083
3083
|
const contents = {};
|
|
3084
3084
|
if (output["Options"] !== undefined) {
|
|
3085
|
-
contents.Options =
|
|
3085
|
+
contents.Options = de_Suggester(output["Options"], context);
|
|
3086
3086
|
}
|
|
3087
3087
|
if (output["Status"] !== undefined) {
|
|
3088
|
-
contents.Status =
|
|
3088
|
+
contents.Status = de_OptionStatus(output["Status"], context);
|
|
3089
3089
|
}
|
|
3090
3090
|
return contents;
|
|
3091
3091
|
};
|
|
3092
|
-
const
|
|
3092
|
+
const de_SuggesterStatusList = (output, context) => {
|
|
3093
3093
|
return (output || [])
|
|
3094
3094
|
.filter((e) => e != null)
|
|
3095
3095
|
.map((entry) => {
|
|
3096
|
-
return
|
|
3096
|
+
return de_SuggesterStatus(entry, context);
|
|
3097
3097
|
});
|
|
3098
3098
|
};
|
|
3099
|
-
const
|
|
3099
|
+
const de_TextArrayOptions = (output, context) => {
|
|
3100
3100
|
const contents = {};
|
|
3101
3101
|
if (output["DefaultValue"] !== undefined) {
|
|
3102
3102
|
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
@@ -3115,7 +3115,7 @@ const deserializeAws_queryTextArrayOptions = (output, context) => {
|
|
|
3115
3115
|
}
|
|
3116
3116
|
return contents;
|
|
3117
3117
|
};
|
|
3118
|
-
const
|
|
3118
|
+
const de_TextOptions = (output, context) => {
|
|
3119
3119
|
const contents = {};
|
|
3120
3120
|
if (output["DefaultValue"] !== undefined) {
|
|
3121
3121
|
contents.DefaultValue = (0, smithy_client_1.expectString)(output["DefaultValue"]);
|
|
@@ -3137,35 +3137,35 @@ const deserializeAws_queryTextOptions = (output, context) => {
|
|
|
3137
3137
|
}
|
|
3138
3138
|
return contents;
|
|
3139
3139
|
};
|
|
3140
|
-
const
|
|
3140
|
+
const de_UpdateAvailabilityOptionsResponse = (output, context) => {
|
|
3141
3141
|
const contents = {};
|
|
3142
3142
|
if (output["AvailabilityOptions"] !== undefined) {
|
|
3143
|
-
contents.AvailabilityOptions =
|
|
3143
|
+
contents.AvailabilityOptions = de_AvailabilityOptionsStatus(output["AvailabilityOptions"], context);
|
|
3144
3144
|
}
|
|
3145
3145
|
return contents;
|
|
3146
3146
|
};
|
|
3147
|
-
const
|
|
3147
|
+
const de_UpdateDomainEndpointOptionsResponse = (output, context) => {
|
|
3148
3148
|
const contents = {};
|
|
3149
3149
|
if (output["DomainEndpointOptions"] !== undefined) {
|
|
3150
|
-
contents.DomainEndpointOptions =
|
|
3150
|
+
contents.DomainEndpointOptions = de_DomainEndpointOptionsStatus(output["DomainEndpointOptions"], context);
|
|
3151
3151
|
}
|
|
3152
3152
|
return contents;
|
|
3153
3153
|
};
|
|
3154
|
-
const
|
|
3154
|
+
const de_UpdateScalingParametersResponse = (output, context) => {
|
|
3155
3155
|
const contents = {};
|
|
3156
3156
|
if (output["ScalingParameters"] !== undefined) {
|
|
3157
|
-
contents.ScalingParameters =
|
|
3157
|
+
contents.ScalingParameters = de_ScalingParametersStatus(output["ScalingParameters"], context);
|
|
3158
3158
|
}
|
|
3159
3159
|
return contents;
|
|
3160
3160
|
};
|
|
3161
|
-
const
|
|
3161
|
+
const de_UpdateServiceAccessPoliciesResponse = (output, context) => {
|
|
3162
3162
|
const contents = {};
|
|
3163
3163
|
if (output["AccessPolicies"] !== undefined) {
|
|
3164
|
-
contents.AccessPolicies =
|
|
3164
|
+
contents.AccessPolicies = de_AccessPoliciesStatus(output["AccessPolicies"], context);
|
|
3165
3165
|
}
|
|
3166
3166
|
return contents;
|
|
3167
3167
|
};
|
|
3168
|
-
const
|
|
3168
|
+
const de_ValidationException = (output, context) => {
|
|
3169
3169
|
const contents = {};
|
|
3170
3170
|
if (output["Code"] !== undefined) {
|
|
3171
3171
|
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|