@aws-sdk/client-elastic-load-balancing 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/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 +30 -30
|
@@ -1,404 +1,404 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_DetachLoadBalancerFromSubnetsCommand = exports.de_DescribeTagsCommand = exports.de_DescribeLoadBalancersCommand = exports.de_DescribeLoadBalancerPolicyTypesCommand = exports.de_DescribeLoadBalancerPoliciesCommand = exports.de_DescribeLoadBalancerAttributesCommand = exports.de_DescribeInstanceHealthCommand = exports.de_DescribeAccountLimitsCommand = exports.de_DeregisterInstancesFromLoadBalancerCommand = exports.de_DeleteLoadBalancerPolicyCommand = exports.de_DeleteLoadBalancerListenersCommand = exports.de_DeleteLoadBalancerCommand = exports.de_CreateLoadBalancerPolicyCommand = exports.de_CreateLoadBalancerListenersCommand = exports.de_CreateLoadBalancerCommand = exports.de_CreateLBCookieStickinessPolicyCommand = exports.de_CreateAppCookieStickinessPolicyCommand = exports.de_ConfigureHealthCheckCommand = exports.de_AttachLoadBalancerToSubnetsCommand = exports.de_ApplySecurityGroupsToLoadBalancerCommand = exports.de_AddTagsCommand = exports.se_SetLoadBalancerPoliciesOfListenerCommand = exports.se_SetLoadBalancerPoliciesForBackendServerCommand = exports.se_SetLoadBalancerListenerSSLCertificateCommand = exports.se_RemoveTagsCommand = exports.se_RegisterInstancesWithLoadBalancerCommand = exports.se_ModifyLoadBalancerAttributesCommand = exports.se_EnableAvailabilityZonesForLoadBalancerCommand = exports.se_DisableAvailabilityZonesForLoadBalancerCommand = exports.se_DetachLoadBalancerFromSubnetsCommand = exports.se_DescribeTagsCommand = exports.se_DescribeLoadBalancersCommand = exports.se_DescribeLoadBalancerPolicyTypesCommand = exports.se_DescribeLoadBalancerPoliciesCommand = exports.se_DescribeLoadBalancerAttributesCommand = exports.se_DescribeInstanceHealthCommand = exports.se_DescribeAccountLimitsCommand = exports.se_DeregisterInstancesFromLoadBalancerCommand = exports.se_DeleteLoadBalancerPolicyCommand = exports.se_DeleteLoadBalancerListenersCommand = exports.se_DeleteLoadBalancerCommand = exports.se_CreateLoadBalancerPolicyCommand = exports.se_CreateLoadBalancerListenersCommand = exports.se_CreateLoadBalancerCommand = exports.se_CreateLBCookieStickinessPolicyCommand = exports.se_CreateAppCookieStickinessPolicyCommand = exports.se_ConfigureHealthCheckCommand = exports.se_AttachLoadBalancerToSubnetsCommand = exports.se_ApplySecurityGroupsToLoadBalancerCommand = exports.se_AddTagsCommand = void 0;
|
|
4
|
+
exports.de_SetLoadBalancerPoliciesOfListenerCommand = exports.de_SetLoadBalancerPoliciesForBackendServerCommand = exports.de_SetLoadBalancerListenerSSLCertificateCommand = exports.de_RemoveTagsCommand = exports.de_RegisterInstancesWithLoadBalancerCommand = exports.de_ModifyLoadBalancerAttributesCommand = exports.de_EnableAvailabilityZonesForLoadBalancerCommand = exports.de_DisableAvailabilityZonesForLoadBalancerCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
8
8
|
const ElasticLoadBalancingServiceException_1 = require("../models/ElasticLoadBalancingServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const
|
|
10
|
+
const se_AddTagsCommand = async (input, context) => {
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/x-www-form-urlencoded",
|
|
13
13
|
};
|
|
14
14
|
let body;
|
|
15
15
|
body = buildFormUrlencodedString({
|
|
16
|
-
...
|
|
16
|
+
...se_AddTagsInput(input, context),
|
|
17
17
|
Action: "AddTags",
|
|
18
18
|
Version: "2012-06-01",
|
|
19
19
|
});
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
|
-
exports.
|
|
23
|
-
const
|
|
22
|
+
exports.se_AddTagsCommand = se_AddTagsCommand;
|
|
23
|
+
const se_ApplySecurityGroupsToLoadBalancerCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-www-form-urlencoded",
|
|
26
26
|
};
|
|
27
27
|
let body;
|
|
28
28
|
body = buildFormUrlencodedString({
|
|
29
|
-
...
|
|
29
|
+
...se_ApplySecurityGroupsToLoadBalancerInput(input, context),
|
|
30
30
|
Action: "ApplySecurityGroupsToLoadBalancer",
|
|
31
31
|
Version: "2012-06-01",
|
|
32
32
|
});
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
|
-
exports.
|
|
36
|
-
const
|
|
35
|
+
exports.se_ApplySecurityGroupsToLoadBalancerCommand = se_ApplySecurityGroupsToLoadBalancerCommand;
|
|
36
|
+
const se_AttachLoadBalancerToSubnetsCommand = async (input, context) => {
|
|
37
37
|
const headers = {
|
|
38
38
|
"content-type": "application/x-www-form-urlencoded",
|
|
39
39
|
};
|
|
40
40
|
let body;
|
|
41
41
|
body = buildFormUrlencodedString({
|
|
42
|
-
...
|
|
42
|
+
...se_AttachLoadBalancerToSubnetsInput(input, context),
|
|
43
43
|
Action: "AttachLoadBalancerToSubnets",
|
|
44
44
|
Version: "2012-06-01",
|
|
45
45
|
});
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
48
|
+
exports.se_AttachLoadBalancerToSubnetsCommand = se_AttachLoadBalancerToSubnetsCommand;
|
|
49
|
+
const se_ConfigureHealthCheckCommand = async (input, context) => {
|
|
50
50
|
const headers = {
|
|
51
51
|
"content-type": "application/x-www-form-urlencoded",
|
|
52
52
|
};
|
|
53
53
|
let body;
|
|
54
54
|
body = buildFormUrlencodedString({
|
|
55
|
-
...
|
|
55
|
+
...se_ConfigureHealthCheckInput(input, context),
|
|
56
56
|
Action: "ConfigureHealthCheck",
|
|
57
57
|
Version: "2012-06-01",
|
|
58
58
|
});
|
|
59
59
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
60
|
};
|
|
61
|
-
exports.
|
|
62
|
-
const
|
|
61
|
+
exports.se_ConfigureHealthCheckCommand = se_ConfigureHealthCheckCommand;
|
|
62
|
+
const se_CreateAppCookieStickinessPolicyCommand = async (input, context) => {
|
|
63
63
|
const headers = {
|
|
64
64
|
"content-type": "application/x-www-form-urlencoded",
|
|
65
65
|
};
|
|
66
66
|
let body;
|
|
67
67
|
body = buildFormUrlencodedString({
|
|
68
|
-
...
|
|
68
|
+
...se_CreateAppCookieStickinessPolicyInput(input, context),
|
|
69
69
|
Action: "CreateAppCookieStickinessPolicy",
|
|
70
70
|
Version: "2012-06-01",
|
|
71
71
|
});
|
|
72
72
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
73
73
|
};
|
|
74
|
-
exports.
|
|
75
|
-
const
|
|
74
|
+
exports.se_CreateAppCookieStickinessPolicyCommand = se_CreateAppCookieStickinessPolicyCommand;
|
|
75
|
+
const se_CreateLBCookieStickinessPolicyCommand = async (input, context) => {
|
|
76
76
|
const headers = {
|
|
77
77
|
"content-type": "application/x-www-form-urlencoded",
|
|
78
78
|
};
|
|
79
79
|
let body;
|
|
80
80
|
body = buildFormUrlencodedString({
|
|
81
|
-
...
|
|
81
|
+
...se_CreateLBCookieStickinessPolicyInput(input, context),
|
|
82
82
|
Action: "CreateLBCookieStickinessPolicy",
|
|
83
83
|
Version: "2012-06-01",
|
|
84
84
|
});
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
exports.
|
|
88
|
-
const
|
|
87
|
+
exports.se_CreateLBCookieStickinessPolicyCommand = se_CreateLBCookieStickinessPolicyCommand;
|
|
88
|
+
const se_CreateLoadBalancerCommand = async (input, context) => {
|
|
89
89
|
const headers = {
|
|
90
90
|
"content-type": "application/x-www-form-urlencoded",
|
|
91
91
|
};
|
|
92
92
|
let body;
|
|
93
93
|
body = buildFormUrlencodedString({
|
|
94
|
-
...
|
|
94
|
+
...se_CreateAccessPointInput(input, context),
|
|
95
95
|
Action: "CreateLoadBalancer",
|
|
96
96
|
Version: "2012-06-01",
|
|
97
97
|
});
|
|
98
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
99
|
};
|
|
100
|
-
exports.
|
|
101
|
-
const
|
|
100
|
+
exports.se_CreateLoadBalancerCommand = se_CreateLoadBalancerCommand;
|
|
101
|
+
const se_CreateLoadBalancerListenersCommand = async (input, context) => {
|
|
102
102
|
const headers = {
|
|
103
103
|
"content-type": "application/x-www-form-urlencoded",
|
|
104
104
|
};
|
|
105
105
|
let body;
|
|
106
106
|
body = buildFormUrlencodedString({
|
|
107
|
-
...
|
|
107
|
+
...se_CreateLoadBalancerListenerInput(input, context),
|
|
108
108
|
Action: "CreateLoadBalancerListeners",
|
|
109
109
|
Version: "2012-06-01",
|
|
110
110
|
});
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
exports.
|
|
114
|
-
const
|
|
113
|
+
exports.se_CreateLoadBalancerListenersCommand = se_CreateLoadBalancerListenersCommand;
|
|
114
|
+
const se_CreateLoadBalancerPolicyCommand = 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_CreateLoadBalancerPolicyInput(input, context),
|
|
121
121
|
Action: "CreateLoadBalancerPolicy",
|
|
122
122
|
Version: "2012-06-01",
|
|
123
123
|
});
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
|
-
exports.
|
|
127
|
-
const
|
|
126
|
+
exports.se_CreateLoadBalancerPolicyCommand = se_CreateLoadBalancerPolicyCommand;
|
|
127
|
+
const se_DeleteLoadBalancerCommand = async (input, context) => {
|
|
128
128
|
const headers = {
|
|
129
129
|
"content-type": "application/x-www-form-urlencoded",
|
|
130
130
|
};
|
|
131
131
|
let body;
|
|
132
132
|
body = buildFormUrlencodedString({
|
|
133
|
-
...
|
|
133
|
+
...se_DeleteAccessPointInput(input, context),
|
|
134
134
|
Action: "DeleteLoadBalancer",
|
|
135
135
|
Version: "2012-06-01",
|
|
136
136
|
});
|
|
137
137
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
138
|
};
|
|
139
|
-
exports.
|
|
140
|
-
const
|
|
139
|
+
exports.se_DeleteLoadBalancerCommand = se_DeleteLoadBalancerCommand;
|
|
140
|
+
const se_DeleteLoadBalancerListenersCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-www-form-urlencoded",
|
|
143
143
|
};
|
|
144
144
|
let body;
|
|
145
145
|
body = buildFormUrlencodedString({
|
|
146
|
-
...
|
|
146
|
+
...se_DeleteLoadBalancerListenerInput(input, context),
|
|
147
147
|
Action: "DeleteLoadBalancerListeners",
|
|
148
148
|
Version: "2012-06-01",
|
|
149
149
|
});
|
|
150
150
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
151
151
|
};
|
|
152
|
-
exports.
|
|
153
|
-
const
|
|
152
|
+
exports.se_DeleteLoadBalancerListenersCommand = se_DeleteLoadBalancerListenersCommand;
|
|
153
|
+
const se_DeleteLoadBalancerPolicyCommand = async (input, context) => {
|
|
154
154
|
const headers = {
|
|
155
155
|
"content-type": "application/x-www-form-urlencoded",
|
|
156
156
|
};
|
|
157
157
|
let body;
|
|
158
158
|
body = buildFormUrlencodedString({
|
|
159
|
-
...
|
|
159
|
+
...se_DeleteLoadBalancerPolicyInput(input, context),
|
|
160
160
|
Action: "DeleteLoadBalancerPolicy",
|
|
161
161
|
Version: "2012-06-01",
|
|
162
162
|
});
|
|
163
163
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
164
164
|
};
|
|
165
|
-
exports.
|
|
166
|
-
const
|
|
165
|
+
exports.se_DeleteLoadBalancerPolicyCommand = se_DeleteLoadBalancerPolicyCommand;
|
|
166
|
+
const se_DeregisterInstancesFromLoadBalancerCommand = async (input, context) => {
|
|
167
167
|
const headers = {
|
|
168
168
|
"content-type": "application/x-www-form-urlencoded",
|
|
169
169
|
};
|
|
170
170
|
let body;
|
|
171
171
|
body = buildFormUrlencodedString({
|
|
172
|
-
...
|
|
172
|
+
...se_DeregisterEndPointsInput(input, context),
|
|
173
173
|
Action: "DeregisterInstancesFromLoadBalancer",
|
|
174
174
|
Version: "2012-06-01",
|
|
175
175
|
});
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
const
|
|
178
|
+
exports.se_DeregisterInstancesFromLoadBalancerCommand = se_DeregisterInstancesFromLoadBalancerCommand;
|
|
179
|
+
const se_DescribeAccountLimitsCommand = async (input, context) => {
|
|
180
180
|
const headers = {
|
|
181
181
|
"content-type": "application/x-www-form-urlencoded",
|
|
182
182
|
};
|
|
183
183
|
let body;
|
|
184
184
|
body = buildFormUrlencodedString({
|
|
185
|
-
...
|
|
185
|
+
...se_DescribeAccountLimitsInput(input, context),
|
|
186
186
|
Action: "DescribeAccountLimits",
|
|
187
187
|
Version: "2012-06-01",
|
|
188
188
|
});
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
|
-
exports.
|
|
192
|
-
const
|
|
191
|
+
exports.se_DescribeAccountLimitsCommand = se_DescribeAccountLimitsCommand;
|
|
192
|
+
const se_DescribeInstanceHealthCommand = async (input, context) => {
|
|
193
193
|
const headers = {
|
|
194
194
|
"content-type": "application/x-www-form-urlencoded",
|
|
195
195
|
};
|
|
196
196
|
let body;
|
|
197
197
|
body = buildFormUrlencodedString({
|
|
198
|
-
...
|
|
198
|
+
...se_DescribeEndPointStateInput(input, context),
|
|
199
199
|
Action: "DescribeInstanceHealth",
|
|
200
200
|
Version: "2012-06-01",
|
|
201
201
|
});
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
|
-
exports.
|
|
205
|
-
const
|
|
204
|
+
exports.se_DescribeInstanceHealthCommand = se_DescribeInstanceHealthCommand;
|
|
205
|
+
const se_DescribeLoadBalancerAttributesCommand = async (input, context) => {
|
|
206
206
|
const headers = {
|
|
207
207
|
"content-type": "application/x-www-form-urlencoded",
|
|
208
208
|
};
|
|
209
209
|
let body;
|
|
210
210
|
body = buildFormUrlencodedString({
|
|
211
|
-
...
|
|
211
|
+
...se_DescribeLoadBalancerAttributesInput(input, context),
|
|
212
212
|
Action: "DescribeLoadBalancerAttributes",
|
|
213
213
|
Version: "2012-06-01",
|
|
214
214
|
});
|
|
215
215
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
216
|
};
|
|
217
|
-
exports.
|
|
218
|
-
const
|
|
217
|
+
exports.se_DescribeLoadBalancerAttributesCommand = se_DescribeLoadBalancerAttributesCommand;
|
|
218
|
+
const se_DescribeLoadBalancerPoliciesCommand = async (input, context) => {
|
|
219
219
|
const headers = {
|
|
220
220
|
"content-type": "application/x-www-form-urlencoded",
|
|
221
221
|
};
|
|
222
222
|
let body;
|
|
223
223
|
body = buildFormUrlencodedString({
|
|
224
|
-
...
|
|
224
|
+
...se_DescribeLoadBalancerPoliciesInput(input, context),
|
|
225
225
|
Action: "DescribeLoadBalancerPolicies",
|
|
226
226
|
Version: "2012-06-01",
|
|
227
227
|
});
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
exports.
|
|
231
|
-
const
|
|
230
|
+
exports.se_DescribeLoadBalancerPoliciesCommand = se_DescribeLoadBalancerPoliciesCommand;
|
|
231
|
+
const se_DescribeLoadBalancerPolicyTypesCommand = async (input, context) => {
|
|
232
232
|
const headers = {
|
|
233
233
|
"content-type": "application/x-www-form-urlencoded",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
236
|
body = buildFormUrlencodedString({
|
|
237
|
-
...
|
|
237
|
+
...se_DescribeLoadBalancerPolicyTypesInput(input, context),
|
|
238
238
|
Action: "DescribeLoadBalancerPolicyTypes",
|
|
239
239
|
Version: "2012-06-01",
|
|
240
240
|
});
|
|
241
241
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
242
242
|
};
|
|
243
|
-
exports.
|
|
244
|
-
const
|
|
243
|
+
exports.se_DescribeLoadBalancerPolicyTypesCommand = se_DescribeLoadBalancerPolicyTypesCommand;
|
|
244
|
+
const se_DescribeLoadBalancersCommand = async (input, context) => {
|
|
245
245
|
const headers = {
|
|
246
246
|
"content-type": "application/x-www-form-urlencoded",
|
|
247
247
|
};
|
|
248
248
|
let body;
|
|
249
249
|
body = buildFormUrlencodedString({
|
|
250
|
-
...
|
|
250
|
+
...se_DescribeAccessPointsInput(input, context),
|
|
251
251
|
Action: "DescribeLoadBalancers",
|
|
252
252
|
Version: "2012-06-01",
|
|
253
253
|
});
|
|
254
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
255
255
|
};
|
|
256
|
-
exports.
|
|
257
|
-
const
|
|
256
|
+
exports.se_DescribeLoadBalancersCommand = se_DescribeLoadBalancersCommand;
|
|
257
|
+
const se_DescribeTagsCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-www-form-urlencoded",
|
|
260
260
|
};
|
|
261
261
|
let body;
|
|
262
262
|
body = buildFormUrlencodedString({
|
|
263
|
-
...
|
|
263
|
+
...se_DescribeTagsInput(input, context),
|
|
264
264
|
Action: "DescribeTags",
|
|
265
265
|
Version: "2012-06-01",
|
|
266
266
|
});
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
|
-
exports.
|
|
270
|
-
const
|
|
269
|
+
exports.se_DescribeTagsCommand = se_DescribeTagsCommand;
|
|
270
|
+
const se_DetachLoadBalancerFromSubnetsCommand = 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_DetachLoadBalancerFromSubnetsInput(input, context),
|
|
277
277
|
Action: "DetachLoadBalancerFromSubnets",
|
|
278
278
|
Version: "2012-06-01",
|
|
279
279
|
});
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
|
-
exports.
|
|
283
|
-
const
|
|
282
|
+
exports.se_DetachLoadBalancerFromSubnetsCommand = se_DetachLoadBalancerFromSubnetsCommand;
|
|
283
|
+
const se_DisableAvailabilityZonesForLoadBalancerCommand = async (input, context) => {
|
|
284
284
|
const headers = {
|
|
285
285
|
"content-type": "application/x-www-form-urlencoded",
|
|
286
286
|
};
|
|
287
287
|
let body;
|
|
288
288
|
body = buildFormUrlencodedString({
|
|
289
|
-
...
|
|
289
|
+
...se_RemoveAvailabilityZonesInput(input, context),
|
|
290
290
|
Action: "DisableAvailabilityZonesForLoadBalancer",
|
|
291
291
|
Version: "2012-06-01",
|
|
292
292
|
});
|
|
293
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
294
|
};
|
|
295
|
-
exports.
|
|
296
|
-
const
|
|
295
|
+
exports.se_DisableAvailabilityZonesForLoadBalancerCommand = se_DisableAvailabilityZonesForLoadBalancerCommand;
|
|
296
|
+
const se_EnableAvailabilityZonesForLoadBalancerCommand = async (input, context) => {
|
|
297
297
|
const headers = {
|
|
298
298
|
"content-type": "application/x-www-form-urlencoded",
|
|
299
299
|
};
|
|
300
300
|
let body;
|
|
301
301
|
body = buildFormUrlencodedString({
|
|
302
|
-
...
|
|
302
|
+
...se_AddAvailabilityZonesInput(input, context),
|
|
303
303
|
Action: "EnableAvailabilityZonesForLoadBalancer",
|
|
304
304
|
Version: "2012-06-01",
|
|
305
305
|
});
|
|
306
306
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
307
|
};
|
|
308
|
-
exports.
|
|
309
|
-
const
|
|
308
|
+
exports.se_EnableAvailabilityZonesForLoadBalancerCommand = se_EnableAvailabilityZonesForLoadBalancerCommand;
|
|
309
|
+
const se_ModifyLoadBalancerAttributesCommand = async (input, context) => {
|
|
310
310
|
const headers = {
|
|
311
311
|
"content-type": "application/x-www-form-urlencoded",
|
|
312
312
|
};
|
|
313
313
|
let body;
|
|
314
314
|
body = buildFormUrlencodedString({
|
|
315
|
-
...
|
|
315
|
+
...se_ModifyLoadBalancerAttributesInput(input, context),
|
|
316
316
|
Action: "ModifyLoadBalancerAttributes",
|
|
317
317
|
Version: "2012-06-01",
|
|
318
318
|
});
|
|
319
319
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
320
320
|
};
|
|
321
|
-
exports.
|
|
322
|
-
const
|
|
321
|
+
exports.se_ModifyLoadBalancerAttributesCommand = se_ModifyLoadBalancerAttributesCommand;
|
|
322
|
+
const se_RegisterInstancesWithLoadBalancerCommand = async (input, context) => {
|
|
323
323
|
const headers = {
|
|
324
324
|
"content-type": "application/x-www-form-urlencoded",
|
|
325
325
|
};
|
|
326
326
|
let body;
|
|
327
327
|
body = buildFormUrlencodedString({
|
|
328
|
-
...
|
|
328
|
+
...se_RegisterEndPointsInput(input, context),
|
|
329
329
|
Action: "RegisterInstancesWithLoadBalancer",
|
|
330
330
|
Version: "2012-06-01",
|
|
331
331
|
});
|
|
332
332
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
333
333
|
};
|
|
334
|
-
exports.
|
|
335
|
-
const
|
|
334
|
+
exports.se_RegisterInstancesWithLoadBalancerCommand = se_RegisterInstancesWithLoadBalancerCommand;
|
|
335
|
+
const se_RemoveTagsCommand = async (input, context) => {
|
|
336
336
|
const headers = {
|
|
337
337
|
"content-type": "application/x-www-form-urlencoded",
|
|
338
338
|
};
|
|
339
339
|
let body;
|
|
340
340
|
body = buildFormUrlencodedString({
|
|
341
|
-
...
|
|
341
|
+
...se_RemoveTagsInput(input, context),
|
|
342
342
|
Action: "RemoveTags",
|
|
343
343
|
Version: "2012-06-01",
|
|
344
344
|
});
|
|
345
345
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
346
|
};
|
|
347
|
-
exports.
|
|
348
|
-
const
|
|
347
|
+
exports.se_RemoveTagsCommand = se_RemoveTagsCommand;
|
|
348
|
+
const se_SetLoadBalancerListenerSSLCertificateCommand = async (input, context) => {
|
|
349
349
|
const headers = {
|
|
350
350
|
"content-type": "application/x-www-form-urlencoded",
|
|
351
351
|
};
|
|
352
352
|
let body;
|
|
353
353
|
body = buildFormUrlencodedString({
|
|
354
|
-
...
|
|
354
|
+
...se_SetLoadBalancerListenerSSLCertificateInput(input, context),
|
|
355
355
|
Action: "SetLoadBalancerListenerSSLCertificate",
|
|
356
356
|
Version: "2012-06-01",
|
|
357
357
|
});
|
|
358
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
359
|
};
|
|
360
|
-
exports.
|
|
361
|
-
const
|
|
360
|
+
exports.se_SetLoadBalancerListenerSSLCertificateCommand = se_SetLoadBalancerListenerSSLCertificateCommand;
|
|
361
|
+
const se_SetLoadBalancerPoliciesForBackendServerCommand = async (input, context) => {
|
|
362
362
|
const headers = {
|
|
363
363
|
"content-type": "application/x-www-form-urlencoded",
|
|
364
364
|
};
|
|
365
365
|
let body;
|
|
366
366
|
body = buildFormUrlencodedString({
|
|
367
|
-
...
|
|
367
|
+
...se_SetLoadBalancerPoliciesForBackendServerInput(input, context),
|
|
368
368
|
Action: "SetLoadBalancerPoliciesForBackendServer",
|
|
369
369
|
Version: "2012-06-01",
|
|
370
370
|
});
|
|
371
371
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
372
|
};
|
|
373
|
-
exports.
|
|
374
|
-
const
|
|
373
|
+
exports.se_SetLoadBalancerPoliciesForBackendServerCommand = se_SetLoadBalancerPoliciesForBackendServerCommand;
|
|
374
|
+
const se_SetLoadBalancerPoliciesOfListenerCommand = async (input, context) => {
|
|
375
375
|
const headers = {
|
|
376
376
|
"content-type": "application/x-www-form-urlencoded",
|
|
377
377
|
};
|
|
378
378
|
let body;
|
|
379
379
|
body = buildFormUrlencodedString({
|
|
380
|
-
...
|
|
380
|
+
...se_SetLoadBalancerPoliciesOfListenerInput(input, context),
|
|
381
381
|
Action: "SetLoadBalancerPoliciesOfListener",
|
|
382
382
|
Version: "2012-06-01",
|
|
383
383
|
});
|
|
384
384
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
385
385
|
};
|
|
386
|
-
exports.
|
|
387
|
-
const
|
|
386
|
+
exports.se_SetLoadBalancerPoliciesOfListenerCommand = se_SetLoadBalancerPoliciesOfListenerCommand;
|
|
387
|
+
const de_AddTagsCommand = async (output, context) => {
|
|
388
388
|
if (output.statusCode >= 300) {
|
|
389
|
-
return
|
|
389
|
+
return de_AddTagsCommandError(output, context);
|
|
390
390
|
}
|
|
391
391
|
const data = await parseBody(output.body, context);
|
|
392
392
|
let contents = {};
|
|
393
|
-
contents =
|
|
393
|
+
contents = de_AddTagsOutput(data.AddTagsResult, context);
|
|
394
394
|
const response = {
|
|
395
395
|
$metadata: deserializeMetadata(output),
|
|
396
396
|
...contents,
|
|
397
397
|
};
|
|
398
398
|
return Promise.resolve(response);
|
|
399
399
|
};
|
|
400
|
-
exports.
|
|
401
|
-
const
|
|
400
|
+
exports.de_AddTagsCommand = de_AddTagsCommand;
|
|
401
|
+
const de_AddTagsCommandError = async (output, context) => {
|
|
402
402
|
const parsedOutput = {
|
|
403
403
|
...output,
|
|
404
404
|
body: await parseErrorBody(output.body, context),
|
|
@@ -407,13 +407,13 @@ const deserializeAws_queryAddTagsCommandError = async (output, context) => {
|
|
|
407
407
|
switch (errorCode) {
|
|
408
408
|
case "DuplicateTagKeys":
|
|
409
409
|
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
410
|
-
throw await
|
|
410
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
411
411
|
case "LoadBalancerNotFound":
|
|
412
412
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
413
|
-
throw await
|
|
413
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
414
414
|
case "TooManyTags":
|
|
415
415
|
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
416
|
-
throw await
|
|
416
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
417
417
|
default:
|
|
418
418
|
const parsedBody = parsedOutput.body;
|
|
419
419
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -424,21 +424,21 @@ const deserializeAws_queryAddTagsCommandError = async (output, context) => {
|
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
|
-
const
|
|
427
|
+
const de_ApplySecurityGroupsToLoadBalancerCommand = async (output, context) => {
|
|
428
428
|
if (output.statusCode >= 300) {
|
|
429
|
-
return
|
|
429
|
+
return de_ApplySecurityGroupsToLoadBalancerCommandError(output, context);
|
|
430
430
|
}
|
|
431
431
|
const data = await parseBody(output.body, context);
|
|
432
432
|
let contents = {};
|
|
433
|
-
contents =
|
|
433
|
+
contents = de_ApplySecurityGroupsToLoadBalancerOutput(data.ApplySecurityGroupsToLoadBalancerResult, context);
|
|
434
434
|
const response = {
|
|
435
435
|
$metadata: deserializeMetadata(output),
|
|
436
436
|
...contents,
|
|
437
437
|
};
|
|
438
438
|
return Promise.resolve(response);
|
|
439
439
|
};
|
|
440
|
-
exports.
|
|
441
|
-
const
|
|
440
|
+
exports.de_ApplySecurityGroupsToLoadBalancerCommand = de_ApplySecurityGroupsToLoadBalancerCommand;
|
|
441
|
+
const de_ApplySecurityGroupsToLoadBalancerCommandError = async (output, context) => {
|
|
442
442
|
const parsedOutput = {
|
|
443
443
|
...output,
|
|
444
444
|
body: await parseErrorBody(output.body, context),
|
|
@@ -447,13 +447,13 @@ const deserializeAws_queryApplySecurityGroupsToLoadBalancerCommandError = async
|
|
|
447
447
|
switch (errorCode) {
|
|
448
448
|
case "InvalidConfigurationRequest":
|
|
449
449
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
450
|
-
throw await
|
|
450
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
451
451
|
case "InvalidSecurityGroup":
|
|
452
452
|
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
453
|
-
throw await
|
|
453
|
+
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
454
454
|
case "LoadBalancerNotFound":
|
|
455
455
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
456
|
-
throw await
|
|
456
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
457
457
|
default:
|
|
458
458
|
const parsedBody = parsedOutput.body;
|
|
459
459
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -464,21 +464,21 @@ const deserializeAws_queryApplySecurityGroupsToLoadBalancerCommandError = async
|
|
|
464
464
|
});
|
|
465
465
|
}
|
|
466
466
|
};
|
|
467
|
-
const
|
|
467
|
+
const de_AttachLoadBalancerToSubnetsCommand = async (output, context) => {
|
|
468
468
|
if (output.statusCode >= 300) {
|
|
469
|
-
return
|
|
469
|
+
return de_AttachLoadBalancerToSubnetsCommandError(output, context);
|
|
470
470
|
}
|
|
471
471
|
const data = await parseBody(output.body, context);
|
|
472
472
|
let contents = {};
|
|
473
|
-
contents =
|
|
473
|
+
contents = de_AttachLoadBalancerToSubnetsOutput(data.AttachLoadBalancerToSubnetsResult, context);
|
|
474
474
|
const response = {
|
|
475
475
|
$metadata: deserializeMetadata(output),
|
|
476
476
|
...contents,
|
|
477
477
|
};
|
|
478
478
|
return Promise.resolve(response);
|
|
479
479
|
};
|
|
480
|
-
exports.
|
|
481
|
-
const
|
|
480
|
+
exports.de_AttachLoadBalancerToSubnetsCommand = de_AttachLoadBalancerToSubnetsCommand;
|
|
481
|
+
const de_AttachLoadBalancerToSubnetsCommandError = async (output, context) => {
|
|
482
482
|
const parsedOutput = {
|
|
483
483
|
...output,
|
|
484
484
|
body: await parseErrorBody(output.body, context),
|
|
@@ -487,16 +487,16 @@ const deserializeAws_queryAttachLoadBalancerToSubnetsCommandError = async (outpu
|
|
|
487
487
|
switch (errorCode) {
|
|
488
488
|
case "InvalidConfigurationRequest":
|
|
489
489
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
490
|
-
throw await
|
|
490
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
491
491
|
case "InvalidSubnet":
|
|
492
492
|
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
493
|
-
throw await
|
|
493
|
+
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
494
494
|
case "LoadBalancerNotFound":
|
|
495
495
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
496
|
-
throw await
|
|
496
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
497
497
|
case "SubnetNotFound":
|
|
498
498
|
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
499
|
-
throw await
|
|
499
|
+
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
500
500
|
default:
|
|
501
501
|
const parsedBody = parsedOutput.body;
|
|
502
502
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -507,21 +507,21 @@ const deserializeAws_queryAttachLoadBalancerToSubnetsCommandError = async (outpu
|
|
|
507
507
|
});
|
|
508
508
|
}
|
|
509
509
|
};
|
|
510
|
-
const
|
|
510
|
+
const de_ConfigureHealthCheckCommand = async (output, context) => {
|
|
511
511
|
if (output.statusCode >= 300) {
|
|
512
|
-
return
|
|
512
|
+
return de_ConfigureHealthCheckCommandError(output, context);
|
|
513
513
|
}
|
|
514
514
|
const data = await parseBody(output.body, context);
|
|
515
515
|
let contents = {};
|
|
516
|
-
contents =
|
|
516
|
+
contents = de_ConfigureHealthCheckOutput(data.ConfigureHealthCheckResult, context);
|
|
517
517
|
const response = {
|
|
518
518
|
$metadata: deserializeMetadata(output),
|
|
519
519
|
...contents,
|
|
520
520
|
};
|
|
521
521
|
return Promise.resolve(response);
|
|
522
522
|
};
|
|
523
|
-
exports.
|
|
524
|
-
const
|
|
523
|
+
exports.de_ConfigureHealthCheckCommand = de_ConfigureHealthCheckCommand;
|
|
524
|
+
const de_ConfigureHealthCheckCommandError = async (output, context) => {
|
|
525
525
|
const parsedOutput = {
|
|
526
526
|
...output,
|
|
527
527
|
body: await parseErrorBody(output.body, context),
|
|
@@ -530,7 +530,7 @@ const deserializeAws_queryConfigureHealthCheckCommandError = async (output, cont
|
|
|
530
530
|
switch (errorCode) {
|
|
531
531
|
case "LoadBalancerNotFound":
|
|
532
532
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
533
|
-
throw await
|
|
533
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
534
534
|
default:
|
|
535
535
|
const parsedBody = parsedOutput.body;
|
|
536
536
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -541,21 +541,21 @@ const deserializeAws_queryConfigureHealthCheckCommandError = async (output, cont
|
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
543
|
};
|
|
544
|
-
const
|
|
544
|
+
const de_CreateAppCookieStickinessPolicyCommand = async (output, context) => {
|
|
545
545
|
if (output.statusCode >= 300) {
|
|
546
|
-
return
|
|
546
|
+
return de_CreateAppCookieStickinessPolicyCommandError(output, context);
|
|
547
547
|
}
|
|
548
548
|
const data = await parseBody(output.body, context);
|
|
549
549
|
let contents = {};
|
|
550
|
-
contents =
|
|
550
|
+
contents = de_CreateAppCookieStickinessPolicyOutput(data.CreateAppCookieStickinessPolicyResult, context);
|
|
551
551
|
const response = {
|
|
552
552
|
$metadata: deserializeMetadata(output),
|
|
553
553
|
...contents,
|
|
554
554
|
};
|
|
555
555
|
return Promise.resolve(response);
|
|
556
556
|
};
|
|
557
|
-
exports.
|
|
558
|
-
const
|
|
557
|
+
exports.de_CreateAppCookieStickinessPolicyCommand = de_CreateAppCookieStickinessPolicyCommand;
|
|
558
|
+
const de_CreateAppCookieStickinessPolicyCommandError = async (output, context) => {
|
|
559
559
|
const parsedOutput = {
|
|
560
560
|
...output,
|
|
561
561
|
body: await parseErrorBody(output.body, context),
|
|
@@ -564,16 +564,16 @@ const deserializeAws_queryCreateAppCookieStickinessPolicyCommandError = async (o
|
|
|
564
564
|
switch (errorCode) {
|
|
565
565
|
case "DuplicatePolicyName":
|
|
566
566
|
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
567
|
-
throw await
|
|
567
|
+
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
568
568
|
case "InvalidConfigurationRequest":
|
|
569
569
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
570
|
-
throw await
|
|
570
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
571
571
|
case "LoadBalancerNotFound":
|
|
572
572
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
573
|
-
throw await
|
|
573
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
574
574
|
case "TooManyPolicies":
|
|
575
575
|
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
576
|
-
throw await
|
|
576
|
+
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
577
577
|
default:
|
|
578
578
|
const parsedBody = parsedOutput.body;
|
|
579
579
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -584,21 +584,21 @@ const deserializeAws_queryCreateAppCookieStickinessPolicyCommandError = async (o
|
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
586
|
};
|
|
587
|
-
const
|
|
587
|
+
const de_CreateLBCookieStickinessPolicyCommand = async (output, context) => {
|
|
588
588
|
if (output.statusCode >= 300) {
|
|
589
|
-
return
|
|
589
|
+
return de_CreateLBCookieStickinessPolicyCommandError(output, context);
|
|
590
590
|
}
|
|
591
591
|
const data = await parseBody(output.body, context);
|
|
592
592
|
let contents = {};
|
|
593
|
-
contents =
|
|
593
|
+
contents = de_CreateLBCookieStickinessPolicyOutput(data.CreateLBCookieStickinessPolicyResult, context);
|
|
594
594
|
const response = {
|
|
595
595
|
$metadata: deserializeMetadata(output),
|
|
596
596
|
...contents,
|
|
597
597
|
};
|
|
598
598
|
return Promise.resolve(response);
|
|
599
599
|
};
|
|
600
|
-
exports.
|
|
601
|
-
const
|
|
600
|
+
exports.de_CreateLBCookieStickinessPolicyCommand = de_CreateLBCookieStickinessPolicyCommand;
|
|
601
|
+
const de_CreateLBCookieStickinessPolicyCommandError = async (output, context) => {
|
|
602
602
|
const parsedOutput = {
|
|
603
603
|
...output,
|
|
604
604
|
body: await parseErrorBody(output.body, context),
|
|
@@ -607,16 +607,16 @@ const deserializeAws_queryCreateLBCookieStickinessPolicyCommandError = async (ou
|
|
|
607
607
|
switch (errorCode) {
|
|
608
608
|
case "DuplicatePolicyName":
|
|
609
609
|
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
610
|
-
throw await
|
|
610
|
+
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
611
611
|
case "InvalidConfigurationRequest":
|
|
612
612
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
613
|
-
throw await
|
|
613
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
614
614
|
case "LoadBalancerNotFound":
|
|
615
615
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
616
|
-
throw await
|
|
616
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
617
617
|
case "TooManyPolicies":
|
|
618
618
|
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
619
|
-
throw await
|
|
619
|
+
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
620
620
|
default:
|
|
621
621
|
const parsedBody = parsedOutput.body;
|
|
622
622
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -627,21 +627,21 @@ const deserializeAws_queryCreateLBCookieStickinessPolicyCommandError = async (ou
|
|
|
627
627
|
});
|
|
628
628
|
}
|
|
629
629
|
};
|
|
630
|
-
const
|
|
630
|
+
const de_CreateLoadBalancerCommand = async (output, context) => {
|
|
631
631
|
if (output.statusCode >= 300) {
|
|
632
|
-
return
|
|
632
|
+
return de_CreateLoadBalancerCommandError(output, context);
|
|
633
633
|
}
|
|
634
634
|
const data = await parseBody(output.body, context);
|
|
635
635
|
let contents = {};
|
|
636
|
-
contents =
|
|
636
|
+
contents = de_CreateAccessPointOutput(data.CreateLoadBalancerResult, context);
|
|
637
637
|
const response = {
|
|
638
638
|
$metadata: deserializeMetadata(output),
|
|
639
639
|
...contents,
|
|
640
640
|
};
|
|
641
641
|
return Promise.resolve(response);
|
|
642
642
|
};
|
|
643
|
-
exports.
|
|
644
|
-
const
|
|
643
|
+
exports.de_CreateLoadBalancerCommand = de_CreateLoadBalancerCommand;
|
|
644
|
+
const de_CreateLoadBalancerCommandError = async (output, context) => {
|
|
645
645
|
const parsedOutput = {
|
|
646
646
|
...output,
|
|
647
647
|
body: await parseErrorBody(output.body, context),
|
|
@@ -650,40 +650,40 @@ const deserializeAws_queryCreateLoadBalancerCommandError = async (output, contex
|
|
|
650
650
|
switch (errorCode) {
|
|
651
651
|
case "CertificateNotFound":
|
|
652
652
|
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
653
|
-
throw await
|
|
653
|
+
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
654
654
|
case "DuplicateLoadBalancerName":
|
|
655
655
|
case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException":
|
|
656
|
-
throw await
|
|
656
|
+
throw await de_DuplicateAccessPointNameExceptionRes(parsedOutput, context);
|
|
657
657
|
case "DuplicateTagKeys":
|
|
658
658
|
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
659
|
-
throw await
|
|
659
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
660
660
|
case "InvalidConfigurationRequest":
|
|
661
661
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
662
|
-
throw await
|
|
662
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
663
663
|
case "InvalidScheme":
|
|
664
664
|
case "com.amazonaws.elasticloadbalancing#InvalidSchemeException":
|
|
665
|
-
throw await
|
|
665
|
+
throw await de_InvalidSchemeExceptionRes(parsedOutput, context);
|
|
666
666
|
case "InvalidSecurityGroup":
|
|
667
667
|
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
668
|
-
throw await
|
|
668
|
+
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
669
669
|
case "InvalidSubnet":
|
|
670
670
|
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
671
|
-
throw await
|
|
671
|
+
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
672
672
|
case "OperationNotPermitted":
|
|
673
673
|
case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException":
|
|
674
|
-
throw await
|
|
674
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
675
675
|
case "SubnetNotFound":
|
|
676
676
|
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
677
|
-
throw await
|
|
677
|
+
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
678
678
|
case "TooManyLoadBalancers":
|
|
679
679
|
case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException":
|
|
680
|
-
throw await
|
|
680
|
+
throw await de_TooManyAccessPointsExceptionRes(parsedOutput, context);
|
|
681
681
|
case "TooManyTags":
|
|
682
682
|
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
683
|
-
throw await
|
|
683
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
684
684
|
case "UnsupportedProtocol":
|
|
685
685
|
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
686
|
-
throw await
|
|
686
|
+
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
687
687
|
default:
|
|
688
688
|
const parsedBody = parsedOutput.body;
|
|
689
689
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -694,21 +694,21 @@ const deserializeAws_queryCreateLoadBalancerCommandError = async (output, contex
|
|
|
694
694
|
});
|
|
695
695
|
}
|
|
696
696
|
};
|
|
697
|
-
const
|
|
697
|
+
const de_CreateLoadBalancerListenersCommand = async (output, context) => {
|
|
698
698
|
if (output.statusCode >= 300) {
|
|
699
|
-
return
|
|
699
|
+
return de_CreateLoadBalancerListenersCommandError(output, context);
|
|
700
700
|
}
|
|
701
701
|
const data = await parseBody(output.body, context);
|
|
702
702
|
let contents = {};
|
|
703
|
-
contents =
|
|
703
|
+
contents = de_CreateLoadBalancerListenerOutput(data.CreateLoadBalancerListenersResult, context);
|
|
704
704
|
const response = {
|
|
705
705
|
$metadata: deserializeMetadata(output),
|
|
706
706
|
...contents,
|
|
707
707
|
};
|
|
708
708
|
return Promise.resolve(response);
|
|
709
709
|
};
|
|
710
|
-
exports.
|
|
711
|
-
const
|
|
710
|
+
exports.de_CreateLoadBalancerListenersCommand = de_CreateLoadBalancerListenersCommand;
|
|
711
|
+
const de_CreateLoadBalancerListenersCommandError = async (output, context) => {
|
|
712
712
|
const parsedOutput = {
|
|
713
713
|
...output,
|
|
714
714
|
body: await parseErrorBody(output.body, context),
|
|
@@ -717,19 +717,19 @@ const deserializeAws_queryCreateLoadBalancerListenersCommandError = async (outpu
|
|
|
717
717
|
switch (errorCode) {
|
|
718
718
|
case "CertificateNotFound":
|
|
719
719
|
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
720
|
-
throw await
|
|
720
|
+
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
721
721
|
case "DuplicateListener":
|
|
722
722
|
case "com.amazonaws.elasticloadbalancing#DuplicateListenerException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
|
|
724
724
|
case "InvalidConfigurationRequest":
|
|
725
725
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
726
|
-
throw await
|
|
726
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
727
727
|
case "LoadBalancerNotFound":
|
|
728
728
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
729
|
-
throw await
|
|
729
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
730
730
|
case "UnsupportedProtocol":
|
|
731
731
|
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
732
|
-
throw await
|
|
732
|
+
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
733
733
|
default:
|
|
734
734
|
const parsedBody = parsedOutput.body;
|
|
735
735
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -740,21 +740,21 @@ const deserializeAws_queryCreateLoadBalancerListenersCommandError = async (outpu
|
|
|
740
740
|
});
|
|
741
741
|
}
|
|
742
742
|
};
|
|
743
|
-
const
|
|
743
|
+
const de_CreateLoadBalancerPolicyCommand = async (output, context) => {
|
|
744
744
|
if (output.statusCode >= 300) {
|
|
745
|
-
return
|
|
745
|
+
return de_CreateLoadBalancerPolicyCommandError(output, context);
|
|
746
746
|
}
|
|
747
747
|
const data = await parseBody(output.body, context);
|
|
748
748
|
let contents = {};
|
|
749
|
-
contents =
|
|
749
|
+
contents = de_CreateLoadBalancerPolicyOutput(data.CreateLoadBalancerPolicyResult, context);
|
|
750
750
|
const response = {
|
|
751
751
|
$metadata: deserializeMetadata(output),
|
|
752
752
|
...contents,
|
|
753
753
|
};
|
|
754
754
|
return Promise.resolve(response);
|
|
755
755
|
};
|
|
756
|
-
exports.
|
|
757
|
-
const
|
|
756
|
+
exports.de_CreateLoadBalancerPolicyCommand = de_CreateLoadBalancerPolicyCommand;
|
|
757
|
+
const de_CreateLoadBalancerPolicyCommandError = async (output, context) => {
|
|
758
758
|
const parsedOutput = {
|
|
759
759
|
...output,
|
|
760
760
|
body: await parseErrorBody(output.body, context),
|
|
@@ -763,19 +763,19 @@ const deserializeAws_queryCreateLoadBalancerPolicyCommandError = async (output,
|
|
|
763
763
|
switch (errorCode) {
|
|
764
764
|
case "DuplicatePolicyName":
|
|
765
765
|
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
766
|
-
throw await
|
|
766
|
+
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
767
767
|
case "InvalidConfigurationRequest":
|
|
768
768
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
769
|
-
throw await
|
|
769
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
770
770
|
case "LoadBalancerNotFound":
|
|
771
771
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
772
|
-
throw await
|
|
772
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
773
773
|
case "PolicyTypeNotFound":
|
|
774
774
|
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
775
|
-
throw await
|
|
775
|
+
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
776
776
|
case "TooManyPolicies":
|
|
777
777
|
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
778
|
-
throw await
|
|
778
|
+
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
779
779
|
default:
|
|
780
780
|
const parsedBody = parsedOutput.body;
|
|
781
781
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -786,21 +786,21 @@ const deserializeAws_queryCreateLoadBalancerPolicyCommandError = async (output,
|
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
|
-
const
|
|
789
|
+
const de_DeleteLoadBalancerCommand = async (output, context) => {
|
|
790
790
|
if (output.statusCode >= 300) {
|
|
791
|
-
return
|
|
791
|
+
return de_DeleteLoadBalancerCommandError(output, context);
|
|
792
792
|
}
|
|
793
793
|
const data = await parseBody(output.body, context);
|
|
794
794
|
let contents = {};
|
|
795
|
-
contents =
|
|
795
|
+
contents = de_DeleteAccessPointOutput(data.DeleteLoadBalancerResult, context);
|
|
796
796
|
const response = {
|
|
797
797
|
$metadata: deserializeMetadata(output),
|
|
798
798
|
...contents,
|
|
799
799
|
};
|
|
800
800
|
return Promise.resolve(response);
|
|
801
801
|
};
|
|
802
|
-
exports.
|
|
803
|
-
const
|
|
802
|
+
exports.de_DeleteLoadBalancerCommand = de_DeleteLoadBalancerCommand;
|
|
803
|
+
const de_DeleteLoadBalancerCommandError = async (output, context) => {
|
|
804
804
|
const parsedOutput = {
|
|
805
805
|
...output,
|
|
806
806
|
body: await parseErrorBody(output.body, context),
|
|
@@ -814,21 +814,21 @@ const deserializeAws_queryDeleteLoadBalancerCommandError = async (output, contex
|
|
|
814
814
|
errorCode,
|
|
815
815
|
});
|
|
816
816
|
};
|
|
817
|
-
const
|
|
817
|
+
const de_DeleteLoadBalancerListenersCommand = async (output, context) => {
|
|
818
818
|
if (output.statusCode >= 300) {
|
|
819
|
-
return
|
|
819
|
+
return de_DeleteLoadBalancerListenersCommandError(output, context);
|
|
820
820
|
}
|
|
821
821
|
const data = await parseBody(output.body, context);
|
|
822
822
|
let contents = {};
|
|
823
|
-
contents =
|
|
823
|
+
contents = de_DeleteLoadBalancerListenerOutput(data.DeleteLoadBalancerListenersResult, context);
|
|
824
824
|
const response = {
|
|
825
825
|
$metadata: deserializeMetadata(output),
|
|
826
826
|
...contents,
|
|
827
827
|
};
|
|
828
828
|
return Promise.resolve(response);
|
|
829
829
|
};
|
|
830
|
-
exports.
|
|
831
|
-
const
|
|
830
|
+
exports.de_DeleteLoadBalancerListenersCommand = de_DeleteLoadBalancerListenersCommand;
|
|
831
|
+
const de_DeleteLoadBalancerListenersCommandError = async (output, context) => {
|
|
832
832
|
const parsedOutput = {
|
|
833
833
|
...output,
|
|
834
834
|
body: await parseErrorBody(output.body, context),
|
|
@@ -837,7 +837,7 @@ const deserializeAws_queryDeleteLoadBalancerListenersCommandError = async (outpu
|
|
|
837
837
|
switch (errorCode) {
|
|
838
838
|
case "LoadBalancerNotFound":
|
|
839
839
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
840
|
-
throw await
|
|
840
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
841
841
|
default:
|
|
842
842
|
const parsedBody = parsedOutput.body;
|
|
843
843
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -848,21 +848,21 @@ const deserializeAws_queryDeleteLoadBalancerListenersCommandError = async (outpu
|
|
|
848
848
|
});
|
|
849
849
|
}
|
|
850
850
|
};
|
|
851
|
-
const
|
|
851
|
+
const de_DeleteLoadBalancerPolicyCommand = async (output, context) => {
|
|
852
852
|
if (output.statusCode >= 300) {
|
|
853
|
-
return
|
|
853
|
+
return de_DeleteLoadBalancerPolicyCommandError(output, context);
|
|
854
854
|
}
|
|
855
855
|
const data = await parseBody(output.body, context);
|
|
856
856
|
let contents = {};
|
|
857
|
-
contents =
|
|
857
|
+
contents = de_DeleteLoadBalancerPolicyOutput(data.DeleteLoadBalancerPolicyResult, context);
|
|
858
858
|
const response = {
|
|
859
859
|
$metadata: deserializeMetadata(output),
|
|
860
860
|
...contents,
|
|
861
861
|
};
|
|
862
862
|
return Promise.resolve(response);
|
|
863
863
|
};
|
|
864
|
-
exports.
|
|
865
|
-
const
|
|
864
|
+
exports.de_DeleteLoadBalancerPolicyCommand = de_DeleteLoadBalancerPolicyCommand;
|
|
865
|
+
const de_DeleteLoadBalancerPolicyCommandError = async (output, context) => {
|
|
866
866
|
const parsedOutput = {
|
|
867
867
|
...output,
|
|
868
868
|
body: await parseErrorBody(output.body, context),
|
|
@@ -871,10 +871,10 @@ const deserializeAws_queryDeleteLoadBalancerPolicyCommandError = async (output,
|
|
|
871
871
|
switch (errorCode) {
|
|
872
872
|
case "InvalidConfigurationRequest":
|
|
873
873
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
874
|
-
throw await
|
|
874
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
875
875
|
case "LoadBalancerNotFound":
|
|
876
876
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
877
|
-
throw await
|
|
877
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
878
878
|
default:
|
|
879
879
|
const parsedBody = parsedOutput.body;
|
|
880
880
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -885,21 +885,21 @@ const deserializeAws_queryDeleteLoadBalancerPolicyCommandError = async (output,
|
|
|
885
885
|
});
|
|
886
886
|
}
|
|
887
887
|
};
|
|
888
|
-
const
|
|
888
|
+
const de_DeregisterInstancesFromLoadBalancerCommand = async (output, context) => {
|
|
889
889
|
if (output.statusCode >= 300) {
|
|
890
|
-
return
|
|
890
|
+
return de_DeregisterInstancesFromLoadBalancerCommandError(output, context);
|
|
891
891
|
}
|
|
892
892
|
const data = await parseBody(output.body, context);
|
|
893
893
|
let contents = {};
|
|
894
|
-
contents =
|
|
894
|
+
contents = de_DeregisterEndPointsOutput(data.DeregisterInstancesFromLoadBalancerResult, context);
|
|
895
895
|
const response = {
|
|
896
896
|
$metadata: deserializeMetadata(output),
|
|
897
897
|
...contents,
|
|
898
898
|
};
|
|
899
899
|
return Promise.resolve(response);
|
|
900
900
|
};
|
|
901
|
-
exports.
|
|
902
|
-
const
|
|
901
|
+
exports.de_DeregisterInstancesFromLoadBalancerCommand = de_DeregisterInstancesFromLoadBalancerCommand;
|
|
902
|
+
const de_DeregisterInstancesFromLoadBalancerCommandError = async (output, context) => {
|
|
903
903
|
const parsedOutput = {
|
|
904
904
|
...output,
|
|
905
905
|
body: await parseErrorBody(output.body, context),
|
|
@@ -908,10 +908,10 @@ const deserializeAws_queryDeregisterInstancesFromLoadBalancerCommandError = asyn
|
|
|
908
908
|
switch (errorCode) {
|
|
909
909
|
case "InvalidInstance":
|
|
910
910
|
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
911
|
-
throw await
|
|
911
|
+
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
912
912
|
case "LoadBalancerNotFound":
|
|
913
913
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
914
|
-
throw await
|
|
914
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
915
915
|
default:
|
|
916
916
|
const parsedBody = parsedOutput.body;
|
|
917
917
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -922,21 +922,21 @@ const deserializeAws_queryDeregisterInstancesFromLoadBalancerCommandError = asyn
|
|
|
922
922
|
});
|
|
923
923
|
}
|
|
924
924
|
};
|
|
925
|
-
const
|
|
925
|
+
const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
926
926
|
if (output.statusCode >= 300) {
|
|
927
|
-
return
|
|
927
|
+
return de_DescribeAccountLimitsCommandError(output, context);
|
|
928
928
|
}
|
|
929
929
|
const data = await parseBody(output.body, context);
|
|
930
930
|
let contents = {};
|
|
931
|
-
contents =
|
|
931
|
+
contents = de_DescribeAccountLimitsOutput(data.DescribeAccountLimitsResult, context);
|
|
932
932
|
const response = {
|
|
933
933
|
$metadata: deserializeMetadata(output),
|
|
934
934
|
...contents,
|
|
935
935
|
};
|
|
936
936
|
return Promise.resolve(response);
|
|
937
937
|
};
|
|
938
|
-
exports.
|
|
939
|
-
const
|
|
938
|
+
exports.de_DescribeAccountLimitsCommand = de_DescribeAccountLimitsCommand;
|
|
939
|
+
const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
940
940
|
const parsedOutput = {
|
|
941
941
|
...output,
|
|
942
942
|
body: await parseErrorBody(output.body, context),
|
|
@@ -950,21 +950,21 @@ const deserializeAws_queryDescribeAccountLimitsCommandError = async (output, con
|
|
|
950
950
|
errorCode,
|
|
951
951
|
});
|
|
952
952
|
};
|
|
953
|
-
const
|
|
953
|
+
const de_DescribeInstanceHealthCommand = async (output, context) => {
|
|
954
954
|
if (output.statusCode >= 300) {
|
|
955
|
-
return
|
|
955
|
+
return de_DescribeInstanceHealthCommandError(output, context);
|
|
956
956
|
}
|
|
957
957
|
const data = await parseBody(output.body, context);
|
|
958
958
|
let contents = {};
|
|
959
|
-
contents =
|
|
959
|
+
contents = de_DescribeEndPointStateOutput(data.DescribeInstanceHealthResult, context);
|
|
960
960
|
const response = {
|
|
961
961
|
$metadata: deserializeMetadata(output),
|
|
962
962
|
...contents,
|
|
963
963
|
};
|
|
964
964
|
return Promise.resolve(response);
|
|
965
965
|
};
|
|
966
|
-
exports.
|
|
967
|
-
const
|
|
966
|
+
exports.de_DescribeInstanceHealthCommand = de_DescribeInstanceHealthCommand;
|
|
967
|
+
const de_DescribeInstanceHealthCommandError = async (output, context) => {
|
|
968
968
|
const parsedOutput = {
|
|
969
969
|
...output,
|
|
970
970
|
body: await parseErrorBody(output.body, context),
|
|
@@ -973,10 +973,10 @@ const deserializeAws_queryDescribeInstanceHealthCommandError = async (output, co
|
|
|
973
973
|
switch (errorCode) {
|
|
974
974
|
case "InvalidInstance":
|
|
975
975
|
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
976
|
-
throw await
|
|
976
|
+
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
977
977
|
case "LoadBalancerNotFound":
|
|
978
978
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
979
|
-
throw await
|
|
979
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
980
980
|
default:
|
|
981
981
|
const parsedBody = parsedOutput.body;
|
|
982
982
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -987,21 +987,21 @@ const deserializeAws_queryDescribeInstanceHealthCommandError = async (output, co
|
|
|
987
987
|
});
|
|
988
988
|
}
|
|
989
989
|
};
|
|
990
|
-
const
|
|
990
|
+
const de_DescribeLoadBalancerAttributesCommand = async (output, context) => {
|
|
991
991
|
if (output.statusCode >= 300) {
|
|
992
|
-
return
|
|
992
|
+
return de_DescribeLoadBalancerAttributesCommandError(output, context);
|
|
993
993
|
}
|
|
994
994
|
const data = await parseBody(output.body, context);
|
|
995
995
|
let contents = {};
|
|
996
|
-
contents =
|
|
996
|
+
contents = de_DescribeLoadBalancerAttributesOutput(data.DescribeLoadBalancerAttributesResult, context);
|
|
997
997
|
const response = {
|
|
998
998
|
$metadata: deserializeMetadata(output),
|
|
999
999
|
...contents,
|
|
1000
1000
|
};
|
|
1001
1001
|
return Promise.resolve(response);
|
|
1002
1002
|
};
|
|
1003
|
-
exports.
|
|
1004
|
-
const
|
|
1003
|
+
exports.de_DescribeLoadBalancerAttributesCommand = de_DescribeLoadBalancerAttributesCommand;
|
|
1004
|
+
const de_DescribeLoadBalancerAttributesCommandError = async (output, context) => {
|
|
1005
1005
|
const parsedOutput = {
|
|
1006
1006
|
...output,
|
|
1007
1007
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1010,10 +1010,10 @@ const deserializeAws_queryDescribeLoadBalancerAttributesCommandError = async (ou
|
|
|
1010
1010
|
switch (errorCode) {
|
|
1011
1011
|
case "LoadBalancerAttributeNotFound":
|
|
1012
1012
|
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
1013
|
-
throw await
|
|
1013
|
+
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
1014
1014
|
case "LoadBalancerNotFound":
|
|
1015
1015
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1016
|
-
throw await
|
|
1016
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1017
1017
|
default:
|
|
1018
1018
|
const parsedBody = parsedOutput.body;
|
|
1019
1019
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1024,21 +1024,21 @@ const deserializeAws_queryDescribeLoadBalancerAttributesCommandError = async (ou
|
|
|
1024
1024
|
});
|
|
1025
1025
|
}
|
|
1026
1026
|
};
|
|
1027
|
-
const
|
|
1027
|
+
const de_DescribeLoadBalancerPoliciesCommand = async (output, context) => {
|
|
1028
1028
|
if (output.statusCode >= 300) {
|
|
1029
|
-
return
|
|
1029
|
+
return de_DescribeLoadBalancerPoliciesCommandError(output, context);
|
|
1030
1030
|
}
|
|
1031
1031
|
const data = await parseBody(output.body, context);
|
|
1032
1032
|
let contents = {};
|
|
1033
|
-
contents =
|
|
1033
|
+
contents = de_DescribeLoadBalancerPoliciesOutput(data.DescribeLoadBalancerPoliciesResult, context);
|
|
1034
1034
|
const response = {
|
|
1035
1035
|
$metadata: deserializeMetadata(output),
|
|
1036
1036
|
...contents,
|
|
1037
1037
|
};
|
|
1038
1038
|
return Promise.resolve(response);
|
|
1039
1039
|
};
|
|
1040
|
-
exports.
|
|
1041
|
-
const
|
|
1040
|
+
exports.de_DescribeLoadBalancerPoliciesCommand = de_DescribeLoadBalancerPoliciesCommand;
|
|
1041
|
+
const de_DescribeLoadBalancerPoliciesCommandError = async (output, context) => {
|
|
1042
1042
|
const parsedOutput = {
|
|
1043
1043
|
...output,
|
|
1044
1044
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1047,10 +1047,10 @@ const deserializeAws_queryDescribeLoadBalancerPoliciesCommandError = async (outp
|
|
|
1047
1047
|
switch (errorCode) {
|
|
1048
1048
|
case "LoadBalancerNotFound":
|
|
1049
1049
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1051
1051
|
case "PolicyNotFound":
|
|
1052
1052
|
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1053
|
-
throw await
|
|
1053
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1054
1054
|
default:
|
|
1055
1055
|
const parsedBody = parsedOutput.body;
|
|
1056
1056
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1061,21 +1061,21 @@ const deserializeAws_queryDescribeLoadBalancerPoliciesCommandError = async (outp
|
|
|
1061
1061
|
});
|
|
1062
1062
|
}
|
|
1063
1063
|
};
|
|
1064
|
-
const
|
|
1064
|
+
const de_DescribeLoadBalancerPolicyTypesCommand = async (output, context) => {
|
|
1065
1065
|
if (output.statusCode >= 300) {
|
|
1066
|
-
return
|
|
1066
|
+
return de_DescribeLoadBalancerPolicyTypesCommandError(output, context);
|
|
1067
1067
|
}
|
|
1068
1068
|
const data = await parseBody(output.body, context);
|
|
1069
1069
|
let contents = {};
|
|
1070
|
-
contents =
|
|
1070
|
+
contents = de_DescribeLoadBalancerPolicyTypesOutput(data.DescribeLoadBalancerPolicyTypesResult, context);
|
|
1071
1071
|
const response = {
|
|
1072
1072
|
$metadata: deserializeMetadata(output),
|
|
1073
1073
|
...contents,
|
|
1074
1074
|
};
|
|
1075
1075
|
return Promise.resolve(response);
|
|
1076
1076
|
};
|
|
1077
|
-
exports.
|
|
1078
|
-
const
|
|
1077
|
+
exports.de_DescribeLoadBalancerPolicyTypesCommand = de_DescribeLoadBalancerPolicyTypesCommand;
|
|
1078
|
+
const de_DescribeLoadBalancerPolicyTypesCommandError = async (output, context) => {
|
|
1079
1079
|
const parsedOutput = {
|
|
1080
1080
|
...output,
|
|
1081
1081
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1084,7 +1084,7 @@ const deserializeAws_queryDescribeLoadBalancerPolicyTypesCommandError = async (o
|
|
|
1084
1084
|
switch (errorCode) {
|
|
1085
1085
|
case "PolicyTypeNotFound":
|
|
1086
1086
|
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
1087
|
-
throw await
|
|
1087
|
+
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1088
1088
|
default:
|
|
1089
1089
|
const parsedBody = parsedOutput.body;
|
|
1090
1090
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1095,21 +1095,21 @@ const deserializeAws_queryDescribeLoadBalancerPolicyTypesCommandError = async (o
|
|
|
1095
1095
|
});
|
|
1096
1096
|
}
|
|
1097
1097
|
};
|
|
1098
|
-
const
|
|
1098
|
+
const de_DescribeLoadBalancersCommand = async (output, context) => {
|
|
1099
1099
|
if (output.statusCode >= 300) {
|
|
1100
|
-
return
|
|
1100
|
+
return de_DescribeLoadBalancersCommandError(output, context);
|
|
1101
1101
|
}
|
|
1102
1102
|
const data = await parseBody(output.body, context);
|
|
1103
1103
|
let contents = {};
|
|
1104
|
-
contents =
|
|
1104
|
+
contents = de_DescribeAccessPointsOutput(data.DescribeLoadBalancersResult, context);
|
|
1105
1105
|
const response = {
|
|
1106
1106
|
$metadata: deserializeMetadata(output),
|
|
1107
1107
|
...contents,
|
|
1108
1108
|
};
|
|
1109
1109
|
return Promise.resolve(response);
|
|
1110
1110
|
};
|
|
1111
|
-
exports.
|
|
1112
|
-
const
|
|
1111
|
+
exports.de_DescribeLoadBalancersCommand = de_DescribeLoadBalancersCommand;
|
|
1112
|
+
const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
1113
1113
|
const parsedOutput = {
|
|
1114
1114
|
...output,
|
|
1115
1115
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1118,10 +1118,10 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async (output, con
|
|
|
1118
1118
|
switch (errorCode) {
|
|
1119
1119
|
case "DependencyThrottle":
|
|
1120
1120
|
case "com.amazonaws.elasticloadbalancing#DependencyThrottleException":
|
|
1121
|
-
throw await
|
|
1121
|
+
throw await de_DependencyThrottleExceptionRes(parsedOutput, context);
|
|
1122
1122
|
case "LoadBalancerNotFound":
|
|
1123
1123
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1124
|
-
throw await
|
|
1124
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1125
1125
|
default:
|
|
1126
1126
|
const parsedBody = parsedOutput.body;
|
|
1127
1127
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1132,21 +1132,21 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async (output, con
|
|
|
1132
1132
|
});
|
|
1133
1133
|
}
|
|
1134
1134
|
};
|
|
1135
|
-
const
|
|
1135
|
+
const de_DescribeTagsCommand = async (output, context) => {
|
|
1136
1136
|
if (output.statusCode >= 300) {
|
|
1137
|
-
return
|
|
1137
|
+
return de_DescribeTagsCommandError(output, context);
|
|
1138
1138
|
}
|
|
1139
1139
|
const data = await parseBody(output.body, context);
|
|
1140
1140
|
let contents = {};
|
|
1141
|
-
contents =
|
|
1141
|
+
contents = de_DescribeTagsOutput(data.DescribeTagsResult, context);
|
|
1142
1142
|
const response = {
|
|
1143
1143
|
$metadata: deserializeMetadata(output),
|
|
1144
1144
|
...contents,
|
|
1145
1145
|
};
|
|
1146
1146
|
return Promise.resolve(response);
|
|
1147
1147
|
};
|
|
1148
|
-
exports.
|
|
1149
|
-
const
|
|
1148
|
+
exports.de_DescribeTagsCommand = de_DescribeTagsCommand;
|
|
1149
|
+
const de_DescribeTagsCommandError = async (output, context) => {
|
|
1150
1150
|
const parsedOutput = {
|
|
1151
1151
|
...output,
|
|
1152
1152
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1155,7 +1155,7 @@ const deserializeAws_queryDescribeTagsCommandError = async (output, context) =>
|
|
|
1155
1155
|
switch (errorCode) {
|
|
1156
1156
|
case "LoadBalancerNotFound":
|
|
1157
1157
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1158
|
-
throw await
|
|
1158
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1159
1159
|
default:
|
|
1160
1160
|
const parsedBody = parsedOutput.body;
|
|
1161
1161
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1166,21 +1166,21 @@ const deserializeAws_queryDescribeTagsCommandError = async (output, context) =>
|
|
|
1166
1166
|
});
|
|
1167
1167
|
}
|
|
1168
1168
|
};
|
|
1169
|
-
const
|
|
1169
|
+
const de_DetachLoadBalancerFromSubnetsCommand = async (output, context) => {
|
|
1170
1170
|
if (output.statusCode >= 300) {
|
|
1171
|
-
return
|
|
1171
|
+
return de_DetachLoadBalancerFromSubnetsCommandError(output, context);
|
|
1172
1172
|
}
|
|
1173
1173
|
const data = await parseBody(output.body, context);
|
|
1174
1174
|
let contents = {};
|
|
1175
|
-
contents =
|
|
1175
|
+
contents = de_DetachLoadBalancerFromSubnetsOutput(data.DetachLoadBalancerFromSubnetsResult, context);
|
|
1176
1176
|
const response = {
|
|
1177
1177
|
$metadata: deserializeMetadata(output),
|
|
1178
1178
|
...contents,
|
|
1179
1179
|
};
|
|
1180
1180
|
return Promise.resolve(response);
|
|
1181
1181
|
};
|
|
1182
|
-
exports.
|
|
1183
|
-
const
|
|
1182
|
+
exports.de_DetachLoadBalancerFromSubnetsCommand = de_DetachLoadBalancerFromSubnetsCommand;
|
|
1183
|
+
const de_DetachLoadBalancerFromSubnetsCommandError = async (output, context) => {
|
|
1184
1184
|
const parsedOutput = {
|
|
1185
1185
|
...output,
|
|
1186
1186
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1189,10 +1189,10 @@ const deserializeAws_queryDetachLoadBalancerFromSubnetsCommandError = async (out
|
|
|
1189
1189
|
switch (errorCode) {
|
|
1190
1190
|
case "InvalidConfigurationRequest":
|
|
1191
1191
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1192
|
-
throw await
|
|
1192
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1193
1193
|
case "LoadBalancerNotFound":
|
|
1194
1194
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1195
|
-
throw await
|
|
1195
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1196
1196
|
default:
|
|
1197
1197
|
const parsedBody = parsedOutput.body;
|
|
1198
1198
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1203,21 +1203,21 @@ const deserializeAws_queryDetachLoadBalancerFromSubnetsCommandError = async (out
|
|
|
1203
1203
|
});
|
|
1204
1204
|
}
|
|
1205
1205
|
};
|
|
1206
|
-
const
|
|
1206
|
+
const de_DisableAvailabilityZonesForLoadBalancerCommand = async (output, context) => {
|
|
1207
1207
|
if (output.statusCode >= 300) {
|
|
1208
|
-
return
|
|
1208
|
+
return de_DisableAvailabilityZonesForLoadBalancerCommandError(output, context);
|
|
1209
1209
|
}
|
|
1210
1210
|
const data = await parseBody(output.body, context);
|
|
1211
1211
|
let contents = {};
|
|
1212
|
-
contents =
|
|
1212
|
+
contents = de_RemoveAvailabilityZonesOutput(data.DisableAvailabilityZonesForLoadBalancerResult, context);
|
|
1213
1213
|
const response = {
|
|
1214
1214
|
$metadata: deserializeMetadata(output),
|
|
1215
1215
|
...contents,
|
|
1216
1216
|
};
|
|
1217
1217
|
return Promise.resolve(response);
|
|
1218
1218
|
};
|
|
1219
|
-
exports.
|
|
1220
|
-
const
|
|
1219
|
+
exports.de_DisableAvailabilityZonesForLoadBalancerCommand = de_DisableAvailabilityZonesForLoadBalancerCommand;
|
|
1220
|
+
const de_DisableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
1221
1221
|
const parsedOutput = {
|
|
1222
1222
|
...output,
|
|
1223
1223
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1226,10 +1226,10 @@ const deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommandError =
|
|
|
1226
1226
|
switch (errorCode) {
|
|
1227
1227
|
case "InvalidConfigurationRequest":
|
|
1228
1228
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1229
|
-
throw await
|
|
1229
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1230
1230
|
case "LoadBalancerNotFound":
|
|
1231
1231
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1232
|
-
throw await
|
|
1232
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1233
1233
|
default:
|
|
1234
1234
|
const parsedBody = parsedOutput.body;
|
|
1235
1235
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1240,21 +1240,21 @@ const deserializeAws_queryDisableAvailabilityZonesForLoadBalancerCommandError =
|
|
|
1240
1240
|
});
|
|
1241
1241
|
}
|
|
1242
1242
|
};
|
|
1243
|
-
const
|
|
1243
|
+
const de_EnableAvailabilityZonesForLoadBalancerCommand = async (output, context) => {
|
|
1244
1244
|
if (output.statusCode >= 300) {
|
|
1245
|
-
return
|
|
1245
|
+
return de_EnableAvailabilityZonesForLoadBalancerCommandError(output, context);
|
|
1246
1246
|
}
|
|
1247
1247
|
const data = await parseBody(output.body, context);
|
|
1248
1248
|
let contents = {};
|
|
1249
|
-
contents =
|
|
1249
|
+
contents = de_AddAvailabilityZonesOutput(data.EnableAvailabilityZonesForLoadBalancerResult, context);
|
|
1250
1250
|
const response = {
|
|
1251
1251
|
$metadata: deserializeMetadata(output),
|
|
1252
1252
|
...contents,
|
|
1253
1253
|
};
|
|
1254
1254
|
return Promise.resolve(response);
|
|
1255
1255
|
};
|
|
1256
|
-
exports.
|
|
1257
|
-
const
|
|
1256
|
+
exports.de_EnableAvailabilityZonesForLoadBalancerCommand = de_EnableAvailabilityZonesForLoadBalancerCommand;
|
|
1257
|
+
const de_EnableAvailabilityZonesForLoadBalancerCommandError = async (output, context) => {
|
|
1258
1258
|
const parsedOutput = {
|
|
1259
1259
|
...output,
|
|
1260
1260
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1263,7 +1263,7 @@ const deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommandError = a
|
|
|
1263
1263
|
switch (errorCode) {
|
|
1264
1264
|
case "LoadBalancerNotFound":
|
|
1265
1265
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1266
|
-
throw await
|
|
1266
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1267
1267
|
default:
|
|
1268
1268
|
const parsedBody = parsedOutput.body;
|
|
1269
1269
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1274,21 +1274,21 @@ const deserializeAws_queryEnableAvailabilityZonesForLoadBalancerCommandError = a
|
|
|
1274
1274
|
});
|
|
1275
1275
|
}
|
|
1276
1276
|
};
|
|
1277
|
-
const
|
|
1277
|
+
const de_ModifyLoadBalancerAttributesCommand = async (output, context) => {
|
|
1278
1278
|
if (output.statusCode >= 300) {
|
|
1279
|
-
return
|
|
1279
|
+
return de_ModifyLoadBalancerAttributesCommandError(output, context);
|
|
1280
1280
|
}
|
|
1281
1281
|
const data = await parseBody(output.body, context);
|
|
1282
1282
|
let contents = {};
|
|
1283
|
-
contents =
|
|
1283
|
+
contents = de_ModifyLoadBalancerAttributesOutput(data.ModifyLoadBalancerAttributesResult, context);
|
|
1284
1284
|
const response = {
|
|
1285
1285
|
$metadata: deserializeMetadata(output),
|
|
1286
1286
|
...contents,
|
|
1287
1287
|
};
|
|
1288
1288
|
return Promise.resolve(response);
|
|
1289
1289
|
};
|
|
1290
|
-
exports.
|
|
1291
|
-
const
|
|
1290
|
+
exports.de_ModifyLoadBalancerAttributesCommand = de_ModifyLoadBalancerAttributesCommand;
|
|
1291
|
+
const de_ModifyLoadBalancerAttributesCommandError = async (output, context) => {
|
|
1292
1292
|
const parsedOutput = {
|
|
1293
1293
|
...output,
|
|
1294
1294
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1297,13 +1297,13 @@ const deserializeAws_queryModifyLoadBalancerAttributesCommandError = async (outp
|
|
|
1297
1297
|
switch (errorCode) {
|
|
1298
1298
|
case "InvalidConfigurationRequest":
|
|
1299
1299
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1300
|
-
throw await
|
|
1300
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1301
1301
|
case "LoadBalancerAttributeNotFound":
|
|
1302
1302
|
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
1303
|
-
throw await
|
|
1303
|
+
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
1304
1304
|
case "LoadBalancerNotFound":
|
|
1305
1305
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1306
|
-
throw await
|
|
1306
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1307
1307
|
default:
|
|
1308
1308
|
const parsedBody = parsedOutput.body;
|
|
1309
1309
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1314,21 +1314,21 @@ const deserializeAws_queryModifyLoadBalancerAttributesCommandError = async (outp
|
|
|
1314
1314
|
});
|
|
1315
1315
|
}
|
|
1316
1316
|
};
|
|
1317
|
-
const
|
|
1317
|
+
const de_RegisterInstancesWithLoadBalancerCommand = async (output, context) => {
|
|
1318
1318
|
if (output.statusCode >= 300) {
|
|
1319
|
-
return
|
|
1319
|
+
return de_RegisterInstancesWithLoadBalancerCommandError(output, context);
|
|
1320
1320
|
}
|
|
1321
1321
|
const data = await parseBody(output.body, context);
|
|
1322
1322
|
let contents = {};
|
|
1323
|
-
contents =
|
|
1323
|
+
contents = de_RegisterEndPointsOutput(data.RegisterInstancesWithLoadBalancerResult, context);
|
|
1324
1324
|
const response = {
|
|
1325
1325
|
$metadata: deserializeMetadata(output),
|
|
1326
1326
|
...contents,
|
|
1327
1327
|
};
|
|
1328
1328
|
return Promise.resolve(response);
|
|
1329
1329
|
};
|
|
1330
|
-
exports.
|
|
1331
|
-
const
|
|
1330
|
+
exports.de_RegisterInstancesWithLoadBalancerCommand = de_RegisterInstancesWithLoadBalancerCommand;
|
|
1331
|
+
const de_RegisterInstancesWithLoadBalancerCommandError = async (output, context) => {
|
|
1332
1332
|
const parsedOutput = {
|
|
1333
1333
|
...output,
|
|
1334
1334
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1337,10 +1337,10 @@ const deserializeAws_queryRegisterInstancesWithLoadBalancerCommandError = async
|
|
|
1337
1337
|
switch (errorCode) {
|
|
1338
1338
|
case "InvalidInstance":
|
|
1339
1339
|
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
1340
|
-
throw await
|
|
1340
|
+
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
1341
1341
|
case "LoadBalancerNotFound":
|
|
1342
1342
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1343
|
-
throw await
|
|
1343
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1344
1344
|
default:
|
|
1345
1345
|
const parsedBody = parsedOutput.body;
|
|
1346
1346
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1351,21 +1351,21 @@ const deserializeAws_queryRegisterInstancesWithLoadBalancerCommandError = async
|
|
|
1351
1351
|
});
|
|
1352
1352
|
}
|
|
1353
1353
|
};
|
|
1354
|
-
const
|
|
1354
|
+
const de_RemoveTagsCommand = async (output, context) => {
|
|
1355
1355
|
if (output.statusCode >= 300) {
|
|
1356
|
-
return
|
|
1356
|
+
return de_RemoveTagsCommandError(output, context);
|
|
1357
1357
|
}
|
|
1358
1358
|
const data = await parseBody(output.body, context);
|
|
1359
1359
|
let contents = {};
|
|
1360
|
-
contents =
|
|
1360
|
+
contents = de_RemoveTagsOutput(data.RemoveTagsResult, context);
|
|
1361
1361
|
const response = {
|
|
1362
1362
|
$metadata: deserializeMetadata(output),
|
|
1363
1363
|
...contents,
|
|
1364
1364
|
};
|
|
1365
1365
|
return Promise.resolve(response);
|
|
1366
1366
|
};
|
|
1367
|
-
exports.
|
|
1368
|
-
const
|
|
1367
|
+
exports.de_RemoveTagsCommand = de_RemoveTagsCommand;
|
|
1368
|
+
const de_RemoveTagsCommandError = async (output, context) => {
|
|
1369
1369
|
const parsedOutput = {
|
|
1370
1370
|
...output,
|
|
1371
1371
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1374,7 +1374,7 @@ const deserializeAws_queryRemoveTagsCommandError = async (output, context) => {
|
|
|
1374
1374
|
switch (errorCode) {
|
|
1375
1375
|
case "LoadBalancerNotFound":
|
|
1376
1376
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1377
|
-
throw await
|
|
1377
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1378
1378
|
default:
|
|
1379
1379
|
const parsedBody = parsedOutput.body;
|
|
1380
1380
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1385,21 +1385,21 @@ const deserializeAws_queryRemoveTagsCommandError = async (output, context) => {
|
|
|
1385
1385
|
});
|
|
1386
1386
|
}
|
|
1387
1387
|
};
|
|
1388
|
-
const
|
|
1388
|
+
const de_SetLoadBalancerListenerSSLCertificateCommand = async (output, context) => {
|
|
1389
1389
|
if (output.statusCode >= 300) {
|
|
1390
|
-
return
|
|
1390
|
+
return de_SetLoadBalancerListenerSSLCertificateCommandError(output, context);
|
|
1391
1391
|
}
|
|
1392
1392
|
const data = await parseBody(output.body, context);
|
|
1393
1393
|
let contents = {};
|
|
1394
|
-
contents =
|
|
1394
|
+
contents = de_SetLoadBalancerListenerSSLCertificateOutput(data.SetLoadBalancerListenerSSLCertificateResult, context);
|
|
1395
1395
|
const response = {
|
|
1396
1396
|
$metadata: deserializeMetadata(output),
|
|
1397
1397
|
...contents,
|
|
1398
1398
|
};
|
|
1399
1399
|
return Promise.resolve(response);
|
|
1400
1400
|
};
|
|
1401
|
-
exports.
|
|
1402
|
-
const
|
|
1401
|
+
exports.de_SetLoadBalancerListenerSSLCertificateCommand = de_SetLoadBalancerListenerSSLCertificateCommand;
|
|
1402
|
+
const de_SetLoadBalancerListenerSSLCertificateCommandError = async (output, context) => {
|
|
1403
1403
|
const parsedOutput = {
|
|
1404
1404
|
...output,
|
|
1405
1405
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1408,19 +1408,19 @@ const deserializeAws_querySetLoadBalancerListenerSSLCertificateCommandError = as
|
|
|
1408
1408
|
switch (errorCode) {
|
|
1409
1409
|
case "CertificateNotFound":
|
|
1410
1410
|
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
1411
|
-
throw await
|
|
1411
|
+
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1412
1412
|
case "InvalidConfigurationRequest":
|
|
1413
1413
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1414
|
-
throw await
|
|
1414
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1415
1415
|
case "ListenerNotFound":
|
|
1416
1416
|
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1417
|
-
throw await
|
|
1417
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1418
1418
|
case "LoadBalancerNotFound":
|
|
1419
1419
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1420
|
-
throw await
|
|
1420
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1421
1421
|
case "UnsupportedProtocol":
|
|
1422
1422
|
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
1423
|
-
throw await
|
|
1423
|
+
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1424
1424
|
default:
|
|
1425
1425
|
const parsedBody = parsedOutput.body;
|
|
1426
1426
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1431,21 +1431,21 @@ const deserializeAws_querySetLoadBalancerListenerSSLCertificateCommandError = as
|
|
|
1431
1431
|
});
|
|
1432
1432
|
}
|
|
1433
1433
|
};
|
|
1434
|
-
const
|
|
1434
|
+
const de_SetLoadBalancerPoliciesForBackendServerCommand = async (output, context) => {
|
|
1435
1435
|
if (output.statusCode >= 300) {
|
|
1436
|
-
return
|
|
1436
|
+
return de_SetLoadBalancerPoliciesForBackendServerCommandError(output, context);
|
|
1437
1437
|
}
|
|
1438
1438
|
const data = await parseBody(output.body, context);
|
|
1439
1439
|
let contents = {};
|
|
1440
|
-
contents =
|
|
1440
|
+
contents = de_SetLoadBalancerPoliciesForBackendServerOutput(data.SetLoadBalancerPoliciesForBackendServerResult, context);
|
|
1441
1441
|
const response = {
|
|
1442
1442
|
$metadata: deserializeMetadata(output),
|
|
1443
1443
|
...contents,
|
|
1444
1444
|
};
|
|
1445
1445
|
return Promise.resolve(response);
|
|
1446
1446
|
};
|
|
1447
|
-
exports.
|
|
1448
|
-
const
|
|
1447
|
+
exports.de_SetLoadBalancerPoliciesForBackendServerCommand = de_SetLoadBalancerPoliciesForBackendServerCommand;
|
|
1448
|
+
const de_SetLoadBalancerPoliciesForBackendServerCommandError = async (output, context) => {
|
|
1449
1449
|
const parsedOutput = {
|
|
1450
1450
|
...output,
|
|
1451
1451
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1454,13 +1454,13 @@ const deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommandError =
|
|
|
1454
1454
|
switch (errorCode) {
|
|
1455
1455
|
case "InvalidConfigurationRequest":
|
|
1456
1456
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1457
|
-
throw await
|
|
1457
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1458
1458
|
case "LoadBalancerNotFound":
|
|
1459
1459
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1460
|
-
throw await
|
|
1460
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1461
1461
|
case "PolicyNotFound":
|
|
1462
1462
|
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1463
|
-
throw await
|
|
1463
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1464
1464
|
default:
|
|
1465
1465
|
const parsedBody = parsedOutput.body;
|
|
1466
1466
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1471,21 +1471,21 @@ const deserializeAws_querySetLoadBalancerPoliciesForBackendServerCommandError =
|
|
|
1471
1471
|
});
|
|
1472
1472
|
}
|
|
1473
1473
|
};
|
|
1474
|
-
const
|
|
1474
|
+
const de_SetLoadBalancerPoliciesOfListenerCommand = async (output, context) => {
|
|
1475
1475
|
if (output.statusCode >= 300) {
|
|
1476
|
-
return
|
|
1476
|
+
return de_SetLoadBalancerPoliciesOfListenerCommandError(output, context);
|
|
1477
1477
|
}
|
|
1478
1478
|
const data = await parseBody(output.body, context);
|
|
1479
1479
|
let contents = {};
|
|
1480
|
-
contents =
|
|
1480
|
+
contents = de_SetLoadBalancerPoliciesOfListenerOutput(data.SetLoadBalancerPoliciesOfListenerResult, context);
|
|
1481
1481
|
const response = {
|
|
1482
1482
|
$metadata: deserializeMetadata(output),
|
|
1483
1483
|
...contents,
|
|
1484
1484
|
};
|
|
1485
1485
|
return Promise.resolve(response);
|
|
1486
1486
|
};
|
|
1487
|
-
exports.
|
|
1488
|
-
const
|
|
1487
|
+
exports.de_SetLoadBalancerPoliciesOfListenerCommand = de_SetLoadBalancerPoliciesOfListenerCommand;
|
|
1488
|
+
const de_SetLoadBalancerPoliciesOfListenerCommandError = async (output, context) => {
|
|
1489
1489
|
const parsedOutput = {
|
|
1490
1490
|
...output,
|
|
1491
1491
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1494,16 +1494,16 @@ const deserializeAws_querySetLoadBalancerPoliciesOfListenerCommandError = async
|
|
|
1494
1494
|
switch (errorCode) {
|
|
1495
1495
|
case "InvalidConfigurationRequest":
|
|
1496
1496
|
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1497
|
-
throw await
|
|
1497
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1498
1498
|
case "ListenerNotFound":
|
|
1499
1499
|
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1500
|
-
throw await
|
|
1500
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1501
1501
|
case "LoadBalancerNotFound":
|
|
1502
1502
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1503
|
-
throw await
|
|
1503
|
+
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1504
1504
|
case "PolicyNotFound":
|
|
1505
1505
|
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1506
|
-
throw await
|
|
1506
|
+
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1507
1507
|
default:
|
|
1508
1508
|
const parsedBody = parsedOutput.body;
|
|
1509
1509
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1514,205 +1514,205 @@ const deserializeAws_querySetLoadBalancerPoliciesOfListenerCommandError = async
|
|
|
1514
1514
|
});
|
|
1515
1515
|
}
|
|
1516
1516
|
};
|
|
1517
|
-
const
|
|
1517
|
+
const de_AccessPointNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1518
1518
|
const body = parsedOutput.body;
|
|
1519
|
-
const deserialized =
|
|
1519
|
+
const deserialized = de_AccessPointNotFoundException(body.Error, context);
|
|
1520
1520
|
const exception = new models_0_1.AccessPointNotFoundException({
|
|
1521
1521
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1522
1522
|
...deserialized,
|
|
1523
1523
|
});
|
|
1524
1524
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1525
1525
|
};
|
|
1526
|
-
const
|
|
1526
|
+
const de_CertificateNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1527
1527
|
const body = parsedOutput.body;
|
|
1528
|
-
const deserialized =
|
|
1528
|
+
const deserialized = de_CertificateNotFoundException(body.Error, context);
|
|
1529
1529
|
const exception = new models_0_1.CertificateNotFoundException({
|
|
1530
1530
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1531
1531
|
...deserialized,
|
|
1532
1532
|
});
|
|
1533
1533
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1534
1534
|
};
|
|
1535
|
-
const
|
|
1535
|
+
const de_DependencyThrottleExceptionRes = async (parsedOutput, context) => {
|
|
1536
1536
|
const body = parsedOutput.body;
|
|
1537
|
-
const deserialized =
|
|
1537
|
+
const deserialized = de_DependencyThrottleException(body.Error, context);
|
|
1538
1538
|
const exception = new models_0_1.DependencyThrottleException({
|
|
1539
1539
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1540
1540
|
...deserialized,
|
|
1541
1541
|
});
|
|
1542
1542
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1543
1543
|
};
|
|
1544
|
-
const
|
|
1544
|
+
const de_DuplicateAccessPointNameExceptionRes = async (parsedOutput, context) => {
|
|
1545
1545
|
const body = parsedOutput.body;
|
|
1546
|
-
const deserialized =
|
|
1546
|
+
const deserialized = de_DuplicateAccessPointNameException(body.Error, context);
|
|
1547
1547
|
const exception = new models_0_1.DuplicateAccessPointNameException({
|
|
1548
1548
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1549
1549
|
...deserialized,
|
|
1550
1550
|
});
|
|
1551
1551
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1552
1552
|
};
|
|
1553
|
-
const
|
|
1553
|
+
const de_DuplicateListenerExceptionRes = async (parsedOutput, context) => {
|
|
1554
1554
|
const body = parsedOutput.body;
|
|
1555
|
-
const deserialized =
|
|
1555
|
+
const deserialized = de_DuplicateListenerException(body.Error, context);
|
|
1556
1556
|
const exception = new models_0_1.DuplicateListenerException({
|
|
1557
1557
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1558
1558
|
...deserialized,
|
|
1559
1559
|
});
|
|
1560
1560
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1561
1561
|
};
|
|
1562
|
-
const
|
|
1562
|
+
const de_DuplicatePolicyNameExceptionRes = async (parsedOutput, context) => {
|
|
1563
1563
|
const body = parsedOutput.body;
|
|
1564
|
-
const deserialized =
|
|
1564
|
+
const deserialized = de_DuplicatePolicyNameException(body.Error, context);
|
|
1565
1565
|
const exception = new models_0_1.DuplicatePolicyNameException({
|
|
1566
1566
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1567
1567
|
...deserialized,
|
|
1568
1568
|
});
|
|
1569
1569
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1570
1570
|
};
|
|
1571
|
-
const
|
|
1571
|
+
const de_DuplicateTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
1572
1572
|
const body = parsedOutput.body;
|
|
1573
|
-
const deserialized =
|
|
1573
|
+
const deserialized = de_DuplicateTagKeysException(body.Error, context);
|
|
1574
1574
|
const exception = new models_0_1.DuplicateTagKeysException({
|
|
1575
1575
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1576
1576
|
...deserialized,
|
|
1577
1577
|
});
|
|
1578
1578
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1579
1579
|
};
|
|
1580
|
-
const
|
|
1580
|
+
const de_InvalidConfigurationRequestExceptionRes = async (parsedOutput, context) => {
|
|
1581
1581
|
const body = parsedOutput.body;
|
|
1582
|
-
const deserialized =
|
|
1582
|
+
const deserialized = de_InvalidConfigurationRequestException(body.Error, context);
|
|
1583
1583
|
const exception = new models_0_1.InvalidConfigurationRequestException({
|
|
1584
1584
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1585
1585
|
...deserialized,
|
|
1586
1586
|
});
|
|
1587
1587
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1588
1588
|
};
|
|
1589
|
-
const
|
|
1589
|
+
const de_InvalidEndPointExceptionRes = async (parsedOutput, context) => {
|
|
1590
1590
|
const body = parsedOutput.body;
|
|
1591
|
-
const deserialized =
|
|
1591
|
+
const deserialized = de_InvalidEndPointException(body.Error, context);
|
|
1592
1592
|
const exception = new models_0_1.InvalidEndPointException({
|
|
1593
1593
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1594
1594
|
...deserialized,
|
|
1595
1595
|
});
|
|
1596
1596
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1597
1597
|
};
|
|
1598
|
-
const
|
|
1598
|
+
const de_InvalidSchemeExceptionRes = async (parsedOutput, context) => {
|
|
1599
1599
|
const body = parsedOutput.body;
|
|
1600
|
-
const deserialized =
|
|
1600
|
+
const deserialized = de_InvalidSchemeException(body.Error, context);
|
|
1601
1601
|
const exception = new models_0_1.InvalidSchemeException({
|
|
1602
1602
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1603
1603
|
...deserialized,
|
|
1604
1604
|
});
|
|
1605
1605
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1606
1606
|
};
|
|
1607
|
-
const
|
|
1607
|
+
const de_InvalidSecurityGroupExceptionRes = async (parsedOutput, context) => {
|
|
1608
1608
|
const body = parsedOutput.body;
|
|
1609
|
-
const deserialized =
|
|
1609
|
+
const deserialized = de_InvalidSecurityGroupException(body.Error, context);
|
|
1610
1610
|
const exception = new models_0_1.InvalidSecurityGroupException({
|
|
1611
1611
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1612
1612
|
...deserialized,
|
|
1613
1613
|
});
|
|
1614
1614
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1615
1615
|
};
|
|
1616
|
-
const
|
|
1616
|
+
const de_InvalidSubnetExceptionRes = async (parsedOutput, context) => {
|
|
1617
1617
|
const body = parsedOutput.body;
|
|
1618
|
-
const deserialized =
|
|
1618
|
+
const deserialized = de_InvalidSubnetException(body.Error, context);
|
|
1619
1619
|
const exception = new models_0_1.InvalidSubnetException({
|
|
1620
1620
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1621
1621
|
...deserialized,
|
|
1622
1622
|
});
|
|
1623
1623
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1624
1624
|
};
|
|
1625
|
-
const
|
|
1625
|
+
const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1626
1626
|
const body = parsedOutput.body;
|
|
1627
|
-
const deserialized =
|
|
1627
|
+
const deserialized = de_ListenerNotFoundException(body.Error, context);
|
|
1628
1628
|
const exception = new models_0_1.ListenerNotFoundException({
|
|
1629
1629
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1630
1630
|
...deserialized,
|
|
1631
1631
|
});
|
|
1632
1632
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1633
1633
|
};
|
|
1634
|
-
const
|
|
1634
|
+
const de_LoadBalancerAttributeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1635
1635
|
const body = parsedOutput.body;
|
|
1636
|
-
const deserialized =
|
|
1636
|
+
const deserialized = de_LoadBalancerAttributeNotFoundException(body.Error, context);
|
|
1637
1637
|
const exception = new models_0_1.LoadBalancerAttributeNotFoundException({
|
|
1638
1638
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1639
1639
|
...deserialized,
|
|
1640
1640
|
});
|
|
1641
1641
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1642
1642
|
};
|
|
1643
|
-
const
|
|
1643
|
+
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
1644
1644
|
const body = parsedOutput.body;
|
|
1645
|
-
const deserialized =
|
|
1645
|
+
const deserialized = de_OperationNotPermittedException(body.Error, context);
|
|
1646
1646
|
const exception = new models_0_1.OperationNotPermittedException({
|
|
1647
1647
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1648
1648
|
...deserialized,
|
|
1649
1649
|
});
|
|
1650
1650
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1651
1651
|
};
|
|
1652
|
-
const
|
|
1652
|
+
const de_PolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1653
1653
|
const body = parsedOutput.body;
|
|
1654
|
-
const deserialized =
|
|
1654
|
+
const deserialized = de_PolicyNotFoundException(body.Error, context);
|
|
1655
1655
|
const exception = new models_0_1.PolicyNotFoundException({
|
|
1656
1656
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1657
1657
|
...deserialized,
|
|
1658
1658
|
});
|
|
1659
1659
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1660
1660
|
};
|
|
1661
|
-
const
|
|
1661
|
+
const de_PolicyTypeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1662
1662
|
const body = parsedOutput.body;
|
|
1663
|
-
const deserialized =
|
|
1663
|
+
const deserialized = de_PolicyTypeNotFoundException(body.Error, context);
|
|
1664
1664
|
const exception = new models_0_1.PolicyTypeNotFoundException({
|
|
1665
1665
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1666
1666
|
...deserialized,
|
|
1667
1667
|
});
|
|
1668
1668
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1669
1669
|
};
|
|
1670
|
-
const
|
|
1670
|
+
const de_SubnetNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1671
1671
|
const body = parsedOutput.body;
|
|
1672
|
-
const deserialized =
|
|
1672
|
+
const deserialized = de_SubnetNotFoundException(body.Error, context);
|
|
1673
1673
|
const exception = new models_0_1.SubnetNotFoundException({
|
|
1674
1674
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1675
1675
|
...deserialized,
|
|
1676
1676
|
});
|
|
1677
1677
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1678
1678
|
};
|
|
1679
|
-
const
|
|
1679
|
+
const de_TooManyAccessPointsExceptionRes = async (parsedOutput, context) => {
|
|
1680
1680
|
const body = parsedOutput.body;
|
|
1681
|
-
const deserialized =
|
|
1681
|
+
const deserialized = de_TooManyAccessPointsException(body.Error, context);
|
|
1682
1682
|
const exception = new models_0_1.TooManyAccessPointsException({
|
|
1683
1683
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1684
1684
|
...deserialized,
|
|
1685
1685
|
});
|
|
1686
1686
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1687
1687
|
};
|
|
1688
|
-
const
|
|
1688
|
+
const de_TooManyPoliciesExceptionRes = async (parsedOutput, context) => {
|
|
1689
1689
|
const body = parsedOutput.body;
|
|
1690
|
-
const deserialized =
|
|
1690
|
+
const deserialized = de_TooManyPoliciesException(body.Error, context);
|
|
1691
1691
|
const exception = new models_0_1.TooManyPoliciesException({
|
|
1692
1692
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1693
1693
|
...deserialized,
|
|
1694
1694
|
});
|
|
1695
1695
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1696
1696
|
};
|
|
1697
|
-
const
|
|
1697
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1698
1698
|
const body = parsedOutput.body;
|
|
1699
|
-
const deserialized =
|
|
1699
|
+
const deserialized = de_TooManyTagsException(body.Error, context);
|
|
1700
1700
|
const exception = new models_0_1.TooManyTagsException({
|
|
1701
1701
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1702
1702
|
...deserialized,
|
|
1703
1703
|
});
|
|
1704
1704
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1705
1705
|
};
|
|
1706
|
-
const
|
|
1706
|
+
const de_UnsupportedProtocolExceptionRes = async (parsedOutput, context) => {
|
|
1707
1707
|
const body = parsedOutput.body;
|
|
1708
|
-
const deserialized =
|
|
1708
|
+
const deserialized = de_UnsupportedProtocolException(body.Error, context);
|
|
1709
1709
|
const exception = new models_0_1.UnsupportedProtocolException({
|
|
1710
1710
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1711
1711
|
...deserialized,
|
|
1712
1712
|
});
|
|
1713
1713
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1714
1714
|
};
|
|
1715
|
-
const
|
|
1715
|
+
const se_AccessLog = (input, context) => {
|
|
1716
1716
|
const entries = {};
|
|
1717
1717
|
if (input.Enabled != null) {
|
|
1718
1718
|
entries["Enabled"] = input.Enabled;
|
|
@@ -1728,13 +1728,13 @@ const serializeAws_queryAccessLog = (input, context) => {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
return entries;
|
|
1730
1730
|
};
|
|
1731
|
-
const
|
|
1731
|
+
const se_AddAvailabilityZonesInput = (input, context) => {
|
|
1732
1732
|
const entries = {};
|
|
1733
1733
|
if (input.LoadBalancerName != null) {
|
|
1734
1734
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1735
1735
|
}
|
|
1736
1736
|
if (input.AvailabilityZones != null) {
|
|
1737
|
-
const memberEntries =
|
|
1737
|
+
const memberEntries = se_AvailabilityZones(input.AvailabilityZones, context);
|
|
1738
1738
|
if (input.AvailabilityZones?.length === 0) {
|
|
1739
1739
|
entries.AvailabilityZones = [];
|
|
1740
1740
|
}
|
|
@@ -1745,7 +1745,7 @@ const serializeAws_queryAddAvailabilityZonesInput = (input, context) => {
|
|
|
1745
1745
|
}
|
|
1746
1746
|
return entries;
|
|
1747
1747
|
};
|
|
1748
|
-
const
|
|
1748
|
+
const se_AdditionalAttribute = (input, context) => {
|
|
1749
1749
|
const entries = {};
|
|
1750
1750
|
if (input.Key != null) {
|
|
1751
1751
|
entries["Key"] = input.Key;
|
|
@@ -1755,14 +1755,14 @@ const serializeAws_queryAdditionalAttribute = (input, context) => {
|
|
|
1755
1755
|
}
|
|
1756
1756
|
return entries;
|
|
1757
1757
|
};
|
|
1758
|
-
const
|
|
1758
|
+
const se_AdditionalAttributes = (input, context) => {
|
|
1759
1759
|
const entries = {};
|
|
1760
1760
|
let counter = 1;
|
|
1761
1761
|
for (const entry of input) {
|
|
1762
1762
|
if (entry === null) {
|
|
1763
1763
|
continue;
|
|
1764
1764
|
}
|
|
1765
|
-
const memberEntries =
|
|
1765
|
+
const memberEntries = se_AdditionalAttribute(entry, context);
|
|
1766
1766
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1767
1767
|
entries[`member.${counter}.${key}`] = value;
|
|
1768
1768
|
});
|
|
@@ -1770,10 +1770,10 @@ const serializeAws_queryAdditionalAttributes = (input, context) => {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
return entries;
|
|
1772
1772
|
};
|
|
1773
|
-
const
|
|
1773
|
+
const se_AddTagsInput = (input, context) => {
|
|
1774
1774
|
const entries = {};
|
|
1775
1775
|
if (input.LoadBalancerNames != null) {
|
|
1776
|
-
const memberEntries =
|
|
1776
|
+
const memberEntries = se_LoadBalancerNames(input.LoadBalancerNames, context);
|
|
1777
1777
|
if (input.LoadBalancerNames?.length === 0) {
|
|
1778
1778
|
entries.LoadBalancerNames = [];
|
|
1779
1779
|
}
|
|
@@ -1783,7 +1783,7 @@ const serializeAws_queryAddTagsInput = (input, context) => {
|
|
|
1783
1783
|
});
|
|
1784
1784
|
}
|
|
1785
1785
|
if (input.Tags != null) {
|
|
1786
|
-
const memberEntries =
|
|
1786
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
1787
1787
|
if (input.Tags?.length === 0) {
|
|
1788
1788
|
entries.Tags = [];
|
|
1789
1789
|
}
|
|
@@ -1794,13 +1794,13 @@ const serializeAws_queryAddTagsInput = (input, context) => {
|
|
|
1794
1794
|
}
|
|
1795
1795
|
return entries;
|
|
1796
1796
|
};
|
|
1797
|
-
const
|
|
1797
|
+
const se_ApplySecurityGroupsToLoadBalancerInput = (input, context) => {
|
|
1798
1798
|
const entries = {};
|
|
1799
1799
|
if (input.LoadBalancerName != null) {
|
|
1800
1800
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1801
1801
|
}
|
|
1802
1802
|
if (input.SecurityGroups != null) {
|
|
1803
|
-
const memberEntries =
|
|
1803
|
+
const memberEntries = se_SecurityGroups(input.SecurityGroups, context);
|
|
1804
1804
|
if (input.SecurityGroups?.length === 0) {
|
|
1805
1805
|
entries.SecurityGroups = [];
|
|
1806
1806
|
}
|
|
@@ -1811,13 +1811,13 @@ const serializeAws_queryApplySecurityGroupsToLoadBalancerInput = (input, context
|
|
|
1811
1811
|
}
|
|
1812
1812
|
return entries;
|
|
1813
1813
|
};
|
|
1814
|
-
const
|
|
1814
|
+
const se_AttachLoadBalancerToSubnetsInput = (input, context) => {
|
|
1815
1815
|
const entries = {};
|
|
1816
1816
|
if (input.LoadBalancerName != null) {
|
|
1817
1817
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1818
1818
|
}
|
|
1819
1819
|
if (input.Subnets != null) {
|
|
1820
|
-
const memberEntries =
|
|
1820
|
+
const memberEntries = se_Subnets(input.Subnets, context);
|
|
1821
1821
|
if (input.Subnets?.length === 0) {
|
|
1822
1822
|
entries.Subnets = [];
|
|
1823
1823
|
}
|
|
@@ -1828,7 +1828,7 @@ const serializeAws_queryAttachLoadBalancerToSubnetsInput = (input, context) => {
|
|
|
1828
1828
|
}
|
|
1829
1829
|
return entries;
|
|
1830
1830
|
};
|
|
1831
|
-
const
|
|
1831
|
+
const se_AvailabilityZones = (input, context) => {
|
|
1832
1832
|
const entries = {};
|
|
1833
1833
|
let counter = 1;
|
|
1834
1834
|
for (const entry of input) {
|
|
@@ -1840,13 +1840,13 @@ const serializeAws_queryAvailabilityZones = (input, context) => {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
return entries;
|
|
1842
1842
|
};
|
|
1843
|
-
const
|
|
1843
|
+
const se_ConfigureHealthCheckInput = (input, context) => {
|
|
1844
1844
|
const entries = {};
|
|
1845
1845
|
if (input.LoadBalancerName != null) {
|
|
1846
1846
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1847
1847
|
}
|
|
1848
1848
|
if (input.HealthCheck != null) {
|
|
1849
|
-
const memberEntries =
|
|
1849
|
+
const memberEntries = se_HealthCheck(input.HealthCheck, context);
|
|
1850
1850
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
1851
1851
|
const loc = `HealthCheck.${key}`;
|
|
1852
1852
|
entries[loc] = value;
|
|
@@ -1854,7 +1854,7 @@ const serializeAws_queryConfigureHealthCheckInput = (input, context) => {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
return entries;
|
|
1856
1856
|
};
|
|
1857
|
-
const
|
|
1857
|
+
const se_ConnectionDraining = (input, context) => {
|
|
1858
1858
|
const entries = {};
|
|
1859
1859
|
if (input.Enabled != null) {
|
|
1860
1860
|
entries["Enabled"] = input.Enabled;
|
|
@@ -1864,20 +1864,20 @@ const serializeAws_queryConnectionDraining = (input, context) => {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
return entries;
|
|
1866
1866
|
};
|
|
1867
|
-
const
|
|
1867
|
+
const se_ConnectionSettings = (input, context) => {
|
|
1868
1868
|
const entries = {};
|
|
1869
1869
|
if (input.IdleTimeout != null) {
|
|
1870
1870
|
entries["IdleTimeout"] = input.IdleTimeout;
|
|
1871
1871
|
}
|
|
1872
1872
|
return entries;
|
|
1873
1873
|
};
|
|
1874
|
-
const
|
|
1874
|
+
const se_CreateAccessPointInput = (input, context) => {
|
|
1875
1875
|
const entries = {};
|
|
1876
1876
|
if (input.LoadBalancerName != null) {
|
|
1877
1877
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1878
1878
|
}
|
|
1879
1879
|
if (input.Listeners != null) {
|
|
1880
|
-
const memberEntries =
|
|
1880
|
+
const memberEntries = se_Listeners(input.Listeners, context);
|
|
1881
1881
|
if (input.Listeners?.length === 0) {
|
|
1882
1882
|
entries.Listeners = [];
|
|
1883
1883
|
}
|
|
@@ -1887,7 +1887,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1887
1887
|
});
|
|
1888
1888
|
}
|
|
1889
1889
|
if (input.AvailabilityZones != null) {
|
|
1890
|
-
const memberEntries =
|
|
1890
|
+
const memberEntries = se_AvailabilityZones(input.AvailabilityZones, context);
|
|
1891
1891
|
if (input.AvailabilityZones?.length === 0) {
|
|
1892
1892
|
entries.AvailabilityZones = [];
|
|
1893
1893
|
}
|
|
@@ -1897,7 +1897,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1897
1897
|
});
|
|
1898
1898
|
}
|
|
1899
1899
|
if (input.Subnets != null) {
|
|
1900
|
-
const memberEntries =
|
|
1900
|
+
const memberEntries = se_Subnets(input.Subnets, context);
|
|
1901
1901
|
if (input.Subnets?.length === 0) {
|
|
1902
1902
|
entries.Subnets = [];
|
|
1903
1903
|
}
|
|
@@ -1907,7 +1907,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1907
1907
|
});
|
|
1908
1908
|
}
|
|
1909
1909
|
if (input.SecurityGroups != null) {
|
|
1910
|
-
const memberEntries =
|
|
1910
|
+
const memberEntries = se_SecurityGroups(input.SecurityGroups, context);
|
|
1911
1911
|
if (input.SecurityGroups?.length === 0) {
|
|
1912
1912
|
entries.SecurityGroups = [];
|
|
1913
1913
|
}
|
|
@@ -1920,7 +1920,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1920
1920
|
entries["Scheme"] = input.Scheme;
|
|
1921
1921
|
}
|
|
1922
1922
|
if (input.Tags != null) {
|
|
1923
|
-
const memberEntries =
|
|
1923
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
1924
1924
|
if (input.Tags?.length === 0) {
|
|
1925
1925
|
entries.Tags = [];
|
|
1926
1926
|
}
|
|
@@ -1931,7 +1931,7 @@ const serializeAws_queryCreateAccessPointInput = (input, context) => {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
return entries;
|
|
1933
1933
|
};
|
|
1934
|
-
const
|
|
1934
|
+
const se_CreateAppCookieStickinessPolicyInput = (input, context) => {
|
|
1935
1935
|
const entries = {};
|
|
1936
1936
|
if (input.LoadBalancerName != null) {
|
|
1937
1937
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -1944,7 +1944,7 @@ const serializeAws_queryCreateAppCookieStickinessPolicyInput = (input, context)
|
|
|
1944
1944
|
}
|
|
1945
1945
|
return entries;
|
|
1946
1946
|
};
|
|
1947
|
-
const
|
|
1947
|
+
const se_CreateLBCookieStickinessPolicyInput = (input, context) => {
|
|
1948
1948
|
const entries = {};
|
|
1949
1949
|
if (input.LoadBalancerName != null) {
|
|
1950
1950
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -1957,13 +1957,13 @@ const serializeAws_queryCreateLBCookieStickinessPolicyInput = (input, context) =
|
|
|
1957
1957
|
}
|
|
1958
1958
|
return entries;
|
|
1959
1959
|
};
|
|
1960
|
-
const
|
|
1960
|
+
const se_CreateLoadBalancerListenerInput = (input, context) => {
|
|
1961
1961
|
const entries = {};
|
|
1962
1962
|
if (input.LoadBalancerName != null) {
|
|
1963
1963
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
1964
1964
|
}
|
|
1965
1965
|
if (input.Listeners != null) {
|
|
1966
|
-
const memberEntries =
|
|
1966
|
+
const memberEntries = se_Listeners(input.Listeners, context);
|
|
1967
1967
|
if (input.Listeners?.length === 0) {
|
|
1968
1968
|
entries.Listeners = [];
|
|
1969
1969
|
}
|
|
@@ -1974,7 +1974,7 @@ const serializeAws_queryCreateLoadBalancerListenerInput = (input, context) => {
|
|
|
1974
1974
|
}
|
|
1975
1975
|
return entries;
|
|
1976
1976
|
};
|
|
1977
|
-
const
|
|
1977
|
+
const se_CreateLoadBalancerPolicyInput = (input, context) => {
|
|
1978
1978
|
const entries = {};
|
|
1979
1979
|
if (input.LoadBalancerName != null) {
|
|
1980
1980
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -1986,7 +1986,7 @@ const serializeAws_queryCreateLoadBalancerPolicyInput = (input, context) => {
|
|
|
1986
1986
|
entries["PolicyTypeName"] = input.PolicyTypeName;
|
|
1987
1987
|
}
|
|
1988
1988
|
if (input.PolicyAttributes != null) {
|
|
1989
|
-
const memberEntries =
|
|
1989
|
+
const memberEntries = se_PolicyAttributes(input.PolicyAttributes, context);
|
|
1990
1990
|
if (input.PolicyAttributes?.length === 0) {
|
|
1991
1991
|
entries.PolicyAttributes = [];
|
|
1992
1992
|
}
|
|
@@ -1997,27 +1997,27 @@ const serializeAws_queryCreateLoadBalancerPolicyInput = (input, context) => {
|
|
|
1997
1997
|
}
|
|
1998
1998
|
return entries;
|
|
1999
1999
|
};
|
|
2000
|
-
const
|
|
2000
|
+
const se_CrossZoneLoadBalancing = (input, context) => {
|
|
2001
2001
|
const entries = {};
|
|
2002
2002
|
if (input.Enabled != null) {
|
|
2003
2003
|
entries["Enabled"] = input.Enabled;
|
|
2004
2004
|
}
|
|
2005
2005
|
return entries;
|
|
2006
2006
|
};
|
|
2007
|
-
const
|
|
2007
|
+
const se_DeleteAccessPointInput = (input, context) => {
|
|
2008
2008
|
const entries = {};
|
|
2009
2009
|
if (input.LoadBalancerName != null) {
|
|
2010
2010
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2011
2011
|
}
|
|
2012
2012
|
return entries;
|
|
2013
2013
|
};
|
|
2014
|
-
const
|
|
2014
|
+
const se_DeleteLoadBalancerListenerInput = (input, context) => {
|
|
2015
2015
|
const entries = {};
|
|
2016
2016
|
if (input.LoadBalancerName != null) {
|
|
2017
2017
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2018
2018
|
}
|
|
2019
2019
|
if (input.LoadBalancerPorts != null) {
|
|
2020
|
-
const memberEntries =
|
|
2020
|
+
const memberEntries = se_Ports(input.LoadBalancerPorts, context);
|
|
2021
2021
|
if (input.LoadBalancerPorts?.length === 0) {
|
|
2022
2022
|
entries.LoadBalancerPorts = [];
|
|
2023
2023
|
}
|
|
@@ -2028,7 +2028,7 @@ const serializeAws_queryDeleteLoadBalancerListenerInput = (input, context) => {
|
|
|
2028
2028
|
}
|
|
2029
2029
|
return entries;
|
|
2030
2030
|
};
|
|
2031
|
-
const
|
|
2031
|
+
const se_DeleteLoadBalancerPolicyInput = (input, context) => {
|
|
2032
2032
|
const entries = {};
|
|
2033
2033
|
if (input.LoadBalancerName != null) {
|
|
2034
2034
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -2038,13 +2038,13 @@ const serializeAws_queryDeleteLoadBalancerPolicyInput = (input, context) => {
|
|
|
2038
2038
|
}
|
|
2039
2039
|
return entries;
|
|
2040
2040
|
};
|
|
2041
|
-
const
|
|
2041
|
+
const se_DeregisterEndPointsInput = (input, context) => {
|
|
2042
2042
|
const entries = {};
|
|
2043
2043
|
if (input.LoadBalancerName != null) {
|
|
2044
2044
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2045
2045
|
}
|
|
2046
2046
|
if (input.Instances != null) {
|
|
2047
|
-
const memberEntries =
|
|
2047
|
+
const memberEntries = se_Instances(input.Instances, context);
|
|
2048
2048
|
if (input.Instances?.length === 0) {
|
|
2049
2049
|
entries.Instances = [];
|
|
2050
2050
|
}
|
|
@@ -2055,10 +2055,10 @@ const serializeAws_queryDeregisterEndPointsInput = (input, context) => {
|
|
|
2055
2055
|
}
|
|
2056
2056
|
return entries;
|
|
2057
2057
|
};
|
|
2058
|
-
const
|
|
2058
|
+
const se_DescribeAccessPointsInput = (input, context) => {
|
|
2059
2059
|
const entries = {};
|
|
2060
2060
|
if (input.LoadBalancerNames != null) {
|
|
2061
|
-
const memberEntries =
|
|
2061
|
+
const memberEntries = se_LoadBalancerNames(input.LoadBalancerNames, context);
|
|
2062
2062
|
if (input.LoadBalancerNames?.length === 0) {
|
|
2063
2063
|
entries.LoadBalancerNames = [];
|
|
2064
2064
|
}
|
|
@@ -2075,7 +2075,7 @@ const serializeAws_queryDescribeAccessPointsInput = (input, context) => {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
return entries;
|
|
2077
2077
|
};
|
|
2078
|
-
const
|
|
2078
|
+
const se_DescribeAccountLimitsInput = (input, context) => {
|
|
2079
2079
|
const entries = {};
|
|
2080
2080
|
if (input.Marker != null) {
|
|
2081
2081
|
entries["Marker"] = input.Marker;
|
|
@@ -2085,13 +2085,13 @@ const serializeAws_queryDescribeAccountLimitsInput = (input, context) => {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
return entries;
|
|
2087
2087
|
};
|
|
2088
|
-
const
|
|
2088
|
+
const se_DescribeEndPointStateInput = (input, context) => {
|
|
2089
2089
|
const entries = {};
|
|
2090
2090
|
if (input.LoadBalancerName != null) {
|
|
2091
2091
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2092
2092
|
}
|
|
2093
2093
|
if (input.Instances != null) {
|
|
2094
|
-
const memberEntries =
|
|
2094
|
+
const memberEntries = se_Instances(input.Instances, context);
|
|
2095
2095
|
if (input.Instances?.length === 0) {
|
|
2096
2096
|
entries.Instances = [];
|
|
2097
2097
|
}
|
|
@@ -2102,20 +2102,20 @@ const serializeAws_queryDescribeEndPointStateInput = (input, context) => {
|
|
|
2102
2102
|
}
|
|
2103
2103
|
return entries;
|
|
2104
2104
|
};
|
|
2105
|
-
const
|
|
2105
|
+
const se_DescribeLoadBalancerAttributesInput = (input, context) => {
|
|
2106
2106
|
const entries = {};
|
|
2107
2107
|
if (input.LoadBalancerName != null) {
|
|
2108
2108
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2109
2109
|
}
|
|
2110
2110
|
return entries;
|
|
2111
2111
|
};
|
|
2112
|
-
const
|
|
2112
|
+
const se_DescribeLoadBalancerPoliciesInput = (input, context) => {
|
|
2113
2113
|
const entries = {};
|
|
2114
2114
|
if (input.LoadBalancerName != null) {
|
|
2115
2115
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2116
2116
|
}
|
|
2117
2117
|
if (input.PolicyNames != null) {
|
|
2118
|
-
const memberEntries =
|
|
2118
|
+
const memberEntries = se_PolicyNames(input.PolicyNames, context);
|
|
2119
2119
|
if (input.PolicyNames?.length === 0) {
|
|
2120
2120
|
entries.PolicyNames = [];
|
|
2121
2121
|
}
|
|
@@ -2126,10 +2126,10 @@ const serializeAws_queryDescribeLoadBalancerPoliciesInput = (input, context) =>
|
|
|
2126
2126
|
}
|
|
2127
2127
|
return entries;
|
|
2128
2128
|
};
|
|
2129
|
-
const
|
|
2129
|
+
const se_DescribeLoadBalancerPolicyTypesInput = (input, context) => {
|
|
2130
2130
|
const entries = {};
|
|
2131
2131
|
if (input.PolicyTypeNames != null) {
|
|
2132
|
-
const memberEntries =
|
|
2132
|
+
const memberEntries = se_PolicyTypeNames(input.PolicyTypeNames, context);
|
|
2133
2133
|
if (input.PolicyTypeNames?.length === 0) {
|
|
2134
2134
|
entries.PolicyTypeNames = [];
|
|
2135
2135
|
}
|
|
@@ -2140,10 +2140,10 @@ const serializeAws_queryDescribeLoadBalancerPolicyTypesInput = (input, context)
|
|
|
2140
2140
|
}
|
|
2141
2141
|
return entries;
|
|
2142
2142
|
};
|
|
2143
|
-
const
|
|
2143
|
+
const se_DescribeTagsInput = (input, context) => {
|
|
2144
2144
|
const entries = {};
|
|
2145
2145
|
if (input.LoadBalancerNames != null) {
|
|
2146
|
-
const memberEntries =
|
|
2146
|
+
const memberEntries = se_LoadBalancerNamesMax20(input.LoadBalancerNames, context);
|
|
2147
2147
|
if (input.LoadBalancerNames?.length === 0) {
|
|
2148
2148
|
entries.LoadBalancerNames = [];
|
|
2149
2149
|
}
|
|
@@ -2154,13 +2154,13 @@ const serializeAws_queryDescribeTagsInput = (input, context) => {
|
|
|
2154
2154
|
}
|
|
2155
2155
|
return entries;
|
|
2156
2156
|
};
|
|
2157
|
-
const
|
|
2157
|
+
const se_DetachLoadBalancerFromSubnetsInput = (input, context) => {
|
|
2158
2158
|
const entries = {};
|
|
2159
2159
|
if (input.LoadBalancerName != null) {
|
|
2160
2160
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2161
2161
|
}
|
|
2162
2162
|
if (input.Subnets != null) {
|
|
2163
|
-
const memberEntries =
|
|
2163
|
+
const memberEntries = se_Subnets(input.Subnets, context);
|
|
2164
2164
|
if (input.Subnets?.length === 0) {
|
|
2165
2165
|
entries.Subnets = [];
|
|
2166
2166
|
}
|
|
@@ -2171,7 +2171,7 @@ const serializeAws_queryDetachLoadBalancerFromSubnetsInput = (input, context) =>
|
|
|
2171
2171
|
}
|
|
2172
2172
|
return entries;
|
|
2173
2173
|
};
|
|
2174
|
-
const
|
|
2174
|
+
const se_HealthCheck = (input, context) => {
|
|
2175
2175
|
const entries = {};
|
|
2176
2176
|
if (input.Target != null) {
|
|
2177
2177
|
entries["Target"] = input.Target;
|
|
@@ -2190,21 +2190,21 @@ const serializeAws_queryHealthCheck = (input, context) => {
|
|
|
2190
2190
|
}
|
|
2191
2191
|
return entries;
|
|
2192
2192
|
};
|
|
2193
|
-
const
|
|
2193
|
+
const se_Instance = (input, context) => {
|
|
2194
2194
|
const entries = {};
|
|
2195
2195
|
if (input.InstanceId != null) {
|
|
2196
2196
|
entries["InstanceId"] = input.InstanceId;
|
|
2197
2197
|
}
|
|
2198
2198
|
return entries;
|
|
2199
2199
|
};
|
|
2200
|
-
const
|
|
2200
|
+
const se_Instances = (input, context) => {
|
|
2201
2201
|
const entries = {};
|
|
2202
2202
|
let counter = 1;
|
|
2203
2203
|
for (const entry of input) {
|
|
2204
2204
|
if (entry === null) {
|
|
2205
2205
|
continue;
|
|
2206
2206
|
}
|
|
2207
|
-
const memberEntries =
|
|
2207
|
+
const memberEntries = se_Instance(entry, context);
|
|
2208
2208
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2209
2209
|
entries[`member.${counter}.${key}`] = value;
|
|
2210
2210
|
});
|
|
@@ -2212,7 +2212,7 @@ const serializeAws_queryInstances = (input, context) => {
|
|
|
2212
2212
|
}
|
|
2213
2213
|
return entries;
|
|
2214
2214
|
};
|
|
2215
|
-
const
|
|
2215
|
+
const se_Listener = (input, context) => {
|
|
2216
2216
|
const entries = {};
|
|
2217
2217
|
if (input.Protocol != null) {
|
|
2218
2218
|
entries["Protocol"] = input.Protocol;
|
|
@@ -2231,14 +2231,14 @@ const serializeAws_queryListener = (input, context) => {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
return entries;
|
|
2233
2233
|
};
|
|
2234
|
-
const
|
|
2234
|
+
const se_Listeners = (input, context) => {
|
|
2235
2235
|
const entries = {};
|
|
2236
2236
|
let counter = 1;
|
|
2237
2237
|
for (const entry of input) {
|
|
2238
2238
|
if (entry === null) {
|
|
2239
2239
|
continue;
|
|
2240
2240
|
}
|
|
2241
|
-
const memberEntries =
|
|
2241
|
+
const memberEntries = se_Listener(entry, context);
|
|
2242
2242
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2243
2243
|
entries[`member.${counter}.${key}`] = value;
|
|
2244
2244
|
});
|
|
@@ -2246,38 +2246,38 @@ const serializeAws_queryListeners = (input, context) => {
|
|
|
2246
2246
|
}
|
|
2247
2247
|
return entries;
|
|
2248
2248
|
};
|
|
2249
|
-
const
|
|
2249
|
+
const se_LoadBalancerAttributes = (input, context) => {
|
|
2250
2250
|
const entries = {};
|
|
2251
2251
|
if (input.CrossZoneLoadBalancing != null) {
|
|
2252
|
-
const memberEntries =
|
|
2252
|
+
const memberEntries = se_CrossZoneLoadBalancing(input.CrossZoneLoadBalancing, context);
|
|
2253
2253
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2254
2254
|
const loc = `CrossZoneLoadBalancing.${key}`;
|
|
2255
2255
|
entries[loc] = value;
|
|
2256
2256
|
});
|
|
2257
2257
|
}
|
|
2258
2258
|
if (input.AccessLog != null) {
|
|
2259
|
-
const memberEntries =
|
|
2259
|
+
const memberEntries = se_AccessLog(input.AccessLog, context);
|
|
2260
2260
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2261
2261
|
const loc = `AccessLog.${key}`;
|
|
2262
2262
|
entries[loc] = value;
|
|
2263
2263
|
});
|
|
2264
2264
|
}
|
|
2265
2265
|
if (input.ConnectionDraining != null) {
|
|
2266
|
-
const memberEntries =
|
|
2266
|
+
const memberEntries = se_ConnectionDraining(input.ConnectionDraining, context);
|
|
2267
2267
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2268
2268
|
const loc = `ConnectionDraining.${key}`;
|
|
2269
2269
|
entries[loc] = value;
|
|
2270
2270
|
});
|
|
2271
2271
|
}
|
|
2272
2272
|
if (input.ConnectionSettings != null) {
|
|
2273
|
-
const memberEntries =
|
|
2273
|
+
const memberEntries = se_ConnectionSettings(input.ConnectionSettings, context);
|
|
2274
2274
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2275
2275
|
const loc = `ConnectionSettings.${key}`;
|
|
2276
2276
|
entries[loc] = value;
|
|
2277
2277
|
});
|
|
2278
2278
|
}
|
|
2279
2279
|
if (input.AdditionalAttributes != null) {
|
|
2280
|
-
const memberEntries =
|
|
2280
|
+
const memberEntries = se_AdditionalAttributes(input.AdditionalAttributes, context);
|
|
2281
2281
|
if (input.AdditionalAttributes?.length === 0) {
|
|
2282
2282
|
entries.AdditionalAttributes = [];
|
|
2283
2283
|
}
|
|
@@ -2288,7 +2288,7 @@ const serializeAws_queryLoadBalancerAttributes = (input, context) => {
|
|
|
2288
2288
|
}
|
|
2289
2289
|
return entries;
|
|
2290
2290
|
};
|
|
2291
|
-
const
|
|
2291
|
+
const se_LoadBalancerNames = (input, context) => {
|
|
2292
2292
|
const entries = {};
|
|
2293
2293
|
let counter = 1;
|
|
2294
2294
|
for (const entry of input) {
|
|
@@ -2300,7 +2300,7 @@ const serializeAws_queryLoadBalancerNames = (input, context) => {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
return entries;
|
|
2302
2302
|
};
|
|
2303
|
-
const
|
|
2303
|
+
const se_LoadBalancerNamesMax20 = (input, context) => {
|
|
2304
2304
|
const entries = {};
|
|
2305
2305
|
let counter = 1;
|
|
2306
2306
|
for (const entry of input) {
|
|
@@ -2312,13 +2312,13 @@ const serializeAws_queryLoadBalancerNamesMax20 = (input, context) => {
|
|
|
2312
2312
|
}
|
|
2313
2313
|
return entries;
|
|
2314
2314
|
};
|
|
2315
|
-
const
|
|
2315
|
+
const se_ModifyLoadBalancerAttributesInput = (input, context) => {
|
|
2316
2316
|
const entries = {};
|
|
2317
2317
|
if (input.LoadBalancerName != null) {
|
|
2318
2318
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2319
2319
|
}
|
|
2320
2320
|
if (input.LoadBalancerAttributes != null) {
|
|
2321
|
-
const memberEntries =
|
|
2321
|
+
const memberEntries = se_LoadBalancerAttributes(input.LoadBalancerAttributes, context);
|
|
2322
2322
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2323
2323
|
const loc = `LoadBalancerAttributes.${key}`;
|
|
2324
2324
|
entries[loc] = value;
|
|
@@ -2326,7 +2326,7 @@ const serializeAws_queryModifyLoadBalancerAttributesInput = (input, context) =>
|
|
|
2326
2326
|
}
|
|
2327
2327
|
return entries;
|
|
2328
2328
|
};
|
|
2329
|
-
const
|
|
2329
|
+
const se_PolicyAttribute = (input, context) => {
|
|
2330
2330
|
const entries = {};
|
|
2331
2331
|
if (input.AttributeName != null) {
|
|
2332
2332
|
entries["AttributeName"] = input.AttributeName;
|
|
@@ -2336,14 +2336,14 @@ const serializeAws_queryPolicyAttribute = (input, context) => {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
return entries;
|
|
2338
2338
|
};
|
|
2339
|
-
const
|
|
2339
|
+
const se_PolicyAttributes = (input, context) => {
|
|
2340
2340
|
const entries = {};
|
|
2341
2341
|
let counter = 1;
|
|
2342
2342
|
for (const entry of input) {
|
|
2343
2343
|
if (entry === null) {
|
|
2344
2344
|
continue;
|
|
2345
2345
|
}
|
|
2346
|
-
const memberEntries =
|
|
2346
|
+
const memberEntries = se_PolicyAttribute(entry, context);
|
|
2347
2347
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2348
2348
|
entries[`member.${counter}.${key}`] = value;
|
|
2349
2349
|
});
|
|
@@ -2351,7 +2351,7 @@ const serializeAws_queryPolicyAttributes = (input, context) => {
|
|
|
2351
2351
|
}
|
|
2352
2352
|
return entries;
|
|
2353
2353
|
};
|
|
2354
|
-
const
|
|
2354
|
+
const se_PolicyNames = (input, context) => {
|
|
2355
2355
|
const entries = {};
|
|
2356
2356
|
let counter = 1;
|
|
2357
2357
|
for (const entry of input) {
|
|
@@ -2363,7 +2363,7 @@ const serializeAws_queryPolicyNames = (input, context) => {
|
|
|
2363
2363
|
}
|
|
2364
2364
|
return entries;
|
|
2365
2365
|
};
|
|
2366
|
-
const
|
|
2366
|
+
const se_PolicyTypeNames = (input, context) => {
|
|
2367
2367
|
const entries = {};
|
|
2368
2368
|
let counter = 1;
|
|
2369
2369
|
for (const entry of input) {
|
|
@@ -2375,7 +2375,7 @@ const serializeAws_queryPolicyTypeNames = (input, context) => {
|
|
|
2375
2375
|
}
|
|
2376
2376
|
return entries;
|
|
2377
2377
|
};
|
|
2378
|
-
const
|
|
2378
|
+
const se_Ports = (input, context) => {
|
|
2379
2379
|
const entries = {};
|
|
2380
2380
|
let counter = 1;
|
|
2381
2381
|
for (const entry of input) {
|
|
@@ -2387,13 +2387,13 @@ const serializeAws_queryPorts = (input, context) => {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
return entries;
|
|
2389
2389
|
};
|
|
2390
|
-
const
|
|
2390
|
+
const se_RegisterEndPointsInput = (input, context) => {
|
|
2391
2391
|
const entries = {};
|
|
2392
2392
|
if (input.LoadBalancerName != null) {
|
|
2393
2393
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2394
2394
|
}
|
|
2395
2395
|
if (input.Instances != null) {
|
|
2396
|
-
const memberEntries =
|
|
2396
|
+
const memberEntries = se_Instances(input.Instances, context);
|
|
2397
2397
|
if (input.Instances?.length === 0) {
|
|
2398
2398
|
entries.Instances = [];
|
|
2399
2399
|
}
|
|
@@ -2404,13 +2404,13 @@ const serializeAws_queryRegisterEndPointsInput = (input, context) => {
|
|
|
2404
2404
|
}
|
|
2405
2405
|
return entries;
|
|
2406
2406
|
};
|
|
2407
|
-
const
|
|
2407
|
+
const se_RemoveAvailabilityZonesInput = (input, context) => {
|
|
2408
2408
|
const entries = {};
|
|
2409
2409
|
if (input.LoadBalancerName != null) {
|
|
2410
2410
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
2411
2411
|
}
|
|
2412
2412
|
if (input.AvailabilityZones != null) {
|
|
2413
|
-
const memberEntries =
|
|
2413
|
+
const memberEntries = se_AvailabilityZones(input.AvailabilityZones, context);
|
|
2414
2414
|
if (input.AvailabilityZones?.length === 0) {
|
|
2415
2415
|
entries.AvailabilityZones = [];
|
|
2416
2416
|
}
|
|
@@ -2421,10 +2421,10 @@ const serializeAws_queryRemoveAvailabilityZonesInput = (input, context) => {
|
|
|
2421
2421
|
}
|
|
2422
2422
|
return entries;
|
|
2423
2423
|
};
|
|
2424
|
-
const
|
|
2424
|
+
const se_RemoveTagsInput = (input, context) => {
|
|
2425
2425
|
const entries = {};
|
|
2426
2426
|
if (input.LoadBalancerNames != null) {
|
|
2427
|
-
const memberEntries =
|
|
2427
|
+
const memberEntries = se_LoadBalancerNames(input.LoadBalancerNames, context);
|
|
2428
2428
|
if (input.LoadBalancerNames?.length === 0) {
|
|
2429
2429
|
entries.LoadBalancerNames = [];
|
|
2430
2430
|
}
|
|
@@ -2434,7 +2434,7 @@ const serializeAws_queryRemoveTagsInput = (input, context) => {
|
|
|
2434
2434
|
});
|
|
2435
2435
|
}
|
|
2436
2436
|
if (input.Tags != null) {
|
|
2437
|
-
const memberEntries =
|
|
2437
|
+
const memberEntries = se_TagKeyList(input.Tags, context);
|
|
2438
2438
|
if (input.Tags?.length === 0) {
|
|
2439
2439
|
entries.Tags = [];
|
|
2440
2440
|
}
|
|
@@ -2445,7 +2445,7 @@ const serializeAws_queryRemoveTagsInput = (input, context) => {
|
|
|
2445
2445
|
}
|
|
2446
2446
|
return entries;
|
|
2447
2447
|
};
|
|
2448
|
-
const
|
|
2448
|
+
const se_SecurityGroups = (input, context) => {
|
|
2449
2449
|
const entries = {};
|
|
2450
2450
|
let counter = 1;
|
|
2451
2451
|
for (const entry of input) {
|
|
@@ -2457,7 +2457,7 @@ const serializeAws_querySecurityGroups = (input, context) => {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
return entries;
|
|
2459
2459
|
};
|
|
2460
|
-
const
|
|
2460
|
+
const se_SetLoadBalancerListenerSSLCertificateInput = (input, context) => {
|
|
2461
2461
|
const entries = {};
|
|
2462
2462
|
if (input.LoadBalancerName != null) {
|
|
2463
2463
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -2470,7 +2470,7 @@ const serializeAws_querySetLoadBalancerListenerSSLCertificateInput = (input, con
|
|
|
2470
2470
|
}
|
|
2471
2471
|
return entries;
|
|
2472
2472
|
};
|
|
2473
|
-
const
|
|
2473
|
+
const se_SetLoadBalancerPoliciesForBackendServerInput = (input, context) => {
|
|
2474
2474
|
const entries = {};
|
|
2475
2475
|
if (input.LoadBalancerName != null) {
|
|
2476
2476
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -2479,7 +2479,7 @@ const serializeAws_querySetLoadBalancerPoliciesForBackendServerInput = (input, c
|
|
|
2479
2479
|
entries["InstancePort"] = input.InstancePort;
|
|
2480
2480
|
}
|
|
2481
2481
|
if (input.PolicyNames != null) {
|
|
2482
|
-
const memberEntries =
|
|
2482
|
+
const memberEntries = se_PolicyNames(input.PolicyNames, context);
|
|
2483
2483
|
if (input.PolicyNames?.length === 0) {
|
|
2484
2484
|
entries.PolicyNames = [];
|
|
2485
2485
|
}
|
|
@@ -2490,7 +2490,7 @@ const serializeAws_querySetLoadBalancerPoliciesForBackendServerInput = (input, c
|
|
|
2490
2490
|
}
|
|
2491
2491
|
return entries;
|
|
2492
2492
|
};
|
|
2493
|
-
const
|
|
2493
|
+
const se_SetLoadBalancerPoliciesOfListenerInput = (input, context) => {
|
|
2494
2494
|
const entries = {};
|
|
2495
2495
|
if (input.LoadBalancerName != null) {
|
|
2496
2496
|
entries["LoadBalancerName"] = input.LoadBalancerName;
|
|
@@ -2499,7 +2499,7 @@ const serializeAws_querySetLoadBalancerPoliciesOfListenerInput = (input, context
|
|
|
2499
2499
|
entries["LoadBalancerPort"] = input.LoadBalancerPort;
|
|
2500
2500
|
}
|
|
2501
2501
|
if (input.PolicyNames != null) {
|
|
2502
|
-
const memberEntries =
|
|
2502
|
+
const memberEntries = se_PolicyNames(input.PolicyNames, context);
|
|
2503
2503
|
if (input.PolicyNames?.length === 0) {
|
|
2504
2504
|
entries.PolicyNames = [];
|
|
2505
2505
|
}
|
|
@@ -2510,7 +2510,7 @@ const serializeAws_querySetLoadBalancerPoliciesOfListenerInput = (input, context
|
|
|
2510
2510
|
}
|
|
2511
2511
|
return entries;
|
|
2512
2512
|
};
|
|
2513
|
-
const
|
|
2513
|
+
const se_Subnets = (input, context) => {
|
|
2514
2514
|
const entries = {};
|
|
2515
2515
|
let counter = 1;
|
|
2516
2516
|
for (const entry of input) {
|
|
@@ -2522,7 +2522,7 @@ const serializeAws_querySubnets = (input, context) => {
|
|
|
2522
2522
|
}
|
|
2523
2523
|
return entries;
|
|
2524
2524
|
};
|
|
2525
|
-
const
|
|
2525
|
+
const se_Tag = (input, context) => {
|
|
2526
2526
|
const entries = {};
|
|
2527
2527
|
if (input.Key != null) {
|
|
2528
2528
|
entries["Key"] = input.Key;
|
|
@@ -2532,14 +2532,14 @@ const serializeAws_queryTag = (input, context) => {
|
|
|
2532
2532
|
}
|
|
2533
2533
|
return entries;
|
|
2534
2534
|
};
|
|
2535
|
-
const
|
|
2535
|
+
const se_TagKeyList = (input, context) => {
|
|
2536
2536
|
const entries = {};
|
|
2537
2537
|
let counter = 1;
|
|
2538
2538
|
for (const entry of input) {
|
|
2539
2539
|
if (entry === null) {
|
|
2540
2540
|
continue;
|
|
2541
2541
|
}
|
|
2542
|
-
const memberEntries =
|
|
2542
|
+
const memberEntries = se_TagKeyOnly(entry, context);
|
|
2543
2543
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2544
2544
|
entries[`member.${counter}.${key}`] = value;
|
|
2545
2545
|
});
|
|
@@ -2547,21 +2547,21 @@ const serializeAws_queryTagKeyList = (input, context) => {
|
|
|
2547
2547
|
}
|
|
2548
2548
|
return entries;
|
|
2549
2549
|
};
|
|
2550
|
-
const
|
|
2550
|
+
const se_TagKeyOnly = (input, context) => {
|
|
2551
2551
|
const entries = {};
|
|
2552
2552
|
if (input.Key != null) {
|
|
2553
2553
|
entries["Key"] = input.Key;
|
|
2554
2554
|
}
|
|
2555
2555
|
return entries;
|
|
2556
2556
|
};
|
|
2557
|
-
const
|
|
2557
|
+
const se_TagList = (input, context) => {
|
|
2558
2558
|
const entries = {};
|
|
2559
2559
|
let counter = 1;
|
|
2560
2560
|
for (const entry of input) {
|
|
2561
2561
|
if (entry === null) {
|
|
2562
2562
|
continue;
|
|
2563
2563
|
}
|
|
2564
|
-
const memberEntries =
|
|
2564
|
+
const memberEntries = se_Tag(entry, context);
|
|
2565
2565
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2566
2566
|
entries[`member.${counter}.${key}`] = value;
|
|
2567
2567
|
});
|
|
@@ -2569,7 +2569,7 @@ const serializeAws_queryTagList = (input, context) => {
|
|
|
2569
2569
|
}
|
|
2570
2570
|
return entries;
|
|
2571
2571
|
};
|
|
2572
|
-
const
|
|
2572
|
+
const de_AccessLog = (output, context) => {
|
|
2573
2573
|
const contents = {};
|
|
2574
2574
|
if (output["Enabled"] !== undefined) {
|
|
2575
2575
|
contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
|
|
@@ -2585,24 +2585,24 @@ const deserializeAws_queryAccessLog = (output, context) => {
|
|
|
2585
2585
|
}
|
|
2586
2586
|
return contents;
|
|
2587
2587
|
};
|
|
2588
|
-
const
|
|
2588
|
+
const de_AccessPointNotFoundException = (output, context) => {
|
|
2589
2589
|
const contents = {};
|
|
2590
2590
|
if (output["Message"] !== undefined) {
|
|
2591
2591
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2592
2592
|
}
|
|
2593
2593
|
return contents;
|
|
2594
2594
|
};
|
|
2595
|
-
const
|
|
2595
|
+
const de_AddAvailabilityZonesOutput = (output, context) => {
|
|
2596
2596
|
const contents = {};
|
|
2597
2597
|
if (output.AvailabilityZones === "") {
|
|
2598
2598
|
contents.AvailabilityZones = [];
|
|
2599
2599
|
}
|
|
2600
2600
|
else if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
2601
|
-
contents.AvailabilityZones =
|
|
2601
|
+
contents.AvailabilityZones = de_AvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["member"]), context);
|
|
2602
2602
|
}
|
|
2603
2603
|
return contents;
|
|
2604
2604
|
};
|
|
2605
|
-
const
|
|
2605
|
+
const de_AdditionalAttribute = (output, context) => {
|
|
2606
2606
|
const contents = {};
|
|
2607
2607
|
if (output["Key"] !== undefined) {
|
|
2608
2608
|
contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
|
|
@@ -2612,25 +2612,25 @@ const deserializeAws_queryAdditionalAttribute = (output, context) => {
|
|
|
2612
2612
|
}
|
|
2613
2613
|
return contents;
|
|
2614
2614
|
};
|
|
2615
|
-
const
|
|
2615
|
+
const de_AdditionalAttributes = (output, context) => {
|
|
2616
2616
|
return (output || [])
|
|
2617
2617
|
.filter((e) => e != null)
|
|
2618
2618
|
.map((entry) => {
|
|
2619
|
-
return
|
|
2619
|
+
return de_AdditionalAttribute(entry, context);
|
|
2620
2620
|
});
|
|
2621
2621
|
};
|
|
2622
|
-
const
|
|
2622
|
+
const de_AddTagsOutput = (output, context) => {
|
|
2623
2623
|
const contents = {};
|
|
2624
2624
|
return contents;
|
|
2625
2625
|
};
|
|
2626
|
-
const
|
|
2626
|
+
const de_AppCookieStickinessPolicies = (output, context) => {
|
|
2627
2627
|
return (output || [])
|
|
2628
2628
|
.filter((e) => e != null)
|
|
2629
2629
|
.map((entry) => {
|
|
2630
|
-
return
|
|
2630
|
+
return de_AppCookieStickinessPolicy(entry, context);
|
|
2631
2631
|
});
|
|
2632
2632
|
};
|
|
2633
|
-
const
|
|
2633
|
+
const de_AppCookieStickinessPolicy = (output, context) => {
|
|
2634
2634
|
const contents = {};
|
|
2635
2635
|
if (output["PolicyName"] !== undefined) {
|
|
2636
2636
|
contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
|
|
@@ -2640,34 +2640,34 @@ const deserializeAws_queryAppCookieStickinessPolicy = (output, context) => {
|
|
|
2640
2640
|
}
|
|
2641
2641
|
return contents;
|
|
2642
2642
|
};
|
|
2643
|
-
const
|
|
2643
|
+
const de_ApplySecurityGroupsToLoadBalancerOutput = (output, context) => {
|
|
2644
2644
|
const contents = {};
|
|
2645
2645
|
if (output.SecurityGroups === "") {
|
|
2646
2646
|
contents.SecurityGroups = [];
|
|
2647
2647
|
}
|
|
2648
2648
|
else if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
2649
|
-
contents.SecurityGroups =
|
|
2649
|
+
contents.SecurityGroups = de_SecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["SecurityGroups"]["member"]), context);
|
|
2650
2650
|
}
|
|
2651
2651
|
return contents;
|
|
2652
2652
|
};
|
|
2653
|
-
const
|
|
2653
|
+
const de_AttachLoadBalancerToSubnetsOutput = (output, context) => {
|
|
2654
2654
|
const contents = {};
|
|
2655
2655
|
if (output.Subnets === "") {
|
|
2656
2656
|
contents.Subnets = [];
|
|
2657
2657
|
}
|
|
2658
2658
|
else if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
2659
|
-
contents.Subnets =
|
|
2659
|
+
contents.Subnets = de_Subnets((0, smithy_client_1.getArrayIfSingleItem)(output["Subnets"]["member"]), context);
|
|
2660
2660
|
}
|
|
2661
2661
|
return contents;
|
|
2662
2662
|
};
|
|
2663
|
-
const
|
|
2663
|
+
const de_AvailabilityZones = (output, context) => {
|
|
2664
2664
|
return (output || [])
|
|
2665
2665
|
.filter((e) => e != null)
|
|
2666
2666
|
.map((entry) => {
|
|
2667
2667
|
return (0, smithy_client_1.expectString)(entry);
|
|
2668
2668
|
});
|
|
2669
2669
|
};
|
|
2670
|
-
const
|
|
2670
|
+
const de_BackendServerDescription = (output, context) => {
|
|
2671
2671
|
const contents = {};
|
|
2672
2672
|
if (output["InstancePort"] !== undefined) {
|
|
2673
2673
|
contents.InstancePort = (0, smithy_client_1.strictParseInt32)(output["InstancePort"]);
|
|
@@ -2676,32 +2676,32 @@ const deserializeAws_queryBackendServerDescription = (output, context) => {
|
|
|
2676
2676
|
contents.PolicyNames = [];
|
|
2677
2677
|
}
|
|
2678
2678
|
else if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
2679
|
-
contents.PolicyNames =
|
|
2679
|
+
contents.PolicyNames = de_PolicyNames((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyNames"]["member"]), context);
|
|
2680
2680
|
}
|
|
2681
2681
|
return contents;
|
|
2682
2682
|
};
|
|
2683
|
-
const
|
|
2683
|
+
const de_BackendServerDescriptions = (output, context) => {
|
|
2684
2684
|
return (output || [])
|
|
2685
2685
|
.filter((e) => e != null)
|
|
2686
2686
|
.map((entry) => {
|
|
2687
|
-
return
|
|
2687
|
+
return de_BackendServerDescription(entry, context);
|
|
2688
2688
|
});
|
|
2689
2689
|
};
|
|
2690
|
-
const
|
|
2690
|
+
const de_CertificateNotFoundException = (output, context) => {
|
|
2691
2691
|
const contents = {};
|
|
2692
2692
|
if (output["Message"] !== undefined) {
|
|
2693
2693
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2694
2694
|
}
|
|
2695
2695
|
return contents;
|
|
2696
2696
|
};
|
|
2697
|
-
const
|
|
2697
|
+
const de_ConfigureHealthCheckOutput = (output, context) => {
|
|
2698
2698
|
const contents = {};
|
|
2699
2699
|
if (output["HealthCheck"] !== undefined) {
|
|
2700
|
-
contents.HealthCheck =
|
|
2700
|
+
contents.HealthCheck = de_HealthCheck(output["HealthCheck"], context);
|
|
2701
2701
|
}
|
|
2702
2702
|
return contents;
|
|
2703
2703
|
};
|
|
2704
|
-
const
|
|
2704
|
+
const de_ConnectionDraining = (output, context) => {
|
|
2705
2705
|
const contents = {};
|
|
2706
2706
|
if (output["Enabled"] !== undefined) {
|
|
2707
2707
|
contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
|
|
@@ -2711,186 +2711,186 @@ const deserializeAws_queryConnectionDraining = (output, context) => {
|
|
|
2711
2711
|
}
|
|
2712
2712
|
return contents;
|
|
2713
2713
|
};
|
|
2714
|
-
const
|
|
2714
|
+
const de_ConnectionSettings = (output, context) => {
|
|
2715
2715
|
const contents = {};
|
|
2716
2716
|
if (output["IdleTimeout"] !== undefined) {
|
|
2717
2717
|
contents.IdleTimeout = (0, smithy_client_1.strictParseInt32)(output["IdleTimeout"]);
|
|
2718
2718
|
}
|
|
2719
2719
|
return contents;
|
|
2720
2720
|
};
|
|
2721
|
-
const
|
|
2721
|
+
const de_CreateAccessPointOutput = (output, context) => {
|
|
2722
2722
|
const contents = {};
|
|
2723
2723
|
if (output["DNSName"] !== undefined) {
|
|
2724
2724
|
contents.DNSName = (0, smithy_client_1.expectString)(output["DNSName"]);
|
|
2725
2725
|
}
|
|
2726
2726
|
return contents;
|
|
2727
2727
|
};
|
|
2728
|
-
const
|
|
2728
|
+
const de_CreateAppCookieStickinessPolicyOutput = (output, context) => {
|
|
2729
2729
|
const contents = {};
|
|
2730
2730
|
return contents;
|
|
2731
2731
|
};
|
|
2732
|
-
const
|
|
2732
|
+
const de_CreateLBCookieStickinessPolicyOutput = (output, context) => {
|
|
2733
2733
|
const contents = {};
|
|
2734
2734
|
return contents;
|
|
2735
2735
|
};
|
|
2736
|
-
const
|
|
2736
|
+
const de_CreateLoadBalancerListenerOutput = (output, context) => {
|
|
2737
2737
|
const contents = {};
|
|
2738
2738
|
return contents;
|
|
2739
2739
|
};
|
|
2740
|
-
const
|
|
2740
|
+
const de_CreateLoadBalancerPolicyOutput = (output, context) => {
|
|
2741
2741
|
const contents = {};
|
|
2742
2742
|
return contents;
|
|
2743
2743
|
};
|
|
2744
|
-
const
|
|
2744
|
+
const de_CrossZoneLoadBalancing = (output, context) => {
|
|
2745
2745
|
const contents = {};
|
|
2746
2746
|
if (output["Enabled"] !== undefined) {
|
|
2747
2747
|
contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
|
|
2748
2748
|
}
|
|
2749
2749
|
return contents;
|
|
2750
2750
|
};
|
|
2751
|
-
const
|
|
2751
|
+
const de_DeleteAccessPointOutput = (output, context) => {
|
|
2752
2752
|
const contents = {};
|
|
2753
2753
|
return contents;
|
|
2754
2754
|
};
|
|
2755
|
-
const
|
|
2755
|
+
const de_DeleteLoadBalancerListenerOutput = (output, context) => {
|
|
2756
2756
|
const contents = {};
|
|
2757
2757
|
return contents;
|
|
2758
2758
|
};
|
|
2759
|
-
const
|
|
2759
|
+
const de_DeleteLoadBalancerPolicyOutput = (output, context) => {
|
|
2760
2760
|
const contents = {};
|
|
2761
2761
|
return contents;
|
|
2762
2762
|
};
|
|
2763
|
-
const
|
|
2763
|
+
const de_DependencyThrottleException = (output, context) => {
|
|
2764
2764
|
const contents = {};
|
|
2765
2765
|
if (output["Message"] !== undefined) {
|
|
2766
2766
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2767
2767
|
}
|
|
2768
2768
|
return contents;
|
|
2769
2769
|
};
|
|
2770
|
-
const
|
|
2770
|
+
const de_DeregisterEndPointsOutput = (output, context) => {
|
|
2771
2771
|
const contents = {};
|
|
2772
2772
|
if (output.Instances === "") {
|
|
2773
2773
|
contents.Instances = [];
|
|
2774
2774
|
}
|
|
2775
2775
|
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
2776
|
-
contents.Instances =
|
|
2776
|
+
contents.Instances = de_Instances((0, smithy_client_1.getArrayIfSingleItem)(output["Instances"]["member"]), context);
|
|
2777
2777
|
}
|
|
2778
2778
|
return contents;
|
|
2779
2779
|
};
|
|
2780
|
-
const
|
|
2780
|
+
const de_DescribeAccessPointsOutput = (output, context) => {
|
|
2781
2781
|
const contents = {};
|
|
2782
2782
|
if (output.LoadBalancerDescriptions === "") {
|
|
2783
2783
|
contents.LoadBalancerDescriptions = [];
|
|
2784
2784
|
}
|
|
2785
2785
|
else if (output["LoadBalancerDescriptions"] !== undefined &&
|
|
2786
2786
|
output["LoadBalancerDescriptions"]["member"] !== undefined) {
|
|
2787
|
-
contents.LoadBalancerDescriptions =
|
|
2787
|
+
contents.LoadBalancerDescriptions = de_LoadBalancerDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["LoadBalancerDescriptions"]["member"]), context);
|
|
2788
2788
|
}
|
|
2789
2789
|
if (output["NextMarker"] !== undefined) {
|
|
2790
2790
|
contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
|
|
2791
2791
|
}
|
|
2792
2792
|
return contents;
|
|
2793
2793
|
};
|
|
2794
|
-
const
|
|
2794
|
+
const de_DescribeAccountLimitsOutput = (output, context) => {
|
|
2795
2795
|
const contents = {};
|
|
2796
2796
|
if (output.Limits === "") {
|
|
2797
2797
|
contents.Limits = [];
|
|
2798
2798
|
}
|
|
2799
2799
|
else if (output["Limits"] !== undefined && output["Limits"]["member"] !== undefined) {
|
|
2800
|
-
contents.Limits =
|
|
2800
|
+
contents.Limits = de_Limits((0, smithy_client_1.getArrayIfSingleItem)(output["Limits"]["member"]), context);
|
|
2801
2801
|
}
|
|
2802
2802
|
if (output["NextMarker"] !== undefined) {
|
|
2803
2803
|
contents.NextMarker = (0, smithy_client_1.expectString)(output["NextMarker"]);
|
|
2804
2804
|
}
|
|
2805
2805
|
return contents;
|
|
2806
2806
|
};
|
|
2807
|
-
const
|
|
2807
|
+
const de_DescribeEndPointStateOutput = (output, context) => {
|
|
2808
2808
|
const contents = {};
|
|
2809
2809
|
if (output.InstanceStates === "") {
|
|
2810
2810
|
contents.InstanceStates = [];
|
|
2811
2811
|
}
|
|
2812
2812
|
else if (output["InstanceStates"] !== undefined && output["InstanceStates"]["member"] !== undefined) {
|
|
2813
|
-
contents.InstanceStates =
|
|
2813
|
+
contents.InstanceStates = de_InstanceStates((0, smithy_client_1.getArrayIfSingleItem)(output["InstanceStates"]["member"]), context);
|
|
2814
2814
|
}
|
|
2815
2815
|
return contents;
|
|
2816
2816
|
};
|
|
2817
|
-
const
|
|
2817
|
+
const de_DescribeLoadBalancerAttributesOutput = (output, context) => {
|
|
2818
2818
|
const contents = {};
|
|
2819
2819
|
if (output["LoadBalancerAttributes"] !== undefined) {
|
|
2820
|
-
contents.LoadBalancerAttributes =
|
|
2820
|
+
contents.LoadBalancerAttributes = de_LoadBalancerAttributes(output["LoadBalancerAttributes"], context);
|
|
2821
2821
|
}
|
|
2822
2822
|
return contents;
|
|
2823
2823
|
};
|
|
2824
|
-
const
|
|
2824
|
+
const de_DescribeLoadBalancerPoliciesOutput = (output, context) => {
|
|
2825
2825
|
const contents = {};
|
|
2826
2826
|
if (output.PolicyDescriptions === "") {
|
|
2827
2827
|
contents.PolicyDescriptions = [];
|
|
2828
2828
|
}
|
|
2829
2829
|
else if (output["PolicyDescriptions"] !== undefined && output["PolicyDescriptions"]["member"] !== undefined) {
|
|
2830
|
-
contents.PolicyDescriptions =
|
|
2830
|
+
contents.PolicyDescriptions = de_PolicyDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyDescriptions"]["member"]), context);
|
|
2831
2831
|
}
|
|
2832
2832
|
return contents;
|
|
2833
2833
|
};
|
|
2834
|
-
const
|
|
2834
|
+
const de_DescribeLoadBalancerPolicyTypesOutput = (output, context) => {
|
|
2835
2835
|
const contents = {};
|
|
2836
2836
|
if (output.PolicyTypeDescriptions === "") {
|
|
2837
2837
|
contents.PolicyTypeDescriptions = [];
|
|
2838
2838
|
}
|
|
2839
2839
|
else if (output["PolicyTypeDescriptions"] !== undefined &&
|
|
2840
2840
|
output["PolicyTypeDescriptions"]["member"] !== undefined) {
|
|
2841
|
-
contents.PolicyTypeDescriptions =
|
|
2841
|
+
contents.PolicyTypeDescriptions = de_PolicyTypeDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyTypeDescriptions"]["member"]), context);
|
|
2842
2842
|
}
|
|
2843
2843
|
return contents;
|
|
2844
2844
|
};
|
|
2845
|
-
const
|
|
2845
|
+
const de_DescribeTagsOutput = (output, context) => {
|
|
2846
2846
|
const contents = {};
|
|
2847
2847
|
if (output.TagDescriptions === "") {
|
|
2848
2848
|
contents.TagDescriptions = [];
|
|
2849
2849
|
}
|
|
2850
2850
|
else if (output["TagDescriptions"] !== undefined && output["TagDescriptions"]["member"] !== undefined) {
|
|
2851
|
-
contents.TagDescriptions =
|
|
2851
|
+
contents.TagDescriptions = de_TagDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["TagDescriptions"]["member"]), context);
|
|
2852
2852
|
}
|
|
2853
2853
|
return contents;
|
|
2854
2854
|
};
|
|
2855
|
-
const
|
|
2855
|
+
const de_DetachLoadBalancerFromSubnetsOutput = (output, context) => {
|
|
2856
2856
|
const contents = {};
|
|
2857
2857
|
if (output.Subnets === "") {
|
|
2858
2858
|
contents.Subnets = [];
|
|
2859
2859
|
}
|
|
2860
2860
|
else if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
2861
|
-
contents.Subnets =
|
|
2861
|
+
contents.Subnets = de_Subnets((0, smithy_client_1.getArrayIfSingleItem)(output["Subnets"]["member"]), context);
|
|
2862
2862
|
}
|
|
2863
2863
|
return contents;
|
|
2864
2864
|
};
|
|
2865
|
-
const
|
|
2865
|
+
const de_DuplicateAccessPointNameException = (output, context) => {
|
|
2866
2866
|
const contents = {};
|
|
2867
2867
|
if (output["Message"] !== undefined) {
|
|
2868
2868
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2869
2869
|
}
|
|
2870
2870
|
return contents;
|
|
2871
2871
|
};
|
|
2872
|
-
const
|
|
2872
|
+
const de_DuplicateListenerException = (output, context) => {
|
|
2873
2873
|
const contents = {};
|
|
2874
2874
|
if (output["Message"] !== undefined) {
|
|
2875
2875
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2876
2876
|
}
|
|
2877
2877
|
return contents;
|
|
2878
2878
|
};
|
|
2879
|
-
const
|
|
2879
|
+
const de_DuplicatePolicyNameException = (output, context) => {
|
|
2880
2880
|
const contents = {};
|
|
2881
2881
|
if (output["Message"] !== undefined) {
|
|
2882
2882
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2883
2883
|
}
|
|
2884
2884
|
return contents;
|
|
2885
2885
|
};
|
|
2886
|
-
const
|
|
2886
|
+
const de_DuplicateTagKeysException = (output, context) => {
|
|
2887
2887
|
const contents = {};
|
|
2888
2888
|
if (output["Message"] !== undefined) {
|
|
2889
2889
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2890
2890
|
}
|
|
2891
2891
|
return contents;
|
|
2892
2892
|
};
|
|
2893
|
-
const
|
|
2893
|
+
const de_HealthCheck = (output, context) => {
|
|
2894
2894
|
const contents = {};
|
|
2895
2895
|
if (output["Target"] !== undefined) {
|
|
2896
2896
|
contents.Target = (0, smithy_client_1.expectString)(output["Target"]);
|
|
@@ -2909,21 +2909,21 @@ const deserializeAws_queryHealthCheck = (output, context) => {
|
|
|
2909
2909
|
}
|
|
2910
2910
|
return contents;
|
|
2911
2911
|
};
|
|
2912
|
-
const
|
|
2912
|
+
const de_Instance = (output, context) => {
|
|
2913
2913
|
const contents = {};
|
|
2914
2914
|
if (output["InstanceId"] !== undefined) {
|
|
2915
2915
|
contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
|
|
2916
2916
|
}
|
|
2917
2917
|
return contents;
|
|
2918
2918
|
};
|
|
2919
|
-
const
|
|
2919
|
+
const de_Instances = (output, context) => {
|
|
2920
2920
|
return (output || [])
|
|
2921
2921
|
.filter((e) => e != null)
|
|
2922
2922
|
.map((entry) => {
|
|
2923
|
-
return
|
|
2923
|
+
return de_Instance(entry, context);
|
|
2924
2924
|
});
|
|
2925
2925
|
};
|
|
2926
|
-
const
|
|
2926
|
+
const de_InstanceState = (output, context) => {
|
|
2927
2927
|
const contents = {};
|
|
2928
2928
|
if (output["InstanceId"] !== undefined) {
|
|
2929
2929
|
contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
|
|
@@ -2939,56 +2939,56 @@ const deserializeAws_queryInstanceState = (output, context) => {
|
|
|
2939
2939
|
}
|
|
2940
2940
|
return contents;
|
|
2941
2941
|
};
|
|
2942
|
-
const
|
|
2942
|
+
const de_InstanceStates = (output, context) => {
|
|
2943
2943
|
return (output || [])
|
|
2944
2944
|
.filter((e) => e != null)
|
|
2945
2945
|
.map((entry) => {
|
|
2946
|
-
return
|
|
2946
|
+
return de_InstanceState(entry, context);
|
|
2947
2947
|
});
|
|
2948
2948
|
};
|
|
2949
|
-
const
|
|
2949
|
+
const de_InvalidConfigurationRequestException = (output, context) => {
|
|
2950
2950
|
const contents = {};
|
|
2951
2951
|
if (output["Message"] !== undefined) {
|
|
2952
2952
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2953
2953
|
}
|
|
2954
2954
|
return contents;
|
|
2955
2955
|
};
|
|
2956
|
-
const
|
|
2956
|
+
const de_InvalidEndPointException = (output, context) => {
|
|
2957
2957
|
const contents = {};
|
|
2958
2958
|
if (output["Message"] !== undefined) {
|
|
2959
2959
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2960
2960
|
}
|
|
2961
2961
|
return contents;
|
|
2962
2962
|
};
|
|
2963
|
-
const
|
|
2963
|
+
const de_InvalidSchemeException = (output, context) => {
|
|
2964
2964
|
const contents = {};
|
|
2965
2965
|
if (output["Message"] !== undefined) {
|
|
2966
2966
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2967
2967
|
}
|
|
2968
2968
|
return contents;
|
|
2969
2969
|
};
|
|
2970
|
-
const
|
|
2970
|
+
const de_InvalidSecurityGroupException = (output, context) => {
|
|
2971
2971
|
const contents = {};
|
|
2972
2972
|
if (output["Message"] !== undefined) {
|
|
2973
2973
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2974
2974
|
}
|
|
2975
2975
|
return contents;
|
|
2976
2976
|
};
|
|
2977
|
-
const
|
|
2977
|
+
const de_InvalidSubnetException = (output, context) => {
|
|
2978
2978
|
const contents = {};
|
|
2979
2979
|
if (output["Message"] !== undefined) {
|
|
2980
2980
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
2981
2981
|
}
|
|
2982
2982
|
return contents;
|
|
2983
2983
|
};
|
|
2984
|
-
const
|
|
2984
|
+
const de_LBCookieStickinessPolicies = (output, context) => {
|
|
2985
2985
|
return (output || [])
|
|
2986
2986
|
.filter((e) => e != null)
|
|
2987
2987
|
.map((entry) => {
|
|
2988
|
-
return
|
|
2988
|
+
return de_LBCookieStickinessPolicy(entry, context);
|
|
2989
2989
|
});
|
|
2990
2990
|
};
|
|
2991
|
-
const
|
|
2991
|
+
const de_LBCookieStickinessPolicy = (output, context) => {
|
|
2992
2992
|
const contents = {};
|
|
2993
2993
|
if (output["PolicyName"] !== undefined) {
|
|
2994
2994
|
contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
|
|
@@ -2998,7 +2998,7 @@ const deserializeAws_queryLBCookieStickinessPolicy = (output, context) => {
|
|
|
2998
2998
|
}
|
|
2999
2999
|
return contents;
|
|
3000
3000
|
};
|
|
3001
|
-
const
|
|
3001
|
+
const de_Limit = (output, context) => {
|
|
3002
3002
|
const contents = {};
|
|
3003
3003
|
if (output["Name"] !== undefined) {
|
|
3004
3004
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
@@ -3008,14 +3008,14 @@ const deserializeAws_queryLimit = (output, context) => {
|
|
|
3008
3008
|
}
|
|
3009
3009
|
return contents;
|
|
3010
3010
|
};
|
|
3011
|
-
const
|
|
3011
|
+
const de_Limits = (output, context) => {
|
|
3012
3012
|
return (output || [])
|
|
3013
3013
|
.filter((e) => e != null)
|
|
3014
3014
|
.map((entry) => {
|
|
3015
|
-
return
|
|
3015
|
+
return de_Limit(entry, context);
|
|
3016
3016
|
});
|
|
3017
3017
|
};
|
|
3018
|
-
const
|
|
3018
|
+
const de_Listener = (output, context) => {
|
|
3019
3019
|
const contents = {};
|
|
3020
3020
|
if (output["Protocol"] !== undefined) {
|
|
3021
3021
|
contents.Protocol = (0, smithy_client_1.expectString)(output["Protocol"]);
|
|
@@ -3034,63 +3034,63 @@ const deserializeAws_queryListener = (output, context) => {
|
|
|
3034
3034
|
}
|
|
3035
3035
|
return contents;
|
|
3036
3036
|
};
|
|
3037
|
-
const
|
|
3037
|
+
const de_ListenerDescription = (output, context) => {
|
|
3038
3038
|
const contents = {};
|
|
3039
3039
|
if (output["Listener"] !== undefined) {
|
|
3040
|
-
contents.Listener =
|
|
3040
|
+
contents.Listener = de_Listener(output["Listener"], context);
|
|
3041
3041
|
}
|
|
3042
3042
|
if (output.PolicyNames === "") {
|
|
3043
3043
|
contents.PolicyNames = [];
|
|
3044
3044
|
}
|
|
3045
3045
|
else if (output["PolicyNames"] !== undefined && output["PolicyNames"]["member"] !== undefined) {
|
|
3046
|
-
contents.PolicyNames =
|
|
3046
|
+
contents.PolicyNames = de_PolicyNames((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyNames"]["member"]), context);
|
|
3047
3047
|
}
|
|
3048
3048
|
return contents;
|
|
3049
3049
|
};
|
|
3050
|
-
const
|
|
3050
|
+
const de_ListenerDescriptions = (output, context) => {
|
|
3051
3051
|
return (output || [])
|
|
3052
3052
|
.filter((e) => e != null)
|
|
3053
3053
|
.map((entry) => {
|
|
3054
|
-
return
|
|
3054
|
+
return de_ListenerDescription(entry, context);
|
|
3055
3055
|
});
|
|
3056
3056
|
};
|
|
3057
|
-
const
|
|
3057
|
+
const de_ListenerNotFoundException = (output, context) => {
|
|
3058
3058
|
const contents = {};
|
|
3059
3059
|
if (output["Message"] !== undefined) {
|
|
3060
3060
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3061
3061
|
}
|
|
3062
3062
|
return contents;
|
|
3063
3063
|
};
|
|
3064
|
-
const
|
|
3064
|
+
const de_LoadBalancerAttributeNotFoundException = (output, context) => {
|
|
3065
3065
|
const contents = {};
|
|
3066
3066
|
if (output["Message"] !== undefined) {
|
|
3067
3067
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3068
3068
|
}
|
|
3069
3069
|
return contents;
|
|
3070
3070
|
};
|
|
3071
|
-
const
|
|
3071
|
+
const de_LoadBalancerAttributes = (output, context) => {
|
|
3072
3072
|
const contents = {};
|
|
3073
3073
|
if (output["CrossZoneLoadBalancing"] !== undefined) {
|
|
3074
|
-
contents.CrossZoneLoadBalancing =
|
|
3074
|
+
contents.CrossZoneLoadBalancing = de_CrossZoneLoadBalancing(output["CrossZoneLoadBalancing"], context);
|
|
3075
3075
|
}
|
|
3076
3076
|
if (output["AccessLog"] !== undefined) {
|
|
3077
|
-
contents.AccessLog =
|
|
3077
|
+
contents.AccessLog = de_AccessLog(output["AccessLog"], context);
|
|
3078
3078
|
}
|
|
3079
3079
|
if (output["ConnectionDraining"] !== undefined) {
|
|
3080
|
-
contents.ConnectionDraining =
|
|
3080
|
+
contents.ConnectionDraining = de_ConnectionDraining(output["ConnectionDraining"], context);
|
|
3081
3081
|
}
|
|
3082
3082
|
if (output["ConnectionSettings"] !== undefined) {
|
|
3083
|
-
contents.ConnectionSettings =
|
|
3083
|
+
contents.ConnectionSettings = de_ConnectionSettings(output["ConnectionSettings"], context);
|
|
3084
3084
|
}
|
|
3085
3085
|
if (output.AdditionalAttributes === "") {
|
|
3086
3086
|
contents.AdditionalAttributes = [];
|
|
3087
3087
|
}
|
|
3088
3088
|
else if (output["AdditionalAttributes"] !== undefined && output["AdditionalAttributes"]["member"] !== undefined) {
|
|
3089
|
-
contents.AdditionalAttributes =
|
|
3089
|
+
contents.AdditionalAttributes = de_AdditionalAttributes((0, smithy_client_1.getArrayIfSingleItem)(output["AdditionalAttributes"]["member"]), context);
|
|
3090
3090
|
}
|
|
3091
3091
|
return contents;
|
|
3092
3092
|
};
|
|
3093
|
-
const
|
|
3093
|
+
const de_LoadBalancerDescription = (output, context) => {
|
|
3094
3094
|
const contents = {};
|
|
3095
3095
|
if (output["LoadBalancerName"] !== undefined) {
|
|
3096
3096
|
contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
|
|
@@ -3108,29 +3108,29 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3108
3108
|
contents.ListenerDescriptions = [];
|
|
3109
3109
|
}
|
|
3110
3110
|
else if (output["ListenerDescriptions"] !== undefined && output["ListenerDescriptions"]["member"] !== undefined) {
|
|
3111
|
-
contents.ListenerDescriptions =
|
|
3111
|
+
contents.ListenerDescriptions = de_ListenerDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["ListenerDescriptions"]["member"]), context);
|
|
3112
3112
|
}
|
|
3113
3113
|
if (output["Policies"] !== undefined) {
|
|
3114
|
-
contents.Policies =
|
|
3114
|
+
contents.Policies = de_Policies(output["Policies"], context);
|
|
3115
3115
|
}
|
|
3116
3116
|
if (output.BackendServerDescriptions === "") {
|
|
3117
3117
|
contents.BackendServerDescriptions = [];
|
|
3118
3118
|
}
|
|
3119
3119
|
else if (output["BackendServerDescriptions"] !== undefined &&
|
|
3120
3120
|
output["BackendServerDescriptions"]["member"] !== undefined) {
|
|
3121
|
-
contents.BackendServerDescriptions =
|
|
3121
|
+
contents.BackendServerDescriptions = de_BackendServerDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["BackendServerDescriptions"]["member"]), context);
|
|
3122
3122
|
}
|
|
3123
3123
|
if (output.AvailabilityZones === "") {
|
|
3124
3124
|
contents.AvailabilityZones = [];
|
|
3125
3125
|
}
|
|
3126
3126
|
else if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
3127
|
-
contents.AvailabilityZones =
|
|
3127
|
+
contents.AvailabilityZones = de_AvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["member"]), context);
|
|
3128
3128
|
}
|
|
3129
3129
|
if (output.Subnets === "") {
|
|
3130
3130
|
contents.Subnets = [];
|
|
3131
3131
|
}
|
|
3132
3132
|
else if (output["Subnets"] !== undefined && output["Subnets"]["member"] !== undefined) {
|
|
3133
|
-
contents.Subnets =
|
|
3133
|
+
contents.Subnets = de_Subnets((0, smithy_client_1.getArrayIfSingleItem)(output["Subnets"]["member"]), context);
|
|
3134
3134
|
}
|
|
3135
3135
|
if (output["VPCId"] !== undefined) {
|
|
3136
3136
|
contents.VPCId = (0, smithy_client_1.expectString)(output["VPCId"]);
|
|
@@ -3139,19 +3139,19 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3139
3139
|
contents.Instances = [];
|
|
3140
3140
|
}
|
|
3141
3141
|
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
3142
|
-
contents.Instances =
|
|
3142
|
+
contents.Instances = de_Instances((0, smithy_client_1.getArrayIfSingleItem)(output["Instances"]["member"]), context);
|
|
3143
3143
|
}
|
|
3144
3144
|
if (output["HealthCheck"] !== undefined) {
|
|
3145
|
-
contents.HealthCheck =
|
|
3145
|
+
contents.HealthCheck = de_HealthCheck(output["HealthCheck"], context);
|
|
3146
3146
|
}
|
|
3147
3147
|
if (output["SourceSecurityGroup"] !== undefined) {
|
|
3148
|
-
contents.SourceSecurityGroup =
|
|
3148
|
+
contents.SourceSecurityGroup = de_SourceSecurityGroup(output["SourceSecurityGroup"], context);
|
|
3149
3149
|
}
|
|
3150
3150
|
if (output.SecurityGroups === "") {
|
|
3151
3151
|
contents.SecurityGroups = [];
|
|
3152
3152
|
}
|
|
3153
3153
|
else if (output["SecurityGroups"] !== undefined && output["SecurityGroups"]["member"] !== undefined) {
|
|
3154
|
-
contents.SecurityGroups =
|
|
3154
|
+
contents.SecurityGroups = de_SecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["SecurityGroups"]["member"]), context);
|
|
3155
3155
|
}
|
|
3156
3156
|
if (output["CreatedTime"] !== undefined) {
|
|
3157
3157
|
contents.CreatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedTime"]));
|
|
@@ -3161,55 +3161,55 @@ const deserializeAws_queryLoadBalancerDescription = (output, context) => {
|
|
|
3161
3161
|
}
|
|
3162
3162
|
return contents;
|
|
3163
3163
|
};
|
|
3164
|
-
const
|
|
3164
|
+
const de_LoadBalancerDescriptions = (output, context) => {
|
|
3165
3165
|
return (output || [])
|
|
3166
3166
|
.filter((e) => e != null)
|
|
3167
3167
|
.map((entry) => {
|
|
3168
|
-
return
|
|
3168
|
+
return de_LoadBalancerDescription(entry, context);
|
|
3169
3169
|
});
|
|
3170
3170
|
};
|
|
3171
|
-
const
|
|
3171
|
+
const de_ModifyLoadBalancerAttributesOutput = (output, context) => {
|
|
3172
3172
|
const contents = {};
|
|
3173
3173
|
if (output["LoadBalancerName"] !== undefined) {
|
|
3174
3174
|
contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
|
|
3175
3175
|
}
|
|
3176
3176
|
if (output["LoadBalancerAttributes"] !== undefined) {
|
|
3177
|
-
contents.LoadBalancerAttributes =
|
|
3177
|
+
contents.LoadBalancerAttributes = de_LoadBalancerAttributes(output["LoadBalancerAttributes"], context);
|
|
3178
3178
|
}
|
|
3179
3179
|
return contents;
|
|
3180
3180
|
};
|
|
3181
|
-
const
|
|
3181
|
+
const de_OperationNotPermittedException = (output, context) => {
|
|
3182
3182
|
const contents = {};
|
|
3183
3183
|
if (output["Message"] !== undefined) {
|
|
3184
3184
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3185
3185
|
}
|
|
3186
3186
|
return contents;
|
|
3187
3187
|
};
|
|
3188
|
-
const
|
|
3188
|
+
const de_Policies = (output, context) => {
|
|
3189
3189
|
const contents = {};
|
|
3190
3190
|
if (output.AppCookieStickinessPolicies === "") {
|
|
3191
3191
|
contents.AppCookieStickinessPolicies = [];
|
|
3192
3192
|
}
|
|
3193
3193
|
else if (output["AppCookieStickinessPolicies"] !== undefined &&
|
|
3194
3194
|
output["AppCookieStickinessPolicies"]["member"] !== undefined) {
|
|
3195
|
-
contents.AppCookieStickinessPolicies =
|
|
3195
|
+
contents.AppCookieStickinessPolicies = de_AppCookieStickinessPolicies((0, smithy_client_1.getArrayIfSingleItem)(output["AppCookieStickinessPolicies"]["member"]), context);
|
|
3196
3196
|
}
|
|
3197
3197
|
if (output.LBCookieStickinessPolicies === "") {
|
|
3198
3198
|
contents.LBCookieStickinessPolicies = [];
|
|
3199
3199
|
}
|
|
3200
3200
|
else if (output["LBCookieStickinessPolicies"] !== undefined &&
|
|
3201
3201
|
output["LBCookieStickinessPolicies"]["member"] !== undefined) {
|
|
3202
|
-
contents.LBCookieStickinessPolicies =
|
|
3202
|
+
contents.LBCookieStickinessPolicies = de_LBCookieStickinessPolicies((0, smithy_client_1.getArrayIfSingleItem)(output["LBCookieStickinessPolicies"]["member"]), context);
|
|
3203
3203
|
}
|
|
3204
3204
|
if (output.OtherPolicies === "") {
|
|
3205
3205
|
contents.OtherPolicies = [];
|
|
3206
3206
|
}
|
|
3207
3207
|
else if (output["OtherPolicies"] !== undefined && output["OtherPolicies"]["member"] !== undefined) {
|
|
3208
|
-
contents.OtherPolicies =
|
|
3208
|
+
contents.OtherPolicies = de_PolicyNames((0, smithy_client_1.getArrayIfSingleItem)(output["OtherPolicies"]["member"]), context);
|
|
3209
3209
|
}
|
|
3210
3210
|
return contents;
|
|
3211
3211
|
};
|
|
3212
|
-
const
|
|
3212
|
+
const de_PolicyAttributeDescription = (output, context) => {
|
|
3213
3213
|
const contents = {};
|
|
3214
3214
|
if (output["AttributeName"] !== undefined) {
|
|
3215
3215
|
contents.AttributeName = (0, smithy_client_1.expectString)(output["AttributeName"]);
|
|
@@ -3219,14 +3219,14 @@ const deserializeAws_queryPolicyAttributeDescription = (output, context) => {
|
|
|
3219
3219
|
}
|
|
3220
3220
|
return contents;
|
|
3221
3221
|
};
|
|
3222
|
-
const
|
|
3222
|
+
const de_PolicyAttributeDescriptions = (output, context) => {
|
|
3223
3223
|
return (output || [])
|
|
3224
3224
|
.filter((e) => e != null)
|
|
3225
3225
|
.map((entry) => {
|
|
3226
|
-
return
|
|
3226
|
+
return de_PolicyAttributeDescription(entry, context);
|
|
3227
3227
|
});
|
|
3228
3228
|
};
|
|
3229
|
-
const
|
|
3229
|
+
const de_PolicyAttributeTypeDescription = (output, context) => {
|
|
3230
3230
|
const contents = {};
|
|
3231
3231
|
if (output["AttributeName"] !== undefined) {
|
|
3232
3232
|
contents.AttributeName = (0, smithy_client_1.expectString)(output["AttributeName"]);
|
|
@@ -3245,14 +3245,14 @@ const deserializeAws_queryPolicyAttributeTypeDescription = (output, context) =>
|
|
|
3245
3245
|
}
|
|
3246
3246
|
return contents;
|
|
3247
3247
|
};
|
|
3248
|
-
const
|
|
3248
|
+
const de_PolicyAttributeTypeDescriptions = (output, context) => {
|
|
3249
3249
|
return (output || [])
|
|
3250
3250
|
.filter((e) => e != null)
|
|
3251
3251
|
.map((entry) => {
|
|
3252
|
-
return
|
|
3252
|
+
return de_PolicyAttributeTypeDescription(entry, context);
|
|
3253
3253
|
});
|
|
3254
3254
|
};
|
|
3255
|
-
const
|
|
3255
|
+
const de_PolicyDescription = (output, context) => {
|
|
3256
3256
|
const contents = {};
|
|
3257
3257
|
if (output["PolicyName"] !== undefined) {
|
|
3258
3258
|
contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
|
|
@@ -3265,32 +3265,32 @@ const deserializeAws_queryPolicyDescription = (output, context) => {
|
|
|
3265
3265
|
}
|
|
3266
3266
|
else if (output["PolicyAttributeDescriptions"] !== undefined &&
|
|
3267
3267
|
output["PolicyAttributeDescriptions"]["member"] !== undefined) {
|
|
3268
|
-
contents.PolicyAttributeDescriptions =
|
|
3268
|
+
contents.PolicyAttributeDescriptions = de_PolicyAttributeDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyAttributeDescriptions"]["member"]), context);
|
|
3269
3269
|
}
|
|
3270
3270
|
return contents;
|
|
3271
3271
|
};
|
|
3272
|
-
const
|
|
3272
|
+
const de_PolicyDescriptions = (output, context) => {
|
|
3273
3273
|
return (output || [])
|
|
3274
3274
|
.filter((e) => e != null)
|
|
3275
3275
|
.map((entry) => {
|
|
3276
|
-
return
|
|
3276
|
+
return de_PolicyDescription(entry, context);
|
|
3277
3277
|
});
|
|
3278
3278
|
};
|
|
3279
|
-
const
|
|
3279
|
+
const de_PolicyNames = (output, context) => {
|
|
3280
3280
|
return (output || [])
|
|
3281
3281
|
.filter((e) => e != null)
|
|
3282
3282
|
.map((entry) => {
|
|
3283
3283
|
return (0, smithy_client_1.expectString)(entry);
|
|
3284
3284
|
});
|
|
3285
3285
|
};
|
|
3286
|
-
const
|
|
3286
|
+
const de_PolicyNotFoundException = (output, context) => {
|
|
3287
3287
|
const contents = {};
|
|
3288
3288
|
if (output["Message"] !== undefined) {
|
|
3289
3289
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3290
3290
|
}
|
|
3291
3291
|
return contents;
|
|
3292
3292
|
};
|
|
3293
|
-
const
|
|
3293
|
+
const de_PolicyTypeDescription = (output, context) => {
|
|
3294
3294
|
const contents = {};
|
|
3295
3295
|
if (output["PolicyTypeName"] !== undefined) {
|
|
3296
3296
|
contents.PolicyTypeName = (0, smithy_client_1.expectString)(output["PolicyTypeName"]);
|
|
@@ -3303,68 +3303,68 @@ const deserializeAws_queryPolicyTypeDescription = (output, context) => {
|
|
|
3303
3303
|
}
|
|
3304
3304
|
else if (output["PolicyAttributeTypeDescriptions"] !== undefined &&
|
|
3305
3305
|
output["PolicyAttributeTypeDescriptions"]["member"] !== undefined) {
|
|
3306
|
-
contents.PolicyAttributeTypeDescriptions =
|
|
3306
|
+
contents.PolicyAttributeTypeDescriptions = de_PolicyAttributeTypeDescriptions((0, smithy_client_1.getArrayIfSingleItem)(output["PolicyAttributeTypeDescriptions"]["member"]), context);
|
|
3307
3307
|
}
|
|
3308
3308
|
return contents;
|
|
3309
3309
|
};
|
|
3310
|
-
const
|
|
3310
|
+
const de_PolicyTypeDescriptions = (output, context) => {
|
|
3311
3311
|
return (output || [])
|
|
3312
3312
|
.filter((e) => e != null)
|
|
3313
3313
|
.map((entry) => {
|
|
3314
|
-
return
|
|
3314
|
+
return de_PolicyTypeDescription(entry, context);
|
|
3315
3315
|
});
|
|
3316
3316
|
};
|
|
3317
|
-
const
|
|
3317
|
+
const de_PolicyTypeNotFoundException = (output, context) => {
|
|
3318
3318
|
const contents = {};
|
|
3319
3319
|
if (output["Message"] !== undefined) {
|
|
3320
3320
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3321
3321
|
}
|
|
3322
3322
|
return contents;
|
|
3323
3323
|
};
|
|
3324
|
-
const
|
|
3324
|
+
const de_RegisterEndPointsOutput = (output, context) => {
|
|
3325
3325
|
const contents = {};
|
|
3326
3326
|
if (output.Instances === "") {
|
|
3327
3327
|
contents.Instances = [];
|
|
3328
3328
|
}
|
|
3329
3329
|
else if (output["Instances"] !== undefined && output["Instances"]["member"] !== undefined) {
|
|
3330
|
-
contents.Instances =
|
|
3330
|
+
contents.Instances = de_Instances((0, smithy_client_1.getArrayIfSingleItem)(output["Instances"]["member"]), context);
|
|
3331
3331
|
}
|
|
3332
3332
|
return contents;
|
|
3333
3333
|
};
|
|
3334
|
-
const
|
|
3334
|
+
const de_RemoveAvailabilityZonesOutput = (output, context) => {
|
|
3335
3335
|
const contents = {};
|
|
3336
3336
|
if (output.AvailabilityZones === "") {
|
|
3337
3337
|
contents.AvailabilityZones = [];
|
|
3338
3338
|
}
|
|
3339
3339
|
else if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["member"] !== undefined) {
|
|
3340
|
-
contents.AvailabilityZones =
|
|
3340
|
+
contents.AvailabilityZones = de_AvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["member"]), context);
|
|
3341
3341
|
}
|
|
3342
3342
|
return contents;
|
|
3343
3343
|
};
|
|
3344
|
-
const
|
|
3344
|
+
const de_RemoveTagsOutput = (output, context) => {
|
|
3345
3345
|
const contents = {};
|
|
3346
3346
|
return contents;
|
|
3347
3347
|
};
|
|
3348
|
-
const
|
|
3348
|
+
const de_SecurityGroups = (output, context) => {
|
|
3349
3349
|
return (output || [])
|
|
3350
3350
|
.filter((e) => e != null)
|
|
3351
3351
|
.map((entry) => {
|
|
3352
3352
|
return (0, smithy_client_1.expectString)(entry);
|
|
3353
3353
|
});
|
|
3354
3354
|
};
|
|
3355
|
-
const
|
|
3355
|
+
const de_SetLoadBalancerListenerSSLCertificateOutput = (output, context) => {
|
|
3356
3356
|
const contents = {};
|
|
3357
3357
|
return contents;
|
|
3358
3358
|
};
|
|
3359
|
-
const
|
|
3359
|
+
const de_SetLoadBalancerPoliciesForBackendServerOutput = (output, context) => {
|
|
3360
3360
|
const contents = {};
|
|
3361
3361
|
return contents;
|
|
3362
3362
|
};
|
|
3363
|
-
const
|
|
3363
|
+
const de_SetLoadBalancerPoliciesOfListenerOutput = (output, context) => {
|
|
3364
3364
|
const contents = {};
|
|
3365
3365
|
return contents;
|
|
3366
3366
|
};
|
|
3367
|
-
const
|
|
3367
|
+
const de_SourceSecurityGroup = (output, context) => {
|
|
3368
3368
|
const contents = {};
|
|
3369
3369
|
if (output["OwnerAlias"] !== undefined) {
|
|
3370
3370
|
contents.OwnerAlias = (0, smithy_client_1.expectString)(output["OwnerAlias"]);
|
|
@@ -3374,21 +3374,21 @@ const deserializeAws_querySourceSecurityGroup = (output, context) => {
|
|
|
3374
3374
|
}
|
|
3375
3375
|
return contents;
|
|
3376
3376
|
};
|
|
3377
|
-
const
|
|
3377
|
+
const de_SubnetNotFoundException = (output, context) => {
|
|
3378
3378
|
const contents = {};
|
|
3379
3379
|
if (output["Message"] !== undefined) {
|
|
3380
3380
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3381
3381
|
}
|
|
3382
3382
|
return contents;
|
|
3383
3383
|
};
|
|
3384
|
-
const
|
|
3384
|
+
const de_Subnets = (output, context) => {
|
|
3385
3385
|
return (output || [])
|
|
3386
3386
|
.filter((e) => e != null)
|
|
3387
3387
|
.map((entry) => {
|
|
3388
3388
|
return (0, smithy_client_1.expectString)(entry);
|
|
3389
3389
|
});
|
|
3390
3390
|
};
|
|
3391
|
-
const
|
|
3391
|
+
const de_Tag = (output, context) => {
|
|
3392
3392
|
const contents = {};
|
|
3393
3393
|
if (output["Key"] !== undefined) {
|
|
3394
3394
|
contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
|
|
@@ -3398,7 +3398,7 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
3398
3398
|
}
|
|
3399
3399
|
return contents;
|
|
3400
3400
|
};
|
|
3401
|
-
const
|
|
3401
|
+
const de_TagDescription = (output, context) => {
|
|
3402
3402
|
const contents = {};
|
|
3403
3403
|
if (output["LoadBalancerName"] !== undefined) {
|
|
3404
3404
|
contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
|
|
@@ -3407,46 +3407,46 @@ const deserializeAws_queryTagDescription = (output, context) => {
|
|
|
3407
3407
|
contents.Tags = [];
|
|
3408
3408
|
}
|
|
3409
3409
|
else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
3410
|
-
contents.Tags =
|
|
3410
|
+
contents.Tags = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
3411
3411
|
}
|
|
3412
3412
|
return contents;
|
|
3413
3413
|
};
|
|
3414
|
-
const
|
|
3414
|
+
const de_TagDescriptions = (output, context) => {
|
|
3415
3415
|
return (output || [])
|
|
3416
3416
|
.filter((e) => e != null)
|
|
3417
3417
|
.map((entry) => {
|
|
3418
|
-
return
|
|
3418
|
+
return de_TagDescription(entry, context);
|
|
3419
3419
|
});
|
|
3420
3420
|
};
|
|
3421
|
-
const
|
|
3421
|
+
const de_TagList = (output, context) => {
|
|
3422
3422
|
return (output || [])
|
|
3423
3423
|
.filter((e) => e != null)
|
|
3424
3424
|
.map((entry) => {
|
|
3425
|
-
return
|
|
3425
|
+
return de_Tag(entry, context);
|
|
3426
3426
|
});
|
|
3427
3427
|
};
|
|
3428
|
-
const
|
|
3428
|
+
const de_TooManyAccessPointsException = (output, context) => {
|
|
3429
3429
|
const contents = {};
|
|
3430
3430
|
if (output["Message"] !== undefined) {
|
|
3431
3431
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3432
3432
|
}
|
|
3433
3433
|
return contents;
|
|
3434
3434
|
};
|
|
3435
|
-
const
|
|
3435
|
+
const de_TooManyPoliciesException = (output, context) => {
|
|
3436
3436
|
const contents = {};
|
|
3437
3437
|
if (output["Message"] !== undefined) {
|
|
3438
3438
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3439
3439
|
}
|
|
3440
3440
|
return contents;
|
|
3441
3441
|
};
|
|
3442
|
-
const
|
|
3442
|
+
const de_TooManyTagsException = (output, context) => {
|
|
3443
3443
|
const contents = {};
|
|
3444
3444
|
if (output["Message"] !== undefined) {
|
|
3445
3445
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3446
3446
|
}
|
|
3447
3447
|
return contents;
|
|
3448
3448
|
};
|
|
3449
|
-
const
|
|
3449
|
+
const de_UnsupportedProtocolException = (output, context) => {
|
|
3450
3450
|
const contents = {};
|
|
3451
3451
|
if (output["Message"] !== undefined) {
|
|
3452
3452
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|