@aws-sdk/client-fms 3.312.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +288 -1881
- package/dist-es/protocols/Aws_json1_1.js +289 -1882
- package/package.json +6 -6
|
@@ -9,112 +9,112 @@ const models_0_1 = require("../models/models_0");
|
|
|
9
9
|
const se_AssociateAdminAccountCommand = async (input, context) => {
|
|
10
10
|
const headers = sharedHeaders("AssociateAdminAccount");
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify(
|
|
12
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
13
13
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
14
|
};
|
|
15
15
|
exports.se_AssociateAdminAccountCommand = se_AssociateAdminAccountCommand;
|
|
16
16
|
const se_AssociateThirdPartyFirewallCommand = async (input, context) => {
|
|
17
17
|
const headers = sharedHeaders("AssociateThirdPartyFirewall");
|
|
18
18
|
let body;
|
|
19
|
-
body = JSON.stringify(
|
|
19
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
20
20
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
21
21
|
};
|
|
22
22
|
exports.se_AssociateThirdPartyFirewallCommand = se_AssociateThirdPartyFirewallCommand;
|
|
23
23
|
const se_BatchAssociateResourceCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("BatchAssociateResource");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
exports.se_BatchAssociateResourceCommand = se_BatchAssociateResourceCommand;
|
|
30
30
|
const se_BatchDisassociateResourceCommand = async (input, context) => {
|
|
31
31
|
const headers = sharedHeaders("BatchDisassociateResource");
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
36
36
|
exports.se_BatchDisassociateResourceCommand = se_BatchDisassociateResourceCommand;
|
|
37
37
|
const se_DeleteAppsListCommand = async (input, context) => {
|
|
38
38
|
const headers = sharedHeaders("DeleteAppsList");
|
|
39
39
|
let body;
|
|
40
|
-
body = JSON.stringify(
|
|
40
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
41
41
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
42
|
};
|
|
43
43
|
exports.se_DeleteAppsListCommand = se_DeleteAppsListCommand;
|
|
44
44
|
const se_DeleteNotificationChannelCommand = async (input, context) => {
|
|
45
45
|
const headers = sharedHeaders("DeleteNotificationChannel");
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
50
|
exports.se_DeleteNotificationChannelCommand = se_DeleteNotificationChannelCommand;
|
|
51
51
|
const se_DeletePolicyCommand = async (input, context) => {
|
|
52
52
|
const headers = sharedHeaders("DeletePolicy");
|
|
53
53
|
let body;
|
|
54
|
-
body = JSON.stringify(
|
|
54
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
55
55
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
56
56
|
};
|
|
57
57
|
exports.se_DeletePolicyCommand = se_DeletePolicyCommand;
|
|
58
58
|
const se_DeleteProtocolsListCommand = async (input, context) => {
|
|
59
59
|
const headers = sharedHeaders("DeleteProtocolsList");
|
|
60
60
|
let body;
|
|
61
|
-
body = JSON.stringify(
|
|
61
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
64
64
|
exports.se_DeleteProtocolsListCommand = se_DeleteProtocolsListCommand;
|
|
65
65
|
const se_DeleteResourceSetCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DeleteResourceSet");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
exports.se_DeleteResourceSetCommand = se_DeleteResourceSetCommand;
|
|
72
72
|
const se_DisassociateAdminAccountCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DisassociateAdminAccount");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
exports.se_DisassociateAdminAccountCommand = se_DisassociateAdminAccountCommand;
|
|
79
79
|
const se_DisassociateThirdPartyFirewallCommand = async (input, context) => {
|
|
80
80
|
const headers = sharedHeaders("DisassociateThirdPartyFirewall");
|
|
81
81
|
let body;
|
|
82
|
-
body = JSON.stringify(
|
|
82
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
83
83
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
84
|
};
|
|
85
85
|
exports.se_DisassociateThirdPartyFirewallCommand = se_DisassociateThirdPartyFirewallCommand;
|
|
86
86
|
const se_GetAdminAccountCommand = async (input, context) => {
|
|
87
87
|
const headers = sharedHeaders("GetAdminAccount");
|
|
88
88
|
let body;
|
|
89
|
-
body = JSON.stringify(
|
|
89
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
90
90
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
91
91
|
};
|
|
92
92
|
exports.se_GetAdminAccountCommand = se_GetAdminAccountCommand;
|
|
93
93
|
const se_GetAppsListCommand = async (input, context) => {
|
|
94
94
|
const headers = sharedHeaders("GetAppsList");
|
|
95
95
|
let body;
|
|
96
|
-
body = JSON.stringify(
|
|
96
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
97
97
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
98
98
|
};
|
|
99
99
|
exports.se_GetAppsListCommand = se_GetAppsListCommand;
|
|
100
100
|
const se_GetComplianceDetailCommand = async (input, context) => {
|
|
101
101
|
const headers = sharedHeaders("GetComplianceDetail");
|
|
102
102
|
let body;
|
|
103
|
-
body = JSON.stringify(
|
|
103
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
106
106
|
exports.se_GetComplianceDetailCommand = se_GetComplianceDetailCommand;
|
|
107
107
|
const se_GetNotificationChannelCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("GetNotificationChannel");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
exports.se_GetNotificationChannelCommand = se_GetNotificationChannelCommand;
|
|
114
114
|
const se_GetPolicyCommand = async (input, context) => {
|
|
115
115
|
const headers = sharedHeaders("GetPolicy");
|
|
116
116
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
117
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
120
|
exports.se_GetPolicyCommand = se_GetPolicyCommand;
|
|
@@ -128,98 +128,98 @@ exports.se_GetProtectionStatusCommand = se_GetProtectionStatusCommand;
|
|
|
128
128
|
const se_GetProtocolsListCommand = async (input, context) => {
|
|
129
129
|
const headers = sharedHeaders("GetProtocolsList");
|
|
130
130
|
let body;
|
|
131
|
-
body = JSON.stringify(
|
|
131
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
132
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
133
133
|
};
|
|
134
134
|
exports.se_GetProtocolsListCommand = se_GetProtocolsListCommand;
|
|
135
135
|
const se_GetResourceSetCommand = async (input, context) => {
|
|
136
136
|
const headers = sharedHeaders("GetResourceSet");
|
|
137
137
|
let body;
|
|
138
|
-
body = JSON.stringify(
|
|
138
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
141
141
|
exports.se_GetResourceSetCommand = se_GetResourceSetCommand;
|
|
142
142
|
const se_GetThirdPartyFirewallAssociationStatusCommand = async (input, context) => {
|
|
143
143
|
const headers = sharedHeaders("GetThirdPartyFirewallAssociationStatus");
|
|
144
144
|
let body;
|
|
145
|
-
body = JSON.stringify(
|
|
145
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
146
146
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
147
|
};
|
|
148
148
|
exports.se_GetThirdPartyFirewallAssociationStatusCommand = se_GetThirdPartyFirewallAssociationStatusCommand;
|
|
149
149
|
const se_GetViolationDetailsCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("GetViolationDetails");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
exports.se_GetViolationDetailsCommand = se_GetViolationDetailsCommand;
|
|
156
156
|
const se_ListAppsListsCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("ListAppsLists");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
exports.se_ListAppsListsCommand = se_ListAppsListsCommand;
|
|
163
163
|
const se_ListComplianceStatusCommand = async (input, context) => {
|
|
164
164
|
const headers = sharedHeaders("ListComplianceStatus");
|
|
165
165
|
let body;
|
|
166
|
-
body = JSON.stringify(
|
|
166
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
167
167
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
168
|
};
|
|
169
169
|
exports.se_ListComplianceStatusCommand = se_ListComplianceStatusCommand;
|
|
170
170
|
const se_ListDiscoveredResourcesCommand = async (input, context) => {
|
|
171
171
|
const headers = sharedHeaders("ListDiscoveredResources");
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
176
|
exports.se_ListDiscoveredResourcesCommand = se_ListDiscoveredResourcesCommand;
|
|
177
177
|
const se_ListMemberAccountsCommand = async (input, context) => {
|
|
178
178
|
const headers = sharedHeaders("ListMemberAccounts");
|
|
179
179
|
let body;
|
|
180
|
-
body = JSON.stringify(
|
|
180
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
181
181
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
182
182
|
};
|
|
183
183
|
exports.se_ListMemberAccountsCommand = se_ListMemberAccountsCommand;
|
|
184
184
|
const se_ListPoliciesCommand = async (input, context) => {
|
|
185
185
|
const headers = sharedHeaders("ListPolicies");
|
|
186
186
|
let body;
|
|
187
|
-
body = JSON.stringify(
|
|
187
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
188
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
189
|
};
|
|
190
190
|
exports.se_ListPoliciesCommand = se_ListPoliciesCommand;
|
|
191
191
|
const se_ListProtocolsListsCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("ListProtocolsLists");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
exports.se_ListProtocolsListsCommand = se_ListProtocolsListsCommand;
|
|
198
198
|
const se_ListResourceSetResourcesCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("ListResourceSetResources");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
exports.se_ListResourceSetResourcesCommand = se_ListResourceSetResourcesCommand;
|
|
205
205
|
const se_ListResourceSetsCommand = async (input, context) => {
|
|
206
206
|
const headers = sharedHeaders("ListResourceSets");
|
|
207
207
|
let body;
|
|
208
|
-
body = JSON.stringify(
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
209
209
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
210
|
};
|
|
211
211
|
exports.se_ListResourceSetsCommand = se_ListResourceSetsCommand;
|
|
212
212
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
213
213
|
const headers = sharedHeaders("ListTagsForResource");
|
|
214
214
|
let body;
|
|
215
|
-
body = JSON.stringify(
|
|
215
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
218
218
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
219
219
|
const se_ListThirdPartyFirewallFirewallPoliciesCommand = async (input, context) => {
|
|
220
220
|
const headers = sharedHeaders("ListThirdPartyFirewallFirewallPolicies");
|
|
221
221
|
let body;
|
|
222
|
-
body = JSON.stringify(
|
|
222
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
223
223
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
224
224
|
};
|
|
225
225
|
exports.se_ListThirdPartyFirewallFirewallPoliciesCommand = se_ListThirdPartyFirewallFirewallPoliciesCommand;
|
|
@@ -233,14 +233,14 @@ exports.se_PutAppsListCommand = se_PutAppsListCommand;
|
|
|
233
233
|
const se_PutNotificationChannelCommand = async (input, context) => {
|
|
234
234
|
const headers = sharedHeaders("PutNotificationChannel");
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
239
|
exports.se_PutNotificationChannelCommand = se_PutNotificationChannelCommand;
|
|
240
240
|
const se_PutPolicyCommand = async (input, context) => {
|
|
241
241
|
const headers = sharedHeaders("PutPolicy");
|
|
242
242
|
let body;
|
|
243
|
-
body = JSON.stringify(
|
|
243
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
246
246
|
exports.se_PutPolicyCommand = se_PutPolicyCommand;
|
|
@@ -261,14 +261,14 @@ exports.se_PutResourceSetCommand = se_PutResourceSetCommand;
|
|
|
261
261
|
const se_TagResourceCommand = async (input, context) => {
|
|
262
262
|
const headers = sharedHeaders("TagResource");
|
|
263
263
|
let body;
|
|
264
|
-
body = JSON.stringify(
|
|
264
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
265
265
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
266
|
};
|
|
267
267
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
268
268
|
const se_UntagResourceCommand = async (input, context) => {
|
|
269
269
|
const headers = sharedHeaders("UntagResource");
|
|
270
270
|
let body;
|
|
271
|
-
body = JSON.stringify(
|
|
271
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
272
272
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
273
273
|
};
|
|
274
274
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
@@ -280,7 +280,7 @@ const de_AssociateAdminAccountCommand = async (output, context) => {
|
|
|
280
280
|
const response = {
|
|
281
281
|
$metadata: deserializeMetadata(output),
|
|
282
282
|
};
|
|
283
|
-
return
|
|
283
|
+
return response;
|
|
284
284
|
};
|
|
285
285
|
exports.de_AssociateAdminAccountCommand = de_AssociateAdminAccountCommand;
|
|
286
286
|
const de_AssociateAdminAccountCommandError = async (output, context) => {
|
|
@@ -307,10 +307,9 @@ const de_AssociateAdminAccountCommandError = async (output, context) => {
|
|
|
307
307
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
308
308
|
default:
|
|
309
309
|
const parsedBody = parsedOutput.body;
|
|
310
|
-
|
|
310
|
+
return throwDefaultError({
|
|
311
311
|
output,
|
|
312
312
|
parsedBody,
|
|
313
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
314
313
|
errorCode,
|
|
315
314
|
});
|
|
316
315
|
}
|
|
@@ -321,12 +320,12 @@ const de_AssociateThirdPartyFirewallCommand = async (output, context) => {
|
|
|
321
320
|
}
|
|
322
321
|
const data = await parseBody(output.body, context);
|
|
323
322
|
let contents = {};
|
|
324
|
-
contents =
|
|
323
|
+
contents = (0, smithy_client_1._json)(data);
|
|
325
324
|
const response = {
|
|
326
325
|
$metadata: deserializeMetadata(output),
|
|
327
326
|
...contents,
|
|
328
327
|
};
|
|
329
|
-
return
|
|
328
|
+
return response;
|
|
330
329
|
};
|
|
331
330
|
exports.de_AssociateThirdPartyFirewallCommand = de_AssociateThirdPartyFirewallCommand;
|
|
332
331
|
const de_AssociateThirdPartyFirewallCommandError = async (output, context) => {
|
|
@@ -350,10 +349,9 @@ const de_AssociateThirdPartyFirewallCommandError = async (output, context) => {
|
|
|
350
349
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
351
350
|
default:
|
|
352
351
|
const parsedBody = parsedOutput.body;
|
|
353
|
-
|
|
352
|
+
return throwDefaultError({
|
|
354
353
|
output,
|
|
355
354
|
parsedBody,
|
|
356
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
357
355
|
errorCode,
|
|
358
356
|
});
|
|
359
357
|
}
|
|
@@ -364,12 +362,12 @@ const de_BatchAssociateResourceCommand = async (output, context) => {
|
|
|
364
362
|
}
|
|
365
363
|
const data = await parseBody(output.body, context);
|
|
366
364
|
let contents = {};
|
|
367
|
-
contents =
|
|
365
|
+
contents = (0, smithy_client_1._json)(data);
|
|
368
366
|
const response = {
|
|
369
367
|
$metadata: deserializeMetadata(output),
|
|
370
368
|
...contents,
|
|
371
369
|
};
|
|
372
|
-
return
|
|
370
|
+
return response;
|
|
373
371
|
};
|
|
374
372
|
exports.de_BatchAssociateResourceCommand = de_BatchAssociateResourceCommand;
|
|
375
373
|
const de_BatchAssociateResourceCommandError = async (output, context) => {
|
|
@@ -396,10 +394,9 @@ const de_BatchAssociateResourceCommandError = async (output, context) => {
|
|
|
396
394
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
397
395
|
default:
|
|
398
396
|
const parsedBody = parsedOutput.body;
|
|
399
|
-
|
|
397
|
+
return throwDefaultError({
|
|
400
398
|
output,
|
|
401
399
|
parsedBody,
|
|
402
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
403
400
|
errorCode,
|
|
404
401
|
});
|
|
405
402
|
}
|
|
@@ -410,12 +407,12 @@ const de_BatchDisassociateResourceCommand = async (output, context) => {
|
|
|
410
407
|
}
|
|
411
408
|
const data = await parseBody(output.body, context);
|
|
412
409
|
let contents = {};
|
|
413
|
-
contents =
|
|
410
|
+
contents = (0, smithy_client_1._json)(data);
|
|
414
411
|
const response = {
|
|
415
412
|
$metadata: deserializeMetadata(output),
|
|
416
413
|
...contents,
|
|
417
414
|
};
|
|
418
|
-
return
|
|
415
|
+
return response;
|
|
419
416
|
};
|
|
420
417
|
exports.de_BatchDisassociateResourceCommand = de_BatchDisassociateResourceCommand;
|
|
421
418
|
const de_BatchDisassociateResourceCommandError = async (output, context) => {
|
|
@@ -439,10 +436,9 @@ const de_BatchDisassociateResourceCommandError = async (output, context) => {
|
|
|
439
436
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
440
437
|
default:
|
|
441
438
|
const parsedBody = parsedOutput.body;
|
|
442
|
-
|
|
439
|
+
return throwDefaultError({
|
|
443
440
|
output,
|
|
444
441
|
parsedBody,
|
|
445
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
446
442
|
errorCode,
|
|
447
443
|
});
|
|
448
444
|
}
|
|
@@ -455,7 +451,7 @@ const de_DeleteAppsListCommand = async (output, context) => {
|
|
|
455
451
|
const response = {
|
|
456
452
|
$metadata: deserializeMetadata(output),
|
|
457
453
|
};
|
|
458
|
-
return
|
|
454
|
+
return response;
|
|
459
455
|
};
|
|
460
456
|
exports.de_DeleteAppsListCommand = de_DeleteAppsListCommand;
|
|
461
457
|
const de_DeleteAppsListCommandError = async (output, context) => {
|
|
@@ -476,10 +472,9 @@ const de_DeleteAppsListCommandError = async (output, context) => {
|
|
|
476
472
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
477
473
|
default:
|
|
478
474
|
const parsedBody = parsedOutput.body;
|
|
479
|
-
|
|
475
|
+
return throwDefaultError({
|
|
480
476
|
output,
|
|
481
477
|
parsedBody,
|
|
482
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
483
478
|
errorCode,
|
|
484
479
|
});
|
|
485
480
|
}
|
|
@@ -492,7 +487,7 @@ const de_DeleteNotificationChannelCommand = async (output, context) => {
|
|
|
492
487
|
const response = {
|
|
493
488
|
$metadata: deserializeMetadata(output),
|
|
494
489
|
};
|
|
495
|
-
return
|
|
490
|
+
return response;
|
|
496
491
|
};
|
|
497
492
|
exports.de_DeleteNotificationChannelCommand = de_DeleteNotificationChannelCommand;
|
|
498
493
|
const de_DeleteNotificationChannelCommandError = async (output, context) => {
|
|
@@ -513,10 +508,9 @@ const de_DeleteNotificationChannelCommandError = async (output, context) => {
|
|
|
513
508
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
514
509
|
default:
|
|
515
510
|
const parsedBody = parsedOutput.body;
|
|
516
|
-
|
|
511
|
+
return throwDefaultError({
|
|
517
512
|
output,
|
|
518
513
|
parsedBody,
|
|
519
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
520
514
|
errorCode,
|
|
521
515
|
});
|
|
522
516
|
}
|
|
@@ -529,7 +523,7 @@ const de_DeletePolicyCommand = async (output, context) => {
|
|
|
529
523
|
const response = {
|
|
530
524
|
$metadata: deserializeMetadata(output),
|
|
531
525
|
};
|
|
532
|
-
return
|
|
526
|
+
return response;
|
|
533
527
|
};
|
|
534
528
|
exports.de_DeletePolicyCommand = de_DeletePolicyCommand;
|
|
535
529
|
const de_DeletePolicyCommandError = async (output, context) => {
|
|
@@ -556,10 +550,9 @@ const de_DeletePolicyCommandError = async (output, context) => {
|
|
|
556
550
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
557
551
|
default:
|
|
558
552
|
const parsedBody = parsedOutput.body;
|
|
559
|
-
|
|
553
|
+
return throwDefaultError({
|
|
560
554
|
output,
|
|
561
555
|
parsedBody,
|
|
562
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
563
556
|
errorCode,
|
|
564
557
|
});
|
|
565
558
|
}
|
|
@@ -572,7 +565,7 @@ const de_DeleteProtocolsListCommand = async (output, context) => {
|
|
|
572
565
|
const response = {
|
|
573
566
|
$metadata: deserializeMetadata(output),
|
|
574
567
|
};
|
|
575
|
-
return
|
|
568
|
+
return response;
|
|
576
569
|
};
|
|
577
570
|
exports.de_DeleteProtocolsListCommand = de_DeleteProtocolsListCommand;
|
|
578
571
|
const de_DeleteProtocolsListCommandError = async (output, context) => {
|
|
@@ -593,10 +586,9 @@ const de_DeleteProtocolsListCommandError = async (output, context) => {
|
|
|
593
586
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
594
587
|
default:
|
|
595
588
|
const parsedBody = parsedOutput.body;
|
|
596
|
-
|
|
589
|
+
return throwDefaultError({
|
|
597
590
|
output,
|
|
598
591
|
parsedBody,
|
|
599
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
600
592
|
errorCode,
|
|
601
593
|
});
|
|
602
594
|
}
|
|
@@ -609,7 +601,7 @@ const de_DeleteResourceSetCommand = async (output, context) => {
|
|
|
609
601
|
const response = {
|
|
610
602
|
$metadata: deserializeMetadata(output),
|
|
611
603
|
};
|
|
612
|
-
return
|
|
604
|
+
return response;
|
|
613
605
|
};
|
|
614
606
|
exports.de_DeleteResourceSetCommand = de_DeleteResourceSetCommand;
|
|
615
607
|
const de_DeleteResourceSetCommandError = async (output, context) => {
|
|
@@ -633,10 +625,9 @@ const de_DeleteResourceSetCommandError = async (output, context) => {
|
|
|
633
625
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
634
626
|
default:
|
|
635
627
|
const parsedBody = parsedOutput.body;
|
|
636
|
-
|
|
628
|
+
return throwDefaultError({
|
|
637
629
|
output,
|
|
638
630
|
parsedBody,
|
|
639
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
640
631
|
errorCode,
|
|
641
632
|
});
|
|
642
633
|
}
|
|
@@ -649,7 +640,7 @@ const de_DisassociateAdminAccountCommand = async (output, context) => {
|
|
|
649
640
|
const response = {
|
|
650
641
|
$metadata: deserializeMetadata(output),
|
|
651
642
|
};
|
|
652
|
-
return
|
|
643
|
+
return response;
|
|
653
644
|
};
|
|
654
645
|
exports.de_DisassociateAdminAccountCommand = de_DisassociateAdminAccountCommand;
|
|
655
646
|
const de_DisassociateAdminAccountCommandError = async (output, context) => {
|
|
@@ -670,10 +661,9 @@ const de_DisassociateAdminAccountCommandError = async (output, context) => {
|
|
|
670
661
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
671
662
|
default:
|
|
672
663
|
const parsedBody = parsedOutput.body;
|
|
673
|
-
|
|
664
|
+
return throwDefaultError({
|
|
674
665
|
output,
|
|
675
666
|
parsedBody,
|
|
676
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
677
667
|
errorCode,
|
|
678
668
|
});
|
|
679
669
|
}
|
|
@@ -684,12 +674,12 @@ const de_DisassociateThirdPartyFirewallCommand = async (output, context) => {
|
|
|
684
674
|
}
|
|
685
675
|
const data = await parseBody(output.body, context);
|
|
686
676
|
let contents = {};
|
|
687
|
-
contents =
|
|
677
|
+
contents = (0, smithy_client_1._json)(data);
|
|
688
678
|
const response = {
|
|
689
679
|
$metadata: deserializeMetadata(output),
|
|
690
680
|
...contents,
|
|
691
681
|
};
|
|
692
|
-
return
|
|
682
|
+
return response;
|
|
693
683
|
};
|
|
694
684
|
exports.de_DisassociateThirdPartyFirewallCommand = de_DisassociateThirdPartyFirewallCommand;
|
|
695
685
|
const de_DisassociateThirdPartyFirewallCommandError = async (output, context) => {
|
|
@@ -713,10 +703,9 @@ const de_DisassociateThirdPartyFirewallCommandError = async (output, context) =>
|
|
|
713
703
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
714
704
|
default:
|
|
715
705
|
const parsedBody = parsedOutput.body;
|
|
716
|
-
|
|
706
|
+
return throwDefaultError({
|
|
717
707
|
output,
|
|
718
708
|
parsedBody,
|
|
719
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
720
709
|
errorCode,
|
|
721
710
|
});
|
|
722
711
|
}
|
|
@@ -727,12 +716,12 @@ const de_GetAdminAccountCommand = async (output, context) => {
|
|
|
727
716
|
}
|
|
728
717
|
const data = await parseBody(output.body, context);
|
|
729
718
|
let contents = {};
|
|
730
|
-
contents =
|
|
719
|
+
contents = (0, smithy_client_1._json)(data);
|
|
731
720
|
const response = {
|
|
732
721
|
$metadata: deserializeMetadata(output),
|
|
733
722
|
...contents,
|
|
734
723
|
};
|
|
735
|
-
return
|
|
724
|
+
return response;
|
|
736
725
|
};
|
|
737
726
|
exports.de_GetAdminAccountCommand = de_GetAdminAccountCommand;
|
|
738
727
|
const de_GetAdminAccountCommandError = async (output, context) => {
|
|
@@ -753,10 +742,9 @@ const de_GetAdminAccountCommandError = async (output, context) => {
|
|
|
753
742
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
754
743
|
default:
|
|
755
744
|
const parsedBody = parsedOutput.body;
|
|
756
|
-
|
|
745
|
+
return throwDefaultError({
|
|
757
746
|
output,
|
|
758
747
|
parsedBody,
|
|
759
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
760
748
|
errorCode,
|
|
761
749
|
});
|
|
762
750
|
}
|
|
@@ -772,7 +760,7 @@ const de_GetAppsListCommand = async (output, context) => {
|
|
|
772
760
|
$metadata: deserializeMetadata(output),
|
|
773
761
|
...contents,
|
|
774
762
|
};
|
|
775
|
-
return
|
|
763
|
+
return response;
|
|
776
764
|
};
|
|
777
765
|
exports.de_GetAppsListCommand = de_GetAppsListCommand;
|
|
778
766
|
const de_GetAppsListCommandError = async (output, context) => {
|
|
@@ -793,10 +781,9 @@ const de_GetAppsListCommandError = async (output, context) => {
|
|
|
793
781
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
794
782
|
default:
|
|
795
783
|
const parsedBody = parsedOutput.body;
|
|
796
|
-
|
|
784
|
+
return throwDefaultError({
|
|
797
785
|
output,
|
|
798
786
|
parsedBody,
|
|
799
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
800
787
|
errorCode,
|
|
801
788
|
});
|
|
802
789
|
}
|
|
@@ -812,7 +799,7 @@ const de_GetComplianceDetailCommand = async (output, context) => {
|
|
|
812
799
|
$metadata: deserializeMetadata(output),
|
|
813
800
|
...contents,
|
|
814
801
|
};
|
|
815
|
-
return
|
|
802
|
+
return response;
|
|
816
803
|
};
|
|
817
804
|
exports.de_GetComplianceDetailCommand = de_GetComplianceDetailCommand;
|
|
818
805
|
const de_GetComplianceDetailCommandError = async (output, context) => {
|
|
@@ -836,10 +823,9 @@ const de_GetComplianceDetailCommandError = async (output, context) => {
|
|
|
836
823
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
837
824
|
default:
|
|
838
825
|
const parsedBody = parsedOutput.body;
|
|
839
|
-
|
|
826
|
+
return throwDefaultError({
|
|
840
827
|
output,
|
|
841
828
|
parsedBody,
|
|
842
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
843
829
|
errorCode,
|
|
844
830
|
});
|
|
845
831
|
}
|
|
@@ -850,12 +836,12 @@ const de_GetNotificationChannelCommand = async (output, context) => {
|
|
|
850
836
|
}
|
|
851
837
|
const data = await parseBody(output.body, context);
|
|
852
838
|
let contents = {};
|
|
853
|
-
contents =
|
|
839
|
+
contents = (0, smithy_client_1._json)(data);
|
|
854
840
|
const response = {
|
|
855
841
|
$metadata: deserializeMetadata(output),
|
|
856
842
|
...contents,
|
|
857
843
|
};
|
|
858
|
-
return
|
|
844
|
+
return response;
|
|
859
845
|
};
|
|
860
846
|
exports.de_GetNotificationChannelCommand = de_GetNotificationChannelCommand;
|
|
861
847
|
const de_GetNotificationChannelCommandError = async (output, context) => {
|
|
@@ -876,10 +862,9 @@ const de_GetNotificationChannelCommandError = async (output, context) => {
|
|
|
876
862
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
877
863
|
default:
|
|
878
864
|
const parsedBody = parsedOutput.body;
|
|
879
|
-
|
|
865
|
+
return throwDefaultError({
|
|
880
866
|
output,
|
|
881
867
|
parsedBody,
|
|
882
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
883
868
|
errorCode,
|
|
884
869
|
});
|
|
885
870
|
}
|
|
@@ -890,12 +875,12 @@ const de_GetPolicyCommand = async (output, context) => {
|
|
|
890
875
|
}
|
|
891
876
|
const data = await parseBody(output.body, context);
|
|
892
877
|
let contents = {};
|
|
893
|
-
contents =
|
|
878
|
+
contents = (0, smithy_client_1._json)(data);
|
|
894
879
|
const response = {
|
|
895
880
|
$metadata: deserializeMetadata(output),
|
|
896
881
|
...contents,
|
|
897
882
|
};
|
|
898
|
-
return
|
|
883
|
+
return response;
|
|
899
884
|
};
|
|
900
885
|
exports.de_GetPolicyCommand = de_GetPolicyCommand;
|
|
901
886
|
const de_GetPolicyCommandError = async (output, context) => {
|
|
@@ -919,10 +904,9 @@ const de_GetPolicyCommandError = async (output, context) => {
|
|
|
919
904
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
920
905
|
default:
|
|
921
906
|
const parsedBody = parsedOutput.body;
|
|
922
|
-
|
|
907
|
+
return throwDefaultError({
|
|
923
908
|
output,
|
|
924
909
|
parsedBody,
|
|
925
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
926
910
|
errorCode,
|
|
927
911
|
});
|
|
928
912
|
}
|
|
@@ -933,12 +917,12 @@ const de_GetProtectionStatusCommand = async (output, context) => {
|
|
|
933
917
|
}
|
|
934
918
|
const data = await parseBody(output.body, context);
|
|
935
919
|
let contents = {};
|
|
936
|
-
contents =
|
|
920
|
+
contents = (0, smithy_client_1._json)(data);
|
|
937
921
|
const response = {
|
|
938
922
|
$metadata: deserializeMetadata(output),
|
|
939
923
|
...contents,
|
|
940
924
|
};
|
|
941
|
-
return
|
|
925
|
+
return response;
|
|
942
926
|
};
|
|
943
927
|
exports.de_GetProtectionStatusCommand = de_GetProtectionStatusCommand;
|
|
944
928
|
const de_GetProtectionStatusCommandError = async (output, context) => {
|
|
@@ -959,10 +943,9 @@ const de_GetProtectionStatusCommandError = async (output, context) => {
|
|
|
959
943
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
960
944
|
default:
|
|
961
945
|
const parsedBody = parsedOutput.body;
|
|
962
|
-
|
|
946
|
+
return throwDefaultError({
|
|
963
947
|
output,
|
|
964
948
|
parsedBody,
|
|
965
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
966
949
|
errorCode,
|
|
967
950
|
});
|
|
968
951
|
}
|
|
@@ -978,7 +961,7 @@ const de_GetProtocolsListCommand = async (output, context) => {
|
|
|
978
961
|
$metadata: deserializeMetadata(output),
|
|
979
962
|
...contents,
|
|
980
963
|
};
|
|
981
|
-
return
|
|
964
|
+
return response;
|
|
982
965
|
};
|
|
983
966
|
exports.de_GetProtocolsListCommand = de_GetProtocolsListCommand;
|
|
984
967
|
const de_GetProtocolsListCommandError = async (output, context) => {
|
|
@@ -999,10 +982,9 @@ const de_GetProtocolsListCommandError = async (output, context) => {
|
|
|
999
982
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1000
983
|
default:
|
|
1001
984
|
const parsedBody = parsedOutput.body;
|
|
1002
|
-
|
|
985
|
+
return throwDefaultError({
|
|
1003
986
|
output,
|
|
1004
987
|
parsedBody,
|
|
1005
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1006
988
|
errorCode,
|
|
1007
989
|
});
|
|
1008
990
|
}
|
|
@@ -1018,7 +1000,7 @@ const de_GetResourceSetCommand = async (output, context) => {
|
|
|
1018
1000
|
$metadata: deserializeMetadata(output),
|
|
1019
1001
|
...contents,
|
|
1020
1002
|
};
|
|
1021
|
-
return
|
|
1003
|
+
return response;
|
|
1022
1004
|
};
|
|
1023
1005
|
exports.de_GetResourceSetCommand = de_GetResourceSetCommand;
|
|
1024
1006
|
const de_GetResourceSetCommandError = async (output, context) => {
|
|
@@ -1042,10 +1024,9 @@ const de_GetResourceSetCommandError = async (output, context) => {
|
|
|
1042
1024
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1043
1025
|
default:
|
|
1044
1026
|
const parsedBody = parsedOutput.body;
|
|
1045
|
-
|
|
1027
|
+
return throwDefaultError({
|
|
1046
1028
|
output,
|
|
1047
1029
|
parsedBody,
|
|
1048
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1049
1030
|
errorCode,
|
|
1050
1031
|
});
|
|
1051
1032
|
}
|
|
@@ -1056,12 +1037,12 @@ const de_GetThirdPartyFirewallAssociationStatusCommand = async (output, context)
|
|
|
1056
1037
|
}
|
|
1057
1038
|
const data = await parseBody(output.body, context);
|
|
1058
1039
|
let contents = {};
|
|
1059
|
-
contents =
|
|
1040
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1060
1041
|
const response = {
|
|
1061
1042
|
$metadata: deserializeMetadata(output),
|
|
1062
1043
|
...contents,
|
|
1063
1044
|
};
|
|
1064
|
-
return
|
|
1045
|
+
return response;
|
|
1065
1046
|
};
|
|
1066
1047
|
exports.de_GetThirdPartyFirewallAssociationStatusCommand = de_GetThirdPartyFirewallAssociationStatusCommand;
|
|
1067
1048
|
const de_GetThirdPartyFirewallAssociationStatusCommandError = async (output, context) => {
|
|
@@ -1085,10 +1066,9 @@ const de_GetThirdPartyFirewallAssociationStatusCommandError = async (output, con
|
|
|
1085
1066
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1086
1067
|
default:
|
|
1087
1068
|
const parsedBody = parsedOutput.body;
|
|
1088
|
-
|
|
1069
|
+
return throwDefaultError({
|
|
1089
1070
|
output,
|
|
1090
1071
|
parsedBody,
|
|
1091
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1092
1072
|
errorCode,
|
|
1093
1073
|
});
|
|
1094
1074
|
}
|
|
@@ -1104,7 +1084,7 @@ const de_GetViolationDetailsCommand = async (output, context) => {
|
|
|
1104
1084
|
$metadata: deserializeMetadata(output),
|
|
1105
1085
|
...contents,
|
|
1106
1086
|
};
|
|
1107
|
-
return
|
|
1087
|
+
return response;
|
|
1108
1088
|
};
|
|
1109
1089
|
exports.de_GetViolationDetailsCommand = de_GetViolationDetailsCommand;
|
|
1110
1090
|
const de_GetViolationDetailsCommandError = async (output, context) => {
|
|
@@ -1125,10 +1105,9 @@ const de_GetViolationDetailsCommandError = async (output, context) => {
|
|
|
1125
1105
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1126
1106
|
default:
|
|
1127
1107
|
const parsedBody = parsedOutput.body;
|
|
1128
|
-
|
|
1108
|
+
return throwDefaultError({
|
|
1129
1109
|
output,
|
|
1130
1110
|
parsedBody,
|
|
1131
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1132
1111
|
errorCode,
|
|
1133
1112
|
});
|
|
1134
1113
|
}
|
|
@@ -1139,12 +1118,12 @@ const de_ListAppsListsCommand = async (output, context) => {
|
|
|
1139
1118
|
}
|
|
1140
1119
|
const data = await parseBody(output.body, context);
|
|
1141
1120
|
let contents = {};
|
|
1142
|
-
contents =
|
|
1121
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1143
1122
|
const response = {
|
|
1144
1123
|
$metadata: deserializeMetadata(output),
|
|
1145
1124
|
...contents,
|
|
1146
1125
|
};
|
|
1147
|
-
return
|
|
1126
|
+
return response;
|
|
1148
1127
|
};
|
|
1149
1128
|
exports.de_ListAppsListsCommand = de_ListAppsListsCommand;
|
|
1150
1129
|
const de_ListAppsListsCommandError = async (output, context) => {
|
|
@@ -1168,10 +1147,9 @@ const de_ListAppsListsCommandError = async (output, context) => {
|
|
|
1168
1147
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1169
1148
|
default:
|
|
1170
1149
|
const parsedBody = parsedOutput.body;
|
|
1171
|
-
|
|
1150
|
+
return throwDefaultError({
|
|
1172
1151
|
output,
|
|
1173
1152
|
parsedBody,
|
|
1174
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1175
1153
|
errorCode,
|
|
1176
1154
|
});
|
|
1177
1155
|
}
|
|
@@ -1187,7 +1165,7 @@ const de_ListComplianceStatusCommand = async (output, context) => {
|
|
|
1187
1165
|
$metadata: deserializeMetadata(output),
|
|
1188
1166
|
...contents,
|
|
1189
1167
|
};
|
|
1190
|
-
return
|
|
1168
|
+
return response;
|
|
1191
1169
|
};
|
|
1192
1170
|
exports.de_ListComplianceStatusCommand = de_ListComplianceStatusCommand;
|
|
1193
1171
|
const de_ListComplianceStatusCommandError = async (output, context) => {
|
|
@@ -1205,10 +1183,9 @@ const de_ListComplianceStatusCommandError = async (output, context) => {
|
|
|
1205
1183
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1206
1184
|
default:
|
|
1207
1185
|
const parsedBody = parsedOutput.body;
|
|
1208
|
-
|
|
1186
|
+
return throwDefaultError({
|
|
1209
1187
|
output,
|
|
1210
1188
|
parsedBody,
|
|
1211
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1212
1189
|
errorCode,
|
|
1213
1190
|
});
|
|
1214
1191
|
}
|
|
@@ -1219,12 +1196,12 @@ const de_ListDiscoveredResourcesCommand = async (output, context) => {
|
|
|
1219
1196
|
}
|
|
1220
1197
|
const data = await parseBody(output.body, context);
|
|
1221
1198
|
let contents = {};
|
|
1222
|
-
contents =
|
|
1199
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1223
1200
|
const response = {
|
|
1224
1201
|
$metadata: deserializeMetadata(output),
|
|
1225
1202
|
...contents,
|
|
1226
1203
|
};
|
|
1227
|
-
return
|
|
1204
|
+
return response;
|
|
1228
1205
|
};
|
|
1229
1206
|
exports.de_ListDiscoveredResourcesCommand = de_ListDiscoveredResourcesCommand;
|
|
1230
1207
|
const de_ListDiscoveredResourcesCommandError = async (output, context) => {
|
|
@@ -1245,10 +1222,9 @@ const de_ListDiscoveredResourcesCommandError = async (output, context) => {
|
|
|
1245
1222
|
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
1246
1223
|
default:
|
|
1247
1224
|
const parsedBody = parsedOutput.body;
|
|
1248
|
-
|
|
1225
|
+
return throwDefaultError({
|
|
1249
1226
|
output,
|
|
1250
1227
|
parsedBody,
|
|
1251
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1252
1228
|
errorCode,
|
|
1253
1229
|
});
|
|
1254
1230
|
}
|
|
@@ -1259,12 +1235,12 @@ const de_ListMemberAccountsCommand = async (output, context) => {
|
|
|
1259
1235
|
}
|
|
1260
1236
|
const data = await parseBody(output.body, context);
|
|
1261
1237
|
let contents = {};
|
|
1262
|
-
contents =
|
|
1238
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1263
1239
|
const response = {
|
|
1264
1240
|
$metadata: deserializeMetadata(output),
|
|
1265
1241
|
...contents,
|
|
1266
1242
|
};
|
|
1267
|
-
return
|
|
1243
|
+
return response;
|
|
1268
1244
|
};
|
|
1269
1245
|
exports.de_ListMemberAccountsCommand = de_ListMemberAccountsCommand;
|
|
1270
1246
|
const de_ListMemberAccountsCommandError = async (output, context) => {
|
|
@@ -1282,10 +1258,9 @@ const de_ListMemberAccountsCommandError = async (output, context) => {
|
|
|
1282
1258
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1283
1259
|
default:
|
|
1284
1260
|
const parsedBody = parsedOutput.body;
|
|
1285
|
-
|
|
1261
|
+
return throwDefaultError({
|
|
1286
1262
|
output,
|
|
1287
1263
|
parsedBody,
|
|
1288
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1289
1264
|
errorCode,
|
|
1290
1265
|
});
|
|
1291
1266
|
}
|
|
@@ -1296,12 +1271,12 @@ const de_ListPoliciesCommand = async (output, context) => {
|
|
|
1296
1271
|
}
|
|
1297
1272
|
const data = await parseBody(output.body, context);
|
|
1298
1273
|
let contents = {};
|
|
1299
|
-
contents =
|
|
1274
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1300
1275
|
const response = {
|
|
1301
1276
|
$metadata: deserializeMetadata(output),
|
|
1302
1277
|
...contents,
|
|
1303
1278
|
};
|
|
1304
|
-
return
|
|
1279
|
+
return response;
|
|
1305
1280
|
};
|
|
1306
1281
|
exports.de_ListPoliciesCommand = de_ListPoliciesCommand;
|
|
1307
1282
|
const de_ListPoliciesCommandError = async (output, context) => {
|
|
@@ -1325,10 +1300,9 @@ const de_ListPoliciesCommandError = async (output, context) => {
|
|
|
1325
1300
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1326
1301
|
default:
|
|
1327
1302
|
const parsedBody = parsedOutput.body;
|
|
1328
|
-
|
|
1303
|
+
return throwDefaultError({
|
|
1329
1304
|
output,
|
|
1330
1305
|
parsedBody,
|
|
1331
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1332
1306
|
errorCode,
|
|
1333
1307
|
});
|
|
1334
1308
|
}
|
|
@@ -1339,12 +1313,12 @@ const de_ListProtocolsListsCommand = async (output, context) => {
|
|
|
1339
1313
|
}
|
|
1340
1314
|
const data = await parseBody(output.body, context);
|
|
1341
1315
|
let contents = {};
|
|
1342
|
-
contents =
|
|
1316
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1343
1317
|
const response = {
|
|
1344
1318
|
$metadata: deserializeMetadata(output),
|
|
1345
1319
|
...contents,
|
|
1346
1320
|
};
|
|
1347
|
-
return
|
|
1321
|
+
return response;
|
|
1348
1322
|
};
|
|
1349
1323
|
exports.de_ListProtocolsListsCommand = de_ListProtocolsListsCommand;
|
|
1350
1324
|
const de_ListProtocolsListsCommandError = async (output, context) => {
|
|
@@ -1365,10 +1339,9 @@ const de_ListProtocolsListsCommandError = async (output, context) => {
|
|
|
1365
1339
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1366
1340
|
default:
|
|
1367
1341
|
const parsedBody = parsedOutput.body;
|
|
1368
|
-
|
|
1342
|
+
return throwDefaultError({
|
|
1369
1343
|
output,
|
|
1370
1344
|
parsedBody,
|
|
1371
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1372
1345
|
errorCode,
|
|
1373
1346
|
});
|
|
1374
1347
|
}
|
|
@@ -1379,12 +1352,12 @@ const de_ListResourceSetResourcesCommand = async (output, context) => {
|
|
|
1379
1352
|
}
|
|
1380
1353
|
const data = await parseBody(output.body, context);
|
|
1381
1354
|
let contents = {};
|
|
1382
|
-
contents =
|
|
1355
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1383
1356
|
const response = {
|
|
1384
1357
|
$metadata: deserializeMetadata(output),
|
|
1385
1358
|
...contents,
|
|
1386
1359
|
};
|
|
1387
|
-
return
|
|
1360
|
+
return response;
|
|
1388
1361
|
};
|
|
1389
1362
|
exports.de_ListResourceSetResourcesCommand = de_ListResourceSetResourcesCommand;
|
|
1390
1363
|
const de_ListResourceSetResourcesCommandError = async (output, context) => {
|
|
@@ -1408,10 +1381,9 @@ const de_ListResourceSetResourcesCommandError = async (output, context) => {
|
|
|
1408
1381
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1409
1382
|
default:
|
|
1410
1383
|
const parsedBody = parsedOutput.body;
|
|
1411
|
-
|
|
1384
|
+
return throwDefaultError({
|
|
1412
1385
|
output,
|
|
1413
1386
|
parsedBody,
|
|
1414
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1415
1387
|
errorCode,
|
|
1416
1388
|
});
|
|
1417
1389
|
}
|
|
@@ -1427,7 +1399,7 @@ const de_ListResourceSetsCommand = async (output, context) => {
|
|
|
1427
1399
|
$metadata: deserializeMetadata(output),
|
|
1428
1400
|
...contents,
|
|
1429
1401
|
};
|
|
1430
|
-
return
|
|
1402
|
+
return response;
|
|
1431
1403
|
};
|
|
1432
1404
|
exports.de_ListResourceSetsCommand = de_ListResourceSetsCommand;
|
|
1433
1405
|
const de_ListResourceSetsCommandError = async (output, context) => {
|
|
@@ -1448,10 +1420,9 @@ const de_ListResourceSetsCommandError = async (output, context) => {
|
|
|
1448
1420
|
throw await de_InvalidOperationExceptionRes(parsedOutput, context);
|
|
1449
1421
|
default:
|
|
1450
1422
|
const parsedBody = parsedOutput.body;
|
|
1451
|
-
|
|
1423
|
+
return throwDefaultError({
|
|
1452
1424
|
output,
|
|
1453
1425
|
parsedBody,
|
|
1454
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1455
1426
|
errorCode,
|
|
1456
1427
|
});
|
|
1457
1428
|
}
|
|
@@ -1462,12 +1433,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1462
1433
|
}
|
|
1463
1434
|
const data = await parseBody(output.body, context);
|
|
1464
1435
|
let contents = {};
|
|
1465
|
-
contents =
|
|
1436
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1466
1437
|
const response = {
|
|
1467
1438
|
$metadata: deserializeMetadata(output),
|
|
1468
1439
|
...contents,
|
|
1469
1440
|
};
|
|
1470
|
-
return
|
|
1441
|
+
return response;
|
|
1471
1442
|
};
|
|
1472
1443
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1473
1444
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1491,10 +1462,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1491
1462
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1492
1463
|
default:
|
|
1493
1464
|
const parsedBody = parsedOutput.body;
|
|
1494
|
-
|
|
1465
|
+
return throwDefaultError({
|
|
1495
1466
|
output,
|
|
1496
1467
|
parsedBody,
|
|
1497
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1498
1468
|
errorCode,
|
|
1499
1469
|
});
|
|
1500
1470
|
}
|
|
@@ -1505,12 +1475,12 @@ const de_ListThirdPartyFirewallFirewallPoliciesCommand = async (output, context)
|
|
|
1505
1475
|
}
|
|
1506
1476
|
const data = await parseBody(output.body, context);
|
|
1507
1477
|
let contents = {};
|
|
1508
|
-
contents =
|
|
1478
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1509
1479
|
const response = {
|
|
1510
1480
|
$metadata: deserializeMetadata(output),
|
|
1511
1481
|
...contents,
|
|
1512
1482
|
};
|
|
1513
|
-
return
|
|
1483
|
+
return response;
|
|
1514
1484
|
};
|
|
1515
1485
|
exports.de_ListThirdPartyFirewallFirewallPoliciesCommand = de_ListThirdPartyFirewallFirewallPoliciesCommand;
|
|
1516
1486
|
const de_ListThirdPartyFirewallFirewallPoliciesCommandError = async (output, context) => {
|
|
@@ -1534,10 +1504,9 @@ const de_ListThirdPartyFirewallFirewallPoliciesCommandError = async (output, con
|
|
|
1534
1504
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1535
1505
|
default:
|
|
1536
1506
|
const parsedBody = parsedOutput.body;
|
|
1537
|
-
|
|
1507
|
+
return throwDefaultError({
|
|
1538
1508
|
output,
|
|
1539
1509
|
parsedBody,
|
|
1540
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1541
1510
|
errorCode,
|
|
1542
1511
|
});
|
|
1543
1512
|
}
|
|
@@ -1553,7 +1522,7 @@ const de_PutAppsListCommand = async (output, context) => {
|
|
|
1553
1522
|
$metadata: deserializeMetadata(output),
|
|
1554
1523
|
...contents,
|
|
1555
1524
|
};
|
|
1556
|
-
return
|
|
1525
|
+
return response;
|
|
1557
1526
|
};
|
|
1558
1527
|
exports.de_PutAppsListCommand = de_PutAppsListCommand;
|
|
1559
1528
|
const de_PutAppsListCommandError = async (output, context) => {
|
|
@@ -1580,10 +1549,9 @@ const de_PutAppsListCommandError = async (output, context) => {
|
|
|
1580
1549
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1581
1550
|
default:
|
|
1582
1551
|
const parsedBody = parsedOutput.body;
|
|
1583
|
-
|
|
1552
|
+
return throwDefaultError({
|
|
1584
1553
|
output,
|
|
1585
1554
|
parsedBody,
|
|
1586
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1587
1555
|
errorCode,
|
|
1588
1556
|
});
|
|
1589
1557
|
}
|
|
@@ -1596,7 +1564,7 @@ const de_PutNotificationChannelCommand = async (output, context) => {
|
|
|
1596
1564
|
const response = {
|
|
1597
1565
|
$metadata: deserializeMetadata(output),
|
|
1598
1566
|
};
|
|
1599
|
-
return
|
|
1567
|
+
return response;
|
|
1600
1568
|
};
|
|
1601
1569
|
exports.de_PutNotificationChannelCommand = de_PutNotificationChannelCommand;
|
|
1602
1570
|
const de_PutNotificationChannelCommandError = async (output, context) => {
|
|
@@ -1617,10 +1585,9 @@ const de_PutNotificationChannelCommandError = async (output, context) => {
|
|
|
1617
1585
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1618
1586
|
default:
|
|
1619
1587
|
const parsedBody = parsedOutput.body;
|
|
1620
|
-
|
|
1588
|
+
return throwDefaultError({
|
|
1621
1589
|
output,
|
|
1622
1590
|
parsedBody,
|
|
1623
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1624
1591
|
errorCode,
|
|
1625
1592
|
});
|
|
1626
1593
|
}
|
|
@@ -1631,12 +1598,12 @@ const de_PutPolicyCommand = async (output, context) => {
|
|
|
1631
1598
|
}
|
|
1632
1599
|
const data = await parseBody(output.body, context);
|
|
1633
1600
|
let contents = {};
|
|
1634
|
-
contents =
|
|
1601
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1635
1602
|
const response = {
|
|
1636
1603
|
$metadata: deserializeMetadata(output),
|
|
1637
1604
|
...contents,
|
|
1638
1605
|
};
|
|
1639
|
-
return
|
|
1606
|
+
return response;
|
|
1640
1607
|
};
|
|
1641
1608
|
exports.de_PutPolicyCommand = de_PutPolicyCommand;
|
|
1642
1609
|
const de_PutPolicyCommandError = async (output, context) => {
|
|
@@ -1666,10 +1633,9 @@ const de_PutPolicyCommandError = async (output, context) => {
|
|
|
1666
1633
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1667
1634
|
default:
|
|
1668
1635
|
const parsedBody = parsedOutput.body;
|
|
1669
|
-
|
|
1636
|
+
return throwDefaultError({
|
|
1670
1637
|
output,
|
|
1671
1638
|
parsedBody,
|
|
1672
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1673
1639
|
errorCode,
|
|
1674
1640
|
});
|
|
1675
1641
|
}
|
|
@@ -1685,7 +1651,7 @@ const de_PutProtocolsListCommand = async (output, context) => {
|
|
|
1685
1651
|
$metadata: deserializeMetadata(output),
|
|
1686
1652
|
...contents,
|
|
1687
1653
|
};
|
|
1688
|
-
return
|
|
1654
|
+
return response;
|
|
1689
1655
|
};
|
|
1690
1656
|
exports.de_PutProtocolsListCommand = de_PutProtocolsListCommand;
|
|
1691
1657
|
const de_PutProtocolsListCommandError = async (output, context) => {
|
|
@@ -1712,10 +1678,9 @@ const de_PutProtocolsListCommandError = async (output, context) => {
|
|
|
1712
1678
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1713
1679
|
default:
|
|
1714
1680
|
const parsedBody = parsedOutput.body;
|
|
1715
|
-
|
|
1681
|
+
return throwDefaultError({
|
|
1716
1682
|
output,
|
|
1717
1683
|
parsedBody,
|
|
1718
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1719
1684
|
errorCode,
|
|
1720
1685
|
});
|
|
1721
1686
|
}
|
|
@@ -1731,7 +1696,7 @@ const de_PutResourceSetCommand = async (output, context) => {
|
|
|
1731
1696
|
$metadata: deserializeMetadata(output),
|
|
1732
1697
|
...contents,
|
|
1733
1698
|
};
|
|
1734
|
-
return
|
|
1699
|
+
return response;
|
|
1735
1700
|
};
|
|
1736
1701
|
exports.de_PutResourceSetCommand = de_PutResourceSetCommand;
|
|
1737
1702
|
const de_PutResourceSetCommandError = async (output, context) => {
|
|
@@ -1755,10 +1720,9 @@ const de_PutResourceSetCommandError = async (output, context) => {
|
|
|
1755
1720
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1756
1721
|
default:
|
|
1757
1722
|
const parsedBody = parsedOutput.body;
|
|
1758
|
-
|
|
1723
|
+
return throwDefaultError({
|
|
1759
1724
|
output,
|
|
1760
1725
|
parsedBody,
|
|
1761
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1762
1726
|
errorCode,
|
|
1763
1727
|
});
|
|
1764
1728
|
}
|
|
@@ -1769,12 +1733,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1769
1733
|
}
|
|
1770
1734
|
const data = await parseBody(output.body, context);
|
|
1771
1735
|
let contents = {};
|
|
1772
|
-
contents =
|
|
1736
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1773
1737
|
const response = {
|
|
1774
1738
|
$metadata: deserializeMetadata(output),
|
|
1775
1739
|
...contents,
|
|
1776
1740
|
};
|
|
1777
|
-
return
|
|
1741
|
+
return response;
|
|
1778
1742
|
};
|
|
1779
1743
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1780
1744
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1801,10 +1765,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1801
1765
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1802
1766
|
default:
|
|
1803
1767
|
const parsedBody = parsedOutput.body;
|
|
1804
|
-
|
|
1768
|
+
return throwDefaultError({
|
|
1805
1769
|
output,
|
|
1806
1770
|
parsedBody,
|
|
1807
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1808
1771
|
errorCode,
|
|
1809
1772
|
});
|
|
1810
1773
|
}
|
|
@@ -1815,12 +1778,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1815
1778
|
}
|
|
1816
1779
|
const data = await parseBody(output.body, context);
|
|
1817
1780
|
let contents = {};
|
|
1818
|
-
contents =
|
|
1781
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1819
1782
|
const response = {
|
|
1820
1783
|
$metadata: deserializeMetadata(output),
|
|
1821
1784
|
...contents,
|
|
1822
1785
|
};
|
|
1823
|
-
return
|
|
1786
|
+
return response;
|
|
1824
1787
|
};
|
|
1825
1788
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1826
1789
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1844,17 +1807,16 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1844
1807
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1845
1808
|
default:
|
|
1846
1809
|
const parsedBody = parsedOutput.body;
|
|
1847
|
-
|
|
1810
|
+
return throwDefaultError({
|
|
1848
1811
|
output,
|
|
1849
1812
|
parsedBody,
|
|
1850
|
-
exceptionCtor: FMSServiceException_1.FMSServiceException,
|
|
1851
1813
|
errorCode,
|
|
1852
1814
|
});
|
|
1853
1815
|
}
|
|
1854
1816
|
};
|
|
1855
1817
|
const de_InternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
1856
1818
|
const body = parsedOutput.body;
|
|
1857
|
-
const deserialized =
|
|
1819
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1858
1820
|
const exception = new models_0_1.InternalErrorException({
|
|
1859
1821
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1860
1822
|
...deserialized,
|
|
@@ -1863,7 +1825,7 @@ const de_InternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
1863
1825
|
};
|
|
1864
1826
|
const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
1865
1827
|
const body = parsedOutput.body;
|
|
1866
|
-
const deserialized =
|
|
1828
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1867
1829
|
const exception = new models_0_1.InvalidInputException({
|
|
1868
1830
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1869
1831
|
...deserialized,
|
|
@@ -1872,7 +1834,7 @@ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
|
|
|
1872
1834
|
};
|
|
1873
1835
|
const de_InvalidOperationExceptionRes = async (parsedOutput, context) => {
|
|
1874
1836
|
const body = parsedOutput.body;
|
|
1875
|
-
const deserialized =
|
|
1837
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1876
1838
|
const exception = new models_0_1.InvalidOperationException({
|
|
1877
1839
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1878
1840
|
...deserialized,
|
|
@@ -1881,7 +1843,7 @@ const de_InvalidOperationExceptionRes = async (parsedOutput, context) => {
|
|
|
1881
1843
|
};
|
|
1882
1844
|
const de_InvalidTypeExceptionRes = async (parsedOutput, context) => {
|
|
1883
1845
|
const body = parsedOutput.body;
|
|
1884
|
-
const deserialized =
|
|
1846
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1885
1847
|
const exception = new models_0_1.InvalidTypeException({
|
|
1886
1848
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1887
1849
|
...deserialized,
|
|
@@ -1890,7 +1852,7 @@ const de_InvalidTypeExceptionRes = async (parsedOutput, context) => {
|
|
|
1890
1852
|
};
|
|
1891
1853
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1892
1854
|
const body = parsedOutput.body;
|
|
1893
|
-
const deserialized =
|
|
1855
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1894
1856
|
const exception = new models_0_1.LimitExceededException({
|
|
1895
1857
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1896
1858
|
...deserialized,
|
|
@@ -1899,1775 +1861,219 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1899
1861
|
};
|
|
1900
1862
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1901
1863
|
const body = parsedOutput.body;
|
|
1902
|
-
const deserialized =
|
|
1864
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1903
1865
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1904
1866
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1905
1867
|
...deserialized,
|
|
1906
1868
|
});
|
|
1907
1869
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1908
1870
|
};
|
|
1909
|
-
const
|
|
1910
|
-
return {
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
.filter((e) => e != null)
|
|
1919
|
-
.map((entry) => {
|
|
1920
|
-
return se_App(entry, context);
|
|
1921
|
-
});
|
|
1922
|
-
};
|
|
1923
|
-
const se_AppsListData = (input, context) => {
|
|
1924
|
-
return {
|
|
1925
|
-
...(input.AppsList != null && { AppsList: se_AppsList(input.AppsList, context) }),
|
|
1926
|
-
...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) }),
|
|
1927
|
-
...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
|
|
1928
|
-
...(input.ListId != null && { ListId: input.ListId }),
|
|
1929
|
-
...(input.ListName != null && { ListName: input.ListName }),
|
|
1930
|
-
...(input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken }),
|
|
1931
|
-
...(input.PreviousAppsList != null && { PreviousAppsList: se_PreviousAppsList(input.PreviousAppsList, context) }),
|
|
1932
|
-
};
|
|
1933
|
-
};
|
|
1934
|
-
const se_AssociateAdminAccountRequest = (input, context) => {
|
|
1935
|
-
return {
|
|
1936
|
-
...(input.AdminAccount != null && { AdminAccount: input.AdminAccount }),
|
|
1937
|
-
};
|
|
1938
|
-
};
|
|
1939
|
-
const se_AssociateThirdPartyFirewallRequest = (input, context) => {
|
|
1940
|
-
return {
|
|
1941
|
-
...(input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }),
|
|
1942
|
-
};
|
|
1943
|
-
};
|
|
1944
|
-
const se_AWSAccountIdList = (input, context) => {
|
|
1945
|
-
return input
|
|
1946
|
-
.filter((e) => e != null)
|
|
1947
|
-
.map((entry) => {
|
|
1948
|
-
return entry;
|
|
1949
|
-
});
|
|
1950
|
-
};
|
|
1951
|
-
const se_BatchAssociateResourceRequest = (input, context) => {
|
|
1952
|
-
return {
|
|
1953
|
-
...(input.Items != null && { Items: se_IdentifierList(input.Items, context) }),
|
|
1954
|
-
...(input.ResourceSetIdentifier != null && { ResourceSetIdentifier: input.ResourceSetIdentifier }),
|
|
1955
|
-
};
|
|
1956
|
-
};
|
|
1957
|
-
const se_BatchDisassociateResourceRequest = (input, context) => {
|
|
1958
|
-
return {
|
|
1959
|
-
...(input.Items != null && { Items: se_IdentifierList(input.Items, context) }),
|
|
1960
|
-
...(input.ResourceSetIdentifier != null && { ResourceSetIdentifier: input.ResourceSetIdentifier }),
|
|
1961
|
-
};
|
|
1962
|
-
};
|
|
1963
|
-
const se_CustomerPolicyScopeIdList = (input, context) => {
|
|
1964
|
-
return input
|
|
1965
|
-
.filter((e) => e != null)
|
|
1966
|
-
.map((entry) => {
|
|
1967
|
-
return entry;
|
|
1968
|
-
});
|
|
1969
|
-
};
|
|
1970
|
-
const se_CustomerPolicyScopeMap = (input, context) => {
|
|
1971
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1972
|
-
if (value === null) {
|
|
1973
|
-
return acc;
|
|
1974
|
-
}
|
|
1975
|
-
acc[key] = se_CustomerPolicyScopeIdList(value, context);
|
|
1976
|
-
return acc;
|
|
1977
|
-
}, {});
|
|
1978
|
-
};
|
|
1979
|
-
const se_DeleteAppsListRequest = (input, context) => {
|
|
1980
|
-
return {
|
|
1981
|
-
...(input.ListId != null && { ListId: input.ListId }),
|
|
1982
|
-
};
|
|
1983
|
-
};
|
|
1984
|
-
const se_DeleteNotificationChannelRequest = (input, context) => {
|
|
1985
|
-
return {};
|
|
1986
|
-
};
|
|
1987
|
-
const se_DeletePolicyRequest = (input, context) => {
|
|
1988
|
-
return {
|
|
1989
|
-
...(input.DeleteAllPolicyResources != null && { DeleteAllPolicyResources: input.DeleteAllPolicyResources }),
|
|
1990
|
-
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
1991
|
-
};
|
|
1992
|
-
};
|
|
1993
|
-
const se_DeleteProtocolsListRequest = (input, context) => {
|
|
1994
|
-
return {
|
|
1995
|
-
...(input.ListId != null && { ListId: input.ListId }),
|
|
1996
|
-
};
|
|
1997
|
-
};
|
|
1998
|
-
const se_DeleteResourceSetRequest = (input, context) => {
|
|
1999
|
-
return {
|
|
2000
|
-
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
2001
|
-
};
|
|
2002
|
-
};
|
|
2003
|
-
const se_DisassociateAdminAccountRequest = (input, context) => {
|
|
2004
|
-
return {};
|
|
2005
|
-
};
|
|
2006
|
-
const se_DisassociateThirdPartyFirewallRequest = (input, context) => {
|
|
2007
|
-
return {
|
|
2008
|
-
...(input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }),
|
|
2009
|
-
};
|
|
2010
|
-
};
|
|
2011
|
-
const se_GetAdminAccountRequest = (input, context) => {
|
|
2012
|
-
return {};
|
|
2013
|
-
};
|
|
2014
|
-
const se_GetAppsListRequest = (input, context) => {
|
|
2015
|
-
return {
|
|
2016
|
-
...(input.DefaultList != null && { DefaultList: input.DefaultList }),
|
|
2017
|
-
...(input.ListId != null && { ListId: input.ListId }),
|
|
2018
|
-
};
|
|
2019
|
-
};
|
|
2020
|
-
const se_GetComplianceDetailRequest = (input, context) => {
|
|
2021
|
-
return {
|
|
2022
|
-
...(input.MemberAccount != null && { MemberAccount: input.MemberAccount }),
|
|
2023
|
-
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
2024
|
-
};
|
|
2025
|
-
};
|
|
2026
|
-
const se_GetNotificationChannelRequest = (input, context) => {
|
|
2027
|
-
return {};
|
|
2028
|
-
};
|
|
2029
|
-
const se_GetPolicyRequest = (input, context) => {
|
|
2030
|
-
return {
|
|
2031
|
-
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
2032
|
-
};
|
|
2033
|
-
};
|
|
2034
|
-
const se_GetProtectionStatusRequest = (input, context) => {
|
|
2035
|
-
return {
|
|
2036
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
2037
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2038
|
-
...(input.MemberAccountId != null && { MemberAccountId: input.MemberAccountId }),
|
|
2039
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2040
|
-
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
2041
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
2042
|
-
};
|
|
2043
|
-
};
|
|
2044
|
-
const se_GetProtocolsListRequest = (input, context) => {
|
|
2045
|
-
return {
|
|
2046
|
-
...(input.DefaultList != null && { DefaultList: input.DefaultList }),
|
|
2047
|
-
...(input.ListId != null && { ListId: input.ListId }),
|
|
2048
|
-
};
|
|
2049
|
-
};
|
|
2050
|
-
const se_GetResourceSetRequest = (input, context) => {
|
|
2051
|
-
return {
|
|
2052
|
-
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
2053
|
-
};
|
|
2054
|
-
};
|
|
2055
|
-
const se_GetThirdPartyFirewallAssociationStatusRequest = (input, context) => {
|
|
2056
|
-
return {
|
|
2057
|
-
...(input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }),
|
|
2058
|
-
};
|
|
2059
|
-
};
|
|
2060
|
-
const se_GetViolationDetailsRequest = (input, context) => {
|
|
2061
|
-
return {
|
|
2062
|
-
...(input.MemberAccount != null && { MemberAccount: input.MemberAccount }),
|
|
2063
|
-
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
2064
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
2065
|
-
...(input.ResourceType != null && { ResourceType: input.ResourceType }),
|
|
2066
|
-
};
|
|
2067
|
-
};
|
|
2068
|
-
const se_IdentifierList = (input, context) => {
|
|
2069
|
-
return input
|
|
2070
|
-
.filter((e) => e != null)
|
|
2071
|
-
.map((entry) => {
|
|
2072
|
-
return entry;
|
|
2073
|
-
});
|
|
2074
|
-
};
|
|
2075
|
-
const se_ListAppsListsRequest = (input, context) => {
|
|
2076
|
-
return {
|
|
2077
|
-
...(input.DefaultLists != null && { DefaultLists: input.DefaultLists }),
|
|
2078
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2079
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2080
|
-
};
|
|
2081
|
-
};
|
|
2082
|
-
const se_ListComplianceStatusRequest = (input, context) => {
|
|
2083
|
-
return {
|
|
2084
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2085
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2086
|
-
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
2087
|
-
};
|
|
2088
|
-
};
|
|
2089
|
-
const se_ListDiscoveredResourcesRequest = (input, context) => {
|
|
2090
|
-
return {
|
|
2091
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2092
|
-
...(input.MemberAccountIds != null && { MemberAccountIds: se_AWSAccountIdList(input.MemberAccountIds, context) }),
|
|
2093
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2094
|
-
...(input.ResourceType != null && { ResourceType: input.ResourceType }),
|
|
2095
|
-
};
|
|
2096
|
-
};
|
|
2097
|
-
const se_ListMemberAccountsRequest = (input, context) => {
|
|
2098
|
-
return {
|
|
2099
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2100
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2101
|
-
};
|
|
2102
|
-
};
|
|
2103
|
-
const se_ListPoliciesRequest = (input, context) => {
|
|
2104
|
-
return {
|
|
2105
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2106
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2107
|
-
};
|
|
2108
|
-
};
|
|
2109
|
-
const se_ListProtocolsListsRequest = (input, context) => {
|
|
2110
|
-
return {
|
|
2111
|
-
...(input.DefaultLists != null && { DefaultLists: input.DefaultLists }),
|
|
2112
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2113
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2114
|
-
};
|
|
2115
|
-
};
|
|
2116
|
-
const se_ListResourceSetResourcesRequest = (input, context) => {
|
|
2117
|
-
return {
|
|
2118
|
-
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
2119
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2120
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2121
|
-
};
|
|
2122
|
-
};
|
|
2123
|
-
const se_ListResourceSetsRequest = (input, context) => {
|
|
2124
|
-
return {
|
|
2125
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2126
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2130
|
-
return {
|
|
2131
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2132
|
-
};
|
|
2133
|
-
};
|
|
2134
|
-
const se_ListThirdPartyFirewallFirewallPoliciesRequest = (input, context) => {
|
|
2135
|
-
return {
|
|
2136
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2137
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2138
|
-
...(input.ThirdPartyFirewall != null && { ThirdPartyFirewall: input.ThirdPartyFirewall }),
|
|
2139
|
-
};
|
|
2140
|
-
};
|
|
2141
|
-
const se_NetworkFirewallPolicy = (input, context) => {
|
|
2142
|
-
return {
|
|
2143
|
-
...(input.FirewallDeploymentModel != null && { FirewallDeploymentModel: input.FirewallDeploymentModel }),
|
|
2144
|
-
};
|
|
2145
|
-
};
|
|
2146
|
-
const se_Policy = (input, context) => {
|
|
2147
|
-
return {
|
|
2148
|
-
...(input.DeleteUnusedFMManagedResources != null && {
|
|
2149
|
-
DeleteUnusedFMManagedResources: input.DeleteUnusedFMManagedResources,
|
|
2150
|
-
}),
|
|
2151
|
-
...(input.ExcludeMap != null && { ExcludeMap: se_CustomerPolicyScopeMap(input.ExcludeMap, context) }),
|
|
2152
|
-
...(input.ExcludeResourceTags != null && { ExcludeResourceTags: input.ExcludeResourceTags }),
|
|
2153
|
-
...(input.IncludeMap != null && { IncludeMap: se_CustomerPolicyScopeMap(input.IncludeMap, context) }),
|
|
2154
|
-
...(input.PolicyDescription != null && { PolicyDescription: input.PolicyDescription }),
|
|
2155
|
-
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
2156
|
-
...(input.PolicyName != null && { PolicyName: input.PolicyName }),
|
|
2157
|
-
...(input.PolicyUpdateToken != null && { PolicyUpdateToken: input.PolicyUpdateToken }),
|
|
2158
|
-
...(input.RemediationEnabled != null && { RemediationEnabled: input.RemediationEnabled }),
|
|
2159
|
-
...(input.ResourceSetIds != null && { ResourceSetIds: se_ResourceSetIds(input.ResourceSetIds, context) }),
|
|
2160
|
-
...(input.ResourceTags != null && { ResourceTags: se_ResourceTags(input.ResourceTags, context) }),
|
|
2161
|
-
...(input.ResourceType != null && { ResourceType: input.ResourceType }),
|
|
2162
|
-
...(input.ResourceTypeList != null && { ResourceTypeList: se_ResourceTypeList(input.ResourceTypeList, context) }),
|
|
2163
|
-
...(input.SecurityServicePolicyData != null && {
|
|
2164
|
-
SecurityServicePolicyData: se_SecurityServicePolicyData(input.SecurityServicePolicyData, context),
|
|
2165
|
-
}),
|
|
2166
|
-
};
|
|
2167
|
-
};
|
|
2168
|
-
const se_PolicyOption = (input, context) => {
|
|
2169
|
-
return {
|
|
2170
|
-
...(input.NetworkFirewallPolicy != null && {
|
|
2171
|
-
NetworkFirewallPolicy: se_NetworkFirewallPolicy(input.NetworkFirewallPolicy, context),
|
|
2172
|
-
}),
|
|
2173
|
-
...(input.ThirdPartyFirewallPolicy != null && {
|
|
2174
|
-
ThirdPartyFirewallPolicy: se_ThirdPartyFirewallPolicy(input.ThirdPartyFirewallPolicy, context),
|
|
2175
|
-
}),
|
|
2176
|
-
};
|
|
2177
|
-
};
|
|
2178
|
-
const se_PreviousAppsList = (input, context) => {
|
|
2179
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2180
|
-
if (value === null) {
|
|
2181
|
-
return acc;
|
|
2182
|
-
}
|
|
2183
|
-
acc[key] = se_AppsList(value, context);
|
|
2184
|
-
return acc;
|
|
2185
|
-
}, {});
|
|
2186
|
-
};
|
|
2187
|
-
const se_PreviousProtocolsList = (input, context) => {
|
|
2188
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2189
|
-
if (value === null) {
|
|
2190
|
-
return acc;
|
|
2191
|
-
}
|
|
2192
|
-
acc[key] = se_ProtocolsList(value, context);
|
|
2193
|
-
return acc;
|
|
2194
|
-
}, {});
|
|
2195
|
-
};
|
|
2196
|
-
const se_ProtocolsList = (input, context) => {
|
|
2197
|
-
return input
|
|
2198
|
-
.filter((e) => e != null)
|
|
2199
|
-
.map((entry) => {
|
|
2200
|
-
return entry;
|
|
2201
|
-
});
|
|
2202
|
-
};
|
|
2203
|
-
const se_ProtocolsListData = (input, context) => {
|
|
2204
|
-
return {
|
|
2205
|
-
...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) }),
|
|
2206
|
-
...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
|
|
2207
|
-
...(input.ListId != null && { ListId: input.ListId }),
|
|
2208
|
-
...(input.ListName != null && { ListName: input.ListName }),
|
|
2209
|
-
...(input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken }),
|
|
2210
|
-
...(input.PreviousProtocolsList != null && {
|
|
2211
|
-
PreviousProtocolsList: se_PreviousProtocolsList(input.PreviousProtocolsList, context),
|
|
2212
|
-
}),
|
|
2213
|
-
...(input.ProtocolsList != null && { ProtocolsList: se_ProtocolsList(input.ProtocolsList, context) }),
|
|
2214
|
-
};
|
|
2215
|
-
};
|
|
2216
|
-
const se_PutAppsListRequest = (input, context) => {
|
|
2217
|
-
return {
|
|
2218
|
-
...(input.AppsList != null && { AppsList: se_AppsListData(input.AppsList, context) }),
|
|
2219
|
-
...(input.TagList != null && { TagList: se_TagList(input.TagList, context) }),
|
|
2220
|
-
};
|
|
2221
|
-
};
|
|
2222
|
-
const se_PutNotificationChannelRequest = (input, context) => {
|
|
2223
|
-
return {
|
|
2224
|
-
...(input.SnsRoleName != null && { SnsRoleName: input.SnsRoleName }),
|
|
2225
|
-
...(input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }),
|
|
2226
|
-
};
|
|
2227
|
-
};
|
|
2228
|
-
const se_PutPolicyRequest = (input, context) => {
|
|
2229
|
-
return {
|
|
2230
|
-
...(input.Policy != null && { Policy: se_Policy(input.Policy, context) }),
|
|
2231
|
-
...(input.TagList != null && { TagList: se_TagList(input.TagList, context) }),
|
|
2232
|
-
};
|
|
2233
|
-
};
|
|
2234
|
-
const se_PutProtocolsListRequest = (input, context) => {
|
|
2235
|
-
return {
|
|
2236
|
-
...(input.ProtocolsList != null && { ProtocolsList: se_ProtocolsListData(input.ProtocolsList, context) }),
|
|
2237
|
-
...(input.TagList != null && { TagList: se_TagList(input.TagList, context) }),
|
|
2238
|
-
};
|
|
2239
|
-
};
|
|
2240
|
-
const se_PutResourceSetRequest = (input, context) => {
|
|
2241
|
-
return {
|
|
2242
|
-
...(input.ResourceSet != null && { ResourceSet: se_ResourceSet(input.ResourceSet, context) }),
|
|
2243
|
-
...(input.TagList != null && { TagList: se_TagList(input.TagList, context) }),
|
|
2244
|
-
};
|
|
2245
|
-
};
|
|
2246
|
-
const se_ResourceSet = (input, context) => {
|
|
2247
|
-
return {
|
|
2248
|
-
...(input.Description != null && { Description: input.Description }),
|
|
2249
|
-
...(input.Id != null && { Id: input.Id }),
|
|
2250
|
-
...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
|
|
2251
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2252
|
-
...(input.ResourceTypeList != null && { ResourceTypeList: se_ResourceTypeList(input.ResourceTypeList, context) }),
|
|
2253
|
-
...(input.UpdateToken != null && { UpdateToken: input.UpdateToken }),
|
|
2254
|
-
};
|
|
2255
|
-
};
|
|
2256
|
-
const se_ResourceSetIds = (input, context) => {
|
|
2257
|
-
return input
|
|
2258
|
-
.filter((e) => e != null)
|
|
2259
|
-
.map((entry) => {
|
|
2260
|
-
return entry;
|
|
2261
|
-
});
|
|
2262
|
-
};
|
|
2263
|
-
const se_ResourceTag = (input, context) => {
|
|
2264
|
-
return {
|
|
2265
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2266
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2267
|
-
};
|
|
2268
|
-
};
|
|
2269
|
-
const se_ResourceTags = (input, context) => {
|
|
2270
|
-
return input
|
|
2271
|
-
.filter((e) => e != null)
|
|
2272
|
-
.map((entry) => {
|
|
2273
|
-
return se_ResourceTag(entry, context);
|
|
2274
|
-
});
|
|
2275
|
-
};
|
|
2276
|
-
const se_ResourceTypeList = (input, context) => {
|
|
2277
|
-
return input
|
|
2278
|
-
.filter((e) => e != null)
|
|
2279
|
-
.map((entry) => {
|
|
2280
|
-
return entry;
|
|
2281
|
-
});
|
|
2282
|
-
};
|
|
2283
|
-
const se_SecurityServicePolicyData = (input, context) => {
|
|
2284
|
-
return {
|
|
2285
|
-
...(input.ManagedServiceData != null && { ManagedServiceData: input.ManagedServiceData }),
|
|
2286
|
-
...(input.PolicyOption != null && { PolicyOption: se_PolicyOption(input.PolicyOption, context) }),
|
|
2287
|
-
...(input.Type != null && { Type: input.Type }),
|
|
2288
|
-
};
|
|
2289
|
-
};
|
|
2290
|
-
const se_Tag = (input, context) => {
|
|
2291
|
-
return {
|
|
2292
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2293
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2294
|
-
};
|
|
2295
|
-
};
|
|
2296
|
-
const se_TagKeyList = (input, context) => {
|
|
2297
|
-
return input
|
|
2298
|
-
.filter((e) => e != null)
|
|
2299
|
-
.map((entry) => {
|
|
2300
|
-
return entry;
|
|
2301
|
-
});
|
|
2302
|
-
};
|
|
2303
|
-
const se_TagList = (input, context) => {
|
|
2304
|
-
return input
|
|
2305
|
-
.filter((e) => e != null)
|
|
2306
|
-
.map((entry) => {
|
|
2307
|
-
return se_Tag(entry, context);
|
|
2308
|
-
});
|
|
2309
|
-
};
|
|
2310
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2311
|
-
return {
|
|
2312
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2313
|
-
...(input.TagList != null && { TagList: se_TagList(input.TagList, context) }),
|
|
2314
|
-
};
|
|
2315
|
-
};
|
|
2316
|
-
const se_ThirdPartyFirewallPolicy = (input, context) => {
|
|
2317
|
-
return {
|
|
2318
|
-
...(input.FirewallDeploymentModel != null && { FirewallDeploymentModel: input.FirewallDeploymentModel }),
|
|
2319
|
-
};
|
|
2320
|
-
};
|
|
2321
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2322
|
-
return {
|
|
2323
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2324
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2325
|
-
};
|
|
2326
|
-
};
|
|
2327
|
-
const de_ActionTarget = (output, context) => {
|
|
2328
|
-
return {
|
|
2329
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2330
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
2331
|
-
};
|
|
2332
|
-
};
|
|
2333
|
-
const de_App = (output, context) => {
|
|
2334
|
-
return {
|
|
2335
|
-
AppName: (0, smithy_client_1.expectString)(output.AppName),
|
|
2336
|
-
Port: (0, smithy_client_1.expectLong)(output.Port),
|
|
2337
|
-
Protocol: (0, smithy_client_1.expectString)(output.Protocol),
|
|
2338
|
-
};
|
|
2339
|
-
};
|
|
2340
|
-
const de_AppsList = (output, context) => {
|
|
2341
|
-
const retVal = (output || [])
|
|
2342
|
-
.filter((e) => e != null)
|
|
2343
|
-
.map((entry) => {
|
|
2344
|
-
if (entry === null) {
|
|
2345
|
-
return null;
|
|
2346
|
-
}
|
|
2347
|
-
return de_App(entry, context);
|
|
2348
|
-
});
|
|
2349
|
-
return retVal;
|
|
2350
|
-
};
|
|
2351
|
-
const de_AppsListData = (output, context) => {
|
|
2352
|
-
return {
|
|
2353
|
-
AppsList: output.AppsList != null ? de_AppsList(output.AppsList, context) : undefined,
|
|
2354
|
-
CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime))) : undefined,
|
|
2355
|
-
LastUpdateTime: output.LastUpdateTime != null
|
|
2356
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
|
|
2357
|
-
: undefined,
|
|
2358
|
-
ListId: (0, smithy_client_1.expectString)(output.ListId),
|
|
2359
|
-
ListName: (0, smithy_client_1.expectString)(output.ListName),
|
|
2360
|
-
ListUpdateToken: (0, smithy_client_1.expectString)(output.ListUpdateToken),
|
|
2361
|
-
PreviousAppsList: output.PreviousAppsList != null ? de_PreviousAppsList(output.PreviousAppsList, context) : undefined,
|
|
2362
|
-
};
|
|
2363
|
-
};
|
|
2364
|
-
const de_AppsListDataSummary = (output, context) => {
|
|
2365
|
-
return {
|
|
2366
|
-
AppsList: output.AppsList != null ? de_AppsList(output.AppsList, context) : undefined,
|
|
2367
|
-
ListArn: (0, smithy_client_1.expectString)(output.ListArn),
|
|
2368
|
-
ListId: (0, smithy_client_1.expectString)(output.ListId),
|
|
2369
|
-
ListName: (0, smithy_client_1.expectString)(output.ListName),
|
|
2370
|
-
};
|
|
2371
|
-
};
|
|
2372
|
-
const de_AppsListsData = (output, context) => {
|
|
2373
|
-
const retVal = (output || [])
|
|
2374
|
-
.filter((e) => e != null)
|
|
2375
|
-
.map((entry) => {
|
|
2376
|
-
if (entry === null) {
|
|
2377
|
-
return null;
|
|
2378
|
-
}
|
|
2379
|
-
return de_AppsListDataSummary(entry, context);
|
|
2380
|
-
});
|
|
2381
|
-
return retVal;
|
|
2382
|
-
};
|
|
2383
|
-
const de_AssociateThirdPartyFirewallResponse = (output, context) => {
|
|
2384
|
-
return {
|
|
2385
|
-
ThirdPartyFirewallStatus: (0, smithy_client_1.expectString)(output.ThirdPartyFirewallStatus),
|
|
2386
|
-
};
|
|
2387
|
-
};
|
|
2388
|
-
const de_AwsEc2InstanceViolation = (output, context) => {
|
|
2389
|
-
return {
|
|
2390
|
-
AwsEc2NetworkInterfaceViolations: output.AwsEc2NetworkInterfaceViolations != null
|
|
2391
|
-
? de_AwsEc2NetworkInterfaceViolations(output.AwsEc2NetworkInterfaceViolations, context)
|
|
2392
|
-
: undefined,
|
|
2393
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2394
|
-
};
|
|
2395
|
-
};
|
|
2396
|
-
const de_AwsEc2NetworkInterfaceViolation = (output, context) => {
|
|
2397
|
-
return {
|
|
2398
|
-
ViolatingSecurityGroups: output.ViolatingSecurityGroups != null ? de_ResourceIdList(output.ViolatingSecurityGroups, context) : undefined,
|
|
2399
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2400
|
-
};
|
|
2401
|
-
};
|
|
2402
|
-
const de_AwsEc2NetworkInterfaceViolations = (output, context) => {
|
|
2403
|
-
const retVal = (output || [])
|
|
2404
|
-
.filter((e) => e != null)
|
|
2405
|
-
.map((entry) => {
|
|
2406
|
-
if (entry === null) {
|
|
2407
|
-
return null;
|
|
2408
|
-
}
|
|
2409
|
-
return de_AwsEc2NetworkInterfaceViolation(entry, context);
|
|
2410
|
-
});
|
|
2411
|
-
return retVal;
|
|
2412
|
-
};
|
|
2413
|
-
const de_AwsVPCSecurityGroupViolation = (output, context) => {
|
|
2414
|
-
return {
|
|
2415
|
-
PartialMatches: output.PartialMatches != null ? de_PartialMatches(output.PartialMatches, context) : undefined,
|
|
2416
|
-
PossibleSecurityGroupRemediationActions: output.PossibleSecurityGroupRemediationActions != null
|
|
2417
|
-
? de_SecurityGroupRemediationActions(output.PossibleSecurityGroupRemediationActions, context)
|
|
2418
|
-
: undefined,
|
|
2419
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2420
|
-
ViolationTargetDescription: (0, smithy_client_1.expectString)(output.ViolationTargetDescription),
|
|
2421
|
-
};
|
|
2422
|
-
};
|
|
2423
|
-
const de_BatchAssociateResourceResponse = (output, context) => {
|
|
2424
|
-
return {
|
|
2425
|
-
FailedItems: output.FailedItems != null ? de_FailedItemList(output.FailedItems, context) : undefined,
|
|
2426
|
-
ResourceSetIdentifier: (0, smithy_client_1.expectString)(output.ResourceSetIdentifier),
|
|
2427
|
-
};
|
|
2428
|
-
};
|
|
2429
|
-
const de_BatchDisassociateResourceResponse = (output, context) => {
|
|
2430
|
-
return {
|
|
2431
|
-
FailedItems: output.FailedItems != null ? de_FailedItemList(output.FailedItems, context) : undefined,
|
|
2432
|
-
ResourceSetIdentifier: (0, smithy_client_1.expectString)(output.ResourceSetIdentifier),
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
const de_ComplianceViolator = (output, context) => {
|
|
2436
|
-
return {
|
|
2437
|
-
Metadata: output.Metadata != null ? de_ComplianceViolatorMetadata(output.Metadata, context) : undefined,
|
|
2438
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
2439
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
2440
|
-
ViolationReason: (0, smithy_client_1.expectString)(output.ViolationReason),
|
|
2441
|
-
};
|
|
2442
|
-
};
|
|
2443
|
-
const de_ComplianceViolatorMetadata = (output, context) => {
|
|
2444
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2445
|
-
if (value === null) {
|
|
2446
|
-
return acc;
|
|
2447
|
-
}
|
|
2448
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2449
|
-
return acc;
|
|
2450
|
-
}, {});
|
|
2451
|
-
};
|
|
2452
|
-
const de_ComplianceViolators = (output, context) => {
|
|
2453
|
-
const retVal = (output || [])
|
|
2454
|
-
.filter((e) => e != null)
|
|
2455
|
-
.map((entry) => {
|
|
2456
|
-
if (entry === null) {
|
|
2457
|
-
return null;
|
|
2458
|
-
}
|
|
2459
|
-
return de_ComplianceViolator(entry, context);
|
|
2460
|
-
});
|
|
2461
|
-
return retVal;
|
|
2462
|
-
};
|
|
2463
|
-
const de_CustomerPolicyScopeIdList = (output, context) => {
|
|
2464
|
-
const retVal = (output || [])
|
|
2465
|
-
.filter((e) => e != null)
|
|
2466
|
-
.map((entry) => {
|
|
2467
|
-
if (entry === null) {
|
|
2468
|
-
return null;
|
|
2469
|
-
}
|
|
2470
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2471
|
-
});
|
|
2472
|
-
return retVal;
|
|
2473
|
-
};
|
|
2474
|
-
const de_CustomerPolicyScopeMap = (output, context) => {
|
|
2475
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2476
|
-
if (value === null) {
|
|
2477
|
-
return acc;
|
|
2478
|
-
}
|
|
2479
|
-
acc[key] = de_CustomerPolicyScopeIdList(value, context);
|
|
2480
|
-
return acc;
|
|
2481
|
-
}, {});
|
|
2482
|
-
};
|
|
2483
|
-
const de_DisassociateThirdPartyFirewallResponse = (output, context) => {
|
|
2484
|
-
return {
|
|
2485
|
-
ThirdPartyFirewallStatus: (0, smithy_client_1.expectString)(output.ThirdPartyFirewallStatus),
|
|
2486
|
-
};
|
|
2487
|
-
};
|
|
2488
|
-
const de_DiscoveredResource = (output, context) => {
|
|
2489
|
-
return {
|
|
2490
|
-
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2491
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2492
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2493
|
-
URI: (0, smithy_client_1.expectString)(output.URI),
|
|
2494
|
-
};
|
|
2495
|
-
};
|
|
2496
|
-
const de_DiscoveredResourceList = (output, context) => {
|
|
2497
|
-
const retVal = (output || [])
|
|
2498
|
-
.filter((e) => e != null)
|
|
2499
|
-
.map((entry) => {
|
|
2500
|
-
if (entry === null) {
|
|
2501
|
-
return null;
|
|
2502
|
-
}
|
|
2503
|
-
return de_DiscoveredResource(entry, context);
|
|
2504
|
-
});
|
|
2505
|
-
return retVal;
|
|
2506
|
-
};
|
|
2507
|
-
const de_DnsDuplicateRuleGroupViolation = (output, context) => {
|
|
2508
|
-
return {
|
|
2509
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2510
|
-
ViolationTargetDescription: (0, smithy_client_1.expectString)(output.ViolationTargetDescription),
|
|
2511
|
-
};
|
|
2512
|
-
};
|
|
2513
|
-
const de_DnsRuleGroupLimitExceededViolation = (output, context) => {
|
|
2514
|
-
return {
|
|
2515
|
-
NumberOfRuleGroupsAlreadyAssociated: (0, smithy_client_1.expectInt32)(output.NumberOfRuleGroupsAlreadyAssociated),
|
|
2516
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2517
|
-
ViolationTargetDescription: (0, smithy_client_1.expectString)(output.ViolationTargetDescription),
|
|
2518
|
-
};
|
|
2519
|
-
};
|
|
2520
|
-
const de_DnsRuleGroupPriorities = (output, context) => {
|
|
2521
|
-
const retVal = (output || [])
|
|
2522
|
-
.filter((e) => e != null)
|
|
2523
|
-
.map((entry) => {
|
|
2524
|
-
if (entry === null) {
|
|
2525
|
-
return null;
|
|
2526
|
-
}
|
|
2527
|
-
return (0, smithy_client_1.expectInt32)(entry);
|
|
2528
|
-
});
|
|
2529
|
-
return retVal;
|
|
2530
|
-
};
|
|
2531
|
-
const de_DnsRuleGroupPriorityConflictViolation = (output, context) => {
|
|
2532
|
-
return {
|
|
2533
|
-
ConflictingPolicyId: (0, smithy_client_1.expectString)(output.ConflictingPolicyId),
|
|
2534
|
-
ConflictingPriority: (0, smithy_client_1.expectInt32)(output.ConflictingPriority),
|
|
2535
|
-
UnavailablePriorities: output.UnavailablePriorities != null
|
|
2536
|
-
? de_DnsRuleGroupPriorities(output.UnavailablePriorities, context)
|
|
2537
|
-
: undefined,
|
|
2538
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2539
|
-
ViolationTargetDescription: (0, smithy_client_1.expectString)(output.ViolationTargetDescription),
|
|
2540
|
-
};
|
|
2541
|
-
};
|
|
2542
|
-
const de_EC2AssociateRouteTableAction = (output, context) => {
|
|
2543
|
-
return {
|
|
2544
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2545
|
-
GatewayId: output.GatewayId != null ? de_ActionTarget(output.GatewayId, context) : undefined,
|
|
2546
|
-
RouteTableId: output.RouteTableId != null ? de_ActionTarget(output.RouteTableId, context) : undefined,
|
|
2547
|
-
SubnetId: output.SubnetId != null ? de_ActionTarget(output.SubnetId, context) : undefined,
|
|
2548
|
-
};
|
|
2549
|
-
};
|
|
2550
|
-
const de_EC2CopyRouteTableAction = (output, context) => {
|
|
2551
|
-
return {
|
|
2552
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2553
|
-
RouteTableId: output.RouteTableId != null ? de_ActionTarget(output.RouteTableId, context) : undefined,
|
|
2554
|
-
VpcId: output.VpcId != null ? de_ActionTarget(output.VpcId, context) : undefined,
|
|
2555
|
-
};
|
|
2556
|
-
};
|
|
2557
|
-
const de_EC2CreateRouteAction = (output, context) => {
|
|
2558
|
-
return {
|
|
2559
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2560
|
-
DestinationCidrBlock: (0, smithy_client_1.expectString)(output.DestinationCidrBlock),
|
|
2561
|
-
DestinationIpv6CidrBlock: (0, smithy_client_1.expectString)(output.DestinationIpv6CidrBlock),
|
|
2562
|
-
DestinationPrefixListId: (0, smithy_client_1.expectString)(output.DestinationPrefixListId),
|
|
2563
|
-
GatewayId: output.GatewayId != null ? de_ActionTarget(output.GatewayId, context) : undefined,
|
|
2564
|
-
RouteTableId: output.RouteTableId != null ? de_ActionTarget(output.RouteTableId, context) : undefined,
|
|
2565
|
-
VpcEndpointId: output.VpcEndpointId != null ? de_ActionTarget(output.VpcEndpointId, context) : undefined,
|
|
2566
|
-
};
|
|
2567
|
-
};
|
|
2568
|
-
const de_EC2CreateRouteTableAction = (output, context) => {
|
|
2569
|
-
return {
|
|
2570
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2571
|
-
VpcId: output.VpcId != null ? de_ActionTarget(output.VpcId, context) : undefined,
|
|
2572
|
-
};
|
|
2573
|
-
};
|
|
2574
|
-
const de_EC2DeleteRouteAction = (output, context) => {
|
|
2575
|
-
return {
|
|
2576
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2577
|
-
DestinationCidrBlock: (0, smithy_client_1.expectString)(output.DestinationCidrBlock),
|
|
2578
|
-
DestinationIpv6CidrBlock: (0, smithy_client_1.expectString)(output.DestinationIpv6CidrBlock),
|
|
2579
|
-
DestinationPrefixListId: (0, smithy_client_1.expectString)(output.DestinationPrefixListId),
|
|
2580
|
-
RouteTableId: output.RouteTableId != null ? de_ActionTarget(output.RouteTableId, context) : undefined,
|
|
2581
|
-
};
|
|
2582
|
-
};
|
|
2583
|
-
const de_EC2ReplaceRouteAction = (output, context) => {
|
|
2584
|
-
return {
|
|
2585
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2586
|
-
DestinationCidrBlock: (0, smithy_client_1.expectString)(output.DestinationCidrBlock),
|
|
2587
|
-
DestinationIpv6CidrBlock: (0, smithy_client_1.expectString)(output.DestinationIpv6CidrBlock),
|
|
2588
|
-
DestinationPrefixListId: (0, smithy_client_1.expectString)(output.DestinationPrefixListId),
|
|
2589
|
-
GatewayId: output.GatewayId != null ? de_ActionTarget(output.GatewayId, context) : undefined,
|
|
2590
|
-
RouteTableId: output.RouteTableId != null ? de_ActionTarget(output.RouteTableId, context) : undefined,
|
|
2591
|
-
};
|
|
2592
|
-
};
|
|
2593
|
-
const de_EC2ReplaceRouteTableAssociationAction = (output, context) => {
|
|
2594
|
-
return {
|
|
2595
|
-
AssociationId: output.AssociationId != null ? de_ActionTarget(output.AssociationId, context) : undefined,
|
|
2596
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2597
|
-
RouteTableId: output.RouteTableId != null ? de_ActionTarget(output.RouteTableId, context) : undefined,
|
|
2598
|
-
};
|
|
2599
|
-
};
|
|
2600
|
-
const de_EvaluationResult = (output, context) => {
|
|
2601
|
-
return {
|
|
2602
|
-
ComplianceStatus: (0, smithy_client_1.expectString)(output.ComplianceStatus),
|
|
2603
|
-
EvaluationLimitExceeded: (0, smithy_client_1.expectBoolean)(output.EvaluationLimitExceeded),
|
|
2604
|
-
ViolatorCount: (0, smithy_client_1.expectLong)(output.ViolatorCount),
|
|
2605
|
-
};
|
|
2606
|
-
};
|
|
2607
|
-
const de_EvaluationResults = (output, context) => {
|
|
2608
|
-
const retVal = (output || [])
|
|
2609
|
-
.filter((e) => e != null)
|
|
2610
|
-
.map((entry) => {
|
|
2611
|
-
if (entry === null) {
|
|
2612
|
-
return null;
|
|
2613
|
-
}
|
|
2614
|
-
return de_EvaluationResult(entry, context);
|
|
2615
|
-
});
|
|
2616
|
-
return retVal;
|
|
2617
|
-
};
|
|
2618
|
-
const de_ExpectedRoute = (output, context) => {
|
|
2619
|
-
return {
|
|
2620
|
-
AllowedTargets: output.AllowedTargets != null ? de_LengthBoundedStringList(output.AllowedTargets, context) : undefined,
|
|
2621
|
-
ContributingSubnets: output.ContributingSubnets != null ? de_ResourceIdList(output.ContributingSubnets, context) : undefined,
|
|
2622
|
-
IpV4Cidr: (0, smithy_client_1.expectString)(output.IpV4Cidr),
|
|
2623
|
-
IpV6Cidr: (0, smithy_client_1.expectString)(output.IpV6Cidr),
|
|
2624
|
-
PrefixListId: (0, smithy_client_1.expectString)(output.PrefixListId),
|
|
2625
|
-
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
2626
|
-
};
|
|
2627
|
-
};
|
|
2628
|
-
const de_ExpectedRoutes = (output, context) => {
|
|
2629
|
-
const retVal = (output || [])
|
|
2630
|
-
.filter((e) => e != null)
|
|
2631
|
-
.map((entry) => {
|
|
2632
|
-
if (entry === null) {
|
|
2633
|
-
return null;
|
|
2634
|
-
}
|
|
2635
|
-
return de_ExpectedRoute(entry, context);
|
|
2636
|
-
});
|
|
2637
|
-
return retVal;
|
|
2638
|
-
};
|
|
2639
|
-
const de_FailedItem = (output, context) => {
|
|
2640
|
-
return {
|
|
2641
|
-
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
2642
|
-
URI: (0, smithy_client_1.expectString)(output.URI),
|
|
2643
|
-
};
|
|
2644
|
-
};
|
|
2645
|
-
const de_FailedItemList = (output, context) => {
|
|
2646
|
-
const retVal = (output || [])
|
|
2647
|
-
.filter((e) => e != null)
|
|
2648
|
-
.map((entry) => {
|
|
2649
|
-
if (entry === null) {
|
|
2650
|
-
return null;
|
|
2651
|
-
}
|
|
2652
|
-
return de_FailedItem(entry, context);
|
|
2653
|
-
});
|
|
2654
|
-
return retVal;
|
|
2655
|
-
};
|
|
2656
|
-
const de_FirewallSubnetIsOutOfScopeViolation = (output, context) => {
|
|
2657
|
-
return {
|
|
2658
|
-
FirewallSubnetId: (0, smithy_client_1.expectString)(output.FirewallSubnetId),
|
|
2659
|
-
SubnetAvailabilityZone: (0, smithy_client_1.expectString)(output.SubnetAvailabilityZone),
|
|
2660
|
-
SubnetAvailabilityZoneId: (0, smithy_client_1.expectString)(output.SubnetAvailabilityZoneId),
|
|
2661
|
-
VpcEndpointId: (0, smithy_client_1.expectString)(output.VpcEndpointId),
|
|
2662
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2663
|
-
};
|
|
2664
|
-
};
|
|
2665
|
-
const de_FirewallSubnetMissingVPCEndpointViolation = (output, context) => {
|
|
2666
|
-
return {
|
|
2667
|
-
FirewallSubnetId: (0, smithy_client_1.expectString)(output.FirewallSubnetId),
|
|
2668
|
-
SubnetAvailabilityZone: (0, smithy_client_1.expectString)(output.SubnetAvailabilityZone),
|
|
2669
|
-
SubnetAvailabilityZoneId: (0, smithy_client_1.expectString)(output.SubnetAvailabilityZoneId),
|
|
2670
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2671
|
-
};
|
|
2672
|
-
};
|
|
2673
|
-
const de_FMSPolicyUpdateFirewallCreationConfigAction = (output, context) => {
|
|
2674
|
-
return {
|
|
2675
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2676
|
-
FirewallCreationConfig: (0, smithy_client_1.expectString)(output.FirewallCreationConfig),
|
|
2677
|
-
};
|
|
2678
|
-
};
|
|
2679
|
-
const de_GetAdminAccountResponse = (output, context) => {
|
|
2680
|
-
return {
|
|
2681
|
-
AdminAccount: (0, smithy_client_1.expectString)(output.AdminAccount),
|
|
2682
|
-
RoleStatus: (0, smithy_client_1.expectString)(output.RoleStatus),
|
|
2683
|
-
};
|
|
2684
|
-
};
|
|
2685
|
-
const de_GetAppsListResponse = (output, context) => {
|
|
2686
|
-
return {
|
|
2687
|
-
AppsList: output.AppsList != null ? de_AppsListData(output.AppsList, context) : undefined,
|
|
2688
|
-
AppsListArn: (0, smithy_client_1.expectString)(output.AppsListArn),
|
|
2689
|
-
};
|
|
2690
|
-
};
|
|
2691
|
-
const de_GetComplianceDetailResponse = (output, context) => {
|
|
2692
|
-
return {
|
|
2693
|
-
PolicyComplianceDetail: output.PolicyComplianceDetail != null
|
|
2694
|
-
? de_PolicyComplianceDetail(output.PolicyComplianceDetail, context)
|
|
2695
|
-
: undefined,
|
|
2696
|
-
};
|
|
2697
|
-
};
|
|
2698
|
-
const de_GetNotificationChannelResponse = (output, context) => {
|
|
2699
|
-
return {
|
|
2700
|
-
SnsRoleName: (0, smithy_client_1.expectString)(output.SnsRoleName),
|
|
2701
|
-
SnsTopicArn: (0, smithy_client_1.expectString)(output.SnsTopicArn),
|
|
2702
|
-
};
|
|
2703
|
-
};
|
|
2704
|
-
const de_GetPolicyResponse = (output, context) => {
|
|
2705
|
-
return {
|
|
2706
|
-
Policy: output.Policy != null ? de_Policy(output.Policy, context) : undefined,
|
|
2707
|
-
PolicyArn: (0, smithy_client_1.expectString)(output.PolicyArn),
|
|
2708
|
-
};
|
|
2709
|
-
};
|
|
2710
|
-
const de_GetProtectionStatusResponse = (output, context) => {
|
|
2711
|
-
return {
|
|
2712
|
-
AdminAccountId: (0, smithy_client_1.expectString)(output.AdminAccountId),
|
|
2713
|
-
Data: (0, smithy_client_1.expectString)(output.Data),
|
|
2714
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2715
|
-
ServiceType: (0, smithy_client_1.expectString)(output.ServiceType),
|
|
2716
|
-
};
|
|
2717
|
-
};
|
|
2718
|
-
const de_GetProtocolsListResponse = (output, context) => {
|
|
2719
|
-
return {
|
|
2720
|
-
ProtocolsList: output.ProtocolsList != null ? de_ProtocolsListData(output.ProtocolsList, context) : undefined,
|
|
2721
|
-
ProtocolsListArn: (0, smithy_client_1.expectString)(output.ProtocolsListArn),
|
|
2722
|
-
};
|
|
2723
|
-
};
|
|
2724
|
-
const de_GetResourceSetResponse = (output, context) => {
|
|
2725
|
-
return {
|
|
2726
|
-
ResourceSet: output.ResourceSet != null ? de_ResourceSet(output.ResourceSet, context) : undefined,
|
|
2727
|
-
ResourceSetArn: (0, smithy_client_1.expectString)(output.ResourceSetArn),
|
|
2728
|
-
};
|
|
2729
|
-
};
|
|
2730
|
-
const de_GetThirdPartyFirewallAssociationStatusResponse = (output, context) => {
|
|
2731
|
-
return {
|
|
2732
|
-
MarketplaceOnboardingStatus: (0, smithy_client_1.expectString)(output.MarketplaceOnboardingStatus),
|
|
2733
|
-
ThirdPartyFirewallStatus: (0, smithy_client_1.expectString)(output.ThirdPartyFirewallStatus),
|
|
2734
|
-
};
|
|
2735
|
-
};
|
|
2736
|
-
const de_GetViolationDetailsResponse = (output, context) => {
|
|
2737
|
-
return {
|
|
2738
|
-
ViolationDetail: output.ViolationDetail != null ? de_ViolationDetail(output.ViolationDetail, context) : undefined,
|
|
2739
|
-
};
|
|
2740
|
-
};
|
|
2741
|
-
const de_InternalErrorException = (output, context) => {
|
|
2742
|
-
return {
|
|
2743
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2744
|
-
};
|
|
2745
|
-
};
|
|
2746
|
-
const de_InvalidInputException = (output, context) => {
|
|
2747
|
-
return {
|
|
2748
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2749
|
-
};
|
|
2750
|
-
};
|
|
2751
|
-
const de_InvalidOperationException = (output, context) => {
|
|
2752
|
-
return {
|
|
2753
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2754
|
-
};
|
|
2755
|
-
};
|
|
2756
|
-
const de_InvalidTypeException = (output, context) => {
|
|
2757
|
-
return {
|
|
2758
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2759
|
-
};
|
|
2760
|
-
};
|
|
2761
|
-
const de_IssueInfoMap = (output, context) => {
|
|
2762
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2763
|
-
if (value === null) {
|
|
2764
|
-
return acc;
|
|
2765
|
-
}
|
|
2766
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
2767
|
-
return acc;
|
|
2768
|
-
}, {});
|
|
2769
|
-
};
|
|
2770
|
-
const de_LengthBoundedStringList = (output, context) => {
|
|
2771
|
-
const retVal = (output || [])
|
|
2772
|
-
.filter((e) => e != null)
|
|
2773
|
-
.map((entry) => {
|
|
2774
|
-
if (entry === null) {
|
|
2775
|
-
return null;
|
|
2776
|
-
}
|
|
2777
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2778
|
-
});
|
|
2779
|
-
return retVal;
|
|
2780
|
-
};
|
|
2781
|
-
const de_LimitExceededException = (output, context) => {
|
|
2782
|
-
return {
|
|
2783
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2784
|
-
};
|
|
2785
|
-
};
|
|
2786
|
-
const de_ListAppsListsResponse = (output, context) => {
|
|
2787
|
-
return {
|
|
2788
|
-
AppsLists: output.AppsLists != null ? de_AppsListsData(output.AppsLists, context) : undefined,
|
|
2789
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2790
|
-
};
|
|
2791
|
-
};
|
|
2792
|
-
const de_ListComplianceStatusResponse = (output, context) => {
|
|
2793
|
-
return {
|
|
2794
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2795
|
-
PolicyComplianceStatusList: output.PolicyComplianceStatusList != null
|
|
2796
|
-
? de_PolicyComplianceStatusList(output.PolicyComplianceStatusList, context)
|
|
2797
|
-
: undefined,
|
|
2798
|
-
};
|
|
2799
|
-
};
|
|
2800
|
-
const de_ListDiscoveredResourcesResponse = (output, context) => {
|
|
2801
|
-
return {
|
|
2802
|
-
Items: output.Items != null ? de_DiscoveredResourceList(output.Items, context) : undefined,
|
|
2803
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2804
|
-
};
|
|
2805
|
-
};
|
|
2806
|
-
const de_ListMemberAccountsResponse = (output, context) => {
|
|
2807
|
-
return {
|
|
2808
|
-
MemberAccounts: output.MemberAccounts != null ? de_MemberAccounts(output.MemberAccounts, context) : undefined,
|
|
2809
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2810
|
-
};
|
|
2811
|
-
};
|
|
2812
|
-
const de_ListPoliciesResponse = (output, context) => {
|
|
2813
|
-
return {
|
|
2814
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2815
|
-
PolicyList: output.PolicyList != null ? de_PolicySummaryList(output.PolicyList, context) : undefined,
|
|
2816
|
-
};
|
|
2817
|
-
};
|
|
2818
|
-
const de_ListProtocolsListsResponse = (output, context) => {
|
|
2819
|
-
return {
|
|
2820
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2821
|
-
ProtocolsLists: output.ProtocolsLists != null ? de_ProtocolsListsData(output.ProtocolsLists, context) : undefined,
|
|
2822
|
-
};
|
|
2823
|
-
};
|
|
2824
|
-
const de_ListResourceSetResourcesResponse = (output, context) => {
|
|
2825
|
-
return {
|
|
2826
|
-
Items: output.Items != null ? de_ResourceList(output.Items, context) : undefined,
|
|
2827
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2828
|
-
};
|
|
2829
|
-
};
|
|
2830
|
-
const de_ListResourceSetsResponse = (output, context) => {
|
|
2831
|
-
return {
|
|
2832
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2833
|
-
ResourceSets: output.ResourceSets != null ? de_ResourceSetSummaryList(output.ResourceSets, context) : undefined,
|
|
2834
|
-
};
|
|
2835
|
-
};
|
|
2836
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2837
|
-
return {
|
|
2838
|
-
TagList: output.TagList != null ? de_TagList(output.TagList, context) : undefined,
|
|
2839
|
-
};
|
|
2840
|
-
};
|
|
2841
|
-
const de_ListThirdPartyFirewallFirewallPoliciesResponse = (output, context) => {
|
|
2842
|
-
return {
|
|
2843
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2844
|
-
ThirdPartyFirewallFirewallPolicies: output.ThirdPartyFirewallFirewallPolicies != null
|
|
2845
|
-
? de_ThirdPartyFirewallFirewallPolicies(output.ThirdPartyFirewallFirewallPolicies, context)
|
|
2846
|
-
: undefined,
|
|
2847
|
-
};
|
|
2848
|
-
};
|
|
2849
|
-
const de_MemberAccounts = (output, context) => {
|
|
2850
|
-
const retVal = (output || [])
|
|
2851
|
-
.filter((e) => e != null)
|
|
2852
|
-
.map((entry) => {
|
|
2853
|
-
if (entry === null) {
|
|
2854
|
-
return null;
|
|
2855
|
-
}
|
|
2856
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2857
|
-
});
|
|
2858
|
-
return retVal;
|
|
2859
|
-
};
|
|
2860
|
-
const de_NetworkFirewallActionList = (output, context) => {
|
|
2861
|
-
const retVal = (output || [])
|
|
2862
|
-
.filter((e) => e != null)
|
|
2863
|
-
.map((entry) => {
|
|
2864
|
-
if (entry === null) {
|
|
2865
|
-
return null;
|
|
2866
|
-
}
|
|
2867
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2868
|
-
});
|
|
2869
|
-
return retVal;
|
|
2870
|
-
};
|
|
2871
|
-
const de_NetworkFirewallBlackHoleRouteDetectedViolation = (output, context) => {
|
|
2872
|
-
return {
|
|
2873
|
-
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
2874
|
-
ViolatingRoutes: output.ViolatingRoutes != null ? de_Routes(output.ViolatingRoutes, context) : undefined,
|
|
2875
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2876
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2877
|
-
};
|
|
2878
|
-
};
|
|
2879
|
-
const de_NetworkFirewallInternetTrafficNotInspectedViolation = (output, context) => {
|
|
2880
|
-
return {
|
|
2881
|
-
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes != null ? de_Routes(output.ActualFirewallSubnetRoutes, context) : undefined,
|
|
2882
|
-
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes != null ? de_Routes(output.ActualInternetGatewayRoutes, context) : undefined,
|
|
2883
|
-
CurrentFirewallSubnetRouteTable: (0, smithy_client_1.expectString)(output.CurrentFirewallSubnetRouteTable),
|
|
2884
|
-
CurrentInternetGatewayRouteTable: (0, smithy_client_1.expectString)(output.CurrentInternetGatewayRouteTable),
|
|
2885
|
-
ExpectedFirewallEndpoint: (0, smithy_client_1.expectString)(output.ExpectedFirewallEndpoint),
|
|
2886
|
-
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes != null
|
|
2887
|
-
? de_ExpectedRoutes(output.ExpectedFirewallSubnetRoutes, context)
|
|
2888
|
-
: undefined,
|
|
2889
|
-
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes != null
|
|
2890
|
-
? de_ExpectedRoutes(output.ExpectedInternetGatewayRoutes, context)
|
|
2891
|
-
: undefined,
|
|
2892
|
-
FirewallSubnetId: (0, smithy_client_1.expectString)(output.FirewallSubnetId),
|
|
2893
|
-
InternetGatewayId: (0, smithy_client_1.expectString)(output.InternetGatewayId),
|
|
2894
|
-
IsRouteTableUsedInDifferentAZ: (0, smithy_client_1.expectBoolean)(output.IsRouteTableUsedInDifferentAZ),
|
|
2895
|
-
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
2896
|
-
SubnetAvailabilityZone: (0, smithy_client_1.expectString)(output.SubnetAvailabilityZone),
|
|
2897
|
-
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
2898
|
-
ViolatingRoutes: output.ViolatingRoutes != null ? de_Routes(output.ViolatingRoutes, context) : undefined,
|
|
2899
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2900
|
-
};
|
|
2901
|
-
};
|
|
2902
|
-
const de_NetworkFirewallInvalidRouteConfigurationViolation = (output, context) => {
|
|
2903
|
-
return {
|
|
2904
|
-
ActualFirewallEndpoint: (0, smithy_client_1.expectString)(output.ActualFirewallEndpoint),
|
|
2905
|
-
ActualFirewallSubnetId: (0, smithy_client_1.expectString)(output.ActualFirewallSubnetId),
|
|
2906
|
-
ActualFirewallSubnetRoutes: output.ActualFirewallSubnetRoutes != null ? de_Routes(output.ActualFirewallSubnetRoutes, context) : undefined,
|
|
2907
|
-
ActualInternetGatewayRoutes: output.ActualInternetGatewayRoutes != null ? de_Routes(output.ActualInternetGatewayRoutes, context) : undefined,
|
|
2908
|
-
AffectedSubnets: output.AffectedSubnets != null ? de_ResourceIdList(output.AffectedSubnets, context) : undefined,
|
|
2909
|
-
CurrentFirewallSubnetRouteTable: (0, smithy_client_1.expectString)(output.CurrentFirewallSubnetRouteTable),
|
|
2910
|
-
CurrentInternetGatewayRouteTable: (0, smithy_client_1.expectString)(output.CurrentInternetGatewayRouteTable),
|
|
2911
|
-
ExpectedFirewallEndpoint: (0, smithy_client_1.expectString)(output.ExpectedFirewallEndpoint),
|
|
2912
|
-
ExpectedFirewallSubnetId: (0, smithy_client_1.expectString)(output.ExpectedFirewallSubnetId),
|
|
2913
|
-
ExpectedFirewallSubnetRoutes: output.ExpectedFirewallSubnetRoutes != null
|
|
2914
|
-
? de_ExpectedRoutes(output.ExpectedFirewallSubnetRoutes, context)
|
|
2915
|
-
: undefined,
|
|
2916
|
-
ExpectedInternetGatewayRoutes: output.ExpectedInternetGatewayRoutes != null
|
|
2917
|
-
? de_ExpectedRoutes(output.ExpectedInternetGatewayRoutes, context)
|
|
2918
|
-
: undefined,
|
|
2919
|
-
InternetGatewayId: (0, smithy_client_1.expectString)(output.InternetGatewayId),
|
|
2920
|
-
IsRouteTableUsedInDifferentAZ: (0, smithy_client_1.expectBoolean)(output.IsRouteTableUsedInDifferentAZ),
|
|
2921
|
-
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
2922
|
-
ViolatingRoute: output.ViolatingRoute != null ? de_Route(output.ViolatingRoute, context) : undefined,
|
|
2923
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2924
|
-
};
|
|
2925
|
-
};
|
|
2926
|
-
const de_NetworkFirewallMissingExpectedRoutesViolation = (output, context) => {
|
|
2927
|
-
return {
|
|
2928
|
-
ExpectedRoutes: output.ExpectedRoutes != null ? de_ExpectedRoutes(output.ExpectedRoutes, context) : undefined,
|
|
2929
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2930
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2931
|
-
};
|
|
2932
|
-
};
|
|
2933
|
-
const de_NetworkFirewallMissingExpectedRTViolation = (output, context) => {
|
|
2934
|
-
return {
|
|
2935
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
2936
|
-
CurrentRouteTable: (0, smithy_client_1.expectString)(output.CurrentRouteTable),
|
|
2937
|
-
ExpectedRouteTable: (0, smithy_client_1.expectString)(output.ExpectedRouteTable),
|
|
2938
|
-
VPC: (0, smithy_client_1.expectString)(output.VPC),
|
|
2939
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2940
|
-
};
|
|
2941
|
-
};
|
|
2942
|
-
const de_NetworkFirewallMissingFirewallViolation = (output, context) => {
|
|
2943
|
-
return {
|
|
2944
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
2945
|
-
TargetViolationReason: (0, smithy_client_1.expectString)(output.TargetViolationReason),
|
|
2946
|
-
VPC: (0, smithy_client_1.expectString)(output.VPC),
|
|
2947
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2948
|
-
};
|
|
2949
|
-
};
|
|
2950
|
-
const de_NetworkFirewallMissingSubnetViolation = (output, context) => {
|
|
2951
|
-
return {
|
|
2952
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
2953
|
-
TargetViolationReason: (0, smithy_client_1.expectString)(output.TargetViolationReason),
|
|
2954
|
-
VPC: (0, smithy_client_1.expectString)(output.VPC),
|
|
2955
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2956
|
-
};
|
|
2957
|
-
};
|
|
2958
|
-
const de_NetworkFirewallPolicy = (output, context) => {
|
|
2959
|
-
return {
|
|
2960
|
-
FirewallDeploymentModel: (0, smithy_client_1.expectString)(output.FirewallDeploymentModel),
|
|
2961
|
-
};
|
|
2962
|
-
};
|
|
2963
|
-
const de_NetworkFirewallPolicyDescription = (output, context) => {
|
|
2964
|
-
return {
|
|
2965
|
-
StatefulDefaultActions: output.StatefulDefaultActions != null
|
|
2966
|
-
? de_NetworkFirewallActionList(output.StatefulDefaultActions, context)
|
|
2967
|
-
: undefined,
|
|
2968
|
-
StatefulEngineOptions: output.StatefulEngineOptions != null
|
|
2969
|
-
? de_StatefulEngineOptions(output.StatefulEngineOptions, context)
|
|
2970
|
-
: undefined,
|
|
2971
|
-
StatefulRuleGroups: output.StatefulRuleGroups != null ? de_StatefulRuleGroupList(output.StatefulRuleGroups, context) : undefined,
|
|
2972
|
-
StatelessCustomActions: output.StatelessCustomActions != null
|
|
2973
|
-
? de_NetworkFirewallActionList(output.StatelessCustomActions, context)
|
|
2974
|
-
: undefined,
|
|
2975
|
-
StatelessDefaultActions: output.StatelessDefaultActions != null
|
|
2976
|
-
? de_NetworkFirewallActionList(output.StatelessDefaultActions, context)
|
|
2977
|
-
: undefined,
|
|
2978
|
-
StatelessFragmentDefaultActions: output.StatelessFragmentDefaultActions != null
|
|
2979
|
-
? de_NetworkFirewallActionList(output.StatelessFragmentDefaultActions, context)
|
|
2980
|
-
: undefined,
|
|
2981
|
-
StatelessRuleGroups: output.StatelessRuleGroups != null ? de_StatelessRuleGroupList(output.StatelessRuleGroups, context) : undefined,
|
|
2982
|
-
};
|
|
2983
|
-
};
|
|
2984
|
-
const de_NetworkFirewallPolicyModifiedViolation = (output, context) => {
|
|
2985
|
-
return {
|
|
2986
|
-
CurrentPolicyDescription: output.CurrentPolicyDescription != null
|
|
2987
|
-
? de_NetworkFirewallPolicyDescription(output.CurrentPolicyDescription, context)
|
|
2988
|
-
: undefined,
|
|
2989
|
-
ExpectedPolicyDescription: output.ExpectedPolicyDescription != null
|
|
2990
|
-
? de_NetworkFirewallPolicyDescription(output.ExpectedPolicyDescription, context)
|
|
2991
|
-
: undefined,
|
|
2992
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
2993
|
-
};
|
|
2994
|
-
};
|
|
2995
|
-
const de_NetworkFirewallStatefulRuleGroupOverride = (output, context) => {
|
|
2996
|
-
return {
|
|
2997
|
-
Action: (0, smithy_client_1.expectString)(output.Action),
|
|
2998
|
-
};
|
|
2999
|
-
};
|
|
3000
|
-
const de_NetworkFirewallUnexpectedFirewallRoutesViolation = (output, context) => {
|
|
3001
|
-
return {
|
|
3002
|
-
FirewallEndpoint: (0, smithy_client_1.expectString)(output.FirewallEndpoint),
|
|
3003
|
-
FirewallSubnetId: (0, smithy_client_1.expectString)(output.FirewallSubnetId),
|
|
3004
|
-
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
3005
|
-
ViolatingRoutes: output.ViolatingRoutes != null ? de_Routes(output.ViolatingRoutes, context) : undefined,
|
|
3006
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
3007
|
-
};
|
|
3008
|
-
};
|
|
3009
|
-
const de_NetworkFirewallUnexpectedGatewayRoutesViolation = (output, context) => {
|
|
3010
|
-
return {
|
|
3011
|
-
GatewayId: (0, smithy_client_1.expectString)(output.GatewayId),
|
|
3012
|
-
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
3013
|
-
ViolatingRoutes: output.ViolatingRoutes != null ? de_Routes(output.ViolatingRoutes, context) : undefined,
|
|
3014
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
3015
|
-
};
|
|
3016
|
-
};
|
|
3017
|
-
const de_OrderedRemediationActions = (output, context) => {
|
|
3018
|
-
const retVal = (output || [])
|
|
3019
|
-
.filter((e) => e != null)
|
|
3020
|
-
.map((entry) => {
|
|
3021
|
-
if (entry === null) {
|
|
3022
|
-
return null;
|
|
3023
|
-
}
|
|
3024
|
-
return de_RemediationActionWithOrder(entry, context);
|
|
1871
|
+
const se_AppsListData = (input, context) => {
|
|
1872
|
+
return (0, smithy_client_1.take)(input, {
|
|
1873
|
+
AppsList: smithy_client_1._json,
|
|
1874
|
+
CreateTime: (_) => Math.round(_.getTime() / 1000),
|
|
1875
|
+
LastUpdateTime: (_) => Math.round(_.getTime() / 1000),
|
|
1876
|
+
ListId: [],
|
|
1877
|
+
ListName: [],
|
|
1878
|
+
ListUpdateToken: [],
|
|
1879
|
+
PreviousAppsList: smithy_client_1._json,
|
|
3025
1880
|
});
|
|
3026
|
-
return retVal;
|
|
3027
1881
|
};
|
|
3028
|
-
const
|
|
3029
|
-
return {
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
const de_PartialMatches = (output, context) => {
|
|
3037
|
-
const retVal = (output || [])
|
|
3038
|
-
.filter((e) => e != null)
|
|
3039
|
-
.map((entry) => {
|
|
3040
|
-
if (entry === null) {
|
|
3041
|
-
return null;
|
|
3042
|
-
}
|
|
3043
|
-
return de_PartialMatch(entry, context);
|
|
1882
|
+
const se_GetProtectionStatusRequest = (input, context) => {
|
|
1883
|
+
return (0, smithy_client_1.take)(input, {
|
|
1884
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1885
|
+
MaxResults: [],
|
|
1886
|
+
MemberAccountId: [],
|
|
1887
|
+
NextToken: [],
|
|
1888
|
+
PolicyId: [],
|
|
1889
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
3044
1890
|
});
|
|
3045
|
-
return retVal;
|
|
3046
|
-
};
|
|
3047
|
-
const de_Policy = (output, context) => {
|
|
3048
|
-
return {
|
|
3049
|
-
DeleteUnusedFMManagedResources: (0, smithy_client_1.expectBoolean)(output.DeleteUnusedFMManagedResources),
|
|
3050
|
-
ExcludeMap: output.ExcludeMap != null ? de_CustomerPolicyScopeMap(output.ExcludeMap, context) : undefined,
|
|
3051
|
-
ExcludeResourceTags: (0, smithy_client_1.expectBoolean)(output.ExcludeResourceTags),
|
|
3052
|
-
IncludeMap: output.IncludeMap != null ? de_CustomerPolicyScopeMap(output.IncludeMap, context) : undefined,
|
|
3053
|
-
PolicyDescription: (0, smithy_client_1.expectString)(output.PolicyDescription),
|
|
3054
|
-
PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
|
|
3055
|
-
PolicyName: (0, smithy_client_1.expectString)(output.PolicyName),
|
|
3056
|
-
PolicyUpdateToken: (0, smithy_client_1.expectString)(output.PolicyUpdateToken),
|
|
3057
|
-
RemediationEnabled: (0, smithy_client_1.expectBoolean)(output.RemediationEnabled),
|
|
3058
|
-
ResourceSetIds: output.ResourceSetIds != null ? de_ResourceSetIds(output.ResourceSetIds, context) : undefined,
|
|
3059
|
-
ResourceTags: output.ResourceTags != null ? de_ResourceTags(output.ResourceTags, context) : undefined,
|
|
3060
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
3061
|
-
ResourceTypeList: output.ResourceTypeList != null ? de_ResourceTypeList(output.ResourceTypeList, context) : undefined,
|
|
3062
|
-
SecurityServicePolicyData: output.SecurityServicePolicyData != null
|
|
3063
|
-
? de_SecurityServicePolicyData(output.SecurityServicePolicyData, context)
|
|
3064
|
-
: undefined,
|
|
3065
|
-
};
|
|
3066
|
-
};
|
|
3067
|
-
const de_PolicyComplianceDetail = (output, context) => {
|
|
3068
|
-
return {
|
|
3069
|
-
EvaluationLimitExceeded: (0, smithy_client_1.expectBoolean)(output.EvaluationLimitExceeded),
|
|
3070
|
-
ExpiredAt: output.ExpiredAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpiredAt))) : undefined,
|
|
3071
|
-
IssueInfoMap: output.IssueInfoMap != null ? de_IssueInfoMap(output.IssueInfoMap, context) : undefined,
|
|
3072
|
-
MemberAccount: (0, smithy_client_1.expectString)(output.MemberAccount),
|
|
3073
|
-
PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
|
|
3074
|
-
PolicyOwner: (0, smithy_client_1.expectString)(output.PolicyOwner),
|
|
3075
|
-
Violators: output.Violators != null ? de_ComplianceViolators(output.Violators, context) : undefined,
|
|
3076
|
-
};
|
|
3077
1891
|
};
|
|
3078
|
-
const
|
|
3079
|
-
return {
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
PolicyName: (0, smithy_client_1.expectString)(output.PolicyName),
|
|
3088
|
-
PolicyOwner: (0, smithy_client_1.expectString)(output.PolicyOwner),
|
|
3089
|
-
};
|
|
3090
|
-
};
|
|
3091
|
-
const de_PolicyComplianceStatusList = (output, context) => {
|
|
3092
|
-
const retVal = (output || [])
|
|
3093
|
-
.filter((e) => e != null)
|
|
3094
|
-
.map((entry) => {
|
|
3095
|
-
if (entry === null) {
|
|
3096
|
-
return null;
|
|
3097
|
-
}
|
|
3098
|
-
return de_PolicyComplianceStatus(entry, context);
|
|
1892
|
+
const se_ProtocolsListData = (input, context) => {
|
|
1893
|
+
return (0, smithy_client_1.take)(input, {
|
|
1894
|
+
CreateTime: (_) => Math.round(_.getTime() / 1000),
|
|
1895
|
+
LastUpdateTime: (_) => Math.round(_.getTime() / 1000),
|
|
1896
|
+
ListId: [],
|
|
1897
|
+
ListName: [],
|
|
1898
|
+
ListUpdateToken: [],
|
|
1899
|
+
PreviousProtocolsList: smithy_client_1._json,
|
|
1900
|
+
ProtocolsList: smithy_client_1._json,
|
|
3099
1901
|
});
|
|
3100
|
-
return retVal;
|
|
3101
|
-
};
|
|
3102
|
-
const de_PolicyOption = (output, context) => {
|
|
3103
|
-
return {
|
|
3104
|
-
NetworkFirewallPolicy: output.NetworkFirewallPolicy != null
|
|
3105
|
-
? de_NetworkFirewallPolicy(output.NetworkFirewallPolicy, context)
|
|
3106
|
-
: undefined,
|
|
3107
|
-
ThirdPartyFirewallPolicy: output.ThirdPartyFirewallPolicy != null
|
|
3108
|
-
? de_ThirdPartyFirewallPolicy(output.ThirdPartyFirewallPolicy, context)
|
|
3109
|
-
: undefined,
|
|
3110
|
-
};
|
|
3111
|
-
};
|
|
3112
|
-
const de_PolicySummary = (output, context) => {
|
|
3113
|
-
return {
|
|
3114
|
-
DeleteUnusedFMManagedResources: (0, smithy_client_1.expectBoolean)(output.DeleteUnusedFMManagedResources),
|
|
3115
|
-
PolicyArn: (0, smithy_client_1.expectString)(output.PolicyArn),
|
|
3116
|
-
PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
|
|
3117
|
-
PolicyName: (0, smithy_client_1.expectString)(output.PolicyName),
|
|
3118
|
-
RemediationEnabled: (0, smithy_client_1.expectBoolean)(output.RemediationEnabled),
|
|
3119
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
3120
|
-
SecurityServiceType: (0, smithy_client_1.expectString)(output.SecurityServiceType),
|
|
3121
|
-
};
|
|
3122
1902
|
};
|
|
3123
|
-
const
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
.
|
|
3127
|
-
if (entry === null) {
|
|
3128
|
-
return null;
|
|
3129
|
-
}
|
|
3130
|
-
return de_PolicySummary(entry, context);
|
|
1903
|
+
const se_PutAppsListRequest = (input, context) => {
|
|
1904
|
+
return (0, smithy_client_1.take)(input, {
|
|
1905
|
+
AppsList: (_) => se_AppsListData(_, context),
|
|
1906
|
+
TagList: smithy_client_1._json,
|
|
3131
1907
|
});
|
|
3132
|
-
return retVal;
|
|
3133
1908
|
};
|
|
3134
|
-
const
|
|
3135
|
-
return {
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
OrderedRemediationActions: output.OrderedRemediationActions != null
|
|
3139
|
-
? de_OrderedRemediationActions(output.OrderedRemediationActions, context)
|
|
3140
|
-
: undefined,
|
|
3141
|
-
};
|
|
3142
|
-
};
|
|
3143
|
-
const de_PossibleRemediationActionList = (output, context) => {
|
|
3144
|
-
const retVal = (output || [])
|
|
3145
|
-
.filter((e) => e != null)
|
|
3146
|
-
.map((entry) => {
|
|
3147
|
-
if (entry === null) {
|
|
3148
|
-
return null;
|
|
3149
|
-
}
|
|
3150
|
-
return de_PossibleRemediationAction(entry, context);
|
|
1909
|
+
const se_PutProtocolsListRequest = (input, context) => {
|
|
1910
|
+
return (0, smithy_client_1.take)(input, {
|
|
1911
|
+
ProtocolsList: (_) => se_ProtocolsListData(_, context),
|
|
1912
|
+
TagList: smithy_client_1._json,
|
|
3151
1913
|
});
|
|
3152
|
-
return retVal;
|
|
3153
|
-
};
|
|
3154
|
-
const de_PossibleRemediationActions = (output, context) => {
|
|
3155
|
-
return {
|
|
3156
|
-
Actions: output.Actions != null ? de_PossibleRemediationActionList(output.Actions, context) : undefined,
|
|
3157
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3158
|
-
};
|
|
3159
1914
|
};
|
|
3160
|
-
const
|
|
3161
|
-
return
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
}
|
|
3165
|
-
acc[key] = de_AppsList(value, context);
|
|
3166
|
-
return acc;
|
|
3167
|
-
}, {});
|
|
3168
|
-
};
|
|
3169
|
-
const de_PreviousProtocolsList = (output, context) => {
|
|
3170
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3171
|
-
if (value === null) {
|
|
3172
|
-
return acc;
|
|
3173
|
-
}
|
|
3174
|
-
acc[key] = de_ProtocolsList(value, context);
|
|
3175
|
-
return acc;
|
|
3176
|
-
}, {});
|
|
3177
|
-
};
|
|
3178
|
-
const de_ProtocolsList = (output, context) => {
|
|
3179
|
-
const retVal = (output || [])
|
|
3180
|
-
.filter((e) => e != null)
|
|
3181
|
-
.map((entry) => {
|
|
3182
|
-
if (entry === null) {
|
|
3183
|
-
return null;
|
|
3184
|
-
}
|
|
3185
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1915
|
+
const se_PutResourceSetRequest = (input, context) => {
|
|
1916
|
+
return (0, smithy_client_1.take)(input, {
|
|
1917
|
+
ResourceSet: (_) => se_ResourceSet(_, context),
|
|
1918
|
+
TagList: smithy_client_1._json,
|
|
3186
1919
|
});
|
|
3187
|
-
return retVal;
|
|
3188
|
-
};
|
|
3189
|
-
const de_ProtocolsListData = (output, context) => {
|
|
3190
|
-
return {
|
|
3191
|
-
CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime))) : undefined,
|
|
3192
|
-
LastUpdateTime: output.LastUpdateTime != null
|
|
3193
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
|
|
3194
|
-
: undefined,
|
|
3195
|
-
ListId: (0, smithy_client_1.expectString)(output.ListId),
|
|
3196
|
-
ListName: (0, smithy_client_1.expectString)(output.ListName),
|
|
3197
|
-
ListUpdateToken: (0, smithy_client_1.expectString)(output.ListUpdateToken),
|
|
3198
|
-
PreviousProtocolsList: output.PreviousProtocolsList != null
|
|
3199
|
-
? de_PreviousProtocolsList(output.PreviousProtocolsList, context)
|
|
3200
|
-
: undefined,
|
|
3201
|
-
ProtocolsList: output.ProtocolsList != null ? de_ProtocolsList(output.ProtocolsList, context) : undefined,
|
|
3202
|
-
};
|
|
3203
|
-
};
|
|
3204
|
-
const de_ProtocolsListDataSummary = (output, context) => {
|
|
3205
|
-
return {
|
|
3206
|
-
ListArn: (0, smithy_client_1.expectString)(output.ListArn),
|
|
3207
|
-
ListId: (0, smithy_client_1.expectString)(output.ListId),
|
|
3208
|
-
ListName: (0, smithy_client_1.expectString)(output.ListName),
|
|
3209
|
-
ProtocolsList: output.ProtocolsList != null ? de_ProtocolsList(output.ProtocolsList, context) : undefined,
|
|
3210
|
-
};
|
|
3211
1920
|
};
|
|
3212
|
-
const
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
1921
|
+
const se_ResourceSet = (input, context) => {
|
|
1922
|
+
return (0, smithy_client_1.take)(input, {
|
|
1923
|
+
Description: [],
|
|
1924
|
+
Id: [],
|
|
1925
|
+
LastUpdateTime: (_) => Math.round(_.getTime() / 1000),
|
|
1926
|
+
Name: [],
|
|
1927
|
+
ResourceTypeList: smithy_client_1._json,
|
|
1928
|
+
UpdateToken: [],
|
|
3220
1929
|
});
|
|
3221
|
-
return retVal;
|
|
3222
|
-
};
|
|
3223
|
-
const de_PutAppsListResponse = (output, context) => {
|
|
3224
|
-
return {
|
|
3225
|
-
AppsList: output.AppsList != null ? de_AppsListData(output.AppsList, context) : undefined,
|
|
3226
|
-
AppsListArn: (0, smithy_client_1.expectString)(output.AppsListArn),
|
|
3227
|
-
};
|
|
3228
|
-
};
|
|
3229
|
-
const de_PutPolicyResponse = (output, context) => {
|
|
3230
|
-
return {
|
|
3231
|
-
Policy: output.Policy != null ? de_Policy(output.Policy, context) : undefined,
|
|
3232
|
-
PolicyArn: (0, smithy_client_1.expectString)(output.PolicyArn),
|
|
3233
|
-
};
|
|
3234
|
-
};
|
|
3235
|
-
const de_PutProtocolsListResponse = (output, context) => {
|
|
3236
|
-
return {
|
|
3237
|
-
ProtocolsList: output.ProtocolsList != null ? de_ProtocolsListData(output.ProtocolsList, context) : undefined,
|
|
3238
|
-
ProtocolsListArn: (0, smithy_client_1.expectString)(output.ProtocolsListArn),
|
|
3239
|
-
};
|
|
3240
|
-
};
|
|
3241
|
-
const de_PutResourceSetResponse = (output, context) => {
|
|
3242
|
-
return {
|
|
3243
|
-
ResourceSet: output.ResourceSet != null ? de_ResourceSet(output.ResourceSet, context) : undefined,
|
|
3244
|
-
ResourceSetArn: (0, smithy_client_1.expectString)(output.ResourceSetArn),
|
|
3245
|
-
};
|
|
3246
|
-
};
|
|
3247
|
-
const de_RemediationAction = (output, context) => {
|
|
3248
|
-
return {
|
|
3249
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3250
|
-
EC2AssociateRouteTableAction: output.EC2AssociateRouteTableAction != null
|
|
3251
|
-
? de_EC2AssociateRouteTableAction(output.EC2AssociateRouteTableAction, context)
|
|
3252
|
-
: undefined,
|
|
3253
|
-
EC2CopyRouteTableAction: output.EC2CopyRouteTableAction != null
|
|
3254
|
-
? de_EC2CopyRouteTableAction(output.EC2CopyRouteTableAction, context)
|
|
3255
|
-
: undefined,
|
|
3256
|
-
EC2CreateRouteAction: output.EC2CreateRouteAction != null ? de_EC2CreateRouteAction(output.EC2CreateRouteAction, context) : undefined,
|
|
3257
|
-
EC2CreateRouteTableAction: output.EC2CreateRouteTableAction != null
|
|
3258
|
-
? de_EC2CreateRouteTableAction(output.EC2CreateRouteTableAction, context)
|
|
3259
|
-
: undefined,
|
|
3260
|
-
EC2DeleteRouteAction: output.EC2DeleteRouteAction != null ? de_EC2DeleteRouteAction(output.EC2DeleteRouteAction, context) : undefined,
|
|
3261
|
-
EC2ReplaceRouteAction: output.EC2ReplaceRouteAction != null
|
|
3262
|
-
? de_EC2ReplaceRouteAction(output.EC2ReplaceRouteAction, context)
|
|
3263
|
-
: undefined,
|
|
3264
|
-
EC2ReplaceRouteTableAssociationAction: output.EC2ReplaceRouteTableAssociationAction != null
|
|
3265
|
-
? de_EC2ReplaceRouteTableAssociationAction(output.EC2ReplaceRouteTableAssociationAction, context)
|
|
3266
|
-
: undefined,
|
|
3267
|
-
FMSPolicyUpdateFirewallCreationConfigAction: output.FMSPolicyUpdateFirewallCreationConfigAction != null
|
|
3268
|
-
? de_FMSPolicyUpdateFirewallCreationConfigAction(output.FMSPolicyUpdateFirewallCreationConfigAction, context)
|
|
3269
|
-
: undefined,
|
|
3270
|
-
};
|
|
3271
|
-
};
|
|
3272
|
-
const de_RemediationActionWithOrder = (output, context) => {
|
|
3273
|
-
return {
|
|
3274
|
-
Order: (0, smithy_client_1.expectInt32)(output.Order),
|
|
3275
|
-
RemediationAction: output.RemediationAction != null ? de_RemediationAction(output.RemediationAction, context) : undefined,
|
|
3276
|
-
};
|
|
3277
|
-
};
|
|
3278
|
-
const de_Resource = (output, context) => {
|
|
3279
|
-
return {
|
|
3280
|
-
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3281
|
-
URI: (0, smithy_client_1.expectString)(output.URI),
|
|
3282
|
-
};
|
|
3283
1930
|
};
|
|
3284
|
-
const
|
|
3285
|
-
|
|
3286
|
-
.
|
|
3287
|
-
.
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
1931
|
+
const de_AppsListData = (output, context) => {
|
|
1932
|
+
return (0, smithy_client_1.take)(output, {
|
|
1933
|
+
AppsList: smithy_client_1._json,
|
|
1934
|
+
CreateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1935
|
+
LastUpdateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1936
|
+
ListId: smithy_client_1.expectString,
|
|
1937
|
+
ListName: smithy_client_1.expectString,
|
|
1938
|
+
ListUpdateToken: smithy_client_1.expectString,
|
|
1939
|
+
PreviousAppsList: smithy_client_1._json,
|
|
3292
1940
|
});
|
|
3293
|
-
return retVal;
|
|
3294
1941
|
};
|
|
3295
|
-
const
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
.
|
|
3299
|
-
if (entry === null) {
|
|
3300
|
-
return null;
|
|
3301
|
-
}
|
|
3302
|
-
return de_Resource(entry, context);
|
|
1942
|
+
const de_GetAppsListResponse = (output, context) => {
|
|
1943
|
+
return (0, smithy_client_1.take)(output, {
|
|
1944
|
+
AppsList: (_) => de_AppsListData(_, context),
|
|
1945
|
+
AppsListArn: smithy_client_1.expectString,
|
|
3303
1946
|
});
|
|
3304
|
-
return retVal;
|
|
3305
|
-
};
|
|
3306
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
3307
|
-
return {
|
|
3308
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3309
|
-
};
|
|
3310
|
-
};
|
|
3311
|
-
const de_ResourceSet = (output, context) => {
|
|
3312
|
-
return {
|
|
3313
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3314
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3315
|
-
LastUpdateTime: output.LastUpdateTime != null
|
|
3316
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
|
|
3317
|
-
: undefined,
|
|
3318
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3319
|
-
ResourceTypeList: output.ResourceTypeList != null ? de_ResourceTypeList(output.ResourceTypeList, context) : undefined,
|
|
3320
|
-
UpdateToken: (0, smithy_client_1.expectString)(output.UpdateToken),
|
|
3321
|
-
};
|
|
3322
1947
|
};
|
|
3323
|
-
const
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
.map((entry) => {
|
|
3327
|
-
if (entry === null) {
|
|
3328
|
-
return null;
|
|
3329
|
-
}
|
|
3330
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1948
|
+
const de_GetComplianceDetailResponse = (output, context) => {
|
|
1949
|
+
return (0, smithy_client_1.take)(output, {
|
|
1950
|
+
PolicyComplianceDetail: (_) => de_PolicyComplianceDetail(_, context),
|
|
3331
1951
|
});
|
|
3332
|
-
return retVal;
|
|
3333
|
-
};
|
|
3334
|
-
const de_ResourceSetSummary = (output, context) => {
|
|
3335
|
-
return {
|
|
3336
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3337
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3338
|
-
LastUpdateTime: output.LastUpdateTime != null
|
|
3339
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
|
|
3340
|
-
: undefined,
|
|
3341
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3342
|
-
};
|
|
3343
1952
|
};
|
|
3344
|
-
const
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
.
|
|
3348
|
-
if (entry === null) {
|
|
3349
|
-
return null;
|
|
3350
|
-
}
|
|
3351
|
-
return de_ResourceSetSummary(entry, context);
|
|
1953
|
+
const de_GetProtocolsListResponse = (output, context) => {
|
|
1954
|
+
return (0, smithy_client_1.take)(output, {
|
|
1955
|
+
ProtocolsList: (_) => de_ProtocolsListData(_, context),
|
|
1956
|
+
ProtocolsListArn: smithy_client_1.expectString,
|
|
3352
1957
|
});
|
|
3353
|
-
return retVal;
|
|
3354
|
-
};
|
|
3355
|
-
const de_ResourceTag = (output, context) => {
|
|
3356
|
-
return {
|
|
3357
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
3358
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3359
|
-
};
|
|
3360
1958
|
};
|
|
3361
|
-
const
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
.
|
|
3365
|
-
if (entry === null) {
|
|
3366
|
-
return null;
|
|
3367
|
-
}
|
|
3368
|
-
return de_ResourceTag(entry, context);
|
|
1959
|
+
const de_GetResourceSetResponse = (output, context) => {
|
|
1960
|
+
return (0, smithy_client_1.take)(output, {
|
|
1961
|
+
ResourceSet: (_) => de_ResourceSet(_, context),
|
|
1962
|
+
ResourceSetArn: smithy_client_1.expectString,
|
|
3369
1963
|
});
|
|
3370
|
-
return retVal;
|
|
3371
1964
|
};
|
|
3372
|
-
const
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
.map((entry) => {
|
|
3376
|
-
if (entry === null) {
|
|
3377
|
-
return null;
|
|
3378
|
-
}
|
|
3379
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1965
|
+
const de_GetViolationDetailsResponse = (output, context) => {
|
|
1966
|
+
return (0, smithy_client_1.take)(output, {
|
|
1967
|
+
ViolationDetail: (_) => de_ViolationDetail(_, context),
|
|
3380
1968
|
});
|
|
3381
|
-
return retVal;
|
|
3382
1969
|
};
|
|
3383
|
-
const
|
|
3384
|
-
return {
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
: undefined,
|
|
3388
|
-
AwsEc2NetworkInterfaceViolation: output.AwsEc2NetworkInterfaceViolation != null
|
|
3389
|
-
? de_AwsEc2NetworkInterfaceViolation(output.AwsEc2NetworkInterfaceViolation, context)
|
|
3390
|
-
: undefined,
|
|
3391
|
-
AwsVPCSecurityGroupViolation: output.AwsVPCSecurityGroupViolation != null
|
|
3392
|
-
? de_AwsVPCSecurityGroupViolation(output.AwsVPCSecurityGroupViolation, context)
|
|
3393
|
-
: undefined,
|
|
3394
|
-
DnsDuplicateRuleGroupViolation: output.DnsDuplicateRuleGroupViolation != null
|
|
3395
|
-
? de_DnsDuplicateRuleGroupViolation(output.DnsDuplicateRuleGroupViolation, context)
|
|
3396
|
-
: undefined,
|
|
3397
|
-
DnsRuleGroupLimitExceededViolation: output.DnsRuleGroupLimitExceededViolation != null
|
|
3398
|
-
? de_DnsRuleGroupLimitExceededViolation(output.DnsRuleGroupLimitExceededViolation, context)
|
|
3399
|
-
: undefined,
|
|
3400
|
-
DnsRuleGroupPriorityConflictViolation: output.DnsRuleGroupPriorityConflictViolation != null
|
|
3401
|
-
? de_DnsRuleGroupPriorityConflictViolation(output.DnsRuleGroupPriorityConflictViolation, context)
|
|
3402
|
-
: undefined,
|
|
3403
|
-
FirewallSubnetIsOutOfScopeViolation: output.FirewallSubnetIsOutOfScopeViolation != null
|
|
3404
|
-
? de_FirewallSubnetIsOutOfScopeViolation(output.FirewallSubnetIsOutOfScopeViolation, context)
|
|
3405
|
-
: undefined,
|
|
3406
|
-
FirewallSubnetMissingVPCEndpointViolation: output.FirewallSubnetMissingVPCEndpointViolation != null
|
|
3407
|
-
? de_FirewallSubnetMissingVPCEndpointViolation(output.FirewallSubnetMissingVPCEndpointViolation, context)
|
|
3408
|
-
: undefined,
|
|
3409
|
-
NetworkFirewallBlackHoleRouteDetectedViolation: output.NetworkFirewallBlackHoleRouteDetectedViolation != null
|
|
3410
|
-
? de_NetworkFirewallBlackHoleRouteDetectedViolation(output.NetworkFirewallBlackHoleRouteDetectedViolation, context)
|
|
3411
|
-
: undefined,
|
|
3412
|
-
NetworkFirewallInternetTrafficNotInspectedViolation: output.NetworkFirewallInternetTrafficNotInspectedViolation != null
|
|
3413
|
-
? de_NetworkFirewallInternetTrafficNotInspectedViolation(output.NetworkFirewallInternetTrafficNotInspectedViolation, context)
|
|
3414
|
-
: undefined,
|
|
3415
|
-
NetworkFirewallInvalidRouteConfigurationViolation: output.NetworkFirewallInvalidRouteConfigurationViolation != null
|
|
3416
|
-
? de_NetworkFirewallInvalidRouteConfigurationViolation(output.NetworkFirewallInvalidRouteConfigurationViolation, context)
|
|
3417
|
-
: undefined,
|
|
3418
|
-
NetworkFirewallMissingExpectedRTViolation: output.NetworkFirewallMissingExpectedRTViolation != null
|
|
3419
|
-
? de_NetworkFirewallMissingExpectedRTViolation(output.NetworkFirewallMissingExpectedRTViolation, context)
|
|
3420
|
-
: undefined,
|
|
3421
|
-
NetworkFirewallMissingExpectedRoutesViolation: output.NetworkFirewallMissingExpectedRoutesViolation != null
|
|
3422
|
-
? de_NetworkFirewallMissingExpectedRoutesViolation(output.NetworkFirewallMissingExpectedRoutesViolation, context)
|
|
3423
|
-
: undefined,
|
|
3424
|
-
NetworkFirewallMissingFirewallViolation: output.NetworkFirewallMissingFirewallViolation != null
|
|
3425
|
-
? de_NetworkFirewallMissingFirewallViolation(output.NetworkFirewallMissingFirewallViolation, context)
|
|
3426
|
-
: undefined,
|
|
3427
|
-
NetworkFirewallMissingSubnetViolation: output.NetworkFirewallMissingSubnetViolation != null
|
|
3428
|
-
? de_NetworkFirewallMissingSubnetViolation(output.NetworkFirewallMissingSubnetViolation, context)
|
|
3429
|
-
: undefined,
|
|
3430
|
-
NetworkFirewallPolicyModifiedViolation: output.NetworkFirewallPolicyModifiedViolation != null
|
|
3431
|
-
? de_NetworkFirewallPolicyModifiedViolation(output.NetworkFirewallPolicyModifiedViolation, context)
|
|
3432
|
-
: undefined,
|
|
3433
|
-
NetworkFirewallUnexpectedFirewallRoutesViolation: output.NetworkFirewallUnexpectedFirewallRoutesViolation != null
|
|
3434
|
-
? de_NetworkFirewallUnexpectedFirewallRoutesViolation(output.NetworkFirewallUnexpectedFirewallRoutesViolation, context)
|
|
3435
|
-
: undefined,
|
|
3436
|
-
NetworkFirewallUnexpectedGatewayRoutesViolation: output.NetworkFirewallUnexpectedGatewayRoutesViolation != null
|
|
3437
|
-
? de_NetworkFirewallUnexpectedGatewayRoutesViolation(output.NetworkFirewallUnexpectedGatewayRoutesViolation, context)
|
|
3438
|
-
: undefined,
|
|
3439
|
-
PossibleRemediationActions: output.PossibleRemediationActions != null
|
|
3440
|
-
? de_PossibleRemediationActions(output.PossibleRemediationActions, context)
|
|
3441
|
-
: undefined,
|
|
3442
|
-
RouteHasOutOfScopeEndpointViolation: output.RouteHasOutOfScopeEndpointViolation != null
|
|
3443
|
-
? de_RouteHasOutOfScopeEndpointViolation(output.RouteHasOutOfScopeEndpointViolation, context)
|
|
3444
|
-
: undefined,
|
|
3445
|
-
ThirdPartyFirewallMissingExpectedRouteTableViolation: output.ThirdPartyFirewallMissingExpectedRouteTableViolation != null
|
|
3446
|
-
? de_ThirdPartyFirewallMissingExpectedRouteTableViolation(output.ThirdPartyFirewallMissingExpectedRouteTableViolation, context)
|
|
3447
|
-
: undefined,
|
|
3448
|
-
ThirdPartyFirewallMissingFirewallViolation: output.ThirdPartyFirewallMissingFirewallViolation != null
|
|
3449
|
-
? de_ThirdPartyFirewallMissingFirewallViolation(output.ThirdPartyFirewallMissingFirewallViolation, context)
|
|
3450
|
-
: undefined,
|
|
3451
|
-
ThirdPartyFirewallMissingSubnetViolation: output.ThirdPartyFirewallMissingSubnetViolation != null
|
|
3452
|
-
? de_ThirdPartyFirewallMissingSubnetViolation(output.ThirdPartyFirewallMissingSubnetViolation, context)
|
|
3453
|
-
: undefined,
|
|
3454
|
-
};
|
|
3455
|
-
};
|
|
3456
|
-
const de_ResourceViolations = (output, context) => {
|
|
3457
|
-
const retVal = (output || [])
|
|
3458
|
-
.filter((e) => e != null)
|
|
3459
|
-
.map((entry) => {
|
|
3460
|
-
if (entry === null) {
|
|
3461
|
-
return null;
|
|
3462
|
-
}
|
|
3463
|
-
return de_ResourceViolation(entry, context);
|
|
1970
|
+
const de_ListComplianceStatusResponse = (output, context) => {
|
|
1971
|
+
return (0, smithy_client_1.take)(output, {
|
|
1972
|
+
NextToken: smithy_client_1.expectString,
|
|
1973
|
+
PolicyComplianceStatusList: (_) => de_PolicyComplianceStatusList(_, context),
|
|
3464
1974
|
});
|
|
3465
|
-
return retVal;
|
|
3466
|
-
};
|
|
3467
|
-
const de_Route = (output, context) => {
|
|
3468
|
-
return {
|
|
3469
|
-
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
3470
|
-
DestinationType: (0, smithy_client_1.expectString)(output.DestinationType),
|
|
3471
|
-
Target: (0, smithy_client_1.expectString)(output.Target),
|
|
3472
|
-
TargetType: (0, smithy_client_1.expectString)(output.TargetType),
|
|
3473
|
-
};
|
|
3474
1975
|
};
|
|
3475
|
-
const
|
|
3476
|
-
return {
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
FirewallSubnetId: (0, smithy_client_1.expectString)(output.FirewallSubnetId),
|
|
3480
|
-
FirewallSubnetRoutes: output.FirewallSubnetRoutes != null ? de_Routes(output.FirewallSubnetRoutes, context) : undefined,
|
|
3481
|
-
InternetGatewayId: (0, smithy_client_1.expectString)(output.InternetGatewayId),
|
|
3482
|
-
InternetGatewayRoutes: output.InternetGatewayRoutes != null ? de_Routes(output.InternetGatewayRoutes, context) : undefined,
|
|
3483
|
-
RouteTableId: (0, smithy_client_1.expectString)(output.RouteTableId),
|
|
3484
|
-
SubnetAvailabilityZone: (0, smithy_client_1.expectString)(output.SubnetAvailabilityZone),
|
|
3485
|
-
SubnetAvailabilityZoneId: (0, smithy_client_1.expectString)(output.SubnetAvailabilityZoneId),
|
|
3486
|
-
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
3487
|
-
ViolatingRoutes: output.ViolatingRoutes != null ? de_Routes(output.ViolatingRoutes, context) : undefined,
|
|
3488
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
3489
|
-
};
|
|
3490
|
-
};
|
|
3491
|
-
const de_Routes = (output, context) => {
|
|
3492
|
-
const retVal = (output || [])
|
|
3493
|
-
.filter((e) => e != null)
|
|
3494
|
-
.map((entry) => {
|
|
3495
|
-
if (entry === null) {
|
|
3496
|
-
return null;
|
|
3497
|
-
}
|
|
3498
|
-
return de_Route(entry, context);
|
|
1976
|
+
const de_ListResourceSetsResponse = (output, context) => {
|
|
1977
|
+
return (0, smithy_client_1.take)(output, {
|
|
1978
|
+
NextToken: smithy_client_1.expectString,
|
|
1979
|
+
ResourceSets: (_) => de_ResourceSetSummaryList(_, context),
|
|
3499
1980
|
});
|
|
3500
|
-
return retVal;
|
|
3501
|
-
};
|
|
3502
|
-
const de_SecurityGroupRemediationAction = (output, context) => {
|
|
3503
|
-
return {
|
|
3504
|
-
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3505
|
-
IsDefaultAction: (0, smithy_client_1.expectBoolean)(output.IsDefaultAction),
|
|
3506
|
-
RemediationActionType: (0, smithy_client_1.expectString)(output.RemediationActionType),
|
|
3507
|
-
RemediationResult: output.RemediationResult != null ? de_SecurityGroupRuleDescription(output.RemediationResult, context) : undefined,
|
|
3508
|
-
};
|
|
3509
1981
|
};
|
|
3510
|
-
const
|
|
3511
|
-
|
|
3512
|
-
.
|
|
3513
|
-
.
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
1982
|
+
const de_PolicyComplianceDetail = (output, context) => {
|
|
1983
|
+
return (0, smithy_client_1.take)(output, {
|
|
1984
|
+
EvaluationLimitExceeded: smithy_client_1.expectBoolean,
|
|
1985
|
+
ExpiredAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1986
|
+
IssueInfoMap: smithy_client_1._json,
|
|
1987
|
+
MemberAccount: smithy_client_1.expectString,
|
|
1988
|
+
PolicyId: smithy_client_1.expectString,
|
|
1989
|
+
PolicyOwner: smithy_client_1.expectString,
|
|
1990
|
+
Violators: smithy_client_1._json,
|
|
3518
1991
|
});
|
|
3519
|
-
return retVal;
|
|
3520
|
-
};
|
|
3521
|
-
const de_SecurityGroupRuleDescription = (output, context) => {
|
|
3522
|
-
return {
|
|
3523
|
-
FromPort: (0, smithy_client_1.expectLong)(output.FromPort),
|
|
3524
|
-
IPV4Range: (0, smithy_client_1.expectString)(output.IPV4Range),
|
|
3525
|
-
IPV6Range: (0, smithy_client_1.expectString)(output.IPV6Range),
|
|
3526
|
-
PrefixListId: (0, smithy_client_1.expectString)(output.PrefixListId),
|
|
3527
|
-
Protocol: (0, smithy_client_1.expectString)(output.Protocol),
|
|
3528
|
-
ToPort: (0, smithy_client_1.expectLong)(output.ToPort),
|
|
3529
|
-
};
|
|
3530
|
-
};
|
|
3531
|
-
const de_SecurityServicePolicyData = (output, context) => {
|
|
3532
|
-
return {
|
|
3533
|
-
ManagedServiceData: (0, smithy_client_1.expectString)(output.ManagedServiceData),
|
|
3534
|
-
PolicyOption: output.PolicyOption != null ? de_PolicyOption(output.PolicyOption, context) : undefined,
|
|
3535
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3536
|
-
};
|
|
3537
|
-
};
|
|
3538
|
-
const de_StatefulEngineOptions = (output, context) => {
|
|
3539
|
-
return {
|
|
3540
|
-
RuleOrder: (0, smithy_client_1.expectString)(output.RuleOrder),
|
|
3541
|
-
};
|
|
3542
1992
|
};
|
|
3543
|
-
const
|
|
3544
|
-
return {
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
1993
|
+
const de_PolicyComplianceStatus = (output, context) => {
|
|
1994
|
+
return (0, smithy_client_1.take)(output, {
|
|
1995
|
+
EvaluationResults: smithy_client_1._json,
|
|
1996
|
+
IssueInfoMap: smithy_client_1._json,
|
|
1997
|
+
LastUpdated: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1998
|
+
MemberAccount: smithy_client_1.expectString,
|
|
1999
|
+
PolicyId: smithy_client_1.expectString,
|
|
2000
|
+
PolicyName: smithy_client_1.expectString,
|
|
2001
|
+
PolicyOwner: smithy_client_1.expectString,
|
|
2002
|
+
});
|
|
3550
2003
|
};
|
|
3551
|
-
const
|
|
2004
|
+
const de_PolicyComplianceStatusList = (output, context) => {
|
|
3552
2005
|
const retVal = (output || [])
|
|
3553
2006
|
.filter((e) => e != null)
|
|
3554
2007
|
.map((entry) => {
|
|
3555
|
-
|
|
3556
|
-
return null;
|
|
3557
|
-
}
|
|
3558
|
-
return de_StatefulRuleGroup(entry, context);
|
|
2008
|
+
return de_PolicyComplianceStatus(entry, context);
|
|
3559
2009
|
});
|
|
3560
2010
|
return retVal;
|
|
3561
2011
|
};
|
|
3562
|
-
const
|
|
3563
|
-
return {
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
2012
|
+
const de_ProtocolsListData = (output, context) => {
|
|
2013
|
+
return (0, smithy_client_1.take)(output, {
|
|
2014
|
+
CreateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2015
|
+
LastUpdateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2016
|
+
ListId: smithy_client_1.expectString,
|
|
2017
|
+
ListName: smithy_client_1.expectString,
|
|
2018
|
+
ListUpdateToken: smithy_client_1.expectString,
|
|
2019
|
+
PreviousProtocolsList: smithy_client_1._json,
|
|
2020
|
+
ProtocolsList: smithy_client_1._json,
|
|
2021
|
+
});
|
|
3568
2022
|
};
|
|
3569
|
-
const
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
.
|
|
3573
|
-
if (entry === null) {
|
|
3574
|
-
return null;
|
|
3575
|
-
}
|
|
3576
|
-
return de_StatelessRuleGroup(entry, context);
|
|
2023
|
+
const de_PutAppsListResponse = (output, context) => {
|
|
2024
|
+
return (0, smithy_client_1.take)(output, {
|
|
2025
|
+
AppsList: (_) => de_AppsListData(_, context),
|
|
2026
|
+
AppsListArn: smithy_client_1.expectString,
|
|
3577
2027
|
});
|
|
3578
|
-
return retVal;
|
|
3579
2028
|
};
|
|
3580
|
-
const
|
|
3581
|
-
return {
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
};
|
|
2029
|
+
const de_PutProtocolsListResponse = (output, context) => {
|
|
2030
|
+
return (0, smithy_client_1.take)(output, {
|
|
2031
|
+
ProtocolsList: (_) => de_ProtocolsListData(_, context),
|
|
2032
|
+
ProtocolsListArn: smithy_client_1.expectString,
|
|
2033
|
+
});
|
|
3585
2034
|
};
|
|
3586
|
-
const
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
.
|
|
3590
|
-
if (entry === null) {
|
|
3591
|
-
return null;
|
|
3592
|
-
}
|
|
3593
|
-
return de_Tag(entry, context);
|
|
2035
|
+
const de_PutResourceSetResponse = (output, context) => {
|
|
2036
|
+
return (0, smithy_client_1.take)(output, {
|
|
2037
|
+
ResourceSet: (_) => de_ResourceSet(_, context),
|
|
2038
|
+
ResourceSetArn: smithy_client_1.expectString,
|
|
3594
2039
|
});
|
|
3595
|
-
return retVal;
|
|
3596
2040
|
};
|
|
3597
|
-
const
|
|
3598
|
-
return {
|
|
2041
|
+
const de_ResourceSet = (output, context) => {
|
|
2042
|
+
return (0, smithy_client_1.take)(output, {
|
|
2043
|
+
Description: smithy_client_1.expectString,
|
|
2044
|
+
Id: smithy_client_1.expectString,
|
|
2045
|
+
LastUpdateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2046
|
+
Name: smithy_client_1.expectString,
|
|
2047
|
+
ResourceTypeList: smithy_client_1._json,
|
|
2048
|
+
UpdateToken: smithy_client_1.expectString,
|
|
2049
|
+
});
|
|
3599
2050
|
};
|
|
3600
|
-
const
|
|
3601
|
-
|
|
3602
|
-
.
|
|
3603
|
-
.
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
}
|
|
3607
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2051
|
+
const de_ResourceSetSummary = (output, context) => {
|
|
2052
|
+
return (0, smithy_client_1.take)(output, {
|
|
2053
|
+
Description: smithy_client_1.expectString,
|
|
2054
|
+
Id: smithy_client_1.expectString,
|
|
2055
|
+
LastUpdateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2056
|
+
Name: smithy_client_1.expectString,
|
|
3608
2057
|
});
|
|
3609
|
-
return retVal;
|
|
3610
2058
|
};
|
|
3611
|
-
const
|
|
2059
|
+
const de_ResourceSetSummaryList = (output, context) => {
|
|
3612
2060
|
const retVal = (output || [])
|
|
3613
2061
|
.filter((e) => e != null)
|
|
3614
2062
|
.map((entry) => {
|
|
3615
|
-
|
|
3616
|
-
return null;
|
|
3617
|
-
}
|
|
3618
|
-
return de_ThirdPartyFirewallFirewallPolicy(entry, context);
|
|
2063
|
+
return de_ResourceSetSummary(entry, context);
|
|
3619
2064
|
});
|
|
3620
2065
|
return retVal;
|
|
3621
2066
|
};
|
|
3622
|
-
const de_ThirdPartyFirewallFirewallPolicy = (output, context) => {
|
|
3623
|
-
return {
|
|
3624
|
-
FirewallPolicyId: (0, smithy_client_1.expectString)(output.FirewallPolicyId),
|
|
3625
|
-
FirewallPolicyName: (0, smithy_client_1.expectString)(output.FirewallPolicyName),
|
|
3626
|
-
};
|
|
3627
|
-
};
|
|
3628
|
-
const de_ThirdPartyFirewallMissingExpectedRouteTableViolation = (output, context) => {
|
|
3629
|
-
return {
|
|
3630
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
3631
|
-
CurrentRouteTable: (0, smithy_client_1.expectString)(output.CurrentRouteTable),
|
|
3632
|
-
ExpectedRouteTable: (0, smithy_client_1.expectString)(output.ExpectedRouteTable),
|
|
3633
|
-
VPC: (0, smithy_client_1.expectString)(output.VPC),
|
|
3634
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
3635
|
-
};
|
|
3636
|
-
};
|
|
3637
|
-
const de_ThirdPartyFirewallMissingFirewallViolation = (output, context) => {
|
|
3638
|
-
return {
|
|
3639
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
3640
|
-
TargetViolationReason: (0, smithy_client_1.expectString)(output.TargetViolationReason),
|
|
3641
|
-
VPC: (0, smithy_client_1.expectString)(output.VPC),
|
|
3642
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
3643
|
-
};
|
|
3644
|
-
};
|
|
3645
|
-
const de_ThirdPartyFirewallMissingSubnetViolation = (output, context) => {
|
|
3646
|
-
return {
|
|
3647
|
-
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
3648
|
-
TargetViolationReason: (0, smithy_client_1.expectString)(output.TargetViolationReason),
|
|
3649
|
-
VPC: (0, smithy_client_1.expectString)(output.VPC),
|
|
3650
|
-
ViolationTarget: (0, smithy_client_1.expectString)(output.ViolationTarget),
|
|
3651
|
-
};
|
|
3652
|
-
};
|
|
3653
|
-
const de_ThirdPartyFirewallPolicy = (output, context) => {
|
|
3654
|
-
return {
|
|
3655
|
-
FirewallDeploymentModel: (0, smithy_client_1.expectString)(output.FirewallDeploymentModel),
|
|
3656
|
-
};
|
|
3657
|
-
};
|
|
3658
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
3659
|
-
return {};
|
|
3660
|
-
};
|
|
3661
2067
|
const de_ViolationDetail = (output, context) => {
|
|
3662
|
-
return {
|
|
3663
|
-
MemberAccount:
|
|
3664
|
-
PolicyId:
|
|
3665
|
-
ResourceDescription:
|
|
3666
|
-
ResourceId:
|
|
3667
|
-
ResourceTags:
|
|
3668
|
-
ResourceType:
|
|
3669
|
-
ResourceViolations:
|
|
3670
|
-
};
|
|
2068
|
+
return (0, smithy_client_1.take)(output, {
|
|
2069
|
+
MemberAccount: smithy_client_1.expectString,
|
|
2070
|
+
PolicyId: smithy_client_1.expectString,
|
|
2071
|
+
ResourceDescription: smithy_client_1.expectString,
|
|
2072
|
+
ResourceId: smithy_client_1.expectString,
|
|
2073
|
+
ResourceTags: smithy_client_1._json,
|
|
2074
|
+
ResourceType: smithy_client_1.expectString,
|
|
2075
|
+
ResourceViolations: smithy_client_1._json,
|
|
2076
|
+
});
|
|
3671
2077
|
};
|
|
3672
2078
|
const deserializeMetadata = (output) => ({
|
|
3673
2079
|
httpStatusCode: output.statusCode,
|
|
@@ -3682,6 +2088,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
3682
2088
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3683
2089
|
};
|
|
3684
2090
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2091
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(FMSServiceException_1.FMSServiceException);
|
|
3685
2092
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3686
2093
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3687
2094
|
const contents = {
|