@aws-sdk/client-network-firewall 3.306.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist-cjs/commands/AssociateFirewallPolicyCommand.js +2 -2
- package/dist-cjs/commands/AssociateSubnetsCommand.js +2 -2
- package/dist-cjs/commands/CreateFirewallCommand.js +2 -2
- package/dist-cjs/commands/CreateFirewallPolicyCommand.js +2 -2
- package/dist-cjs/commands/CreateRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateTLSInspectionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DeleteFirewallCommand.js +2 -2
- package/dist-cjs/commands/DeleteFirewallPolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteTLSInspectionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribeFirewallCommand.js +2 -2
- package/dist-cjs/commands/DescribeFirewallPolicyCommand.js +2 -2
- package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DescribeRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/DescribeRuleGroupMetadataCommand.js +2 -2
- package/dist-cjs/commands/DescribeTLSInspectionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DisassociateSubnetsCommand.js +2 -2
- package/dist-cjs/commands/ListFirewallPoliciesCommand.js +2 -2
- package/dist-cjs/commands/ListFirewallsCommand.js +2 -2
- package/dist-cjs/commands/ListRuleGroupsCommand.js +2 -2
- package/dist-cjs/commands/ListTLSInspectionConfigurationsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallDeleteProtectionCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallDescriptionCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallEncryptionConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js +2 -2
- package/dist-cjs/commands/UpdateFirewallPolicyCommand.js +2 -2
- package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +2 -2
- package/dist-cjs/commands/UpdateRuleGroupCommand.js +2 -2
- package/dist-cjs/commands/UpdateSubnetChangeProtectionCommand.js +2 -2
- package/dist-cjs/commands/UpdateTLSInspectionConfigurationCommand.js +2 -2
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +954 -1038
- package/dist-es/commands/AssociateFirewallPolicyCommand.js +3 -3
- package/dist-es/commands/AssociateSubnetsCommand.js +3 -3
- package/dist-es/commands/CreateFirewallCommand.js +3 -3
- package/dist-es/commands/CreateFirewallPolicyCommand.js +3 -3
- package/dist-es/commands/CreateRuleGroupCommand.js +3 -3
- package/dist-es/commands/CreateTLSInspectionConfigurationCommand.js +3 -3
- package/dist-es/commands/DeleteFirewallCommand.js +3 -3
- package/dist-es/commands/DeleteFirewallPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DeleteRuleGroupCommand.js +3 -3
- package/dist-es/commands/DeleteTLSInspectionConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribeFirewallCommand.js +3 -3
- package/dist-es/commands/DescribeFirewallPolicyCommand.js +3 -3
- package/dist-es/commands/DescribeLoggingConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DescribeRuleGroupCommand.js +3 -3
- package/dist-es/commands/DescribeRuleGroupMetadataCommand.js +3 -3
- package/dist-es/commands/DescribeTLSInspectionConfigurationCommand.js +3 -3
- package/dist-es/commands/DisassociateSubnetsCommand.js +3 -3
- package/dist-es/commands/ListFirewallPoliciesCommand.js +3 -3
- package/dist-es/commands/ListFirewallsCommand.js +3 -3
- package/dist-es/commands/ListRuleGroupsCommand.js +3 -3
- package/dist-es/commands/ListTLSInspectionConfigurationsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallDeleteProtectionCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallDescriptionCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallEncryptionConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallPolicyChangeProtectionCommand.js +3 -3
- package/dist-es/commands/UpdateFirewallPolicyCommand.js +3 -3
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +3 -3
- package/dist-es/commands/UpdateRuleGroupCommand.js +3 -3
- package/dist-es/commands/UpdateSubnetChangeProtectionCommand.js +3 -3
- package/dist-es/commands/UpdateTLSInspectionConfigurationCommand.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +880 -964
- package/dist-types/NetworkFirewall.d.ts +1 -1
- package/dist-types/NetworkFirewallClient.d.ts +1 -1
- package/dist-types/commands/AssociateSubnetsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFirewallCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +3 -2
- package/dist-types/protocols/Aws_json1_0.d.ts +288 -72
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -72
- package/package.json +6 -6
|
@@ -2,344 +2,344 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { InsufficientCapacityException, InternalServerError, InvalidOperationException, InvalidRequestException, InvalidResourcePolicyException, InvalidTokenException, LimitExceededException, LogDestinationPermissionException, ResourceNotFoundException, ResourceOwnerCheckException, ThrottlingException, UnsupportedOperationException, } from "../models/models_0";
|
|
4
4
|
import { NetworkFirewallServiceException as __BaseException } from "../models/NetworkFirewallServiceException";
|
|
5
|
-
export const
|
|
5
|
+
export const se_AssociateFirewallPolicyCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.0",
|
|
8
8
|
"x-amz-target": "NetworkFirewall_20201112.AssociateFirewallPolicy",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_AssociateFirewallPolicyRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_AssociateSubnetsCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.0",
|
|
17
17
|
"x-amz-target": "NetworkFirewall_20201112.AssociateSubnets",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_AssociateSubnetsRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_CreateFirewallCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.0",
|
|
26
26
|
"x-amz-target": "NetworkFirewall_20201112.CreateFirewall",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_CreateFirewallRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_CreateFirewallPolicyCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.0",
|
|
35
35
|
"x-amz-target": "NetworkFirewall_20201112.CreateFirewallPolicy",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_CreateFirewallPolicyRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_CreateRuleGroupCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.0",
|
|
44
44
|
"x-amz-target": "NetworkFirewall_20201112.CreateRuleGroup",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_CreateRuleGroupRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_CreateTLSInspectionConfigurationCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.0",
|
|
53
53
|
"x-amz-target": "NetworkFirewall_20201112.CreateTLSInspectionConfiguration",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_CreateTLSInspectionConfigurationRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_DeleteFirewallCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.0",
|
|
62
62
|
"x-amz-target": "NetworkFirewall_20201112.DeleteFirewall",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DeleteFirewallRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_DeleteFirewallPolicyCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.0",
|
|
71
71
|
"x-amz-target": "NetworkFirewall_20201112.DeleteFirewallPolicy",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DeleteFirewallPolicyRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.0",
|
|
80
80
|
"x-amz-target": "NetworkFirewall_20201112.DeleteResourcePolicy",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_DeleteResourcePolicyRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_DeleteRuleGroupCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.0",
|
|
89
89
|
"x-amz-target": "NetworkFirewall_20201112.DeleteRuleGroup",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_DeleteRuleGroupRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_DeleteTLSInspectionConfigurationCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.0",
|
|
98
98
|
"x-amz-target": "NetworkFirewall_20201112.DeleteTLSInspectionConfiguration",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_DeleteTLSInspectionConfigurationRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_DescribeFirewallCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.0",
|
|
107
107
|
"x-amz-target": "NetworkFirewall_20201112.DescribeFirewall",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_DescribeFirewallRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_DescribeFirewallPolicyCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.0",
|
|
116
116
|
"x-amz-target": "NetworkFirewall_20201112.DescribeFirewallPolicy",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_DescribeFirewallPolicyRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_DescribeLoggingConfigurationCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.0",
|
|
125
125
|
"x-amz-target": "NetworkFirewall_20201112.DescribeLoggingConfiguration",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_DescribeLoggingConfigurationRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_DescribeResourcePolicyCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.0",
|
|
134
134
|
"x-amz-target": "NetworkFirewall_20201112.DescribeResourcePolicy",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_DescribeResourcePolicyRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_DescribeRuleGroupCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.0",
|
|
143
143
|
"x-amz-target": "NetworkFirewall_20201112.DescribeRuleGroup",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_DescribeRuleGroupRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_DescribeRuleGroupMetadataCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.0",
|
|
152
152
|
"x-amz-target": "NetworkFirewall_20201112.DescribeRuleGroupMetadata",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_DescribeRuleGroupMetadataRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_DescribeTLSInspectionConfigurationCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.0",
|
|
161
161
|
"x-amz-target": "NetworkFirewall_20201112.DescribeTLSInspectionConfiguration",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_DescribeTLSInspectionConfigurationRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_DisassociateSubnetsCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.0",
|
|
170
170
|
"x-amz-target": "NetworkFirewall_20201112.DisassociateSubnets",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_DisassociateSubnetsRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_ListFirewallPoliciesCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.0",
|
|
179
179
|
"x-amz-target": "NetworkFirewall_20201112.ListFirewallPolicies",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_ListFirewallPoliciesRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_ListFirewallsCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.0",
|
|
188
188
|
"x-amz-target": "NetworkFirewall_20201112.ListFirewalls",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_ListFirewallsRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_ListRuleGroupsCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.0",
|
|
197
197
|
"x-amz-target": "NetworkFirewall_20201112.ListRuleGroups",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_ListRuleGroupsRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.0",
|
|
206
206
|
"x-amz-target": "NetworkFirewall_20201112.ListTagsForResource",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_ListTLSInspectionConfigurationsCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.0",
|
|
215
215
|
"x-amz-target": "NetworkFirewall_20201112.ListTLSInspectionConfigurations",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_ListTLSInspectionConfigurationsRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.0",
|
|
224
224
|
"x-amz-target": "NetworkFirewall_20201112.PutResourcePolicy",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_PutResourcePolicyRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
231
231
|
const headers = {
|
|
232
232
|
"content-type": "application/x-amz-json-1.0",
|
|
233
233
|
"x-amz-target": "NetworkFirewall_20201112.TagResource",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
|
-
export const
|
|
239
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.0",
|
|
242
242
|
"x-amz-target": "NetworkFirewall_20201112.UntagResource",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
export const
|
|
248
|
+
export const se_UpdateFirewallDeleteProtectionCommand = async (input, context) => {
|
|
249
249
|
const headers = {
|
|
250
250
|
"content-type": "application/x-amz-json-1.0",
|
|
251
251
|
"x-amz-target": "NetworkFirewall_20201112.UpdateFirewallDeleteProtection",
|
|
252
252
|
};
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(se_UpdateFirewallDeleteProtectionRequest(input, context));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
|
-
export const
|
|
257
|
+
export const se_UpdateFirewallDescriptionCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-amz-json-1.0",
|
|
260
260
|
"x-amz-target": "NetworkFirewall_20201112.UpdateFirewallDescription",
|
|
261
261
|
};
|
|
262
262
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
263
|
+
body = JSON.stringify(se_UpdateFirewallDescriptionRequest(input, context));
|
|
264
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
265
|
};
|
|
266
|
-
export const
|
|
266
|
+
export const se_UpdateFirewallEncryptionConfigurationCommand = async (input, context) => {
|
|
267
267
|
const headers = {
|
|
268
268
|
"content-type": "application/x-amz-json-1.0",
|
|
269
269
|
"x-amz-target": "NetworkFirewall_20201112.UpdateFirewallEncryptionConfiguration",
|
|
270
270
|
};
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(se_UpdateFirewallEncryptionConfigurationRequest(input, context));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
|
-
export const
|
|
275
|
+
export const se_UpdateFirewallPolicyCommand = async (input, context) => {
|
|
276
276
|
const headers = {
|
|
277
277
|
"content-type": "application/x-amz-json-1.0",
|
|
278
278
|
"x-amz-target": "NetworkFirewall_20201112.UpdateFirewallPolicy",
|
|
279
279
|
};
|
|
280
280
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
281
|
+
body = JSON.stringify(se_UpdateFirewallPolicyRequest(input, context));
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
284
|
-
export const
|
|
284
|
+
export const se_UpdateFirewallPolicyChangeProtectionCommand = async (input, context) => {
|
|
285
285
|
const headers = {
|
|
286
286
|
"content-type": "application/x-amz-json-1.0",
|
|
287
287
|
"x-amz-target": "NetworkFirewall_20201112.UpdateFirewallPolicyChangeProtection",
|
|
288
288
|
};
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(se_UpdateFirewallPolicyChangeProtectionRequest(input, context));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
|
-
export const
|
|
293
|
+
export const se_UpdateLoggingConfigurationCommand = async (input, context) => {
|
|
294
294
|
const headers = {
|
|
295
295
|
"content-type": "application/x-amz-json-1.0",
|
|
296
296
|
"x-amz-target": "NetworkFirewall_20201112.UpdateLoggingConfiguration",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify(se_UpdateLoggingConfigurationRequest(input, context));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
|
-
export const
|
|
302
|
+
export const se_UpdateRuleGroupCommand = async (input, context) => {
|
|
303
303
|
const headers = {
|
|
304
304
|
"content-type": "application/x-amz-json-1.0",
|
|
305
305
|
"x-amz-target": "NetworkFirewall_20201112.UpdateRuleGroup",
|
|
306
306
|
};
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(se_UpdateRuleGroupRequest(input, context));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
|
-
export const
|
|
311
|
+
export const se_UpdateSubnetChangeProtectionCommand = async (input, context) => {
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/x-amz-json-1.0",
|
|
314
314
|
"x-amz-target": "NetworkFirewall_20201112.UpdateSubnetChangeProtection",
|
|
315
315
|
};
|
|
316
316
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
317
|
+
body = JSON.stringify(se_UpdateSubnetChangeProtectionRequest(input, context));
|
|
318
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
319
|
};
|
|
320
|
-
export const
|
|
320
|
+
export const se_UpdateTLSInspectionConfigurationCommand = async (input, context) => {
|
|
321
321
|
const headers = {
|
|
322
322
|
"content-type": "application/x-amz-json-1.0",
|
|
323
323
|
"x-amz-target": "NetworkFirewall_20201112.UpdateTLSInspectionConfiguration",
|
|
324
324
|
};
|
|
325
325
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(se_UpdateTLSInspectionConfigurationRequest(input, context));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
|
-
export const
|
|
329
|
+
export const de_AssociateFirewallPolicyCommand = async (output, context) => {
|
|
330
330
|
if (output.statusCode >= 300) {
|
|
331
|
-
return
|
|
331
|
+
return de_AssociateFirewallPolicyCommandError(output, context);
|
|
332
332
|
}
|
|
333
333
|
const data = await parseBody(output.body, context);
|
|
334
334
|
let contents = {};
|
|
335
|
-
contents =
|
|
335
|
+
contents = de_AssociateFirewallPolicyResponse(data, context);
|
|
336
336
|
const response = {
|
|
337
337
|
$metadata: deserializeMetadata(output),
|
|
338
338
|
...contents,
|
|
339
339
|
};
|
|
340
340
|
return Promise.resolve(response);
|
|
341
341
|
};
|
|
342
|
-
const
|
|
342
|
+
const de_AssociateFirewallPolicyCommandError = async (output, context) => {
|
|
343
343
|
const parsedOutput = {
|
|
344
344
|
...output,
|
|
345
345
|
body: await parseErrorBody(output.body, context),
|
|
@@ -348,22 +348,22 @@ const deserializeAws_json1_0AssociateFirewallPolicyCommandError = async (output,
|
|
|
348
348
|
switch (errorCode) {
|
|
349
349
|
case "InternalServerError":
|
|
350
350
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
351
|
-
throw await
|
|
351
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
352
352
|
case "InvalidOperationException":
|
|
353
353
|
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
354
|
-
throw await
|
|
354
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
355
355
|
case "InvalidRequestException":
|
|
356
356
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
357
|
-
throw await
|
|
357
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
358
358
|
case "InvalidTokenException":
|
|
359
359
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
360
|
-
throw await
|
|
360
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
361
361
|
case "ResourceNotFoundException":
|
|
362
362
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
363
|
-
throw await
|
|
363
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
364
364
|
case "ThrottlingException":
|
|
365
365
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
366
|
-
throw await
|
|
366
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
367
367
|
default:
|
|
368
368
|
const parsedBody = parsedOutput.body;
|
|
369
369
|
throwDefaultError({
|
|
@@ -374,20 +374,20 @@ const deserializeAws_json1_0AssociateFirewallPolicyCommandError = async (output,
|
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
376
|
};
|
|
377
|
-
export const
|
|
377
|
+
export const de_AssociateSubnetsCommand = async (output, context) => {
|
|
378
378
|
if (output.statusCode >= 300) {
|
|
379
|
-
return
|
|
379
|
+
return de_AssociateSubnetsCommandError(output, context);
|
|
380
380
|
}
|
|
381
381
|
const data = await parseBody(output.body, context);
|
|
382
382
|
let contents = {};
|
|
383
|
-
contents =
|
|
383
|
+
contents = de_AssociateSubnetsResponse(data, context);
|
|
384
384
|
const response = {
|
|
385
385
|
$metadata: deserializeMetadata(output),
|
|
386
386
|
...contents,
|
|
387
387
|
};
|
|
388
388
|
return Promise.resolve(response);
|
|
389
389
|
};
|
|
390
|
-
const
|
|
390
|
+
const de_AssociateSubnetsCommandError = async (output, context) => {
|
|
391
391
|
const parsedOutput = {
|
|
392
392
|
...output,
|
|
393
393
|
body: await parseErrorBody(output.body, context),
|
|
@@ -396,25 +396,25 @@ const deserializeAws_json1_0AssociateSubnetsCommandError = async (output, contex
|
|
|
396
396
|
switch (errorCode) {
|
|
397
397
|
case "InsufficientCapacityException":
|
|
398
398
|
case "com.amazonaws.networkfirewall#InsufficientCapacityException":
|
|
399
|
-
throw await
|
|
399
|
+
throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
|
|
400
400
|
case "InternalServerError":
|
|
401
401
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
402
|
-
throw await
|
|
402
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
403
403
|
case "InvalidOperationException":
|
|
404
404
|
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
405
|
-
throw await
|
|
405
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
406
406
|
case "InvalidRequestException":
|
|
407
407
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
408
|
-
throw await
|
|
408
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
409
409
|
case "InvalidTokenException":
|
|
410
410
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
411
|
-
throw await
|
|
411
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
412
412
|
case "ResourceNotFoundException":
|
|
413
413
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
414
|
-
throw await
|
|
414
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
415
415
|
case "ThrottlingException":
|
|
416
416
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
417
|
-
throw await
|
|
417
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
418
418
|
default:
|
|
419
419
|
const parsedBody = parsedOutput.body;
|
|
420
420
|
throwDefaultError({
|
|
@@ -425,20 +425,20 @@ const deserializeAws_json1_0AssociateSubnetsCommandError = async (output, contex
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
|
-
export const
|
|
428
|
+
export const de_CreateFirewallCommand = async (output, context) => {
|
|
429
429
|
if (output.statusCode >= 300) {
|
|
430
|
-
return
|
|
430
|
+
return de_CreateFirewallCommandError(output, context);
|
|
431
431
|
}
|
|
432
432
|
const data = await parseBody(output.body, context);
|
|
433
433
|
let contents = {};
|
|
434
|
-
contents =
|
|
434
|
+
contents = de_CreateFirewallResponse(data, context);
|
|
435
435
|
const response = {
|
|
436
436
|
$metadata: deserializeMetadata(output),
|
|
437
437
|
...contents,
|
|
438
438
|
};
|
|
439
439
|
return Promise.resolve(response);
|
|
440
440
|
};
|
|
441
|
-
const
|
|
441
|
+
const de_CreateFirewallCommandError = async (output, context) => {
|
|
442
442
|
const parsedOutput = {
|
|
443
443
|
...output,
|
|
444
444
|
body: await parseErrorBody(output.body, context),
|
|
@@ -447,22 +447,22 @@ const deserializeAws_json1_0CreateFirewallCommandError = async (output, context)
|
|
|
447
447
|
switch (errorCode) {
|
|
448
448
|
case "InsufficientCapacityException":
|
|
449
449
|
case "com.amazonaws.networkfirewall#InsufficientCapacityException":
|
|
450
|
-
throw await
|
|
450
|
+
throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
|
|
451
451
|
case "InternalServerError":
|
|
452
452
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
453
|
-
throw await
|
|
453
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
454
454
|
case "InvalidOperationException":
|
|
455
455
|
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
456
|
-
throw await
|
|
456
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
457
457
|
case "InvalidRequestException":
|
|
458
458
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
459
|
-
throw await
|
|
459
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
460
460
|
case "LimitExceededException":
|
|
461
461
|
case "com.amazonaws.networkfirewall#LimitExceededException":
|
|
462
|
-
throw await
|
|
462
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
463
463
|
case "ThrottlingException":
|
|
464
464
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
465
|
-
throw await
|
|
465
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
466
466
|
default:
|
|
467
467
|
const parsedBody = parsedOutput.body;
|
|
468
468
|
throwDefaultError({
|
|
@@ -473,20 +473,20 @@ const deserializeAws_json1_0CreateFirewallCommandError = async (output, context)
|
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
|
-
export const
|
|
476
|
+
export const de_CreateFirewallPolicyCommand = async (output, context) => {
|
|
477
477
|
if (output.statusCode >= 300) {
|
|
478
|
-
return
|
|
478
|
+
return de_CreateFirewallPolicyCommandError(output, context);
|
|
479
479
|
}
|
|
480
480
|
const data = await parseBody(output.body, context);
|
|
481
481
|
let contents = {};
|
|
482
|
-
contents =
|
|
482
|
+
contents = de_CreateFirewallPolicyResponse(data, context);
|
|
483
483
|
const response = {
|
|
484
484
|
$metadata: deserializeMetadata(output),
|
|
485
485
|
...contents,
|
|
486
486
|
};
|
|
487
487
|
return Promise.resolve(response);
|
|
488
488
|
};
|
|
489
|
-
const
|
|
489
|
+
const de_CreateFirewallPolicyCommandError = async (output, context) => {
|
|
490
490
|
const parsedOutput = {
|
|
491
491
|
...output,
|
|
492
492
|
body: await parseErrorBody(output.body, context),
|
|
@@ -495,19 +495,19 @@ const deserializeAws_json1_0CreateFirewallPolicyCommandError = async (output, co
|
|
|
495
495
|
switch (errorCode) {
|
|
496
496
|
case "InsufficientCapacityException":
|
|
497
497
|
case "com.amazonaws.networkfirewall#InsufficientCapacityException":
|
|
498
|
-
throw await
|
|
498
|
+
throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
|
|
499
499
|
case "InternalServerError":
|
|
500
500
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
501
|
-
throw await
|
|
501
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
502
502
|
case "InvalidRequestException":
|
|
503
503
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
504
|
-
throw await
|
|
504
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
505
505
|
case "LimitExceededException":
|
|
506
506
|
case "com.amazonaws.networkfirewall#LimitExceededException":
|
|
507
|
-
throw await
|
|
507
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
508
508
|
case "ThrottlingException":
|
|
509
509
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
510
|
-
throw await
|
|
510
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
511
511
|
default:
|
|
512
512
|
const parsedBody = parsedOutput.body;
|
|
513
513
|
throwDefaultError({
|
|
@@ -518,20 +518,20 @@ const deserializeAws_json1_0CreateFirewallPolicyCommandError = async (output, co
|
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
520
|
};
|
|
521
|
-
export const
|
|
521
|
+
export const de_CreateRuleGroupCommand = async (output, context) => {
|
|
522
522
|
if (output.statusCode >= 300) {
|
|
523
|
-
return
|
|
523
|
+
return de_CreateRuleGroupCommandError(output, context);
|
|
524
524
|
}
|
|
525
525
|
const data = await parseBody(output.body, context);
|
|
526
526
|
let contents = {};
|
|
527
|
-
contents =
|
|
527
|
+
contents = de_CreateRuleGroupResponse(data, context);
|
|
528
528
|
const response = {
|
|
529
529
|
$metadata: deserializeMetadata(output),
|
|
530
530
|
...contents,
|
|
531
531
|
};
|
|
532
532
|
return Promise.resolve(response);
|
|
533
533
|
};
|
|
534
|
-
const
|
|
534
|
+
const de_CreateRuleGroupCommandError = async (output, context) => {
|
|
535
535
|
const parsedOutput = {
|
|
536
536
|
...output,
|
|
537
537
|
body: await parseErrorBody(output.body, context),
|
|
@@ -540,19 +540,19 @@ const deserializeAws_json1_0CreateRuleGroupCommandError = async (output, context
|
|
|
540
540
|
switch (errorCode) {
|
|
541
541
|
case "InsufficientCapacityException":
|
|
542
542
|
case "com.amazonaws.networkfirewall#InsufficientCapacityException":
|
|
543
|
-
throw await
|
|
543
|
+
throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
|
|
544
544
|
case "InternalServerError":
|
|
545
545
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
546
|
-
throw await
|
|
546
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
547
547
|
case "InvalidRequestException":
|
|
548
548
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
549
|
-
throw await
|
|
549
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
550
550
|
case "LimitExceededException":
|
|
551
551
|
case "com.amazonaws.networkfirewall#LimitExceededException":
|
|
552
|
-
throw await
|
|
552
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
553
553
|
case "ThrottlingException":
|
|
554
554
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
555
|
-
throw await
|
|
555
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
556
556
|
default:
|
|
557
557
|
const parsedBody = parsedOutput.body;
|
|
558
558
|
throwDefaultError({
|
|
@@ -563,20 +563,20 @@ const deserializeAws_json1_0CreateRuleGroupCommandError = async (output, context
|
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
|
-
export const
|
|
566
|
+
export const de_CreateTLSInspectionConfigurationCommand = async (output, context) => {
|
|
567
567
|
if (output.statusCode >= 300) {
|
|
568
|
-
return
|
|
568
|
+
return de_CreateTLSInspectionConfigurationCommandError(output, context);
|
|
569
569
|
}
|
|
570
570
|
const data = await parseBody(output.body, context);
|
|
571
571
|
let contents = {};
|
|
572
|
-
contents =
|
|
572
|
+
contents = de_CreateTLSInspectionConfigurationResponse(data, context);
|
|
573
573
|
const response = {
|
|
574
574
|
$metadata: deserializeMetadata(output),
|
|
575
575
|
...contents,
|
|
576
576
|
};
|
|
577
577
|
return Promise.resolve(response);
|
|
578
578
|
};
|
|
579
|
-
const
|
|
579
|
+
const de_CreateTLSInspectionConfigurationCommandError = async (output, context) => {
|
|
580
580
|
const parsedOutput = {
|
|
581
581
|
...output,
|
|
582
582
|
body: await parseErrorBody(output.body, context),
|
|
@@ -585,13 +585,13 @@ const deserializeAws_json1_0CreateTLSInspectionConfigurationCommandError = async
|
|
|
585
585
|
switch (errorCode) {
|
|
586
586
|
case "InternalServerError":
|
|
587
587
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
588
|
-
throw await
|
|
588
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
589
589
|
case "InvalidRequestException":
|
|
590
590
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
591
|
-
throw await
|
|
591
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
592
592
|
case "ThrottlingException":
|
|
593
593
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
594
|
-
throw await
|
|
594
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
595
595
|
default:
|
|
596
596
|
const parsedBody = parsedOutput.body;
|
|
597
597
|
throwDefaultError({
|
|
@@ -602,20 +602,20 @@ const deserializeAws_json1_0CreateTLSInspectionConfigurationCommandError = async
|
|
|
602
602
|
});
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
|
-
export const
|
|
605
|
+
export const de_DeleteFirewallCommand = async (output, context) => {
|
|
606
606
|
if (output.statusCode >= 300) {
|
|
607
|
-
return
|
|
607
|
+
return de_DeleteFirewallCommandError(output, context);
|
|
608
608
|
}
|
|
609
609
|
const data = await parseBody(output.body, context);
|
|
610
610
|
let contents = {};
|
|
611
|
-
contents =
|
|
611
|
+
contents = de_DeleteFirewallResponse(data, context);
|
|
612
612
|
const response = {
|
|
613
613
|
$metadata: deserializeMetadata(output),
|
|
614
614
|
...contents,
|
|
615
615
|
};
|
|
616
616
|
return Promise.resolve(response);
|
|
617
617
|
};
|
|
618
|
-
const
|
|
618
|
+
const de_DeleteFirewallCommandError = async (output, context) => {
|
|
619
619
|
const parsedOutput = {
|
|
620
620
|
...output,
|
|
621
621
|
body: await parseErrorBody(output.body, context),
|
|
@@ -624,22 +624,22 @@ const deserializeAws_json1_0DeleteFirewallCommandError = async (output, context)
|
|
|
624
624
|
switch (errorCode) {
|
|
625
625
|
case "InternalServerError":
|
|
626
626
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
627
|
-
throw await
|
|
627
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
628
628
|
case "InvalidOperationException":
|
|
629
629
|
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
630
|
-
throw await
|
|
630
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
631
631
|
case "InvalidRequestException":
|
|
632
632
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
633
|
-
throw await
|
|
633
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
634
634
|
case "ResourceNotFoundException":
|
|
635
635
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
636
|
-
throw await
|
|
636
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
637
637
|
case "ThrottlingException":
|
|
638
638
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
639
|
-
throw await
|
|
639
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
640
640
|
case "UnsupportedOperationException":
|
|
641
641
|
case "com.amazonaws.networkfirewall#UnsupportedOperationException":
|
|
642
|
-
throw await
|
|
642
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
643
643
|
default:
|
|
644
644
|
const parsedBody = parsedOutput.body;
|
|
645
645
|
throwDefaultError({
|
|
@@ -650,20 +650,20 @@ const deserializeAws_json1_0DeleteFirewallCommandError = async (output, context)
|
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
|
-
export const
|
|
653
|
+
export const de_DeleteFirewallPolicyCommand = async (output, context) => {
|
|
654
654
|
if (output.statusCode >= 300) {
|
|
655
|
-
return
|
|
655
|
+
return de_DeleteFirewallPolicyCommandError(output, context);
|
|
656
656
|
}
|
|
657
657
|
const data = await parseBody(output.body, context);
|
|
658
658
|
let contents = {};
|
|
659
|
-
contents =
|
|
659
|
+
contents = de_DeleteFirewallPolicyResponse(data, context);
|
|
660
660
|
const response = {
|
|
661
661
|
$metadata: deserializeMetadata(output),
|
|
662
662
|
...contents,
|
|
663
663
|
};
|
|
664
664
|
return Promise.resolve(response);
|
|
665
665
|
};
|
|
666
|
-
const
|
|
666
|
+
const de_DeleteFirewallPolicyCommandError = async (output, context) => {
|
|
667
667
|
const parsedOutput = {
|
|
668
668
|
...output,
|
|
669
669
|
body: await parseErrorBody(output.body, context),
|
|
@@ -672,22 +672,22 @@ const deserializeAws_json1_0DeleteFirewallPolicyCommandError = async (output, co
|
|
|
672
672
|
switch (errorCode) {
|
|
673
673
|
case "InternalServerError":
|
|
674
674
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
675
|
-
throw await
|
|
675
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
676
676
|
case "InvalidOperationException":
|
|
677
677
|
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
678
|
-
throw await
|
|
678
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
679
679
|
case "InvalidRequestException":
|
|
680
680
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
681
|
-
throw await
|
|
681
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
682
682
|
case "ResourceNotFoundException":
|
|
683
683
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
684
|
-
throw await
|
|
684
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
685
685
|
case "ThrottlingException":
|
|
686
686
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
687
|
-
throw await
|
|
687
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
688
688
|
case "UnsupportedOperationException":
|
|
689
689
|
case "com.amazonaws.networkfirewall#UnsupportedOperationException":
|
|
690
|
-
throw await
|
|
690
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
691
691
|
default:
|
|
692
692
|
const parsedBody = parsedOutput.body;
|
|
693
693
|
throwDefaultError({
|
|
@@ -698,20 +698,20 @@ const deserializeAws_json1_0DeleteFirewallPolicyCommandError = async (output, co
|
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
export const
|
|
701
|
+
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
702
702
|
if (output.statusCode >= 300) {
|
|
703
|
-
return
|
|
703
|
+
return de_DeleteResourcePolicyCommandError(output, context);
|
|
704
704
|
}
|
|
705
705
|
const data = await parseBody(output.body, context);
|
|
706
706
|
let contents = {};
|
|
707
|
-
contents =
|
|
707
|
+
contents = de_DeleteResourcePolicyResponse(data, context);
|
|
708
708
|
const response = {
|
|
709
709
|
$metadata: deserializeMetadata(output),
|
|
710
710
|
...contents,
|
|
711
711
|
};
|
|
712
712
|
return Promise.resolve(response);
|
|
713
713
|
};
|
|
714
|
-
const
|
|
714
|
+
const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
715
715
|
const parsedOutput = {
|
|
716
716
|
...output,
|
|
717
717
|
body: await parseErrorBody(output.body, context),
|
|
@@ -720,19 +720,19 @@ const deserializeAws_json1_0DeleteResourcePolicyCommandError = async (output, co
|
|
|
720
720
|
switch (errorCode) {
|
|
721
721
|
case "InternalServerError":
|
|
722
722
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
724
724
|
case "InvalidRequestException":
|
|
725
725
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
726
|
-
throw await
|
|
726
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
727
727
|
case "InvalidResourcePolicyException":
|
|
728
728
|
case "com.amazonaws.networkfirewall#InvalidResourcePolicyException":
|
|
729
|
-
throw await
|
|
729
|
+
throw await de_InvalidResourcePolicyExceptionRes(parsedOutput, context);
|
|
730
730
|
case "ResourceNotFoundException":
|
|
731
731
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
732
|
-
throw await
|
|
732
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
733
733
|
case "ThrottlingException":
|
|
734
734
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
735
|
-
throw await
|
|
735
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
736
736
|
default:
|
|
737
737
|
const parsedBody = parsedOutput.body;
|
|
738
738
|
throwDefaultError({
|
|
@@ -743,20 +743,20 @@ const deserializeAws_json1_0DeleteResourcePolicyCommandError = async (output, co
|
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
745
|
};
|
|
746
|
-
export const
|
|
746
|
+
export const de_DeleteRuleGroupCommand = async (output, context) => {
|
|
747
747
|
if (output.statusCode >= 300) {
|
|
748
|
-
return
|
|
748
|
+
return de_DeleteRuleGroupCommandError(output, context);
|
|
749
749
|
}
|
|
750
750
|
const data = await parseBody(output.body, context);
|
|
751
751
|
let contents = {};
|
|
752
|
-
contents =
|
|
752
|
+
contents = de_DeleteRuleGroupResponse(data, context);
|
|
753
753
|
const response = {
|
|
754
754
|
$metadata: deserializeMetadata(output),
|
|
755
755
|
...contents,
|
|
756
756
|
};
|
|
757
757
|
return Promise.resolve(response);
|
|
758
758
|
};
|
|
759
|
-
const
|
|
759
|
+
const de_DeleteRuleGroupCommandError = async (output, context) => {
|
|
760
760
|
const parsedOutput = {
|
|
761
761
|
...output,
|
|
762
762
|
body: await parseErrorBody(output.body, context),
|
|
@@ -765,22 +765,22 @@ const deserializeAws_json1_0DeleteRuleGroupCommandError = async (output, context
|
|
|
765
765
|
switch (errorCode) {
|
|
766
766
|
case "InternalServerError":
|
|
767
767
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
768
|
-
throw await
|
|
768
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
769
769
|
case "InvalidOperationException":
|
|
770
770
|
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
771
|
-
throw await
|
|
771
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
772
772
|
case "InvalidRequestException":
|
|
773
773
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
774
|
-
throw await
|
|
774
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
775
775
|
case "ResourceNotFoundException":
|
|
776
776
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
777
|
-
throw await
|
|
777
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
778
778
|
case "ThrottlingException":
|
|
779
779
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
780
|
-
throw await
|
|
780
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
781
781
|
case "UnsupportedOperationException":
|
|
782
782
|
case "com.amazonaws.networkfirewall#UnsupportedOperationException":
|
|
783
|
-
throw await
|
|
783
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
784
784
|
default:
|
|
785
785
|
const parsedBody = parsedOutput.body;
|
|
786
786
|
throwDefaultError({
|
|
@@ -791,20 +791,20 @@ const deserializeAws_json1_0DeleteRuleGroupCommandError = async (output, context
|
|
|
791
791
|
});
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
|
-
export const
|
|
794
|
+
export const de_DeleteTLSInspectionConfigurationCommand = async (output, context) => {
|
|
795
795
|
if (output.statusCode >= 300) {
|
|
796
|
-
return
|
|
796
|
+
return de_DeleteTLSInspectionConfigurationCommandError(output, context);
|
|
797
797
|
}
|
|
798
798
|
const data = await parseBody(output.body, context);
|
|
799
799
|
let contents = {};
|
|
800
|
-
contents =
|
|
800
|
+
contents = de_DeleteTLSInspectionConfigurationResponse(data, context);
|
|
801
801
|
const response = {
|
|
802
802
|
$metadata: deserializeMetadata(output),
|
|
803
803
|
...contents,
|
|
804
804
|
};
|
|
805
805
|
return Promise.resolve(response);
|
|
806
806
|
};
|
|
807
|
-
const
|
|
807
|
+
const de_DeleteTLSInspectionConfigurationCommandError = async (output, context) => {
|
|
808
808
|
const parsedOutput = {
|
|
809
809
|
...output,
|
|
810
810
|
body: await parseErrorBody(output.body, context),
|
|
@@ -813,19 +813,19 @@ const deserializeAws_json1_0DeleteTLSInspectionConfigurationCommandError = async
|
|
|
813
813
|
switch (errorCode) {
|
|
814
814
|
case "InternalServerError":
|
|
815
815
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
816
|
-
throw await
|
|
816
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
817
817
|
case "InvalidOperationException":
|
|
818
818
|
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
820
820
|
case "InvalidRequestException":
|
|
821
821
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
822
|
-
throw await
|
|
822
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
823
823
|
case "ResourceNotFoundException":
|
|
824
824
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
825
|
-
throw await
|
|
825
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
826
826
|
case "ThrottlingException":
|
|
827
827
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
828
|
-
throw await
|
|
828
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
829
829
|
default:
|
|
830
830
|
const parsedBody = parsedOutput.body;
|
|
831
831
|
throwDefaultError({
|
|
@@ -836,20 +836,20 @@ const deserializeAws_json1_0DeleteTLSInspectionConfigurationCommandError = async
|
|
|
836
836
|
});
|
|
837
837
|
}
|
|
838
838
|
};
|
|
839
|
-
export const
|
|
839
|
+
export const de_DescribeFirewallCommand = async (output, context) => {
|
|
840
840
|
if (output.statusCode >= 300) {
|
|
841
|
-
return
|
|
841
|
+
return de_DescribeFirewallCommandError(output, context);
|
|
842
842
|
}
|
|
843
843
|
const data = await parseBody(output.body, context);
|
|
844
844
|
let contents = {};
|
|
845
|
-
contents =
|
|
845
|
+
contents = de_DescribeFirewallResponse(data, context);
|
|
846
846
|
const response = {
|
|
847
847
|
$metadata: deserializeMetadata(output),
|
|
848
848
|
...contents,
|
|
849
849
|
};
|
|
850
850
|
return Promise.resolve(response);
|
|
851
851
|
};
|
|
852
|
-
const
|
|
852
|
+
const de_DescribeFirewallCommandError = async (output, context) => {
|
|
853
853
|
const parsedOutput = {
|
|
854
854
|
...output,
|
|
855
855
|
body: await parseErrorBody(output.body, context),
|
|
@@ -858,16 +858,16 @@ const deserializeAws_json1_0DescribeFirewallCommandError = async (output, contex
|
|
|
858
858
|
switch (errorCode) {
|
|
859
859
|
case "InternalServerError":
|
|
860
860
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
862
862
|
case "InvalidRequestException":
|
|
863
863
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
864
|
-
throw await
|
|
864
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
865
865
|
case "ResourceNotFoundException":
|
|
866
866
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
867
|
-
throw await
|
|
867
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
868
868
|
case "ThrottlingException":
|
|
869
869
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
870
|
-
throw await
|
|
870
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
871
871
|
default:
|
|
872
872
|
const parsedBody = parsedOutput.body;
|
|
873
873
|
throwDefaultError({
|
|
@@ -878,20 +878,20 @@ const deserializeAws_json1_0DescribeFirewallCommandError = async (output, contex
|
|
|
878
878
|
});
|
|
879
879
|
}
|
|
880
880
|
};
|
|
881
|
-
export const
|
|
881
|
+
export const de_DescribeFirewallPolicyCommand = async (output, context) => {
|
|
882
882
|
if (output.statusCode >= 300) {
|
|
883
|
-
return
|
|
883
|
+
return de_DescribeFirewallPolicyCommandError(output, context);
|
|
884
884
|
}
|
|
885
885
|
const data = await parseBody(output.body, context);
|
|
886
886
|
let contents = {};
|
|
887
|
-
contents =
|
|
887
|
+
contents = de_DescribeFirewallPolicyResponse(data, context);
|
|
888
888
|
const response = {
|
|
889
889
|
$metadata: deserializeMetadata(output),
|
|
890
890
|
...contents,
|
|
891
891
|
};
|
|
892
892
|
return Promise.resolve(response);
|
|
893
893
|
};
|
|
894
|
-
const
|
|
894
|
+
const de_DescribeFirewallPolicyCommandError = async (output, context) => {
|
|
895
895
|
const parsedOutput = {
|
|
896
896
|
...output,
|
|
897
897
|
body: await parseErrorBody(output.body, context),
|
|
@@ -900,16 +900,16 @@ const deserializeAws_json1_0DescribeFirewallPolicyCommandError = async (output,
|
|
|
900
900
|
switch (errorCode) {
|
|
901
901
|
case "InternalServerError":
|
|
902
902
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
904
904
|
case "InvalidRequestException":
|
|
905
905
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
906
|
-
throw await
|
|
906
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
907
907
|
case "ResourceNotFoundException":
|
|
908
908
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
909
|
-
throw await
|
|
909
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
910
910
|
case "ThrottlingException":
|
|
911
911
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
912
|
-
throw await
|
|
912
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
913
913
|
default:
|
|
914
914
|
const parsedBody = parsedOutput.body;
|
|
915
915
|
throwDefaultError({
|
|
@@ -920,20 +920,20 @@ const deserializeAws_json1_0DescribeFirewallPolicyCommandError = async (output,
|
|
|
920
920
|
});
|
|
921
921
|
}
|
|
922
922
|
};
|
|
923
|
-
export const
|
|
923
|
+
export const de_DescribeLoggingConfigurationCommand = async (output, context) => {
|
|
924
924
|
if (output.statusCode >= 300) {
|
|
925
|
-
return
|
|
925
|
+
return de_DescribeLoggingConfigurationCommandError(output, context);
|
|
926
926
|
}
|
|
927
927
|
const data = await parseBody(output.body, context);
|
|
928
928
|
let contents = {};
|
|
929
|
-
contents =
|
|
929
|
+
contents = de_DescribeLoggingConfigurationResponse(data, context);
|
|
930
930
|
const response = {
|
|
931
931
|
$metadata: deserializeMetadata(output),
|
|
932
932
|
...contents,
|
|
933
933
|
};
|
|
934
934
|
return Promise.resolve(response);
|
|
935
935
|
};
|
|
936
|
-
const
|
|
936
|
+
const de_DescribeLoggingConfigurationCommandError = async (output, context) => {
|
|
937
937
|
const parsedOutput = {
|
|
938
938
|
...output,
|
|
939
939
|
body: await parseErrorBody(output.body, context),
|
|
@@ -942,16 +942,16 @@ const deserializeAws_json1_0DescribeLoggingConfigurationCommandError = async (ou
|
|
|
942
942
|
switch (errorCode) {
|
|
943
943
|
case "InternalServerError":
|
|
944
944
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
945
|
-
throw await
|
|
945
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
946
946
|
case "InvalidRequestException":
|
|
947
947
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
948
|
-
throw await
|
|
948
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
949
949
|
case "ResourceNotFoundException":
|
|
950
950
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
951
|
-
throw await
|
|
951
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
952
952
|
case "ThrottlingException":
|
|
953
953
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
954
|
-
throw await
|
|
954
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
955
955
|
default:
|
|
956
956
|
const parsedBody = parsedOutput.body;
|
|
957
957
|
throwDefaultError({
|
|
@@ -962,20 +962,20 @@ const deserializeAws_json1_0DescribeLoggingConfigurationCommandError = async (ou
|
|
|
962
962
|
});
|
|
963
963
|
}
|
|
964
964
|
};
|
|
965
|
-
export const
|
|
965
|
+
export const de_DescribeResourcePolicyCommand = async (output, context) => {
|
|
966
966
|
if (output.statusCode >= 300) {
|
|
967
|
-
return
|
|
967
|
+
return de_DescribeResourcePolicyCommandError(output, context);
|
|
968
968
|
}
|
|
969
969
|
const data = await parseBody(output.body, context);
|
|
970
970
|
let contents = {};
|
|
971
|
-
contents =
|
|
971
|
+
contents = de_DescribeResourcePolicyResponse(data, context);
|
|
972
972
|
const response = {
|
|
973
973
|
$metadata: deserializeMetadata(output),
|
|
974
974
|
...contents,
|
|
975
975
|
};
|
|
976
976
|
return Promise.resolve(response);
|
|
977
977
|
};
|
|
978
|
-
const
|
|
978
|
+
const de_DescribeResourcePolicyCommandError = async (output, context) => {
|
|
979
979
|
const parsedOutput = {
|
|
980
980
|
...output,
|
|
981
981
|
body: await parseErrorBody(output.body, context),
|
|
@@ -984,16 +984,16 @@ const deserializeAws_json1_0DescribeResourcePolicyCommandError = async (output,
|
|
|
984
984
|
switch (errorCode) {
|
|
985
985
|
case "InternalServerError":
|
|
986
986
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
987
|
-
throw await
|
|
987
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
988
988
|
case "InvalidRequestException":
|
|
989
989
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
990
|
-
throw await
|
|
990
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
991
991
|
case "ResourceNotFoundException":
|
|
992
992
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
993
|
-
throw await
|
|
993
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
994
994
|
case "ThrottlingException":
|
|
995
995
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
996
|
-
throw await
|
|
996
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
997
997
|
default:
|
|
998
998
|
const parsedBody = parsedOutput.body;
|
|
999
999
|
throwDefaultError({
|
|
@@ -1004,20 +1004,20 @@ const deserializeAws_json1_0DescribeResourcePolicyCommandError = async (output,
|
|
|
1004
1004
|
});
|
|
1005
1005
|
}
|
|
1006
1006
|
};
|
|
1007
|
-
export const
|
|
1007
|
+
export const de_DescribeRuleGroupCommand = async (output, context) => {
|
|
1008
1008
|
if (output.statusCode >= 300) {
|
|
1009
|
-
return
|
|
1009
|
+
return de_DescribeRuleGroupCommandError(output, context);
|
|
1010
1010
|
}
|
|
1011
1011
|
const data = await parseBody(output.body, context);
|
|
1012
1012
|
let contents = {};
|
|
1013
|
-
contents =
|
|
1013
|
+
contents = de_DescribeRuleGroupResponse(data, context);
|
|
1014
1014
|
const response = {
|
|
1015
1015
|
$metadata: deserializeMetadata(output),
|
|
1016
1016
|
...contents,
|
|
1017
1017
|
};
|
|
1018
1018
|
return Promise.resolve(response);
|
|
1019
1019
|
};
|
|
1020
|
-
const
|
|
1020
|
+
const de_DescribeRuleGroupCommandError = async (output, context) => {
|
|
1021
1021
|
const parsedOutput = {
|
|
1022
1022
|
...output,
|
|
1023
1023
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1026,16 +1026,16 @@ const deserializeAws_json1_0DescribeRuleGroupCommandError = async (output, conte
|
|
|
1026
1026
|
switch (errorCode) {
|
|
1027
1027
|
case "InternalServerError":
|
|
1028
1028
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1029
|
-
throw await
|
|
1029
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1030
1030
|
case "InvalidRequestException":
|
|
1031
1031
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1032
|
-
throw await
|
|
1032
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1033
1033
|
case "ResourceNotFoundException":
|
|
1034
1034
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1035
|
-
throw await
|
|
1035
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1036
1036
|
case "ThrottlingException":
|
|
1037
1037
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1038
|
-
throw await
|
|
1038
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1039
1039
|
default:
|
|
1040
1040
|
const parsedBody = parsedOutput.body;
|
|
1041
1041
|
throwDefaultError({
|
|
@@ -1046,20 +1046,20 @@ const deserializeAws_json1_0DescribeRuleGroupCommandError = async (output, conte
|
|
|
1046
1046
|
});
|
|
1047
1047
|
}
|
|
1048
1048
|
};
|
|
1049
|
-
export const
|
|
1049
|
+
export const de_DescribeRuleGroupMetadataCommand = async (output, context) => {
|
|
1050
1050
|
if (output.statusCode >= 300) {
|
|
1051
|
-
return
|
|
1051
|
+
return de_DescribeRuleGroupMetadataCommandError(output, context);
|
|
1052
1052
|
}
|
|
1053
1053
|
const data = await parseBody(output.body, context);
|
|
1054
1054
|
let contents = {};
|
|
1055
|
-
contents =
|
|
1055
|
+
contents = de_DescribeRuleGroupMetadataResponse(data, context);
|
|
1056
1056
|
const response = {
|
|
1057
1057
|
$metadata: deserializeMetadata(output),
|
|
1058
1058
|
...contents,
|
|
1059
1059
|
};
|
|
1060
1060
|
return Promise.resolve(response);
|
|
1061
1061
|
};
|
|
1062
|
-
const
|
|
1062
|
+
const de_DescribeRuleGroupMetadataCommandError = async (output, context) => {
|
|
1063
1063
|
const parsedOutput = {
|
|
1064
1064
|
...output,
|
|
1065
1065
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1068,16 +1068,16 @@ const deserializeAws_json1_0DescribeRuleGroupMetadataCommandError = async (outpu
|
|
|
1068
1068
|
switch (errorCode) {
|
|
1069
1069
|
case "InternalServerError":
|
|
1070
1070
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1071
|
-
throw await
|
|
1071
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1072
1072
|
case "InvalidRequestException":
|
|
1073
1073
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1074
|
-
throw await
|
|
1074
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1075
1075
|
case "ResourceNotFoundException":
|
|
1076
1076
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1077
|
-
throw await
|
|
1077
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1078
1078
|
case "ThrottlingException":
|
|
1079
1079
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1080
|
-
throw await
|
|
1080
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1081
1081
|
default:
|
|
1082
1082
|
const parsedBody = parsedOutput.body;
|
|
1083
1083
|
throwDefaultError({
|
|
@@ -1088,20 +1088,20 @@ const deserializeAws_json1_0DescribeRuleGroupMetadataCommandError = async (outpu
|
|
|
1088
1088
|
});
|
|
1089
1089
|
}
|
|
1090
1090
|
};
|
|
1091
|
-
export const
|
|
1091
|
+
export const de_DescribeTLSInspectionConfigurationCommand = async (output, context) => {
|
|
1092
1092
|
if (output.statusCode >= 300) {
|
|
1093
|
-
return
|
|
1093
|
+
return de_DescribeTLSInspectionConfigurationCommandError(output, context);
|
|
1094
1094
|
}
|
|
1095
1095
|
const data = await parseBody(output.body, context);
|
|
1096
1096
|
let contents = {};
|
|
1097
|
-
contents =
|
|
1097
|
+
contents = de_DescribeTLSInspectionConfigurationResponse(data, context);
|
|
1098
1098
|
const response = {
|
|
1099
1099
|
$metadata: deserializeMetadata(output),
|
|
1100
1100
|
...contents,
|
|
1101
1101
|
};
|
|
1102
1102
|
return Promise.resolve(response);
|
|
1103
1103
|
};
|
|
1104
|
-
const
|
|
1104
|
+
const de_DescribeTLSInspectionConfigurationCommandError = async (output, context) => {
|
|
1105
1105
|
const parsedOutput = {
|
|
1106
1106
|
...output,
|
|
1107
1107
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1110,16 +1110,16 @@ const deserializeAws_json1_0DescribeTLSInspectionConfigurationCommandError = asy
|
|
|
1110
1110
|
switch (errorCode) {
|
|
1111
1111
|
case "InternalServerError":
|
|
1112
1112
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1113
|
-
throw await
|
|
1113
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1114
1114
|
case "InvalidRequestException":
|
|
1115
1115
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1116
|
-
throw await
|
|
1116
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1117
1117
|
case "ResourceNotFoundException":
|
|
1118
1118
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1119
|
-
throw await
|
|
1119
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1120
1120
|
case "ThrottlingException":
|
|
1121
1121
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1122
|
-
throw await
|
|
1122
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1123
1123
|
default:
|
|
1124
1124
|
const parsedBody = parsedOutput.body;
|
|
1125
1125
|
throwDefaultError({
|
|
@@ -1130,20 +1130,20 @@ const deserializeAws_json1_0DescribeTLSInspectionConfigurationCommandError = asy
|
|
|
1130
1130
|
});
|
|
1131
1131
|
}
|
|
1132
1132
|
};
|
|
1133
|
-
export const
|
|
1133
|
+
export const de_DisassociateSubnetsCommand = async (output, context) => {
|
|
1134
1134
|
if (output.statusCode >= 300) {
|
|
1135
|
-
return
|
|
1135
|
+
return de_DisassociateSubnetsCommandError(output, context);
|
|
1136
1136
|
}
|
|
1137
1137
|
const data = await parseBody(output.body, context);
|
|
1138
1138
|
let contents = {};
|
|
1139
|
-
contents =
|
|
1139
|
+
contents = de_DisassociateSubnetsResponse(data, context);
|
|
1140
1140
|
const response = {
|
|
1141
1141
|
$metadata: deserializeMetadata(output),
|
|
1142
1142
|
...contents,
|
|
1143
1143
|
};
|
|
1144
1144
|
return Promise.resolve(response);
|
|
1145
1145
|
};
|
|
1146
|
-
const
|
|
1146
|
+
const de_DisassociateSubnetsCommandError = async (output, context) => {
|
|
1147
1147
|
const parsedOutput = {
|
|
1148
1148
|
...output,
|
|
1149
1149
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1152,22 +1152,22 @@ const deserializeAws_json1_0DisassociateSubnetsCommandError = async (output, con
|
|
|
1152
1152
|
switch (errorCode) {
|
|
1153
1153
|
case "InternalServerError":
|
|
1154
1154
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1155
|
-
throw await
|
|
1155
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1156
1156
|
case "InvalidOperationException":
|
|
1157
1157
|
case "com.amazonaws.networkfirewall#InvalidOperationException":
|
|
1158
|
-
throw await
|
|
1158
|
+
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
1159
1159
|
case "InvalidRequestException":
|
|
1160
1160
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1161
|
-
throw await
|
|
1161
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1162
1162
|
case "InvalidTokenException":
|
|
1163
1163
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1164
|
-
throw await
|
|
1164
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1165
1165
|
case "ResourceNotFoundException":
|
|
1166
1166
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1167
|
-
throw await
|
|
1167
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1168
1168
|
case "ThrottlingException":
|
|
1169
1169
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1170
|
-
throw await
|
|
1170
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1171
1171
|
default:
|
|
1172
1172
|
const parsedBody = parsedOutput.body;
|
|
1173
1173
|
throwDefaultError({
|
|
@@ -1178,20 +1178,20 @@ const deserializeAws_json1_0DisassociateSubnetsCommandError = async (output, con
|
|
|
1178
1178
|
});
|
|
1179
1179
|
}
|
|
1180
1180
|
};
|
|
1181
|
-
export const
|
|
1181
|
+
export const de_ListFirewallPoliciesCommand = async (output, context) => {
|
|
1182
1182
|
if (output.statusCode >= 300) {
|
|
1183
|
-
return
|
|
1183
|
+
return de_ListFirewallPoliciesCommandError(output, context);
|
|
1184
1184
|
}
|
|
1185
1185
|
const data = await parseBody(output.body, context);
|
|
1186
1186
|
let contents = {};
|
|
1187
|
-
contents =
|
|
1187
|
+
contents = de_ListFirewallPoliciesResponse(data, context);
|
|
1188
1188
|
const response = {
|
|
1189
1189
|
$metadata: deserializeMetadata(output),
|
|
1190
1190
|
...contents,
|
|
1191
1191
|
};
|
|
1192
1192
|
return Promise.resolve(response);
|
|
1193
1193
|
};
|
|
1194
|
-
const
|
|
1194
|
+
const de_ListFirewallPoliciesCommandError = async (output, context) => {
|
|
1195
1195
|
const parsedOutput = {
|
|
1196
1196
|
...output,
|
|
1197
1197
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1200,13 +1200,13 @@ const deserializeAws_json1_0ListFirewallPoliciesCommandError = async (output, co
|
|
|
1200
1200
|
switch (errorCode) {
|
|
1201
1201
|
case "InternalServerError":
|
|
1202
1202
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1203
|
-
throw await
|
|
1203
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1204
1204
|
case "InvalidRequestException":
|
|
1205
1205
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1206
|
-
throw await
|
|
1206
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1207
1207
|
case "ThrottlingException":
|
|
1208
1208
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1209
|
-
throw await
|
|
1209
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1210
1210
|
default:
|
|
1211
1211
|
const parsedBody = parsedOutput.body;
|
|
1212
1212
|
throwDefaultError({
|
|
@@ -1217,20 +1217,20 @@ const deserializeAws_json1_0ListFirewallPoliciesCommandError = async (output, co
|
|
|
1217
1217
|
});
|
|
1218
1218
|
}
|
|
1219
1219
|
};
|
|
1220
|
-
export const
|
|
1220
|
+
export const de_ListFirewallsCommand = async (output, context) => {
|
|
1221
1221
|
if (output.statusCode >= 300) {
|
|
1222
|
-
return
|
|
1222
|
+
return de_ListFirewallsCommandError(output, context);
|
|
1223
1223
|
}
|
|
1224
1224
|
const data = await parseBody(output.body, context);
|
|
1225
1225
|
let contents = {};
|
|
1226
|
-
contents =
|
|
1226
|
+
contents = de_ListFirewallsResponse(data, context);
|
|
1227
1227
|
const response = {
|
|
1228
1228
|
$metadata: deserializeMetadata(output),
|
|
1229
1229
|
...contents,
|
|
1230
1230
|
};
|
|
1231
1231
|
return Promise.resolve(response);
|
|
1232
1232
|
};
|
|
1233
|
-
const
|
|
1233
|
+
const de_ListFirewallsCommandError = async (output, context) => {
|
|
1234
1234
|
const parsedOutput = {
|
|
1235
1235
|
...output,
|
|
1236
1236
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1239,13 +1239,13 @@ const deserializeAws_json1_0ListFirewallsCommandError = async (output, context)
|
|
|
1239
1239
|
switch (errorCode) {
|
|
1240
1240
|
case "InternalServerError":
|
|
1241
1241
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1242
|
-
throw await
|
|
1242
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1243
1243
|
case "InvalidRequestException":
|
|
1244
1244
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1245
|
-
throw await
|
|
1245
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1246
1246
|
case "ThrottlingException":
|
|
1247
1247
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1248
|
-
throw await
|
|
1248
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1249
1249
|
default:
|
|
1250
1250
|
const parsedBody = parsedOutput.body;
|
|
1251
1251
|
throwDefaultError({
|
|
@@ -1256,20 +1256,20 @@ const deserializeAws_json1_0ListFirewallsCommandError = async (output, context)
|
|
|
1256
1256
|
});
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
|
-
export const
|
|
1259
|
+
export const de_ListRuleGroupsCommand = async (output, context) => {
|
|
1260
1260
|
if (output.statusCode >= 300) {
|
|
1261
|
-
return
|
|
1261
|
+
return de_ListRuleGroupsCommandError(output, context);
|
|
1262
1262
|
}
|
|
1263
1263
|
const data = await parseBody(output.body, context);
|
|
1264
1264
|
let contents = {};
|
|
1265
|
-
contents =
|
|
1265
|
+
contents = de_ListRuleGroupsResponse(data, context);
|
|
1266
1266
|
const response = {
|
|
1267
1267
|
$metadata: deserializeMetadata(output),
|
|
1268
1268
|
...contents,
|
|
1269
1269
|
};
|
|
1270
1270
|
return Promise.resolve(response);
|
|
1271
1271
|
};
|
|
1272
|
-
const
|
|
1272
|
+
const de_ListRuleGroupsCommandError = async (output, context) => {
|
|
1273
1273
|
const parsedOutput = {
|
|
1274
1274
|
...output,
|
|
1275
1275
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1278,13 +1278,13 @@ const deserializeAws_json1_0ListRuleGroupsCommandError = async (output, context)
|
|
|
1278
1278
|
switch (errorCode) {
|
|
1279
1279
|
case "InternalServerError":
|
|
1280
1280
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1281
|
-
throw await
|
|
1281
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1282
1282
|
case "InvalidRequestException":
|
|
1283
1283
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1284
|
-
throw await
|
|
1284
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1285
1285
|
case "ThrottlingException":
|
|
1286
1286
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1287
|
-
throw await
|
|
1287
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1288
1288
|
default:
|
|
1289
1289
|
const parsedBody = parsedOutput.body;
|
|
1290
1290
|
throwDefaultError({
|
|
@@ -1295,20 +1295,20 @@ const deserializeAws_json1_0ListRuleGroupsCommandError = async (output, context)
|
|
|
1295
1295
|
});
|
|
1296
1296
|
}
|
|
1297
1297
|
};
|
|
1298
|
-
export const
|
|
1298
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1299
1299
|
if (output.statusCode >= 300) {
|
|
1300
|
-
return
|
|
1300
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1301
1301
|
}
|
|
1302
1302
|
const data = await parseBody(output.body, context);
|
|
1303
1303
|
let contents = {};
|
|
1304
|
-
contents =
|
|
1304
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1305
1305
|
const response = {
|
|
1306
1306
|
$metadata: deserializeMetadata(output),
|
|
1307
1307
|
...contents,
|
|
1308
1308
|
};
|
|
1309
1309
|
return Promise.resolve(response);
|
|
1310
1310
|
};
|
|
1311
|
-
const
|
|
1311
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1312
1312
|
const parsedOutput = {
|
|
1313
1313
|
...output,
|
|
1314
1314
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1317,16 +1317,16 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
1317
1317
|
switch (errorCode) {
|
|
1318
1318
|
case "InternalServerError":
|
|
1319
1319
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1320
|
-
throw await
|
|
1320
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1321
1321
|
case "InvalidRequestException":
|
|
1322
1322
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1323
|
-
throw await
|
|
1323
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1324
1324
|
case "ResourceNotFoundException":
|
|
1325
1325
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1326
|
-
throw await
|
|
1326
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1327
1327
|
case "ThrottlingException":
|
|
1328
1328
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1329
|
-
throw await
|
|
1329
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1330
1330
|
default:
|
|
1331
1331
|
const parsedBody = parsedOutput.body;
|
|
1332
1332
|
throwDefaultError({
|
|
@@ -1337,20 +1337,20 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
1337
1337
|
});
|
|
1338
1338
|
}
|
|
1339
1339
|
};
|
|
1340
|
-
export const
|
|
1340
|
+
export const de_ListTLSInspectionConfigurationsCommand = async (output, context) => {
|
|
1341
1341
|
if (output.statusCode >= 300) {
|
|
1342
|
-
return
|
|
1342
|
+
return de_ListTLSInspectionConfigurationsCommandError(output, context);
|
|
1343
1343
|
}
|
|
1344
1344
|
const data = await parseBody(output.body, context);
|
|
1345
1345
|
let contents = {};
|
|
1346
|
-
contents =
|
|
1346
|
+
contents = de_ListTLSInspectionConfigurationsResponse(data, context);
|
|
1347
1347
|
const response = {
|
|
1348
1348
|
$metadata: deserializeMetadata(output),
|
|
1349
1349
|
...contents,
|
|
1350
1350
|
};
|
|
1351
1351
|
return Promise.resolve(response);
|
|
1352
1352
|
};
|
|
1353
|
-
const
|
|
1353
|
+
const de_ListTLSInspectionConfigurationsCommandError = async (output, context) => {
|
|
1354
1354
|
const parsedOutput = {
|
|
1355
1355
|
...output,
|
|
1356
1356
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1359,13 +1359,13 @@ const deserializeAws_json1_0ListTLSInspectionConfigurationsCommandError = async
|
|
|
1359
1359
|
switch (errorCode) {
|
|
1360
1360
|
case "InternalServerError":
|
|
1361
1361
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1362
|
-
throw await
|
|
1362
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1363
1363
|
case "InvalidRequestException":
|
|
1364
1364
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1365
|
-
throw await
|
|
1365
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1366
1366
|
case "ThrottlingException":
|
|
1367
1367
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1368
|
-
throw await
|
|
1368
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1369
1369
|
default:
|
|
1370
1370
|
const parsedBody = parsedOutput.body;
|
|
1371
1371
|
throwDefaultError({
|
|
@@ -1376,20 +1376,20 @@ const deserializeAws_json1_0ListTLSInspectionConfigurationsCommandError = async
|
|
|
1376
1376
|
});
|
|
1377
1377
|
}
|
|
1378
1378
|
};
|
|
1379
|
-
export const
|
|
1379
|
+
export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
1380
1380
|
if (output.statusCode >= 300) {
|
|
1381
|
-
return
|
|
1381
|
+
return de_PutResourcePolicyCommandError(output, context);
|
|
1382
1382
|
}
|
|
1383
1383
|
const data = await parseBody(output.body, context);
|
|
1384
1384
|
let contents = {};
|
|
1385
|
-
contents =
|
|
1385
|
+
contents = de_PutResourcePolicyResponse(data, context);
|
|
1386
1386
|
const response = {
|
|
1387
1387
|
$metadata: deserializeMetadata(output),
|
|
1388
1388
|
...contents,
|
|
1389
1389
|
};
|
|
1390
1390
|
return Promise.resolve(response);
|
|
1391
1391
|
};
|
|
1392
|
-
const
|
|
1392
|
+
const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
1393
1393
|
const parsedOutput = {
|
|
1394
1394
|
...output,
|
|
1395
1395
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1398,19 +1398,19 @@ const deserializeAws_json1_0PutResourcePolicyCommandError = async (output, conte
|
|
|
1398
1398
|
switch (errorCode) {
|
|
1399
1399
|
case "InternalServerError":
|
|
1400
1400
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1401
|
-
throw await
|
|
1401
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1402
1402
|
case "InvalidRequestException":
|
|
1403
1403
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1404
|
-
throw await
|
|
1404
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1405
1405
|
case "InvalidResourcePolicyException":
|
|
1406
1406
|
case "com.amazonaws.networkfirewall#InvalidResourcePolicyException":
|
|
1407
|
-
throw await
|
|
1407
|
+
throw await de_InvalidResourcePolicyExceptionRes(parsedOutput, context);
|
|
1408
1408
|
case "ResourceNotFoundException":
|
|
1409
1409
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1410
|
-
throw await
|
|
1410
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1411
1411
|
case "ThrottlingException":
|
|
1412
1412
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1413
|
-
throw await
|
|
1413
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1414
1414
|
default:
|
|
1415
1415
|
const parsedBody = parsedOutput.body;
|
|
1416
1416
|
throwDefaultError({
|
|
@@ -1421,20 +1421,20 @@ const deserializeAws_json1_0PutResourcePolicyCommandError = async (output, conte
|
|
|
1421
1421
|
});
|
|
1422
1422
|
}
|
|
1423
1423
|
};
|
|
1424
|
-
export const
|
|
1424
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1425
1425
|
if (output.statusCode >= 300) {
|
|
1426
|
-
return
|
|
1426
|
+
return de_TagResourceCommandError(output, context);
|
|
1427
1427
|
}
|
|
1428
1428
|
const data = await parseBody(output.body, context);
|
|
1429
1429
|
let contents = {};
|
|
1430
|
-
contents =
|
|
1430
|
+
contents = de_TagResourceResponse(data, context);
|
|
1431
1431
|
const response = {
|
|
1432
1432
|
$metadata: deserializeMetadata(output),
|
|
1433
1433
|
...contents,
|
|
1434
1434
|
};
|
|
1435
1435
|
return Promise.resolve(response);
|
|
1436
1436
|
};
|
|
1437
|
-
const
|
|
1437
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1438
1438
|
const parsedOutput = {
|
|
1439
1439
|
...output,
|
|
1440
1440
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1443,16 +1443,16 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1443
1443
|
switch (errorCode) {
|
|
1444
1444
|
case "InternalServerError":
|
|
1445
1445
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1446
|
-
throw await
|
|
1446
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1447
1447
|
case "InvalidRequestException":
|
|
1448
1448
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1449
|
-
throw await
|
|
1449
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1450
1450
|
case "ResourceNotFoundException":
|
|
1451
1451
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1452
|
-
throw await
|
|
1452
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1453
1453
|
case "ThrottlingException":
|
|
1454
1454
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1455
|
-
throw await
|
|
1455
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1456
1456
|
default:
|
|
1457
1457
|
const parsedBody = parsedOutput.body;
|
|
1458
1458
|
throwDefaultError({
|
|
@@ -1463,20 +1463,20 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
1463
1463
|
});
|
|
1464
1464
|
}
|
|
1465
1465
|
};
|
|
1466
|
-
export const
|
|
1466
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1467
1467
|
if (output.statusCode >= 300) {
|
|
1468
|
-
return
|
|
1468
|
+
return de_UntagResourceCommandError(output, context);
|
|
1469
1469
|
}
|
|
1470
1470
|
const data = await parseBody(output.body, context);
|
|
1471
1471
|
let contents = {};
|
|
1472
|
-
contents =
|
|
1472
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1473
1473
|
const response = {
|
|
1474
1474
|
$metadata: deserializeMetadata(output),
|
|
1475
1475
|
...contents,
|
|
1476
1476
|
};
|
|
1477
1477
|
return Promise.resolve(response);
|
|
1478
1478
|
};
|
|
1479
|
-
const
|
|
1479
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1480
1480
|
const parsedOutput = {
|
|
1481
1481
|
...output,
|
|
1482
1482
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1485,16 +1485,16 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1485
1485
|
switch (errorCode) {
|
|
1486
1486
|
case "InternalServerError":
|
|
1487
1487
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1488
|
-
throw await
|
|
1488
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1489
1489
|
case "InvalidRequestException":
|
|
1490
1490
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1491
|
-
throw await
|
|
1491
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1492
1492
|
case "ResourceNotFoundException":
|
|
1493
1493
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1494
|
-
throw await
|
|
1494
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1495
1495
|
case "ThrottlingException":
|
|
1496
1496
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1497
|
-
throw await
|
|
1497
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1498
1498
|
default:
|
|
1499
1499
|
const parsedBody = parsedOutput.body;
|
|
1500
1500
|
throwDefaultError({
|
|
@@ -1505,20 +1505,20 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
1505
1505
|
});
|
|
1506
1506
|
}
|
|
1507
1507
|
};
|
|
1508
|
-
export const
|
|
1508
|
+
export const de_UpdateFirewallDeleteProtectionCommand = async (output, context) => {
|
|
1509
1509
|
if (output.statusCode >= 300) {
|
|
1510
|
-
return
|
|
1510
|
+
return de_UpdateFirewallDeleteProtectionCommandError(output, context);
|
|
1511
1511
|
}
|
|
1512
1512
|
const data = await parseBody(output.body, context);
|
|
1513
1513
|
let contents = {};
|
|
1514
|
-
contents =
|
|
1514
|
+
contents = de_UpdateFirewallDeleteProtectionResponse(data, context);
|
|
1515
1515
|
const response = {
|
|
1516
1516
|
$metadata: deserializeMetadata(output),
|
|
1517
1517
|
...contents,
|
|
1518
1518
|
};
|
|
1519
1519
|
return Promise.resolve(response);
|
|
1520
1520
|
};
|
|
1521
|
-
const
|
|
1521
|
+
const de_UpdateFirewallDeleteProtectionCommandError = async (output, context) => {
|
|
1522
1522
|
const parsedOutput = {
|
|
1523
1523
|
...output,
|
|
1524
1524
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1527,22 +1527,22 @@ const deserializeAws_json1_0UpdateFirewallDeleteProtectionCommandError = async (
|
|
|
1527
1527
|
switch (errorCode) {
|
|
1528
1528
|
case "InternalServerError":
|
|
1529
1529
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1530
|
-
throw await
|
|
1530
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1531
1531
|
case "InvalidRequestException":
|
|
1532
1532
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1533
|
-
throw await
|
|
1533
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1534
1534
|
case "InvalidTokenException":
|
|
1535
1535
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1536
|
-
throw await
|
|
1536
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1537
1537
|
case "ResourceNotFoundException":
|
|
1538
1538
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1539
|
-
throw await
|
|
1539
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1540
1540
|
case "ResourceOwnerCheckException":
|
|
1541
1541
|
case "com.amazonaws.networkfirewall#ResourceOwnerCheckException":
|
|
1542
|
-
throw await
|
|
1542
|
+
throw await de_ResourceOwnerCheckExceptionRes(parsedOutput, context);
|
|
1543
1543
|
case "ThrottlingException":
|
|
1544
1544
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1545
|
-
throw await
|
|
1545
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1546
1546
|
default:
|
|
1547
1547
|
const parsedBody = parsedOutput.body;
|
|
1548
1548
|
throwDefaultError({
|
|
@@ -1553,20 +1553,20 @@ const deserializeAws_json1_0UpdateFirewallDeleteProtectionCommandError = async (
|
|
|
1553
1553
|
});
|
|
1554
1554
|
}
|
|
1555
1555
|
};
|
|
1556
|
-
export const
|
|
1556
|
+
export const de_UpdateFirewallDescriptionCommand = async (output, context) => {
|
|
1557
1557
|
if (output.statusCode >= 300) {
|
|
1558
|
-
return
|
|
1558
|
+
return de_UpdateFirewallDescriptionCommandError(output, context);
|
|
1559
1559
|
}
|
|
1560
1560
|
const data = await parseBody(output.body, context);
|
|
1561
1561
|
let contents = {};
|
|
1562
|
-
contents =
|
|
1562
|
+
contents = de_UpdateFirewallDescriptionResponse(data, context);
|
|
1563
1563
|
const response = {
|
|
1564
1564
|
$metadata: deserializeMetadata(output),
|
|
1565
1565
|
...contents,
|
|
1566
1566
|
};
|
|
1567
1567
|
return Promise.resolve(response);
|
|
1568
1568
|
};
|
|
1569
|
-
const
|
|
1569
|
+
const de_UpdateFirewallDescriptionCommandError = async (output, context) => {
|
|
1570
1570
|
const parsedOutput = {
|
|
1571
1571
|
...output,
|
|
1572
1572
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1575,19 +1575,19 @@ const deserializeAws_json1_0UpdateFirewallDescriptionCommandError = async (outpu
|
|
|
1575
1575
|
switch (errorCode) {
|
|
1576
1576
|
case "InternalServerError":
|
|
1577
1577
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1578
|
-
throw await
|
|
1578
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1579
1579
|
case "InvalidRequestException":
|
|
1580
1580
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1581
|
-
throw await
|
|
1581
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1582
1582
|
case "InvalidTokenException":
|
|
1583
1583
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1584
|
-
throw await
|
|
1584
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1585
1585
|
case "ResourceNotFoundException":
|
|
1586
1586
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1587
|
-
throw await
|
|
1587
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1588
1588
|
case "ThrottlingException":
|
|
1589
1589
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1590
|
-
throw await
|
|
1590
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1591
1591
|
default:
|
|
1592
1592
|
const parsedBody = parsedOutput.body;
|
|
1593
1593
|
throwDefaultError({
|
|
@@ -1598,20 +1598,20 @@ const deserializeAws_json1_0UpdateFirewallDescriptionCommandError = async (outpu
|
|
|
1598
1598
|
});
|
|
1599
1599
|
}
|
|
1600
1600
|
};
|
|
1601
|
-
export const
|
|
1601
|
+
export const de_UpdateFirewallEncryptionConfigurationCommand = async (output, context) => {
|
|
1602
1602
|
if (output.statusCode >= 300) {
|
|
1603
|
-
return
|
|
1603
|
+
return de_UpdateFirewallEncryptionConfigurationCommandError(output, context);
|
|
1604
1604
|
}
|
|
1605
1605
|
const data = await parseBody(output.body, context);
|
|
1606
1606
|
let contents = {};
|
|
1607
|
-
contents =
|
|
1607
|
+
contents = de_UpdateFirewallEncryptionConfigurationResponse(data, context);
|
|
1608
1608
|
const response = {
|
|
1609
1609
|
$metadata: deserializeMetadata(output),
|
|
1610
1610
|
...contents,
|
|
1611
1611
|
};
|
|
1612
1612
|
return Promise.resolve(response);
|
|
1613
1613
|
};
|
|
1614
|
-
const
|
|
1614
|
+
const de_UpdateFirewallEncryptionConfigurationCommandError = async (output, context) => {
|
|
1615
1615
|
const parsedOutput = {
|
|
1616
1616
|
...output,
|
|
1617
1617
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1620,22 +1620,22 @@ const deserializeAws_json1_0UpdateFirewallEncryptionConfigurationCommandError =
|
|
|
1620
1620
|
switch (errorCode) {
|
|
1621
1621
|
case "InternalServerError":
|
|
1622
1622
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1623
|
-
throw await
|
|
1623
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1624
1624
|
case "InvalidRequestException":
|
|
1625
1625
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1626
|
-
throw await
|
|
1626
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1627
1627
|
case "InvalidTokenException":
|
|
1628
1628
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1629
|
-
throw await
|
|
1629
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1630
1630
|
case "ResourceNotFoundException":
|
|
1631
1631
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1632
|
-
throw await
|
|
1632
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1633
1633
|
case "ResourceOwnerCheckException":
|
|
1634
1634
|
case "com.amazonaws.networkfirewall#ResourceOwnerCheckException":
|
|
1635
|
-
throw await
|
|
1635
|
+
throw await de_ResourceOwnerCheckExceptionRes(parsedOutput, context);
|
|
1636
1636
|
case "ThrottlingException":
|
|
1637
1637
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1638
|
-
throw await
|
|
1638
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1639
1639
|
default:
|
|
1640
1640
|
const parsedBody = parsedOutput.body;
|
|
1641
1641
|
throwDefaultError({
|
|
@@ -1646,20 +1646,20 @@ const deserializeAws_json1_0UpdateFirewallEncryptionConfigurationCommandError =
|
|
|
1646
1646
|
});
|
|
1647
1647
|
}
|
|
1648
1648
|
};
|
|
1649
|
-
export const
|
|
1649
|
+
export const de_UpdateFirewallPolicyCommand = async (output, context) => {
|
|
1650
1650
|
if (output.statusCode >= 300) {
|
|
1651
|
-
return
|
|
1651
|
+
return de_UpdateFirewallPolicyCommandError(output, context);
|
|
1652
1652
|
}
|
|
1653
1653
|
const data = await parseBody(output.body, context);
|
|
1654
1654
|
let contents = {};
|
|
1655
|
-
contents =
|
|
1655
|
+
contents = de_UpdateFirewallPolicyResponse(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
|
-
const
|
|
1662
|
+
const de_UpdateFirewallPolicyCommandError = async (output, context) => {
|
|
1663
1663
|
const parsedOutput = {
|
|
1664
1664
|
...output,
|
|
1665
1665
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1668,19 +1668,19 @@ const deserializeAws_json1_0UpdateFirewallPolicyCommandError = async (output, co
|
|
|
1668
1668
|
switch (errorCode) {
|
|
1669
1669
|
case "InternalServerError":
|
|
1670
1670
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1671
|
-
throw await
|
|
1671
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1672
1672
|
case "InvalidRequestException":
|
|
1673
1673
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1674
|
-
throw await
|
|
1674
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1675
1675
|
case "InvalidTokenException":
|
|
1676
1676
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1677
|
-
throw await
|
|
1677
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1678
1678
|
case "ResourceNotFoundException":
|
|
1679
1679
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1680
|
-
throw await
|
|
1680
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1681
1681
|
case "ThrottlingException":
|
|
1682
1682
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1683
|
-
throw await
|
|
1683
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1684
1684
|
default:
|
|
1685
1685
|
const parsedBody = parsedOutput.body;
|
|
1686
1686
|
throwDefaultError({
|
|
@@ -1691,20 +1691,20 @@ const deserializeAws_json1_0UpdateFirewallPolicyCommandError = async (output, co
|
|
|
1691
1691
|
});
|
|
1692
1692
|
}
|
|
1693
1693
|
};
|
|
1694
|
-
export const
|
|
1694
|
+
export const de_UpdateFirewallPolicyChangeProtectionCommand = async (output, context) => {
|
|
1695
1695
|
if (output.statusCode >= 300) {
|
|
1696
|
-
return
|
|
1696
|
+
return de_UpdateFirewallPolicyChangeProtectionCommandError(output, context);
|
|
1697
1697
|
}
|
|
1698
1698
|
const data = await parseBody(output.body, context);
|
|
1699
1699
|
let contents = {};
|
|
1700
|
-
contents =
|
|
1700
|
+
contents = de_UpdateFirewallPolicyChangeProtectionResponse(data, context);
|
|
1701
1701
|
const response = {
|
|
1702
1702
|
$metadata: deserializeMetadata(output),
|
|
1703
1703
|
...contents,
|
|
1704
1704
|
};
|
|
1705
1705
|
return Promise.resolve(response);
|
|
1706
1706
|
};
|
|
1707
|
-
const
|
|
1707
|
+
const de_UpdateFirewallPolicyChangeProtectionCommandError = async (output, context) => {
|
|
1708
1708
|
const parsedOutput = {
|
|
1709
1709
|
...output,
|
|
1710
1710
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1713,22 +1713,22 @@ const deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommandError = a
|
|
|
1713
1713
|
switch (errorCode) {
|
|
1714
1714
|
case "InternalServerError":
|
|
1715
1715
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1716
|
-
throw await
|
|
1716
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1717
1717
|
case "InvalidRequestException":
|
|
1718
1718
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1719
|
-
throw await
|
|
1719
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1720
1720
|
case "InvalidTokenException":
|
|
1721
1721
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1722
|
-
throw await
|
|
1722
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1723
1723
|
case "ResourceNotFoundException":
|
|
1724
1724
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1725
|
-
throw await
|
|
1725
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1726
1726
|
case "ResourceOwnerCheckException":
|
|
1727
1727
|
case "com.amazonaws.networkfirewall#ResourceOwnerCheckException":
|
|
1728
|
-
throw await
|
|
1728
|
+
throw await de_ResourceOwnerCheckExceptionRes(parsedOutput, context);
|
|
1729
1729
|
case "ThrottlingException":
|
|
1730
1730
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1731
|
-
throw await
|
|
1731
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1732
1732
|
default:
|
|
1733
1733
|
const parsedBody = parsedOutput.body;
|
|
1734
1734
|
throwDefaultError({
|
|
@@ -1739,20 +1739,20 @@ const deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommandError = a
|
|
|
1739
1739
|
});
|
|
1740
1740
|
}
|
|
1741
1741
|
};
|
|
1742
|
-
export const
|
|
1742
|
+
export const de_UpdateLoggingConfigurationCommand = async (output, context) => {
|
|
1743
1743
|
if (output.statusCode >= 300) {
|
|
1744
|
-
return
|
|
1744
|
+
return de_UpdateLoggingConfigurationCommandError(output, context);
|
|
1745
1745
|
}
|
|
1746
1746
|
const data = await parseBody(output.body, context);
|
|
1747
1747
|
let contents = {};
|
|
1748
|
-
contents =
|
|
1748
|
+
contents = de_UpdateLoggingConfigurationResponse(data, context);
|
|
1749
1749
|
const response = {
|
|
1750
1750
|
$metadata: deserializeMetadata(output),
|
|
1751
1751
|
...contents,
|
|
1752
1752
|
};
|
|
1753
1753
|
return Promise.resolve(response);
|
|
1754
1754
|
};
|
|
1755
|
-
const
|
|
1755
|
+
const de_UpdateLoggingConfigurationCommandError = async (output, context) => {
|
|
1756
1756
|
const parsedOutput = {
|
|
1757
1757
|
...output,
|
|
1758
1758
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1761,22 +1761,22 @@ const deserializeAws_json1_0UpdateLoggingConfigurationCommandError = async (outp
|
|
|
1761
1761
|
switch (errorCode) {
|
|
1762
1762
|
case "InternalServerError":
|
|
1763
1763
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1764
|
-
throw await
|
|
1764
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1765
1765
|
case "InvalidRequestException":
|
|
1766
1766
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1767
|
-
throw await
|
|
1767
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1768
1768
|
case "InvalidTokenException":
|
|
1769
1769
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1770
|
-
throw await
|
|
1770
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1771
1771
|
case "LogDestinationPermissionException":
|
|
1772
1772
|
case "com.amazonaws.networkfirewall#LogDestinationPermissionException":
|
|
1773
|
-
throw await
|
|
1773
|
+
throw await de_LogDestinationPermissionExceptionRes(parsedOutput, context);
|
|
1774
1774
|
case "ResourceNotFoundException":
|
|
1775
1775
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1776
|
-
throw await
|
|
1776
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1777
1777
|
case "ThrottlingException":
|
|
1778
1778
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1779
|
-
throw await
|
|
1779
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1780
1780
|
default:
|
|
1781
1781
|
const parsedBody = parsedOutput.body;
|
|
1782
1782
|
throwDefaultError({
|
|
@@ -1787,20 +1787,20 @@ const deserializeAws_json1_0UpdateLoggingConfigurationCommandError = async (outp
|
|
|
1787
1787
|
});
|
|
1788
1788
|
}
|
|
1789
1789
|
};
|
|
1790
|
-
export const
|
|
1790
|
+
export const de_UpdateRuleGroupCommand = async (output, context) => {
|
|
1791
1791
|
if (output.statusCode >= 300) {
|
|
1792
|
-
return
|
|
1792
|
+
return de_UpdateRuleGroupCommandError(output, context);
|
|
1793
1793
|
}
|
|
1794
1794
|
const data = await parseBody(output.body, context);
|
|
1795
1795
|
let contents = {};
|
|
1796
|
-
contents =
|
|
1796
|
+
contents = de_UpdateRuleGroupResponse(data, context);
|
|
1797
1797
|
const response = {
|
|
1798
1798
|
$metadata: deserializeMetadata(output),
|
|
1799
1799
|
...contents,
|
|
1800
1800
|
};
|
|
1801
1801
|
return Promise.resolve(response);
|
|
1802
1802
|
};
|
|
1803
|
-
const
|
|
1803
|
+
const de_UpdateRuleGroupCommandError = async (output, context) => {
|
|
1804
1804
|
const parsedOutput = {
|
|
1805
1805
|
...output,
|
|
1806
1806
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1809,19 +1809,19 @@ const deserializeAws_json1_0UpdateRuleGroupCommandError = async (output, context
|
|
|
1809
1809
|
switch (errorCode) {
|
|
1810
1810
|
case "InternalServerError":
|
|
1811
1811
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1812
|
-
throw await
|
|
1812
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1813
1813
|
case "InvalidRequestException":
|
|
1814
1814
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1815
|
-
throw await
|
|
1815
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1816
1816
|
case "InvalidTokenException":
|
|
1817
1817
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1818
|
-
throw await
|
|
1818
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1819
1819
|
case "ResourceNotFoundException":
|
|
1820
1820
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1821
|
-
throw await
|
|
1821
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1822
1822
|
case "ThrottlingException":
|
|
1823
1823
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1824
|
-
throw await
|
|
1824
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1825
1825
|
default:
|
|
1826
1826
|
const parsedBody = parsedOutput.body;
|
|
1827
1827
|
throwDefaultError({
|
|
@@ -1832,20 +1832,20 @@ const deserializeAws_json1_0UpdateRuleGroupCommandError = async (output, context
|
|
|
1832
1832
|
});
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
|
-
export const
|
|
1835
|
+
export const de_UpdateSubnetChangeProtectionCommand = async (output, context) => {
|
|
1836
1836
|
if (output.statusCode >= 300) {
|
|
1837
|
-
return
|
|
1837
|
+
return de_UpdateSubnetChangeProtectionCommandError(output, context);
|
|
1838
1838
|
}
|
|
1839
1839
|
const data = await parseBody(output.body, context);
|
|
1840
1840
|
let contents = {};
|
|
1841
|
-
contents =
|
|
1841
|
+
contents = de_UpdateSubnetChangeProtectionResponse(data, context);
|
|
1842
1842
|
const response = {
|
|
1843
1843
|
$metadata: deserializeMetadata(output),
|
|
1844
1844
|
...contents,
|
|
1845
1845
|
};
|
|
1846
1846
|
return Promise.resolve(response);
|
|
1847
1847
|
};
|
|
1848
|
-
const
|
|
1848
|
+
const de_UpdateSubnetChangeProtectionCommandError = async (output, context) => {
|
|
1849
1849
|
const parsedOutput = {
|
|
1850
1850
|
...output,
|
|
1851
1851
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1854,22 +1854,22 @@ const deserializeAws_json1_0UpdateSubnetChangeProtectionCommandError = async (ou
|
|
|
1854
1854
|
switch (errorCode) {
|
|
1855
1855
|
case "InternalServerError":
|
|
1856
1856
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1857
|
-
throw await
|
|
1857
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1858
1858
|
case "InvalidRequestException":
|
|
1859
1859
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1860
|
-
throw await
|
|
1860
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1861
1861
|
case "InvalidTokenException":
|
|
1862
1862
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1863
|
-
throw await
|
|
1863
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1864
1864
|
case "ResourceNotFoundException":
|
|
1865
1865
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1866
|
-
throw await
|
|
1866
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1867
1867
|
case "ResourceOwnerCheckException":
|
|
1868
1868
|
case "com.amazonaws.networkfirewall#ResourceOwnerCheckException":
|
|
1869
|
-
throw await
|
|
1869
|
+
throw await de_ResourceOwnerCheckExceptionRes(parsedOutput, context);
|
|
1870
1870
|
case "ThrottlingException":
|
|
1871
1871
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1872
|
-
throw await
|
|
1872
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1873
1873
|
default:
|
|
1874
1874
|
const parsedBody = parsedOutput.body;
|
|
1875
1875
|
throwDefaultError({
|
|
@@ -1880,20 +1880,20 @@ const deserializeAws_json1_0UpdateSubnetChangeProtectionCommandError = async (ou
|
|
|
1880
1880
|
});
|
|
1881
1881
|
}
|
|
1882
1882
|
};
|
|
1883
|
-
export const
|
|
1883
|
+
export const de_UpdateTLSInspectionConfigurationCommand = async (output, context) => {
|
|
1884
1884
|
if (output.statusCode >= 300) {
|
|
1885
|
-
return
|
|
1885
|
+
return de_UpdateTLSInspectionConfigurationCommandError(output, context);
|
|
1886
1886
|
}
|
|
1887
1887
|
const data = await parseBody(output.body, context);
|
|
1888
1888
|
let contents = {};
|
|
1889
|
-
contents =
|
|
1889
|
+
contents = de_UpdateTLSInspectionConfigurationResponse(data, context);
|
|
1890
1890
|
const response = {
|
|
1891
1891
|
$metadata: deserializeMetadata(output),
|
|
1892
1892
|
...contents,
|
|
1893
1893
|
};
|
|
1894
1894
|
return Promise.resolve(response);
|
|
1895
1895
|
};
|
|
1896
|
-
const
|
|
1896
|
+
const de_UpdateTLSInspectionConfigurationCommandError = async (output, context) => {
|
|
1897
1897
|
const parsedOutput = {
|
|
1898
1898
|
...output,
|
|
1899
1899
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1902,19 +1902,19 @@ const deserializeAws_json1_0UpdateTLSInspectionConfigurationCommandError = async
|
|
|
1902
1902
|
switch (errorCode) {
|
|
1903
1903
|
case "InternalServerError":
|
|
1904
1904
|
case "com.amazonaws.networkfirewall#InternalServerError":
|
|
1905
|
-
throw await
|
|
1905
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1906
1906
|
case "InvalidRequestException":
|
|
1907
1907
|
case "com.amazonaws.networkfirewall#InvalidRequestException":
|
|
1908
|
-
throw await
|
|
1908
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1909
1909
|
case "InvalidTokenException":
|
|
1910
1910
|
case "com.amazonaws.networkfirewall#InvalidTokenException":
|
|
1911
|
-
throw await
|
|
1911
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1912
1912
|
case "ResourceNotFoundException":
|
|
1913
1913
|
case "com.amazonaws.networkfirewall#ResourceNotFoundException":
|
|
1914
|
-
throw await
|
|
1914
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1915
1915
|
case "ThrottlingException":
|
|
1916
1916
|
case "com.amazonaws.networkfirewall#ThrottlingException":
|
|
1917
|
-
throw await
|
|
1917
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1918
1918
|
default:
|
|
1919
1919
|
const parsedBody = parsedOutput.body;
|
|
1920
1920
|
throwDefaultError({
|
|
@@ -1925,134 +1925,134 @@ const deserializeAws_json1_0UpdateTLSInspectionConfigurationCommandError = async
|
|
|
1925
1925
|
});
|
|
1926
1926
|
}
|
|
1927
1927
|
};
|
|
1928
|
-
const
|
|
1928
|
+
const de_InsufficientCapacityExceptionRes = async (parsedOutput, context) => {
|
|
1929
1929
|
const body = parsedOutput.body;
|
|
1930
|
-
const deserialized =
|
|
1930
|
+
const deserialized = de_InsufficientCapacityException(body, context);
|
|
1931
1931
|
const exception = new InsufficientCapacityException({
|
|
1932
1932
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1933
1933
|
...deserialized,
|
|
1934
1934
|
});
|
|
1935
1935
|
return __decorateServiceException(exception, body);
|
|
1936
1936
|
};
|
|
1937
|
-
const
|
|
1937
|
+
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
1938
1938
|
const body = parsedOutput.body;
|
|
1939
|
-
const deserialized =
|
|
1939
|
+
const deserialized = de_InternalServerError(body, context);
|
|
1940
1940
|
const exception = new InternalServerError({
|
|
1941
1941
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1942
1942
|
...deserialized,
|
|
1943
1943
|
});
|
|
1944
1944
|
return __decorateServiceException(exception, body);
|
|
1945
1945
|
};
|
|
1946
|
-
const
|
|
1946
|
+
const de_InvalidOperationExceptionRes = async (parsedOutput, context) => {
|
|
1947
1947
|
const body = parsedOutput.body;
|
|
1948
|
-
const deserialized =
|
|
1948
|
+
const deserialized = de_InvalidOperationException(body, context);
|
|
1949
1949
|
const exception = new InvalidOperationException({
|
|
1950
1950
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1951
1951
|
...deserialized,
|
|
1952
1952
|
});
|
|
1953
1953
|
return __decorateServiceException(exception, body);
|
|
1954
1954
|
};
|
|
1955
|
-
const
|
|
1955
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1956
1956
|
const body = parsedOutput.body;
|
|
1957
|
-
const deserialized =
|
|
1957
|
+
const deserialized = de_InvalidRequestException(body, context);
|
|
1958
1958
|
const exception = new InvalidRequestException({
|
|
1959
1959
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1960
1960
|
...deserialized,
|
|
1961
1961
|
});
|
|
1962
1962
|
return __decorateServiceException(exception, body);
|
|
1963
1963
|
};
|
|
1964
|
-
const
|
|
1964
|
+
const de_InvalidResourcePolicyExceptionRes = async (parsedOutput, context) => {
|
|
1965
1965
|
const body = parsedOutput.body;
|
|
1966
|
-
const deserialized =
|
|
1966
|
+
const deserialized = de_InvalidResourcePolicyException(body, context);
|
|
1967
1967
|
const exception = new InvalidResourcePolicyException({
|
|
1968
1968
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1969
1969
|
...deserialized,
|
|
1970
1970
|
});
|
|
1971
1971
|
return __decorateServiceException(exception, body);
|
|
1972
1972
|
};
|
|
1973
|
-
const
|
|
1973
|
+
const de_InvalidTokenExceptionRes = async (parsedOutput, context) => {
|
|
1974
1974
|
const body = parsedOutput.body;
|
|
1975
|
-
const deserialized =
|
|
1975
|
+
const deserialized = de_InvalidTokenException(body, context);
|
|
1976
1976
|
const exception = new InvalidTokenException({
|
|
1977
1977
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1978
1978
|
...deserialized,
|
|
1979
1979
|
});
|
|
1980
1980
|
return __decorateServiceException(exception, body);
|
|
1981
1981
|
};
|
|
1982
|
-
const
|
|
1982
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1983
1983
|
const body = parsedOutput.body;
|
|
1984
|
-
const deserialized =
|
|
1984
|
+
const deserialized = de_LimitExceededException(body, context);
|
|
1985
1985
|
const exception = new LimitExceededException({
|
|
1986
1986
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1987
1987
|
...deserialized,
|
|
1988
1988
|
});
|
|
1989
1989
|
return __decorateServiceException(exception, body);
|
|
1990
1990
|
};
|
|
1991
|
-
const
|
|
1991
|
+
const de_LogDestinationPermissionExceptionRes = async (parsedOutput, context) => {
|
|
1992
1992
|
const body = parsedOutput.body;
|
|
1993
|
-
const deserialized =
|
|
1993
|
+
const deserialized = de_LogDestinationPermissionException(body, context);
|
|
1994
1994
|
const exception = new LogDestinationPermissionException({
|
|
1995
1995
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1996
1996
|
...deserialized,
|
|
1997
1997
|
});
|
|
1998
1998
|
return __decorateServiceException(exception, body);
|
|
1999
1999
|
};
|
|
2000
|
-
const
|
|
2000
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2001
2001
|
const body = parsedOutput.body;
|
|
2002
|
-
const deserialized =
|
|
2002
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
2003
2003
|
const exception = new ResourceNotFoundException({
|
|
2004
2004
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2005
2005
|
...deserialized,
|
|
2006
2006
|
});
|
|
2007
2007
|
return __decorateServiceException(exception, body);
|
|
2008
2008
|
};
|
|
2009
|
-
const
|
|
2009
|
+
const de_ResourceOwnerCheckExceptionRes = async (parsedOutput, context) => {
|
|
2010
2010
|
const body = parsedOutput.body;
|
|
2011
|
-
const deserialized =
|
|
2011
|
+
const deserialized = de_ResourceOwnerCheckException(body, context);
|
|
2012
2012
|
const exception = new ResourceOwnerCheckException({
|
|
2013
2013
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2014
2014
|
...deserialized,
|
|
2015
2015
|
});
|
|
2016
2016
|
return __decorateServiceException(exception, body);
|
|
2017
2017
|
};
|
|
2018
|
-
const
|
|
2018
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2019
2019
|
const body = parsedOutput.body;
|
|
2020
|
-
const deserialized =
|
|
2020
|
+
const deserialized = de_ThrottlingException(body, context);
|
|
2021
2021
|
const exception = new ThrottlingException({
|
|
2022
2022
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2023
2023
|
...deserialized,
|
|
2024
2024
|
});
|
|
2025
2025
|
return __decorateServiceException(exception, body);
|
|
2026
2026
|
};
|
|
2027
|
-
const
|
|
2027
|
+
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
2028
2028
|
const body = parsedOutput.body;
|
|
2029
|
-
const deserialized =
|
|
2029
|
+
const deserialized = de_UnsupportedOperationException(body, context);
|
|
2030
2030
|
const exception = new UnsupportedOperationException({
|
|
2031
2031
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2032
2032
|
...deserialized,
|
|
2033
2033
|
});
|
|
2034
2034
|
return __decorateServiceException(exception, body);
|
|
2035
2035
|
};
|
|
2036
|
-
const
|
|
2036
|
+
const se_ActionDefinition = (input, context) => {
|
|
2037
2037
|
return {
|
|
2038
2038
|
...(input.PublishMetricAction != null && {
|
|
2039
|
-
PublishMetricAction:
|
|
2039
|
+
PublishMetricAction: se_PublishMetricAction(input.PublishMetricAction, context),
|
|
2040
2040
|
}),
|
|
2041
2041
|
};
|
|
2042
2042
|
};
|
|
2043
|
-
const
|
|
2043
|
+
const se_Address = (input, context) => {
|
|
2044
2044
|
return {
|
|
2045
2045
|
...(input.AddressDefinition != null && { AddressDefinition: input.AddressDefinition }),
|
|
2046
2046
|
};
|
|
2047
2047
|
};
|
|
2048
|
-
const
|
|
2048
|
+
const se_Addresses = (input, context) => {
|
|
2049
2049
|
return input
|
|
2050
2050
|
.filter((e) => e != null)
|
|
2051
2051
|
.map((entry) => {
|
|
2052
|
-
return
|
|
2052
|
+
return se_Address(entry, context);
|
|
2053
2053
|
});
|
|
2054
2054
|
};
|
|
2055
|
-
const
|
|
2055
|
+
const se_AssociateFirewallPolicyRequest = (input, context) => {
|
|
2056
2056
|
return {
|
|
2057
2057
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2058
2058
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
@@ -2060,43 +2060,39 @@ const serializeAws_json1_0AssociateFirewallPolicyRequest = (input, context) => {
|
|
|
2060
2060
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2061
2061
|
};
|
|
2062
2062
|
};
|
|
2063
|
-
const
|
|
2063
|
+
const se_AssociateSubnetsRequest = (input, context) => {
|
|
2064
2064
|
return {
|
|
2065
2065
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2066
2066
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
2067
|
-
...(input.SubnetMappings != null && {
|
|
2068
|
-
SubnetMappings: serializeAws_json1_0SubnetMappings(input.SubnetMappings, context),
|
|
2069
|
-
}),
|
|
2067
|
+
...(input.SubnetMappings != null && { SubnetMappings: se_SubnetMappings(input.SubnetMappings, context) }),
|
|
2070
2068
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2071
2069
|
};
|
|
2072
2070
|
};
|
|
2073
|
-
const
|
|
2071
|
+
const se_AzSubnets = (input, context) => {
|
|
2074
2072
|
return input
|
|
2075
2073
|
.filter((e) => e != null)
|
|
2076
2074
|
.map((entry) => {
|
|
2077
2075
|
return entry;
|
|
2078
2076
|
});
|
|
2079
2077
|
};
|
|
2080
|
-
const
|
|
2078
|
+
const se_CreateFirewallPolicyRequest = (input, context) => {
|
|
2081
2079
|
return {
|
|
2082
2080
|
...(input.Description != null && { Description: input.Description }),
|
|
2083
2081
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
2084
2082
|
...(input.EncryptionConfiguration != null && {
|
|
2085
|
-
EncryptionConfiguration:
|
|
2086
|
-
}),
|
|
2087
|
-
...(input.FirewallPolicy != null && {
|
|
2088
|
-
FirewallPolicy: serializeAws_json1_0FirewallPolicy(input.FirewallPolicy, context),
|
|
2083
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2089
2084
|
}),
|
|
2085
|
+
...(input.FirewallPolicy != null && { FirewallPolicy: se_FirewallPolicy(input.FirewallPolicy, context) }),
|
|
2090
2086
|
...(input.FirewallPolicyName != null && { FirewallPolicyName: input.FirewallPolicyName }),
|
|
2091
|
-
...(input.Tags != null && { Tags:
|
|
2087
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2092
2088
|
};
|
|
2093
2089
|
};
|
|
2094
|
-
const
|
|
2090
|
+
const se_CreateFirewallRequest = (input, context) => {
|
|
2095
2091
|
return {
|
|
2096
2092
|
...(input.DeleteProtection != null && { DeleteProtection: input.DeleteProtection }),
|
|
2097
2093
|
...(input.Description != null && { Description: input.Description }),
|
|
2098
2094
|
...(input.EncryptionConfiguration != null && {
|
|
2099
|
-
EncryptionConfiguration:
|
|
2095
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2100
2096
|
}),
|
|
2101
2097
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
2102
2098
|
...(input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn }),
|
|
@@ -2104,86 +2100,80 @@ const serializeAws_json1_0CreateFirewallRequest = (input, context) => {
|
|
|
2104
2100
|
FirewallPolicyChangeProtection: input.FirewallPolicyChangeProtection,
|
|
2105
2101
|
}),
|
|
2106
2102
|
...(input.SubnetChangeProtection != null && { SubnetChangeProtection: input.SubnetChangeProtection }),
|
|
2107
|
-
...(input.SubnetMappings != null && {
|
|
2108
|
-
|
|
2109
|
-
}),
|
|
2110
|
-
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
2103
|
+
...(input.SubnetMappings != null && { SubnetMappings: se_SubnetMappings(input.SubnetMappings, context) }),
|
|
2104
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2111
2105
|
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
2112
2106
|
};
|
|
2113
2107
|
};
|
|
2114
|
-
const
|
|
2108
|
+
const se_CreateRuleGroupRequest = (input, context) => {
|
|
2115
2109
|
return {
|
|
2116
2110
|
...(input.Capacity != null && { Capacity: input.Capacity }),
|
|
2117
2111
|
...(input.Description != null && { Description: input.Description }),
|
|
2118
2112
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
2119
2113
|
...(input.EncryptionConfiguration != null && {
|
|
2120
|
-
EncryptionConfiguration:
|
|
2114
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2121
2115
|
}),
|
|
2122
|
-
...(input.RuleGroup != null && { RuleGroup:
|
|
2116
|
+
...(input.RuleGroup != null && { RuleGroup: se_RuleGroup(input.RuleGroup, context) }),
|
|
2123
2117
|
...(input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName }),
|
|
2124
2118
|
...(input.Rules != null && { Rules: input.Rules }),
|
|
2125
|
-
...(input.SourceMetadata != null && {
|
|
2126
|
-
|
|
2127
|
-
}),
|
|
2128
|
-
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
2119
|
+
...(input.SourceMetadata != null && { SourceMetadata: se_SourceMetadata(input.SourceMetadata, context) }),
|
|
2120
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2129
2121
|
...(input.Type != null && { Type: input.Type }),
|
|
2130
2122
|
};
|
|
2131
2123
|
};
|
|
2132
|
-
const
|
|
2124
|
+
const se_CreateTLSInspectionConfigurationRequest = (input, context) => {
|
|
2133
2125
|
return {
|
|
2134
2126
|
...(input.Description != null && { Description: input.Description }),
|
|
2135
2127
|
...(input.EncryptionConfiguration != null && {
|
|
2136
|
-
EncryptionConfiguration:
|
|
2128
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2137
2129
|
}),
|
|
2138
2130
|
...(input.TLSInspectionConfiguration != null && {
|
|
2139
|
-
TLSInspectionConfiguration:
|
|
2131
|
+
TLSInspectionConfiguration: se_TLSInspectionConfiguration(input.TLSInspectionConfiguration, context),
|
|
2140
2132
|
}),
|
|
2141
2133
|
...(input.TLSInspectionConfigurationName != null && {
|
|
2142
2134
|
TLSInspectionConfigurationName: input.TLSInspectionConfigurationName,
|
|
2143
2135
|
}),
|
|
2144
|
-
...(input.Tags != null && { Tags:
|
|
2136
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2145
2137
|
};
|
|
2146
2138
|
};
|
|
2147
|
-
const
|
|
2139
|
+
const se_CustomAction = (input, context) => {
|
|
2148
2140
|
return {
|
|
2149
|
-
...(input.ActionDefinition != null && {
|
|
2150
|
-
ActionDefinition: serializeAws_json1_0ActionDefinition(input.ActionDefinition, context),
|
|
2151
|
-
}),
|
|
2141
|
+
...(input.ActionDefinition != null && { ActionDefinition: se_ActionDefinition(input.ActionDefinition, context) }),
|
|
2152
2142
|
...(input.ActionName != null && { ActionName: input.ActionName }),
|
|
2153
2143
|
};
|
|
2154
2144
|
};
|
|
2155
|
-
const
|
|
2145
|
+
const se_CustomActions = (input, context) => {
|
|
2156
2146
|
return input
|
|
2157
2147
|
.filter((e) => e != null)
|
|
2158
2148
|
.map((entry) => {
|
|
2159
|
-
return
|
|
2149
|
+
return se_CustomAction(entry, context);
|
|
2160
2150
|
});
|
|
2161
2151
|
};
|
|
2162
|
-
const
|
|
2152
|
+
const se_DeleteFirewallPolicyRequest = (input, context) => {
|
|
2163
2153
|
return {
|
|
2164
2154
|
...(input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn }),
|
|
2165
2155
|
...(input.FirewallPolicyName != null && { FirewallPolicyName: input.FirewallPolicyName }),
|
|
2166
2156
|
};
|
|
2167
2157
|
};
|
|
2168
|
-
const
|
|
2158
|
+
const se_DeleteFirewallRequest = (input, context) => {
|
|
2169
2159
|
return {
|
|
2170
2160
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2171
2161
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
2172
2162
|
};
|
|
2173
2163
|
};
|
|
2174
|
-
const
|
|
2164
|
+
const se_DeleteResourcePolicyRequest = (input, context) => {
|
|
2175
2165
|
return {
|
|
2176
2166
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2177
2167
|
};
|
|
2178
2168
|
};
|
|
2179
|
-
const
|
|
2169
|
+
const se_DeleteRuleGroupRequest = (input, context) => {
|
|
2180
2170
|
return {
|
|
2181
2171
|
...(input.RuleGroupArn != null && { RuleGroupArn: input.RuleGroupArn }),
|
|
2182
2172
|
...(input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName }),
|
|
2183
2173
|
...(input.Type != null && { Type: input.Type }),
|
|
2184
2174
|
};
|
|
2185
2175
|
};
|
|
2186
|
-
const
|
|
2176
|
+
const se_DeleteTLSInspectionConfigurationRequest = (input, context) => {
|
|
2187
2177
|
return {
|
|
2188
2178
|
...(input.TLSInspectionConfigurationArn != null && {
|
|
2189
2179
|
TLSInspectionConfigurationArn: input.TLSInspectionConfigurationArn,
|
|
@@ -2193,44 +2183,44 @@ const serializeAws_json1_0DeleteTLSInspectionConfigurationRequest = (input, cont
|
|
|
2193
2183
|
}),
|
|
2194
2184
|
};
|
|
2195
2185
|
};
|
|
2196
|
-
const
|
|
2186
|
+
const se_DescribeFirewallPolicyRequest = (input, context) => {
|
|
2197
2187
|
return {
|
|
2198
2188
|
...(input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn }),
|
|
2199
2189
|
...(input.FirewallPolicyName != null && { FirewallPolicyName: input.FirewallPolicyName }),
|
|
2200
2190
|
};
|
|
2201
2191
|
};
|
|
2202
|
-
const
|
|
2192
|
+
const se_DescribeFirewallRequest = (input, context) => {
|
|
2203
2193
|
return {
|
|
2204
2194
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2205
2195
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
2206
2196
|
};
|
|
2207
2197
|
};
|
|
2208
|
-
const
|
|
2198
|
+
const se_DescribeLoggingConfigurationRequest = (input, context) => {
|
|
2209
2199
|
return {
|
|
2210
2200
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2211
2201
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
2212
2202
|
};
|
|
2213
2203
|
};
|
|
2214
|
-
const
|
|
2204
|
+
const se_DescribeResourcePolicyRequest = (input, context) => {
|
|
2215
2205
|
return {
|
|
2216
2206
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2217
2207
|
};
|
|
2218
2208
|
};
|
|
2219
|
-
const
|
|
2209
|
+
const se_DescribeRuleGroupMetadataRequest = (input, context) => {
|
|
2220
2210
|
return {
|
|
2221
2211
|
...(input.RuleGroupArn != null && { RuleGroupArn: input.RuleGroupArn }),
|
|
2222
2212
|
...(input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName }),
|
|
2223
2213
|
...(input.Type != null && { Type: input.Type }),
|
|
2224
2214
|
};
|
|
2225
2215
|
};
|
|
2226
|
-
const
|
|
2216
|
+
const se_DescribeRuleGroupRequest = (input, context) => {
|
|
2227
2217
|
return {
|
|
2228
2218
|
...(input.RuleGroupArn != null && { RuleGroupArn: input.RuleGroupArn }),
|
|
2229
2219
|
...(input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName }),
|
|
2230
2220
|
...(input.Type != null && { Type: input.Type }),
|
|
2231
2221
|
};
|
|
2232
2222
|
};
|
|
2233
|
-
const
|
|
2223
|
+
const se_DescribeTLSInspectionConfigurationRequest = (input, context) => {
|
|
2234
2224
|
return {
|
|
2235
2225
|
...(input.TLSInspectionConfigurationArn != null && {
|
|
2236
2226
|
TLSInspectionConfigurationArn: input.TLSInspectionConfigurationArn,
|
|
@@ -2240,68 +2230,68 @@ const serializeAws_json1_0DescribeTLSInspectionConfigurationRequest = (input, co
|
|
|
2240
2230
|
}),
|
|
2241
2231
|
};
|
|
2242
2232
|
};
|
|
2243
|
-
const
|
|
2233
|
+
const se_Dimension = (input, context) => {
|
|
2244
2234
|
return {
|
|
2245
2235
|
...(input.Value != null && { Value: input.Value }),
|
|
2246
2236
|
};
|
|
2247
2237
|
};
|
|
2248
|
-
const
|
|
2238
|
+
const se_Dimensions = (input, context) => {
|
|
2249
2239
|
return input
|
|
2250
2240
|
.filter((e) => e != null)
|
|
2251
2241
|
.map((entry) => {
|
|
2252
|
-
return
|
|
2242
|
+
return se_Dimension(entry, context);
|
|
2253
2243
|
});
|
|
2254
2244
|
};
|
|
2255
|
-
const
|
|
2245
|
+
const se_DisassociateSubnetsRequest = (input, context) => {
|
|
2256
2246
|
return {
|
|
2257
2247
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2258
2248
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
2259
|
-
...(input.SubnetIds != null && { SubnetIds:
|
|
2249
|
+
...(input.SubnetIds != null && { SubnetIds: se_AzSubnets(input.SubnetIds, context) }),
|
|
2260
2250
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2261
2251
|
};
|
|
2262
2252
|
};
|
|
2263
|
-
const
|
|
2253
|
+
const se_EncryptionConfiguration = (input, context) => {
|
|
2264
2254
|
return {
|
|
2265
2255
|
...(input.KeyId != null && { KeyId: input.KeyId }),
|
|
2266
2256
|
...(input.Type != null && { Type: input.Type }),
|
|
2267
2257
|
};
|
|
2268
2258
|
};
|
|
2269
|
-
const
|
|
2259
|
+
const se_FirewallPolicy = (input, context) => {
|
|
2270
2260
|
return {
|
|
2271
2261
|
...(input.StatefulDefaultActions != null && {
|
|
2272
|
-
StatefulDefaultActions:
|
|
2262
|
+
StatefulDefaultActions: se_StatefulActions(input.StatefulDefaultActions, context),
|
|
2273
2263
|
}),
|
|
2274
2264
|
...(input.StatefulEngineOptions != null && {
|
|
2275
|
-
StatefulEngineOptions:
|
|
2265
|
+
StatefulEngineOptions: se_StatefulEngineOptions(input.StatefulEngineOptions, context),
|
|
2276
2266
|
}),
|
|
2277
2267
|
...(input.StatefulRuleGroupReferences != null && {
|
|
2278
|
-
StatefulRuleGroupReferences:
|
|
2268
|
+
StatefulRuleGroupReferences: se_StatefulRuleGroupReferences(input.StatefulRuleGroupReferences, context),
|
|
2279
2269
|
}),
|
|
2280
2270
|
...(input.StatelessCustomActions != null && {
|
|
2281
|
-
StatelessCustomActions:
|
|
2271
|
+
StatelessCustomActions: se_CustomActions(input.StatelessCustomActions, context),
|
|
2282
2272
|
}),
|
|
2283
2273
|
...(input.StatelessDefaultActions != null && {
|
|
2284
|
-
StatelessDefaultActions:
|
|
2274
|
+
StatelessDefaultActions: se_StatelessActions(input.StatelessDefaultActions, context),
|
|
2285
2275
|
}),
|
|
2286
2276
|
...(input.StatelessFragmentDefaultActions != null && {
|
|
2287
|
-
StatelessFragmentDefaultActions:
|
|
2277
|
+
StatelessFragmentDefaultActions: se_StatelessActions(input.StatelessFragmentDefaultActions, context),
|
|
2288
2278
|
}),
|
|
2289
2279
|
...(input.StatelessRuleGroupReferences != null && {
|
|
2290
|
-
StatelessRuleGroupReferences:
|
|
2280
|
+
StatelessRuleGroupReferences: se_StatelessRuleGroupReferences(input.StatelessRuleGroupReferences, context),
|
|
2291
2281
|
}),
|
|
2292
2282
|
...(input.TLSInspectionConfigurationArn != null && {
|
|
2293
2283
|
TLSInspectionConfigurationArn: input.TLSInspectionConfigurationArn,
|
|
2294
2284
|
}),
|
|
2295
2285
|
};
|
|
2296
2286
|
};
|
|
2297
|
-
const
|
|
2287
|
+
const se_Flags = (input, context) => {
|
|
2298
2288
|
return input
|
|
2299
2289
|
.filter((e) => e != null)
|
|
2300
2290
|
.map((entry) => {
|
|
2301
2291
|
return entry;
|
|
2302
2292
|
});
|
|
2303
2293
|
};
|
|
2304
|
-
const
|
|
2294
|
+
const se_Header = (input, context) => {
|
|
2305
2295
|
return {
|
|
2306
2296
|
...(input.Destination != null && { Destination: input.Destination }),
|
|
2307
2297
|
...(input.DestinationPort != null && { DestinationPort: input.DestinationPort }),
|
|
@@ -2311,50 +2301,48 @@ const serializeAws_json1_0Header = (input, context) => {
|
|
|
2311
2301
|
...(input.SourcePort != null && { SourcePort: input.SourcePort }),
|
|
2312
2302
|
};
|
|
2313
2303
|
};
|
|
2314
|
-
const
|
|
2304
|
+
const se_IPSet = (input, context) => {
|
|
2315
2305
|
return {
|
|
2316
|
-
...(input.Definition != null && {
|
|
2317
|
-
Definition: serializeAws_json1_0VariableDefinitionList(input.Definition, context),
|
|
2318
|
-
}),
|
|
2306
|
+
...(input.Definition != null && { Definition: se_VariableDefinitionList(input.Definition, context) }),
|
|
2319
2307
|
};
|
|
2320
2308
|
};
|
|
2321
|
-
const
|
|
2309
|
+
const se_IPSetReference = (input, context) => {
|
|
2322
2310
|
return {
|
|
2323
2311
|
...(input.ReferenceArn != null && { ReferenceArn: input.ReferenceArn }),
|
|
2324
2312
|
};
|
|
2325
2313
|
};
|
|
2326
|
-
const
|
|
2314
|
+
const se_IPSetReferenceMap = (input, context) => {
|
|
2327
2315
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2328
2316
|
if (value === null) {
|
|
2329
2317
|
return acc;
|
|
2330
2318
|
}
|
|
2331
|
-
acc[key] =
|
|
2319
|
+
acc[key] = se_IPSetReference(value, context);
|
|
2332
2320
|
return acc;
|
|
2333
2321
|
}, {});
|
|
2334
2322
|
};
|
|
2335
|
-
const
|
|
2323
|
+
const se_IPSets = (input, context) => {
|
|
2336
2324
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2337
2325
|
if (value === null) {
|
|
2338
2326
|
return acc;
|
|
2339
2327
|
}
|
|
2340
|
-
acc[key] =
|
|
2328
|
+
acc[key] = se_IPSet(value, context);
|
|
2341
2329
|
return acc;
|
|
2342
2330
|
}, {});
|
|
2343
2331
|
};
|
|
2344
|
-
const
|
|
2332
|
+
const se_ListFirewallPoliciesRequest = (input, context) => {
|
|
2345
2333
|
return {
|
|
2346
2334
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2347
2335
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2348
2336
|
};
|
|
2349
2337
|
};
|
|
2350
|
-
const
|
|
2338
|
+
const se_ListFirewallsRequest = (input, context) => {
|
|
2351
2339
|
return {
|
|
2352
2340
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2353
2341
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2354
|
-
...(input.VpcIds != null && { VpcIds:
|
|
2342
|
+
...(input.VpcIds != null && { VpcIds: se_VpcIds(input.VpcIds, context) }),
|
|
2355
2343
|
};
|
|
2356
2344
|
};
|
|
2357
|
-
const
|
|
2345
|
+
const se_ListRuleGroupsRequest = (input, context) => {
|
|
2358
2346
|
return {
|
|
2359
2347
|
...(input.ManagedType != null && { ManagedType: input.ManagedType }),
|
|
2360
2348
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -2363,36 +2351,34 @@ const serializeAws_json1_0ListRuleGroupsRequest = (input, context) => {
|
|
|
2363
2351
|
...(input.Type != null && { Type: input.Type }),
|
|
2364
2352
|
};
|
|
2365
2353
|
};
|
|
2366
|
-
const
|
|
2354
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2367
2355
|
return {
|
|
2368
2356
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2369
2357
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2370
2358
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2371
2359
|
};
|
|
2372
2360
|
};
|
|
2373
|
-
const
|
|
2361
|
+
const se_ListTLSInspectionConfigurationsRequest = (input, context) => {
|
|
2374
2362
|
return {
|
|
2375
2363
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2376
2364
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2377
2365
|
};
|
|
2378
2366
|
};
|
|
2379
|
-
const
|
|
2367
|
+
const se_LogDestinationConfig = (input, context) => {
|
|
2380
2368
|
return {
|
|
2381
|
-
...(input.LogDestination != null && {
|
|
2382
|
-
LogDestination: serializeAws_json1_0LogDestinationMap(input.LogDestination, context),
|
|
2383
|
-
}),
|
|
2369
|
+
...(input.LogDestination != null && { LogDestination: se_LogDestinationMap(input.LogDestination, context) }),
|
|
2384
2370
|
...(input.LogDestinationType != null && { LogDestinationType: input.LogDestinationType }),
|
|
2385
2371
|
...(input.LogType != null && { LogType: input.LogType }),
|
|
2386
2372
|
};
|
|
2387
2373
|
};
|
|
2388
|
-
const
|
|
2374
|
+
const se_LogDestinationConfigs = (input, context) => {
|
|
2389
2375
|
return input
|
|
2390
2376
|
.filter((e) => e != null)
|
|
2391
2377
|
.map((entry) => {
|
|
2392
|
-
return
|
|
2378
|
+
return se_LogDestinationConfig(entry, context);
|
|
2393
2379
|
});
|
|
2394
2380
|
};
|
|
2395
|
-
const
|
|
2381
|
+
const se_LogDestinationMap = (input, context) => {
|
|
2396
2382
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2397
2383
|
if (value === null) {
|
|
2398
2384
|
return acc;
|
|
@@ -2401,375 +2387,351 @@ const serializeAws_json1_0LogDestinationMap = (input, context) => {
|
|
|
2401
2387
|
return acc;
|
|
2402
2388
|
}, {});
|
|
2403
2389
|
};
|
|
2404
|
-
const
|
|
2390
|
+
const se_LoggingConfiguration = (input, context) => {
|
|
2405
2391
|
return {
|
|
2406
2392
|
...(input.LogDestinationConfigs != null && {
|
|
2407
|
-
LogDestinationConfigs:
|
|
2393
|
+
LogDestinationConfigs: se_LogDestinationConfigs(input.LogDestinationConfigs, context),
|
|
2408
2394
|
}),
|
|
2409
2395
|
};
|
|
2410
2396
|
};
|
|
2411
|
-
const
|
|
2397
|
+
const se_MatchAttributes = (input, context) => {
|
|
2412
2398
|
return {
|
|
2413
|
-
...(input.DestinationPorts != null && {
|
|
2414
|
-
|
|
2415
|
-
}),
|
|
2416
|
-
...(input.
|
|
2417
|
-
...(input.
|
|
2418
|
-
...(input.
|
|
2419
|
-
...(input.Sources != null && { Sources: serializeAws_json1_0Addresses(input.Sources, context) }),
|
|
2420
|
-
...(input.TCPFlags != null && { TCPFlags: serializeAws_json1_0TCPFlags(input.TCPFlags, context) }),
|
|
2399
|
+
...(input.DestinationPorts != null && { DestinationPorts: se_PortRanges(input.DestinationPorts, context) }),
|
|
2400
|
+
...(input.Destinations != null && { Destinations: se_Addresses(input.Destinations, context) }),
|
|
2401
|
+
...(input.Protocols != null && { Protocols: se_ProtocolNumbers(input.Protocols, context) }),
|
|
2402
|
+
...(input.SourcePorts != null && { SourcePorts: se_PortRanges(input.SourcePorts, context) }),
|
|
2403
|
+
...(input.Sources != null && { Sources: se_Addresses(input.Sources, context) }),
|
|
2404
|
+
...(input.TCPFlags != null && { TCPFlags: se_TCPFlags(input.TCPFlags, context) }),
|
|
2421
2405
|
};
|
|
2422
2406
|
};
|
|
2423
|
-
const
|
|
2407
|
+
const se_PortRange = (input, context) => {
|
|
2424
2408
|
return {
|
|
2425
2409
|
...(input.FromPort != null && { FromPort: input.FromPort }),
|
|
2426
2410
|
...(input.ToPort != null && { ToPort: input.ToPort }),
|
|
2427
2411
|
};
|
|
2428
2412
|
};
|
|
2429
|
-
const
|
|
2413
|
+
const se_PortRanges = (input, context) => {
|
|
2430
2414
|
return input
|
|
2431
2415
|
.filter((e) => e != null)
|
|
2432
2416
|
.map((entry) => {
|
|
2433
|
-
return
|
|
2417
|
+
return se_PortRange(entry, context);
|
|
2434
2418
|
});
|
|
2435
2419
|
};
|
|
2436
|
-
const
|
|
2420
|
+
const se_PortSet = (input, context) => {
|
|
2437
2421
|
return {
|
|
2438
|
-
...(input.Definition != null && {
|
|
2439
|
-
Definition: serializeAws_json1_0VariableDefinitionList(input.Definition, context),
|
|
2440
|
-
}),
|
|
2422
|
+
...(input.Definition != null && { Definition: se_VariableDefinitionList(input.Definition, context) }),
|
|
2441
2423
|
};
|
|
2442
2424
|
};
|
|
2443
|
-
const
|
|
2425
|
+
const se_PortSets = (input, context) => {
|
|
2444
2426
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2445
2427
|
if (value === null) {
|
|
2446
2428
|
return acc;
|
|
2447
2429
|
}
|
|
2448
|
-
acc[key] =
|
|
2430
|
+
acc[key] = se_PortSet(value, context);
|
|
2449
2431
|
return acc;
|
|
2450
2432
|
}, {});
|
|
2451
2433
|
};
|
|
2452
|
-
const
|
|
2434
|
+
const se_ProtocolNumbers = (input, context) => {
|
|
2453
2435
|
return input
|
|
2454
2436
|
.filter((e) => e != null)
|
|
2455
2437
|
.map((entry) => {
|
|
2456
2438
|
return entry;
|
|
2457
2439
|
});
|
|
2458
2440
|
};
|
|
2459
|
-
const
|
|
2441
|
+
const se_PublishMetricAction = (input, context) => {
|
|
2460
2442
|
return {
|
|
2461
|
-
...(input.Dimensions != null && { Dimensions:
|
|
2443
|
+
...(input.Dimensions != null && { Dimensions: se_Dimensions(input.Dimensions, context) }),
|
|
2462
2444
|
};
|
|
2463
2445
|
};
|
|
2464
|
-
const
|
|
2446
|
+
const se_PutResourcePolicyRequest = (input, context) => {
|
|
2465
2447
|
return {
|
|
2466
2448
|
...(input.Policy != null && { Policy: input.Policy }),
|
|
2467
2449
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2468
2450
|
};
|
|
2469
2451
|
};
|
|
2470
|
-
const
|
|
2452
|
+
const se_ReferenceSets = (input, context) => {
|
|
2471
2453
|
return {
|
|
2472
|
-
...(input.IPSetReferences != null && {
|
|
2473
|
-
IPSetReferences: serializeAws_json1_0IPSetReferenceMap(input.IPSetReferences, context),
|
|
2474
|
-
}),
|
|
2454
|
+
...(input.IPSetReferences != null && { IPSetReferences: se_IPSetReferenceMap(input.IPSetReferences, context) }),
|
|
2475
2455
|
};
|
|
2476
2456
|
};
|
|
2477
|
-
const
|
|
2457
|
+
const se_RuleDefinition = (input, context) => {
|
|
2478
2458
|
return {
|
|
2479
|
-
...(input.Actions != null && { Actions:
|
|
2480
|
-
...(input.MatchAttributes != null && {
|
|
2481
|
-
MatchAttributes: serializeAws_json1_0MatchAttributes(input.MatchAttributes, context),
|
|
2482
|
-
}),
|
|
2459
|
+
...(input.Actions != null && { Actions: se_StatelessActions(input.Actions, context) }),
|
|
2460
|
+
...(input.MatchAttributes != null && { MatchAttributes: se_MatchAttributes(input.MatchAttributes, context) }),
|
|
2483
2461
|
};
|
|
2484
2462
|
};
|
|
2485
|
-
const
|
|
2463
|
+
const se_RuleGroup = (input, context) => {
|
|
2486
2464
|
return {
|
|
2487
|
-
...(input.ReferenceSets != null && {
|
|
2488
|
-
|
|
2489
|
-
}),
|
|
2490
|
-
...(input.RuleVariables != null && {
|
|
2491
|
-
RuleVariables: serializeAws_json1_0RuleVariables(input.RuleVariables, context),
|
|
2492
|
-
}),
|
|
2493
|
-
...(input.RulesSource != null && { RulesSource: serializeAws_json1_0RulesSource(input.RulesSource, context) }),
|
|
2465
|
+
...(input.ReferenceSets != null && { ReferenceSets: se_ReferenceSets(input.ReferenceSets, context) }),
|
|
2466
|
+
...(input.RuleVariables != null && { RuleVariables: se_RuleVariables(input.RuleVariables, context) }),
|
|
2467
|
+
...(input.RulesSource != null && { RulesSource: se_RulesSource(input.RulesSource, context) }),
|
|
2494
2468
|
...(input.StatefulRuleOptions != null && {
|
|
2495
|
-
StatefulRuleOptions:
|
|
2469
|
+
StatefulRuleOptions: se_StatefulRuleOptions(input.StatefulRuleOptions, context),
|
|
2496
2470
|
}),
|
|
2497
2471
|
};
|
|
2498
2472
|
};
|
|
2499
|
-
const
|
|
2473
|
+
const se_RuleOption = (input, context) => {
|
|
2500
2474
|
return {
|
|
2501
2475
|
...(input.Keyword != null && { Keyword: input.Keyword }),
|
|
2502
|
-
...(input.Settings != null && { Settings:
|
|
2476
|
+
...(input.Settings != null && { Settings: se_Settings(input.Settings, context) }),
|
|
2503
2477
|
};
|
|
2504
2478
|
};
|
|
2505
|
-
const
|
|
2479
|
+
const se_RuleOptions = (input, context) => {
|
|
2506
2480
|
return input
|
|
2507
2481
|
.filter((e) => e != null)
|
|
2508
2482
|
.map((entry) => {
|
|
2509
|
-
return
|
|
2483
|
+
return se_RuleOption(entry, context);
|
|
2510
2484
|
});
|
|
2511
2485
|
};
|
|
2512
|
-
const
|
|
2486
|
+
const se_RulesSource = (input, context) => {
|
|
2513
2487
|
return {
|
|
2514
|
-
...(input.RulesSourceList != null && {
|
|
2515
|
-
RulesSourceList: serializeAws_json1_0RulesSourceList(input.RulesSourceList, context),
|
|
2516
|
-
}),
|
|
2488
|
+
...(input.RulesSourceList != null && { RulesSourceList: se_RulesSourceList(input.RulesSourceList, context) }),
|
|
2517
2489
|
...(input.RulesString != null && { RulesString: input.RulesString }),
|
|
2518
|
-
...(input.StatefulRules != null && {
|
|
2519
|
-
StatefulRules: serializeAws_json1_0StatefulRules(input.StatefulRules, context),
|
|
2520
|
-
}),
|
|
2490
|
+
...(input.StatefulRules != null && { StatefulRules: se_StatefulRules(input.StatefulRules, context) }),
|
|
2521
2491
|
...(input.StatelessRulesAndCustomActions != null && {
|
|
2522
|
-
StatelessRulesAndCustomActions:
|
|
2492
|
+
StatelessRulesAndCustomActions: se_StatelessRulesAndCustomActions(input.StatelessRulesAndCustomActions, context),
|
|
2523
2493
|
}),
|
|
2524
2494
|
};
|
|
2525
2495
|
};
|
|
2526
|
-
const
|
|
2496
|
+
const se_RulesSourceList = (input, context) => {
|
|
2527
2497
|
return {
|
|
2528
2498
|
...(input.GeneratedRulesType != null && { GeneratedRulesType: input.GeneratedRulesType }),
|
|
2529
|
-
...(input.TargetTypes != null && { TargetTypes:
|
|
2530
|
-
...(input.Targets != null && { Targets:
|
|
2499
|
+
...(input.TargetTypes != null && { TargetTypes: se_TargetTypes(input.TargetTypes, context) }),
|
|
2500
|
+
...(input.Targets != null && { Targets: se_RuleTargets(input.Targets, context) }),
|
|
2531
2501
|
};
|
|
2532
2502
|
};
|
|
2533
|
-
const
|
|
2503
|
+
const se_RuleTargets = (input, context) => {
|
|
2534
2504
|
return input
|
|
2535
2505
|
.filter((e) => e != null)
|
|
2536
2506
|
.map((entry) => {
|
|
2537
2507
|
return entry;
|
|
2538
2508
|
});
|
|
2539
2509
|
};
|
|
2540
|
-
const
|
|
2510
|
+
const se_RuleVariables = (input, context) => {
|
|
2541
2511
|
return {
|
|
2542
|
-
...(input.IPSets != null && { IPSets:
|
|
2543
|
-
...(input.PortSets != null && { PortSets:
|
|
2512
|
+
...(input.IPSets != null && { IPSets: se_IPSets(input.IPSets, context) }),
|
|
2513
|
+
...(input.PortSets != null && { PortSets: se_PortSets(input.PortSets, context) }),
|
|
2544
2514
|
};
|
|
2545
2515
|
};
|
|
2546
|
-
const
|
|
2516
|
+
const se_ServerCertificate = (input, context) => {
|
|
2547
2517
|
return {
|
|
2548
2518
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2549
2519
|
};
|
|
2550
2520
|
};
|
|
2551
|
-
const
|
|
2521
|
+
const se_ServerCertificateConfiguration = (input, context) => {
|
|
2552
2522
|
return {
|
|
2553
|
-
...(input.Scopes != null && { Scopes:
|
|
2523
|
+
...(input.Scopes != null && { Scopes: se_ServerCertificateScopes(input.Scopes, context) }),
|
|
2554
2524
|
...(input.ServerCertificates != null && {
|
|
2555
|
-
ServerCertificates:
|
|
2525
|
+
ServerCertificates: se_ServerCertificates(input.ServerCertificates, context),
|
|
2556
2526
|
}),
|
|
2557
2527
|
};
|
|
2558
2528
|
};
|
|
2559
|
-
const
|
|
2529
|
+
const se_ServerCertificateConfigurations = (input, context) => {
|
|
2560
2530
|
return input
|
|
2561
2531
|
.filter((e) => e != null)
|
|
2562
2532
|
.map((entry) => {
|
|
2563
|
-
return
|
|
2533
|
+
return se_ServerCertificateConfiguration(entry, context);
|
|
2564
2534
|
});
|
|
2565
2535
|
};
|
|
2566
|
-
const
|
|
2536
|
+
const se_ServerCertificates = (input, context) => {
|
|
2567
2537
|
return input
|
|
2568
2538
|
.filter((e) => e != null)
|
|
2569
2539
|
.map((entry) => {
|
|
2570
|
-
return
|
|
2540
|
+
return se_ServerCertificate(entry, context);
|
|
2571
2541
|
});
|
|
2572
2542
|
};
|
|
2573
|
-
const
|
|
2543
|
+
const se_ServerCertificateScope = (input, context) => {
|
|
2574
2544
|
return {
|
|
2575
|
-
...(input.DestinationPorts != null && {
|
|
2576
|
-
|
|
2577
|
-
}),
|
|
2578
|
-
...(input.
|
|
2579
|
-
...(input.
|
|
2580
|
-
...(input.SourcePorts != null && { SourcePorts: serializeAws_json1_0PortRanges(input.SourcePorts, context) }),
|
|
2581
|
-
...(input.Sources != null && { Sources: serializeAws_json1_0Addresses(input.Sources, context) }),
|
|
2545
|
+
...(input.DestinationPorts != null && { DestinationPorts: se_PortRanges(input.DestinationPorts, context) }),
|
|
2546
|
+
...(input.Destinations != null && { Destinations: se_Addresses(input.Destinations, context) }),
|
|
2547
|
+
...(input.Protocols != null && { Protocols: se_ProtocolNumbers(input.Protocols, context) }),
|
|
2548
|
+
...(input.SourcePorts != null && { SourcePorts: se_PortRanges(input.SourcePorts, context) }),
|
|
2549
|
+
...(input.Sources != null && { Sources: se_Addresses(input.Sources, context) }),
|
|
2582
2550
|
};
|
|
2583
2551
|
};
|
|
2584
|
-
const
|
|
2552
|
+
const se_ServerCertificateScopes = (input, context) => {
|
|
2585
2553
|
return input
|
|
2586
2554
|
.filter((e) => e != null)
|
|
2587
2555
|
.map((entry) => {
|
|
2588
|
-
return
|
|
2556
|
+
return se_ServerCertificateScope(entry, context);
|
|
2589
2557
|
});
|
|
2590
2558
|
};
|
|
2591
|
-
const
|
|
2559
|
+
const se_Settings = (input, context) => {
|
|
2592
2560
|
return input
|
|
2593
2561
|
.filter((e) => e != null)
|
|
2594
2562
|
.map((entry) => {
|
|
2595
2563
|
return entry;
|
|
2596
2564
|
});
|
|
2597
2565
|
};
|
|
2598
|
-
const
|
|
2566
|
+
const se_SourceMetadata = (input, context) => {
|
|
2599
2567
|
return {
|
|
2600
2568
|
...(input.SourceArn != null && { SourceArn: input.SourceArn }),
|
|
2601
2569
|
...(input.SourceUpdateToken != null && { SourceUpdateToken: input.SourceUpdateToken }),
|
|
2602
2570
|
};
|
|
2603
2571
|
};
|
|
2604
|
-
const
|
|
2572
|
+
const se_StatefulActions = (input, context) => {
|
|
2605
2573
|
return input
|
|
2606
2574
|
.filter((e) => e != null)
|
|
2607
2575
|
.map((entry) => {
|
|
2608
2576
|
return entry;
|
|
2609
2577
|
});
|
|
2610
2578
|
};
|
|
2611
|
-
const
|
|
2579
|
+
const se_StatefulEngineOptions = (input, context) => {
|
|
2612
2580
|
return {
|
|
2613
2581
|
...(input.RuleOrder != null && { RuleOrder: input.RuleOrder }),
|
|
2614
2582
|
...(input.StreamExceptionPolicy != null && { StreamExceptionPolicy: input.StreamExceptionPolicy }),
|
|
2615
2583
|
};
|
|
2616
2584
|
};
|
|
2617
|
-
const
|
|
2585
|
+
const se_StatefulRule = (input, context) => {
|
|
2618
2586
|
return {
|
|
2619
2587
|
...(input.Action != null && { Action: input.Action }),
|
|
2620
|
-
...(input.Header != null && { Header:
|
|
2621
|
-
...(input.RuleOptions != null && { RuleOptions:
|
|
2588
|
+
...(input.Header != null && { Header: se_Header(input.Header, context) }),
|
|
2589
|
+
...(input.RuleOptions != null && { RuleOptions: se_RuleOptions(input.RuleOptions, context) }),
|
|
2622
2590
|
};
|
|
2623
2591
|
};
|
|
2624
|
-
const
|
|
2592
|
+
const se_StatefulRuleGroupOverride = (input, context) => {
|
|
2625
2593
|
return {
|
|
2626
2594
|
...(input.Action != null && { Action: input.Action }),
|
|
2627
2595
|
};
|
|
2628
2596
|
};
|
|
2629
|
-
const
|
|
2597
|
+
const se_StatefulRuleGroupReference = (input, context) => {
|
|
2630
2598
|
return {
|
|
2631
|
-
...(input.Override != null && { Override:
|
|
2599
|
+
...(input.Override != null && { Override: se_StatefulRuleGroupOverride(input.Override, context) }),
|
|
2632
2600
|
...(input.Priority != null && { Priority: input.Priority }),
|
|
2633
2601
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2634
2602
|
};
|
|
2635
2603
|
};
|
|
2636
|
-
const
|
|
2604
|
+
const se_StatefulRuleGroupReferences = (input, context) => {
|
|
2637
2605
|
return input
|
|
2638
2606
|
.filter((e) => e != null)
|
|
2639
2607
|
.map((entry) => {
|
|
2640
|
-
return
|
|
2608
|
+
return se_StatefulRuleGroupReference(entry, context);
|
|
2641
2609
|
});
|
|
2642
2610
|
};
|
|
2643
|
-
const
|
|
2611
|
+
const se_StatefulRuleOptions = (input, context) => {
|
|
2644
2612
|
return {
|
|
2645
2613
|
...(input.RuleOrder != null && { RuleOrder: input.RuleOrder }),
|
|
2646
2614
|
};
|
|
2647
2615
|
};
|
|
2648
|
-
const
|
|
2616
|
+
const se_StatefulRules = (input, context) => {
|
|
2649
2617
|
return input
|
|
2650
2618
|
.filter((e) => e != null)
|
|
2651
2619
|
.map((entry) => {
|
|
2652
|
-
return
|
|
2620
|
+
return se_StatefulRule(entry, context);
|
|
2653
2621
|
});
|
|
2654
2622
|
};
|
|
2655
|
-
const
|
|
2623
|
+
const se_StatelessActions = (input, context) => {
|
|
2656
2624
|
return input
|
|
2657
2625
|
.filter((e) => e != null)
|
|
2658
2626
|
.map((entry) => {
|
|
2659
2627
|
return entry;
|
|
2660
2628
|
});
|
|
2661
2629
|
};
|
|
2662
|
-
const
|
|
2630
|
+
const se_StatelessRule = (input, context) => {
|
|
2663
2631
|
return {
|
|
2664
2632
|
...(input.Priority != null && { Priority: input.Priority }),
|
|
2665
|
-
...(input.RuleDefinition != null && {
|
|
2666
|
-
RuleDefinition: serializeAws_json1_0RuleDefinition(input.RuleDefinition, context),
|
|
2667
|
-
}),
|
|
2633
|
+
...(input.RuleDefinition != null && { RuleDefinition: se_RuleDefinition(input.RuleDefinition, context) }),
|
|
2668
2634
|
};
|
|
2669
2635
|
};
|
|
2670
|
-
const
|
|
2636
|
+
const se_StatelessRuleGroupReference = (input, context) => {
|
|
2671
2637
|
return {
|
|
2672
2638
|
...(input.Priority != null && { Priority: input.Priority }),
|
|
2673
2639
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2674
2640
|
};
|
|
2675
2641
|
};
|
|
2676
|
-
const
|
|
2642
|
+
const se_StatelessRuleGroupReferences = (input, context) => {
|
|
2677
2643
|
return input
|
|
2678
2644
|
.filter((e) => e != null)
|
|
2679
2645
|
.map((entry) => {
|
|
2680
|
-
return
|
|
2646
|
+
return se_StatelessRuleGroupReference(entry, context);
|
|
2681
2647
|
});
|
|
2682
2648
|
};
|
|
2683
|
-
const
|
|
2649
|
+
const se_StatelessRules = (input, context) => {
|
|
2684
2650
|
return input
|
|
2685
2651
|
.filter((e) => e != null)
|
|
2686
2652
|
.map((entry) => {
|
|
2687
|
-
return
|
|
2653
|
+
return se_StatelessRule(entry, context);
|
|
2688
2654
|
});
|
|
2689
2655
|
};
|
|
2690
|
-
const
|
|
2656
|
+
const se_StatelessRulesAndCustomActions = (input, context) => {
|
|
2691
2657
|
return {
|
|
2692
|
-
...(input.CustomActions != null && {
|
|
2693
|
-
|
|
2694
|
-
}),
|
|
2695
|
-
...(input.StatelessRules != null && {
|
|
2696
|
-
StatelessRules: serializeAws_json1_0StatelessRules(input.StatelessRules, context),
|
|
2697
|
-
}),
|
|
2658
|
+
...(input.CustomActions != null && { CustomActions: se_CustomActions(input.CustomActions, context) }),
|
|
2659
|
+
...(input.StatelessRules != null && { StatelessRules: se_StatelessRules(input.StatelessRules, context) }),
|
|
2698
2660
|
};
|
|
2699
2661
|
};
|
|
2700
|
-
const
|
|
2662
|
+
const se_SubnetMapping = (input, context) => {
|
|
2701
2663
|
return {
|
|
2702
2664
|
...(input.IPAddressType != null && { IPAddressType: input.IPAddressType }),
|
|
2703
2665
|
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
2704
2666
|
};
|
|
2705
2667
|
};
|
|
2706
|
-
const
|
|
2668
|
+
const se_SubnetMappings = (input, context) => {
|
|
2707
2669
|
return input
|
|
2708
2670
|
.filter((e) => e != null)
|
|
2709
2671
|
.map((entry) => {
|
|
2710
|
-
return
|
|
2672
|
+
return se_SubnetMapping(entry, context);
|
|
2711
2673
|
});
|
|
2712
2674
|
};
|
|
2713
|
-
const
|
|
2675
|
+
const se_Tag = (input, context) => {
|
|
2714
2676
|
return {
|
|
2715
2677
|
...(input.Key != null && { Key: input.Key }),
|
|
2716
2678
|
...(input.Value != null && { Value: input.Value }),
|
|
2717
2679
|
};
|
|
2718
2680
|
};
|
|
2719
|
-
const
|
|
2681
|
+
const se_TagKeyList = (input, context) => {
|
|
2720
2682
|
return input
|
|
2721
2683
|
.filter((e) => e != null)
|
|
2722
2684
|
.map((entry) => {
|
|
2723
2685
|
return entry;
|
|
2724
2686
|
});
|
|
2725
2687
|
};
|
|
2726
|
-
const
|
|
2688
|
+
const se_TagList = (input, context) => {
|
|
2727
2689
|
return input
|
|
2728
2690
|
.filter((e) => e != null)
|
|
2729
2691
|
.map((entry) => {
|
|
2730
|
-
return
|
|
2692
|
+
return se_Tag(entry, context);
|
|
2731
2693
|
});
|
|
2732
2694
|
};
|
|
2733
|
-
const
|
|
2695
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2734
2696
|
return {
|
|
2735
2697
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2736
|
-
...(input.Tags != null && { Tags:
|
|
2698
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2737
2699
|
};
|
|
2738
2700
|
};
|
|
2739
|
-
const
|
|
2701
|
+
const se_TargetTypes = (input, context) => {
|
|
2740
2702
|
return input
|
|
2741
2703
|
.filter((e) => e != null)
|
|
2742
2704
|
.map((entry) => {
|
|
2743
2705
|
return entry;
|
|
2744
2706
|
});
|
|
2745
2707
|
};
|
|
2746
|
-
const
|
|
2708
|
+
const se_TCPFlagField = (input, context) => {
|
|
2747
2709
|
return {
|
|
2748
|
-
...(input.Flags != null && { Flags:
|
|
2749
|
-
...(input.Masks != null && { Masks:
|
|
2710
|
+
...(input.Flags != null && { Flags: se_Flags(input.Flags, context) }),
|
|
2711
|
+
...(input.Masks != null && { Masks: se_Flags(input.Masks, context) }),
|
|
2750
2712
|
};
|
|
2751
2713
|
};
|
|
2752
|
-
const
|
|
2714
|
+
const se_TCPFlags = (input, context) => {
|
|
2753
2715
|
return input
|
|
2754
2716
|
.filter((e) => e != null)
|
|
2755
2717
|
.map((entry) => {
|
|
2756
|
-
return
|
|
2718
|
+
return se_TCPFlagField(entry, context);
|
|
2757
2719
|
});
|
|
2758
2720
|
};
|
|
2759
|
-
const
|
|
2721
|
+
const se_TLSInspectionConfiguration = (input, context) => {
|
|
2760
2722
|
return {
|
|
2761
2723
|
...(input.ServerCertificateConfigurations != null && {
|
|
2762
|
-
ServerCertificateConfigurations:
|
|
2724
|
+
ServerCertificateConfigurations: se_ServerCertificateConfigurations(input.ServerCertificateConfigurations, context),
|
|
2763
2725
|
}),
|
|
2764
2726
|
};
|
|
2765
2727
|
};
|
|
2766
|
-
const
|
|
2728
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2767
2729
|
return {
|
|
2768
2730
|
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2769
|
-
...(input.TagKeys != null && { TagKeys:
|
|
2731
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2770
2732
|
};
|
|
2771
2733
|
};
|
|
2772
|
-
const
|
|
2734
|
+
const se_UpdateFirewallDeleteProtectionRequest = (input, context) => {
|
|
2773
2735
|
return {
|
|
2774
2736
|
...(input.DeleteProtection != null && { DeleteProtection: input.DeleteProtection }),
|
|
2775
2737
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
@@ -2777,7 +2739,7 @@ const serializeAws_json1_0UpdateFirewallDeleteProtectionRequest = (input, contex
|
|
|
2777
2739
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2778
2740
|
};
|
|
2779
2741
|
};
|
|
2780
|
-
const
|
|
2742
|
+
const se_UpdateFirewallDescriptionRequest = (input, context) => {
|
|
2781
2743
|
return {
|
|
2782
2744
|
...(input.Description != null && { Description: input.Description }),
|
|
2783
2745
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
@@ -2785,17 +2747,17 @@ const serializeAws_json1_0UpdateFirewallDescriptionRequest = (input, context) =>
|
|
|
2785
2747
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2786
2748
|
};
|
|
2787
2749
|
};
|
|
2788
|
-
const
|
|
2750
|
+
const se_UpdateFirewallEncryptionConfigurationRequest = (input, context) => {
|
|
2789
2751
|
return {
|
|
2790
2752
|
...(input.EncryptionConfiguration != null && {
|
|
2791
|
-
EncryptionConfiguration:
|
|
2753
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2792
2754
|
}),
|
|
2793
2755
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2794
2756
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
2795
2757
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2796
2758
|
};
|
|
2797
2759
|
};
|
|
2798
|
-
const
|
|
2760
|
+
const se_UpdateFirewallPolicyChangeProtectionRequest = (input, context) => {
|
|
2799
2761
|
return {
|
|
2800
2762
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2801
2763
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
@@ -2805,49 +2767,45 @@ const serializeAws_json1_0UpdateFirewallPolicyChangeProtectionRequest = (input,
|
|
|
2805
2767
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2806
2768
|
};
|
|
2807
2769
|
};
|
|
2808
|
-
const
|
|
2770
|
+
const se_UpdateFirewallPolicyRequest = (input, context) => {
|
|
2809
2771
|
return {
|
|
2810
2772
|
...(input.Description != null && { Description: input.Description }),
|
|
2811
2773
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
2812
2774
|
...(input.EncryptionConfiguration != null && {
|
|
2813
|
-
EncryptionConfiguration:
|
|
2814
|
-
}),
|
|
2815
|
-
...(input.FirewallPolicy != null && {
|
|
2816
|
-
FirewallPolicy: serializeAws_json1_0FirewallPolicy(input.FirewallPolicy, context),
|
|
2775
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2817
2776
|
}),
|
|
2777
|
+
...(input.FirewallPolicy != null && { FirewallPolicy: se_FirewallPolicy(input.FirewallPolicy, context) }),
|
|
2818
2778
|
...(input.FirewallPolicyArn != null && { FirewallPolicyArn: input.FirewallPolicyArn }),
|
|
2819
2779
|
...(input.FirewallPolicyName != null && { FirewallPolicyName: input.FirewallPolicyName }),
|
|
2820
2780
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2821
2781
|
};
|
|
2822
2782
|
};
|
|
2823
|
-
const
|
|
2783
|
+
const se_UpdateLoggingConfigurationRequest = (input, context) => {
|
|
2824
2784
|
return {
|
|
2825
2785
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2826
2786
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
2827
2787
|
...(input.LoggingConfiguration != null && {
|
|
2828
|
-
LoggingConfiguration:
|
|
2788
|
+
LoggingConfiguration: se_LoggingConfiguration(input.LoggingConfiguration, context),
|
|
2829
2789
|
}),
|
|
2830
2790
|
};
|
|
2831
2791
|
};
|
|
2832
|
-
const
|
|
2792
|
+
const se_UpdateRuleGroupRequest = (input, context) => {
|
|
2833
2793
|
return {
|
|
2834
2794
|
...(input.Description != null && { Description: input.Description }),
|
|
2835
2795
|
...(input.DryRun != null && { DryRun: input.DryRun }),
|
|
2836
2796
|
...(input.EncryptionConfiguration != null && {
|
|
2837
|
-
EncryptionConfiguration:
|
|
2797
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2838
2798
|
}),
|
|
2839
|
-
...(input.RuleGroup != null && { RuleGroup:
|
|
2799
|
+
...(input.RuleGroup != null && { RuleGroup: se_RuleGroup(input.RuleGroup, context) }),
|
|
2840
2800
|
...(input.RuleGroupArn != null && { RuleGroupArn: input.RuleGroupArn }),
|
|
2841
2801
|
...(input.RuleGroupName != null && { RuleGroupName: input.RuleGroupName }),
|
|
2842
2802
|
...(input.Rules != null && { Rules: input.Rules }),
|
|
2843
|
-
...(input.SourceMetadata != null && {
|
|
2844
|
-
SourceMetadata: serializeAws_json1_0SourceMetadata(input.SourceMetadata, context),
|
|
2845
|
-
}),
|
|
2803
|
+
...(input.SourceMetadata != null && { SourceMetadata: se_SourceMetadata(input.SourceMetadata, context) }),
|
|
2846
2804
|
...(input.Type != null && { Type: input.Type }),
|
|
2847
2805
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2848
2806
|
};
|
|
2849
2807
|
};
|
|
2850
|
-
const
|
|
2808
|
+
const se_UpdateSubnetChangeProtectionRequest = (input, context) => {
|
|
2851
2809
|
return {
|
|
2852
2810
|
...(input.FirewallArn != null && { FirewallArn: input.FirewallArn }),
|
|
2853
2811
|
...(input.FirewallName != null && { FirewallName: input.FirewallName }),
|
|
@@ -2855,14 +2813,14 @@ const serializeAws_json1_0UpdateSubnetChangeProtectionRequest = (input, context)
|
|
|
2855
2813
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2856
2814
|
};
|
|
2857
2815
|
};
|
|
2858
|
-
const
|
|
2816
|
+
const se_UpdateTLSInspectionConfigurationRequest = (input, context) => {
|
|
2859
2817
|
return {
|
|
2860
2818
|
...(input.Description != null && { Description: input.Description }),
|
|
2861
2819
|
...(input.EncryptionConfiguration != null && {
|
|
2862
|
-
EncryptionConfiguration:
|
|
2820
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
2863
2821
|
}),
|
|
2864
2822
|
...(input.TLSInspectionConfiguration != null && {
|
|
2865
|
-
TLSInspectionConfiguration:
|
|
2823
|
+
TLSInspectionConfiguration: se_TLSInspectionConfiguration(input.TLSInspectionConfiguration, context),
|
|
2866
2824
|
}),
|
|
2867
2825
|
...(input.TLSInspectionConfigurationArn != null && {
|
|
2868
2826
|
TLSInspectionConfigurationArn: input.TLSInspectionConfigurationArn,
|
|
@@ -2873,44 +2831,42 @@ const serializeAws_json1_0UpdateTLSInspectionConfigurationRequest = (input, cont
|
|
|
2873
2831
|
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2874
2832
|
};
|
|
2875
2833
|
};
|
|
2876
|
-
const
|
|
2834
|
+
const se_VariableDefinitionList = (input, context) => {
|
|
2877
2835
|
return input
|
|
2878
2836
|
.filter((e) => e != null)
|
|
2879
2837
|
.map((entry) => {
|
|
2880
2838
|
return entry;
|
|
2881
2839
|
});
|
|
2882
2840
|
};
|
|
2883
|
-
const
|
|
2841
|
+
const se_VpcIds = (input, context) => {
|
|
2884
2842
|
return input
|
|
2885
2843
|
.filter((e) => e != null)
|
|
2886
2844
|
.map((entry) => {
|
|
2887
2845
|
return entry;
|
|
2888
2846
|
});
|
|
2889
2847
|
};
|
|
2890
|
-
const
|
|
2848
|
+
const de_ActionDefinition = (output, context) => {
|
|
2891
2849
|
return {
|
|
2892
|
-
PublishMetricAction: output.PublishMetricAction != null
|
|
2893
|
-
? deserializeAws_json1_0PublishMetricAction(output.PublishMetricAction, context)
|
|
2894
|
-
: undefined,
|
|
2850
|
+
PublishMetricAction: output.PublishMetricAction != null ? de_PublishMetricAction(output.PublishMetricAction, context) : undefined,
|
|
2895
2851
|
};
|
|
2896
2852
|
};
|
|
2897
|
-
const
|
|
2853
|
+
const de_Address = (output, context) => {
|
|
2898
2854
|
return {
|
|
2899
2855
|
AddressDefinition: __expectString(output.AddressDefinition),
|
|
2900
2856
|
};
|
|
2901
2857
|
};
|
|
2902
|
-
const
|
|
2858
|
+
const de_Addresses = (output, context) => {
|
|
2903
2859
|
const retVal = (output || [])
|
|
2904
2860
|
.filter((e) => e != null)
|
|
2905
2861
|
.map((entry) => {
|
|
2906
2862
|
if (entry === null) {
|
|
2907
2863
|
return null;
|
|
2908
2864
|
}
|
|
2909
|
-
return
|
|
2865
|
+
return de_Address(entry, context);
|
|
2910
2866
|
});
|
|
2911
2867
|
return retVal;
|
|
2912
2868
|
};
|
|
2913
|
-
const
|
|
2869
|
+
const de_AssociateFirewallPolicyResponse = (output, context) => {
|
|
2914
2870
|
return {
|
|
2915
2871
|
FirewallArn: __expectString(output.FirewallArn),
|
|
2916
2872
|
FirewallName: __expectString(output.FirewallName),
|
|
@@ -2918,15 +2874,15 @@ const deserializeAws_json1_0AssociateFirewallPolicyResponse = (output, context)
|
|
|
2918
2874
|
UpdateToken: __expectString(output.UpdateToken),
|
|
2919
2875
|
};
|
|
2920
2876
|
};
|
|
2921
|
-
const
|
|
2877
|
+
const de_AssociateSubnetsResponse = (output, context) => {
|
|
2922
2878
|
return {
|
|
2923
2879
|
FirewallArn: __expectString(output.FirewallArn),
|
|
2924
2880
|
FirewallName: __expectString(output.FirewallName),
|
|
2925
|
-
SubnetMappings: output.SubnetMappings != null ?
|
|
2881
|
+
SubnetMappings: output.SubnetMappings != null ? de_SubnetMappings(output.SubnetMappings, context) : undefined,
|
|
2926
2882
|
UpdateToken: __expectString(output.UpdateToken),
|
|
2927
2883
|
};
|
|
2928
2884
|
};
|
|
2929
|
-
const
|
|
2885
|
+
const de_Attachment = (output, context) => {
|
|
2930
2886
|
return {
|
|
2931
2887
|
EndpointId: __expectString(output.EndpointId),
|
|
2932
2888
|
Status: __expectString(output.Status),
|
|
@@ -2934,140 +2890,130 @@ const deserializeAws_json1_0Attachment = (output, context) => {
|
|
|
2934
2890
|
SubnetId: __expectString(output.SubnetId),
|
|
2935
2891
|
};
|
|
2936
2892
|
};
|
|
2937
|
-
const
|
|
2893
|
+
const de_CapacityUsageSummary = (output, context) => {
|
|
2938
2894
|
return {
|
|
2939
|
-
CIDRs: output.CIDRs != null ?
|
|
2895
|
+
CIDRs: output.CIDRs != null ? de_CIDRSummary(output.CIDRs, context) : undefined,
|
|
2940
2896
|
};
|
|
2941
2897
|
};
|
|
2942
|
-
const
|
|
2898
|
+
const de_Certificates = (output, context) => {
|
|
2943
2899
|
const retVal = (output || [])
|
|
2944
2900
|
.filter((e) => e != null)
|
|
2945
2901
|
.map((entry) => {
|
|
2946
2902
|
if (entry === null) {
|
|
2947
2903
|
return null;
|
|
2948
2904
|
}
|
|
2949
|
-
return
|
|
2905
|
+
return de_TlsCertificateData(entry, context);
|
|
2950
2906
|
});
|
|
2951
2907
|
return retVal;
|
|
2952
2908
|
};
|
|
2953
|
-
const
|
|
2909
|
+
const de_CIDRSummary = (output, context) => {
|
|
2954
2910
|
return {
|
|
2955
2911
|
AvailableCIDRCount: __expectInt32(output.AvailableCIDRCount),
|
|
2956
|
-
IPSetReferences: output.IPSetReferences != null
|
|
2957
|
-
? deserializeAws_json1_0IPSetMetadataMap(output.IPSetReferences, context)
|
|
2958
|
-
: undefined,
|
|
2912
|
+
IPSetReferences: output.IPSetReferences != null ? de_IPSetMetadataMap(output.IPSetReferences, context) : undefined,
|
|
2959
2913
|
UtilizedCIDRCount: __expectInt32(output.UtilizedCIDRCount),
|
|
2960
2914
|
};
|
|
2961
2915
|
};
|
|
2962
|
-
const
|
|
2916
|
+
const de_CreateFirewallPolicyResponse = (output, context) => {
|
|
2963
2917
|
return {
|
|
2964
2918
|
FirewallPolicyResponse: output.FirewallPolicyResponse != null
|
|
2965
|
-
?
|
|
2919
|
+
? de_FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
2966
2920
|
: undefined,
|
|
2967
2921
|
UpdateToken: __expectString(output.UpdateToken),
|
|
2968
2922
|
};
|
|
2969
2923
|
};
|
|
2970
|
-
const
|
|
2924
|
+
const de_CreateFirewallResponse = (output, context) => {
|
|
2971
2925
|
return {
|
|
2972
|
-
Firewall: output.Firewall != null ?
|
|
2973
|
-
FirewallStatus: output.FirewallStatus != null ?
|
|
2926
|
+
Firewall: output.Firewall != null ? de_Firewall(output.Firewall, context) : undefined,
|
|
2927
|
+
FirewallStatus: output.FirewallStatus != null ? de_FirewallStatus(output.FirewallStatus, context) : undefined,
|
|
2974
2928
|
};
|
|
2975
2929
|
};
|
|
2976
|
-
const
|
|
2930
|
+
const de_CreateRuleGroupResponse = (output, context) => {
|
|
2977
2931
|
return {
|
|
2978
|
-
RuleGroupResponse: output.RuleGroupResponse != null
|
|
2979
|
-
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
2980
|
-
: undefined,
|
|
2932
|
+
RuleGroupResponse: output.RuleGroupResponse != null ? de_RuleGroupResponse(output.RuleGroupResponse, context) : undefined,
|
|
2981
2933
|
UpdateToken: __expectString(output.UpdateToken),
|
|
2982
2934
|
};
|
|
2983
2935
|
};
|
|
2984
|
-
const
|
|
2936
|
+
const de_CreateTLSInspectionConfigurationResponse = (output, context) => {
|
|
2985
2937
|
return {
|
|
2986
2938
|
TLSInspectionConfigurationResponse: output.TLSInspectionConfigurationResponse != null
|
|
2987
|
-
?
|
|
2939
|
+
? de_TLSInspectionConfigurationResponse(output.TLSInspectionConfigurationResponse, context)
|
|
2988
2940
|
: undefined,
|
|
2989
2941
|
UpdateToken: __expectString(output.UpdateToken),
|
|
2990
2942
|
};
|
|
2991
2943
|
};
|
|
2992
|
-
const
|
|
2944
|
+
const de_CustomAction = (output, context) => {
|
|
2993
2945
|
return {
|
|
2994
|
-
ActionDefinition: output.ActionDefinition != null
|
|
2995
|
-
? deserializeAws_json1_0ActionDefinition(output.ActionDefinition, context)
|
|
2996
|
-
: undefined,
|
|
2946
|
+
ActionDefinition: output.ActionDefinition != null ? de_ActionDefinition(output.ActionDefinition, context) : undefined,
|
|
2997
2947
|
ActionName: __expectString(output.ActionName),
|
|
2998
2948
|
};
|
|
2999
2949
|
};
|
|
3000
|
-
const
|
|
2950
|
+
const de_CustomActions = (output, context) => {
|
|
3001
2951
|
const retVal = (output || [])
|
|
3002
2952
|
.filter((e) => e != null)
|
|
3003
2953
|
.map((entry) => {
|
|
3004
2954
|
if (entry === null) {
|
|
3005
2955
|
return null;
|
|
3006
2956
|
}
|
|
3007
|
-
return
|
|
2957
|
+
return de_CustomAction(entry, context);
|
|
3008
2958
|
});
|
|
3009
2959
|
return retVal;
|
|
3010
2960
|
};
|
|
3011
|
-
const
|
|
2961
|
+
const de_DeleteFirewallPolicyResponse = (output, context) => {
|
|
3012
2962
|
return {
|
|
3013
2963
|
FirewallPolicyResponse: output.FirewallPolicyResponse != null
|
|
3014
|
-
?
|
|
2964
|
+
? de_FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
3015
2965
|
: undefined,
|
|
3016
2966
|
};
|
|
3017
2967
|
};
|
|
3018
|
-
const
|
|
2968
|
+
const de_DeleteFirewallResponse = (output, context) => {
|
|
3019
2969
|
return {
|
|
3020
|
-
Firewall: output.Firewall != null ?
|
|
3021
|
-
FirewallStatus: output.FirewallStatus != null ?
|
|
2970
|
+
Firewall: output.Firewall != null ? de_Firewall(output.Firewall, context) : undefined,
|
|
2971
|
+
FirewallStatus: output.FirewallStatus != null ? de_FirewallStatus(output.FirewallStatus, context) : undefined,
|
|
3022
2972
|
};
|
|
3023
2973
|
};
|
|
3024
|
-
const
|
|
2974
|
+
const de_DeleteResourcePolicyResponse = (output, context) => {
|
|
3025
2975
|
return {};
|
|
3026
2976
|
};
|
|
3027
|
-
const
|
|
2977
|
+
const de_DeleteRuleGroupResponse = (output, context) => {
|
|
3028
2978
|
return {
|
|
3029
|
-
RuleGroupResponse: output.RuleGroupResponse != null
|
|
3030
|
-
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
3031
|
-
: undefined,
|
|
2979
|
+
RuleGroupResponse: output.RuleGroupResponse != null ? de_RuleGroupResponse(output.RuleGroupResponse, context) : undefined,
|
|
3032
2980
|
};
|
|
3033
2981
|
};
|
|
3034
|
-
const
|
|
2982
|
+
const de_DeleteTLSInspectionConfigurationResponse = (output, context) => {
|
|
3035
2983
|
return {
|
|
3036
2984
|
TLSInspectionConfigurationResponse: output.TLSInspectionConfigurationResponse != null
|
|
3037
|
-
?
|
|
2985
|
+
? de_TLSInspectionConfigurationResponse(output.TLSInspectionConfigurationResponse, context)
|
|
3038
2986
|
: undefined,
|
|
3039
2987
|
};
|
|
3040
2988
|
};
|
|
3041
|
-
const
|
|
2989
|
+
const de_DescribeFirewallPolicyResponse = (output, context) => {
|
|
3042
2990
|
return {
|
|
3043
|
-
FirewallPolicy: output.FirewallPolicy != null ?
|
|
2991
|
+
FirewallPolicy: output.FirewallPolicy != null ? de_FirewallPolicy(output.FirewallPolicy, context) : undefined,
|
|
3044
2992
|
FirewallPolicyResponse: output.FirewallPolicyResponse != null
|
|
3045
|
-
?
|
|
2993
|
+
? de_FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
3046
2994
|
: undefined,
|
|
3047
2995
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3048
2996
|
};
|
|
3049
2997
|
};
|
|
3050
|
-
const
|
|
2998
|
+
const de_DescribeFirewallResponse = (output, context) => {
|
|
3051
2999
|
return {
|
|
3052
|
-
Firewall: output.Firewall != null ?
|
|
3053
|
-
FirewallStatus: output.FirewallStatus != null ?
|
|
3000
|
+
Firewall: output.Firewall != null ? de_Firewall(output.Firewall, context) : undefined,
|
|
3001
|
+
FirewallStatus: output.FirewallStatus != null ? de_FirewallStatus(output.FirewallStatus, context) : undefined,
|
|
3054
3002
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3055
3003
|
};
|
|
3056
3004
|
};
|
|
3057
|
-
const
|
|
3005
|
+
const de_DescribeLoggingConfigurationResponse = (output, context) => {
|
|
3058
3006
|
return {
|
|
3059
3007
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3060
|
-
LoggingConfiguration: output.LoggingConfiguration != null
|
|
3061
|
-
? deserializeAws_json1_0LoggingConfiguration(output.LoggingConfiguration, context)
|
|
3062
|
-
: undefined,
|
|
3008
|
+
LoggingConfiguration: output.LoggingConfiguration != null ? de_LoggingConfiguration(output.LoggingConfiguration, context) : undefined,
|
|
3063
3009
|
};
|
|
3064
3010
|
};
|
|
3065
|
-
const
|
|
3011
|
+
const de_DescribeResourcePolicyResponse = (output, context) => {
|
|
3066
3012
|
return {
|
|
3067
3013
|
Policy: __expectString(output.Policy),
|
|
3068
3014
|
};
|
|
3069
3015
|
};
|
|
3070
|
-
const
|
|
3016
|
+
const de_DescribeRuleGroupMetadataResponse = (output, context) => {
|
|
3071
3017
|
return {
|
|
3072
3018
|
Capacity: __expectInt32(output.Capacity),
|
|
3073
3019
|
Description: __expectString(output.Description),
|
|
@@ -3076,68 +3022,64 @@ const deserializeAws_json1_0DescribeRuleGroupMetadataResponse = (output, context
|
|
|
3076
3022
|
: undefined,
|
|
3077
3023
|
RuleGroupArn: __expectString(output.RuleGroupArn),
|
|
3078
3024
|
RuleGroupName: __expectString(output.RuleGroupName),
|
|
3079
|
-
StatefulRuleOptions: output.StatefulRuleOptions != null
|
|
3080
|
-
? deserializeAws_json1_0StatefulRuleOptions(output.StatefulRuleOptions, context)
|
|
3081
|
-
: undefined,
|
|
3025
|
+
StatefulRuleOptions: output.StatefulRuleOptions != null ? de_StatefulRuleOptions(output.StatefulRuleOptions, context) : undefined,
|
|
3082
3026
|
Type: __expectString(output.Type),
|
|
3083
3027
|
};
|
|
3084
3028
|
};
|
|
3085
|
-
const
|
|
3029
|
+
const de_DescribeRuleGroupResponse = (output, context) => {
|
|
3086
3030
|
return {
|
|
3087
|
-
RuleGroup: output.RuleGroup != null ?
|
|
3088
|
-
RuleGroupResponse: output.RuleGroupResponse != null
|
|
3089
|
-
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
3090
|
-
: undefined,
|
|
3031
|
+
RuleGroup: output.RuleGroup != null ? de_RuleGroup(output.RuleGroup, context) : undefined,
|
|
3032
|
+
RuleGroupResponse: output.RuleGroupResponse != null ? de_RuleGroupResponse(output.RuleGroupResponse, context) : undefined,
|
|
3091
3033
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3092
3034
|
};
|
|
3093
3035
|
};
|
|
3094
|
-
const
|
|
3036
|
+
const de_DescribeTLSInspectionConfigurationResponse = (output, context) => {
|
|
3095
3037
|
return {
|
|
3096
3038
|
TLSInspectionConfiguration: output.TLSInspectionConfiguration != null
|
|
3097
|
-
?
|
|
3039
|
+
? de_TLSInspectionConfiguration(output.TLSInspectionConfiguration, context)
|
|
3098
3040
|
: undefined,
|
|
3099
3041
|
TLSInspectionConfigurationResponse: output.TLSInspectionConfigurationResponse != null
|
|
3100
|
-
?
|
|
3042
|
+
? de_TLSInspectionConfigurationResponse(output.TLSInspectionConfigurationResponse, context)
|
|
3101
3043
|
: undefined,
|
|
3102
3044
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3103
3045
|
};
|
|
3104
3046
|
};
|
|
3105
|
-
const
|
|
3047
|
+
const de_Dimension = (output, context) => {
|
|
3106
3048
|
return {
|
|
3107
3049
|
Value: __expectString(output.Value),
|
|
3108
3050
|
};
|
|
3109
3051
|
};
|
|
3110
|
-
const
|
|
3052
|
+
const de_Dimensions = (output, context) => {
|
|
3111
3053
|
const retVal = (output || [])
|
|
3112
3054
|
.filter((e) => e != null)
|
|
3113
3055
|
.map((entry) => {
|
|
3114
3056
|
if (entry === null) {
|
|
3115
3057
|
return null;
|
|
3116
3058
|
}
|
|
3117
|
-
return
|
|
3059
|
+
return de_Dimension(entry, context);
|
|
3118
3060
|
});
|
|
3119
3061
|
return retVal;
|
|
3120
3062
|
};
|
|
3121
|
-
const
|
|
3063
|
+
const de_DisassociateSubnetsResponse = (output, context) => {
|
|
3122
3064
|
return {
|
|
3123
3065
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3124
3066
|
FirewallName: __expectString(output.FirewallName),
|
|
3125
|
-
SubnetMappings: output.SubnetMappings != null ?
|
|
3067
|
+
SubnetMappings: output.SubnetMappings != null ? de_SubnetMappings(output.SubnetMappings, context) : undefined,
|
|
3126
3068
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3127
3069
|
};
|
|
3128
3070
|
};
|
|
3129
|
-
const
|
|
3071
|
+
const de_EncryptionConfiguration = (output, context) => {
|
|
3130
3072
|
return {
|
|
3131
3073
|
KeyId: __expectString(output.KeyId),
|
|
3132
3074
|
Type: __expectString(output.Type),
|
|
3133
3075
|
};
|
|
3134
3076
|
};
|
|
3135
|
-
const
|
|
3077
|
+
const de_Firewall = (output, context) => {
|
|
3136
3078
|
return {
|
|
3137
3079
|
DeleteProtection: __expectBoolean(output.DeleteProtection),
|
|
3138
3080
|
Description: __expectString(output.Description),
|
|
3139
3081
|
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
3140
|
-
?
|
|
3082
|
+
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
3141
3083
|
: undefined,
|
|
3142
3084
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3143
3085
|
FirewallId: __expectString(output.FirewallId),
|
|
@@ -3145,67 +3087,61 @@ const deserializeAws_json1_0Firewall = (output, context) => {
|
|
|
3145
3087
|
FirewallPolicyArn: __expectString(output.FirewallPolicyArn),
|
|
3146
3088
|
FirewallPolicyChangeProtection: __expectBoolean(output.FirewallPolicyChangeProtection),
|
|
3147
3089
|
SubnetChangeProtection: __expectBoolean(output.SubnetChangeProtection),
|
|
3148
|
-
SubnetMappings: output.SubnetMappings != null ?
|
|
3149
|
-
Tags: output.Tags != null ?
|
|
3090
|
+
SubnetMappings: output.SubnetMappings != null ? de_SubnetMappings(output.SubnetMappings, context) : undefined,
|
|
3091
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3150
3092
|
VpcId: __expectString(output.VpcId),
|
|
3151
3093
|
};
|
|
3152
3094
|
};
|
|
3153
|
-
const
|
|
3095
|
+
const de_FirewallMetadata = (output, context) => {
|
|
3154
3096
|
return {
|
|
3155
3097
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3156
3098
|
FirewallName: __expectString(output.FirewallName),
|
|
3157
3099
|
};
|
|
3158
3100
|
};
|
|
3159
|
-
const
|
|
3101
|
+
const de_FirewallPolicies = (output, context) => {
|
|
3160
3102
|
const retVal = (output || [])
|
|
3161
3103
|
.filter((e) => e != null)
|
|
3162
3104
|
.map((entry) => {
|
|
3163
3105
|
if (entry === null) {
|
|
3164
3106
|
return null;
|
|
3165
3107
|
}
|
|
3166
|
-
return
|
|
3108
|
+
return de_FirewallPolicyMetadata(entry, context);
|
|
3167
3109
|
});
|
|
3168
3110
|
return retVal;
|
|
3169
3111
|
};
|
|
3170
|
-
const
|
|
3112
|
+
const de_FirewallPolicy = (output, context) => {
|
|
3171
3113
|
return {
|
|
3172
|
-
StatefulDefaultActions: output.StatefulDefaultActions != null
|
|
3173
|
-
? deserializeAws_json1_0StatefulActions(output.StatefulDefaultActions, context)
|
|
3174
|
-
: undefined,
|
|
3114
|
+
StatefulDefaultActions: output.StatefulDefaultActions != null ? de_StatefulActions(output.StatefulDefaultActions, context) : undefined,
|
|
3175
3115
|
StatefulEngineOptions: output.StatefulEngineOptions != null
|
|
3176
|
-
?
|
|
3116
|
+
? de_StatefulEngineOptions(output.StatefulEngineOptions, context)
|
|
3177
3117
|
: undefined,
|
|
3178
3118
|
StatefulRuleGroupReferences: output.StatefulRuleGroupReferences != null
|
|
3179
|
-
?
|
|
3180
|
-
: undefined,
|
|
3181
|
-
StatelessCustomActions: output.StatelessCustomActions != null
|
|
3182
|
-
? deserializeAws_json1_0CustomActions(output.StatelessCustomActions, context)
|
|
3183
|
-
: undefined,
|
|
3184
|
-
StatelessDefaultActions: output.StatelessDefaultActions != null
|
|
3185
|
-
? deserializeAws_json1_0StatelessActions(output.StatelessDefaultActions, context)
|
|
3119
|
+
? de_StatefulRuleGroupReferences(output.StatefulRuleGroupReferences, context)
|
|
3186
3120
|
: undefined,
|
|
3121
|
+
StatelessCustomActions: output.StatelessCustomActions != null ? de_CustomActions(output.StatelessCustomActions, context) : undefined,
|
|
3122
|
+
StatelessDefaultActions: output.StatelessDefaultActions != null ? de_StatelessActions(output.StatelessDefaultActions, context) : undefined,
|
|
3187
3123
|
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions != null
|
|
3188
|
-
?
|
|
3124
|
+
? de_StatelessActions(output.StatelessFragmentDefaultActions, context)
|
|
3189
3125
|
: undefined,
|
|
3190
3126
|
StatelessRuleGroupReferences: output.StatelessRuleGroupReferences != null
|
|
3191
|
-
?
|
|
3127
|
+
? de_StatelessRuleGroupReferences(output.StatelessRuleGroupReferences, context)
|
|
3192
3128
|
: undefined,
|
|
3193
3129
|
TLSInspectionConfigurationArn: __expectString(output.TLSInspectionConfigurationArn),
|
|
3194
3130
|
};
|
|
3195
3131
|
};
|
|
3196
|
-
const
|
|
3132
|
+
const de_FirewallPolicyMetadata = (output, context) => {
|
|
3197
3133
|
return {
|
|
3198
3134
|
Arn: __expectString(output.Arn),
|
|
3199
3135
|
Name: __expectString(output.Name),
|
|
3200
3136
|
};
|
|
3201
3137
|
};
|
|
3202
|
-
const
|
|
3138
|
+
const de_FirewallPolicyResponse = (output, context) => {
|
|
3203
3139
|
return {
|
|
3204
3140
|
ConsumedStatefulRuleCapacity: __expectInt32(output.ConsumedStatefulRuleCapacity),
|
|
3205
3141
|
ConsumedStatelessRuleCapacity: __expectInt32(output.ConsumedStatelessRuleCapacity),
|
|
3206
3142
|
Description: __expectString(output.Description),
|
|
3207
3143
|
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
3208
|
-
?
|
|
3144
|
+
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
3209
3145
|
: undefined,
|
|
3210
3146
|
FirewallPolicyArn: __expectString(output.FirewallPolicyArn),
|
|
3211
3147
|
FirewallPolicyId: __expectString(output.FirewallPolicyId),
|
|
@@ -3215,31 +3151,29 @@ const deserializeAws_json1_0FirewallPolicyResponse = (output, context) => {
|
|
|
3215
3151
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3216
3152
|
: undefined,
|
|
3217
3153
|
NumberOfAssociations: __expectInt32(output.NumberOfAssociations),
|
|
3218
|
-
Tags: output.Tags != null ?
|
|
3154
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3219
3155
|
};
|
|
3220
3156
|
};
|
|
3221
|
-
const
|
|
3157
|
+
const de_Firewalls = (output, context) => {
|
|
3222
3158
|
const retVal = (output || [])
|
|
3223
3159
|
.filter((e) => e != null)
|
|
3224
3160
|
.map((entry) => {
|
|
3225
3161
|
if (entry === null) {
|
|
3226
3162
|
return null;
|
|
3227
3163
|
}
|
|
3228
|
-
return
|
|
3164
|
+
return de_FirewallMetadata(entry, context);
|
|
3229
3165
|
});
|
|
3230
3166
|
return retVal;
|
|
3231
3167
|
};
|
|
3232
|
-
const
|
|
3168
|
+
const de_FirewallStatus = (output, context) => {
|
|
3233
3169
|
return {
|
|
3234
|
-
CapacityUsageSummary: output.CapacityUsageSummary != null
|
|
3235
|
-
? deserializeAws_json1_0CapacityUsageSummary(output.CapacityUsageSummary, context)
|
|
3236
|
-
: undefined,
|
|
3170
|
+
CapacityUsageSummary: output.CapacityUsageSummary != null ? de_CapacityUsageSummary(output.CapacityUsageSummary, context) : undefined,
|
|
3237
3171
|
ConfigurationSyncStateSummary: __expectString(output.ConfigurationSyncStateSummary),
|
|
3238
3172
|
Status: __expectString(output.Status),
|
|
3239
|
-
SyncStates: output.SyncStates != null ?
|
|
3173
|
+
SyncStates: output.SyncStates != null ? de_SyncStates(output.SyncStates, context) : undefined,
|
|
3240
3174
|
};
|
|
3241
3175
|
};
|
|
3242
|
-
const
|
|
3176
|
+
const de_Flags = (output, context) => {
|
|
3243
3177
|
const retVal = (output || [])
|
|
3244
3178
|
.filter((e) => e != null)
|
|
3245
3179
|
.map((entry) => {
|
|
@@ -3250,7 +3184,7 @@ const deserializeAws_json1_0Flags = (output, context) => {
|
|
|
3250
3184
|
});
|
|
3251
3185
|
return retVal;
|
|
3252
3186
|
};
|
|
3253
|
-
const
|
|
3187
|
+
const de_Header = (output, context) => {
|
|
3254
3188
|
return {
|
|
3255
3189
|
Destination: __expectString(output.Destination),
|
|
3256
3190
|
DestinationPort: __expectString(output.DestinationPort),
|
|
@@ -3260,138 +3194,134 @@ const deserializeAws_json1_0Header = (output, context) => {
|
|
|
3260
3194
|
SourcePort: __expectString(output.SourcePort),
|
|
3261
3195
|
};
|
|
3262
3196
|
};
|
|
3263
|
-
const
|
|
3197
|
+
const de_InsufficientCapacityException = (output, context) => {
|
|
3264
3198
|
return {
|
|
3265
3199
|
Message: __expectString(output.Message),
|
|
3266
3200
|
};
|
|
3267
3201
|
};
|
|
3268
|
-
const
|
|
3202
|
+
const de_InternalServerError = (output, context) => {
|
|
3269
3203
|
return {
|
|
3270
3204
|
Message: __expectString(output.Message),
|
|
3271
3205
|
};
|
|
3272
3206
|
};
|
|
3273
|
-
const
|
|
3207
|
+
const de_InvalidOperationException = (output, context) => {
|
|
3274
3208
|
return {
|
|
3275
3209
|
Message: __expectString(output.Message),
|
|
3276
3210
|
};
|
|
3277
3211
|
};
|
|
3278
|
-
const
|
|
3212
|
+
const de_InvalidRequestException = (output, context) => {
|
|
3279
3213
|
return {
|
|
3280
3214
|
Message: __expectString(output.Message),
|
|
3281
3215
|
};
|
|
3282
3216
|
};
|
|
3283
|
-
const
|
|
3217
|
+
const de_InvalidResourcePolicyException = (output, context) => {
|
|
3284
3218
|
return {
|
|
3285
3219
|
Message: __expectString(output.Message),
|
|
3286
3220
|
};
|
|
3287
3221
|
};
|
|
3288
|
-
const
|
|
3222
|
+
const de_InvalidTokenException = (output, context) => {
|
|
3289
3223
|
return {
|
|
3290
3224
|
Message: __expectString(output.Message),
|
|
3291
3225
|
};
|
|
3292
3226
|
};
|
|
3293
|
-
const
|
|
3227
|
+
const de_IPSet = (output, context) => {
|
|
3294
3228
|
return {
|
|
3295
|
-
Definition: output.Definition != null ?
|
|
3229
|
+
Definition: output.Definition != null ? de_VariableDefinitionList(output.Definition, context) : undefined,
|
|
3296
3230
|
};
|
|
3297
3231
|
};
|
|
3298
|
-
const
|
|
3232
|
+
const de_IPSetMetadata = (output, context) => {
|
|
3299
3233
|
return {
|
|
3300
3234
|
ResolvedCIDRCount: __expectInt32(output.ResolvedCIDRCount),
|
|
3301
3235
|
};
|
|
3302
3236
|
};
|
|
3303
|
-
const
|
|
3237
|
+
const de_IPSetMetadataMap = (output, context) => {
|
|
3304
3238
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3305
3239
|
if (value === null) {
|
|
3306
3240
|
return acc;
|
|
3307
3241
|
}
|
|
3308
|
-
acc[key] =
|
|
3242
|
+
acc[key] = de_IPSetMetadata(value, context);
|
|
3309
3243
|
return acc;
|
|
3310
3244
|
}, {});
|
|
3311
3245
|
};
|
|
3312
|
-
const
|
|
3246
|
+
const de_IPSetReference = (output, context) => {
|
|
3313
3247
|
return {
|
|
3314
3248
|
ReferenceArn: __expectString(output.ReferenceArn),
|
|
3315
3249
|
};
|
|
3316
3250
|
};
|
|
3317
|
-
const
|
|
3251
|
+
const de_IPSetReferenceMap = (output, context) => {
|
|
3318
3252
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3319
3253
|
if (value === null) {
|
|
3320
3254
|
return acc;
|
|
3321
3255
|
}
|
|
3322
|
-
acc[key] =
|
|
3256
|
+
acc[key] = de_IPSetReference(value, context);
|
|
3323
3257
|
return acc;
|
|
3324
3258
|
}, {});
|
|
3325
3259
|
};
|
|
3326
|
-
const
|
|
3260
|
+
const de_IPSets = (output, context) => {
|
|
3327
3261
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3328
3262
|
if (value === null) {
|
|
3329
3263
|
return acc;
|
|
3330
3264
|
}
|
|
3331
|
-
acc[key] =
|
|
3265
|
+
acc[key] = de_IPSet(value, context);
|
|
3332
3266
|
return acc;
|
|
3333
3267
|
}, {});
|
|
3334
3268
|
};
|
|
3335
|
-
const
|
|
3269
|
+
const de_LimitExceededException = (output, context) => {
|
|
3336
3270
|
return {
|
|
3337
3271
|
Message: __expectString(output.Message),
|
|
3338
3272
|
};
|
|
3339
3273
|
};
|
|
3340
|
-
const
|
|
3274
|
+
const de_ListFirewallPoliciesResponse = (output, context) => {
|
|
3341
3275
|
return {
|
|
3342
|
-
FirewallPolicies: output.FirewallPolicies != null
|
|
3343
|
-
? deserializeAws_json1_0FirewallPolicies(output.FirewallPolicies, context)
|
|
3344
|
-
: undefined,
|
|
3276
|
+
FirewallPolicies: output.FirewallPolicies != null ? de_FirewallPolicies(output.FirewallPolicies, context) : undefined,
|
|
3345
3277
|
NextToken: __expectString(output.NextToken),
|
|
3346
3278
|
};
|
|
3347
3279
|
};
|
|
3348
|
-
const
|
|
3280
|
+
const de_ListFirewallsResponse = (output, context) => {
|
|
3349
3281
|
return {
|
|
3350
|
-
Firewalls: output.Firewalls != null ?
|
|
3282
|
+
Firewalls: output.Firewalls != null ? de_Firewalls(output.Firewalls, context) : undefined,
|
|
3351
3283
|
NextToken: __expectString(output.NextToken),
|
|
3352
3284
|
};
|
|
3353
3285
|
};
|
|
3354
|
-
const
|
|
3286
|
+
const de_ListRuleGroupsResponse = (output, context) => {
|
|
3355
3287
|
return {
|
|
3356
3288
|
NextToken: __expectString(output.NextToken),
|
|
3357
|
-
RuleGroups: output.RuleGroups != null ?
|
|
3289
|
+
RuleGroups: output.RuleGroups != null ? de_RuleGroups(output.RuleGroups, context) : undefined,
|
|
3358
3290
|
};
|
|
3359
3291
|
};
|
|
3360
|
-
const
|
|
3292
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
3361
3293
|
return {
|
|
3362
3294
|
NextToken: __expectString(output.NextToken),
|
|
3363
|
-
Tags: output.Tags != null ?
|
|
3295
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3364
3296
|
};
|
|
3365
3297
|
};
|
|
3366
|
-
const
|
|
3298
|
+
const de_ListTLSInspectionConfigurationsResponse = (output, context) => {
|
|
3367
3299
|
return {
|
|
3368
3300
|
NextToken: __expectString(output.NextToken),
|
|
3369
3301
|
TLSInspectionConfigurations: output.TLSInspectionConfigurations != null
|
|
3370
|
-
?
|
|
3302
|
+
? de_TLSInspectionConfigurations(output.TLSInspectionConfigurations, context)
|
|
3371
3303
|
: undefined,
|
|
3372
3304
|
};
|
|
3373
3305
|
};
|
|
3374
|
-
const
|
|
3306
|
+
const de_LogDestinationConfig = (output, context) => {
|
|
3375
3307
|
return {
|
|
3376
|
-
LogDestination: output.LogDestination != null
|
|
3377
|
-
? deserializeAws_json1_0LogDestinationMap(output.LogDestination, context)
|
|
3378
|
-
: undefined,
|
|
3308
|
+
LogDestination: output.LogDestination != null ? de_LogDestinationMap(output.LogDestination, context) : undefined,
|
|
3379
3309
|
LogDestinationType: __expectString(output.LogDestinationType),
|
|
3380
3310
|
LogType: __expectString(output.LogType),
|
|
3381
3311
|
};
|
|
3382
3312
|
};
|
|
3383
|
-
const
|
|
3313
|
+
const de_LogDestinationConfigs = (output, context) => {
|
|
3384
3314
|
const retVal = (output || [])
|
|
3385
3315
|
.filter((e) => e != null)
|
|
3386
3316
|
.map((entry) => {
|
|
3387
3317
|
if (entry === null) {
|
|
3388
3318
|
return null;
|
|
3389
3319
|
}
|
|
3390
|
-
return
|
|
3320
|
+
return de_LogDestinationConfig(entry, context);
|
|
3391
3321
|
});
|
|
3392
3322
|
return retVal;
|
|
3393
3323
|
};
|
|
3394
|
-
const
|
|
3324
|
+
const de_LogDestinationMap = (output, context) => {
|
|
3395
3325
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3396
3326
|
if (value === null) {
|
|
3397
3327
|
return acc;
|
|
@@ -3400,66 +3330,66 @@ const deserializeAws_json1_0LogDestinationMap = (output, context) => {
|
|
|
3400
3330
|
return acc;
|
|
3401
3331
|
}, {});
|
|
3402
3332
|
};
|
|
3403
|
-
const
|
|
3333
|
+
const de_LogDestinationPermissionException = (output, context) => {
|
|
3404
3334
|
return {
|
|
3405
3335
|
Message: __expectString(output.Message),
|
|
3406
3336
|
};
|
|
3407
3337
|
};
|
|
3408
|
-
const
|
|
3338
|
+
const de_LoggingConfiguration = (output, context) => {
|
|
3409
3339
|
return {
|
|
3410
3340
|
LogDestinationConfigs: output.LogDestinationConfigs != null
|
|
3411
|
-
?
|
|
3341
|
+
? de_LogDestinationConfigs(output.LogDestinationConfigs, context)
|
|
3412
3342
|
: undefined,
|
|
3413
3343
|
};
|
|
3414
3344
|
};
|
|
3415
|
-
const
|
|
3345
|
+
const de_MatchAttributes = (output, context) => {
|
|
3416
3346
|
return {
|
|
3417
|
-
DestinationPorts: output.DestinationPorts != null ?
|
|
3418
|
-
Destinations: output.Destinations != null ?
|
|
3419
|
-
Protocols: output.Protocols != null ?
|
|
3420
|
-
SourcePorts: output.SourcePorts != null ?
|
|
3421
|
-
Sources: output.Sources != null ?
|
|
3422
|
-
TCPFlags: output.TCPFlags != null ?
|
|
3347
|
+
DestinationPorts: output.DestinationPorts != null ? de_PortRanges(output.DestinationPorts, context) : undefined,
|
|
3348
|
+
Destinations: output.Destinations != null ? de_Addresses(output.Destinations, context) : undefined,
|
|
3349
|
+
Protocols: output.Protocols != null ? de_ProtocolNumbers(output.Protocols, context) : undefined,
|
|
3350
|
+
SourcePorts: output.SourcePorts != null ? de_PortRanges(output.SourcePorts, context) : undefined,
|
|
3351
|
+
Sources: output.Sources != null ? de_Addresses(output.Sources, context) : undefined,
|
|
3352
|
+
TCPFlags: output.TCPFlags != null ? de_TCPFlags(output.TCPFlags, context) : undefined,
|
|
3423
3353
|
};
|
|
3424
3354
|
};
|
|
3425
|
-
const
|
|
3355
|
+
const de_PerObjectStatus = (output, context) => {
|
|
3426
3356
|
return {
|
|
3427
3357
|
SyncStatus: __expectString(output.SyncStatus),
|
|
3428
3358
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3429
3359
|
};
|
|
3430
3360
|
};
|
|
3431
|
-
const
|
|
3361
|
+
const de_PortRange = (output, context) => {
|
|
3432
3362
|
return {
|
|
3433
3363
|
FromPort: __expectInt32(output.FromPort),
|
|
3434
3364
|
ToPort: __expectInt32(output.ToPort),
|
|
3435
3365
|
};
|
|
3436
3366
|
};
|
|
3437
|
-
const
|
|
3367
|
+
const de_PortRanges = (output, context) => {
|
|
3438
3368
|
const retVal = (output || [])
|
|
3439
3369
|
.filter((e) => e != null)
|
|
3440
3370
|
.map((entry) => {
|
|
3441
3371
|
if (entry === null) {
|
|
3442
3372
|
return null;
|
|
3443
3373
|
}
|
|
3444
|
-
return
|
|
3374
|
+
return de_PortRange(entry, context);
|
|
3445
3375
|
});
|
|
3446
3376
|
return retVal;
|
|
3447
3377
|
};
|
|
3448
|
-
const
|
|
3378
|
+
const de_PortSet = (output, context) => {
|
|
3449
3379
|
return {
|
|
3450
|
-
Definition: output.Definition != null ?
|
|
3380
|
+
Definition: output.Definition != null ? de_VariableDefinitionList(output.Definition, context) : undefined,
|
|
3451
3381
|
};
|
|
3452
3382
|
};
|
|
3453
|
-
const
|
|
3383
|
+
const de_PortSets = (output, context) => {
|
|
3454
3384
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3455
3385
|
if (value === null) {
|
|
3456
3386
|
return acc;
|
|
3457
3387
|
}
|
|
3458
|
-
acc[key] =
|
|
3388
|
+
acc[key] = de_PortSet(value, context);
|
|
3459
3389
|
return acc;
|
|
3460
3390
|
}, {});
|
|
3461
3391
|
};
|
|
3462
|
-
const
|
|
3392
|
+
const de_ProtocolNumbers = (output, context) => {
|
|
3463
3393
|
const retVal = (output || [])
|
|
3464
3394
|
.filter((e) => e != null)
|
|
3465
3395
|
.map((entry) => {
|
|
@@ -3470,62 +3400,56 @@ const deserializeAws_json1_0ProtocolNumbers = (output, context) => {
|
|
|
3470
3400
|
});
|
|
3471
3401
|
return retVal;
|
|
3472
3402
|
};
|
|
3473
|
-
const
|
|
3403
|
+
const de_PublishMetricAction = (output, context) => {
|
|
3474
3404
|
return {
|
|
3475
|
-
Dimensions: output.Dimensions != null ?
|
|
3405
|
+
Dimensions: output.Dimensions != null ? de_Dimensions(output.Dimensions, context) : undefined,
|
|
3476
3406
|
};
|
|
3477
3407
|
};
|
|
3478
|
-
const
|
|
3408
|
+
const de_PutResourcePolicyResponse = (output, context) => {
|
|
3479
3409
|
return {};
|
|
3480
3410
|
};
|
|
3481
|
-
const
|
|
3411
|
+
const de_ReferenceSets = (output, context) => {
|
|
3482
3412
|
return {
|
|
3483
|
-
IPSetReferences: output.IPSetReferences != null
|
|
3484
|
-
? deserializeAws_json1_0IPSetReferenceMap(output.IPSetReferences, context)
|
|
3485
|
-
: undefined,
|
|
3413
|
+
IPSetReferences: output.IPSetReferences != null ? de_IPSetReferenceMap(output.IPSetReferences, context) : undefined,
|
|
3486
3414
|
};
|
|
3487
3415
|
};
|
|
3488
|
-
const
|
|
3416
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
3489
3417
|
return {
|
|
3490
3418
|
Message: __expectString(output.Message),
|
|
3491
3419
|
};
|
|
3492
3420
|
};
|
|
3493
|
-
const
|
|
3421
|
+
const de_ResourceOwnerCheckException = (output, context) => {
|
|
3494
3422
|
return {
|
|
3495
3423
|
Message: __expectString(output.Message),
|
|
3496
3424
|
};
|
|
3497
3425
|
};
|
|
3498
|
-
const
|
|
3426
|
+
const de_RuleDefinition = (output, context) => {
|
|
3499
3427
|
return {
|
|
3500
|
-
Actions: output.Actions != null ?
|
|
3501
|
-
MatchAttributes: output.MatchAttributes != null
|
|
3502
|
-
? deserializeAws_json1_0MatchAttributes(output.MatchAttributes, context)
|
|
3503
|
-
: undefined,
|
|
3428
|
+
Actions: output.Actions != null ? de_StatelessActions(output.Actions, context) : undefined,
|
|
3429
|
+
MatchAttributes: output.MatchAttributes != null ? de_MatchAttributes(output.MatchAttributes, context) : undefined,
|
|
3504
3430
|
};
|
|
3505
3431
|
};
|
|
3506
|
-
const
|
|
3432
|
+
const de_RuleGroup = (output, context) => {
|
|
3507
3433
|
return {
|
|
3508
|
-
ReferenceSets: output.ReferenceSets != null ?
|
|
3509
|
-
RuleVariables: output.RuleVariables != null ?
|
|
3510
|
-
RulesSource: output.RulesSource != null ?
|
|
3511
|
-
StatefulRuleOptions: output.StatefulRuleOptions != null
|
|
3512
|
-
? deserializeAws_json1_0StatefulRuleOptions(output.StatefulRuleOptions, context)
|
|
3513
|
-
: undefined,
|
|
3434
|
+
ReferenceSets: output.ReferenceSets != null ? de_ReferenceSets(output.ReferenceSets, context) : undefined,
|
|
3435
|
+
RuleVariables: output.RuleVariables != null ? de_RuleVariables(output.RuleVariables, context) : undefined,
|
|
3436
|
+
RulesSource: output.RulesSource != null ? de_RulesSource(output.RulesSource, context) : undefined,
|
|
3437
|
+
StatefulRuleOptions: output.StatefulRuleOptions != null ? de_StatefulRuleOptions(output.StatefulRuleOptions, context) : undefined,
|
|
3514
3438
|
};
|
|
3515
3439
|
};
|
|
3516
|
-
const
|
|
3440
|
+
const de_RuleGroupMetadata = (output, context) => {
|
|
3517
3441
|
return {
|
|
3518
3442
|
Arn: __expectString(output.Arn),
|
|
3519
3443
|
Name: __expectString(output.Name),
|
|
3520
3444
|
};
|
|
3521
3445
|
};
|
|
3522
|
-
const
|
|
3446
|
+
const de_RuleGroupResponse = (output, context) => {
|
|
3523
3447
|
return {
|
|
3524
3448
|
Capacity: __expectInt32(output.Capacity),
|
|
3525
3449
|
ConsumedCapacity: __expectInt32(output.ConsumedCapacity),
|
|
3526
3450
|
Description: __expectString(output.Description),
|
|
3527
3451
|
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
3528
|
-
?
|
|
3452
|
+
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
3529
3453
|
: undefined,
|
|
3530
3454
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3531
3455
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
@@ -3536,59 +3460,57 @@ const deserializeAws_json1_0RuleGroupResponse = (output, context) => {
|
|
|
3536
3460
|
RuleGroupName: __expectString(output.RuleGroupName),
|
|
3537
3461
|
RuleGroupStatus: __expectString(output.RuleGroupStatus),
|
|
3538
3462
|
SnsTopic: __expectString(output.SnsTopic),
|
|
3539
|
-
SourceMetadata: output.SourceMetadata != null ?
|
|
3540
|
-
Tags: output.Tags != null ?
|
|
3463
|
+
SourceMetadata: output.SourceMetadata != null ? de_SourceMetadata(output.SourceMetadata, context) : undefined,
|
|
3464
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3541
3465
|
Type: __expectString(output.Type),
|
|
3542
3466
|
};
|
|
3543
3467
|
};
|
|
3544
|
-
const
|
|
3468
|
+
const de_RuleGroups = (output, context) => {
|
|
3545
3469
|
const retVal = (output || [])
|
|
3546
3470
|
.filter((e) => e != null)
|
|
3547
3471
|
.map((entry) => {
|
|
3548
3472
|
if (entry === null) {
|
|
3549
3473
|
return null;
|
|
3550
3474
|
}
|
|
3551
|
-
return
|
|
3475
|
+
return de_RuleGroupMetadata(entry, context);
|
|
3552
3476
|
});
|
|
3553
3477
|
return retVal;
|
|
3554
3478
|
};
|
|
3555
|
-
const
|
|
3479
|
+
const de_RuleOption = (output, context) => {
|
|
3556
3480
|
return {
|
|
3557
3481
|
Keyword: __expectString(output.Keyword),
|
|
3558
|
-
Settings: output.Settings != null ?
|
|
3482
|
+
Settings: output.Settings != null ? de_Settings(output.Settings, context) : undefined,
|
|
3559
3483
|
};
|
|
3560
3484
|
};
|
|
3561
|
-
const
|
|
3485
|
+
const de_RuleOptions = (output, context) => {
|
|
3562
3486
|
const retVal = (output || [])
|
|
3563
3487
|
.filter((e) => e != null)
|
|
3564
3488
|
.map((entry) => {
|
|
3565
3489
|
if (entry === null) {
|
|
3566
3490
|
return null;
|
|
3567
3491
|
}
|
|
3568
|
-
return
|
|
3492
|
+
return de_RuleOption(entry, context);
|
|
3569
3493
|
});
|
|
3570
3494
|
return retVal;
|
|
3571
3495
|
};
|
|
3572
|
-
const
|
|
3496
|
+
const de_RulesSource = (output, context) => {
|
|
3573
3497
|
return {
|
|
3574
|
-
RulesSourceList: output.RulesSourceList != null
|
|
3575
|
-
? deserializeAws_json1_0RulesSourceList(output.RulesSourceList, context)
|
|
3576
|
-
: undefined,
|
|
3498
|
+
RulesSourceList: output.RulesSourceList != null ? de_RulesSourceList(output.RulesSourceList, context) : undefined,
|
|
3577
3499
|
RulesString: __expectString(output.RulesString),
|
|
3578
|
-
StatefulRules: output.StatefulRules != null ?
|
|
3500
|
+
StatefulRules: output.StatefulRules != null ? de_StatefulRules(output.StatefulRules, context) : undefined,
|
|
3579
3501
|
StatelessRulesAndCustomActions: output.StatelessRulesAndCustomActions != null
|
|
3580
|
-
?
|
|
3502
|
+
? de_StatelessRulesAndCustomActions(output.StatelessRulesAndCustomActions, context)
|
|
3581
3503
|
: undefined,
|
|
3582
3504
|
};
|
|
3583
3505
|
};
|
|
3584
|
-
const
|
|
3506
|
+
const de_RulesSourceList = (output, context) => {
|
|
3585
3507
|
return {
|
|
3586
3508
|
GeneratedRulesType: __expectString(output.GeneratedRulesType),
|
|
3587
|
-
TargetTypes: output.TargetTypes != null ?
|
|
3588
|
-
Targets: output.Targets != null ?
|
|
3509
|
+
TargetTypes: output.TargetTypes != null ? de_TargetTypes(output.TargetTypes, context) : undefined,
|
|
3510
|
+
Targets: output.Targets != null ? de_RuleTargets(output.Targets, context) : undefined,
|
|
3589
3511
|
};
|
|
3590
3512
|
};
|
|
3591
|
-
const
|
|
3513
|
+
const de_RuleTargets = (output, context) => {
|
|
3592
3514
|
const retVal = (output || [])
|
|
3593
3515
|
.filter((e) => e != null)
|
|
3594
3516
|
.map((entry) => {
|
|
@@ -3599,68 +3521,66 @@ const deserializeAws_json1_0RuleTargets = (output, context) => {
|
|
|
3599
3521
|
});
|
|
3600
3522
|
return retVal;
|
|
3601
3523
|
};
|
|
3602
|
-
const
|
|
3524
|
+
const de_RuleVariables = (output, context) => {
|
|
3603
3525
|
return {
|
|
3604
|
-
IPSets: output.IPSets != null ?
|
|
3605
|
-
PortSets: output.PortSets != null ?
|
|
3526
|
+
IPSets: output.IPSets != null ? de_IPSets(output.IPSets, context) : undefined,
|
|
3527
|
+
PortSets: output.PortSets != null ? de_PortSets(output.PortSets, context) : undefined,
|
|
3606
3528
|
};
|
|
3607
3529
|
};
|
|
3608
|
-
const
|
|
3530
|
+
const de_ServerCertificate = (output, context) => {
|
|
3609
3531
|
return {
|
|
3610
3532
|
ResourceArn: __expectString(output.ResourceArn),
|
|
3611
3533
|
};
|
|
3612
3534
|
};
|
|
3613
|
-
const
|
|
3535
|
+
const de_ServerCertificateConfiguration = (output, context) => {
|
|
3614
3536
|
return {
|
|
3615
|
-
Scopes: output.Scopes != null ?
|
|
3616
|
-
ServerCertificates: output.ServerCertificates != null
|
|
3617
|
-
? deserializeAws_json1_0ServerCertificates(output.ServerCertificates, context)
|
|
3618
|
-
: undefined,
|
|
3537
|
+
Scopes: output.Scopes != null ? de_ServerCertificateScopes(output.Scopes, context) : undefined,
|
|
3538
|
+
ServerCertificates: output.ServerCertificates != null ? de_ServerCertificates(output.ServerCertificates, context) : undefined,
|
|
3619
3539
|
};
|
|
3620
3540
|
};
|
|
3621
|
-
const
|
|
3541
|
+
const de_ServerCertificateConfigurations = (output, context) => {
|
|
3622
3542
|
const retVal = (output || [])
|
|
3623
3543
|
.filter((e) => e != null)
|
|
3624
3544
|
.map((entry) => {
|
|
3625
3545
|
if (entry === null) {
|
|
3626
3546
|
return null;
|
|
3627
3547
|
}
|
|
3628
|
-
return
|
|
3548
|
+
return de_ServerCertificateConfiguration(entry, context);
|
|
3629
3549
|
});
|
|
3630
3550
|
return retVal;
|
|
3631
3551
|
};
|
|
3632
|
-
const
|
|
3552
|
+
const de_ServerCertificates = (output, context) => {
|
|
3633
3553
|
const retVal = (output || [])
|
|
3634
3554
|
.filter((e) => e != null)
|
|
3635
3555
|
.map((entry) => {
|
|
3636
3556
|
if (entry === null) {
|
|
3637
3557
|
return null;
|
|
3638
3558
|
}
|
|
3639
|
-
return
|
|
3559
|
+
return de_ServerCertificate(entry, context);
|
|
3640
3560
|
});
|
|
3641
3561
|
return retVal;
|
|
3642
3562
|
};
|
|
3643
|
-
const
|
|
3563
|
+
const de_ServerCertificateScope = (output, context) => {
|
|
3644
3564
|
return {
|
|
3645
|
-
DestinationPorts: output.DestinationPorts != null ?
|
|
3646
|
-
Destinations: output.Destinations != null ?
|
|
3647
|
-
Protocols: output.Protocols != null ?
|
|
3648
|
-
SourcePorts: output.SourcePorts != null ?
|
|
3649
|
-
Sources: output.Sources != null ?
|
|
3565
|
+
DestinationPorts: output.DestinationPorts != null ? de_PortRanges(output.DestinationPorts, context) : undefined,
|
|
3566
|
+
Destinations: output.Destinations != null ? de_Addresses(output.Destinations, context) : undefined,
|
|
3567
|
+
Protocols: output.Protocols != null ? de_ProtocolNumbers(output.Protocols, context) : undefined,
|
|
3568
|
+
SourcePorts: output.SourcePorts != null ? de_PortRanges(output.SourcePorts, context) : undefined,
|
|
3569
|
+
Sources: output.Sources != null ? de_Addresses(output.Sources, context) : undefined,
|
|
3650
3570
|
};
|
|
3651
3571
|
};
|
|
3652
|
-
const
|
|
3572
|
+
const de_ServerCertificateScopes = (output, context) => {
|
|
3653
3573
|
const retVal = (output || [])
|
|
3654
3574
|
.filter((e) => e != null)
|
|
3655
3575
|
.map((entry) => {
|
|
3656
3576
|
if (entry === null) {
|
|
3657
3577
|
return null;
|
|
3658
3578
|
}
|
|
3659
|
-
return
|
|
3579
|
+
return de_ServerCertificateScope(entry, context);
|
|
3660
3580
|
});
|
|
3661
3581
|
return retVal;
|
|
3662
3582
|
};
|
|
3663
|
-
const
|
|
3583
|
+
const de_Settings = (output, context) => {
|
|
3664
3584
|
const retVal = (output || [])
|
|
3665
3585
|
.filter((e) => e != null)
|
|
3666
3586
|
.map((entry) => {
|
|
@@ -3671,13 +3591,13 @@ const deserializeAws_json1_0Settings = (output, context) => {
|
|
|
3671
3591
|
});
|
|
3672
3592
|
return retVal;
|
|
3673
3593
|
};
|
|
3674
|
-
const
|
|
3594
|
+
const de_SourceMetadata = (output, context) => {
|
|
3675
3595
|
return {
|
|
3676
3596
|
SourceArn: __expectString(output.SourceArn),
|
|
3677
3597
|
SourceUpdateToken: __expectString(output.SourceUpdateToken),
|
|
3678
3598
|
};
|
|
3679
3599
|
};
|
|
3680
|
-
const
|
|
3600
|
+
const de_StatefulActions = (output, context) => {
|
|
3681
3601
|
const retVal = (output || [])
|
|
3682
3602
|
.filter((e) => e != null)
|
|
3683
3603
|
.map((entry) => {
|
|
@@ -3688,59 +3608,59 @@ const deserializeAws_json1_0StatefulActions = (output, context) => {
|
|
|
3688
3608
|
});
|
|
3689
3609
|
return retVal;
|
|
3690
3610
|
};
|
|
3691
|
-
const
|
|
3611
|
+
const de_StatefulEngineOptions = (output, context) => {
|
|
3692
3612
|
return {
|
|
3693
3613
|
RuleOrder: __expectString(output.RuleOrder),
|
|
3694
3614
|
StreamExceptionPolicy: __expectString(output.StreamExceptionPolicy),
|
|
3695
3615
|
};
|
|
3696
3616
|
};
|
|
3697
|
-
const
|
|
3617
|
+
const de_StatefulRule = (output, context) => {
|
|
3698
3618
|
return {
|
|
3699
3619
|
Action: __expectString(output.Action),
|
|
3700
|
-
Header: output.Header != null ?
|
|
3701
|
-
RuleOptions: output.RuleOptions != null ?
|
|
3620
|
+
Header: output.Header != null ? de_Header(output.Header, context) : undefined,
|
|
3621
|
+
RuleOptions: output.RuleOptions != null ? de_RuleOptions(output.RuleOptions, context) : undefined,
|
|
3702
3622
|
};
|
|
3703
3623
|
};
|
|
3704
|
-
const
|
|
3624
|
+
const de_StatefulRuleGroupOverride = (output, context) => {
|
|
3705
3625
|
return {
|
|
3706
3626
|
Action: __expectString(output.Action),
|
|
3707
3627
|
};
|
|
3708
3628
|
};
|
|
3709
|
-
const
|
|
3629
|
+
const de_StatefulRuleGroupReference = (output, context) => {
|
|
3710
3630
|
return {
|
|
3711
|
-
Override: output.Override != null ?
|
|
3631
|
+
Override: output.Override != null ? de_StatefulRuleGroupOverride(output.Override, context) : undefined,
|
|
3712
3632
|
Priority: __expectInt32(output.Priority),
|
|
3713
3633
|
ResourceArn: __expectString(output.ResourceArn),
|
|
3714
3634
|
};
|
|
3715
3635
|
};
|
|
3716
|
-
const
|
|
3636
|
+
const de_StatefulRuleGroupReferences = (output, context) => {
|
|
3717
3637
|
const retVal = (output || [])
|
|
3718
3638
|
.filter((e) => e != null)
|
|
3719
3639
|
.map((entry) => {
|
|
3720
3640
|
if (entry === null) {
|
|
3721
3641
|
return null;
|
|
3722
3642
|
}
|
|
3723
|
-
return
|
|
3643
|
+
return de_StatefulRuleGroupReference(entry, context);
|
|
3724
3644
|
});
|
|
3725
3645
|
return retVal;
|
|
3726
3646
|
};
|
|
3727
|
-
const
|
|
3647
|
+
const de_StatefulRuleOptions = (output, context) => {
|
|
3728
3648
|
return {
|
|
3729
3649
|
RuleOrder: __expectString(output.RuleOrder),
|
|
3730
3650
|
};
|
|
3731
3651
|
};
|
|
3732
|
-
const
|
|
3652
|
+
const de_StatefulRules = (output, context) => {
|
|
3733
3653
|
const retVal = (output || [])
|
|
3734
3654
|
.filter((e) => e != null)
|
|
3735
3655
|
.map((entry) => {
|
|
3736
3656
|
if (entry === null) {
|
|
3737
3657
|
return null;
|
|
3738
3658
|
}
|
|
3739
|
-
return
|
|
3659
|
+
return de_StatefulRule(entry, context);
|
|
3740
3660
|
});
|
|
3741
3661
|
return retVal;
|
|
3742
3662
|
};
|
|
3743
|
-
const
|
|
3663
|
+
const de_StatelessActions = (output, context) => {
|
|
3744
3664
|
const retVal = (output || [])
|
|
3745
3665
|
.filter((e) => e != null)
|
|
3746
3666
|
.map((entry) => {
|
|
@@ -3751,108 +3671,108 @@ const deserializeAws_json1_0StatelessActions = (output, context) => {
|
|
|
3751
3671
|
});
|
|
3752
3672
|
return retVal;
|
|
3753
3673
|
};
|
|
3754
|
-
const
|
|
3674
|
+
const de_StatelessRule = (output, context) => {
|
|
3755
3675
|
return {
|
|
3756
3676
|
Priority: __expectInt32(output.Priority),
|
|
3757
|
-
RuleDefinition: output.RuleDefinition != null ?
|
|
3677
|
+
RuleDefinition: output.RuleDefinition != null ? de_RuleDefinition(output.RuleDefinition, context) : undefined,
|
|
3758
3678
|
};
|
|
3759
3679
|
};
|
|
3760
|
-
const
|
|
3680
|
+
const de_StatelessRuleGroupReference = (output, context) => {
|
|
3761
3681
|
return {
|
|
3762
3682
|
Priority: __expectInt32(output.Priority),
|
|
3763
3683
|
ResourceArn: __expectString(output.ResourceArn),
|
|
3764
3684
|
};
|
|
3765
3685
|
};
|
|
3766
|
-
const
|
|
3686
|
+
const de_StatelessRuleGroupReferences = (output, context) => {
|
|
3767
3687
|
const retVal = (output || [])
|
|
3768
3688
|
.filter((e) => e != null)
|
|
3769
3689
|
.map((entry) => {
|
|
3770
3690
|
if (entry === null) {
|
|
3771
3691
|
return null;
|
|
3772
3692
|
}
|
|
3773
|
-
return
|
|
3693
|
+
return de_StatelessRuleGroupReference(entry, context);
|
|
3774
3694
|
});
|
|
3775
3695
|
return retVal;
|
|
3776
3696
|
};
|
|
3777
|
-
const
|
|
3697
|
+
const de_StatelessRules = (output, context) => {
|
|
3778
3698
|
const retVal = (output || [])
|
|
3779
3699
|
.filter((e) => e != null)
|
|
3780
3700
|
.map((entry) => {
|
|
3781
3701
|
if (entry === null) {
|
|
3782
3702
|
return null;
|
|
3783
3703
|
}
|
|
3784
|
-
return
|
|
3704
|
+
return de_StatelessRule(entry, context);
|
|
3785
3705
|
});
|
|
3786
3706
|
return retVal;
|
|
3787
3707
|
};
|
|
3788
|
-
const
|
|
3708
|
+
const de_StatelessRulesAndCustomActions = (output, context) => {
|
|
3789
3709
|
return {
|
|
3790
|
-
CustomActions: output.CustomActions != null ?
|
|
3791
|
-
StatelessRules: output.StatelessRules != null ?
|
|
3710
|
+
CustomActions: output.CustomActions != null ? de_CustomActions(output.CustomActions, context) : undefined,
|
|
3711
|
+
StatelessRules: output.StatelessRules != null ? de_StatelessRules(output.StatelessRules, context) : undefined,
|
|
3792
3712
|
};
|
|
3793
3713
|
};
|
|
3794
|
-
const
|
|
3714
|
+
const de_SubnetMapping = (output, context) => {
|
|
3795
3715
|
return {
|
|
3796
3716
|
IPAddressType: __expectString(output.IPAddressType),
|
|
3797
3717
|
SubnetId: __expectString(output.SubnetId),
|
|
3798
3718
|
};
|
|
3799
3719
|
};
|
|
3800
|
-
const
|
|
3720
|
+
const de_SubnetMappings = (output, context) => {
|
|
3801
3721
|
const retVal = (output || [])
|
|
3802
3722
|
.filter((e) => e != null)
|
|
3803
3723
|
.map((entry) => {
|
|
3804
3724
|
if (entry === null) {
|
|
3805
3725
|
return null;
|
|
3806
3726
|
}
|
|
3807
|
-
return
|
|
3727
|
+
return de_SubnetMapping(entry, context);
|
|
3808
3728
|
});
|
|
3809
3729
|
return retVal;
|
|
3810
3730
|
};
|
|
3811
|
-
const
|
|
3731
|
+
const de_SyncState = (output, context) => {
|
|
3812
3732
|
return {
|
|
3813
|
-
Attachment: output.Attachment != null ?
|
|
3814
|
-
Config: output.Config != null ?
|
|
3733
|
+
Attachment: output.Attachment != null ? de_Attachment(output.Attachment, context) : undefined,
|
|
3734
|
+
Config: output.Config != null ? de_SyncStateConfig(output.Config, context) : undefined,
|
|
3815
3735
|
};
|
|
3816
3736
|
};
|
|
3817
|
-
const
|
|
3737
|
+
const de_SyncStateConfig = (output, context) => {
|
|
3818
3738
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3819
3739
|
if (value === null) {
|
|
3820
3740
|
return acc;
|
|
3821
3741
|
}
|
|
3822
|
-
acc[key] =
|
|
3742
|
+
acc[key] = de_PerObjectStatus(value, context);
|
|
3823
3743
|
return acc;
|
|
3824
3744
|
}, {});
|
|
3825
3745
|
};
|
|
3826
|
-
const
|
|
3746
|
+
const de_SyncStates = (output, context) => {
|
|
3827
3747
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3828
3748
|
if (value === null) {
|
|
3829
3749
|
return acc;
|
|
3830
3750
|
}
|
|
3831
|
-
acc[key] =
|
|
3751
|
+
acc[key] = de_SyncState(value, context);
|
|
3832
3752
|
return acc;
|
|
3833
3753
|
}, {});
|
|
3834
3754
|
};
|
|
3835
|
-
const
|
|
3755
|
+
const de_Tag = (output, context) => {
|
|
3836
3756
|
return {
|
|
3837
3757
|
Key: __expectString(output.Key),
|
|
3838
3758
|
Value: __expectString(output.Value),
|
|
3839
3759
|
};
|
|
3840
3760
|
};
|
|
3841
|
-
const
|
|
3761
|
+
const de_TagList = (output, context) => {
|
|
3842
3762
|
const retVal = (output || [])
|
|
3843
3763
|
.filter((e) => e != null)
|
|
3844
3764
|
.map((entry) => {
|
|
3845
3765
|
if (entry === null) {
|
|
3846
3766
|
return null;
|
|
3847
3767
|
}
|
|
3848
|
-
return
|
|
3768
|
+
return de_Tag(entry, context);
|
|
3849
3769
|
});
|
|
3850
3770
|
return retVal;
|
|
3851
3771
|
};
|
|
3852
|
-
const
|
|
3772
|
+
const de_TagResourceResponse = (output, context) => {
|
|
3853
3773
|
return {};
|
|
3854
3774
|
};
|
|
3855
|
-
const
|
|
3775
|
+
const de_TargetTypes = (output, context) => {
|
|
3856
3776
|
const retVal = (output || [])
|
|
3857
3777
|
.filter((e) => e != null)
|
|
3858
3778
|
.map((entry) => {
|
|
@@ -3863,29 +3783,29 @@ const deserializeAws_json1_0TargetTypes = (output, context) => {
|
|
|
3863
3783
|
});
|
|
3864
3784
|
return retVal;
|
|
3865
3785
|
};
|
|
3866
|
-
const
|
|
3786
|
+
const de_TCPFlagField = (output, context) => {
|
|
3867
3787
|
return {
|
|
3868
|
-
Flags: output.Flags != null ?
|
|
3869
|
-
Masks: output.Masks != null ?
|
|
3788
|
+
Flags: output.Flags != null ? de_Flags(output.Flags, context) : undefined,
|
|
3789
|
+
Masks: output.Masks != null ? de_Flags(output.Masks, context) : undefined,
|
|
3870
3790
|
};
|
|
3871
3791
|
};
|
|
3872
|
-
const
|
|
3792
|
+
const de_TCPFlags = (output, context) => {
|
|
3873
3793
|
const retVal = (output || [])
|
|
3874
3794
|
.filter((e) => e != null)
|
|
3875
3795
|
.map((entry) => {
|
|
3876
3796
|
if (entry === null) {
|
|
3877
3797
|
return null;
|
|
3878
3798
|
}
|
|
3879
|
-
return
|
|
3799
|
+
return de_TCPFlagField(entry, context);
|
|
3880
3800
|
});
|
|
3881
3801
|
return retVal;
|
|
3882
3802
|
};
|
|
3883
|
-
const
|
|
3803
|
+
const de_ThrottlingException = (output, context) => {
|
|
3884
3804
|
return {
|
|
3885
3805
|
Message: __expectString(output.Message),
|
|
3886
3806
|
};
|
|
3887
3807
|
};
|
|
3888
|
-
const
|
|
3808
|
+
const de_TlsCertificateData = (output, context) => {
|
|
3889
3809
|
return {
|
|
3890
3810
|
CertificateArn: __expectString(output.CertificateArn),
|
|
3891
3811
|
CertificateSerial: __expectString(output.CertificateSerial),
|
|
@@ -3893,25 +3813,25 @@ const deserializeAws_json1_0TlsCertificateData = (output, context) => {
|
|
|
3893
3813
|
StatusMessage: __expectString(output.StatusMessage),
|
|
3894
3814
|
};
|
|
3895
3815
|
};
|
|
3896
|
-
const
|
|
3816
|
+
const de_TLSInspectionConfiguration = (output, context) => {
|
|
3897
3817
|
return {
|
|
3898
3818
|
ServerCertificateConfigurations: output.ServerCertificateConfigurations != null
|
|
3899
|
-
?
|
|
3819
|
+
? de_ServerCertificateConfigurations(output.ServerCertificateConfigurations, context)
|
|
3900
3820
|
: undefined,
|
|
3901
3821
|
};
|
|
3902
3822
|
};
|
|
3903
|
-
const
|
|
3823
|
+
const de_TLSInspectionConfigurationMetadata = (output, context) => {
|
|
3904
3824
|
return {
|
|
3905
3825
|
Arn: __expectString(output.Arn),
|
|
3906
3826
|
Name: __expectString(output.Name),
|
|
3907
3827
|
};
|
|
3908
3828
|
};
|
|
3909
|
-
const
|
|
3829
|
+
const de_TLSInspectionConfigurationResponse = (output, context) => {
|
|
3910
3830
|
return {
|
|
3911
|
-
Certificates: output.Certificates != null ?
|
|
3831
|
+
Certificates: output.Certificates != null ? de_Certificates(output.Certificates, context) : undefined,
|
|
3912
3832
|
Description: __expectString(output.Description),
|
|
3913
3833
|
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
3914
|
-
?
|
|
3834
|
+
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
3915
3835
|
: undefined,
|
|
3916
3836
|
LastModifiedTime: output.LastModifiedTime != null
|
|
3917
3837
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
@@ -3921,29 +3841,29 @@ const deserializeAws_json1_0TLSInspectionConfigurationResponse = (output, contex
|
|
|
3921
3841
|
TLSInspectionConfigurationId: __expectString(output.TLSInspectionConfigurationId),
|
|
3922
3842
|
TLSInspectionConfigurationName: __expectString(output.TLSInspectionConfigurationName),
|
|
3923
3843
|
TLSInspectionConfigurationStatus: __expectString(output.TLSInspectionConfigurationStatus),
|
|
3924
|
-
Tags: output.Tags != null ?
|
|
3844
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
3925
3845
|
};
|
|
3926
3846
|
};
|
|
3927
|
-
const
|
|
3847
|
+
const de_TLSInspectionConfigurations = (output, context) => {
|
|
3928
3848
|
const retVal = (output || [])
|
|
3929
3849
|
.filter((e) => e != null)
|
|
3930
3850
|
.map((entry) => {
|
|
3931
3851
|
if (entry === null) {
|
|
3932
3852
|
return null;
|
|
3933
3853
|
}
|
|
3934
|
-
return
|
|
3854
|
+
return de_TLSInspectionConfigurationMetadata(entry, context);
|
|
3935
3855
|
});
|
|
3936
3856
|
return retVal;
|
|
3937
3857
|
};
|
|
3938
|
-
const
|
|
3858
|
+
const de_UnsupportedOperationException = (output, context) => {
|
|
3939
3859
|
return {
|
|
3940
3860
|
Message: __expectString(output.Message),
|
|
3941
3861
|
};
|
|
3942
3862
|
};
|
|
3943
|
-
const
|
|
3863
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
3944
3864
|
return {};
|
|
3945
3865
|
};
|
|
3946
|
-
const
|
|
3866
|
+
const de_UpdateFirewallDeleteProtectionResponse = (output, context) => {
|
|
3947
3867
|
return {
|
|
3948
3868
|
DeleteProtection: __expectBoolean(output.DeleteProtection),
|
|
3949
3869
|
FirewallArn: __expectString(output.FirewallArn),
|
|
@@ -3951,7 +3871,7 @@ const deserializeAws_json1_0UpdateFirewallDeleteProtectionResponse = (output, co
|
|
|
3951
3871
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3952
3872
|
};
|
|
3953
3873
|
};
|
|
3954
|
-
const
|
|
3874
|
+
const de_UpdateFirewallDescriptionResponse = (output, context) => {
|
|
3955
3875
|
return {
|
|
3956
3876
|
Description: __expectString(output.Description),
|
|
3957
3877
|
FirewallArn: __expectString(output.FirewallArn),
|
|
@@ -3959,17 +3879,17 @@ const deserializeAws_json1_0UpdateFirewallDescriptionResponse = (output, context
|
|
|
3959
3879
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3960
3880
|
};
|
|
3961
3881
|
};
|
|
3962
|
-
const
|
|
3882
|
+
const de_UpdateFirewallEncryptionConfigurationResponse = (output, context) => {
|
|
3963
3883
|
return {
|
|
3964
3884
|
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
3965
|
-
?
|
|
3885
|
+
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
3966
3886
|
: undefined,
|
|
3967
3887
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3968
3888
|
FirewallName: __expectString(output.FirewallName),
|
|
3969
3889
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3970
3890
|
};
|
|
3971
3891
|
};
|
|
3972
|
-
const
|
|
3892
|
+
const de_UpdateFirewallPolicyChangeProtectionResponse = (output, context) => {
|
|
3973
3893
|
return {
|
|
3974
3894
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3975
3895
|
FirewallName: __expectString(output.FirewallName),
|
|
@@ -3977,32 +3897,28 @@ const deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionResponse = (outp
|
|
|
3977
3897
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3978
3898
|
};
|
|
3979
3899
|
};
|
|
3980
|
-
const
|
|
3900
|
+
const de_UpdateFirewallPolicyResponse = (output, context) => {
|
|
3981
3901
|
return {
|
|
3982
3902
|
FirewallPolicyResponse: output.FirewallPolicyResponse != null
|
|
3983
|
-
?
|
|
3903
|
+
? de_FirewallPolicyResponse(output.FirewallPolicyResponse, context)
|
|
3984
3904
|
: undefined,
|
|
3985
3905
|
UpdateToken: __expectString(output.UpdateToken),
|
|
3986
3906
|
};
|
|
3987
3907
|
};
|
|
3988
|
-
const
|
|
3908
|
+
const de_UpdateLoggingConfigurationResponse = (output, context) => {
|
|
3989
3909
|
return {
|
|
3990
3910
|
FirewallArn: __expectString(output.FirewallArn),
|
|
3991
3911
|
FirewallName: __expectString(output.FirewallName),
|
|
3992
|
-
LoggingConfiguration: output.LoggingConfiguration != null
|
|
3993
|
-
? deserializeAws_json1_0LoggingConfiguration(output.LoggingConfiguration, context)
|
|
3994
|
-
: undefined,
|
|
3912
|
+
LoggingConfiguration: output.LoggingConfiguration != null ? de_LoggingConfiguration(output.LoggingConfiguration, context) : undefined,
|
|
3995
3913
|
};
|
|
3996
3914
|
};
|
|
3997
|
-
const
|
|
3915
|
+
const de_UpdateRuleGroupResponse = (output, context) => {
|
|
3998
3916
|
return {
|
|
3999
|
-
RuleGroupResponse: output.RuleGroupResponse != null
|
|
4000
|
-
? deserializeAws_json1_0RuleGroupResponse(output.RuleGroupResponse, context)
|
|
4001
|
-
: undefined,
|
|
3917
|
+
RuleGroupResponse: output.RuleGroupResponse != null ? de_RuleGroupResponse(output.RuleGroupResponse, context) : undefined,
|
|
4002
3918
|
UpdateToken: __expectString(output.UpdateToken),
|
|
4003
3919
|
};
|
|
4004
3920
|
};
|
|
4005
|
-
const
|
|
3921
|
+
const de_UpdateSubnetChangeProtectionResponse = (output, context) => {
|
|
4006
3922
|
return {
|
|
4007
3923
|
FirewallArn: __expectString(output.FirewallArn),
|
|
4008
3924
|
FirewallName: __expectString(output.FirewallName),
|
|
@@ -4010,15 +3926,15 @@ const deserializeAws_json1_0UpdateSubnetChangeProtectionResponse = (output, cont
|
|
|
4010
3926
|
UpdateToken: __expectString(output.UpdateToken),
|
|
4011
3927
|
};
|
|
4012
3928
|
};
|
|
4013
|
-
const
|
|
3929
|
+
const de_UpdateTLSInspectionConfigurationResponse = (output, context) => {
|
|
4014
3930
|
return {
|
|
4015
3931
|
TLSInspectionConfigurationResponse: output.TLSInspectionConfigurationResponse != null
|
|
4016
|
-
?
|
|
3932
|
+
? de_TLSInspectionConfigurationResponse(output.TLSInspectionConfigurationResponse, context)
|
|
4017
3933
|
: undefined,
|
|
4018
3934
|
UpdateToken: __expectString(output.UpdateToken),
|
|
4019
3935
|
};
|
|
4020
3936
|
};
|
|
4021
|
-
const
|
|
3937
|
+
const de_VariableDefinitionList = (output, context) => {
|
|
4022
3938
|
const retVal = (output || [])
|
|
4023
3939
|
.filter((e) => e != null)
|
|
4024
3940
|
.map((entry) => {
|