@aws-sdk/client-global-accelerator 3.303.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AddCustomRoutingEndpointsCommand.js +2 -2
- package/dist-cjs/commands/AddEndpointsCommand.js +2 -2
- package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +2 -2
- package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +2 -2
- package/dist-cjs/commands/CreateAcceleratorCommand.js +2 -2
- package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +2 -2
- package/dist-cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateCustomRoutingListenerCommand.js +2 -2
- package/dist-cjs/commands/CreateEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateListenerCommand.js +2 -2
- package/dist-cjs/commands/DeleteAcceleratorCommand.js +2 -2
- package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +2 -2
- package/dist-cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteCustomRoutingListenerCommand.js +2 -2
- package/dist-cjs/commands/DeleteEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteListenerCommand.js +2 -2
- package/dist-cjs/commands/DenyCustomRoutingTrafficCommand.js +2 -2
- package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +2 -2
- package/dist-cjs/commands/DescribeAcceleratorAttributesCommand.js +2 -2
- package/dist-cjs/commands/DescribeAcceleratorCommand.js +2 -2
- package/dist-cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +2 -2
- package/dist-cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +2 -2
- package/dist-cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/DescribeCustomRoutingListenerCommand.js +2 -2
- package/dist-cjs/commands/DescribeEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/DescribeListenerCommand.js +2 -2
- package/dist-cjs/commands/ListAcceleratorsCommand.js +2 -2
- package/dist-cjs/commands/ListByoipCidrsCommand.js +2 -2
- package/dist-cjs/commands/ListCustomRoutingAcceleratorsCommand.js +2 -2
- package/dist-cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +2 -2
- package/dist-cjs/commands/ListCustomRoutingListenersCommand.js +2 -2
- package/dist-cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +2 -2
- package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +2 -2
- package/dist-cjs/commands/ListEndpointGroupsCommand.js +2 -2
- package/dist-cjs/commands/ListListenersCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ProvisionByoipCidrCommand.js +2 -2
- package/dist-cjs/commands/RemoveCustomRoutingEndpointsCommand.js +2 -2
- package/dist-cjs/commands/RemoveEndpointsCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAcceleratorAttributesCommand.js +2 -2
- package/dist-cjs/commands/UpdateAcceleratorCommand.js +2 -2
- package/dist-cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +2 -2
- package/dist-cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +2 -2
- package/dist-cjs/commands/UpdateCustomRoutingListenerCommand.js +2 -2
- package/dist-cjs/commands/UpdateEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/UpdateListenerCommand.js +2 -2
- package/dist-cjs/commands/WithdrawByoipCidrCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +901 -931
- package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +3 -3
- package/dist-es/commands/AddEndpointsCommand.js +3 -3
- package/dist-es/commands/AdvertiseByoipCidrCommand.js +3 -3
- package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +3 -3
- package/dist-es/commands/CreateAcceleratorCommand.js +3 -3
- package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +3 -3
- package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +3 -3
- package/dist-es/commands/CreateCustomRoutingListenerCommand.js +3 -3
- package/dist-es/commands/CreateEndpointGroupCommand.js +3 -3
- package/dist-es/commands/CreateListenerCommand.js +3 -3
- package/dist-es/commands/DeleteAcceleratorCommand.js +3 -3
- package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +3 -3
- package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +3 -3
- package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +3 -3
- package/dist-es/commands/DeleteEndpointGroupCommand.js +3 -3
- package/dist-es/commands/DeleteListenerCommand.js +3 -3
- package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +3 -3
- package/dist-es/commands/DeprovisionByoipCidrCommand.js +3 -3
- package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +3 -3
- package/dist-es/commands/DescribeAcceleratorCommand.js +3 -3
- package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +3 -3
- package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +3 -3
- package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +3 -3
- package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +3 -3
- package/dist-es/commands/DescribeEndpointGroupCommand.js +3 -3
- package/dist-es/commands/DescribeListenerCommand.js +3 -3
- package/dist-es/commands/ListAcceleratorsCommand.js +3 -3
- package/dist-es/commands/ListByoipCidrsCommand.js +3 -3
- package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +3 -3
- package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +3 -3
- package/dist-es/commands/ListCustomRoutingListenersCommand.js +3 -3
- package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +3 -3
- package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +3 -3
- package/dist-es/commands/ListEndpointGroupsCommand.js +3 -3
- package/dist-es/commands/ListListenersCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ProvisionByoipCidrCommand.js +3 -3
- package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +3 -3
- package/dist-es/commands/RemoveEndpointsCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +3 -3
- package/dist-es/commands/UpdateAcceleratorCommand.js +3 -3
- package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +3 -3
- package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +3 -3
- package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +3 -3
- package/dist-es/commands/UpdateEndpointGroupCommand.js +3 -3
- package/dist-es/commands/UpdateListenerCommand.js +3 -3
- package/dist-es/commands/WithdrawByoipCidrCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +801 -831
- package/dist-types/protocols/Aws_json1_1.d.ts +392 -98
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +98 -98
- package/package.json +29 -29
|
@@ -3,461 +3,461 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
|
|
|
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
|
-
export const
|
|
6
|
+
export const se_AddCustomRoutingEndpointsCommand = async (input, context) => {
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/x-amz-json-1.1",
|
|
9
9
|
"x-amz-target": "GlobalAccelerator_V20180706.AddCustomRoutingEndpoints",
|
|
10
10
|
};
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify(se_AddCustomRoutingEndpointsRequest(input, context));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
|
-
export const
|
|
15
|
+
export const se_AddEndpointsCommand = async (input, context) => {
|
|
16
16
|
const headers = {
|
|
17
17
|
"content-type": "application/x-amz-json-1.1",
|
|
18
18
|
"x-amz-target": "GlobalAccelerator_V20180706.AddEndpoints",
|
|
19
19
|
};
|
|
20
20
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify(se_AddEndpointsRequest(input, context));
|
|
22
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
23
|
};
|
|
24
|
-
export const
|
|
24
|
+
export const se_AdvertiseByoipCidrCommand = async (input, context) => {
|
|
25
25
|
const headers = {
|
|
26
26
|
"content-type": "application/x-amz-json-1.1",
|
|
27
27
|
"x-amz-target": "GlobalAccelerator_V20180706.AdvertiseByoipCidr",
|
|
28
28
|
};
|
|
29
29
|
let body;
|
|
30
|
-
body = JSON.stringify(
|
|
30
|
+
body = JSON.stringify(se_AdvertiseByoipCidrRequest(input, context));
|
|
31
31
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
32
|
};
|
|
33
|
-
export const
|
|
33
|
+
export const se_AllowCustomRoutingTrafficCommand = async (input, context) => {
|
|
34
34
|
const headers = {
|
|
35
35
|
"content-type": "application/x-amz-json-1.1",
|
|
36
36
|
"x-amz-target": "GlobalAccelerator_V20180706.AllowCustomRoutingTraffic",
|
|
37
37
|
};
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify(se_AllowCustomRoutingTrafficRequest(input, context));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
|
-
export const
|
|
42
|
+
export const se_CreateAcceleratorCommand = async (input, context) => {
|
|
43
43
|
const headers = {
|
|
44
44
|
"content-type": "application/x-amz-json-1.1",
|
|
45
45
|
"x-amz-target": "GlobalAccelerator_V20180706.CreateAccelerator",
|
|
46
46
|
};
|
|
47
47
|
let body;
|
|
48
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify(se_CreateAcceleratorRequest(input, context));
|
|
49
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
50
|
};
|
|
51
|
-
export const
|
|
51
|
+
export const se_CreateCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
52
52
|
const headers = {
|
|
53
53
|
"content-type": "application/x-amz-json-1.1",
|
|
54
54
|
"x-amz-target": "GlobalAccelerator_V20180706.CreateCustomRoutingAccelerator",
|
|
55
55
|
};
|
|
56
56
|
let body;
|
|
57
|
-
body = JSON.stringify(
|
|
57
|
+
body = JSON.stringify(se_CreateCustomRoutingAcceleratorRequest(input, context));
|
|
58
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
59
|
};
|
|
60
|
-
export const
|
|
60
|
+
export const se_CreateCustomRoutingEndpointGroupCommand = async (input, context) => {
|
|
61
61
|
const headers = {
|
|
62
62
|
"content-type": "application/x-amz-json-1.1",
|
|
63
63
|
"x-amz-target": "GlobalAccelerator_V20180706.CreateCustomRoutingEndpointGroup",
|
|
64
64
|
};
|
|
65
65
|
let body;
|
|
66
|
-
body = JSON.stringify(
|
|
66
|
+
body = JSON.stringify(se_CreateCustomRoutingEndpointGroupRequest(input, context));
|
|
67
67
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
68
|
};
|
|
69
|
-
export const
|
|
69
|
+
export const se_CreateCustomRoutingListenerCommand = async (input, context) => {
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/x-amz-json-1.1",
|
|
72
72
|
"x-amz-target": "GlobalAccelerator_V20180706.CreateCustomRoutingListener",
|
|
73
73
|
};
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(se_CreateCustomRoutingListenerRequest(input, context));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
|
-
export const
|
|
78
|
+
export const se_CreateEndpointGroupCommand = async (input, context) => {
|
|
79
79
|
const headers = {
|
|
80
80
|
"content-type": "application/x-amz-json-1.1",
|
|
81
81
|
"x-amz-target": "GlobalAccelerator_V20180706.CreateEndpointGroup",
|
|
82
82
|
};
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify(se_CreateEndpointGroupRequest(input, context));
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
|
-
export const
|
|
87
|
+
export const se_CreateListenerCommand = async (input, context) => {
|
|
88
88
|
const headers = {
|
|
89
89
|
"content-type": "application/x-amz-json-1.1",
|
|
90
90
|
"x-amz-target": "GlobalAccelerator_V20180706.CreateListener",
|
|
91
91
|
};
|
|
92
92
|
let body;
|
|
93
|
-
body = JSON.stringify(
|
|
93
|
+
body = JSON.stringify(se_CreateListenerRequest(input, context));
|
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
95
|
};
|
|
96
|
-
export const
|
|
96
|
+
export const se_DeleteAcceleratorCommand = async (input, context) => {
|
|
97
97
|
const headers = {
|
|
98
98
|
"content-type": "application/x-amz-json-1.1",
|
|
99
99
|
"x-amz-target": "GlobalAccelerator_V20180706.DeleteAccelerator",
|
|
100
100
|
};
|
|
101
101
|
let body;
|
|
102
|
-
body = JSON.stringify(
|
|
102
|
+
body = JSON.stringify(se_DeleteAcceleratorRequest(input, context));
|
|
103
103
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
104
104
|
};
|
|
105
|
-
export const
|
|
105
|
+
export const se_DeleteCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
106
106
|
const headers = {
|
|
107
107
|
"content-type": "application/x-amz-json-1.1",
|
|
108
108
|
"x-amz-target": "GlobalAccelerator_V20180706.DeleteCustomRoutingAccelerator",
|
|
109
109
|
};
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify(se_DeleteCustomRoutingAcceleratorRequest(input, context));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
|
-
export const
|
|
114
|
+
export const se_DeleteCustomRoutingEndpointGroupCommand = async (input, context) => {
|
|
115
115
|
const headers = {
|
|
116
116
|
"content-type": "application/x-amz-json-1.1",
|
|
117
117
|
"x-amz-target": "GlobalAccelerator_V20180706.DeleteCustomRoutingEndpointGroup",
|
|
118
118
|
};
|
|
119
119
|
let body;
|
|
120
|
-
body = JSON.stringify(
|
|
120
|
+
body = JSON.stringify(se_DeleteCustomRoutingEndpointGroupRequest(input, context));
|
|
121
121
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
122
122
|
};
|
|
123
|
-
export const
|
|
123
|
+
export const se_DeleteCustomRoutingListenerCommand = async (input, context) => {
|
|
124
124
|
const headers = {
|
|
125
125
|
"content-type": "application/x-amz-json-1.1",
|
|
126
126
|
"x-amz-target": "GlobalAccelerator_V20180706.DeleteCustomRoutingListener",
|
|
127
127
|
};
|
|
128
128
|
let body;
|
|
129
|
-
body = JSON.stringify(
|
|
129
|
+
body = JSON.stringify(se_DeleteCustomRoutingListenerRequest(input, context));
|
|
130
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
131
|
};
|
|
132
|
-
export const
|
|
132
|
+
export const se_DeleteEndpointGroupCommand = async (input, context) => {
|
|
133
133
|
const headers = {
|
|
134
134
|
"content-type": "application/x-amz-json-1.1",
|
|
135
135
|
"x-amz-target": "GlobalAccelerator_V20180706.DeleteEndpointGroup",
|
|
136
136
|
};
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify(se_DeleteEndpointGroupRequest(input, context));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
|
-
export const
|
|
141
|
+
export const se_DeleteListenerCommand = async (input, context) => {
|
|
142
142
|
const headers = {
|
|
143
143
|
"content-type": "application/x-amz-json-1.1",
|
|
144
144
|
"x-amz-target": "GlobalAccelerator_V20180706.DeleteListener",
|
|
145
145
|
};
|
|
146
146
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify(se_DeleteListenerRequest(input, context));
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
|
-
export const
|
|
150
|
+
export const se_DenyCustomRoutingTrafficCommand = async (input, context) => {
|
|
151
151
|
const headers = {
|
|
152
152
|
"content-type": "application/x-amz-json-1.1",
|
|
153
153
|
"x-amz-target": "GlobalAccelerator_V20180706.DenyCustomRoutingTraffic",
|
|
154
154
|
};
|
|
155
155
|
let body;
|
|
156
|
-
body = JSON.stringify(
|
|
156
|
+
body = JSON.stringify(se_DenyCustomRoutingTrafficRequest(input, context));
|
|
157
157
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
158
|
};
|
|
159
|
-
export const
|
|
159
|
+
export const se_DeprovisionByoipCidrCommand = async (input, context) => {
|
|
160
160
|
const headers = {
|
|
161
161
|
"content-type": "application/x-amz-json-1.1",
|
|
162
162
|
"x-amz-target": "GlobalAccelerator_V20180706.DeprovisionByoipCidr",
|
|
163
163
|
};
|
|
164
164
|
let body;
|
|
165
|
-
body = JSON.stringify(
|
|
165
|
+
body = JSON.stringify(se_DeprovisionByoipCidrRequest(input, context));
|
|
166
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
167
|
};
|
|
168
|
-
export const
|
|
168
|
+
export const se_DescribeAcceleratorCommand = async (input, context) => {
|
|
169
169
|
const headers = {
|
|
170
170
|
"content-type": "application/x-amz-json-1.1",
|
|
171
171
|
"x-amz-target": "GlobalAccelerator_V20180706.DescribeAccelerator",
|
|
172
172
|
};
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify(se_DescribeAcceleratorRequest(input, context));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
|
-
export const
|
|
177
|
+
export const se_DescribeAcceleratorAttributesCommand = async (input, context) => {
|
|
178
178
|
const headers = {
|
|
179
179
|
"content-type": "application/x-amz-json-1.1",
|
|
180
180
|
"x-amz-target": "GlobalAccelerator_V20180706.DescribeAcceleratorAttributes",
|
|
181
181
|
};
|
|
182
182
|
let body;
|
|
183
|
-
body = JSON.stringify(
|
|
183
|
+
body = JSON.stringify(se_DescribeAcceleratorAttributesRequest(input, context));
|
|
184
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
185
|
};
|
|
186
|
-
export const
|
|
186
|
+
export const se_DescribeCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
187
187
|
const headers = {
|
|
188
188
|
"content-type": "application/x-amz-json-1.1",
|
|
189
189
|
"x-amz-target": "GlobalAccelerator_V20180706.DescribeCustomRoutingAccelerator",
|
|
190
190
|
};
|
|
191
191
|
let body;
|
|
192
|
-
body = JSON.stringify(
|
|
192
|
+
body = JSON.stringify(se_DescribeCustomRoutingAcceleratorRequest(input, context));
|
|
193
193
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
194
194
|
};
|
|
195
|
-
export const
|
|
195
|
+
export const se_DescribeCustomRoutingAcceleratorAttributesCommand = async (input, context) => {
|
|
196
196
|
const headers = {
|
|
197
197
|
"content-type": "application/x-amz-json-1.1",
|
|
198
198
|
"x-amz-target": "GlobalAccelerator_V20180706.DescribeCustomRoutingAcceleratorAttributes",
|
|
199
199
|
};
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify(se_DescribeCustomRoutingAcceleratorAttributesRequest(input, context));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
|
-
export const
|
|
204
|
+
export const se_DescribeCustomRoutingEndpointGroupCommand = async (input, context) => {
|
|
205
205
|
const headers = {
|
|
206
206
|
"content-type": "application/x-amz-json-1.1",
|
|
207
207
|
"x-amz-target": "GlobalAccelerator_V20180706.DescribeCustomRoutingEndpointGroup",
|
|
208
208
|
};
|
|
209
209
|
let body;
|
|
210
|
-
body = JSON.stringify(
|
|
210
|
+
body = JSON.stringify(se_DescribeCustomRoutingEndpointGroupRequest(input, context));
|
|
211
211
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
212
|
};
|
|
213
|
-
export const
|
|
213
|
+
export const se_DescribeCustomRoutingListenerCommand = async (input, context) => {
|
|
214
214
|
const headers = {
|
|
215
215
|
"content-type": "application/x-amz-json-1.1",
|
|
216
216
|
"x-amz-target": "GlobalAccelerator_V20180706.DescribeCustomRoutingListener",
|
|
217
217
|
};
|
|
218
218
|
let body;
|
|
219
|
-
body = JSON.stringify(
|
|
219
|
+
body = JSON.stringify(se_DescribeCustomRoutingListenerRequest(input, context));
|
|
220
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
221
|
};
|
|
222
|
-
export const
|
|
222
|
+
export const se_DescribeEndpointGroupCommand = async (input, context) => {
|
|
223
223
|
const headers = {
|
|
224
224
|
"content-type": "application/x-amz-json-1.1",
|
|
225
225
|
"x-amz-target": "GlobalAccelerator_V20180706.DescribeEndpointGroup",
|
|
226
226
|
};
|
|
227
227
|
let body;
|
|
228
|
-
body = JSON.stringify(
|
|
228
|
+
body = JSON.stringify(se_DescribeEndpointGroupRequest(input, context));
|
|
229
229
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
230
230
|
};
|
|
231
|
-
export const
|
|
231
|
+
export const se_DescribeListenerCommand = async (input, context) => {
|
|
232
232
|
const headers = {
|
|
233
233
|
"content-type": "application/x-amz-json-1.1",
|
|
234
234
|
"x-amz-target": "GlobalAccelerator_V20180706.DescribeListener",
|
|
235
235
|
};
|
|
236
236
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify(se_DescribeListenerRequest(input, context));
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
240
|
-
export const
|
|
240
|
+
export const se_ListAcceleratorsCommand = async (input, context) => {
|
|
241
241
|
const headers = {
|
|
242
242
|
"content-type": "application/x-amz-json-1.1",
|
|
243
243
|
"x-amz-target": "GlobalAccelerator_V20180706.ListAccelerators",
|
|
244
244
|
};
|
|
245
245
|
let body;
|
|
246
|
-
body = JSON.stringify(
|
|
246
|
+
body = JSON.stringify(se_ListAcceleratorsRequest(input, context));
|
|
247
247
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
248
|
};
|
|
249
|
-
export const
|
|
249
|
+
export const se_ListByoipCidrsCommand = async (input, context) => {
|
|
250
250
|
const headers = {
|
|
251
251
|
"content-type": "application/x-amz-json-1.1",
|
|
252
252
|
"x-amz-target": "GlobalAccelerator_V20180706.ListByoipCidrs",
|
|
253
253
|
};
|
|
254
254
|
let body;
|
|
255
|
-
body = JSON.stringify(
|
|
255
|
+
body = JSON.stringify(se_ListByoipCidrsRequest(input, context));
|
|
256
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
257
|
};
|
|
258
|
-
export const
|
|
258
|
+
export const se_ListCustomRoutingAcceleratorsCommand = async (input, context) => {
|
|
259
259
|
const headers = {
|
|
260
260
|
"content-type": "application/x-amz-json-1.1",
|
|
261
261
|
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingAccelerators",
|
|
262
262
|
};
|
|
263
263
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify(se_ListCustomRoutingAcceleratorsRequest(input, context));
|
|
265
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
266
|
};
|
|
267
|
-
export const
|
|
267
|
+
export const se_ListCustomRoutingEndpointGroupsCommand = async (input, context) => {
|
|
268
268
|
const headers = {
|
|
269
269
|
"content-type": "application/x-amz-json-1.1",
|
|
270
270
|
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingEndpointGroups",
|
|
271
271
|
};
|
|
272
272
|
let body;
|
|
273
|
-
body = JSON.stringify(
|
|
273
|
+
body = JSON.stringify(se_ListCustomRoutingEndpointGroupsRequest(input, context));
|
|
274
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
275
|
};
|
|
276
|
-
export const
|
|
276
|
+
export const se_ListCustomRoutingListenersCommand = async (input, context) => {
|
|
277
277
|
const headers = {
|
|
278
278
|
"content-type": "application/x-amz-json-1.1",
|
|
279
279
|
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingListeners",
|
|
280
280
|
};
|
|
281
281
|
let body;
|
|
282
|
-
body = JSON.stringify(
|
|
282
|
+
body = JSON.stringify(se_ListCustomRoutingListenersRequest(input, context));
|
|
283
283
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
284
284
|
};
|
|
285
|
-
export const
|
|
285
|
+
export const se_ListCustomRoutingPortMappingsCommand = async (input, context) => {
|
|
286
286
|
const headers = {
|
|
287
287
|
"content-type": "application/x-amz-json-1.1",
|
|
288
288
|
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingPortMappings",
|
|
289
289
|
};
|
|
290
290
|
let body;
|
|
291
|
-
body = JSON.stringify(
|
|
291
|
+
body = JSON.stringify(se_ListCustomRoutingPortMappingsRequest(input, context));
|
|
292
292
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
293
|
};
|
|
294
|
-
export const
|
|
294
|
+
export const se_ListCustomRoutingPortMappingsByDestinationCommand = async (input, context) => {
|
|
295
295
|
const headers = {
|
|
296
296
|
"content-type": "application/x-amz-json-1.1",
|
|
297
297
|
"x-amz-target": "GlobalAccelerator_V20180706.ListCustomRoutingPortMappingsByDestination",
|
|
298
298
|
};
|
|
299
299
|
let body;
|
|
300
|
-
body = JSON.stringify(
|
|
300
|
+
body = JSON.stringify(se_ListCustomRoutingPortMappingsByDestinationRequest(input, context));
|
|
301
301
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
302
|
};
|
|
303
|
-
export const
|
|
303
|
+
export const se_ListEndpointGroupsCommand = async (input, context) => {
|
|
304
304
|
const headers = {
|
|
305
305
|
"content-type": "application/x-amz-json-1.1",
|
|
306
306
|
"x-amz-target": "GlobalAccelerator_V20180706.ListEndpointGroups",
|
|
307
307
|
};
|
|
308
308
|
let body;
|
|
309
|
-
body = JSON.stringify(
|
|
309
|
+
body = JSON.stringify(se_ListEndpointGroupsRequest(input, context));
|
|
310
310
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
311
|
};
|
|
312
|
-
export const
|
|
312
|
+
export const se_ListListenersCommand = async (input, context) => {
|
|
313
313
|
const headers = {
|
|
314
314
|
"content-type": "application/x-amz-json-1.1",
|
|
315
315
|
"x-amz-target": "GlobalAccelerator_V20180706.ListListeners",
|
|
316
316
|
};
|
|
317
317
|
let body;
|
|
318
|
-
body = JSON.stringify(
|
|
318
|
+
body = JSON.stringify(se_ListListenersRequest(input, context));
|
|
319
319
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
320
320
|
};
|
|
321
|
-
export const
|
|
321
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
322
322
|
const headers = {
|
|
323
323
|
"content-type": "application/x-amz-json-1.1",
|
|
324
324
|
"x-amz-target": "GlobalAccelerator_V20180706.ListTagsForResource",
|
|
325
325
|
};
|
|
326
326
|
let body;
|
|
327
|
-
body = JSON.stringify(
|
|
327
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
328
328
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
329
|
};
|
|
330
|
-
export const
|
|
330
|
+
export const se_ProvisionByoipCidrCommand = async (input, context) => {
|
|
331
331
|
const headers = {
|
|
332
332
|
"content-type": "application/x-amz-json-1.1",
|
|
333
333
|
"x-amz-target": "GlobalAccelerator_V20180706.ProvisionByoipCidr",
|
|
334
334
|
};
|
|
335
335
|
let body;
|
|
336
|
-
body = JSON.stringify(
|
|
336
|
+
body = JSON.stringify(se_ProvisionByoipCidrRequest(input, context));
|
|
337
337
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
338
|
};
|
|
339
|
-
export const
|
|
339
|
+
export const se_RemoveCustomRoutingEndpointsCommand = async (input, context) => {
|
|
340
340
|
const headers = {
|
|
341
341
|
"content-type": "application/x-amz-json-1.1",
|
|
342
342
|
"x-amz-target": "GlobalAccelerator_V20180706.RemoveCustomRoutingEndpoints",
|
|
343
343
|
};
|
|
344
344
|
let body;
|
|
345
|
-
body = JSON.stringify(
|
|
345
|
+
body = JSON.stringify(se_RemoveCustomRoutingEndpointsRequest(input, context));
|
|
346
346
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
347
|
};
|
|
348
|
-
export const
|
|
348
|
+
export const se_RemoveEndpointsCommand = async (input, context) => {
|
|
349
349
|
const headers = {
|
|
350
350
|
"content-type": "application/x-amz-json-1.1",
|
|
351
351
|
"x-amz-target": "GlobalAccelerator_V20180706.RemoveEndpoints",
|
|
352
352
|
};
|
|
353
353
|
let body;
|
|
354
|
-
body = JSON.stringify(
|
|
354
|
+
body = JSON.stringify(se_RemoveEndpointsRequest(input, context));
|
|
355
355
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
356
356
|
};
|
|
357
|
-
export const
|
|
357
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
358
358
|
const headers = {
|
|
359
359
|
"content-type": "application/x-amz-json-1.1",
|
|
360
360
|
"x-amz-target": "GlobalAccelerator_V20180706.TagResource",
|
|
361
361
|
};
|
|
362
362
|
let body;
|
|
363
|
-
body = JSON.stringify(
|
|
363
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
364
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
365
|
};
|
|
366
|
-
export const
|
|
366
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
367
367
|
const headers = {
|
|
368
368
|
"content-type": "application/x-amz-json-1.1",
|
|
369
369
|
"x-amz-target": "GlobalAccelerator_V20180706.UntagResource",
|
|
370
370
|
};
|
|
371
371
|
let body;
|
|
372
|
-
body = JSON.stringify(
|
|
372
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
373
373
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
374
374
|
};
|
|
375
|
-
export const
|
|
375
|
+
export const se_UpdateAcceleratorCommand = async (input, context) => {
|
|
376
376
|
const headers = {
|
|
377
377
|
"content-type": "application/x-amz-json-1.1",
|
|
378
378
|
"x-amz-target": "GlobalAccelerator_V20180706.UpdateAccelerator",
|
|
379
379
|
};
|
|
380
380
|
let body;
|
|
381
|
-
body = JSON.stringify(
|
|
381
|
+
body = JSON.stringify(se_UpdateAcceleratorRequest(input, context));
|
|
382
382
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
383
|
};
|
|
384
|
-
export const
|
|
384
|
+
export const se_UpdateAcceleratorAttributesCommand = async (input, context) => {
|
|
385
385
|
const headers = {
|
|
386
386
|
"content-type": "application/x-amz-json-1.1",
|
|
387
387
|
"x-amz-target": "GlobalAccelerator_V20180706.UpdateAcceleratorAttributes",
|
|
388
388
|
};
|
|
389
389
|
let body;
|
|
390
|
-
body = JSON.stringify(
|
|
390
|
+
body = JSON.stringify(se_UpdateAcceleratorAttributesRequest(input, context));
|
|
391
391
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
392
392
|
};
|
|
393
|
-
export const
|
|
393
|
+
export const se_UpdateCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
394
394
|
const headers = {
|
|
395
395
|
"content-type": "application/x-amz-json-1.1",
|
|
396
396
|
"x-amz-target": "GlobalAccelerator_V20180706.UpdateCustomRoutingAccelerator",
|
|
397
397
|
};
|
|
398
398
|
let body;
|
|
399
|
-
body = JSON.stringify(
|
|
399
|
+
body = JSON.stringify(se_UpdateCustomRoutingAcceleratorRequest(input, context));
|
|
400
400
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
401
|
};
|
|
402
|
-
export const
|
|
402
|
+
export const se_UpdateCustomRoutingAcceleratorAttributesCommand = async (input, context) => {
|
|
403
403
|
const headers = {
|
|
404
404
|
"content-type": "application/x-amz-json-1.1",
|
|
405
405
|
"x-amz-target": "GlobalAccelerator_V20180706.UpdateCustomRoutingAcceleratorAttributes",
|
|
406
406
|
};
|
|
407
407
|
let body;
|
|
408
|
-
body = JSON.stringify(
|
|
408
|
+
body = JSON.stringify(se_UpdateCustomRoutingAcceleratorAttributesRequest(input, context));
|
|
409
409
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
410
410
|
};
|
|
411
|
-
export const
|
|
411
|
+
export const se_UpdateCustomRoutingListenerCommand = async (input, context) => {
|
|
412
412
|
const headers = {
|
|
413
413
|
"content-type": "application/x-amz-json-1.1",
|
|
414
414
|
"x-amz-target": "GlobalAccelerator_V20180706.UpdateCustomRoutingListener",
|
|
415
415
|
};
|
|
416
416
|
let body;
|
|
417
|
-
body = JSON.stringify(
|
|
417
|
+
body = JSON.stringify(se_UpdateCustomRoutingListenerRequest(input, context));
|
|
418
418
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
419
|
};
|
|
420
|
-
export const
|
|
420
|
+
export const se_UpdateEndpointGroupCommand = async (input, context) => {
|
|
421
421
|
const headers = {
|
|
422
422
|
"content-type": "application/x-amz-json-1.1",
|
|
423
423
|
"x-amz-target": "GlobalAccelerator_V20180706.UpdateEndpointGroup",
|
|
424
424
|
};
|
|
425
425
|
let body;
|
|
426
|
-
body = JSON.stringify(
|
|
426
|
+
body = JSON.stringify(se_UpdateEndpointGroupRequest(input, context));
|
|
427
427
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
428
428
|
};
|
|
429
|
-
export const
|
|
429
|
+
export const se_UpdateListenerCommand = async (input, context) => {
|
|
430
430
|
const headers = {
|
|
431
431
|
"content-type": "application/x-amz-json-1.1",
|
|
432
432
|
"x-amz-target": "GlobalAccelerator_V20180706.UpdateListener",
|
|
433
433
|
};
|
|
434
434
|
let body;
|
|
435
|
-
body = JSON.stringify(
|
|
435
|
+
body = JSON.stringify(se_UpdateListenerRequest(input, context));
|
|
436
436
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
437
|
};
|
|
438
|
-
export const
|
|
438
|
+
export const se_WithdrawByoipCidrCommand = async (input, context) => {
|
|
439
439
|
const headers = {
|
|
440
440
|
"content-type": "application/x-amz-json-1.1",
|
|
441
441
|
"x-amz-target": "GlobalAccelerator_V20180706.WithdrawByoipCidr",
|
|
442
442
|
};
|
|
443
443
|
let body;
|
|
444
|
-
body = JSON.stringify(
|
|
444
|
+
body = JSON.stringify(se_WithdrawByoipCidrRequest(input, context));
|
|
445
445
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
446
446
|
};
|
|
447
|
-
export const
|
|
447
|
+
export const de_AddCustomRoutingEndpointsCommand = async (output, context) => {
|
|
448
448
|
if (output.statusCode >= 300) {
|
|
449
|
-
return
|
|
449
|
+
return de_AddCustomRoutingEndpointsCommandError(output, context);
|
|
450
450
|
}
|
|
451
451
|
const data = await parseBody(output.body, context);
|
|
452
452
|
let contents = {};
|
|
453
|
-
contents =
|
|
453
|
+
contents = de_AddCustomRoutingEndpointsResponse(data, context);
|
|
454
454
|
const response = {
|
|
455
455
|
$metadata: deserializeMetadata(output),
|
|
456
456
|
...contents,
|
|
457
457
|
};
|
|
458
458
|
return Promise.resolve(response);
|
|
459
459
|
};
|
|
460
|
-
const
|
|
460
|
+
const de_AddCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
461
461
|
const parsedOutput = {
|
|
462
462
|
...output,
|
|
463
463
|
body: await parseErrorBody(output.body, context),
|
|
@@ -466,25 +466,25 @@ const deserializeAws_json1_1AddCustomRoutingEndpointsCommandError = async (outpu
|
|
|
466
466
|
switch (errorCode) {
|
|
467
467
|
case "AccessDeniedException":
|
|
468
468
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
469
|
-
throw await
|
|
469
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
470
470
|
case "ConflictException":
|
|
471
471
|
case "com.amazonaws.globalaccelerator#ConflictException":
|
|
472
|
-
throw await
|
|
472
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
473
473
|
case "EndpointAlreadyExistsException":
|
|
474
474
|
case "com.amazonaws.globalaccelerator#EndpointAlreadyExistsException":
|
|
475
|
-
throw await
|
|
475
|
+
throw await de_EndpointAlreadyExistsExceptionRes(parsedOutput, context);
|
|
476
476
|
case "EndpointGroupNotFoundException":
|
|
477
477
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
478
|
-
throw await
|
|
478
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
479
479
|
case "InternalServiceErrorException":
|
|
480
480
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
481
|
-
throw await
|
|
481
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
482
482
|
case "InvalidArgumentException":
|
|
483
483
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
484
|
-
throw await
|
|
484
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
485
485
|
case "LimitExceededException":
|
|
486
486
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
487
|
-
throw await
|
|
487
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
488
488
|
default:
|
|
489
489
|
const parsedBody = parsedOutput.body;
|
|
490
490
|
throwDefaultError({
|
|
@@ -495,20 +495,20 @@ const deserializeAws_json1_1AddCustomRoutingEndpointsCommandError = async (outpu
|
|
|
495
495
|
});
|
|
496
496
|
}
|
|
497
497
|
};
|
|
498
|
-
export const
|
|
498
|
+
export const de_AddEndpointsCommand = async (output, context) => {
|
|
499
499
|
if (output.statusCode >= 300) {
|
|
500
|
-
return
|
|
500
|
+
return de_AddEndpointsCommandError(output, context);
|
|
501
501
|
}
|
|
502
502
|
const data = await parseBody(output.body, context);
|
|
503
503
|
let contents = {};
|
|
504
|
-
contents =
|
|
504
|
+
contents = de_AddEndpointsResponse(data, context);
|
|
505
505
|
const response = {
|
|
506
506
|
$metadata: deserializeMetadata(output),
|
|
507
507
|
...contents,
|
|
508
508
|
};
|
|
509
509
|
return Promise.resolve(response);
|
|
510
510
|
};
|
|
511
|
-
const
|
|
511
|
+
const de_AddEndpointsCommandError = async (output, context) => {
|
|
512
512
|
const parsedOutput = {
|
|
513
513
|
...output,
|
|
514
514
|
body: await parseErrorBody(output.body, context),
|
|
@@ -517,22 +517,22 @@ const deserializeAws_json1_1AddEndpointsCommandError = async (output, context) =
|
|
|
517
517
|
switch (errorCode) {
|
|
518
518
|
case "AccessDeniedException":
|
|
519
519
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
520
|
-
throw await
|
|
520
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
521
521
|
case "EndpointGroupNotFoundException":
|
|
522
522
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
523
|
-
throw await
|
|
523
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
524
524
|
case "InternalServiceErrorException":
|
|
525
525
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
526
|
-
throw await
|
|
526
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
527
527
|
case "InvalidArgumentException":
|
|
528
528
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
529
|
-
throw await
|
|
529
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
530
530
|
case "LimitExceededException":
|
|
531
531
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
532
|
-
throw await
|
|
532
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
533
533
|
case "TransactionInProgressException":
|
|
534
534
|
case "com.amazonaws.globalaccelerator#TransactionInProgressException":
|
|
535
|
-
throw await
|
|
535
|
+
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
536
536
|
default:
|
|
537
537
|
const parsedBody = parsedOutput.body;
|
|
538
538
|
throwDefaultError({
|
|
@@ -543,20 +543,20 @@ const deserializeAws_json1_1AddEndpointsCommandError = async (output, context) =
|
|
|
543
543
|
});
|
|
544
544
|
}
|
|
545
545
|
};
|
|
546
|
-
export const
|
|
546
|
+
export const de_AdvertiseByoipCidrCommand = async (output, context) => {
|
|
547
547
|
if (output.statusCode >= 300) {
|
|
548
|
-
return
|
|
548
|
+
return de_AdvertiseByoipCidrCommandError(output, context);
|
|
549
549
|
}
|
|
550
550
|
const data = await parseBody(output.body, context);
|
|
551
551
|
let contents = {};
|
|
552
|
-
contents =
|
|
552
|
+
contents = de_AdvertiseByoipCidrResponse(data, context);
|
|
553
553
|
const response = {
|
|
554
554
|
$metadata: deserializeMetadata(output),
|
|
555
555
|
...contents,
|
|
556
556
|
};
|
|
557
557
|
return Promise.resolve(response);
|
|
558
558
|
};
|
|
559
|
-
const
|
|
559
|
+
const de_AdvertiseByoipCidrCommandError = async (output, context) => {
|
|
560
560
|
const parsedOutput = {
|
|
561
561
|
...output,
|
|
562
562
|
body: await parseErrorBody(output.body, context),
|
|
@@ -565,19 +565,19 @@ const deserializeAws_json1_1AdvertiseByoipCidrCommandError = async (output, cont
|
|
|
565
565
|
switch (errorCode) {
|
|
566
566
|
case "AccessDeniedException":
|
|
567
567
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
568
|
-
throw await
|
|
568
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
569
569
|
case "ByoipCidrNotFoundException":
|
|
570
570
|
case "com.amazonaws.globalaccelerator#ByoipCidrNotFoundException":
|
|
571
|
-
throw await
|
|
571
|
+
throw await de_ByoipCidrNotFoundExceptionRes(parsedOutput, context);
|
|
572
572
|
case "IncorrectCidrStateException":
|
|
573
573
|
case "com.amazonaws.globalaccelerator#IncorrectCidrStateException":
|
|
574
|
-
throw await
|
|
574
|
+
throw await de_IncorrectCidrStateExceptionRes(parsedOutput, context);
|
|
575
575
|
case "InternalServiceErrorException":
|
|
576
576
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
577
|
-
throw await
|
|
577
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
578
578
|
case "InvalidArgumentException":
|
|
579
579
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
580
|
-
throw await
|
|
580
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
581
581
|
default:
|
|
582
582
|
const parsedBody = parsedOutput.body;
|
|
583
583
|
throwDefaultError({
|
|
@@ -588,9 +588,9 @@ const deserializeAws_json1_1AdvertiseByoipCidrCommandError = async (output, cont
|
|
|
588
588
|
});
|
|
589
589
|
}
|
|
590
590
|
};
|
|
591
|
-
export const
|
|
591
|
+
export const de_AllowCustomRoutingTrafficCommand = async (output, context) => {
|
|
592
592
|
if (output.statusCode >= 300) {
|
|
593
|
-
return
|
|
593
|
+
return de_AllowCustomRoutingTrafficCommandError(output, context);
|
|
594
594
|
}
|
|
595
595
|
await collectBody(output.body, context);
|
|
596
596
|
const response = {
|
|
@@ -598,7 +598,7 @@ export const deserializeAws_json1_1AllowCustomRoutingTrafficCommand = async (out
|
|
|
598
598
|
};
|
|
599
599
|
return Promise.resolve(response);
|
|
600
600
|
};
|
|
601
|
-
const
|
|
601
|
+
const de_AllowCustomRoutingTrafficCommandError = async (output, context) => {
|
|
602
602
|
const parsedOutput = {
|
|
603
603
|
...output,
|
|
604
604
|
body: await parseErrorBody(output.body, context),
|
|
@@ -607,13 +607,13 @@ const deserializeAws_json1_1AllowCustomRoutingTrafficCommandError = async (outpu
|
|
|
607
607
|
switch (errorCode) {
|
|
608
608
|
case "EndpointGroupNotFoundException":
|
|
609
609
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
610
|
-
throw await
|
|
610
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
611
611
|
case "InternalServiceErrorException":
|
|
612
612
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
613
|
-
throw await
|
|
613
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
614
614
|
case "InvalidArgumentException":
|
|
615
615
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
616
|
-
throw await
|
|
616
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
617
617
|
default:
|
|
618
618
|
const parsedBody = parsedOutput.body;
|
|
619
619
|
throwDefaultError({
|
|
@@ -624,20 +624,20 @@ const deserializeAws_json1_1AllowCustomRoutingTrafficCommandError = async (outpu
|
|
|
624
624
|
});
|
|
625
625
|
}
|
|
626
626
|
};
|
|
627
|
-
export const
|
|
627
|
+
export const de_CreateAcceleratorCommand = async (output, context) => {
|
|
628
628
|
if (output.statusCode >= 300) {
|
|
629
|
-
return
|
|
629
|
+
return de_CreateAcceleratorCommandError(output, context);
|
|
630
630
|
}
|
|
631
631
|
const data = await parseBody(output.body, context);
|
|
632
632
|
let contents = {};
|
|
633
|
-
contents =
|
|
633
|
+
contents = de_CreateAcceleratorResponse(data, context);
|
|
634
634
|
const response = {
|
|
635
635
|
$metadata: deserializeMetadata(output),
|
|
636
636
|
...contents,
|
|
637
637
|
};
|
|
638
638
|
return Promise.resolve(response);
|
|
639
639
|
};
|
|
640
|
-
const
|
|
640
|
+
const de_CreateAcceleratorCommandError = async (output, context) => {
|
|
641
641
|
const parsedOutput = {
|
|
642
642
|
...output,
|
|
643
643
|
body: await parseErrorBody(output.body, context),
|
|
@@ -646,13 +646,13 @@ const deserializeAws_json1_1CreateAcceleratorCommandError = async (output, conte
|
|
|
646
646
|
switch (errorCode) {
|
|
647
647
|
case "InternalServiceErrorException":
|
|
648
648
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
649
|
-
throw await
|
|
649
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
650
650
|
case "InvalidArgumentException":
|
|
651
651
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
652
|
-
throw await
|
|
652
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
653
653
|
case "LimitExceededException":
|
|
654
654
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
655
|
-
throw await
|
|
655
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
656
656
|
default:
|
|
657
657
|
const parsedBody = parsedOutput.body;
|
|
658
658
|
throwDefaultError({
|
|
@@ -663,20 +663,20 @@ const deserializeAws_json1_1CreateAcceleratorCommandError = async (output, conte
|
|
|
663
663
|
});
|
|
664
664
|
}
|
|
665
665
|
};
|
|
666
|
-
export const
|
|
666
|
+
export const de_CreateCustomRoutingAcceleratorCommand = async (output, context) => {
|
|
667
667
|
if (output.statusCode >= 300) {
|
|
668
|
-
return
|
|
668
|
+
return de_CreateCustomRoutingAcceleratorCommandError(output, context);
|
|
669
669
|
}
|
|
670
670
|
const data = await parseBody(output.body, context);
|
|
671
671
|
let contents = {};
|
|
672
|
-
contents =
|
|
672
|
+
contents = de_CreateCustomRoutingAcceleratorResponse(data, context);
|
|
673
673
|
const response = {
|
|
674
674
|
$metadata: deserializeMetadata(output),
|
|
675
675
|
...contents,
|
|
676
676
|
};
|
|
677
677
|
return Promise.resolve(response);
|
|
678
678
|
};
|
|
679
|
-
const
|
|
679
|
+
const de_CreateCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
680
680
|
const parsedOutput = {
|
|
681
681
|
...output,
|
|
682
682
|
body: await parseErrorBody(output.body, context),
|
|
@@ -685,16 +685,16 @@ const deserializeAws_json1_1CreateCustomRoutingAcceleratorCommandError = async (
|
|
|
685
685
|
switch (errorCode) {
|
|
686
686
|
case "AccessDeniedException":
|
|
687
687
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
688
|
-
throw await
|
|
688
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
689
689
|
case "InternalServiceErrorException":
|
|
690
690
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
691
|
-
throw await
|
|
691
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
692
692
|
case "InvalidArgumentException":
|
|
693
693
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
694
|
-
throw await
|
|
694
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
695
695
|
case "LimitExceededException":
|
|
696
696
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
697
|
-
throw await
|
|
697
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
698
698
|
default:
|
|
699
699
|
const parsedBody = parsedOutput.body;
|
|
700
700
|
throwDefaultError({
|
|
@@ -705,20 +705,20 @@ const deserializeAws_json1_1CreateCustomRoutingAcceleratorCommandError = async (
|
|
|
705
705
|
});
|
|
706
706
|
}
|
|
707
707
|
};
|
|
708
|
-
export const
|
|
708
|
+
export const de_CreateCustomRoutingEndpointGroupCommand = async (output, context) => {
|
|
709
709
|
if (output.statusCode >= 300) {
|
|
710
|
-
return
|
|
710
|
+
return de_CreateCustomRoutingEndpointGroupCommandError(output, context);
|
|
711
711
|
}
|
|
712
712
|
const data = await parseBody(output.body, context);
|
|
713
713
|
let contents = {};
|
|
714
|
-
contents =
|
|
714
|
+
contents = de_CreateCustomRoutingEndpointGroupResponse(data, context);
|
|
715
715
|
const response = {
|
|
716
716
|
$metadata: deserializeMetadata(output),
|
|
717
717
|
...contents,
|
|
718
718
|
};
|
|
719
719
|
return Promise.resolve(response);
|
|
720
720
|
};
|
|
721
|
-
const
|
|
721
|
+
const de_CreateCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
722
722
|
const parsedOutput = {
|
|
723
723
|
...output,
|
|
724
724
|
body: await parseErrorBody(output.body, context),
|
|
@@ -727,28 +727,28 @@ const deserializeAws_json1_1CreateCustomRoutingEndpointGroupCommandError = async
|
|
|
727
727
|
switch (errorCode) {
|
|
728
728
|
case "AcceleratorNotFoundException":
|
|
729
729
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
730
|
-
throw await
|
|
730
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
731
731
|
case "AccessDeniedException":
|
|
732
732
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
733
|
-
throw await
|
|
733
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
734
734
|
case "EndpointGroupAlreadyExistsException":
|
|
735
735
|
case "com.amazonaws.globalaccelerator#EndpointGroupAlreadyExistsException":
|
|
736
|
-
throw await
|
|
736
|
+
throw await de_EndpointGroupAlreadyExistsExceptionRes(parsedOutput, context);
|
|
737
737
|
case "InternalServiceErrorException":
|
|
738
738
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
739
|
-
throw await
|
|
739
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
740
740
|
case "InvalidArgumentException":
|
|
741
741
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
742
|
-
throw await
|
|
742
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
743
743
|
case "InvalidPortRangeException":
|
|
744
744
|
case "com.amazonaws.globalaccelerator#InvalidPortRangeException":
|
|
745
|
-
throw await
|
|
745
|
+
throw await de_InvalidPortRangeExceptionRes(parsedOutput, context);
|
|
746
746
|
case "LimitExceededException":
|
|
747
747
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
748
|
-
throw await
|
|
748
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
749
749
|
case "ListenerNotFoundException":
|
|
750
750
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
751
|
-
throw await
|
|
751
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
752
752
|
default:
|
|
753
753
|
const parsedBody = parsedOutput.body;
|
|
754
754
|
throwDefaultError({
|
|
@@ -759,20 +759,20 @@ const deserializeAws_json1_1CreateCustomRoutingEndpointGroupCommandError = async
|
|
|
759
759
|
});
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
|
-
export const
|
|
762
|
+
export const de_CreateCustomRoutingListenerCommand = async (output, context) => {
|
|
763
763
|
if (output.statusCode >= 300) {
|
|
764
|
-
return
|
|
764
|
+
return de_CreateCustomRoutingListenerCommandError(output, context);
|
|
765
765
|
}
|
|
766
766
|
const data = await parseBody(output.body, context);
|
|
767
767
|
let contents = {};
|
|
768
|
-
contents =
|
|
768
|
+
contents = de_CreateCustomRoutingListenerResponse(data, context);
|
|
769
769
|
const response = {
|
|
770
770
|
$metadata: deserializeMetadata(output),
|
|
771
771
|
...contents,
|
|
772
772
|
};
|
|
773
773
|
return Promise.resolve(response);
|
|
774
774
|
};
|
|
775
|
-
const
|
|
775
|
+
const de_CreateCustomRoutingListenerCommandError = async (output, context) => {
|
|
776
776
|
const parsedOutput = {
|
|
777
777
|
...output,
|
|
778
778
|
body: await parseErrorBody(output.body, context),
|
|
@@ -781,19 +781,19 @@ const deserializeAws_json1_1CreateCustomRoutingListenerCommandError = async (out
|
|
|
781
781
|
switch (errorCode) {
|
|
782
782
|
case "AcceleratorNotFoundException":
|
|
783
783
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
784
|
-
throw await
|
|
784
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
785
785
|
case "InternalServiceErrorException":
|
|
786
786
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
787
|
-
throw await
|
|
787
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
788
788
|
case "InvalidArgumentException":
|
|
789
789
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
790
|
-
throw await
|
|
790
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
791
791
|
case "InvalidPortRangeException":
|
|
792
792
|
case "com.amazonaws.globalaccelerator#InvalidPortRangeException":
|
|
793
|
-
throw await
|
|
793
|
+
throw await de_InvalidPortRangeExceptionRes(parsedOutput, context);
|
|
794
794
|
case "LimitExceededException":
|
|
795
795
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
796
|
-
throw await
|
|
796
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
797
797
|
default:
|
|
798
798
|
const parsedBody = parsedOutput.body;
|
|
799
799
|
throwDefaultError({
|
|
@@ -804,20 +804,20 @@ const deserializeAws_json1_1CreateCustomRoutingListenerCommandError = async (out
|
|
|
804
804
|
});
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
|
-
export const
|
|
807
|
+
export const de_CreateEndpointGroupCommand = async (output, context) => {
|
|
808
808
|
if (output.statusCode >= 300) {
|
|
809
|
-
return
|
|
809
|
+
return de_CreateEndpointGroupCommandError(output, context);
|
|
810
810
|
}
|
|
811
811
|
const data = await parseBody(output.body, context);
|
|
812
812
|
let contents = {};
|
|
813
|
-
contents =
|
|
813
|
+
contents = de_CreateEndpointGroupResponse(data, context);
|
|
814
814
|
const response = {
|
|
815
815
|
$metadata: deserializeMetadata(output),
|
|
816
816
|
...contents,
|
|
817
817
|
};
|
|
818
818
|
return Promise.resolve(response);
|
|
819
819
|
};
|
|
820
|
-
const
|
|
820
|
+
const de_CreateEndpointGroupCommandError = async (output, context) => {
|
|
821
821
|
const parsedOutput = {
|
|
822
822
|
...output,
|
|
823
823
|
body: await parseErrorBody(output.body, context),
|
|
@@ -826,25 +826,25 @@ const deserializeAws_json1_1CreateEndpointGroupCommandError = async (output, con
|
|
|
826
826
|
switch (errorCode) {
|
|
827
827
|
case "AcceleratorNotFoundException":
|
|
828
828
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
829
|
-
throw await
|
|
829
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
830
830
|
case "AccessDeniedException":
|
|
831
831
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
832
|
-
throw await
|
|
832
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
833
833
|
case "EndpointGroupAlreadyExistsException":
|
|
834
834
|
case "com.amazonaws.globalaccelerator#EndpointGroupAlreadyExistsException":
|
|
835
|
-
throw await
|
|
835
|
+
throw await de_EndpointGroupAlreadyExistsExceptionRes(parsedOutput, context);
|
|
836
836
|
case "InternalServiceErrorException":
|
|
837
837
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
838
|
-
throw await
|
|
838
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
839
839
|
case "InvalidArgumentException":
|
|
840
840
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
841
|
-
throw await
|
|
841
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
842
842
|
case "LimitExceededException":
|
|
843
843
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
844
|
-
throw await
|
|
844
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
845
845
|
case "ListenerNotFoundException":
|
|
846
846
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
847
|
-
throw await
|
|
847
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
848
848
|
default:
|
|
849
849
|
const parsedBody = parsedOutput.body;
|
|
850
850
|
throwDefaultError({
|
|
@@ -855,20 +855,20 @@ const deserializeAws_json1_1CreateEndpointGroupCommandError = async (output, con
|
|
|
855
855
|
});
|
|
856
856
|
}
|
|
857
857
|
};
|
|
858
|
-
export const
|
|
858
|
+
export const de_CreateListenerCommand = async (output, context) => {
|
|
859
859
|
if (output.statusCode >= 300) {
|
|
860
|
-
return
|
|
860
|
+
return de_CreateListenerCommandError(output, context);
|
|
861
861
|
}
|
|
862
862
|
const data = await parseBody(output.body, context);
|
|
863
863
|
let contents = {};
|
|
864
|
-
contents =
|
|
864
|
+
contents = de_CreateListenerResponse(data, context);
|
|
865
865
|
const response = {
|
|
866
866
|
$metadata: deserializeMetadata(output),
|
|
867
867
|
...contents,
|
|
868
868
|
};
|
|
869
869
|
return Promise.resolve(response);
|
|
870
870
|
};
|
|
871
|
-
const
|
|
871
|
+
const de_CreateListenerCommandError = async (output, context) => {
|
|
872
872
|
const parsedOutput = {
|
|
873
873
|
...output,
|
|
874
874
|
body: await parseErrorBody(output.body, context),
|
|
@@ -877,19 +877,19 @@ const deserializeAws_json1_1CreateListenerCommandError = async (output, context)
|
|
|
877
877
|
switch (errorCode) {
|
|
878
878
|
case "AcceleratorNotFoundException":
|
|
879
879
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
880
|
-
throw await
|
|
880
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
881
881
|
case "InternalServiceErrorException":
|
|
882
882
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
883
|
-
throw await
|
|
883
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
884
884
|
case "InvalidArgumentException":
|
|
885
885
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
886
|
-
throw await
|
|
886
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
887
887
|
case "InvalidPortRangeException":
|
|
888
888
|
case "com.amazonaws.globalaccelerator#InvalidPortRangeException":
|
|
889
|
-
throw await
|
|
889
|
+
throw await de_InvalidPortRangeExceptionRes(parsedOutput, context);
|
|
890
890
|
case "LimitExceededException":
|
|
891
891
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
892
|
-
throw await
|
|
892
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
893
893
|
default:
|
|
894
894
|
const parsedBody = parsedOutput.body;
|
|
895
895
|
throwDefaultError({
|
|
@@ -900,9 +900,9 @@ const deserializeAws_json1_1CreateListenerCommandError = async (output, context)
|
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
|
-
export const
|
|
903
|
+
export const de_DeleteAcceleratorCommand = async (output, context) => {
|
|
904
904
|
if (output.statusCode >= 300) {
|
|
905
|
-
return
|
|
905
|
+
return de_DeleteAcceleratorCommandError(output, context);
|
|
906
906
|
}
|
|
907
907
|
await collectBody(output.body, context);
|
|
908
908
|
const response = {
|
|
@@ -910,7 +910,7 @@ export const deserializeAws_json1_1DeleteAcceleratorCommand = async (output, con
|
|
|
910
910
|
};
|
|
911
911
|
return Promise.resolve(response);
|
|
912
912
|
};
|
|
913
|
-
const
|
|
913
|
+
const de_DeleteAcceleratorCommandError = async (output, context) => {
|
|
914
914
|
const parsedOutput = {
|
|
915
915
|
...output,
|
|
916
916
|
body: await parseErrorBody(output.body, context),
|
|
@@ -919,19 +919,19 @@ const deserializeAws_json1_1DeleteAcceleratorCommandError = async (output, conte
|
|
|
919
919
|
switch (errorCode) {
|
|
920
920
|
case "AcceleratorNotDisabledException":
|
|
921
921
|
case "com.amazonaws.globalaccelerator#AcceleratorNotDisabledException":
|
|
922
|
-
throw await
|
|
922
|
+
throw await de_AcceleratorNotDisabledExceptionRes(parsedOutput, context);
|
|
923
923
|
case "AcceleratorNotFoundException":
|
|
924
924
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
925
|
-
throw await
|
|
925
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
926
926
|
case "AssociatedListenerFoundException":
|
|
927
927
|
case "com.amazonaws.globalaccelerator#AssociatedListenerFoundException":
|
|
928
|
-
throw await
|
|
928
|
+
throw await de_AssociatedListenerFoundExceptionRes(parsedOutput, context);
|
|
929
929
|
case "InternalServiceErrorException":
|
|
930
930
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
931
|
-
throw await
|
|
931
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
932
932
|
case "InvalidArgumentException":
|
|
933
933
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
934
|
-
throw await
|
|
934
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
935
935
|
default:
|
|
936
936
|
const parsedBody = parsedOutput.body;
|
|
937
937
|
throwDefaultError({
|
|
@@ -942,9 +942,9 @@ const deserializeAws_json1_1DeleteAcceleratorCommandError = async (output, conte
|
|
|
942
942
|
});
|
|
943
943
|
}
|
|
944
944
|
};
|
|
945
|
-
export const
|
|
945
|
+
export const de_DeleteCustomRoutingAcceleratorCommand = async (output, context) => {
|
|
946
946
|
if (output.statusCode >= 300) {
|
|
947
|
-
return
|
|
947
|
+
return de_DeleteCustomRoutingAcceleratorCommandError(output, context);
|
|
948
948
|
}
|
|
949
949
|
await collectBody(output.body, context);
|
|
950
950
|
const response = {
|
|
@@ -952,7 +952,7 @@ export const deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommand = async
|
|
|
952
952
|
};
|
|
953
953
|
return Promise.resolve(response);
|
|
954
954
|
};
|
|
955
|
-
const
|
|
955
|
+
const de_DeleteCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
956
956
|
const parsedOutput = {
|
|
957
957
|
...output,
|
|
958
958
|
body: await parseErrorBody(output.body, context),
|
|
@@ -961,19 +961,19 @@ const deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommandError = async (
|
|
|
961
961
|
switch (errorCode) {
|
|
962
962
|
case "AcceleratorNotDisabledException":
|
|
963
963
|
case "com.amazonaws.globalaccelerator#AcceleratorNotDisabledException":
|
|
964
|
-
throw await
|
|
964
|
+
throw await de_AcceleratorNotDisabledExceptionRes(parsedOutput, context);
|
|
965
965
|
case "AcceleratorNotFoundException":
|
|
966
966
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
967
|
-
throw await
|
|
967
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
968
968
|
case "AssociatedListenerFoundException":
|
|
969
969
|
case "com.amazonaws.globalaccelerator#AssociatedListenerFoundException":
|
|
970
|
-
throw await
|
|
970
|
+
throw await de_AssociatedListenerFoundExceptionRes(parsedOutput, context);
|
|
971
971
|
case "InternalServiceErrorException":
|
|
972
972
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
973
|
-
throw await
|
|
973
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
974
974
|
case "InvalidArgumentException":
|
|
975
975
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
976
|
-
throw await
|
|
976
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
977
977
|
default:
|
|
978
978
|
const parsedBody = parsedOutput.body;
|
|
979
979
|
throwDefaultError({
|
|
@@ -984,9 +984,9 @@ const deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommandError = async (
|
|
|
984
984
|
});
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
|
-
export const
|
|
987
|
+
export const de_DeleteCustomRoutingEndpointGroupCommand = async (output, context) => {
|
|
988
988
|
if (output.statusCode >= 300) {
|
|
989
|
-
return
|
|
989
|
+
return de_DeleteCustomRoutingEndpointGroupCommandError(output, context);
|
|
990
990
|
}
|
|
991
991
|
await collectBody(output.body, context);
|
|
992
992
|
const response = {
|
|
@@ -994,7 +994,7 @@ export const deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand = asy
|
|
|
994
994
|
};
|
|
995
995
|
return Promise.resolve(response);
|
|
996
996
|
};
|
|
997
|
-
const
|
|
997
|
+
const de_DeleteCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
998
998
|
const parsedOutput = {
|
|
999
999
|
...output,
|
|
1000
1000
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1003,13 +1003,13 @@ const deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommandError = async
|
|
|
1003
1003
|
switch (errorCode) {
|
|
1004
1004
|
case "EndpointGroupNotFoundException":
|
|
1005
1005
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
1006
|
-
throw await
|
|
1006
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1007
1007
|
case "InternalServiceErrorException":
|
|
1008
1008
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1009
|
-
throw await
|
|
1009
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1010
1010
|
case "InvalidArgumentException":
|
|
1011
1011
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1012
|
-
throw await
|
|
1012
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1013
1013
|
default:
|
|
1014
1014
|
const parsedBody = parsedOutput.body;
|
|
1015
1015
|
throwDefaultError({
|
|
@@ -1020,9 +1020,9 @@ const deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommandError = async
|
|
|
1020
1020
|
});
|
|
1021
1021
|
}
|
|
1022
1022
|
};
|
|
1023
|
-
export const
|
|
1023
|
+
export const de_DeleteCustomRoutingListenerCommand = async (output, context) => {
|
|
1024
1024
|
if (output.statusCode >= 300) {
|
|
1025
|
-
return
|
|
1025
|
+
return de_DeleteCustomRoutingListenerCommandError(output, context);
|
|
1026
1026
|
}
|
|
1027
1027
|
await collectBody(output.body, context);
|
|
1028
1028
|
const response = {
|
|
@@ -1030,7 +1030,7 @@ export const deserializeAws_json1_1DeleteCustomRoutingListenerCommand = async (o
|
|
|
1030
1030
|
};
|
|
1031
1031
|
return Promise.resolve(response);
|
|
1032
1032
|
};
|
|
1033
|
-
const
|
|
1033
|
+
const de_DeleteCustomRoutingListenerCommandError = async (output, context) => {
|
|
1034
1034
|
const parsedOutput = {
|
|
1035
1035
|
...output,
|
|
1036
1036
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1039,16 +1039,16 @@ const deserializeAws_json1_1DeleteCustomRoutingListenerCommandError = async (out
|
|
|
1039
1039
|
switch (errorCode) {
|
|
1040
1040
|
case "AssociatedEndpointGroupFoundException":
|
|
1041
1041
|
case "com.amazonaws.globalaccelerator#AssociatedEndpointGroupFoundException":
|
|
1042
|
-
throw await
|
|
1042
|
+
throw await de_AssociatedEndpointGroupFoundExceptionRes(parsedOutput, context);
|
|
1043
1043
|
case "InternalServiceErrorException":
|
|
1044
1044
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1045
|
-
throw await
|
|
1045
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1046
1046
|
case "InvalidArgumentException":
|
|
1047
1047
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1048
|
-
throw await
|
|
1048
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1049
1049
|
case "ListenerNotFoundException":
|
|
1050
1050
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
1051
|
-
throw await
|
|
1051
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1052
1052
|
default:
|
|
1053
1053
|
const parsedBody = parsedOutput.body;
|
|
1054
1054
|
throwDefaultError({
|
|
@@ -1059,9 +1059,9 @@ const deserializeAws_json1_1DeleteCustomRoutingListenerCommandError = async (out
|
|
|
1059
1059
|
});
|
|
1060
1060
|
}
|
|
1061
1061
|
};
|
|
1062
|
-
export const
|
|
1062
|
+
export const de_DeleteEndpointGroupCommand = async (output, context) => {
|
|
1063
1063
|
if (output.statusCode >= 300) {
|
|
1064
|
-
return
|
|
1064
|
+
return de_DeleteEndpointGroupCommandError(output, context);
|
|
1065
1065
|
}
|
|
1066
1066
|
await collectBody(output.body, context);
|
|
1067
1067
|
const response = {
|
|
@@ -1069,7 +1069,7 @@ export const deserializeAws_json1_1DeleteEndpointGroupCommand = async (output, c
|
|
|
1069
1069
|
};
|
|
1070
1070
|
return Promise.resolve(response);
|
|
1071
1071
|
};
|
|
1072
|
-
const
|
|
1072
|
+
const de_DeleteEndpointGroupCommandError = async (output, context) => {
|
|
1073
1073
|
const parsedOutput = {
|
|
1074
1074
|
...output,
|
|
1075
1075
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1078,13 +1078,13 @@ const deserializeAws_json1_1DeleteEndpointGroupCommandError = async (output, con
|
|
|
1078
1078
|
switch (errorCode) {
|
|
1079
1079
|
case "EndpointGroupNotFoundException":
|
|
1080
1080
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
1081
|
-
throw await
|
|
1081
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1082
1082
|
case "InternalServiceErrorException":
|
|
1083
1083
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1084
|
-
throw await
|
|
1084
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1085
1085
|
case "InvalidArgumentException":
|
|
1086
1086
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1087
|
-
throw await
|
|
1087
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1088
1088
|
default:
|
|
1089
1089
|
const parsedBody = parsedOutput.body;
|
|
1090
1090
|
throwDefaultError({
|
|
@@ -1095,9 +1095,9 @@ const deserializeAws_json1_1DeleteEndpointGroupCommandError = async (output, con
|
|
|
1095
1095
|
});
|
|
1096
1096
|
}
|
|
1097
1097
|
};
|
|
1098
|
-
export const
|
|
1098
|
+
export const de_DeleteListenerCommand = async (output, context) => {
|
|
1099
1099
|
if (output.statusCode >= 300) {
|
|
1100
|
-
return
|
|
1100
|
+
return de_DeleteListenerCommandError(output, context);
|
|
1101
1101
|
}
|
|
1102
1102
|
await collectBody(output.body, context);
|
|
1103
1103
|
const response = {
|
|
@@ -1105,7 +1105,7 @@ export const deserializeAws_json1_1DeleteListenerCommand = async (output, contex
|
|
|
1105
1105
|
};
|
|
1106
1106
|
return Promise.resolve(response);
|
|
1107
1107
|
};
|
|
1108
|
-
const
|
|
1108
|
+
const de_DeleteListenerCommandError = async (output, context) => {
|
|
1109
1109
|
const parsedOutput = {
|
|
1110
1110
|
...output,
|
|
1111
1111
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1114,16 +1114,16 @@ const deserializeAws_json1_1DeleteListenerCommandError = async (output, context)
|
|
|
1114
1114
|
switch (errorCode) {
|
|
1115
1115
|
case "AssociatedEndpointGroupFoundException":
|
|
1116
1116
|
case "com.amazonaws.globalaccelerator#AssociatedEndpointGroupFoundException":
|
|
1117
|
-
throw await
|
|
1117
|
+
throw await de_AssociatedEndpointGroupFoundExceptionRes(parsedOutput, context);
|
|
1118
1118
|
case "InternalServiceErrorException":
|
|
1119
1119
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1120
|
-
throw await
|
|
1120
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1121
1121
|
case "InvalidArgumentException":
|
|
1122
1122
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1123
|
-
throw await
|
|
1123
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1124
1124
|
case "ListenerNotFoundException":
|
|
1125
1125
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
1126
|
-
throw await
|
|
1126
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1127
1127
|
default:
|
|
1128
1128
|
const parsedBody = parsedOutput.body;
|
|
1129
1129
|
throwDefaultError({
|
|
@@ -1134,9 +1134,9 @@ const deserializeAws_json1_1DeleteListenerCommandError = async (output, context)
|
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
1136
|
};
|
|
1137
|
-
export const
|
|
1137
|
+
export const de_DenyCustomRoutingTrafficCommand = async (output, context) => {
|
|
1138
1138
|
if (output.statusCode >= 300) {
|
|
1139
|
-
return
|
|
1139
|
+
return de_DenyCustomRoutingTrafficCommandError(output, context);
|
|
1140
1140
|
}
|
|
1141
1141
|
await collectBody(output.body, context);
|
|
1142
1142
|
const response = {
|
|
@@ -1144,7 +1144,7 @@ export const deserializeAws_json1_1DenyCustomRoutingTrafficCommand = async (outp
|
|
|
1144
1144
|
};
|
|
1145
1145
|
return Promise.resolve(response);
|
|
1146
1146
|
};
|
|
1147
|
-
const
|
|
1147
|
+
const de_DenyCustomRoutingTrafficCommandError = async (output, context) => {
|
|
1148
1148
|
const parsedOutput = {
|
|
1149
1149
|
...output,
|
|
1150
1150
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1153,13 +1153,13 @@ const deserializeAws_json1_1DenyCustomRoutingTrafficCommandError = async (output
|
|
|
1153
1153
|
switch (errorCode) {
|
|
1154
1154
|
case "EndpointGroupNotFoundException":
|
|
1155
1155
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
1156
|
-
throw await
|
|
1156
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1157
1157
|
case "InternalServiceErrorException":
|
|
1158
1158
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1159
|
-
throw await
|
|
1159
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1160
1160
|
case "InvalidArgumentException":
|
|
1161
1161
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1162
|
-
throw await
|
|
1162
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1163
1163
|
default:
|
|
1164
1164
|
const parsedBody = parsedOutput.body;
|
|
1165
1165
|
throwDefaultError({
|
|
@@ -1170,20 +1170,20 @@ const deserializeAws_json1_1DenyCustomRoutingTrafficCommandError = async (output
|
|
|
1170
1170
|
});
|
|
1171
1171
|
}
|
|
1172
1172
|
};
|
|
1173
|
-
export const
|
|
1173
|
+
export const de_DeprovisionByoipCidrCommand = async (output, context) => {
|
|
1174
1174
|
if (output.statusCode >= 300) {
|
|
1175
|
-
return
|
|
1175
|
+
return de_DeprovisionByoipCidrCommandError(output, context);
|
|
1176
1176
|
}
|
|
1177
1177
|
const data = await parseBody(output.body, context);
|
|
1178
1178
|
let contents = {};
|
|
1179
|
-
contents =
|
|
1179
|
+
contents = de_DeprovisionByoipCidrResponse(data, context);
|
|
1180
1180
|
const response = {
|
|
1181
1181
|
$metadata: deserializeMetadata(output),
|
|
1182
1182
|
...contents,
|
|
1183
1183
|
};
|
|
1184
1184
|
return Promise.resolve(response);
|
|
1185
1185
|
};
|
|
1186
|
-
const
|
|
1186
|
+
const de_DeprovisionByoipCidrCommandError = async (output, context) => {
|
|
1187
1187
|
const parsedOutput = {
|
|
1188
1188
|
...output,
|
|
1189
1189
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1192,19 +1192,19 @@ const deserializeAws_json1_1DeprovisionByoipCidrCommandError = async (output, co
|
|
|
1192
1192
|
switch (errorCode) {
|
|
1193
1193
|
case "AccessDeniedException":
|
|
1194
1194
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
1195
|
-
throw await
|
|
1195
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1196
1196
|
case "ByoipCidrNotFoundException":
|
|
1197
1197
|
case "com.amazonaws.globalaccelerator#ByoipCidrNotFoundException":
|
|
1198
|
-
throw await
|
|
1198
|
+
throw await de_ByoipCidrNotFoundExceptionRes(parsedOutput, context);
|
|
1199
1199
|
case "IncorrectCidrStateException":
|
|
1200
1200
|
case "com.amazonaws.globalaccelerator#IncorrectCidrStateException":
|
|
1201
|
-
throw await
|
|
1201
|
+
throw await de_IncorrectCidrStateExceptionRes(parsedOutput, context);
|
|
1202
1202
|
case "InternalServiceErrorException":
|
|
1203
1203
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1204
|
-
throw await
|
|
1204
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1205
1205
|
case "InvalidArgumentException":
|
|
1206
1206
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1207
|
-
throw await
|
|
1207
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1208
1208
|
default:
|
|
1209
1209
|
const parsedBody = parsedOutput.body;
|
|
1210
1210
|
throwDefaultError({
|
|
@@ -1215,20 +1215,20 @@ const deserializeAws_json1_1DeprovisionByoipCidrCommandError = async (output, co
|
|
|
1215
1215
|
});
|
|
1216
1216
|
}
|
|
1217
1217
|
};
|
|
1218
|
-
export const
|
|
1218
|
+
export const de_DescribeAcceleratorCommand = async (output, context) => {
|
|
1219
1219
|
if (output.statusCode >= 300) {
|
|
1220
|
-
return
|
|
1220
|
+
return de_DescribeAcceleratorCommandError(output, context);
|
|
1221
1221
|
}
|
|
1222
1222
|
const data = await parseBody(output.body, context);
|
|
1223
1223
|
let contents = {};
|
|
1224
|
-
contents =
|
|
1224
|
+
contents = de_DescribeAcceleratorResponse(data, context);
|
|
1225
1225
|
const response = {
|
|
1226
1226
|
$metadata: deserializeMetadata(output),
|
|
1227
1227
|
...contents,
|
|
1228
1228
|
};
|
|
1229
1229
|
return Promise.resolve(response);
|
|
1230
1230
|
};
|
|
1231
|
-
const
|
|
1231
|
+
const de_DescribeAcceleratorCommandError = async (output, context) => {
|
|
1232
1232
|
const parsedOutput = {
|
|
1233
1233
|
...output,
|
|
1234
1234
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1237,13 +1237,13 @@ const deserializeAws_json1_1DescribeAcceleratorCommandError = async (output, con
|
|
|
1237
1237
|
switch (errorCode) {
|
|
1238
1238
|
case "AcceleratorNotFoundException":
|
|
1239
1239
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
1240
|
-
throw await
|
|
1240
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
1241
1241
|
case "InternalServiceErrorException":
|
|
1242
1242
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1243
|
-
throw await
|
|
1243
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1244
1244
|
case "InvalidArgumentException":
|
|
1245
1245
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1246
|
-
throw await
|
|
1246
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1247
1247
|
default:
|
|
1248
1248
|
const parsedBody = parsedOutput.body;
|
|
1249
1249
|
throwDefaultError({
|
|
@@ -1254,20 +1254,20 @@ const deserializeAws_json1_1DescribeAcceleratorCommandError = async (output, con
|
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
|
-
export const
|
|
1257
|
+
export const de_DescribeAcceleratorAttributesCommand = async (output, context) => {
|
|
1258
1258
|
if (output.statusCode >= 300) {
|
|
1259
|
-
return
|
|
1259
|
+
return de_DescribeAcceleratorAttributesCommandError(output, context);
|
|
1260
1260
|
}
|
|
1261
1261
|
const data = await parseBody(output.body, context);
|
|
1262
1262
|
let contents = {};
|
|
1263
|
-
contents =
|
|
1263
|
+
contents = de_DescribeAcceleratorAttributesResponse(data, context);
|
|
1264
1264
|
const response = {
|
|
1265
1265
|
$metadata: deserializeMetadata(output),
|
|
1266
1266
|
...contents,
|
|
1267
1267
|
};
|
|
1268
1268
|
return Promise.resolve(response);
|
|
1269
1269
|
};
|
|
1270
|
-
const
|
|
1270
|
+
const de_DescribeAcceleratorAttributesCommandError = async (output, context) => {
|
|
1271
1271
|
const parsedOutput = {
|
|
1272
1272
|
...output,
|
|
1273
1273
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1276,13 +1276,13 @@ const deserializeAws_json1_1DescribeAcceleratorAttributesCommandError = async (o
|
|
|
1276
1276
|
switch (errorCode) {
|
|
1277
1277
|
case "AcceleratorNotFoundException":
|
|
1278
1278
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
1279
|
-
throw await
|
|
1279
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
1280
1280
|
case "InternalServiceErrorException":
|
|
1281
1281
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1282
|
-
throw await
|
|
1282
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1283
1283
|
case "InvalidArgumentException":
|
|
1284
1284
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1285
|
-
throw await
|
|
1285
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1286
1286
|
default:
|
|
1287
1287
|
const parsedBody = parsedOutput.body;
|
|
1288
1288
|
throwDefaultError({
|
|
@@ -1293,20 +1293,20 @@ const deserializeAws_json1_1DescribeAcceleratorAttributesCommandError = async (o
|
|
|
1293
1293
|
});
|
|
1294
1294
|
}
|
|
1295
1295
|
};
|
|
1296
|
-
export const
|
|
1296
|
+
export const de_DescribeCustomRoutingAcceleratorCommand = async (output, context) => {
|
|
1297
1297
|
if (output.statusCode >= 300) {
|
|
1298
|
-
return
|
|
1298
|
+
return de_DescribeCustomRoutingAcceleratorCommandError(output, context);
|
|
1299
1299
|
}
|
|
1300
1300
|
const data = await parseBody(output.body, context);
|
|
1301
1301
|
let contents = {};
|
|
1302
|
-
contents =
|
|
1302
|
+
contents = de_DescribeCustomRoutingAcceleratorResponse(data, context);
|
|
1303
1303
|
const response = {
|
|
1304
1304
|
$metadata: deserializeMetadata(output),
|
|
1305
1305
|
...contents,
|
|
1306
1306
|
};
|
|
1307
1307
|
return Promise.resolve(response);
|
|
1308
1308
|
};
|
|
1309
|
-
const
|
|
1309
|
+
const de_DescribeCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
1310
1310
|
const parsedOutput = {
|
|
1311
1311
|
...output,
|
|
1312
1312
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1315,13 +1315,13 @@ const deserializeAws_json1_1DescribeCustomRoutingAcceleratorCommandError = async
|
|
|
1315
1315
|
switch (errorCode) {
|
|
1316
1316
|
case "AcceleratorNotFoundException":
|
|
1317
1317
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
1318
|
-
throw await
|
|
1318
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
1319
1319
|
case "InternalServiceErrorException":
|
|
1320
1320
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1321
|
-
throw await
|
|
1321
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1322
1322
|
case "InvalidArgumentException":
|
|
1323
1323
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1324
|
-
throw await
|
|
1324
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1325
1325
|
default:
|
|
1326
1326
|
const parsedBody = parsedOutput.body;
|
|
1327
1327
|
throwDefaultError({
|
|
@@ -1332,20 +1332,20 @@ const deserializeAws_json1_1DescribeCustomRoutingAcceleratorCommandError = async
|
|
|
1332
1332
|
});
|
|
1333
1333
|
}
|
|
1334
1334
|
};
|
|
1335
|
-
export const
|
|
1335
|
+
export const de_DescribeCustomRoutingAcceleratorAttributesCommand = async (output, context) => {
|
|
1336
1336
|
if (output.statusCode >= 300) {
|
|
1337
|
-
return
|
|
1337
|
+
return de_DescribeCustomRoutingAcceleratorAttributesCommandError(output, context);
|
|
1338
1338
|
}
|
|
1339
1339
|
const data = await parseBody(output.body, context);
|
|
1340
1340
|
let contents = {};
|
|
1341
|
-
contents =
|
|
1341
|
+
contents = de_DescribeCustomRoutingAcceleratorAttributesResponse(data, context);
|
|
1342
1342
|
const response = {
|
|
1343
1343
|
$metadata: deserializeMetadata(output),
|
|
1344
1344
|
...contents,
|
|
1345
1345
|
};
|
|
1346
1346
|
return Promise.resolve(response);
|
|
1347
1347
|
};
|
|
1348
|
-
const
|
|
1348
|
+
const de_DescribeCustomRoutingAcceleratorAttributesCommandError = async (output, context) => {
|
|
1349
1349
|
const parsedOutput = {
|
|
1350
1350
|
...output,
|
|
1351
1351
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1354,13 +1354,13 @@ const deserializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommandErr
|
|
|
1354
1354
|
switch (errorCode) {
|
|
1355
1355
|
case "AcceleratorNotFoundException":
|
|
1356
1356
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
1357
|
-
throw await
|
|
1357
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
1358
1358
|
case "InternalServiceErrorException":
|
|
1359
1359
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1360
|
-
throw await
|
|
1360
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1361
1361
|
case "InvalidArgumentException":
|
|
1362
1362
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1363
|
-
throw await
|
|
1363
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1364
1364
|
default:
|
|
1365
1365
|
const parsedBody = parsedOutput.body;
|
|
1366
1366
|
throwDefaultError({
|
|
@@ -1371,20 +1371,20 @@ const deserializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommandErr
|
|
|
1371
1371
|
});
|
|
1372
1372
|
}
|
|
1373
1373
|
};
|
|
1374
|
-
export const
|
|
1374
|
+
export const de_DescribeCustomRoutingEndpointGroupCommand = async (output, context) => {
|
|
1375
1375
|
if (output.statusCode >= 300) {
|
|
1376
|
-
return
|
|
1376
|
+
return de_DescribeCustomRoutingEndpointGroupCommandError(output, context);
|
|
1377
1377
|
}
|
|
1378
1378
|
const data = await parseBody(output.body, context);
|
|
1379
1379
|
let contents = {};
|
|
1380
|
-
contents =
|
|
1380
|
+
contents = de_DescribeCustomRoutingEndpointGroupResponse(data, context);
|
|
1381
1381
|
const response = {
|
|
1382
1382
|
$metadata: deserializeMetadata(output),
|
|
1383
1383
|
...contents,
|
|
1384
1384
|
};
|
|
1385
1385
|
return Promise.resolve(response);
|
|
1386
1386
|
};
|
|
1387
|
-
const
|
|
1387
|
+
const de_DescribeCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
1388
1388
|
const parsedOutput = {
|
|
1389
1389
|
...output,
|
|
1390
1390
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1393,13 +1393,13 @@ const deserializeAws_json1_1DescribeCustomRoutingEndpointGroupCommandError = asy
|
|
|
1393
1393
|
switch (errorCode) {
|
|
1394
1394
|
case "EndpointGroupNotFoundException":
|
|
1395
1395
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
1396
|
-
throw await
|
|
1396
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1397
1397
|
case "InternalServiceErrorException":
|
|
1398
1398
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1399
|
-
throw await
|
|
1399
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1400
1400
|
case "InvalidArgumentException":
|
|
1401
1401
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1402
|
-
throw await
|
|
1402
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1403
1403
|
default:
|
|
1404
1404
|
const parsedBody = parsedOutput.body;
|
|
1405
1405
|
throwDefaultError({
|
|
@@ -1410,20 +1410,20 @@ const deserializeAws_json1_1DescribeCustomRoutingEndpointGroupCommandError = asy
|
|
|
1410
1410
|
});
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
|
-
export const
|
|
1413
|
+
export const de_DescribeCustomRoutingListenerCommand = async (output, context) => {
|
|
1414
1414
|
if (output.statusCode >= 300) {
|
|
1415
|
-
return
|
|
1415
|
+
return de_DescribeCustomRoutingListenerCommandError(output, context);
|
|
1416
1416
|
}
|
|
1417
1417
|
const data = await parseBody(output.body, context);
|
|
1418
1418
|
let contents = {};
|
|
1419
|
-
contents =
|
|
1419
|
+
contents = de_DescribeCustomRoutingListenerResponse(data, context);
|
|
1420
1420
|
const response = {
|
|
1421
1421
|
$metadata: deserializeMetadata(output),
|
|
1422
1422
|
...contents,
|
|
1423
1423
|
};
|
|
1424
1424
|
return Promise.resolve(response);
|
|
1425
1425
|
};
|
|
1426
|
-
const
|
|
1426
|
+
const de_DescribeCustomRoutingListenerCommandError = async (output, context) => {
|
|
1427
1427
|
const parsedOutput = {
|
|
1428
1428
|
...output,
|
|
1429
1429
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1432,13 +1432,13 @@ const deserializeAws_json1_1DescribeCustomRoutingListenerCommandError = async (o
|
|
|
1432
1432
|
switch (errorCode) {
|
|
1433
1433
|
case "InternalServiceErrorException":
|
|
1434
1434
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1435
|
-
throw await
|
|
1435
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1436
1436
|
case "InvalidArgumentException":
|
|
1437
1437
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1438
|
-
throw await
|
|
1438
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1439
1439
|
case "ListenerNotFoundException":
|
|
1440
1440
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
1441
|
-
throw await
|
|
1441
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1442
1442
|
default:
|
|
1443
1443
|
const parsedBody = parsedOutput.body;
|
|
1444
1444
|
throwDefaultError({
|
|
@@ -1449,20 +1449,20 @@ const deserializeAws_json1_1DescribeCustomRoutingListenerCommandError = async (o
|
|
|
1449
1449
|
});
|
|
1450
1450
|
}
|
|
1451
1451
|
};
|
|
1452
|
-
export const
|
|
1452
|
+
export const de_DescribeEndpointGroupCommand = async (output, context) => {
|
|
1453
1453
|
if (output.statusCode >= 300) {
|
|
1454
|
-
return
|
|
1454
|
+
return de_DescribeEndpointGroupCommandError(output, context);
|
|
1455
1455
|
}
|
|
1456
1456
|
const data = await parseBody(output.body, context);
|
|
1457
1457
|
let contents = {};
|
|
1458
|
-
contents =
|
|
1458
|
+
contents = de_DescribeEndpointGroupResponse(data, context);
|
|
1459
1459
|
const response = {
|
|
1460
1460
|
$metadata: deserializeMetadata(output),
|
|
1461
1461
|
...contents,
|
|
1462
1462
|
};
|
|
1463
1463
|
return Promise.resolve(response);
|
|
1464
1464
|
};
|
|
1465
|
-
const
|
|
1465
|
+
const de_DescribeEndpointGroupCommandError = async (output, context) => {
|
|
1466
1466
|
const parsedOutput = {
|
|
1467
1467
|
...output,
|
|
1468
1468
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1471,13 +1471,13 @@ const deserializeAws_json1_1DescribeEndpointGroupCommandError = async (output, c
|
|
|
1471
1471
|
switch (errorCode) {
|
|
1472
1472
|
case "EndpointGroupNotFoundException":
|
|
1473
1473
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
1474
|
-
throw await
|
|
1474
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1475
1475
|
case "InternalServiceErrorException":
|
|
1476
1476
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1477
|
-
throw await
|
|
1477
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1478
1478
|
case "InvalidArgumentException":
|
|
1479
1479
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1480
|
-
throw await
|
|
1480
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1481
1481
|
default:
|
|
1482
1482
|
const parsedBody = parsedOutput.body;
|
|
1483
1483
|
throwDefaultError({
|
|
@@ -1488,20 +1488,20 @@ const deserializeAws_json1_1DescribeEndpointGroupCommandError = async (output, c
|
|
|
1488
1488
|
});
|
|
1489
1489
|
}
|
|
1490
1490
|
};
|
|
1491
|
-
export const
|
|
1491
|
+
export const de_DescribeListenerCommand = async (output, context) => {
|
|
1492
1492
|
if (output.statusCode >= 300) {
|
|
1493
|
-
return
|
|
1493
|
+
return de_DescribeListenerCommandError(output, context);
|
|
1494
1494
|
}
|
|
1495
1495
|
const data = await parseBody(output.body, context);
|
|
1496
1496
|
let contents = {};
|
|
1497
|
-
contents =
|
|
1497
|
+
contents = de_DescribeListenerResponse(data, context);
|
|
1498
1498
|
const response = {
|
|
1499
1499
|
$metadata: deserializeMetadata(output),
|
|
1500
1500
|
...contents,
|
|
1501
1501
|
};
|
|
1502
1502
|
return Promise.resolve(response);
|
|
1503
1503
|
};
|
|
1504
|
-
const
|
|
1504
|
+
const de_DescribeListenerCommandError = async (output, context) => {
|
|
1505
1505
|
const parsedOutput = {
|
|
1506
1506
|
...output,
|
|
1507
1507
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1510,13 +1510,13 @@ const deserializeAws_json1_1DescribeListenerCommandError = async (output, contex
|
|
|
1510
1510
|
switch (errorCode) {
|
|
1511
1511
|
case "InternalServiceErrorException":
|
|
1512
1512
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1513
|
-
throw await
|
|
1513
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1514
1514
|
case "InvalidArgumentException":
|
|
1515
1515
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1516
|
-
throw await
|
|
1516
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1517
1517
|
case "ListenerNotFoundException":
|
|
1518
1518
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
1519
|
-
throw await
|
|
1519
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1520
1520
|
default:
|
|
1521
1521
|
const parsedBody = parsedOutput.body;
|
|
1522
1522
|
throwDefaultError({
|
|
@@ -1527,20 +1527,20 @@ const deserializeAws_json1_1DescribeListenerCommandError = async (output, contex
|
|
|
1527
1527
|
});
|
|
1528
1528
|
}
|
|
1529
1529
|
};
|
|
1530
|
-
export const
|
|
1530
|
+
export const de_ListAcceleratorsCommand = async (output, context) => {
|
|
1531
1531
|
if (output.statusCode >= 300) {
|
|
1532
|
-
return
|
|
1532
|
+
return de_ListAcceleratorsCommandError(output, context);
|
|
1533
1533
|
}
|
|
1534
1534
|
const data = await parseBody(output.body, context);
|
|
1535
1535
|
let contents = {};
|
|
1536
|
-
contents =
|
|
1536
|
+
contents = de_ListAcceleratorsResponse(data, context);
|
|
1537
1537
|
const response = {
|
|
1538
1538
|
$metadata: deserializeMetadata(output),
|
|
1539
1539
|
...contents,
|
|
1540
1540
|
};
|
|
1541
1541
|
return Promise.resolve(response);
|
|
1542
1542
|
};
|
|
1543
|
-
const
|
|
1543
|
+
const de_ListAcceleratorsCommandError = async (output, context) => {
|
|
1544
1544
|
const parsedOutput = {
|
|
1545
1545
|
...output,
|
|
1546
1546
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1549,13 +1549,13 @@ const deserializeAws_json1_1ListAcceleratorsCommandError = async (output, contex
|
|
|
1549
1549
|
switch (errorCode) {
|
|
1550
1550
|
case "InternalServiceErrorException":
|
|
1551
1551
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1552
|
-
throw await
|
|
1552
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1553
1553
|
case "InvalidArgumentException":
|
|
1554
1554
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1555
|
-
throw await
|
|
1555
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1556
1556
|
case "InvalidNextTokenException":
|
|
1557
1557
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1558
|
-
throw await
|
|
1558
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1559
1559
|
default:
|
|
1560
1560
|
const parsedBody = parsedOutput.body;
|
|
1561
1561
|
throwDefaultError({
|
|
@@ -1566,20 +1566,20 @@ const deserializeAws_json1_1ListAcceleratorsCommandError = async (output, contex
|
|
|
1566
1566
|
});
|
|
1567
1567
|
}
|
|
1568
1568
|
};
|
|
1569
|
-
export const
|
|
1569
|
+
export const de_ListByoipCidrsCommand = async (output, context) => {
|
|
1570
1570
|
if (output.statusCode >= 300) {
|
|
1571
|
-
return
|
|
1571
|
+
return de_ListByoipCidrsCommandError(output, context);
|
|
1572
1572
|
}
|
|
1573
1573
|
const data = await parseBody(output.body, context);
|
|
1574
1574
|
let contents = {};
|
|
1575
|
-
contents =
|
|
1575
|
+
contents = de_ListByoipCidrsResponse(data, context);
|
|
1576
1576
|
const response = {
|
|
1577
1577
|
$metadata: deserializeMetadata(output),
|
|
1578
1578
|
...contents,
|
|
1579
1579
|
};
|
|
1580
1580
|
return Promise.resolve(response);
|
|
1581
1581
|
};
|
|
1582
|
-
const
|
|
1582
|
+
const de_ListByoipCidrsCommandError = async (output, context) => {
|
|
1583
1583
|
const parsedOutput = {
|
|
1584
1584
|
...output,
|
|
1585
1585
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1588,16 +1588,16 @@ const deserializeAws_json1_1ListByoipCidrsCommandError = async (output, context)
|
|
|
1588
1588
|
switch (errorCode) {
|
|
1589
1589
|
case "AccessDeniedException":
|
|
1590
1590
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
1591
|
-
throw await
|
|
1591
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1592
1592
|
case "InternalServiceErrorException":
|
|
1593
1593
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1594
|
-
throw await
|
|
1594
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1595
1595
|
case "InvalidArgumentException":
|
|
1596
1596
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1597
|
-
throw await
|
|
1597
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1598
1598
|
case "InvalidNextTokenException":
|
|
1599
1599
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1600
|
-
throw await
|
|
1600
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1601
1601
|
default:
|
|
1602
1602
|
const parsedBody = parsedOutput.body;
|
|
1603
1603
|
throwDefaultError({
|
|
@@ -1608,20 +1608,20 @@ const deserializeAws_json1_1ListByoipCidrsCommandError = async (output, context)
|
|
|
1608
1608
|
});
|
|
1609
1609
|
}
|
|
1610
1610
|
};
|
|
1611
|
-
export const
|
|
1611
|
+
export const de_ListCustomRoutingAcceleratorsCommand = async (output, context) => {
|
|
1612
1612
|
if (output.statusCode >= 300) {
|
|
1613
|
-
return
|
|
1613
|
+
return de_ListCustomRoutingAcceleratorsCommandError(output, context);
|
|
1614
1614
|
}
|
|
1615
1615
|
const data = await parseBody(output.body, context);
|
|
1616
1616
|
let contents = {};
|
|
1617
|
-
contents =
|
|
1617
|
+
contents = de_ListCustomRoutingAcceleratorsResponse(data, context);
|
|
1618
1618
|
const response = {
|
|
1619
1619
|
$metadata: deserializeMetadata(output),
|
|
1620
1620
|
...contents,
|
|
1621
1621
|
};
|
|
1622
1622
|
return Promise.resolve(response);
|
|
1623
1623
|
};
|
|
1624
|
-
const
|
|
1624
|
+
const de_ListCustomRoutingAcceleratorsCommandError = async (output, context) => {
|
|
1625
1625
|
const parsedOutput = {
|
|
1626
1626
|
...output,
|
|
1627
1627
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1630,13 +1630,13 @@ const deserializeAws_json1_1ListCustomRoutingAcceleratorsCommandError = async (o
|
|
|
1630
1630
|
switch (errorCode) {
|
|
1631
1631
|
case "InternalServiceErrorException":
|
|
1632
1632
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1633
|
-
throw await
|
|
1633
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1634
1634
|
case "InvalidArgumentException":
|
|
1635
1635
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1636
|
-
throw await
|
|
1636
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1637
1637
|
case "InvalidNextTokenException":
|
|
1638
1638
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1639
|
-
throw await
|
|
1639
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1640
1640
|
default:
|
|
1641
1641
|
const parsedBody = parsedOutput.body;
|
|
1642
1642
|
throwDefaultError({
|
|
@@ -1647,20 +1647,20 @@ const deserializeAws_json1_1ListCustomRoutingAcceleratorsCommandError = async (o
|
|
|
1647
1647
|
});
|
|
1648
1648
|
}
|
|
1649
1649
|
};
|
|
1650
|
-
export const
|
|
1650
|
+
export const de_ListCustomRoutingEndpointGroupsCommand = async (output, context) => {
|
|
1651
1651
|
if (output.statusCode >= 300) {
|
|
1652
|
-
return
|
|
1652
|
+
return de_ListCustomRoutingEndpointGroupsCommandError(output, context);
|
|
1653
1653
|
}
|
|
1654
1654
|
const data = await parseBody(output.body, context);
|
|
1655
1655
|
let contents = {};
|
|
1656
|
-
contents =
|
|
1656
|
+
contents = de_ListCustomRoutingEndpointGroupsResponse(data, context);
|
|
1657
1657
|
const response = {
|
|
1658
1658
|
$metadata: deserializeMetadata(output),
|
|
1659
1659
|
...contents,
|
|
1660
1660
|
};
|
|
1661
1661
|
return Promise.resolve(response);
|
|
1662
1662
|
};
|
|
1663
|
-
const
|
|
1663
|
+
const de_ListCustomRoutingEndpointGroupsCommandError = async (output, context) => {
|
|
1664
1664
|
const parsedOutput = {
|
|
1665
1665
|
...output,
|
|
1666
1666
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1669,16 +1669,16 @@ const deserializeAws_json1_1ListCustomRoutingEndpointGroupsCommandError = async
|
|
|
1669
1669
|
switch (errorCode) {
|
|
1670
1670
|
case "InternalServiceErrorException":
|
|
1671
1671
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1672
|
-
throw await
|
|
1672
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1673
1673
|
case "InvalidArgumentException":
|
|
1674
1674
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1675
|
-
throw await
|
|
1675
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1676
1676
|
case "InvalidNextTokenException":
|
|
1677
1677
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1678
|
-
throw await
|
|
1678
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1679
1679
|
case "ListenerNotFoundException":
|
|
1680
1680
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
1681
|
-
throw await
|
|
1681
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1682
1682
|
default:
|
|
1683
1683
|
const parsedBody = parsedOutput.body;
|
|
1684
1684
|
throwDefaultError({
|
|
@@ -1689,20 +1689,20 @@ const deserializeAws_json1_1ListCustomRoutingEndpointGroupsCommandError = async
|
|
|
1689
1689
|
});
|
|
1690
1690
|
}
|
|
1691
1691
|
};
|
|
1692
|
-
export const
|
|
1692
|
+
export const de_ListCustomRoutingListenersCommand = async (output, context) => {
|
|
1693
1693
|
if (output.statusCode >= 300) {
|
|
1694
|
-
return
|
|
1694
|
+
return de_ListCustomRoutingListenersCommandError(output, context);
|
|
1695
1695
|
}
|
|
1696
1696
|
const data = await parseBody(output.body, context);
|
|
1697
1697
|
let contents = {};
|
|
1698
|
-
contents =
|
|
1698
|
+
contents = de_ListCustomRoutingListenersResponse(data, context);
|
|
1699
1699
|
const response = {
|
|
1700
1700
|
$metadata: deserializeMetadata(output),
|
|
1701
1701
|
...contents,
|
|
1702
1702
|
};
|
|
1703
1703
|
return Promise.resolve(response);
|
|
1704
1704
|
};
|
|
1705
|
-
const
|
|
1705
|
+
const de_ListCustomRoutingListenersCommandError = async (output, context) => {
|
|
1706
1706
|
const parsedOutput = {
|
|
1707
1707
|
...output,
|
|
1708
1708
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1711,16 +1711,16 @@ const deserializeAws_json1_1ListCustomRoutingListenersCommandError = async (outp
|
|
|
1711
1711
|
switch (errorCode) {
|
|
1712
1712
|
case "AcceleratorNotFoundException":
|
|
1713
1713
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
1714
|
-
throw await
|
|
1714
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
1715
1715
|
case "InternalServiceErrorException":
|
|
1716
1716
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1717
|
-
throw await
|
|
1717
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1718
1718
|
case "InvalidArgumentException":
|
|
1719
1719
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1720
|
-
throw await
|
|
1720
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1721
1721
|
case "InvalidNextTokenException":
|
|
1722
1722
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1723
|
-
throw await
|
|
1723
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1724
1724
|
default:
|
|
1725
1725
|
const parsedBody = parsedOutput.body;
|
|
1726
1726
|
throwDefaultError({
|
|
@@ -1731,20 +1731,20 @@ const deserializeAws_json1_1ListCustomRoutingListenersCommandError = async (outp
|
|
|
1731
1731
|
});
|
|
1732
1732
|
}
|
|
1733
1733
|
};
|
|
1734
|
-
export const
|
|
1734
|
+
export const de_ListCustomRoutingPortMappingsCommand = async (output, context) => {
|
|
1735
1735
|
if (output.statusCode >= 300) {
|
|
1736
|
-
return
|
|
1736
|
+
return de_ListCustomRoutingPortMappingsCommandError(output, context);
|
|
1737
1737
|
}
|
|
1738
1738
|
const data = await parseBody(output.body, context);
|
|
1739
1739
|
let contents = {};
|
|
1740
|
-
contents =
|
|
1740
|
+
contents = de_ListCustomRoutingPortMappingsResponse(data, context);
|
|
1741
1741
|
const response = {
|
|
1742
1742
|
$metadata: deserializeMetadata(output),
|
|
1743
1743
|
...contents,
|
|
1744
1744
|
};
|
|
1745
1745
|
return Promise.resolve(response);
|
|
1746
1746
|
};
|
|
1747
|
-
const
|
|
1747
|
+
const de_ListCustomRoutingPortMappingsCommandError = async (output, context) => {
|
|
1748
1748
|
const parsedOutput = {
|
|
1749
1749
|
...output,
|
|
1750
1750
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1753,19 +1753,19 @@ const deserializeAws_json1_1ListCustomRoutingPortMappingsCommandError = async (o
|
|
|
1753
1753
|
switch (errorCode) {
|
|
1754
1754
|
case "AcceleratorNotFoundException":
|
|
1755
1755
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
1756
|
-
throw await
|
|
1756
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
1757
1757
|
case "EndpointGroupNotFoundException":
|
|
1758
1758
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
1759
|
-
throw await
|
|
1759
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
1760
1760
|
case "InternalServiceErrorException":
|
|
1761
1761
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1762
|
-
throw await
|
|
1762
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1763
1763
|
case "InvalidArgumentException":
|
|
1764
1764
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1765
|
-
throw await
|
|
1765
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1766
1766
|
case "InvalidNextTokenException":
|
|
1767
1767
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1768
|
-
throw await
|
|
1768
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1769
1769
|
default:
|
|
1770
1770
|
const parsedBody = parsedOutput.body;
|
|
1771
1771
|
throwDefaultError({
|
|
@@ -1776,20 +1776,20 @@ const deserializeAws_json1_1ListCustomRoutingPortMappingsCommandError = async (o
|
|
|
1776
1776
|
});
|
|
1777
1777
|
}
|
|
1778
1778
|
};
|
|
1779
|
-
export const
|
|
1779
|
+
export const de_ListCustomRoutingPortMappingsByDestinationCommand = async (output, context) => {
|
|
1780
1780
|
if (output.statusCode >= 300) {
|
|
1781
|
-
return
|
|
1781
|
+
return de_ListCustomRoutingPortMappingsByDestinationCommandError(output, context);
|
|
1782
1782
|
}
|
|
1783
1783
|
const data = await parseBody(output.body, context);
|
|
1784
1784
|
let contents = {};
|
|
1785
|
-
contents =
|
|
1785
|
+
contents = de_ListCustomRoutingPortMappingsByDestinationResponse(data, context);
|
|
1786
1786
|
const response = {
|
|
1787
1787
|
$metadata: deserializeMetadata(output),
|
|
1788
1788
|
...contents,
|
|
1789
1789
|
};
|
|
1790
1790
|
return Promise.resolve(response);
|
|
1791
1791
|
};
|
|
1792
|
-
const
|
|
1792
|
+
const de_ListCustomRoutingPortMappingsByDestinationCommandError = async (output, context) => {
|
|
1793
1793
|
const parsedOutput = {
|
|
1794
1794
|
...output,
|
|
1795
1795
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1798,16 +1798,16 @@ const deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommandErr
|
|
|
1798
1798
|
switch (errorCode) {
|
|
1799
1799
|
case "EndpointNotFoundException":
|
|
1800
1800
|
case "com.amazonaws.globalaccelerator#EndpointNotFoundException":
|
|
1801
|
-
throw await
|
|
1801
|
+
throw await de_EndpointNotFoundExceptionRes(parsedOutput, context);
|
|
1802
1802
|
case "InternalServiceErrorException":
|
|
1803
1803
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1804
|
-
throw await
|
|
1804
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1805
1805
|
case "InvalidArgumentException":
|
|
1806
1806
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1807
|
-
throw await
|
|
1807
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1808
1808
|
case "InvalidNextTokenException":
|
|
1809
1809
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1810
|
-
throw await
|
|
1810
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1811
1811
|
default:
|
|
1812
1812
|
const parsedBody = parsedOutput.body;
|
|
1813
1813
|
throwDefaultError({
|
|
@@ -1818,20 +1818,20 @@ const deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommandErr
|
|
|
1818
1818
|
});
|
|
1819
1819
|
}
|
|
1820
1820
|
};
|
|
1821
|
-
export const
|
|
1821
|
+
export const de_ListEndpointGroupsCommand = async (output, context) => {
|
|
1822
1822
|
if (output.statusCode >= 300) {
|
|
1823
|
-
return
|
|
1823
|
+
return de_ListEndpointGroupsCommandError(output, context);
|
|
1824
1824
|
}
|
|
1825
1825
|
const data = await parseBody(output.body, context);
|
|
1826
1826
|
let contents = {};
|
|
1827
|
-
contents =
|
|
1827
|
+
contents = de_ListEndpointGroupsResponse(data, context);
|
|
1828
1828
|
const response = {
|
|
1829
1829
|
$metadata: deserializeMetadata(output),
|
|
1830
1830
|
...contents,
|
|
1831
1831
|
};
|
|
1832
1832
|
return Promise.resolve(response);
|
|
1833
1833
|
};
|
|
1834
|
-
const
|
|
1834
|
+
const de_ListEndpointGroupsCommandError = async (output, context) => {
|
|
1835
1835
|
const parsedOutput = {
|
|
1836
1836
|
...output,
|
|
1837
1837
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1840,16 +1840,16 @@ const deserializeAws_json1_1ListEndpointGroupsCommandError = async (output, cont
|
|
|
1840
1840
|
switch (errorCode) {
|
|
1841
1841
|
case "InternalServiceErrorException":
|
|
1842
1842
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1843
|
-
throw await
|
|
1843
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1844
1844
|
case "InvalidArgumentException":
|
|
1845
1845
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1846
|
-
throw await
|
|
1846
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1847
1847
|
case "InvalidNextTokenException":
|
|
1848
1848
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1849
|
-
throw await
|
|
1849
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1850
1850
|
case "ListenerNotFoundException":
|
|
1851
1851
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
1852
|
-
throw await
|
|
1852
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1853
1853
|
default:
|
|
1854
1854
|
const parsedBody = parsedOutput.body;
|
|
1855
1855
|
throwDefaultError({
|
|
@@ -1860,20 +1860,20 @@ const deserializeAws_json1_1ListEndpointGroupsCommandError = async (output, cont
|
|
|
1860
1860
|
});
|
|
1861
1861
|
}
|
|
1862
1862
|
};
|
|
1863
|
-
export const
|
|
1863
|
+
export const de_ListListenersCommand = async (output, context) => {
|
|
1864
1864
|
if (output.statusCode >= 300) {
|
|
1865
|
-
return
|
|
1865
|
+
return de_ListListenersCommandError(output, context);
|
|
1866
1866
|
}
|
|
1867
1867
|
const data = await parseBody(output.body, context);
|
|
1868
1868
|
let contents = {};
|
|
1869
|
-
contents =
|
|
1869
|
+
contents = de_ListListenersResponse(data, context);
|
|
1870
1870
|
const response = {
|
|
1871
1871
|
$metadata: deserializeMetadata(output),
|
|
1872
1872
|
...contents,
|
|
1873
1873
|
};
|
|
1874
1874
|
return Promise.resolve(response);
|
|
1875
1875
|
};
|
|
1876
|
-
const
|
|
1876
|
+
const de_ListListenersCommandError = async (output, context) => {
|
|
1877
1877
|
const parsedOutput = {
|
|
1878
1878
|
...output,
|
|
1879
1879
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1882,16 +1882,16 @@ const deserializeAws_json1_1ListListenersCommandError = async (output, context)
|
|
|
1882
1882
|
switch (errorCode) {
|
|
1883
1883
|
case "AcceleratorNotFoundException":
|
|
1884
1884
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
1885
|
-
throw await
|
|
1885
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
1886
1886
|
case "InternalServiceErrorException":
|
|
1887
1887
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1888
|
-
throw await
|
|
1888
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1889
1889
|
case "InvalidArgumentException":
|
|
1890
1890
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1891
|
-
throw await
|
|
1891
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1892
1892
|
case "InvalidNextTokenException":
|
|
1893
1893
|
case "com.amazonaws.globalaccelerator#InvalidNextTokenException":
|
|
1894
|
-
throw await
|
|
1894
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1895
1895
|
default:
|
|
1896
1896
|
const parsedBody = parsedOutput.body;
|
|
1897
1897
|
throwDefaultError({
|
|
@@ -1902,20 +1902,20 @@ const deserializeAws_json1_1ListListenersCommandError = async (output, context)
|
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
1904
1904
|
};
|
|
1905
|
-
export const
|
|
1905
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1906
1906
|
if (output.statusCode >= 300) {
|
|
1907
|
-
return
|
|
1907
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1908
1908
|
}
|
|
1909
1909
|
const data = await parseBody(output.body, context);
|
|
1910
1910
|
let contents = {};
|
|
1911
|
-
contents =
|
|
1911
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1912
1912
|
const response = {
|
|
1913
1913
|
$metadata: deserializeMetadata(output),
|
|
1914
1914
|
...contents,
|
|
1915
1915
|
};
|
|
1916
1916
|
return Promise.resolve(response);
|
|
1917
1917
|
};
|
|
1918
|
-
const
|
|
1918
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1919
1919
|
const parsedOutput = {
|
|
1920
1920
|
...output,
|
|
1921
1921
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1924,13 +1924,13 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1924
1924
|
switch (errorCode) {
|
|
1925
1925
|
case "AcceleratorNotFoundException":
|
|
1926
1926
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
1927
|
-
throw await
|
|
1927
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
1928
1928
|
case "InternalServiceErrorException":
|
|
1929
1929
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1930
|
-
throw await
|
|
1930
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1931
1931
|
case "InvalidArgumentException":
|
|
1932
1932
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1933
|
-
throw await
|
|
1933
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1934
1934
|
default:
|
|
1935
1935
|
const parsedBody = parsedOutput.body;
|
|
1936
1936
|
throwDefaultError({
|
|
@@ -1941,20 +1941,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1941
1941
|
});
|
|
1942
1942
|
}
|
|
1943
1943
|
};
|
|
1944
|
-
export const
|
|
1944
|
+
export const de_ProvisionByoipCidrCommand = async (output, context) => {
|
|
1945
1945
|
if (output.statusCode >= 300) {
|
|
1946
|
-
return
|
|
1946
|
+
return de_ProvisionByoipCidrCommandError(output, context);
|
|
1947
1947
|
}
|
|
1948
1948
|
const data = await parseBody(output.body, context);
|
|
1949
1949
|
let contents = {};
|
|
1950
|
-
contents =
|
|
1950
|
+
contents = de_ProvisionByoipCidrResponse(data, context);
|
|
1951
1951
|
const response = {
|
|
1952
1952
|
$metadata: deserializeMetadata(output),
|
|
1953
1953
|
...contents,
|
|
1954
1954
|
};
|
|
1955
1955
|
return Promise.resolve(response);
|
|
1956
1956
|
};
|
|
1957
|
-
const
|
|
1957
|
+
const de_ProvisionByoipCidrCommandError = async (output, context) => {
|
|
1958
1958
|
const parsedOutput = {
|
|
1959
1959
|
...output,
|
|
1960
1960
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1963,19 +1963,19 @@ const deserializeAws_json1_1ProvisionByoipCidrCommandError = async (output, cont
|
|
|
1963
1963
|
switch (errorCode) {
|
|
1964
1964
|
case "AccessDeniedException":
|
|
1965
1965
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
1966
|
-
throw await
|
|
1966
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1967
1967
|
case "IncorrectCidrStateException":
|
|
1968
1968
|
case "com.amazonaws.globalaccelerator#IncorrectCidrStateException":
|
|
1969
|
-
throw await
|
|
1969
|
+
throw await de_IncorrectCidrStateExceptionRes(parsedOutput, context);
|
|
1970
1970
|
case "InternalServiceErrorException":
|
|
1971
1971
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
1972
|
-
throw await
|
|
1972
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1973
1973
|
case "InvalidArgumentException":
|
|
1974
1974
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
1975
|
-
throw await
|
|
1975
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1976
1976
|
case "LimitExceededException":
|
|
1977
1977
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
1978
|
-
throw await
|
|
1978
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1979
1979
|
default:
|
|
1980
1980
|
const parsedBody = parsedOutput.body;
|
|
1981
1981
|
throwDefaultError({
|
|
@@ -1986,9 +1986,9 @@ const deserializeAws_json1_1ProvisionByoipCidrCommandError = async (output, cont
|
|
|
1986
1986
|
});
|
|
1987
1987
|
}
|
|
1988
1988
|
};
|
|
1989
|
-
export const
|
|
1989
|
+
export const de_RemoveCustomRoutingEndpointsCommand = async (output, context) => {
|
|
1990
1990
|
if (output.statusCode >= 300) {
|
|
1991
|
-
return
|
|
1991
|
+
return de_RemoveCustomRoutingEndpointsCommandError(output, context);
|
|
1992
1992
|
}
|
|
1993
1993
|
await collectBody(output.body, context);
|
|
1994
1994
|
const response = {
|
|
@@ -1996,7 +1996,7 @@ export const deserializeAws_json1_1RemoveCustomRoutingEndpointsCommand = async (
|
|
|
1996
1996
|
};
|
|
1997
1997
|
return Promise.resolve(response);
|
|
1998
1998
|
};
|
|
1999
|
-
const
|
|
1999
|
+
const de_RemoveCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
2000
2000
|
const parsedOutput = {
|
|
2001
2001
|
...output,
|
|
2002
2002
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2005,22 +2005,22 @@ const deserializeAws_json1_1RemoveCustomRoutingEndpointsCommandError = async (ou
|
|
|
2005
2005
|
switch (errorCode) {
|
|
2006
2006
|
case "AccessDeniedException":
|
|
2007
2007
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
2008
|
-
throw await
|
|
2008
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2009
2009
|
case "ConflictException":
|
|
2010
2010
|
case "com.amazonaws.globalaccelerator#ConflictException":
|
|
2011
|
-
throw await
|
|
2011
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2012
2012
|
case "EndpointGroupNotFoundException":
|
|
2013
2013
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
2014
|
-
throw await
|
|
2014
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2015
2015
|
case "EndpointNotFoundException":
|
|
2016
2016
|
case "com.amazonaws.globalaccelerator#EndpointNotFoundException":
|
|
2017
|
-
throw await
|
|
2017
|
+
throw await de_EndpointNotFoundExceptionRes(parsedOutput, context);
|
|
2018
2018
|
case "InternalServiceErrorException":
|
|
2019
2019
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2020
|
-
throw await
|
|
2020
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2021
2021
|
case "InvalidArgumentException":
|
|
2022
2022
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2023
|
-
throw await
|
|
2023
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2024
2024
|
default:
|
|
2025
2025
|
const parsedBody = parsedOutput.body;
|
|
2026
2026
|
throwDefaultError({
|
|
@@ -2031,9 +2031,9 @@ const deserializeAws_json1_1RemoveCustomRoutingEndpointsCommandError = async (ou
|
|
|
2031
2031
|
});
|
|
2032
2032
|
}
|
|
2033
2033
|
};
|
|
2034
|
-
export const
|
|
2034
|
+
export const de_RemoveEndpointsCommand = async (output, context) => {
|
|
2035
2035
|
if (output.statusCode >= 300) {
|
|
2036
|
-
return
|
|
2036
|
+
return de_RemoveEndpointsCommandError(output, context);
|
|
2037
2037
|
}
|
|
2038
2038
|
await collectBody(output.body, context);
|
|
2039
2039
|
const response = {
|
|
@@ -2041,7 +2041,7 @@ export const deserializeAws_json1_1RemoveEndpointsCommand = async (output, conte
|
|
|
2041
2041
|
};
|
|
2042
2042
|
return Promise.resolve(response);
|
|
2043
2043
|
};
|
|
2044
|
-
const
|
|
2044
|
+
const de_RemoveEndpointsCommandError = async (output, context) => {
|
|
2045
2045
|
const parsedOutput = {
|
|
2046
2046
|
...output,
|
|
2047
2047
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2050,19 +2050,19 @@ const deserializeAws_json1_1RemoveEndpointsCommandError = async (output, context
|
|
|
2050
2050
|
switch (errorCode) {
|
|
2051
2051
|
case "AccessDeniedException":
|
|
2052
2052
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
2053
|
-
throw await
|
|
2053
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2054
2054
|
case "EndpointGroupNotFoundException":
|
|
2055
2055
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
2056
|
-
throw await
|
|
2056
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2057
2057
|
case "InternalServiceErrorException":
|
|
2058
2058
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2059
|
-
throw await
|
|
2059
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2060
2060
|
case "InvalidArgumentException":
|
|
2061
2061
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2062
|
-
throw await
|
|
2062
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2063
2063
|
case "TransactionInProgressException":
|
|
2064
2064
|
case "com.amazonaws.globalaccelerator#TransactionInProgressException":
|
|
2065
|
-
throw await
|
|
2065
|
+
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
2066
2066
|
default:
|
|
2067
2067
|
const parsedBody = parsedOutput.body;
|
|
2068
2068
|
throwDefaultError({
|
|
@@ -2073,20 +2073,20 @@ const deserializeAws_json1_1RemoveEndpointsCommandError = async (output, context
|
|
|
2073
2073
|
});
|
|
2074
2074
|
}
|
|
2075
2075
|
};
|
|
2076
|
-
export const
|
|
2076
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
2077
2077
|
if (output.statusCode >= 300) {
|
|
2078
|
-
return
|
|
2078
|
+
return de_TagResourceCommandError(output, context);
|
|
2079
2079
|
}
|
|
2080
2080
|
const data = await parseBody(output.body, context);
|
|
2081
2081
|
let contents = {};
|
|
2082
|
-
contents =
|
|
2082
|
+
contents = de_TagResourceResponse(data, context);
|
|
2083
2083
|
const response = {
|
|
2084
2084
|
$metadata: deserializeMetadata(output),
|
|
2085
2085
|
...contents,
|
|
2086
2086
|
};
|
|
2087
2087
|
return Promise.resolve(response);
|
|
2088
2088
|
};
|
|
2089
|
-
const
|
|
2089
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2090
2090
|
const parsedOutput = {
|
|
2091
2091
|
...output,
|
|
2092
2092
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2095,13 +2095,13 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2095
2095
|
switch (errorCode) {
|
|
2096
2096
|
case "AcceleratorNotFoundException":
|
|
2097
2097
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
2098
|
-
throw await
|
|
2098
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
2099
2099
|
case "InternalServiceErrorException":
|
|
2100
2100
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2101
|
-
throw await
|
|
2101
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2102
2102
|
case "InvalidArgumentException":
|
|
2103
2103
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2104
|
-
throw await
|
|
2104
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2105
2105
|
default:
|
|
2106
2106
|
const parsedBody = parsedOutput.body;
|
|
2107
2107
|
throwDefaultError({
|
|
@@ -2112,20 +2112,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2112
2112
|
});
|
|
2113
2113
|
}
|
|
2114
2114
|
};
|
|
2115
|
-
export const
|
|
2115
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
2116
2116
|
if (output.statusCode >= 300) {
|
|
2117
|
-
return
|
|
2117
|
+
return de_UntagResourceCommandError(output, context);
|
|
2118
2118
|
}
|
|
2119
2119
|
const data = await parseBody(output.body, context);
|
|
2120
2120
|
let contents = {};
|
|
2121
|
-
contents =
|
|
2121
|
+
contents = de_UntagResourceResponse(data, context);
|
|
2122
2122
|
const response = {
|
|
2123
2123
|
$metadata: deserializeMetadata(output),
|
|
2124
2124
|
...contents,
|
|
2125
2125
|
};
|
|
2126
2126
|
return Promise.resolve(response);
|
|
2127
2127
|
};
|
|
2128
|
-
const
|
|
2128
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2129
2129
|
const parsedOutput = {
|
|
2130
2130
|
...output,
|
|
2131
2131
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2134,13 +2134,13 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2134
2134
|
switch (errorCode) {
|
|
2135
2135
|
case "AcceleratorNotFoundException":
|
|
2136
2136
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
2137
|
-
throw await
|
|
2137
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
2138
2138
|
case "InternalServiceErrorException":
|
|
2139
2139
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2140
|
-
throw await
|
|
2140
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2141
2141
|
case "InvalidArgumentException":
|
|
2142
2142
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2143
|
-
throw await
|
|
2143
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2144
2144
|
default:
|
|
2145
2145
|
const parsedBody = parsedOutput.body;
|
|
2146
2146
|
throwDefaultError({
|
|
@@ -2151,20 +2151,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2151
2151
|
});
|
|
2152
2152
|
}
|
|
2153
2153
|
};
|
|
2154
|
-
export const
|
|
2154
|
+
export const de_UpdateAcceleratorCommand = async (output, context) => {
|
|
2155
2155
|
if (output.statusCode >= 300) {
|
|
2156
|
-
return
|
|
2156
|
+
return de_UpdateAcceleratorCommandError(output, context);
|
|
2157
2157
|
}
|
|
2158
2158
|
const data = await parseBody(output.body, context);
|
|
2159
2159
|
let contents = {};
|
|
2160
|
-
contents =
|
|
2160
|
+
contents = de_UpdateAcceleratorResponse(data, context);
|
|
2161
2161
|
const response = {
|
|
2162
2162
|
$metadata: deserializeMetadata(output),
|
|
2163
2163
|
...contents,
|
|
2164
2164
|
};
|
|
2165
2165
|
return Promise.resolve(response);
|
|
2166
2166
|
};
|
|
2167
|
-
const
|
|
2167
|
+
const de_UpdateAcceleratorCommandError = async (output, context) => {
|
|
2168
2168
|
const parsedOutput = {
|
|
2169
2169
|
...output,
|
|
2170
2170
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2173,16 +2173,16 @@ const deserializeAws_json1_1UpdateAcceleratorCommandError = async (output, conte
|
|
|
2173
2173
|
switch (errorCode) {
|
|
2174
2174
|
case "AcceleratorNotFoundException":
|
|
2175
2175
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
2176
|
-
throw await
|
|
2176
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
2177
2177
|
case "AccessDeniedException":
|
|
2178
2178
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
2179
|
-
throw await
|
|
2179
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2180
2180
|
case "InternalServiceErrorException":
|
|
2181
2181
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2182
|
-
throw await
|
|
2182
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2183
2183
|
case "InvalidArgumentException":
|
|
2184
2184
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2185
|
-
throw await
|
|
2185
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2186
2186
|
default:
|
|
2187
2187
|
const parsedBody = parsedOutput.body;
|
|
2188
2188
|
throwDefaultError({
|
|
@@ -2193,20 +2193,20 @@ const deserializeAws_json1_1UpdateAcceleratorCommandError = async (output, conte
|
|
|
2193
2193
|
});
|
|
2194
2194
|
}
|
|
2195
2195
|
};
|
|
2196
|
-
export const
|
|
2196
|
+
export const de_UpdateAcceleratorAttributesCommand = async (output, context) => {
|
|
2197
2197
|
if (output.statusCode >= 300) {
|
|
2198
|
-
return
|
|
2198
|
+
return de_UpdateAcceleratorAttributesCommandError(output, context);
|
|
2199
2199
|
}
|
|
2200
2200
|
const data = await parseBody(output.body, context);
|
|
2201
2201
|
let contents = {};
|
|
2202
|
-
contents =
|
|
2202
|
+
contents = de_UpdateAcceleratorAttributesResponse(data, context);
|
|
2203
2203
|
const response = {
|
|
2204
2204
|
$metadata: deserializeMetadata(output),
|
|
2205
2205
|
...contents,
|
|
2206
2206
|
};
|
|
2207
2207
|
return Promise.resolve(response);
|
|
2208
2208
|
};
|
|
2209
|
-
const
|
|
2209
|
+
const de_UpdateAcceleratorAttributesCommandError = async (output, context) => {
|
|
2210
2210
|
const parsedOutput = {
|
|
2211
2211
|
...output,
|
|
2212
2212
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2215,16 +2215,16 @@ const deserializeAws_json1_1UpdateAcceleratorAttributesCommandError = async (out
|
|
|
2215
2215
|
switch (errorCode) {
|
|
2216
2216
|
case "AcceleratorNotFoundException":
|
|
2217
2217
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
2218
|
-
throw await
|
|
2218
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
2219
2219
|
case "AccessDeniedException":
|
|
2220
2220
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
2221
|
-
throw await
|
|
2221
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2222
2222
|
case "InternalServiceErrorException":
|
|
2223
2223
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2224
|
-
throw await
|
|
2224
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2225
2225
|
case "InvalidArgumentException":
|
|
2226
2226
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2227
|
-
throw await
|
|
2227
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2228
2228
|
default:
|
|
2229
2229
|
const parsedBody = parsedOutput.body;
|
|
2230
2230
|
throwDefaultError({
|
|
@@ -2235,20 +2235,20 @@ const deserializeAws_json1_1UpdateAcceleratorAttributesCommandError = async (out
|
|
|
2235
2235
|
});
|
|
2236
2236
|
}
|
|
2237
2237
|
};
|
|
2238
|
-
export const
|
|
2238
|
+
export const de_UpdateCustomRoutingAcceleratorCommand = async (output, context) => {
|
|
2239
2239
|
if (output.statusCode >= 300) {
|
|
2240
|
-
return
|
|
2240
|
+
return de_UpdateCustomRoutingAcceleratorCommandError(output, context);
|
|
2241
2241
|
}
|
|
2242
2242
|
const data = await parseBody(output.body, context);
|
|
2243
2243
|
let contents = {};
|
|
2244
|
-
contents =
|
|
2244
|
+
contents = de_UpdateCustomRoutingAcceleratorResponse(data, context);
|
|
2245
2245
|
const response = {
|
|
2246
2246
|
$metadata: deserializeMetadata(output),
|
|
2247
2247
|
...contents,
|
|
2248
2248
|
};
|
|
2249
2249
|
return Promise.resolve(response);
|
|
2250
2250
|
};
|
|
2251
|
-
const
|
|
2251
|
+
const de_UpdateCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
2252
2252
|
const parsedOutput = {
|
|
2253
2253
|
...output,
|
|
2254
2254
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2257,13 +2257,13 @@ const deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommandError = async (
|
|
|
2257
2257
|
switch (errorCode) {
|
|
2258
2258
|
case "AcceleratorNotFoundException":
|
|
2259
2259
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
2260
|
-
throw await
|
|
2260
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
2261
2261
|
case "InternalServiceErrorException":
|
|
2262
2262
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2263
|
-
throw await
|
|
2263
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2264
2264
|
case "InvalidArgumentException":
|
|
2265
2265
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2266
|
-
throw await
|
|
2266
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2267
2267
|
default:
|
|
2268
2268
|
const parsedBody = parsedOutput.body;
|
|
2269
2269
|
throwDefaultError({
|
|
@@ -2274,20 +2274,20 @@ const deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommandError = async (
|
|
|
2274
2274
|
});
|
|
2275
2275
|
}
|
|
2276
2276
|
};
|
|
2277
|
-
export const
|
|
2277
|
+
export const de_UpdateCustomRoutingAcceleratorAttributesCommand = async (output, context) => {
|
|
2278
2278
|
if (output.statusCode >= 300) {
|
|
2279
|
-
return
|
|
2279
|
+
return de_UpdateCustomRoutingAcceleratorAttributesCommandError(output, context);
|
|
2280
2280
|
}
|
|
2281
2281
|
const data = await parseBody(output.body, context);
|
|
2282
2282
|
let contents = {};
|
|
2283
|
-
contents =
|
|
2283
|
+
contents = de_UpdateCustomRoutingAcceleratorAttributesResponse(data, context);
|
|
2284
2284
|
const response = {
|
|
2285
2285
|
$metadata: deserializeMetadata(output),
|
|
2286
2286
|
...contents,
|
|
2287
2287
|
};
|
|
2288
2288
|
return Promise.resolve(response);
|
|
2289
2289
|
};
|
|
2290
|
-
const
|
|
2290
|
+
const de_UpdateCustomRoutingAcceleratorAttributesCommandError = async (output, context) => {
|
|
2291
2291
|
const parsedOutput = {
|
|
2292
2292
|
...output,
|
|
2293
2293
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2296,16 +2296,16 @@ const deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommandError
|
|
|
2296
2296
|
switch (errorCode) {
|
|
2297
2297
|
case "AcceleratorNotFoundException":
|
|
2298
2298
|
case "com.amazonaws.globalaccelerator#AcceleratorNotFoundException":
|
|
2299
|
-
throw await
|
|
2299
|
+
throw await de_AcceleratorNotFoundExceptionRes(parsedOutput, context);
|
|
2300
2300
|
case "AccessDeniedException":
|
|
2301
2301
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
2302
|
-
throw await
|
|
2302
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2303
2303
|
case "InternalServiceErrorException":
|
|
2304
2304
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2305
|
-
throw await
|
|
2305
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2306
2306
|
case "InvalidArgumentException":
|
|
2307
2307
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2308
|
-
throw await
|
|
2308
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2309
2309
|
default:
|
|
2310
2310
|
const parsedBody = parsedOutput.body;
|
|
2311
2311
|
throwDefaultError({
|
|
@@ -2316,20 +2316,20 @@ const deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommandError
|
|
|
2316
2316
|
});
|
|
2317
2317
|
}
|
|
2318
2318
|
};
|
|
2319
|
-
export const
|
|
2319
|
+
export const de_UpdateCustomRoutingListenerCommand = async (output, context) => {
|
|
2320
2320
|
if (output.statusCode >= 300) {
|
|
2321
|
-
return
|
|
2321
|
+
return de_UpdateCustomRoutingListenerCommandError(output, context);
|
|
2322
2322
|
}
|
|
2323
2323
|
const data = await parseBody(output.body, context);
|
|
2324
2324
|
let contents = {};
|
|
2325
|
-
contents =
|
|
2325
|
+
contents = de_UpdateCustomRoutingListenerResponse(data, context);
|
|
2326
2326
|
const response = {
|
|
2327
2327
|
$metadata: deserializeMetadata(output),
|
|
2328
2328
|
...contents,
|
|
2329
2329
|
};
|
|
2330
2330
|
return Promise.resolve(response);
|
|
2331
2331
|
};
|
|
2332
|
-
const
|
|
2332
|
+
const de_UpdateCustomRoutingListenerCommandError = async (output, context) => {
|
|
2333
2333
|
const parsedOutput = {
|
|
2334
2334
|
...output,
|
|
2335
2335
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2338,19 +2338,19 @@ const deserializeAws_json1_1UpdateCustomRoutingListenerCommandError = async (out
|
|
|
2338
2338
|
switch (errorCode) {
|
|
2339
2339
|
case "InternalServiceErrorException":
|
|
2340
2340
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2341
|
-
throw await
|
|
2341
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2342
2342
|
case "InvalidArgumentException":
|
|
2343
2343
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2344
|
-
throw await
|
|
2344
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2345
2345
|
case "InvalidPortRangeException":
|
|
2346
2346
|
case "com.amazonaws.globalaccelerator#InvalidPortRangeException":
|
|
2347
|
-
throw await
|
|
2347
|
+
throw await de_InvalidPortRangeExceptionRes(parsedOutput, context);
|
|
2348
2348
|
case "LimitExceededException":
|
|
2349
2349
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
2350
|
-
throw await
|
|
2350
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2351
2351
|
case "ListenerNotFoundException":
|
|
2352
2352
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
2353
|
-
throw await
|
|
2353
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2354
2354
|
default:
|
|
2355
2355
|
const parsedBody = parsedOutput.body;
|
|
2356
2356
|
throwDefaultError({
|
|
@@ -2361,20 +2361,20 @@ const deserializeAws_json1_1UpdateCustomRoutingListenerCommandError = async (out
|
|
|
2361
2361
|
});
|
|
2362
2362
|
}
|
|
2363
2363
|
};
|
|
2364
|
-
export const
|
|
2364
|
+
export const de_UpdateEndpointGroupCommand = async (output, context) => {
|
|
2365
2365
|
if (output.statusCode >= 300) {
|
|
2366
|
-
return
|
|
2366
|
+
return de_UpdateEndpointGroupCommandError(output, context);
|
|
2367
2367
|
}
|
|
2368
2368
|
const data = await parseBody(output.body, context);
|
|
2369
2369
|
let contents = {};
|
|
2370
|
-
contents =
|
|
2370
|
+
contents = de_UpdateEndpointGroupResponse(data, context);
|
|
2371
2371
|
const response = {
|
|
2372
2372
|
$metadata: deserializeMetadata(output),
|
|
2373
2373
|
...contents,
|
|
2374
2374
|
};
|
|
2375
2375
|
return Promise.resolve(response);
|
|
2376
2376
|
};
|
|
2377
|
-
const
|
|
2377
|
+
const de_UpdateEndpointGroupCommandError = async (output, context) => {
|
|
2378
2378
|
const parsedOutput = {
|
|
2379
2379
|
...output,
|
|
2380
2380
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2383,19 +2383,19 @@ const deserializeAws_json1_1UpdateEndpointGroupCommandError = async (output, con
|
|
|
2383
2383
|
switch (errorCode) {
|
|
2384
2384
|
case "AccessDeniedException":
|
|
2385
2385
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
2386
|
-
throw await
|
|
2386
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2387
2387
|
case "EndpointGroupNotFoundException":
|
|
2388
2388
|
case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
|
|
2389
|
-
throw await
|
|
2389
|
+
throw await de_EndpointGroupNotFoundExceptionRes(parsedOutput, context);
|
|
2390
2390
|
case "InternalServiceErrorException":
|
|
2391
2391
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2392
|
-
throw await
|
|
2392
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2393
2393
|
case "InvalidArgumentException":
|
|
2394
2394
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2395
|
-
throw await
|
|
2395
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2396
2396
|
case "LimitExceededException":
|
|
2397
2397
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
2398
|
-
throw await
|
|
2398
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2399
2399
|
default:
|
|
2400
2400
|
const parsedBody = parsedOutput.body;
|
|
2401
2401
|
throwDefaultError({
|
|
@@ -2406,20 +2406,20 @@ const deserializeAws_json1_1UpdateEndpointGroupCommandError = async (output, con
|
|
|
2406
2406
|
});
|
|
2407
2407
|
}
|
|
2408
2408
|
};
|
|
2409
|
-
export const
|
|
2409
|
+
export const de_UpdateListenerCommand = async (output, context) => {
|
|
2410
2410
|
if (output.statusCode >= 300) {
|
|
2411
|
-
return
|
|
2411
|
+
return de_UpdateListenerCommandError(output, context);
|
|
2412
2412
|
}
|
|
2413
2413
|
const data = await parseBody(output.body, context);
|
|
2414
2414
|
let contents = {};
|
|
2415
|
-
contents =
|
|
2415
|
+
contents = de_UpdateListenerResponse(data, context);
|
|
2416
2416
|
const response = {
|
|
2417
2417
|
$metadata: deserializeMetadata(output),
|
|
2418
2418
|
...contents,
|
|
2419
2419
|
};
|
|
2420
2420
|
return Promise.resolve(response);
|
|
2421
2421
|
};
|
|
2422
|
-
const
|
|
2422
|
+
const de_UpdateListenerCommandError = async (output, context) => {
|
|
2423
2423
|
const parsedOutput = {
|
|
2424
2424
|
...output,
|
|
2425
2425
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2428,19 +2428,19 @@ const deserializeAws_json1_1UpdateListenerCommandError = async (output, context)
|
|
|
2428
2428
|
switch (errorCode) {
|
|
2429
2429
|
case "InternalServiceErrorException":
|
|
2430
2430
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2431
|
-
throw await
|
|
2431
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2432
2432
|
case "InvalidArgumentException":
|
|
2433
2433
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2434
|
-
throw await
|
|
2434
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2435
2435
|
case "InvalidPortRangeException":
|
|
2436
2436
|
case "com.amazonaws.globalaccelerator#InvalidPortRangeException":
|
|
2437
|
-
throw await
|
|
2437
|
+
throw await de_InvalidPortRangeExceptionRes(parsedOutput, context);
|
|
2438
2438
|
case "LimitExceededException":
|
|
2439
2439
|
case "com.amazonaws.globalaccelerator#LimitExceededException":
|
|
2440
|
-
throw await
|
|
2440
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2441
2441
|
case "ListenerNotFoundException":
|
|
2442
2442
|
case "com.amazonaws.globalaccelerator#ListenerNotFoundException":
|
|
2443
|
-
throw await
|
|
2443
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2444
2444
|
default:
|
|
2445
2445
|
const parsedBody = parsedOutput.body;
|
|
2446
2446
|
throwDefaultError({
|
|
@@ -2451,20 +2451,20 @@ const deserializeAws_json1_1UpdateListenerCommandError = async (output, context)
|
|
|
2451
2451
|
});
|
|
2452
2452
|
}
|
|
2453
2453
|
};
|
|
2454
|
-
export const
|
|
2454
|
+
export const de_WithdrawByoipCidrCommand = async (output, context) => {
|
|
2455
2455
|
if (output.statusCode >= 300) {
|
|
2456
|
-
return
|
|
2456
|
+
return de_WithdrawByoipCidrCommandError(output, context);
|
|
2457
2457
|
}
|
|
2458
2458
|
const data = await parseBody(output.body, context);
|
|
2459
2459
|
let contents = {};
|
|
2460
|
-
contents =
|
|
2460
|
+
contents = de_WithdrawByoipCidrResponse(data, context);
|
|
2461
2461
|
const response = {
|
|
2462
2462
|
$metadata: deserializeMetadata(output),
|
|
2463
2463
|
...contents,
|
|
2464
2464
|
};
|
|
2465
2465
|
return Promise.resolve(response);
|
|
2466
2466
|
};
|
|
2467
|
-
const
|
|
2467
|
+
const de_WithdrawByoipCidrCommandError = async (output, context) => {
|
|
2468
2468
|
const parsedOutput = {
|
|
2469
2469
|
...output,
|
|
2470
2470
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2473,19 +2473,19 @@ const deserializeAws_json1_1WithdrawByoipCidrCommandError = async (output, conte
|
|
|
2473
2473
|
switch (errorCode) {
|
|
2474
2474
|
case "AccessDeniedException":
|
|
2475
2475
|
case "com.amazonaws.globalaccelerator#AccessDeniedException":
|
|
2476
|
-
throw await
|
|
2476
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2477
2477
|
case "ByoipCidrNotFoundException":
|
|
2478
2478
|
case "com.amazonaws.globalaccelerator#ByoipCidrNotFoundException":
|
|
2479
|
-
throw await
|
|
2479
|
+
throw await de_ByoipCidrNotFoundExceptionRes(parsedOutput, context);
|
|
2480
2480
|
case "IncorrectCidrStateException":
|
|
2481
2481
|
case "com.amazonaws.globalaccelerator#IncorrectCidrStateException":
|
|
2482
|
-
throw await
|
|
2482
|
+
throw await de_IncorrectCidrStateExceptionRes(parsedOutput, context);
|
|
2483
2483
|
case "InternalServiceErrorException":
|
|
2484
2484
|
case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
|
|
2485
|
-
throw await
|
|
2485
|
+
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2486
2486
|
case "InvalidArgumentException":
|
|
2487
2487
|
case "com.amazonaws.globalaccelerator#InvalidArgumentException":
|
|
2488
|
-
throw await
|
|
2488
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2489
2489
|
default:
|
|
2490
2490
|
const parsedBody = parsedOutput.body;
|
|
2491
2491
|
throwDefaultError({
|
|
@@ -2496,258 +2496,256 @@ const deserializeAws_json1_1WithdrawByoipCidrCommandError = async (output, conte
|
|
|
2496
2496
|
});
|
|
2497
2497
|
}
|
|
2498
2498
|
};
|
|
2499
|
-
const
|
|
2499
|
+
const de_AcceleratorNotDisabledExceptionRes = async (parsedOutput, context) => {
|
|
2500
2500
|
const body = parsedOutput.body;
|
|
2501
|
-
const deserialized =
|
|
2501
|
+
const deserialized = de_AcceleratorNotDisabledException(body, context);
|
|
2502
2502
|
const exception = new AcceleratorNotDisabledException({
|
|
2503
2503
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2504
2504
|
...deserialized,
|
|
2505
2505
|
});
|
|
2506
2506
|
return __decorateServiceException(exception, body);
|
|
2507
2507
|
};
|
|
2508
|
-
const
|
|
2508
|
+
const de_AcceleratorNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2509
2509
|
const body = parsedOutput.body;
|
|
2510
|
-
const deserialized =
|
|
2510
|
+
const deserialized = de_AcceleratorNotFoundException(body, context);
|
|
2511
2511
|
const exception = new AcceleratorNotFoundException({
|
|
2512
2512
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2513
2513
|
...deserialized,
|
|
2514
2514
|
});
|
|
2515
2515
|
return __decorateServiceException(exception, body);
|
|
2516
2516
|
};
|
|
2517
|
-
const
|
|
2517
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2518
2518
|
const body = parsedOutput.body;
|
|
2519
|
-
const deserialized =
|
|
2519
|
+
const deserialized = de_AccessDeniedException(body, context);
|
|
2520
2520
|
const exception = new AccessDeniedException({
|
|
2521
2521
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2522
2522
|
...deserialized,
|
|
2523
2523
|
});
|
|
2524
2524
|
return __decorateServiceException(exception, body);
|
|
2525
2525
|
};
|
|
2526
|
-
const
|
|
2526
|
+
const de_AssociatedEndpointGroupFoundExceptionRes = async (parsedOutput, context) => {
|
|
2527
2527
|
const body = parsedOutput.body;
|
|
2528
|
-
const deserialized =
|
|
2528
|
+
const deserialized = de_AssociatedEndpointGroupFoundException(body, context);
|
|
2529
2529
|
const exception = new AssociatedEndpointGroupFoundException({
|
|
2530
2530
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2531
2531
|
...deserialized,
|
|
2532
2532
|
});
|
|
2533
2533
|
return __decorateServiceException(exception, body);
|
|
2534
2534
|
};
|
|
2535
|
-
const
|
|
2535
|
+
const de_AssociatedListenerFoundExceptionRes = async (parsedOutput, context) => {
|
|
2536
2536
|
const body = parsedOutput.body;
|
|
2537
|
-
const deserialized =
|
|
2537
|
+
const deserialized = de_AssociatedListenerFoundException(body, context);
|
|
2538
2538
|
const exception = new AssociatedListenerFoundException({
|
|
2539
2539
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2540
2540
|
...deserialized,
|
|
2541
2541
|
});
|
|
2542
2542
|
return __decorateServiceException(exception, body);
|
|
2543
2543
|
};
|
|
2544
|
-
const
|
|
2544
|
+
const de_ByoipCidrNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2545
2545
|
const body = parsedOutput.body;
|
|
2546
|
-
const deserialized =
|
|
2546
|
+
const deserialized = de_ByoipCidrNotFoundException(body, context);
|
|
2547
2547
|
const exception = new ByoipCidrNotFoundException({
|
|
2548
2548
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2549
2549
|
...deserialized,
|
|
2550
2550
|
});
|
|
2551
2551
|
return __decorateServiceException(exception, body);
|
|
2552
2552
|
};
|
|
2553
|
-
const
|
|
2553
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2554
2554
|
const body = parsedOutput.body;
|
|
2555
|
-
const deserialized =
|
|
2555
|
+
const deserialized = de_ConflictException(body, context);
|
|
2556
2556
|
const exception = new ConflictException({
|
|
2557
2557
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2558
2558
|
...deserialized,
|
|
2559
2559
|
});
|
|
2560
2560
|
return __decorateServiceException(exception, body);
|
|
2561
2561
|
};
|
|
2562
|
-
const
|
|
2562
|
+
const de_EndpointAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2563
2563
|
const body = parsedOutput.body;
|
|
2564
|
-
const deserialized =
|
|
2564
|
+
const deserialized = de_EndpointAlreadyExistsException(body, context);
|
|
2565
2565
|
const exception = new EndpointAlreadyExistsException({
|
|
2566
2566
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2567
2567
|
...deserialized,
|
|
2568
2568
|
});
|
|
2569
2569
|
return __decorateServiceException(exception, body);
|
|
2570
2570
|
};
|
|
2571
|
-
const
|
|
2571
|
+
const de_EndpointGroupAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2572
2572
|
const body = parsedOutput.body;
|
|
2573
|
-
const deserialized =
|
|
2573
|
+
const deserialized = de_EndpointGroupAlreadyExistsException(body, context);
|
|
2574
2574
|
const exception = new EndpointGroupAlreadyExistsException({
|
|
2575
2575
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2576
2576
|
...deserialized,
|
|
2577
2577
|
});
|
|
2578
2578
|
return __decorateServiceException(exception, body);
|
|
2579
2579
|
};
|
|
2580
|
-
const
|
|
2580
|
+
const de_EndpointGroupNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2581
2581
|
const body = parsedOutput.body;
|
|
2582
|
-
const deserialized =
|
|
2582
|
+
const deserialized = de_EndpointGroupNotFoundException(body, context);
|
|
2583
2583
|
const exception = new EndpointGroupNotFoundException({
|
|
2584
2584
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2585
2585
|
...deserialized,
|
|
2586
2586
|
});
|
|
2587
2587
|
return __decorateServiceException(exception, body);
|
|
2588
2588
|
};
|
|
2589
|
-
const
|
|
2589
|
+
const de_EndpointNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2590
2590
|
const body = parsedOutput.body;
|
|
2591
|
-
const deserialized =
|
|
2591
|
+
const deserialized = de_EndpointNotFoundException(body, context);
|
|
2592
2592
|
const exception = new EndpointNotFoundException({
|
|
2593
2593
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2594
2594
|
...deserialized,
|
|
2595
2595
|
});
|
|
2596
2596
|
return __decorateServiceException(exception, body);
|
|
2597
2597
|
};
|
|
2598
|
-
const
|
|
2598
|
+
const de_IncorrectCidrStateExceptionRes = async (parsedOutput, context) => {
|
|
2599
2599
|
const body = parsedOutput.body;
|
|
2600
|
-
const deserialized =
|
|
2600
|
+
const deserialized = de_IncorrectCidrStateException(body, context);
|
|
2601
2601
|
const exception = new IncorrectCidrStateException({
|
|
2602
2602
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2603
2603
|
...deserialized,
|
|
2604
2604
|
});
|
|
2605
2605
|
return __decorateServiceException(exception, body);
|
|
2606
2606
|
};
|
|
2607
|
-
const
|
|
2607
|
+
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
2608
2608
|
const body = parsedOutput.body;
|
|
2609
|
-
const deserialized =
|
|
2609
|
+
const deserialized = de_InternalServiceErrorException(body, context);
|
|
2610
2610
|
const exception = new InternalServiceErrorException({
|
|
2611
2611
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2612
2612
|
...deserialized,
|
|
2613
2613
|
});
|
|
2614
2614
|
return __decorateServiceException(exception, body);
|
|
2615
2615
|
};
|
|
2616
|
-
const
|
|
2616
|
+
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
2617
2617
|
const body = parsedOutput.body;
|
|
2618
|
-
const deserialized =
|
|
2618
|
+
const deserialized = de_InvalidArgumentException(body, context);
|
|
2619
2619
|
const exception = new InvalidArgumentException({
|
|
2620
2620
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2621
2621
|
...deserialized,
|
|
2622
2622
|
});
|
|
2623
2623
|
return __decorateServiceException(exception, body);
|
|
2624
2624
|
};
|
|
2625
|
-
const
|
|
2625
|
+
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
2626
2626
|
const body = parsedOutput.body;
|
|
2627
|
-
const deserialized =
|
|
2627
|
+
const deserialized = de_InvalidNextTokenException(body, context);
|
|
2628
2628
|
const exception = new InvalidNextTokenException({
|
|
2629
2629
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2630
2630
|
...deserialized,
|
|
2631
2631
|
});
|
|
2632
2632
|
return __decorateServiceException(exception, body);
|
|
2633
2633
|
};
|
|
2634
|
-
const
|
|
2634
|
+
const de_InvalidPortRangeExceptionRes = async (parsedOutput, context) => {
|
|
2635
2635
|
const body = parsedOutput.body;
|
|
2636
|
-
const deserialized =
|
|
2636
|
+
const deserialized = de_InvalidPortRangeException(body, context);
|
|
2637
2637
|
const exception = new InvalidPortRangeException({
|
|
2638
2638
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2639
2639
|
...deserialized,
|
|
2640
2640
|
});
|
|
2641
2641
|
return __decorateServiceException(exception, body);
|
|
2642
2642
|
};
|
|
2643
|
-
const
|
|
2643
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2644
2644
|
const body = parsedOutput.body;
|
|
2645
|
-
const deserialized =
|
|
2645
|
+
const deserialized = de_LimitExceededException(body, context);
|
|
2646
2646
|
const exception = new LimitExceededException({
|
|
2647
2647
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2648
2648
|
...deserialized,
|
|
2649
2649
|
});
|
|
2650
2650
|
return __decorateServiceException(exception, body);
|
|
2651
2651
|
};
|
|
2652
|
-
const
|
|
2652
|
+
const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2653
2653
|
const body = parsedOutput.body;
|
|
2654
|
-
const deserialized =
|
|
2654
|
+
const deserialized = de_ListenerNotFoundException(body, context);
|
|
2655
2655
|
const exception = new ListenerNotFoundException({
|
|
2656
2656
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2657
2657
|
...deserialized,
|
|
2658
2658
|
});
|
|
2659
2659
|
return __decorateServiceException(exception, body);
|
|
2660
2660
|
};
|
|
2661
|
-
const
|
|
2661
|
+
const de_TransactionInProgressExceptionRes = async (parsedOutput, context) => {
|
|
2662
2662
|
const body = parsedOutput.body;
|
|
2663
|
-
const deserialized =
|
|
2663
|
+
const deserialized = de_TransactionInProgressException(body, context);
|
|
2664
2664
|
const exception = new TransactionInProgressException({
|
|
2665
2665
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2666
2666
|
...deserialized,
|
|
2667
2667
|
});
|
|
2668
2668
|
return __decorateServiceException(exception, body);
|
|
2669
2669
|
};
|
|
2670
|
-
const
|
|
2670
|
+
const se_AddCustomRoutingEndpointsRequest = (input, context) => {
|
|
2671
2671
|
return {
|
|
2672
2672
|
...(input.EndpointConfigurations != null && {
|
|
2673
|
-
EndpointConfigurations:
|
|
2673
|
+
EndpointConfigurations: se_CustomRoutingEndpointConfigurations(input.EndpointConfigurations, context),
|
|
2674
2674
|
}),
|
|
2675
2675
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2676
2676
|
};
|
|
2677
2677
|
};
|
|
2678
|
-
const
|
|
2678
|
+
const se_AddEndpointsRequest = (input, context) => {
|
|
2679
2679
|
return {
|
|
2680
2680
|
...(input.EndpointConfigurations != null && {
|
|
2681
|
-
EndpointConfigurations:
|
|
2681
|
+
EndpointConfigurations: se_EndpointConfigurations(input.EndpointConfigurations, context),
|
|
2682
2682
|
}),
|
|
2683
2683
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2684
2684
|
};
|
|
2685
2685
|
};
|
|
2686
|
-
const
|
|
2686
|
+
const se_AdvertiseByoipCidrRequest = (input, context) => {
|
|
2687
2687
|
return {
|
|
2688
2688
|
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
2689
2689
|
};
|
|
2690
2690
|
};
|
|
2691
|
-
const
|
|
2691
|
+
const se_AllowCustomRoutingTrafficRequest = (input, context) => {
|
|
2692
2692
|
return {
|
|
2693
2693
|
...(input.AllowAllTrafficToEndpoint != null && { AllowAllTrafficToEndpoint: input.AllowAllTrafficToEndpoint }),
|
|
2694
2694
|
...(input.DestinationAddresses != null && {
|
|
2695
|
-
DestinationAddresses:
|
|
2696
|
-
}),
|
|
2697
|
-
...(input.DestinationPorts != null && {
|
|
2698
|
-
DestinationPorts: serializeAws_json1_1DestinationPorts(input.DestinationPorts, context),
|
|
2695
|
+
DestinationAddresses: se_DestinationAddresses(input.DestinationAddresses, context),
|
|
2699
2696
|
}),
|
|
2697
|
+
...(input.DestinationPorts != null && { DestinationPorts: se_DestinationPorts(input.DestinationPorts, context) }),
|
|
2700
2698
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2701
2699
|
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2702
2700
|
};
|
|
2703
2701
|
};
|
|
2704
|
-
const
|
|
2702
|
+
const se_CidrAuthorizationContext = (input, context) => {
|
|
2705
2703
|
return {
|
|
2706
2704
|
...(input.Message != null && { Message: input.Message }),
|
|
2707
2705
|
...(input.Signature != null && { Signature: input.Signature }),
|
|
2708
2706
|
};
|
|
2709
2707
|
};
|
|
2710
|
-
const
|
|
2708
|
+
const se_CreateAcceleratorRequest = (input, context) => {
|
|
2711
2709
|
return {
|
|
2712
2710
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
2713
2711
|
IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
|
|
2714
2712
|
...(input.IpAddressType != null && { IpAddressType: input.IpAddressType }),
|
|
2715
|
-
...(input.IpAddresses != null && { IpAddresses:
|
|
2713
|
+
...(input.IpAddresses != null && { IpAddresses: se_IpAddresses(input.IpAddresses, context) }),
|
|
2716
2714
|
...(input.Name != null && { Name: input.Name }),
|
|
2717
|
-
...(input.Tags != null && { Tags:
|
|
2715
|
+
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2718
2716
|
};
|
|
2719
2717
|
};
|
|
2720
|
-
const
|
|
2718
|
+
const se_CreateCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2721
2719
|
return {
|
|
2722
2720
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
2723
2721
|
IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
|
|
2724
2722
|
...(input.IpAddressType != null && { IpAddressType: input.IpAddressType }),
|
|
2725
|
-
...(input.IpAddresses != null && { IpAddresses:
|
|
2723
|
+
...(input.IpAddresses != null && { IpAddresses: se_IpAddresses(input.IpAddresses, context) }),
|
|
2726
2724
|
...(input.Name != null && { Name: input.Name }),
|
|
2727
|
-
...(input.Tags != null && { Tags:
|
|
2725
|
+
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2728
2726
|
};
|
|
2729
2727
|
};
|
|
2730
|
-
const
|
|
2728
|
+
const se_CreateCustomRoutingEndpointGroupRequest = (input, context) => {
|
|
2731
2729
|
return {
|
|
2732
2730
|
...(input.DestinationConfigurations != null && {
|
|
2733
|
-
DestinationConfigurations:
|
|
2731
|
+
DestinationConfigurations: se_CustomRoutingDestinationConfigurations(input.DestinationConfigurations, context),
|
|
2734
2732
|
}),
|
|
2735
2733
|
...(input.EndpointGroupRegion != null && { EndpointGroupRegion: input.EndpointGroupRegion }),
|
|
2736
2734
|
IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
|
|
2737
2735
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2738
2736
|
};
|
|
2739
2737
|
};
|
|
2740
|
-
const
|
|
2738
|
+
const se_CreateCustomRoutingListenerRequest = (input, context) => {
|
|
2741
2739
|
return {
|
|
2742
2740
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2743
2741
|
IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
|
|
2744
|
-
...(input.PortRanges != null && { PortRanges:
|
|
2742
|
+
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
2745
2743
|
};
|
|
2746
2744
|
};
|
|
2747
|
-
const
|
|
2745
|
+
const se_CreateEndpointGroupRequest = (input, context) => {
|
|
2748
2746
|
return {
|
|
2749
2747
|
...(input.EndpointConfigurations != null && {
|
|
2750
|
-
EndpointConfigurations:
|
|
2748
|
+
EndpointConfigurations: se_EndpointConfigurations(input.EndpointConfigurations, context),
|
|
2751
2749
|
}),
|
|
2752
2750
|
...(input.EndpointGroupRegion != null && { EndpointGroupRegion: input.EndpointGroupRegion }),
|
|
2753
2751
|
...(input.HealthCheckIntervalSeconds != null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds }),
|
|
@@ -2756,160 +2754,156 @@ const serializeAws_json1_1CreateEndpointGroupRequest = (input, context) => {
|
|
|
2756
2754
|
...(input.HealthCheckProtocol != null && { HealthCheckProtocol: input.HealthCheckProtocol }),
|
|
2757
2755
|
IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
|
|
2758
2756
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2759
|
-
...(input.PortOverrides != null && {
|
|
2760
|
-
PortOverrides: serializeAws_json1_1PortOverrides(input.PortOverrides, context),
|
|
2761
|
-
}),
|
|
2757
|
+
...(input.PortOverrides != null && { PortOverrides: se_PortOverrides(input.PortOverrides, context) }),
|
|
2762
2758
|
...(input.ThresholdCount != null && { ThresholdCount: input.ThresholdCount }),
|
|
2763
2759
|
...(input.TrafficDialPercentage != null && {
|
|
2764
2760
|
TrafficDialPercentage: __serializeFloat(input.TrafficDialPercentage),
|
|
2765
2761
|
}),
|
|
2766
2762
|
};
|
|
2767
2763
|
};
|
|
2768
|
-
const
|
|
2764
|
+
const se_CreateListenerRequest = (input, context) => {
|
|
2769
2765
|
return {
|
|
2770
2766
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2771
2767
|
...(input.ClientAffinity != null && { ClientAffinity: input.ClientAffinity }),
|
|
2772
2768
|
IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
|
|
2773
|
-
...(input.PortRanges != null && { PortRanges:
|
|
2769
|
+
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
2774
2770
|
...(input.Protocol != null && { Protocol: input.Protocol }),
|
|
2775
2771
|
};
|
|
2776
2772
|
};
|
|
2777
|
-
const
|
|
2773
|
+
const se_CustomRoutingDestinationConfiguration = (input, context) => {
|
|
2778
2774
|
return {
|
|
2779
2775
|
...(input.FromPort != null && { FromPort: input.FromPort }),
|
|
2780
|
-
...(input.Protocols != null && { Protocols:
|
|
2776
|
+
...(input.Protocols != null && { Protocols: se_CustomRoutingProtocols(input.Protocols, context) }),
|
|
2781
2777
|
...(input.ToPort != null && { ToPort: input.ToPort }),
|
|
2782
2778
|
};
|
|
2783
2779
|
};
|
|
2784
|
-
const
|
|
2780
|
+
const se_CustomRoutingDestinationConfigurations = (input, context) => {
|
|
2785
2781
|
return input
|
|
2786
2782
|
.filter((e) => e != null)
|
|
2787
2783
|
.map((entry) => {
|
|
2788
|
-
return
|
|
2784
|
+
return se_CustomRoutingDestinationConfiguration(entry, context);
|
|
2789
2785
|
});
|
|
2790
2786
|
};
|
|
2791
|
-
const
|
|
2787
|
+
const se_CustomRoutingEndpointConfiguration = (input, context) => {
|
|
2792
2788
|
return {
|
|
2793
2789
|
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2794
2790
|
};
|
|
2795
2791
|
};
|
|
2796
|
-
const
|
|
2792
|
+
const se_CustomRoutingEndpointConfigurations = (input, context) => {
|
|
2797
2793
|
return input
|
|
2798
2794
|
.filter((e) => e != null)
|
|
2799
2795
|
.map((entry) => {
|
|
2800
|
-
return
|
|
2796
|
+
return se_CustomRoutingEndpointConfiguration(entry, context);
|
|
2801
2797
|
});
|
|
2802
2798
|
};
|
|
2803
|
-
const
|
|
2799
|
+
const se_CustomRoutingProtocols = (input, context) => {
|
|
2804
2800
|
return input
|
|
2805
2801
|
.filter((e) => e != null)
|
|
2806
2802
|
.map((entry) => {
|
|
2807
2803
|
return entry;
|
|
2808
2804
|
});
|
|
2809
2805
|
};
|
|
2810
|
-
const
|
|
2806
|
+
const se_DeleteAcceleratorRequest = (input, context) => {
|
|
2811
2807
|
return {
|
|
2812
2808
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2813
2809
|
};
|
|
2814
2810
|
};
|
|
2815
|
-
const
|
|
2811
|
+
const se_DeleteCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2816
2812
|
return {
|
|
2817
2813
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2818
2814
|
};
|
|
2819
2815
|
};
|
|
2820
|
-
const
|
|
2816
|
+
const se_DeleteCustomRoutingEndpointGroupRequest = (input, context) => {
|
|
2821
2817
|
return {
|
|
2822
2818
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2823
2819
|
};
|
|
2824
2820
|
};
|
|
2825
|
-
const
|
|
2821
|
+
const se_DeleteCustomRoutingListenerRequest = (input, context) => {
|
|
2826
2822
|
return {
|
|
2827
2823
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2828
2824
|
};
|
|
2829
2825
|
};
|
|
2830
|
-
const
|
|
2826
|
+
const se_DeleteEndpointGroupRequest = (input, context) => {
|
|
2831
2827
|
return {
|
|
2832
2828
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2833
2829
|
};
|
|
2834
2830
|
};
|
|
2835
|
-
const
|
|
2831
|
+
const se_DeleteListenerRequest = (input, context) => {
|
|
2836
2832
|
return {
|
|
2837
2833
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2838
2834
|
};
|
|
2839
2835
|
};
|
|
2840
|
-
const
|
|
2836
|
+
const se_DenyCustomRoutingTrafficRequest = (input, context) => {
|
|
2841
2837
|
return {
|
|
2842
2838
|
...(input.DenyAllTrafficToEndpoint != null && { DenyAllTrafficToEndpoint: input.DenyAllTrafficToEndpoint }),
|
|
2843
2839
|
...(input.DestinationAddresses != null && {
|
|
2844
|
-
DestinationAddresses:
|
|
2845
|
-
}),
|
|
2846
|
-
...(input.DestinationPorts != null && {
|
|
2847
|
-
DestinationPorts: serializeAws_json1_1DestinationPorts(input.DestinationPorts, context),
|
|
2840
|
+
DestinationAddresses: se_DestinationAddresses(input.DestinationAddresses, context),
|
|
2848
2841
|
}),
|
|
2842
|
+
...(input.DestinationPorts != null && { DestinationPorts: se_DestinationPorts(input.DestinationPorts, context) }),
|
|
2849
2843
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2850
2844
|
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2851
2845
|
};
|
|
2852
2846
|
};
|
|
2853
|
-
const
|
|
2847
|
+
const se_DeprovisionByoipCidrRequest = (input, context) => {
|
|
2854
2848
|
return {
|
|
2855
2849
|
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
2856
2850
|
};
|
|
2857
2851
|
};
|
|
2858
|
-
const
|
|
2852
|
+
const se_DescribeAcceleratorAttributesRequest = (input, context) => {
|
|
2859
2853
|
return {
|
|
2860
2854
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2861
2855
|
};
|
|
2862
2856
|
};
|
|
2863
|
-
const
|
|
2857
|
+
const se_DescribeAcceleratorRequest = (input, context) => {
|
|
2864
2858
|
return {
|
|
2865
2859
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2866
2860
|
};
|
|
2867
2861
|
};
|
|
2868
|
-
const
|
|
2862
|
+
const se_DescribeCustomRoutingAcceleratorAttributesRequest = (input, context) => {
|
|
2869
2863
|
return {
|
|
2870
2864
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2871
2865
|
};
|
|
2872
2866
|
};
|
|
2873
|
-
const
|
|
2867
|
+
const se_DescribeCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2874
2868
|
return {
|
|
2875
2869
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2876
2870
|
};
|
|
2877
2871
|
};
|
|
2878
|
-
const
|
|
2872
|
+
const se_DescribeCustomRoutingEndpointGroupRequest = (input, context) => {
|
|
2879
2873
|
return {
|
|
2880
2874
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2881
2875
|
};
|
|
2882
2876
|
};
|
|
2883
|
-
const
|
|
2877
|
+
const se_DescribeCustomRoutingListenerRequest = (input, context) => {
|
|
2884
2878
|
return {
|
|
2885
2879
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2886
2880
|
};
|
|
2887
2881
|
};
|
|
2888
|
-
const
|
|
2882
|
+
const se_DescribeEndpointGroupRequest = (input, context) => {
|
|
2889
2883
|
return {
|
|
2890
2884
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2891
2885
|
};
|
|
2892
2886
|
};
|
|
2893
|
-
const
|
|
2887
|
+
const se_DescribeListenerRequest = (input, context) => {
|
|
2894
2888
|
return {
|
|
2895
2889
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2896
2890
|
};
|
|
2897
2891
|
};
|
|
2898
|
-
const
|
|
2892
|
+
const se_DestinationAddresses = (input, context) => {
|
|
2899
2893
|
return input
|
|
2900
2894
|
.filter((e) => e != null)
|
|
2901
2895
|
.map((entry) => {
|
|
2902
2896
|
return entry;
|
|
2903
2897
|
});
|
|
2904
2898
|
};
|
|
2905
|
-
const
|
|
2899
|
+
const se_DestinationPorts = (input, context) => {
|
|
2906
2900
|
return input
|
|
2907
2901
|
.filter((e) => e != null)
|
|
2908
2902
|
.map((entry) => {
|
|
2909
2903
|
return entry;
|
|
2910
2904
|
});
|
|
2911
2905
|
};
|
|
2912
|
-
const
|
|
2906
|
+
const se_EndpointConfiguration = (input, context) => {
|
|
2913
2907
|
return {
|
|
2914
2908
|
...(input.ClientIPPreservationEnabled != null && {
|
|
2915
2909
|
ClientIPPreservationEnabled: input.ClientIPPreservationEnabled,
|
|
@@ -2918,14 +2912,14 @@ const serializeAws_json1_1EndpointConfiguration = (input, context) => {
|
|
|
2918
2912
|
...(input.Weight != null && { Weight: input.Weight }),
|
|
2919
2913
|
};
|
|
2920
2914
|
};
|
|
2921
|
-
const
|
|
2915
|
+
const se_EndpointConfigurations = (input, context) => {
|
|
2922
2916
|
return input
|
|
2923
2917
|
.filter((e) => e != null)
|
|
2924
2918
|
.map((entry) => {
|
|
2925
|
-
return
|
|
2919
|
+
return se_EndpointConfiguration(entry, context);
|
|
2926
2920
|
});
|
|
2927
2921
|
};
|
|
2928
|
-
const
|
|
2922
|
+
const se_EndpointIdentifier = (input, context) => {
|
|
2929
2923
|
return {
|
|
2930
2924
|
...(input.ClientIPPreservationEnabled != null && {
|
|
2931
2925
|
ClientIPPreservationEnabled: input.ClientIPPreservationEnabled,
|
|
@@ -2933,60 +2927,60 @@ const serializeAws_json1_1EndpointIdentifier = (input, context) => {
|
|
|
2933
2927
|
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2934
2928
|
};
|
|
2935
2929
|
};
|
|
2936
|
-
const
|
|
2930
|
+
const se_EndpointIdentifiers = (input, context) => {
|
|
2937
2931
|
return input
|
|
2938
2932
|
.filter((e) => e != null)
|
|
2939
2933
|
.map((entry) => {
|
|
2940
|
-
return
|
|
2934
|
+
return se_EndpointIdentifier(entry, context);
|
|
2941
2935
|
});
|
|
2942
2936
|
};
|
|
2943
|
-
const
|
|
2937
|
+
const se_EndpointIds = (input, context) => {
|
|
2944
2938
|
return input
|
|
2945
2939
|
.filter((e) => e != null)
|
|
2946
2940
|
.map((entry) => {
|
|
2947
2941
|
return entry;
|
|
2948
2942
|
});
|
|
2949
2943
|
};
|
|
2950
|
-
const
|
|
2944
|
+
const se_IpAddresses = (input, context) => {
|
|
2951
2945
|
return input
|
|
2952
2946
|
.filter((e) => e != null)
|
|
2953
2947
|
.map((entry) => {
|
|
2954
2948
|
return entry;
|
|
2955
2949
|
});
|
|
2956
2950
|
};
|
|
2957
|
-
const
|
|
2951
|
+
const se_ListAcceleratorsRequest = (input, context) => {
|
|
2958
2952
|
return {
|
|
2959
2953
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2960
2954
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2961
2955
|
};
|
|
2962
2956
|
};
|
|
2963
|
-
const
|
|
2957
|
+
const se_ListByoipCidrsRequest = (input, context) => {
|
|
2964
2958
|
return {
|
|
2965
2959
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2966
2960
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2967
2961
|
};
|
|
2968
2962
|
};
|
|
2969
|
-
const
|
|
2963
|
+
const se_ListCustomRoutingAcceleratorsRequest = (input, context) => {
|
|
2970
2964
|
return {
|
|
2971
2965
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2972
2966
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2973
2967
|
};
|
|
2974
2968
|
};
|
|
2975
|
-
const
|
|
2969
|
+
const se_ListCustomRoutingEndpointGroupsRequest = (input, context) => {
|
|
2976
2970
|
return {
|
|
2977
2971
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2978
2972
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2979
2973
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2980
2974
|
};
|
|
2981
2975
|
};
|
|
2982
|
-
const
|
|
2976
|
+
const se_ListCustomRoutingListenersRequest = (input, context) => {
|
|
2983
2977
|
return {
|
|
2984
2978
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2985
2979
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2986
2980
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2987
2981
|
};
|
|
2988
2982
|
};
|
|
2989
|
-
const
|
|
2983
|
+
const se_ListCustomRoutingPortMappingsByDestinationRequest = (input, context) => {
|
|
2990
2984
|
return {
|
|
2991
2985
|
...(input.DestinationAddress != null && { DestinationAddress: input.DestinationAddress }),
|
|
2992
2986
|
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
@@ -2994,7 +2988,7 @@ const serializeAws_json1_1ListCustomRoutingPortMappingsByDestinationRequest = (i
|
|
|
2994
2988
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2995
2989
|
};
|
|
2996
2990
|
};
|
|
2997
|
-
const
|
|
2991
|
+
const se_ListCustomRoutingPortMappingsRequest = (input, context) => {
|
|
2998
2992
|
return {
|
|
2999
2993
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3000
2994
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
@@ -3002,106 +2996,106 @@ const serializeAws_json1_1ListCustomRoutingPortMappingsRequest = (input, context
|
|
|
3002
2996
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3003
2997
|
};
|
|
3004
2998
|
};
|
|
3005
|
-
const
|
|
2999
|
+
const se_ListEndpointGroupsRequest = (input, context) => {
|
|
3006
3000
|
return {
|
|
3007
3001
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
3008
3002
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3009
3003
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3010
3004
|
};
|
|
3011
3005
|
};
|
|
3012
|
-
const
|
|
3006
|
+
const se_ListListenersRequest = (input, context) => {
|
|
3013
3007
|
return {
|
|
3014
3008
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3015
3009
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3016
3010
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3017
3011
|
};
|
|
3018
3012
|
};
|
|
3019
|
-
const
|
|
3013
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3020
3014
|
return {
|
|
3021
3015
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3022
3016
|
};
|
|
3023
3017
|
};
|
|
3024
|
-
const
|
|
3018
|
+
const se_PortOverride = (input, context) => {
|
|
3025
3019
|
return {
|
|
3026
3020
|
...(input.EndpointPort != null && { EndpointPort: input.EndpointPort }),
|
|
3027
3021
|
...(input.ListenerPort != null && { ListenerPort: input.ListenerPort }),
|
|
3028
3022
|
};
|
|
3029
3023
|
};
|
|
3030
|
-
const
|
|
3024
|
+
const se_PortOverrides = (input, context) => {
|
|
3031
3025
|
return input
|
|
3032
3026
|
.filter((e) => e != null)
|
|
3033
3027
|
.map((entry) => {
|
|
3034
|
-
return
|
|
3028
|
+
return se_PortOverride(entry, context);
|
|
3035
3029
|
});
|
|
3036
3030
|
};
|
|
3037
|
-
const
|
|
3031
|
+
const se_PortRange = (input, context) => {
|
|
3038
3032
|
return {
|
|
3039
3033
|
...(input.FromPort != null && { FromPort: input.FromPort }),
|
|
3040
3034
|
...(input.ToPort != null && { ToPort: input.ToPort }),
|
|
3041
3035
|
};
|
|
3042
3036
|
};
|
|
3043
|
-
const
|
|
3037
|
+
const se_PortRanges = (input, context) => {
|
|
3044
3038
|
return input
|
|
3045
3039
|
.filter((e) => e != null)
|
|
3046
3040
|
.map((entry) => {
|
|
3047
|
-
return
|
|
3041
|
+
return se_PortRange(entry, context);
|
|
3048
3042
|
});
|
|
3049
3043
|
};
|
|
3050
|
-
const
|
|
3044
|
+
const se_ProvisionByoipCidrRequest = (input, context) => {
|
|
3051
3045
|
return {
|
|
3052
3046
|
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
3053
3047
|
...(input.CidrAuthorizationContext != null && {
|
|
3054
|
-
CidrAuthorizationContext:
|
|
3048
|
+
CidrAuthorizationContext: se_CidrAuthorizationContext(input.CidrAuthorizationContext, context),
|
|
3055
3049
|
}),
|
|
3056
3050
|
};
|
|
3057
3051
|
};
|
|
3058
|
-
const
|
|
3052
|
+
const se_RemoveCustomRoutingEndpointsRequest = (input, context) => {
|
|
3059
3053
|
return {
|
|
3060
3054
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3061
|
-
...(input.EndpointIds != null && { EndpointIds:
|
|
3055
|
+
...(input.EndpointIds != null && { EndpointIds: se_EndpointIds(input.EndpointIds, context) }),
|
|
3062
3056
|
};
|
|
3063
3057
|
};
|
|
3064
|
-
const
|
|
3058
|
+
const se_RemoveEndpointsRequest = (input, context) => {
|
|
3065
3059
|
return {
|
|
3066
3060
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3067
3061
|
...(input.EndpointIdentifiers != null && {
|
|
3068
|
-
EndpointIdentifiers:
|
|
3062
|
+
EndpointIdentifiers: se_EndpointIdentifiers(input.EndpointIdentifiers, context),
|
|
3069
3063
|
}),
|
|
3070
3064
|
};
|
|
3071
3065
|
};
|
|
3072
|
-
const
|
|
3066
|
+
const se_Tag = (input, context) => {
|
|
3073
3067
|
return {
|
|
3074
3068
|
...(input.Key != null && { Key: input.Key }),
|
|
3075
3069
|
...(input.Value != null && { Value: input.Value }),
|
|
3076
3070
|
};
|
|
3077
3071
|
};
|
|
3078
|
-
const
|
|
3072
|
+
const se_TagKeys = (input, context) => {
|
|
3079
3073
|
return input
|
|
3080
3074
|
.filter((e) => e != null)
|
|
3081
3075
|
.map((entry) => {
|
|
3082
3076
|
return entry;
|
|
3083
3077
|
});
|
|
3084
3078
|
};
|
|
3085
|
-
const
|
|
3079
|
+
const se_TagResourceRequest = (input, context) => {
|
|
3086
3080
|
return {
|
|
3087
3081
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3088
|
-
...(input.Tags != null && { Tags:
|
|
3082
|
+
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3089
3083
|
};
|
|
3090
3084
|
};
|
|
3091
|
-
const
|
|
3085
|
+
const se_Tags = (input, context) => {
|
|
3092
3086
|
return input
|
|
3093
3087
|
.filter((e) => e != null)
|
|
3094
3088
|
.map((entry) => {
|
|
3095
|
-
return
|
|
3089
|
+
return se_Tag(entry, context);
|
|
3096
3090
|
});
|
|
3097
3091
|
};
|
|
3098
|
-
const
|
|
3092
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
3099
3093
|
return {
|
|
3100
3094
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3101
|
-
...(input.TagKeys != null && { TagKeys:
|
|
3095
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
3102
3096
|
};
|
|
3103
3097
|
};
|
|
3104
|
-
const
|
|
3098
|
+
const se_UpdateAcceleratorAttributesRequest = (input, context) => {
|
|
3105
3099
|
return {
|
|
3106
3100
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3107
3101
|
...(input.FlowLogsEnabled != null && { FlowLogsEnabled: input.FlowLogsEnabled }),
|
|
@@ -3109,7 +3103,7 @@ const serializeAws_json1_1UpdateAcceleratorAttributesRequest = (input, context)
|
|
|
3109
3103
|
...(input.FlowLogsS3Prefix != null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }),
|
|
3110
3104
|
};
|
|
3111
3105
|
};
|
|
3112
|
-
const
|
|
3106
|
+
const se_UpdateAcceleratorRequest = (input, context) => {
|
|
3113
3107
|
return {
|
|
3114
3108
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3115
3109
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
@@ -3117,7 +3111,7 @@ const serializeAws_json1_1UpdateAcceleratorRequest = (input, context) => {
|
|
|
3117
3111
|
...(input.Name != null && { Name: input.Name }),
|
|
3118
3112
|
};
|
|
3119
3113
|
};
|
|
3120
|
-
const
|
|
3114
|
+
const se_UpdateCustomRoutingAcceleratorAttributesRequest = (input, context) => {
|
|
3121
3115
|
return {
|
|
3122
3116
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3123
3117
|
...(input.FlowLogsEnabled != null && { FlowLogsEnabled: input.FlowLogsEnabled }),
|
|
@@ -3125,7 +3119,7 @@ const serializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesRequest = (inp
|
|
|
3125
3119
|
...(input.FlowLogsS3Prefix != null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }),
|
|
3126
3120
|
};
|
|
3127
3121
|
};
|
|
3128
|
-
const
|
|
3122
|
+
const se_UpdateCustomRoutingAcceleratorRequest = (input, context) => {
|
|
3129
3123
|
return {
|
|
3130
3124
|
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3131
3125
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
@@ -3133,45 +3127,43 @@ const serializeAws_json1_1UpdateCustomRoutingAcceleratorRequest = (input, contex
|
|
|
3133
3127
|
...(input.Name != null && { Name: input.Name }),
|
|
3134
3128
|
};
|
|
3135
3129
|
};
|
|
3136
|
-
const
|
|
3130
|
+
const se_UpdateCustomRoutingListenerRequest = (input, context) => {
|
|
3137
3131
|
return {
|
|
3138
3132
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
3139
|
-
...(input.PortRanges != null && { PortRanges:
|
|
3133
|
+
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
3140
3134
|
};
|
|
3141
3135
|
};
|
|
3142
|
-
const
|
|
3136
|
+
const se_UpdateEndpointGroupRequest = (input, context) => {
|
|
3143
3137
|
return {
|
|
3144
3138
|
...(input.EndpointConfigurations != null && {
|
|
3145
|
-
EndpointConfigurations:
|
|
3139
|
+
EndpointConfigurations: se_EndpointConfigurations(input.EndpointConfigurations, context),
|
|
3146
3140
|
}),
|
|
3147
3141
|
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3148
3142
|
...(input.HealthCheckIntervalSeconds != null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds }),
|
|
3149
3143
|
...(input.HealthCheckPath != null && { HealthCheckPath: input.HealthCheckPath }),
|
|
3150
3144
|
...(input.HealthCheckPort != null && { HealthCheckPort: input.HealthCheckPort }),
|
|
3151
3145
|
...(input.HealthCheckProtocol != null && { HealthCheckProtocol: input.HealthCheckProtocol }),
|
|
3152
|
-
...(input.PortOverrides != null && {
|
|
3153
|
-
PortOverrides: serializeAws_json1_1PortOverrides(input.PortOverrides, context),
|
|
3154
|
-
}),
|
|
3146
|
+
...(input.PortOverrides != null && { PortOverrides: se_PortOverrides(input.PortOverrides, context) }),
|
|
3155
3147
|
...(input.ThresholdCount != null && { ThresholdCount: input.ThresholdCount }),
|
|
3156
3148
|
...(input.TrafficDialPercentage != null && {
|
|
3157
3149
|
TrafficDialPercentage: __serializeFloat(input.TrafficDialPercentage),
|
|
3158
3150
|
}),
|
|
3159
3151
|
};
|
|
3160
3152
|
};
|
|
3161
|
-
const
|
|
3153
|
+
const se_UpdateListenerRequest = (input, context) => {
|
|
3162
3154
|
return {
|
|
3163
3155
|
...(input.ClientAffinity != null && { ClientAffinity: input.ClientAffinity }),
|
|
3164
3156
|
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
3165
|
-
...(input.PortRanges != null && { PortRanges:
|
|
3157
|
+
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
3166
3158
|
...(input.Protocol != null && { Protocol: input.Protocol }),
|
|
3167
3159
|
};
|
|
3168
3160
|
};
|
|
3169
|
-
const
|
|
3161
|
+
const se_WithdrawByoipCidrRequest = (input, context) => {
|
|
3170
3162
|
return {
|
|
3171
3163
|
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
3172
3164
|
};
|
|
3173
3165
|
};
|
|
3174
|
-
const
|
|
3166
|
+
const de_Accelerator = (output, context) => {
|
|
3175
3167
|
return {
|
|
3176
3168
|
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
3177
3169
|
CreatedTime: output.CreatedTime != null
|
|
@@ -3180,9 +3172,9 @@ const deserializeAws_json1_1Accelerator = (output, context) => {
|
|
|
3180
3172
|
DnsName: __expectString(output.DnsName),
|
|
3181
3173
|
DualStackDnsName: __expectString(output.DualStackDnsName),
|
|
3182
3174
|
Enabled: __expectBoolean(output.Enabled),
|
|
3183
|
-
Events: output.Events != null ?
|
|
3175
|
+
Events: output.Events != null ? de_AcceleratorEvents(output.Events, context) : undefined,
|
|
3184
3176
|
IpAddressType: __expectString(output.IpAddressType),
|
|
3185
|
-
IpSets: output.IpSets != null ?
|
|
3177
|
+
IpSets: output.IpSets != null ? de_IpSets(output.IpSets, context) : undefined,
|
|
3186
3178
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3187
3179
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3188
3180
|
: undefined,
|
|
@@ -3190,167 +3182,161 @@ const deserializeAws_json1_1Accelerator = (output, context) => {
|
|
|
3190
3182
|
Status: __expectString(output.Status),
|
|
3191
3183
|
};
|
|
3192
3184
|
};
|
|
3193
|
-
const
|
|
3185
|
+
const de_AcceleratorAttributes = (output, context) => {
|
|
3194
3186
|
return {
|
|
3195
3187
|
FlowLogsEnabled: __expectBoolean(output.FlowLogsEnabled),
|
|
3196
3188
|
FlowLogsS3Bucket: __expectString(output.FlowLogsS3Bucket),
|
|
3197
3189
|
FlowLogsS3Prefix: __expectString(output.FlowLogsS3Prefix),
|
|
3198
3190
|
};
|
|
3199
3191
|
};
|
|
3200
|
-
const
|
|
3192
|
+
const de_AcceleratorEvent = (output, context) => {
|
|
3201
3193
|
return {
|
|
3202
3194
|
Message: __expectString(output.Message),
|
|
3203
3195
|
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
3204
3196
|
};
|
|
3205
3197
|
};
|
|
3206
|
-
const
|
|
3198
|
+
const de_AcceleratorEvents = (output, context) => {
|
|
3207
3199
|
const retVal = (output || [])
|
|
3208
3200
|
.filter((e) => e != null)
|
|
3209
3201
|
.map((entry) => {
|
|
3210
3202
|
if (entry === null) {
|
|
3211
3203
|
return null;
|
|
3212
3204
|
}
|
|
3213
|
-
return
|
|
3205
|
+
return de_AcceleratorEvent(entry, context);
|
|
3214
3206
|
});
|
|
3215
3207
|
return retVal;
|
|
3216
3208
|
};
|
|
3217
|
-
const
|
|
3209
|
+
const de_AcceleratorNotDisabledException = (output, context) => {
|
|
3218
3210
|
return {
|
|
3219
3211
|
Message: __expectString(output.Message),
|
|
3220
3212
|
};
|
|
3221
3213
|
};
|
|
3222
|
-
const
|
|
3214
|
+
const de_AcceleratorNotFoundException = (output, context) => {
|
|
3223
3215
|
return {
|
|
3224
3216
|
Message: __expectString(output.Message),
|
|
3225
3217
|
};
|
|
3226
3218
|
};
|
|
3227
|
-
const
|
|
3219
|
+
const de_Accelerators = (output, context) => {
|
|
3228
3220
|
const retVal = (output || [])
|
|
3229
3221
|
.filter((e) => e != null)
|
|
3230
3222
|
.map((entry) => {
|
|
3231
3223
|
if (entry === null) {
|
|
3232
3224
|
return null;
|
|
3233
3225
|
}
|
|
3234
|
-
return
|
|
3226
|
+
return de_Accelerator(entry, context);
|
|
3235
3227
|
});
|
|
3236
3228
|
return retVal;
|
|
3237
3229
|
};
|
|
3238
|
-
const
|
|
3230
|
+
const de_AccessDeniedException = (output, context) => {
|
|
3239
3231
|
return {
|
|
3240
3232
|
Message: __expectString(output.Message),
|
|
3241
3233
|
};
|
|
3242
3234
|
};
|
|
3243
|
-
const
|
|
3235
|
+
const de_AddCustomRoutingEndpointsResponse = (output, context) => {
|
|
3244
3236
|
return {
|
|
3245
3237
|
EndpointDescriptions: output.EndpointDescriptions != null
|
|
3246
|
-
?
|
|
3238
|
+
? de_CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
|
|
3247
3239
|
: undefined,
|
|
3248
3240
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3249
3241
|
};
|
|
3250
3242
|
};
|
|
3251
|
-
const
|
|
3243
|
+
const de_AddEndpointsResponse = (output, context) => {
|
|
3252
3244
|
return {
|
|
3253
|
-
EndpointDescriptions: output.EndpointDescriptions != null
|
|
3254
|
-
? deserializeAws_json1_1EndpointDescriptions(output.EndpointDescriptions, context)
|
|
3255
|
-
: undefined,
|
|
3245
|
+
EndpointDescriptions: output.EndpointDescriptions != null ? de_EndpointDescriptions(output.EndpointDescriptions, context) : undefined,
|
|
3256
3246
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3257
3247
|
};
|
|
3258
3248
|
};
|
|
3259
|
-
const
|
|
3249
|
+
const de_AdvertiseByoipCidrResponse = (output, context) => {
|
|
3260
3250
|
return {
|
|
3261
|
-
ByoipCidr: output.ByoipCidr != null ?
|
|
3251
|
+
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3262
3252
|
};
|
|
3263
3253
|
};
|
|
3264
|
-
const
|
|
3254
|
+
const de_AssociatedEndpointGroupFoundException = (output, context) => {
|
|
3265
3255
|
return {
|
|
3266
3256
|
Message: __expectString(output.Message),
|
|
3267
3257
|
};
|
|
3268
3258
|
};
|
|
3269
|
-
const
|
|
3259
|
+
const de_AssociatedListenerFoundException = (output, context) => {
|
|
3270
3260
|
return {
|
|
3271
3261
|
Message: __expectString(output.Message),
|
|
3272
3262
|
};
|
|
3273
3263
|
};
|
|
3274
|
-
const
|
|
3264
|
+
const de_ByoipCidr = (output, context) => {
|
|
3275
3265
|
return {
|
|
3276
3266
|
Cidr: __expectString(output.Cidr),
|
|
3277
|
-
Events: output.Events != null ?
|
|
3267
|
+
Events: output.Events != null ? de_ByoipCidrEvents(output.Events, context) : undefined,
|
|
3278
3268
|
State: __expectString(output.State),
|
|
3279
3269
|
};
|
|
3280
3270
|
};
|
|
3281
|
-
const
|
|
3271
|
+
const de_ByoipCidrEvent = (output, context) => {
|
|
3282
3272
|
return {
|
|
3283
3273
|
Message: __expectString(output.Message),
|
|
3284
3274
|
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
3285
3275
|
};
|
|
3286
3276
|
};
|
|
3287
|
-
const
|
|
3277
|
+
const de_ByoipCidrEvents = (output, context) => {
|
|
3288
3278
|
const retVal = (output || [])
|
|
3289
3279
|
.filter((e) => e != null)
|
|
3290
3280
|
.map((entry) => {
|
|
3291
3281
|
if (entry === null) {
|
|
3292
3282
|
return null;
|
|
3293
3283
|
}
|
|
3294
|
-
return
|
|
3284
|
+
return de_ByoipCidrEvent(entry, context);
|
|
3295
3285
|
});
|
|
3296
3286
|
return retVal;
|
|
3297
3287
|
};
|
|
3298
|
-
const
|
|
3288
|
+
const de_ByoipCidrNotFoundException = (output, context) => {
|
|
3299
3289
|
return {
|
|
3300
3290
|
Message: __expectString(output.Message),
|
|
3301
3291
|
};
|
|
3302
3292
|
};
|
|
3303
|
-
const
|
|
3293
|
+
const de_ByoipCidrs = (output, context) => {
|
|
3304
3294
|
const retVal = (output || [])
|
|
3305
3295
|
.filter((e) => e != null)
|
|
3306
3296
|
.map((entry) => {
|
|
3307
3297
|
if (entry === null) {
|
|
3308
3298
|
return null;
|
|
3309
3299
|
}
|
|
3310
|
-
return
|
|
3300
|
+
return de_ByoipCidr(entry, context);
|
|
3311
3301
|
});
|
|
3312
3302
|
return retVal;
|
|
3313
3303
|
};
|
|
3314
|
-
const
|
|
3304
|
+
const de_ConflictException = (output, context) => {
|
|
3315
3305
|
return {
|
|
3316
3306
|
Message: __expectString(output.Message),
|
|
3317
3307
|
};
|
|
3318
3308
|
};
|
|
3319
|
-
const
|
|
3309
|
+
const de_CreateAcceleratorResponse = (output, context) => {
|
|
3320
3310
|
return {
|
|
3321
|
-
Accelerator: output.Accelerator != null ?
|
|
3311
|
+
Accelerator: output.Accelerator != null ? de_Accelerator(output.Accelerator, context) : undefined,
|
|
3322
3312
|
};
|
|
3323
3313
|
};
|
|
3324
|
-
const
|
|
3314
|
+
const de_CreateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3325
3315
|
return {
|
|
3326
|
-
Accelerator: output.Accelerator != null
|
|
3327
|
-
? deserializeAws_json1_1CustomRoutingAccelerator(output.Accelerator, context)
|
|
3328
|
-
: undefined,
|
|
3316
|
+
Accelerator: output.Accelerator != null ? de_CustomRoutingAccelerator(output.Accelerator, context) : undefined,
|
|
3329
3317
|
};
|
|
3330
3318
|
};
|
|
3331
|
-
const
|
|
3319
|
+
const de_CreateCustomRoutingEndpointGroupResponse = (output, context) => {
|
|
3332
3320
|
return {
|
|
3333
|
-
EndpointGroup: output.EndpointGroup != null
|
|
3334
|
-
? deserializeAws_json1_1CustomRoutingEndpointGroup(output.EndpointGroup, context)
|
|
3335
|
-
: undefined,
|
|
3321
|
+
EndpointGroup: output.EndpointGroup != null ? de_CustomRoutingEndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3336
3322
|
};
|
|
3337
3323
|
};
|
|
3338
|
-
const
|
|
3324
|
+
const de_CreateCustomRoutingListenerResponse = (output, context) => {
|
|
3339
3325
|
return {
|
|
3340
|
-
Listener: output.Listener != null ?
|
|
3326
|
+
Listener: output.Listener != null ? de_CustomRoutingListener(output.Listener, context) : undefined,
|
|
3341
3327
|
};
|
|
3342
3328
|
};
|
|
3343
|
-
const
|
|
3329
|
+
const de_CreateEndpointGroupResponse = (output, context) => {
|
|
3344
3330
|
return {
|
|
3345
|
-
EndpointGroup: output.EndpointGroup != null ?
|
|
3331
|
+
EndpointGroup: output.EndpointGroup != null ? de_EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3346
3332
|
};
|
|
3347
3333
|
};
|
|
3348
|
-
const
|
|
3334
|
+
const de_CreateListenerResponse = (output, context) => {
|
|
3349
3335
|
return {
|
|
3350
|
-
Listener: output.Listener != null ?
|
|
3336
|
+
Listener: output.Listener != null ? de_Listener(output.Listener, context) : undefined,
|
|
3351
3337
|
};
|
|
3352
3338
|
};
|
|
3353
|
-
const
|
|
3339
|
+
const de_CustomRoutingAccelerator = (output, context) => {
|
|
3354
3340
|
return {
|
|
3355
3341
|
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
3356
3342
|
CreatedTime: output.CreatedTime != null
|
|
@@ -3359,7 +3345,7 @@ const deserializeAws_json1_1CustomRoutingAccelerator = (output, context) => {
|
|
|
3359
3345
|
DnsName: __expectString(output.DnsName),
|
|
3360
3346
|
Enabled: __expectBoolean(output.Enabled),
|
|
3361
3347
|
IpAddressType: __expectString(output.IpAddressType),
|
|
3362
|
-
IpSets: output.IpSets != null ?
|
|
3348
|
+
IpSets: output.IpSets != null ? de_IpSets(output.IpSets, context) : undefined,
|
|
3363
3349
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3364
3350
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3365
3351
|
: undefined,
|
|
@@ -3367,99 +3353,99 @@ const deserializeAws_json1_1CustomRoutingAccelerator = (output, context) => {
|
|
|
3367
3353
|
Status: __expectString(output.Status),
|
|
3368
3354
|
};
|
|
3369
3355
|
};
|
|
3370
|
-
const
|
|
3356
|
+
const de_CustomRoutingAcceleratorAttributes = (output, context) => {
|
|
3371
3357
|
return {
|
|
3372
3358
|
FlowLogsEnabled: __expectBoolean(output.FlowLogsEnabled),
|
|
3373
3359
|
FlowLogsS3Bucket: __expectString(output.FlowLogsS3Bucket),
|
|
3374
3360
|
FlowLogsS3Prefix: __expectString(output.FlowLogsS3Prefix),
|
|
3375
3361
|
};
|
|
3376
3362
|
};
|
|
3377
|
-
const
|
|
3363
|
+
const de_CustomRoutingAccelerators = (output, context) => {
|
|
3378
3364
|
const retVal = (output || [])
|
|
3379
3365
|
.filter((e) => e != null)
|
|
3380
3366
|
.map((entry) => {
|
|
3381
3367
|
if (entry === null) {
|
|
3382
3368
|
return null;
|
|
3383
3369
|
}
|
|
3384
|
-
return
|
|
3370
|
+
return de_CustomRoutingAccelerator(entry, context);
|
|
3385
3371
|
});
|
|
3386
3372
|
return retVal;
|
|
3387
3373
|
};
|
|
3388
|
-
const
|
|
3374
|
+
const de_CustomRoutingDestinationDescription = (output, context) => {
|
|
3389
3375
|
return {
|
|
3390
3376
|
FromPort: __expectInt32(output.FromPort),
|
|
3391
|
-
Protocols: output.Protocols != null ?
|
|
3377
|
+
Protocols: output.Protocols != null ? de_Protocols(output.Protocols, context) : undefined,
|
|
3392
3378
|
ToPort: __expectInt32(output.ToPort),
|
|
3393
3379
|
};
|
|
3394
3380
|
};
|
|
3395
|
-
const
|
|
3381
|
+
const de_CustomRoutingDestinationDescriptions = (output, context) => {
|
|
3396
3382
|
const retVal = (output || [])
|
|
3397
3383
|
.filter((e) => e != null)
|
|
3398
3384
|
.map((entry) => {
|
|
3399
3385
|
if (entry === null) {
|
|
3400
3386
|
return null;
|
|
3401
3387
|
}
|
|
3402
|
-
return
|
|
3388
|
+
return de_CustomRoutingDestinationDescription(entry, context);
|
|
3403
3389
|
});
|
|
3404
3390
|
return retVal;
|
|
3405
3391
|
};
|
|
3406
|
-
const
|
|
3392
|
+
const de_CustomRoutingEndpointDescription = (output, context) => {
|
|
3407
3393
|
return {
|
|
3408
3394
|
EndpointId: __expectString(output.EndpointId),
|
|
3409
3395
|
};
|
|
3410
3396
|
};
|
|
3411
|
-
const
|
|
3397
|
+
const de_CustomRoutingEndpointDescriptions = (output, context) => {
|
|
3412
3398
|
const retVal = (output || [])
|
|
3413
3399
|
.filter((e) => e != null)
|
|
3414
3400
|
.map((entry) => {
|
|
3415
3401
|
if (entry === null) {
|
|
3416
3402
|
return null;
|
|
3417
3403
|
}
|
|
3418
|
-
return
|
|
3404
|
+
return de_CustomRoutingEndpointDescription(entry, context);
|
|
3419
3405
|
});
|
|
3420
3406
|
return retVal;
|
|
3421
3407
|
};
|
|
3422
|
-
const
|
|
3408
|
+
const de_CustomRoutingEndpointGroup = (output, context) => {
|
|
3423
3409
|
return {
|
|
3424
3410
|
DestinationDescriptions: output.DestinationDescriptions != null
|
|
3425
|
-
?
|
|
3411
|
+
? de_CustomRoutingDestinationDescriptions(output.DestinationDescriptions, context)
|
|
3426
3412
|
: undefined,
|
|
3427
3413
|
EndpointDescriptions: output.EndpointDescriptions != null
|
|
3428
|
-
?
|
|
3414
|
+
? de_CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
|
|
3429
3415
|
: undefined,
|
|
3430
3416
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3431
3417
|
EndpointGroupRegion: __expectString(output.EndpointGroupRegion),
|
|
3432
3418
|
};
|
|
3433
3419
|
};
|
|
3434
|
-
const
|
|
3420
|
+
const de_CustomRoutingEndpointGroups = (output, context) => {
|
|
3435
3421
|
const retVal = (output || [])
|
|
3436
3422
|
.filter((e) => e != null)
|
|
3437
3423
|
.map((entry) => {
|
|
3438
3424
|
if (entry === null) {
|
|
3439
3425
|
return null;
|
|
3440
3426
|
}
|
|
3441
|
-
return
|
|
3427
|
+
return de_CustomRoutingEndpointGroup(entry, context);
|
|
3442
3428
|
});
|
|
3443
3429
|
return retVal;
|
|
3444
3430
|
};
|
|
3445
|
-
const
|
|
3431
|
+
const de_CustomRoutingListener = (output, context) => {
|
|
3446
3432
|
return {
|
|
3447
3433
|
ListenerArn: __expectString(output.ListenerArn),
|
|
3448
|
-
PortRanges: output.PortRanges != null ?
|
|
3434
|
+
PortRanges: output.PortRanges != null ? de_PortRanges(output.PortRanges, context) : undefined,
|
|
3449
3435
|
};
|
|
3450
3436
|
};
|
|
3451
|
-
const
|
|
3437
|
+
const de_CustomRoutingListeners = (output, context) => {
|
|
3452
3438
|
const retVal = (output || [])
|
|
3453
3439
|
.filter((e) => e != null)
|
|
3454
3440
|
.map((entry) => {
|
|
3455
3441
|
if (entry === null) {
|
|
3456
3442
|
return null;
|
|
3457
3443
|
}
|
|
3458
|
-
return
|
|
3444
|
+
return de_CustomRoutingListener(entry, context);
|
|
3459
3445
|
});
|
|
3460
3446
|
return retVal;
|
|
3461
3447
|
};
|
|
3462
|
-
const
|
|
3448
|
+
const de_CustomRoutingProtocols = (output, context) => {
|
|
3463
3449
|
const retVal = (output || [])
|
|
3464
3450
|
.filter((e) => e != null)
|
|
3465
3451
|
.map((entry) => {
|
|
@@ -3470,68 +3456,62 @@ const deserializeAws_json1_1CustomRoutingProtocols = (output, context) => {
|
|
|
3470
3456
|
});
|
|
3471
3457
|
return retVal;
|
|
3472
3458
|
};
|
|
3473
|
-
const
|
|
3459
|
+
const de_DeprovisionByoipCidrResponse = (output, context) => {
|
|
3474
3460
|
return {
|
|
3475
|
-
ByoipCidr: output.ByoipCidr != null ?
|
|
3461
|
+
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3476
3462
|
};
|
|
3477
3463
|
};
|
|
3478
|
-
const
|
|
3464
|
+
const de_DescribeAcceleratorAttributesResponse = (output, context) => {
|
|
3479
3465
|
return {
|
|
3480
3466
|
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3481
|
-
?
|
|
3467
|
+
? de_AcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3482
3468
|
: undefined,
|
|
3483
3469
|
};
|
|
3484
3470
|
};
|
|
3485
|
-
const
|
|
3471
|
+
const de_DescribeAcceleratorResponse = (output, context) => {
|
|
3486
3472
|
return {
|
|
3487
|
-
Accelerator: output.Accelerator != null ?
|
|
3473
|
+
Accelerator: output.Accelerator != null ? de_Accelerator(output.Accelerator, context) : undefined,
|
|
3488
3474
|
};
|
|
3489
3475
|
};
|
|
3490
|
-
const
|
|
3476
|
+
const de_DescribeCustomRoutingAcceleratorAttributesResponse = (output, context) => {
|
|
3491
3477
|
return {
|
|
3492
3478
|
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3493
|
-
?
|
|
3479
|
+
? de_CustomRoutingAcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3494
3480
|
: undefined,
|
|
3495
3481
|
};
|
|
3496
3482
|
};
|
|
3497
|
-
const
|
|
3483
|
+
const de_DescribeCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3498
3484
|
return {
|
|
3499
|
-
Accelerator: output.Accelerator != null
|
|
3500
|
-
? deserializeAws_json1_1CustomRoutingAccelerator(output.Accelerator, context)
|
|
3501
|
-
: undefined,
|
|
3485
|
+
Accelerator: output.Accelerator != null ? de_CustomRoutingAccelerator(output.Accelerator, context) : undefined,
|
|
3502
3486
|
};
|
|
3503
3487
|
};
|
|
3504
|
-
const
|
|
3488
|
+
const de_DescribeCustomRoutingEndpointGroupResponse = (output, context) => {
|
|
3505
3489
|
return {
|
|
3506
|
-
EndpointGroup: output.EndpointGroup != null
|
|
3507
|
-
? deserializeAws_json1_1CustomRoutingEndpointGroup(output.EndpointGroup, context)
|
|
3508
|
-
: undefined,
|
|
3490
|
+
EndpointGroup: output.EndpointGroup != null ? de_CustomRoutingEndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3509
3491
|
};
|
|
3510
3492
|
};
|
|
3511
|
-
const
|
|
3493
|
+
const de_DescribeCustomRoutingListenerResponse = (output, context) => {
|
|
3512
3494
|
return {
|
|
3513
|
-
Listener: output.Listener != null ?
|
|
3495
|
+
Listener: output.Listener != null ? de_CustomRoutingListener(output.Listener, context) : undefined,
|
|
3514
3496
|
};
|
|
3515
3497
|
};
|
|
3516
|
-
const
|
|
3498
|
+
const de_DescribeEndpointGroupResponse = (output, context) => {
|
|
3517
3499
|
return {
|
|
3518
|
-
EndpointGroup: output.EndpointGroup != null ?
|
|
3500
|
+
EndpointGroup: output.EndpointGroup != null ? de_EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3519
3501
|
};
|
|
3520
3502
|
};
|
|
3521
|
-
const
|
|
3503
|
+
const de_DescribeListenerResponse = (output, context) => {
|
|
3522
3504
|
return {
|
|
3523
|
-
Listener: output.Listener != null ?
|
|
3505
|
+
Listener: output.Listener != null ? de_Listener(output.Listener, context) : undefined,
|
|
3524
3506
|
};
|
|
3525
3507
|
};
|
|
3526
|
-
const
|
|
3508
|
+
const de_DestinationPortMapping = (output, context) => {
|
|
3527
3509
|
return {
|
|
3528
3510
|
AcceleratorArn: __expectString(output.AcceleratorArn),
|
|
3529
3511
|
AcceleratorSocketAddresses: output.AcceleratorSocketAddresses != null
|
|
3530
|
-
?
|
|
3531
|
-
: undefined,
|
|
3532
|
-
DestinationSocketAddress: output.DestinationSocketAddress != null
|
|
3533
|
-
? deserializeAws_json1_1SocketAddress(output.DestinationSocketAddress, context)
|
|
3512
|
+
? de_SocketAddresses(output.AcceleratorSocketAddresses, context)
|
|
3534
3513
|
: undefined,
|
|
3514
|
+
DestinationSocketAddress: output.DestinationSocketAddress != null ? de_SocketAddress(output.DestinationSocketAddress, context) : undefined,
|
|
3535
3515
|
DestinationTrafficState: __expectString(output.DestinationTrafficState),
|
|
3536
3516
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3537
3517
|
EndpointGroupRegion: __expectString(output.EndpointGroupRegion),
|
|
@@ -3539,23 +3519,23 @@ const deserializeAws_json1_1DestinationPortMapping = (output, context) => {
|
|
|
3539
3519
|
IpAddressType: __expectString(output.IpAddressType),
|
|
3540
3520
|
};
|
|
3541
3521
|
};
|
|
3542
|
-
const
|
|
3522
|
+
const de_DestinationPortMappings = (output, context) => {
|
|
3543
3523
|
const retVal = (output || [])
|
|
3544
3524
|
.filter((e) => e != null)
|
|
3545
3525
|
.map((entry) => {
|
|
3546
3526
|
if (entry === null) {
|
|
3547
3527
|
return null;
|
|
3548
3528
|
}
|
|
3549
|
-
return
|
|
3529
|
+
return de_DestinationPortMapping(entry, context);
|
|
3550
3530
|
});
|
|
3551
3531
|
return retVal;
|
|
3552
3532
|
};
|
|
3553
|
-
const
|
|
3533
|
+
const de_EndpointAlreadyExistsException = (output, context) => {
|
|
3554
3534
|
return {
|
|
3555
3535
|
Message: __expectString(output.Message),
|
|
3556
3536
|
};
|
|
3557
3537
|
};
|
|
3558
|
-
const
|
|
3538
|
+
const de_EndpointDescription = (output, context) => {
|
|
3559
3539
|
return {
|
|
3560
3540
|
ClientIPPreservationEnabled: __expectBoolean(output.ClientIPPreservationEnabled),
|
|
3561
3541
|
EndpointId: __expectString(output.EndpointId),
|
|
@@ -3564,85 +3544,83 @@ const deserializeAws_json1_1EndpointDescription = (output, context) => {
|
|
|
3564
3544
|
Weight: __expectInt32(output.Weight),
|
|
3565
3545
|
};
|
|
3566
3546
|
};
|
|
3567
|
-
const
|
|
3547
|
+
const de_EndpointDescriptions = (output, context) => {
|
|
3568
3548
|
const retVal = (output || [])
|
|
3569
3549
|
.filter((e) => e != null)
|
|
3570
3550
|
.map((entry) => {
|
|
3571
3551
|
if (entry === null) {
|
|
3572
3552
|
return null;
|
|
3573
3553
|
}
|
|
3574
|
-
return
|
|
3554
|
+
return de_EndpointDescription(entry, context);
|
|
3575
3555
|
});
|
|
3576
3556
|
return retVal;
|
|
3577
3557
|
};
|
|
3578
|
-
const
|
|
3558
|
+
const de_EndpointGroup = (output, context) => {
|
|
3579
3559
|
return {
|
|
3580
|
-
EndpointDescriptions: output.EndpointDescriptions != null
|
|
3581
|
-
? deserializeAws_json1_1EndpointDescriptions(output.EndpointDescriptions, context)
|
|
3582
|
-
: undefined,
|
|
3560
|
+
EndpointDescriptions: output.EndpointDescriptions != null ? de_EndpointDescriptions(output.EndpointDescriptions, context) : undefined,
|
|
3583
3561
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3584
3562
|
EndpointGroupRegion: __expectString(output.EndpointGroupRegion),
|
|
3585
3563
|
HealthCheckIntervalSeconds: __expectInt32(output.HealthCheckIntervalSeconds),
|
|
3586
3564
|
HealthCheckPath: __expectString(output.HealthCheckPath),
|
|
3587
3565
|
HealthCheckPort: __expectInt32(output.HealthCheckPort),
|
|
3588
3566
|
HealthCheckProtocol: __expectString(output.HealthCheckProtocol),
|
|
3589
|
-
PortOverrides: output.PortOverrides != null ?
|
|
3567
|
+
PortOverrides: output.PortOverrides != null ? de_PortOverrides(output.PortOverrides, context) : undefined,
|
|
3590
3568
|
ThresholdCount: __expectInt32(output.ThresholdCount),
|
|
3591
3569
|
TrafficDialPercentage: __limitedParseFloat32(output.TrafficDialPercentage),
|
|
3592
3570
|
};
|
|
3593
3571
|
};
|
|
3594
|
-
const
|
|
3572
|
+
const de_EndpointGroupAlreadyExistsException = (output, context) => {
|
|
3595
3573
|
return {
|
|
3596
3574
|
Message: __expectString(output.Message),
|
|
3597
3575
|
};
|
|
3598
3576
|
};
|
|
3599
|
-
const
|
|
3577
|
+
const de_EndpointGroupNotFoundException = (output, context) => {
|
|
3600
3578
|
return {
|
|
3601
3579
|
Message: __expectString(output.Message),
|
|
3602
3580
|
};
|
|
3603
3581
|
};
|
|
3604
|
-
const
|
|
3582
|
+
const de_EndpointGroups = (output, context) => {
|
|
3605
3583
|
const retVal = (output || [])
|
|
3606
3584
|
.filter((e) => e != null)
|
|
3607
3585
|
.map((entry) => {
|
|
3608
3586
|
if (entry === null) {
|
|
3609
3587
|
return null;
|
|
3610
3588
|
}
|
|
3611
|
-
return
|
|
3589
|
+
return de_EndpointGroup(entry, context);
|
|
3612
3590
|
});
|
|
3613
3591
|
return retVal;
|
|
3614
3592
|
};
|
|
3615
|
-
const
|
|
3593
|
+
const de_EndpointNotFoundException = (output, context) => {
|
|
3616
3594
|
return {
|
|
3617
3595
|
Message: __expectString(output.Message),
|
|
3618
3596
|
};
|
|
3619
3597
|
};
|
|
3620
|
-
const
|
|
3598
|
+
const de_IncorrectCidrStateException = (output, context) => {
|
|
3621
3599
|
return {
|
|
3622
3600
|
Message: __expectString(output.Message),
|
|
3623
3601
|
};
|
|
3624
3602
|
};
|
|
3625
|
-
const
|
|
3603
|
+
const de_InternalServiceErrorException = (output, context) => {
|
|
3626
3604
|
return {
|
|
3627
3605
|
Message: __expectString(output.Message),
|
|
3628
3606
|
};
|
|
3629
3607
|
};
|
|
3630
|
-
const
|
|
3608
|
+
const de_InvalidArgumentException = (output, context) => {
|
|
3631
3609
|
return {
|
|
3632
3610
|
Message: __expectString(output.Message),
|
|
3633
3611
|
};
|
|
3634
3612
|
};
|
|
3635
|
-
const
|
|
3613
|
+
const de_InvalidNextTokenException = (output, context) => {
|
|
3636
3614
|
return {
|
|
3637
3615
|
Message: __expectString(output.Message),
|
|
3638
3616
|
};
|
|
3639
3617
|
};
|
|
3640
|
-
const
|
|
3618
|
+
const de_InvalidPortRangeException = (output, context) => {
|
|
3641
3619
|
return {
|
|
3642
3620
|
Message: __expectString(output.Message),
|
|
3643
3621
|
};
|
|
3644
3622
|
};
|
|
3645
|
-
const
|
|
3623
|
+
const de_IpAddresses = (output, context) => {
|
|
3646
3624
|
const retVal = (output || [])
|
|
3647
3625
|
.filter((e) => e != null)
|
|
3648
3626
|
.map((entry) => {
|
|
@@ -3653,176 +3631,170 @@ const deserializeAws_json1_1IpAddresses = (output, context) => {
|
|
|
3653
3631
|
});
|
|
3654
3632
|
return retVal;
|
|
3655
3633
|
};
|
|
3656
|
-
const
|
|
3634
|
+
const de_IpSet = (output, context) => {
|
|
3657
3635
|
return {
|
|
3658
3636
|
IpAddressFamily: __expectString(output.IpAddressFamily),
|
|
3659
|
-
IpAddresses: output.IpAddresses != null ?
|
|
3637
|
+
IpAddresses: output.IpAddresses != null ? de_IpAddresses(output.IpAddresses, context) : undefined,
|
|
3660
3638
|
IpFamily: __expectString(output.IpFamily),
|
|
3661
3639
|
};
|
|
3662
3640
|
};
|
|
3663
|
-
const
|
|
3641
|
+
const de_IpSets = (output, context) => {
|
|
3664
3642
|
const retVal = (output || [])
|
|
3665
3643
|
.filter((e) => e != null)
|
|
3666
3644
|
.map((entry) => {
|
|
3667
3645
|
if (entry === null) {
|
|
3668
3646
|
return null;
|
|
3669
3647
|
}
|
|
3670
|
-
return
|
|
3648
|
+
return de_IpSet(entry, context);
|
|
3671
3649
|
});
|
|
3672
3650
|
return retVal;
|
|
3673
3651
|
};
|
|
3674
|
-
const
|
|
3652
|
+
const de_LimitExceededException = (output, context) => {
|
|
3675
3653
|
return {
|
|
3676
3654
|
Message: __expectString(output.Message),
|
|
3677
3655
|
};
|
|
3678
3656
|
};
|
|
3679
|
-
const
|
|
3657
|
+
const de_ListAcceleratorsResponse = (output, context) => {
|
|
3680
3658
|
return {
|
|
3681
|
-
Accelerators: output.Accelerators != null ?
|
|
3659
|
+
Accelerators: output.Accelerators != null ? de_Accelerators(output.Accelerators, context) : undefined,
|
|
3682
3660
|
NextToken: __expectString(output.NextToken),
|
|
3683
3661
|
};
|
|
3684
3662
|
};
|
|
3685
|
-
const
|
|
3663
|
+
const de_ListByoipCidrsResponse = (output, context) => {
|
|
3686
3664
|
return {
|
|
3687
|
-
ByoipCidrs: output.ByoipCidrs != null ?
|
|
3665
|
+
ByoipCidrs: output.ByoipCidrs != null ? de_ByoipCidrs(output.ByoipCidrs, context) : undefined,
|
|
3688
3666
|
NextToken: __expectString(output.NextToken),
|
|
3689
3667
|
};
|
|
3690
3668
|
};
|
|
3691
|
-
const
|
|
3669
|
+
const de_ListCustomRoutingAcceleratorsResponse = (output, context) => {
|
|
3692
3670
|
return {
|
|
3693
|
-
Accelerators: output.Accelerators != null
|
|
3694
|
-
? deserializeAws_json1_1CustomRoutingAccelerators(output.Accelerators, context)
|
|
3695
|
-
: undefined,
|
|
3671
|
+
Accelerators: output.Accelerators != null ? de_CustomRoutingAccelerators(output.Accelerators, context) : undefined,
|
|
3696
3672
|
NextToken: __expectString(output.NextToken),
|
|
3697
3673
|
};
|
|
3698
3674
|
};
|
|
3699
|
-
const
|
|
3675
|
+
const de_ListCustomRoutingEndpointGroupsResponse = (output, context) => {
|
|
3700
3676
|
return {
|
|
3701
|
-
EndpointGroups: output.EndpointGroups != null
|
|
3702
|
-
? deserializeAws_json1_1CustomRoutingEndpointGroups(output.EndpointGroups, context)
|
|
3703
|
-
: undefined,
|
|
3677
|
+
EndpointGroups: output.EndpointGroups != null ? de_CustomRoutingEndpointGroups(output.EndpointGroups, context) : undefined,
|
|
3704
3678
|
NextToken: __expectString(output.NextToken),
|
|
3705
3679
|
};
|
|
3706
3680
|
};
|
|
3707
|
-
const
|
|
3681
|
+
const de_ListCustomRoutingListenersResponse = (output, context) => {
|
|
3708
3682
|
return {
|
|
3709
|
-
Listeners: output.Listeners != null ?
|
|
3683
|
+
Listeners: output.Listeners != null ? de_CustomRoutingListeners(output.Listeners, context) : undefined,
|
|
3710
3684
|
NextToken: __expectString(output.NextToken),
|
|
3711
3685
|
};
|
|
3712
3686
|
};
|
|
3713
|
-
const
|
|
3687
|
+
const de_ListCustomRoutingPortMappingsByDestinationResponse = (output, context) => {
|
|
3714
3688
|
return {
|
|
3715
3689
|
DestinationPortMappings: output.DestinationPortMappings != null
|
|
3716
|
-
?
|
|
3690
|
+
? de_DestinationPortMappings(output.DestinationPortMappings, context)
|
|
3717
3691
|
: undefined,
|
|
3718
3692
|
NextToken: __expectString(output.NextToken),
|
|
3719
3693
|
};
|
|
3720
3694
|
};
|
|
3721
|
-
const
|
|
3695
|
+
const de_ListCustomRoutingPortMappingsResponse = (output, context) => {
|
|
3722
3696
|
return {
|
|
3723
3697
|
NextToken: __expectString(output.NextToken),
|
|
3724
|
-
PortMappings: output.PortMappings != null ?
|
|
3698
|
+
PortMappings: output.PortMappings != null ? de_PortMappings(output.PortMappings, context) : undefined,
|
|
3725
3699
|
};
|
|
3726
3700
|
};
|
|
3727
|
-
const
|
|
3701
|
+
const de_ListEndpointGroupsResponse = (output, context) => {
|
|
3728
3702
|
return {
|
|
3729
|
-
EndpointGroups: output.EndpointGroups != null ?
|
|
3703
|
+
EndpointGroups: output.EndpointGroups != null ? de_EndpointGroups(output.EndpointGroups, context) : undefined,
|
|
3730
3704
|
NextToken: __expectString(output.NextToken),
|
|
3731
3705
|
};
|
|
3732
3706
|
};
|
|
3733
|
-
const
|
|
3707
|
+
const de_Listener = (output, context) => {
|
|
3734
3708
|
return {
|
|
3735
3709
|
ClientAffinity: __expectString(output.ClientAffinity),
|
|
3736
3710
|
ListenerArn: __expectString(output.ListenerArn),
|
|
3737
|
-
PortRanges: output.PortRanges != null ?
|
|
3711
|
+
PortRanges: output.PortRanges != null ? de_PortRanges(output.PortRanges, context) : undefined,
|
|
3738
3712
|
Protocol: __expectString(output.Protocol),
|
|
3739
3713
|
};
|
|
3740
3714
|
};
|
|
3741
|
-
const
|
|
3715
|
+
const de_ListenerNotFoundException = (output, context) => {
|
|
3742
3716
|
return {
|
|
3743
3717
|
Message: __expectString(output.Message),
|
|
3744
3718
|
};
|
|
3745
3719
|
};
|
|
3746
|
-
const
|
|
3720
|
+
const de_Listeners = (output, context) => {
|
|
3747
3721
|
const retVal = (output || [])
|
|
3748
3722
|
.filter((e) => e != null)
|
|
3749
3723
|
.map((entry) => {
|
|
3750
3724
|
if (entry === null) {
|
|
3751
3725
|
return null;
|
|
3752
3726
|
}
|
|
3753
|
-
return
|
|
3727
|
+
return de_Listener(entry, context);
|
|
3754
3728
|
});
|
|
3755
3729
|
return retVal;
|
|
3756
3730
|
};
|
|
3757
|
-
const
|
|
3731
|
+
const de_ListListenersResponse = (output, context) => {
|
|
3758
3732
|
return {
|
|
3759
|
-
Listeners: output.Listeners != null ?
|
|
3733
|
+
Listeners: output.Listeners != null ? de_Listeners(output.Listeners, context) : undefined,
|
|
3760
3734
|
NextToken: __expectString(output.NextToken),
|
|
3761
3735
|
};
|
|
3762
3736
|
};
|
|
3763
|
-
const
|
|
3737
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
3764
3738
|
return {
|
|
3765
|
-
Tags: output.Tags != null ?
|
|
3739
|
+
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
3766
3740
|
};
|
|
3767
3741
|
};
|
|
3768
|
-
const
|
|
3742
|
+
const de_PortMapping = (output, context) => {
|
|
3769
3743
|
return {
|
|
3770
3744
|
AcceleratorPort: __expectInt32(output.AcceleratorPort),
|
|
3771
|
-
DestinationSocketAddress: output.DestinationSocketAddress != null
|
|
3772
|
-
? deserializeAws_json1_1SocketAddress(output.DestinationSocketAddress, context)
|
|
3773
|
-
: undefined,
|
|
3745
|
+
DestinationSocketAddress: output.DestinationSocketAddress != null ? de_SocketAddress(output.DestinationSocketAddress, context) : undefined,
|
|
3774
3746
|
DestinationTrafficState: __expectString(output.DestinationTrafficState),
|
|
3775
3747
|
EndpointGroupArn: __expectString(output.EndpointGroupArn),
|
|
3776
3748
|
EndpointId: __expectString(output.EndpointId),
|
|
3777
|
-
Protocols: output.Protocols != null ?
|
|
3749
|
+
Protocols: output.Protocols != null ? de_CustomRoutingProtocols(output.Protocols, context) : undefined,
|
|
3778
3750
|
};
|
|
3779
3751
|
};
|
|
3780
|
-
const
|
|
3752
|
+
const de_PortMappings = (output, context) => {
|
|
3781
3753
|
const retVal = (output || [])
|
|
3782
3754
|
.filter((e) => e != null)
|
|
3783
3755
|
.map((entry) => {
|
|
3784
3756
|
if (entry === null) {
|
|
3785
3757
|
return null;
|
|
3786
3758
|
}
|
|
3787
|
-
return
|
|
3759
|
+
return de_PortMapping(entry, context);
|
|
3788
3760
|
});
|
|
3789
3761
|
return retVal;
|
|
3790
3762
|
};
|
|
3791
|
-
const
|
|
3763
|
+
const de_PortOverride = (output, context) => {
|
|
3792
3764
|
return {
|
|
3793
3765
|
EndpointPort: __expectInt32(output.EndpointPort),
|
|
3794
3766
|
ListenerPort: __expectInt32(output.ListenerPort),
|
|
3795
3767
|
};
|
|
3796
3768
|
};
|
|
3797
|
-
const
|
|
3769
|
+
const de_PortOverrides = (output, context) => {
|
|
3798
3770
|
const retVal = (output || [])
|
|
3799
3771
|
.filter((e) => e != null)
|
|
3800
3772
|
.map((entry) => {
|
|
3801
3773
|
if (entry === null) {
|
|
3802
3774
|
return null;
|
|
3803
3775
|
}
|
|
3804
|
-
return
|
|
3776
|
+
return de_PortOverride(entry, context);
|
|
3805
3777
|
});
|
|
3806
3778
|
return retVal;
|
|
3807
3779
|
};
|
|
3808
|
-
const
|
|
3780
|
+
const de_PortRange = (output, context) => {
|
|
3809
3781
|
return {
|
|
3810
3782
|
FromPort: __expectInt32(output.FromPort),
|
|
3811
3783
|
ToPort: __expectInt32(output.ToPort),
|
|
3812
3784
|
};
|
|
3813
3785
|
};
|
|
3814
|
-
const
|
|
3786
|
+
const de_PortRanges = (output, context) => {
|
|
3815
3787
|
const retVal = (output || [])
|
|
3816
3788
|
.filter((e) => e != null)
|
|
3817
3789
|
.map((entry) => {
|
|
3818
3790
|
if (entry === null) {
|
|
3819
3791
|
return null;
|
|
3820
3792
|
}
|
|
3821
|
-
return
|
|
3793
|
+
return de_PortRange(entry, context);
|
|
3822
3794
|
});
|
|
3823
3795
|
return retVal;
|
|
3824
3796
|
};
|
|
3825
|
-
const
|
|
3797
|
+
const de_Protocols = (output, context) => {
|
|
3826
3798
|
const retVal = (output || [])
|
|
3827
3799
|
.filter((e) => e != null)
|
|
3828
3800
|
.map((entry) => {
|
|
@@ -3833,100 +3805,98 @@ const deserializeAws_json1_1Protocols = (output, context) => {
|
|
|
3833
3805
|
});
|
|
3834
3806
|
return retVal;
|
|
3835
3807
|
};
|
|
3836
|
-
const
|
|
3808
|
+
const de_ProvisionByoipCidrResponse = (output, context) => {
|
|
3837
3809
|
return {
|
|
3838
|
-
ByoipCidr: output.ByoipCidr != null ?
|
|
3810
|
+
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3839
3811
|
};
|
|
3840
3812
|
};
|
|
3841
|
-
const
|
|
3813
|
+
const de_SocketAddress = (output, context) => {
|
|
3842
3814
|
return {
|
|
3843
3815
|
IpAddress: __expectString(output.IpAddress),
|
|
3844
3816
|
Port: __expectInt32(output.Port),
|
|
3845
3817
|
};
|
|
3846
3818
|
};
|
|
3847
|
-
const
|
|
3819
|
+
const de_SocketAddresses = (output, context) => {
|
|
3848
3820
|
const retVal = (output || [])
|
|
3849
3821
|
.filter((e) => e != null)
|
|
3850
3822
|
.map((entry) => {
|
|
3851
3823
|
if (entry === null) {
|
|
3852
3824
|
return null;
|
|
3853
3825
|
}
|
|
3854
|
-
return
|
|
3826
|
+
return de_SocketAddress(entry, context);
|
|
3855
3827
|
});
|
|
3856
3828
|
return retVal;
|
|
3857
3829
|
};
|
|
3858
|
-
const
|
|
3830
|
+
const de_Tag = (output, context) => {
|
|
3859
3831
|
return {
|
|
3860
3832
|
Key: __expectString(output.Key),
|
|
3861
3833
|
Value: __expectString(output.Value),
|
|
3862
3834
|
};
|
|
3863
3835
|
};
|
|
3864
|
-
const
|
|
3836
|
+
const de_TagResourceResponse = (output, context) => {
|
|
3865
3837
|
return {};
|
|
3866
3838
|
};
|
|
3867
|
-
const
|
|
3839
|
+
const de_Tags = (output, context) => {
|
|
3868
3840
|
const retVal = (output || [])
|
|
3869
3841
|
.filter((e) => e != null)
|
|
3870
3842
|
.map((entry) => {
|
|
3871
3843
|
if (entry === null) {
|
|
3872
3844
|
return null;
|
|
3873
3845
|
}
|
|
3874
|
-
return
|
|
3846
|
+
return de_Tag(entry, context);
|
|
3875
3847
|
});
|
|
3876
3848
|
return retVal;
|
|
3877
3849
|
};
|
|
3878
|
-
const
|
|
3850
|
+
const de_TransactionInProgressException = (output, context) => {
|
|
3879
3851
|
return {
|
|
3880
3852
|
Message: __expectString(output.Message),
|
|
3881
3853
|
};
|
|
3882
3854
|
};
|
|
3883
|
-
const
|
|
3855
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
3884
3856
|
return {};
|
|
3885
3857
|
};
|
|
3886
|
-
const
|
|
3858
|
+
const de_UpdateAcceleratorAttributesResponse = (output, context) => {
|
|
3887
3859
|
return {
|
|
3888
3860
|
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3889
|
-
?
|
|
3861
|
+
? de_AcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3890
3862
|
: undefined,
|
|
3891
3863
|
};
|
|
3892
3864
|
};
|
|
3893
|
-
const
|
|
3865
|
+
const de_UpdateAcceleratorResponse = (output, context) => {
|
|
3894
3866
|
return {
|
|
3895
|
-
Accelerator: output.Accelerator != null ?
|
|
3867
|
+
Accelerator: output.Accelerator != null ? de_Accelerator(output.Accelerator, context) : undefined,
|
|
3896
3868
|
};
|
|
3897
3869
|
};
|
|
3898
|
-
const
|
|
3870
|
+
const de_UpdateCustomRoutingAcceleratorAttributesResponse = (output, context) => {
|
|
3899
3871
|
return {
|
|
3900
3872
|
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3901
|
-
?
|
|
3873
|
+
? de_CustomRoutingAcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3902
3874
|
: undefined,
|
|
3903
3875
|
};
|
|
3904
3876
|
};
|
|
3905
|
-
const
|
|
3877
|
+
const de_UpdateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3906
3878
|
return {
|
|
3907
|
-
Accelerator: output.Accelerator != null
|
|
3908
|
-
? deserializeAws_json1_1CustomRoutingAccelerator(output.Accelerator, context)
|
|
3909
|
-
: undefined,
|
|
3879
|
+
Accelerator: output.Accelerator != null ? de_CustomRoutingAccelerator(output.Accelerator, context) : undefined,
|
|
3910
3880
|
};
|
|
3911
3881
|
};
|
|
3912
|
-
const
|
|
3882
|
+
const de_UpdateCustomRoutingListenerResponse = (output, context) => {
|
|
3913
3883
|
return {
|
|
3914
|
-
Listener: output.Listener != null ?
|
|
3884
|
+
Listener: output.Listener != null ? de_CustomRoutingListener(output.Listener, context) : undefined,
|
|
3915
3885
|
};
|
|
3916
3886
|
};
|
|
3917
|
-
const
|
|
3887
|
+
const de_UpdateEndpointGroupResponse = (output, context) => {
|
|
3918
3888
|
return {
|
|
3919
|
-
EndpointGroup: output.EndpointGroup != null ?
|
|
3889
|
+
EndpointGroup: output.EndpointGroup != null ? de_EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3920
3890
|
};
|
|
3921
3891
|
};
|
|
3922
|
-
const
|
|
3892
|
+
const de_UpdateListenerResponse = (output, context) => {
|
|
3923
3893
|
return {
|
|
3924
|
-
Listener: output.Listener != null ?
|
|
3894
|
+
Listener: output.Listener != null ? de_Listener(output.Listener, context) : undefined,
|
|
3925
3895
|
};
|
|
3926
3896
|
};
|
|
3927
|
-
const
|
|
3897
|
+
const de_WithdrawByoipCidrResponse = (output, context) => {
|
|
3928
3898
|
return {
|
|
3929
|
-
ByoipCidr: output.ByoipCidr != null ?
|
|
3899
|
+
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3930
3900
|
};
|
|
3931
3901
|
};
|
|
3932
3902
|
const deserializeMetadata = (output) => ({
|