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