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