@aws-sdk/client-elastic-load-balancing 3.489.0 → 3.495.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/ElasticLoadBalancing.js +1 -69
- package/dist-cjs/ElasticLoadBalancingClient.js +1 -43
- package/dist-cjs/commands/AddTagsCommand.js +1 -28
- package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +1 -28
- package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js +1 -28
- package/dist-cjs/commands/ConfigureHealthCheckCommand.js +1 -28
- package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +1 -28
- package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +1 -28
- package/dist-cjs/commands/CreateLoadBalancerCommand.js +1 -28
- package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js +1 -28
- package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js +1 -28
- package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js +1 -28
- package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +1 -28
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +1 -28
- package/dist-cjs/commands/DescribeInstanceHealthCommand.js +1 -28
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +1 -28
- package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js +1 -28
- package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +1 -28
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +1 -28
- package/dist-cjs/commands/DescribeTagsCommand.js +1 -28
- package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +1 -28
- package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +1 -28
- package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +1 -28
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +1 -28
- package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +1 -28
- package/dist-cjs/commands/RemoveTagsCommand.js +1 -28
- package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +1 -28
- package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +1 -28
- package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -32
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +4754 -12
- package/dist-cjs/models/ElasticLoadBalancingServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -312
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/index.js +1 -5
- package/dist-cjs/protocols/Aws_query.js +1 -3545
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-cjs/waiters/index.js +1 -6
- package/dist-cjs/waiters/waitForAnyInstanceInService.js +1 -42
- package/dist-cjs/waiters/waitForInstanceDeregistered.js +1 -47
- package/dist-cjs/waiters/waitForInstanceInService.js +1 -47
- package/package.json +41 -41
|
@@ -1,3545 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_DetachLoadBalancerFromSubnetsCommand = exports.de_DescribeTagsCommand = exports.de_DescribeLoadBalancersCommand = exports.de_DescribeLoadBalancerPolicyTypesCommand = exports.de_DescribeLoadBalancerPoliciesCommand = exports.de_DescribeLoadBalancerAttributesCommand = exports.de_DescribeInstanceHealthCommand = exports.de_DescribeAccountLimitsCommand = exports.de_DeregisterInstancesFromLoadBalancerCommand = exports.de_DeleteLoadBalancerPolicyCommand = exports.de_DeleteLoadBalancerListenersCommand = exports.de_DeleteLoadBalancerCommand = exports.de_CreateLoadBalancerPolicyCommand = exports.de_CreateLoadBalancerListenersCommand = exports.de_CreateLoadBalancerCommand = exports.de_CreateLBCookieStickinessPolicyCommand = exports.de_CreateAppCookieStickinessPolicyCommand = exports.de_ConfigureHealthCheckCommand = exports.de_AttachLoadBalancerToSubnetsCommand = exports.de_ApplySecurityGroupsToLoadBalancerCommand = exports.de_AddTagsCommand = exports.se_SetLoadBalancerPoliciesOfListenerCommand = exports.se_SetLoadBalancerPoliciesForBackendServerCommand = exports.se_SetLoadBalancerListenerSSLCertificateCommand = exports.se_RemoveTagsCommand = exports.se_RegisterInstancesWithLoadBalancerCommand = exports.se_ModifyLoadBalancerAttributesCommand = exports.se_EnableAvailabilityZonesForLoadBalancerCommand = exports.se_DisableAvailabilityZonesForLoadBalancerCommand = exports.se_DetachLoadBalancerFromSubnetsCommand = exports.se_DescribeTagsCommand = exports.se_DescribeLoadBalancersCommand = exports.se_DescribeLoadBalancerPolicyTypesCommand = exports.se_DescribeLoadBalancerPoliciesCommand = exports.se_DescribeLoadBalancerAttributesCommand = exports.se_DescribeInstanceHealthCommand = exports.se_DescribeAccountLimitsCommand = exports.se_DeregisterInstancesFromLoadBalancerCommand = exports.se_DeleteLoadBalancerPolicyCommand = exports.se_DeleteLoadBalancerListenersCommand = exports.se_DeleteLoadBalancerCommand = exports.se_CreateLoadBalancerPolicyCommand = exports.se_CreateLoadBalancerListenersCommand = exports.se_CreateLoadBalancerCommand = exports.se_CreateLBCookieStickinessPolicyCommand = exports.se_CreateAppCookieStickinessPolicyCommand = exports.se_ConfigureHealthCheckCommand = exports.se_AttachLoadBalancerToSubnetsCommand = exports.se_ApplySecurityGroupsToLoadBalancerCommand = exports.se_AddTagsCommand = void 0;
|
|
4
|
-
exports.de_SetLoadBalancerPoliciesOfListenerCommand = exports.de_SetLoadBalancerPoliciesForBackendServerCommand = exports.de_SetLoadBalancerListenerSSLCertificateCommand = exports.de_RemoveTagsCommand = exports.de_RegisterInstancesWithLoadBalancerCommand = exports.de_ModifyLoadBalancerAttributesCommand = exports.de_EnableAvailabilityZonesForLoadBalancerCommand = exports.de_DisableAvailabilityZonesForLoadBalancerCommand = void 0;
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
8
|
-
const ElasticLoadBalancingServiceException_1 = require("../models/ElasticLoadBalancingServiceException");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const se_AddTagsCommand = async (input, context) => {
|
|
11
|
-
const headers = SHARED_HEADERS;
|
|
12
|
-
let body;
|
|
13
|
-
body = buildFormUrlencodedString({
|
|
14
|
-
...se_AddTagsInput(input, context),
|
|
15
|
-
[_A]: _AT,
|
|
16
|
-
[_V]: _,
|
|
17
|
-
});
|
|
18
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
19
|
-
};
|
|
20
|
-
exports.se_AddTagsCommand = se_AddTagsCommand;
|
|
21
|
-
const se_ApplySecurityGroupsToLoadBalancerCommand = async (input, context) => {
|
|
22
|
-
const headers = SHARED_HEADERS;
|
|
23
|
-
let body;
|
|
24
|
-
body = buildFormUrlencodedString({
|
|
25
|
-
...se_ApplySecurityGroupsToLoadBalancerInput(input, context),
|
|
26
|
-
[_A]: _ASGTLB,
|
|
27
|
-
[_V]: _,
|
|
28
|
-
});
|
|
29
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
|
-
};
|
|
31
|
-
exports.se_ApplySecurityGroupsToLoadBalancerCommand = se_ApplySecurityGroupsToLoadBalancerCommand;
|
|
32
|
-
const se_AttachLoadBalancerToSubnetsCommand = async (input, context) => {
|
|
33
|
-
const headers = SHARED_HEADERS;
|
|
34
|
-
let body;
|
|
35
|
-
body = buildFormUrlencodedString({
|
|
36
|
-
...se_AttachLoadBalancerToSubnetsInput(input, context),
|
|
37
|
-
[_A]: _ALBTS,
|
|
38
|
-
[_V]: _,
|
|
39
|
-
});
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
exports.se_AttachLoadBalancerToSubnetsCommand = se_AttachLoadBalancerToSubnetsCommand;
|
|
43
|
-
const se_ConfigureHealthCheckCommand = async (input, context) => {
|
|
44
|
-
const headers = SHARED_HEADERS;
|
|
45
|
-
let body;
|
|
46
|
-
body = buildFormUrlencodedString({
|
|
47
|
-
...se_ConfigureHealthCheckInput(input, context),
|
|
48
|
-
[_A]: _CHC,
|
|
49
|
-
[_V]: _,
|
|
50
|
-
});
|
|
51
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
|
-
};
|
|
53
|
-
exports.se_ConfigureHealthCheckCommand = se_ConfigureHealthCheckCommand;
|
|
54
|
-
const se_CreateAppCookieStickinessPolicyCommand = async (input, context) => {
|
|
55
|
-
const headers = SHARED_HEADERS;
|
|
56
|
-
let body;
|
|
57
|
-
body = buildFormUrlencodedString({
|
|
58
|
-
...se_CreateAppCookieStickinessPolicyInput(input, context),
|
|
59
|
-
[_A]: _CACSP,
|
|
60
|
-
[_V]: _,
|
|
61
|
-
});
|
|
62
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
|
-
};
|
|
64
|
-
exports.se_CreateAppCookieStickinessPolicyCommand = se_CreateAppCookieStickinessPolicyCommand;
|
|
65
|
-
const se_CreateLBCookieStickinessPolicyCommand = async (input, context) => {
|
|
66
|
-
const headers = SHARED_HEADERS;
|
|
67
|
-
let body;
|
|
68
|
-
body = buildFormUrlencodedString({
|
|
69
|
-
...se_CreateLBCookieStickinessPolicyInput(input, context),
|
|
70
|
-
[_A]: _CLBCSP,
|
|
71
|
-
[_V]: _,
|
|
72
|
-
});
|
|
73
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
74
|
-
};
|
|
75
|
-
exports.se_CreateLBCookieStickinessPolicyCommand = se_CreateLBCookieStickinessPolicyCommand;
|
|
76
|
-
const se_CreateLoadBalancerCommand = async (input, context) => {
|
|
77
|
-
const headers = SHARED_HEADERS;
|
|
78
|
-
let body;
|
|
79
|
-
body = buildFormUrlencodedString({
|
|
80
|
-
...se_CreateAccessPointInput(input, context),
|
|
81
|
-
[_A]: _CLB,
|
|
82
|
-
[_V]: _,
|
|
83
|
-
});
|
|
84
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
|
-
};
|
|
86
|
-
exports.se_CreateLoadBalancerCommand = se_CreateLoadBalancerCommand;
|
|
87
|
-
const se_CreateLoadBalancerListenersCommand = async (input, context) => {
|
|
88
|
-
const headers = SHARED_HEADERS;
|
|
89
|
-
let body;
|
|
90
|
-
body = buildFormUrlencodedString({
|
|
91
|
-
...se_CreateLoadBalancerListenerInput(input, context),
|
|
92
|
-
[_A]: _CLBL,
|
|
93
|
-
[_V]: _,
|
|
94
|
-
});
|
|
95
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
-
};
|
|
97
|
-
exports.se_CreateLoadBalancerListenersCommand = se_CreateLoadBalancerListenersCommand;
|
|
98
|
-
const se_CreateLoadBalancerPolicyCommand = async (input, context) => {
|
|
99
|
-
const headers = SHARED_HEADERS;
|
|
100
|
-
let body;
|
|
101
|
-
body = buildFormUrlencodedString({
|
|
102
|
-
...se_CreateLoadBalancerPolicyInput(input, context),
|
|
103
|
-
[_A]: _CLBP,
|
|
104
|
-
[_V]: _,
|
|
105
|
-
});
|
|
106
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
-
};
|
|
108
|
-
exports.se_CreateLoadBalancerPolicyCommand = se_CreateLoadBalancerPolicyCommand;
|
|
109
|
-
const se_DeleteLoadBalancerCommand = async (input, context) => {
|
|
110
|
-
const headers = SHARED_HEADERS;
|
|
111
|
-
let body;
|
|
112
|
-
body = buildFormUrlencodedString({
|
|
113
|
-
...se_DeleteAccessPointInput(input, context),
|
|
114
|
-
[_A]: _DLB,
|
|
115
|
-
[_V]: _,
|
|
116
|
-
});
|
|
117
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
|
-
};
|
|
119
|
-
exports.se_DeleteLoadBalancerCommand = se_DeleteLoadBalancerCommand;
|
|
120
|
-
const se_DeleteLoadBalancerListenersCommand = async (input, context) => {
|
|
121
|
-
const headers = SHARED_HEADERS;
|
|
122
|
-
let body;
|
|
123
|
-
body = buildFormUrlencodedString({
|
|
124
|
-
...se_DeleteLoadBalancerListenerInput(input, context),
|
|
125
|
-
[_A]: _DLBL,
|
|
126
|
-
[_V]: _,
|
|
127
|
-
});
|
|
128
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
129
|
-
};
|
|
130
|
-
exports.se_DeleteLoadBalancerListenersCommand = se_DeleteLoadBalancerListenersCommand;
|
|
131
|
-
const se_DeleteLoadBalancerPolicyCommand = async (input, context) => {
|
|
132
|
-
const headers = SHARED_HEADERS;
|
|
133
|
-
let body;
|
|
134
|
-
body = buildFormUrlencodedString({
|
|
135
|
-
...se_DeleteLoadBalancerPolicyInput(input, context),
|
|
136
|
-
[_A]: _DLBP,
|
|
137
|
-
[_V]: _,
|
|
138
|
-
});
|
|
139
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
|
-
};
|
|
141
|
-
exports.se_DeleteLoadBalancerPolicyCommand = se_DeleteLoadBalancerPolicyCommand;
|
|
142
|
-
const se_DeregisterInstancesFromLoadBalancerCommand = async (input, context) => {
|
|
143
|
-
const headers = SHARED_HEADERS;
|
|
144
|
-
let body;
|
|
145
|
-
body = buildFormUrlencodedString({
|
|
146
|
-
...se_DeregisterEndPointsInput(input, context),
|
|
147
|
-
[_A]: _DIFLB,
|
|
148
|
-
[_V]: _,
|
|
149
|
-
});
|
|
150
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
151
|
-
};
|
|
152
|
-
exports.se_DeregisterInstancesFromLoadBalancerCommand = se_DeregisterInstancesFromLoadBalancerCommand;
|
|
153
|
-
const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
154
|
-
const headers = SHARED_HEADERS;
|
|
155
|
-
let body;
|
|
156
|
-
body = buildFormUrlencodedString({
|
|
157
|
-
...se_DescribeAccountLimitsInput(input, context),
|
|
158
|
-
[_A]: _DAL,
|
|
159
|
-
[_V]: _,
|
|
160
|
-
});
|
|
161
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
|
-
};
|
|
163
|
-
exports.se_DescribeAccountLimitsCommand = se_DescribeAccountLimitsCommand;
|
|
164
|
-
const se_DescribeInstanceHealthCommand = async (input, context) => {
|
|
165
|
-
const headers = SHARED_HEADERS;
|
|
166
|
-
let body;
|
|
167
|
-
body = buildFormUrlencodedString({
|
|
168
|
-
...se_DescribeEndPointStateInput(input, context),
|
|
169
|
-
[_A]: _DIH,
|
|
170
|
-
[_V]: _,
|
|
171
|
-
});
|
|
172
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
-
};
|
|
174
|
-
exports.se_DescribeInstanceHealthCommand = se_DescribeInstanceHealthCommand;
|
|
175
|
-
const se_DescribeLoadBalancerAttributesCommand = async (input, context) => {
|
|
176
|
-
const headers = SHARED_HEADERS;
|
|
177
|
-
let body;
|
|
178
|
-
body = buildFormUrlencodedString({
|
|
179
|
-
...se_DescribeLoadBalancerAttributesInput(input, context),
|
|
180
|
-
[_A]: _DLBA,
|
|
181
|
-
[_V]: _,
|
|
182
|
-
});
|
|
183
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
|
-
};
|
|
185
|
-
exports.se_DescribeLoadBalancerAttributesCommand = se_DescribeLoadBalancerAttributesCommand;
|
|
186
|
-
const se_DescribeLoadBalancerPoliciesCommand = async (input, context) => {
|
|
187
|
-
const headers = SHARED_HEADERS;
|
|
188
|
-
let body;
|
|
189
|
-
body = buildFormUrlencodedString({
|
|
190
|
-
...se_DescribeLoadBalancerPoliciesInput(input, context),
|
|
191
|
-
[_A]: _DLBPe,
|
|
192
|
-
[_V]: _,
|
|
193
|
-
});
|
|
194
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
195
|
-
};
|
|
196
|
-
exports.se_DescribeLoadBalancerPoliciesCommand = se_DescribeLoadBalancerPoliciesCommand;
|
|
197
|
-
const se_DescribeLoadBalancerPolicyTypesCommand = async (input, context) => {
|
|
198
|
-
const headers = SHARED_HEADERS;
|
|
199
|
-
let body;
|
|
200
|
-
body = buildFormUrlencodedString({
|
|
201
|
-
...se_DescribeLoadBalancerPolicyTypesInput(input, context),
|
|
202
|
-
[_A]: _DLBPT,
|
|
203
|
-
[_V]: _,
|
|
204
|
-
});
|
|
205
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
206
|
-
};
|
|
207
|
-
exports.se_DescribeLoadBalancerPolicyTypesCommand = se_DescribeLoadBalancerPolicyTypesCommand;
|
|
208
|
-
const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
209
|
-
const headers = SHARED_HEADERS;
|
|
210
|
-
let body;
|
|
211
|
-
body = buildFormUrlencodedString({
|
|
212
|
-
...se_DescribeAccessPointsInput(input, context),
|
|
213
|
-
[_A]: _DLBe,
|
|
214
|
-
[_V]: _,
|
|
215
|
-
});
|
|
216
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
|
-
};
|
|
218
|
-
exports.se_DescribeLoadBalancersCommand = se_DescribeLoadBalancersCommand;
|
|
219
|
-
const se_DescribeTagsCommand = async (input, context) => {
|
|
220
|
-
const headers = SHARED_HEADERS;
|
|
221
|
-
let body;
|
|
222
|
-
body = buildFormUrlencodedString({
|
|
223
|
-
...se_DescribeTagsInput(input, context),
|
|
224
|
-
[_A]: _DT,
|
|
225
|
-
[_V]: _,
|
|
226
|
-
});
|
|
227
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
|
-
};
|
|
229
|
-
exports.se_DescribeTagsCommand = se_DescribeTagsCommand;
|
|
230
|
-
const se_DetachLoadBalancerFromSubnetsCommand = async (input, context) => {
|
|
231
|
-
const headers = SHARED_HEADERS;
|
|
232
|
-
let body;
|
|
233
|
-
body = buildFormUrlencodedString({
|
|
234
|
-
...se_DetachLoadBalancerFromSubnetsInput(input, context),
|
|
235
|
-
[_A]: _DLBFS,
|
|
236
|
-
[_V]: _,
|
|
237
|
-
});
|
|
238
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
|
-
};
|
|
240
|
-
exports.se_DetachLoadBalancerFromSubnetsCommand = se_DetachLoadBalancerFromSubnetsCommand;
|
|
241
|
-
const se_DisableAvailabilityZonesForLoadBalancerCommand = async (input, context) => {
|
|
242
|
-
const headers = SHARED_HEADERS;
|
|
243
|
-
let body;
|
|
244
|
-
body = buildFormUrlencodedString({
|
|
245
|
-
...se_RemoveAvailabilityZonesInput(input, context),
|
|
246
|
-
[_A]: _DAZFLB,
|
|
247
|
-
[_V]: _,
|
|
248
|
-
});
|
|
249
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
|
-
};
|
|
251
|
-
exports.se_DisableAvailabilityZonesForLoadBalancerCommand = se_DisableAvailabilityZonesForLoadBalancerCommand;
|
|
252
|
-
const se_EnableAvailabilityZonesForLoadBalancerCommand = async (input, context) => {
|
|
253
|
-
const headers = SHARED_HEADERS;
|
|
254
|
-
let body;
|
|
255
|
-
body = buildFormUrlencodedString({
|
|
256
|
-
...se_AddAvailabilityZonesInput(input, context),
|
|
257
|
-
[_A]: _EAZFLB,
|
|
258
|
-
[_V]: _,
|
|
259
|
-
});
|
|
260
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
261
|
-
};
|
|
262
|
-
exports.se_EnableAvailabilityZonesForLoadBalancerCommand = se_EnableAvailabilityZonesForLoadBalancerCommand;
|
|
263
|
-
const se_ModifyLoadBalancerAttributesCommand = async (input, context) => {
|
|
264
|
-
const headers = SHARED_HEADERS;
|
|
265
|
-
let body;
|
|
266
|
-
body = buildFormUrlencodedString({
|
|
267
|
-
...se_ModifyLoadBalancerAttributesInput(input, context),
|
|
268
|
-
[_A]: _MLBA,
|
|
269
|
-
[_V]: _,
|
|
270
|
-
});
|
|
271
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
272
|
-
};
|
|
273
|
-
exports.se_ModifyLoadBalancerAttributesCommand = se_ModifyLoadBalancerAttributesCommand;
|
|
274
|
-
const se_RegisterInstancesWithLoadBalancerCommand = async (input, context) => {
|
|
275
|
-
const headers = SHARED_HEADERS;
|
|
276
|
-
let body;
|
|
277
|
-
body = buildFormUrlencodedString({
|
|
278
|
-
...se_RegisterEndPointsInput(input, context),
|
|
279
|
-
[_A]: _RIWLB,
|
|
280
|
-
[_V]: _,
|
|
281
|
-
});
|
|
282
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
|
-
};
|
|
284
|
-
exports.se_RegisterInstancesWithLoadBalancerCommand = se_RegisterInstancesWithLoadBalancerCommand;
|
|
285
|
-
const se_RemoveTagsCommand = async (input, context) => {
|
|
286
|
-
const headers = SHARED_HEADERS;
|
|
287
|
-
let body;
|
|
288
|
-
body = buildFormUrlencodedString({
|
|
289
|
-
...se_RemoveTagsInput(input, context),
|
|
290
|
-
[_A]: _RT,
|
|
291
|
-
[_V]: _,
|
|
292
|
-
});
|
|
293
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
|
-
};
|
|
295
|
-
exports.se_RemoveTagsCommand = se_RemoveTagsCommand;
|
|
296
|
-
const se_SetLoadBalancerListenerSSLCertificateCommand = async (input, context) => {
|
|
297
|
-
const headers = SHARED_HEADERS;
|
|
298
|
-
let body;
|
|
299
|
-
body = buildFormUrlencodedString({
|
|
300
|
-
...se_SetLoadBalancerListenerSSLCertificateInput(input, context),
|
|
301
|
-
[_A]: _SLBLSSLC,
|
|
302
|
-
[_V]: _,
|
|
303
|
-
});
|
|
304
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
-
};
|
|
306
|
-
exports.se_SetLoadBalancerListenerSSLCertificateCommand = se_SetLoadBalancerListenerSSLCertificateCommand;
|
|
307
|
-
const se_SetLoadBalancerPoliciesForBackendServerCommand = async (input, context) => {
|
|
308
|
-
const headers = SHARED_HEADERS;
|
|
309
|
-
let body;
|
|
310
|
-
body = buildFormUrlencodedString({
|
|
311
|
-
...se_SetLoadBalancerPoliciesForBackendServerInput(input, context),
|
|
312
|
-
[_A]: _SLBPFBS,
|
|
313
|
-
[_V]: _,
|
|
314
|
-
});
|
|
315
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
|
-
};
|
|
317
|
-
exports.se_SetLoadBalancerPoliciesForBackendServerCommand = se_SetLoadBalancerPoliciesForBackendServerCommand;
|
|
318
|
-
const se_SetLoadBalancerPoliciesOfListenerCommand = async (input, context) => {
|
|
319
|
-
const headers = SHARED_HEADERS;
|
|
320
|
-
let body;
|
|
321
|
-
body = buildFormUrlencodedString({
|
|
322
|
-
...se_SetLoadBalancerPoliciesOfListenerInput(input, context),
|
|
323
|
-
[_A]: _SLBPOL,
|
|
324
|
-
[_V]: _,
|
|
325
|
-
});
|
|
326
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
|
-
};
|
|
328
|
-
exports.se_SetLoadBalancerPoliciesOfListenerCommand = se_SetLoadBalancerPoliciesOfListenerCommand;
|
|
329
|
-
const de_AddTagsCommand = async (output, context) => {
|
|
330
|
-
if (output.statusCode >= 300) {
|
|
331
|
-
return de_AddTagsCommandError(output, context);
|
|
332
|
-
}
|
|
333
|
-
const data = await parseBody(output.body, context);
|
|
334
|
-
let contents = {};
|
|
335
|
-
contents = de_AddTagsOutput(data.AddTagsResult, context);
|
|
336
|
-
const response = {
|
|
337
|
-
$metadata: deserializeMetadata(output),
|
|
338
|
-
...contents,
|
|
339
|
-
};
|
|
340
|
-
return response;
|
|
341
|
-
};
|
|
342
|
-
exports.de_AddTagsCommand = de_AddTagsCommand;
|
|
343
|
-
const de_AddTagsCommandError = async (output, context) => {
|
|
344
|
-
const parsedOutput = {
|
|
345
|
-
...output,
|
|
346
|
-
body: await parseErrorBody(output.body, context),
|
|
347
|
-
};
|
|
348
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
349
|
-
switch (errorCode) {
|
|
350
|
-
case "DuplicateTagKeys":
|
|
351
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
352
|
-
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
353
|
-
case "LoadBalancerNotFound":
|
|
354
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
355
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
356
|
-
case "TooManyTags":
|
|
357
|
-
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
358
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
359
|
-
default:
|
|
360
|
-
const parsedBody = parsedOutput.body;
|
|
361
|
-
return throwDefaultError({
|
|
362
|
-
output,
|
|
363
|
-
parsedBody: parsedBody.Error,
|
|
364
|
-
errorCode,
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
|
-
};
|
|
368
|
-
const de_ApplySecurityGroupsToLoadBalancerCommand = async (output, context) => {
|
|
369
|
-
if (output.statusCode >= 300) {
|
|
370
|
-
return de_ApplySecurityGroupsToLoadBalancerCommandError(output, context);
|
|
371
|
-
}
|
|
372
|
-
const data = await parseBody(output.body, context);
|
|
373
|
-
let contents = {};
|
|
374
|
-
contents = de_ApplySecurityGroupsToLoadBalancerOutput(data.ApplySecurityGroupsToLoadBalancerResult, context);
|
|
375
|
-
const response = {
|
|
376
|
-
$metadata: deserializeMetadata(output),
|
|
377
|
-
...contents,
|
|
378
|
-
};
|
|
379
|
-
return response;
|
|
380
|
-
};
|
|
381
|
-
exports.de_ApplySecurityGroupsToLoadBalancerCommand = de_ApplySecurityGroupsToLoadBalancerCommand;
|
|
382
|
-
const de_ApplySecurityGroupsToLoadBalancerCommandError = async (output, context) => {
|
|
383
|
-
const parsedOutput = {
|
|
384
|
-
...output,
|
|
385
|
-
body: await parseErrorBody(output.body, context),
|
|
386
|
-
};
|
|
387
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
388
|
-
switch (errorCode) {
|
|
389
|
-
case "InvalidConfigurationRequest":
|
|
390
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
391
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
392
|
-
case "InvalidSecurityGroup":
|
|
393
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
394
|
-
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
395
|
-
case "LoadBalancerNotFound":
|
|
396
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
397
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
398
|
-
default:
|
|
399
|
-
const parsedBody = parsedOutput.body;
|
|
400
|
-
return throwDefaultError({
|
|
401
|
-
output,
|
|
402
|
-
parsedBody: parsedBody.Error,
|
|
403
|
-
errorCode,
|
|
404
|
-
});
|
|
405
|
-
}
|
|
406
|
-
};
|
|
407
|
-
const de_AttachLoadBalancerToSubnetsCommand = async (output, context) => {
|
|
408
|
-
if (output.statusCode >= 300) {
|
|
409
|
-
return de_AttachLoadBalancerToSubnetsCommandError(output, context);
|
|
410
|
-
}
|
|
411
|
-
const data = await parseBody(output.body, context);
|
|
412
|
-
let contents = {};
|
|
413
|
-
contents = de_AttachLoadBalancerToSubnetsOutput(data.AttachLoadBalancerToSubnetsResult, context);
|
|
414
|
-
const response = {
|
|
415
|
-
$metadata: deserializeMetadata(output),
|
|
416
|
-
...contents,
|
|
417
|
-
};
|
|
418
|
-
return response;
|
|
419
|
-
};
|
|
420
|
-
exports.de_AttachLoadBalancerToSubnetsCommand = de_AttachLoadBalancerToSubnetsCommand;
|
|
421
|
-
const de_AttachLoadBalancerToSubnetsCommandError = async (output, context) => {
|
|
422
|
-
const parsedOutput = {
|
|
423
|
-
...output,
|
|
424
|
-
body: await parseErrorBody(output.body, context),
|
|
425
|
-
};
|
|
426
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
427
|
-
switch (errorCode) {
|
|
428
|
-
case "InvalidConfigurationRequest":
|
|
429
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
430
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
431
|
-
case "InvalidSubnet":
|
|
432
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
433
|
-
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
434
|
-
case "LoadBalancerNotFound":
|
|
435
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
436
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
437
|
-
case "SubnetNotFound":
|
|
438
|
-
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
439
|
-
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
440
|
-
default:
|
|
441
|
-
const parsedBody = parsedOutput.body;
|
|
442
|
-
return throwDefaultError({
|
|
443
|
-
output,
|
|
444
|
-
parsedBody: parsedBody.Error,
|
|
445
|
-
errorCode,
|
|
446
|
-
});
|
|
447
|
-
}
|
|
448
|
-
};
|
|
449
|
-
const de_ConfigureHealthCheckCommand = async (output, context) => {
|
|
450
|
-
if (output.statusCode >= 300) {
|
|
451
|
-
return de_ConfigureHealthCheckCommandError(output, context);
|
|
452
|
-
}
|
|
453
|
-
const data = await parseBody(output.body, context);
|
|
454
|
-
let contents = {};
|
|
455
|
-
contents = de_ConfigureHealthCheckOutput(data.ConfigureHealthCheckResult, context);
|
|
456
|
-
const response = {
|
|
457
|
-
$metadata: deserializeMetadata(output),
|
|
458
|
-
...contents,
|
|
459
|
-
};
|
|
460
|
-
return response;
|
|
461
|
-
};
|
|
462
|
-
exports.de_ConfigureHealthCheckCommand = de_ConfigureHealthCheckCommand;
|
|
463
|
-
const de_ConfigureHealthCheckCommandError = async (output, context) => {
|
|
464
|
-
const parsedOutput = {
|
|
465
|
-
...output,
|
|
466
|
-
body: await parseErrorBody(output.body, context),
|
|
467
|
-
};
|
|
468
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
469
|
-
switch (errorCode) {
|
|
470
|
-
case "LoadBalancerNotFound":
|
|
471
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
472
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
473
|
-
default:
|
|
474
|
-
const parsedBody = parsedOutput.body;
|
|
475
|
-
return throwDefaultError({
|
|
476
|
-
output,
|
|
477
|
-
parsedBody: parsedBody.Error,
|
|
478
|
-
errorCode,
|
|
479
|
-
});
|
|
480
|
-
}
|
|
481
|
-
};
|
|
482
|
-
const de_CreateAppCookieStickinessPolicyCommand = async (output, context) => {
|
|
483
|
-
if (output.statusCode >= 300) {
|
|
484
|
-
return de_CreateAppCookieStickinessPolicyCommandError(output, context);
|
|
485
|
-
}
|
|
486
|
-
const data = await parseBody(output.body, context);
|
|
487
|
-
let contents = {};
|
|
488
|
-
contents = de_CreateAppCookieStickinessPolicyOutput(data.CreateAppCookieStickinessPolicyResult, context);
|
|
489
|
-
const response = {
|
|
490
|
-
$metadata: deserializeMetadata(output),
|
|
491
|
-
...contents,
|
|
492
|
-
};
|
|
493
|
-
return response;
|
|
494
|
-
};
|
|
495
|
-
exports.de_CreateAppCookieStickinessPolicyCommand = de_CreateAppCookieStickinessPolicyCommand;
|
|
496
|
-
const de_CreateAppCookieStickinessPolicyCommandError = async (output, context) => {
|
|
497
|
-
const parsedOutput = {
|
|
498
|
-
...output,
|
|
499
|
-
body: await parseErrorBody(output.body, context),
|
|
500
|
-
};
|
|
501
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
502
|
-
switch (errorCode) {
|
|
503
|
-
case "DuplicatePolicyName":
|
|
504
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
505
|
-
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
506
|
-
case "InvalidConfigurationRequest":
|
|
507
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
508
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
509
|
-
case "LoadBalancerNotFound":
|
|
510
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
511
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
512
|
-
case "TooManyPolicies":
|
|
513
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
514
|
-
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
515
|
-
default:
|
|
516
|
-
const parsedBody = parsedOutput.body;
|
|
517
|
-
return throwDefaultError({
|
|
518
|
-
output,
|
|
519
|
-
parsedBody: parsedBody.Error,
|
|
520
|
-
errorCode,
|
|
521
|
-
});
|
|
522
|
-
}
|
|
523
|
-
};
|
|
524
|
-
const de_CreateLBCookieStickinessPolicyCommand = async (output, context) => {
|
|
525
|
-
if (output.statusCode >= 300) {
|
|
526
|
-
return de_CreateLBCookieStickinessPolicyCommandError(output, context);
|
|
527
|
-
}
|
|
528
|
-
const data = await parseBody(output.body, context);
|
|
529
|
-
let contents = {};
|
|
530
|
-
contents = de_CreateLBCookieStickinessPolicyOutput(data.CreateLBCookieStickinessPolicyResult, context);
|
|
531
|
-
const response = {
|
|
532
|
-
$metadata: deserializeMetadata(output),
|
|
533
|
-
...contents,
|
|
534
|
-
};
|
|
535
|
-
return response;
|
|
536
|
-
};
|
|
537
|
-
exports.de_CreateLBCookieStickinessPolicyCommand = de_CreateLBCookieStickinessPolicyCommand;
|
|
538
|
-
const de_CreateLBCookieStickinessPolicyCommandError = async (output, context) => {
|
|
539
|
-
const parsedOutput = {
|
|
540
|
-
...output,
|
|
541
|
-
body: await parseErrorBody(output.body, context),
|
|
542
|
-
};
|
|
543
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
544
|
-
switch (errorCode) {
|
|
545
|
-
case "DuplicatePolicyName":
|
|
546
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
547
|
-
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
548
|
-
case "InvalidConfigurationRequest":
|
|
549
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
550
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
551
|
-
case "LoadBalancerNotFound":
|
|
552
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
553
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
554
|
-
case "TooManyPolicies":
|
|
555
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
556
|
-
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
557
|
-
default:
|
|
558
|
-
const parsedBody = parsedOutput.body;
|
|
559
|
-
return throwDefaultError({
|
|
560
|
-
output,
|
|
561
|
-
parsedBody: parsedBody.Error,
|
|
562
|
-
errorCode,
|
|
563
|
-
});
|
|
564
|
-
}
|
|
565
|
-
};
|
|
566
|
-
const de_CreateLoadBalancerCommand = async (output, context) => {
|
|
567
|
-
if (output.statusCode >= 300) {
|
|
568
|
-
return de_CreateLoadBalancerCommandError(output, context);
|
|
569
|
-
}
|
|
570
|
-
const data = await parseBody(output.body, context);
|
|
571
|
-
let contents = {};
|
|
572
|
-
contents = de_CreateAccessPointOutput(data.CreateLoadBalancerResult, context);
|
|
573
|
-
const response = {
|
|
574
|
-
$metadata: deserializeMetadata(output),
|
|
575
|
-
...contents,
|
|
576
|
-
};
|
|
577
|
-
return response;
|
|
578
|
-
};
|
|
579
|
-
exports.de_CreateLoadBalancerCommand = de_CreateLoadBalancerCommand;
|
|
580
|
-
const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
581
|
-
const parsedOutput = {
|
|
582
|
-
...output,
|
|
583
|
-
body: await parseErrorBody(output.body, context),
|
|
584
|
-
};
|
|
585
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
586
|
-
switch (errorCode) {
|
|
587
|
-
case "CertificateNotFound":
|
|
588
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
589
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
590
|
-
case "DuplicateLoadBalancerName":
|
|
591
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException":
|
|
592
|
-
throw await de_DuplicateAccessPointNameExceptionRes(parsedOutput, context);
|
|
593
|
-
case "DuplicateTagKeys":
|
|
594
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
595
|
-
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
596
|
-
case "InvalidConfigurationRequest":
|
|
597
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
598
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
599
|
-
case "InvalidScheme":
|
|
600
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSchemeException":
|
|
601
|
-
throw await de_InvalidSchemeExceptionRes(parsedOutput, context);
|
|
602
|
-
case "InvalidSecurityGroup":
|
|
603
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
604
|
-
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
605
|
-
case "InvalidSubnet":
|
|
606
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
607
|
-
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
608
|
-
case "OperationNotPermitted":
|
|
609
|
-
case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException":
|
|
610
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
611
|
-
case "SubnetNotFound":
|
|
612
|
-
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
613
|
-
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
614
|
-
case "TooManyLoadBalancers":
|
|
615
|
-
case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException":
|
|
616
|
-
throw await de_TooManyAccessPointsExceptionRes(parsedOutput, context);
|
|
617
|
-
case "TooManyTags":
|
|
618
|
-
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
619
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
620
|
-
case "UnsupportedProtocol":
|
|
621
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
622
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
623
|
-
default:
|
|
624
|
-
const parsedBody = parsedOutput.body;
|
|
625
|
-
return throwDefaultError({
|
|
626
|
-
output,
|
|
627
|
-
parsedBody: parsedBody.Error,
|
|
628
|
-
errorCode,
|
|
629
|
-
});
|
|
630
|
-
}
|
|
631
|
-
};
|
|
632
|
-
const de_CreateLoadBalancerListenersCommand = async (output, context) => {
|
|
633
|
-
if (output.statusCode >= 300) {
|
|
634
|
-
return de_CreateLoadBalancerListenersCommandError(output, context);
|
|
635
|
-
}
|
|
636
|
-
const data = await parseBody(output.body, context);
|
|
637
|
-
let contents = {};
|
|
638
|
-
contents = de_CreateLoadBalancerListenerOutput(data.CreateLoadBalancerListenersResult, context);
|
|
639
|
-
const response = {
|
|
640
|
-
$metadata: deserializeMetadata(output),
|
|
641
|
-
...contents,
|
|
642
|
-
};
|
|
643
|
-
return response;
|
|
644
|
-
};
|
|
645
|
-
exports.de_CreateLoadBalancerListenersCommand = de_CreateLoadBalancerListenersCommand;
|
|
646
|
-
const de_CreateLoadBalancerListenersCommandError = async (output, context) => {
|
|
647
|
-
const parsedOutput = {
|
|
648
|
-
...output,
|
|
649
|
-
body: await parseErrorBody(output.body, context),
|
|
650
|
-
};
|
|
651
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
652
|
-
switch (errorCode) {
|
|
653
|
-
case "CertificateNotFound":
|
|
654
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
655
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
656
|
-
case "DuplicateListener":
|
|
657
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateListenerException":
|
|
658
|
-
throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
|
|
659
|
-
case "InvalidConfigurationRequest":
|
|
660
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
661
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
662
|
-
case "LoadBalancerNotFound":
|
|
663
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
664
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
665
|
-
case "UnsupportedProtocol":
|
|
666
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
667
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
668
|
-
default:
|
|
669
|
-
const parsedBody = parsedOutput.body;
|
|
670
|
-
return throwDefaultError({
|
|
671
|
-
output,
|
|
672
|
-
parsedBody: parsedBody.Error,
|
|
673
|
-
errorCode,
|
|
674
|
-
});
|
|
675
|
-
}
|
|
676
|
-
};
|
|
677
|
-
const de_CreateLoadBalancerPolicyCommand = async (output, context) => {
|
|
678
|
-
if (output.statusCode >= 300) {
|
|
679
|
-
return de_CreateLoadBalancerPolicyCommandError(output, context);
|
|
680
|
-
}
|
|
681
|
-
const data = await parseBody(output.body, context);
|
|
682
|
-
let contents = {};
|
|
683
|
-
contents = de_CreateLoadBalancerPolicyOutput(data.CreateLoadBalancerPolicyResult, context);
|
|
684
|
-
const response = {
|
|
685
|
-
$metadata: deserializeMetadata(output),
|
|
686
|
-
...contents,
|
|
687
|
-
};
|
|
688
|
-
return response;
|
|
689
|
-
};
|
|
690
|
-
exports.de_CreateLoadBalancerPolicyCommand = de_CreateLoadBalancerPolicyCommand;
|
|
691
|
-
const de_CreateLoadBalancerPolicyCommandError = async (output, context) => {
|
|
692
|
-
const parsedOutput = {
|
|
693
|
-
...output,
|
|
694
|
-
body: await parseErrorBody(output.body, context),
|
|
695
|
-
};
|
|
696
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
697
|
-
switch (errorCode) {
|
|
698
|
-
case "DuplicatePolicyName":
|
|
699
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
700
|
-
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
701
|
-
case "InvalidConfigurationRequest":
|
|
702
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
703
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
704
|
-
case "LoadBalancerNotFound":
|
|
705
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
706
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
707
|
-
case "PolicyTypeNotFound":
|
|
708
|
-
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
709
|
-
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
710
|
-
case "TooManyPolicies":
|
|
711
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
712
|
-
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
713
|
-
default:
|
|
714
|
-
const parsedBody = parsedOutput.body;
|
|
715
|
-
return throwDefaultError({
|
|
716
|
-
output,
|
|
717
|
-
parsedBody: parsedBody.Error,
|
|
718
|
-
errorCode,
|
|
719
|
-
});
|
|
720
|
-
}
|
|
721
|
-
};
|
|
722
|
-
const de_DeleteLoadBalancerCommand = async (output, context) => {
|
|
723
|
-
if (output.statusCode >= 300) {
|
|
724
|
-
return de_DeleteLoadBalancerCommandError(output, context);
|
|
725
|
-
}
|
|
726
|
-
const data = await parseBody(output.body, context);
|
|
727
|
-
let contents = {};
|
|
728
|
-
contents = de_DeleteAccessPointOutput(data.DeleteLoadBalancerResult, context);
|
|
729
|
-
const response = {
|
|
730
|
-
$metadata: deserializeMetadata(output),
|
|
731
|
-
...contents,
|
|
732
|
-
};
|
|
733
|
-
return response;
|
|
734
|
-
};
|
|
735
|
-
exports.de_DeleteLoadBalancerCommand = de_DeleteLoadBalancerCommand;
|
|
736
|
-
const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
737
|
-
const parsedOutput = {
|
|
738
|
-
...output,
|
|
739
|
-
body: await parseErrorBody(output.body, context),
|
|
740
|
-
};
|
|
741
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
742
|
-
const parsedBody = parsedOutput.body;
|
|
743
|
-
return throwDefaultError({
|
|
744
|
-
output,
|
|
745
|
-
parsedBody: parsedBody.Error,
|
|
746
|
-
errorCode,
|
|
747
|
-
});
|
|
748
|
-
};
|
|
749
|
-
const de_DeleteLoadBalancerListenersCommand = async (output, context) => {
|
|
750
|
-
if (output.statusCode >= 300) {
|
|
751
|
-
return de_DeleteLoadBalancerListenersCommandError(output, context);
|
|
752
|
-
}
|
|
753
|
-
const data = await parseBody(output.body, context);
|
|
754
|
-
let contents = {};
|
|
755
|
-
contents = de_DeleteLoadBalancerListenerOutput(data.DeleteLoadBalancerListenersResult, context);
|
|
756
|
-
const response = {
|
|
757
|
-
$metadata: deserializeMetadata(output),
|
|
758
|
-
...contents,
|
|
759
|
-
};
|
|
760
|
-
return response;
|
|
761
|
-
};
|
|
762
|
-
exports.de_DeleteLoadBalancerListenersCommand = de_DeleteLoadBalancerListenersCommand;
|
|
763
|
-
const de_DeleteLoadBalancerListenersCommandError = async (output, context) => {
|
|
764
|
-
const parsedOutput = {
|
|
765
|
-
...output,
|
|
766
|
-
body: await parseErrorBody(output.body, context),
|
|
767
|
-
};
|
|
768
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
769
|
-
switch (errorCode) {
|
|
770
|
-
case "LoadBalancerNotFound":
|
|
771
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
772
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
773
|
-
default:
|
|
774
|
-
const parsedBody = parsedOutput.body;
|
|
775
|
-
return throwDefaultError({
|
|
776
|
-
output,
|
|
777
|
-
parsedBody: parsedBody.Error,
|
|
778
|
-
errorCode,
|
|
779
|
-
});
|
|
780
|
-
}
|
|
781
|
-
};
|
|
782
|
-
const de_DeleteLoadBalancerPolicyCommand = async (output, context) => {
|
|
783
|
-
if (output.statusCode >= 300) {
|
|
784
|
-
return de_DeleteLoadBalancerPolicyCommandError(output, context);
|
|
785
|
-
}
|
|
786
|
-
const data = await parseBody(output.body, context);
|
|
787
|
-
let contents = {};
|
|
788
|
-
contents = de_DeleteLoadBalancerPolicyOutput(data.DeleteLoadBalancerPolicyResult, context);
|
|
789
|
-
const response = {
|
|
790
|
-
$metadata: deserializeMetadata(output),
|
|
791
|
-
...contents,
|
|
792
|
-
};
|
|
793
|
-
return response;
|
|
794
|
-
};
|
|
795
|
-
exports.de_DeleteLoadBalancerPolicyCommand = de_DeleteLoadBalancerPolicyCommand;
|
|
796
|
-
const de_DeleteLoadBalancerPolicyCommandError = async (output, context) => {
|
|
797
|
-
const parsedOutput = {
|
|
798
|
-
...output,
|
|
799
|
-
body: await parseErrorBody(output.body, context),
|
|
800
|
-
};
|
|
801
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
802
|
-
switch (errorCode) {
|
|
803
|
-
case "InvalidConfigurationRequest":
|
|
804
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
805
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
806
|
-
case "LoadBalancerNotFound":
|
|
807
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
808
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
809
|
-
default:
|
|
810
|
-
const parsedBody = parsedOutput.body;
|
|
811
|
-
return throwDefaultError({
|
|
812
|
-
output,
|
|
813
|
-
parsedBody: parsedBody.Error,
|
|
814
|
-
errorCode,
|
|
815
|
-
});
|
|
816
|
-
}
|
|
817
|
-
};
|
|
818
|
-
const de_DeregisterInstancesFromLoadBalancerCommand = async (output, context) => {
|
|
819
|
-
if (output.statusCode >= 300) {
|
|
820
|
-
return de_DeregisterInstancesFromLoadBalancerCommandError(output, context);
|
|
821
|
-
}
|
|
822
|
-
const data = await parseBody(output.body, context);
|
|
823
|
-
let contents = {};
|
|
824
|
-
contents = de_DeregisterEndPointsOutput(data.DeregisterInstancesFromLoadBalancerResult, context);
|
|
825
|
-
const response = {
|
|
826
|
-
$metadata: deserializeMetadata(output),
|
|
827
|
-
...contents,
|
|
828
|
-
};
|
|
829
|
-
return response;
|
|
830
|
-
};
|
|
831
|
-
exports.de_DeregisterInstancesFromLoadBalancerCommand = de_DeregisterInstancesFromLoadBalancerCommand;
|
|
832
|
-
const de_DeregisterInstancesFromLoadBalancerCommandError = async (output, context) => {
|
|
833
|
-
const parsedOutput = {
|
|
834
|
-
...output,
|
|
835
|
-
body: await parseErrorBody(output.body, context),
|
|
836
|
-
};
|
|
837
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
838
|
-
switch (errorCode) {
|
|
839
|
-
case "InvalidInstance":
|
|
840
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
841
|
-
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
842
|
-
case "LoadBalancerNotFound":
|
|
843
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
844
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
845
|
-
default:
|
|
846
|
-
const parsedBody = parsedOutput.body;
|
|
847
|
-
return throwDefaultError({
|
|
848
|
-
output,
|
|
849
|
-
parsedBody: parsedBody.Error,
|
|
850
|
-
errorCode,
|
|
851
|
-
});
|
|
852
|
-
}
|
|
853
|
-
};
|
|
854
|
-
const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
855
|
-
if (output.statusCode >= 300) {
|
|
856
|
-
return de_DescribeAccountLimitsCommandError(output, context);
|
|
857
|
-
}
|
|
858
|
-
const data = await parseBody(output.body, context);
|
|
859
|
-
let contents = {};
|
|
860
|
-
contents = de_DescribeAccountLimitsOutput(data.DescribeAccountLimitsResult, context);
|
|
861
|
-
const response = {
|
|
862
|
-
$metadata: deserializeMetadata(output),
|
|
863
|
-
...contents,
|
|
864
|
-
};
|
|
865
|
-
return response;
|
|
866
|
-
};
|
|
867
|
-
exports.de_DescribeAccountLimitsCommand = de_DescribeAccountLimitsCommand;
|
|
868
|
-
const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
869
|
-
const parsedOutput = {
|
|
870
|
-
...output,
|
|
871
|
-
body: await parseErrorBody(output.body, context),
|
|
872
|
-
};
|
|
873
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
874
|
-
const parsedBody = parsedOutput.body;
|
|
875
|
-
return throwDefaultError({
|
|
876
|
-
output,
|
|
877
|
-
parsedBody: parsedBody.Error,
|
|
878
|
-
errorCode,
|
|
879
|
-
});
|
|
880
|
-
};
|
|
881
|
-
const de_DescribeInstanceHealthCommand = async (output, context) => {
|
|
882
|
-
if (output.statusCode >= 300) {
|
|
883
|
-
return de_DescribeInstanceHealthCommandError(output, context);
|
|
884
|
-
}
|
|
885
|
-
const data = await parseBody(output.body, context);
|
|
886
|
-
let contents = {};
|
|
887
|
-
contents = de_DescribeEndPointStateOutput(data.DescribeInstanceHealthResult, context);
|
|
888
|
-
const response = {
|
|
889
|
-
$metadata: deserializeMetadata(output),
|
|
890
|
-
...contents,
|
|
891
|
-
};
|
|
892
|
-
return response;
|
|
893
|
-
};
|
|
894
|
-
exports.de_DescribeInstanceHealthCommand = de_DescribeInstanceHealthCommand;
|
|
895
|
-
const de_DescribeInstanceHealthCommandError = async (output, context) => {
|
|
896
|
-
const parsedOutput = {
|
|
897
|
-
...output,
|
|
898
|
-
body: await parseErrorBody(output.body, context),
|
|
899
|
-
};
|
|
900
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
901
|
-
switch (errorCode) {
|
|
902
|
-
case "InvalidInstance":
|
|
903
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
904
|
-
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
905
|
-
case "LoadBalancerNotFound":
|
|
906
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
907
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
908
|
-
default:
|
|
909
|
-
const parsedBody = parsedOutput.body;
|
|
910
|
-
return throwDefaultError({
|
|
911
|
-
output,
|
|
912
|
-
parsedBody: parsedBody.Error,
|
|
913
|
-
errorCode,
|
|
914
|
-
});
|
|
915
|
-
}
|
|
916
|
-
};
|
|
917
|
-
const de_DescribeLoadBalancerAttributesCommand = async (output, context) => {
|
|
918
|
-
if (output.statusCode >= 300) {
|
|
919
|
-
return de_DescribeLoadBalancerAttributesCommandError(output, context);
|
|
920
|
-
}
|
|
921
|
-
const data = await parseBody(output.body, context);
|
|
922
|
-
let contents = {};
|
|
923
|
-
contents = de_DescribeLoadBalancerAttributesOutput(data.DescribeLoadBalancerAttributesResult, context);
|
|
924
|
-
const response = {
|
|
925
|
-
$metadata: deserializeMetadata(output),
|
|
926
|
-
...contents,
|
|
927
|
-
};
|
|
928
|
-
return response;
|
|
929
|
-
};
|
|
930
|
-
exports.de_DescribeLoadBalancerAttributesCommand = de_DescribeLoadBalancerAttributesCommand;
|
|
931
|
-
const de_DescribeLoadBalancerAttributesCommandError = async (output, context) => {
|
|
932
|
-
const parsedOutput = {
|
|
933
|
-
...output,
|
|
934
|
-
body: await parseErrorBody(output.body, context),
|
|
935
|
-
};
|
|
936
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
937
|
-
switch (errorCode) {
|
|
938
|
-
case "LoadBalancerAttributeNotFound":
|
|
939
|
-
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
940
|
-
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
941
|
-
case "LoadBalancerNotFound":
|
|
942
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
943
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
944
|
-
default:
|
|
945
|
-
const parsedBody = parsedOutput.body;
|
|
946
|
-
return throwDefaultError({
|
|
947
|
-
output,
|
|
948
|
-
parsedBody: parsedBody.Error,
|
|
949
|
-
errorCode,
|
|
950
|
-
});
|
|
951
|
-
}
|
|
952
|
-
};
|
|
953
|
-
const de_DescribeLoadBalancerPoliciesCommand = async (output, context) => {
|
|
954
|
-
if (output.statusCode >= 300) {
|
|
955
|
-
return de_DescribeLoadBalancerPoliciesCommandError(output, context);
|
|
956
|
-
}
|
|
957
|
-
const data = await parseBody(output.body, context);
|
|
958
|
-
let contents = {};
|
|
959
|
-
contents = de_DescribeLoadBalancerPoliciesOutput(data.DescribeLoadBalancerPoliciesResult, context);
|
|
960
|
-
const response = {
|
|
961
|
-
$metadata: deserializeMetadata(output),
|
|
962
|
-
...contents,
|
|
963
|
-
};
|
|
964
|
-
return response;
|
|
965
|
-
};
|
|
966
|
-
exports.de_DescribeLoadBalancerPoliciesCommand = de_DescribeLoadBalancerPoliciesCommand;
|
|
967
|
-
const de_DescribeLoadBalancerPoliciesCommandError = async (output, context) => {
|
|
968
|
-
const parsedOutput = {
|
|
969
|
-
...output,
|
|
970
|
-
body: await parseErrorBody(output.body, context),
|
|
971
|
-
};
|
|
972
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
973
|
-
switch (errorCode) {
|
|
974
|
-
case "LoadBalancerNotFound":
|
|
975
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
976
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
977
|
-
case "PolicyNotFound":
|
|
978
|
-
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
979
|
-
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
980
|
-
default:
|
|
981
|
-
const parsedBody = parsedOutput.body;
|
|
982
|
-
return throwDefaultError({
|
|
983
|
-
output,
|
|
984
|
-
parsedBody: parsedBody.Error,
|
|
985
|
-
errorCode,
|
|
986
|
-
});
|
|
987
|
-
}
|
|
988
|
-
};
|
|
989
|
-
const de_DescribeLoadBalancerPolicyTypesCommand = async (output, context) => {
|
|
990
|
-
if (output.statusCode >= 300) {
|
|
991
|
-
return de_DescribeLoadBalancerPolicyTypesCommandError(output, context);
|
|
992
|
-
}
|
|
993
|
-
const data = await parseBody(output.body, context);
|
|
994
|
-
let contents = {};
|
|
995
|
-
contents = de_DescribeLoadBalancerPolicyTypesOutput(data.DescribeLoadBalancerPolicyTypesResult, context);
|
|
996
|
-
const response = {
|
|
997
|
-
$metadata: deserializeMetadata(output),
|
|
998
|
-
...contents,
|
|
999
|
-
};
|
|
1000
|
-
return response;
|
|
1001
|
-
};
|
|
1002
|
-
exports.de_DescribeLoadBalancerPolicyTypesCommand = de_DescribeLoadBalancerPolicyTypesCommand;
|
|
1003
|
-
const de_DescribeLoadBalancerPolicyTypesCommandError = async (output, context) => {
|
|
1004
|
-
const parsedOutput = {
|
|
1005
|
-
...output,
|
|
1006
|
-
body: await parseErrorBody(output.body, context),
|
|
1007
|
-
};
|
|
1008
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1009
|
-
switch (errorCode) {
|
|
1010
|
-
case "PolicyTypeNotFound":
|
|
1011
|
-
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
1012
|
-
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1013
|
-
default:
|
|
1014
|
-
const parsedBody = parsedOutput.body;
|
|
1015
|
-
return throwDefaultError({
|
|
1016
|
-
output,
|
|
1017
|
-
parsedBody: parsedBody.Error,
|
|
1018
|
-
errorCode,
|
|
1019
|
-
});
|
|
1020
|
-
}
|
|
1021
|
-
};
|
|
1022
|
-
const de_DescribeLoadBalancersCommand = async (output, context) => {
|
|
1023
|
-
if (output.statusCode >= 300) {
|
|
1024
|
-
return de_DescribeLoadBalancersCommandError(output, context);
|
|
1025
|
-
}
|
|
1026
|
-
const data = await parseBody(output.body, context);
|
|
1027
|
-
let contents = {};
|
|
1028
|
-
contents = de_DescribeAccessPointsOutput(data.DescribeLoadBalancersResult, context);
|
|
1029
|
-
const response = {
|
|
1030
|
-
$metadata: deserializeMetadata(output),
|
|
1031
|
-
...contents,
|
|
1032
|
-
};
|
|
1033
|
-
return response;
|
|
1034
|
-
};
|
|
1035
|
-
exports.de_DescribeLoadBalancersCommand = de_DescribeLoadBalancersCommand;
|
|
1036
|
-
const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
1037
|
-
const parsedOutput = {
|
|
1038
|
-
...output,
|
|
1039
|
-
body: await parseErrorBody(output.body, context),
|
|
1040
|
-
};
|
|
1041
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1042
|
-
switch (errorCode) {
|
|
1043
|
-
case "DependencyThrottle":
|
|
1044
|
-
case "com.amazonaws.elasticloadbalancing#DependencyThrottleException":
|
|
1045
|
-
throw await de_DependencyThrottleExceptionRes(parsedOutput, context);
|
|
1046
|
-
case "LoadBalancerNotFound":
|
|
1047
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1048
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1049
|
-
default:
|
|
1050
|
-
const parsedBody = parsedOutput.body;
|
|
1051
|
-
return throwDefaultError({
|
|
1052
|
-
output,
|
|
1053
|
-
parsedBody: parsedBody.Error,
|
|
1054
|
-
errorCode,
|
|
1055
|
-
});
|
|
1056
|
-
}
|
|
1057
|
-
};
|
|
1058
|
-
const de_DescribeTagsCommand = async (output, context) => {
|
|
1059
|
-
if (output.statusCode >= 300) {
|
|
1060
|
-
return de_DescribeTagsCommandError(output, context);
|
|
1061
|
-
}
|
|
1062
|
-
const data = await parseBody(output.body, context);
|
|
1063
|
-
let contents = {};
|
|
1064
|
-
contents = de_DescribeTagsOutput(data.DescribeTagsResult, context);
|
|
1065
|
-
const response = {
|
|
1066
|
-
$metadata: deserializeMetadata(output),
|
|
1067
|
-
...contents,
|
|
1068
|
-
};
|
|
1069
|
-
return response;
|
|
1070
|
-
};
|
|
1071
|
-
exports.de_DescribeTagsCommand = de_DescribeTagsCommand;
|
|
1072
|
-
const de_DescribeTagsCommandError = async (output, context) => {
|
|
1073
|
-
const parsedOutput = {
|
|
1074
|
-
...output,
|
|
1075
|
-
body: await parseErrorBody(output.body, context),
|
|
1076
|
-
};
|
|
1077
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1078
|
-
switch (errorCode) {
|
|
1079
|
-
case "LoadBalancerNotFound":
|
|
1080
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1081
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1082
|
-
default:
|
|
1083
|
-
const parsedBody = parsedOutput.body;
|
|
1084
|
-
return throwDefaultError({
|
|
1085
|
-
output,
|
|
1086
|
-
parsedBody: parsedBody.Error,
|
|
1087
|
-
errorCode,
|
|
1088
|
-
});
|
|
1089
|
-
}
|
|
1090
|
-
};
|
|
1091
|
-
const de_DetachLoadBalancerFromSubnetsCommand = async (output, context) => {
|
|
1092
|
-
if (output.statusCode >= 300) {
|
|
1093
|
-
return de_DetachLoadBalancerFromSubnetsCommandError(output, context);
|
|
1094
|
-
}
|
|
1095
|
-
const data = await parseBody(output.body, context);
|
|
1096
|
-
let contents = {};
|
|
1097
|
-
contents = de_DetachLoadBalancerFromSubnetsOutput(data.DetachLoadBalancerFromSubnetsResult, context);
|
|
1098
|
-
const response = {
|
|
1099
|
-
$metadata: deserializeMetadata(output),
|
|
1100
|
-
...contents,
|
|
1101
|
-
};
|
|
1102
|
-
return response;
|
|
1103
|
-
};
|
|
1104
|
-
exports.de_DetachLoadBalancerFromSubnetsCommand = de_DetachLoadBalancerFromSubnetsCommand;
|
|
1105
|
-
const de_DetachLoadBalancerFromSubnetsCommandError = async (output, context) => {
|
|
1106
|
-
const parsedOutput = {
|
|
1107
|
-
...output,
|
|
1108
|
-
body: await parseErrorBody(output.body, context),
|
|
1109
|
-
};
|
|
1110
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1111
|
-
switch (errorCode) {
|
|
1112
|
-
case "InvalidConfigurationRequest":
|
|
1113
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1114
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1115
|
-
case "LoadBalancerNotFound":
|
|
1116
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1117
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1118
|
-
default:
|
|
1119
|
-
const parsedBody = parsedOutput.body;
|
|
1120
|
-
return throwDefaultError({
|
|
1121
|
-
output,
|
|
1122
|
-
parsedBody: parsedBody.Error,
|
|
1123
|
-
errorCode,
|
|
1124
|
-
});
|
|
1125
|
-
}
|
|
1126
|
-
};
|
|
1127
|
-
const de_DisableAvailabilityZonesForLoadBalancerCommand = async (output, context) => {
|
|
1128
|
-
if (output.statusCode >= 300) {
|
|
1129
|
-
return de_DisableAvailabilityZonesForLoadBalancerCommandError(output, context);
|
|
1130
|
-
}
|
|
1131
|
-
const data = await parseBody(output.body, context);
|
|
1132
|
-
let contents = {};
|
|
1133
|
-
contents = de_RemoveAvailabilityZonesOutput(data.DisableAvailabilityZonesForLoadBalancerResult, context);
|
|
1134
|
-
const response = {
|
|
1135
|
-
$metadata: deserializeMetadata(output),
|
|
1136
|
-
...contents,
|
|
1137
|
-
};
|
|
1138
|
-
return response;
|
|
1139
|
-
};
|
|
1140
|
-
exports.de_DisableAvailabilityZonesForLoadBalancerCommand = de_DisableAvailabilityZonesForLoadBalancerCommand;
|
|
1141
|
-
const de_DisableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
1142
|
-
const parsedOutput = {
|
|
1143
|
-
...output,
|
|
1144
|
-
body: await parseErrorBody(output.body, context),
|
|
1145
|
-
};
|
|
1146
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1147
|
-
switch (errorCode) {
|
|
1148
|
-
case "InvalidConfigurationRequest":
|
|
1149
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1150
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1151
|
-
case "LoadBalancerNotFound":
|
|
1152
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1153
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1154
|
-
default:
|
|
1155
|
-
const parsedBody = parsedOutput.body;
|
|
1156
|
-
return throwDefaultError({
|
|
1157
|
-
output,
|
|
1158
|
-
parsedBody: parsedBody.Error,
|
|
1159
|
-
errorCode,
|
|
1160
|
-
});
|
|
1161
|
-
}
|
|
1162
|
-
};
|
|
1163
|
-
const de_EnableAvailabilityZonesForLoadBalancerCommand = async (output, context) => {
|
|
1164
|
-
if (output.statusCode >= 300) {
|
|
1165
|
-
return de_EnableAvailabilityZonesForLoadBalancerCommandError(output, context);
|
|
1166
|
-
}
|
|
1167
|
-
const data = await parseBody(output.body, context);
|
|
1168
|
-
let contents = {};
|
|
1169
|
-
contents = de_AddAvailabilityZonesOutput(data.EnableAvailabilityZonesForLoadBalancerResult, context);
|
|
1170
|
-
const response = {
|
|
1171
|
-
$metadata: deserializeMetadata(output),
|
|
1172
|
-
...contents,
|
|
1173
|
-
};
|
|
1174
|
-
return response;
|
|
1175
|
-
};
|
|
1176
|
-
exports.de_EnableAvailabilityZonesForLoadBalancerCommand = de_EnableAvailabilityZonesForLoadBalancerCommand;
|
|
1177
|
-
const de_EnableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
1178
|
-
const parsedOutput = {
|
|
1179
|
-
...output,
|
|
1180
|
-
body: await parseErrorBody(output.body, context),
|
|
1181
|
-
};
|
|
1182
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1183
|
-
switch (errorCode) {
|
|
1184
|
-
case "LoadBalancerNotFound":
|
|
1185
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1186
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1187
|
-
default:
|
|
1188
|
-
const parsedBody = parsedOutput.body;
|
|
1189
|
-
return throwDefaultError({
|
|
1190
|
-
output,
|
|
1191
|
-
parsedBody: parsedBody.Error,
|
|
1192
|
-
errorCode,
|
|
1193
|
-
});
|
|
1194
|
-
}
|
|
1195
|
-
};
|
|
1196
|
-
const de_ModifyLoadBalancerAttributesCommand = async (output, context) => {
|
|
1197
|
-
if (output.statusCode >= 300) {
|
|
1198
|
-
return de_ModifyLoadBalancerAttributesCommandError(output, context);
|
|
1199
|
-
}
|
|
1200
|
-
const data = await parseBody(output.body, context);
|
|
1201
|
-
let contents = {};
|
|
1202
|
-
contents = de_ModifyLoadBalancerAttributesOutput(data.ModifyLoadBalancerAttributesResult, context);
|
|
1203
|
-
const response = {
|
|
1204
|
-
$metadata: deserializeMetadata(output),
|
|
1205
|
-
...contents,
|
|
1206
|
-
};
|
|
1207
|
-
return response;
|
|
1208
|
-
};
|
|
1209
|
-
exports.de_ModifyLoadBalancerAttributesCommand = de_ModifyLoadBalancerAttributesCommand;
|
|
1210
|
-
const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
1211
|
-
const parsedOutput = {
|
|
1212
|
-
...output,
|
|
1213
|
-
body: await parseErrorBody(output.body, context),
|
|
1214
|
-
};
|
|
1215
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1216
|
-
switch (errorCode) {
|
|
1217
|
-
case "InvalidConfigurationRequest":
|
|
1218
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1219
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1220
|
-
case "LoadBalancerAttributeNotFound":
|
|
1221
|
-
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
1222
|
-
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
1223
|
-
case "LoadBalancerNotFound":
|
|
1224
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1225
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1226
|
-
default:
|
|
1227
|
-
const parsedBody = parsedOutput.body;
|
|
1228
|
-
return throwDefaultError({
|
|
1229
|
-
output,
|
|
1230
|
-
parsedBody: parsedBody.Error,
|
|
1231
|
-
errorCode,
|
|
1232
|
-
});
|
|
1233
|
-
}
|
|
1234
|
-
};
|
|
1235
|
-
const de_RegisterInstancesWithLoadBalancerCommand = async (output, context) => {
|
|
1236
|
-
if (output.statusCode >= 300) {
|
|
1237
|
-
return de_RegisterInstancesWithLoadBalancerCommandError(output, context);
|
|
1238
|
-
}
|
|
1239
|
-
const data = await parseBody(output.body, context);
|
|
1240
|
-
let contents = {};
|
|
1241
|
-
contents = de_RegisterEndPointsOutput(data.RegisterInstancesWithLoadBalancerResult, context);
|
|
1242
|
-
const response = {
|
|
1243
|
-
$metadata: deserializeMetadata(output),
|
|
1244
|
-
...contents,
|
|
1245
|
-
};
|
|
1246
|
-
return response;
|
|
1247
|
-
};
|
|
1248
|
-
exports.de_RegisterInstancesWithLoadBalancerCommand = de_RegisterInstancesWithLoadBalancerCommand;
|
|
1249
|
-
const de_RegisterInstancesWithLoadBalancerCommandError = async (output, context) => {
|
|
1250
|
-
const parsedOutput = {
|
|
1251
|
-
...output,
|
|
1252
|
-
body: await parseErrorBody(output.body, context),
|
|
1253
|
-
};
|
|
1254
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1255
|
-
switch (errorCode) {
|
|
1256
|
-
case "InvalidInstance":
|
|
1257
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
1258
|
-
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
1259
|
-
case "LoadBalancerNotFound":
|
|
1260
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1261
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1262
|
-
default:
|
|
1263
|
-
const parsedBody = parsedOutput.body;
|
|
1264
|
-
return throwDefaultError({
|
|
1265
|
-
output,
|
|
1266
|
-
parsedBody: parsedBody.Error,
|
|
1267
|
-
errorCode,
|
|
1268
|
-
});
|
|
1269
|
-
}
|
|
1270
|
-
};
|
|
1271
|
-
const de_RemoveTagsCommand = async (output, context) => {
|
|
1272
|
-
if (output.statusCode >= 300) {
|
|
1273
|
-
return de_RemoveTagsCommandError(output, context);
|
|
1274
|
-
}
|
|
1275
|
-
const data = await parseBody(output.body, context);
|
|
1276
|
-
let contents = {};
|
|
1277
|
-
contents = de_RemoveTagsOutput(data.RemoveTagsResult, context);
|
|
1278
|
-
const response = {
|
|
1279
|
-
$metadata: deserializeMetadata(output),
|
|
1280
|
-
...contents,
|
|
1281
|
-
};
|
|
1282
|
-
return response;
|
|
1283
|
-
};
|
|
1284
|
-
exports.de_RemoveTagsCommand = de_RemoveTagsCommand;
|
|
1285
|
-
const de_RemoveTagsCommandError = async (output, context) => {
|
|
1286
|
-
const parsedOutput = {
|
|
1287
|
-
...output,
|
|
1288
|
-
body: await parseErrorBody(output.body, context),
|
|
1289
|
-
};
|
|
1290
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1291
|
-
switch (errorCode) {
|
|
1292
|
-
case "LoadBalancerNotFound":
|
|
1293
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1294
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1295
|
-
default:
|
|
1296
|
-
const parsedBody = parsedOutput.body;
|
|
1297
|
-
return throwDefaultError({
|
|
1298
|
-
output,
|
|
1299
|
-
parsedBody: parsedBody.Error,
|
|
1300
|
-
errorCode,
|
|
1301
|
-
});
|
|
1302
|
-
}
|
|
1303
|
-
};
|
|
1304
|
-
const de_SetLoadBalancerListenerSSLCertificateCommand = async (output, context) => {
|
|
1305
|
-
if (output.statusCode >= 300) {
|
|
1306
|
-
return de_SetLoadBalancerListenerSSLCertificateCommandError(output, context);
|
|
1307
|
-
}
|
|
1308
|
-
const data = await parseBody(output.body, context);
|
|
1309
|
-
let contents = {};
|
|
1310
|
-
contents = de_SetLoadBalancerListenerSSLCertificateOutput(data.SetLoadBalancerListenerSSLCertificateResult, context);
|
|
1311
|
-
const response = {
|
|
1312
|
-
$metadata: deserializeMetadata(output),
|
|
1313
|
-
...contents,
|
|
1314
|
-
};
|
|
1315
|
-
return response;
|
|
1316
|
-
};
|
|
1317
|
-
exports.de_SetLoadBalancerListenerSSLCertificateCommand = de_SetLoadBalancerListenerSSLCertificateCommand;
|
|
1318
|
-
const de_SetLoadBalancerListenerSSLCertificateCommandError = async (output, context) => {
|
|
1319
|
-
const parsedOutput = {
|
|
1320
|
-
...output,
|
|
1321
|
-
body: await parseErrorBody(output.body, context),
|
|
1322
|
-
};
|
|
1323
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1324
|
-
switch (errorCode) {
|
|
1325
|
-
case "CertificateNotFound":
|
|
1326
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
1327
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1328
|
-
case "InvalidConfigurationRequest":
|
|
1329
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1330
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1331
|
-
case "ListenerNotFound":
|
|
1332
|
-
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1333
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1334
|
-
case "LoadBalancerNotFound":
|
|
1335
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1336
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1337
|
-
case "UnsupportedProtocol":
|
|
1338
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
1339
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1340
|
-
default:
|
|
1341
|
-
const parsedBody = parsedOutput.body;
|
|
1342
|
-
return throwDefaultError({
|
|
1343
|
-
output,
|
|
1344
|
-
parsedBody: parsedBody.Error,
|
|
1345
|
-
errorCode,
|
|
1346
|
-
});
|
|
1347
|
-
}
|
|
1348
|
-
};
|
|
1349
|
-
const de_SetLoadBalancerPoliciesForBackendServerCommand = async (output, context) => {
|
|
1350
|
-
if (output.statusCode >= 300) {
|
|
1351
|
-
return de_SetLoadBalancerPoliciesForBackendServerCommandError(output, context);
|
|
1352
|
-
}
|
|
1353
|
-
const data = await parseBody(output.body, context);
|
|
1354
|
-
let contents = {};
|
|
1355
|
-
contents = de_SetLoadBalancerPoliciesForBackendServerOutput(data.SetLoadBalancerPoliciesForBackendServerResult, context);
|
|
1356
|
-
const response = {
|
|
1357
|
-
$metadata: deserializeMetadata(output),
|
|
1358
|
-
...contents,
|
|
1359
|
-
};
|
|
1360
|
-
return response;
|
|
1361
|
-
};
|
|
1362
|
-
exports.de_SetLoadBalancerPoliciesForBackendServerCommand = de_SetLoadBalancerPoliciesForBackendServerCommand;
|
|
1363
|
-
const de_SetLoadBalancerPoliciesForBackendServerCommandError = async (output, context) => {
|
|
1364
|
-
const parsedOutput = {
|
|
1365
|
-
...output,
|
|
1366
|
-
body: await parseErrorBody(output.body, context),
|
|
1367
|
-
};
|
|
1368
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1369
|
-
switch (errorCode) {
|
|
1370
|
-
case "InvalidConfigurationRequest":
|
|
1371
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1372
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1373
|
-
case "LoadBalancerNotFound":
|
|
1374
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1375
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1376
|
-
case "PolicyNotFound":
|
|
1377
|
-
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1378
|
-
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1379
|
-
default:
|
|
1380
|
-
const parsedBody = parsedOutput.body;
|
|
1381
|
-
return throwDefaultError({
|
|
1382
|
-
output,
|
|
1383
|
-
parsedBody: parsedBody.Error,
|
|
1384
|
-
errorCode,
|
|
1385
|
-
});
|
|
1386
|
-
}
|
|
1387
|
-
};
|
|
1388
|
-
const de_SetLoadBalancerPoliciesOfListenerCommand = async (output, context) => {
|
|
1389
|
-
if (output.statusCode >= 300) {
|
|
1390
|
-
return de_SetLoadBalancerPoliciesOfListenerCommandError(output, context);
|
|
1391
|
-
}
|
|
1392
|
-
const data = await parseBody(output.body, context);
|
|
1393
|
-
let contents = {};
|
|
1394
|
-
contents = de_SetLoadBalancerPoliciesOfListenerOutput(data.SetLoadBalancerPoliciesOfListenerResult, context);
|
|
1395
|
-
const response = {
|
|
1396
|
-
$metadata: deserializeMetadata(output),
|
|
1397
|
-
...contents,
|
|
1398
|
-
};
|
|
1399
|
-
return response;
|
|
1400
|
-
};
|
|
1401
|
-
exports.de_SetLoadBalancerPoliciesOfListenerCommand = de_SetLoadBalancerPoliciesOfListenerCommand;
|
|
1402
|
-
const de_SetLoadBalancerPoliciesOfListenerCommandError = async (output, context) => {
|
|
1403
|
-
const parsedOutput = {
|
|
1404
|
-
...output,
|
|
1405
|
-
body: await parseErrorBody(output.body, context),
|
|
1406
|
-
};
|
|
1407
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1408
|
-
switch (errorCode) {
|
|
1409
|
-
case "InvalidConfigurationRequest":
|
|
1410
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1411
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1412
|
-
case "ListenerNotFound":
|
|
1413
|
-
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1414
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1415
|
-
case "LoadBalancerNotFound":
|
|
1416
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1417
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1418
|
-
case "PolicyNotFound":
|
|
1419
|
-
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1420
|
-
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1421
|
-
default:
|
|
1422
|
-
const parsedBody = parsedOutput.body;
|
|
1423
|
-
return throwDefaultError({
|
|
1424
|
-
output,
|
|
1425
|
-
parsedBody: parsedBody.Error,
|
|
1426
|
-
errorCode,
|
|
1427
|
-
});
|
|
1428
|
-
}
|
|
1429
|
-
};
|
|
1430
|
-
const de_AccessPointNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1431
|
-
const body = parsedOutput.body;
|
|
1432
|
-
const deserialized = de_AccessPointNotFoundException(body.Error, context);
|
|
1433
|
-
const exception = new models_0_1.AccessPointNotFoundException({
|
|
1434
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1435
|
-
...deserialized,
|
|
1436
|
-
});
|
|
1437
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1438
|
-
};
|
|
1439
|
-
const de_CertificateNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1440
|
-
const body = parsedOutput.body;
|
|
1441
|
-
const deserialized = de_CertificateNotFoundException(body.Error, context);
|
|
1442
|
-
const exception = new models_0_1.CertificateNotFoundException({
|
|
1443
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1444
|
-
...deserialized,
|
|
1445
|
-
});
|
|
1446
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1447
|
-
};
|
|
1448
|
-
const de_DependencyThrottleExceptionRes = async (parsedOutput, context) => {
|
|
1449
|
-
const body = parsedOutput.body;
|
|
1450
|
-
const deserialized = de_DependencyThrottleException(body.Error, context);
|
|
1451
|
-
const exception = new models_0_1.DependencyThrottleException({
|
|
1452
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1453
|
-
...deserialized,
|
|
1454
|
-
});
|
|
1455
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1456
|
-
};
|
|
1457
|
-
const de_DuplicateAccessPointNameExceptionRes = async (parsedOutput, context) => {
|
|
1458
|
-
const body = parsedOutput.body;
|
|
1459
|
-
const deserialized = de_DuplicateAccessPointNameException(body.Error, context);
|
|
1460
|
-
const exception = new models_0_1.DuplicateAccessPointNameException({
|
|
1461
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1462
|
-
...deserialized,
|
|
1463
|
-
});
|
|
1464
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1465
|
-
};
|
|
1466
|
-
const de_DuplicateListenerExceptionRes = async (parsedOutput, context) => {
|
|
1467
|
-
const body = parsedOutput.body;
|
|
1468
|
-
const deserialized = de_DuplicateListenerException(body.Error, context);
|
|
1469
|
-
const exception = new models_0_1.DuplicateListenerException({
|
|
1470
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1471
|
-
...deserialized,
|
|
1472
|
-
});
|
|
1473
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1474
|
-
};
|
|
1475
|
-
const de_DuplicatePolicyNameExceptionRes = async (parsedOutput, context) => {
|
|
1476
|
-
const body = parsedOutput.body;
|
|
1477
|
-
const deserialized = de_DuplicatePolicyNameException(body.Error, context);
|
|
1478
|
-
const exception = new models_0_1.DuplicatePolicyNameException({
|
|
1479
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1480
|
-
...deserialized,
|
|
1481
|
-
});
|
|
1482
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1483
|
-
};
|
|
1484
|
-
const de_DuplicateTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
1485
|
-
const body = parsedOutput.body;
|
|
1486
|
-
const deserialized = de_DuplicateTagKeysException(body.Error, context);
|
|
1487
|
-
const exception = new models_0_1.DuplicateTagKeysException({
|
|
1488
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1489
|
-
...deserialized,
|
|
1490
|
-
});
|
|
1491
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1492
|
-
};
|
|
1493
|
-
const de_InvalidConfigurationRequestExceptionRes = async (parsedOutput, context) => {
|
|
1494
|
-
const body = parsedOutput.body;
|
|
1495
|
-
const deserialized = de_InvalidConfigurationRequestException(body.Error, context);
|
|
1496
|
-
const exception = new models_0_1.InvalidConfigurationRequestException({
|
|
1497
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1498
|
-
...deserialized,
|
|
1499
|
-
});
|
|
1500
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1501
|
-
};
|
|
1502
|
-
const de_InvalidEndPointExceptionRes = async (parsedOutput, context) => {
|
|
1503
|
-
const body = parsedOutput.body;
|
|
1504
|
-
const deserialized = de_InvalidEndPointException(body.Error, context);
|
|
1505
|
-
const exception = new models_0_1.InvalidEndPointException({
|
|
1506
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1507
|
-
...deserialized,
|
|
1508
|
-
});
|
|
1509
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1510
|
-
};
|
|
1511
|
-
const de_InvalidSchemeExceptionRes = async (parsedOutput, context) => {
|
|
1512
|
-
const body = parsedOutput.body;
|
|
1513
|
-
const deserialized = de_InvalidSchemeException(body.Error, context);
|
|
1514
|
-
const exception = new models_0_1.InvalidSchemeException({
|
|
1515
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1516
|
-
...deserialized,
|
|
1517
|
-
});
|
|
1518
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1519
|
-
};
|
|
1520
|
-
const de_InvalidSecurityGroupExceptionRes = async (parsedOutput, context) => {
|
|
1521
|
-
const body = parsedOutput.body;
|
|
1522
|
-
const deserialized = de_InvalidSecurityGroupException(body.Error, context);
|
|
1523
|
-
const exception = new models_0_1.InvalidSecurityGroupException({
|
|
1524
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1525
|
-
...deserialized,
|
|
1526
|
-
});
|
|
1527
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1528
|
-
};
|
|
1529
|
-
const de_InvalidSubnetExceptionRes = async (parsedOutput, context) => {
|
|
1530
|
-
const body = parsedOutput.body;
|
|
1531
|
-
const deserialized = de_InvalidSubnetException(body.Error, context);
|
|
1532
|
-
const exception = new models_0_1.InvalidSubnetException({
|
|
1533
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1534
|
-
...deserialized,
|
|
1535
|
-
});
|
|
1536
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1537
|
-
};
|
|
1538
|
-
const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1539
|
-
const body = parsedOutput.body;
|
|
1540
|
-
const deserialized = de_ListenerNotFoundException(body.Error, context);
|
|
1541
|
-
const exception = new models_0_1.ListenerNotFoundException({
|
|
1542
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1543
|
-
...deserialized,
|
|
1544
|
-
});
|
|
1545
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1546
|
-
};
|
|
1547
|
-
const de_LoadBalancerAttributeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1548
|
-
const body = parsedOutput.body;
|
|
1549
|
-
const deserialized = de_LoadBalancerAttributeNotFoundException(body.Error, context);
|
|
1550
|
-
const exception = new models_0_1.LoadBalancerAttributeNotFoundException({
|
|
1551
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1552
|
-
...deserialized,
|
|
1553
|
-
});
|
|
1554
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1555
|
-
};
|
|
1556
|
-
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
1557
|
-
const body = parsedOutput.body;
|
|
1558
|
-
const deserialized = de_OperationNotPermittedException(body.Error, context);
|
|
1559
|
-
const exception = new models_0_1.OperationNotPermittedException({
|
|
1560
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1561
|
-
...deserialized,
|
|
1562
|
-
});
|
|
1563
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1564
|
-
};
|
|
1565
|
-
const de_PolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1566
|
-
const body = parsedOutput.body;
|
|
1567
|
-
const deserialized = de_PolicyNotFoundException(body.Error, context);
|
|
1568
|
-
const exception = new models_0_1.PolicyNotFoundException({
|
|
1569
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1570
|
-
...deserialized,
|
|
1571
|
-
});
|
|
1572
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1573
|
-
};
|
|
1574
|
-
const de_PolicyTypeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1575
|
-
const body = parsedOutput.body;
|
|
1576
|
-
const deserialized = de_PolicyTypeNotFoundException(body.Error, context);
|
|
1577
|
-
const exception = new models_0_1.PolicyTypeNotFoundException({
|
|
1578
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1579
|
-
...deserialized,
|
|
1580
|
-
});
|
|
1581
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1582
|
-
};
|
|
1583
|
-
const de_SubnetNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1584
|
-
const body = parsedOutput.body;
|
|
1585
|
-
const deserialized = de_SubnetNotFoundException(body.Error, context);
|
|
1586
|
-
const exception = new models_0_1.SubnetNotFoundException({
|
|
1587
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1588
|
-
...deserialized,
|
|
1589
|
-
});
|
|
1590
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1591
|
-
};
|
|
1592
|
-
const de_TooManyAccessPointsExceptionRes = async (parsedOutput, context) => {
|
|
1593
|
-
const body = parsedOutput.body;
|
|
1594
|
-
const deserialized = de_TooManyAccessPointsException(body.Error, context);
|
|
1595
|
-
const exception = new models_0_1.TooManyAccessPointsException({
|
|
1596
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1597
|
-
...deserialized,
|
|
1598
|
-
});
|
|
1599
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1600
|
-
};
|
|
1601
|
-
const de_TooManyPoliciesExceptionRes = async (parsedOutput, context) => {
|
|
1602
|
-
const body = parsedOutput.body;
|
|
1603
|
-
const deserialized = de_TooManyPoliciesException(body.Error, context);
|
|
1604
|
-
const exception = new models_0_1.TooManyPoliciesException({
|
|
1605
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1606
|
-
...deserialized,
|
|
1607
|
-
});
|
|
1608
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1609
|
-
};
|
|
1610
|
-
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1611
|
-
const body = parsedOutput.body;
|
|
1612
|
-
const deserialized = de_TooManyTagsException(body.Error, context);
|
|
1613
|
-
const exception = new models_0_1.TooManyTagsException({
|
|
1614
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1615
|
-
...deserialized,
|
|
1616
|
-
});
|
|
1617
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1618
|
-
};
|
|
1619
|
-
const de_UnsupportedProtocolExceptionRes = async (parsedOutput, context) => {
|
|
1620
|
-
const body = parsedOutput.body;
|
|
1621
|
-
const deserialized = de_UnsupportedProtocolException(body.Error, context);
|
|
1622
|
-
const exception = new models_0_1.UnsupportedProtocolException({
|
|
1623
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1624
|
-
...deserialized,
|
|
1625
|
-
});
|
|
1626
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1627
|
-
};
|
|
1628
|
-
const se_AccessLog = (input, context) => {
|
|
1629
|
-
const entries = {};
|
|
1630
|
-
if (input[_E] != null) {
|
|
1631
|
-
entries[_E] = input[_E];
|
|
1632
|
-
}
|
|
1633
|
-
if (input[_SBN] != null) {
|
|
1634
|
-
entries[_SBN] = input[_SBN];
|
|
1635
|
-
}
|
|
1636
|
-
if (input[_EI] != null) {
|
|
1637
|
-
entries[_EI] = input[_EI];
|
|
1638
|
-
}
|
|
1639
|
-
if (input[_SBP] != null) {
|
|
1640
|
-
entries[_SBP] = input[_SBP];
|
|
1641
|
-
}
|
|
1642
|
-
return entries;
|
|
1643
|
-
};
|
|
1644
|
-
const se_AddAvailabilityZonesInput = (input, context) => {
|
|
1645
|
-
const entries = {};
|
|
1646
|
-
if (input[_LBN] != null) {
|
|
1647
|
-
entries[_LBN] = input[_LBN];
|
|
1648
|
-
}
|
|
1649
|
-
if (input[_AZ] != null) {
|
|
1650
|
-
const memberEntries = se_AvailabilityZones(input[_AZ], context);
|
|
1651
|
-
if (input[_AZ]?.length === 0) {
|
|
1652
|
-
entries.AvailabilityZones = [];
|
|
1653
|
-
}
|
|
1654
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1655
|
-
const loc = `AvailabilityZones.${key}`;
|
|
1656
|
-
entries[loc] = value;
|
|
1657
|
-
});
|
|
1658
|
-
}
|
|
1659
|
-
return entries;
|
|
1660
|
-
};
|
|
1661
|
-
const se_AdditionalAttribute = (input, context) => {
|
|
1662
|
-
const entries = {};
|
|
1663
|
-
if (input[_K] != null) {
|
|
1664
|
-
entries[_K] = input[_K];
|
|
1665
|
-
}
|
|
1666
|
-
if (input[_Va] != null) {
|
|
1667
|
-
entries[_Va] = input[_Va];
|
|
1668
|
-
}
|
|
1669
|
-
return entries;
|
|
1670
|
-
};
|
|
1671
|
-
const se_AdditionalAttributes = (input, context) => {
|
|
1672
|
-
const entries = {};
|
|
1673
|
-
let counter = 1;
|
|
1674
|
-
for (const entry of input) {
|
|
1675
|
-
if (entry === null) {
|
|
1676
|
-
continue;
|
|
1677
|
-
}
|
|
1678
|
-
const memberEntries = se_AdditionalAttribute(entry, context);
|
|
1679
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1680
|
-
entries[`member.${counter}.${key}`] = value;
|
|
1681
|
-
});
|
|
1682
|
-
counter++;
|
|
1683
|
-
}
|
|
1684
|
-
return entries;
|
|
1685
|
-
};
|
|
1686
|
-
const se_AddTagsInput = (input, context) => {
|
|
1687
|
-
const entries = {};
|
|
1688
|
-
if (input[_LBNo] != null) {
|
|
1689
|
-
const memberEntries = se_LoadBalancerNames(input[_LBNo], context);
|
|
1690
|
-
if (input[_LBNo]?.length === 0) {
|
|
1691
|
-
entries.LoadBalancerNames = [];
|
|
1692
|
-
}
|
|
1693
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1694
|
-
const loc = `LoadBalancerNames.${key}`;
|
|
1695
|
-
entries[loc] = value;
|
|
1696
|
-
});
|
|
1697
|
-
}
|
|
1698
|
-
if (input[_T] != null) {
|
|
1699
|
-
const memberEntries = se_TagList(input[_T], context);
|
|
1700
|
-
if (input[_T]?.length === 0) {
|
|
1701
|
-
entries.Tags = [];
|
|
1702
|
-
}
|
|
1703
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1704
|
-
const loc = `Tags.${key}`;
|
|
1705
|
-
entries[loc] = value;
|
|
1706
|
-
});
|
|
1707
|
-
}
|
|
1708
|
-
return entries;
|
|
1709
|
-
};
|
|
1710
|
-
const se_ApplySecurityGroupsToLoadBalancerInput = (input, context) => {
|
|
1711
|
-
const entries = {};
|
|
1712
|
-
if (input[_LBN] != null) {
|
|
1713
|
-
entries[_LBN] = input[_LBN];
|
|
1714
|
-
}
|
|
1715
|
-
if (input[_SG] != null) {
|
|
1716
|
-
const memberEntries = se_SecurityGroups(input[_SG], context);
|
|
1717
|
-
if (input[_SG]?.length === 0) {
|
|
1718
|
-
entries.SecurityGroups = [];
|
|
1719
|
-
}
|
|
1720
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1721
|
-
const loc = `SecurityGroups.${key}`;
|
|
1722
|
-
entries[loc] = value;
|
|
1723
|
-
});
|
|
1724
|
-
}
|
|
1725
|
-
return entries;
|
|
1726
|
-
};
|
|
1727
|
-
const se_AttachLoadBalancerToSubnetsInput = (input, context) => {
|
|
1728
|
-
const entries = {};
|
|
1729
|
-
if (input[_LBN] != null) {
|
|
1730
|
-
entries[_LBN] = input[_LBN];
|
|
1731
|
-
}
|
|
1732
|
-
if (input[_S] != null) {
|
|
1733
|
-
const memberEntries = se_Subnets(input[_S], context);
|
|
1734
|
-
if (input[_S]?.length === 0) {
|
|
1735
|
-
entries.Subnets = [];
|
|
1736
|
-
}
|
|
1737
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1738
|
-
const loc = `Subnets.${key}`;
|
|
1739
|
-
entries[loc] = value;
|
|
1740
|
-
});
|
|
1741
|
-
}
|
|
1742
|
-
return entries;
|
|
1743
|
-
};
|
|
1744
|
-
const se_AvailabilityZones = (input, context) => {
|
|
1745
|
-
const entries = {};
|
|
1746
|
-
let counter = 1;
|
|
1747
|
-
for (const entry of input) {
|
|
1748
|
-
if (entry === null) {
|
|
1749
|
-
continue;
|
|
1750
|
-
}
|
|
1751
|
-
entries[`member.${counter}`] = entry;
|
|
1752
|
-
counter++;
|
|
1753
|
-
}
|
|
1754
|
-
return entries;
|
|
1755
|
-
};
|
|
1756
|
-
const se_ConfigureHealthCheckInput = (input, context) => {
|
|
1757
|
-
const entries = {};
|
|
1758
|
-
if (input[_LBN] != null) {
|
|
1759
|
-
entries[_LBN] = input[_LBN];
|
|
1760
|
-
}
|
|
1761
|
-
if (input[_HC] != null) {
|
|
1762
|
-
const memberEntries = se_HealthCheck(input[_HC], context);
|
|
1763
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1764
|
-
const loc = `HealthCheck.${key}`;
|
|
1765
|
-
entries[loc] = value;
|
|
1766
|
-
});
|
|
1767
|
-
}
|
|
1768
|
-
return entries;
|
|
1769
|
-
};
|
|
1770
|
-
const se_ConnectionDraining = (input, context) => {
|
|
1771
|
-
const entries = {};
|
|
1772
|
-
if (input[_E] != null) {
|
|
1773
|
-
entries[_E] = input[_E];
|
|
1774
|
-
}
|
|
1775
|
-
if (input[_Ti] != null) {
|
|
1776
|
-
entries[_Ti] = input[_Ti];
|
|
1777
|
-
}
|
|
1778
|
-
return entries;
|
|
1779
|
-
};
|
|
1780
|
-
const se_ConnectionSettings = (input, context) => {
|
|
1781
|
-
const entries = {};
|
|
1782
|
-
if (input[_IT] != null) {
|
|
1783
|
-
entries[_IT] = input[_IT];
|
|
1784
|
-
}
|
|
1785
|
-
return entries;
|
|
1786
|
-
};
|
|
1787
|
-
const se_CreateAccessPointInput = (input, context) => {
|
|
1788
|
-
const entries = {};
|
|
1789
|
-
if (input[_LBN] != null) {
|
|
1790
|
-
entries[_LBN] = input[_LBN];
|
|
1791
|
-
}
|
|
1792
|
-
if (input[_L] != null) {
|
|
1793
|
-
const memberEntries = se_Listeners(input[_L], context);
|
|
1794
|
-
if (input[_L]?.length === 0) {
|
|
1795
|
-
entries.Listeners = [];
|
|
1796
|
-
}
|
|
1797
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1798
|
-
const loc = `Listeners.${key}`;
|
|
1799
|
-
entries[loc] = value;
|
|
1800
|
-
});
|
|
1801
|
-
}
|
|
1802
|
-
if (input[_AZ] != null) {
|
|
1803
|
-
const memberEntries = se_AvailabilityZones(input[_AZ], context);
|
|
1804
|
-
if (input[_AZ]?.length === 0) {
|
|
1805
|
-
entries.AvailabilityZones = [];
|
|
1806
|
-
}
|
|
1807
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1808
|
-
const loc = `AvailabilityZones.${key}`;
|
|
1809
|
-
entries[loc] = value;
|
|
1810
|
-
});
|
|
1811
|
-
}
|
|
1812
|
-
if (input[_S] != null) {
|
|
1813
|
-
const memberEntries = se_Subnets(input[_S], context);
|
|
1814
|
-
if (input[_S]?.length === 0) {
|
|
1815
|
-
entries.Subnets = [];
|
|
1816
|
-
}
|
|
1817
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1818
|
-
const loc = `Subnets.${key}`;
|
|
1819
|
-
entries[loc] = value;
|
|
1820
|
-
});
|
|
1821
|
-
}
|
|
1822
|
-
if (input[_SG] != null) {
|
|
1823
|
-
const memberEntries = se_SecurityGroups(input[_SG], context);
|
|
1824
|
-
if (input[_SG]?.length === 0) {
|
|
1825
|
-
entries.SecurityGroups = [];
|
|
1826
|
-
}
|
|
1827
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1828
|
-
const loc = `SecurityGroups.${key}`;
|
|
1829
|
-
entries[loc] = value;
|
|
1830
|
-
});
|
|
1831
|
-
}
|
|
1832
|
-
if (input[_Sc] != null) {
|
|
1833
|
-
entries[_Sc] = input[_Sc];
|
|
1834
|
-
}
|
|
1835
|
-
if (input[_T] != null) {
|
|
1836
|
-
const memberEntries = se_TagList(input[_T], context);
|
|
1837
|
-
if (input[_T]?.length === 0) {
|
|
1838
|
-
entries.Tags = [];
|
|
1839
|
-
}
|
|
1840
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1841
|
-
const loc = `Tags.${key}`;
|
|
1842
|
-
entries[loc] = value;
|
|
1843
|
-
});
|
|
1844
|
-
}
|
|
1845
|
-
return entries;
|
|
1846
|
-
};
|
|
1847
|
-
const se_CreateAppCookieStickinessPolicyInput = (input, context) => {
|
|
1848
|
-
const entries = {};
|
|
1849
|
-
if (input[_LBN] != null) {
|
|
1850
|
-
entries[_LBN] = input[_LBN];
|
|
1851
|
-
}
|
|
1852
|
-
if (input[_PN] != null) {
|
|
1853
|
-
entries[_PN] = input[_PN];
|
|
1854
|
-
}
|
|
1855
|
-
if (input[_CN] != null) {
|
|
1856
|
-
entries[_CN] = input[_CN];
|
|
1857
|
-
}
|
|
1858
|
-
return entries;
|
|
1859
|
-
};
|
|
1860
|
-
const se_CreateLBCookieStickinessPolicyInput = (input, context) => {
|
|
1861
|
-
const entries = {};
|
|
1862
|
-
if (input[_LBN] != null) {
|
|
1863
|
-
entries[_LBN] = input[_LBN];
|
|
1864
|
-
}
|
|
1865
|
-
if (input[_PN] != null) {
|
|
1866
|
-
entries[_PN] = input[_PN];
|
|
1867
|
-
}
|
|
1868
|
-
if (input[_CEP] != null) {
|
|
1869
|
-
entries[_CEP] = input[_CEP];
|
|
1870
|
-
}
|
|
1871
|
-
return entries;
|
|
1872
|
-
};
|
|
1873
|
-
const se_CreateLoadBalancerListenerInput = (input, context) => {
|
|
1874
|
-
const entries = {};
|
|
1875
|
-
if (input[_LBN] != null) {
|
|
1876
|
-
entries[_LBN] = input[_LBN];
|
|
1877
|
-
}
|
|
1878
|
-
if (input[_L] != null) {
|
|
1879
|
-
const memberEntries = se_Listeners(input[_L], context);
|
|
1880
|
-
if (input[_L]?.length === 0) {
|
|
1881
|
-
entries.Listeners = [];
|
|
1882
|
-
}
|
|
1883
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1884
|
-
const loc = `Listeners.${key}`;
|
|
1885
|
-
entries[loc] = value;
|
|
1886
|
-
});
|
|
1887
|
-
}
|
|
1888
|
-
return entries;
|
|
1889
|
-
};
|
|
1890
|
-
const se_CreateLoadBalancerPolicyInput = (input, context) => {
|
|
1891
|
-
const entries = {};
|
|
1892
|
-
if (input[_LBN] != null) {
|
|
1893
|
-
entries[_LBN] = input[_LBN];
|
|
1894
|
-
}
|
|
1895
|
-
if (input[_PN] != null) {
|
|
1896
|
-
entries[_PN] = input[_PN];
|
|
1897
|
-
}
|
|
1898
|
-
if (input[_PTN] != null) {
|
|
1899
|
-
entries[_PTN] = input[_PTN];
|
|
1900
|
-
}
|
|
1901
|
-
if (input[_PA] != null) {
|
|
1902
|
-
const memberEntries = se_PolicyAttributes(input[_PA], context);
|
|
1903
|
-
if (input[_PA]?.length === 0) {
|
|
1904
|
-
entries.PolicyAttributes = [];
|
|
1905
|
-
}
|
|
1906
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1907
|
-
const loc = `PolicyAttributes.${key}`;
|
|
1908
|
-
entries[loc] = value;
|
|
1909
|
-
});
|
|
1910
|
-
}
|
|
1911
|
-
return entries;
|
|
1912
|
-
};
|
|
1913
|
-
const se_CrossZoneLoadBalancing = (input, context) => {
|
|
1914
|
-
const entries = {};
|
|
1915
|
-
if (input[_E] != null) {
|
|
1916
|
-
entries[_E] = input[_E];
|
|
1917
|
-
}
|
|
1918
|
-
return entries;
|
|
1919
|
-
};
|
|
1920
|
-
const se_DeleteAccessPointInput = (input, context) => {
|
|
1921
|
-
const entries = {};
|
|
1922
|
-
if (input[_LBN] != null) {
|
|
1923
|
-
entries[_LBN] = input[_LBN];
|
|
1924
|
-
}
|
|
1925
|
-
return entries;
|
|
1926
|
-
};
|
|
1927
|
-
const se_DeleteLoadBalancerListenerInput = (input, context) => {
|
|
1928
|
-
const entries = {};
|
|
1929
|
-
if (input[_LBN] != null) {
|
|
1930
|
-
entries[_LBN] = input[_LBN];
|
|
1931
|
-
}
|
|
1932
|
-
if (input[_LBP] != null) {
|
|
1933
|
-
const memberEntries = se_Ports(input[_LBP], context);
|
|
1934
|
-
if (input[_LBP]?.length === 0) {
|
|
1935
|
-
entries.LoadBalancerPorts = [];
|
|
1936
|
-
}
|
|
1937
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1938
|
-
const loc = `LoadBalancerPorts.${key}`;
|
|
1939
|
-
entries[loc] = value;
|
|
1940
|
-
});
|
|
1941
|
-
}
|
|
1942
|
-
return entries;
|
|
1943
|
-
};
|
|
1944
|
-
const se_DeleteLoadBalancerPolicyInput = (input, context) => {
|
|
1945
|
-
const entries = {};
|
|
1946
|
-
if (input[_LBN] != null) {
|
|
1947
|
-
entries[_LBN] = input[_LBN];
|
|
1948
|
-
}
|
|
1949
|
-
if (input[_PN] != null) {
|
|
1950
|
-
entries[_PN] = input[_PN];
|
|
1951
|
-
}
|
|
1952
|
-
return entries;
|
|
1953
|
-
};
|
|
1954
|
-
const se_DeregisterEndPointsInput = (input, context) => {
|
|
1955
|
-
const entries = {};
|
|
1956
|
-
if (input[_LBN] != null) {
|
|
1957
|
-
entries[_LBN] = input[_LBN];
|
|
1958
|
-
}
|
|
1959
|
-
if (input[_I] != null) {
|
|
1960
|
-
const memberEntries = se_Instances(input[_I], context);
|
|
1961
|
-
if (input[_I]?.length === 0) {
|
|
1962
|
-
entries.Instances = [];
|
|
1963
|
-
}
|
|
1964
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1965
|
-
const loc = `Instances.${key}`;
|
|
1966
|
-
entries[loc] = value;
|
|
1967
|
-
});
|
|
1968
|
-
}
|
|
1969
|
-
return entries;
|
|
1970
|
-
};
|
|
1971
|
-
const se_DescribeAccessPointsInput = (input, context) => {
|
|
1972
|
-
const entries = {};
|
|
1973
|
-
if (input[_LBNo] != null) {
|
|
1974
|
-
const memberEntries = se_LoadBalancerNames(input[_LBNo], context);
|
|
1975
|
-
if (input[_LBNo]?.length === 0) {
|
|
1976
|
-
entries.LoadBalancerNames = [];
|
|
1977
|
-
}
|
|
1978
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1979
|
-
const loc = `LoadBalancerNames.${key}`;
|
|
1980
|
-
entries[loc] = value;
|
|
1981
|
-
});
|
|
1982
|
-
}
|
|
1983
|
-
if (input[_M] != null) {
|
|
1984
|
-
entries[_M] = input[_M];
|
|
1985
|
-
}
|
|
1986
|
-
if (input[_PS] != null) {
|
|
1987
|
-
entries[_PS] = input[_PS];
|
|
1988
|
-
}
|
|
1989
|
-
return entries;
|
|
1990
|
-
};
|
|
1991
|
-
const se_DescribeAccountLimitsInput = (input, context) => {
|
|
1992
|
-
const entries = {};
|
|
1993
|
-
if (input[_M] != null) {
|
|
1994
|
-
entries[_M] = input[_M];
|
|
1995
|
-
}
|
|
1996
|
-
if (input[_PS] != null) {
|
|
1997
|
-
entries[_PS] = input[_PS];
|
|
1998
|
-
}
|
|
1999
|
-
return entries;
|
|
2000
|
-
};
|
|
2001
|
-
const se_DescribeEndPointStateInput = (input, context) => {
|
|
2002
|
-
const entries = {};
|
|
2003
|
-
if (input[_LBN] != null) {
|
|
2004
|
-
entries[_LBN] = input[_LBN];
|
|
2005
|
-
}
|
|
2006
|
-
if (input[_I] != null) {
|
|
2007
|
-
const memberEntries = se_Instances(input[_I], context);
|
|
2008
|
-
if (input[_I]?.length === 0) {
|
|
2009
|
-
entries.Instances = [];
|
|
2010
|
-
}
|
|
2011
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2012
|
-
const loc = `Instances.${key}`;
|
|
2013
|
-
entries[loc] = value;
|
|
2014
|
-
});
|
|
2015
|
-
}
|
|
2016
|
-
return entries;
|
|
2017
|
-
};
|
|
2018
|
-
const se_DescribeLoadBalancerAttributesInput = (input, context) => {
|
|
2019
|
-
const entries = {};
|
|
2020
|
-
if (input[_LBN] != null) {
|
|
2021
|
-
entries[_LBN] = input[_LBN];
|
|
2022
|
-
}
|
|
2023
|
-
return entries;
|
|
2024
|
-
};
|
|
2025
|
-
const se_DescribeLoadBalancerPoliciesInput = (input, context) => {
|
|
2026
|
-
const entries = {};
|
|
2027
|
-
if (input[_LBN] != null) {
|
|
2028
|
-
entries[_LBN] = input[_LBN];
|
|
2029
|
-
}
|
|
2030
|
-
if (input[_PNo] != null) {
|
|
2031
|
-
const memberEntries = se_PolicyNames(input[_PNo], context);
|
|
2032
|
-
if (input[_PNo]?.length === 0) {
|
|
2033
|
-
entries.PolicyNames = [];
|
|
2034
|
-
}
|
|
2035
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2036
|
-
const loc = `PolicyNames.${key}`;
|
|
2037
|
-
entries[loc] = value;
|
|
2038
|
-
});
|
|
2039
|
-
}
|
|
2040
|
-
return entries;
|
|
2041
|
-
};
|
|
2042
|
-
const se_DescribeLoadBalancerPolicyTypesInput = (input, context) => {
|
|
2043
|
-
const entries = {};
|
|
2044
|
-
if (input[_PTNo] != null) {
|
|
2045
|
-
const memberEntries = se_PolicyTypeNames(input[_PTNo], context);
|
|
2046
|
-
if (input[_PTNo]?.length === 0) {
|
|
2047
|
-
entries.PolicyTypeNames = [];
|
|
2048
|
-
}
|
|
2049
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2050
|
-
const loc = `PolicyTypeNames.${key}`;
|
|
2051
|
-
entries[loc] = value;
|
|
2052
|
-
});
|
|
2053
|
-
}
|
|
2054
|
-
return entries;
|
|
2055
|
-
};
|
|
2056
|
-
const se_DescribeTagsInput = (input, context) => {
|
|
2057
|
-
const entries = {};
|
|
2058
|
-
if (input[_LBNo] != null) {
|
|
2059
|
-
const memberEntries = se_LoadBalancerNamesMax20(input[_LBNo], context);
|
|
2060
|
-
if (input[_LBNo]?.length === 0) {
|
|
2061
|
-
entries.LoadBalancerNames = [];
|
|
2062
|
-
}
|
|
2063
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2064
|
-
const loc = `LoadBalancerNames.${key}`;
|
|
2065
|
-
entries[loc] = value;
|
|
2066
|
-
});
|
|
2067
|
-
}
|
|
2068
|
-
return entries;
|
|
2069
|
-
};
|
|
2070
|
-
const se_DetachLoadBalancerFromSubnetsInput = (input, context) => {
|
|
2071
|
-
const entries = {};
|
|
2072
|
-
if (input[_LBN] != null) {
|
|
2073
|
-
entries[_LBN] = input[_LBN];
|
|
2074
|
-
}
|
|
2075
|
-
if (input[_S] != null) {
|
|
2076
|
-
const memberEntries = se_Subnets(input[_S], context);
|
|
2077
|
-
if (input[_S]?.length === 0) {
|
|
2078
|
-
entries.Subnets = [];
|
|
2079
|
-
}
|
|
2080
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2081
|
-
const loc = `Subnets.${key}`;
|
|
2082
|
-
entries[loc] = value;
|
|
2083
|
-
});
|
|
2084
|
-
}
|
|
2085
|
-
return entries;
|
|
2086
|
-
};
|
|
2087
|
-
const se_HealthCheck = (input, context) => {
|
|
2088
|
-
const entries = {};
|
|
2089
|
-
if (input[_Ta] != null) {
|
|
2090
|
-
entries[_Ta] = input[_Ta];
|
|
2091
|
-
}
|
|
2092
|
-
if (input[_In] != null) {
|
|
2093
|
-
entries[_In] = input[_In];
|
|
2094
|
-
}
|
|
2095
|
-
if (input[_Ti] != null) {
|
|
2096
|
-
entries[_Ti] = input[_Ti];
|
|
2097
|
-
}
|
|
2098
|
-
if (input[_UT] != null) {
|
|
2099
|
-
entries[_UT] = input[_UT];
|
|
2100
|
-
}
|
|
2101
|
-
if (input[_HT] != null) {
|
|
2102
|
-
entries[_HT] = input[_HT];
|
|
2103
|
-
}
|
|
2104
|
-
return entries;
|
|
2105
|
-
};
|
|
2106
|
-
const se_Instance = (input, context) => {
|
|
2107
|
-
const entries = {};
|
|
2108
|
-
if (input[_II] != null) {
|
|
2109
|
-
entries[_II] = input[_II];
|
|
2110
|
-
}
|
|
2111
|
-
return entries;
|
|
2112
|
-
};
|
|
2113
|
-
const se_Instances = (input, context) => {
|
|
2114
|
-
const entries = {};
|
|
2115
|
-
let counter = 1;
|
|
2116
|
-
for (const entry of input) {
|
|
2117
|
-
if (entry === null) {
|
|
2118
|
-
continue;
|
|
2119
|
-
}
|
|
2120
|
-
const memberEntries = se_Instance(entry, context);
|
|
2121
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2122
|
-
entries[`member.${counter}.${key}`] = value;
|
|
2123
|
-
});
|
|
2124
|
-
counter++;
|
|
2125
|
-
}
|
|
2126
|
-
return entries;
|
|
2127
|
-
};
|
|
2128
|
-
const se_Listener = (input, context) => {
|
|
2129
|
-
const entries = {};
|
|
2130
|
-
if (input[_P] != null) {
|
|
2131
|
-
entries[_P] = input[_P];
|
|
2132
|
-
}
|
|
2133
|
-
if (input[_LBPo] != null) {
|
|
2134
|
-
entries[_LBPo] = input[_LBPo];
|
|
2135
|
-
}
|
|
2136
|
-
if (input[_IP] != null) {
|
|
2137
|
-
entries[_IP] = input[_IP];
|
|
2138
|
-
}
|
|
2139
|
-
if (input[_IPn] != null) {
|
|
2140
|
-
entries[_IPn] = input[_IPn];
|
|
2141
|
-
}
|
|
2142
|
-
if (input[_SSLCI] != null) {
|
|
2143
|
-
entries[_SSLCI] = input[_SSLCI];
|
|
2144
|
-
}
|
|
2145
|
-
return entries;
|
|
2146
|
-
};
|
|
2147
|
-
const se_Listeners = (input, context) => {
|
|
2148
|
-
const entries = {};
|
|
2149
|
-
let counter = 1;
|
|
2150
|
-
for (const entry of input) {
|
|
2151
|
-
if (entry === null) {
|
|
2152
|
-
continue;
|
|
2153
|
-
}
|
|
2154
|
-
const memberEntries = se_Listener(entry, context);
|
|
2155
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2156
|
-
entries[`member.${counter}.${key}`] = value;
|
|
2157
|
-
});
|
|
2158
|
-
counter++;
|
|
2159
|
-
}
|
|
2160
|
-
return entries;
|
|
2161
|
-
};
|
|
2162
|
-
const se_LoadBalancerAttributes = (input, context) => {
|
|
2163
|
-
const entries = {};
|
|
2164
|
-
if (input[_CZLB] != null) {
|
|
2165
|
-
const memberEntries = se_CrossZoneLoadBalancing(input[_CZLB], context);
|
|
2166
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2167
|
-
const loc = `CrossZoneLoadBalancing.${key}`;
|
|
2168
|
-
entries[loc] = value;
|
|
2169
|
-
});
|
|
2170
|
-
}
|
|
2171
|
-
if (input[_AL] != null) {
|
|
2172
|
-
const memberEntries = se_AccessLog(input[_AL], context);
|
|
2173
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2174
|
-
const loc = `AccessLog.${key}`;
|
|
2175
|
-
entries[loc] = value;
|
|
2176
|
-
});
|
|
2177
|
-
}
|
|
2178
|
-
if (input[_CD] != null) {
|
|
2179
|
-
const memberEntries = se_ConnectionDraining(input[_CD], context);
|
|
2180
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2181
|
-
const loc = `ConnectionDraining.${key}`;
|
|
2182
|
-
entries[loc] = value;
|
|
2183
|
-
});
|
|
2184
|
-
}
|
|
2185
|
-
if (input[_CS] != null) {
|
|
2186
|
-
const memberEntries = se_ConnectionSettings(input[_CS], context);
|
|
2187
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2188
|
-
const loc = `ConnectionSettings.${key}`;
|
|
2189
|
-
entries[loc] = value;
|
|
2190
|
-
});
|
|
2191
|
-
}
|
|
2192
|
-
if (input[_AA] != null) {
|
|
2193
|
-
const memberEntries = se_AdditionalAttributes(input[_AA], context);
|
|
2194
|
-
if (input[_AA]?.length === 0) {
|
|
2195
|
-
entries.AdditionalAttributes = [];
|
|
2196
|
-
}
|
|
2197
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2198
|
-
const loc = `AdditionalAttributes.${key}`;
|
|
2199
|
-
entries[loc] = value;
|
|
2200
|
-
});
|
|
2201
|
-
}
|
|
2202
|
-
return entries;
|
|
2203
|
-
};
|
|
2204
|
-
const se_LoadBalancerNames = (input, context) => {
|
|
2205
|
-
const entries = {};
|
|
2206
|
-
let counter = 1;
|
|
2207
|
-
for (const entry of input) {
|
|
2208
|
-
if (entry === null) {
|
|
2209
|
-
continue;
|
|
2210
|
-
}
|
|
2211
|
-
entries[`member.${counter}`] = entry;
|
|
2212
|
-
counter++;
|
|
2213
|
-
}
|
|
2214
|
-
return entries;
|
|
2215
|
-
};
|
|
2216
|
-
const se_LoadBalancerNamesMax20 = (input, context) => {
|
|
2217
|
-
const entries = {};
|
|
2218
|
-
let counter = 1;
|
|
2219
|
-
for (const entry of input) {
|
|
2220
|
-
if (entry === null) {
|
|
2221
|
-
continue;
|
|
2222
|
-
}
|
|
2223
|
-
entries[`member.${counter}`] = entry;
|
|
2224
|
-
counter++;
|
|
2225
|
-
}
|
|
2226
|
-
return entries;
|
|
2227
|
-
};
|
|
2228
|
-
const se_ModifyLoadBalancerAttributesInput = (input, context) => {
|
|
2229
|
-
const entries = {};
|
|
2230
|
-
if (input[_LBN] != null) {
|
|
2231
|
-
entries[_LBN] = input[_LBN];
|
|
2232
|
-
}
|
|
2233
|
-
if (input[_LBA] != null) {
|
|
2234
|
-
const memberEntries = se_LoadBalancerAttributes(input[_LBA], context);
|
|
2235
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2236
|
-
const loc = `LoadBalancerAttributes.${key}`;
|
|
2237
|
-
entries[loc] = value;
|
|
2238
|
-
});
|
|
2239
|
-
}
|
|
2240
|
-
return entries;
|
|
2241
|
-
};
|
|
2242
|
-
const se_PolicyAttribute = (input, context) => {
|
|
2243
|
-
const entries = {};
|
|
2244
|
-
if (input[_AN] != null) {
|
|
2245
|
-
entries[_AN] = input[_AN];
|
|
2246
|
-
}
|
|
2247
|
-
if (input[_AV] != null) {
|
|
2248
|
-
entries[_AV] = input[_AV];
|
|
2249
|
-
}
|
|
2250
|
-
return entries;
|
|
2251
|
-
};
|
|
2252
|
-
const se_PolicyAttributes = (input, context) => {
|
|
2253
|
-
const entries = {};
|
|
2254
|
-
let counter = 1;
|
|
2255
|
-
for (const entry of input) {
|
|
2256
|
-
if (entry === null) {
|
|
2257
|
-
continue;
|
|
2258
|
-
}
|
|
2259
|
-
const memberEntries = se_PolicyAttribute(entry, context);
|
|
2260
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2261
|
-
entries[`member.${counter}.${key}`] = value;
|
|
2262
|
-
});
|
|
2263
|
-
counter++;
|
|
2264
|
-
}
|
|
2265
|
-
return entries;
|
|
2266
|
-
};
|
|
2267
|
-
const se_PolicyNames = (input, context) => {
|
|
2268
|
-
const entries = {};
|
|
2269
|
-
let counter = 1;
|
|
2270
|
-
for (const entry of input) {
|
|
2271
|
-
if (entry === null) {
|
|
2272
|
-
continue;
|
|
2273
|
-
}
|
|
2274
|
-
entries[`member.${counter}`] = entry;
|
|
2275
|
-
counter++;
|
|
2276
|
-
}
|
|
2277
|
-
return entries;
|
|
2278
|
-
};
|
|
2279
|
-
const se_PolicyTypeNames = (input, context) => {
|
|
2280
|
-
const entries = {};
|
|
2281
|
-
let counter = 1;
|
|
2282
|
-
for (const entry of input) {
|
|
2283
|
-
if (entry === null) {
|
|
2284
|
-
continue;
|
|
2285
|
-
}
|
|
2286
|
-
entries[`member.${counter}`] = entry;
|
|
2287
|
-
counter++;
|
|
2288
|
-
}
|
|
2289
|
-
return entries;
|
|
2290
|
-
};
|
|
2291
|
-
const se_Ports = (input, context) => {
|
|
2292
|
-
const entries = {};
|
|
2293
|
-
let counter = 1;
|
|
2294
|
-
for (const entry of input) {
|
|
2295
|
-
if (entry === null) {
|
|
2296
|
-
continue;
|
|
2297
|
-
}
|
|
2298
|
-
entries[`member.${counter}`] = entry;
|
|
2299
|
-
counter++;
|
|
2300
|
-
}
|
|
2301
|
-
return entries;
|
|
2302
|
-
};
|
|
2303
|
-
const se_RegisterEndPointsInput = (input, context) => {
|
|
2304
|
-
const entries = {};
|
|
2305
|
-
if (input[_LBN] != null) {
|
|
2306
|
-
entries[_LBN] = input[_LBN];
|
|
2307
|
-
}
|
|
2308
|
-
if (input[_I] != null) {
|
|
2309
|
-
const memberEntries = se_Instances(input[_I], context);
|
|
2310
|
-
if (input[_I]?.length === 0) {
|
|
2311
|
-
entries.Instances = [];
|
|
2312
|
-
}
|
|
2313
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2314
|
-
const loc = `Instances.${key}`;
|
|
2315
|
-
entries[loc] = value;
|
|
2316
|
-
});
|
|
2317
|
-
}
|
|
2318
|
-
return entries;
|
|
2319
|
-
};
|
|
2320
|
-
const se_RemoveAvailabilityZonesInput = (input, context) => {
|
|
2321
|
-
const entries = {};
|
|
2322
|
-
if (input[_LBN] != null) {
|
|
2323
|
-
entries[_LBN] = input[_LBN];
|
|
2324
|
-
}
|
|
2325
|
-
if (input[_AZ] != null) {
|
|
2326
|
-
const memberEntries = se_AvailabilityZones(input[_AZ], context);
|
|
2327
|
-
if (input[_AZ]?.length === 0) {
|
|
2328
|
-
entries.AvailabilityZones = [];
|
|
2329
|
-
}
|
|
2330
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2331
|
-
const loc = `AvailabilityZones.${key}`;
|
|
2332
|
-
entries[loc] = value;
|
|
2333
|
-
});
|
|
2334
|
-
}
|
|
2335
|
-
return entries;
|
|
2336
|
-
};
|
|
2337
|
-
const se_RemoveTagsInput = (input, context) => {
|
|
2338
|
-
const entries = {};
|
|
2339
|
-
if (input[_LBNo] != null) {
|
|
2340
|
-
const memberEntries = se_LoadBalancerNames(input[_LBNo], context);
|
|
2341
|
-
if (input[_LBNo]?.length === 0) {
|
|
2342
|
-
entries.LoadBalancerNames = [];
|
|
2343
|
-
}
|
|
2344
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2345
|
-
const loc = `LoadBalancerNames.${key}`;
|
|
2346
|
-
entries[loc] = value;
|
|
2347
|
-
});
|
|
2348
|
-
}
|
|
2349
|
-
if (input[_T] != null) {
|
|
2350
|
-
const memberEntries = se_TagKeyList(input[_T], context);
|
|
2351
|
-
if (input[_T]?.length === 0) {
|
|
2352
|
-
entries.Tags = [];
|
|
2353
|
-
}
|
|
2354
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2355
|
-
const loc = `Tags.${key}`;
|
|
2356
|
-
entries[loc] = value;
|
|
2357
|
-
});
|
|
2358
|
-
}
|
|
2359
|
-
return entries;
|
|
2360
|
-
};
|
|
2361
|
-
const se_SecurityGroups = (input, context) => {
|
|
2362
|
-
const entries = {};
|
|
2363
|
-
let counter = 1;
|
|
2364
|
-
for (const entry of input) {
|
|
2365
|
-
if (entry === null) {
|
|
2366
|
-
continue;
|
|
2367
|
-
}
|
|
2368
|
-
entries[`member.${counter}`] = entry;
|
|
2369
|
-
counter++;
|
|
2370
|
-
}
|
|
2371
|
-
return entries;
|
|
2372
|
-
};
|
|
2373
|
-
const se_SetLoadBalancerListenerSSLCertificateInput = (input, context) => {
|
|
2374
|
-
const entries = {};
|
|
2375
|
-
if (input[_LBN] != null) {
|
|
2376
|
-
entries[_LBN] = input[_LBN];
|
|
2377
|
-
}
|
|
2378
|
-
if (input[_LBPo] != null) {
|
|
2379
|
-
entries[_LBPo] = input[_LBPo];
|
|
2380
|
-
}
|
|
2381
|
-
if (input[_SSLCI] != null) {
|
|
2382
|
-
entries[_SSLCI] = input[_SSLCI];
|
|
2383
|
-
}
|
|
2384
|
-
return entries;
|
|
2385
|
-
};
|
|
2386
|
-
const se_SetLoadBalancerPoliciesForBackendServerInput = (input, context) => {
|
|
2387
|
-
const entries = {};
|
|
2388
|
-
if (input[_LBN] != null) {
|
|
2389
|
-
entries[_LBN] = input[_LBN];
|
|
2390
|
-
}
|
|
2391
|
-
if (input[_IPn] != null) {
|
|
2392
|
-
entries[_IPn] = input[_IPn];
|
|
2393
|
-
}
|
|
2394
|
-
if (input[_PNo] != null) {
|
|
2395
|
-
const memberEntries = se_PolicyNames(input[_PNo], context);
|
|
2396
|
-
if (input[_PNo]?.length === 0) {
|
|
2397
|
-
entries.PolicyNames = [];
|
|
2398
|
-
}
|
|
2399
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2400
|
-
const loc = `PolicyNames.${key}`;
|
|
2401
|
-
entries[loc] = value;
|
|
2402
|
-
});
|
|
2403
|
-
}
|
|
2404
|
-
return entries;
|
|
2405
|
-
};
|
|
2406
|
-
const se_SetLoadBalancerPoliciesOfListenerInput = (input, context) => {
|
|
2407
|
-
const entries = {};
|
|
2408
|
-
if (input[_LBN] != null) {
|
|
2409
|
-
entries[_LBN] = input[_LBN];
|
|
2410
|
-
}
|
|
2411
|
-
if (input[_LBPo] != null) {
|
|
2412
|
-
entries[_LBPo] = input[_LBPo];
|
|
2413
|
-
}
|
|
2414
|
-
if (input[_PNo] != null) {
|
|
2415
|
-
const memberEntries = se_PolicyNames(input[_PNo], context);
|
|
2416
|
-
if (input[_PNo]?.length === 0) {
|
|
2417
|
-
entries.PolicyNames = [];
|
|
2418
|
-
}
|
|
2419
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2420
|
-
const loc = `PolicyNames.${key}`;
|
|
2421
|
-
entries[loc] = value;
|
|
2422
|
-
});
|
|
2423
|
-
}
|
|
2424
|
-
return entries;
|
|
2425
|
-
};
|
|
2426
|
-
const se_Subnets = (input, context) => {
|
|
2427
|
-
const entries = {};
|
|
2428
|
-
let counter = 1;
|
|
2429
|
-
for (const entry of input) {
|
|
2430
|
-
if (entry === null) {
|
|
2431
|
-
continue;
|
|
2432
|
-
}
|
|
2433
|
-
entries[`member.${counter}`] = entry;
|
|
2434
|
-
counter++;
|
|
2435
|
-
}
|
|
2436
|
-
return entries;
|
|
2437
|
-
};
|
|
2438
|
-
const se_Tag = (input, context) => {
|
|
2439
|
-
const entries = {};
|
|
2440
|
-
if (input[_K] != null) {
|
|
2441
|
-
entries[_K] = input[_K];
|
|
2442
|
-
}
|
|
2443
|
-
if (input[_Va] != null) {
|
|
2444
|
-
entries[_Va] = input[_Va];
|
|
2445
|
-
}
|
|
2446
|
-
return entries;
|
|
2447
|
-
};
|
|
2448
|
-
const se_TagKeyList = (input, context) => {
|
|
2449
|
-
const entries = {};
|
|
2450
|
-
let counter = 1;
|
|
2451
|
-
for (const entry of input) {
|
|
2452
|
-
if (entry === null) {
|
|
2453
|
-
continue;
|
|
2454
|
-
}
|
|
2455
|
-
const memberEntries = se_TagKeyOnly(entry, context);
|
|
2456
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2457
|
-
entries[`member.${counter}.${key}`] = value;
|
|
2458
|
-
});
|
|
2459
|
-
counter++;
|
|
2460
|
-
}
|
|
2461
|
-
return entries;
|
|
2462
|
-
};
|
|
2463
|
-
const se_TagKeyOnly = (input, context) => {
|
|
2464
|
-
const entries = {};
|
|
2465
|
-
if (input[_K] != null) {
|
|
2466
|
-
entries[_K] = input[_K];
|
|
2467
|
-
}
|
|
2468
|
-
return entries;
|
|
2469
|
-
};
|
|
2470
|
-
const se_TagList = (input, context) => {
|
|
2471
|
-
const entries = {};
|
|
2472
|
-
let counter = 1;
|
|
2473
|
-
for (const entry of input) {
|
|
2474
|
-
if (entry === null) {
|
|
2475
|
-
continue;
|
|
2476
|
-
}
|
|
2477
|
-
const memberEntries = se_Tag(entry, context);
|
|
2478
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2479
|
-
entries[`member.${counter}.${key}`] = value;
|
|
2480
|
-
});
|
|
2481
|
-
counter++;
|
|
2482
|
-
}
|
|
2483
|
-
return entries;
|
|
2484
|
-
};
|
|
2485
|
-
const de_AccessLog = (output, context) => {
|
|
2486
|
-
const contents = {};
|
|
2487
|
-
if (output[_E] != null) {
|
|
2488
|
-
contents[_E] = (0, smithy_client_1.parseBoolean)(output[_E]);
|
|
2489
|
-
}
|
|
2490
|
-
if (output[_SBN] != null) {
|
|
2491
|
-
contents[_SBN] = (0, smithy_client_1.expectString)(output[_SBN]);
|
|
2492
|
-
}
|
|
2493
|
-
if (output[_EI] != null) {
|
|
2494
|
-
contents[_EI] = (0, smithy_client_1.strictParseInt32)(output[_EI]);
|
|
2495
|
-
}
|
|
2496
|
-
if (output[_SBP] != null) {
|
|
2497
|
-
contents[_SBP] = (0, smithy_client_1.expectString)(output[_SBP]);
|
|
2498
|
-
}
|
|
2499
|
-
return contents;
|
|
2500
|
-
};
|
|
2501
|
-
const de_AccessPointNotFoundException = (output, context) => {
|
|
2502
|
-
const contents = {};
|
|
2503
|
-
if (output[_Me] != null) {
|
|
2504
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2505
|
-
}
|
|
2506
|
-
return contents;
|
|
2507
|
-
};
|
|
2508
|
-
const de_AddAvailabilityZonesOutput = (output, context) => {
|
|
2509
|
-
const contents = {};
|
|
2510
|
-
if (output.AvailabilityZones === "") {
|
|
2511
|
-
contents[_AZ] = [];
|
|
2512
|
-
}
|
|
2513
|
-
else if (output[_AZ] != null && output[_AZ][_m] != null) {
|
|
2514
|
-
contents[_AZ] = de_AvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output[_AZ][_m]), context);
|
|
2515
|
-
}
|
|
2516
|
-
return contents;
|
|
2517
|
-
};
|
|
2518
|
-
const de_AdditionalAttribute = (output, context) => {
|
|
2519
|
-
const contents = {};
|
|
2520
|
-
if (output[_K] != null) {
|
|
2521
|
-
contents[_K] = (0, smithy_client_1.expectString)(output[_K]);
|
|
2522
|
-
}
|
|
2523
|
-
if (output[_Va] != null) {
|
|
2524
|
-
contents[_Va] = (0, smithy_client_1.expectString)(output[_Va]);
|
|
2525
|
-
}
|
|
2526
|
-
return contents;
|
|
2527
|
-
};
|
|
2528
|
-
const de_AdditionalAttributes = (output, context) => {
|
|
2529
|
-
return (output || [])
|
|
2530
|
-
.filter((e) => e != null)
|
|
2531
|
-
.map((entry) => {
|
|
2532
|
-
return de_AdditionalAttribute(entry, context);
|
|
2533
|
-
});
|
|
2534
|
-
};
|
|
2535
|
-
const de_AddTagsOutput = (output, context) => {
|
|
2536
|
-
const contents = {};
|
|
2537
|
-
return contents;
|
|
2538
|
-
};
|
|
2539
|
-
const de_AppCookieStickinessPolicies = (output, context) => {
|
|
2540
|
-
return (output || [])
|
|
2541
|
-
.filter((e) => e != null)
|
|
2542
|
-
.map((entry) => {
|
|
2543
|
-
return de_AppCookieStickinessPolicy(entry, context);
|
|
2544
|
-
});
|
|
2545
|
-
};
|
|
2546
|
-
const de_AppCookieStickinessPolicy = (output, context) => {
|
|
2547
|
-
const contents = {};
|
|
2548
|
-
if (output[_PN] != null) {
|
|
2549
|
-
contents[_PN] = (0, smithy_client_1.expectString)(output[_PN]);
|
|
2550
|
-
}
|
|
2551
|
-
if (output[_CN] != null) {
|
|
2552
|
-
contents[_CN] = (0, smithy_client_1.expectString)(output[_CN]);
|
|
2553
|
-
}
|
|
2554
|
-
return contents;
|
|
2555
|
-
};
|
|
2556
|
-
const de_ApplySecurityGroupsToLoadBalancerOutput = (output, context) => {
|
|
2557
|
-
const contents = {};
|
|
2558
|
-
if (output.SecurityGroups === "") {
|
|
2559
|
-
contents[_SG] = [];
|
|
2560
|
-
}
|
|
2561
|
-
else if (output[_SG] != null && output[_SG][_m] != null) {
|
|
2562
|
-
contents[_SG] = de_SecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output[_SG][_m]), context);
|
|
2563
|
-
}
|
|
2564
|
-
return contents;
|
|
2565
|
-
};
|
|
2566
|
-
const de_AttachLoadBalancerToSubnetsOutput = (output, context) => {
|
|
2567
|
-
const contents = {};
|
|
2568
|
-
if (output.Subnets === "") {
|
|
2569
|
-
contents[_S] = [];
|
|
2570
|
-
}
|
|
2571
|
-
else if (output[_S] != null && output[_S][_m] != null) {
|
|
2572
|
-
contents[_S] = de_Subnets((0, smithy_client_1.getArrayIfSingleItem)(output[_S][_m]), context);
|
|
2573
|
-
}
|
|
2574
|
-
return contents;
|
|
2575
|
-
};
|
|
2576
|
-
const de_AvailabilityZones = (output, context) => {
|
|
2577
|
-
return (output || [])
|
|
2578
|
-
.filter((e) => e != null)
|
|
2579
|
-
.map((entry) => {
|
|
2580
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2581
|
-
});
|
|
2582
|
-
};
|
|
2583
|
-
const de_BackendServerDescription = (output, context) => {
|
|
2584
|
-
const contents = {};
|
|
2585
|
-
if (output[_IPn] != null) {
|
|
2586
|
-
contents[_IPn] = (0, smithy_client_1.strictParseInt32)(output[_IPn]);
|
|
2587
|
-
}
|
|
2588
|
-
if (output.PolicyNames === "") {
|
|
2589
|
-
contents[_PNo] = [];
|
|
2590
|
-
}
|
|
2591
|
-
else if (output[_PNo] != null && output[_PNo][_m] != null) {
|
|
2592
|
-
contents[_PNo] = de_PolicyNames((0, smithy_client_1.getArrayIfSingleItem)(output[_PNo][_m]), context);
|
|
2593
|
-
}
|
|
2594
|
-
return contents;
|
|
2595
|
-
};
|
|
2596
|
-
const de_BackendServerDescriptions = (output, context) => {
|
|
2597
|
-
return (output || [])
|
|
2598
|
-
.filter((e) => e != null)
|
|
2599
|
-
.map((entry) => {
|
|
2600
|
-
return de_BackendServerDescription(entry, context);
|
|
2601
|
-
});
|
|
2602
|
-
};
|
|
2603
|
-
const de_CertificateNotFoundException = (output, context) => {
|
|
2604
|
-
const contents = {};
|
|
2605
|
-
if (output[_Me] != null) {
|
|
2606
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2607
|
-
}
|
|
2608
|
-
return contents;
|
|
2609
|
-
};
|
|
2610
|
-
const de_ConfigureHealthCheckOutput = (output, context) => {
|
|
2611
|
-
const contents = {};
|
|
2612
|
-
if (output[_HC] != null) {
|
|
2613
|
-
contents[_HC] = de_HealthCheck(output[_HC], context);
|
|
2614
|
-
}
|
|
2615
|
-
return contents;
|
|
2616
|
-
};
|
|
2617
|
-
const de_ConnectionDraining = (output, context) => {
|
|
2618
|
-
const contents = {};
|
|
2619
|
-
if (output[_E] != null) {
|
|
2620
|
-
contents[_E] = (0, smithy_client_1.parseBoolean)(output[_E]);
|
|
2621
|
-
}
|
|
2622
|
-
if (output[_Ti] != null) {
|
|
2623
|
-
contents[_Ti] = (0, smithy_client_1.strictParseInt32)(output[_Ti]);
|
|
2624
|
-
}
|
|
2625
|
-
return contents;
|
|
2626
|
-
};
|
|
2627
|
-
const de_ConnectionSettings = (output, context) => {
|
|
2628
|
-
const contents = {};
|
|
2629
|
-
if (output[_IT] != null) {
|
|
2630
|
-
contents[_IT] = (0, smithy_client_1.strictParseInt32)(output[_IT]);
|
|
2631
|
-
}
|
|
2632
|
-
return contents;
|
|
2633
|
-
};
|
|
2634
|
-
const de_CreateAccessPointOutput = (output, context) => {
|
|
2635
|
-
const contents = {};
|
|
2636
|
-
if (output[_DNSN] != null) {
|
|
2637
|
-
contents[_DNSN] = (0, smithy_client_1.expectString)(output[_DNSN]);
|
|
2638
|
-
}
|
|
2639
|
-
return contents;
|
|
2640
|
-
};
|
|
2641
|
-
const de_CreateAppCookieStickinessPolicyOutput = (output, context) => {
|
|
2642
|
-
const contents = {};
|
|
2643
|
-
return contents;
|
|
2644
|
-
};
|
|
2645
|
-
const de_CreateLBCookieStickinessPolicyOutput = (output, context) => {
|
|
2646
|
-
const contents = {};
|
|
2647
|
-
return contents;
|
|
2648
|
-
};
|
|
2649
|
-
const de_CreateLoadBalancerListenerOutput = (output, context) => {
|
|
2650
|
-
const contents = {};
|
|
2651
|
-
return contents;
|
|
2652
|
-
};
|
|
2653
|
-
const de_CreateLoadBalancerPolicyOutput = (output, context) => {
|
|
2654
|
-
const contents = {};
|
|
2655
|
-
return contents;
|
|
2656
|
-
};
|
|
2657
|
-
const de_CrossZoneLoadBalancing = (output, context) => {
|
|
2658
|
-
const contents = {};
|
|
2659
|
-
if (output[_E] != null) {
|
|
2660
|
-
contents[_E] = (0, smithy_client_1.parseBoolean)(output[_E]);
|
|
2661
|
-
}
|
|
2662
|
-
return contents;
|
|
2663
|
-
};
|
|
2664
|
-
const de_DeleteAccessPointOutput = (output, context) => {
|
|
2665
|
-
const contents = {};
|
|
2666
|
-
return contents;
|
|
2667
|
-
};
|
|
2668
|
-
const de_DeleteLoadBalancerListenerOutput = (output, context) => {
|
|
2669
|
-
const contents = {};
|
|
2670
|
-
return contents;
|
|
2671
|
-
};
|
|
2672
|
-
const de_DeleteLoadBalancerPolicyOutput = (output, context) => {
|
|
2673
|
-
const contents = {};
|
|
2674
|
-
return contents;
|
|
2675
|
-
};
|
|
2676
|
-
const de_DependencyThrottleException = (output, context) => {
|
|
2677
|
-
const contents = {};
|
|
2678
|
-
if (output[_Me] != null) {
|
|
2679
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2680
|
-
}
|
|
2681
|
-
return contents;
|
|
2682
|
-
};
|
|
2683
|
-
const de_DeregisterEndPointsOutput = (output, context) => {
|
|
2684
|
-
const contents = {};
|
|
2685
|
-
if (output.Instances === "") {
|
|
2686
|
-
contents[_I] = [];
|
|
2687
|
-
}
|
|
2688
|
-
else if (output[_I] != null && output[_I][_m] != null) {
|
|
2689
|
-
contents[_I] = de_Instances((0, smithy_client_1.getArrayIfSingleItem)(output[_I][_m]), context);
|
|
2690
|
-
}
|
|
2691
|
-
return contents;
|
|
2692
|
-
};
|
|
2693
|
-
const de_DescribeAccessPointsOutput = (output, context) => {
|
|
2694
|
-
const contents = {};
|
|
2695
|
-
if (output.LoadBalancerDescriptions === "") {
|
|
2696
|
-
contents[_LBD] = [];
|
|
2697
|
-
}
|
|
2698
|
-
else if (output[_LBD] != null && output[_LBD][_m] != null) {
|
|
2699
|
-
contents[_LBD] = de_LoadBalancerDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_LBD][_m]), context);
|
|
2700
|
-
}
|
|
2701
|
-
if (output[_NM] != null) {
|
|
2702
|
-
contents[_NM] = (0, smithy_client_1.expectString)(output[_NM]);
|
|
2703
|
-
}
|
|
2704
|
-
return contents;
|
|
2705
|
-
};
|
|
2706
|
-
const de_DescribeAccountLimitsOutput = (output, context) => {
|
|
2707
|
-
const contents = {};
|
|
2708
|
-
if (output.Limits === "") {
|
|
2709
|
-
contents[_Li] = [];
|
|
2710
|
-
}
|
|
2711
|
-
else if (output[_Li] != null && output[_Li][_m] != null) {
|
|
2712
|
-
contents[_Li] = de_Limits((0, smithy_client_1.getArrayIfSingleItem)(output[_Li][_m]), context);
|
|
2713
|
-
}
|
|
2714
|
-
if (output[_NM] != null) {
|
|
2715
|
-
contents[_NM] = (0, smithy_client_1.expectString)(output[_NM]);
|
|
2716
|
-
}
|
|
2717
|
-
return contents;
|
|
2718
|
-
};
|
|
2719
|
-
const de_DescribeEndPointStateOutput = (output, context) => {
|
|
2720
|
-
const contents = {};
|
|
2721
|
-
if (output.InstanceStates === "") {
|
|
2722
|
-
contents[_IS] = [];
|
|
2723
|
-
}
|
|
2724
|
-
else if (output[_IS] != null && output[_IS][_m] != null) {
|
|
2725
|
-
contents[_IS] = de_InstanceStates((0, smithy_client_1.getArrayIfSingleItem)(output[_IS][_m]), context);
|
|
2726
|
-
}
|
|
2727
|
-
return contents;
|
|
2728
|
-
};
|
|
2729
|
-
const de_DescribeLoadBalancerAttributesOutput = (output, context) => {
|
|
2730
|
-
const contents = {};
|
|
2731
|
-
if (output[_LBA] != null) {
|
|
2732
|
-
contents[_LBA] = de_LoadBalancerAttributes(output[_LBA], context);
|
|
2733
|
-
}
|
|
2734
|
-
return contents;
|
|
2735
|
-
};
|
|
2736
|
-
const de_DescribeLoadBalancerPoliciesOutput = (output, context) => {
|
|
2737
|
-
const contents = {};
|
|
2738
|
-
if (output.PolicyDescriptions === "") {
|
|
2739
|
-
contents[_PD] = [];
|
|
2740
|
-
}
|
|
2741
|
-
else if (output[_PD] != null && output[_PD][_m] != null) {
|
|
2742
|
-
contents[_PD] = de_PolicyDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_PD][_m]), context);
|
|
2743
|
-
}
|
|
2744
|
-
return contents;
|
|
2745
|
-
};
|
|
2746
|
-
const de_DescribeLoadBalancerPolicyTypesOutput = (output, context) => {
|
|
2747
|
-
const contents = {};
|
|
2748
|
-
if (output.PolicyTypeDescriptions === "") {
|
|
2749
|
-
contents[_PTD] = [];
|
|
2750
|
-
}
|
|
2751
|
-
else if (output[_PTD] != null && output[_PTD][_m] != null) {
|
|
2752
|
-
contents[_PTD] = de_PolicyTypeDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_PTD][_m]), context);
|
|
2753
|
-
}
|
|
2754
|
-
return contents;
|
|
2755
|
-
};
|
|
2756
|
-
const de_DescribeTagsOutput = (output, context) => {
|
|
2757
|
-
const contents = {};
|
|
2758
|
-
if (output.TagDescriptions === "") {
|
|
2759
|
-
contents[_TD] = [];
|
|
2760
|
-
}
|
|
2761
|
-
else if (output[_TD] != null && output[_TD][_m] != null) {
|
|
2762
|
-
contents[_TD] = de_TagDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_TD][_m]), context);
|
|
2763
|
-
}
|
|
2764
|
-
return contents;
|
|
2765
|
-
};
|
|
2766
|
-
const de_DetachLoadBalancerFromSubnetsOutput = (output, context) => {
|
|
2767
|
-
const contents = {};
|
|
2768
|
-
if (output.Subnets === "") {
|
|
2769
|
-
contents[_S] = [];
|
|
2770
|
-
}
|
|
2771
|
-
else if (output[_S] != null && output[_S][_m] != null) {
|
|
2772
|
-
contents[_S] = de_Subnets((0, smithy_client_1.getArrayIfSingleItem)(output[_S][_m]), context);
|
|
2773
|
-
}
|
|
2774
|
-
return contents;
|
|
2775
|
-
};
|
|
2776
|
-
const de_DuplicateAccessPointNameException = (output, context) => {
|
|
2777
|
-
const contents = {};
|
|
2778
|
-
if (output[_Me] != null) {
|
|
2779
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2780
|
-
}
|
|
2781
|
-
return contents;
|
|
2782
|
-
};
|
|
2783
|
-
const de_DuplicateListenerException = (output, context) => {
|
|
2784
|
-
const contents = {};
|
|
2785
|
-
if (output[_Me] != null) {
|
|
2786
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2787
|
-
}
|
|
2788
|
-
return contents;
|
|
2789
|
-
};
|
|
2790
|
-
const de_DuplicatePolicyNameException = (output, context) => {
|
|
2791
|
-
const contents = {};
|
|
2792
|
-
if (output[_Me] != null) {
|
|
2793
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2794
|
-
}
|
|
2795
|
-
return contents;
|
|
2796
|
-
};
|
|
2797
|
-
const de_DuplicateTagKeysException = (output, context) => {
|
|
2798
|
-
const contents = {};
|
|
2799
|
-
if (output[_Me] != null) {
|
|
2800
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2801
|
-
}
|
|
2802
|
-
return contents;
|
|
2803
|
-
};
|
|
2804
|
-
const de_HealthCheck = (output, context) => {
|
|
2805
|
-
const contents = {};
|
|
2806
|
-
if (output[_Ta] != null) {
|
|
2807
|
-
contents[_Ta] = (0, smithy_client_1.expectString)(output[_Ta]);
|
|
2808
|
-
}
|
|
2809
|
-
if (output[_In] != null) {
|
|
2810
|
-
contents[_In] = (0, smithy_client_1.strictParseInt32)(output[_In]);
|
|
2811
|
-
}
|
|
2812
|
-
if (output[_Ti] != null) {
|
|
2813
|
-
contents[_Ti] = (0, smithy_client_1.strictParseInt32)(output[_Ti]);
|
|
2814
|
-
}
|
|
2815
|
-
if (output[_UT] != null) {
|
|
2816
|
-
contents[_UT] = (0, smithy_client_1.strictParseInt32)(output[_UT]);
|
|
2817
|
-
}
|
|
2818
|
-
if (output[_HT] != null) {
|
|
2819
|
-
contents[_HT] = (0, smithy_client_1.strictParseInt32)(output[_HT]);
|
|
2820
|
-
}
|
|
2821
|
-
return contents;
|
|
2822
|
-
};
|
|
2823
|
-
const de_Instance = (output, context) => {
|
|
2824
|
-
const contents = {};
|
|
2825
|
-
if (output[_II] != null) {
|
|
2826
|
-
contents[_II] = (0, smithy_client_1.expectString)(output[_II]);
|
|
2827
|
-
}
|
|
2828
|
-
return contents;
|
|
2829
|
-
};
|
|
2830
|
-
const de_Instances = (output, context) => {
|
|
2831
|
-
return (output || [])
|
|
2832
|
-
.filter((e) => e != null)
|
|
2833
|
-
.map((entry) => {
|
|
2834
|
-
return de_Instance(entry, context);
|
|
2835
|
-
});
|
|
2836
|
-
};
|
|
2837
|
-
const de_InstanceState = (output, context) => {
|
|
2838
|
-
const contents = {};
|
|
2839
|
-
if (output[_II] != null) {
|
|
2840
|
-
contents[_II] = (0, smithy_client_1.expectString)(output[_II]);
|
|
2841
|
-
}
|
|
2842
|
-
if (output[_St] != null) {
|
|
2843
|
-
contents[_St] = (0, smithy_client_1.expectString)(output[_St]);
|
|
2844
|
-
}
|
|
2845
|
-
if (output[_RC] != null) {
|
|
2846
|
-
contents[_RC] = (0, smithy_client_1.expectString)(output[_RC]);
|
|
2847
|
-
}
|
|
2848
|
-
if (output[_D] != null) {
|
|
2849
|
-
contents[_D] = (0, smithy_client_1.expectString)(output[_D]);
|
|
2850
|
-
}
|
|
2851
|
-
return contents;
|
|
2852
|
-
};
|
|
2853
|
-
const de_InstanceStates = (output, context) => {
|
|
2854
|
-
return (output || [])
|
|
2855
|
-
.filter((e) => e != null)
|
|
2856
|
-
.map((entry) => {
|
|
2857
|
-
return de_InstanceState(entry, context);
|
|
2858
|
-
});
|
|
2859
|
-
};
|
|
2860
|
-
const de_InvalidConfigurationRequestException = (output, context) => {
|
|
2861
|
-
const contents = {};
|
|
2862
|
-
if (output[_Me] != null) {
|
|
2863
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2864
|
-
}
|
|
2865
|
-
return contents;
|
|
2866
|
-
};
|
|
2867
|
-
const de_InvalidEndPointException = (output, context) => {
|
|
2868
|
-
const contents = {};
|
|
2869
|
-
if (output[_Me] != null) {
|
|
2870
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2871
|
-
}
|
|
2872
|
-
return contents;
|
|
2873
|
-
};
|
|
2874
|
-
const de_InvalidSchemeException = (output, context) => {
|
|
2875
|
-
const contents = {};
|
|
2876
|
-
if (output[_Me] != null) {
|
|
2877
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2878
|
-
}
|
|
2879
|
-
return contents;
|
|
2880
|
-
};
|
|
2881
|
-
const de_InvalidSecurityGroupException = (output, context) => {
|
|
2882
|
-
const contents = {};
|
|
2883
|
-
if (output[_Me] != null) {
|
|
2884
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2885
|
-
}
|
|
2886
|
-
return contents;
|
|
2887
|
-
};
|
|
2888
|
-
const de_InvalidSubnetException = (output, context) => {
|
|
2889
|
-
const contents = {};
|
|
2890
|
-
if (output[_Me] != null) {
|
|
2891
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2892
|
-
}
|
|
2893
|
-
return contents;
|
|
2894
|
-
};
|
|
2895
|
-
const de_LBCookieStickinessPolicies = (output, context) => {
|
|
2896
|
-
return (output || [])
|
|
2897
|
-
.filter((e) => e != null)
|
|
2898
|
-
.map((entry) => {
|
|
2899
|
-
return de_LBCookieStickinessPolicy(entry, context);
|
|
2900
|
-
});
|
|
2901
|
-
};
|
|
2902
|
-
const de_LBCookieStickinessPolicy = (output, context) => {
|
|
2903
|
-
const contents = {};
|
|
2904
|
-
if (output[_PN] != null) {
|
|
2905
|
-
contents[_PN] = (0, smithy_client_1.expectString)(output[_PN]);
|
|
2906
|
-
}
|
|
2907
|
-
if (output[_CEP] != null) {
|
|
2908
|
-
contents[_CEP] = (0, smithy_client_1.strictParseLong)(output[_CEP]);
|
|
2909
|
-
}
|
|
2910
|
-
return contents;
|
|
2911
|
-
};
|
|
2912
|
-
const de_Limit = (output, context) => {
|
|
2913
|
-
const contents = {};
|
|
2914
|
-
if (output[_N] != null) {
|
|
2915
|
-
contents[_N] = (0, smithy_client_1.expectString)(output[_N]);
|
|
2916
|
-
}
|
|
2917
|
-
if (output[_Ma] != null) {
|
|
2918
|
-
contents[_Ma] = (0, smithy_client_1.expectString)(output[_Ma]);
|
|
2919
|
-
}
|
|
2920
|
-
return contents;
|
|
2921
|
-
};
|
|
2922
|
-
const de_Limits = (output, context) => {
|
|
2923
|
-
return (output || [])
|
|
2924
|
-
.filter((e) => e != null)
|
|
2925
|
-
.map((entry) => {
|
|
2926
|
-
return de_Limit(entry, context);
|
|
2927
|
-
});
|
|
2928
|
-
};
|
|
2929
|
-
const de_Listener = (output, context) => {
|
|
2930
|
-
const contents = {};
|
|
2931
|
-
if (output[_P] != null) {
|
|
2932
|
-
contents[_P] = (0, smithy_client_1.expectString)(output[_P]);
|
|
2933
|
-
}
|
|
2934
|
-
if (output[_LBPo] != null) {
|
|
2935
|
-
contents[_LBPo] = (0, smithy_client_1.strictParseInt32)(output[_LBPo]);
|
|
2936
|
-
}
|
|
2937
|
-
if (output[_IP] != null) {
|
|
2938
|
-
contents[_IP] = (0, smithy_client_1.expectString)(output[_IP]);
|
|
2939
|
-
}
|
|
2940
|
-
if (output[_IPn] != null) {
|
|
2941
|
-
contents[_IPn] = (0, smithy_client_1.strictParseInt32)(output[_IPn]);
|
|
2942
|
-
}
|
|
2943
|
-
if (output[_SSLCI] != null) {
|
|
2944
|
-
contents[_SSLCI] = (0, smithy_client_1.expectString)(output[_SSLCI]);
|
|
2945
|
-
}
|
|
2946
|
-
return contents;
|
|
2947
|
-
};
|
|
2948
|
-
const de_ListenerDescription = (output, context) => {
|
|
2949
|
-
const contents = {};
|
|
2950
|
-
if (output[_Lis] != null) {
|
|
2951
|
-
contents[_Lis] = de_Listener(output[_Lis], context);
|
|
2952
|
-
}
|
|
2953
|
-
if (output.PolicyNames === "") {
|
|
2954
|
-
contents[_PNo] = [];
|
|
2955
|
-
}
|
|
2956
|
-
else if (output[_PNo] != null && output[_PNo][_m] != null) {
|
|
2957
|
-
contents[_PNo] = de_PolicyNames((0, smithy_client_1.getArrayIfSingleItem)(output[_PNo][_m]), context);
|
|
2958
|
-
}
|
|
2959
|
-
return contents;
|
|
2960
|
-
};
|
|
2961
|
-
const de_ListenerDescriptions = (output, context) => {
|
|
2962
|
-
return (output || [])
|
|
2963
|
-
.filter((e) => e != null)
|
|
2964
|
-
.map((entry) => {
|
|
2965
|
-
return de_ListenerDescription(entry, context);
|
|
2966
|
-
});
|
|
2967
|
-
};
|
|
2968
|
-
const de_ListenerNotFoundException = (output, context) => {
|
|
2969
|
-
const contents = {};
|
|
2970
|
-
if (output[_Me] != null) {
|
|
2971
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2972
|
-
}
|
|
2973
|
-
return contents;
|
|
2974
|
-
};
|
|
2975
|
-
const de_LoadBalancerAttributeNotFoundException = (output, context) => {
|
|
2976
|
-
const contents = {};
|
|
2977
|
-
if (output[_Me] != null) {
|
|
2978
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
2979
|
-
}
|
|
2980
|
-
return contents;
|
|
2981
|
-
};
|
|
2982
|
-
const de_LoadBalancerAttributes = (output, context) => {
|
|
2983
|
-
const contents = {};
|
|
2984
|
-
if (output[_CZLB] != null) {
|
|
2985
|
-
contents[_CZLB] = de_CrossZoneLoadBalancing(output[_CZLB], context);
|
|
2986
|
-
}
|
|
2987
|
-
if (output[_AL] != null) {
|
|
2988
|
-
contents[_AL] = de_AccessLog(output[_AL], context);
|
|
2989
|
-
}
|
|
2990
|
-
if (output[_CD] != null) {
|
|
2991
|
-
contents[_CD] = de_ConnectionDraining(output[_CD], context);
|
|
2992
|
-
}
|
|
2993
|
-
if (output[_CS] != null) {
|
|
2994
|
-
contents[_CS] = de_ConnectionSettings(output[_CS], context);
|
|
2995
|
-
}
|
|
2996
|
-
if (output.AdditionalAttributes === "") {
|
|
2997
|
-
contents[_AA] = [];
|
|
2998
|
-
}
|
|
2999
|
-
else if (output[_AA] != null && output[_AA][_m] != null) {
|
|
3000
|
-
contents[_AA] = de_AdditionalAttributes((0, smithy_client_1.getArrayIfSingleItem)(output[_AA][_m]), context);
|
|
3001
|
-
}
|
|
3002
|
-
return contents;
|
|
3003
|
-
};
|
|
3004
|
-
const de_LoadBalancerDescription = (output, context) => {
|
|
3005
|
-
const contents = {};
|
|
3006
|
-
if (output[_LBN] != null) {
|
|
3007
|
-
contents[_LBN] = (0, smithy_client_1.expectString)(output[_LBN]);
|
|
3008
|
-
}
|
|
3009
|
-
if (output[_DNSN] != null) {
|
|
3010
|
-
contents[_DNSN] = (0, smithy_client_1.expectString)(output[_DNSN]);
|
|
3011
|
-
}
|
|
3012
|
-
if (output[_CHZN] != null) {
|
|
3013
|
-
contents[_CHZN] = (0, smithy_client_1.expectString)(output[_CHZN]);
|
|
3014
|
-
}
|
|
3015
|
-
if (output[_CHZNID] != null) {
|
|
3016
|
-
contents[_CHZNID] = (0, smithy_client_1.expectString)(output[_CHZNID]);
|
|
3017
|
-
}
|
|
3018
|
-
if (output.ListenerDescriptions === "") {
|
|
3019
|
-
contents[_LD] = [];
|
|
3020
|
-
}
|
|
3021
|
-
else if (output[_LD] != null && output[_LD][_m] != null) {
|
|
3022
|
-
contents[_LD] = de_ListenerDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_LD][_m]), context);
|
|
3023
|
-
}
|
|
3024
|
-
if (output[_Po] != null) {
|
|
3025
|
-
contents[_Po] = de_Policies(output[_Po], context);
|
|
3026
|
-
}
|
|
3027
|
-
if (output.BackendServerDescriptions === "") {
|
|
3028
|
-
contents[_BSD] = [];
|
|
3029
|
-
}
|
|
3030
|
-
else if (output[_BSD] != null && output[_BSD][_m] != null) {
|
|
3031
|
-
contents[_BSD] = de_BackendServerDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_BSD][_m]), context);
|
|
3032
|
-
}
|
|
3033
|
-
if (output.AvailabilityZones === "") {
|
|
3034
|
-
contents[_AZ] = [];
|
|
3035
|
-
}
|
|
3036
|
-
else if (output[_AZ] != null && output[_AZ][_m] != null) {
|
|
3037
|
-
contents[_AZ] = de_AvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output[_AZ][_m]), context);
|
|
3038
|
-
}
|
|
3039
|
-
if (output.Subnets === "") {
|
|
3040
|
-
contents[_S] = [];
|
|
3041
|
-
}
|
|
3042
|
-
else if (output[_S] != null && output[_S][_m] != null) {
|
|
3043
|
-
contents[_S] = de_Subnets((0, smithy_client_1.getArrayIfSingleItem)(output[_S][_m]), context);
|
|
3044
|
-
}
|
|
3045
|
-
if (output[_VPCI] != null) {
|
|
3046
|
-
contents[_VPCI] = (0, smithy_client_1.expectString)(output[_VPCI]);
|
|
3047
|
-
}
|
|
3048
|
-
if (output.Instances === "") {
|
|
3049
|
-
contents[_I] = [];
|
|
3050
|
-
}
|
|
3051
|
-
else if (output[_I] != null && output[_I][_m] != null) {
|
|
3052
|
-
contents[_I] = de_Instances((0, smithy_client_1.getArrayIfSingleItem)(output[_I][_m]), context);
|
|
3053
|
-
}
|
|
3054
|
-
if (output[_HC] != null) {
|
|
3055
|
-
contents[_HC] = de_HealthCheck(output[_HC], context);
|
|
3056
|
-
}
|
|
3057
|
-
if (output[_SSG] != null) {
|
|
3058
|
-
contents[_SSG] = de_SourceSecurityGroup(output[_SSG], context);
|
|
3059
|
-
}
|
|
3060
|
-
if (output.SecurityGroups === "") {
|
|
3061
|
-
contents[_SG] = [];
|
|
3062
|
-
}
|
|
3063
|
-
else if (output[_SG] != null && output[_SG][_m] != null) {
|
|
3064
|
-
contents[_SG] = de_SecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output[_SG][_m]), context);
|
|
3065
|
-
}
|
|
3066
|
-
if (output[_CT] != null) {
|
|
3067
|
-
contents[_CT] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_CT]));
|
|
3068
|
-
}
|
|
3069
|
-
if (output[_Sc] != null) {
|
|
3070
|
-
contents[_Sc] = (0, smithy_client_1.expectString)(output[_Sc]);
|
|
3071
|
-
}
|
|
3072
|
-
return contents;
|
|
3073
|
-
};
|
|
3074
|
-
const de_LoadBalancerDescriptions = (output, context) => {
|
|
3075
|
-
return (output || [])
|
|
3076
|
-
.filter((e) => e != null)
|
|
3077
|
-
.map((entry) => {
|
|
3078
|
-
return de_LoadBalancerDescription(entry, context);
|
|
3079
|
-
});
|
|
3080
|
-
};
|
|
3081
|
-
const de_ModifyLoadBalancerAttributesOutput = (output, context) => {
|
|
3082
|
-
const contents = {};
|
|
3083
|
-
if (output[_LBN] != null) {
|
|
3084
|
-
contents[_LBN] = (0, smithy_client_1.expectString)(output[_LBN]);
|
|
3085
|
-
}
|
|
3086
|
-
if (output[_LBA] != null) {
|
|
3087
|
-
contents[_LBA] = de_LoadBalancerAttributes(output[_LBA], context);
|
|
3088
|
-
}
|
|
3089
|
-
return contents;
|
|
3090
|
-
};
|
|
3091
|
-
const de_OperationNotPermittedException = (output, context) => {
|
|
3092
|
-
const contents = {};
|
|
3093
|
-
if (output[_Me] != null) {
|
|
3094
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
3095
|
-
}
|
|
3096
|
-
return contents;
|
|
3097
|
-
};
|
|
3098
|
-
const de_Policies = (output, context) => {
|
|
3099
|
-
const contents = {};
|
|
3100
|
-
if (output.AppCookieStickinessPolicies === "") {
|
|
3101
|
-
contents[_ACSP] = [];
|
|
3102
|
-
}
|
|
3103
|
-
else if (output[_ACSP] != null && output[_ACSP][_m] != null) {
|
|
3104
|
-
contents[_ACSP] = de_AppCookieStickinessPolicies((0, smithy_client_1.getArrayIfSingleItem)(output[_ACSP][_m]), context);
|
|
3105
|
-
}
|
|
3106
|
-
if (output.LBCookieStickinessPolicies === "") {
|
|
3107
|
-
contents[_LBCSP] = [];
|
|
3108
|
-
}
|
|
3109
|
-
else if (output[_LBCSP] != null && output[_LBCSP][_m] != null) {
|
|
3110
|
-
contents[_LBCSP] = de_LBCookieStickinessPolicies((0, smithy_client_1.getArrayIfSingleItem)(output[_LBCSP][_m]), context);
|
|
3111
|
-
}
|
|
3112
|
-
if (output.OtherPolicies === "") {
|
|
3113
|
-
contents[_OP] = [];
|
|
3114
|
-
}
|
|
3115
|
-
else if (output[_OP] != null && output[_OP][_m] != null) {
|
|
3116
|
-
contents[_OP] = de_PolicyNames((0, smithy_client_1.getArrayIfSingleItem)(output[_OP][_m]), context);
|
|
3117
|
-
}
|
|
3118
|
-
return contents;
|
|
3119
|
-
};
|
|
3120
|
-
const de_PolicyAttributeDescription = (output, context) => {
|
|
3121
|
-
const contents = {};
|
|
3122
|
-
if (output[_AN] != null) {
|
|
3123
|
-
contents[_AN] = (0, smithy_client_1.expectString)(output[_AN]);
|
|
3124
|
-
}
|
|
3125
|
-
if (output[_AV] != null) {
|
|
3126
|
-
contents[_AV] = (0, smithy_client_1.expectString)(output[_AV]);
|
|
3127
|
-
}
|
|
3128
|
-
return contents;
|
|
3129
|
-
};
|
|
3130
|
-
const de_PolicyAttributeDescriptions = (output, context) => {
|
|
3131
|
-
return (output || [])
|
|
3132
|
-
.filter((e) => e != null)
|
|
3133
|
-
.map((entry) => {
|
|
3134
|
-
return de_PolicyAttributeDescription(entry, context);
|
|
3135
|
-
});
|
|
3136
|
-
};
|
|
3137
|
-
const de_PolicyAttributeTypeDescription = (output, context) => {
|
|
3138
|
-
const contents = {};
|
|
3139
|
-
if (output[_AN] != null) {
|
|
3140
|
-
contents[_AN] = (0, smithy_client_1.expectString)(output[_AN]);
|
|
3141
|
-
}
|
|
3142
|
-
if (output[_ATt] != null) {
|
|
3143
|
-
contents[_ATt] = (0, smithy_client_1.expectString)(output[_ATt]);
|
|
3144
|
-
}
|
|
3145
|
-
if (output[_D] != null) {
|
|
3146
|
-
contents[_D] = (0, smithy_client_1.expectString)(output[_D]);
|
|
3147
|
-
}
|
|
3148
|
-
if (output[_DV] != null) {
|
|
3149
|
-
contents[_DV] = (0, smithy_client_1.expectString)(output[_DV]);
|
|
3150
|
-
}
|
|
3151
|
-
if (output[_C] != null) {
|
|
3152
|
-
contents[_C] = (0, smithy_client_1.expectString)(output[_C]);
|
|
3153
|
-
}
|
|
3154
|
-
return contents;
|
|
3155
|
-
};
|
|
3156
|
-
const de_PolicyAttributeTypeDescriptions = (output, context) => {
|
|
3157
|
-
return (output || [])
|
|
3158
|
-
.filter((e) => e != null)
|
|
3159
|
-
.map((entry) => {
|
|
3160
|
-
return de_PolicyAttributeTypeDescription(entry, context);
|
|
3161
|
-
});
|
|
3162
|
-
};
|
|
3163
|
-
const de_PolicyDescription = (output, context) => {
|
|
3164
|
-
const contents = {};
|
|
3165
|
-
if (output[_PN] != null) {
|
|
3166
|
-
contents[_PN] = (0, smithy_client_1.expectString)(output[_PN]);
|
|
3167
|
-
}
|
|
3168
|
-
if (output[_PTN] != null) {
|
|
3169
|
-
contents[_PTN] = (0, smithy_client_1.expectString)(output[_PTN]);
|
|
3170
|
-
}
|
|
3171
|
-
if (output.PolicyAttributeDescriptions === "") {
|
|
3172
|
-
contents[_PAD] = [];
|
|
3173
|
-
}
|
|
3174
|
-
else if (output[_PAD] != null && output[_PAD][_m] != null) {
|
|
3175
|
-
contents[_PAD] = de_PolicyAttributeDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_PAD][_m]), context);
|
|
3176
|
-
}
|
|
3177
|
-
return contents;
|
|
3178
|
-
};
|
|
3179
|
-
const de_PolicyDescriptions = (output, context) => {
|
|
3180
|
-
return (output || [])
|
|
3181
|
-
.filter((e) => e != null)
|
|
3182
|
-
.map((entry) => {
|
|
3183
|
-
return de_PolicyDescription(entry, context);
|
|
3184
|
-
});
|
|
3185
|
-
};
|
|
3186
|
-
const de_PolicyNames = (output, context) => {
|
|
3187
|
-
return (output || [])
|
|
3188
|
-
.filter((e) => e != null)
|
|
3189
|
-
.map((entry) => {
|
|
3190
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3191
|
-
});
|
|
3192
|
-
};
|
|
3193
|
-
const de_PolicyNotFoundException = (output, context) => {
|
|
3194
|
-
const contents = {};
|
|
3195
|
-
if (output[_Me] != null) {
|
|
3196
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
3197
|
-
}
|
|
3198
|
-
return contents;
|
|
3199
|
-
};
|
|
3200
|
-
const de_PolicyTypeDescription = (output, context) => {
|
|
3201
|
-
const contents = {};
|
|
3202
|
-
if (output[_PTN] != null) {
|
|
3203
|
-
contents[_PTN] = (0, smithy_client_1.expectString)(output[_PTN]);
|
|
3204
|
-
}
|
|
3205
|
-
if (output[_D] != null) {
|
|
3206
|
-
contents[_D] = (0, smithy_client_1.expectString)(output[_D]);
|
|
3207
|
-
}
|
|
3208
|
-
if (output.PolicyAttributeTypeDescriptions === "") {
|
|
3209
|
-
contents[_PATD] = [];
|
|
3210
|
-
}
|
|
3211
|
-
else if (output[_PATD] != null && output[_PATD][_m] != null) {
|
|
3212
|
-
contents[_PATD] = de_PolicyAttributeTypeDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output[_PATD][_m]), context);
|
|
3213
|
-
}
|
|
3214
|
-
return contents;
|
|
3215
|
-
};
|
|
3216
|
-
const de_PolicyTypeDescriptions = (output, context) => {
|
|
3217
|
-
return (output || [])
|
|
3218
|
-
.filter((e) => e != null)
|
|
3219
|
-
.map((entry) => {
|
|
3220
|
-
return de_PolicyTypeDescription(entry, context);
|
|
3221
|
-
});
|
|
3222
|
-
};
|
|
3223
|
-
const de_PolicyTypeNotFoundException = (output, context) => {
|
|
3224
|
-
const contents = {};
|
|
3225
|
-
if (output[_Me] != null) {
|
|
3226
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
3227
|
-
}
|
|
3228
|
-
return contents;
|
|
3229
|
-
};
|
|
3230
|
-
const de_RegisterEndPointsOutput = (output, context) => {
|
|
3231
|
-
const contents = {};
|
|
3232
|
-
if (output.Instances === "") {
|
|
3233
|
-
contents[_I] = [];
|
|
3234
|
-
}
|
|
3235
|
-
else if (output[_I] != null && output[_I][_m] != null) {
|
|
3236
|
-
contents[_I] = de_Instances((0, smithy_client_1.getArrayIfSingleItem)(output[_I][_m]), context);
|
|
3237
|
-
}
|
|
3238
|
-
return contents;
|
|
3239
|
-
};
|
|
3240
|
-
const de_RemoveAvailabilityZonesOutput = (output, context) => {
|
|
3241
|
-
const contents = {};
|
|
3242
|
-
if (output.AvailabilityZones === "") {
|
|
3243
|
-
contents[_AZ] = [];
|
|
3244
|
-
}
|
|
3245
|
-
else if (output[_AZ] != null && output[_AZ][_m] != null) {
|
|
3246
|
-
contents[_AZ] = de_AvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output[_AZ][_m]), context);
|
|
3247
|
-
}
|
|
3248
|
-
return contents;
|
|
3249
|
-
};
|
|
3250
|
-
const de_RemoveTagsOutput = (output, context) => {
|
|
3251
|
-
const contents = {};
|
|
3252
|
-
return contents;
|
|
3253
|
-
};
|
|
3254
|
-
const de_SecurityGroups = (output, context) => {
|
|
3255
|
-
return (output || [])
|
|
3256
|
-
.filter((e) => e != null)
|
|
3257
|
-
.map((entry) => {
|
|
3258
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3259
|
-
});
|
|
3260
|
-
};
|
|
3261
|
-
const de_SetLoadBalancerListenerSSLCertificateOutput = (output, context) => {
|
|
3262
|
-
const contents = {};
|
|
3263
|
-
return contents;
|
|
3264
|
-
};
|
|
3265
|
-
const de_SetLoadBalancerPoliciesForBackendServerOutput = (output, context) => {
|
|
3266
|
-
const contents = {};
|
|
3267
|
-
return contents;
|
|
3268
|
-
};
|
|
3269
|
-
const de_SetLoadBalancerPoliciesOfListenerOutput = (output, context) => {
|
|
3270
|
-
const contents = {};
|
|
3271
|
-
return contents;
|
|
3272
|
-
};
|
|
3273
|
-
const de_SourceSecurityGroup = (output, context) => {
|
|
3274
|
-
const contents = {};
|
|
3275
|
-
if (output[_OA] != null) {
|
|
3276
|
-
contents[_OA] = (0, smithy_client_1.expectString)(output[_OA]);
|
|
3277
|
-
}
|
|
3278
|
-
if (output[_GN] != null) {
|
|
3279
|
-
contents[_GN] = (0, smithy_client_1.expectString)(output[_GN]);
|
|
3280
|
-
}
|
|
3281
|
-
return contents;
|
|
3282
|
-
};
|
|
3283
|
-
const de_SubnetNotFoundException = (output, context) => {
|
|
3284
|
-
const contents = {};
|
|
3285
|
-
if (output[_Me] != null) {
|
|
3286
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
3287
|
-
}
|
|
3288
|
-
return contents;
|
|
3289
|
-
};
|
|
3290
|
-
const de_Subnets = (output, context) => {
|
|
3291
|
-
return (output || [])
|
|
3292
|
-
.filter((e) => e != null)
|
|
3293
|
-
.map((entry) => {
|
|
3294
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3295
|
-
});
|
|
3296
|
-
};
|
|
3297
|
-
const de_Tag = (output, context) => {
|
|
3298
|
-
const contents = {};
|
|
3299
|
-
if (output[_K] != null) {
|
|
3300
|
-
contents[_K] = (0, smithy_client_1.expectString)(output[_K]);
|
|
3301
|
-
}
|
|
3302
|
-
if (output[_Va] != null) {
|
|
3303
|
-
contents[_Va] = (0, smithy_client_1.expectString)(output[_Va]);
|
|
3304
|
-
}
|
|
3305
|
-
return contents;
|
|
3306
|
-
};
|
|
3307
|
-
const de_TagDescription = (output, context) => {
|
|
3308
|
-
const contents = {};
|
|
3309
|
-
if (output[_LBN] != null) {
|
|
3310
|
-
contents[_LBN] = (0, smithy_client_1.expectString)(output[_LBN]);
|
|
3311
|
-
}
|
|
3312
|
-
if (output.Tags === "") {
|
|
3313
|
-
contents[_T] = [];
|
|
3314
|
-
}
|
|
3315
|
-
else if (output[_T] != null && output[_T][_m] != null) {
|
|
3316
|
-
contents[_T] = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output[_T][_m]), context);
|
|
3317
|
-
}
|
|
3318
|
-
return contents;
|
|
3319
|
-
};
|
|
3320
|
-
const de_TagDescriptions = (output, context) => {
|
|
3321
|
-
return (output || [])
|
|
3322
|
-
.filter((e) => e != null)
|
|
3323
|
-
.map((entry) => {
|
|
3324
|
-
return de_TagDescription(entry, context);
|
|
3325
|
-
});
|
|
3326
|
-
};
|
|
3327
|
-
const de_TagList = (output, context) => {
|
|
3328
|
-
return (output || [])
|
|
3329
|
-
.filter((e) => e != null)
|
|
3330
|
-
.map((entry) => {
|
|
3331
|
-
return de_Tag(entry, context);
|
|
3332
|
-
});
|
|
3333
|
-
};
|
|
3334
|
-
const de_TooManyAccessPointsException = (output, context) => {
|
|
3335
|
-
const contents = {};
|
|
3336
|
-
if (output[_Me] != null) {
|
|
3337
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
3338
|
-
}
|
|
3339
|
-
return contents;
|
|
3340
|
-
};
|
|
3341
|
-
const de_TooManyPoliciesException = (output, context) => {
|
|
3342
|
-
const contents = {};
|
|
3343
|
-
if (output[_Me] != null) {
|
|
3344
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
3345
|
-
}
|
|
3346
|
-
return contents;
|
|
3347
|
-
};
|
|
3348
|
-
const de_TooManyTagsException = (output, context) => {
|
|
3349
|
-
const contents = {};
|
|
3350
|
-
if (output[_Me] != null) {
|
|
3351
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
3352
|
-
}
|
|
3353
|
-
return contents;
|
|
3354
|
-
};
|
|
3355
|
-
const de_UnsupportedProtocolException = (output, context) => {
|
|
3356
|
-
const contents = {};
|
|
3357
|
-
if (output[_Me] != null) {
|
|
3358
|
-
contents[_Me] = (0, smithy_client_1.expectString)(output[_Me]);
|
|
3359
|
-
}
|
|
3360
|
-
return contents;
|
|
3361
|
-
};
|
|
3362
|
-
const deserializeMetadata = (output) => ({
|
|
3363
|
-
httpStatusCode: output.statusCode,
|
|
3364
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3365
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3366
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
3367
|
-
});
|
|
3368
|
-
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3369
|
-
const throwDefaultError = (0, smithy_client_1.withBaseException)(ElasticLoadBalancingServiceException_1.ElasticLoadBalancingServiceException);
|
|
3370
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3371
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3372
|
-
const contents = {
|
|
3373
|
-
protocol,
|
|
3374
|
-
hostname,
|
|
3375
|
-
port,
|
|
3376
|
-
method: "POST",
|
|
3377
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
3378
|
-
headers,
|
|
3379
|
-
};
|
|
3380
|
-
if (resolvedHostname !== undefined) {
|
|
3381
|
-
contents.hostname = resolvedHostname;
|
|
3382
|
-
}
|
|
3383
|
-
if (body !== undefined) {
|
|
3384
|
-
contents.body = body;
|
|
3385
|
-
}
|
|
3386
|
-
return new protocol_http_1.HttpRequest(contents);
|
|
3387
|
-
};
|
|
3388
|
-
const SHARED_HEADERS = {
|
|
3389
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
3390
|
-
};
|
|
3391
|
-
const _ = "2012-06-01";
|
|
3392
|
-
const _A = "Action";
|
|
3393
|
-
const _AA = "AdditionalAttributes";
|
|
3394
|
-
const _ACSP = "AppCookieStickinessPolicies";
|
|
3395
|
-
const _AL = "AccessLog";
|
|
3396
|
-
const _ALBTS = "AttachLoadBalancerToSubnets";
|
|
3397
|
-
const _AN = "AttributeName";
|
|
3398
|
-
const _ASGTLB = "ApplySecurityGroupsToLoadBalancer";
|
|
3399
|
-
const _AT = "AddTags";
|
|
3400
|
-
const _ATt = "AttributeType";
|
|
3401
|
-
const _AV = "AttributeValue";
|
|
3402
|
-
const _AZ = "AvailabilityZones";
|
|
3403
|
-
const _BSD = "BackendServerDescriptions";
|
|
3404
|
-
const _C = "Cardinality";
|
|
3405
|
-
const _CACSP = "CreateAppCookieStickinessPolicy";
|
|
3406
|
-
const _CD = "ConnectionDraining";
|
|
3407
|
-
const _CEP = "CookieExpirationPeriod";
|
|
3408
|
-
const _CHC = "ConfigureHealthCheck";
|
|
3409
|
-
const _CHZN = "CanonicalHostedZoneName";
|
|
3410
|
-
const _CHZNID = "CanonicalHostedZoneNameID";
|
|
3411
|
-
const _CLB = "CreateLoadBalancer";
|
|
3412
|
-
const _CLBCSP = "CreateLBCookieStickinessPolicy";
|
|
3413
|
-
const _CLBL = "CreateLoadBalancerListeners";
|
|
3414
|
-
const _CLBP = "CreateLoadBalancerPolicy";
|
|
3415
|
-
const _CN = "CookieName";
|
|
3416
|
-
const _CS = "ConnectionSettings";
|
|
3417
|
-
const _CT = "CreatedTime";
|
|
3418
|
-
const _CZLB = "CrossZoneLoadBalancing";
|
|
3419
|
-
const _D = "Description";
|
|
3420
|
-
const _DAL = "DescribeAccountLimits";
|
|
3421
|
-
const _DAZFLB = "DisableAvailabilityZonesForLoadBalancer";
|
|
3422
|
-
const _DIFLB = "DeregisterInstancesFromLoadBalancer";
|
|
3423
|
-
const _DIH = "DescribeInstanceHealth";
|
|
3424
|
-
const _DLB = "DeleteLoadBalancer";
|
|
3425
|
-
const _DLBA = "DescribeLoadBalancerAttributes";
|
|
3426
|
-
const _DLBFS = "DetachLoadBalancerFromSubnets";
|
|
3427
|
-
const _DLBL = "DeleteLoadBalancerListeners";
|
|
3428
|
-
const _DLBP = "DeleteLoadBalancerPolicy";
|
|
3429
|
-
const _DLBPT = "DescribeLoadBalancerPolicyTypes";
|
|
3430
|
-
const _DLBPe = "DescribeLoadBalancerPolicies";
|
|
3431
|
-
const _DLBe = "DescribeLoadBalancers";
|
|
3432
|
-
const _DNSN = "DNSName";
|
|
3433
|
-
const _DT = "DescribeTags";
|
|
3434
|
-
const _DV = "DefaultValue";
|
|
3435
|
-
const _E = "Enabled";
|
|
3436
|
-
const _EAZFLB = "EnableAvailabilityZonesForLoadBalancer";
|
|
3437
|
-
const _EI = "EmitInterval";
|
|
3438
|
-
const _GN = "GroupName";
|
|
3439
|
-
const _HC = "HealthCheck";
|
|
3440
|
-
const _HT = "HealthyThreshold";
|
|
3441
|
-
const _I = "Instances";
|
|
3442
|
-
const _II = "InstanceId";
|
|
3443
|
-
const _IP = "InstanceProtocol";
|
|
3444
|
-
const _IPn = "InstancePort";
|
|
3445
|
-
const _IS = "InstanceStates";
|
|
3446
|
-
const _IT = "IdleTimeout";
|
|
3447
|
-
const _In = "Interval";
|
|
3448
|
-
const _K = "Key";
|
|
3449
|
-
const _L = "Listeners";
|
|
3450
|
-
const _LBA = "LoadBalancerAttributes";
|
|
3451
|
-
const _LBCSP = "LBCookieStickinessPolicies";
|
|
3452
|
-
const _LBD = "LoadBalancerDescriptions";
|
|
3453
|
-
const _LBN = "LoadBalancerName";
|
|
3454
|
-
const _LBNo = "LoadBalancerNames";
|
|
3455
|
-
const _LBP = "LoadBalancerPorts";
|
|
3456
|
-
const _LBPo = "LoadBalancerPort";
|
|
3457
|
-
const _LD = "ListenerDescriptions";
|
|
3458
|
-
const _Li = "Limits";
|
|
3459
|
-
const _Lis = "Listener";
|
|
3460
|
-
const _M = "Marker";
|
|
3461
|
-
const _MLBA = "ModifyLoadBalancerAttributes";
|
|
3462
|
-
const _Ma = "Max";
|
|
3463
|
-
const _Me = "Message";
|
|
3464
|
-
const _N = "Name";
|
|
3465
|
-
const _NM = "NextMarker";
|
|
3466
|
-
const _OA = "OwnerAlias";
|
|
3467
|
-
const _OP = "OtherPolicies";
|
|
3468
|
-
const _P = "Protocol";
|
|
3469
|
-
const _PA = "PolicyAttributes";
|
|
3470
|
-
const _PAD = "PolicyAttributeDescriptions";
|
|
3471
|
-
const _PATD = "PolicyAttributeTypeDescriptions";
|
|
3472
|
-
const _PD = "PolicyDescriptions";
|
|
3473
|
-
const _PN = "PolicyName";
|
|
3474
|
-
const _PNo = "PolicyNames";
|
|
3475
|
-
const _PS = "PageSize";
|
|
3476
|
-
const _PTD = "PolicyTypeDescriptions";
|
|
3477
|
-
const _PTN = "PolicyTypeName";
|
|
3478
|
-
const _PTNo = "PolicyTypeNames";
|
|
3479
|
-
const _Po = "Policies";
|
|
3480
|
-
const _RC = "ReasonCode";
|
|
3481
|
-
const _RIWLB = "RegisterInstancesWithLoadBalancer";
|
|
3482
|
-
const _RT = "RemoveTags";
|
|
3483
|
-
const _S = "Subnets";
|
|
3484
|
-
const _SBN = "S3BucketName";
|
|
3485
|
-
const _SBP = "S3BucketPrefix";
|
|
3486
|
-
const _SG = "SecurityGroups";
|
|
3487
|
-
const _SLBLSSLC = "SetLoadBalancerListenerSSLCertificate";
|
|
3488
|
-
const _SLBPFBS = "SetLoadBalancerPoliciesForBackendServer";
|
|
3489
|
-
const _SLBPOL = "SetLoadBalancerPoliciesOfListener";
|
|
3490
|
-
const _SSG = "SourceSecurityGroup";
|
|
3491
|
-
const _SSLCI = "SSLCertificateId";
|
|
3492
|
-
const _Sc = "Scheme";
|
|
3493
|
-
const _St = "State";
|
|
3494
|
-
const _T = "Tags";
|
|
3495
|
-
const _TD = "TagDescriptions";
|
|
3496
|
-
const _Ta = "Target";
|
|
3497
|
-
const _Ti = "Timeout";
|
|
3498
|
-
const _UT = "UnhealthyThreshold";
|
|
3499
|
-
const _V = "Version";
|
|
3500
|
-
const _VPCI = "VPCId";
|
|
3501
|
-
const _Va = "Value";
|
|
3502
|
-
const _m = "member";
|
|
3503
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3504
|
-
if (encoded.length) {
|
|
3505
|
-
const parser = new fast_xml_parser_1.XMLParser({
|
|
3506
|
-
attributeNamePrefix: "",
|
|
3507
|
-
htmlEntities: true,
|
|
3508
|
-
ignoreAttributes: false,
|
|
3509
|
-
ignoreDeclaration: true,
|
|
3510
|
-
parseTagValue: false,
|
|
3511
|
-
trimValues: false,
|
|
3512
|
-
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
3513
|
-
});
|
|
3514
|
-
parser.addEntity("#xD", "\r");
|
|
3515
|
-
parser.addEntity("#10", "\n");
|
|
3516
|
-
const parsedObj = parser.parse(encoded);
|
|
3517
|
-
const textNodeName = "#text";
|
|
3518
|
-
const key = Object.keys(parsedObj)[0];
|
|
3519
|
-
const parsedObjToReturn = parsedObj[key];
|
|
3520
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
3521
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
3522
|
-
delete parsedObjToReturn[textNodeName];
|
|
3523
|
-
}
|
|
3524
|
-
return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
|
|
3525
|
-
}
|
|
3526
|
-
return {};
|
|
3527
|
-
});
|
|
3528
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
3529
|
-
const value = await parseBody(errorBody, context);
|
|
3530
|
-
if (value.Error) {
|
|
3531
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
3532
|
-
}
|
|
3533
|
-
return value;
|
|
3534
|
-
};
|
|
3535
|
-
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
3536
|
-
.map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
|
|
3537
|
-
.join("&");
|
|
3538
|
-
const loadQueryErrorCode = (output, data) => {
|
|
3539
|
-
if (data.Error?.Code !== undefined) {
|
|
3540
|
-
return data.Error.Code;
|
|
3541
|
-
}
|
|
3542
|
-
if (output.statusCode == 404) {
|
|
3543
|
-
return "NotFound";
|
|
3544
|
-
}
|
|
3545
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|