@aws-sdk/client-elastic-load-balancing 3.306.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AddTagsCommand.js +2 -2
- package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +2 -2
- package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js +2 -2
- package/dist-cjs/commands/ConfigureHealthCheckCommand.js +2 -2
- package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +2 -2
- package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +2 -2
- package/dist-cjs/commands/CreateLoadBalancerCommand.js +2 -2
- package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js +2 -2
- package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js +2 -2
- package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js +2 -2
- package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +2 -2
- package/dist-cjs/commands/DescribeInstanceHealthCommand.js +2 -2
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +2 -2
- package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js +2 -2
- package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +2 -2
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +2 -2
- package/dist-cjs/commands/DescribeTagsCommand.js +2 -2
- package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +2 -2
- package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +2 -2
- package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +2 -2
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +2 -2
- package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +2 -2
- package/dist-cjs/commands/RemoveTagsCommand.js +2 -2
- package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +2 -2
- package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +2 -2
- package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +2 -2
- package/dist-cjs/protocols/Aws_query.js +599 -599
- package/dist-es/commands/AddTagsCommand.js +3 -3
- package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js +3 -3
- package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js +3 -3
- package/dist-es/commands/ConfigureHealthCheckCommand.js +3 -3
- package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +3 -3
- package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +3 -3
- package/dist-es/commands/CreateLoadBalancerCommand.js +3 -3
- package/dist-es/commands/CreateLoadBalancerListenersCommand.js +3 -3
- package/dist-es/commands/CreateLoadBalancerPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteLoadBalancerCommand.js +3 -3
- package/dist-es/commands/DeleteLoadBalancerListenersCommand.js +3 -3
- package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js +3 -3
- package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js +3 -3
- package/dist-es/commands/DescribeAccountLimitsCommand.js +3 -3
- package/dist-es/commands/DescribeInstanceHealthCommand.js +3 -3
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +3 -3
- package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js +3 -3
- package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js +3 -3
- package/dist-es/commands/DescribeLoadBalancersCommand.js +3 -3
- package/dist-es/commands/DescribeTagsCommand.js +3 -3
- package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js +3 -3
- package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +3 -3
- package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +3 -3
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +3 -3
- package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +3 -3
- package/dist-es/commands/RemoveTagsCommand.js +3 -3
- package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js +3 -3
- package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +3 -3
- package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js +3 -3
- package/dist-es/protocols/Aws_query.js +539 -539
- package/dist-types/protocols/Aws_query.d.ts +232 -58
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +58 -58
- package/package.json +6 -6
|
@@ -3,368 +3,368 @@ import { decorateServiceException as __decorateServiceException, expectNonNull a
|
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { ElasticLoadBalancingServiceException as __BaseException } from "../models/ElasticLoadBalancingServiceException";
|
|
5
5
|
import { AccessPointNotFoundException, CertificateNotFoundException, DependencyThrottleException, DuplicateAccessPointNameException, DuplicateListenerException, DuplicatePolicyNameException, DuplicateTagKeysException, InvalidConfigurationRequestException, InvalidEndPointException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, ListenerNotFoundException, LoadBalancerAttributeNotFoundException, OperationNotPermittedException, PolicyNotFoundException, PolicyTypeNotFoundException, SubnetNotFoundException, TooManyAccessPointsException, TooManyPoliciesException, TooManyTagsException, UnsupportedProtocolException, } from "../models/models_0";
|
|
6
|
-
export const
|
|
6
|
+
export const se_AddTagsCommand = async (input, context) => {
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/x-www-form-urlencoded",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
11
|
body = buildFormUrlencodedString({
|
|
12
|
-
...
|
|
12
|
+
...se_AddTagsInput(input, context),
|
|
13
13
|
Action: "AddTags",
|
|
14
14
|
Version: "2012-06-01",
|
|
15
15
|
});
|
|
16
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
17
|
};
|
|
18
|
-
export const
|
|
18
|
+
export const se_ApplySecurityGroupsToLoadBalancerCommand = async (input, context) => {
|
|
19
19
|
const headers = {
|
|
20
20
|
"content-type": "application/x-www-form-urlencoded",
|
|
21
21
|
};
|
|
22
22
|
let body;
|
|
23
23
|
body = buildFormUrlencodedString({
|
|
24
|
-
...
|
|
24
|
+
...se_ApplySecurityGroupsToLoadBalancerInput(input, context),
|
|
25
25
|
Action: "ApplySecurityGroupsToLoadBalancer",
|
|
26
26
|
Version: "2012-06-01",
|
|
27
27
|
});
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
29
|
};
|
|
30
|
-
export const
|
|
30
|
+
export const se_AttachLoadBalancerToSubnetsCommand = async (input, context) => {
|
|
31
31
|
const headers = {
|
|
32
32
|
"content-type": "application/x-www-form-urlencoded",
|
|
33
33
|
};
|
|
34
34
|
let body;
|
|
35
35
|
body = buildFormUrlencodedString({
|
|
36
|
-
...
|
|
36
|
+
...se_AttachLoadBalancerToSubnetsInput(input, context),
|
|
37
37
|
Action: "AttachLoadBalancerToSubnets",
|
|
38
38
|
Version: "2012-06-01",
|
|
39
39
|
});
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const se_ConfigureHealthCheckCommand = async (input, context) => {
|
|
43
43
|
const headers = {
|
|
44
44
|
"content-type": "application/x-www-form-urlencoded",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
47
|
body = buildFormUrlencodedString({
|
|
48
|
-
...
|
|
48
|
+
...se_ConfigureHealthCheckInput(input, context),
|
|
49
49
|
Action: "ConfigureHealthCheck",
|
|
50
50
|
Version: "2012-06-01",
|
|
51
51
|
});
|
|
52
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
53
|
};
|
|
54
|
-
export const
|
|
54
|
+
export const se_CreateAppCookieStickinessPolicyCommand = async (input, context) => {
|
|
55
55
|
const headers = {
|
|
56
56
|
"content-type": "application/x-www-form-urlencoded",
|
|
57
57
|
};
|
|
58
58
|
let body;
|
|
59
59
|
body = buildFormUrlencodedString({
|
|
60
|
-
...
|
|
60
|
+
...se_CreateAppCookieStickinessPolicyInput(input, context),
|
|
61
61
|
Action: "CreateAppCookieStickinessPolicy",
|
|
62
62
|
Version: "2012-06-01",
|
|
63
63
|
});
|
|
64
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
65
|
};
|
|
66
|
-
export const
|
|
66
|
+
export const se_CreateLBCookieStickinessPolicyCommand = async (input, context) => {
|
|
67
67
|
const headers = {
|
|
68
68
|
"content-type": "application/x-www-form-urlencoded",
|
|
69
69
|
};
|
|
70
70
|
let body;
|
|
71
71
|
body = buildFormUrlencodedString({
|
|
72
|
-
...
|
|
72
|
+
...se_CreateLBCookieStickinessPolicyInput(input, context),
|
|
73
73
|
Action: "CreateLBCookieStickinessPolicy",
|
|
74
74
|
Version: "2012-06-01",
|
|
75
75
|
});
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
export const
|
|
78
|
+
export const se_CreateLoadBalancerCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-www-form-urlencoded",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
83
|
body = buildFormUrlencodedString({
|
|
84
|
-
...
|
|
84
|
+
...se_CreateAccessPointInput(input, context),
|
|
85
85
|
Action: "CreateLoadBalancer",
|
|
86
86
|
Version: "2012-06-01",
|
|
87
87
|
});
|
|
88
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
89
|
};
|
|
90
|
-
export const
|
|
90
|
+
export const se_CreateLoadBalancerListenersCommand = async (input, context) => {
|
|
91
91
|
const headers = {
|
|
92
92
|
"content-type": "application/x-www-form-urlencoded",
|
|
93
93
|
};
|
|
94
94
|
let body;
|
|
95
95
|
body = buildFormUrlencodedString({
|
|
96
|
-
...
|
|
96
|
+
...se_CreateLoadBalancerListenerInput(input, context),
|
|
97
97
|
Action: "CreateLoadBalancerListeners",
|
|
98
98
|
Version: "2012-06-01",
|
|
99
99
|
});
|
|
100
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
101
|
};
|
|
102
|
-
export const
|
|
102
|
+
export const se_CreateLoadBalancerPolicyCommand = async (input, context) => {
|
|
103
103
|
const headers = {
|
|
104
104
|
"content-type": "application/x-www-form-urlencoded",
|
|
105
105
|
};
|
|
106
106
|
let body;
|
|
107
107
|
body = buildFormUrlencodedString({
|
|
108
|
-
...
|
|
108
|
+
...se_CreateLoadBalancerPolicyInput(input, context),
|
|
109
109
|
Action: "CreateLoadBalancerPolicy",
|
|
110
110
|
Version: "2012-06-01",
|
|
111
111
|
});
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
|
-
export const
|
|
114
|
+
export const se_DeleteLoadBalancerCommand = async (input, context) => {
|
|
115
115
|
const headers = {
|
|
116
116
|
"content-type": "application/x-www-form-urlencoded",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
119
|
body = buildFormUrlencodedString({
|
|
120
|
-
...
|
|
120
|
+
...se_DeleteAccessPointInput(input, context),
|
|
121
121
|
Action: "DeleteLoadBalancer",
|
|
122
122
|
Version: "2012-06-01",
|
|
123
123
|
});
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
|
-
export const
|
|
126
|
+
export const se_DeleteLoadBalancerListenersCommand = async (input, context) => {
|
|
127
127
|
const headers = {
|
|
128
128
|
"content-type": "application/x-www-form-urlencoded",
|
|
129
129
|
};
|
|
130
130
|
let body;
|
|
131
131
|
body = buildFormUrlencodedString({
|
|
132
|
-
...
|
|
132
|
+
...se_DeleteLoadBalancerListenerInput(input, context),
|
|
133
133
|
Action: "DeleteLoadBalancerListeners",
|
|
134
134
|
Version: "2012-06-01",
|
|
135
135
|
});
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
|
-
export const
|
|
138
|
+
export const se_DeleteLoadBalancerPolicyCommand = async (input, context) => {
|
|
139
139
|
const headers = {
|
|
140
140
|
"content-type": "application/x-www-form-urlencoded",
|
|
141
141
|
};
|
|
142
142
|
let body;
|
|
143
143
|
body = buildFormUrlencodedString({
|
|
144
|
-
...
|
|
144
|
+
...se_DeleteLoadBalancerPolicyInput(input, context),
|
|
145
145
|
Action: "DeleteLoadBalancerPolicy",
|
|
146
146
|
Version: "2012-06-01",
|
|
147
147
|
});
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
|
-
export const
|
|
150
|
+
export const se_DeregisterInstancesFromLoadBalancerCommand = async (input, context) => {
|
|
151
151
|
const headers = {
|
|
152
152
|
"content-type": "application/x-www-form-urlencoded",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
155
|
body = buildFormUrlencodedString({
|
|
156
|
-
...
|
|
156
|
+
...se_DeregisterEndPointsInput(input, context),
|
|
157
157
|
Action: "DeregisterInstancesFromLoadBalancer",
|
|
158
158
|
Version: "2012-06-01",
|
|
159
159
|
});
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
|
-
export const
|
|
162
|
+
export const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
163
163
|
const headers = {
|
|
164
164
|
"content-type": "application/x-www-form-urlencoded",
|
|
165
165
|
};
|
|
166
166
|
let body;
|
|
167
167
|
body = buildFormUrlencodedString({
|
|
168
|
-
...
|
|
168
|
+
...se_DescribeAccountLimitsInput(input, context),
|
|
169
169
|
Action: "DescribeAccountLimits",
|
|
170
170
|
Version: "2012-06-01",
|
|
171
171
|
});
|
|
172
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
173
|
};
|
|
174
|
-
export const
|
|
174
|
+
export const se_DescribeInstanceHealthCommand = async (input, context) => {
|
|
175
175
|
const headers = {
|
|
176
176
|
"content-type": "application/x-www-form-urlencoded",
|
|
177
177
|
};
|
|
178
178
|
let body;
|
|
179
179
|
body = buildFormUrlencodedString({
|
|
180
|
-
...
|
|
180
|
+
...se_DescribeEndPointStateInput(input, context),
|
|
181
181
|
Action: "DescribeInstanceHealth",
|
|
182
182
|
Version: "2012-06-01",
|
|
183
183
|
});
|
|
184
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
185
|
};
|
|
186
|
-
export const
|
|
186
|
+
export const se_DescribeLoadBalancerAttributesCommand = async (input, context) => {
|
|
187
187
|
const headers = {
|
|
188
188
|
"content-type": "application/x-www-form-urlencoded",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
191
|
body = buildFormUrlencodedString({
|
|
192
|
-
...
|
|
192
|
+
...se_DescribeLoadBalancerAttributesInput(input, context),
|
|
193
193
|
Action: "DescribeLoadBalancerAttributes",
|
|
194
194
|
Version: "2012-06-01",
|
|
195
195
|
});
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
|
-
export const
|
|
198
|
+
export const se_DescribeLoadBalancerPoliciesCommand = async (input, context) => {
|
|
199
199
|
const headers = {
|
|
200
200
|
"content-type": "application/x-www-form-urlencoded",
|
|
201
201
|
};
|
|
202
202
|
let body;
|
|
203
203
|
body = buildFormUrlencodedString({
|
|
204
|
-
...
|
|
204
|
+
...se_DescribeLoadBalancerPoliciesInput(input, context),
|
|
205
205
|
Action: "DescribeLoadBalancerPolicies",
|
|
206
206
|
Version: "2012-06-01",
|
|
207
207
|
});
|
|
208
208
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
209
|
};
|
|
210
|
-
export const
|
|
210
|
+
export const se_DescribeLoadBalancerPolicyTypesCommand = async (input, context) => {
|
|
211
211
|
const headers = {
|
|
212
212
|
"content-type": "application/x-www-form-urlencoded",
|
|
213
213
|
};
|
|
214
214
|
let body;
|
|
215
215
|
body = buildFormUrlencodedString({
|
|
216
|
-
...
|
|
216
|
+
...se_DescribeLoadBalancerPolicyTypesInput(input, context),
|
|
217
217
|
Action: "DescribeLoadBalancerPolicyTypes",
|
|
218
218
|
Version: "2012-06-01",
|
|
219
219
|
});
|
|
220
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
221
|
};
|
|
222
|
-
export const
|
|
222
|
+
export const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
223
223
|
const headers = {
|
|
224
224
|
"content-type": "application/x-www-form-urlencoded",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
227
|
body = buildFormUrlencodedString({
|
|
228
|
-
...
|
|
228
|
+
...se_DescribeAccessPointsInput(input, context),
|
|
229
229
|
Action: "DescribeLoadBalancers",
|
|
230
230
|
Version: "2012-06-01",
|
|
231
231
|
});
|
|
232
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
233
|
};
|
|
234
|
-
export const
|
|
234
|
+
export const se_DescribeTagsCommand = async (input, context) => {
|
|
235
235
|
const headers = {
|
|
236
236
|
"content-type": "application/x-www-form-urlencoded",
|
|
237
237
|
};
|
|
238
238
|
let body;
|
|
239
239
|
body = buildFormUrlencodedString({
|
|
240
|
-
...
|
|
240
|
+
...se_DescribeTagsInput(input, context),
|
|
241
241
|
Action: "DescribeTags",
|
|
242
242
|
Version: "2012-06-01",
|
|
243
243
|
});
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
|
-
export const
|
|
246
|
+
export const se_DetachLoadBalancerFromSubnetsCommand = async (input, context) => {
|
|
247
247
|
const headers = {
|
|
248
248
|
"content-type": "application/x-www-form-urlencoded",
|
|
249
249
|
};
|
|
250
250
|
let body;
|
|
251
251
|
body = buildFormUrlencodedString({
|
|
252
|
-
...
|
|
252
|
+
...se_DetachLoadBalancerFromSubnetsInput(input, context),
|
|
253
253
|
Action: "DetachLoadBalancerFromSubnets",
|
|
254
254
|
Version: "2012-06-01",
|
|
255
255
|
});
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
|
-
export const
|
|
258
|
+
export const se_DisableAvailabilityZonesForLoadBalancerCommand = async (input, context) => {
|
|
259
259
|
const headers = {
|
|
260
260
|
"content-type": "application/x-www-form-urlencoded",
|
|
261
261
|
};
|
|
262
262
|
let body;
|
|
263
263
|
body = buildFormUrlencodedString({
|
|
264
|
-
...
|
|
264
|
+
...se_RemoveAvailabilityZonesInput(input, context),
|
|
265
265
|
Action: "DisableAvailabilityZonesForLoadBalancer",
|
|
266
266
|
Version: "2012-06-01",
|
|
267
267
|
});
|
|
268
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
269
|
};
|
|
270
|
-
export const
|
|
270
|
+
export const se_EnableAvailabilityZonesForLoadBalancerCommand = async (input, context) => {
|
|
271
271
|
const headers = {
|
|
272
272
|
"content-type": "application/x-www-form-urlencoded",
|
|
273
273
|
};
|
|
274
274
|
let body;
|
|
275
275
|
body = buildFormUrlencodedString({
|
|
276
|
-
...
|
|
276
|
+
...se_AddAvailabilityZonesInput(input, context),
|
|
277
277
|
Action: "EnableAvailabilityZonesForLoadBalancer",
|
|
278
278
|
Version: "2012-06-01",
|
|
279
279
|
});
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
|
-
export const
|
|
282
|
+
export const se_ModifyLoadBalancerAttributesCommand = async (input, context) => {
|
|
283
283
|
const headers = {
|
|
284
284
|
"content-type": "application/x-www-form-urlencoded",
|
|
285
285
|
};
|
|
286
286
|
let body;
|
|
287
287
|
body = buildFormUrlencodedString({
|
|
288
|
-
...
|
|
288
|
+
...se_ModifyLoadBalancerAttributesInput(input, context),
|
|
289
289
|
Action: "ModifyLoadBalancerAttributes",
|
|
290
290
|
Version: "2012-06-01",
|
|
291
291
|
});
|
|
292
292
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
293
|
};
|
|
294
|
-
export const
|
|
294
|
+
export const se_RegisterInstancesWithLoadBalancerCommand = async (input, context) => {
|
|
295
295
|
const headers = {
|
|
296
296
|
"content-type": "application/x-www-form-urlencoded",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
299
|
body = buildFormUrlencodedString({
|
|
300
|
-
...
|
|
300
|
+
...se_RegisterEndPointsInput(input, context),
|
|
301
301
|
Action: "RegisterInstancesWithLoadBalancer",
|
|
302
302
|
Version: "2012-06-01",
|
|
303
303
|
});
|
|
304
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
305
|
};
|
|
306
|
-
export const
|
|
306
|
+
export const se_RemoveTagsCommand = async (input, context) => {
|
|
307
307
|
const headers = {
|
|
308
308
|
"content-type": "application/x-www-form-urlencoded",
|
|
309
309
|
};
|
|
310
310
|
let body;
|
|
311
311
|
body = buildFormUrlencodedString({
|
|
312
|
-
...
|
|
312
|
+
...se_RemoveTagsInput(input, context),
|
|
313
313
|
Action: "RemoveTags",
|
|
314
314
|
Version: "2012-06-01",
|
|
315
315
|
});
|
|
316
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
317
|
};
|
|
318
|
-
export const
|
|
318
|
+
export const se_SetLoadBalancerListenerSSLCertificateCommand = async (input, context) => {
|
|
319
319
|
const headers = {
|
|
320
320
|
"content-type": "application/x-www-form-urlencoded",
|
|
321
321
|
};
|
|
322
322
|
let body;
|
|
323
323
|
body = buildFormUrlencodedString({
|
|
324
|
-
...
|
|
324
|
+
...se_SetLoadBalancerListenerSSLCertificateInput(input, context),
|
|
325
325
|
Action: "SetLoadBalancerListenerSSLCertificate",
|
|
326
326
|
Version: "2012-06-01",
|
|
327
327
|
});
|
|
328
328
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
329
|
};
|
|
330
|
-
export const
|
|
330
|
+
export const se_SetLoadBalancerPoliciesForBackendServerCommand = async (input, context) => {
|
|
331
331
|
const headers = {
|
|
332
332
|
"content-type": "application/x-www-form-urlencoded",
|
|
333
333
|
};
|
|
334
334
|
let body;
|
|
335
335
|
body = buildFormUrlencodedString({
|
|
336
|
-
...
|
|
336
|
+
...se_SetLoadBalancerPoliciesForBackendServerInput(input, context),
|
|
337
337
|
Action: "SetLoadBalancerPoliciesForBackendServer",
|
|
338
338
|
Version: "2012-06-01",
|
|
339
339
|
});
|
|
340
340
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
341
|
};
|
|
342
|
-
export const
|
|
342
|
+
export const se_SetLoadBalancerPoliciesOfListenerCommand = async (input, context) => {
|
|
343
343
|
const headers = {
|
|
344
344
|
"content-type": "application/x-www-form-urlencoded",
|
|
345
345
|
};
|
|
346
346
|
let body;
|
|
347
347
|
body = buildFormUrlencodedString({
|
|
348
|
-
...
|
|
348
|
+
...se_SetLoadBalancerPoliciesOfListenerInput(input, context),
|
|
349
349
|
Action: "SetLoadBalancerPoliciesOfListener",
|
|
350
350
|
Version: "2012-06-01",
|
|
351
351
|
});
|
|
352
352
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
353
|
};
|
|
354
|
-
export const
|
|
354
|
+
export const de_AddTagsCommand = async (output, context) => {
|
|
355
355
|
if (output.statusCode >= 300) {
|
|
356
|
-
return
|
|
356
|
+
return de_AddTagsCommandError(output, context);
|
|
357
357
|
}
|
|
358
358
|
const data = await parseBody(output.body, context);
|
|
359
359
|
let contents = {};
|
|
360
|
-
contents =
|
|
360
|
+
contents = de_AddTagsOutput(data.AddTagsResult, context);
|
|
361
361
|
const response = {
|
|
362
362
|
$metadata: deserializeMetadata(output),
|
|
363
363
|
...contents,
|
|
364
364
|
};
|
|
365
365
|
return Promise.resolve(response);
|
|
366
366
|
};
|
|
367
|
-
const
|
|
367
|
+
const de_AddTagsCommandError = async (output, context) => {
|
|
368
368
|
const parsedOutput = {
|
|
369
369
|
...output,
|
|
370
370
|
body: await parseErrorBody(output.body, context),
|
|
@@ -373,13 +373,13 @@ const deserializeAws_queryAddTagsCommandError = async (output, context) => {
|
|
|
373
373
|
switch (errorCode) {
|
|
374
374
|
case "DuplicateTagKeys":
|
|
375
375
|
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
376
|
-
throw await
|
|
376
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
377
377
|
case "LoadBalancerNotFound":
|
|
378
378
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
379
|
-
throw await
|
|
379
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
380
380
|
case "TooManyTags":
|
|
381
381
|
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
382
|
-
throw await
|
|
382
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
383
383
|
default:
|
|
384
384
|
const parsedBody = parsedOutput.body;
|
|
385
385
|
throwDefaultError({
|
|
@@ -390,20 +390,20 @@ const deserializeAws_queryAddTagsCommandError = async (output, context) => {
|
|
|
390
390
|
});
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
|
-
export const
|
|
393
|
+
export const de_ApplySecurityGroupsToLoadBalancerCommand = async (output, context) => {
|
|
394
394
|
if (output.statusCode >= 300) {
|
|
395
|
-
return
|
|
395
|
+
return de_ApplySecurityGroupsToLoadBalancerCommandError(output, context);
|
|
396
396
|
}
|
|
397
397
|
const data = await parseBody(output.body, context);
|
|
398
398
|
let contents = {};
|
|
399
|
-
contents =
|
|
399
|
+
contents = de_ApplySecurityGroupsToLoadBalancerOutput(data.ApplySecurityGroupsToLoadBalancerResult, context);
|
|
400
400
|
const response = {
|
|
401
401
|
$metadata: deserializeMetadata(output),
|
|
402
402
|
...contents,
|
|
403
403
|
};
|
|
404
404
|
return Promise.resolve(response);
|
|
405
405
|
};
|
|
406
|
-
const
|
|
406
|
+
const de_ApplySecurityGroupsToLoadBalancerCommandError = async (output, context) => {
|
|
407
407
|
const parsedOutput = {
|
|
408
408
|
...output,
|
|
409
409
|
body: await parseErrorBody(output.body, context),
|
|
@@ -412,13 +412,13 @@ const deserializeAws_queryApplySecurityGroupsToLoadBalancerCommandError = async
|
|
|
412
412
|
switch (errorCode) {
|
|
413
413
|
case "InvalidConfigurationRequest":
|
|
414
414
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
415
|
-
throw await
|
|
415
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
416
416
|
case "InvalidSecurityGroup":
|
|
417
417
|
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
418
|
-
throw await
|
|
418
|
+
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
419
419
|
case "LoadBalancerNotFound":
|
|
420
420
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
421
|
-
throw await
|
|
421
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
422
422
|
default:
|
|
423
423
|
const parsedBody = parsedOutput.body;
|
|
424
424
|
throwDefaultError({
|
|
@@ -429,20 +429,20 @@ const deserializeAws_queryApplySecurityGroupsToLoadBalancerCommandError = async
|
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
|
-
export const
|
|
432
|
+
export const de_AttachLoadBalancerToSubnetsCommand = async (output, context) => {
|
|
433
433
|
if (output.statusCode >= 300) {
|
|
434
|
-
return
|
|
434
|
+
return de_AttachLoadBalancerToSubnetsCommandError(output, context);
|
|
435
435
|
}
|
|
436
436
|
const data = await parseBody(output.body, context);
|
|
437
437
|
let contents = {};
|
|
438
|
-
contents =
|
|
438
|
+
contents = de_AttachLoadBalancerToSubnetsOutput(data.AttachLoadBalancerToSubnetsResult, context);
|
|
439
439
|
const response = {
|
|
440
440
|
$metadata: deserializeMetadata(output),
|
|
441
441
|
...contents,
|
|
442
442
|
};
|
|
443
443
|
return Promise.resolve(response);
|
|
444
444
|
};
|
|
445
|
-
const
|
|
445
|
+
const de_AttachLoadBalancerToSubnetsCommandError = async (output, context) => {
|
|
446
446
|
const parsedOutput = {
|
|
447
447
|
...output,
|
|
448
448
|
body: await parseErrorBody(output.body, context),
|
|
@@ -451,16 +451,16 @@ const deserializeAws_queryAttachLoadBalancerToSubnetsCommandError = async (outpu
|
|
|
451
451
|
switch (errorCode) {
|
|
452
452
|
case "InvalidConfigurationRequest":
|
|
453
453
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
454
|
-
throw await
|
|
454
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
455
455
|
case "InvalidSubnet":
|
|
456
456
|
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
457
|
-
throw await
|
|
457
|
+
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
458
458
|
case "LoadBalancerNotFound":
|
|
459
459
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
460
|
-
throw await
|
|
460
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
461
461
|
case "SubnetNotFound":
|
|
462
462
|
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
463
|
-
throw await
|
|
463
|
+
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
464
464
|
default:
|
|
465
465
|
const parsedBody = parsedOutput.body;
|
|
466
466
|
throwDefaultError({
|
|
@@ -471,20 +471,20 @@ const deserializeAws_queryAttachLoadBalancerToSubnetsCommandError = async (outpu
|
|
|
471
471
|
});
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
|
-
export const
|
|
474
|
+
export const de_ConfigureHealthCheckCommand = async (output, context) => {
|
|
475
475
|
if (output.statusCode >= 300) {
|
|
476
|
-
return
|
|
476
|
+
return de_ConfigureHealthCheckCommandError(output, context);
|
|
477
477
|
}
|
|
478
478
|
const data = await parseBody(output.body, context);
|
|
479
479
|
let contents = {};
|
|
480
|
-
contents =
|
|
480
|
+
contents = de_ConfigureHealthCheckOutput(data.ConfigureHealthCheckResult, context);
|
|
481
481
|
const response = {
|
|
482
482
|
$metadata: deserializeMetadata(output),
|
|
483
483
|
...contents,
|
|
484
484
|
};
|
|
485
485
|
return Promise.resolve(response);
|
|
486
486
|
};
|
|
487
|
-
const
|
|
487
|
+
const de_ConfigureHealthCheckCommandError = async (output, context) => {
|
|
488
488
|
const parsedOutput = {
|
|
489
489
|
...output,
|
|
490
490
|
body: await parseErrorBody(output.body, context),
|
|
@@ -493,7 +493,7 @@ const deserializeAws_queryConfigureHealthCheckCommandError = async (output, cont
|
|
|
493
493
|
switch (errorCode) {
|
|
494
494
|
case "LoadBalancerNotFound":
|
|
495
495
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
496
|
-
throw await
|
|
496
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
497
497
|
default:
|
|
498
498
|
const parsedBody = parsedOutput.body;
|
|
499
499
|
throwDefaultError({
|
|
@@ -504,20 +504,20 @@ const deserializeAws_queryConfigureHealthCheckCommandError = async (output, cont
|
|
|
504
504
|
});
|
|
505
505
|
}
|
|
506
506
|
};
|
|
507
|
-
export const
|
|
507
|
+
export const de_CreateAppCookieStickinessPolicyCommand = async (output, context) => {
|
|
508
508
|
if (output.statusCode >= 300) {
|
|
509
|
-
return
|
|
509
|
+
return de_CreateAppCookieStickinessPolicyCommandError(output, context);
|
|
510
510
|
}
|
|
511
511
|
const data = await parseBody(output.body, context);
|
|
512
512
|
let contents = {};
|
|
513
|
-
contents =
|
|
513
|
+
contents = de_CreateAppCookieStickinessPolicyOutput(data.CreateAppCookieStickinessPolicyResult, context);
|
|
514
514
|
const response = {
|
|
515
515
|
$metadata: deserializeMetadata(output),
|
|
516
516
|
...contents,
|
|
517
517
|
};
|
|
518
518
|
return Promise.resolve(response);
|
|
519
519
|
};
|
|
520
|
-
const
|
|
520
|
+
const de_CreateAppCookieStickinessPolicyCommandError = async (output, context) => {
|
|
521
521
|
const parsedOutput = {
|
|
522
522
|
...output,
|
|
523
523
|
body: await parseErrorBody(output.body, context),
|
|
@@ -526,16 +526,16 @@ const deserializeAws_queryCreateAppCookieStickinessPolicyCommandError = async (o
|
|
|
526
526
|
switch (errorCode) {
|
|
527
527
|
case "DuplicatePolicyName":
|
|
528
528
|
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
529
|
-
throw await
|
|
529
|
+
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
530
530
|
case "InvalidConfigurationRequest":
|
|
531
531
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
532
|
-
throw await
|
|
532
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
533
533
|
case "LoadBalancerNotFound":
|
|
534
534
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
535
|
-
throw await
|
|
535
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
536
536
|
case "TooManyPolicies":
|
|
537
537
|
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
538
|
-
throw await
|
|
538
|
+
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
539
539
|
default:
|
|
540
540
|
const parsedBody = parsedOutput.body;
|
|
541
541
|
throwDefaultError({
|
|
@@ -546,20 +546,20 @@ const deserializeAws_queryCreateAppCookieStickinessPolicyCommandError = async (o
|
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
|
-
export const
|
|
549
|
+
export const de_CreateLBCookieStickinessPolicyCommand = async (output, context) => {
|
|
550
550
|
if (output.statusCode >= 300) {
|
|
551
|
-
return
|
|
551
|
+
return de_CreateLBCookieStickinessPolicyCommandError(output, context);
|
|
552
552
|
}
|
|
553
553
|
const data = await parseBody(output.body, context);
|
|
554
554
|
let contents = {};
|
|
555
|
-
contents =
|
|
555
|
+
contents = de_CreateLBCookieStickinessPolicyOutput(data.CreateLBCookieStickinessPolicyResult, context);
|
|
556
556
|
const response = {
|
|
557
557
|
$metadata: deserializeMetadata(output),
|
|
558
558
|
...contents,
|
|
559
559
|
};
|
|
560
560
|
return Promise.resolve(response);
|
|
561
561
|
};
|
|
562
|
-
const
|
|
562
|
+
const de_CreateLBCookieStickinessPolicyCommandError = async (output, context) => {
|
|
563
563
|
const parsedOutput = {
|
|
564
564
|
...output,
|
|
565
565
|
body: await parseErrorBody(output.body, context),
|
|
@@ -568,16 +568,16 @@ const deserializeAws_queryCreateLBCookieStickinessPolicyCommandError = async (ou
|
|
|
568
568
|
switch (errorCode) {
|
|
569
569
|
case "DuplicatePolicyName":
|
|
570
570
|
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
571
|
-
throw await
|
|
571
|
+
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
572
572
|
case "InvalidConfigurationRequest":
|
|
573
573
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
574
|
-
throw await
|
|
574
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
575
575
|
case "LoadBalancerNotFound":
|
|
576
576
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
577
|
-
throw await
|
|
577
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
578
578
|
case "TooManyPolicies":
|
|
579
579
|
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
580
|
-
throw await
|
|
580
|
+
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
581
581
|
default:
|
|
582
582
|
const parsedBody = parsedOutput.body;
|
|
583
583
|
throwDefaultError({
|
|
@@ -588,20 +588,20 @@ const deserializeAws_queryCreateLBCookieStickinessPolicyCommandError = async (ou
|
|
|
588
588
|
});
|
|
589
589
|
}
|
|
590
590
|
};
|
|
591
|
-
export const
|
|
591
|
+
export const de_CreateLoadBalancerCommand = async (output, context) => {
|
|
592
592
|
if (output.statusCode >= 300) {
|
|
593
|
-
return
|
|
593
|
+
return de_CreateLoadBalancerCommandError(output, context);
|
|
594
594
|
}
|
|
595
595
|
const data = await parseBody(output.body, context);
|
|
596
596
|
let contents = {};
|
|
597
|
-
contents =
|
|
597
|
+
contents = de_CreateAccessPointOutput(data.CreateLoadBalancerResult, context);
|
|
598
598
|
const response = {
|
|
599
599
|
$metadata: deserializeMetadata(output),
|
|
600
600
|
...contents,
|
|
601
601
|
};
|
|
602
602
|
return Promise.resolve(response);
|
|
603
603
|
};
|
|
604
|
-
const
|
|
604
|
+
const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
605
605
|
const parsedOutput = {
|
|
606
606
|
...output,
|
|
607
607
|
body: await parseErrorBody(output.body, context),
|
|
@@ -610,40 +610,40 @@ const deserializeAws_queryCreateLoadBalancerCommandError = async (output, contex
|
|
|
610
610
|
switch (errorCode) {
|
|
611
611
|
case "CertificateNotFound":
|
|
612
612
|
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
613
|
-
throw await
|
|
613
|
+
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
614
614
|
case "DuplicateLoadBalancerName":
|
|
615
615
|
case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException":
|
|
616
|
-
throw await
|
|
616
|
+
throw await de_DuplicateAccessPointNameExceptionRes(parsedOutput, context);
|
|
617
617
|
case "DuplicateTagKeys":
|
|
618
618
|
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
619
|
-
throw await
|
|
619
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
620
620
|
case "InvalidConfigurationRequest":
|
|
621
621
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
622
|
-
throw await
|
|
622
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
623
623
|
case "InvalidScheme":
|
|
624
624
|
case "com.amazonaws.elasticloadbalancing#InvalidSchemeException":
|
|
625
|
-
throw await
|
|
625
|
+
throw await de_InvalidSchemeExceptionRes(parsedOutput, context);
|
|
626
626
|
case "InvalidSecurityGroup":
|
|
627
627
|
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
628
|
-
throw await
|
|
628
|
+
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
629
629
|
case "InvalidSubnet":
|
|
630
630
|
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
631
|
-
throw await
|
|
631
|
+
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
632
632
|
case "OperationNotPermitted":
|
|
633
633
|
case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException":
|
|
634
|
-
throw await
|
|
634
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
635
635
|
case "SubnetNotFound":
|
|
636
636
|
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
637
|
-
throw await
|
|
637
|
+
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
638
638
|
case "TooManyLoadBalancers":
|
|
639
639
|
case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException":
|
|
640
|
-
throw await
|
|
640
|
+
throw await de_TooManyAccessPointsExceptionRes(parsedOutput, context);
|
|
641
641
|
case "TooManyTags":
|
|
642
642
|
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
643
|
-
throw await
|
|
643
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
644
644
|
case "UnsupportedProtocol":
|
|
645
645
|
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
646
|
-
throw await
|
|
646
|
+
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
647
647
|
default:
|
|
648
648
|
const parsedBody = parsedOutput.body;
|
|
649
649
|
throwDefaultError({
|
|
@@ -654,20 +654,20 @@ const deserializeAws_queryCreateLoadBalancerCommandError = async (output, contex
|
|
|
654
654
|
});
|
|
655
655
|
}
|
|
656
656
|
};
|
|
657
|
-
export const
|
|
657
|
+
export const de_CreateLoadBalancerListenersCommand = async (output, context) => {
|
|
658
658
|
if (output.statusCode >= 300) {
|
|
659
|
-
return
|
|
659
|
+
return de_CreateLoadBalancerListenersCommandError(output, context);
|
|
660
660
|
}
|
|
661
661
|
const data = await parseBody(output.body, context);
|
|
662
662
|
let contents = {};
|
|
663
|
-
contents =
|
|
663
|
+
contents = de_CreateLoadBalancerListenerOutput(data.CreateLoadBalancerListenersResult, context);
|
|
664
664
|
const response = {
|
|
665
665
|
$metadata: deserializeMetadata(output),
|
|
666
666
|
...contents,
|
|
667
667
|
};
|
|
668
668
|
return Promise.resolve(response);
|
|
669
669
|
};
|
|
670
|
-
const
|
|
670
|
+
const de_CreateLoadBalancerListenersCommandError = async (output, context) => {
|
|
671
671
|
const parsedOutput = {
|
|
672
672
|
...output,
|
|
673
673
|
body: await parseErrorBody(output.body, context),
|
|
@@ -676,19 +676,19 @@ const deserializeAws_queryCreateLoadBalancerListenersCommandError = async (outpu
|
|
|
676
676
|
switch (errorCode) {
|
|
677
677
|
case "CertificateNotFound":
|
|
678
678
|
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
679
|
-
throw await
|
|
679
|
+
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
680
680
|
case "DuplicateListener":
|
|
681
681
|
case "com.amazonaws.elasticloadbalancing#DuplicateListenerException":
|
|
682
|
-
throw await
|
|
682
|
+
throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
|
|
683
683
|
case "InvalidConfigurationRequest":
|
|
684
684
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
685
|
-
throw await
|
|
685
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
686
686
|
case "LoadBalancerNotFound":
|
|
687
687
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
688
|
-
throw await
|
|
688
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
689
689
|
case "UnsupportedProtocol":
|
|
690
690
|
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
691
|
-
throw await
|
|
691
|
+
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
692
692
|
default:
|
|
693
693
|
const parsedBody = parsedOutput.body;
|
|
694
694
|
throwDefaultError({
|
|
@@ -699,20 +699,20 @@ const deserializeAws_queryCreateLoadBalancerListenersCommandError = async (outpu
|
|
|
699
699
|
});
|
|
700
700
|
}
|
|
701
701
|
};
|
|
702
|
-
export const
|
|
702
|
+
export const de_CreateLoadBalancerPolicyCommand = async (output, context) => {
|
|
703
703
|
if (output.statusCode >= 300) {
|
|
704
|
-
return
|
|
704
|
+
return de_CreateLoadBalancerPolicyCommandError(output, context);
|
|
705
705
|
}
|
|
706
706
|
const data = await parseBody(output.body, context);
|
|
707
707
|
let contents = {};
|
|
708
|
-
contents =
|
|
708
|
+
contents = de_CreateLoadBalancerPolicyOutput(data.CreateLoadBalancerPolicyResult, context);
|
|
709
709
|
const response = {
|
|
710
710
|
$metadata: deserializeMetadata(output),
|
|
711
711
|
...contents,
|
|
712
712
|
};
|
|
713
713
|
return Promise.resolve(response);
|
|
714
714
|
};
|
|
715
|
-
const
|
|
715
|
+
const de_CreateLoadBalancerPolicyCommandError = async (output, context) => {
|
|
716
716
|
const parsedOutput = {
|
|
717
717
|
...output,
|
|
718
718
|
body: await parseErrorBody(output.body, context),
|
|
@@ -721,19 +721,19 @@ const deserializeAws_queryCreateLoadBalancerPolicyCommandError = async (output,
|
|
|
721
721
|
switch (errorCode) {
|
|
722
722
|
case "DuplicatePolicyName":
|
|
723
723
|
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
724
|
-
throw await
|
|
724
|
+
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
725
725
|
case "InvalidConfigurationRequest":
|
|
726
726
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
727
|
-
throw await
|
|
727
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
728
728
|
case "LoadBalancerNotFound":
|
|
729
729
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
730
|
-
throw await
|
|
730
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
731
731
|
case "PolicyTypeNotFound":
|
|
732
732
|
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
733
|
-
throw await
|
|
733
|
+
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
734
734
|
case "TooManyPolicies":
|
|
735
735
|
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
736
|
-
throw await
|
|
736
|
+
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
737
737
|
default:
|
|
738
738
|
const parsedBody = parsedOutput.body;
|
|
739
739
|
throwDefaultError({
|
|
@@ -744,20 +744,20 @@ const deserializeAws_queryCreateLoadBalancerPolicyCommandError = async (output,
|
|
|
744
744
|
});
|
|
745
745
|
}
|
|
746
746
|
};
|
|
747
|
-
export const
|
|
747
|
+
export const de_DeleteLoadBalancerCommand = async (output, context) => {
|
|
748
748
|
if (output.statusCode >= 300) {
|
|
749
|
-
return
|
|
749
|
+
return de_DeleteLoadBalancerCommandError(output, context);
|
|
750
750
|
}
|
|
751
751
|
const data = await parseBody(output.body, context);
|
|
752
752
|
let contents = {};
|
|
753
|
-
contents =
|
|
753
|
+
contents = de_DeleteAccessPointOutput(data.DeleteLoadBalancerResult, context);
|
|
754
754
|
const response = {
|
|
755
755
|
$metadata: deserializeMetadata(output),
|
|
756
756
|
...contents,
|
|
757
757
|
};
|
|
758
758
|
return Promise.resolve(response);
|
|
759
759
|
};
|
|
760
|
-
const
|
|
760
|
+
const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
761
761
|
const parsedOutput = {
|
|
762
762
|
...output,
|
|
763
763
|
body: await parseErrorBody(output.body, context),
|
|
@@ -771,20 +771,20 @@ const deserializeAws_queryDeleteLoadBalancerCommandError = async (output, contex
|
|
|
771
771
|
errorCode,
|
|
772
772
|
});
|
|
773
773
|
};
|
|
774
|
-
export const
|
|
774
|
+
export const de_DeleteLoadBalancerListenersCommand = async (output, context) => {
|
|
775
775
|
if (output.statusCode >= 300) {
|
|
776
|
-
return
|
|
776
|
+
return de_DeleteLoadBalancerListenersCommandError(output, context);
|
|
777
777
|
}
|
|
778
778
|
const data = await parseBody(output.body, context);
|
|
779
779
|
let contents = {};
|
|
780
|
-
contents =
|
|
780
|
+
contents = de_DeleteLoadBalancerListenerOutput(data.DeleteLoadBalancerListenersResult, context);
|
|
781
781
|
const response = {
|
|
782
782
|
$metadata: deserializeMetadata(output),
|
|
783
783
|
...contents,
|
|
784
784
|
};
|
|
785
785
|
return Promise.resolve(response);
|
|
786
786
|
};
|
|
787
|
-
const
|
|
787
|
+
const de_DeleteLoadBalancerListenersCommandError = async (output, context) => {
|
|
788
788
|
const parsedOutput = {
|
|
789
789
|
...output,
|
|
790
790
|
body: await parseErrorBody(output.body, context),
|
|
@@ -793,7 +793,7 @@ const deserializeAws_queryDeleteLoadBalancerListenersCommandError = async (outpu
|
|
|
793
793
|
switch (errorCode) {
|
|
794
794
|
case "LoadBalancerNotFound":
|
|
795
795
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
796
|
-
throw await
|
|
796
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
797
797
|
default:
|
|
798
798
|
const parsedBody = parsedOutput.body;
|
|
799
799
|
throwDefaultError({
|
|
@@ -804,20 +804,20 @@ const deserializeAws_queryDeleteLoadBalancerListenersCommandError = async (outpu
|
|
|
804
804
|
});
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
|
-
export const
|
|
807
|
+
export const de_DeleteLoadBalancerPolicyCommand = async (output, context) => {
|
|
808
808
|
if (output.statusCode >= 300) {
|
|
809
|
-
return
|
|
809
|
+
return de_DeleteLoadBalancerPolicyCommandError(output, context);
|
|
810
810
|
}
|
|
811
811
|
const data = await parseBody(output.body, context);
|
|
812
812
|
let contents = {};
|
|
813
|
-
contents =
|
|
813
|
+
contents = de_DeleteLoadBalancerPolicyOutput(data.DeleteLoadBalancerPolicyResult, context);
|
|
814
814
|
const response = {
|
|
815
815
|
$metadata: deserializeMetadata(output),
|
|
816
816
|
...contents,
|
|
817
817
|
};
|
|
818
818
|
return Promise.resolve(response);
|
|
819
819
|
};
|
|
820
|
-
const
|
|
820
|
+
const de_DeleteLoadBalancerPolicyCommandError = async (output, context) => {
|
|
821
821
|
const parsedOutput = {
|
|
822
822
|
...output,
|
|
823
823
|
body: await parseErrorBody(output.body, context),
|
|
@@ -826,10 +826,10 @@ const deserializeAws_queryDeleteLoadBalancerPolicyCommandError = async (output,
|
|
|
826
826
|
switch (errorCode) {
|
|
827
827
|
case "InvalidConfigurationRequest":
|
|
828
828
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
829
|
-
throw await
|
|
829
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
830
830
|
case "LoadBalancerNotFound":
|
|
831
831
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
832
|
-
throw await
|
|
832
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
833
833
|
default:
|
|
834
834
|
const parsedBody = parsedOutput.body;
|
|
835
835
|
throwDefaultError({
|
|
@@ -840,20 +840,20 @@ const deserializeAws_queryDeleteLoadBalancerPolicyCommandError = async (output,
|
|
|
840
840
|
});
|
|
841
841
|
}
|
|
842
842
|
};
|
|
843
|
-
export const
|
|
843
|
+
export const de_DeregisterInstancesFromLoadBalancerCommand = async (output, context) => {
|
|
844
844
|
if (output.statusCode >= 300) {
|
|
845
|
-
return
|
|
845
|
+
return de_DeregisterInstancesFromLoadBalancerCommandError(output, context);
|
|
846
846
|
}
|
|
847
847
|
const data = await parseBody(output.body, context);
|
|
848
848
|
let contents = {};
|
|
849
|
-
contents =
|
|
849
|
+
contents = de_DeregisterEndPointsOutput(data.DeregisterInstancesFromLoadBalancerResult, context);
|
|
850
850
|
const response = {
|
|
851
851
|
$metadata: deserializeMetadata(output),
|
|
852
852
|
...contents,
|
|
853
853
|
};
|
|
854
854
|
return Promise.resolve(response);
|
|
855
855
|
};
|
|
856
|
-
const
|
|
856
|
+
const de_DeregisterInstancesFromLoadBalancerCommandError = async (output, context) => {
|
|
857
857
|
const parsedOutput = {
|
|
858
858
|
...output,
|
|
859
859
|
body: await parseErrorBody(output.body, context),
|
|
@@ -862,10 +862,10 @@ const deserializeAws_queryDeregisterInstancesFromLoadBalancerCommandError = asyn
|
|
|
862
862
|
switch (errorCode) {
|
|
863
863
|
case "InvalidInstance":
|
|
864
864
|
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
865
|
-
throw await
|
|
865
|
+
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
866
866
|
case "LoadBalancerNotFound":
|
|
867
867
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
868
|
-
throw await
|
|
868
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
869
869
|
default:
|
|
870
870
|
const parsedBody = parsedOutput.body;
|
|
871
871
|
throwDefaultError({
|
|
@@ -876,20 +876,20 @@ const deserializeAws_queryDeregisterInstancesFromLoadBalancerCommandError = asyn
|
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
878
|
};
|
|
879
|
-
export const
|
|
879
|
+
export const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
880
880
|
if (output.statusCode >= 300) {
|
|
881
|
-
return
|
|
881
|
+
return de_DescribeAccountLimitsCommandError(output, context);
|
|
882
882
|
}
|
|
883
883
|
const data = await parseBody(output.body, context);
|
|
884
884
|
let contents = {};
|
|
885
|
-
contents =
|
|
885
|
+
contents = de_DescribeAccountLimitsOutput(data.DescribeAccountLimitsResult, context);
|
|
886
886
|
const response = {
|
|
887
887
|
$metadata: deserializeMetadata(output),
|
|
888
888
|
...contents,
|
|
889
889
|
};
|
|
890
890
|
return Promise.resolve(response);
|
|
891
891
|
};
|
|
892
|
-
const
|
|
892
|
+
const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
893
893
|
const parsedOutput = {
|
|
894
894
|
...output,
|
|
895
895
|
body: await parseErrorBody(output.body, context),
|
|
@@ -903,20 +903,20 @@ const deserializeAws_queryDescribeAccountLimitsCommandError = async (output, con
|
|
|
903
903
|
errorCode,
|
|
904
904
|
});
|
|
905
905
|
};
|
|
906
|
-
export const
|
|
906
|
+
export const de_DescribeInstanceHealthCommand = async (output, context) => {
|
|
907
907
|
if (output.statusCode >= 300) {
|
|
908
|
-
return
|
|
908
|
+
return de_DescribeInstanceHealthCommandError(output, context);
|
|
909
909
|
}
|
|
910
910
|
const data = await parseBody(output.body, context);
|
|
911
911
|
let contents = {};
|
|
912
|
-
contents =
|
|
912
|
+
contents = de_DescribeEndPointStateOutput(data.DescribeInstanceHealthResult, context);
|
|
913
913
|
const response = {
|
|
914
914
|
$metadata: deserializeMetadata(output),
|
|
915
915
|
...contents,
|
|
916
916
|
};
|
|
917
917
|
return Promise.resolve(response);
|
|
918
918
|
};
|
|
919
|
-
const
|
|
919
|
+
const de_DescribeInstanceHealthCommandError = async (output, context) => {
|
|
920
920
|
const parsedOutput = {
|
|
921
921
|
...output,
|
|
922
922
|
body: await parseErrorBody(output.body, context),
|
|
@@ -925,10 +925,10 @@ const deserializeAws_queryDescribeInstanceHealthCommandError = async (output, co
|
|
|
925
925
|
switch (errorCode) {
|
|
926
926
|
case "InvalidInstance":
|
|
927
927
|
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
928
|
-
throw await
|
|
928
|
+
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
929
929
|
case "LoadBalancerNotFound":
|
|
930
930
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
931
|
-
throw await
|
|
931
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
932
932
|
default:
|
|
933
933
|
const parsedBody = parsedOutput.body;
|
|
934
934
|
throwDefaultError({
|
|
@@ -939,20 +939,20 @@ const deserializeAws_queryDescribeInstanceHealthCommandError = async (output, co
|
|
|
939
939
|
});
|
|
940
940
|
}
|
|
941
941
|
};
|
|
942
|
-
export const
|
|
942
|
+
export const de_DescribeLoadBalancerAttributesCommand = async (output, context) => {
|
|
943
943
|
if (output.statusCode >= 300) {
|
|
944
|
-
return
|
|
944
|
+
return de_DescribeLoadBalancerAttributesCommandError(output, context);
|
|
945
945
|
}
|
|
946
946
|
const data = await parseBody(output.body, context);
|
|
947
947
|
let contents = {};
|
|
948
|
-
contents =
|
|
948
|
+
contents = de_DescribeLoadBalancerAttributesOutput(data.DescribeLoadBalancerAttributesResult, context);
|
|
949
949
|
const response = {
|
|
950
950
|
$metadata: deserializeMetadata(output),
|
|
951
951
|
...contents,
|
|
952
952
|
};
|
|
953
953
|
return Promise.resolve(response);
|
|
954
954
|
};
|
|
955
|
-
const
|
|
955
|
+
const de_DescribeLoadBalancerAttributesCommandError = async (output, context) => {
|
|
956
956
|
const parsedOutput = {
|
|
957
957
|
...output,
|
|
958
958
|
body: await parseErrorBody(output.body, context),
|
|
@@ -961,10 +961,10 @@ const deserializeAws_queryDescribeLoadBalancerAttributesCommandError = async (ou
|
|
|
961
961
|
switch (errorCode) {
|
|
962
962
|
case "LoadBalancerAttributeNotFound":
|
|
963
963
|
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
964
|
-
throw await
|
|
964
|
+
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
965
965
|
case "LoadBalancerNotFound":
|
|
966
966
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
967
|
-
throw await
|
|
967
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
968
968
|
default:
|
|
969
969
|
const parsedBody = parsedOutput.body;
|
|
970
970
|
throwDefaultError({
|
|
@@ -975,20 +975,20 @@ const deserializeAws_queryDescribeLoadBalancerAttributesCommandError = async (ou
|
|
|
975
975
|
});
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
|
-
export const
|
|
978
|
+
export const de_DescribeLoadBalancerPoliciesCommand = async (output, context) => {
|
|
979
979
|
if (output.statusCode >= 300) {
|
|
980
|
-
return
|
|
980
|
+
return de_DescribeLoadBalancerPoliciesCommandError(output, context);
|
|
981
981
|
}
|
|
982
982
|
const data = await parseBody(output.body, context);
|
|
983
983
|
let contents = {};
|
|
984
|
-
contents =
|
|
984
|
+
contents = de_DescribeLoadBalancerPoliciesOutput(data.DescribeLoadBalancerPoliciesResult, context);
|
|
985
985
|
const response = {
|
|
986
986
|
$metadata: deserializeMetadata(output),
|
|
987
987
|
...contents,
|
|
988
988
|
};
|
|
989
989
|
return Promise.resolve(response);
|
|
990
990
|
};
|
|
991
|
-
const
|
|
991
|
+
const de_DescribeLoadBalancerPoliciesCommandError = async (output, context) => {
|
|
992
992
|
const parsedOutput = {
|
|
993
993
|
...output,
|
|
994
994
|
body: await parseErrorBody(output.body, context),
|
|
@@ -997,10 +997,10 @@ const deserializeAws_queryDescribeLoadBalancerPoliciesCommandError = async (outp
|
|
|
997
997
|
switch (errorCode) {
|
|
998
998
|
case "LoadBalancerNotFound":
|
|
999
999
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1000
|
-
throw await
|
|
1000
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1001
1001
|
case "PolicyNotFound":
|
|
1002
1002
|
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1003
|
-
throw await
|
|
1003
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1004
1004
|
default:
|
|
1005
1005
|
const parsedBody = parsedOutput.body;
|
|
1006
1006
|
throwDefaultError({
|
|
@@ -1011,20 +1011,20 @@ const deserializeAws_queryDescribeLoadBalancerPoliciesCommandError = async (outp
|
|
|
1011
1011
|
});
|
|
1012
1012
|
}
|
|
1013
1013
|
};
|
|
1014
|
-
export const
|
|
1014
|
+
export const de_DescribeLoadBalancerPolicyTypesCommand = async (output, context) => {
|
|
1015
1015
|
if (output.statusCode >= 300) {
|
|
1016
|
-
return
|
|
1016
|
+
return de_DescribeLoadBalancerPolicyTypesCommandError(output, context);
|
|
1017
1017
|
}
|
|
1018
1018
|
const data = await parseBody(output.body, context);
|
|
1019
1019
|
let contents = {};
|
|
1020
|
-
contents =
|
|
1020
|
+
contents = de_DescribeLoadBalancerPolicyTypesOutput(data.DescribeLoadBalancerPolicyTypesResult, context);
|
|
1021
1021
|
const response = {
|
|
1022
1022
|
$metadata: deserializeMetadata(output),
|
|
1023
1023
|
...contents,
|
|
1024
1024
|
};
|
|
1025
1025
|
return Promise.resolve(response);
|
|
1026
1026
|
};
|
|
1027
|
-
const
|
|
1027
|
+
const de_DescribeLoadBalancerPolicyTypesCommandError = async (output, context) => {
|
|
1028
1028
|
const parsedOutput = {
|
|
1029
1029
|
...output,
|
|
1030
1030
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1033,7 +1033,7 @@ const deserializeAws_queryDescribeLoadBalancerPolicyTypesCommandError = async (o
|
|
|
1033
1033
|
switch (errorCode) {
|
|
1034
1034
|
case "PolicyTypeNotFound":
|
|
1035
1035
|
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
1036
|
-
throw await
|
|
1036
|
+
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1037
1037
|
default:
|
|
1038
1038
|
const parsedBody = parsedOutput.body;
|
|
1039
1039
|
throwDefaultError({
|
|
@@ -1044,20 +1044,20 @@ const deserializeAws_queryDescribeLoadBalancerPolicyTypesCommandError = async (o
|
|
|
1044
1044
|
});
|
|
1045
1045
|
}
|
|
1046
1046
|
};
|
|
1047
|
-
export const
|
|
1047
|
+
export const de_DescribeLoadBalancersCommand = async (output, context) => {
|
|
1048
1048
|
if (output.statusCode >= 300) {
|
|
1049
|
-
return
|
|
1049
|
+
return de_DescribeLoadBalancersCommandError(output, context);
|
|
1050
1050
|
}
|
|
1051
1051
|
const data = await parseBody(output.body, context);
|
|
1052
1052
|
let contents = {};
|
|
1053
|
-
contents =
|
|
1053
|
+
contents = de_DescribeAccessPointsOutput(data.DescribeLoadBalancersResult, context);
|
|
1054
1054
|
const response = {
|
|
1055
1055
|
$metadata: deserializeMetadata(output),
|
|
1056
1056
|
...contents,
|
|
1057
1057
|
};
|
|
1058
1058
|
return Promise.resolve(response);
|
|
1059
1059
|
};
|
|
1060
|
-
const
|
|
1060
|
+
const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
1061
1061
|
const parsedOutput = {
|
|
1062
1062
|
...output,
|
|
1063
1063
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1066,10 +1066,10 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async (output, con
|
|
|
1066
1066
|
switch (errorCode) {
|
|
1067
1067
|
case "DependencyThrottle":
|
|
1068
1068
|
case "com.amazonaws.elasticloadbalancing#DependencyThrottleException":
|
|
1069
|
-
throw await
|
|
1069
|
+
throw await de_DependencyThrottleExceptionRes(parsedOutput, context);
|
|
1070
1070
|
case "LoadBalancerNotFound":
|
|
1071
1071
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1072
|
-
throw await
|
|
1072
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1073
1073
|
default:
|
|
1074
1074
|
const parsedBody = parsedOutput.body;
|
|
1075
1075
|
throwDefaultError({
|
|
@@ -1080,20 +1080,20 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async (output, con
|
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
1082
|
};
|
|
1083
|
-
export const
|
|
1083
|
+
export const de_DescribeTagsCommand = async (output, context) => {
|
|
1084
1084
|
if (output.statusCode >= 300) {
|
|
1085
|
-
return
|
|
1085
|
+
return de_DescribeTagsCommandError(output, context);
|
|
1086
1086
|
}
|
|
1087
1087
|
const data = await parseBody(output.body, context);
|
|
1088
1088
|
let contents = {};
|
|
1089
|
-
contents =
|
|
1089
|
+
contents = de_DescribeTagsOutput(data.DescribeTagsResult, context);
|
|
1090
1090
|
const response = {
|
|
1091
1091
|
$metadata: deserializeMetadata(output),
|
|
1092
1092
|
...contents,
|
|
1093
1093
|
};
|
|
1094
1094
|
return Promise.resolve(response);
|
|
1095
1095
|
};
|
|
1096
|
-
const
|
|
1096
|
+
const de_DescribeTagsCommandError = async (output, context) => {
|
|
1097
1097
|
const parsedOutput = {
|
|
1098
1098
|
...output,
|
|
1099
1099
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1102,7 +1102,7 @@ const deserializeAws_queryDescribeTagsCommandError = async (output, context) =>
|
|
|
1102
1102
|
switch (errorCode) {
|
|
1103
1103
|
case "LoadBalancerNotFound":
|
|
1104
1104
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1105
|
-
throw await
|
|
1105
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1106
1106
|
default:
|
|
1107
1107
|
const parsedBody = parsedOutput.body;
|
|
1108
1108
|
throwDefaultError({
|
|
@@ -1113,20 +1113,20 @@ const deserializeAws_queryDescribeTagsCommandError = async (output, context) =>
|
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
|
-
export const
|
|
1116
|
+
export const de_DetachLoadBalancerFromSubnetsCommand = async (output, context) => {
|
|
1117
1117
|
if (output.statusCode >= 300) {
|
|
1118
|
-
return
|
|
1118
|
+
return de_DetachLoadBalancerFromSubnetsCommandError(output, context);
|
|
1119
1119
|
}
|
|
1120
1120
|
const data = await parseBody(output.body, context);
|
|
1121
1121
|
let contents = {};
|
|
1122
|
-
contents =
|
|
1122
|
+
contents = de_DetachLoadBalancerFromSubnetsOutput(data.DetachLoadBalancerFromSubnetsResult, context);
|
|
1123
1123
|
const response = {
|
|
1124
1124
|
$metadata: deserializeMetadata(output),
|
|
1125
1125
|
...contents,
|
|
1126
1126
|
};
|
|
1127
1127
|
return Promise.resolve(response);
|
|
1128
1128
|
};
|
|
1129
|
-
const
|
|
1129
|
+
const de_DetachLoadBalancerFromSubnetsCommandError = async (output, context) => {
|
|
1130
1130
|
const parsedOutput = {
|
|
1131
1131
|
...output,
|
|
1132
1132
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1135,10 +1135,10 @@ const deserializeAws_queryDetachLoadBalancerFromSubnetsCommandError = async (out
|
|
|
1135
1135
|
switch (errorCode) {
|
|
1136
1136
|
case "InvalidConfigurationRequest":
|
|
1137
1137
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1138
|
-
throw await
|
|
1138
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1139
1139
|
case "LoadBalancerNotFound":
|
|
1140
1140
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1141
|
-
throw await
|
|
1141
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1142
1142
|
default:
|
|
1143
1143
|
const parsedBody = parsedOutput.body;
|
|
1144
1144
|
throwDefaultError({
|
|
@@ -1149,20 +1149,20 @@ const deserializeAws_queryDetachLoadBalancerFromSubnetsCommandError = async (out
|
|
|
1149
1149
|
});
|
|
1150
1150
|
}
|
|
1151
1151
|
};
|
|
1152
|
-
export const
|
|
1152
|
+
export const de_DisableAvailabilityZonesForLoadBalancerCommand = async (output, context) => {
|
|
1153
1153
|
if (output.statusCode >= 300) {
|
|
1154
|
-
return
|
|
1154
|
+
return de_DisableAvailabilityZonesForLoadBalancerCommandError(output, context);
|
|
1155
1155
|
}
|
|
1156
1156
|
const data = await parseBody(output.body, context);
|
|
1157
1157
|
let contents = {};
|
|
1158
|
-
contents =
|
|
1158
|
+
contents = de_RemoveAvailabilityZonesOutput(data.DisableAvailabilityZonesForLoadBalancerResult, context);
|
|
1159
1159
|
const response = {
|
|
1160
1160
|
$metadata: deserializeMetadata(output),
|
|
1161
1161
|
...contents,
|
|
1162
1162
|
};
|
|
1163
1163
|
return Promise.resolve(response);
|
|
1164
1164
|
};
|
|
1165
|
-
const
|
|
1165
|
+
const de_DisableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
1166
1166
|
const parsedOutput = {
|
|
1167
1167
|
...output,
|
|
1168
1168
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1171,10 +1171,10 @@ const deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommandError =
|
|
|
1171
1171
|
switch (errorCode) {
|
|
1172
1172
|
case "InvalidConfigurationRequest":
|
|
1173
1173
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1174
|
-
throw await
|
|
1174
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1175
1175
|
case "LoadBalancerNotFound":
|
|
1176
1176
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1177
|
-
throw await
|
|
1177
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1178
1178
|
default:
|
|
1179
1179
|
const parsedBody = parsedOutput.body;
|
|
1180
1180
|
throwDefaultError({
|
|
@@ -1185,20 +1185,20 @@ const deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommandError =
|
|
|
1185
1185
|
});
|
|
1186
1186
|
}
|
|
1187
1187
|
};
|
|
1188
|
-
export const
|
|
1188
|
+
export const de_EnableAvailabilityZonesForLoadBalancerCommand = async (output, context) => {
|
|
1189
1189
|
if (output.statusCode >= 300) {
|
|
1190
|
-
return
|
|
1190
|
+
return de_EnableAvailabilityZonesForLoadBalancerCommandError(output, context);
|
|
1191
1191
|
}
|
|
1192
1192
|
const data = await parseBody(output.body, context);
|
|
1193
1193
|
let contents = {};
|
|
1194
|
-
contents =
|
|
1194
|
+
contents = de_AddAvailabilityZonesOutput(data.EnableAvailabilityZonesForLoadBalancerResult, context);
|
|
1195
1195
|
const response = {
|
|
1196
1196
|
$metadata: deserializeMetadata(output),
|
|
1197
1197
|
...contents,
|
|
1198
1198
|
};
|
|
1199
1199
|
return Promise.resolve(response);
|
|
1200
1200
|
};
|
|
1201
|
-
const
|
|
1201
|
+
const de_EnableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
1202
1202
|
const parsedOutput = {
|
|
1203
1203
|
...output,
|
|
1204
1204
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1207,7 +1207,7 @@ const deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommandError = a
|
|
|
1207
1207
|
switch (errorCode) {
|
|
1208
1208
|
case "LoadBalancerNotFound":
|
|
1209
1209
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1210
|
-
throw await
|
|
1210
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1211
1211
|
default:
|
|
1212
1212
|
const parsedBody = parsedOutput.body;
|
|
1213
1213
|
throwDefaultError({
|
|
@@ -1218,20 +1218,20 @@ const deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommandError = a
|
|
|
1218
1218
|
});
|
|
1219
1219
|
}
|
|
1220
1220
|
};
|
|
1221
|
-
export const
|
|
1221
|
+
export const de_ModifyLoadBalancerAttributesCommand = async (output, context) => {
|
|
1222
1222
|
if (output.statusCode >= 300) {
|
|
1223
|
-
return
|
|
1223
|
+
return de_ModifyLoadBalancerAttributesCommandError(output, context);
|
|
1224
1224
|
}
|
|
1225
1225
|
const data = await parseBody(output.body, context);
|
|
1226
1226
|
let contents = {};
|
|
1227
|
-
contents =
|
|
1227
|
+
contents = de_ModifyLoadBalancerAttributesOutput(data.ModifyLoadBalancerAttributesResult, context);
|
|
1228
1228
|
const response = {
|
|
1229
1229
|
$metadata: deserializeMetadata(output),
|
|
1230
1230
|
...contents,
|
|
1231
1231
|
};
|
|
1232
1232
|
return Promise.resolve(response);
|
|
1233
1233
|
};
|
|
1234
|
-
const
|
|
1234
|
+
const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
1235
1235
|
const parsedOutput = {
|
|
1236
1236
|
...output,
|
|
1237
1237
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1240,13 +1240,13 @@ const deserializeAws_queryModifyLoadBalancerAttributesCommandError = async (outp
|
|
|
1240
1240
|
switch (errorCode) {
|
|
1241
1241
|
case "InvalidConfigurationRequest":
|
|
1242
1242
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1243
|
-
throw await
|
|
1243
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1244
1244
|
case "LoadBalancerAttributeNotFound":
|
|
1245
1245
|
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
1246
|
-
throw await
|
|
1246
|
+
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
1247
1247
|
case "LoadBalancerNotFound":
|
|
1248
1248
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1249
|
-
throw await
|
|
1249
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1250
1250
|
default:
|
|
1251
1251
|
const parsedBody = parsedOutput.body;
|
|
1252
1252
|
throwDefaultError({
|
|
@@ -1257,20 +1257,20 @@ const deserializeAws_queryModifyLoadBalancerAttributesCommandError = async (outp
|
|
|
1257
1257
|
});
|
|
1258
1258
|
}
|
|
1259
1259
|
};
|
|
1260
|
-
export const
|
|
1260
|
+
export const de_RegisterInstancesWithLoadBalancerCommand = async (output, context) => {
|
|
1261
1261
|
if (output.statusCode >= 300) {
|
|
1262
|
-
return
|
|
1262
|
+
return de_RegisterInstancesWithLoadBalancerCommandError(output, context);
|
|
1263
1263
|
}
|
|
1264
1264
|
const data = await parseBody(output.body, context);
|
|
1265
1265
|
let contents = {};
|
|
1266
|
-
contents =
|
|
1266
|
+
contents = de_RegisterEndPointsOutput(data.RegisterInstancesWithLoadBalancerResult, context);
|
|
1267
1267
|
const response = {
|
|
1268
1268
|
$metadata: deserializeMetadata(output),
|
|
1269
1269
|
...contents,
|
|
1270
1270
|
};
|
|
1271
1271
|
return Promise.resolve(response);
|
|
1272
1272
|
};
|
|
1273
|
-
const
|
|
1273
|
+
const de_RegisterInstancesWithLoadBalancerCommandError = async (output, context) => {
|
|
1274
1274
|
const parsedOutput = {
|
|
1275
1275
|
...output,
|
|
1276
1276
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1279,10 +1279,10 @@ const deserializeAws_queryRegisterInstancesWithLoadBalancerCommandError = async
|
|
|
1279
1279
|
switch (errorCode) {
|
|
1280
1280
|
case "InvalidInstance":
|
|
1281
1281
|
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
1282
|
-
throw await
|
|
1282
|
+
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
1283
1283
|
case "LoadBalancerNotFound":
|
|
1284
1284
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1285
|
-
throw await
|
|
1285
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1286
1286
|
default:
|
|
1287
1287
|
const parsedBody = parsedOutput.body;
|
|
1288
1288
|
throwDefaultError({
|
|
@@ -1293,20 +1293,20 @@ const deserializeAws_queryRegisterInstancesWithLoadBalancerCommandError = async
|
|
|
1293
1293
|
});
|
|
1294
1294
|
}
|
|
1295
1295
|
};
|
|
1296
|
-
export const
|
|
1296
|
+
export const de_RemoveTagsCommand = async (output, context) => {
|
|
1297
1297
|
if (output.statusCode >= 300) {
|
|
1298
|
-
return
|
|
1298
|
+
return de_RemoveTagsCommandError(output, context);
|
|
1299
1299
|
}
|
|
1300
1300
|
const data = await parseBody(output.body, context);
|
|
1301
1301
|
let contents = {};
|
|
1302
|
-
contents =
|
|
1302
|
+
contents = de_RemoveTagsOutput(data.RemoveTagsResult, context);
|
|
1303
1303
|
const response = {
|
|
1304
1304
|
$metadata: deserializeMetadata(output),
|
|
1305
1305
|
...contents,
|
|
1306
1306
|
};
|
|
1307
1307
|
return Promise.resolve(response);
|
|
1308
1308
|
};
|
|
1309
|
-
const
|
|
1309
|
+
const de_RemoveTagsCommandError = async (output, context) => {
|
|
1310
1310
|
const parsedOutput = {
|
|
1311
1311
|
...output,
|
|
1312
1312
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1315,7 +1315,7 @@ const deserializeAws_queryRemoveTagsCommandError = async (output, context) => {
|
|
|
1315
1315
|
switch (errorCode) {
|
|
1316
1316
|
case "LoadBalancerNotFound":
|
|
1317
1317
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1318
|
-
throw await
|
|
1318
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1319
1319
|
default:
|
|
1320
1320
|
const parsedBody = parsedOutput.body;
|
|
1321
1321
|
throwDefaultError({
|
|
@@ -1326,20 +1326,20 @@ const deserializeAws_queryRemoveTagsCommandError = async (output, context) => {
|
|
|
1326
1326
|
});
|
|
1327
1327
|
}
|
|
1328
1328
|
};
|
|
1329
|
-
export const
|
|
1329
|
+
export const de_SetLoadBalancerListenerSSLCertificateCommand = async (output, context) => {
|
|
1330
1330
|
if (output.statusCode >= 300) {
|
|
1331
|
-
return
|
|
1331
|
+
return de_SetLoadBalancerListenerSSLCertificateCommandError(output, context);
|
|
1332
1332
|
}
|
|
1333
1333
|
const data = await parseBody(output.body, context);
|
|
1334
1334
|
let contents = {};
|
|
1335
|
-
contents =
|
|
1335
|
+
contents = de_SetLoadBalancerListenerSSLCertificateOutput(data.SetLoadBalancerListenerSSLCertificateResult, context);
|
|
1336
1336
|
const response = {
|
|
1337
1337
|
$metadata: deserializeMetadata(output),
|
|
1338
1338
|
...contents,
|
|
1339
1339
|
};
|
|
1340
1340
|
return Promise.resolve(response);
|
|
1341
1341
|
};
|
|
1342
|
-
const
|
|
1342
|
+
const de_SetLoadBalancerListenerSSLCertificateCommandError = async (output, context) => {
|
|
1343
1343
|
const parsedOutput = {
|
|
1344
1344
|
...output,
|
|
1345
1345
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1348,19 +1348,19 @@ const deserializeAws_querySetLoadBalancerListenerSSLCertificateCommandError = as
|
|
|
1348
1348
|
switch (errorCode) {
|
|
1349
1349
|
case "CertificateNotFound":
|
|
1350
1350
|
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
1351
|
-
throw await
|
|
1351
|
+
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1352
1352
|
case "InvalidConfigurationRequest":
|
|
1353
1353
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1354
|
-
throw await
|
|
1354
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1355
1355
|
case "ListenerNotFound":
|
|
1356
1356
|
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1357
|
-
throw await
|
|
1357
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1358
1358
|
case "LoadBalancerNotFound":
|
|
1359
1359
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1360
|
-
throw await
|
|
1360
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1361
1361
|
case "UnsupportedProtocol":
|
|
1362
1362
|
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
1363
|
-
throw await
|
|
1363
|
+
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1364
1364
|
default:
|
|
1365
1365
|
const parsedBody = parsedOutput.body;
|
|
1366
1366
|
throwDefaultError({
|
|
@@ -1371,20 +1371,20 @@ const deserializeAws_querySetLoadBalancerListenerSSLCertificateCommandError = as
|
|
|
1371
1371
|
});
|
|
1372
1372
|
}
|
|
1373
1373
|
};
|
|
1374
|
-
export const
|
|
1374
|
+
export const de_SetLoadBalancerPoliciesForBackendServerCommand = async (output, context) => {
|
|
1375
1375
|
if (output.statusCode >= 300) {
|
|
1376
|
-
return
|
|
1376
|
+
return de_SetLoadBalancerPoliciesForBackendServerCommandError(output, context);
|
|
1377
1377
|
}
|
|
1378
1378
|
const data = await parseBody(output.body, context);
|
|
1379
1379
|
let contents = {};
|
|
1380
|
-
contents =
|
|
1380
|
+
contents = de_SetLoadBalancerPoliciesForBackendServerOutput(data.SetLoadBalancerPoliciesForBackendServerResult, context);
|
|
1381
1381
|
const response = {
|
|
1382
1382
|
$metadata: deserializeMetadata(output),
|
|
1383
1383
|
...contents,
|
|
1384
1384
|
};
|
|
1385
1385
|
return Promise.resolve(response);
|
|
1386
1386
|
};
|
|
1387
|
-
const
|
|
1387
|
+
const de_SetLoadBalancerPoliciesForBackendServerCommandError = async (output, context) => {
|
|
1388
1388
|
const parsedOutput = {
|
|
1389
1389
|
...output,
|
|
1390
1390
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1393,13 +1393,13 @@ const deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommandError =
|
|
|
1393
1393
|
switch (errorCode) {
|
|
1394
1394
|
case "InvalidConfigurationRequest":
|
|
1395
1395
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1396
|
-
throw await
|
|
1396
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1397
1397
|
case "LoadBalancerNotFound":
|
|
1398
1398
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1399
|
-
throw await
|
|
1399
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1400
1400
|
case "PolicyNotFound":
|
|
1401
1401
|
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1402
|
-
throw await
|
|
1402
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1403
1403
|
default:
|
|
1404
1404
|
const parsedBody = parsedOutput.body;
|
|
1405
1405
|
throwDefaultError({
|
|
@@ -1410,20 +1410,20 @@ const deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommandError =
|
|
|
1410
1410
|
});
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
|
-
export const
|
|
1413
|
+
export const de_SetLoadBalancerPoliciesOfListenerCommand = async (output, context) => {
|
|
1414
1414
|
if (output.statusCode >= 300) {
|
|
1415
|
-
return
|
|
1415
|
+
return de_SetLoadBalancerPoliciesOfListenerCommandError(output, context);
|
|
1416
1416
|
}
|
|
1417
1417
|
const data = await parseBody(output.body, context);
|
|
1418
1418
|
let contents = {};
|
|
1419
|
-
contents =
|
|
1419
|
+
contents = de_SetLoadBalancerPoliciesOfListenerOutput(data.SetLoadBalancerPoliciesOfListenerResult, context);
|
|
1420
1420
|
const response = {
|
|
1421
1421
|
$metadata: deserializeMetadata(output),
|
|
1422
1422
|
...contents,
|
|
1423
1423
|
};
|
|
1424
1424
|
return Promise.resolve(response);
|
|
1425
1425
|
};
|
|
1426
|
-
const
|
|
1426
|
+
const de_SetLoadBalancerPoliciesOfListenerCommandError = async (output, context) => {
|
|
1427
1427
|
const parsedOutput = {
|
|
1428
1428
|
...output,
|
|
1429
1429
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1432,16 +1432,16 @@ const deserializeAws_querySetLoadBalancerPoliciesOfListenerCommandError = async
|
|
|
1432
1432
|
switch (errorCode) {
|
|
1433
1433
|
case "InvalidConfigurationRequest":
|
|
1434
1434
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1435
|
-
throw await
|
|
1435
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1436
1436
|
case "ListenerNotFound":
|
|
1437
1437
|
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1438
|
-
throw await
|
|
1438
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1439
1439
|
case "LoadBalancerNotFound":
|
|
1440
1440
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1441
|
-
throw await
|
|
1441
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1442
1442
|
case "PolicyNotFound":
|
|
1443
1443
|
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1444
|
-
throw await
|
|
1444
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1445
1445
|
default:
|
|
1446
1446
|
const parsedBody = parsedOutput.body;
|
|
1447
1447
|
throwDefaultError({
|
|
@@ -1452,205 +1452,205 @@ const deserializeAws_querySetLoadBalancerPoliciesOfListenerCommandError = async
|
|
|
1452
1452
|
});
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
|
-
const
|
|
1455
|
+
const de_AccessPointNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1456
1456
|
const body = parsedOutput.body;
|
|
1457
|
-
const deserialized =
|
|
1457
|
+
const deserialized = de_AccessPointNotFoundException(body.Error, context);
|
|
1458
1458
|
const exception = new AccessPointNotFoundException({
|
|
1459
1459
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1460
1460
|
...deserialized,
|
|
1461
1461
|
});
|
|
1462
1462
|
return __decorateServiceException(exception, body);
|
|
1463
1463
|
};
|
|
1464
|
-
const
|
|
1464
|
+
const de_CertificateNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1465
1465
|
const body = parsedOutput.body;
|
|
1466
|
-
const deserialized =
|
|
1466
|
+
const deserialized = de_CertificateNotFoundException(body.Error, context);
|
|
1467
1467
|
const exception = new CertificateNotFoundException({
|
|
1468
1468
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1469
1469
|
...deserialized,
|
|
1470
1470
|
});
|
|
1471
1471
|
return __decorateServiceException(exception, body);
|
|
1472
1472
|
};
|
|
1473
|
-
const
|
|
1473
|
+
const de_DependencyThrottleExceptionRes = async (parsedOutput, context) => {
|
|
1474
1474
|
const body = parsedOutput.body;
|
|
1475
|
-
const deserialized =
|
|
1475
|
+
const deserialized = de_DependencyThrottleException(body.Error, context);
|
|
1476
1476
|
const exception = new DependencyThrottleException({
|
|
1477
1477
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1478
1478
|
...deserialized,
|
|
1479
1479
|
});
|
|
1480
1480
|
return __decorateServiceException(exception, body);
|
|
1481
1481
|
};
|
|
1482
|
-
const
|
|
1482
|
+
const de_DuplicateAccessPointNameExceptionRes = async (parsedOutput, context) => {
|
|
1483
1483
|
const body = parsedOutput.body;
|
|
1484
|
-
const deserialized =
|
|
1484
|
+
const deserialized = de_DuplicateAccessPointNameException(body.Error, context);
|
|
1485
1485
|
const exception = new DuplicateAccessPointNameException({
|
|
1486
1486
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1487
1487
|
...deserialized,
|
|
1488
1488
|
});
|
|
1489
1489
|
return __decorateServiceException(exception, body);
|
|
1490
1490
|
};
|
|
1491
|
-
const
|
|
1491
|
+
const de_DuplicateListenerExceptionRes = async (parsedOutput, context) => {
|
|
1492
1492
|
const body = parsedOutput.body;
|
|
1493
|
-
const deserialized =
|
|
1493
|
+
const deserialized = de_DuplicateListenerException(body.Error, context);
|
|
1494
1494
|
const exception = new DuplicateListenerException({
|
|
1495
1495
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1496
1496
|
...deserialized,
|
|
1497
1497
|
});
|
|
1498
1498
|
return __decorateServiceException(exception, body);
|
|
1499
1499
|
};
|
|
1500
|
-
const
|
|
1500
|
+
const de_DuplicatePolicyNameExceptionRes = async (parsedOutput, context) => {
|
|
1501
1501
|
const body = parsedOutput.body;
|
|
1502
|
-
const deserialized =
|
|
1502
|
+
const deserialized = de_DuplicatePolicyNameException(body.Error, context);
|
|
1503
1503
|
const exception = new DuplicatePolicyNameException({
|
|
1504
1504
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1505
1505
|
...deserialized,
|
|
1506
1506
|
});
|
|
1507
1507
|
return __decorateServiceException(exception, body);
|
|
1508
1508
|
};
|
|
1509
|
-
const
|
|
1509
|
+
const de_DuplicateTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
1510
1510
|
const body = parsedOutput.body;
|
|
1511
|
-
const deserialized =
|
|
1511
|
+
const deserialized = de_DuplicateTagKeysException(body.Error, context);
|
|
1512
1512
|
const exception = new DuplicateTagKeysException({
|
|
1513
1513
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1514
1514
|
...deserialized,
|
|
1515
1515
|
});
|
|
1516
1516
|
return __decorateServiceException(exception, body);
|
|
1517
1517
|
};
|
|
1518
|
-
const
|
|
1518
|
+
const de_InvalidConfigurationRequestExceptionRes = async (parsedOutput, context) => {
|
|
1519
1519
|
const body = parsedOutput.body;
|
|
1520
|
-
const deserialized =
|
|
1520
|
+
const deserialized = de_InvalidConfigurationRequestException(body.Error, context);
|
|
1521
1521
|
const exception = new InvalidConfigurationRequestException({
|
|
1522
1522
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1523
1523
|
...deserialized,
|
|
1524
1524
|
});
|
|
1525
1525
|
return __decorateServiceException(exception, body);
|
|
1526
1526
|
};
|
|
1527
|
-
const
|
|
1527
|
+
const de_InvalidEndPointExceptionRes = async (parsedOutput, context) => {
|
|
1528
1528
|
const body = parsedOutput.body;
|
|
1529
|
-
const deserialized =
|
|
1529
|
+
const deserialized = de_InvalidEndPointException(body.Error, context);
|
|
1530
1530
|
const exception = new InvalidEndPointException({
|
|
1531
1531
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1532
1532
|
...deserialized,
|
|
1533
1533
|
});
|
|
1534
1534
|
return __decorateServiceException(exception, body);
|
|
1535
1535
|
};
|
|
1536
|
-
const
|
|
1536
|
+
const de_InvalidSchemeExceptionRes = async (parsedOutput, context) => {
|
|
1537
1537
|
const body = parsedOutput.body;
|
|
1538
|
-
const deserialized =
|
|
1538
|
+
const deserialized = de_InvalidSchemeException(body.Error, context);
|
|
1539
1539
|
const exception = new InvalidSchemeException({
|
|
1540
1540
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1541
1541
|
...deserialized,
|
|
1542
1542
|
});
|
|
1543
1543
|
return __decorateServiceException(exception, body);
|
|
1544
1544
|
};
|
|
1545
|
-
const
|
|
1545
|
+
const de_InvalidSecurityGroupExceptionRes = async (parsedOutput, context) => {
|
|
1546
1546
|
const body = parsedOutput.body;
|
|
1547
|
-
const deserialized =
|
|
1547
|
+
const deserialized = de_InvalidSecurityGroupException(body.Error, context);
|
|
1548
1548
|
const exception = new InvalidSecurityGroupException({
|
|
1549
1549
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1550
1550
|
...deserialized,
|
|
1551
1551
|
});
|
|
1552
1552
|
return __decorateServiceException(exception, body);
|
|
1553
1553
|
};
|
|
1554
|
-
const
|
|
1554
|
+
const de_InvalidSubnetExceptionRes = async (parsedOutput, context) => {
|
|
1555
1555
|
const body = parsedOutput.body;
|
|
1556
|
-
const deserialized =
|
|
1556
|
+
const deserialized = de_InvalidSubnetException(body.Error, context);
|
|
1557
1557
|
const exception = new InvalidSubnetException({
|
|
1558
1558
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1559
1559
|
...deserialized,
|
|
1560
1560
|
});
|
|
1561
1561
|
return __decorateServiceException(exception, body);
|
|
1562
1562
|
};
|
|
1563
|
-
const
|
|
1563
|
+
const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1564
1564
|
const body = parsedOutput.body;
|
|
1565
|
-
const deserialized =
|
|
1565
|
+
const deserialized = de_ListenerNotFoundException(body.Error, context);
|
|
1566
1566
|
const exception = new ListenerNotFoundException({
|
|
1567
1567
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1568
1568
|
...deserialized,
|
|
1569
1569
|
});
|
|
1570
1570
|
return __decorateServiceException(exception, body);
|
|
1571
1571
|
};
|
|
1572
|
-
const
|
|
1572
|
+
const de_LoadBalancerAttributeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1573
1573
|
const body = parsedOutput.body;
|
|
1574
|
-
const deserialized =
|
|
1574
|
+
const deserialized = de_LoadBalancerAttributeNotFoundException(body.Error, context);
|
|
1575
1575
|
const exception = new LoadBalancerAttributeNotFoundException({
|
|
1576
1576
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1577
1577
|
...deserialized,
|
|
1578
1578
|
});
|
|
1579
1579
|
return __decorateServiceException(exception, body);
|
|
1580
1580
|
};
|
|
1581
|
-
const
|
|
1581
|
+
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
1582
1582
|
const body = parsedOutput.body;
|
|
1583
|
-
const deserialized =
|
|
1583
|
+
const deserialized = de_OperationNotPermittedException(body.Error, context);
|
|
1584
1584
|
const exception = new OperationNotPermittedException({
|
|
1585
1585
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1586
1586
|
...deserialized,
|
|
1587
1587
|
});
|
|
1588
1588
|
return __decorateServiceException(exception, body);
|
|
1589
1589
|
};
|
|
1590
|
-
const
|
|
1590
|
+
const de_PolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1591
1591
|
const body = parsedOutput.body;
|
|
1592
|
-
const deserialized =
|
|
1592
|
+
const deserialized = de_PolicyNotFoundException(body.Error, context);
|
|
1593
1593
|
const exception = new PolicyNotFoundException({
|
|
1594
1594
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1595
1595
|
...deserialized,
|
|
1596
1596
|
});
|
|
1597
1597
|
return __decorateServiceException(exception, body);
|
|
1598
1598
|
};
|
|
1599
|
-
const
|
|
1599
|
+
const de_PolicyTypeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1600
1600
|
const body = parsedOutput.body;
|
|
1601
|
-
const deserialized =
|
|
1601
|
+
const deserialized = de_PolicyTypeNotFoundException(body.Error, context);
|
|
1602
1602
|
const exception = new PolicyTypeNotFoundException({
|
|
1603
1603
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1604
1604
|
...deserialized,
|
|
1605
1605
|
});
|
|
1606
1606
|
return __decorateServiceException(exception, body);
|
|
1607
1607
|
};
|
|
1608
|
-
const
|
|
1608
|
+
const de_SubnetNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1609
1609
|
const body = parsedOutput.body;
|
|
1610
|
-
const deserialized =
|
|
1610
|
+
const deserialized = de_SubnetNotFoundException(body.Error, context);
|
|
1611
1611
|
const exception = new SubnetNotFoundException({
|
|
1612
1612
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1613
1613
|
...deserialized,
|
|
1614
1614
|
});
|
|
1615
1615
|
return __decorateServiceException(exception, body);
|
|
1616
1616
|
};
|
|
1617
|
-
const
|
|
1617
|
+
const de_TooManyAccessPointsExceptionRes = async (parsedOutput, context) => {
|
|
1618
1618
|
const body = parsedOutput.body;
|
|
1619
|
-
const deserialized =
|
|
1619
|
+
const deserialized = de_TooManyAccessPointsException(body.Error, context);
|
|
1620
1620
|
const exception = new TooManyAccessPointsException({
|
|
1621
1621
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1622
1622
|
...deserialized,
|
|
1623
1623
|
});
|
|
1624
1624
|
return __decorateServiceException(exception, body);
|
|
1625
1625
|
};
|
|
1626
|
-
const
|
|
1626
|
+
const de_TooManyPoliciesExceptionRes = async (parsedOutput, context) => {
|
|
1627
1627
|
const body = parsedOutput.body;
|
|
1628
|
-
const deserialized =
|
|
1628
|
+
const deserialized = de_TooManyPoliciesException(body.Error, context);
|
|
1629
1629
|
const exception = new TooManyPoliciesException({
|
|
1630
1630
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1631
1631
|
...deserialized,
|
|
1632
1632
|
});
|
|
1633
1633
|
return __decorateServiceException(exception, body);
|
|
1634
1634
|
};
|
|
1635
|
-
const
|
|
1635
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1636
1636
|
const body = parsedOutput.body;
|
|
1637
|
-
const deserialized =
|
|
1637
|
+
const deserialized = de_TooManyTagsException(body.Error, context);
|
|
1638
1638
|
const exception = new TooManyTagsException({
|
|
1639
1639
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1640
1640
|
...deserialized,
|
|
1641
1641
|
});
|
|
1642
1642
|
return __decorateServiceException(exception, body);
|
|
1643
1643
|
};
|
|
1644
|
-
const
|
|
1644
|
+
const de_UnsupportedProtocolExceptionRes = async (parsedOutput, context) => {
|
|
1645
1645
|
const body = parsedOutput.body;
|
|
1646
|
-
const deserialized =
|
|
1646
|
+
const deserialized = de_UnsupportedProtocolException(body.Error, context);
|
|
1647
1647
|
const exception = new UnsupportedProtocolException({
|
|
1648
1648
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1649
1649
|
...deserialized,
|
|
1650
1650
|
});
|
|
1651
1651
|
return __decorateServiceException(exception, body);
|
|
1652
1652
|
};
|
|
1653
|
-
const
|
|
1653
|
+
const se_AccessLog = (input, context) => {
|
|
1654
1654
|
const entries = {};
|
|
1655
1655
|
if (input.Enabled != null) {
|
|
1656
1656
|
entries["Enabled"] = input.Enabled;
|
|
@@ -1666,13 +1666,13 @@ const serializeAws_queryAccessLog = (input, context) => {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
return entries;
|
|
1668
1668
|
};
|
|
1669
|
-
const
|
|
1669
|
+
const se_AddAvailabilityZonesInput = (input, context) => {
|
|
1670
1670
|
const entries = {};
|
|
1671
1671
|
if (input.LoadBalancerName != null) {
|
|
1672
1672
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1673
1673
|
}
|
|
1674
1674
|
if (input.AvailabilityZones != null) {
|
|
1675
|
-
const memberEntries =
|
|
1675
|
+
const memberEntries = se_AvailabilityZones(input.AvailabilityZones, context);
|
|
1676
1676
|
if (input.AvailabilityZones?.length === 0) {
|
|
1677
1677
|
entries.AvailabilityZones = [];
|
|
1678
1678
|
}
|
|
@@ -1683,7 +1683,7 @@ const serializeAws_queryAddAvailabilityZonesInput = (input, context) => {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
return entries;
|
|
1685
1685
|
};
|
|
1686
|
-
const
|
|
1686
|
+
const se_AdditionalAttribute = (input, context) => {
|
|
1687
1687
|
const entries = {};
|
|
1688
1688
|
if (input.Key != null) {
|
|
1689
1689
|
entries["Key"] = input.Key;
|
|
@@ -1693,14 +1693,14 @@ const serializeAws_queryAdditionalAttribute = (input, context) => {
|
|
|
1693
1693
|
}
|
|
1694
1694
|
return entries;
|
|
1695
1695
|
};
|
|
1696
|
-
const
|
|
1696
|
+
const se_AdditionalAttributes = (input, context) => {
|
|
1697
1697
|
const entries = {};
|
|
1698
1698
|
let counter = 1;
|
|
1699
1699
|
for (const entry of input) {
|
|
1700
1700
|
if (entry === null) {
|
|
1701
1701
|
continue;
|
|
1702
1702
|
}
|
|
1703
|
-
const memberEntries =
|
|
1703
|
+
const memberEntries = se_AdditionalAttribute(entry, context);
|
|
1704
1704
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1705
1705
|
entries[`member.${counter}.${key}`] = value;
|
|
1706
1706
|
});
|
|
@@ -1708,10 +1708,10 @@ const serializeAws_queryAdditionalAttributes = (input, context) => {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
return entries;
|
|
1710
1710
|
};
|
|
1711
|
-
const
|
|
1711
|
+
const se_AddTagsInput = (input, context) => {
|
|
1712
1712
|
const entries = {};
|
|
1713
1713
|
if (input.LoadBalancerNames != null) {
|
|
1714
|
-
const memberEntries =
|
|
1714
|
+
const memberEntries = se_LoadBalancerNames(input.LoadBalancerNames, context);
|
|
1715
1715
|
if (input.LoadBalancerNames?.length === 0) {
|
|
1716
1716
|
entries.LoadBalancerNames = [];
|
|
1717
1717
|
}
|
|
@@ -1721,7 +1721,7 @@ const serializeAws_queryAddTagsInput = (input, context) => {
|
|
|
1721
1721
|
});
|
|
1722
1722
|
}
|
|
1723
1723
|
if (input.Tags != null) {
|
|
1724
|
-
const memberEntries =
|
|
1724
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
1725
1725
|
if (input.Tags?.length === 0) {
|
|
1726
1726
|
entries.Tags = [];
|
|
1727
1727
|
}
|
|
@@ -1732,13 +1732,13 @@ const serializeAws_queryAddTagsInput = (input, context) => {
|
|
|
1732
1732
|
}
|
|
1733
1733
|
return entries;
|
|
1734
1734
|
};
|
|
1735
|
-
const
|
|
1735
|
+
const se_ApplySecurityGroupsToLoadBalancerInput = (input, context) => {
|
|
1736
1736
|
const entries = {};
|
|
1737
1737
|
if (input.LoadBalancerName != null) {
|
|
1738
1738
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1739
1739
|
}
|
|
1740
1740
|
if (input.SecurityGroups != null) {
|
|
1741
|
-
const memberEntries =
|
|
1741
|
+
const memberEntries = se_SecurityGroups(input.SecurityGroups, context);
|
|
1742
1742
|
if (input.SecurityGroups?.length === 0) {
|
|
1743
1743
|
entries.SecurityGroups = [];
|
|
1744
1744
|
}
|
|
@@ -1749,13 +1749,13 @@ const serializeAws_queryApplySecurityGroupsToLoadBalancerInput = (input, context
|
|
|
1749
1749
|
}
|
|
1750
1750
|
return entries;
|
|
1751
1751
|
};
|
|
1752
|
-
const
|
|
1752
|
+
const se_AttachLoadBalancerToSubnetsInput = (input, context) => {
|
|
1753
1753
|
const entries = {};
|
|
1754
1754
|
if (input.LoadBalancerName != null) {
|
|
1755
1755
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1756
1756
|
}
|
|
1757
1757
|
if (input.Subnets != null) {
|
|
1758
|
-
const memberEntries =
|
|
1758
|
+
const memberEntries = se_Subnets(input.Subnets, context);
|
|
1759
1759
|
if (input.Subnets?.length === 0) {
|
|
1760
1760
|
entries.Subnets = [];
|
|
1761
1761
|
}
|
|
@@ -1766,7 +1766,7 @@ const serializeAws_queryAttachLoadBalancerToSubnetsInput = (input, context) => {
|
|
|
1766
1766
|
}
|
|
1767
1767
|
return entries;
|
|
1768
1768
|
};
|
|
1769
|
-
const
|
|
1769
|
+
const se_AvailabilityZones = (input, context) => {
|
|
1770
1770
|
const entries = {};
|
|
1771
1771
|
let counter = 1;
|
|
1772
1772
|
for (const entry of input) {
|
|
@@ -1778,13 +1778,13 @@ const serializeAws_queryAvailabilityZones = (input, context) => {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
return entries;
|
|
1780
1780
|
};
|
|
1781
|
-
const
|
|
1781
|
+
const se_ConfigureHealthCheckInput = (input, context) => {
|
|
1782
1782
|
const entries = {};
|
|
1783
1783
|
if (input.LoadBalancerName != null) {
|
|
1784
1784
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1785
1785
|
}
|
|
1786
1786
|
if (input.HealthCheck != null) {
|
|
1787
|
-
const memberEntries =
|
|
1787
|
+
const memberEntries = se_HealthCheck(input.HealthCheck, context);
|
|
1788
1788
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1789
1789
|
const loc = `HealthCheck.${key}`;
|
|
1790
1790
|
entries[loc] = value;
|
|
@@ -1792,7 +1792,7 @@ const serializeAws_queryConfigureHealthCheckInput = (input, context) => {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
return entries;
|
|
1794
1794
|
};
|
|
1795
|
-
const
|
|
1795
|
+
const se_ConnectionDraining = (input, context) => {
|
|
1796
1796
|
const entries = {};
|
|
1797
1797
|
if (input.Enabled != null) {
|
|
1798
1798
|
entries["Enabled"] = input.Enabled;
|
|
@@ -1802,20 +1802,20 @@ const serializeAws_queryConnectionDraining = (input, context) => {
|
|
|
1802
1802
|
}
|
|
1803
1803
|
return entries;
|
|
1804
1804
|
};
|
|
1805
|
-
const
|
|
1805
|
+
const se_ConnectionSettings = (input, context) => {
|
|
1806
1806
|
const entries = {};
|
|
1807
1807
|
if (input.IdleTimeout != null) {
|
|
1808
1808
|
entries["IdleTimeout"] = input.IdleTimeout;
|
|
1809
1809
|
}
|
|
1810
1810
|
return entries;
|
|
1811
1811
|
};
|
|
1812
|
-
const
|
|
1812
|
+
const se_CreateAccessPointInput = (input, context) => {
|
|
1813
1813
|
const entries = {};
|
|
1814
1814
|
if (input.LoadBalancerName != null) {
|
|
1815
1815
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1816
1816
|
}
|
|
1817
1817
|
if (input.Listeners != null) {
|
|
1818
|
-
const memberEntries =
|
|
1818
|
+
const memberEntries = se_Listeners(input.Listeners, context);
|
|
1819
1819
|
if (input.Listeners?.length === 0) {
|
|
1820
1820
|
entries.Listeners = [];
|
|
1821
1821
|
}
|
|
@@ -1825,7 +1825,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1825
1825
|
});
|
|
1826
1826
|
}
|
|
1827
1827
|
if (input.AvailabilityZones != null) {
|
|
1828
|
-
const memberEntries =
|
|
1828
|
+
const memberEntries = se_AvailabilityZones(input.AvailabilityZones, context);
|
|
1829
1829
|
if (input.AvailabilityZones?.length === 0) {
|
|
1830
1830
|
entries.AvailabilityZones = [];
|
|
1831
1831
|
}
|
|
@@ -1835,7 +1835,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1835
1835
|
});
|
|
1836
1836
|
}
|
|
1837
1837
|
if (input.Subnets != null) {
|
|
1838
|
-
const memberEntries =
|
|
1838
|
+
const memberEntries = se_Subnets(input.Subnets, context);
|
|
1839
1839
|
if (input.Subnets?.length === 0) {
|
|
1840
1840
|
entries.Subnets = [];
|
|
1841
1841
|
}
|
|
@@ -1845,7 +1845,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1845
1845
|
});
|
|
1846
1846
|
}
|
|
1847
1847
|
if (input.SecurityGroups != null) {
|
|
1848
|
-
const memberEntries =
|
|
1848
|
+
const memberEntries = se_SecurityGroups(input.SecurityGroups, context);
|
|
1849
1849
|
if (input.SecurityGroups?.length === 0) {
|
|
1850
1850
|
entries.SecurityGroups = [];
|
|
1851
1851
|
}
|
|
@@ -1858,7 +1858,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1858
1858
|
entries["Scheme"] = input.Scheme;
|
|
1859
1859
|
}
|
|
1860
1860
|
if (input.Tags != null) {
|
|
1861
|
-
const memberEntries =
|
|
1861
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
1862
1862
|
if (input.Tags?.length === 0) {
|
|
1863
1863
|
entries.Tags = [];
|
|
1864
1864
|
}
|
|
@@ -1869,7 +1869,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
return entries;
|
|
1871
1871
|
};
|
|
1872
|
-
const
|
|
1872
|
+
const se_CreateAppCookieStickinessPolicyInput = (input, context) => {
|
|
1873
1873
|
const entries = {};
|
|
1874
1874
|
if (input.LoadBalancerName != null) {
|
|
1875
1875
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -1882,7 +1882,7 @@ const serializeAws_queryCreateAppCookieStickinessPolicyInput = (input, context)
|
|
|
1882
1882
|
}
|
|
1883
1883
|
return entries;
|
|
1884
1884
|
};
|
|
1885
|
-
const
|
|
1885
|
+
const se_CreateLBCookieStickinessPolicyInput = (input, context) => {
|
|
1886
1886
|
const entries = {};
|
|
1887
1887
|
if (input.LoadBalancerName != null) {
|
|
1888
1888
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -1895,13 +1895,13 @@ const serializeAws_queryCreateLBCookieStickinessPolicyInput = (input, context) =
|
|
|
1895
1895
|
}
|
|
1896
1896
|
return entries;
|
|
1897
1897
|
};
|
|
1898
|
-
const
|
|
1898
|
+
const se_CreateLoadBalancerListenerInput = (input, context) => {
|
|
1899
1899
|
const entries = {};
|
|
1900
1900
|
if (input.LoadBalancerName != null) {
|
|
1901
1901
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1902
1902
|
}
|
|
1903
1903
|
if (input.Listeners != null) {
|
|
1904
|
-
const memberEntries =
|
|
1904
|
+
const memberEntries = se_Listeners(input.Listeners, context);
|
|
1905
1905
|
if (input.Listeners?.length === 0) {
|
|
1906
1906
|
entries.Listeners = [];
|
|
1907
1907
|
}
|
|
@@ -1912,7 +1912,7 @@ const serializeAws_queryCreateLoadBalancerListenerInput = (input, context) => {
|
|
|
1912
1912
|
}
|
|
1913
1913
|
return entries;
|
|
1914
1914
|
};
|
|
1915
|
-
const
|
|
1915
|
+
const se_CreateLoadBalancerPolicyInput = (input, context) => {
|
|
1916
1916
|
const entries = {};
|
|
1917
1917
|
if (input.LoadBalancerName != null) {
|
|
1918
1918
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -1924,7 +1924,7 @@ const serializeAws_queryCreateLoadBalancerPolicyInput = (input, context) => {
|
|
|
1924
1924
|
entries["PolicyTypeName"] = input.PolicyTypeName;
|
|
1925
1925
|
}
|
|
1926
1926
|
if (input.PolicyAttributes != null) {
|
|
1927
|
-
const memberEntries =
|
|
1927
|
+
const memberEntries = se_PolicyAttributes(input.PolicyAttributes, context);
|
|
1928
1928
|
if (input.PolicyAttributes?.length === 0) {
|
|
1929
1929
|
entries.PolicyAttributes = [];
|
|
1930
1930
|
}
|
|
@@ -1935,27 +1935,27 @@ const serializeAws_queryCreateLoadBalancerPolicyInput = (input, context) => {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
return entries;
|
|
1937
1937
|
};
|
|
1938
|
-
const
|
|
1938
|
+
const se_CrossZoneLoadBalancing = (input, context) => {
|
|
1939
1939
|
const entries = {};
|
|
1940
1940
|
if (input.Enabled != null) {
|
|
1941
1941
|
entries["Enabled"] = input.Enabled;
|
|
1942
1942
|
}
|
|
1943
1943
|
return entries;
|
|
1944
1944
|
};
|
|
1945
|
-
const
|
|
1945
|
+
const se_DeleteAccessPointInput = (input, context) => {
|
|
1946
1946
|
const entries = {};
|
|
1947
1947
|
if (input.LoadBalancerName != null) {
|
|
1948
1948
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1949
1949
|
}
|
|
1950
1950
|
return entries;
|
|
1951
1951
|
};
|
|
1952
|
-
const
|
|
1952
|
+
const se_DeleteLoadBalancerListenerInput = (input, context) => {
|
|
1953
1953
|
const entries = {};
|
|
1954
1954
|
if (input.LoadBalancerName != null) {
|
|
1955
1955
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1956
1956
|
}
|
|
1957
1957
|
if (input.LoadBalancerPorts != null) {
|
|
1958
|
-
const memberEntries =
|
|
1958
|
+
const memberEntries = se_Ports(input.LoadBalancerPorts, context);
|
|
1959
1959
|
if (input.LoadBalancerPorts?.length === 0) {
|
|
1960
1960
|
entries.LoadBalancerPorts = [];
|
|
1961
1961
|
}
|
|
@@ -1966,7 +1966,7 @@ const serializeAws_queryDeleteLoadBalancerListenerInput = (input, context) => {
|
|
|
1966
1966
|
}
|
|
1967
1967
|
return entries;
|
|
1968
1968
|
};
|
|
1969
|
-
const
|
|
1969
|
+
const se_DeleteLoadBalancerPolicyInput = (input, context) => {
|
|
1970
1970
|
const entries = {};
|
|
1971
1971
|
if (input.LoadBalancerName != null) {
|
|
1972
1972
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -1976,13 +1976,13 @@ const serializeAws_queryDeleteLoadBalancerPolicyInput = (input, context) => {
|
|
|
1976
1976
|
}
|
|
1977
1977
|
return entries;
|
|
1978
1978
|
};
|
|
1979
|
-
const
|
|
1979
|
+
const se_DeregisterEndPointsInput = (input, context) => {
|
|
1980
1980
|
const entries = {};
|
|
1981
1981
|
if (input.LoadBalancerName != null) {
|
|
1982
1982
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1983
1983
|
}
|
|
1984
1984
|
if (input.Instances != null) {
|
|
1985
|
-
const memberEntries =
|
|
1985
|
+
const memberEntries = se_Instances(input.Instances, context);
|
|
1986
1986
|
if (input.Instances?.length === 0) {
|
|
1987
1987
|
entries.Instances = [];
|
|
1988
1988
|
}
|
|
@@ -1993,10 +1993,10 @@ const serializeAws_queryDeregisterEndPointsInput = (input, context) => {
|
|
|
1993
1993
|
}
|
|
1994
1994
|
return entries;
|
|
1995
1995
|
};
|
|
1996
|
-
const
|
|
1996
|
+
const se_DescribeAccessPointsInput = (input, context) => {
|
|
1997
1997
|
const entries = {};
|
|
1998
1998
|
if (input.LoadBalancerNames != null) {
|
|
1999
|
-
const memberEntries =
|
|
1999
|
+
const memberEntries = se_LoadBalancerNames(input.LoadBalancerNames, context);
|
|
2000
2000
|
if (input.LoadBalancerNames?.length === 0) {
|
|
2001
2001
|
entries.LoadBalancerNames = [];
|
|
2002
2002
|
}
|
|
@@ -2013,7 +2013,7 @@ const serializeAws_queryDescribeAccessPointsInput = (input, context) => {
|
|
|
2013
2013
|
}
|
|
2014
2014
|
return entries;
|
|
2015
2015
|
};
|
|
2016
|
-
const
|
|
2016
|
+
const se_DescribeAccountLimitsInput = (input, context) => {
|
|
2017
2017
|
const entries = {};
|
|
2018
2018
|
if (input.Marker != null) {
|
|
2019
2019
|
entries["Marker"] = input.Marker;
|
|
@@ -2023,13 +2023,13 @@ const serializeAws_queryDescribeAccountLimitsInput = (input, context) => {
|
|
|
2023
2023
|
}
|
|
2024
2024
|
return entries;
|
|
2025
2025
|
};
|
|
2026
|
-
const
|
|
2026
|
+
const se_DescribeEndPointStateInput = (input, context) => {
|
|
2027
2027
|
const entries = {};
|
|
2028
2028
|
if (input.LoadBalancerName != null) {
|
|
2029
2029
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2030
2030
|
}
|
|
2031
2031
|
if (input.Instances != null) {
|
|
2032
|
-
const memberEntries =
|
|
2032
|
+
const memberEntries = se_Instances(input.Instances, context);
|
|
2033
2033
|
if (input.Instances?.length === 0) {
|
|
2034
2034
|
entries.Instances = [];
|
|
2035
2035
|
}
|
|
@@ -2040,20 +2040,20 @@ const serializeAws_queryDescribeEndPointStateInput = (input, context) => {
|
|
|
2040
2040
|
}
|
|
2041
2041
|
return entries;
|
|
2042
2042
|
};
|
|
2043
|
-
const
|
|
2043
|
+
const se_DescribeLoadBalancerAttributesInput = (input, context) => {
|
|
2044
2044
|
const entries = {};
|
|
2045
2045
|
if (input.LoadBalancerName != null) {
|
|
2046
2046
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2047
2047
|
}
|
|
2048
2048
|
return entries;
|
|
2049
2049
|
};
|
|
2050
|
-
const
|
|
2050
|
+
const se_DescribeLoadBalancerPoliciesInput = (input, context) => {
|
|
2051
2051
|
const entries = {};
|
|
2052
2052
|
if (input.LoadBalancerName != null) {
|
|
2053
2053
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2054
2054
|
}
|
|
2055
2055
|
if (input.PolicyNames != null) {
|
|
2056
|
-
const memberEntries =
|
|
2056
|
+
const memberEntries = se_PolicyNames(input.PolicyNames, context);
|
|
2057
2057
|
if (input.PolicyNames?.length === 0) {
|
|
2058
2058
|
entries.PolicyNames = [];
|
|
2059
2059
|
}
|
|
@@ -2064,10 +2064,10 @@ const serializeAws_queryDescribeLoadBalancerPoliciesInput = (input, context) =>
|
|
|
2064
2064
|
}
|
|
2065
2065
|
return entries;
|
|
2066
2066
|
};
|
|
2067
|
-
const
|
|
2067
|
+
const se_DescribeLoadBalancerPolicyTypesInput = (input, context) => {
|
|
2068
2068
|
const entries = {};
|
|
2069
2069
|
if (input.PolicyTypeNames != null) {
|
|
2070
|
-
const memberEntries =
|
|
2070
|
+
const memberEntries = se_PolicyTypeNames(input.PolicyTypeNames, context);
|
|
2071
2071
|
if (input.PolicyTypeNames?.length === 0) {
|
|
2072
2072
|
entries.PolicyTypeNames = [];
|
|
2073
2073
|
}
|
|
@@ -2078,10 +2078,10 @@ const serializeAws_queryDescribeLoadBalancerPolicyTypesInput = (input, context)
|
|
|
2078
2078
|
}
|
|
2079
2079
|
return entries;
|
|
2080
2080
|
};
|
|
2081
|
-
const
|
|
2081
|
+
const se_DescribeTagsInput = (input, context) => {
|
|
2082
2082
|
const entries = {};
|
|
2083
2083
|
if (input.LoadBalancerNames != null) {
|
|
2084
|
-
const memberEntries =
|
|
2084
|
+
const memberEntries = se_LoadBalancerNamesMax20(input.LoadBalancerNames, context);
|
|
2085
2085
|
if (input.LoadBalancerNames?.length === 0) {
|
|
2086
2086
|
entries.LoadBalancerNames = [];
|
|
2087
2087
|
}
|
|
@@ -2092,13 +2092,13 @@ const serializeAws_queryDescribeTagsInput = (input, context) => {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
return entries;
|
|
2094
2094
|
};
|
|
2095
|
-
const
|
|
2095
|
+
const se_DetachLoadBalancerFromSubnetsInput = (input, context) => {
|
|
2096
2096
|
const entries = {};
|
|
2097
2097
|
if (input.LoadBalancerName != null) {
|
|
2098
2098
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2099
2099
|
}
|
|
2100
2100
|
if (input.Subnets != null) {
|
|
2101
|
-
const memberEntries =
|
|
2101
|
+
const memberEntries = se_Subnets(input.Subnets, context);
|
|
2102
2102
|
if (input.Subnets?.length === 0) {
|
|
2103
2103
|
entries.Subnets = [];
|
|
2104
2104
|
}
|
|
@@ -2109,7 +2109,7 @@ const serializeAws_queryDetachLoadBalancerFromSubnetsInput = (input, context) =>
|
|
|
2109
2109
|
}
|
|
2110
2110
|
return entries;
|
|
2111
2111
|
};
|
|
2112
|
-
const
|
|
2112
|
+
const se_HealthCheck = (input, context) => {
|
|
2113
2113
|
const entries = {};
|
|
2114
2114
|
if (input.Target != null) {
|
|
2115
2115
|
entries["Target"] = input.Target;
|
|
@@ -2128,21 +2128,21 @@ const serializeAws_queryHealthCheck = (input, context) => {
|
|
|
2128
2128
|
}
|
|
2129
2129
|
return entries;
|
|
2130
2130
|
};
|
|
2131
|
-
const
|
|
2131
|
+
const se_Instance = (input, context) => {
|
|
2132
2132
|
const entries = {};
|
|
2133
2133
|
if (input.InstanceId != null) {
|
|
2134
2134
|
entries["InstanceId"] = input.InstanceId;
|
|
2135
2135
|
}
|
|
2136
2136
|
return entries;
|
|
2137
2137
|
};
|
|
2138
|
-
const
|
|
2138
|
+
const se_Instances = (input, context) => {
|
|
2139
2139
|
const entries = {};
|
|
2140
2140
|
let counter = 1;
|
|
2141
2141
|
for (const entry of input) {
|
|
2142
2142
|
if (entry === null) {
|
|
2143
2143
|
continue;
|
|
2144
2144
|
}
|
|
2145
|
-
const memberEntries =
|
|
2145
|
+
const memberEntries = se_Instance(entry, context);
|
|
2146
2146
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2147
2147
|
entries[`member.${counter}.${key}`] = value;
|
|
2148
2148
|
});
|
|
@@ -2150,7 +2150,7 @@ const serializeAws_queryInstances = (input, context) => {
|
|
|
2150
2150
|
}
|
|
2151
2151
|
return entries;
|
|
2152
2152
|
};
|
|
2153
|
-
const
|
|
2153
|
+
const se_Listener = (input, context) => {
|
|
2154
2154
|
const entries = {};
|
|
2155
2155
|
if (input.Protocol != null) {
|
|
2156
2156
|
entries["Protocol"] = input.Protocol;
|
|
@@ -2169,14 +2169,14 @@ const serializeAws_queryListener = (input, context) => {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
return entries;
|
|
2171
2171
|
};
|
|
2172
|
-
const
|
|
2172
|
+
const se_Listeners = (input, context) => {
|
|
2173
2173
|
const entries = {};
|
|
2174
2174
|
let counter = 1;
|
|
2175
2175
|
for (const entry of input) {
|
|
2176
2176
|
if (entry === null) {
|
|
2177
2177
|
continue;
|
|
2178
2178
|
}
|
|
2179
|
-
const memberEntries =
|
|
2179
|
+
const memberEntries = se_Listener(entry, context);
|
|
2180
2180
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2181
2181
|
entries[`member.${counter}.${key}`] = value;
|
|
2182
2182
|
});
|
|
@@ -2184,38 +2184,38 @@ const serializeAws_queryListeners = (input, context) => {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
return entries;
|
|
2186
2186
|
};
|
|
2187
|
-
const
|
|
2187
|
+
const se_LoadBalancerAttributes = (input, context) => {
|
|
2188
2188
|
const entries = {};
|
|
2189
2189
|
if (input.CrossZoneLoadBalancing != null) {
|
|
2190
|
-
const memberEntries =
|
|
2190
|
+
const memberEntries = se_CrossZoneLoadBalancing(input.CrossZoneLoadBalancing, context);
|
|
2191
2191
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2192
2192
|
const loc = `CrossZoneLoadBalancing.${key}`;
|
|
2193
2193
|
entries[loc] = value;
|
|
2194
2194
|
});
|
|
2195
2195
|
}
|
|
2196
2196
|
if (input.AccessLog != null) {
|
|
2197
|
-
const memberEntries =
|
|
2197
|
+
const memberEntries = se_AccessLog(input.AccessLog, context);
|
|
2198
2198
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2199
2199
|
const loc = `AccessLog.${key}`;
|
|
2200
2200
|
entries[loc] = value;
|
|
2201
2201
|
});
|
|
2202
2202
|
}
|
|
2203
2203
|
if (input.ConnectionDraining != null) {
|
|
2204
|
-
const memberEntries =
|
|
2204
|
+
const memberEntries = se_ConnectionDraining(input.ConnectionDraining, context);
|
|
2205
2205
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2206
2206
|
const loc = `ConnectionDraining.${key}`;
|
|
2207
2207
|
entries[loc] = value;
|
|
2208
2208
|
});
|
|
2209
2209
|
}
|
|
2210
2210
|
if (input.ConnectionSettings != null) {
|
|
2211
|
-
const memberEntries =
|
|
2211
|
+
const memberEntries = se_ConnectionSettings(input.ConnectionSettings, context);
|
|
2212
2212
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2213
2213
|
const loc = `ConnectionSettings.${key}`;
|
|
2214
2214
|
entries[loc] = value;
|
|
2215
2215
|
});
|
|
2216
2216
|
}
|
|
2217
2217
|
if (input.AdditionalAttributes != null) {
|
|
2218
|
-
const memberEntries =
|
|
2218
|
+
const memberEntries = se_AdditionalAttributes(input.AdditionalAttributes, context);
|
|
2219
2219
|
if (input.AdditionalAttributes?.length === 0) {
|
|
2220
2220
|
entries.AdditionalAttributes = [];
|
|
2221
2221
|
}
|
|
@@ -2226,7 +2226,7 @@ const serializeAws_queryLoadBalancerAttributes = (input, context) => {
|
|
|
2226
2226
|
}
|
|
2227
2227
|
return entries;
|
|
2228
2228
|
};
|
|
2229
|
-
const
|
|
2229
|
+
const se_LoadBalancerNames = (input, context) => {
|
|
2230
2230
|
const entries = {};
|
|
2231
2231
|
let counter = 1;
|
|
2232
2232
|
for (const entry of input) {
|
|
@@ -2238,7 +2238,7 @@ const serializeAws_queryLoadBalancerNames = (input, context) => {
|
|
|
2238
2238
|
}
|
|
2239
2239
|
return entries;
|
|
2240
2240
|
};
|
|
2241
|
-
const
|
|
2241
|
+
const se_LoadBalancerNamesMax20 = (input, context) => {
|
|
2242
2242
|
const entries = {};
|
|
2243
2243
|
let counter = 1;
|
|
2244
2244
|
for (const entry of input) {
|
|
@@ -2250,13 +2250,13 @@ const serializeAws_queryLoadBalancerNamesMax20 = (input, context) => {
|
|
|
2250
2250
|
}
|
|
2251
2251
|
return entries;
|
|
2252
2252
|
};
|
|
2253
|
-
const
|
|
2253
|
+
const se_ModifyLoadBalancerAttributesInput = (input, context) => {
|
|
2254
2254
|
const entries = {};
|
|
2255
2255
|
if (input.LoadBalancerName != null) {
|
|
2256
2256
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2257
2257
|
}
|
|
2258
2258
|
if (input.LoadBalancerAttributes != null) {
|
|
2259
|
-
const memberEntries =
|
|
2259
|
+
const memberEntries = se_LoadBalancerAttributes(input.LoadBalancerAttributes, context);
|
|
2260
2260
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2261
2261
|
const loc = `LoadBalancerAttributes.${key}`;
|
|
2262
2262
|
entries[loc] = value;
|
|
@@ -2264,7 +2264,7 @@ const serializeAws_queryModifyLoadBalancerAttributesInput = (input, context) =>
|
|
|
2264
2264
|
}
|
|
2265
2265
|
return entries;
|
|
2266
2266
|
};
|
|
2267
|
-
const
|
|
2267
|
+
const se_PolicyAttribute = (input, context) => {
|
|
2268
2268
|
const entries = {};
|
|
2269
2269
|
if (input.AttributeName != null) {
|
|
2270
2270
|
entries["AttributeName"] = input.AttributeName;
|
|
@@ -2274,14 +2274,14 @@ const serializeAws_queryPolicyAttribute = (input, context) => {
|
|
|
2274
2274
|
}
|
|
2275
2275
|
return entries;
|
|
2276
2276
|
};
|
|
2277
|
-
const
|
|
2277
|
+
const se_PolicyAttributes = (input, context) => {
|
|
2278
2278
|
const entries = {};
|
|
2279
2279
|
let counter = 1;
|
|
2280
2280
|
for (const entry of input) {
|
|
2281
2281
|
if (entry === null) {
|
|
2282
2282
|
continue;
|
|
2283
2283
|
}
|
|
2284
|
-
const memberEntries =
|
|
2284
|
+
const memberEntries = se_PolicyAttribute(entry, context);
|
|
2285
2285
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2286
2286
|
entries[`member.${counter}.${key}`] = value;
|
|
2287
2287
|
});
|
|
@@ -2289,7 +2289,7 @@ const serializeAws_queryPolicyAttributes = (input, context) => {
|
|
|
2289
2289
|
}
|
|
2290
2290
|
return entries;
|
|
2291
2291
|
};
|
|
2292
|
-
const
|
|
2292
|
+
const se_PolicyNames = (input, context) => {
|
|
2293
2293
|
const entries = {};
|
|
2294
2294
|
let counter = 1;
|
|
2295
2295
|
for (const entry of input) {
|
|
@@ -2301,7 +2301,7 @@ const serializeAws_queryPolicyNames = (input, context) => {
|
|
|
2301
2301
|
}
|
|
2302
2302
|
return entries;
|
|
2303
2303
|
};
|
|
2304
|
-
const
|
|
2304
|
+
const se_PolicyTypeNames = (input, context) => {
|
|
2305
2305
|
const entries = {};
|
|
2306
2306
|
let counter = 1;
|
|
2307
2307
|
for (const entry of input) {
|
|
@@ -2313,7 +2313,7 @@ const serializeAws_queryPolicyTypeNames = (input, context) => {
|
|
|
2313
2313
|
}
|
|
2314
2314
|
return entries;
|
|
2315
2315
|
};
|
|
2316
|
-
const
|
|
2316
|
+
const se_Ports = (input, context) => {
|
|
2317
2317
|
const entries = {};
|
|
2318
2318
|
let counter = 1;
|
|
2319
2319
|
for (const entry of input) {
|
|
@@ -2325,13 +2325,13 @@ const serializeAws_queryPorts = (input, context) => {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
return entries;
|
|
2327
2327
|
};
|
|
2328
|
-
const
|
|
2328
|
+
const se_RegisterEndPointsInput = (input, context) => {
|
|
2329
2329
|
const entries = {};
|
|
2330
2330
|
if (input.LoadBalancerName != null) {
|
|
2331
2331
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2332
2332
|
}
|
|
2333
2333
|
if (input.Instances != null) {
|
|
2334
|
-
const memberEntries =
|
|
2334
|
+
const memberEntries = se_Instances(input.Instances, context);
|
|
2335
2335
|
if (input.Instances?.length === 0) {
|
|
2336
2336
|
entries.Instances = [];
|
|
2337
2337
|
}
|
|
@@ -2342,13 +2342,13 @@ const serializeAws_queryRegisterEndPointsInput = (input, context) => {
|
|
|
2342
2342
|
}
|
|
2343
2343
|
return entries;
|
|
2344
2344
|
};
|
|
2345
|
-
const
|
|
2345
|
+
const se_RemoveAvailabilityZonesInput = (input, context) => {
|
|
2346
2346
|
const entries = {};
|
|
2347
2347
|
if (input.LoadBalancerName != null) {
|
|
2348
2348
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2349
2349
|
}
|
|
2350
2350
|
if (input.AvailabilityZones != null) {
|
|
2351
|
-
const memberEntries =
|
|
2351
|
+
const memberEntries = se_AvailabilityZones(input.AvailabilityZones, context);
|
|
2352
2352
|
if (input.AvailabilityZones?.length === 0) {
|
|
2353
2353
|
entries.AvailabilityZones = [];
|
|
2354
2354
|
}
|
|
@@ -2359,10 +2359,10 @@ const serializeAws_queryRemoveAvailabilityZonesInput = (input, context) => {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
return entries;
|
|
2361
2361
|
};
|
|
2362
|
-
const
|
|
2362
|
+
const se_RemoveTagsInput = (input, context) => {
|
|
2363
2363
|
const entries = {};
|
|
2364
2364
|
if (input.LoadBalancerNames != null) {
|
|
2365
|
-
const memberEntries =
|
|
2365
|
+
const memberEntries = se_LoadBalancerNames(input.LoadBalancerNames, context);
|
|
2366
2366
|
if (input.LoadBalancerNames?.length === 0) {
|
|
2367
2367
|
entries.LoadBalancerNames = [];
|
|
2368
2368
|
}
|
|
@@ -2372,7 +2372,7 @@ const serializeAws_queryRemoveTagsInput = (input, context) => {
|
|
|
2372
2372
|
});
|
|
2373
2373
|
}
|
|
2374
2374
|
if (input.Tags != null) {
|
|
2375
|
-
const memberEntries =
|
|
2375
|
+
const memberEntries = se_TagKeyList(input.Tags, context);
|
|
2376
2376
|
if (input.Tags?.length === 0) {
|
|
2377
2377
|
entries.Tags = [];
|
|
2378
2378
|
}
|
|
@@ -2383,7 +2383,7 @@ const serializeAws_queryRemoveTagsInput = (input, context) => {
|
|
|
2383
2383
|
}
|
|
2384
2384
|
return entries;
|
|
2385
2385
|
};
|
|
2386
|
-
const
|
|
2386
|
+
const se_SecurityGroups = (input, context) => {
|
|
2387
2387
|
const entries = {};
|
|
2388
2388
|
let counter = 1;
|
|
2389
2389
|
for (const entry of input) {
|
|
@@ -2395,7 +2395,7 @@ const serializeAws_querySecurityGroups = (input, context) => {
|
|
|
2395
2395
|
}
|
|
2396
2396
|
return entries;
|
|
2397
2397
|
};
|
|
2398
|
-
const
|
|
2398
|
+
const se_SetLoadBalancerListenerSSLCertificateInput = (input, context) => {
|
|
2399
2399
|
const entries = {};
|
|
2400
2400
|
if (input.LoadBalancerName != null) {
|
|
2401
2401
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -2408,7 +2408,7 @@ const serializeAws_querySetLoadBalancerListenerSSLCertificateInput = (input, con
|
|
|
2408
2408
|
}
|
|
2409
2409
|
return entries;
|
|
2410
2410
|
};
|
|
2411
|
-
const
|
|
2411
|
+
const se_SetLoadBalancerPoliciesForBackendServerInput = (input, context) => {
|
|
2412
2412
|
const entries = {};
|
|
2413
2413
|
if (input.LoadBalancerName != null) {
|
|
2414
2414
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -2417,7 +2417,7 @@ const serializeAws_querySetLoadBalancerPoliciesForBackendServerInput = (input, c
|
|
|
2417
2417
|
entries["InstancePort"] = input.InstancePort;
|
|
2418
2418
|
}
|
|
2419
2419
|
if (input.PolicyNames != null) {
|
|
2420
|
-
const memberEntries =
|
|
2420
|
+
const memberEntries = se_PolicyNames(input.PolicyNames, context);
|
|
2421
2421
|
if (input.PolicyNames?.length === 0) {
|
|
2422
2422
|
entries.PolicyNames = [];
|
|
2423
2423
|
}
|
|
@@ -2428,7 +2428,7 @@ const serializeAws_querySetLoadBalancerPoliciesForBackendServerInput = (input, c
|
|
|
2428
2428
|
}
|
|
2429
2429
|
return entries;
|
|
2430
2430
|
};
|
|
2431
|
-
const
|
|
2431
|
+
const se_SetLoadBalancerPoliciesOfListenerInput = (input, context) => {
|
|
2432
2432
|
const entries = {};
|
|
2433
2433
|
if (input.LoadBalancerName != null) {
|
|
2434
2434
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -2437,7 +2437,7 @@ const serializeAws_querySetLoadBalancerPoliciesOfListenerInput = (input, context
|
|
|
2437
2437
|
entries["LoadBalancerPort"] = input.LoadBalancerPort;
|
|
2438
2438
|
}
|
|
2439
2439
|
if (input.PolicyNames != null) {
|
|
2440
|
-
const memberEntries =
|
|
2440
|
+
const memberEntries = se_PolicyNames(input.PolicyNames, context);
|
|
2441
2441
|
if (input.PolicyNames?.length === 0) {
|
|
2442
2442
|
entries.PolicyNames = [];
|
|
2443
2443
|
}
|
|
@@ -2448,7 +2448,7 @@ const serializeAws_querySetLoadBalancerPoliciesOfListenerInput = (input, context
|
|
|
2448
2448
|
}
|
|
2449
2449
|
return entries;
|
|
2450
2450
|
};
|
|
2451
|
-
const
|
|
2451
|
+
const se_Subnets = (input, context) => {
|
|
2452
2452
|
const entries = {};
|
|
2453
2453
|
let counter = 1;
|
|
2454
2454
|
for (const entry of input) {
|
|
@@ -2460,7 +2460,7 @@ const serializeAws_querySubnets = (input, context) => {
|
|
|
2460
2460
|
}
|
|
2461
2461
|
return entries;
|
|
2462
2462
|
};
|
|
2463
|
-
const
|
|
2463
|
+
const se_Tag = (input, context) => {
|
|
2464
2464
|
const entries = {};
|
|
2465
2465
|
if (input.Key != null) {
|
|
2466
2466
|
entries["Key"] = input.Key;
|
|
@@ -2470,14 +2470,14 @@ const serializeAws_queryTag = (input, context) => {
|
|
|
2470
2470
|
}
|
|
2471
2471
|
return entries;
|
|
2472
2472
|
};
|
|
2473
|
-
const
|
|
2473
|
+
const se_TagKeyList = (input, context) => {
|
|
2474
2474
|
const entries = {};
|
|
2475
2475
|
let counter = 1;
|
|
2476
2476
|
for (const entry of input) {
|
|
2477
2477
|
if (entry === null) {
|
|
2478
2478
|
continue;
|
|
2479
2479
|
}
|
|
2480
|
-
const memberEntries =
|
|
2480
|
+
const memberEntries = se_TagKeyOnly(entry, context);
|
|
2481
2481
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2482
2482
|
entries[`member.${counter}.${key}`] = value;
|
|
2483
2483
|
});
|
|
@@ -2485,21 +2485,21 @@ const serializeAws_queryTagKeyList = (input, context) => {
|
|
|
2485
2485
|
}
|
|
2486
2486
|
return entries;
|
|
2487
2487
|
};
|
|
2488
|
-
const
|
|
2488
|
+
const se_TagKeyOnly = (input, context) => {
|
|
2489
2489
|
const entries = {};
|
|
2490
2490
|
if (input.Key != null) {
|
|
2491
2491
|
entries["Key"] = input.Key;
|
|
2492
2492
|
}
|
|
2493
2493
|
return entries;
|
|
2494
2494
|
};
|
|
2495
|
-
const
|
|
2495
|
+
const se_TagList = (input, context) => {
|
|
2496
2496
|
const entries = {};
|
|
2497
2497
|
let counter = 1;
|
|
2498
2498
|
for (const entry of input) {
|
|
2499
2499
|
if (entry === null) {
|
|
2500
2500
|
continue;
|
|
2501
2501
|
}
|
|
2502
|
-
const memberEntries =
|
|
2502
|
+
const memberEntries = se_Tag(entry, context);
|
|
2503
2503
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2504
2504
|
entries[`member.${counter}.${key}`] = value;
|
|
2505
2505
|
});
|
|
@@ -2507,7 +2507,7 @@ const serializeAws_queryTagList = (input, context) => {
|
|
|
2507
2507
|
}
|
|
2508
2508
|
return entries;
|
|
2509
2509
|
};
|
|
2510
|
-
const
|
|
2510
|
+
const de_AccessLog = (output, context) => {
|
|
2511
2511
|
const contents = {};
|
|
2512
2512
|
if (output["Enabled"] !== undefined) {
|
|
2513
2513
|
contents.Enabled = __parseBoolean(output["Enabled"]);
|
|
@@ -2523,24 +2523,24 @@ const deserializeAws_queryAccessLog = (output, context) => {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
return contents;
|
|
2525
2525
|
};
|
|
2526
|
-
const
|
|
2526
|
+
const de_AccessPointNotFoundException = (output, context) => {
|
|
2527
2527
|
const contents = {};
|
|
2528
2528
|
if (output["Message"] !== undefined) {
|
|
2529
2529
|
contents.Message = __expectString(output["Message"]);
|
|
2530
2530
|
}
|
|
2531
2531
|
return contents;
|
|
2532
2532
|
};
|
|
2533
|
-
const
|
|
2533
|
+
const de_AddAvailabilityZonesOutput = (output, context) => {
|
|
2534
2534
|
const contents = {};
|
|
2535
2535
|
if (output.AvailabilityZones === "") {
|
|
2536
2536
|
contents.AvailabilityZones = [];
|
|
2537
2537
|
}
|
|
2538
2538
|
else if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
2539
|
-
contents.AvailabilityZones =
|
|
2539
|
+
contents.AvailabilityZones = de_AvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
2540
2540
|
}
|
|
2541
2541
|
return contents;
|
|
2542
2542
|
};
|
|
2543
|
-
const
|
|
2543
|
+
const de_AdditionalAttribute = (output, context) => {
|
|
2544
2544
|
const contents = {};
|
|
2545
2545
|
if (output["Key"] !== undefined) {
|
|
2546
2546
|
contents.Key = __expectString(output["Key"]);
|
|
@@ -2550,25 +2550,25 @@ const deserializeAws_queryAdditionalAttribute = (output, context) => {
|
|
|
2550
2550
|
}
|
|
2551
2551
|
return contents;
|
|
2552
2552
|
};
|
|
2553
|
-
const
|
|
2553
|
+
const de_AdditionalAttributes = (output, context) => {
|
|
2554
2554
|
return (output || [])
|
|
2555
2555
|
.filter((e) => e != null)
|
|
2556
2556
|
.map((entry) => {
|
|
2557
|
-
return
|
|
2557
|
+
return de_AdditionalAttribute(entry, context);
|
|
2558
2558
|
});
|
|
2559
2559
|
};
|
|
2560
|
-
const
|
|
2560
|
+
const de_AddTagsOutput = (output, context) => {
|
|
2561
2561
|
const contents = {};
|
|
2562
2562
|
return contents;
|
|
2563
2563
|
};
|
|
2564
|
-
const
|
|
2564
|
+
const de_AppCookieStickinessPolicies = (output, context) => {
|
|
2565
2565
|
return (output || [])
|
|
2566
2566
|
.filter((e) => e != null)
|
|
2567
2567
|
.map((entry) => {
|
|
2568
|
-
return
|
|
2568
|
+
return de_AppCookieStickinessPolicy(entry, context);
|
|
2569
2569
|
});
|
|
2570
2570
|
};
|
|
2571
|
-
const
|
|
2571
|
+
const de_AppCookieStickinessPolicy = (output, context) => {
|
|
2572
2572
|
const contents = {};
|
|
2573
2573
|
if (output["PolicyName"] !== undefined) {
|
|
2574
2574
|
contents.PolicyName = __expectString(output["PolicyName"]);
|
|
@@ -2578,34 +2578,34 @@ const deserializeAws_queryAppCookieStickinessPolicy = (output, context) => {
|
|
|
2578
2578
|
}
|
|
2579
2579
|
return contents;
|
|
2580
2580
|
};
|
|
2581
|
-
const
|
|
2581
|
+
const de_ApplySecurityGroupsToLoadBalancerOutput = (output, context) => {
|
|
2582
2582
|
const contents = {};
|
|
2583
2583
|
if (output.SecurityGroups === "") {
|
|
2584
2584
|
contents.SecurityGroups = [];
|
|
2585
2585
|
}
|
|
2586
2586
|
else if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
2587
|
-
contents.SecurityGroups =
|
|
2587
|
+
contents.SecurityGroups = de_SecurityGroups(__getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
|
|
2588
2588
|
}
|
|
2589
2589
|
return contents;
|
|
2590
2590
|
};
|
|
2591
|
-
const
|
|
2591
|
+
const de_AttachLoadBalancerToSubnetsOutput = (output, context) => {
|
|
2592
2592
|
const contents = {};
|
|
2593
2593
|
if (output.Subnets === "") {
|
|
2594
2594
|
contents.Subnets = [];
|
|
2595
2595
|
}
|
|
2596
2596
|
else if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
2597
|
-
contents.Subnets =
|
|
2597
|
+
contents.Subnets = de_Subnets(__getArrayIfSingleItem(output["Subnets"]["member"]), context);
|
|
2598
2598
|
}
|
|
2599
2599
|
return contents;
|
|
2600
2600
|
};
|
|
2601
|
-
const
|
|
2601
|
+
const de_AvailabilityZones = (output, context) => {
|
|
2602
2602
|
return (output || [])
|
|
2603
2603
|
.filter((e) => e != null)
|
|
2604
2604
|
.map((entry) => {
|
|
2605
2605
|
return __expectString(entry);
|
|
2606
2606
|
});
|
|
2607
2607
|
};
|
|
2608
|
-
const
|
|
2608
|
+
const de_BackendServerDescription = (output, context) => {
|
|
2609
2609
|
const contents = {};
|
|
2610
2610
|
if (output["InstancePort"] !== undefined) {
|
|
2611
2611
|
contents.InstancePort = __strictParseInt32(output["InstancePort"]);
|
|
@@ -2614,32 +2614,32 @@ const deserializeAws_queryBackendServerDescription = (output, context) => {
|
|
|
2614
2614
|
contents.PolicyNames = [];
|
|
2615
2615
|
}
|
|
2616
2616
|
else if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
2617
|
-
contents.PolicyNames =
|
|
2617
|
+
contents.PolicyNames = de_PolicyNames(__getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
|
|
2618
2618
|
}
|
|
2619
2619
|
return contents;
|
|
2620
2620
|
};
|
|
2621
|
-
const
|
|
2621
|
+
const de_BackendServerDescriptions = (output, context) => {
|
|
2622
2622
|
return (output || [])
|
|
2623
2623
|
.filter((e) => e != null)
|
|
2624
2624
|
.map((entry) => {
|
|
2625
|
-
return
|
|
2625
|
+
return de_BackendServerDescription(entry, context);
|
|
2626
2626
|
});
|
|
2627
2627
|
};
|
|
2628
|
-
const
|
|
2628
|
+
const de_CertificateNotFoundException = (output, context) => {
|
|
2629
2629
|
const contents = {};
|
|
2630
2630
|
if (output["Message"] !== undefined) {
|
|
2631
2631
|
contents.Message = __expectString(output["Message"]);
|
|
2632
2632
|
}
|
|
2633
2633
|
return contents;
|
|
2634
2634
|
};
|
|
2635
|
-
const
|
|
2635
|
+
const de_ConfigureHealthCheckOutput = (output, context) => {
|
|
2636
2636
|
const contents = {};
|
|
2637
2637
|
if (output["HealthCheck"] !== undefined) {
|
|
2638
|
-
contents.HealthCheck =
|
|
2638
|
+
contents.HealthCheck = de_HealthCheck(output["HealthCheck"], context);
|
|
2639
2639
|
}
|
|
2640
2640
|
return contents;
|
|
2641
2641
|
};
|
|
2642
|
-
const
|
|
2642
|
+
const de_ConnectionDraining = (output, context) => {
|
|
2643
2643
|
const contents = {};
|
|
2644
2644
|
if (output["Enabled"] !== undefined) {
|
|
2645
2645
|
contents.Enabled = __parseBoolean(output["Enabled"]);
|
|
@@ -2649,186 +2649,186 @@ const deserializeAws_queryConnectionDraining = (output, context) => {
|
|
|
2649
2649
|
}
|
|
2650
2650
|
return contents;
|
|
2651
2651
|
};
|
|
2652
|
-
const
|
|
2652
|
+
const de_ConnectionSettings = (output, context) => {
|
|
2653
2653
|
const contents = {};
|
|
2654
2654
|
if (output["IdleTimeout"] !== undefined) {
|
|
2655
2655
|
contents.IdleTimeout = __strictParseInt32(output["IdleTimeout"]);
|
|
2656
2656
|
}
|
|
2657
2657
|
return contents;
|
|
2658
2658
|
};
|
|
2659
|
-
const
|
|
2659
|
+
const de_CreateAccessPointOutput = (output, context) => {
|
|
2660
2660
|
const contents = {};
|
|
2661
2661
|
if (output["DNSName"] !== undefined) {
|
|
2662
2662
|
contents.DNSName = __expectString(output["DNSName"]);
|
|
2663
2663
|
}
|
|
2664
2664
|
return contents;
|
|
2665
2665
|
};
|
|
2666
|
-
const
|
|
2666
|
+
const de_CreateAppCookieStickinessPolicyOutput = (output, context) => {
|
|
2667
2667
|
const contents = {};
|
|
2668
2668
|
return contents;
|
|
2669
2669
|
};
|
|
2670
|
-
const
|
|
2670
|
+
const de_CreateLBCookieStickinessPolicyOutput = (output, context) => {
|
|
2671
2671
|
const contents = {};
|
|
2672
2672
|
return contents;
|
|
2673
2673
|
};
|
|
2674
|
-
const
|
|
2674
|
+
const de_CreateLoadBalancerListenerOutput = (output, context) => {
|
|
2675
2675
|
const contents = {};
|
|
2676
2676
|
return contents;
|
|
2677
2677
|
};
|
|
2678
|
-
const
|
|
2678
|
+
const de_CreateLoadBalancerPolicyOutput = (output, context) => {
|
|
2679
2679
|
const contents = {};
|
|
2680
2680
|
return contents;
|
|
2681
2681
|
};
|
|
2682
|
-
const
|
|
2682
|
+
const de_CrossZoneLoadBalancing = (output, context) => {
|
|
2683
2683
|
const contents = {};
|
|
2684
2684
|
if (output["Enabled"] !== undefined) {
|
|
2685
2685
|
contents.Enabled = __parseBoolean(output["Enabled"]);
|
|
2686
2686
|
}
|
|
2687
2687
|
return contents;
|
|
2688
2688
|
};
|
|
2689
|
-
const
|
|
2689
|
+
const de_DeleteAccessPointOutput = (output, context) => {
|
|
2690
2690
|
const contents = {};
|
|
2691
2691
|
return contents;
|
|
2692
2692
|
};
|
|
2693
|
-
const
|
|
2693
|
+
const de_DeleteLoadBalancerListenerOutput = (output, context) => {
|
|
2694
2694
|
const contents = {};
|
|
2695
2695
|
return contents;
|
|
2696
2696
|
};
|
|
2697
|
-
const
|
|
2697
|
+
const de_DeleteLoadBalancerPolicyOutput = (output, context) => {
|
|
2698
2698
|
const contents = {};
|
|
2699
2699
|
return contents;
|
|
2700
2700
|
};
|
|
2701
|
-
const
|
|
2701
|
+
const de_DependencyThrottleException = (output, context) => {
|
|
2702
2702
|
const contents = {};
|
|
2703
2703
|
if (output["Message"] !== undefined) {
|
|
2704
2704
|
contents.Message = __expectString(output["Message"]);
|
|
2705
2705
|
}
|
|
2706
2706
|
return contents;
|
|
2707
2707
|
};
|
|
2708
|
-
const
|
|
2708
|
+
const de_DeregisterEndPointsOutput = (output, context) => {
|
|
2709
2709
|
const contents = {};
|
|
2710
2710
|
if (output.Instances === "") {
|
|
2711
2711
|
contents.Instances = [];
|
|
2712
2712
|
}
|
|
2713
2713
|
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
2714
|
-
contents.Instances =
|
|
2714
|
+
contents.Instances = de_Instances(__getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
2715
2715
|
}
|
|
2716
2716
|
return contents;
|
|
2717
2717
|
};
|
|
2718
|
-
const
|
|
2718
|
+
const de_DescribeAccessPointsOutput = (output, context) => {
|
|
2719
2719
|
const contents = {};
|
|
2720
2720
|
if (output.LoadBalancerDescriptions === "") {
|
|
2721
2721
|
contents.LoadBalancerDescriptions = [];
|
|
2722
2722
|
}
|
|
2723
2723
|
else if (output["LoadBalancerDescriptions"] !== undefined &&
|
|
2724
2724
|
output["LoadBalancerDescriptions"]["member"] !== undefined) {
|
|
2725
|
-
contents.LoadBalancerDescriptions =
|
|
2725
|
+
contents.LoadBalancerDescriptions = de_LoadBalancerDescriptions(__getArrayIfSingleItem(output["LoadBalancerDescriptions"]["member"]), context);
|
|
2726
2726
|
}
|
|
2727
2727
|
if (output["NextMarker"] !== undefined) {
|
|
2728
2728
|
contents.NextMarker = __expectString(output["NextMarker"]);
|
|
2729
2729
|
}
|
|
2730
2730
|
return contents;
|
|
2731
2731
|
};
|
|
2732
|
-
const
|
|
2732
|
+
const de_DescribeAccountLimitsOutput = (output, context) => {
|
|
2733
2733
|
const contents = {};
|
|
2734
2734
|
if (output.Limits === "") {
|
|
2735
2735
|
contents.Limits = [];
|
|
2736
2736
|
}
|
|
2737
2737
|
else if (output["Limits"] !== undefined && output["Limits"]["member"] !== undefined) {
|
|
2738
|
-
contents.Limits =
|
|
2738
|
+
contents.Limits = de_Limits(__getArrayIfSingleItem(output["Limits"]["member"]), context);
|
|
2739
2739
|
}
|
|
2740
2740
|
if (output["NextMarker"] !== undefined) {
|
|
2741
2741
|
contents.NextMarker = __expectString(output["NextMarker"]);
|
|
2742
2742
|
}
|
|
2743
2743
|
return contents;
|
|
2744
2744
|
};
|
|
2745
|
-
const
|
|
2745
|
+
const de_DescribeEndPointStateOutput = (output, context) => {
|
|
2746
2746
|
const contents = {};
|
|
2747
2747
|
if (output.InstanceStates === "") {
|
|
2748
2748
|
contents.InstanceStates = [];
|
|
2749
2749
|
}
|
|
2750
2750
|
else if (output["InstanceStates"] !== undefined && output["InstanceStates"]["member"] !== undefined) {
|
|
2751
|
-
contents.InstanceStates =
|
|
2751
|
+
contents.InstanceStates = de_InstanceStates(__getArrayIfSingleItem(output["InstanceStates"]["member"]), context);
|
|
2752
2752
|
}
|
|
2753
2753
|
return contents;
|
|
2754
2754
|
};
|
|
2755
|
-
const
|
|
2755
|
+
const de_DescribeLoadBalancerAttributesOutput = (output, context) => {
|
|
2756
2756
|
const contents = {};
|
|
2757
2757
|
if (output["LoadBalancerAttributes"] !== undefined) {
|
|
2758
|
-
contents.LoadBalancerAttributes =
|
|
2758
|
+
contents.LoadBalancerAttributes = de_LoadBalancerAttributes(output["LoadBalancerAttributes"], context);
|
|
2759
2759
|
}
|
|
2760
2760
|
return contents;
|
|
2761
2761
|
};
|
|
2762
|
-
const
|
|
2762
|
+
const de_DescribeLoadBalancerPoliciesOutput = (output, context) => {
|
|
2763
2763
|
const contents = {};
|
|
2764
2764
|
if (output.PolicyDescriptions === "") {
|
|
2765
2765
|
contents.PolicyDescriptions = [];
|
|
2766
2766
|
}
|
|
2767
2767
|
else if (output["PolicyDescriptions"] !== undefined && output["PolicyDescriptions"]["member"] !== undefined) {
|
|
2768
|
-
contents.PolicyDescriptions =
|
|
2768
|
+
contents.PolicyDescriptions = de_PolicyDescriptions(__getArrayIfSingleItem(output["PolicyDescriptions"]["member"]), context);
|
|
2769
2769
|
}
|
|
2770
2770
|
return contents;
|
|
2771
2771
|
};
|
|
2772
|
-
const
|
|
2772
|
+
const de_DescribeLoadBalancerPolicyTypesOutput = (output, context) => {
|
|
2773
2773
|
const contents = {};
|
|
2774
2774
|
if (output.PolicyTypeDescriptions === "") {
|
|
2775
2775
|
contents.PolicyTypeDescriptions = [];
|
|
2776
2776
|
}
|
|
2777
2777
|
else if (output["PolicyTypeDescriptions"] !== undefined &&
|
|
2778
2778
|
output["PolicyTypeDescriptions"]["member"] !== undefined) {
|
|
2779
|
-
contents.PolicyTypeDescriptions =
|
|
2779
|
+
contents.PolicyTypeDescriptions = de_PolicyTypeDescriptions(__getArrayIfSingleItem(output["PolicyTypeDescriptions"]["member"]), context);
|
|
2780
2780
|
}
|
|
2781
2781
|
return contents;
|
|
2782
2782
|
};
|
|
2783
|
-
const
|
|
2783
|
+
const de_DescribeTagsOutput = (output, context) => {
|
|
2784
2784
|
const contents = {};
|
|
2785
2785
|
if (output.TagDescriptions === "") {
|
|
2786
2786
|
contents.TagDescriptions = [];
|
|
2787
2787
|
}
|
|
2788
2788
|
else if (output["TagDescriptions"] !== undefined && output["TagDescriptions"]["member"] !== undefined) {
|
|
2789
|
-
contents.TagDescriptions =
|
|
2789
|
+
contents.TagDescriptions = de_TagDescriptions(__getArrayIfSingleItem(output["TagDescriptions"]["member"]), context);
|
|
2790
2790
|
}
|
|
2791
2791
|
return contents;
|
|
2792
2792
|
};
|
|
2793
|
-
const
|
|
2793
|
+
const de_DetachLoadBalancerFromSubnetsOutput = (output, context) => {
|
|
2794
2794
|
const contents = {};
|
|
2795
2795
|
if (output.Subnets === "") {
|
|
2796
2796
|
contents.Subnets = [];
|
|
2797
2797
|
}
|
|
2798
2798
|
else if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
2799
|
-
contents.Subnets =
|
|
2799
|
+
contents.Subnets = de_Subnets(__getArrayIfSingleItem(output["Subnets"]["member"]), context);
|
|
2800
2800
|
}
|
|
2801
2801
|
return contents;
|
|
2802
2802
|
};
|
|
2803
|
-
const
|
|
2803
|
+
const de_DuplicateAccessPointNameException = (output, context) => {
|
|
2804
2804
|
const contents = {};
|
|
2805
2805
|
if (output["Message"] !== undefined) {
|
|
2806
2806
|
contents.Message = __expectString(output["Message"]);
|
|
2807
2807
|
}
|
|
2808
2808
|
return contents;
|
|
2809
2809
|
};
|
|
2810
|
-
const
|
|
2810
|
+
const de_DuplicateListenerException = (output, context) => {
|
|
2811
2811
|
const contents = {};
|
|
2812
2812
|
if (output["Message"] !== undefined) {
|
|
2813
2813
|
contents.Message = __expectString(output["Message"]);
|
|
2814
2814
|
}
|
|
2815
2815
|
return contents;
|
|
2816
2816
|
};
|
|
2817
|
-
const
|
|
2817
|
+
const de_DuplicatePolicyNameException = (output, context) => {
|
|
2818
2818
|
const contents = {};
|
|
2819
2819
|
if (output["Message"] !== undefined) {
|
|
2820
2820
|
contents.Message = __expectString(output["Message"]);
|
|
2821
2821
|
}
|
|
2822
2822
|
return contents;
|
|
2823
2823
|
};
|
|
2824
|
-
const
|
|
2824
|
+
const de_DuplicateTagKeysException = (output, context) => {
|
|
2825
2825
|
const contents = {};
|
|
2826
2826
|
if (output["Message"] !== undefined) {
|
|
2827
2827
|
contents.Message = __expectString(output["Message"]);
|
|
2828
2828
|
}
|
|
2829
2829
|
return contents;
|
|
2830
2830
|
};
|
|
2831
|
-
const
|
|
2831
|
+
const de_HealthCheck = (output, context) => {
|
|
2832
2832
|
const contents = {};
|
|
2833
2833
|
if (output["Target"] !== undefined) {
|
|
2834
2834
|
contents.Target = __expectString(output["Target"]);
|
|
@@ -2847,21 +2847,21 @@ const deserializeAws_queryHealthCheck = (output, context) => {
|
|
|
2847
2847
|
}
|
|
2848
2848
|
return contents;
|
|
2849
2849
|
};
|
|
2850
|
-
const
|
|
2850
|
+
const de_Instance = (output, context) => {
|
|
2851
2851
|
const contents = {};
|
|
2852
2852
|
if (output["InstanceId"] !== undefined) {
|
|
2853
2853
|
contents.InstanceId = __expectString(output["InstanceId"]);
|
|
2854
2854
|
}
|
|
2855
2855
|
return contents;
|
|
2856
2856
|
};
|
|
2857
|
-
const
|
|
2857
|
+
const de_Instances = (output, context) => {
|
|
2858
2858
|
return (output || [])
|
|
2859
2859
|
.filter((e) => e != null)
|
|
2860
2860
|
.map((entry) => {
|
|
2861
|
-
return
|
|
2861
|
+
return de_Instance(entry, context);
|
|
2862
2862
|
});
|
|
2863
2863
|
};
|
|
2864
|
-
const
|
|
2864
|
+
const de_InstanceState = (output, context) => {
|
|
2865
2865
|
const contents = {};
|
|
2866
2866
|
if (output["InstanceId"] !== undefined) {
|
|
2867
2867
|
contents.InstanceId = __expectString(output["InstanceId"]);
|
|
@@ -2877,56 +2877,56 @@ const deserializeAws_queryInstanceState = (output, context) => {
|
|
|
2877
2877
|
}
|
|
2878
2878
|
return contents;
|
|
2879
2879
|
};
|
|
2880
|
-
const
|
|
2880
|
+
const de_InstanceStates = (output, context) => {
|
|
2881
2881
|
return (output || [])
|
|
2882
2882
|
.filter((e) => e != null)
|
|
2883
2883
|
.map((entry) => {
|
|
2884
|
-
return
|
|
2884
|
+
return de_InstanceState(entry, context);
|
|
2885
2885
|
});
|
|
2886
2886
|
};
|
|
2887
|
-
const
|
|
2887
|
+
const de_InvalidConfigurationRequestException = (output, context) => {
|
|
2888
2888
|
const contents = {};
|
|
2889
2889
|
if (output["Message"] !== undefined) {
|
|
2890
2890
|
contents.Message = __expectString(output["Message"]);
|
|
2891
2891
|
}
|
|
2892
2892
|
return contents;
|
|
2893
2893
|
};
|
|
2894
|
-
const
|
|
2894
|
+
const de_InvalidEndPointException = (output, context) => {
|
|
2895
2895
|
const contents = {};
|
|
2896
2896
|
if (output["Message"] !== undefined) {
|
|
2897
2897
|
contents.Message = __expectString(output["Message"]);
|
|
2898
2898
|
}
|
|
2899
2899
|
return contents;
|
|
2900
2900
|
};
|
|
2901
|
-
const
|
|
2901
|
+
const de_InvalidSchemeException = (output, context) => {
|
|
2902
2902
|
const contents = {};
|
|
2903
2903
|
if (output["Message"] !== undefined) {
|
|
2904
2904
|
contents.Message = __expectString(output["Message"]);
|
|
2905
2905
|
}
|
|
2906
2906
|
return contents;
|
|
2907
2907
|
};
|
|
2908
|
-
const
|
|
2908
|
+
const de_InvalidSecurityGroupException = (output, context) => {
|
|
2909
2909
|
const contents = {};
|
|
2910
2910
|
if (output["Message"] !== undefined) {
|
|
2911
2911
|
contents.Message = __expectString(output["Message"]);
|
|
2912
2912
|
}
|
|
2913
2913
|
return contents;
|
|
2914
2914
|
};
|
|
2915
|
-
const
|
|
2915
|
+
const de_InvalidSubnetException = (output, context) => {
|
|
2916
2916
|
const contents = {};
|
|
2917
2917
|
if (output["Message"] !== undefined) {
|
|
2918
2918
|
contents.Message = __expectString(output["Message"]);
|
|
2919
2919
|
}
|
|
2920
2920
|
return contents;
|
|
2921
2921
|
};
|
|
2922
|
-
const
|
|
2922
|
+
const de_LBCookieStickinessPolicies = (output, context) => {
|
|
2923
2923
|
return (output || [])
|
|
2924
2924
|
.filter((e) => e != null)
|
|
2925
2925
|
.map((entry) => {
|
|
2926
|
-
return
|
|
2926
|
+
return de_LBCookieStickinessPolicy(entry, context);
|
|
2927
2927
|
});
|
|
2928
2928
|
};
|
|
2929
|
-
const
|
|
2929
|
+
const de_LBCookieStickinessPolicy = (output, context) => {
|
|
2930
2930
|
const contents = {};
|
|
2931
2931
|
if (output["PolicyName"] !== undefined) {
|
|
2932
2932
|
contents.PolicyName = __expectString(output["PolicyName"]);
|
|
@@ -2936,7 +2936,7 @@ const deserializeAws_queryLBCookieStickinessPolicy = (output, context) => {
|
|
|
2936
2936
|
}
|
|
2937
2937
|
return contents;
|
|
2938
2938
|
};
|
|
2939
|
-
const
|
|
2939
|
+
const de_Limit = (output, context) => {
|
|
2940
2940
|
const contents = {};
|
|
2941
2941
|
if (output["Name"] !== undefined) {
|
|
2942
2942
|
contents.Name = __expectString(output["Name"]);
|
|
@@ -2946,14 +2946,14 @@ const deserializeAws_queryLimit = (output, context) => {
|
|
|
2946
2946
|
}
|
|
2947
2947
|
return contents;
|
|
2948
2948
|
};
|
|
2949
|
-
const
|
|
2949
|
+
const de_Limits = (output, context) => {
|
|
2950
2950
|
return (output || [])
|
|
2951
2951
|
.filter((e) => e != null)
|
|
2952
2952
|
.map((entry) => {
|
|
2953
|
-
return
|
|
2953
|
+
return de_Limit(entry, context);
|
|
2954
2954
|
});
|
|
2955
2955
|
};
|
|
2956
|
-
const
|
|
2956
|
+
const de_Listener = (output, context) => {
|
|
2957
2957
|
const contents = {};
|
|
2958
2958
|
if (output["Protocol"] !== undefined) {
|
|
2959
2959
|
contents.Protocol = __expectString(output["Protocol"]);
|
|
@@ -2972,63 +2972,63 @@ const deserializeAws_queryListener = (output, context) => {
|
|
|
2972
2972
|
}
|
|
2973
2973
|
return contents;
|
|
2974
2974
|
};
|
|
2975
|
-
const
|
|
2975
|
+
const de_ListenerDescription = (output, context) => {
|
|
2976
2976
|
const contents = {};
|
|
2977
2977
|
if (output["Listener"] !== undefined) {
|
|
2978
|
-
contents.Listener =
|
|
2978
|
+
contents.Listener = de_Listener(output["Listener"], context);
|
|
2979
2979
|
}
|
|
2980
2980
|
if (output.PolicyNames === "") {
|
|
2981
2981
|
contents.PolicyNames = [];
|
|
2982
2982
|
}
|
|
2983
2983
|
else if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
2984
|
-
contents.PolicyNames =
|
|
2984
|
+
contents.PolicyNames = de_PolicyNames(__getArrayIfSingleItem(output["PolicyNames"]["member"]), context);
|
|
2985
2985
|
}
|
|
2986
2986
|
return contents;
|
|
2987
2987
|
};
|
|
2988
|
-
const
|
|
2988
|
+
const de_ListenerDescriptions = (output, context) => {
|
|
2989
2989
|
return (output || [])
|
|
2990
2990
|
.filter((e) => e != null)
|
|
2991
2991
|
.map((entry) => {
|
|
2992
|
-
return
|
|
2992
|
+
return de_ListenerDescription(entry, context);
|
|
2993
2993
|
});
|
|
2994
2994
|
};
|
|
2995
|
-
const
|
|
2995
|
+
const de_ListenerNotFoundException = (output, context) => {
|
|
2996
2996
|
const contents = {};
|
|
2997
2997
|
if (output["Message"] !== undefined) {
|
|
2998
2998
|
contents.Message = __expectString(output["Message"]);
|
|
2999
2999
|
}
|
|
3000
3000
|
return contents;
|
|
3001
3001
|
};
|
|
3002
|
-
const
|
|
3002
|
+
const de_LoadBalancerAttributeNotFoundException = (output, context) => {
|
|
3003
3003
|
const contents = {};
|
|
3004
3004
|
if (output["Message"] !== undefined) {
|
|
3005
3005
|
contents.Message = __expectString(output["Message"]);
|
|
3006
3006
|
}
|
|
3007
3007
|
return contents;
|
|
3008
3008
|
};
|
|
3009
|
-
const
|
|
3009
|
+
const de_LoadBalancerAttributes = (output, context) => {
|
|
3010
3010
|
const contents = {};
|
|
3011
3011
|
if (output["CrossZoneLoadBalancing"] !== undefined) {
|
|
3012
|
-
contents.CrossZoneLoadBalancing =
|
|
3012
|
+
contents.CrossZoneLoadBalancing = de_CrossZoneLoadBalancing(output["CrossZoneLoadBalancing"], context);
|
|
3013
3013
|
}
|
|
3014
3014
|
if (output["AccessLog"] !== undefined) {
|
|
3015
|
-
contents.AccessLog =
|
|
3015
|
+
contents.AccessLog = de_AccessLog(output["AccessLog"], context);
|
|
3016
3016
|
}
|
|
3017
3017
|
if (output["ConnectionDraining"] !== undefined) {
|
|
3018
|
-
contents.ConnectionDraining =
|
|
3018
|
+
contents.ConnectionDraining = de_ConnectionDraining(output["ConnectionDraining"], context);
|
|
3019
3019
|
}
|
|
3020
3020
|
if (output["ConnectionSettings"] !== undefined) {
|
|
3021
|
-
contents.ConnectionSettings =
|
|
3021
|
+
contents.ConnectionSettings = de_ConnectionSettings(output["ConnectionSettings"], context);
|
|
3022
3022
|
}
|
|
3023
3023
|
if (output.AdditionalAttributes === "") {
|
|
3024
3024
|
contents.AdditionalAttributes = [];
|
|
3025
3025
|
}
|
|
3026
3026
|
else if (output["AdditionalAttributes"] !== undefined && output["AdditionalAttributes"]["member"] !== undefined) {
|
|
3027
|
-
contents.AdditionalAttributes =
|
|
3027
|
+
contents.AdditionalAttributes = de_AdditionalAttributes(__getArrayIfSingleItem(output["AdditionalAttributes"]["member"]), context);
|
|
3028
3028
|
}
|
|
3029
3029
|
return contents;
|
|
3030
3030
|
};
|
|
3031
|
-
const
|
|
3031
|
+
const de_LoadBalancerDescription = (output, context) => {
|
|
3032
3032
|
const contents = {};
|
|
3033
3033
|
if (output["LoadBalancerName"] !== undefined) {
|
|
3034
3034
|
contents.LoadBalancerName = __expectString(output["LoadBalancerName"]);
|
|
@@ -3046,29 +3046,29 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3046
3046
|
contents.ListenerDescriptions = [];
|
|
3047
3047
|
}
|
|
3048
3048
|
else if (output["ListenerDescriptions"] !== undefined && output["ListenerDescriptions"]["member"] !== undefined) {
|
|
3049
|
-
contents.ListenerDescriptions =
|
|
3049
|
+
contents.ListenerDescriptions = de_ListenerDescriptions(__getArrayIfSingleItem(output["ListenerDescriptions"]["member"]), context);
|
|
3050
3050
|
}
|
|
3051
3051
|
if (output["Policies"] !== undefined) {
|
|
3052
|
-
contents.Policies =
|
|
3052
|
+
contents.Policies = de_Policies(output["Policies"], context);
|
|
3053
3053
|
}
|
|
3054
3054
|
if (output.BackendServerDescriptions === "") {
|
|
3055
3055
|
contents.BackendServerDescriptions = [];
|
|
3056
3056
|
}
|
|
3057
3057
|
else if (output["BackendServerDescriptions"] !== undefined &&
|
|
3058
3058
|
output["BackendServerDescriptions"]["member"] !== undefined) {
|
|
3059
|
-
contents.BackendServerDescriptions =
|
|
3059
|
+
contents.BackendServerDescriptions = de_BackendServerDescriptions(__getArrayIfSingleItem(output["BackendServerDescriptions"]["member"]), context);
|
|
3060
3060
|
}
|
|
3061
3061
|
if (output.AvailabilityZones === "") {
|
|
3062
3062
|
contents.AvailabilityZones = [];
|
|
3063
3063
|
}
|
|
3064
3064
|
else if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
3065
|
-
contents.AvailabilityZones =
|
|
3065
|
+
contents.AvailabilityZones = de_AvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
3066
3066
|
}
|
|
3067
3067
|
if (output.Subnets === "") {
|
|
3068
3068
|
contents.Subnets = [];
|
|
3069
3069
|
}
|
|
3070
3070
|
else if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
3071
|
-
contents.Subnets =
|
|
3071
|
+
contents.Subnets = de_Subnets(__getArrayIfSingleItem(output["Subnets"]["member"]), context);
|
|
3072
3072
|
}
|
|
3073
3073
|
if (output["VPCId"] !== undefined) {
|
|
3074
3074
|
contents.VPCId = __expectString(output["VPCId"]);
|
|
@@ -3077,19 +3077,19 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3077
3077
|
contents.Instances = [];
|
|
3078
3078
|
}
|
|
3079
3079
|
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
3080
|
-
contents.Instances =
|
|
3080
|
+
contents.Instances = de_Instances(__getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
3081
3081
|
}
|
|
3082
3082
|
if (output["HealthCheck"] !== undefined) {
|
|
3083
|
-
contents.HealthCheck =
|
|
3083
|
+
contents.HealthCheck = de_HealthCheck(output["HealthCheck"], context);
|
|
3084
3084
|
}
|
|
3085
3085
|
if (output["SourceSecurityGroup"] !== undefined) {
|
|
3086
|
-
contents.SourceSecurityGroup =
|
|
3086
|
+
contents.SourceSecurityGroup = de_SourceSecurityGroup(output["SourceSecurityGroup"], context);
|
|
3087
3087
|
}
|
|
3088
3088
|
if (output.SecurityGroups === "") {
|
|
3089
3089
|
contents.SecurityGroups = [];
|
|
3090
3090
|
}
|
|
3091
3091
|
else if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
3092
|
-
contents.SecurityGroups =
|
|
3092
|
+
contents.SecurityGroups = de_SecurityGroups(__getArrayIfSingleItem(output["SecurityGroups"]["member"]), context);
|
|
3093
3093
|
}
|
|
3094
3094
|
if (output["CreatedTime"] !== undefined) {
|
|
3095
3095
|
contents.CreatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedTime"]));
|
|
@@ -3099,55 +3099,55 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3099
3099
|
}
|
|
3100
3100
|
return contents;
|
|
3101
3101
|
};
|
|
3102
|
-
const
|
|
3102
|
+
const de_LoadBalancerDescriptions = (output, context) => {
|
|
3103
3103
|
return (output || [])
|
|
3104
3104
|
.filter((e) => e != null)
|
|
3105
3105
|
.map((entry) => {
|
|
3106
|
-
return
|
|
3106
|
+
return de_LoadBalancerDescription(entry, context);
|
|
3107
3107
|
});
|
|
3108
3108
|
};
|
|
3109
|
-
const
|
|
3109
|
+
const de_ModifyLoadBalancerAttributesOutput = (output, context) => {
|
|
3110
3110
|
const contents = {};
|
|
3111
3111
|
if (output["LoadBalancerName"] !== undefined) {
|
|
3112
3112
|
contents.LoadBalancerName = __expectString(output["LoadBalancerName"]);
|
|
3113
3113
|
}
|
|
3114
3114
|
if (output["LoadBalancerAttributes"] !== undefined) {
|
|
3115
|
-
contents.LoadBalancerAttributes =
|
|
3115
|
+
contents.LoadBalancerAttributes = de_LoadBalancerAttributes(output["LoadBalancerAttributes"], context);
|
|
3116
3116
|
}
|
|
3117
3117
|
return contents;
|
|
3118
3118
|
};
|
|
3119
|
-
const
|
|
3119
|
+
const de_OperationNotPermittedException = (output, context) => {
|
|
3120
3120
|
const contents = {};
|
|
3121
3121
|
if (output["Message"] !== undefined) {
|
|
3122
3122
|
contents.Message = __expectString(output["Message"]);
|
|
3123
3123
|
}
|
|
3124
3124
|
return contents;
|
|
3125
3125
|
};
|
|
3126
|
-
const
|
|
3126
|
+
const de_Policies = (output, context) => {
|
|
3127
3127
|
const contents = {};
|
|
3128
3128
|
if (output.AppCookieStickinessPolicies === "") {
|
|
3129
3129
|
contents.AppCookieStickinessPolicies = [];
|
|
3130
3130
|
}
|
|
3131
3131
|
else if (output["AppCookieStickinessPolicies"] !== undefined &&
|
|
3132
3132
|
output["AppCookieStickinessPolicies"]["member"] !== undefined) {
|
|
3133
|
-
contents.AppCookieStickinessPolicies =
|
|
3133
|
+
contents.AppCookieStickinessPolicies = de_AppCookieStickinessPolicies(__getArrayIfSingleItem(output["AppCookieStickinessPolicies"]["member"]), context);
|
|
3134
3134
|
}
|
|
3135
3135
|
if (output.LBCookieStickinessPolicies === "") {
|
|
3136
3136
|
contents.LBCookieStickinessPolicies = [];
|
|
3137
3137
|
}
|
|
3138
3138
|
else if (output["LBCookieStickinessPolicies"] !== undefined &&
|
|
3139
3139
|
output["LBCookieStickinessPolicies"]["member"] !== undefined) {
|
|
3140
|
-
contents.LBCookieStickinessPolicies =
|
|
3140
|
+
contents.LBCookieStickinessPolicies = de_LBCookieStickinessPolicies(__getArrayIfSingleItem(output["LBCookieStickinessPolicies"]["member"]), context);
|
|
3141
3141
|
}
|
|
3142
3142
|
if (output.OtherPolicies === "") {
|
|
3143
3143
|
contents.OtherPolicies = [];
|
|
3144
3144
|
}
|
|
3145
3145
|
else if (output["OtherPolicies"] !== undefined && output["OtherPolicies"]["member"] !== undefined) {
|
|
3146
|
-
contents.OtherPolicies =
|
|
3146
|
+
contents.OtherPolicies = de_PolicyNames(__getArrayIfSingleItem(output["OtherPolicies"]["member"]), context);
|
|
3147
3147
|
}
|
|
3148
3148
|
return contents;
|
|
3149
3149
|
};
|
|
3150
|
-
const
|
|
3150
|
+
const de_PolicyAttributeDescription = (output, context) => {
|
|
3151
3151
|
const contents = {};
|
|
3152
3152
|
if (output["AttributeName"] !== undefined) {
|
|
3153
3153
|
contents.AttributeName = __expectString(output["AttributeName"]);
|
|
@@ -3157,14 +3157,14 @@ const deserializeAws_queryPolicyAttributeDescription = (output, context) => {
|
|
|
3157
3157
|
}
|
|
3158
3158
|
return contents;
|
|
3159
3159
|
};
|
|
3160
|
-
const
|
|
3160
|
+
const de_PolicyAttributeDescriptions = (output, context) => {
|
|
3161
3161
|
return (output || [])
|
|
3162
3162
|
.filter((e) => e != null)
|
|
3163
3163
|
.map((entry) => {
|
|
3164
|
-
return
|
|
3164
|
+
return de_PolicyAttributeDescription(entry, context);
|
|
3165
3165
|
});
|
|
3166
3166
|
};
|
|
3167
|
-
const
|
|
3167
|
+
const de_PolicyAttributeTypeDescription = (output, context) => {
|
|
3168
3168
|
const contents = {};
|
|
3169
3169
|
if (output["AttributeName"] !== undefined) {
|
|
3170
3170
|
contents.AttributeName = __expectString(output["AttributeName"]);
|
|
@@ -3183,14 +3183,14 @@ const deserializeAws_queryPolicyAttributeTypeDescription = (output, context) =>
|
|
|
3183
3183
|
}
|
|
3184
3184
|
return contents;
|
|
3185
3185
|
};
|
|
3186
|
-
const
|
|
3186
|
+
const de_PolicyAttributeTypeDescriptions = (output, context) => {
|
|
3187
3187
|
return (output || [])
|
|
3188
3188
|
.filter((e) => e != null)
|
|
3189
3189
|
.map((entry) => {
|
|
3190
|
-
return
|
|
3190
|
+
return de_PolicyAttributeTypeDescription(entry, context);
|
|
3191
3191
|
});
|
|
3192
3192
|
};
|
|
3193
|
-
const
|
|
3193
|
+
const de_PolicyDescription = (output, context) => {
|
|
3194
3194
|
const contents = {};
|
|
3195
3195
|
if (output["PolicyName"] !== undefined) {
|
|
3196
3196
|
contents.PolicyName = __expectString(output["PolicyName"]);
|
|
@@ -3203,32 +3203,32 @@ const deserializeAws_queryPolicyDescription = (output, context) => {
|
|
|
3203
3203
|
}
|
|
3204
3204
|
else if (output["PolicyAttributeDescriptions"] !== undefined &&
|
|
3205
3205
|
output["PolicyAttributeDescriptions"]["member"] !== undefined) {
|
|
3206
|
-
contents.PolicyAttributeDescriptions =
|
|
3206
|
+
contents.PolicyAttributeDescriptions = de_PolicyAttributeDescriptions(__getArrayIfSingleItem(output["PolicyAttributeDescriptions"]["member"]), context);
|
|
3207
3207
|
}
|
|
3208
3208
|
return contents;
|
|
3209
3209
|
};
|
|
3210
|
-
const
|
|
3210
|
+
const de_PolicyDescriptions = (output, context) => {
|
|
3211
3211
|
return (output || [])
|
|
3212
3212
|
.filter((e) => e != null)
|
|
3213
3213
|
.map((entry) => {
|
|
3214
|
-
return
|
|
3214
|
+
return de_PolicyDescription(entry, context);
|
|
3215
3215
|
});
|
|
3216
3216
|
};
|
|
3217
|
-
const
|
|
3217
|
+
const de_PolicyNames = (output, context) => {
|
|
3218
3218
|
return (output || [])
|
|
3219
3219
|
.filter((e) => e != null)
|
|
3220
3220
|
.map((entry) => {
|
|
3221
3221
|
return __expectString(entry);
|
|
3222
3222
|
});
|
|
3223
3223
|
};
|
|
3224
|
-
const
|
|
3224
|
+
const de_PolicyNotFoundException = (output, context) => {
|
|
3225
3225
|
const contents = {};
|
|
3226
3226
|
if (output["Message"] !== undefined) {
|
|
3227
3227
|
contents.Message = __expectString(output["Message"]);
|
|
3228
3228
|
}
|
|
3229
3229
|
return contents;
|
|
3230
3230
|
};
|
|
3231
|
-
const
|
|
3231
|
+
const de_PolicyTypeDescription = (output, context) => {
|
|
3232
3232
|
const contents = {};
|
|
3233
3233
|
if (output["PolicyTypeName"] !== undefined) {
|
|
3234
3234
|
contents.PolicyTypeName = __expectString(output["PolicyTypeName"]);
|
|
@@ -3241,68 +3241,68 @@ const deserializeAws_queryPolicyTypeDescription = (output, context) => {
|
|
|
3241
3241
|
}
|
|
3242
3242
|
else if (output["PolicyAttributeTypeDescriptions"] !== undefined &&
|
|
3243
3243
|
output["PolicyAttributeTypeDescriptions"]["member"] !== undefined) {
|
|
3244
|
-
contents.PolicyAttributeTypeDescriptions =
|
|
3244
|
+
contents.PolicyAttributeTypeDescriptions = de_PolicyAttributeTypeDescriptions(__getArrayIfSingleItem(output["PolicyAttributeTypeDescriptions"]["member"]), context);
|
|
3245
3245
|
}
|
|
3246
3246
|
return contents;
|
|
3247
3247
|
};
|
|
3248
|
-
const
|
|
3248
|
+
const de_PolicyTypeDescriptions = (output, context) => {
|
|
3249
3249
|
return (output || [])
|
|
3250
3250
|
.filter((e) => e != null)
|
|
3251
3251
|
.map((entry) => {
|
|
3252
|
-
return
|
|
3252
|
+
return de_PolicyTypeDescription(entry, context);
|
|
3253
3253
|
});
|
|
3254
3254
|
};
|
|
3255
|
-
const
|
|
3255
|
+
const de_PolicyTypeNotFoundException = (output, context) => {
|
|
3256
3256
|
const contents = {};
|
|
3257
3257
|
if (output["Message"] !== undefined) {
|
|
3258
3258
|
contents.Message = __expectString(output["Message"]);
|
|
3259
3259
|
}
|
|
3260
3260
|
return contents;
|
|
3261
3261
|
};
|
|
3262
|
-
const
|
|
3262
|
+
const de_RegisterEndPointsOutput = (output, context) => {
|
|
3263
3263
|
const contents = {};
|
|
3264
3264
|
if (output.Instances === "") {
|
|
3265
3265
|
contents.Instances = [];
|
|
3266
3266
|
}
|
|
3267
3267
|
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
3268
|
-
contents.Instances =
|
|
3268
|
+
contents.Instances = de_Instances(__getArrayIfSingleItem(output["Instances"]["member"]), context);
|
|
3269
3269
|
}
|
|
3270
3270
|
return contents;
|
|
3271
3271
|
};
|
|
3272
|
-
const
|
|
3272
|
+
const de_RemoveAvailabilityZonesOutput = (output, context) => {
|
|
3273
3273
|
const contents = {};
|
|
3274
3274
|
if (output.AvailabilityZones === "") {
|
|
3275
3275
|
contents.AvailabilityZones = [];
|
|
3276
3276
|
}
|
|
3277
3277
|
else if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
3278
|
-
contents.AvailabilityZones =
|
|
3278
|
+
contents.AvailabilityZones = de_AvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["member"]), context);
|
|
3279
3279
|
}
|
|
3280
3280
|
return contents;
|
|
3281
3281
|
};
|
|
3282
|
-
const
|
|
3282
|
+
const de_RemoveTagsOutput = (output, context) => {
|
|
3283
3283
|
const contents = {};
|
|
3284
3284
|
return contents;
|
|
3285
3285
|
};
|
|
3286
|
-
const
|
|
3286
|
+
const de_SecurityGroups = (output, context) => {
|
|
3287
3287
|
return (output || [])
|
|
3288
3288
|
.filter((e) => e != null)
|
|
3289
3289
|
.map((entry) => {
|
|
3290
3290
|
return __expectString(entry);
|
|
3291
3291
|
});
|
|
3292
3292
|
};
|
|
3293
|
-
const
|
|
3293
|
+
const de_SetLoadBalancerListenerSSLCertificateOutput = (output, context) => {
|
|
3294
3294
|
const contents = {};
|
|
3295
3295
|
return contents;
|
|
3296
3296
|
};
|
|
3297
|
-
const
|
|
3297
|
+
const de_SetLoadBalancerPoliciesForBackendServerOutput = (output, context) => {
|
|
3298
3298
|
const contents = {};
|
|
3299
3299
|
return contents;
|
|
3300
3300
|
};
|
|
3301
|
-
const
|
|
3301
|
+
const de_SetLoadBalancerPoliciesOfListenerOutput = (output, context) => {
|
|
3302
3302
|
const contents = {};
|
|
3303
3303
|
return contents;
|
|
3304
3304
|
};
|
|
3305
|
-
const
|
|
3305
|
+
const de_SourceSecurityGroup = (output, context) => {
|
|
3306
3306
|
const contents = {};
|
|
3307
3307
|
if (output["OwnerAlias"] !== undefined) {
|
|
3308
3308
|
contents.OwnerAlias = __expectString(output["OwnerAlias"]);
|
|
@@ -3312,21 +3312,21 @@ const deserializeAws_querySourceSecurityGroup = (output, context) => {
|
|
|
3312
3312
|
}
|
|
3313
3313
|
return contents;
|
|
3314
3314
|
};
|
|
3315
|
-
const
|
|
3315
|
+
const de_SubnetNotFoundException = (output, context) => {
|
|
3316
3316
|
const contents = {};
|
|
3317
3317
|
if (output["Message"] !== undefined) {
|
|
3318
3318
|
contents.Message = __expectString(output["Message"]);
|
|
3319
3319
|
}
|
|
3320
3320
|
return contents;
|
|
3321
3321
|
};
|
|
3322
|
-
const
|
|
3322
|
+
const de_Subnets = (output, context) => {
|
|
3323
3323
|
return (output || [])
|
|
3324
3324
|
.filter((e) => e != null)
|
|
3325
3325
|
.map((entry) => {
|
|
3326
3326
|
return __expectString(entry);
|
|
3327
3327
|
});
|
|
3328
3328
|
};
|
|
3329
|
-
const
|
|
3329
|
+
const de_Tag = (output, context) => {
|
|
3330
3330
|
const contents = {};
|
|
3331
3331
|
if (output["Key"] !== undefined) {
|
|
3332
3332
|
contents.Key = __expectString(output["Key"]);
|
|
@@ -3336,7 +3336,7 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
3336
3336
|
}
|
|
3337
3337
|
return contents;
|
|
3338
3338
|
};
|
|
3339
|
-
const
|
|
3339
|
+
const de_TagDescription = (output, context) => {
|
|
3340
3340
|
const contents = {};
|
|
3341
3341
|
if (output["LoadBalancerName"] !== undefined) {
|
|
3342
3342
|
contents.LoadBalancerName = __expectString(output["LoadBalancerName"]);
|
|
@@ -3345,46 +3345,46 @@ const deserializeAws_queryTagDescription = (output, context) => {
|
|
|
3345
3345
|
contents.Tags = [];
|
|
3346
3346
|
}
|
|
3347
3347
|
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
3348
|
-
contents.Tags =
|
|
3348
|
+
contents.Tags = de_TagList(__getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
3349
3349
|
}
|
|
3350
3350
|
return contents;
|
|
3351
3351
|
};
|
|
3352
|
-
const
|
|
3352
|
+
const de_TagDescriptions = (output, context) => {
|
|
3353
3353
|
return (output || [])
|
|
3354
3354
|
.filter((e) => e != null)
|
|
3355
3355
|
.map((entry) => {
|
|
3356
|
-
return
|
|
3356
|
+
return de_TagDescription(entry, context);
|
|
3357
3357
|
});
|
|
3358
3358
|
};
|
|
3359
|
-
const
|
|
3359
|
+
const de_TagList = (output, context) => {
|
|
3360
3360
|
return (output || [])
|
|
3361
3361
|
.filter((e) => e != null)
|
|
3362
3362
|
.map((entry) => {
|
|
3363
|
-
return
|
|
3363
|
+
return de_Tag(entry, context);
|
|
3364
3364
|
});
|
|
3365
3365
|
};
|
|
3366
|
-
const
|
|
3366
|
+
const de_TooManyAccessPointsException = (output, context) => {
|
|
3367
3367
|
const contents = {};
|
|
3368
3368
|
if (output["Message"] !== undefined) {
|
|
3369
3369
|
contents.Message = __expectString(output["Message"]);
|
|
3370
3370
|
}
|
|
3371
3371
|
return contents;
|
|
3372
3372
|
};
|
|
3373
|
-
const
|
|
3373
|
+
const de_TooManyPoliciesException = (output, context) => {
|
|
3374
3374
|
const contents = {};
|
|
3375
3375
|
if (output["Message"] !== undefined) {
|
|
3376
3376
|
contents.Message = __expectString(output["Message"]);
|
|
3377
3377
|
}
|
|
3378
3378
|
return contents;
|
|
3379
3379
|
};
|
|
3380
|
-
const
|
|
3380
|
+
const de_TooManyTagsException = (output, context) => {
|
|
3381
3381
|
const contents = {};
|
|
3382
3382
|
if (output["Message"] !== undefined) {
|
|
3383
3383
|
contents.Message = __expectString(output["Message"]);
|
|
3384
3384
|
}
|
|
3385
3385
|
return contents;
|
|
3386
3386
|
};
|
|
3387
|
-
const
|
|
3387
|
+
const de_UnsupportedProtocolException = (output, context) => {
|
|
3388
3388
|
const contents = {};
|
|
3389
3389
|
if (output["Message"] !== undefined) {
|
|
3390
3390
|
contents.Message = __expectString(output["Message"]);
|