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