@aws-sdk/client-global-accelerator 3.310.0 → 3.315.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/protocols/Aws_json1_1.js +448 -1599
- package/dist-es/protocols/Aws_json1_1.js +449 -1600
- package/package.json +6 -6
|
@@ -1,447 +1,300 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { GlobalAcceleratorServiceException as __BaseException } from "../models/GlobalAcceleratorServiceException";
|
|
5
5
|
import { AcceleratorNotDisabledException, AcceleratorNotFoundException, AccessDeniedException, AssociatedEndpointGroupFoundException, AssociatedListenerFoundException, ByoipCidrNotFoundException, ConflictException, EndpointAlreadyExistsException, EndpointGroupAlreadyExistsException, EndpointGroupNotFoundException, EndpointNotFoundException, IncorrectCidrStateException, InternalServiceErrorException, InvalidArgumentException, InvalidNextTokenException, InvalidPortRangeException, LimitExceededException, ListenerNotFoundException, TransactionInProgressException, } from "../models/models_0";
|
|
6
6
|
export const se_AddCustomRoutingEndpointsCommand = async (input, context) => {
|
|
7
|
-
const headers =
|
|
8
|
-
"content-type": "application/x-amz-json-1.1",
|
|
9
|
-
"x-amz-target": "GlobalAccelerator_V20180706.AddCustomRoutingEndpoints",
|
|
10
|
-
};
|
|
7
|
+
const headers = sharedHeaders("AddCustomRoutingEndpoints");
|
|
11
8
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
9
|
+
body = JSON.stringify(_json(input));
|
|
13
10
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
11
|
};
|
|
15
12
|
export const se_AddEndpointsCommand = async (input, context) => {
|
|
16
|
-
const headers =
|
|
17
|
-
"content-type": "application/x-amz-json-1.1",
|
|
18
|
-
"x-amz-target": "GlobalAccelerator_V20180706.AddEndpoints",
|
|
19
|
-
};
|
|
13
|
+
const headers = sharedHeaders("AddEndpoints");
|
|
20
14
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
15
|
+
body = JSON.stringify(_json(input));
|
|
22
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
17
|
};
|
|
24
18
|
export const se_AdvertiseByoipCidrCommand = async (input, context) => {
|
|
25
|
-
const headers =
|
|
26
|
-
"content-type": "application/x-amz-json-1.1",
|
|
27
|
-
"x-amz-target": "GlobalAccelerator_V20180706.AdvertiseByoipCidr",
|
|
28
|
-
};
|
|
19
|
+
const headers = sharedHeaders("AdvertiseByoipCidr");
|
|
29
20
|
let body;
|
|
30
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify(_json(input));
|
|
31
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
23
|
};
|
|
33
24
|
export const se_AllowCustomRoutingTrafficCommand = async (input, context) => {
|
|
34
|
-
const headers =
|
|
35
|
-
"content-type": "application/x-amz-json-1.1",
|
|
36
|
-
"x-amz-target": "GlobalAccelerator_V20180706.AllowCustomRoutingTraffic",
|
|
37
|
-
};
|
|
25
|
+
const headers = sharedHeaders("AllowCustomRoutingTraffic");
|
|
38
26
|
let body;
|
|
39
|
-
body = JSON.stringify(
|
|
27
|
+
body = JSON.stringify(_json(input));
|
|
40
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
29
|
};
|
|
42
30
|
export const se_CreateAcceleratorCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-amz-json-1.1",
|
|
45
|
-
"x-amz-target": "GlobalAccelerator_V20180706.CreateAccelerator",
|
|
46
|
-
};
|
|
31
|
+
const headers = sharedHeaders("CreateAccelerator");
|
|
47
32
|
let body;
|
|
48
33
|
body = JSON.stringify(se_CreateAcceleratorRequest(input, context));
|
|
49
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
35
|
};
|
|
51
36
|
export const se_CreateCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
52
|
-
const headers =
|
|
53
|
-
"content-type": "application/x-amz-json-1.1",
|
|
54
|
-
"x-amz-target": "GlobalAccelerator_V20180706.CreateCustomRoutingAccelerator",
|
|
55
|
-
};
|
|
37
|
+
const headers = sharedHeaders("CreateCustomRoutingAccelerator");
|
|
56
38
|
let body;
|
|
57
39
|
body = JSON.stringify(se_CreateCustomRoutingAcceleratorRequest(input, context));
|
|
58
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
41
|
};
|
|
60
42
|
export const se_CreateCustomRoutingEndpointGroupCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.1",
|
|
63
|
-
"x-amz-target": "GlobalAccelerator_V20180706.CreateCustomRoutingEndpointGroup",
|
|
64
|
-
};
|
|
43
|
+
const headers = sharedHeaders("CreateCustomRoutingEndpointGroup");
|
|
65
44
|
let body;
|
|
66
45
|
body = JSON.stringify(se_CreateCustomRoutingEndpointGroupRequest(input, context));
|
|
67
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
47
|
};
|
|
69
48
|
export const se_CreateCustomRoutingListenerCommand = async (input, context) => {
|
|
70
|
-
const headers =
|
|
71
|
-
"content-type": "application/x-amz-json-1.1",
|
|
72
|
-
"x-amz-target": "GlobalAccelerator_V20180706.CreateCustomRoutingListener",
|
|
73
|
-
};
|
|
49
|
+
const headers = sharedHeaders("CreateCustomRoutingListener");
|
|
74
50
|
let body;
|
|
75
51
|
body = JSON.stringify(se_CreateCustomRoutingListenerRequest(input, context));
|
|
76
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
53
|
};
|
|
78
54
|
export const se_CreateEndpointGroupCommand = async (input, context) => {
|
|
79
|
-
const headers =
|
|
80
|
-
"content-type": "application/x-amz-json-1.1",
|
|
81
|
-
"x-amz-target": "GlobalAccelerator_V20180706.CreateEndpointGroup",
|
|
82
|
-
};
|
|
55
|
+
const headers = sharedHeaders("CreateEndpointGroup");
|
|
83
56
|
let body;
|
|
84
57
|
body = JSON.stringify(se_CreateEndpointGroupRequest(input, context));
|
|
85
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
59
|
};
|
|
87
60
|
export const se_CreateListenerCommand = async (input, context) => {
|
|
88
|
-
const headers =
|
|
89
|
-
"content-type": "application/x-amz-json-1.1",
|
|
90
|
-
"x-amz-target": "GlobalAccelerator_V20180706.CreateListener",
|
|
91
|
-
};
|
|
61
|
+
const headers = sharedHeaders("CreateListener");
|
|
92
62
|
let body;
|
|
93
63
|
body = JSON.stringify(se_CreateListenerRequest(input, context));
|
|
94
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
65
|
};
|
|
96
66
|
export const se_DeleteAcceleratorCommand = async (input, context) => {
|
|
97
|
-
const headers =
|
|
98
|
-
"content-type": "application/x-amz-json-1.1",
|
|
99
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DeleteAccelerator",
|
|
100
|
-
};
|
|
67
|
+
const headers = sharedHeaders("DeleteAccelerator");
|
|
101
68
|
let body;
|
|
102
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify(_json(input));
|
|
103
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
104
71
|
};
|
|
105
72
|
export const se_DeleteCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
106
|
-
const headers =
|
|
107
|
-
"content-type": "application/x-amz-json-1.1",
|
|
108
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DeleteCustomRoutingAccelerator",
|
|
109
|
-
};
|
|
73
|
+
const headers = sharedHeaders("DeleteCustomRoutingAccelerator");
|
|
110
74
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(_json(input));
|
|
112
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
77
|
};
|
|
114
78
|
export const se_DeleteCustomRoutingEndpointGroupCommand = async (input, context) => {
|
|
115
|
-
const headers =
|
|
116
|
-
"content-type": "application/x-amz-json-1.1",
|
|
117
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DeleteCustomRoutingEndpointGroup",
|
|
118
|
-
};
|
|
79
|
+
const headers = sharedHeaders("DeleteCustomRoutingEndpointGroup");
|
|
119
80
|
let body;
|
|
120
|
-
body = JSON.stringify(
|
|
81
|
+
body = JSON.stringify(_json(input));
|
|
121
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
122
83
|
};
|
|
123
84
|
export const se_DeleteCustomRoutingListenerCommand = async (input, context) => {
|
|
124
|
-
const headers =
|
|
125
|
-
"content-type": "application/x-amz-json-1.1",
|
|
126
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DeleteCustomRoutingListener",
|
|
127
|
-
};
|
|
85
|
+
const headers = sharedHeaders("DeleteCustomRoutingListener");
|
|
128
86
|
let body;
|
|
129
|
-
body = JSON.stringify(
|
|
87
|
+
body = JSON.stringify(_json(input));
|
|
130
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
89
|
};
|
|
132
90
|
export const se_DeleteEndpointGroupCommand = async (input, context) => {
|
|
133
|
-
const headers =
|
|
134
|
-
"content-type": "application/x-amz-json-1.1",
|
|
135
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DeleteEndpointGroup",
|
|
136
|
-
};
|
|
91
|
+
const headers = sharedHeaders("DeleteEndpointGroup");
|
|
137
92
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
93
|
+
body = JSON.stringify(_json(input));
|
|
139
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
95
|
};
|
|
141
96
|
export const se_DeleteListenerCommand = async (input, context) => {
|
|
142
|
-
const headers =
|
|
143
|
-
"content-type": "application/x-amz-json-1.1",
|
|
144
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DeleteListener",
|
|
145
|
-
};
|
|
97
|
+
const headers = sharedHeaders("DeleteListener");
|
|
146
98
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
99
|
+
body = JSON.stringify(_json(input));
|
|
148
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
101
|
};
|
|
150
102
|
export const se_DenyCustomRoutingTrafficCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.1",
|
|
153
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DenyCustomRoutingTraffic",
|
|
154
|
-
};
|
|
103
|
+
const headers = sharedHeaders("DenyCustomRoutingTraffic");
|
|
155
104
|
let body;
|
|
156
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(_json(input));
|
|
157
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
107
|
};
|
|
159
108
|
export const se_DeprovisionByoipCidrCommand = async (input, context) => {
|
|
160
|
-
const headers =
|
|
161
|
-
"content-type": "application/x-amz-json-1.1",
|
|
162
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DeprovisionByoipCidr",
|
|
163
|
-
};
|
|
109
|
+
const headers = sharedHeaders("DeprovisionByoipCidr");
|
|
164
110
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify(_json(input));
|
|
166
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
113
|
};
|
|
168
114
|
export const se_DescribeAcceleratorCommand = async (input, context) => {
|
|
169
|
-
const headers =
|
|
170
|
-
"content-type": "application/x-amz-json-1.1",
|
|
171
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DescribeAccelerator",
|
|
172
|
-
};
|
|
115
|
+
const headers = sharedHeaders("DescribeAccelerator");
|
|
173
116
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify(_json(input));
|
|
175
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
119
|
};
|
|
177
120
|
export const se_DescribeAcceleratorAttributesCommand = async (input, context) => {
|
|
178
|
-
const headers =
|
|
179
|
-
"content-type": "application/x-amz-json-1.1",
|
|
180
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DescribeAcceleratorAttributes",
|
|
181
|
-
};
|
|
121
|
+
const headers = sharedHeaders("DescribeAcceleratorAttributes");
|
|
182
122
|
let body;
|
|
183
|
-
body = JSON.stringify(
|
|
123
|
+
body = JSON.stringify(_json(input));
|
|
184
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
125
|
};
|
|
186
126
|
export const se_DescribeCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
187
|
-
const headers =
|
|
188
|
-
"content-type": "application/x-amz-json-1.1",
|
|
189
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DescribeCustomRoutingAccelerator",
|
|
190
|
-
};
|
|
127
|
+
const headers = sharedHeaders("DescribeCustomRoutingAccelerator");
|
|
191
128
|
let body;
|
|
192
|
-
body = JSON.stringify(
|
|
129
|
+
body = JSON.stringify(_json(input));
|
|
193
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
194
131
|
};
|
|
195
132
|
export const se_DescribeCustomRoutingAcceleratorAttributesCommand = async (input, context) => {
|
|
196
|
-
const headers =
|
|
197
|
-
"content-type": "application/x-amz-json-1.1",
|
|
198
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DescribeCustomRoutingAcceleratorAttributes",
|
|
199
|
-
};
|
|
133
|
+
const headers = sharedHeaders("DescribeCustomRoutingAcceleratorAttributes");
|
|
200
134
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
135
|
+
body = JSON.stringify(_json(input));
|
|
202
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
137
|
};
|
|
204
138
|
export const se_DescribeCustomRoutingEndpointGroupCommand = async (input, context) => {
|
|
205
|
-
const headers =
|
|
206
|
-
"content-type": "application/x-amz-json-1.1",
|
|
207
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DescribeCustomRoutingEndpointGroup",
|
|
208
|
-
};
|
|
139
|
+
const headers = sharedHeaders("DescribeCustomRoutingEndpointGroup");
|
|
209
140
|
let body;
|
|
210
|
-
body = JSON.stringify(
|
|
141
|
+
body = JSON.stringify(_json(input));
|
|
211
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
143
|
};
|
|
213
144
|
export const se_DescribeCustomRoutingListenerCommand = async (input, context) => {
|
|
214
|
-
const headers =
|
|
215
|
-
"content-type": "application/x-amz-json-1.1",
|
|
216
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DescribeCustomRoutingListener",
|
|
217
|
-
};
|
|
145
|
+
const headers = sharedHeaders("DescribeCustomRoutingListener");
|
|
218
146
|
let body;
|
|
219
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify(_json(input));
|
|
220
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
149
|
};
|
|
222
150
|
export const se_DescribeEndpointGroupCommand = async (input, context) => {
|
|
223
|
-
const headers =
|
|
224
|
-
"content-type": "application/x-amz-json-1.1",
|
|
225
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DescribeEndpointGroup",
|
|
226
|
-
};
|
|
151
|
+
const headers = sharedHeaders("DescribeEndpointGroup");
|
|
227
152
|
let body;
|
|
228
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify(_json(input));
|
|
229
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
230
155
|
};
|
|
231
156
|
export const se_DescribeListenerCommand = async (input, context) => {
|
|
232
|
-
const headers =
|
|
233
|
-
"content-type": "application/x-amz-json-1.1",
|
|
234
|
-
"x-amz-target": "GlobalAccelerator_V20180706.DescribeListener",
|
|
235
|
-
};
|
|
157
|
+
const headers = sharedHeaders("DescribeListener");
|
|
236
158
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify(_json(input));
|
|
238
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
161
|
};
|
|
240
162
|
export const se_ListAcceleratorsCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.1",
|
|
243
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListAccelerators",
|
|
244
|
-
};
|
|
163
|
+
const headers = sharedHeaders("ListAccelerators");
|
|
245
164
|
let body;
|
|
246
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(_json(input));
|
|
247
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
167
|
};
|
|
249
168
|
export const se_ListByoipCidrsCommand = async (input, context) => {
|
|
250
|
-
const headers =
|
|
251
|
-
"content-type": "application/x-amz-json-1.1",
|
|
252
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListByoipCidrs",
|
|
253
|
-
};
|
|
169
|
+
const headers = sharedHeaders("ListByoipCidrs");
|
|
254
170
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
171
|
+
body = JSON.stringify(_json(input));
|
|
256
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
173
|
};
|
|
258
174
|
export const se_ListCustomRoutingAcceleratorsCommand = async (input, context) => {
|
|
259
|
-
const headers =
|
|
260
|
-
"content-type": "application/x-amz-json-1.1",
|
|
261
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingAccelerators",
|
|
262
|
-
};
|
|
175
|
+
const headers = sharedHeaders("ListCustomRoutingAccelerators");
|
|
263
176
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
177
|
+
body = JSON.stringify(_json(input));
|
|
265
178
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
179
|
};
|
|
267
180
|
export const se_ListCustomRoutingEndpointGroupsCommand = async (input, context) => {
|
|
268
|
-
const headers =
|
|
269
|
-
"content-type": "application/x-amz-json-1.1",
|
|
270
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingEndpointGroups",
|
|
271
|
-
};
|
|
181
|
+
const headers = sharedHeaders("ListCustomRoutingEndpointGroups");
|
|
272
182
|
let body;
|
|
273
|
-
body = JSON.stringify(
|
|
183
|
+
body = JSON.stringify(_json(input));
|
|
274
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
185
|
};
|
|
276
186
|
export const se_ListCustomRoutingListenersCommand = async (input, context) => {
|
|
277
|
-
const headers =
|
|
278
|
-
"content-type": "application/x-amz-json-1.1",
|
|
279
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingListeners",
|
|
280
|
-
};
|
|
187
|
+
const headers = sharedHeaders("ListCustomRoutingListeners");
|
|
281
188
|
let body;
|
|
282
|
-
body = JSON.stringify(
|
|
189
|
+
body = JSON.stringify(_json(input));
|
|
283
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
284
191
|
};
|
|
285
192
|
export const se_ListCustomRoutingPortMappingsCommand = async (input, context) => {
|
|
286
|
-
const headers =
|
|
287
|
-
"content-type": "application/x-amz-json-1.1",
|
|
288
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingPortMappings",
|
|
289
|
-
};
|
|
193
|
+
const headers = sharedHeaders("ListCustomRoutingPortMappings");
|
|
290
194
|
let body;
|
|
291
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(_json(input));
|
|
292
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
197
|
};
|
|
294
198
|
export const se_ListCustomRoutingPortMappingsByDestinationCommand = async (input, context) => {
|
|
295
|
-
const headers =
|
|
296
|
-
"content-type": "application/x-amz-json-1.1",
|
|
297
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingPortMappingsByDestination",
|
|
298
|
-
};
|
|
199
|
+
const headers = sharedHeaders("ListCustomRoutingPortMappingsByDestination");
|
|
299
200
|
let body;
|
|
300
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify(_json(input));
|
|
301
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
203
|
};
|
|
303
204
|
export const se_ListEndpointGroupsCommand = async (input, context) => {
|
|
304
|
-
const headers =
|
|
305
|
-
"content-type": "application/x-amz-json-1.1",
|
|
306
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListEndpointGroups",
|
|
307
|
-
};
|
|
205
|
+
const headers = sharedHeaders("ListEndpointGroups");
|
|
308
206
|
let body;
|
|
309
|
-
body = JSON.stringify(
|
|
207
|
+
body = JSON.stringify(_json(input));
|
|
310
208
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
209
|
};
|
|
312
210
|
export const se_ListListenersCommand = async (input, context) => {
|
|
313
|
-
const headers =
|
|
314
|
-
"content-type": "application/x-amz-json-1.1",
|
|
315
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListListeners",
|
|
316
|
-
};
|
|
211
|
+
const headers = sharedHeaders("ListListeners");
|
|
317
212
|
let body;
|
|
318
|
-
body = JSON.stringify(
|
|
213
|
+
body = JSON.stringify(_json(input));
|
|
319
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
320
215
|
};
|
|
321
216
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
322
|
-
const headers =
|
|
323
|
-
"content-type": "application/x-amz-json-1.1",
|
|
324
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ListTagsForResource",
|
|
325
|
-
};
|
|
217
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
326
218
|
let body;
|
|
327
|
-
body = JSON.stringify(
|
|
219
|
+
body = JSON.stringify(_json(input));
|
|
328
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
221
|
};
|
|
330
222
|
export const se_ProvisionByoipCidrCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-amz-json-1.1",
|
|
333
|
-
"x-amz-target": "GlobalAccelerator_V20180706.ProvisionByoipCidr",
|
|
334
|
-
};
|
|
223
|
+
const headers = sharedHeaders("ProvisionByoipCidr");
|
|
335
224
|
let body;
|
|
336
|
-
body = JSON.stringify(
|
|
225
|
+
body = JSON.stringify(_json(input));
|
|
337
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
227
|
};
|
|
339
228
|
export const se_RemoveCustomRoutingEndpointsCommand = async (input, context) => {
|
|
340
|
-
const headers =
|
|
341
|
-
"content-type": "application/x-amz-json-1.1",
|
|
342
|
-
"x-amz-target": "GlobalAccelerator_V20180706.RemoveCustomRoutingEndpoints",
|
|
343
|
-
};
|
|
229
|
+
const headers = sharedHeaders("RemoveCustomRoutingEndpoints");
|
|
344
230
|
let body;
|
|
345
|
-
body = JSON.stringify(
|
|
231
|
+
body = JSON.stringify(_json(input));
|
|
346
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
233
|
};
|
|
348
234
|
export const se_RemoveEndpointsCommand = async (input, context) => {
|
|
349
|
-
const headers =
|
|
350
|
-
"content-type": "application/x-amz-json-1.1",
|
|
351
|
-
"x-amz-target": "GlobalAccelerator_V20180706.RemoveEndpoints",
|
|
352
|
-
};
|
|
235
|
+
const headers = sharedHeaders("RemoveEndpoints");
|
|
353
236
|
let body;
|
|
354
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify(_json(input));
|
|
355
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
356
239
|
};
|
|
357
240
|
export const se_TagResourceCommand = async (input, context) => {
|
|
358
|
-
const headers =
|
|
359
|
-
"content-type": "application/x-amz-json-1.1",
|
|
360
|
-
"x-amz-target": "GlobalAccelerator_V20180706.TagResource",
|
|
361
|
-
};
|
|
241
|
+
const headers = sharedHeaders("TagResource");
|
|
362
242
|
let body;
|
|
363
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify(_json(input));
|
|
364
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
245
|
};
|
|
366
246
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
367
|
-
const headers =
|
|
368
|
-
"content-type": "application/x-amz-json-1.1",
|
|
369
|
-
"x-amz-target": "GlobalAccelerator_V20180706.UntagResource",
|
|
370
|
-
};
|
|
247
|
+
const headers = sharedHeaders("UntagResource");
|
|
371
248
|
let body;
|
|
372
|
-
body = JSON.stringify(
|
|
249
|
+
body = JSON.stringify(_json(input));
|
|
373
250
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
374
251
|
};
|
|
375
252
|
export const se_UpdateAcceleratorCommand = async (input, context) => {
|
|
376
|
-
const headers =
|
|
377
|
-
"content-type": "application/x-amz-json-1.1",
|
|
378
|
-
"x-amz-target": "GlobalAccelerator_V20180706.UpdateAccelerator",
|
|
379
|
-
};
|
|
253
|
+
const headers = sharedHeaders("UpdateAccelerator");
|
|
380
254
|
let body;
|
|
381
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(_json(input));
|
|
382
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
257
|
};
|
|
384
258
|
export const se_UpdateAcceleratorAttributesCommand = async (input, context) => {
|
|
385
|
-
const headers =
|
|
386
|
-
"content-type": "application/x-amz-json-1.1",
|
|
387
|
-
"x-amz-target": "GlobalAccelerator_V20180706.UpdateAcceleratorAttributes",
|
|
388
|
-
};
|
|
259
|
+
const headers = sharedHeaders("UpdateAcceleratorAttributes");
|
|
389
260
|
let body;
|
|
390
|
-
body = JSON.stringify(
|
|
261
|
+
body = JSON.stringify(_json(input));
|
|
391
262
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
392
263
|
};
|
|
393
264
|
export const se_UpdateCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
394
|
-
const headers =
|
|
395
|
-
"content-type": "application/x-amz-json-1.1",
|
|
396
|
-
"x-amz-target": "GlobalAccelerator_V20180706.UpdateCustomRoutingAccelerator",
|
|
397
|
-
};
|
|
265
|
+
const headers = sharedHeaders("UpdateCustomRoutingAccelerator");
|
|
398
266
|
let body;
|
|
399
|
-
body = JSON.stringify(
|
|
267
|
+
body = JSON.stringify(_json(input));
|
|
400
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
269
|
};
|
|
402
270
|
export const se_UpdateCustomRoutingAcceleratorAttributesCommand = async (input, context) => {
|
|
403
|
-
const headers =
|
|
404
|
-
"content-type": "application/x-amz-json-1.1",
|
|
405
|
-
"x-amz-target": "GlobalAccelerator_V20180706.UpdateCustomRoutingAcceleratorAttributes",
|
|
406
|
-
};
|
|
271
|
+
const headers = sharedHeaders("UpdateCustomRoutingAcceleratorAttributes");
|
|
407
272
|
let body;
|
|
408
|
-
body = JSON.stringify(
|
|
273
|
+
body = JSON.stringify(_json(input));
|
|
409
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
410
275
|
};
|
|
411
276
|
export const se_UpdateCustomRoutingListenerCommand = async (input, context) => {
|
|
412
|
-
const headers =
|
|
413
|
-
"content-type": "application/x-amz-json-1.1",
|
|
414
|
-
"x-amz-target": "GlobalAccelerator_V20180706.UpdateCustomRoutingListener",
|
|
415
|
-
};
|
|
277
|
+
const headers = sharedHeaders("UpdateCustomRoutingListener");
|
|
416
278
|
let body;
|
|
417
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify(_json(input));
|
|
418
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
281
|
};
|
|
420
282
|
export const se_UpdateEndpointGroupCommand = async (input, context) => {
|
|
421
|
-
const headers =
|
|
422
|
-
"content-type": "application/x-amz-json-1.1",
|
|
423
|
-
"x-amz-target": "GlobalAccelerator_V20180706.UpdateEndpointGroup",
|
|
424
|
-
};
|
|
283
|
+
const headers = sharedHeaders("UpdateEndpointGroup");
|
|
425
284
|
let body;
|
|
426
285
|
body = JSON.stringify(se_UpdateEndpointGroupRequest(input, context));
|
|
427
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
428
287
|
};
|
|
429
288
|
export const se_UpdateListenerCommand = async (input, context) => {
|
|
430
|
-
const headers =
|
|
431
|
-
"content-type": "application/x-amz-json-1.1",
|
|
432
|
-
"x-amz-target": "GlobalAccelerator_V20180706.UpdateListener",
|
|
433
|
-
};
|
|
289
|
+
const headers = sharedHeaders("UpdateListener");
|
|
434
290
|
let body;
|
|
435
|
-
body = JSON.stringify(
|
|
291
|
+
body = JSON.stringify(_json(input));
|
|
436
292
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
293
|
};
|
|
438
294
|
export const se_WithdrawByoipCidrCommand = async (input, context) => {
|
|
439
|
-
const headers =
|
|
440
|
-
"content-type": "application/x-amz-json-1.1",
|
|
441
|
-
"x-amz-target": "GlobalAccelerator_V20180706.WithdrawByoipCidr",
|
|
442
|
-
};
|
|
295
|
+
const headers = sharedHeaders("WithdrawByoipCidr");
|
|
443
296
|
let body;
|
|
444
|
-
body = JSON.stringify(
|
|
297
|
+
body = JSON.stringify(_json(input));
|
|
445
298
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
446
299
|
};
|
|
447
300
|
export const de_AddCustomRoutingEndpointsCommand = async (output, context) => {
|
|
@@ -450,12 +303,12 @@ export const de_AddCustomRoutingEndpointsCommand = async (output, context) => {
|
|
|
450
303
|
}
|
|
451
304
|
const data = await parseBody(output.body, context);
|
|
452
305
|
let contents = {};
|
|
453
|
-
contents =
|
|
306
|
+
contents = _json(data);
|
|
454
307
|
const response = {
|
|
455
308
|
$metadata: deserializeMetadata(output),
|
|
456
309
|
...contents,
|
|
457
310
|
};
|
|
458
|
-
return
|
|
311
|
+
return response;
|
|
459
312
|
};
|
|
460
313
|
const de_AddCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
461
314
|
const parsedOutput = {
|
|
@@ -487,10 +340,9 @@ const de_AddCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
|
487
340
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
488
341
|
default:
|
|
489
342
|
const parsedBody = parsedOutput.body;
|
|
490
|
-
throwDefaultError({
|
|
343
|
+
return throwDefaultError({
|
|
491
344
|
output,
|
|
492
345
|
parsedBody,
|
|
493
|
-
exceptionCtor: __BaseException,
|
|
494
346
|
errorCode,
|
|
495
347
|
});
|
|
496
348
|
}
|
|
@@ -501,12 +353,12 @@ export const de_AddEndpointsCommand = async (output, context) => {
|
|
|
501
353
|
}
|
|
502
354
|
const data = await parseBody(output.body, context);
|
|
503
355
|
let contents = {};
|
|
504
|
-
contents =
|
|
356
|
+
contents = _json(data);
|
|
505
357
|
const response = {
|
|
506
358
|
$metadata: deserializeMetadata(output),
|
|
507
359
|
...contents,
|
|
508
360
|
};
|
|
509
|
-
return
|
|
361
|
+
return response;
|
|
510
362
|
};
|
|
511
363
|
const de_AddEndpointsCommandError = async (output, context) => {
|
|
512
364
|
const parsedOutput = {
|
|
@@ -535,10 +387,9 @@ const de_AddEndpointsCommandError = async (output, context) => {
|
|
|
535
387
|
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
536
388
|
default:
|
|
537
389
|
const parsedBody = parsedOutput.body;
|
|
538
|
-
throwDefaultError({
|
|
390
|
+
return throwDefaultError({
|
|
539
391
|
output,
|
|
540
392
|
parsedBody,
|
|
541
|
-
exceptionCtor: __BaseException,
|
|
542
393
|
errorCode,
|
|
543
394
|
});
|
|
544
395
|
}
|
|
@@ -554,7 +405,7 @@ export const de_AdvertiseByoipCidrCommand = async (output, context) => {
|
|
|
554
405
|
$metadata: deserializeMetadata(output),
|
|
555
406
|
...contents,
|
|
556
407
|
};
|
|
557
|
-
return
|
|
408
|
+
return response;
|
|
558
409
|
};
|
|
559
410
|
const de_AdvertiseByoipCidrCommandError = async (output, context) => {
|
|
560
411
|
const parsedOutput = {
|
|
@@ -580,10 +431,9 @@ const de_AdvertiseByoipCidrCommandError = async (output, context) => {
|
|
|
580
431
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
581
432
|
default:
|
|
582
433
|
const parsedBody = parsedOutput.body;
|
|
583
|
-
throwDefaultError({
|
|
434
|
+
return throwDefaultError({
|
|
584
435
|
output,
|
|
585
436
|
parsedBody,
|
|
586
|
-
exceptionCtor: __BaseException,
|
|
587
437
|
errorCode,
|
|
588
438
|
});
|
|
589
439
|
}
|
|
@@ -596,7 +446,7 @@ export const de_AllowCustomRoutingTrafficCommand = async (output, context) => {
|
|
|
596
446
|
const response = {
|
|
597
447
|
$metadata: deserializeMetadata(output),
|
|
598
448
|
};
|
|
599
|
-
return
|
|
449
|
+
return response;
|
|
600
450
|
};
|
|
601
451
|
const de_AllowCustomRoutingTrafficCommandError = async (output, context) => {
|
|
602
452
|
const parsedOutput = {
|
|
@@ -616,10 +466,9 @@ const de_AllowCustomRoutingTrafficCommandError = async (output, context) => {
|
|
|
616
466
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
617
467
|
default:
|
|
618
468
|
const parsedBody = parsedOutput.body;
|
|
619
|
-
throwDefaultError({
|
|
469
|
+
return throwDefaultError({
|
|
620
470
|
output,
|
|
621
471
|
parsedBody,
|
|
622
|
-
exceptionCtor: __BaseException,
|
|
623
472
|
errorCode,
|
|
624
473
|
});
|
|
625
474
|
}
|
|
@@ -635,7 +484,7 @@ export const de_CreateAcceleratorCommand = async (output, context) => {
|
|
|
635
484
|
$metadata: deserializeMetadata(output),
|
|
636
485
|
...contents,
|
|
637
486
|
};
|
|
638
|
-
return
|
|
487
|
+
return response;
|
|
639
488
|
};
|
|
640
489
|
const de_CreateAcceleratorCommandError = async (output, context) => {
|
|
641
490
|
const parsedOutput = {
|
|
@@ -655,10 +504,9 @@ const de_CreateAcceleratorCommandError = async (output, context) => {
|
|
|
655
504
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
656
505
|
default:
|
|
657
506
|
const parsedBody = parsedOutput.body;
|
|
658
|
-
throwDefaultError({
|
|
507
|
+
return throwDefaultError({
|
|
659
508
|
output,
|
|
660
509
|
parsedBody,
|
|
661
|
-
exceptionCtor: __BaseException,
|
|
662
510
|
errorCode,
|
|
663
511
|
});
|
|
664
512
|
}
|
|
@@ -674,7 +522,7 @@ export const de_CreateCustomRoutingAcceleratorCommand = async (output, context)
|
|
|
674
522
|
$metadata: deserializeMetadata(output),
|
|
675
523
|
...contents,
|
|
676
524
|
};
|
|
677
|
-
return
|
|
525
|
+
return response;
|
|
678
526
|
};
|
|
679
527
|
const de_CreateCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
680
528
|
const parsedOutput = {
|
|
@@ -697,10 +545,9 @@ const de_CreateCustomRoutingAcceleratorCommandError = async (output, context) =>
|
|
|
697
545
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
698
546
|
default:
|
|
699
547
|
const parsedBody = parsedOutput.body;
|
|
700
|
-
throwDefaultError({
|
|
548
|
+
return throwDefaultError({
|
|
701
549
|
output,
|
|
702
550
|
parsedBody,
|
|
703
|
-
exceptionCtor: __BaseException,
|
|
704
551
|
errorCode,
|
|
705
552
|
});
|
|
706
553
|
}
|
|
@@ -711,12 +558,12 @@ export const de_CreateCustomRoutingEndpointGroupCommand = async (output, context
|
|
|
711
558
|
}
|
|
712
559
|
const data = await parseBody(output.body, context);
|
|
713
560
|
let contents = {};
|
|
714
|
-
contents =
|
|
561
|
+
contents = _json(data);
|
|
715
562
|
const response = {
|
|
716
563
|
$metadata: deserializeMetadata(output),
|
|
717
564
|
...contents,
|
|
718
565
|
};
|
|
719
|
-
return
|
|
566
|
+
return response;
|
|
720
567
|
};
|
|
721
568
|
const de_CreateCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
722
569
|
const parsedOutput = {
|
|
@@ -751,10 +598,9 @@ const de_CreateCustomRoutingEndpointGroupCommandError = async (output, context)
|
|
|
751
598
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
752
599
|
default:
|
|
753
600
|
const parsedBody = parsedOutput.body;
|
|
754
|
-
throwDefaultError({
|
|
601
|
+
return throwDefaultError({
|
|
755
602
|
output,
|
|
756
603
|
parsedBody,
|
|
757
|
-
exceptionCtor: __BaseException,
|
|
758
604
|
errorCode,
|
|
759
605
|
});
|
|
760
606
|
}
|
|
@@ -765,12 +611,12 @@ export const de_CreateCustomRoutingListenerCommand = async (output, context) =>
|
|
|
765
611
|
}
|
|
766
612
|
const data = await parseBody(output.body, context);
|
|
767
613
|
let contents = {};
|
|
768
|
-
contents =
|
|
614
|
+
contents = _json(data);
|
|
769
615
|
const response = {
|
|
770
616
|
$metadata: deserializeMetadata(output),
|
|
771
617
|
...contents,
|
|
772
618
|
};
|
|
773
|
-
return
|
|
619
|
+
return response;
|
|
774
620
|
};
|
|
775
621
|
const de_CreateCustomRoutingListenerCommandError = async (output, context) => {
|
|
776
622
|
const parsedOutput = {
|
|
@@ -796,10 +642,9 @@ const de_CreateCustomRoutingListenerCommandError = async (output, context) => {
|
|
|
796
642
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
797
643
|
default:
|
|
798
644
|
const parsedBody = parsedOutput.body;
|
|
799
|
-
throwDefaultError({
|
|
645
|
+
return throwDefaultError({
|
|
800
646
|
output,
|
|
801
647
|
parsedBody,
|
|
802
|
-
exceptionCtor: __BaseException,
|
|
803
648
|
errorCode,
|
|
804
649
|
});
|
|
805
650
|
}
|
|
@@ -815,7 +660,7 @@ export const de_CreateEndpointGroupCommand = async (output, context) => {
|
|
|
815
660
|
$metadata: deserializeMetadata(output),
|
|
816
661
|
...contents,
|
|
817
662
|
};
|
|
818
|
-
return
|
|
663
|
+
return response;
|
|
819
664
|
};
|
|
820
665
|
const de_CreateEndpointGroupCommandError = async (output, context) => {
|
|
821
666
|
const parsedOutput = {
|
|
@@ -847,10 +692,9 @@ const de_CreateEndpointGroupCommandError = async (output, context) => {
|
|
|
847
692
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
848
693
|
default:
|
|
849
694
|
const parsedBody = parsedOutput.body;
|
|
850
|
-
throwDefaultError({
|
|
695
|
+
return throwDefaultError({
|
|
851
696
|
output,
|
|
852
697
|
parsedBody,
|
|
853
|
-
exceptionCtor: __BaseException,
|
|
854
698
|
errorCode,
|
|
855
699
|
});
|
|
856
700
|
}
|
|
@@ -861,12 +705,12 @@ export const de_CreateListenerCommand = async (output, context) => {
|
|
|
861
705
|
}
|
|
862
706
|
const data = await parseBody(output.body, context);
|
|
863
707
|
let contents = {};
|
|
864
|
-
contents =
|
|
708
|
+
contents = _json(data);
|
|
865
709
|
const response = {
|
|
866
710
|
$metadata: deserializeMetadata(output),
|
|
867
711
|
...contents,
|
|
868
712
|
};
|
|
869
|
-
return
|
|
713
|
+
return response;
|
|
870
714
|
};
|
|
871
715
|
const de_CreateListenerCommandError = async (output, context) => {
|
|
872
716
|
const parsedOutput = {
|
|
@@ -892,10 +736,9 @@ const de_CreateListenerCommandError = async (output, context) => {
|
|
|
892
736
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
893
737
|
default:
|
|
894
738
|
const parsedBody = parsedOutput.body;
|
|
895
|
-
throwDefaultError({
|
|
739
|
+
return throwDefaultError({
|
|
896
740
|
output,
|
|
897
741
|
parsedBody,
|
|
898
|
-
exceptionCtor: __BaseException,
|
|
899
742
|
errorCode,
|
|
900
743
|
});
|
|
901
744
|
}
|
|
@@ -908,7 +751,7 @@ export const de_DeleteAcceleratorCommand = async (output, context) => {
|
|
|
908
751
|
const response = {
|
|
909
752
|
$metadata: deserializeMetadata(output),
|
|
910
753
|
};
|
|
911
|
-
return
|
|
754
|
+
return response;
|
|
912
755
|
};
|
|
913
756
|
const de_DeleteAcceleratorCommandError = async (output, context) => {
|
|
914
757
|
const parsedOutput = {
|
|
@@ -934,10 +777,9 @@ const de_DeleteAcceleratorCommandError = async (output, context) => {
|
|
|
934
777
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
935
778
|
default:
|
|
936
779
|
const parsedBody = parsedOutput.body;
|
|
937
|
-
throwDefaultError({
|
|
780
|
+
return throwDefaultError({
|
|
938
781
|
output,
|
|
939
782
|
parsedBody,
|
|
940
|
-
exceptionCtor: __BaseException,
|
|
941
783
|
errorCode,
|
|
942
784
|
});
|
|
943
785
|
}
|
|
@@ -950,7 +792,7 @@ export const de_DeleteCustomRoutingAcceleratorCommand = async (output, context)
|
|
|
950
792
|
const response = {
|
|
951
793
|
$metadata: deserializeMetadata(output),
|
|
952
794
|
};
|
|
953
|
-
return
|
|
795
|
+
return response;
|
|
954
796
|
};
|
|
955
797
|
const de_DeleteCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
956
798
|
const parsedOutput = {
|
|
@@ -976,10 +818,9 @@ const de_DeleteCustomRoutingAcceleratorCommandError = async (output, context) =>
|
|
|
976
818
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
977
819
|
default:
|
|
978
820
|
const parsedBody = parsedOutput.body;
|
|
979
|
-
throwDefaultError({
|
|
821
|
+
return throwDefaultError({
|
|
980
822
|
output,
|
|
981
823
|
parsedBody,
|
|
982
|
-
exceptionCtor: __BaseException,
|
|
983
824
|
errorCode,
|
|
984
825
|
});
|
|
985
826
|
}
|
|
@@ -992,7 +833,7 @@ export const de_DeleteCustomRoutingEndpointGroupCommand = async (output, context
|
|
|
992
833
|
const response = {
|
|
993
834
|
$metadata: deserializeMetadata(output),
|
|
994
835
|
};
|
|
995
|
-
return
|
|
836
|
+
return response;
|
|
996
837
|
};
|
|
997
838
|
const de_DeleteCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
998
839
|
const parsedOutput = {
|
|
@@ -1012,10 +853,9 @@ const de_DeleteCustomRoutingEndpointGroupCommandError = async (output, context)
|
|
|
1012
853
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1013
854
|
default:
|
|
1014
855
|
const parsedBody = parsedOutput.body;
|
|
1015
|
-
throwDefaultError({
|
|
856
|
+
return throwDefaultError({
|
|
1016
857
|
output,
|
|
1017
858
|
parsedBody,
|
|
1018
|
-
exceptionCtor: __BaseException,
|
|
1019
859
|
errorCode,
|
|
1020
860
|
});
|
|
1021
861
|
}
|
|
@@ -1028,7 +868,7 @@ export const de_DeleteCustomRoutingListenerCommand = async (output, context) =>
|
|
|
1028
868
|
const response = {
|
|
1029
869
|
$metadata: deserializeMetadata(output),
|
|
1030
870
|
};
|
|
1031
|
-
return
|
|
871
|
+
return response;
|
|
1032
872
|
};
|
|
1033
873
|
const de_DeleteCustomRoutingListenerCommandError = async (output, context) => {
|
|
1034
874
|
const parsedOutput = {
|
|
@@ -1051,10 +891,9 @@ const de_DeleteCustomRoutingListenerCommandError = async (output, context) => {
|
|
|
1051
891
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1052
892
|
default:
|
|
1053
893
|
const parsedBody = parsedOutput.body;
|
|
1054
|
-
throwDefaultError({
|
|
894
|
+
return throwDefaultError({
|
|
1055
895
|
output,
|
|
1056
896
|
parsedBody,
|
|
1057
|
-
exceptionCtor: __BaseException,
|
|
1058
897
|
errorCode,
|
|
1059
898
|
});
|
|
1060
899
|
}
|
|
@@ -1067,7 +906,7 @@ export const de_DeleteEndpointGroupCommand = async (output, context) => {
|
|
|
1067
906
|
const response = {
|
|
1068
907
|
$metadata: deserializeMetadata(output),
|
|
1069
908
|
};
|
|
1070
|
-
return
|
|
909
|
+
return response;
|
|
1071
910
|
};
|
|
1072
911
|
const de_DeleteEndpointGroupCommandError = async (output, context) => {
|
|
1073
912
|
const parsedOutput = {
|
|
@@ -1087,10 +926,9 @@ const de_DeleteEndpointGroupCommandError = async (output, context) => {
|
|
|
1087
926
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1088
927
|
default:
|
|
1089
928
|
const parsedBody = parsedOutput.body;
|
|
1090
|
-
throwDefaultError({
|
|
929
|
+
return throwDefaultError({
|
|
1091
930
|
output,
|
|
1092
931
|
parsedBody,
|
|
1093
|
-
exceptionCtor: __BaseException,
|
|
1094
932
|
errorCode,
|
|
1095
933
|
});
|
|
1096
934
|
}
|
|
@@ -1103,7 +941,7 @@ export const de_DeleteListenerCommand = async (output, context) => {
|
|
|
1103
941
|
const response = {
|
|
1104
942
|
$metadata: deserializeMetadata(output),
|
|
1105
943
|
};
|
|
1106
|
-
return
|
|
944
|
+
return response;
|
|
1107
945
|
};
|
|
1108
946
|
const de_DeleteListenerCommandError = async (output, context) => {
|
|
1109
947
|
const parsedOutput = {
|
|
@@ -1126,10 +964,9 @@ const de_DeleteListenerCommandError = async (output, context) => {
|
|
|
1126
964
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1127
965
|
default:
|
|
1128
966
|
const parsedBody = parsedOutput.body;
|
|
1129
|
-
throwDefaultError({
|
|
967
|
+
return throwDefaultError({
|
|
1130
968
|
output,
|
|
1131
969
|
parsedBody,
|
|
1132
|
-
exceptionCtor: __BaseException,
|
|
1133
970
|
errorCode,
|
|
1134
971
|
});
|
|
1135
972
|
}
|
|
@@ -1142,7 +979,7 @@ export const de_DenyCustomRoutingTrafficCommand = async (output, context) => {
|
|
|
1142
979
|
const response = {
|
|
1143
980
|
$metadata: deserializeMetadata(output),
|
|
1144
981
|
};
|
|
1145
|
-
return
|
|
982
|
+
return response;
|
|
1146
983
|
};
|
|
1147
984
|
const de_DenyCustomRoutingTrafficCommandError = async (output, context) => {
|
|
1148
985
|
const parsedOutput = {
|
|
@@ -1162,10 +999,9 @@ const de_DenyCustomRoutingTrafficCommandError = async (output, context) => {
|
|
|
1162
999
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1163
1000
|
default:
|
|
1164
1001
|
const parsedBody = parsedOutput.body;
|
|
1165
|
-
throwDefaultError({
|
|
1002
|
+
return throwDefaultError({
|
|
1166
1003
|
output,
|
|
1167
1004
|
parsedBody,
|
|
1168
|
-
exceptionCtor: __BaseException,
|
|
1169
1005
|
errorCode,
|
|
1170
1006
|
});
|
|
1171
1007
|
}
|
|
@@ -1181,7 +1017,7 @@ export const de_DeprovisionByoipCidrCommand = async (output, context) => {
|
|
|
1181
1017
|
$metadata: deserializeMetadata(output),
|
|
1182
1018
|
...contents,
|
|
1183
1019
|
};
|
|
1184
|
-
return
|
|
1020
|
+
return response;
|
|
1185
1021
|
};
|
|
1186
1022
|
const de_DeprovisionByoipCidrCommandError = async (output, context) => {
|
|
1187
1023
|
const parsedOutput = {
|
|
@@ -1207,10 +1043,9 @@ const de_DeprovisionByoipCidrCommandError = async (output, context) => {
|
|
|
1207
1043
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1208
1044
|
default:
|
|
1209
1045
|
const parsedBody = parsedOutput.body;
|
|
1210
|
-
throwDefaultError({
|
|
1046
|
+
return throwDefaultError({
|
|
1211
1047
|
output,
|
|
1212
1048
|
parsedBody,
|
|
1213
|
-
exceptionCtor: __BaseException,
|
|
1214
1049
|
errorCode,
|
|
1215
1050
|
});
|
|
1216
1051
|
}
|
|
@@ -1226,7 +1061,7 @@ export const de_DescribeAcceleratorCommand = async (output, context) => {
|
|
|
1226
1061
|
$metadata: deserializeMetadata(output),
|
|
1227
1062
|
...contents,
|
|
1228
1063
|
};
|
|
1229
|
-
return
|
|
1064
|
+
return response;
|
|
1230
1065
|
};
|
|
1231
1066
|
const de_DescribeAcceleratorCommandError = async (output, context) => {
|
|
1232
1067
|
const parsedOutput = {
|
|
@@ -1246,10 +1081,9 @@ const de_DescribeAcceleratorCommandError = async (output, context) => {
|
|
|
1246
1081
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1247
1082
|
default:
|
|
1248
1083
|
const parsedBody = parsedOutput.body;
|
|
1249
|
-
throwDefaultError({
|
|
1084
|
+
return throwDefaultError({
|
|
1250
1085
|
output,
|
|
1251
1086
|
parsedBody,
|
|
1252
|
-
exceptionCtor: __BaseException,
|
|
1253
1087
|
errorCode,
|
|
1254
1088
|
});
|
|
1255
1089
|
}
|
|
@@ -1260,12 +1094,12 @@ export const de_DescribeAcceleratorAttributesCommand = async (output, context) =
|
|
|
1260
1094
|
}
|
|
1261
1095
|
const data = await parseBody(output.body, context);
|
|
1262
1096
|
let contents = {};
|
|
1263
|
-
contents =
|
|
1097
|
+
contents = _json(data);
|
|
1264
1098
|
const response = {
|
|
1265
1099
|
$metadata: deserializeMetadata(output),
|
|
1266
1100
|
...contents,
|
|
1267
1101
|
};
|
|
1268
|
-
return
|
|
1102
|
+
return response;
|
|
1269
1103
|
};
|
|
1270
1104
|
const de_DescribeAcceleratorAttributesCommandError = async (output, context) => {
|
|
1271
1105
|
const parsedOutput = {
|
|
@@ -1285,10 +1119,9 @@ const de_DescribeAcceleratorAttributesCommandError = async (output, context) =>
|
|
|
1285
1119
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1286
1120
|
default:
|
|
1287
1121
|
const parsedBody = parsedOutput.body;
|
|
1288
|
-
throwDefaultError({
|
|
1122
|
+
return throwDefaultError({
|
|
1289
1123
|
output,
|
|
1290
1124
|
parsedBody,
|
|
1291
|
-
exceptionCtor: __BaseException,
|
|
1292
1125
|
errorCode,
|
|
1293
1126
|
});
|
|
1294
1127
|
}
|
|
@@ -1304,7 +1137,7 @@ export const de_DescribeCustomRoutingAcceleratorCommand = async (output, context
|
|
|
1304
1137
|
$metadata: deserializeMetadata(output),
|
|
1305
1138
|
...contents,
|
|
1306
1139
|
};
|
|
1307
|
-
return
|
|
1140
|
+
return response;
|
|
1308
1141
|
};
|
|
1309
1142
|
const de_DescribeCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
1310
1143
|
const parsedOutput = {
|
|
@@ -1324,10 +1157,9 @@ const de_DescribeCustomRoutingAcceleratorCommandError = async (output, context)
|
|
|
1324
1157
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1325
1158
|
default:
|
|
1326
1159
|
const parsedBody = parsedOutput.body;
|
|
1327
|
-
throwDefaultError({
|
|
1160
|
+
return throwDefaultError({
|
|
1328
1161
|
output,
|
|
1329
1162
|
parsedBody,
|
|
1330
|
-
exceptionCtor: __BaseException,
|
|
1331
1163
|
errorCode,
|
|
1332
1164
|
});
|
|
1333
1165
|
}
|
|
@@ -1338,12 +1170,12 @@ export const de_DescribeCustomRoutingAcceleratorAttributesCommand = async (outpu
|
|
|
1338
1170
|
}
|
|
1339
1171
|
const data = await parseBody(output.body, context);
|
|
1340
1172
|
let contents = {};
|
|
1341
|
-
contents =
|
|
1173
|
+
contents = _json(data);
|
|
1342
1174
|
const response = {
|
|
1343
1175
|
$metadata: deserializeMetadata(output),
|
|
1344
1176
|
...contents,
|
|
1345
1177
|
};
|
|
1346
|
-
return
|
|
1178
|
+
return response;
|
|
1347
1179
|
};
|
|
1348
1180
|
const de_DescribeCustomRoutingAcceleratorAttributesCommandError = async (output, context) => {
|
|
1349
1181
|
const parsedOutput = {
|
|
@@ -1363,10 +1195,9 @@ const de_DescribeCustomRoutingAcceleratorAttributesCommandError = async (output,
|
|
|
1363
1195
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1364
1196
|
default:
|
|
1365
1197
|
const parsedBody = parsedOutput.body;
|
|
1366
|
-
throwDefaultError({
|
|
1198
|
+
return throwDefaultError({
|
|
1367
1199
|
output,
|
|
1368
1200
|
parsedBody,
|
|
1369
|
-
exceptionCtor: __BaseException,
|
|
1370
1201
|
errorCode,
|
|
1371
1202
|
});
|
|
1372
1203
|
}
|
|
@@ -1377,12 +1208,12 @@ export const de_DescribeCustomRoutingEndpointGroupCommand = async (output, conte
|
|
|
1377
1208
|
}
|
|
1378
1209
|
const data = await parseBody(output.body, context);
|
|
1379
1210
|
let contents = {};
|
|
1380
|
-
contents =
|
|
1211
|
+
contents = _json(data);
|
|
1381
1212
|
const response = {
|
|
1382
1213
|
$metadata: deserializeMetadata(output),
|
|
1383
1214
|
...contents,
|
|
1384
1215
|
};
|
|
1385
|
-
return
|
|
1216
|
+
return response;
|
|
1386
1217
|
};
|
|
1387
1218
|
const de_DescribeCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
1388
1219
|
const parsedOutput = {
|
|
@@ -1402,10 +1233,9 @@ const de_DescribeCustomRoutingEndpointGroupCommandError = async (output, context
|
|
|
1402
1233
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1403
1234
|
default:
|
|
1404
1235
|
const parsedBody = parsedOutput.body;
|
|
1405
|
-
throwDefaultError({
|
|
1236
|
+
return throwDefaultError({
|
|
1406
1237
|
output,
|
|
1407
1238
|
parsedBody,
|
|
1408
|
-
exceptionCtor: __BaseException,
|
|
1409
1239
|
errorCode,
|
|
1410
1240
|
});
|
|
1411
1241
|
}
|
|
@@ -1416,12 +1246,12 @@ export const de_DescribeCustomRoutingListenerCommand = async (output, context) =
|
|
|
1416
1246
|
}
|
|
1417
1247
|
const data = await parseBody(output.body, context);
|
|
1418
1248
|
let contents = {};
|
|
1419
|
-
contents =
|
|
1249
|
+
contents = _json(data);
|
|
1420
1250
|
const response = {
|
|
1421
1251
|
$metadata: deserializeMetadata(output),
|
|
1422
1252
|
...contents,
|
|
1423
1253
|
};
|
|
1424
|
-
return
|
|
1254
|
+
return response;
|
|
1425
1255
|
};
|
|
1426
1256
|
const de_DescribeCustomRoutingListenerCommandError = async (output, context) => {
|
|
1427
1257
|
const parsedOutput = {
|
|
@@ -1441,10 +1271,9 @@ const de_DescribeCustomRoutingListenerCommandError = async (output, context) =>
|
|
|
1441
1271
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1442
1272
|
default:
|
|
1443
1273
|
const parsedBody = parsedOutput.body;
|
|
1444
|
-
throwDefaultError({
|
|
1274
|
+
return throwDefaultError({
|
|
1445
1275
|
output,
|
|
1446
1276
|
parsedBody,
|
|
1447
|
-
exceptionCtor: __BaseException,
|
|
1448
1277
|
errorCode,
|
|
1449
1278
|
});
|
|
1450
1279
|
}
|
|
@@ -1460,7 +1289,7 @@ export const de_DescribeEndpointGroupCommand = async (output, context) => {
|
|
|
1460
1289
|
$metadata: deserializeMetadata(output),
|
|
1461
1290
|
...contents,
|
|
1462
1291
|
};
|
|
1463
|
-
return
|
|
1292
|
+
return response;
|
|
1464
1293
|
};
|
|
1465
1294
|
const de_DescribeEndpointGroupCommandError = async (output, context) => {
|
|
1466
1295
|
const parsedOutput = {
|
|
@@ -1480,10 +1309,9 @@ const de_DescribeEndpointGroupCommandError = async (output, context) => {
|
|
|
1480
1309
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1481
1310
|
default:
|
|
1482
1311
|
const parsedBody = parsedOutput.body;
|
|
1483
|
-
throwDefaultError({
|
|
1312
|
+
return throwDefaultError({
|
|
1484
1313
|
output,
|
|
1485
1314
|
parsedBody,
|
|
1486
|
-
exceptionCtor: __BaseException,
|
|
1487
1315
|
errorCode,
|
|
1488
1316
|
});
|
|
1489
1317
|
}
|
|
@@ -1494,12 +1322,12 @@ export const de_DescribeListenerCommand = async (output, context) => {
|
|
|
1494
1322
|
}
|
|
1495
1323
|
const data = await parseBody(output.body, context);
|
|
1496
1324
|
let contents = {};
|
|
1497
|
-
contents =
|
|
1325
|
+
contents = _json(data);
|
|
1498
1326
|
const response = {
|
|
1499
1327
|
$metadata: deserializeMetadata(output),
|
|
1500
1328
|
...contents,
|
|
1501
1329
|
};
|
|
1502
|
-
return
|
|
1330
|
+
return response;
|
|
1503
1331
|
};
|
|
1504
1332
|
const de_DescribeListenerCommandError = async (output, context) => {
|
|
1505
1333
|
const parsedOutput = {
|
|
@@ -1519,10 +1347,9 @@ const de_DescribeListenerCommandError = async (output, context) => {
|
|
|
1519
1347
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1520
1348
|
default:
|
|
1521
1349
|
const parsedBody = parsedOutput.body;
|
|
1522
|
-
throwDefaultError({
|
|
1350
|
+
return throwDefaultError({
|
|
1523
1351
|
output,
|
|
1524
1352
|
parsedBody,
|
|
1525
|
-
exceptionCtor: __BaseException,
|
|
1526
1353
|
errorCode,
|
|
1527
1354
|
});
|
|
1528
1355
|
}
|
|
@@ -1538,7 +1365,7 @@ export const de_ListAcceleratorsCommand = async (output, context) => {
|
|
|
1538
1365
|
$metadata: deserializeMetadata(output),
|
|
1539
1366
|
...contents,
|
|
1540
1367
|
};
|
|
1541
|
-
return
|
|
1368
|
+
return response;
|
|
1542
1369
|
};
|
|
1543
1370
|
const de_ListAcceleratorsCommandError = async (output, context) => {
|
|
1544
1371
|
const parsedOutput = {
|
|
@@ -1558,10 +1385,9 @@ const de_ListAcceleratorsCommandError = async (output, context) => {
|
|
|
1558
1385
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1559
1386
|
default:
|
|
1560
1387
|
const parsedBody = parsedOutput.body;
|
|
1561
|
-
throwDefaultError({
|
|
1388
|
+
return throwDefaultError({
|
|
1562
1389
|
output,
|
|
1563
1390
|
parsedBody,
|
|
1564
|
-
exceptionCtor: __BaseException,
|
|
1565
1391
|
errorCode,
|
|
1566
1392
|
});
|
|
1567
1393
|
}
|
|
@@ -1577,7 +1403,7 @@ export const de_ListByoipCidrsCommand = async (output, context) => {
|
|
|
1577
1403
|
$metadata: deserializeMetadata(output),
|
|
1578
1404
|
...contents,
|
|
1579
1405
|
};
|
|
1580
|
-
return
|
|
1406
|
+
return response;
|
|
1581
1407
|
};
|
|
1582
1408
|
const de_ListByoipCidrsCommandError = async (output, context) => {
|
|
1583
1409
|
const parsedOutput = {
|
|
@@ -1600,10 +1426,9 @@ const de_ListByoipCidrsCommandError = async (output, context) => {
|
|
|
1600
1426
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1601
1427
|
default:
|
|
1602
1428
|
const parsedBody = parsedOutput.body;
|
|
1603
|
-
throwDefaultError({
|
|
1429
|
+
return throwDefaultError({
|
|
1604
1430
|
output,
|
|
1605
1431
|
parsedBody,
|
|
1606
|
-
exceptionCtor: __BaseException,
|
|
1607
1432
|
errorCode,
|
|
1608
1433
|
});
|
|
1609
1434
|
}
|
|
@@ -1619,7 +1444,7 @@ export const de_ListCustomRoutingAcceleratorsCommand = async (output, context) =
|
|
|
1619
1444
|
$metadata: deserializeMetadata(output),
|
|
1620
1445
|
...contents,
|
|
1621
1446
|
};
|
|
1622
|
-
return
|
|
1447
|
+
return response;
|
|
1623
1448
|
};
|
|
1624
1449
|
const de_ListCustomRoutingAcceleratorsCommandError = async (output, context) => {
|
|
1625
1450
|
const parsedOutput = {
|
|
@@ -1639,10 +1464,9 @@ const de_ListCustomRoutingAcceleratorsCommandError = async (output, context) =>
|
|
|
1639
1464
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1640
1465
|
default:
|
|
1641
1466
|
const parsedBody = parsedOutput.body;
|
|
1642
|
-
throwDefaultError({
|
|
1467
|
+
return throwDefaultError({
|
|
1643
1468
|
output,
|
|
1644
1469
|
parsedBody,
|
|
1645
|
-
exceptionCtor: __BaseException,
|
|
1646
1470
|
errorCode,
|
|
1647
1471
|
});
|
|
1648
1472
|
}
|
|
@@ -1653,12 +1477,12 @@ export const de_ListCustomRoutingEndpointGroupsCommand = async (output, context)
|
|
|
1653
1477
|
}
|
|
1654
1478
|
const data = await parseBody(output.body, context);
|
|
1655
1479
|
let contents = {};
|
|
1656
|
-
contents =
|
|
1480
|
+
contents = _json(data);
|
|
1657
1481
|
const response = {
|
|
1658
1482
|
$metadata: deserializeMetadata(output),
|
|
1659
1483
|
...contents,
|
|
1660
1484
|
};
|
|
1661
|
-
return
|
|
1485
|
+
return response;
|
|
1662
1486
|
};
|
|
1663
1487
|
const de_ListCustomRoutingEndpointGroupsCommandError = async (output, context) => {
|
|
1664
1488
|
const parsedOutput = {
|
|
@@ -1681,10 +1505,9 @@ const de_ListCustomRoutingEndpointGroupsCommandError = async (output, context) =
|
|
|
1681
1505
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1682
1506
|
default:
|
|
1683
1507
|
const parsedBody = parsedOutput.body;
|
|
1684
|
-
throwDefaultError({
|
|
1508
|
+
return throwDefaultError({
|
|
1685
1509
|
output,
|
|
1686
1510
|
parsedBody,
|
|
1687
|
-
exceptionCtor: __BaseException,
|
|
1688
1511
|
errorCode,
|
|
1689
1512
|
});
|
|
1690
1513
|
}
|
|
@@ -1695,12 +1518,12 @@ export const de_ListCustomRoutingListenersCommand = async (output, context) => {
|
|
|
1695
1518
|
}
|
|
1696
1519
|
const data = await parseBody(output.body, context);
|
|
1697
1520
|
let contents = {};
|
|
1698
|
-
contents =
|
|
1521
|
+
contents = _json(data);
|
|
1699
1522
|
const response = {
|
|
1700
1523
|
$metadata: deserializeMetadata(output),
|
|
1701
1524
|
...contents,
|
|
1702
1525
|
};
|
|
1703
|
-
return
|
|
1526
|
+
return response;
|
|
1704
1527
|
};
|
|
1705
1528
|
const de_ListCustomRoutingListenersCommandError = async (output, context) => {
|
|
1706
1529
|
const parsedOutput = {
|
|
@@ -1723,10 +1546,9 @@ const de_ListCustomRoutingListenersCommandError = async (output, context) => {
|
|
|
1723
1546
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1724
1547
|
default:
|
|
1725
1548
|
const parsedBody = parsedOutput.body;
|
|
1726
|
-
throwDefaultError({
|
|
1549
|
+
return throwDefaultError({
|
|
1727
1550
|
output,
|
|
1728
1551
|
parsedBody,
|
|
1729
|
-
exceptionCtor: __BaseException,
|
|
1730
1552
|
errorCode,
|
|
1731
1553
|
});
|
|
1732
1554
|
}
|
|
@@ -1737,12 +1559,12 @@ export const de_ListCustomRoutingPortMappingsCommand = async (output, context) =
|
|
|
1737
1559
|
}
|
|
1738
1560
|
const data = await parseBody(output.body, context);
|
|
1739
1561
|
let contents = {};
|
|
1740
|
-
contents =
|
|
1562
|
+
contents = _json(data);
|
|
1741
1563
|
const response = {
|
|
1742
1564
|
$metadata: deserializeMetadata(output),
|
|
1743
1565
|
...contents,
|
|
1744
1566
|
};
|
|
1745
|
-
return
|
|
1567
|
+
return response;
|
|
1746
1568
|
};
|
|
1747
1569
|
const de_ListCustomRoutingPortMappingsCommandError = async (output, context) => {
|
|
1748
1570
|
const parsedOutput = {
|
|
@@ -1768,10 +1590,9 @@ const de_ListCustomRoutingPortMappingsCommandError = async (output, context) =>
|
|
|
1768
1590
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1769
1591
|
default:
|
|
1770
1592
|
const parsedBody = parsedOutput.body;
|
|
1771
|
-
throwDefaultError({
|
|
1593
|
+
return throwDefaultError({
|
|
1772
1594
|
output,
|
|
1773
1595
|
parsedBody,
|
|
1774
|
-
exceptionCtor: __BaseException,
|
|
1775
1596
|
errorCode,
|
|
1776
1597
|
});
|
|
1777
1598
|
}
|
|
@@ -1782,12 +1603,12 @@ export const de_ListCustomRoutingPortMappingsByDestinationCommand = async (outpu
|
|
|
1782
1603
|
}
|
|
1783
1604
|
const data = await parseBody(output.body, context);
|
|
1784
1605
|
let contents = {};
|
|
1785
|
-
contents =
|
|
1606
|
+
contents = _json(data);
|
|
1786
1607
|
const response = {
|
|
1787
1608
|
$metadata: deserializeMetadata(output),
|
|
1788
1609
|
...contents,
|
|
1789
1610
|
};
|
|
1790
|
-
return
|
|
1611
|
+
return response;
|
|
1791
1612
|
};
|
|
1792
1613
|
const de_ListCustomRoutingPortMappingsByDestinationCommandError = async (output, context) => {
|
|
1793
1614
|
const parsedOutput = {
|
|
@@ -1810,10 +1631,9 @@ const de_ListCustomRoutingPortMappingsByDestinationCommandError = async (output,
|
|
|
1810
1631
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1811
1632
|
default:
|
|
1812
1633
|
const parsedBody = parsedOutput.body;
|
|
1813
|
-
throwDefaultError({
|
|
1634
|
+
return throwDefaultError({
|
|
1814
1635
|
output,
|
|
1815
1636
|
parsedBody,
|
|
1816
|
-
exceptionCtor: __BaseException,
|
|
1817
1637
|
errorCode,
|
|
1818
1638
|
});
|
|
1819
1639
|
}
|
|
@@ -1829,7 +1649,7 @@ export const de_ListEndpointGroupsCommand = async (output, context) => {
|
|
|
1829
1649
|
$metadata: deserializeMetadata(output),
|
|
1830
1650
|
...contents,
|
|
1831
1651
|
};
|
|
1832
|
-
return
|
|
1652
|
+
return response;
|
|
1833
1653
|
};
|
|
1834
1654
|
const de_ListEndpointGroupsCommandError = async (output, context) => {
|
|
1835
1655
|
const parsedOutput = {
|
|
@@ -1852,10 +1672,9 @@ const de_ListEndpointGroupsCommandError = async (output, context) => {
|
|
|
1852
1672
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1853
1673
|
default:
|
|
1854
1674
|
const parsedBody = parsedOutput.body;
|
|
1855
|
-
throwDefaultError({
|
|
1675
|
+
return throwDefaultError({
|
|
1856
1676
|
output,
|
|
1857
1677
|
parsedBody,
|
|
1858
|
-
exceptionCtor: __BaseException,
|
|
1859
1678
|
errorCode,
|
|
1860
1679
|
});
|
|
1861
1680
|
}
|
|
@@ -1866,12 +1685,12 @@ export const de_ListListenersCommand = async (output, context) => {
|
|
|
1866
1685
|
}
|
|
1867
1686
|
const data = await parseBody(output.body, context);
|
|
1868
1687
|
let contents = {};
|
|
1869
|
-
contents =
|
|
1688
|
+
contents = _json(data);
|
|
1870
1689
|
const response = {
|
|
1871
1690
|
$metadata: deserializeMetadata(output),
|
|
1872
1691
|
...contents,
|
|
1873
1692
|
};
|
|
1874
|
-
return
|
|
1693
|
+
return response;
|
|
1875
1694
|
};
|
|
1876
1695
|
const de_ListListenersCommandError = async (output, context) => {
|
|
1877
1696
|
const parsedOutput = {
|
|
@@ -1894,10 +1713,9 @@ const de_ListListenersCommandError = async (output, context) => {
|
|
|
1894
1713
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1895
1714
|
default:
|
|
1896
1715
|
const parsedBody = parsedOutput.body;
|
|
1897
|
-
throwDefaultError({
|
|
1716
|
+
return throwDefaultError({
|
|
1898
1717
|
output,
|
|
1899
1718
|
parsedBody,
|
|
1900
|
-
exceptionCtor: __BaseException,
|
|
1901
1719
|
errorCode,
|
|
1902
1720
|
});
|
|
1903
1721
|
}
|
|
@@ -1908,12 +1726,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1908
1726
|
}
|
|
1909
1727
|
const data = await parseBody(output.body, context);
|
|
1910
1728
|
let contents = {};
|
|
1911
|
-
contents =
|
|
1729
|
+
contents = _json(data);
|
|
1912
1730
|
const response = {
|
|
1913
1731
|
$metadata: deserializeMetadata(output),
|
|
1914
1732
|
...contents,
|
|
1915
1733
|
};
|
|
1916
|
-
return
|
|
1734
|
+
return response;
|
|
1917
1735
|
};
|
|
1918
1736
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1919
1737
|
const parsedOutput = {
|
|
@@ -1933,10 +1751,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1933
1751
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1934
1752
|
default:
|
|
1935
1753
|
const parsedBody = parsedOutput.body;
|
|
1936
|
-
throwDefaultError({
|
|
1754
|
+
return throwDefaultError({
|
|
1937
1755
|
output,
|
|
1938
1756
|
parsedBody,
|
|
1939
|
-
exceptionCtor: __BaseException,
|
|
1940
1757
|
errorCode,
|
|
1941
1758
|
});
|
|
1942
1759
|
}
|
|
@@ -1952,7 +1769,7 @@ export const de_ProvisionByoipCidrCommand = async (output, context) => {
|
|
|
1952
1769
|
$metadata: deserializeMetadata(output),
|
|
1953
1770
|
...contents,
|
|
1954
1771
|
};
|
|
1955
|
-
return
|
|
1772
|
+
return response;
|
|
1956
1773
|
};
|
|
1957
1774
|
const de_ProvisionByoipCidrCommandError = async (output, context) => {
|
|
1958
1775
|
const parsedOutput = {
|
|
@@ -1978,10 +1795,9 @@ const de_ProvisionByoipCidrCommandError = async (output, context) => {
|
|
|
1978
1795
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1979
1796
|
default:
|
|
1980
1797
|
const parsedBody = parsedOutput.body;
|
|
1981
|
-
throwDefaultError({
|
|
1798
|
+
return throwDefaultError({
|
|
1982
1799
|
output,
|
|
1983
1800
|
parsedBody,
|
|
1984
|
-
exceptionCtor: __BaseException,
|
|
1985
1801
|
errorCode,
|
|
1986
1802
|
});
|
|
1987
1803
|
}
|
|
@@ -1994,7 +1810,7 @@ export const de_RemoveCustomRoutingEndpointsCommand = async (output, context) =>
|
|
|
1994
1810
|
const response = {
|
|
1995
1811
|
$metadata: deserializeMetadata(output),
|
|
1996
1812
|
};
|
|
1997
|
-
return
|
|
1813
|
+
return response;
|
|
1998
1814
|
};
|
|
1999
1815
|
const de_RemoveCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
2000
1816
|
const parsedOutput = {
|
|
@@ -2023,10 +1839,9 @@ const de_RemoveCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
|
2023
1839
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2024
1840
|
default:
|
|
2025
1841
|
const parsedBody = parsedOutput.body;
|
|
2026
|
-
throwDefaultError({
|
|
1842
|
+
return throwDefaultError({
|
|
2027
1843
|
output,
|
|
2028
1844
|
parsedBody,
|
|
2029
|
-
exceptionCtor: __BaseException,
|
|
2030
1845
|
errorCode,
|
|
2031
1846
|
});
|
|
2032
1847
|
}
|
|
@@ -2039,7 +1854,7 @@ export const de_RemoveEndpointsCommand = async (output, context) => {
|
|
|
2039
1854
|
const response = {
|
|
2040
1855
|
$metadata: deserializeMetadata(output),
|
|
2041
1856
|
};
|
|
2042
|
-
return
|
|
1857
|
+
return response;
|
|
2043
1858
|
};
|
|
2044
1859
|
const de_RemoveEndpointsCommandError = async (output, context) => {
|
|
2045
1860
|
const parsedOutput = {
|
|
@@ -2065,10 +1880,9 @@ const de_RemoveEndpointsCommandError = async (output, context) => {
|
|
|
2065
1880
|
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
2066
1881
|
default:
|
|
2067
1882
|
const parsedBody = parsedOutput.body;
|
|
2068
|
-
throwDefaultError({
|
|
1883
|
+
return throwDefaultError({
|
|
2069
1884
|
output,
|
|
2070
1885
|
parsedBody,
|
|
2071
|
-
exceptionCtor: __BaseException,
|
|
2072
1886
|
errorCode,
|
|
2073
1887
|
});
|
|
2074
1888
|
}
|
|
@@ -2079,12 +1893,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
2079
1893
|
}
|
|
2080
1894
|
const data = await parseBody(output.body, context);
|
|
2081
1895
|
let contents = {};
|
|
2082
|
-
contents =
|
|
1896
|
+
contents = _json(data);
|
|
2083
1897
|
const response = {
|
|
2084
1898
|
$metadata: deserializeMetadata(output),
|
|
2085
1899
|
...contents,
|
|
2086
1900
|
};
|
|
2087
|
-
return
|
|
1901
|
+
return response;
|
|
2088
1902
|
};
|
|
2089
1903
|
const de_TagResourceCommandError = async (output, context) => {
|
|
2090
1904
|
const parsedOutput = {
|
|
@@ -2104,10 +1918,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2104
1918
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2105
1919
|
default:
|
|
2106
1920
|
const parsedBody = parsedOutput.body;
|
|
2107
|
-
throwDefaultError({
|
|
1921
|
+
return throwDefaultError({
|
|
2108
1922
|
output,
|
|
2109
1923
|
parsedBody,
|
|
2110
|
-
exceptionCtor: __BaseException,
|
|
2111
1924
|
errorCode,
|
|
2112
1925
|
});
|
|
2113
1926
|
}
|
|
@@ -2118,12 +1931,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
2118
1931
|
}
|
|
2119
1932
|
const data = await parseBody(output.body, context);
|
|
2120
1933
|
let contents = {};
|
|
2121
|
-
contents =
|
|
1934
|
+
contents = _json(data);
|
|
2122
1935
|
const response = {
|
|
2123
1936
|
$metadata: deserializeMetadata(output),
|
|
2124
1937
|
...contents,
|
|
2125
1938
|
};
|
|
2126
|
-
return
|
|
1939
|
+
return response;
|
|
2127
1940
|
};
|
|
2128
1941
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
2129
1942
|
const parsedOutput = {
|
|
@@ -2143,10 +1956,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2143
1956
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2144
1957
|
default:
|
|
2145
1958
|
const parsedBody = parsedOutput.body;
|
|
2146
|
-
throwDefaultError({
|
|
1959
|
+
return throwDefaultError({
|
|
2147
1960
|
output,
|
|
2148
1961
|
parsedBody,
|
|
2149
|
-
exceptionCtor: __BaseException,
|
|
2150
1962
|
errorCode,
|
|
2151
1963
|
});
|
|
2152
1964
|
}
|
|
@@ -2162,7 +1974,7 @@ export const de_UpdateAcceleratorCommand = async (output, context) => {
|
|
|
2162
1974
|
$metadata: deserializeMetadata(output),
|
|
2163
1975
|
...contents,
|
|
2164
1976
|
};
|
|
2165
|
-
return
|
|
1977
|
+
return response;
|
|
2166
1978
|
};
|
|
2167
1979
|
const de_UpdateAcceleratorCommandError = async (output, context) => {
|
|
2168
1980
|
const parsedOutput = {
|
|
@@ -2185,10 +1997,9 @@ const de_UpdateAcceleratorCommandError = async (output, context) => {
|
|
|
2185
1997
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2186
1998
|
default:
|
|
2187
1999
|
const parsedBody = parsedOutput.body;
|
|
2188
|
-
throwDefaultError({
|
|
2000
|
+
return throwDefaultError({
|
|
2189
2001
|
output,
|
|
2190
2002
|
parsedBody,
|
|
2191
|
-
exceptionCtor: __BaseException,
|
|
2192
2003
|
errorCode,
|
|
2193
2004
|
});
|
|
2194
2005
|
}
|
|
@@ -2199,12 +2010,12 @@ export const de_UpdateAcceleratorAttributesCommand = async (output, context) =>
|
|
|
2199
2010
|
}
|
|
2200
2011
|
const data = await parseBody(output.body, context);
|
|
2201
2012
|
let contents = {};
|
|
2202
|
-
contents =
|
|
2013
|
+
contents = _json(data);
|
|
2203
2014
|
const response = {
|
|
2204
2015
|
$metadata: deserializeMetadata(output),
|
|
2205
2016
|
...contents,
|
|
2206
2017
|
};
|
|
2207
|
-
return
|
|
2018
|
+
return response;
|
|
2208
2019
|
};
|
|
2209
2020
|
const de_UpdateAcceleratorAttributesCommandError = async (output, context) => {
|
|
2210
2021
|
const parsedOutput = {
|
|
@@ -2227,10 +2038,9 @@ const de_UpdateAcceleratorAttributesCommandError = async (output, context) => {
|
|
|
2227
2038
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2228
2039
|
default:
|
|
2229
2040
|
const parsedBody = parsedOutput.body;
|
|
2230
|
-
throwDefaultError({
|
|
2041
|
+
return throwDefaultError({
|
|
2231
2042
|
output,
|
|
2232
2043
|
parsedBody,
|
|
2233
|
-
exceptionCtor: __BaseException,
|
|
2234
2044
|
errorCode,
|
|
2235
2045
|
});
|
|
2236
2046
|
}
|
|
@@ -2246,7 +2056,7 @@ export const de_UpdateCustomRoutingAcceleratorCommand = async (output, context)
|
|
|
2246
2056
|
$metadata: deserializeMetadata(output),
|
|
2247
2057
|
...contents,
|
|
2248
2058
|
};
|
|
2249
|
-
return
|
|
2059
|
+
return response;
|
|
2250
2060
|
};
|
|
2251
2061
|
const de_UpdateCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
2252
2062
|
const parsedOutput = {
|
|
@@ -2266,10 +2076,9 @@ const de_UpdateCustomRoutingAcceleratorCommandError = async (output, context) =>
|
|
|
2266
2076
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2267
2077
|
default:
|
|
2268
2078
|
const parsedBody = parsedOutput.body;
|
|
2269
|
-
throwDefaultError({
|
|
2079
|
+
return throwDefaultError({
|
|
2270
2080
|
output,
|
|
2271
2081
|
parsedBody,
|
|
2272
|
-
exceptionCtor: __BaseException,
|
|
2273
2082
|
errorCode,
|
|
2274
2083
|
});
|
|
2275
2084
|
}
|
|
@@ -2280,12 +2089,12 @@ export const de_UpdateCustomRoutingAcceleratorAttributesCommand = async (output,
|
|
|
2280
2089
|
}
|
|
2281
2090
|
const data = await parseBody(output.body, context);
|
|
2282
2091
|
let contents = {};
|
|
2283
|
-
contents =
|
|
2092
|
+
contents = _json(data);
|
|
2284
2093
|
const response = {
|
|
2285
2094
|
$metadata: deserializeMetadata(output),
|
|
2286
2095
|
...contents,
|
|
2287
2096
|
};
|
|
2288
|
-
return
|
|
2097
|
+
return response;
|
|
2289
2098
|
};
|
|
2290
2099
|
const de_UpdateCustomRoutingAcceleratorAttributesCommandError = async (output, context) => {
|
|
2291
2100
|
const parsedOutput = {
|
|
@@ -2308,10 +2117,9 @@ const de_UpdateCustomRoutingAcceleratorAttributesCommandError = async (output, c
|
|
|
2308
2117
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2309
2118
|
default:
|
|
2310
2119
|
const parsedBody = parsedOutput.body;
|
|
2311
|
-
throwDefaultError({
|
|
2120
|
+
return throwDefaultError({
|
|
2312
2121
|
output,
|
|
2313
2122
|
parsedBody,
|
|
2314
|
-
exceptionCtor: __BaseException,
|
|
2315
2123
|
errorCode,
|
|
2316
2124
|
});
|
|
2317
2125
|
}
|
|
@@ -2322,12 +2130,12 @@ export const de_UpdateCustomRoutingListenerCommand = async (output, context) =>
|
|
|
2322
2130
|
}
|
|
2323
2131
|
const data = await parseBody(output.body, context);
|
|
2324
2132
|
let contents = {};
|
|
2325
|
-
contents =
|
|
2133
|
+
contents = _json(data);
|
|
2326
2134
|
const response = {
|
|
2327
2135
|
$metadata: deserializeMetadata(output),
|
|
2328
2136
|
...contents,
|
|
2329
2137
|
};
|
|
2330
|
-
return
|
|
2138
|
+
return response;
|
|
2331
2139
|
};
|
|
2332
2140
|
const de_UpdateCustomRoutingListenerCommandError = async (output, context) => {
|
|
2333
2141
|
const parsedOutput = {
|
|
@@ -2353,10 +2161,9 @@ const de_UpdateCustomRoutingListenerCommandError = async (output, context) => {
|
|
|
2353
2161
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2354
2162
|
default:
|
|
2355
2163
|
const parsedBody = parsedOutput.body;
|
|
2356
|
-
throwDefaultError({
|
|
2164
|
+
return throwDefaultError({
|
|
2357
2165
|
output,
|
|
2358
2166
|
parsedBody,
|
|
2359
|
-
exceptionCtor: __BaseException,
|
|
2360
2167
|
errorCode,
|
|
2361
2168
|
});
|
|
2362
2169
|
}
|
|
@@ -2372,7 +2179,7 @@ export const de_UpdateEndpointGroupCommand = async (output, context) => {
|
|
|
2372
2179
|
$metadata: deserializeMetadata(output),
|
|
2373
2180
|
...contents,
|
|
2374
2181
|
};
|
|
2375
|
-
return
|
|
2182
|
+
return response;
|
|
2376
2183
|
};
|
|
2377
2184
|
const de_UpdateEndpointGroupCommandError = async (output, context) => {
|
|
2378
2185
|
const parsedOutput = {
|
|
@@ -2398,10 +2205,9 @@ const de_UpdateEndpointGroupCommandError = async (output, context) => {
|
|
|
2398
2205
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2399
2206
|
default:
|
|
2400
2207
|
const parsedBody = parsedOutput.body;
|
|
2401
|
-
throwDefaultError({
|
|
2208
|
+
return throwDefaultError({
|
|
2402
2209
|
output,
|
|
2403
2210
|
parsedBody,
|
|
2404
|
-
exceptionCtor: __BaseException,
|
|
2405
2211
|
errorCode,
|
|
2406
2212
|
});
|
|
2407
2213
|
}
|
|
@@ -2412,12 +2218,12 @@ export const de_UpdateListenerCommand = async (output, context) => {
|
|
|
2412
2218
|
}
|
|
2413
2219
|
const data = await parseBody(output.body, context);
|
|
2414
2220
|
let contents = {};
|
|
2415
|
-
contents =
|
|
2221
|
+
contents = _json(data);
|
|
2416
2222
|
const response = {
|
|
2417
2223
|
$metadata: deserializeMetadata(output),
|
|
2418
2224
|
...contents,
|
|
2419
2225
|
};
|
|
2420
|
-
return
|
|
2226
|
+
return response;
|
|
2421
2227
|
};
|
|
2422
2228
|
const de_UpdateListenerCommandError = async (output, context) => {
|
|
2423
2229
|
const parsedOutput = {
|
|
@@ -2443,10 +2249,9 @@ const de_UpdateListenerCommandError = async (output, context) => {
|
|
|
2443
2249
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2444
2250
|
default:
|
|
2445
2251
|
const parsedBody = parsedOutput.body;
|
|
2446
|
-
throwDefaultError({
|
|
2252
|
+
return throwDefaultError({
|
|
2447
2253
|
output,
|
|
2448
2254
|
parsedBody,
|
|
2449
|
-
exceptionCtor: __BaseException,
|
|
2450
2255
|
errorCode,
|
|
2451
2256
|
});
|
|
2452
2257
|
}
|
|
@@ -2462,7 +2267,7 @@ export const de_WithdrawByoipCidrCommand = async (output, context) => {
|
|
|
2462
2267
|
$metadata: deserializeMetadata(output),
|
|
2463
2268
|
...contents,
|
|
2464
2269
|
};
|
|
2465
|
-
return
|
|
2270
|
+
return response;
|
|
2466
2271
|
};
|
|
2467
2272
|
const de_WithdrawByoipCidrCommandError = async (output, context) => {
|
|
2468
2273
|
const parsedOutput = {
|
|
@@ -2488,17 +2293,16 @@ const de_WithdrawByoipCidrCommandError = async (output, context) => {
|
|
|
2488
2293
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2489
2294
|
default:
|
|
2490
2295
|
const parsedBody = parsedOutput.body;
|
|
2491
|
-
throwDefaultError({
|
|
2296
|
+
return throwDefaultError({
|
|
2492
2297
|
output,
|
|
2493
2298
|
parsedBody,
|
|
2494
|
-
exceptionCtor: __BaseException,
|
|
2495
2299
|
errorCode,
|
|
2496
2300
|
});
|
|
2497
2301
|
}
|
|
2498
2302
|
};
|
|
2499
2303
|
const de_AcceleratorNotDisabledExceptionRes = async (parsedOutput, context) => {
|
|
2500
2304
|
const body = parsedOutput.body;
|
|
2501
|
-
const deserialized =
|
|
2305
|
+
const deserialized = _json(body);
|
|
2502
2306
|
const exception = new AcceleratorNotDisabledException({
|
|
2503
2307
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2504
2308
|
...deserialized,
|
|
@@ -2507,7 +2311,7 @@ const de_AcceleratorNotDisabledExceptionRes = async (parsedOutput, context) => {
|
|
|
2507
2311
|
};
|
|
2508
2312
|
const de_AcceleratorNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2509
2313
|
const body = parsedOutput.body;
|
|
2510
|
-
const deserialized =
|
|
2314
|
+
const deserialized = _json(body);
|
|
2511
2315
|
const exception = new AcceleratorNotFoundException({
|
|
2512
2316
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2513
2317
|
...deserialized,
|
|
@@ -2516,7 +2320,7 @@ const de_AcceleratorNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2516
2320
|
};
|
|
2517
2321
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2518
2322
|
const body = parsedOutput.body;
|
|
2519
|
-
const deserialized =
|
|
2323
|
+
const deserialized = _json(body);
|
|
2520
2324
|
const exception = new AccessDeniedException({
|
|
2521
2325
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2522
2326
|
...deserialized,
|
|
@@ -2525,7 +2329,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2525
2329
|
};
|
|
2526
2330
|
const de_AssociatedEndpointGroupFoundExceptionRes = async (parsedOutput, context) => {
|
|
2527
2331
|
const body = parsedOutput.body;
|
|
2528
|
-
const deserialized =
|
|
2332
|
+
const deserialized = _json(body);
|
|
2529
2333
|
const exception = new AssociatedEndpointGroupFoundException({
|
|
2530
2334
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2531
2335
|
...deserialized,
|
|
@@ -2534,7 +2338,7 @@ const de_AssociatedEndpointGroupFoundExceptionRes = async (parsedOutput, context
|
|
|
2534
2338
|
};
|
|
2535
2339
|
const de_AssociatedListenerFoundExceptionRes = async (parsedOutput, context) => {
|
|
2536
2340
|
const body = parsedOutput.body;
|
|
2537
|
-
const deserialized =
|
|
2341
|
+
const deserialized = _json(body);
|
|
2538
2342
|
const exception = new AssociatedListenerFoundException({
|
|
2539
2343
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2540
2344
|
...deserialized,
|
|
@@ -2543,7 +2347,7 @@ const de_AssociatedListenerFoundExceptionRes = async (parsedOutput, context) =>
|
|
|
2543
2347
|
};
|
|
2544
2348
|
const de_ByoipCidrNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2545
2349
|
const body = parsedOutput.body;
|
|
2546
|
-
const deserialized =
|
|
2350
|
+
const deserialized = _json(body);
|
|
2547
2351
|
const exception = new ByoipCidrNotFoundException({
|
|
2548
2352
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2549
2353
|
...deserialized,
|
|
@@ -2552,7 +2356,7 @@ const de_ByoipCidrNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2552
2356
|
};
|
|
2553
2357
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2554
2358
|
const body = parsedOutput.body;
|
|
2555
|
-
const deserialized =
|
|
2359
|
+
const deserialized = _json(body);
|
|
2556
2360
|
const exception = new ConflictException({
|
|
2557
2361
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2558
2362
|
...deserialized,
|
|
@@ -2561,7 +2365,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2561
2365
|
};
|
|
2562
2366
|
const de_EndpointAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2563
2367
|
const body = parsedOutput.body;
|
|
2564
|
-
const deserialized =
|
|
2368
|
+
const deserialized = _json(body);
|
|
2565
2369
|
const exception = new EndpointAlreadyExistsException({
|
|
2566
2370
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2567
2371
|
...deserialized,
|
|
@@ -2570,7 +2374,7 @@ const de_EndpointAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
2570
2374
|
};
|
|
2571
2375
|
const de_EndpointGroupAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2572
2376
|
const body = parsedOutput.body;
|
|
2573
|
-
const deserialized =
|
|
2377
|
+
const deserialized = _json(body);
|
|
2574
2378
|
const exception = new EndpointGroupAlreadyExistsException({
|
|
2575
2379
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2576
2380
|
...deserialized,
|
|
@@ -2579,7 +2383,7 @@ const de_EndpointGroupAlreadyExistsExceptionRes = async (parsedOutput, context)
|
|
|
2579
2383
|
};
|
|
2580
2384
|
const de_EndpointGroupNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2581
2385
|
const body = parsedOutput.body;
|
|
2582
|
-
const deserialized =
|
|
2386
|
+
const deserialized = _json(body);
|
|
2583
2387
|
const exception = new EndpointGroupNotFoundException({
|
|
2584
2388
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2585
2389
|
...deserialized,
|
|
@@ -2588,7 +2392,7 @@ const de_EndpointGroupNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2588
2392
|
};
|
|
2589
2393
|
const de_EndpointNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2590
2394
|
const body = parsedOutput.body;
|
|
2591
|
-
const deserialized =
|
|
2395
|
+
const deserialized = _json(body);
|
|
2592
2396
|
const exception = new EndpointNotFoundException({
|
|
2593
2397
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2594
2398
|
...deserialized,
|
|
@@ -2597,7 +2401,7 @@ const de_EndpointNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2597
2401
|
};
|
|
2598
2402
|
const de_IncorrectCidrStateExceptionRes = async (parsedOutput, context) => {
|
|
2599
2403
|
const body = parsedOutput.body;
|
|
2600
|
-
const deserialized =
|
|
2404
|
+
const deserialized = _json(body);
|
|
2601
2405
|
const exception = new IncorrectCidrStateException({
|
|
2602
2406
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2603
2407
|
...deserialized,
|
|
@@ -2606,7 +2410,7 @@ const de_IncorrectCidrStateExceptionRes = async (parsedOutput, context) => {
|
|
|
2606
2410
|
};
|
|
2607
2411
|
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
2608
2412
|
const body = parsedOutput.body;
|
|
2609
|
-
const deserialized =
|
|
2413
|
+
const deserialized = _json(body);
|
|
2610
2414
|
const exception = new InternalServiceErrorException({
|
|
2611
2415
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2612
2416
|
...deserialized,
|
|
@@ -2615,7 +2419,7 @@ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
2615
2419
|
};
|
|
2616
2420
|
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
2617
2421
|
const body = parsedOutput.body;
|
|
2618
|
-
const deserialized =
|
|
2422
|
+
const deserialized = _json(body);
|
|
2619
2423
|
const exception = new InvalidArgumentException({
|
|
2620
2424
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2621
2425
|
...deserialized,
|
|
@@ -2624,7 +2428,7 @@ const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
|
2624
2428
|
};
|
|
2625
2429
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
2626
2430
|
const body = parsedOutput.body;
|
|
2627
|
-
const deserialized =
|
|
2431
|
+
const deserialized = _json(body);
|
|
2628
2432
|
const exception = new InvalidNextTokenException({
|
|
2629
2433
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2630
2434
|
...deserialized,
|
|
@@ -2633,7 +2437,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
2633
2437
|
};
|
|
2634
2438
|
const de_InvalidPortRangeExceptionRes = async (parsedOutput, context) => {
|
|
2635
2439
|
const body = parsedOutput.body;
|
|
2636
|
-
const deserialized =
|
|
2440
|
+
const deserialized = _json(body);
|
|
2637
2441
|
const exception = new InvalidPortRangeException({
|
|
2638
2442
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2639
2443
|
...deserialized,
|
|
@@ -2642,7 +2446,7 @@ const de_InvalidPortRangeExceptionRes = async (parsedOutput, context) => {
|
|
|
2642
2446
|
};
|
|
2643
2447
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2644
2448
|
const body = parsedOutput.body;
|
|
2645
|
-
const deserialized =
|
|
2449
|
+
const deserialized = _json(body);
|
|
2646
2450
|
const exception = new LimitExceededException({
|
|
2647
2451
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2648
2452
|
...deserialized,
|
|
@@ -2651,7 +2455,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2651
2455
|
};
|
|
2652
2456
|
const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2653
2457
|
const body = parsedOutput.body;
|
|
2654
|
-
const deserialized =
|
|
2458
|
+
const deserialized = _json(body);
|
|
2655
2459
|
const exception = new ListenerNotFoundException({
|
|
2656
2460
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2657
2461
|
...deserialized,
|
|
@@ -2660,1244 +2464,282 @@ const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2660
2464
|
};
|
|
2661
2465
|
const de_TransactionInProgressExceptionRes = async (parsedOutput, context) => {
|
|
2662
2466
|
const body = parsedOutput.body;
|
|
2663
|
-
const deserialized =
|
|
2467
|
+
const deserialized = _json(body);
|
|
2664
2468
|
const exception = new TransactionInProgressException({
|
|
2665
2469
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2666
2470
|
...deserialized,
|
|
2667
2471
|
});
|
|
2668
2472
|
return __decorateServiceException(exception, body);
|
|
2669
2473
|
};
|
|
2670
|
-
const se_AddCustomRoutingEndpointsRequest = (input, context) => {
|
|
2671
|
-
return {
|
|
2672
|
-
...(input.EndpointConfigurations != null && {
|
|
2673
|
-
EndpointConfigurations: se_CustomRoutingEndpointConfigurations(input.EndpointConfigurations, context),
|
|
2674
|
-
}),
|
|
2675
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2676
|
-
};
|
|
2677
|
-
};
|
|
2678
|
-
const se_AddEndpointsRequest = (input, context) => {
|
|
2679
|
-
return {
|
|
2680
|
-
...(input.EndpointConfigurations != null && {
|
|
2681
|
-
EndpointConfigurations: se_EndpointConfigurations(input.EndpointConfigurations, context),
|
|
2682
|
-
}),
|
|
2683
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2684
|
-
};
|
|
2685
|
-
};
|
|
2686
|
-
const se_AdvertiseByoipCidrRequest = (input, context) => {
|
|
2687
|
-
return {
|
|
2688
|
-
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
2689
|
-
};
|
|
2690
|
-
};
|
|
2691
|
-
const se_AllowCustomRoutingTrafficRequest = (input, context) => {
|
|
2692
|
-
return {
|
|
2693
|
-
...(input.AllowAllTrafficToEndpoint != null && { AllowAllTrafficToEndpoint: input.AllowAllTrafficToEndpoint }),
|
|
2694
|
-
...(input.DestinationAddresses != null && {
|
|
2695
|
-
DestinationAddresses: se_DestinationAddresses(input.DestinationAddresses, context),
|
|
2696
|
-
}),
|
|
2697
|
-
...(input.DestinationPorts != null && { DestinationPorts: se_DestinationPorts(input.DestinationPorts, context) }),
|
|
2698
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2699
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2700
|
-
};
|
|
2701
|
-
};
|
|
2702
|
-
const se_CidrAuthorizationContext = (input, context) => {
|
|
2703
|
-
return {
|
|
2704
|
-
...(input.Message != null && { Message: input.Message }),
|
|
2705
|
-
...(input.Signature != null && { Signature: input.Signature }),
|
|
2706
|
-
};
|
|
2707
|
-
};
|
|
2708
2474
|
const se_CreateAcceleratorRequest = (input, context) => {
|
|
2709
|
-
return {
|
|
2710
|
-
|
|
2711
|
-
IdempotencyToken:
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
};
|
|
2475
|
+
return take(input, {
|
|
2476
|
+
Enabled: [],
|
|
2477
|
+
IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
|
|
2478
|
+
IpAddressType: [],
|
|
2479
|
+
IpAddresses: _json,
|
|
2480
|
+
Name: [],
|
|
2481
|
+
Tags: _json,
|
|
2482
|
+
});
|
|
2717
2483
|
};
|
|
2718
2484
|
const se_CreateCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2719
|
-
return {
|
|
2720
|
-
|
|
2721
|
-
IdempotencyToken:
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
};
|
|
2485
|
+
return take(input, {
|
|
2486
|
+
Enabled: [],
|
|
2487
|
+
IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
|
|
2488
|
+
IpAddressType: [],
|
|
2489
|
+
IpAddresses: _json,
|
|
2490
|
+
Name: [],
|
|
2491
|
+
Tags: _json,
|
|
2492
|
+
});
|
|
2727
2493
|
};
|
|
2728
2494
|
const se_CreateCustomRoutingEndpointGroupRequest = (input, context) => {
|
|
2729
|
-
return {
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2736
|
-
};
|
|
2495
|
+
return take(input, {
|
|
2496
|
+
DestinationConfigurations: _json,
|
|
2497
|
+
EndpointGroupRegion: [],
|
|
2498
|
+
IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
|
|
2499
|
+
ListenerArn: [],
|
|
2500
|
+
});
|
|
2737
2501
|
};
|
|
2738
2502
|
const se_CreateCustomRoutingListenerRequest = (input, context) => {
|
|
2739
|
-
return {
|
|
2740
|
-
|
|
2741
|
-
IdempotencyToken:
|
|
2742
|
-
|
|
2743
|
-
};
|
|
2503
|
+
return take(input, {
|
|
2504
|
+
AcceleratorArn: [],
|
|
2505
|
+
IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
|
|
2506
|
+
PortRanges: _json,
|
|
2507
|
+
});
|
|
2744
2508
|
};
|
|
2745
2509
|
const se_CreateEndpointGroupRequest = (input, context) => {
|
|
2746
|
-
return {
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
...(input.TrafficDialPercentage != null && {
|
|
2760
|
-
TrafficDialPercentage: __serializeFloat(input.TrafficDialPercentage),
|
|
2761
|
-
}),
|
|
2762
|
-
};
|
|
2510
|
+
return take(input, {
|
|
2511
|
+
EndpointConfigurations: _json,
|
|
2512
|
+
EndpointGroupRegion: [],
|
|
2513
|
+
HealthCheckIntervalSeconds: [],
|
|
2514
|
+
HealthCheckPath: [],
|
|
2515
|
+
HealthCheckPort: [],
|
|
2516
|
+
HealthCheckProtocol: [],
|
|
2517
|
+
IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
|
|
2518
|
+
ListenerArn: [],
|
|
2519
|
+
PortOverrides: _json,
|
|
2520
|
+
ThresholdCount: [],
|
|
2521
|
+
TrafficDialPercentage: __serializeFloat,
|
|
2522
|
+
});
|
|
2763
2523
|
};
|
|
2764
2524
|
const se_CreateListenerRequest = (input, context) => {
|
|
2765
|
-
return {
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
IdempotencyToken:
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
};
|
|
2525
|
+
return take(input, {
|
|
2526
|
+
AcceleratorArn: [],
|
|
2527
|
+
ClientAffinity: [],
|
|
2528
|
+
IdempotencyToken: (_) => _ ?? generateIdempotencyToken(),
|
|
2529
|
+
PortRanges: _json,
|
|
2530
|
+
Protocol: [],
|
|
2531
|
+
});
|
|
2772
2532
|
};
|
|
2773
|
-
const
|
|
2774
|
-
return {
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2533
|
+
const se_UpdateEndpointGroupRequest = (input, context) => {
|
|
2534
|
+
return take(input, {
|
|
2535
|
+
EndpointConfigurations: _json,
|
|
2536
|
+
EndpointGroupArn: [],
|
|
2537
|
+
HealthCheckIntervalSeconds: [],
|
|
2538
|
+
HealthCheckPath: [],
|
|
2539
|
+
HealthCheckPort: [],
|
|
2540
|
+
HealthCheckProtocol: [],
|
|
2541
|
+
PortOverrides: _json,
|
|
2542
|
+
ThresholdCount: [],
|
|
2543
|
+
TrafficDialPercentage: __serializeFloat,
|
|
2544
|
+
});
|
|
2779
2545
|
};
|
|
2780
|
-
const
|
|
2781
|
-
return
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2546
|
+
const de_Accelerator = (output, context) => {
|
|
2547
|
+
return take(output, {
|
|
2548
|
+
AcceleratorArn: __expectString,
|
|
2549
|
+
CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2550
|
+
DnsName: __expectString,
|
|
2551
|
+
DualStackDnsName: __expectString,
|
|
2552
|
+
Enabled: __expectBoolean,
|
|
2553
|
+
Events: (_) => de_AcceleratorEvents(_, context),
|
|
2554
|
+
IpAddressType: __expectString,
|
|
2555
|
+
IpSets: _json,
|
|
2556
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2557
|
+
Name: __expectString,
|
|
2558
|
+
Status: __expectString,
|
|
2785
2559
|
});
|
|
2786
2560
|
};
|
|
2787
|
-
const
|
|
2788
|
-
return {
|
|
2789
|
-
|
|
2790
|
-
|
|
2561
|
+
const de_AcceleratorEvent = (output, context) => {
|
|
2562
|
+
return take(output, {
|
|
2563
|
+
Message: __expectString,
|
|
2564
|
+
Timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2565
|
+
});
|
|
2791
2566
|
};
|
|
2792
|
-
const
|
|
2793
|
-
|
|
2567
|
+
const de_AcceleratorEvents = (output, context) => {
|
|
2568
|
+
const retVal = (output || [])
|
|
2794
2569
|
.filter((e) => e != null)
|
|
2795
2570
|
.map((entry) => {
|
|
2796
|
-
return
|
|
2571
|
+
return de_AcceleratorEvent(entry, context);
|
|
2797
2572
|
});
|
|
2573
|
+
return retVal;
|
|
2798
2574
|
};
|
|
2799
|
-
const
|
|
2800
|
-
|
|
2575
|
+
const de_Accelerators = (output, context) => {
|
|
2576
|
+
const retVal = (output || [])
|
|
2801
2577
|
.filter((e) => e != null)
|
|
2802
2578
|
.map((entry) => {
|
|
2803
|
-
return entry;
|
|
2579
|
+
return de_Accelerator(entry, context);
|
|
2804
2580
|
});
|
|
2581
|
+
return retVal;
|
|
2805
2582
|
};
|
|
2806
|
-
const
|
|
2807
|
-
return {
|
|
2808
|
-
|
|
2809
|
-
};
|
|
2810
|
-
};
|
|
2811
|
-
const se_DeleteCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2812
|
-
return {
|
|
2813
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2814
|
-
};
|
|
2583
|
+
const de_AdvertiseByoipCidrResponse = (output, context) => {
|
|
2584
|
+
return take(output, {
|
|
2585
|
+
ByoipCidr: (_) => de_ByoipCidr(_, context),
|
|
2586
|
+
});
|
|
2815
2587
|
};
|
|
2816
|
-
const
|
|
2817
|
-
return {
|
|
2818
|
-
|
|
2819
|
-
|
|
2588
|
+
const de_ByoipCidr = (output, context) => {
|
|
2589
|
+
return take(output, {
|
|
2590
|
+
Cidr: __expectString,
|
|
2591
|
+
Events: (_) => de_ByoipCidrEvents(_, context),
|
|
2592
|
+
State: __expectString,
|
|
2593
|
+
});
|
|
2820
2594
|
};
|
|
2821
|
-
const
|
|
2822
|
-
return {
|
|
2823
|
-
|
|
2824
|
-
|
|
2595
|
+
const de_ByoipCidrEvent = (output, context) => {
|
|
2596
|
+
return take(output, {
|
|
2597
|
+
Message: __expectString,
|
|
2598
|
+
Timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2599
|
+
});
|
|
2825
2600
|
};
|
|
2826
|
-
const
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2601
|
+
const de_ByoipCidrEvents = (output, context) => {
|
|
2602
|
+
const retVal = (output || [])
|
|
2603
|
+
.filter((e) => e != null)
|
|
2604
|
+
.map((entry) => {
|
|
2605
|
+
return de_ByoipCidrEvent(entry, context);
|
|
2606
|
+
});
|
|
2607
|
+
return retVal;
|
|
2830
2608
|
};
|
|
2831
|
-
const
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2609
|
+
const de_ByoipCidrs = (output, context) => {
|
|
2610
|
+
const retVal = (output || [])
|
|
2611
|
+
.filter((e) => e != null)
|
|
2612
|
+
.map((entry) => {
|
|
2613
|
+
return de_ByoipCidr(entry, context);
|
|
2614
|
+
});
|
|
2615
|
+
return retVal;
|
|
2835
2616
|
};
|
|
2836
|
-
const
|
|
2837
|
-
return {
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
DestinationAddresses: se_DestinationAddresses(input.DestinationAddresses, context),
|
|
2841
|
-
}),
|
|
2842
|
-
...(input.DestinationPorts != null && { DestinationPorts: se_DestinationPorts(input.DestinationPorts, context) }),
|
|
2843
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2844
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2845
|
-
};
|
|
2617
|
+
const de_CreateAcceleratorResponse = (output, context) => {
|
|
2618
|
+
return take(output, {
|
|
2619
|
+
Accelerator: (_) => de_Accelerator(_, context),
|
|
2620
|
+
});
|
|
2846
2621
|
};
|
|
2847
|
-
const
|
|
2848
|
-
return {
|
|
2849
|
-
|
|
2850
|
-
};
|
|
2622
|
+
const de_CreateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
2623
|
+
return take(output, {
|
|
2624
|
+
Accelerator: (_) => de_CustomRoutingAccelerator(_, context),
|
|
2625
|
+
});
|
|
2851
2626
|
};
|
|
2852
|
-
const
|
|
2853
|
-
return {
|
|
2854
|
-
|
|
2855
|
-
};
|
|
2627
|
+
const de_CreateEndpointGroupResponse = (output, context) => {
|
|
2628
|
+
return take(output, {
|
|
2629
|
+
EndpointGroup: (_) => de_EndpointGroup(_, context),
|
|
2630
|
+
});
|
|
2856
2631
|
};
|
|
2857
|
-
const
|
|
2858
|
-
return {
|
|
2859
|
-
|
|
2860
|
-
|
|
2632
|
+
const de_CustomRoutingAccelerator = (output, context) => {
|
|
2633
|
+
return take(output, {
|
|
2634
|
+
AcceleratorArn: __expectString,
|
|
2635
|
+
CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2636
|
+
DnsName: __expectString,
|
|
2637
|
+
Enabled: __expectBoolean,
|
|
2638
|
+
IpAddressType: __expectString,
|
|
2639
|
+
IpSets: _json,
|
|
2640
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2641
|
+
Name: __expectString,
|
|
2642
|
+
Status: __expectString,
|
|
2643
|
+
});
|
|
2861
2644
|
};
|
|
2862
|
-
const
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2645
|
+
const de_CustomRoutingAccelerators = (output, context) => {
|
|
2646
|
+
const retVal = (output || [])
|
|
2647
|
+
.filter((e) => e != null)
|
|
2648
|
+
.map((entry) => {
|
|
2649
|
+
return de_CustomRoutingAccelerator(entry, context);
|
|
2650
|
+
});
|
|
2651
|
+
return retVal;
|
|
2866
2652
|
};
|
|
2867
|
-
const
|
|
2868
|
-
return {
|
|
2869
|
-
|
|
2870
|
-
};
|
|
2653
|
+
const de_DeprovisionByoipCidrResponse = (output, context) => {
|
|
2654
|
+
return take(output, {
|
|
2655
|
+
ByoipCidr: (_) => de_ByoipCidr(_, context),
|
|
2656
|
+
});
|
|
2871
2657
|
};
|
|
2872
|
-
const
|
|
2873
|
-
return {
|
|
2874
|
-
|
|
2875
|
-
};
|
|
2658
|
+
const de_DescribeAcceleratorResponse = (output, context) => {
|
|
2659
|
+
return take(output, {
|
|
2660
|
+
Accelerator: (_) => de_Accelerator(_, context),
|
|
2661
|
+
});
|
|
2876
2662
|
};
|
|
2877
|
-
const
|
|
2878
|
-
return {
|
|
2879
|
-
|
|
2880
|
-
};
|
|
2663
|
+
const de_DescribeCustomRoutingAcceleratorResponse = (output, context) => {
|
|
2664
|
+
return take(output, {
|
|
2665
|
+
Accelerator: (_) => de_CustomRoutingAccelerator(_, context),
|
|
2666
|
+
});
|
|
2881
2667
|
};
|
|
2882
|
-
const
|
|
2883
|
-
return {
|
|
2884
|
-
|
|
2885
|
-
};
|
|
2668
|
+
const de_DescribeEndpointGroupResponse = (output, context) => {
|
|
2669
|
+
return take(output, {
|
|
2670
|
+
EndpointGroup: (_) => de_EndpointGroup(_, context),
|
|
2671
|
+
});
|
|
2886
2672
|
};
|
|
2887
|
-
const
|
|
2888
|
-
return {
|
|
2889
|
-
|
|
2890
|
-
|
|
2673
|
+
const de_EndpointGroup = (output, context) => {
|
|
2674
|
+
return take(output, {
|
|
2675
|
+
EndpointDescriptions: _json,
|
|
2676
|
+
EndpointGroupArn: __expectString,
|
|
2677
|
+
EndpointGroupRegion: __expectString,
|
|
2678
|
+
HealthCheckIntervalSeconds: __expectInt32,
|
|
2679
|
+
HealthCheckPath: __expectString,
|
|
2680
|
+
HealthCheckPort: __expectInt32,
|
|
2681
|
+
HealthCheckProtocol: __expectString,
|
|
2682
|
+
PortOverrides: _json,
|
|
2683
|
+
ThresholdCount: __expectInt32,
|
|
2684
|
+
TrafficDialPercentage: __limitedParseFloat32,
|
|
2685
|
+
});
|
|
2891
2686
|
};
|
|
2892
|
-
const
|
|
2893
|
-
|
|
2687
|
+
const de_EndpointGroups = (output, context) => {
|
|
2688
|
+
const retVal = (output || [])
|
|
2894
2689
|
.filter((e) => e != null)
|
|
2895
2690
|
.map((entry) => {
|
|
2896
|
-
return entry;
|
|
2691
|
+
return de_EndpointGroup(entry, context);
|
|
2897
2692
|
});
|
|
2693
|
+
return retVal;
|
|
2898
2694
|
};
|
|
2899
|
-
const
|
|
2900
|
-
return
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
return entry;
|
|
2695
|
+
const de_ListAcceleratorsResponse = (output, context) => {
|
|
2696
|
+
return take(output, {
|
|
2697
|
+
Accelerators: (_) => de_Accelerators(_, context),
|
|
2698
|
+
NextToken: __expectString,
|
|
2904
2699
|
});
|
|
2905
2700
|
};
|
|
2906
|
-
const
|
|
2907
|
-
return {
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2912
|
-
...(input.Weight != null && { Weight: input.Weight }),
|
|
2913
|
-
};
|
|
2701
|
+
const de_ListByoipCidrsResponse = (output, context) => {
|
|
2702
|
+
return take(output, {
|
|
2703
|
+
ByoipCidrs: (_) => de_ByoipCidrs(_, context),
|
|
2704
|
+
NextToken: __expectString,
|
|
2705
|
+
});
|
|
2914
2706
|
};
|
|
2915
|
-
const
|
|
2916
|
-
return
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
return se_EndpointConfiguration(entry, context);
|
|
2707
|
+
const de_ListCustomRoutingAcceleratorsResponse = (output, context) => {
|
|
2708
|
+
return take(output, {
|
|
2709
|
+
Accelerators: (_) => de_CustomRoutingAccelerators(_, context),
|
|
2710
|
+
NextToken: __expectString,
|
|
2920
2711
|
});
|
|
2921
2712
|
};
|
|
2922
|
-
const
|
|
2923
|
-
return {
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2928
|
-
};
|
|
2713
|
+
const de_ListEndpointGroupsResponse = (output, context) => {
|
|
2714
|
+
return take(output, {
|
|
2715
|
+
EndpointGroups: (_) => de_EndpointGroups(_, context),
|
|
2716
|
+
NextToken: __expectString,
|
|
2717
|
+
});
|
|
2929
2718
|
};
|
|
2930
|
-
const
|
|
2931
|
-
return
|
|
2932
|
-
|
|
2933
|
-
.map((entry) => {
|
|
2934
|
-
return se_EndpointIdentifier(entry, context);
|
|
2719
|
+
const de_ProvisionByoipCidrResponse = (output, context) => {
|
|
2720
|
+
return take(output, {
|
|
2721
|
+
ByoipCidr: (_) => de_ByoipCidr(_, context),
|
|
2935
2722
|
});
|
|
2936
2723
|
};
|
|
2937
|
-
const
|
|
2938
|
-
return
|
|
2939
|
-
|
|
2940
|
-
.map((entry) => {
|
|
2941
|
-
return entry;
|
|
2724
|
+
const de_UpdateAcceleratorResponse = (output, context) => {
|
|
2725
|
+
return take(output, {
|
|
2726
|
+
Accelerator: (_) => de_Accelerator(_, context),
|
|
2942
2727
|
});
|
|
2943
2728
|
};
|
|
2944
|
-
const
|
|
2945
|
-
return
|
|
2946
|
-
|
|
2947
|
-
.map((entry) => {
|
|
2948
|
-
return entry;
|
|
2729
|
+
const de_UpdateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
2730
|
+
return take(output, {
|
|
2731
|
+
Accelerator: (_) => de_CustomRoutingAccelerator(_, context),
|
|
2949
2732
|
});
|
|
2950
2733
|
};
|
|
2951
|
-
const se_ListAcceleratorsRequest = (input, context) => {
|
|
2952
|
-
return {
|
|
2953
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2954
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2955
|
-
};
|
|
2956
|
-
};
|
|
2957
|
-
const se_ListByoipCidrsRequest = (input, context) => {
|
|
2958
|
-
return {
|
|
2959
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2960
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2961
|
-
};
|
|
2962
|
-
};
|
|
2963
|
-
const se_ListCustomRoutingAcceleratorsRequest = (input, context) => {
|
|
2964
|
-
return {
|
|
2965
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2966
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2967
|
-
};
|
|
2968
|
-
};
|
|
2969
|
-
const se_ListCustomRoutingEndpointGroupsRequest = (input, context) => {
|
|
2970
|
-
return {
|
|
2971
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2972
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2973
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2974
|
-
};
|
|
2975
|
-
};
|
|
2976
|
-
const se_ListCustomRoutingListenersRequest = (input, context) => {
|
|
2977
|
-
return {
|
|
2978
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2979
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2980
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2981
|
-
};
|
|
2982
|
-
};
|
|
2983
|
-
const se_ListCustomRoutingPortMappingsByDestinationRequest = (input, context) => {
|
|
2984
|
-
return {
|
|
2985
|
-
...(input.DestinationAddress != null && { DestinationAddress: input.DestinationAddress }),
|
|
2986
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2987
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2988
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2989
|
-
};
|
|
2990
|
-
};
|
|
2991
|
-
const se_ListCustomRoutingPortMappingsRequest = (input, context) => {
|
|
2992
|
-
return {
|
|
2993
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2994
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2995
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2996
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2997
|
-
};
|
|
2998
|
-
};
|
|
2999
|
-
const se_ListEndpointGroupsRequest = (input, context) => {
|
|
3000
|
-
return {
|
|
3001
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
3002
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3003
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3004
|
-
};
|
|
3005
|
-
};
|
|
3006
|
-
const se_ListListenersRequest = (input, context) => {
|
|
3007
|
-
return {
|
|
3008
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3009
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3010
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3011
|
-
};
|
|
3012
|
-
};
|
|
3013
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3014
|
-
return {
|
|
3015
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3016
|
-
};
|
|
3017
|
-
};
|
|
3018
|
-
const se_PortOverride = (input, context) => {
|
|
3019
|
-
return {
|
|
3020
|
-
...(input.EndpointPort != null && { EndpointPort: input.EndpointPort }),
|
|
3021
|
-
...(input.ListenerPort != null && { ListenerPort: input.ListenerPort }),
|
|
3022
|
-
};
|
|
3023
|
-
};
|
|
3024
|
-
const se_PortOverrides = (input, context) => {
|
|
3025
|
-
return input
|
|
3026
|
-
.filter((e) => e != null)
|
|
3027
|
-
.map((entry) => {
|
|
3028
|
-
return se_PortOverride(entry, context);
|
|
3029
|
-
});
|
|
3030
|
-
};
|
|
3031
|
-
const se_PortRange = (input, context) => {
|
|
3032
|
-
return {
|
|
3033
|
-
...(input.FromPort != null && { FromPort: input.FromPort }),
|
|
3034
|
-
...(input.ToPort != null && { ToPort: input.ToPort }),
|
|
3035
|
-
};
|
|
3036
|
-
};
|
|
3037
|
-
const se_PortRanges = (input, context) => {
|
|
3038
|
-
return input
|
|
3039
|
-
.filter((e) => e != null)
|
|
3040
|
-
.map((entry) => {
|
|
3041
|
-
return se_PortRange(entry, context);
|
|
3042
|
-
});
|
|
3043
|
-
};
|
|
3044
|
-
const se_ProvisionByoipCidrRequest = (input, context) => {
|
|
3045
|
-
return {
|
|
3046
|
-
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
3047
|
-
...(input.CidrAuthorizationContext != null && {
|
|
3048
|
-
CidrAuthorizationContext: se_CidrAuthorizationContext(input.CidrAuthorizationContext, context),
|
|
3049
|
-
}),
|
|
3050
|
-
};
|
|
3051
|
-
};
|
|
3052
|
-
const se_RemoveCustomRoutingEndpointsRequest = (input, context) => {
|
|
3053
|
-
return {
|
|
3054
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3055
|
-
...(input.EndpointIds != null && { EndpointIds: se_EndpointIds(input.EndpointIds, context) }),
|
|
3056
|
-
};
|
|
3057
|
-
};
|
|
3058
|
-
const se_RemoveEndpointsRequest = (input, context) => {
|
|
3059
|
-
return {
|
|
3060
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3061
|
-
...(input.EndpointIdentifiers != null && {
|
|
3062
|
-
EndpointIdentifiers: se_EndpointIdentifiers(input.EndpointIdentifiers, context),
|
|
3063
|
-
}),
|
|
3064
|
-
};
|
|
3065
|
-
};
|
|
3066
|
-
const se_Tag = (input, context) => {
|
|
3067
|
-
return {
|
|
3068
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3069
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3070
|
-
};
|
|
3071
|
-
};
|
|
3072
|
-
const se_TagKeys = (input, context) => {
|
|
3073
|
-
return input
|
|
3074
|
-
.filter((e) => e != null)
|
|
3075
|
-
.map((entry) => {
|
|
3076
|
-
return entry;
|
|
3077
|
-
});
|
|
3078
|
-
};
|
|
3079
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3080
|
-
return {
|
|
3081
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3082
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3083
|
-
};
|
|
3084
|
-
};
|
|
3085
|
-
const se_Tags = (input, context) => {
|
|
3086
|
-
return input
|
|
3087
|
-
.filter((e) => e != null)
|
|
3088
|
-
.map((entry) => {
|
|
3089
|
-
return se_Tag(entry, context);
|
|
3090
|
-
});
|
|
3091
|
-
};
|
|
3092
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3093
|
-
return {
|
|
3094
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3095
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
3096
|
-
};
|
|
3097
|
-
};
|
|
3098
|
-
const se_UpdateAcceleratorAttributesRequest = (input, context) => {
|
|
3099
|
-
return {
|
|
3100
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3101
|
-
...(input.FlowLogsEnabled != null && { FlowLogsEnabled: input.FlowLogsEnabled }),
|
|
3102
|
-
...(input.FlowLogsS3Bucket != null && { FlowLogsS3Bucket: input.FlowLogsS3Bucket }),
|
|
3103
|
-
...(input.FlowLogsS3Prefix != null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }),
|
|
3104
|
-
};
|
|
3105
|
-
};
|
|
3106
|
-
const se_UpdateAcceleratorRequest = (input, context) => {
|
|
3107
|
-
return {
|
|
3108
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3109
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3110
|
-
...(input.IpAddressType != null && { IpAddressType: input.IpAddressType }),
|
|
3111
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3112
|
-
};
|
|
3113
|
-
};
|
|
3114
|
-
const se_UpdateCustomRoutingAcceleratorAttributesRequest = (input, context) => {
|
|
3115
|
-
return {
|
|
3116
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3117
|
-
...(input.FlowLogsEnabled != null && { FlowLogsEnabled: input.FlowLogsEnabled }),
|
|
3118
|
-
...(input.FlowLogsS3Bucket != null && { FlowLogsS3Bucket: input.FlowLogsS3Bucket }),
|
|
3119
|
-
...(input.FlowLogsS3Prefix != null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }),
|
|
3120
|
-
};
|
|
3121
|
-
};
|
|
3122
|
-
const se_UpdateCustomRoutingAcceleratorRequest = (input, context) => {
|
|
3123
|
-
return {
|
|
3124
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3125
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3126
|
-
...(input.IpAddressType != null && { IpAddressType: input.IpAddressType }),
|
|
3127
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3128
|
-
};
|
|
3129
|
-
};
|
|
3130
|
-
const se_UpdateCustomRoutingListenerRequest = (input, context) => {
|
|
3131
|
-
return {
|
|
3132
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
3133
|
-
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
3134
|
-
};
|
|
3135
|
-
};
|
|
3136
|
-
const se_UpdateEndpointGroupRequest = (input, context) => {
|
|
3137
|
-
return {
|
|
3138
|
-
...(input.EndpointConfigurations != null && {
|
|
3139
|
-
EndpointConfigurations: se_EndpointConfigurations(input.EndpointConfigurations, context),
|
|
3140
|
-
}),
|
|
3141
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3142
|
-
...(input.HealthCheckIntervalSeconds != null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds }),
|
|
3143
|
-
...(input.HealthCheckPath != null && { HealthCheckPath: input.HealthCheckPath }),
|
|
3144
|
-
...(input.HealthCheckPort != null && { HealthCheckPort: input.HealthCheckPort }),
|
|
3145
|
-
...(input.HealthCheckProtocol != null && { HealthCheckProtocol: input.HealthCheckProtocol }),
|
|
3146
|
-
...(input.PortOverrides != null && { PortOverrides: se_PortOverrides(input.PortOverrides, context) }),
|
|
3147
|
-
...(input.ThresholdCount != null && { ThresholdCount: input.ThresholdCount }),
|
|
3148
|
-
...(input.TrafficDialPercentage != null && {
|
|
3149
|
-
TrafficDialPercentage: __serializeFloat(input.TrafficDialPercentage),
|
|
3150
|
-
}),
|
|
3151
|
-
};
|
|
3152
|
-
};
|
|
3153
|
-
const se_UpdateListenerRequest = (input, context) => {
|
|
3154
|
-
return {
|
|
3155
|
-
...(input.ClientAffinity != null && { ClientAffinity: input.ClientAffinity }),
|
|
3156
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
3157
|
-
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
3158
|
-
...(input.Protocol != null && { Protocol: input.Protocol }),
|
|
3159
|
-
};
|
|
3160
|
-
};
|
|
3161
|
-
const se_WithdrawByoipCidrRequest = (input, context) => {
|
|
3162
|
-
return {
|
|
3163
|
-
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
3164
|
-
};
|
|
3165
|
-
};
|
|
3166
|
-
const de_Accelerator = (output, context) => {
|
|
3167
|
-
return {
|
|
3168
|
-
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
3169
|
-
CreatedTime: output.CreatedTime != null
|
|
3170
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
3171
|
-
: undefined,
|
|
3172
|
-
DnsName: __expectString(output.DnsName),
|
|
3173
|
-
DualStackDnsName: __expectString(output.DualStackDnsName),
|
|
3174
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
3175
|
-
Events: output.Events != null ? de_AcceleratorEvents(output.Events, context) : undefined,
|
|
3176
|
-
IpAddressType: __expectString(output.IpAddressType),
|
|
3177
|
-
IpSets: output.IpSets != null ? de_IpSets(output.IpSets, context) : undefined,
|
|
3178
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3179
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3180
|
-
: undefined,
|
|
3181
|
-
Name: __expectString(output.Name),
|
|
3182
|
-
Status: __expectString(output.Status),
|
|
3183
|
-
};
|
|
3184
|
-
};
|
|
3185
|
-
const de_AcceleratorAttributes = (output, context) => {
|
|
3186
|
-
return {
|
|
3187
|
-
FlowLogsEnabled: __expectBoolean(output.FlowLogsEnabled),
|
|
3188
|
-
FlowLogsS3Bucket: __expectString(output.FlowLogsS3Bucket),
|
|
3189
|
-
FlowLogsS3Prefix: __expectString(output.FlowLogsS3Prefix),
|
|
3190
|
-
};
|
|
3191
|
-
};
|
|
3192
|
-
const de_AcceleratorEvent = (output, context) => {
|
|
3193
|
-
return {
|
|
3194
|
-
Message: __expectString(output.Message),
|
|
3195
|
-
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
3196
|
-
};
|
|
3197
|
-
};
|
|
3198
|
-
const de_AcceleratorEvents = (output, context) => {
|
|
3199
|
-
const retVal = (output || [])
|
|
3200
|
-
.filter((e) => e != null)
|
|
3201
|
-
.map((entry) => {
|
|
3202
|
-
if (entry === null) {
|
|
3203
|
-
return null;
|
|
3204
|
-
}
|
|
3205
|
-
return de_AcceleratorEvent(entry, context);
|
|
3206
|
-
});
|
|
3207
|
-
return retVal;
|
|
3208
|
-
};
|
|
3209
|
-
const de_AcceleratorNotDisabledException = (output, context) => {
|
|
3210
|
-
return {
|
|
3211
|
-
Message: __expectString(output.Message),
|
|
3212
|
-
};
|
|
3213
|
-
};
|
|
3214
|
-
const de_AcceleratorNotFoundException = (output, context) => {
|
|
3215
|
-
return {
|
|
3216
|
-
Message: __expectString(output.Message),
|
|
3217
|
-
};
|
|
3218
|
-
};
|
|
3219
|
-
const de_Accelerators = (output, context) => {
|
|
3220
|
-
const retVal = (output || [])
|
|
3221
|
-
.filter((e) => e != null)
|
|
3222
|
-
.map((entry) => {
|
|
3223
|
-
if (entry === null) {
|
|
3224
|
-
return null;
|
|
3225
|
-
}
|
|
3226
|
-
return de_Accelerator(entry, context);
|
|
3227
|
-
});
|
|
3228
|
-
return retVal;
|
|
3229
|
-
};
|
|
3230
|
-
const de_AccessDeniedException = (output, context) => {
|
|
3231
|
-
return {
|
|
3232
|
-
Message: __expectString(output.Message),
|
|
3233
|
-
};
|
|
3234
|
-
};
|
|
3235
|
-
const de_AddCustomRoutingEndpointsResponse = (output, context) => {
|
|
3236
|
-
return {
|
|
3237
|
-
EndpointDescriptions: output.EndpointDescriptions != null
|
|
3238
|
-
? de_CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
|
|
3239
|
-
: undefined,
|
|
3240
|
-
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3241
|
-
};
|
|
3242
|
-
};
|
|
3243
|
-
const de_AddEndpointsResponse = (output, context) => {
|
|
3244
|
-
return {
|
|
3245
|
-
EndpointDescriptions: output.EndpointDescriptions != null ? de_EndpointDescriptions(output.EndpointDescriptions, context) : undefined,
|
|
3246
|
-
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3247
|
-
};
|
|
3248
|
-
};
|
|
3249
|
-
const de_AdvertiseByoipCidrResponse = (output, context) => {
|
|
3250
|
-
return {
|
|
3251
|
-
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3252
|
-
};
|
|
3253
|
-
};
|
|
3254
|
-
const de_AssociatedEndpointGroupFoundException = (output, context) => {
|
|
3255
|
-
return {
|
|
3256
|
-
Message: __expectString(output.Message),
|
|
3257
|
-
};
|
|
3258
|
-
};
|
|
3259
|
-
const de_AssociatedListenerFoundException = (output, context) => {
|
|
3260
|
-
return {
|
|
3261
|
-
Message: __expectString(output.Message),
|
|
3262
|
-
};
|
|
3263
|
-
};
|
|
3264
|
-
const de_ByoipCidr = (output, context) => {
|
|
3265
|
-
return {
|
|
3266
|
-
Cidr: __expectString(output.Cidr),
|
|
3267
|
-
Events: output.Events != null ? de_ByoipCidrEvents(output.Events, context) : undefined,
|
|
3268
|
-
State: __expectString(output.State),
|
|
3269
|
-
};
|
|
3270
|
-
};
|
|
3271
|
-
const de_ByoipCidrEvent = (output, context) => {
|
|
3272
|
-
return {
|
|
3273
|
-
Message: __expectString(output.Message),
|
|
3274
|
-
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
3275
|
-
};
|
|
3276
|
-
};
|
|
3277
|
-
const de_ByoipCidrEvents = (output, context) => {
|
|
3278
|
-
const retVal = (output || [])
|
|
3279
|
-
.filter((e) => e != null)
|
|
3280
|
-
.map((entry) => {
|
|
3281
|
-
if (entry === null) {
|
|
3282
|
-
return null;
|
|
3283
|
-
}
|
|
3284
|
-
return de_ByoipCidrEvent(entry, context);
|
|
3285
|
-
});
|
|
3286
|
-
return retVal;
|
|
3287
|
-
};
|
|
3288
|
-
const de_ByoipCidrNotFoundException = (output, context) => {
|
|
3289
|
-
return {
|
|
3290
|
-
Message: __expectString(output.Message),
|
|
3291
|
-
};
|
|
3292
|
-
};
|
|
3293
|
-
const de_ByoipCidrs = (output, context) => {
|
|
3294
|
-
const retVal = (output || [])
|
|
3295
|
-
.filter((e) => e != null)
|
|
3296
|
-
.map((entry) => {
|
|
3297
|
-
if (entry === null) {
|
|
3298
|
-
return null;
|
|
3299
|
-
}
|
|
3300
|
-
return de_ByoipCidr(entry, context);
|
|
3301
|
-
});
|
|
3302
|
-
return retVal;
|
|
3303
|
-
};
|
|
3304
|
-
const de_ConflictException = (output, context) => {
|
|
3305
|
-
return {
|
|
3306
|
-
Message: __expectString(output.Message),
|
|
3307
|
-
};
|
|
3308
|
-
};
|
|
3309
|
-
const de_CreateAcceleratorResponse = (output, context) => {
|
|
3310
|
-
return {
|
|
3311
|
-
Accelerator: output.Accelerator != null ? de_Accelerator(output.Accelerator, context) : undefined,
|
|
3312
|
-
};
|
|
3313
|
-
};
|
|
3314
|
-
const de_CreateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3315
|
-
return {
|
|
3316
|
-
Accelerator: output.Accelerator != null ? de_CustomRoutingAccelerator(output.Accelerator, context) : undefined,
|
|
3317
|
-
};
|
|
3318
|
-
};
|
|
3319
|
-
const de_CreateCustomRoutingEndpointGroupResponse = (output, context) => {
|
|
3320
|
-
return {
|
|
3321
|
-
EndpointGroup: output.EndpointGroup != null ? de_CustomRoutingEndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3322
|
-
};
|
|
3323
|
-
};
|
|
3324
|
-
const de_CreateCustomRoutingListenerResponse = (output, context) => {
|
|
3325
|
-
return {
|
|
3326
|
-
Listener: output.Listener != null ? de_CustomRoutingListener(output.Listener, context) : undefined,
|
|
3327
|
-
};
|
|
3328
|
-
};
|
|
3329
|
-
const de_CreateEndpointGroupResponse = (output, context) => {
|
|
3330
|
-
return {
|
|
3331
|
-
EndpointGroup: output.EndpointGroup != null ? de_EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3332
|
-
};
|
|
3333
|
-
};
|
|
3334
|
-
const de_CreateListenerResponse = (output, context) => {
|
|
3335
|
-
return {
|
|
3336
|
-
Listener: output.Listener != null ? de_Listener(output.Listener, context) : undefined,
|
|
3337
|
-
};
|
|
3338
|
-
};
|
|
3339
|
-
const de_CustomRoutingAccelerator = (output, context) => {
|
|
3340
|
-
return {
|
|
3341
|
-
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
3342
|
-
CreatedTime: output.CreatedTime != null
|
|
3343
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
3344
|
-
: undefined,
|
|
3345
|
-
DnsName: __expectString(output.DnsName),
|
|
3346
|
-
Enabled: __expectBoolean(output.Enabled),
|
|
3347
|
-
IpAddressType: __expectString(output.IpAddressType),
|
|
3348
|
-
IpSets: output.IpSets != null ? de_IpSets(output.IpSets, context) : undefined,
|
|
3349
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3350
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3351
|
-
: undefined,
|
|
3352
|
-
Name: __expectString(output.Name),
|
|
3353
|
-
Status: __expectString(output.Status),
|
|
3354
|
-
};
|
|
3355
|
-
};
|
|
3356
|
-
const de_CustomRoutingAcceleratorAttributes = (output, context) => {
|
|
3357
|
-
return {
|
|
3358
|
-
FlowLogsEnabled: __expectBoolean(output.FlowLogsEnabled),
|
|
3359
|
-
FlowLogsS3Bucket: __expectString(output.FlowLogsS3Bucket),
|
|
3360
|
-
FlowLogsS3Prefix: __expectString(output.FlowLogsS3Prefix),
|
|
3361
|
-
};
|
|
3362
|
-
};
|
|
3363
|
-
const de_CustomRoutingAccelerators = (output, context) => {
|
|
3364
|
-
const retVal = (output || [])
|
|
3365
|
-
.filter((e) => e != null)
|
|
3366
|
-
.map((entry) => {
|
|
3367
|
-
if (entry === null) {
|
|
3368
|
-
return null;
|
|
3369
|
-
}
|
|
3370
|
-
return de_CustomRoutingAccelerator(entry, context);
|
|
3371
|
-
});
|
|
3372
|
-
return retVal;
|
|
3373
|
-
};
|
|
3374
|
-
const de_CustomRoutingDestinationDescription = (output, context) => {
|
|
3375
|
-
return {
|
|
3376
|
-
FromPort: __expectInt32(output.FromPort),
|
|
3377
|
-
Protocols: output.Protocols != null ? de_Protocols(output.Protocols, context) : undefined,
|
|
3378
|
-
ToPort: __expectInt32(output.ToPort),
|
|
3379
|
-
};
|
|
3380
|
-
};
|
|
3381
|
-
const de_CustomRoutingDestinationDescriptions = (output, context) => {
|
|
3382
|
-
const retVal = (output || [])
|
|
3383
|
-
.filter((e) => e != null)
|
|
3384
|
-
.map((entry) => {
|
|
3385
|
-
if (entry === null) {
|
|
3386
|
-
return null;
|
|
3387
|
-
}
|
|
3388
|
-
return de_CustomRoutingDestinationDescription(entry, context);
|
|
3389
|
-
});
|
|
3390
|
-
return retVal;
|
|
3391
|
-
};
|
|
3392
|
-
const de_CustomRoutingEndpointDescription = (output, context) => {
|
|
3393
|
-
return {
|
|
3394
|
-
EndpointId: __expectString(output.EndpointId),
|
|
3395
|
-
};
|
|
3396
|
-
};
|
|
3397
|
-
const de_CustomRoutingEndpointDescriptions = (output, context) => {
|
|
3398
|
-
const retVal = (output || [])
|
|
3399
|
-
.filter((e) => e != null)
|
|
3400
|
-
.map((entry) => {
|
|
3401
|
-
if (entry === null) {
|
|
3402
|
-
return null;
|
|
3403
|
-
}
|
|
3404
|
-
return de_CustomRoutingEndpointDescription(entry, context);
|
|
3405
|
-
});
|
|
3406
|
-
return retVal;
|
|
3407
|
-
};
|
|
3408
|
-
const de_CustomRoutingEndpointGroup = (output, context) => {
|
|
3409
|
-
return {
|
|
3410
|
-
DestinationDescriptions: output.DestinationDescriptions != null
|
|
3411
|
-
? de_CustomRoutingDestinationDescriptions(output.DestinationDescriptions, context)
|
|
3412
|
-
: undefined,
|
|
3413
|
-
EndpointDescriptions: output.EndpointDescriptions != null
|
|
3414
|
-
? de_CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
|
|
3415
|
-
: undefined,
|
|
3416
|
-
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3417
|
-
EndpointGroupRegion: __expectString(output.EndpointGroupRegion),
|
|
3418
|
-
};
|
|
3419
|
-
};
|
|
3420
|
-
const de_CustomRoutingEndpointGroups = (output, context) => {
|
|
3421
|
-
const retVal = (output || [])
|
|
3422
|
-
.filter((e) => e != null)
|
|
3423
|
-
.map((entry) => {
|
|
3424
|
-
if (entry === null) {
|
|
3425
|
-
return null;
|
|
3426
|
-
}
|
|
3427
|
-
return de_CustomRoutingEndpointGroup(entry, context);
|
|
3428
|
-
});
|
|
3429
|
-
return retVal;
|
|
3430
|
-
};
|
|
3431
|
-
const de_CustomRoutingListener = (output, context) => {
|
|
3432
|
-
return {
|
|
3433
|
-
ListenerArn: __expectString(output.ListenerArn),
|
|
3434
|
-
PortRanges: output.PortRanges != null ? de_PortRanges(output.PortRanges, context) : undefined,
|
|
3435
|
-
};
|
|
3436
|
-
};
|
|
3437
|
-
const de_CustomRoutingListeners = (output, context) => {
|
|
3438
|
-
const retVal = (output || [])
|
|
3439
|
-
.filter((e) => e != null)
|
|
3440
|
-
.map((entry) => {
|
|
3441
|
-
if (entry === null) {
|
|
3442
|
-
return null;
|
|
3443
|
-
}
|
|
3444
|
-
return de_CustomRoutingListener(entry, context);
|
|
3445
|
-
});
|
|
3446
|
-
return retVal;
|
|
3447
|
-
};
|
|
3448
|
-
const de_CustomRoutingProtocols = (output, context) => {
|
|
3449
|
-
const retVal = (output || [])
|
|
3450
|
-
.filter((e) => e != null)
|
|
3451
|
-
.map((entry) => {
|
|
3452
|
-
if (entry === null) {
|
|
3453
|
-
return null;
|
|
3454
|
-
}
|
|
3455
|
-
return __expectString(entry);
|
|
3456
|
-
});
|
|
3457
|
-
return retVal;
|
|
3458
|
-
};
|
|
3459
|
-
const de_DeprovisionByoipCidrResponse = (output, context) => {
|
|
3460
|
-
return {
|
|
3461
|
-
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3462
|
-
};
|
|
3463
|
-
};
|
|
3464
|
-
const de_DescribeAcceleratorAttributesResponse = (output, context) => {
|
|
3465
|
-
return {
|
|
3466
|
-
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3467
|
-
? de_AcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3468
|
-
: undefined,
|
|
3469
|
-
};
|
|
3470
|
-
};
|
|
3471
|
-
const de_DescribeAcceleratorResponse = (output, context) => {
|
|
3472
|
-
return {
|
|
3473
|
-
Accelerator: output.Accelerator != null ? de_Accelerator(output.Accelerator, context) : undefined,
|
|
3474
|
-
};
|
|
3475
|
-
};
|
|
3476
|
-
const de_DescribeCustomRoutingAcceleratorAttributesResponse = (output, context) => {
|
|
3477
|
-
return {
|
|
3478
|
-
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3479
|
-
? de_CustomRoutingAcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3480
|
-
: undefined,
|
|
3481
|
-
};
|
|
3482
|
-
};
|
|
3483
|
-
const de_DescribeCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3484
|
-
return {
|
|
3485
|
-
Accelerator: output.Accelerator != null ? de_CustomRoutingAccelerator(output.Accelerator, context) : undefined,
|
|
3486
|
-
};
|
|
3487
|
-
};
|
|
3488
|
-
const de_DescribeCustomRoutingEndpointGroupResponse = (output, context) => {
|
|
3489
|
-
return {
|
|
3490
|
-
EndpointGroup: output.EndpointGroup != null ? de_CustomRoutingEndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3491
|
-
};
|
|
3492
|
-
};
|
|
3493
|
-
const de_DescribeCustomRoutingListenerResponse = (output, context) => {
|
|
3494
|
-
return {
|
|
3495
|
-
Listener: output.Listener != null ? de_CustomRoutingListener(output.Listener, context) : undefined,
|
|
3496
|
-
};
|
|
3497
|
-
};
|
|
3498
|
-
const de_DescribeEndpointGroupResponse = (output, context) => {
|
|
3499
|
-
return {
|
|
3500
|
-
EndpointGroup: output.EndpointGroup != null ? de_EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3501
|
-
};
|
|
3502
|
-
};
|
|
3503
|
-
const de_DescribeListenerResponse = (output, context) => {
|
|
3504
|
-
return {
|
|
3505
|
-
Listener: output.Listener != null ? de_Listener(output.Listener, context) : undefined,
|
|
3506
|
-
};
|
|
3507
|
-
};
|
|
3508
|
-
const de_DestinationPortMapping = (output, context) => {
|
|
3509
|
-
return {
|
|
3510
|
-
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
3511
|
-
AcceleratorSocketAddresses: output.AcceleratorSocketAddresses != null
|
|
3512
|
-
? de_SocketAddresses(output.AcceleratorSocketAddresses, context)
|
|
3513
|
-
: undefined,
|
|
3514
|
-
DestinationSocketAddress: output.DestinationSocketAddress != null ? de_SocketAddress(output.DestinationSocketAddress, context) : undefined,
|
|
3515
|
-
DestinationTrafficState: __expectString(output.DestinationTrafficState),
|
|
3516
|
-
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3517
|
-
EndpointGroupRegion: __expectString(output.EndpointGroupRegion),
|
|
3518
|
-
EndpointId: __expectString(output.EndpointId),
|
|
3519
|
-
IpAddressType: __expectString(output.IpAddressType),
|
|
3520
|
-
};
|
|
3521
|
-
};
|
|
3522
|
-
const de_DestinationPortMappings = (output, context) => {
|
|
3523
|
-
const retVal = (output || [])
|
|
3524
|
-
.filter((e) => e != null)
|
|
3525
|
-
.map((entry) => {
|
|
3526
|
-
if (entry === null) {
|
|
3527
|
-
return null;
|
|
3528
|
-
}
|
|
3529
|
-
return de_DestinationPortMapping(entry, context);
|
|
3530
|
-
});
|
|
3531
|
-
return retVal;
|
|
3532
|
-
};
|
|
3533
|
-
const de_EndpointAlreadyExistsException = (output, context) => {
|
|
3534
|
-
return {
|
|
3535
|
-
Message: __expectString(output.Message),
|
|
3536
|
-
};
|
|
3537
|
-
};
|
|
3538
|
-
const de_EndpointDescription = (output, context) => {
|
|
3539
|
-
return {
|
|
3540
|
-
ClientIPPreservationEnabled: __expectBoolean(output.ClientIPPreservationEnabled),
|
|
3541
|
-
EndpointId: __expectString(output.EndpointId),
|
|
3542
|
-
HealthReason: __expectString(output.HealthReason),
|
|
3543
|
-
HealthState: __expectString(output.HealthState),
|
|
3544
|
-
Weight: __expectInt32(output.Weight),
|
|
3545
|
-
};
|
|
3546
|
-
};
|
|
3547
|
-
const de_EndpointDescriptions = (output, context) => {
|
|
3548
|
-
const retVal = (output || [])
|
|
3549
|
-
.filter((e) => e != null)
|
|
3550
|
-
.map((entry) => {
|
|
3551
|
-
if (entry === null) {
|
|
3552
|
-
return null;
|
|
3553
|
-
}
|
|
3554
|
-
return de_EndpointDescription(entry, context);
|
|
3555
|
-
});
|
|
3556
|
-
return retVal;
|
|
3557
|
-
};
|
|
3558
|
-
const de_EndpointGroup = (output, context) => {
|
|
3559
|
-
return {
|
|
3560
|
-
EndpointDescriptions: output.EndpointDescriptions != null ? de_EndpointDescriptions(output.EndpointDescriptions, context) : undefined,
|
|
3561
|
-
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3562
|
-
EndpointGroupRegion: __expectString(output.EndpointGroupRegion),
|
|
3563
|
-
HealthCheckIntervalSeconds: __expectInt32(output.HealthCheckIntervalSeconds),
|
|
3564
|
-
HealthCheckPath: __expectString(output.HealthCheckPath),
|
|
3565
|
-
HealthCheckPort: __expectInt32(output.HealthCheckPort),
|
|
3566
|
-
HealthCheckProtocol: __expectString(output.HealthCheckProtocol),
|
|
3567
|
-
PortOverrides: output.PortOverrides != null ? de_PortOverrides(output.PortOverrides, context) : undefined,
|
|
3568
|
-
ThresholdCount: __expectInt32(output.ThresholdCount),
|
|
3569
|
-
TrafficDialPercentage: __limitedParseFloat32(output.TrafficDialPercentage),
|
|
3570
|
-
};
|
|
3571
|
-
};
|
|
3572
|
-
const de_EndpointGroupAlreadyExistsException = (output, context) => {
|
|
3573
|
-
return {
|
|
3574
|
-
Message: __expectString(output.Message),
|
|
3575
|
-
};
|
|
3576
|
-
};
|
|
3577
|
-
const de_EndpointGroupNotFoundException = (output, context) => {
|
|
3578
|
-
return {
|
|
3579
|
-
Message: __expectString(output.Message),
|
|
3580
|
-
};
|
|
3581
|
-
};
|
|
3582
|
-
const de_EndpointGroups = (output, context) => {
|
|
3583
|
-
const retVal = (output || [])
|
|
3584
|
-
.filter((e) => e != null)
|
|
3585
|
-
.map((entry) => {
|
|
3586
|
-
if (entry === null) {
|
|
3587
|
-
return null;
|
|
3588
|
-
}
|
|
3589
|
-
return de_EndpointGroup(entry, context);
|
|
3590
|
-
});
|
|
3591
|
-
return retVal;
|
|
3592
|
-
};
|
|
3593
|
-
const de_EndpointNotFoundException = (output, context) => {
|
|
3594
|
-
return {
|
|
3595
|
-
Message: __expectString(output.Message),
|
|
3596
|
-
};
|
|
3597
|
-
};
|
|
3598
|
-
const de_IncorrectCidrStateException = (output, context) => {
|
|
3599
|
-
return {
|
|
3600
|
-
Message: __expectString(output.Message),
|
|
3601
|
-
};
|
|
3602
|
-
};
|
|
3603
|
-
const de_InternalServiceErrorException = (output, context) => {
|
|
3604
|
-
return {
|
|
3605
|
-
Message: __expectString(output.Message),
|
|
3606
|
-
};
|
|
3607
|
-
};
|
|
3608
|
-
const de_InvalidArgumentException = (output, context) => {
|
|
3609
|
-
return {
|
|
3610
|
-
Message: __expectString(output.Message),
|
|
3611
|
-
};
|
|
3612
|
-
};
|
|
3613
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
3614
|
-
return {
|
|
3615
|
-
Message: __expectString(output.Message),
|
|
3616
|
-
};
|
|
3617
|
-
};
|
|
3618
|
-
const de_InvalidPortRangeException = (output, context) => {
|
|
3619
|
-
return {
|
|
3620
|
-
Message: __expectString(output.Message),
|
|
3621
|
-
};
|
|
3622
|
-
};
|
|
3623
|
-
const de_IpAddresses = (output, context) => {
|
|
3624
|
-
const retVal = (output || [])
|
|
3625
|
-
.filter((e) => e != null)
|
|
3626
|
-
.map((entry) => {
|
|
3627
|
-
if (entry === null) {
|
|
3628
|
-
return null;
|
|
3629
|
-
}
|
|
3630
|
-
return __expectString(entry);
|
|
3631
|
-
});
|
|
3632
|
-
return retVal;
|
|
3633
|
-
};
|
|
3634
|
-
const de_IpSet = (output, context) => {
|
|
3635
|
-
return {
|
|
3636
|
-
IpAddressFamily: __expectString(output.IpAddressFamily),
|
|
3637
|
-
IpAddresses: output.IpAddresses != null ? de_IpAddresses(output.IpAddresses, context) : undefined,
|
|
3638
|
-
IpFamily: __expectString(output.IpFamily),
|
|
3639
|
-
};
|
|
3640
|
-
};
|
|
3641
|
-
const de_IpSets = (output, context) => {
|
|
3642
|
-
const retVal = (output || [])
|
|
3643
|
-
.filter((e) => e != null)
|
|
3644
|
-
.map((entry) => {
|
|
3645
|
-
if (entry === null) {
|
|
3646
|
-
return null;
|
|
3647
|
-
}
|
|
3648
|
-
return de_IpSet(entry, context);
|
|
3649
|
-
});
|
|
3650
|
-
return retVal;
|
|
3651
|
-
};
|
|
3652
|
-
const de_LimitExceededException = (output, context) => {
|
|
3653
|
-
return {
|
|
3654
|
-
Message: __expectString(output.Message),
|
|
3655
|
-
};
|
|
3656
|
-
};
|
|
3657
|
-
const de_ListAcceleratorsResponse = (output, context) => {
|
|
3658
|
-
return {
|
|
3659
|
-
Accelerators: output.Accelerators != null ? de_Accelerators(output.Accelerators, context) : undefined,
|
|
3660
|
-
NextToken: __expectString(output.NextToken),
|
|
3661
|
-
};
|
|
3662
|
-
};
|
|
3663
|
-
const de_ListByoipCidrsResponse = (output, context) => {
|
|
3664
|
-
return {
|
|
3665
|
-
ByoipCidrs: output.ByoipCidrs != null ? de_ByoipCidrs(output.ByoipCidrs, context) : undefined,
|
|
3666
|
-
NextToken: __expectString(output.NextToken),
|
|
3667
|
-
};
|
|
3668
|
-
};
|
|
3669
|
-
const de_ListCustomRoutingAcceleratorsResponse = (output, context) => {
|
|
3670
|
-
return {
|
|
3671
|
-
Accelerators: output.Accelerators != null ? de_CustomRoutingAccelerators(output.Accelerators, context) : undefined,
|
|
3672
|
-
NextToken: __expectString(output.NextToken),
|
|
3673
|
-
};
|
|
3674
|
-
};
|
|
3675
|
-
const de_ListCustomRoutingEndpointGroupsResponse = (output, context) => {
|
|
3676
|
-
return {
|
|
3677
|
-
EndpointGroups: output.EndpointGroups != null ? de_CustomRoutingEndpointGroups(output.EndpointGroups, context) : undefined,
|
|
3678
|
-
NextToken: __expectString(output.NextToken),
|
|
3679
|
-
};
|
|
3680
|
-
};
|
|
3681
|
-
const de_ListCustomRoutingListenersResponse = (output, context) => {
|
|
3682
|
-
return {
|
|
3683
|
-
Listeners: output.Listeners != null ? de_CustomRoutingListeners(output.Listeners, context) : undefined,
|
|
3684
|
-
NextToken: __expectString(output.NextToken),
|
|
3685
|
-
};
|
|
3686
|
-
};
|
|
3687
|
-
const de_ListCustomRoutingPortMappingsByDestinationResponse = (output, context) => {
|
|
3688
|
-
return {
|
|
3689
|
-
DestinationPortMappings: output.DestinationPortMappings != null
|
|
3690
|
-
? de_DestinationPortMappings(output.DestinationPortMappings, context)
|
|
3691
|
-
: undefined,
|
|
3692
|
-
NextToken: __expectString(output.NextToken),
|
|
3693
|
-
};
|
|
3694
|
-
};
|
|
3695
|
-
const de_ListCustomRoutingPortMappingsResponse = (output, context) => {
|
|
3696
|
-
return {
|
|
3697
|
-
NextToken: __expectString(output.NextToken),
|
|
3698
|
-
PortMappings: output.PortMappings != null ? de_PortMappings(output.PortMappings, context) : undefined,
|
|
3699
|
-
};
|
|
3700
|
-
};
|
|
3701
|
-
const de_ListEndpointGroupsResponse = (output, context) => {
|
|
3702
|
-
return {
|
|
3703
|
-
EndpointGroups: output.EndpointGroups != null ? de_EndpointGroups(output.EndpointGroups, context) : undefined,
|
|
3704
|
-
NextToken: __expectString(output.NextToken),
|
|
3705
|
-
};
|
|
3706
|
-
};
|
|
3707
|
-
const de_Listener = (output, context) => {
|
|
3708
|
-
return {
|
|
3709
|
-
ClientAffinity: __expectString(output.ClientAffinity),
|
|
3710
|
-
ListenerArn: __expectString(output.ListenerArn),
|
|
3711
|
-
PortRanges: output.PortRanges != null ? de_PortRanges(output.PortRanges, context) : undefined,
|
|
3712
|
-
Protocol: __expectString(output.Protocol),
|
|
3713
|
-
};
|
|
3714
|
-
};
|
|
3715
|
-
const de_ListenerNotFoundException = (output, context) => {
|
|
3716
|
-
return {
|
|
3717
|
-
Message: __expectString(output.Message),
|
|
3718
|
-
};
|
|
3719
|
-
};
|
|
3720
|
-
const de_Listeners = (output, context) => {
|
|
3721
|
-
const retVal = (output || [])
|
|
3722
|
-
.filter((e) => e != null)
|
|
3723
|
-
.map((entry) => {
|
|
3724
|
-
if (entry === null) {
|
|
3725
|
-
return null;
|
|
3726
|
-
}
|
|
3727
|
-
return de_Listener(entry, context);
|
|
3728
|
-
});
|
|
3729
|
-
return retVal;
|
|
3730
|
-
};
|
|
3731
|
-
const de_ListListenersResponse = (output, context) => {
|
|
3732
|
-
return {
|
|
3733
|
-
Listeners: output.Listeners != null ? de_Listeners(output.Listeners, context) : undefined,
|
|
3734
|
-
NextToken: __expectString(output.NextToken),
|
|
3735
|
-
};
|
|
3736
|
-
};
|
|
3737
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
3738
|
-
return {
|
|
3739
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
3740
|
-
};
|
|
3741
|
-
};
|
|
3742
|
-
const de_PortMapping = (output, context) => {
|
|
3743
|
-
return {
|
|
3744
|
-
AcceleratorPort: __expectInt32(output.AcceleratorPort),
|
|
3745
|
-
DestinationSocketAddress: output.DestinationSocketAddress != null ? de_SocketAddress(output.DestinationSocketAddress, context) : undefined,
|
|
3746
|
-
DestinationTrafficState: __expectString(output.DestinationTrafficState),
|
|
3747
|
-
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3748
|
-
EndpointId: __expectString(output.EndpointId),
|
|
3749
|
-
Protocols: output.Protocols != null ? de_CustomRoutingProtocols(output.Protocols, context) : undefined,
|
|
3750
|
-
};
|
|
3751
|
-
};
|
|
3752
|
-
const de_PortMappings = (output, context) => {
|
|
3753
|
-
const retVal = (output || [])
|
|
3754
|
-
.filter((e) => e != null)
|
|
3755
|
-
.map((entry) => {
|
|
3756
|
-
if (entry === null) {
|
|
3757
|
-
return null;
|
|
3758
|
-
}
|
|
3759
|
-
return de_PortMapping(entry, context);
|
|
3760
|
-
});
|
|
3761
|
-
return retVal;
|
|
3762
|
-
};
|
|
3763
|
-
const de_PortOverride = (output, context) => {
|
|
3764
|
-
return {
|
|
3765
|
-
EndpointPort: __expectInt32(output.EndpointPort),
|
|
3766
|
-
ListenerPort: __expectInt32(output.ListenerPort),
|
|
3767
|
-
};
|
|
3768
|
-
};
|
|
3769
|
-
const de_PortOverrides = (output, context) => {
|
|
3770
|
-
const retVal = (output || [])
|
|
3771
|
-
.filter((e) => e != null)
|
|
3772
|
-
.map((entry) => {
|
|
3773
|
-
if (entry === null) {
|
|
3774
|
-
return null;
|
|
3775
|
-
}
|
|
3776
|
-
return de_PortOverride(entry, context);
|
|
3777
|
-
});
|
|
3778
|
-
return retVal;
|
|
3779
|
-
};
|
|
3780
|
-
const de_PortRange = (output, context) => {
|
|
3781
|
-
return {
|
|
3782
|
-
FromPort: __expectInt32(output.FromPort),
|
|
3783
|
-
ToPort: __expectInt32(output.ToPort),
|
|
3784
|
-
};
|
|
3785
|
-
};
|
|
3786
|
-
const de_PortRanges = (output, context) => {
|
|
3787
|
-
const retVal = (output || [])
|
|
3788
|
-
.filter((e) => e != null)
|
|
3789
|
-
.map((entry) => {
|
|
3790
|
-
if (entry === null) {
|
|
3791
|
-
return null;
|
|
3792
|
-
}
|
|
3793
|
-
return de_PortRange(entry, context);
|
|
3794
|
-
});
|
|
3795
|
-
return retVal;
|
|
3796
|
-
};
|
|
3797
|
-
const de_Protocols = (output, context) => {
|
|
3798
|
-
const retVal = (output || [])
|
|
3799
|
-
.filter((e) => e != null)
|
|
3800
|
-
.map((entry) => {
|
|
3801
|
-
if (entry === null) {
|
|
3802
|
-
return null;
|
|
3803
|
-
}
|
|
3804
|
-
return __expectString(entry);
|
|
3805
|
-
});
|
|
3806
|
-
return retVal;
|
|
3807
|
-
};
|
|
3808
|
-
const de_ProvisionByoipCidrResponse = (output, context) => {
|
|
3809
|
-
return {
|
|
3810
|
-
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3811
|
-
};
|
|
3812
|
-
};
|
|
3813
|
-
const de_SocketAddress = (output, context) => {
|
|
3814
|
-
return {
|
|
3815
|
-
IpAddress: __expectString(output.IpAddress),
|
|
3816
|
-
Port: __expectInt32(output.Port),
|
|
3817
|
-
};
|
|
3818
|
-
};
|
|
3819
|
-
const de_SocketAddresses = (output, context) => {
|
|
3820
|
-
const retVal = (output || [])
|
|
3821
|
-
.filter((e) => e != null)
|
|
3822
|
-
.map((entry) => {
|
|
3823
|
-
if (entry === null) {
|
|
3824
|
-
return null;
|
|
3825
|
-
}
|
|
3826
|
-
return de_SocketAddress(entry, context);
|
|
3827
|
-
});
|
|
3828
|
-
return retVal;
|
|
3829
|
-
};
|
|
3830
|
-
const de_Tag = (output, context) => {
|
|
3831
|
-
return {
|
|
3832
|
-
Key: __expectString(output.Key),
|
|
3833
|
-
Value: __expectString(output.Value),
|
|
3834
|
-
};
|
|
3835
|
-
};
|
|
3836
|
-
const de_TagResourceResponse = (output, context) => {
|
|
3837
|
-
return {};
|
|
3838
|
-
};
|
|
3839
|
-
const de_Tags = (output, context) => {
|
|
3840
|
-
const retVal = (output || [])
|
|
3841
|
-
.filter((e) => e != null)
|
|
3842
|
-
.map((entry) => {
|
|
3843
|
-
if (entry === null) {
|
|
3844
|
-
return null;
|
|
3845
|
-
}
|
|
3846
|
-
return de_Tag(entry, context);
|
|
3847
|
-
});
|
|
3848
|
-
return retVal;
|
|
3849
|
-
};
|
|
3850
|
-
const de_TransactionInProgressException = (output, context) => {
|
|
3851
|
-
return {
|
|
3852
|
-
Message: __expectString(output.Message),
|
|
3853
|
-
};
|
|
3854
|
-
};
|
|
3855
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
3856
|
-
return {};
|
|
3857
|
-
};
|
|
3858
|
-
const de_UpdateAcceleratorAttributesResponse = (output, context) => {
|
|
3859
|
-
return {
|
|
3860
|
-
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3861
|
-
? de_AcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3862
|
-
: undefined,
|
|
3863
|
-
};
|
|
3864
|
-
};
|
|
3865
|
-
const de_UpdateAcceleratorResponse = (output, context) => {
|
|
3866
|
-
return {
|
|
3867
|
-
Accelerator: output.Accelerator != null ? de_Accelerator(output.Accelerator, context) : undefined,
|
|
3868
|
-
};
|
|
3869
|
-
};
|
|
3870
|
-
const de_UpdateCustomRoutingAcceleratorAttributesResponse = (output, context) => {
|
|
3871
|
-
return {
|
|
3872
|
-
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3873
|
-
? de_CustomRoutingAcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3874
|
-
: undefined,
|
|
3875
|
-
};
|
|
3876
|
-
};
|
|
3877
|
-
const de_UpdateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3878
|
-
return {
|
|
3879
|
-
Accelerator: output.Accelerator != null ? de_CustomRoutingAccelerator(output.Accelerator, context) : undefined,
|
|
3880
|
-
};
|
|
3881
|
-
};
|
|
3882
|
-
const de_UpdateCustomRoutingListenerResponse = (output, context) => {
|
|
3883
|
-
return {
|
|
3884
|
-
Listener: output.Listener != null ? de_CustomRoutingListener(output.Listener, context) : undefined,
|
|
3885
|
-
};
|
|
3886
|
-
};
|
|
3887
2734
|
const de_UpdateEndpointGroupResponse = (output, context) => {
|
|
3888
|
-
return {
|
|
3889
|
-
EndpointGroup:
|
|
3890
|
-
};
|
|
3891
|
-
};
|
|
3892
|
-
const de_UpdateListenerResponse = (output, context) => {
|
|
3893
|
-
return {
|
|
3894
|
-
Listener: output.Listener != null ? de_Listener(output.Listener, context) : undefined,
|
|
3895
|
-
};
|
|
2735
|
+
return take(output, {
|
|
2736
|
+
EndpointGroup: (_) => de_EndpointGroup(_, context),
|
|
2737
|
+
});
|
|
3896
2738
|
};
|
|
3897
2739
|
const de_WithdrawByoipCidrResponse = (output, context) => {
|
|
3898
|
-
return {
|
|
3899
|
-
ByoipCidr:
|
|
3900
|
-
};
|
|
2740
|
+
return take(output, {
|
|
2741
|
+
ByoipCidr: (_) => de_ByoipCidr(_, context),
|
|
2742
|
+
});
|
|
3901
2743
|
};
|
|
3902
2744
|
const deserializeMetadata = (output) => ({
|
|
3903
2745
|
httpStatusCode: output.statusCode,
|
|
@@ -3912,6 +2754,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
3912
2754
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3913
2755
|
};
|
|
3914
2756
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2757
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
3915
2758
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3916
2759
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3917
2760
|
const contents = {
|
|
@@ -3930,6 +2773,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
3930
2773
|
}
|
|
3931
2774
|
return new __HttpRequest(contents);
|
|
3932
2775
|
};
|
|
2776
|
+
function sharedHeaders(operation) {
|
|
2777
|
+
return {
|
|
2778
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2779
|
+
"x-amz-target": `GlobalAccelerator_V20180706.${operation}`,
|
|
2780
|
+
};
|
|
2781
|
+
}
|
|
3933
2782
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3934
2783
|
if (encoded.length) {
|
|
3935
2784
|
return JSON.parse(encoded);
|