@aws-sdk/client-fms 3.490.0 → 3.496.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.
Files changed (64) hide show
  1. package/dist-cjs/FMS.js +1 -95
  2. package/dist-cjs/FMSClient.js +1 -43
  3. package/dist-cjs/commands/AssociateAdminAccountCommand.js +1 -28
  4. package/dist-cjs/commands/AssociateThirdPartyFirewallCommand.js +1 -28
  5. package/dist-cjs/commands/BatchAssociateResourceCommand.js +1 -28
  6. package/dist-cjs/commands/BatchDisassociateResourceCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteAppsListCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteNotificationChannelCommand.js +1 -28
  9. package/dist-cjs/commands/DeletePolicyCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteProtocolsListCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteResourceSetCommand.js +1 -28
  12. package/dist-cjs/commands/DisassociateAdminAccountCommand.js +1 -28
  13. package/dist-cjs/commands/DisassociateThirdPartyFirewallCommand.js +1 -28
  14. package/dist-cjs/commands/GetAdminAccountCommand.js +1 -28
  15. package/dist-cjs/commands/GetAdminScopeCommand.js +1 -28
  16. package/dist-cjs/commands/GetAppsListCommand.js +1 -28
  17. package/dist-cjs/commands/GetComplianceDetailCommand.js +1 -28
  18. package/dist-cjs/commands/GetNotificationChannelCommand.js +1 -28
  19. package/dist-cjs/commands/GetPolicyCommand.js +1 -28
  20. package/dist-cjs/commands/GetProtectionStatusCommand.js +1 -28
  21. package/dist-cjs/commands/GetProtocolsListCommand.js +1 -28
  22. package/dist-cjs/commands/GetResourceSetCommand.js +1 -28
  23. package/dist-cjs/commands/GetThirdPartyFirewallAssociationStatusCommand.js +1 -28
  24. package/dist-cjs/commands/GetViolationDetailsCommand.js +1 -28
  25. package/dist-cjs/commands/ListAdminAccountsForOrganizationCommand.js +1 -28
  26. package/dist-cjs/commands/ListAdminsManagingAccountCommand.js +1 -28
  27. package/dist-cjs/commands/ListAppsListsCommand.js +1 -28
  28. package/dist-cjs/commands/ListComplianceStatusCommand.js +1 -28
  29. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +1 -28
  30. package/dist-cjs/commands/ListMemberAccountsCommand.js +1 -28
  31. package/dist-cjs/commands/ListPoliciesCommand.js +1 -28
  32. package/dist-cjs/commands/ListProtocolsListsCommand.js +1 -28
  33. package/dist-cjs/commands/ListResourceSetResourcesCommand.js +1 -28
  34. package/dist-cjs/commands/ListResourceSetsCommand.js +1 -28
  35. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  36. package/dist-cjs/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +1 -28
  37. package/dist-cjs/commands/PutAdminAccountCommand.js +1 -28
  38. package/dist-cjs/commands/PutAppsListCommand.js +1 -28
  39. package/dist-cjs/commands/PutNotificationChannelCommand.js +1 -28
  40. package/dist-cjs/commands/PutPolicyCommand.js +1 -28
  41. package/dist-cjs/commands/PutProtocolsListCommand.js +1 -28
  42. package/dist-cjs/commands/PutResourceSetCommand.js +1 -28
  43. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  44. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  45. package/dist-cjs/commands/index.js +1 -45
  46. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  47. package/dist-cjs/extensionConfiguration.js +1 -2
  48. package/dist-cjs/index.js +3590 -11
  49. package/dist-cjs/models/FMSServiceException.js +1 -12
  50. package/dist-cjs/models/index.js +1 -4
  51. package/dist-cjs/models/models_0.js +1 -221
  52. package/dist-cjs/pagination/Interfaces.js +1 -2
  53. package/dist-cjs/pagination/ListAdminAccountsForOrganizationPaginator.js +1 -7
  54. package/dist-cjs/pagination/ListAdminsManagingAccountPaginator.js +1 -7
  55. package/dist-cjs/pagination/ListAppsListsPaginator.js +1 -7
  56. package/dist-cjs/pagination/ListComplianceStatusPaginator.js +1 -7
  57. package/dist-cjs/pagination/ListMemberAccountsPaginator.js +1 -7
  58. package/dist-cjs/pagination/ListPoliciesPaginator.js +1 -7
  59. package/dist-cjs/pagination/ListProtocolsListsPaginator.js +1 -7
  60. package/dist-cjs/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +1 -7
  61. package/dist-cjs/pagination/index.js +1 -12
  62. package/dist-cjs/protocols/Aws_json1_1.js +1 -2345
  63. package/dist-cjs/runtimeExtensions.js +1 -22
  64. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,3591 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FMSServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./FMSClient"), exports);
6
- tslib_1.__exportStar(require("./FMS"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var FMSServiceException_1 = require("./models/FMSServiceException");
12
- Object.defineProperty(exports, "FMSServiceException", { enumerable: true, get: function () { return FMSServiceException_1.FMSServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccountRoleStatus: () => AccountRoleStatus,
25
+ AssociateAdminAccountCommand: () => AssociateAdminAccountCommand,
26
+ AssociateThirdPartyFirewallCommand: () => AssociateThirdPartyFirewallCommand,
27
+ BatchAssociateResourceCommand: () => BatchAssociateResourceCommand,
28
+ BatchDisassociateResourceCommand: () => BatchDisassociateResourceCommand,
29
+ CustomerPolicyScopeIdType: () => CustomerPolicyScopeIdType,
30
+ CustomerPolicyStatus: () => CustomerPolicyStatus,
31
+ DeleteAppsListCommand: () => DeleteAppsListCommand,
32
+ DeleteNotificationChannelCommand: () => DeleteNotificationChannelCommand,
33
+ DeletePolicyCommand: () => DeletePolicyCommand,
34
+ DeleteProtocolsListCommand: () => DeleteProtocolsListCommand,
35
+ DeleteResourceSetCommand: () => DeleteResourceSetCommand,
36
+ DependentServiceName: () => DependentServiceName,
37
+ DestinationType: () => DestinationType,
38
+ DisassociateAdminAccountCommand: () => DisassociateAdminAccountCommand,
39
+ DisassociateThirdPartyFirewallCommand: () => DisassociateThirdPartyFirewallCommand,
40
+ FMS: () => FMS,
41
+ FMSClient: () => FMSClient,
42
+ FMSServiceException: () => FMSServiceException,
43
+ FailedItemReason: () => FailedItemReason,
44
+ FirewallDeploymentModel: () => FirewallDeploymentModel,
45
+ GetAdminAccountCommand: () => GetAdminAccountCommand,
46
+ GetAdminScopeCommand: () => GetAdminScopeCommand,
47
+ GetAppsListCommand: () => GetAppsListCommand,
48
+ GetComplianceDetailCommand: () => GetComplianceDetailCommand,
49
+ GetNotificationChannelCommand: () => GetNotificationChannelCommand,
50
+ GetPolicyCommand: () => GetPolicyCommand,
51
+ GetProtectionStatusCommand: () => GetProtectionStatusCommand,
52
+ GetProtocolsListCommand: () => GetProtocolsListCommand,
53
+ GetResourceSetCommand: () => GetResourceSetCommand,
54
+ GetThirdPartyFirewallAssociationStatusCommand: () => GetThirdPartyFirewallAssociationStatusCommand,
55
+ GetViolationDetailsCommand: () => GetViolationDetailsCommand,
56
+ InternalErrorException: () => InternalErrorException,
57
+ InvalidInputException: () => InvalidInputException,
58
+ InvalidOperationException: () => InvalidOperationException,
59
+ InvalidTypeException: () => InvalidTypeException,
60
+ LimitExceededException: () => LimitExceededException,
61
+ ListAdminAccountsForOrganizationCommand: () => ListAdminAccountsForOrganizationCommand,
62
+ ListAdminsManagingAccountCommand: () => ListAdminsManagingAccountCommand,
63
+ ListAppsListsCommand: () => ListAppsListsCommand,
64
+ ListComplianceStatusCommand: () => ListComplianceStatusCommand,
65
+ ListDiscoveredResourcesCommand: () => ListDiscoveredResourcesCommand,
66
+ ListMemberAccountsCommand: () => ListMemberAccountsCommand,
67
+ ListPoliciesCommand: () => ListPoliciesCommand,
68
+ ListProtocolsListsCommand: () => ListProtocolsListsCommand,
69
+ ListResourceSetResourcesCommand: () => ListResourceSetResourcesCommand,
70
+ ListResourceSetsCommand: () => ListResourceSetsCommand,
71
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
72
+ ListThirdPartyFirewallFirewallPoliciesCommand: () => ListThirdPartyFirewallFirewallPoliciesCommand,
73
+ MarketplaceSubscriptionOnboardingStatus: () => MarketplaceSubscriptionOnboardingStatus,
74
+ NetworkFirewallOverrideAction: () => NetworkFirewallOverrideAction,
75
+ OrganizationStatus: () => OrganizationStatus,
76
+ PolicyComplianceStatusType: () => PolicyComplianceStatusType,
77
+ PutAdminAccountCommand: () => PutAdminAccountCommand,
78
+ PutAppsListCommand: () => PutAppsListCommand,
79
+ PutNotificationChannelCommand: () => PutNotificationChannelCommand,
80
+ PutPolicyCommand: () => PutPolicyCommand,
81
+ PutProtocolsListCommand: () => PutProtocolsListCommand,
82
+ PutResourceSetCommand: () => PutResourceSetCommand,
83
+ RemediationActionType: () => RemediationActionType,
84
+ ResourceNotFoundException: () => ResourceNotFoundException,
85
+ ResourceSetStatus: () => ResourceSetStatus,
86
+ RuleOrder: () => RuleOrder,
87
+ SecurityServiceType: () => SecurityServiceType,
88
+ TagResourceCommand: () => TagResourceCommand,
89
+ TargetType: () => TargetType,
90
+ ThirdPartyFirewall: () => ThirdPartyFirewall,
91
+ ThirdPartyFirewallAssociationStatus: () => ThirdPartyFirewallAssociationStatus,
92
+ UntagResourceCommand: () => UntagResourceCommand,
93
+ ViolationReason: () => ViolationReason,
94
+ __Client: () => import_smithy_client.Client,
95
+ paginateListAdminAccountsForOrganization: () => paginateListAdminAccountsForOrganization,
96
+ paginateListAdminsManagingAccount: () => paginateListAdminsManagingAccount,
97
+ paginateListAppsLists: () => paginateListAppsLists,
98
+ paginateListComplianceStatus: () => paginateListComplianceStatus,
99
+ paginateListMemberAccounts: () => paginateListMemberAccounts,
100
+ paginateListPolicies: () => paginateListPolicies,
101
+ paginateListProtocolsLists: () => paginateListProtocolsLists,
102
+ paginateListThirdPartyFirewallFirewallPolicies: () => paginateListThirdPartyFirewallFirewallPolicies
103
+ });
104
+ module.exports = __toCommonJS(src_exports);
105
+
106
+ // src/FMSClient.ts
107
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
108
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
109
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
110
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
111
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
112
+ var import_config_resolver = require("@smithy/config-resolver");
113
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
114
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
115
+ var import_middleware_retry = require("@smithy/middleware-retry");
116
+
117
+
118
+ // src/endpoint/EndpointParameters.ts
119
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
120
+ return {
121
+ ...options,
122
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
123
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
124
+ defaultSigningName: "fms"
125
+ };
126
+ }, "resolveClientEndpointParameters");
127
+ var commonParams = {
128
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
129
+ Endpoint: { type: "builtInParams", name: "endpoint" },
130
+ Region: { type: "builtInParams", name: "region" },
131
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
132
+ };
133
+
134
+ // src/FMSClient.ts
135
+ var import_runtimeConfig = require("././runtimeConfig");
136
+
137
+ // src/runtimeExtensions.ts
138
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
139
+ var import_protocol_http = require("@smithy/protocol-http");
140
+ var import_smithy_client = require("@smithy/smithy-client");
141
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
142
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
143
+ const extensionConfiguration = {
144
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
145
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
146
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
147
+ };
148
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
149
+ return {
150
+ ...runtimeConfig,
151
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
152
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
153
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
154
+ };
155
+ }, "resolveRuntimeExtensions");
156
+
157
+ // src/FMSClient.ts
158
+ var _FMSClient = class _FMSClient extends import_smithy_client.Client {
159
+ constructor(...[configuration]) {
160
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
161
+ const _config_1 = resolveClientEndpointParameters(_config_0);
162
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
163
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
164
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
165
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
166
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
167
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
168
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
169
+ super(_config_8);
170
+ this.config = _config_8;
171
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
172
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
173
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
174
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
175
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
176
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
177
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
178
+ }
179
+ /**
180
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
181
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
182
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
183
+ */
184
+ destroy() {
185
+ super.destroy();
186
+ }
187
+ };
188
+ __name(_FMSClient, "FMSClient");
189
+ var FMSClient = _FMSClient;
190
+
191
+ // src/FMS.ts
192
+
193
+
194
+ // src/commands/AssociateAdminAccountCommand.ts
195
+
196
+ var import_middleware_serde = require("@smithy/middleware-serde");
197
+
198
+ var import_types = require("@smithy/types");
199
+
200
+ // src/protocols/Aws_json1_1.ts
201
+
202
+
203
+
204
+ // src/models/FMSServiceException.ts
205
+
206
+ var _FMSServiceException = class _FMSServiceException extends import_smithy_client.ServiceException {
207
+ /**
208
+ * @internal
209
+ */
210
+ constructor(options) {
211
+ super(options);
212
+ Object.setPrototypeOf(this, _FMSServiceException.prototype);
213
+ }
214
+ };
215
+ __name(_FMSServiceException, "FMSServiceException");
216
+ var FMSServiceException = _FMSServiceException;
217
+
218
+ // src/models/models_0.ts
219
+ var AccountRoleStatus = {
220
+ Creating: "CREATING",
221
+ Deleted: "DELETED",
222
+ Deleting: "DELETING",
223
+ PendingDeletion: "PENDING_DELETION",
224
+ Ready: "READY"
225
+ };
226
+ var OrganizationStatus = {
227
+ Offboarding: "OFFBOARDING",
228
+ OffboardingComplete: "OFFBOARDING_COMPLETE",
229
+ Onboarding: "ONBOARDING",
230
+ OnboardingComplete: "ONBOARDING_COMPLETE"
231
+ };
232
+ var SecurityServiceType = {
233
+ DNS_FIREWALL: "DNS_FIREWALL",
234
+ IMPORT_NETWORK_FIREWALL: "IMPORT_NETWORK_FIREWALL",
235
+ NETWORK_FIREWALL: "NETWORK_FIREWALL",
236
+ SECURITY_GROUPS_COMMON: "SECURITY_GROUPS_COMMON",
237
+ SECURITY_GROUPS_CONTENT_AUDIT: "SECURITY_GROUPS_CONTENT_AUDIT",
238
+ SECURITY_GROUPS_USAGE_AUDIT: "SECURITY_GROUPS_USAGE_AUDIT",
239
+ SHIELD_ADVANCED: "SHIELD_ADVANCED",
240
+ THIRD_PARTY_FIREWALL: "THIRD_PARTY_FIREWALL",
241
+ WAF: "WAF",
242
+ WAFV2: "WAFV2"
243
+ };
244
+ var _InternalErrorException = class _InternalErrorException extends FMSServiceException {
245
+ /**
246
+ * @internal
247
+ */
248
+ constructor(opts) {
249
+ super({
250
+ name: "InternalErrorException",
251
+ $fault: "client",
252
+ ...opts
253
+ });
254
+ this.name = "InternalErrorException";
255
+ this.$fault = "client";
256
+ Object.setPrototypeOf(this, _InternalErrorException.prototype);
257
+ this.Message = opts.Message;
258
+ }
259
+ };
260
+ __name(_InternalErrorException, "InternalErrorException");
261
+ var InternalErrorException = _InternalErrorException;
262
+ var _InvalidInputException = class _InvalidInputException extends FMSServiceException {
263
+ /**
264
+ * @internal
265
+ */
266
+ constructor(opts) {
267
+ super({
268
+ name: "InvalidInputException",
269
+ $fault: "client",
270
+ ...opts
271
+ });
272
+ this.name = "InvalidInputException";
273
+ this.$fault = "client";
274
+ Object.setPrototypeOf(this, _InvalidInputException.prototype);
275
+ this.Message = opts.Message;
276
+ }
277
+ };
278
+ __name(_InvalidInputException, "InvalidInputException");
279
+ var InvalidInputException = _InvalidInputException;
280
+ var _InvalidOperationException = class _InvalidOperationException extends FMSServiceException {
281
+ /**
282
+ * @internal
283
+ */
284
+ constructor(opts) {
285
+ super({
286
+ name: "InvalidOperationException",
287
+ $fault: "client",
288
+ ...opts
289
+ });
290
+ this.name = "InvalidOperationException";
291
+ this.$fault = "client";
292
+ Object.setPrototypeOf(this, _InvalidOperationException.prototype);
293
+ this.Message = opts.Message;
294
+ }
295
+ };
296
+ __name(_InvalidOperationException, "InvalidOperationException");
297
+ var InvalidOperationException = _InvalidOperationException;
298
+ var _LimitExceededException = class _LimitExceededException extends FMSServiceException {
299
+ /**
300
+ * @internal
301
+ */
302
+ constructor(opts) {
303
+ super({
304
+ name: "LimitExceededException",
305
+ $fault: "client",
306
+ ...opts
307
+ });
308
+ this.name = "LimitExceededException";
309
+ this.$fault = "client";
310
+ Object.setPrototypeOf(this, _LimitExceededException.prototype);
311
+ this.Message = opts.Message;
312
+ }
313
+ };
314
+ __name(_LimitExceededException, "LimitExceededException");
315
+ var LimitExceededException = _LimitExceededException;
316
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends FMSServiceException {
317
+ /**
318
+ * @internal
319
+ */
320
+ constructor(opts) {
321
+ super({
322
+ name: "ResourceNotFoundException",
323
+ $fault: "client",
324
+ ...opts
325
+ });
326
+ this.name = "ResourceNotFoundException";
327
+ this.$fault = "client";
328
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
329
+ this.Message = opts.Message;
330
+ }
331
+ };
332
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
333
+ var ResourceNotFoundException = _ResourceNotFoundException;
334
+ var ThirdPartyFirewall = {
335
+ FORTIGATE_CLOUD_NATIVE_FIREWALL: "FORTIGATE_CLOUD_NATIVE_FIREWALL",
336
+ PALO_ALTO_NETWORKS_CLOUD_NGFW: "PALO_ALTO_NETWORKS_CLOUD_NGFW"
337
+ };
338
+ var ThirdPartyFirewallAssociationStatus = {
339
+ NOT_EXIST: "NOT_EXIST",
340
+ OFFBOARDING: "OFFBOARDING",
341
+ OFFBOARD_COMPLETE: "OFFBOARD_COMPLETE",
342
+ ONBOARDING: "ONBOARDING",
343
+ ONBOARD_COMPLETE: "ONBOARD_COMPLETE"
344
+ };
345
+ var FailedItemReason = {
346
+ NotValidAccountId: "NOT_VALID_ACCOUNT_ID",
347
+ NotValidArn: "NOT_VALID_ARN",
348
+ NotValidPartition: "NOT_VALID_PARTITION",
349
+ NotValidRegion: "NOT_VALID_REGION",
350
+ NotValidResourceType: "NOT_VALID_RESOURCE_TYPE",
351
+ NotValidService: "NOT_VALID_SERVICE"
352
+ };
353
+ var DependentServiceName = {
354
+ AWSConfig: "AWSCONFIG",
355
+ AWSShieldAdvanced: "AWSSHIELD_ADVANCED",
356
+ AWSVirtualPrivateCloud: "AWSVPC",
357
+ AWSWAF: "AWSWAF"
358
+ };
359
+ var ViolationReason = {
360
+ BlackHoleRouteDetected: "BLACK_HOLE_ROUTE_DETECTED",
361
+ BlackHoleRouteDetectedInFirewallSubnet: "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET",
362
+ FMSCreatedSecurityGroupEdited: "FMS_CREATED_SECURITY_GROUP_EDITED",
363
+ FirewallSubnetIsOutOfScope: "FIREWALL_SUBNET_IS_OUT_OF_SCOPE",
364
+ FirewallSubnetMissingExpectedRoute: "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE",
365
+ FirewallSubnetMissingVPCEndpoint: "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT",
366
+ InternetGatewayMissingExpectedRoute: "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE",
367
+ InternetTrafficNotInspected: "INTERNET_TRAFFIC_NOT_INSPECTED",
368
+ InvalidRouteConfiguration: "INVALID_ROUTE_CONFIGURATION",
369
+ MissingExpectedRouteTable: "MISSING_EXPECTED_ROUTE_TABLE",
370
+ MissingFirewall: "MISSING_FIREWALL",
371
+ MissingFirewallSubnetInAZ: "MISSING_FIREWALL_SUBNET_IN_AZ",
372
+ MissingTargetGateway: "MISSING_TARGET_GATEWAY",
373
+ NetworkFirewallPolicyModified: "NETWORK_FIREWALL_POLICY_MODIFIED",
374
+ ResourceIncorrectWebAcl: "RESOURCE_INCORRECT_WEB_ACL",
375
+ ResourceMissingDnsFirewall: "RESOURCE_MISSING_DNS_FIREWALL",
376
+ ResourceMissingSecurityGroup: "RESOURCE_MISSING_SECURITY_GROUP",
377
+ ResourceMissingShieldProtection: "RESOURCE_MISSING_SHIELD_PROTECTION",
378
+ ResourceMissingWebAcl: "RESOURCE_MISSING_WEB_ACL",
379
+ ResourceMissingWebaclOrShieldProtection: "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION",
380
+ ResourceViolatesAuditSecurityGroup: "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP",
381
+ RouteHasOutOfScopeEndpoint: "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT",
382
+ SecurityGroupRedundant: "SECURITY_GROUP_REDUNDANT",
383
+ SecurityGroupUnused: "SECURITY_GROUP_UNUSED",
384
+ TrafficInspectionCrossesAZBoundary: "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY",
385
+ UnexpectedFirewallRoutes: "UNEXPECTED_FIREWALL_ROUTES",
386
+ UnexpectedTargetGatewayRoutes: "UNEXPECTED_TARGET_GATEWAY_ROUTES",
387
+ WebAclMissingRuleGroup: "WEB_ACL_MISSING_RULE_GROUP"
388
+ };
389
+ var CustomerPolicyScopeIdType = {
390
+ ACCOUNT: "ACCOUNT",
391
+ ORG_UNIT: "ORG_UNIT"
392
+ };
393
+ var CustomerPolicyStatus = {
394
+ ACTIVE: "ACTIVE",
395
+ OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE"
396
+ };
397
+ var FirewallDeploymentModel = {
398
+ CENTRALIZED: "CENTRALIZED",
399
+ DISTRIBUTED: "DISTRIBUTED"
400
+ };
401
+ var _InvalidTypeException = class _InvalidTypeException extends FMSServiceException {
402
+ /**
403
+ * @internal
404
+ */
405
+ constructor(opts) {
406
+ super({
407
+ name: "InvalidTypeException",
408
+ $fault: "client",
409
+ ...opts
410
+ });
411
+ this.name = "InvalidTypeException";
412
+ this.$fault = "client";
413
+ Object.setPrototypeOf(this, _InvalidTypeException.prototype);
414
+ this.Message = opts.Message;
415
+ }
416
+ };
417
+ __name(_InvalidTypeException, "InvalidTypeException");
418
+ var InvalidTypeException = _InvalidTypeException;
419
+ var ResourceSetStatus = {
420
+ ACTIVE: "ACTIVE",
421
+ OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE"
422
+ };
423
+ var MarketplaceSubscriptionOnboardingStatus = {
424
+ COMPLETE: "COMPLETE",
425
+ NOT_COMPLETE: "NOT_COMPLETE",
426
+ NO_SUBSCRIPTION: "NO_SUBSCRIPTION"
427
+ };
428
+ var RemediationActionType = {
429
+ Modify: "MODIFY",
430
+ Remove: "REMOVE"
431
+ };
432
+ var DestinationType = {
433
+ IPV4: "IPV4",
434
+ IPV6: "IPV6",
435
+ PrefixList: "PREFIX_LIST"
436
+ };
437
+ var TargetType = {
438
+ CarrierGateway: "CARRIER_GATEWAY",
439
+ EgressOnlyInternetGateway: "EGRESS_ONLY_INTERNET_GATEWAY",
440
+ Gateway: "GATEWAY",
441
+ Instance: "INSTANCE",
442
+ LocalGateway: "LOCAL_GATEWAY",
443
+ NatGateway: "NAT_GATEWAY",
444
+ NetworkInterface: "NETWORK_INTERFACE",
445
+ TransitGateway: "TRANSIT_GATEWAY",
446
+ VPCEndpoint: "VPC_ENDPOINT",
447
+ VPCPeeringConnection: "VPC_PEERING_CONNECTION"
448
+ };
449
+ var RuleOrder = {
450
+ DEFAULT_ACTION_ORDER: "DEFAULT_ACTION_ORDER",
451
+ STRICT_ORDER: "STRICT_ORDER"
452
+ };
453
+ var NetworkFirewallOverrideAction = {
454
+ DROP_TO_ALERT: "DROP_TO_ALERT"
455
+ };
456
+ var PolicyComplianceStatusType = {
457
+ Compliant: "COMPLIANT",
458
+ NonCompliant: "NON_COMPLIANT"
459
+ };
460
+
461
+ // src/protocols/Aws_json1_1.ts
462
+ var se_AssociateAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
463
+ const headers = sharedHeaders("AssociateAdminAccount");
464
+ let body;
465
+ body = JSON.stringify((0, import_smithy_client._json)(input));
466
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
467
+ }, "se_AssociateAdminAccountCommand");
468
+ var se_AssociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (input, context) => {
469
+ const headers = sharedHeaders("AssociateThirdPartyFirewall");
470
+ let body;
471
+ body = JSON.stringify((0, import_smithy_client._json)(input));
472
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
473
+ }, "se_AssociateThirdPartyFirewallCommand");
474
+ var se_BatchAssociateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
475
+ const headers = sharedHeaders("BatchAssociateResource");
476
+ let body;
477
+ body = JSON.stringify((0, import_smithy_client._json)(input));
478
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
479
+ }, "se_BatchAssociateResourceCommand");
480
+ var se_BatchDisassociateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
481
+ const headers = sharedHeaders("BatchDisassociateResource");
482
+ let body;
483
+ body = JSON.stringify((0, import_smithy_client._json)(input));
484
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
485
+ }, "se_BatchDisassociateResourceCommand");
486
+ var se_DeleteAppsListCommand = /* @__PURE__ */ __name(async (input, context) => {
487
+ const headers = sharedHeaders("DeleteAppsList");
488
+ let body;
489
+ body = JSON.stringify((0, import_smithy_client._json)(input));
490
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
491
+ }, "se_DeleteAppsListCommand");
492
+ var se_DeleteNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
493
+ const headers = sharedHeaders("DeleteNotificationChannel");
494
+ let body;
495
+ body = JSON.stringify((0, import_smithy_client._json)(input));
496
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
497
+ }, "se_DeleteNotificationChannelCommand");
498
+ var se_DeletePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
499
+ const headers = sharedHeaders("DeletePolicy");
500
+ let body;
501
+ body = JSON.stringify((0, import_smithy_client._json)(input));
502
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
503
+ }, "se_DeletePolicyCommand");
504
+ var se_DeleteProtocolsListCommand = /* @__PURE__ */ __name(async (input, context) => {
505
+ const headers = sharedHeaders("DeleteProtocolsList");
506
+ let body;
507
+ body = JSON.stringify((0, import_smithy_client._json)(input));
508
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
509
+ }, "se_DeleteProtocolsListCommand");
510
+ var se_DeleteResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
511
+ const headers = sharedHeaders("DeleteResourceSet");
512
+ let body;
513
+ body = JSON.stringify((0, import_smithy_client._json)(input));
514
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
515
+ }, "se_DeleteResourceSetCommand");
516
+ var se_DisassociateAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
517
+ const headers = sharedHeaders("DisassociateAdminAccount");
518
+ let body;
519
+ body = JSON.stringify((0, import_smithy_client._json)(input));
520
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
521
+ }, "se_DisassociateAdminAccountCommand");
522
+ var se_DisassociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (input, context) => {
523
+ const headers = sharedHeaders("DisassociateThirdPartyFirewall");
524
+ let body;
525
+ body = JSON.stringify((0, import_smithy_client._json)(input));
526
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
527
+ }, "se_DisassociateThirdPartyFirewallCommand");
528
+ var se_GetAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
529
+ const headers = sharedHeaders("GetAdminAccount");
530
+ let body;
531
+ body = JSON.stringify((0, import_smithy_client._json)(input));
532
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
533
+ }, "se_GetAdminAccountCommand");
534
+ var se_GetAdminScopeCommand = /* @__PURE__ */ __name(async (input, context) => {
535
+ const headers = sharedHeaders("GetAdminScope");
536
+ let body;
537
+ body = JSON.stringify((0, import_smithy_client._json)(input));
538
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
539
+ }, "se_GetAdminScopeCommand");
540
+ var se_GetAppsListCommand = /* @__PURE__ */ __name(async (input, context) => {
541
+ const headers = sharedHeaders("GetAppsList");
542
+ let body;
543
+ body = JSON.stringify((0, import_smithy_client._json)(input));
544
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
545
+ }, "se_GetAppsListCommand");
546
+ var se_GetComplianceDetailCommand = /* @__PURE__ */ __name(async (input, context) => {
547
+ const headers = sharedHeaders("GetComplianceDetail");
548
+ let body;
549
+ body = JSON.stringify((0, import_smithy_client._json)(input));
550
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
551
+ }, "se_GetComplianceDetailCommand");
552
+ var se_GetNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
553
+ const headers = sharedHeaders("GetNotificationChannel");
554
+ let body;
555
+ body = JSON.stringify((0, import_smithy_client._json)(input));
556
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
557
+ }, "se_GetNotificationChannelCommand");
558
+ var se_GetPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
559
+ const headers = sharedHeaders("GetPolicy");
560
+ let body;
561
+ body = JSON.stringify((0, import_smithy_client._json)(input));
562
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
563
+ }, "se_GetPolicyCommand");
564
+ var se_GetProtectionStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
565
+ const headers = sharedHeaders("GetProtectionStatus");
566
+ let body;
567
+ body = JSON.stringify(se_GetProtectionStatusRequest(input, context));
568
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
569
+ }, "se_GetProtectionStatusCommand");
570
+ var se_GetProtocolsListCommand = /* @__PURE__ */ __name(async (input, context) => {
571
+ const headers = sharedHeaders("GetProtocolsList");
572
+ let body;
573
+ body = JSON.stringify((0, import_smithy_client._json)(input));
574
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
575
+ }, "se_GetProtocolsListCommand");
576
+ var se_GetResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
577
+ const headers = sharedHeaders("GetResourceSet");
578
+ let body;
579
+ body = JSON.stringify((0, import_smithy_client._json)(input));
580
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
581
+ }, "se_GetResourceSetCommand");
582
+ var se_GetThirdPartyFirewallAssociationStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
583
+ const headers = sharedHeaders("GetThirdPartyFirewallAssociationStatus");
584
+ let body;
585
+ body = JSON.stringify((0, import_smithy_client._json)(input));
586
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
587
+ }, "se_GetThirdPartyFirewallAssociationStatusCommand");
588
+ var se_GetViolationDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
589
+ const headers = sharedHeaders("GetViolationDetails");
590
+ let body;
591
+ body = JSON.stringify((0, import_smithy_client._json)(input));
592
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
593
+ }, "se_GetViolationDetailsCommand");
594
+ var se_ListAdminAccountsForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
595
+ const headers = sharedHeaders("ListAdminAccountsForOrganization");
596
+ let body;
597
+ body = JSON.stringify((0, import_smithy_client._json)(input));
598
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
599
+ }, "se_ListAdminAccountsForOrganizationCommand");
600
+ var se_ListAdminsManagingAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
601
+ const headers = sharedHeaders("ListAdminsManagingAccount");
602
+ let body;
603
+ body = JSON.stringify((0, import_smithy_client._json)(input));
604
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
605
+ }, "se_ListAdminsManagingAccountCommand");
606
+ var se_ListAppsListsCommand = /* @__PURE__ */ __name(async (input, context) => {
607
+ const headers = sharedHeaders("ListAppsLists");
608
+ let body;
609
+ body = JSON.stringify((0, import_smithy_client._json)(input));
610
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
611
+ }, "se_ListAppsListsCommand");
612
+ var se_ListComplianceStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
613
+ const headers = sharedHeaders("ListComplianceStatus");
614
+ let body;
615
+ body = JSON.stringify((0, import_smithy_client._json)(input));
616
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
617
+ }, "se_ListComplianceStatusCommand");
618
+ var se_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
619
+ const headers = sharedHeaders("ListDiscoveredResources");
620
+ let body;
621
+ body = JSON.stringify((0, import_smithy_client._json)(input));
622
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
623
+ }, "se_ListDiscoveredResourcesCommand");
624
+ var se_ListMemberAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
625
+ const headers = sharedHeaders("ListMemberAccounts");
626
+ let body;
627
+ body = JSON.stringify((0, import_smithy_client._json)(input));
628
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
629
+ }, "se_ListMemberAccountsCommand");
630
+ var se_ListPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
631
+ const headers = sharedHeaders("ListPolicies");
632
+ let body;
633
+ body = JSON.stringify((0, import_smithy_client._json)(input));
634
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
635
+ }, "se_ListPoliciesCommand");
636
+ var se_ListProtocolsListsCommand = /* @__PURE__ */ __name(async (input, context) => {
637
+ const headers = sharedHeaders("ListProtocolsLists");
638
+ let body;
639
+ body = JSON.stringify((0, import_smithy_client._json)(input));
640
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
641
+ }, "se_ListProtocolsListsCommand");
642
+ var se_ListResourceSetResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
643
+ const headers = sharedHeaders("ListResourceSetResources");
644
+ let body;
645
+ body = JSON.stringify((0, import_smithy_client._json)(input));
646
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
647
+ }, "se_ListResourceSetResourcesCommand");
648
+ var se_ListResourceSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
649
+ const headers = sharedHeaders("ListResourceSets");
650
+ let body;
651
+ body = JSON.stringify((0, import_smithy_client._json)(input));
652
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
653
+ }, "se_ListResourceSetsCommand");
654
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
655
+ const headers = sharedHeaders("ListTagsForResource");
656
+ let body;
657
+ body = JSON.stringify((0, import_smithy_client._json)(input));
658
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
659
+ }, "se_ListTagsForResourceCommand");
660
+ var se_ListThirdPartyFirewallFirewallPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
661
+ const headers = sharedHeaders("ListThirdPartyFirewallFirewallPolicies");
662
+ let body;
663
+ body = JSON.stringify((0, import_smithy_client._json)(input));
664
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
665
+ }, "se_ListThirdPartyFirewallFirewallPoliciesCommand");
666
+ var se_PutAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
667
+ const headers = sharedHeaders("PutAdminAccount");
668
+ let body;
669
+ body = JSON.stringify((0, import_smithy_client._json)(input));
670
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
671
+ }, "se_PutAdminAccountCommand");
672
+ var se_PutAppsListCommand = /* @__PURE__ */ __name(async (input, context) => {
673
+ const headers = sharedHeaders("PutAppsList");
674
+ let body;
675
+ body = JSON.stringify(se_PutAppsListRequest(input, context));
676
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
677
+ }, "se_PutAppsListCommand");
678
+ var se_PutNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
679
+ const headers = sharedHeaders("PutNotificationChannel");
680
+ let body;
681
+ body = JSON.stringify((0, import_smithy_client._json)(input));
682
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
683
+ }, "se_PutNotificationChannelCommand");
684
+ var se_PutPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
685
+ const headers = sharedHeaders("PutPolicy");
686
+ let body;
687
+ body = JSON.stringify((0, import_smithy_client._json)(input));
688
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
689
+ }, "se_PutPolicyCommand");
690
+ var se_PutProtocolsListCommand = /* @__PURE__ */ __name(async (input, context) => {
691
+ const headers = sharedHeaders("PutProtocolsList");
692
+ let body;
693
+ body = JSON.stringify(se_PutProtocolsListRequest(input, context));
694
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
695
+ }, "se_PutProtocolsListCommand");
696
+ var se_PutResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
697
+ const headers = sharedHeaders("PutResourceSet");
698
+ let body;
699
+ body = JSON.stringify(se_PutResourceSetRequest(input, context));
700
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
701
+ }, "se_PutResourceSetCommand");
702
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
703
+ const headers = sharedHeaders("TagResource");
704
+ let body;
705
+ body = JSON.stringify((0, import_smithy_client._json)(input));
706
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
707
+ }, "se_TagResourceCommand");
708
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
709
+ const headers = sharedHeaders("UntagResource");
710
+ let body;
711
+ body = JSON.stringify((0, import_smithy_client._json)(input));
712
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
713
+ }, "se_UntagResourceCommand");
714
+ var de_AssociateAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
715
+ if (output.statusCode >= 300) {
716
+ return de_AssociateAdminAccountCommandError(output, context);
717
+ }
718
+ await (0, import_smithy_client.collectBody)(output.body, context);
719
+ const response = {
720
+ $metadata: deserializeMetadata(output)
721
+ };
722
+ return response;
723
+ }, "de_AssociateAdminAccountCommand");
724
+ var de_AssociateAdminAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
725
+ const parsedOutput = {
726
+ ...output,
727
+ body: await parseErrorBody(output.body, context)
728
+ };
729
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
730
+ switch (errorCode) {
731
+ case "InternalErrorException":
732
+ case "com.amazonaws.fms#InternalErrorException":
733
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
734
+ case "InvalidInputException":
735
+ case "com.amazonaws.fms#InvalidInputException":
736
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
737
+ case "InvalidOperationException":
738
+ case "com.amazonaws.fms#InvalidOperationException":
739
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
740
+ case "LimitExceededException":
741
+ case "com.amazonaws.fms#LimitExceededException":
742
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
743
+ case "ResourceNotFoundException":
744
+ case "com.amazonaws.fms#ResourceNotFoundException":
745
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
746
+ default:
747
+ const parsedBody = parsedOutput.body;
748
+ return throwDefaultError({
749
+ output,
750
+ parsedBody,
751
+ errorCode
752
+ });
753
+ }
754
+ }, "de_AssociateAdminAccountCommandError");
755
+ var de_AssociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (output, context) => {
756
+ if (output.statusCode >= 300) {
757
+ return de_AssociateThirdPartyFirewallCommandError(output, context);
758
+ }
759
+ const data = await parseBody(output.body, context);
760
+ let contents = {};
761
+ contents = (0, import_smithy_client._json)(data);
762
+ const response = {
763
+ $metadata: deserializeMetadata(output),
764
+ ...contents
765
+ };
766
+ return response;
767
+ }, "de_AssociateThirdPartyFirewallCommand");
768
+ var de_AssociateThirdPartyFirewallCommandError = /* @__PURE__ */ __name(async (output, context) => {
769
+ const parsedOutput = {
770
+ ...output,
771
+ body: await parseErrorBody(output.body, context)
772
+ };
773
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
774
+ switch (errorCode) {
775
+ case "InternalErrorException":
776
+ case "com.amazonaws.fms#InternalErrorException":
777
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
778
+ case "InvalidInputException":
779
+ case "com.amazonaws.fms#InvalidInputException":
780
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
781
+ case "InvalidOperationException":
782
+ case "com.amazonaws.fms#InvalidOperationException":
783
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
784
+ case "ResourceNotFoundException":
785
+ case "com.amazonaws.fms#ResourceNotFoundException":
786
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
787
+ default:
788
+ const parsedBody = parsedOutput.body;
789
+ return throwDefaultError({
790
+ output,
791
+ parsedBody,
792
+ errorCode
793
+ });
794
+ }
795
+ }, "de_AssociateThirdPartyFirewallCommandError");
796
+ var de_BatchAssociateResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
797
+ if (output.statusCode >= 300) {
798
+ return de_BatchAssociateResourceCommandError(output, context);
799
+ }
800
+ const data = await parseBody(output.body, context);
801
+ let contents = {};
802
+ contents = (0, import_smithy_client._json)(data);
803
+ const response = {
804
+ $metadata: deserializeMetadata(output),
805
+ ...contents
806
+ };
807
+ return response;
808
+ }, "de_BatchAssociateResourceCommand");
809
+ var de_BatchAssociateResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
810
+ const parsedOutput = {
811
+ ...output,
812
+ body: await parseErrorBody(output.body, context)
813
+ };
814
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
815
+ switch (errorCode) {
816
+ case "InternalErrorException":
817
+ case "com.amazonaws.fms#InternalErrorException":
818
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
819
+ case "InvalidInputException":
820
+ case "com.amazonaws.fms#InvalidInputException":
821
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
822
+ case "InvalidOperationException":
823
+ case "com.amazonaws.fms#InvalidOperationException":
824
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
825
+ case "LimitExceededException":
826
+ case "com.amazonaws.fms#LimitExceededException":
827
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
828
+ case "ResourceNotFoundException":
829
+ case "com.amazonaws.fms#ResourceNotFoundException":
830
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
831
+ default:
832
+ const parsedBody = parsedOutput.body;
833
+ return throwDefaultError({
834
+ output,
835
+ parsedBody,
836
+ errorCode
837
+ });
838
+ }
839
+ }, "de_BatchAssociateResourceCommandError");
840
+ var de_BatchDisassociateResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
841
+ if (output.statusCode >= 300) {
842
+ return de_BatchDisassociateResourceCommandError(output, context);
843
+ }
844
+ const data = await parseBody(output.body, context);
845
+ let contents = {};
846
+ contents = (0, import_smithy_client._json)(data);
847
+ const response = {
848
+ $metadata: deserializeMetadata(output),
849
+ ...contents
850
+ };
851
+ return response;
852
+ }, "de_BatchDisassociateResourceCommand");
853
+ var de_BatchDisassociateResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
854
+ const parsedOutput = {
855
+ ...output,
856
+ body: await parseErrorBody(output.body, context)
857
+ };
858
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
859
+ switch (errorCode) {
860
+ case "InternalErrorException":
861
+ case "com.amazonaws.fms#InternalErrorException":
862
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
863
+ case "InvalidInputException":
864
+ case "com.amazonaws.fms#InvalidInputException":
865
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
866
+ case "InvalidOperationException":
867
+ case "com.amazonaws.fms#InvalidOperationException":
868
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
869
+ case "ResourceNotFoundException":
870
+ case "com.amazonaws.fms#ResourceNotFoundException":
871
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
872
+ default:
873
+ const parsedBody = parsedOutput.body;
874
+ return throwDefaultError({
875
+ output,
876
+ parsedBody,
877
+ errorCode
878
+ });
879
+ }
880
+ }, "de_BatchDisassociateResourceCommandError");
881
+ var de_DeleteAppsListCommand = /* @__PURE__ */ __name(async (output, context) => {
882
+ if (output.statusCode >= 300) {
883
+ return de_DeleteAppsListCommandError(output, context);
884
+ }
885
+ await (0, import_smithy_client.collectBody)(output.body, context);
886
+ const response = {
887
+ $metadata: deserializeMetadata(output)
888
+ };
889
+ return response;
890
+ }, "de_DeleteAppsListCommand");
891
+ var de_DeleteAppsListCommandError = /* @__PURE__ */ __name(async (output, context) => {
892
+ const parsedOutput = {
893
+ ...output,
894
+ body: await parseErrorBody(output.body, context)
895
+ };
896
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
897
+ switch (errorCode) {
898
+ case "InternalErrorException":
899
+ case "com.amazonaws.fms#InternalErrorException":
900
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
901
+ case "InvalidOperationException":
902
+ case "com.amazonaws.fms#InvalidOperationException":
903
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
904
+ case "ResourceNotFoundException":
905
+ case "com.amazonaws.fms#ResourceNotFoundException":
906
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
907
+ default:
908
+ const parsedBody = parsedOutput.body;
909
+ return throwDefaultError({
910
+ output,
911
+ parsedBody,
912
+ errorCode
913
+ });
914
+ }
915
+ }, "de_DeleteAppsListCommandError");
916
+ var de_DeleteNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
917
+ if (output.statusCode >= 300) {
918
+ return de_DeleteNotificationChannelCommandError(output, context);
919
+ }
920
+ await (0, import_smithy_client.collectBody)(output.body, context);
921
+ const response = {
922
+ $metadata: deserializeMetadata(output)
923
+ };
924
+ return response;
925
+ }, "de_DeleteNotificationChannelCommand");
926
+ var de_DeleteNotificationChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
927
+ const parsedOutput = {
928
+ ...output,
929
+ body: await parseErrorBody(output.body, context)
930
+ };
931
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
932
+ switch (errorCode) {
933
+ case "InternalErrorException":
934
+ case "com.amazonaws.fms#InternalErrorException":
935
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
936
+ case "InvalidOperationException":
937
+ case "com.amazonaws.fms#InvalidOperationException":
938
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
939
+ case "ResourceNotFoundException":
940
+ case "com.amazonaws.fms#ResourceNotFoundException":
941
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
942
+ default:
943
+ const parsedBody = parsedOutput.body;
944
+ return throwDefaultError({
945
+ output,
946
+ parsedBody,
947
+ errorCode
948
+ });
949
+ }
950
+ }, "de_DeleteNotificationChannelCommandError");
951
+ var de_DeletePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
952
+ if (output.statusCode >= 300) {
953
+ return de_DeletePolicyCommandError(output, context);
954
+ }
955
+ await (0, import_smithy_client.collectBody)(output.body, context);
956
+ const response = {
957
+ $metadata: deserializeMetadata(output)
958
+ };
959
+ return response;
960
+ }, "de_DeletePolicyCommand");
961
+ var de_DeletePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
962
+ const parsedOutput = {
963
+ ...output,
964
+ body: await parseErrorBody(output.body, context)
965
+ };
966
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
967
+ switch (errorCode) {
968
+ case "InternalErrorException":
969
+ case "com.amazonaws.fms#InternalErrorException":
970
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
971
+ case "InvalidInputException":
972
+ case "com.amazonaws.fms#InvalidInputException":
973
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
974
+ case "InvalidOperationException":
975
+ case "com.amazonaws.fms#InvalidOperationException":
976
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
977
+ case "LimitExceededException":
978
+ case "com.amazonaws.fms#LimitExceededException":
979
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
980
+ case "ResourceNotFoundException":
981
+ case "com.amazonaws.fms#ResourceNotFoundException":
982
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
983
+ default:
984
+ const parsedBody = parsedOutput.body;
985
+ return throwDefaultError({
986
+ output,
987
+ parsedBody,
988
+ errorCode
989
+ });
990
+ }
991
+ }, "de_DeletePolicyCommandError");
992
+ var de_DeleteProtocolsListCommand = /* @__PURE__ */ __name(async (output, context) => {
993
+ if (output.statusCode >= 300) {
994
+ return de_DeleteProtocolsListCommandError(output, context);
995
+ }
996
+ await (0, import_smithy_client.collectBody)(output.body, context);
997
+ const response = {
998
+ $metadata: deserializeMetadata(output)
999
+ };
1000
+ return response;
1001
+ }, "de_DeleteProtocolsListCommand");
1002
+ var de_DeleteProtocolsListCommandError = /* @__PURE__ */ __name(async (output, context) => {
1003
+ const parsedOutput = {
1004
+ ...output,
1005
+ body: await parseErrorBody(output.body, context)
1006
+ };
1007
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1008
+ switch (errorCode) {
1009
+ case "InternalErrorException":
1010
+ case "com.amazonaws.fms#InternalErrorException":
1011
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1012
+ case "InvalidOperationException":
1013
+ case "com.amazonaws.fms#InvalidOperationException":
1014
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1015
+ case "ResourceNotFoundException":
1016
+ case "com.amazonaws.fms#ResourceNotFoundException":
1017
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1018
+ default:
1019
+ const parsedBody = parsedOutput.body;
1020
+ return throwDefaultError({
1021
+ output,
1022
+ parsedBody,
1023
+ errorCode
1024
+ });
1025
+ }
1026
+ }, "de_DeleteProtocolsListCommandError");
1027
+ var de_DeleteResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1028
+ if (output.statusCode >= 300) {
1029
+ return de_DeleteResourceSetCommandError(output, context);
1030
+ }
1031
+ await (0, import_smithy_client.collectBody)(output.body, context);
1032
+ const response = {
1033
+ $metadata: deserializeMetadata(output)
1034
+ };
1035
+ return response;
1036
+ }, "de_DeleteResourceSetCommand");
1037
+ var de_DeleteResourceSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
1038
+ const parsedOutput = {
1039
+ ...output,
1040
+ body: await parseErrorBody(output.body, context)
1041
+ };
1042
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1043
+ switch (errorCode) {
1044
+ case "InternalErrorException":
1045
+ case "com.amazonaws.fms#InternalErrorException":
1046
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1047
+ case "InvalidInputException":
1048
+ case "com.amazonaws.fms#InvalidInputException":
1049
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1050
+ case "InvalidOperationException":
1051
+ case "com.amazonaws.fms#InvalidOperationException":
1052
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1053
+ case "ResourceNotFoundException":
1054
+ case "com.amazonaws.fms#ResourceNotFoundException":
1055
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1056
+ default:
1057
+ const parsedBody = parsedOutput.body;
1058
+ return throwDefaultError({
1059
+ output,
1060
+ parsedBody,
1061
+ errorCode
1062
+ });
1063
+ }
1064
+ }, "de_DeleteResourceSetCommandError");
1065
+ var de_DisassociateAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1066
+ if (output.statusCode >= 300) {
1067
+ return de_DisassociateAdminAccountCommandError(output, context);
1068
+ }
1069
+ await (0, import_smithy_client.collectBody)(output.body, context);
1070
+ const response = {
1071
+ $metadata: deserializeMetadata(output)
1072
+ };
1073
+ return response;
1074
+ }, "de_DisassociateAdminAccountCommand");
1075
+ var de_DisassociateAdminAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
1076
+ const parsedOutput = {
1077
+ ...output,
1078
+ body: await parseErrorBody(output.body, context)
1079
+ };
1080
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1081
+ switch (errorCode) {
1082
+ case "InternalErrorException":
1083
+ case "com.amazonaws.fms#InternalErrorException":
1084
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1085
+ case "InvalidOperationException":
1086
+ case "com.amazonaws.fms#InvalidOperationException":
1087
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1088
+ case "ResourceNotFoundException":
1089
+ case "com.amazonaws.fms#ResourceNotFoundException":
1090
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1091
+ default:
1092
+ const parsedBody = parsedOutput.body;
1093
+ return throwDefaultError({
1094
+ output,
1095
+ parsedBody,
1096
+ errorCode
1097
+ });
1098
+ }
1099
+ }, "de_DisassociateAdminAccountCommandError");
1100
+ var de_DisassociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (output, context) => {
1101
+ if (output.statusCode >= 300) {
1102
+ return de_DisassociateThirdPartyFirewallCommandError(output, context);
1103
+ }
1104
+ const data = await parseBody(output.body, context);
1105
+ let contents = {};
1106
+ contents = (0, import_smithy_client._json)(data);
1107
+ const response = {
1108
+ $metadata: deserializeMetadata(output),
1109
+ ...contents
1110
+ };
1111
+ return response;
1112
+ }, "de_DisassociateThirdPartyFirewallCommand");
1113
+ var de_DisassociateThirdPartyFirewallCommandError = /* @__PURE__ */ __name(async (output, context) => {
1114
+ const parsedOutput = {
1115
+ ...output,
1116
+ body: await parseErrorBody(output.body, context)
1117
+ };
1118
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1119
+ switch (errorCode) {
1120
+ case "InternalErrorException":
1121
+ case "com.amazonaws.fms#InternalErrorException":
1122
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1123
+ case "InvalidInputException":
1124
+ case "com.amazonaws.fms#InvalidInputException":
1125
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1126
+ case "InvalidOperationException":
1127
+ case "com.amazonaws.fms#InvalidOperationException":
1128
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1129
+ case "ResourceNotFoundException":
1130
+ case "com.amazonaws.fms#ResourceNotFoundException":
1131
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1132
+ default:
1133
+ const parsedBody = parsedOutput.body;
1134
+ return throwDefaultError({
1135
+ output,
1136
+ parsedBody,
1137
+ errorCode
1138
+ });
1139
+ }
1140
+ }, "de_DisassociateThirdPartyFirewallCommandError");
1141
+ var de_GetAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1142
+ if (output.statusCode >= 300) {
1143
+ return de_GetAdminAccountCommandError(output, context);
1144
+ }
1145
+ const data = await parseBody(output.body, context);
1146
+ let contents = {};
1147
+ contents = (0, import_smithy_client._json)(data);
1148
+ const response = {
1149
+ $metadata: deserializeMetadata(output),
1150
+ ...contents
1151
+ };
1152
+ return response;
1153
+ }, "de_GetAdminAccountCommand");
1154
+ var de_GetAdminAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
1155
+ const parsedOutput = {
1156
+ ...output,
1157
+ body: await parseErrorBody(output.body, context)
1158
+ };
1159
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1160
+ switch (errorCode) {
1161
+ case "InternalErrorException":
1162
+ case "com.amazonaws.fms#InternalErrorException":
1163
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1164
+ case "InvalidOperationException":
1165
+ case "com.amazonaws.fms#InvalidOperationException":
1166
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1167
+ case "ResourceNotFoundException":
1168
+ case "com.amazonaws.fms#ResourceNotFoundException":
1169
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1170
+ default:
1171
+ const parsedBody = parsedOutput.body;
1172
+ return throwDefaultError({
1173
+ output,
1174
+ parsedBody,
1175
+ errorCode
1176
+ });
1177
+ }
1178
+ }, "de_GetAdminAccountCommandError");
1179
+ var de_GetAdminScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
1180
+ if (output.statusCode >= 300) {
1181
+ return de_GetAdminScopeCommandError(output, context);
1182
+ }
1183
+ const data = await parseBody(output.body, context);
1184
+ let contents = {};
1185
+ contents = (0, import_smithy_client._json)(data);
1186
+ const response = {
1187
+ $metadata: deserializeMetadata(output),
1188
+ ...contents
1189
+ };
1190
+ return response;
1191
+ }, "de_GetAdminScopeCommand");
1192
+ var de_GetAdminScopeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1193
+ const parsedOutput = {
1194
+ ...output,
1195
+ body: await parseErrorBody(output.body, context)
1196
+ };
1197
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1198
+ switch (errorCode) {
1199
+ case "InternalErrorException":
1200
+ case "com.amazonaws.fms#InternalErrorException":
1201
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1202
+ case "InvalidInputException":
1203
+ case "com.amazonaws.fms#InvalidInputException":
1204
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1205
+ case "InvalidOperationException":
1206
+ case "com.amazonaws.fms#InvalidOperationException":
1207
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1208
+ case "LimitExceededException":
1209
+ case "com.amazonaws.fms#LimitExceededException":
1210
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1211
+ case "ResourceNotFoundException":
1212
+ case "com.amazonaws.fms#ResourceNotFoundException":
1213
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1214
+ default:
1215
+ const parsedBody = parsedOutput.body;
1216
+ return throwDefaultError({
1217
+ output,
1218
+ parsedBody,
1219
+ errorCode
1220
+ });
1221
+ }
1222
+ }, "de_GetAdminScopeCommandError");
1223
+ var de_GetAppsListCommand = /* @__PURE__ */ __name(async (output, context) => {
1224
+ if (output.statusCode >= 300) {
1225
+ return de_GetAppsListCommandError(output, context);
1226
+ }
1227
+ const data = await parseBody(output.body, context);
1228
+ let contents = {};
1229
+ contents = de_GetAppsListResponse(data, context);
1230
+ const response = {
1231
+ $metadata: deserializeMetadata(output),
1232
+ ...contents
1233
+ };
1234
+ return response;
1235
+ }, "de_GetAppsListCommand");
1236
+ var de_GetAppsListCommandError = /* @__PURE__ */ __name(async (output, context) => {
1237
+ const parsedOutput = {
1238
+ ...output,
1239
+ body: await parseErrorBody(output.body, context)
1240
+ };
1241
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1242
+ switch (errorCode) {
1243
+ case "InternalErrorException":
1244
+ case "com.amazonaws.fms#InternalErrorException":
1245
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1246
+ case "InvalidOperationException":
1247
+ case "com.amazonaws.fms#InvalidOperationException":
1248
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1249
+ case "ResourceNotFoundException":
1250
+ case "com.amazonaws.fms#ResourceNotFoundException":
1251
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1252
+ default:
1253
+ const parsedBody = parsedOutput.body;
1254
+ return throwDefaultError({
1255
+ output,
1256
+ parsedBody,
1257
+ errorCode
1258
+ });
1259
+ }
1260
+ }, "de_GetAppsListCommandError");
1261
+ var de_GetComplianceDetailCommand = /* @__PURE__ */ __name(async (output, context) => {
1262
+ if (output.statusCode >= 300) {
1263
+ return de_GetComplianceDetailCommandError(output, context);
1264
+ }
1265
+ const data = await parseBody(output.body, context);
1266
+ let contents = {};
1267
+ contents = de_GetComplianceDetailResponse(data, context);
1268
+ const response = {
1269
+ $metadata: deserializeMetadata(output),
1270
+ ...contents
1271
+ };
1272
+ return response;
1273
+ }, "de_GetComplianceDetailCommand");
1274
+ var de_GetComplianceDetailCommandError = /* @__PURE__ */ __name(async (output, context) => {
1275
+ const parsedOutput = {
1276
+ ...output,
1277
+ body: await parseErrorBody(output.body, context)
1278
+ };
1279
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1280
+ switch (errorCode) {
1281
+ case "InternalErrorException":
1282
+ case "com.amazonaws.fms#InternalErrorException":
1283
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1284
+ case "InvalidInputException":
1285
+ case "com.amazonaws.fms#InvalidInputException":
1286
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1287
+ case "InvalidOperationException":
1288
+ case "com.amazonaws.fms#InvalidOperationException":
1289
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1290
+ case "ResourceNotFoundException":
1291
+ case "com.amazonaws.fms#ResourceNotFoundException":
1292
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1293
+ default:
1294
+ const parsedBody = parsedOutput.body;
1295
+ return throwDefaultError({
1296
+ output,
1297
+ parsedBody,
1298
+ errorCode
1299
+ });
1300
+ }
1301
+ }, "de_GetComplianceDetailCommandError");
1302
+ var de_GetNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
1303
+ if (output.statusCode >= 300) {
1304
+ return de_GetNotificationChannelCommandError(output, context);
1305
+ }
1306
+ const data = await parseBody(output.body, context);
1307
+ let contents = {};
1308
+ contents = (0, import_smithy_client._json)(data);
1309
+ const response = {
1310
+ $metadata: deserializeMetadata(output),
1311
+ ...contents
1312
+ };
1313
+ return response;
1314
+ }, "de_GetNotificationChannelCommand");
1315
+ var de_GetNotificationChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
1316
+ const parsedOutput = {
1317
+ ...output,
1318
+ body: await parseErrorBody(output.body, context)
1319
+ };
1320
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1321
+ switch (errorCode) {
1322
+ case "InternalErrorException":
1323
+ case "com.amazonaws.fms#InternalErrorException":
1324
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1325
+ case "InvalidOperationException":
1326
+ case "com.amazonaws.fms#InvalidOperationException":
1327
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1328
+ case "ResourceNotFoundException":
1329
+ case "com.amazonaws.fms#ResourceNotFoundException":
1330
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1331
+ default:
1332
+ const parsedBody = parsedOutput.body;
1333
+ return throwDefaultError({
1334
+ output,
1335
+ parsedBody,
1336
+ errorCode
1337
+ });
1338
+ }
1339
+ }, "de_GetNotificationChannelCommandError");
1340
+ var de_GetPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1341
+ if (output.statusCode >= 300) {
1342
+ return de_GetPolicyCommandError(output, context);
1343
+ }
1344
+ const data = await parseBody(output.body, context);
1345
+ let contents = {};
1346
+ contents = (0, import_smithy_client._json)(data);
1347
+ const response = {
1348
+ $metadata: deserializeMetadata(output),
1349
+ ...contents
1350
+ };
1351
+ return response;
1352
+ }, "de_GetPolicyCommand");
1353
+ var de_GetPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
1354
+ const parsedOutput = {
1355
+ ...output,
1356
+ body: await parseErrorBody(output.body, context)
1357
+ };
1358
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1359
+ switch (errorCode) {
1360
+ case "InternalErrorException":
1361
+ case "com.amazonaws.fms#InternalErrorException":
1362
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1363
+ case "InvalidOperationException":
1364
+ case "com.amazonaws.fms#InvalidOperationException":
1365
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1366
+ case "InvalidTypeException":
1367
+ case "com.amazonaws.fms#InvalidTypeException":
1368
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1369
+ case "ResourceNotFoundException":
1370
+ case "com.amazonaws.fms#ResourceNotFoundException":
1371
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1372
+ default:
1373
+ const parsedBody = parsedOutput.body;
1374
+ return throwDefaultError({
1375
+ output,
1376
+ parsedBody,
1377
+ errorCode
1378
+ });
1379
+ }
1380
+ }, "de_GetPolicyCommandError");
1381
+ var de_GetProtectionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1382
+ if (output.statusCode >= 300) {
1383
+ return de_GetProtectionStatusCommandError(output, context);
1384
+ }
1385
+ const data = await parseBody(output.body, context);
1386
+ let contents = {};
1387
+ contents = (0, import_smithy_client._json)(data);
1388
+ const response = {
1389
+ $metadata: deserializeMetadata(output),
1390
+ ...contents
1391
+ };
1392
+ return response;
1393
+ }, "de_GetProtectionStatusCommand");
1394
+ var de_GetProtectionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
1395
+ const parsedOutput = {
1396
+ ...output,
1397
+ body: await parseErrorBody(output.body, context)
1398
+ };
1399
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1400
+ switch (errorCode) {
1401
+ case "InternalErrorException":
1402
+ case "com.amazonaws.fms#InternalErrorException":
1403
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1404
+ case "InvalidInputException":
1405
+ case "com.amazonaws.fms#InvalidInputException":
1406
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1407
+ case "ResourceNotFoundException":
1408
+ case "com.amazonaws.fms#ResourceNotFoundException":
1409
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1410
+ default:
1411
+ const parsedBody = parsedOutput.body;
1412
+ return throwDefaultError({
1413
+ output,
1414
+ parsedBody,
1415
+ errorCode
1416
+ });
1417
+ }
1418
+ }, "de_GetProtectionStatusCommandError");
1419
+ var de_GetProtocolsListCommand = /* @__PURE__ */ __name(async (output, context) => {
1420
+ if (output.statusCode >= 300) {
1421
+ return de_GetProtocolsListCommandError(output, context);
1422
+ }
1423
+ const data = await parseBody(output.body, context);
1424
+ let contents = {};
1425
+ contents = de_GetProtocolsListResponse(data, context);
1426
+ const response = {
1427
+ $metadata: deserializeMetadata(output),
1428
+ ...contents
1429
+ };
1430
+ return response;
1431
+ }, "de_GetProtocolsListCommand");
1432
+ var de_GetProtocolsListCommandError = /* @__PURE__ */ __name(async (output, context) => {
1433
+ const parsedOutput = {
1434
+ ...output,
1435
+ body: await parseErrorBody(output.body, context)
1436
+ };
1437
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1438
+ switch (errorCode) {
1439
+ case "InternalErrorException":
1440
+ case "com.amazonaws.fms#InternalErrorException":
1441
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1442
+ case "InvalidOperationException":
1443
+ case "com.amazonaws.fms#InvalidOperationException":
1444
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1445
+ case "ResourceNotFoundException":
1446
+ case "com.amazonaws.fms#ResourceNotFoundException":
1447
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1448
+ default:
1449
+ const parsedBody = parsedOutput.body;
1450
+ return throwDefaultError({
1451
+ output,
1452
+ parsedBody,
1453
+ errorCode
1454
+ });
1455
+ }
1456
+ }, "de_GetProtocolsListCommandError");
1457
+ var de_GetResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1458
+ if (output.statusCode >= 300) {
1459
+ return de_GetResourceSetCommandError(output, context);
1460
+ }
1461
+ const data = await parseBody(output.body, context);
1462
+ let contents = {};
1463
+ contents = de_GetResourceSetResponse(data, context);
1464
+ const response = {
1465
+ $metadata: deserializeMetadata(output),
1466
+ ...contents
1467
+ };
1468
+ return response;
1469
+ }, "de_GetResourceSetCommand");
1470
+ var de_GetResourceSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
1471
+ const parsedOutput = {
1472
+ ...output,
1473
+ body: await parseErrorBody(output.body, context)
1474
+ };
1475
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1476
+ switch (errorCode) {
1477
+ case "InternalErrorException":
1478
+ case "com.amazonaws.fms#InternalErrorException":
1479
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1480
+ case "InvalidInputException":
1481
+ case "com.amazonaws.fms#InvalidInputException":
1482
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1483
+ case "InvalidOperationException":
1484
+ case "com.amazonaws.fms#InvalidOperationException":
1485
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1486
+ case "ResourceNotFoundException":
1487
+ case "com.amazonaws.fms#ResourceNotFoundException":
1488
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1489
+ default:
1490
+ const parsedBody = parsedOutput.body;
1491
+ return throwDefaultError({
1492
+ output,
1493
+ parsedBody,
1494
+ errorCode
1495
+ });
1496
+ }
1497
+ }, "de_GetResourceSetCommandError");
1498
+ var de_GetThirdPartyFirewallAssociationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1499
+ if (output.statusCode >= 300) {
1500
+ return de_GetThirdPartyFirewallAssociationStatusCommandError(output, context);
1501
+ }
1502
+ const data = await parseBody(output.body, context);
1503
+ let contents = {};
1504
+ contents = (0, import_smithy_client._json)(data);
1505
+ const response = {
1506
+ $metadata: deserializeMetadata(output),
1507
+ ...contents
1508
+ };
1509
+ return response;
1510
+ }, "de_GetThirdPartyFirewallAssociationStatusCommand");
1511
+ var de_GetThirdPartyFirewallAssociationStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
1512
+ const parsedOutput = {
1513
+ ...output,
1514
+ body: await parseErrorBody(output.body, context)
1515
+ };
1516
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1517
+ switch (errorCode) {
1518
+ case "InternalErrorException":
1519
+ case "com.amazonaws.fms#InternalErrorException":
1520
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1521
+ case "InvalidInputException":
1522
+ case "com.amazonaws.fms#InvalidInputException":
1523
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1524
+ case "InvalidOperationException":
1525
+ case "com.amazonaws.fms#InvalidOperationException":
1526
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1527
+ case "ResourceNotFoundException":
1528
+ case "com.amazonaws.fms#ResourceNotFoundException":
1529
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1530
+ default:
1531
+ const parsedBody = parsedOutput.body;
1532
+ return throwDefaultError({
1533
+ output,
1534
+ parsedBody,
1535
+ errorCode
1536
+ });
1537
+ }
1538
+ }, "de_GetThirdPartyFirewallAssociationStatusCommandError");
1539
+ var de_GetViolationDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
1540
+ if (output.statusCode >= 300) {
1541
+ return de_GetViolationDetailsCommandError(output, context);
1542
+ }
1543
+ const data = await parseBody(output.body, context);
1544
+ let contents = {};
1545
+ contents = de_GetViolationDetailsResponse(data, context);
1546
+ const response = {
1547
+ $metadata: deserializeMetadata(output),
1548
+ ...contents
1549
+ };
1550
+ return response;
1551
+ }, "de_GetViolationDetailsCommand");
1552
+ var de_GetViolationDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1553
+ const parsedOutput = {
1554
+ ...output,
1555
+ body: await parseErrorBody(output.body, context)
1556
+ };
1557
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1558
+ switch (errorCode) {
1559
+ case "InternalErrorException":
1560
+ case "com.amazonaws.fms#InternalErrorException":
1561
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1562
+ case "InvalidInputException":
1563
+ case "com.amazonaws.fms#InvalidInputException":
1564
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1565
+ case "ResourceNotFoundException":
1566
+ case "com.amazonaws.fms#ResourceNotFoundException":
1567
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1568
+ default:
1569
+ const parsedBody = parsedOutput.body;
1570
+ return throwDefaultError({
1571
+ output,
1572
+ parsedBody,
1573
+ errorCode
1574
+ });
1575
+ }
1576
+ }, "de_GetViolationDetailsCommandError");
1577
+ var de_ListAdminAccountsForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
1578
+ if (output.statusCode >= 300) {
1579
+ return de_ListAdminAccountsForOrganizationCommandError(output, context);
1580
+ }
1581
+ const data = await parseBody(output.body, context);
1582
+ let contents = {};
1583
+ contents = (0, import_smithy_client._json)(data);
1584
+ const response = {
1585
+ $metadata: deserializeMetadata(output),
1586
+ ...contents
1587
+ };
1588
+ return response;
1589
+ }, "de_ListAdminAccountsForOrganizationCommand");
1590
+ var de_ListAdminAccountsForOrganizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1591
+ const parsedOutput = {
1592
+ ...output,
1593
+ body: await parseErrorBody(output.body, context)
1594
+ };
1595
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1596
+ switch (errorCode) {
1597
+ case "InternalErrorException":
1598
+ case "com.amazonaws.fms#InternalErrorException":
1599
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1600
+ case "InvalidOperationException":
1601
+ case "com.amazonaws.fms#InvalidOperationException":
1602
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1603
+ case "LimitExceededException":
1604
+ case "com.amazonaws.fms#LimitExceededException":
1605
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1606
+ case "ResourceNotFoundException":
1607
+ case "com.amazonaws.fms#ResourceNotFoundException":
1608
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1609
+ default:
1610
+ const parsedBody = parsedOutput.body;
1611
+ return throwDefaultError({
1612
+ output,
1613
+ parsedBody,
1614
+ errorCode
1615
+ });
1616
+ }
1617
+ }, "de_ListAdminAccountsForOrganizationCommandError");
1618
+ var de_ListAdminsManagingAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1619
+ if (output.statusCode >= 300) {
1620
+ return de_ListAdminsManagingAccountCommandError(output, context);
1621
+ }
1622
+ const data = await parseBody(output.body, context);
1623
+ let contents = {};
1624
+ contents = (0, import_smithy_client._json)(data);
1625
+ const response = {
1626
+ $metadata: deserializeMetadata(output),
1627
+ ...contents
1628
+ };
1629
+ return response;
1630
+ }, "de_ListAdminsManagingAccountCommand");
1631
+ var de_ListAdminsManagingAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
1632
+ const parsedOutput = {
1633
+ ...output,
1634
+ body: await parseErrorBody(output.body, context)
1635
+ };
1636
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1637
+ switch (errorCode) {
1638
+ case "InternalErrorException":
1639
+ case "com.amazonaws.fms#InternalErrorException":
1640
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1641
+ case "InvalidInputException":
1642
+ case "com.amazonaws.fms#InvalidInputException":
1643
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1644
+ case "ResourceNotFoundException":
1645
+ case "com.amazonaws.fms#ResourceNotFoundException":
1646
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1647
+ default:
1648
+ const parsedBody = parsedOutput.body;
1649
+ return throwDefaultError({
1650
+ output,
1651
+ parsedBody,
1652
+ errorCode
1653
+ });
1654
+ }
1655
+ }, "de_ListAdminsManagingAccountCommandError");
1656
+ var de_ListAppsListsCommand = /* @__PURE__ */ __name(async (output, context) => {
1657
+ if (output.statusCode >= 300) {
1658
+ return de_ListAppsListsCommandError(output, context);
1659
+ }
1660
+ const data = await parseBody(output.body, context);
1661
+ let contents = {};
1662
+ contents = (0, import_smithy_client._json)(data);
1663
+ const response = {
1664
+ $metadata: deserializeMetadata(output),
1665
+ ...contents
1666
+ };
1667
+ return response;
1668
+ }, "de_ListAppsListsCommand");
1669
+ var de_ListAppsListsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1670
+ const parsedOutput = {
1671
+ ...output,
1672
+ body: await parseErrorBody(output.body, context)
1673
+ };
1674
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1675
+ switch (errorCode) {
1676
+ case "InternalErrorException":
1677
+ case "com.amazonaws.fms#InternalErrorException":
1678
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1679
+ case "InvalidOperationException":
1680
+ case "com.amazonaws.fms#InvalidOperationException":
1681
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1682
+ case "LimitExceededException":
1683
+ case "com.amazonaws.fms#LimitExceededException":
1684
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1685
+ case "ResourceNotFoundException":
1686
+ case "com.amazonaws.fms#ResourceNotFoundException":
1687
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1688
+ default:
1689
+ const parsedBody = parsedOutput.body;
1690
+ return throwDefaultError({
1691
+ output,
1692
+ parsedBody,
1693
+ errorCode
1694
+ });
1695
+ }
1696
+ }, "de_ListAppsListsCommandError");
1697
+ var de_ListComplianceStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1698
+ if (output.statusCode >= 300) {
1699
+ return de_ListComplianceStatusCommandError(output, context);
1700
+ }
1701
+ const data = await parseBody(output.body, context);
1702
+ let contents = {};
1703
+ contents = de_ListComplianceStatusResponse(data, context);
1704
+ const response = {
1705
+ $metadata: deserializeMetadata(output),
1706
+ ...contents
1707
+ };
1708
+ return response;
1709
+ }, "de_ListComplianceStatusCommand");
1710
+ var de_ListComplianceStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
1711
+ const parsedOutput = {
1712
+ ...output,
1713
+ body: await parseErrorBody(output.body, context)
1714
+ };
1715
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1716
+ switch (errorCode) {
1717
+ case "InternalErrorException":
1718
+ case "com.amazonaws.fms#InternalErrorException":
1719
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1720
+ case "ResourceNotFoundException":
1721
+ case "com.amazonaws.fms#ResourceNotFoundException":
1722
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1723
+ default:
1724
+ const parsedBody = parsedOutput.body;
1725
+ return throwDefaultError({
1726
+ output,
1727
+ parsedBody,
1728
+ errorCode
1729
+ });
1730
+ }
1731
+ }, "de_ListComplianceStatusCommandError");
1732
+ var de_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1733
+ if (output.statusCode >= 300) {
1734
+ return de_ListDiscoveredResourcesCommandError(output, context);
1735
+ }
1736
+ const data = await parseBody(output.body, context);
1737
+ let contents = {};
1738
+ contents = (0, import_smithy_client._json)(data);
1739
+ const response = {
1740
+ $metadata: deserializeMetadata(output),
1741
+ ...contents
1742
+ };
1743
+ return response;
1744
+ }, "de_ListDiscoveredResourcesCommand");
1745
+ var de_ListDiscoveredResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1746
+ const parsedOutput = {
1747
+ ...output,
1748
+ body: await parseErrorBody(output.body, context)
1749
+ };
1750
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1751
+ switch (errorCode) {
1752
+ case "InternalErrorException":
1753
+ case "com.amazonaws.fms#InternalErrorException":
1754
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1755
+ case "InvalidInputException":
1756
+ case "com.amazonaws.fms#InvalidInputException":
1757
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1758
+ case "InvalidOperationException":
1759
+ case "com.amazonaws.fms#InvalidOperationException":
1760
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1761
+ default:
1762
+ const parsedBody = parsedOutput.body;
1763
+ return throwDefaultError({
1764
+ output,
1765
+ parsedBody,
1766
+ errorCode
1767
+ });
1768
+ }
1769
+ }, "de_ListDiscoveredResourcesCommandError");
1770
+ var de_ListMemberAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
1771
+ if (output.statusCode >= 300) {
1772
+ return de_ListMemberAccountsCommandError(output, context);
1773
+ }
1774
+ const data = await parseBody(output.body, context);
1775
+ let contents = {};
1776
+ contents = (0, import_smithy_client._json)(data);
1777
+ const response = {
1778
+ $metadata: deserializeMetadata(output),
1779
+ ...contents
1780
+ };
1781
+ return response;
1782
+ }, "de_ListMemberAccountsCommand");
1783
+ var de_ListMemberAccountsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1784
+ const parsedOutput = {
1785
+ ...output,
1786
+ body: await parseErrorBody(output.body, context)
1787
+ };
1788
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1789
+ switch (errorCode) {
1790
+ case "InternalErrorException":
1791
+ case "com.amazonaws.fms#InternalErrorException":
1792
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1793
+ case "ResourceNotFoundException":
1794
+ case "com.amazonaws.fms#ResourceNotFoundException":
1795
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1796
+ default:
1797
+ const parsedBody = parsedOutput.body;
1798
+ return throwDefaultError({
1799
+ output,
1800
+ parsedBody,
1801
+ errorCode
1802
+ });
1803
+ }
1804
+ }, "de_ListMemberAccountsCommandError");
1805
+ var de_ListPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
1806
+ if (output.statusCode >= 300) {
1807
+ return de_ListPoliciesCommandError(output, context);
1808
+ }
1809
+ const data = await parseBody(output.body, context);
1810
+ let contents = {};
1811
+ contents = (0, import_smithy_client._json)(data);
1812
+ const response = {
1813
+ $metadata: deserializeMetadata(output),
1814
+ ...contents
1815
+ };
1816
+ return response;
1817
+ }, "de_ListPoliciesCommand");
1818
+ var de_ListPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1819
+ const parsedOutput = {
1820
+ ...output,
1821
+ body: await parseErrorBody(output.body, context)
1822
+ };
1823
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1824
+ switch (errorCode) {
1825
+ case "InternalErrorException":
1826
+ case "com.amazonaws.fms#InternalErrorException":
1827
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1828
+ case "InvalidOperationException":
1829
+ case "com.amazonaws.fms#InvalidOperationException":
1830
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1831
+ case "LimitExceededException":
1832
+ case "com.amazonaws.fms#LimitExceededException":
1833
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1834
+ case "ResourceNotFoundException":
1835
+ case "com.amazonaws.fms#ResourceNotFoundException":
1836
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1837
+ default:
1838
+ const parsedBody = parsedOutput.body;
1839
+ return throwDefaultError({
1840
+ output,
1841
+ parsedBody,
1842
+ errorCode
1843
+ });
1844
+ }
1845
+ }, "de_ListPoliciesCommandError");
1846
+ var de_ListProtocolsListsCommand = /* @__PURE__ */ __name(async (output, context) => {
1847
+ if (output.statusCode >= 300) {
1848
+ return de_ListProtocolsListsCommandError(output, context);
1849
+ }
1850
+ const data = await parseBody(output.body, context);
1851
+ let contents = {};
1852
+ contents = (0, import_smithy_client._json)(data);
1853
+ const response = {
1854
+ $metadata: deserializeMetadata(output),
1855
+ ...contents
1856
+ };
1857
+ return response;
1858
+ }, "de_ListProtocolsListsCommand");
1859
+ var de_ListProtocolsListsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1860
+ const parsedOutput = {
1861
+ ...output,
1862
+ body: await parseErrorBody(output.body, context)
1863
+ };
1864
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1865
+ switch (errorCode) {
1866
+ case "InternalErrorException":
1867
+ case "com.amazonaws.fms#InternalErrorException":
1868
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1869
+ case "InvalidOperationException":
1870
+ case "com.amazonaws.fms#InvalidOperationException":
1871
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1872
+ case "ResourceNotFoundException":
1873
+ case "com.amazonaws.fms#ResourceNotFoundException":
1874
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1875
+ default:
1876
+ const parsedBody = parsedOutput.body;
1877
+ return throwDefaultError({
1878
+ output,
1879
+ parsedBody,
1880
+ errorCode
1881
+ });
1882
+ }
1883
+ }, "de_ListProtocolsListsCommandError");
1884
+ var de_ListResourceSetResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1885
+ if (output.statusCode >= 300) {
1886
+ return de_ListResourceSetResourcesCommandError(output, context);
1887
+ }
1888
+ const data = await parseBody(output.body, context);
1889
+ let contents = {};
1890
+ contents = (0, import_smithy_client._json)(data);
1891
+ const response = {
1892
+ $metadata: deserializeMetadata(output),
1893
+ ...contents
1894
+ };
1895
+ return response;
1896
+ }, "de_ListResourceSetResourcesCommand");
1897
+ var de_ListResourceSetResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1898
+ const parsedOutput = {
1899
+ ...output,
1900
+ body: await parseErrorBody(output.body, context)
1901
+ };
1902
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1903
+ switch (errorCode) {
1904
+ case "InternalErrorException":
1905
+ case "com.amazonaws.fms#InternalErrorException":
1906
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1907
+ case "InvalidInputException":
1908
+ case "com.amazonaws.fms#InvalidInputException":
1909
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1910
+ case "InvalidOperationException":
1911
+ case "com.amazonaws.fms#InvalidOperationException":
1912
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1913
+ case "ResourceNotFoundException":
1914
+ case "com.amazonaws.fms#ResourceNotFoundException":
1915
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1916
+ default:
1917
+ const parsedBody = parsedOutput.body;
1918
+ return throwDefaultError({
1919
+ output,
1920
+ parsedBody,
1921
+ errorCode
1922
+ });
1923
+ }
1924
+ }, "de_ListResourceSetResourcesCommandError");
1925
+ var de_ListResourceSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1926
+ if (output.statusCode >= 300) {
1927
+ return de_ListResourceSetsCommandError(output, context);
1928
+ }
1929
+ const data = await parseBody(output.body, context);
1930
+ let contents = {};
1931
+ contents = de_ListResourceSetsResponse(data, context);
1932
+ const response = {
1933
+ $metadata: deserializeMetadata(output),
1934
+ ...contents
1935
+ };
1936
+ return response;
1937
+ }, "de_ListResourceSetsCommand");
1938
+ var de_ListResourceSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1939
+ const parsedOutput = {
1940
+ ...output,
1941
+ body: await parseErrorBody(output.body, context)
1942
+ };
1943
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1944
+ switch (errorCode) {
1945
+ case "InternalErrorException":
1946
+ case "com.amazonaws.fms#InternalErrorException":
1947
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1948
+ case "InvalidInputException":
1949
+ case "com.amazonaws.fms#InvalidInputException":
1950
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1951
+ case "InvalidOperationException":
1952
+ case "com.amazonaws.fms#InvalidOperationException":
1953
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1954
+ default:
1955
+ const parsedBody = parsedOutput.body;
1956
+ return throwDefaultError({
1957
+ output,
1958
+ parsedBody,
1959
+ errorCode
1960
+ });
1961
+ }
1962
+ }, "de_ListResourceSetsCommandError");
1963
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1964
+ if (output.statusCode >= 300) {
1965
+ return de_ListTagsForResourceCommandError(output, context);
1966
+ }
1967
+ const data = await parseBody(output.body, context);
1968
+ let contents = {};
1969
+ contents = (0, import_smithy_client._json)(data);
1970
+ const response = {
1971
+ $metadata: deserializeMetadata(output),
1972
+ ...contents
1973
+ };
1974
+ return response;
1975
+ }, "de_ListTagsForResourceCommand");
1976
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1977
+ const parsedOutput = {
1978
+ ...output,
1979
+ body: await parseErrorBody(output.body, context)
1980
+ };
1981
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1982
+ switch (errorCode) {
1983
+ case "InternalErrorException":
1984
+ case "com.amazonaws.fms#InternalErrorException":
1985
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1986
+ case "InvalidInputException":
1987
+ case "com.amazonaws.fms#InvalidInputException":
1988
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1989
+ case "InvalidOperationException":
1990
+ case "com.amazonaws.fms#InvalidOperationException":
1991
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1992
+ case "ResourceNotFoundException":
1993
+ case "com.amazonaws.fms#ResourceNotFoundException":
1994
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1995
+ default:
1996
+ const parsedBody = parsedOutput.body;
1997
+ return throwDefaultError({
1998
+ output,
1999
+ parsedBody,
2000
+ errorCode
2001
+ });
2002
+ }
2003
+ }, "de_ListTagsForResourceCommandError");
2004
+ var de_ListThirdPartyFirewallFirewallPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
2005
+ if (output.statusCode >= 300) {
2006
+ return de_ListThirdPartyFirewallFirewallPoliciesCommandError(output, context);
2007
+ }
2008
+ const data = await parseBody(output.body, context);
2009
+ let contents = {};
2010
+ contents = (0, import_smithy_client._json)(data);
2011
+ const response = {
2012
+ $metadata: deserializeMetadata(output),
2013
+ ...contents
2014
+ };
2015
+ return response;
2016
+ }, "de_ListThirdPartyFirewallFirewallPoliciesCommand");
2017
+ var de_ListThirdPartyFirewallFirewallPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2018
+ const parsedOutput = {
2019
+ ...output,
2020
+ body: await parseErrorBody(output.body, context)
2021
+ };
2022
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2023
+ switch (errorCode) {
2024
+ case "InternalErrorException":
2025
+ case "com.amazonaws.fms#InternalErrorException":
2026
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2027
+ case "InvalidInputException":
2028
+ case "com.amazonaws.fms#InvalidInputException":
2029
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2030
+ case "InvalidOperationException":
2031
+ case "com.amazonaws.fms#InvalidOperationException":
2032
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2033
+ case "ResourceNotFoundException":
2034
+ case "com.amazonaws.fms#ResourceNotFoundException":
2035
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2036
+ default:
2037
+ const parsedBody = parsedOutput.body;
2038
+ return throwDefaultError({
2039
+ output,
2040
+ parsedBody,
2041
+ errorCode
2042
+ });
2043
+ }
2044
+ }, "de_ListThirdPartyFirewallFirewallPoliciesCommandError");
2045
+ var de_PutAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
2046
+ if (output.statusCode >= 300) {
2047
+ return de_PutAdminAccountCommandError(output, context);
2048
+ }
2049
+ await (0, import_smithy_client.collectBody)(output.body, context);
2050
+ const response = {
2051
+ $metadata: deserializeMetadata(output)
2052
+ };
2053
+ return response;
2054
+ }, "de_PutAdminAccountCommand");
2055
+ var de_PutAdminAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
2056
+ const parsedOutput = {
2057
+ ...output,
2058
+ body: await parseErrorBody(output.body, context)
2059
+ };
2060
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2061
+ switch (errorCode) {
2062
+ case "InternalErrorException":
2063
+ case "com.amazonaws.fms#InternalErrorException":
2064
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2065
+ case "InvalidInputException":
2066
+ case "com.amazonaws.fms#InvalidInputException":
2067
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2068
+ case "InvalidOperationException":
2069
+ case "com.amazonaws.fms#InvalidOperationException":
2070
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2071
+ case "LimitExceededException":
2072
+ case "com.amazonaws.fms#LimitExceededException":
2073
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2074
+ default:
2075
+ const parsedBody = parsedOutput.body;
2076
+ return throwDefaultError({
2077
+ output,
2078
+ parsedBody,
2079
+ errorCode
2080
+ });
2081
+ }
2082
+ }, "de_PutAdminAccountCommandError");
2083
+ var de_PutAppsListCommand = /* @__PURE__ */ __name(async (output, context) => {
2084
+ if (output.statusCode >= 300) {
2085
+ return de_PutAppsListCommandError(output, context);
2086
+ }
2087
+ const data = await parseBody(output.body, context);
2088
+ let contents = {};
2089
+ contents = de_PutAppsListResponse(data, context);
2090
+ const response = {
2091
+ $metadata: deserializeMetadata(output),
2092
+ ...contents
2093
+ };
2094
+ return response;
2095
+ }, "de_PutAppsListCommand");
2096
+ var de_PutAppsListCommandError = /* @__PURE__ */ __name(async (output, context) => {
2097
+ const parsedOutput = {
2098
+ ...output,
2099
+ body: await parseErrorBody(output.body, context)
2100
+ };
2101
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2102
+ switch (errorCode) {
2103
+ case "InternalErrorException":
2104
+ case "com.amazonaws.fms#InternalErrorException":
2105
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2106
+ case "InvalidInputException":
2107
+ case "com.amazonaws.fms#InvalidInputException":
2108
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2109
+ case "InvalidOperationException":
2110
+ case "com.amazonaws.fms#InvalidOperationException":
2111
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2112
+ case "LimitExceededException":
2113
+ case "com.amazonaws.fms#LimitExceededException":
2114
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2115
+ case "ResourceNotFoundException":
2116
+ case "com.amazonaws.fms#ResourceNotFoundException":
2117
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2118
+ default:
2119
+ const parsedBody = parsedOutput.body;
2120
+ return throwDefaultError({
2121
+ output,
2122
+ parsedBody,
2123
+ errorCode
2124
+ });
2125
+ }
2126
+ }, "de_PutAppsListCommandError");
2127
+ var de_PutNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
2128
+ if (output.statusCode >= 300) {
2129
+ return de_PutNotificationChannelCommandError(output, context);
2130
+ }
2131
+ await (0, import_smithy_client.collectBody)(output.body, context);
2132
+ const response = {
2133
+ $metadata: deserializeMetadata(output)
2134
+ };
2135
+ return response;
2136
+ }, "de_PutNotificationChannelCommand");
2137
+ var de_PutNotificationChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
2138
+ const parsedOutput = {
2139
+ ...output,
2140
+ body: await parseErrorBody(output.body, context)
2141
+ };
2142
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2143
+ switch (errorCode) {
2144
+ case "InternalErrorException":
2145
+ case "com.amazonaws.fms#InternalErrorException":
2146
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2147
+ case "InvalidOperationException":
2148
+ case "com.amazonaws.fms#InvalidOperationException":
2149
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2150
+ case "ResourceNotFoundException":
2151
+ case "com.amazonaws.fms#ResourceNotFoundException":
2152
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2153
+ default:
2154
+ const parsedBody = parsedOutput.body;
2155
+ return throwDefaultError({
2156
+ output,
2157
+ parsedBody,
2158
+ errorCode
2159
+ });
2160
+ }
2161
+ }, "de_PutNotificationChannelCommandError");
2162
+ var de_PutPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
2163
+ if (output.statusCode >= 300) {
2164
+ return de_PutPolicyCommandError(output, context);
2165
+ }
2166
+ const data = await parseBody(output.body, context);
2167
+ let contents = {};
2168
+ contents = (0, import_smithy_client._json)(data);
2169
+ const response = {
2170
+ $metadata: deserializeMetadata(output),
2171
+ ...contents
2172
+ };
2173
+ return response;
2174
+ }, "de_PutPolicyCommand");
2175
+ var de_PutPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
2176
+ const parsedOutput = {
2177
+ ...output,
2178
+ body: await parseErrorBody(output.body, context)
2179
+ };
2180
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2181
+ switch (errorCode) {
2182
+ case "InternalErrorException":
2183
+ case "com.amazonaws.fms#InternalErrorException":
2184
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2185
+ case "InvalidInputException":
2186
+ case "com.amazonaws.fms#InvalidInputException":
2187
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2188
+ case "InvalidOperationException":
2189
+ case "com.amazonaws.fms#InvalidOperationException":
2190
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2191
+ case "InvalidTypeException":
2192
+ case "com.amazonaws.fms#InvalidTypeException":
2193
+ throw await de_InvalidTypeExceptionRes(parsedOutput, context);
2194
+ case "LimitExceededException":
2195
+ case "com.amazonaws.fms#LimitExceededException":
2196
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2197
+ case "ResourceNotFoundException":
2198
+ case "com.amazonaws.fms#ResourceNotFoundException":
2199
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2200
+ default:
2201
+ const parsedBody = parsedOutput.body;
2202
+ return throwDefaultError({
2203
+ output,
2204
+ parsedBody,
2205
+ errorCode
2206
+ });
2207
+ }
2208
+ }, "de_PutPolicyCommandError");
2209
+ var de_PutProtocolsListCommand = /* @__PURE__ */ __name(async (output, context) => {
2210
+ if (output.statusCode >= 300) {
2211
+ return de_PutProtocolsListCommandError(output, context);
2212
+ }
2213
+ const data = await parseBody(output.body, context);
2214
+ let contents = {};
2215
+ contents = de_PutProtocolsListResponse(data, context);
2216
+ const response = {
2217
+ $metadata: deserializeMetadata(output),
2218
+ ...contents
2219
+ };
2220
+ return response;
2221
+ }, "de_PutProtocolsListCommand");
2222
+ var de_PutProtocolsListCommandError = /* @__PURE__ */ __name(async (output, context) => {
2223
+ const parsedOutput = {
2224
+ ...output,
2225
+ body: await parseErrorBody(output.body, context)
2226
+ };
2227
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2228
+ switch (errorCode) {
2229
+ case "InternalErrorException":
2230
+ case "com.amazonaws.fms#InternalErrorException":
2231
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2232
+ case "InvalidInputException":
2233
+ case "com.amazonaws.fms#InvalidInputException":
2234
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2235
+ case "InvalidOperationException":
2236
+ case "com.amazonaws.fms#InvalidOperationException":
2237
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2238
+ case "LimitExceededException":
2239
+ case "com.amazonaws.fms#LimitExceededException":
2240
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2241
+ case "ResourceNotFoundException":
2242
+ case "com.amazonaws.fms#ResourceNotFoundException":
2243
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2244
+ default:
2245
+ const parsedBody = parsedOutput.body;
2246
+ return throwDefaultError({
2247
+ output,
2248
+ parsedBody,
2249
+ errorCode
2250
+ });
2251
+ }
2252
+ }, "de_PutProtocolsListCommandError");
2253
+ var de_PutResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2254
+ if (output.statusCode >= 300) {
2255
+ return de_PutResourceSetCommandError(output, context);
2256
+ }
2257
+ const data = await parseBody(output.body, context);
2258
+ let contents = {};
2259
+ contents = de_PutResourceSetResponse(data, context);
2260
+ const response = {
2261
+ $metadata: deserializeMetadata(output),
2262
+ ...contents
2263
+ };
2264
+ return response;
2265
+ }, "de_PutResourceSetCommand");
2266
+ var de_PutResourceSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
2267
+ const parsedOutput = {
2268
+ ...output,
2269
+ body: await parseErrorBody(output.body, context)
2270
+ };
2271
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2272
+ switch (errorCode) {
2273
+ case "InternalErrorException":
2274
+ case "com.amazonaws.fms#InternalErrorException":
2275
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2276
+ case "InvalidInputException":
2277
+ case "com.amazonaws.fms#InvalidInputException":
2278
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2279
+ case "InvalidOperationException":
2280
+ case "com.amazonaws.fms#InvalidOperationException":
2281
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2282
+ case "LimitExceededException":
2283
+ case "com.amazonaws.fms#LimitExceededException":
2284
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2285
+ default:
2286
+ const parsedBody = parsedOutput.body;
2287
+ return throwDefaultError({
2288
+ output,
2289
+ parsedBody,
2290
+ errorCode
2291
+ });
2292
+ }
2293
+ }, "de_PutResourceSetCommandError");
2294
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2295
+ if (output.statusCode >= 300) {
2296
+ return de_TagResourceCommandError(output, context);
2297
+ }
2298
+ const data = await parseBody(output.body, context);
2299
+ let contents = {};
2300
+ contents = (0, import_smithy_client._json)(data);
2301
+ const response = {
2302
+ $metadata: deserializeMetadata(output),
2303
+ ...contents
2304
+ };
2305
+ return response;
2306
+ }, "de_TagResourceCommand");
2307
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2308
+ const parsedOutput = {
2309
+ ...output,
2310
+ body: await parseErrorBody(output.body, context)
2311
+ };
2312
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2313
+ switch (errorCode) {
2314
+ case "InternalErrorException":
2315
+ case "com.amazonaws.fms#InternalErrorException":
2316
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2317
+ case "InvalidInputException":
2318
+ case "com.amazonaws.fms#InvalidInputException":
2319
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2320
+ case "InvalidOperationException":
2321
+ case "com.amazonaws.fms#InvalidOperationException":
2322
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2323
+ case "LimitExceededException":
2324
+ case "com.amazonaws.fms#LimitExceededException":
2325
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
2326
+ case "ResourceNotFoundException":
2327
+ case "com.amazonaws.fms#ResourceNotFoundException":
2328
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2329
+ default:
2330
+ const parsedBody = parsedOutput.body;
2331
+ return throwDefaultError({
2332
+ output,
2333
+ parsedBody,
2334
+ errorCode
2335
+ });
2336
+ }
2337
+ }, "de_TagResourceCommandError");
2338
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2339
+ if (output.statusCode >= 300) {
2340
+ return de_UntagResourceCommandError(output, context);
2341
+ }
2342
+ const data = await parseBody(output.body, context);
2343
+ let contents = {};
2344
+ contents = (0, import_smithy_client._json)(data);
2345
+ const response = {
2346
+ $metadata: deserializeMetadata(output),
2347
+ ...contents
2348
+ };
2349
+ return response;
2350
+ }, "de_UntagResourceCommand");
2351
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2352
+ const parsedOutput = {
2353
+ ...output,
2354
+ body: await parseErrorBody(output.body, context)
2355
+ };
2356
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2357
+ switch (errorCode) {
2358
+ case "InternalErrorException":
2359
+ case "com.amazonaws.fms#InternalErrorException":
2360
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2361
+ case "InvalidInputException":
2362
+ case "com.amazonaws.fms#InvalidInputException":
2363
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
2364
+ case "InvalidOperationException":
2365
+ case "com.amazonaws.fms#InvalidOperationException":
2366
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2367
+ case "ResourceNotFoundException":
2368
+ case "com.amazonaws.fms#ResourceNotFoundException":
2369
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2370
+ default:
2371
+ const parsedBody = parsedOutput.body;
2372
+ return throwDefaultError({
2373
+ output,
2374
+ parsedBody,
2375
+ errorCode
2376
+ });
2377
+ }
2378
+ }, "de_UntagResourceCommandError");
2379
+ var de_InternalErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2380
+ const body = parsedOutput.body;
2381
+ const deserialized = (0, import_smithy_client._json)(body);
2382
+ const exception = new InternalErrorException({
2383
+ $metadata: deserializeMetadata(parsedOutput),
2384
+ ...deserialized
2385
+ });
2386
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2387
+ }, "de_InternalErrorExceptionRes");
2388
+ var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2389
+ const body = parsedOutput.body;
2390
+ const deserialized = (0, import_smithy_client._json)(body);
2391
+ const exception = new InvalidInputException({
2392
+ $metadata: deserializeMetadata(parsedOutput),
2393
+ ...deserialized
2394
+ });
2395
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2396
+ }, "de_InvalidInputExceptionRes");
2397
+ var de_InvalidOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2398
+ const body = parsedOutput.body;
2399
+ const deserialized = (0, import_smithy_client._json)(body);
2400
+ const exception = new InvalidOperationException({
2401
+ $metadata: deserializeMetadata(parsedOutput),
2402
+ ...deserialized
2403
+ });
2404
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2405
+ }, "de_InvalidOperationExceptionRes");
2406
+ var de_InvalidTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2407
+ const body = parsedOutput.body;
2408
+ const deserialized = (0, import_smithy_client._json)(body);
2409
+ const exception = new InvalidTypeException({
2410
+ $metadata: deserializeMetadata(parsedOutput),
2411
+ ...deserialized
2412
+ });
2413
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2414
+ }, "de_InvalidTypeExceptionRes");
2415
+ var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2416
+ const body = parsedOutput.body;
2417
+ const deserialized = (0, import_smithy_client._json)(body);
2418
+ const exception = new LimitExceededException({
2419
+ $metadata: deserializeMetadata(parsedOutput),
2420
+ ...deserialized
2421
+ });
2422
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2423
+ }, "de_LimitExceededExceptionRes");
2424
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2425
+ const body = parsedOutput.body;
2426
+ const deserialized = (0, import_smithy_client._json)(body);
2427
+ const exception = new ResourceNotFoundException({
2428
+ $metadata: deserializeMetadata(parsedOutput),
2429
+ ...deserialized
2430
+ });
2431
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2432
+ }, "de_ResourceNotFoundExceptionRes");
2433
+ var se_AppsListData = /* @__PURE__ */ __name((input, context) => {
2434
+ return (0, import_smithy_client.take)(input, {
2435
+ AppsList: import_smithy_client._json,
2436
+ CreateTime: (_) => Math.round(_.getTime() / 1e3),
2437
+ LastUpdateTime: (_) => Math.round(_.getTime() / 1e3),
2438
+ ListId: [],
2439
+ ListName: [],
2440
+ ListUpdateToken: [],
2441
+ PreviousAppsList: import_smithy_client._json
2442
+ });
2443
+ }, "se_AppsListData");
2444
+ var se_GetProtectionStatusRequest = /* @__PURE__ */ __name((input, context) => {
2445
+ return (0, import_smithy_client.take)(input, {
2446
+ EndTime: (_) => Math.round(_.getTime() / 1e3),
2447
+ MaxResults: [],
2448
+ MemberAccountId: [],
2449
+ NextToken: [],
2450
+ PolicyId: [],
2451
+ StartTime: (_) => Math.round(_.getTime() / 1e3)
2452
+ });
2453
+ }, "se_GetProtectionStatusRequest");
2454
+ var se_ProtocolsListData = /* @__PURE__ */ __name((input, context) => {
2455
+ return (0, import_smithy_client.take)(input, {
2456
+ CreateTime: (_) => Math.round(_.getTime() / 1e3),
2457
+ LastUpdateTime: (_) => Math.round(_.getTime() / 1e3),
2458
+ ListId: [],
2459
+ ListName: [],
2460
+ ListUpdateToken: [],
2461
+ PreviousProtocolsList: import_smithy_client._json,
2462
+ ProtocolsList: import_smithy_client._json
2463
+ });
2464
+ }, "se_ProtocolsListData");
2465
+ var se_PutAppsListRequest = /* @__PURE__ */ __name((input, context) => {
2466
+ return (0, import_smithy_client.take)(input, {
2467
+ AppsList: (_) => se_AppsListData(_, context),
2468
+ TagList: import_smithy_client._json
2469
+ });
2470
+ }, "se_PutAppsListRequest");
2471
+ var se_PutProtocolsListRequest = /* @__PURE__ */ __name((input, context) => {
2472
+ return (0, import_smithy_client.take)(input, {
2473
+ ProtocolsList: (_) => se_ProtocolsListData(_, context),
2474
+ TagList: import_smithy_client._json
2475
+ });
2476
+ }, "se_PutProtocolsListRequest");
2477
+ var se_PutResourceSetRequest = /* @__PURE__ */ __name((input, context) => {
2478
+ return (0, import_smithy_client.take)(input, {
2479
+ ResourceSet: (_) => se_ResourceSet(_, context),
2480
+ TagList: import_smithy_client._json
2481
+ });
2482
+ }, "se_PutResourceSetRequest");
2483
+ var se_ResourceSet = /* @__PURE__ */ __name((input, context) => {
2484
+ return (0, import_smithy_client.take)(input, {
2485
+ Description: [],
2486
+ Id: [],
2487
+ LastUpdateTime: (_) => Math.round(_.getTime() / 1e3),
2488
+ Name: [],
2489
+ ResourceSetStatus: [],
2490
+ ResourceTypeList: import_smithy_client._json,
2491
+ UpdateToken: []
2492
+ });
2493
+ }, "se_ResourceSet");
2494
+ var de_AppsListData = /* @__PURE__ */ __name((output, context) => {
2495
+ return (0, import_smithy_client.take)(output, {
2496
+ AppsList: import_smithy_client._json,
2497
+ CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2498
+ LastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2499
+ ListId: import_smithy_client.expectString,
2500
+ ListName: import_smithy_client.expectString,
2501
+ ListUpdateToken: import_smithy_client.expectString,
2502
+ PreviousAppsList: import_smithy_client._json
2503
+ });
2504
+ }, "de_AppsListData");
2505
+ var de_GetAppsListResponse = /* @__PURE__ */ __name((output, context) => {
2506
+ return (0, import_smithy_client.take)(output, {
2507
+ AppsList: (_) => de_AppsListData(_, context),
2508
+ AppsListArn: import_smithy_client.expectString
2509
+ });
2510
+ }, "de_GetAppsListResponse");
2511
+ var de_GetComplianceDetailResponse = /* @__PURE__ */ __name((output, context) => {
2512
+ return (0, import_smithy_client.take)(output, {
2513
+ PolicyComplianceDetail: (_) => de_PolicyComplianceDetail(_, context)
2514
+ });
2515
+ }, "de_GetComplianceDetailResponse");
2516
+ var de_GetProtocolsListResponse = /* @__PURE__ */ __name((output, context) => {
2517
+ return (0, import_smithy_client.take)(output, {
2518
+ ProtocolsList: (_) => de_ProtocolsListData(_, context),
2519
+ ProtocolsListArn: import_smithy_client.expectString
2520
+ });
2521
+ }, "de_GetProtocolsListResponse");
2522
+ var de_GetResourceSetResponse = /* @__PURE__ */ __name((output, context) => {
2523
+ return (0, import_smithy_client.take)(output, {
2524
+ ResourceSet: (_) => de_ResourceSet(_, context),
2525
+ ResourceSetArn: import_smithy_client.expectString
2526
+ });
2527
+ }, "de_GetResourceSetResponse");
2528
+ var de_GetViolationDetailsResponse = /* @__PURE__ */ __name((output, context) => {
2529
+ return (0, import_smithy_client.take)(output, {
2530
+ ViolationDetail: (_) => de_ViolationDetail(_, context)
2531
+ });
2532
+ }, "de_GetViolationDetailsResponse");
2533
+ var de_ListComplianceStatusResponse = /* @__PURE__ */ __name((output, context) => {
2534
+ return (0, import_smithy_client.take)(output, {
2535
+ NextToken: import_smithy_client.expectString,
2536
+ PolicyComplianceStatusList: (_) => de_PolicyComplianceStatusList(_, context)
2537
+ });
2538
+ }, "de_ListComplianceStatusResponse");
2539
+ var de_ListResourceSetsResponse = /* @__PURE__ */ __name((output, context) => {
2540
+ return (0, import_smithy_client.take)(output, {
2541
+ NextToken: import_smithy_client.expectString,
2542
+ ResourceSets: (_) => de_ResourceSetSummaryList(_, context)
2543
+ });
2544
+ }, "de_ListResourceSetsResponse");
2545
+ var de_PolicyComplianceDetail = /* @__PURE__ */ __name((output, context) => {
2546
+ return (0, import_smithy_client.take)(output, {
2547
+ EvaluationLimitExceeded: import_smithy_client.expectBoolean,
2548
+ ExpiredAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2549
+ IssueInfoMap: import_smithy_client._json,
2550
+ MemberAccount: import_smithy_client.expectString,
2551
+ PolicyId: import_smithy_client.expectString,
2552
+ PolicyOwner: import_smithy_client.expectString,
2553
+ Violators: import_smithy_client._json
2554
+ });
2555
+ }, "de_PolicyComplianceDetail");
2556
+ var de_PolicyComplianceStatus = /* @__PURE__ */ __name((output, context) => {
2557
+ return (0, import_smithy_client.take)(output, {
2558
+ EvaluationResults: import_smithy_client._json,
2559
+ IssueInfoMap: import_smithy_client._json,
2560
+ LastUpdated: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2561
+ MemberAccount: import_smithy_client.expectString,
2562
+ PolicyId: import_smithy_client.expectString,
2563
+ PolicyName: import_smithy_client.expectString,
2564
+ PolicyOwner: import_smithy_client.expectString
2565
+ });
2566
+ }, "de_PolicyComplianceStatus");
2567
+ var de_PolicyComplianceStatusList = /* @__PURE__ */ __name((output, context) => {
2568
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2569
+ return de_PolicyComplianceStatus(entry, context);
2570
+ });
2571
+ return retVal;
2572
+ }, "de_PolicyComplianceStatusList");
2573
+ var de_ProtocolsListData = /* @__PURE__ */ __name((output, context) => {
2574
+ return (0, import_smithy_client.take)(output, {
2575
+ CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2576
+ LastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2577
+ ListId: import_smithy_client.expectString,
2578
+ ListName: import_smithy_client.expectString,
2579
+ ListUpdateToken: import_smithy_client.expectString,
2580
+ PreviousProtocolsList: import_smithy_client._json,
2581
+ ProtocolsList: import_smithy_client._json
2582
+ });
2583
+ }, "de_ProtocolsListData");
2584
+ var de_PutAppsListResponse = /* @__PURE__ */ __name((output, context) => {
2585
+ return (0, import_smithy_client.take)(output, {
2586
+ AppsList: (_) => de_AppsListData(_, context),
2587
+ AppsListArn: import_smithy_client.expectString
2588
+ });
2589
+ }, "de_PutAppsListResponse");
2590
+ var de_PutProtocolsListResponse = /* @__PURE__ */ __name((output, context) => {
2591
+ return (0, import_smithy_client.take)(output, {
2592
+ ProtocolsList: (_) => de_ProtocolsListData(_, context),
2593
+ ProtocolsListArn: import_smithy_client.expectString
2594
+ });
2595
+ }, "de_PutProtocolsListResponse");
2596
+ var de_PutResourceSetResponse = /* @__PURE__ */ __name((output, context) => {
2597
+ return (0, import_smithy_client.take)(output, {
2598
+ ResourceSet: (_) => de_ResourceSet(_, context),
2599
+ ResourceSetArn: import_smithy_client.expectString
2600
+ });
2601
+ }, "de_PutResourceSetResponse");
2602
+ var de_ResourceSet = /* @__PURE__ */ __name((output, context) => {
2603
+ return (0, import_smithy_client.take)(output, {
2604
+ Description: import_smithy_client.expectString,
2605
+ Id: import_smithy_client.expectString,
2606
+ LastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2607
+ Name: import_smithy_client.expectString,
2608
+ ResourceSetStatus: import_smithy_client.expectString,
2609
+ ResourceTypeList: import_smithy_client._json,
2610
+ UpdateToken: import_smithy_client.expectString
2611
+ });
2612
+ }, "de_ResourceSet");
2613
+ var de_ResourceSetSummary = /* @__PURE__ */ __name((output, context) => {
2614
+ return (0, import_smithy_client.take)(output, {
2615
+ Description: import_smithy_client.expectString,
2616
+ Id: import_smithy_client.expectString,
2617
+ LastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2618
+ Name: import_smithy_client.expectString,
2619
+ ResourceSetStatus: import_smithy_client.expectString
2620
+ });
2621
+ }, "de_ResourceSetSummary");
2622
+ var de_ResourceSetSummaryList = /* @__PURE__ */ __name((output, context) => {
2623
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2624
+ return de_ResourceSetSummary(entry, context);
2625
+ });
2626
+ return retVal;
2627
+ }, "de_ResourceSetSummaryList");
2628
+ var de_ViolationDetail = /* @__PURE__ */ __name((output, context) => {
2629
+ return (0, import_smithy_client.take)(output, {
2630
+ MemberAccount: import_smithy_client.expectString,
2631
+ PolicyId: import_smithy_client.expectString,
2632
+ ResourceDescription: import_smithy_client.expectString,
2633
+ ResourceId: import_smithy_client.expectString,
2634
+ ResourceTags: import_smithy_client._json,
2635
+ ResourceType: import_smithy_client.expectString,
2636
+ ResourceViolations: import_smithy_client._json
2637
+ });
2638
+ }, "de_ViolationDetail");
2639
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2640
+ httpStatusCode: output.statusCode,
2641
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2642
+ extendedRequestId: output.headers["x-amz-id-2"],
2643
+ cfId: output.headers["x-amz-cf-id"]
2644
+ }), "deserializeMetadata");
2645
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2646
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(FMSServiceException);
2647
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
2648
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2649
+ const contents = {
2650
+ protocol,
2651
+ hostname,
2652
+ port,
2653
+ method: "POST",
2654
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2655
+ headers
2656
+ };
2657
+ if (resolvedHostname !== void 0) {
2658
+ contents.hostname = resolvedHostname;
2659
+ }
2660
+ if (body !== void 0) {
2661
+ contents.body = body;
2662
+ }
2663
+ return new import_protocol_http.HttpRequest(contents);
2664
+ }, "buildHttpRpcRequest");
2665
+ function sharedHeaders(operation) {
2666
+ return {
2667
+ "content-type": "application/x-amz-json-1.1",
2668
+ "x-amz-target": `AWSFMS_20180101.${operation}`
2669
+ };
2670
+ }
2671
+ __name(sharedHeaders, "sharedHeaders");
2672
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2673
+ if (encoded.length) {
2674
+ return JSON.parse(encoded);
2675
+ }
2676
+ return {};
2677
+ }), "parseBody");
2678
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2679
+ const value = await parseBody(errorBody, context);
2680
+ value.message = value.message ?? value.Message;
2681
+ return value;
2682
+ }, "parseErrorBody");
2683
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2684
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2685
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2686
+ let cleanValue = rawValue;
2687
+ if (typeof cleanValue === "number") {
2688
+ cleanValue = cleanValue.toString();
2689
+ }
2690
+ if (cleanValue.indexOf(",") >= 0) {
2691
+ cleanValue = cleanValue.split(",")[0];
2692
+ }
2693
+ if (cleanValue.indexOf(":") >= 0) {
2694
+ cleanValue = cleanValue.split(":")[0];
2695
+ }
2696
+ if (cleanValue.indexOf("#") >= 0) {
2697
+ cleanValue = cleanValue.split("#")[1];
2698
+ }
2699
+ return cleanValue;
2700
+ }, "sanitizeErrorCode");
2701
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2702
+ if (headerKey !== void 0) {
2703
+ return sanitizeErrorCode(output.headers[headerKey]);
2704
+ }
2705
+ if (data.code !== void 0) {
2706
+ return sanitizeErrorCode(data.code);
2707
+ }
2708
+ if (data["__type"] !== void 0) {
2709
+ return sanitizeErrorCode(data["__type"]);
2710
+ }
2711
+ }, "loadRestJsonErrorCode");
2712
+
2713
+ // src/commands/AssociateAdminAccountCommand.ts
2714
+ var _AssociateAdminAccountCommand = class _AssociateAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep({
2715
+ ...commonParams
2716
+ }).m(function(Command, cs, config, o) {
2717
+ return [
2718
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2719
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2720
+ ];
2721
+ }).s("AWSFMS_20180101", "AssociateAdminAccount", {}).n("FMSClient", "AssociateAdminAccountCommand").f(void 0, void 0).ser(se_AssociateAdminAccountCommand).de(de_AssociateAdminAccountCommand).build() {
2722
+ };
2723
+ __name(_AssociateAdminAccountCommand, "AssociateAdminAccountCommand");
2724
+ var AssociateAdminAccountCommand = _AssociateAdminAccountCommand;
2725
+
2726
+ // src/commands/AssociateThirdPartyFirewallCommand.ts
2727
+
2728
+
2729
+
2730
+
2731
+ var _AssociateThirdPartyFirewallCommand = class _AssociateThirdPartyFirewallCommand extends import_smithy_client.Command.classBuilder().ep({
2732
+ ...commonParams
2733
+ }).m(function(Command, cs, config, o) {
2734
+ return [
2735
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2736
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2737
+ ];
2738
+ }).s("AWSFMS_20180101", "AssociateThirdPartyFirewall", {}).n("FMSClient", "AssociateThirdPartyFirewallCommand").f(void 0, void 0).ser(se_AssociateThirdPartyFirewallCommand).de(de_AssociateThirdPartyFirewallCommand).build() {
2739
+ };
2740
+ __name(_AssociateThirdPartyFirewallCommand, "AssociateThirdPartyFirewallCommand");
2741
+ var AssociateThirdPartyFirewallCommand = _AssociateThirdPartyFirewallCommand;
2742
+
2743
+ // src/commands/BatchAssociateResourceCommand.ts
2744
+
2745
+
2746
+
2747
+
2748
+ var _BatchAssociateResourceCommand = class _BatchAssociateResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2749
+ ...commonParams
2750
+ }).m(function(Command, cs, config, o) {
2751
+ return [
2752
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2753
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2754
+ ];
2755
+ }).s("AWSFMS_20180101", "BatchAssociateResource", {}).n("FMSClient", "BatchAssociateResourceCommand").f(void 0, void 0).ser(se_BatchAssociateResourceCommand).de(de_BatchAssociateResourceCommand).build() {
2756
+ };
2757
+ __name(_BatchAssociateResourceCommand, "BatchAssociateResourceCommand");
2758
+ var BatchAssociateResourceCommand = _BatchAssociateResourceCommand;
2759
+
2760
+ // src/commands/BatchDisassociateResourceCommand.ts
2761
+
2762
+
2763
+
2764
+
2765
+ var _BatchDisassociateResourceCommand = class _BatchDisassociateResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2766
+ ...commonParams
2767
+ }).m(function(Command, cs, config, o) {
2768
+ return [
2769
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2770
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2771
+ ];
2772
+ }).s("AWSFMS_20180101", "BatchDisassociateResource", {}).n("FMSClient", "BatchDisassociateResourceCommand").f(void 0, void 0).ser(se_BatchDisassociateResourceCommand).de(de_BatchDisassociateResourceCommand).build() {
2773
+ };
2774
+ __name(_BatchDisassociateResourceCommand, "BatchDisassociateResourceCommand");
2775
+ var BatchDisassociateResourceCommand = _BatchDisassociateResourceCommand;
2776
+
2777
+ // src/commands/DeleteAppsListCommand.ts
2778
+
2779
+
2780
+
2781
+
2782
+ var _DeleteAppsListCommand = class _DeleteAppsListCommand extends import_smithy_client.Command.classBuilder().ep({
2783
+ ...commonParams
2784
+ }).m(function(Command, cs, config, o) {
2785
+ return [
2786
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2787
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2788
+ ];
2789
+ }).s("AWSFMS_20180101", "DeleteAppsList", {}).n("FMSClient", "DeleteAppsListCommand").f(void 0, void 0).ser(se_DeleteAppsListCommand).de(de_DeleteAppsListCommand).build() {
2790
+ };
2791
+ __name(_DeleteAppsListCommand, "DeleteAppsListCommand");
2792
+ var DeleteAppsListCommand = _DeleteAppsListCommand;
2793
+
2794
+ // src/commands/DeleteNotificationChannelCommand.ts
2795
+
2796
+
2797
+
2798
+
2799
+ var _DeleteNotificationChannelCommand = class _DeleteNotificationChannelCommand extends import_smithy_client.Command.classBuilder().ep({
2800
+ ...commonParams
2801
+ }).m(function(Command, cs, config, o) {
2802
+ return [
2803
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2804
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2805
+ ];
2806
+ }).s("AWSFMS_20180101", "DeleteNotificationChannel", {}).n("FMSClient", "DeleteNotificationChannelCommand").f(void 0, void 0).ser(se_DeleteNotificationChannelCommand).de(de_DeleteNotificationChannelCommand).build() {
2807
+ };
2808
+ __name(_DeleteNotificationChannelCommand, "DeleteNotificationChannelCommand");
2809
+ var DeleteNotificationChannelCommand = _DeleteNotificationChannelCommand;
2810
+
2811
+ // src/commands/DeletePolicyCommand.ts
2812
+
2813
+
2814
+
2815
+
2816
+ var _DeletePolicyCommand = class _DeletePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2817
+ ...commonParams
2818
+ }).m(function(Command, cs, config, o) {
2819
+ return [
2820
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2821
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2822
+ ];
2823
+ }).s("AWSFMS_20180101", "DeletePolicy", {}).n("FMSClient", "DeletePolicyCommand").f(void 0, void 0).ser(se_DeletePolicyCommand).de(de_DeletePolicyCommand).build() {
2824
+ };
2825
+ __name(_DeletePolicyCommand, "DeletePolicyCommand");
2826
+ var DeletePolicyCommand = _DeletePolicyCommand;
2827
+
2828
+ // src/commands/DeleteProtocolsListCommand.ts
2829
+
2830
+
2831
+
2832
+
2833
+ var _DeleteProtocolsListCommand = class _DeleteProtocolsListCommand extends import_smithy_client.Command.classBuilder().ep({
2834
+ ...commonParams
2835
+ }).m(function(Command, cs, config, o) {
2836
+ return [
2837
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2838
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2839
+ ];
2840
+ }).s("AWSFMS_20180101", "DeleteProtocolsList", {}).n("FMSClient", "DeleteProtocolsListCommand").f(void 0, void 0).ser(se_DeleteProtocolsListCommand).de(de_DeleteProtocolsListCommand).build() {
2841
+ };
2842
+ __name(_DeleteProtocolsListCommand, "DeleteProtocolsListCommand");
2843
+ var DeleteProtocolsListCommand = _DeleteProtocolsListCommand;
2844
+
2845
+ // src/commands/DeleteResourceSetCommand.ts
2846
+
2847
+
2848
+
2849
+
2850
+ var _DeleteResourceSetCommand = class _DeleteResourceSetCommand extends import_smithy_client.Command.classBuilder().ep({
2851
+ ...commonParams
2852
+ }).m(function(Command, cs, config, o) {
2853
+ return [
2854
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2855
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2856
+ ];
2857
+ }).s("AWSFMS_20180101", "DeleteResourceSet", {}).n("FMSClient", "DeleteResourceSetCommand").f(void 0, void 0).ser(se_DeleteResourceSetCommand).de(de_DeleteResourceSetCommand).build() {
2858
+ };
2859
+ __name(_DeleteResourceSetCommand, "DeleteResourceSetCommand");
2860
+ var DeleteResourceSetCommand = _DeleteResourceSetCommand;
2861
+
2862
+ // src/commands/DisassociateAdminAccountCommand.ts
2863
+
2864
+
2865
+
2866
+
2867
+ var _DisassociateAdminAccountCommand = class _DisassociateAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep({
2868
+ ...commonParams
2869
+ }).m(function(Command, cs, config, o) {
2870
+ return [
2871
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2872
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2873
+ ];
2874
+ }).s("AWSFMS_20180101", "DisassociateAdminAccount", {}).n("FMSClient", "DisassociateAdminAccountCommand").f(void 0, void 0).ser(se_DisassociateAdminAccountCommand).de(de_DisassociateAdminAccountCommand).build() {
2875
+ };
2876
+ __name(_DisassociateAdminAccountCommand, "DisassociateAdminAccountCommand");
2877
+ var DisassociateAdminAccountCommand = _DisassociateAdminAccountCommand;
2878
+
2879
+ // src/commands/DisassociateThirdPartyFirewallCommand.ts
2880
+
2881
+
2882
+
2883
+
2884
+ var _DisassociateThirdPartyFirewallCommand = class _DisassociateThirdPartyFirewallCommand extends import_smithy_client.Command.classBuilder().ep({
2885
+ ...commonParams
2886
+ }).m(function(Command, cs, config, o) {
2887
+ return [
2888
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2889
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2890
+ ];
2891
+ }).s("AWSFMS_20180101", "DisassociateThirdPartyFirewall", {}).n("FMSClient", "DisassociateThirdPartyFirewallCommand").f(void 0, void 0).ser(se_DisassociateThirdPartyFirewallCommand).de(de_DisassociateThirdPartyFirewallCommand).build() {
2892
+ };
2893
+ __name(_DisassociateThirdPartyFirewallCommand, "DisassociateThirdPartyFirewallCommand");
2894
+ var DisassociateThirdPartyFirewallCommand = _DisassociateThirdPartyFirewallCommand;
2895
+
2896
+ // src/commands/GetAdminAccountCommand.ts
2897
+
2898
+
2899
+
2900
+
2901
+ var _GetAdminAccountCommand = class _GetAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep({
2902
+ ...commonParams
2903
+ }).m(function(Command, cs, config, o) {
2904
+ return [
2905
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2906
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2907
+ ];
2908
+ }).s("AWSFMS_20180101", "GetAdminAccount", {}).n("FMSClient", "GetAdminAccountCommand").f(void 0, void 0).ser(se_GetAdminAccountCommand).de(de_GetAdminAccountCommand).build() {
2909
+ };
2910
+ __name(_GetAdminAccountCommand, "GetAdminAccountCommand");
2911
+ var GetAdminAccountCommand = _GetAdminAccountCommand;
2912
+
2913
+ // src/commands/GetAdminScopeCommand.ts
2914
+
2915
+
2916
+
2917
+
2918
+ var _GetAdminScopeCommand = class _GetAdminScopeCommand extends import_smithy_client.Command.classBuilder().ep({
2919
+ ...commonParams
2920
+ }).m(function(Command, cs, config, o) {
2921
+ return [
2922
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2923
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2924
+ ];
2925
+ }).s("AWSFMS_20180101", "GetAdminScope", {}).n("FMSClient", "GetAdminScopeCommand").f(void 0, void 0).ser(se_GetAdminScopeCommand).de(de_GetAdminScopeCommand).build() {
2926
+ };
2927
+ __name(_GetAdminScopeCommand, "GetAdminScopeCommand");
2928
+ var GetAdminScopeCommand = _GetAdminScopeCommand;
2929
+
2930
+ // src/commands/GetAppsListCommand.ts
2931
+
2932
+
2933
+
2934
+
2935
+ var _GetAppsListCommand = class _GetAppsListCommand extends import_smithy_client.Command.classBuilder().ep({
2936
+ ...commonParams
2937
+ }).m(function(Command, cs, config, o) {
2938
+ return [
2939
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2940
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2941
+ ];
2942
+ }).s("AWSFMS_20180101", "GetAppsList", {}).n("FMSClient", "GetAppsListCommand").f(void 0, void 0).ser(se_GetAppsListCommand).de(de_GetAppsListCommand).build() {
2943
+ };
2944
+ __name(_GetAppsListCommand, "GetAppsListCommand");
2945
+ var GetAppsListCommand = _GetAppsListCommand;
2946
+
2947
+ // src/commands/GetComplianceDetailCommand.ts
2948
+
2949
+
2950
+
2951
+
2952
+ var _GetComplianceDetailCommand = class _GetComplianceDetailCommand extends import_smithy_client.Command.classBuilder().ep({
2953
+ ...commonParams
2954
+ }).m(function(Command, cs, config, o) {
2955
+ return [
2956
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2957
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2958
+ ];
2959
+ }).s("AWSFMS_20180101", "GetComplianceDetail", {}).n("FMSClient", "GetComplianceDetailCommand").f(void 0, void 0).ser(se_GetComplianceDetailCommand).de(de_GetComplianceDetailCommand).build() {
2960
+ };
2961
+ __name(_GetComplianceDetailCommand, "GetComplianceDetailCommand");
2962
+ var GetComplianceDetailCommand = _GetComplianceDetailCommand;
2963
+
2964
+ // src/commands/GetNotificationChannelCommand.ts
2965
+
2966
+
2967
+
2968
+
2969
+ var _GetNotificationChannelCommand = class _GetNotificationChannelCommand extends import_smithy_client.Command.classBuilder().ep({
2970
+ ...commonParams
2971
+ }).m(function(Command, cs, config, o) {
2972
+ return [
2973
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2974
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2975
+ ];
2976
+ }).s("AWSFMS_20180101", "GetNotificationChannel", {}).n("FMSClient", "GetNotificationChannelCommand").f(void 0, void 0).ser(se_GetNotificationChannelCommand).de(de_GetNotificationChannelCommand).build() {
2977
+ };
2978
+ __name(_GetNotificationChannelCommand, "GetNotificationChannelCommand");
2979
+ var GetNotificationChannelCommand = _GetNotificationChannelCommand;
2980
+
2981
+ // src/commands/GetPolicyCommand.ts
2982
+
2983
+
2984
+
2985
+
2986
+ var _GetPolicyCommand = class _GetPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
2987
+ ...commonParams
2988
+ }).m(function(Command, cs, config, o) {
2989
+ return [
2990
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2991
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2992
+ ];
2993
+ }).s("AWSFMS_20180101", "GetPolicy", {}).n("FMSClient", "GetPolicyCommand").f(void 0, void 0).ser(se_GetPolicyCommand).de(de_GetPolicyCommand).build() {
2994
+ };
2995
+ __name(_GetPolicyCommand, "GetPolicyCommand");
2996
+ var GetPolicyCommand = _GetPolicyCommand;
2997
+
2998
+ // src/commands/GetProtectionStatusCommand.ts
2999
+
3000
+
3001
+
3002
+
3003
+ var _GetProtectionStatusCommand = class _GetProtectionStatusCommand extends import_smithy_client.Command.classBuilder().ep({
3004
+ ...commonParams
3005
+ }).m(function(Command, cs, config, o) {
3006
+ return [
3007
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3008
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3009
+ ];
3010
+ }).s("AWSFMS_20180101", "GetProtectionStatus", {}).n("FMSClient", "GetProtectionStatusCommand").f(void 0, void 0).ser(se_GetProtectionStatusCommand).de(de_GetProtectionStatusCommand).build() {
3011
+ };
3012
+ __name(_GetProtectionStatusCommand, "GetProtectionStatusCommand");
3013
+ var GetProtectionStatusCommand = _GetProtectionStatusCommand;
3014
+
3015
+ // src/commands/GetProtocolsListCommand.ts
3016
+
3017
+
3018
+
3019
+
3020
+ var _GetProtocolsListCommand = class _GetProtocolsListCommand extends import_smithy_client.Command.classBuilder().ep({
3021
+ ...commonParams
3022
+ }).m(function(Command, cs, config, o) {
3023
+ return [
3024
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3025
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3026
+ ];
3027
+ }).s("AWSFMS_20180101", "GetProtocolsList", {}).n("FMSClient", "GetProtocolsListCommand").f(void 0, void 0).ser(se_GetProtocolsListCommand).de(de_GetProtocolsListCommand).build() {
3028
+ };
3029
+ __name(_GetProtocolsListCommand, "GetProtocolsListCommand");
3030
+ var GetProtocolsListCommand = _GetProtocolsListCommand;
3031
+
3032
+ // src/commands/GetResourceSetCommand.ts
3033
+
3034
+
3035
+
3036
+
3037
+ var _GetResourceSetCommand = class _GetResourceSetCommand extends import_smithy_client.Command.classBuilder().ep({
3038
+ ...commonParams
3039
+ }).m(function(Command, cs, config, o) {
3040
+ return [
3041
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3042
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3043
+ ];
3044
+ }).s("AWSFMS_20180101", "GetResourceSet", {}).n("FMSClient", "GetResourceSetCommand").f(void 0, void 0).ser(se_GetResourceSetCommand).de(de_GetResourceSetCommand).build() {
3045
+ };
3046
+ __name(_GetResourceSetCommand, "GetResourceSetCommand");
3047
+ var GetResourceSetCommand = _GetResourceSetCommand;
3048
+
3049
+ // src/commands/GetThirdPartyFirewallAssociationStatusCommand.ts
3050
+
3051
+
3052
+
3053
+
3054
+ var _GetThirdPartyFirewallAssociationStatusCommand = class _GetThirdPartyFirewallAssociationStatusCommand extends import_smithy_client.Command.classBuilder().ep({
3055
+ ...commonParams
3056
+ }).m(function(Command, cs, config, o) {
3057
+ return [
3058
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3059
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3060
+ ];
3061
+ }).s("AWSFMS_20180101", "GetThirdPartyFirewallAssociationStatus", {}).n("FMSClient", "GetThirdPartyFirewallAssociationStatusCommand").f(void 0, void 0).ser(se_GetThirdPartyFirewallAssociationStatusCommand).de(de_GetThirdPartyFirewallAssociationStatusCommand).build() {
3062
+ };
3063
+ __name(_GetThirdPartyFirewallAssociationStatusCommand, "GetThirdPartyFirewallAssociationStatusCommand");
3064
+ var GetThirdPartyFirewallAssociationStatusCommand = _GetThirdPartyFirewallAssociationStatusCommand;
3065
+
3066
+ // src/commands/GetViolationDetailsCommand.ts
3067
+
3068
+
3069
+
3070
+
3071
+ var _GetViolationDetailsCommand = class _GetViolationDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
3072
+ ...commonParams
3073
+ }).m(function(Command, cs, config, o) {
3074
+ return [
3075
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3076
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3077
+ ];
3078
+ }).s("AWSFMS_20180101", "GetViolationDetails", {}).n("FMSClient", "GetViolationDetailsCommand").f(void 0, void 0).ser(se_GetViolationDetailsCommand).de(de_GetViolationDetailsCommand).build() {
3079
+ };
3080
+ __name(_GetViolationDetailsCommand, "GetViolationDetailsCommand");
3081
+ var GetViolationDetailsCommand = _GetViolationDetailsCommand;
3082
+
3083
+ // src/commands/ListAdminAccountsForOrganizationCommand.ts
3084
+
3085
+
3086
+
3087
+
3088
+ var _ListAdminAccountsForOrganizationCommand = class _ListAdminAccountsForOrganizationCommand extends import_smithy_client.Command.classBuilder().ep({
3089
+ ...commonParams
3090
+ }).m(function(Command, cs, config, o) {
3091
+ return [
3092
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3093
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3094
+ ];
3095
+ }).s("AWSFMS_20180101", "ListAdminAccountsForOrganization", {}).n("FMSClient", "ListAdminAccountsForOrganizationCommand").f(void 0, void 0).ser(se_ListAdminAccountsForOrganizationCommand).de(de_ListAdminAccountsForOrganizationCommand).build() {
3096
+ };
3097
+ __name(_ListAdminAccountsForOrganizationCommand, "ListAdminAccountsForOrganizationCommand");
3098
+ var ListAdminAccountsForOrganizationCommand = _ListAdminAccountsForOrganizationCommand;
3099
+
3100
+ // src/commands/ListAdminsManagingAccountCommand.ts
3101
+
3102
+
3103
+
3104
+
3105
+ var _ListAdminsManagingAccountCommand = class _ListAdminsManagingAccountCommand extends import_smithy_client.Command.classBuilder().ep({
3106
+ ...commonParams
3107
+ }).m(function(Command, cs, config, o) {
3108
+ return [
3109
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3110
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3111
+ ];
3112
+ }).s("AWSFMS_20180101", "ListAdminsManagingAccount", {}).n("FMSClient", "ListAdminsManagingAccountCommand").f(void 0, void 0).ser(se_ListAdminsManagingAccountCommand).de(de_ListAdminsManagingAccountCommand).build() {
3113
+ };
3114
+ __name(_ListAdminsManagingAccountCommand, "ListAdminsManagingAccountCommand");
3115
+ var ListAdminsManagingAccountCommand = _ListAdminsManagingAccountCommand;
3116
+
3117
+ // src/commands/ListAppsListsCommand.ts
3118
+
3119
+
3120
+
3121
+
3122
+ var _ListAppsListsCommand = class _ListAppsListsCommand extends import_smithy_client.Command.classBuilder().ep({
3123
+ ...commonParams
3124
+ }).m(function(Command, cs, config, o) {
3125
+ return [
3126
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3127
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3128
+ ];
3129
+ }).s("AWSFMS_20180101", "ListAppsLists", {}).n("FMSClient", "ListAppsListsCommand").f(void 0, void 0).ser(se_ListAppsListsCommand).de(de_ListAppsListsCommand).build() {
3130
+ };
3131
+ __name(_ListAppsListsCommand, "ListAppsListsCommand");
3132
+ var ListAppsListsCommand = _ListAppsListsCommand;
3133
+
3134
+ // src/commands/ListComplianceStatusCommand.ts
3135
+
3136
+
3137
+
3138
+
3139
+ var _ListComplianceStatusCommand = class _ListComplianceStatusCommand extends import_smithy_client.Command.classBuilder().ep({
3140
+ ...commonParams
3141
+ }).m(function(Command, cs, config, o) {
3142
+ return [
3143
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3144
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3145
+ ];
3146
+ }).s("AWSFMS_20180101", "ListComplianceStatus", {}).n("FMSClient", "ListComplianceStatusCommand").f(void 0, void 0).ser(se_ListComplianceStatusCommand).de(de_ListComplianceStatusCommand).build() {
3147
+ };
3148
+ __name(_ListComplianceStatusCommand, "ListComplianceStatusCommand");
3149
+ var ListComplianceStatusCommand = _ListComplianceStatusCommand;
3150
+
3151
+ // src/commands/ListDiscoveredResourcesCommand.ts
3152
+
3153
+
3154
+
3155
+
3156
+ var _ListDiscoveredResourcesCommand = class _ListDiscoveredResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
3157
+ ...commonParams
3158
+ }).m(function(Command, cs, config, o) {
3159
+ return [
3160
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3161
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3162
+ ];
3163
+ }).s("AWSFMS_20180101", "ListDiscoveredResources", {}).n("FMSClient", "ListDiscoveredResourcesCommand").f(void 0, void 0).ser(se_ListDiscoveredResourcesCommand).de(de_ListDiscoveredResourcesCommand).build() {
3164
+ };
3165
+ __name(_ListDiscoveredResourcesCommand, "ListDiscoveredResourcesCommand");
3166
+ var ListDiscoveredResourcesCommand = _ListDiscoveredResourcesCommand;
3167
+
3168
+ // src/commands/ListMemberAccountsCommand.ts
3169
+
3170
+
3171
+
3172
+
3173
+ var _ListMemberAccountsCommand = class _ListMemberAccountsCommand extends import_smithy_client.Command.classBuilder().ep({
3174
+ ...commonParams
3175
+ }).m(function(Command, cs, config, o) {
3176
+ return [
3177
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3178
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3179
+ ];
3180
+ }).s("AWSFMS_20180101", "ListMemberAccounts", {}).n("FMSClient", "ListMemberAccountsCommand").f(void 0, void 0).ser(se_ListMemberAccountsCommand).de(de_ListMemberAccountsCommand).build() {
3181
+ };
3182
+ __name(_ListMemberAccountsCommand, "ListMemberAccountsCommand");
3183
+ var ListMemberAccountsCommand = _ListMemberAccountsCommand;
3184
+
3185
+ // src/commands/ListPoliciesCommand.ts
3186
+
3187
+
3188
+
3189
+
3190
+ var _ListPoliciesCommand = class _ListPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
3191
+ ...commonParams
3192
+ }).m(function(Command, cs, config, o) {
3193
+ return [
3194
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3195
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3196
+ ];
3197
+ }).s("AWSFMS_20180101", "ListPolicies", {}).n("FMSClient", "ListPoliciesCommand").f(void 0, void 0).ser(se_ListPoliciesCommand).de(de_ListPoliciesCommand).build() {
3198
+ };
3199
+ __name(_ListPoliciesCommand, "ListPoliciesCommand");
3200
+ var ListPoliciesCommand = _ListPoliciesCommand;
3201
+
3202
+ // src/commands/ListProtocolsListsCommand.ts
3203
+
3204
+
3205
+
3206
+
3207
+ var _ListProtocolsListsCommand = class _ListProtocolsListsCommand extends import_smithy_client.Command.classBuilder().ep({
3208
+ ...commonParams
3209
+ }).m(function(Command, cs, config, o) {
3210
+ return [
3211
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3212
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3213
+ ];
3214
+ }).s("AWSFMS_20180101", "ListProtocolsLists", {}).n("FMSClient", "ListProtocolsListsCommand").f(void 0, void 0).ser(se_ListProtocolsListsCommand).de(de_ListProtocolsListsCommand).build() {
3215
+ };
3216
+ __name(_ListProtocolsListsCommand, "ListProtocolsListsCommand");
3217
+ var ListProtocolsListsCommand = _ListProtocolsListsCommand;
3218
+
3219
+ // src/commands/ListResourceSetResourcesCommand.ts
3220
+
3221
+
3222
+
3223
+
3224
+ var _ListResourceSetResourcesCommand = class _ListResourceSetResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
3225
+ ...commonParams
3226
+ }).m(function(Command, cs, config, o) {
3227
+ return [
3228
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3229
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3230
+ ];
3231
+ }).s("AWSFMS_20180101", "ListResourceSetResources", {}).n("FMSClient", "ListResourceSetResourcesCommand").f(void 0, void 0).ser(se_ListResourceSetResourcesCommand).de(de_ListResourceSetResourcesCommand).build() {
3232
+ };
3233
+ __name(_ListResourceSetResourcesCommand, "ListResourceSetResourcesCommand");
3234
+ var ListResourceSetResourcesCommand = _ListResourceSetResourcesCommand;
3235
+
3236
+ // src/commands/ListResourceSetsCommand.ts
3237
+
3238
+
3239
+
3240
+
3241
+ var _ListResourceSetsCommand = class _ListResourceSetsCommand extends import_smithy_client.Command.classBuilder().ep({
3242
+ ...commonParams
3243
+ }).m(function(Command, cs, config, o) {
3244
+ return [
3245
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3246
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3247
+ ];
3248
+ }).s("AWSFMS_20180101", "ListResourceSets", {}).n("FMSClient", "ListResourceSetsCommand").f(void 0, void 0).ser(se_ListResourceSetsCommand).de(de_ListResourceSetsCommand).build() {
3249
+ };
3250
+ __name(_ListResourceSetsCommand, "ListResourceSetsCommand");
3251
+ var ListResourceSetsCommand = _ListResourceSetsCommand;
3252
+
3253
+ // src/commands/ListTagsForResourceCommand.ts
3254
+
3255
+
3256
+
3257
+
3258
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3259
+ ...commonParams
3260
+ }).m(function(Command, cs, config, o) {
3261
+ return [
3262
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3263
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3264
+ ];
3265
+ }).s("AWSFMS_20180101", "ListTagsForResource", {}).n("FMSClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
3266
+ };
3267
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
3268
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
3269
+
3270
+ // src/commands/ListThirdPartyFirewallFirewallPoliciesCommand.ts
3271
+
3272
+
3273
+
3274
+
3275
+ var _ListThirdPartyFirewallFirewallPoliciesCommand = class _ListThirdPartyFirewallFirewallPoliciesCommand extends import_smithy_client.Command.classBuilder().ep({
3276
+ ...commonParams
3277
+ }).m(function(Command, cs, config, o) {
3278
+ return [
3279
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3280
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3281
+ ];
3282
+ }).s("AWSFMS_20180101", "ListThirdPartyFirewallFirewallPolicies", {}).n("FMSClient", "ListThirdPartyFirewallFirewallPoliciesCommand").f(void 0, void 0).ser(se_ListThirdPartyFirewallFirewallPoliciesCommand).de(de_ListThirdPartyFirewallFirewallPoliciesCommand).build() {
3283
+ };
3284
+ __name(_ListThirdPartyFirewallFirewallPoliciesCommand, "ListThirdPartyFirewallFirewallPoliciesCommand");
3285
+ var ListThirdPartyFirewallFirewallPoliciesCommand = _ListThirdPartyFirewallFirewallPoliciesCommand;
3286
+
3287
+ // src/commands/PutAdminAccountCommand.ts
3288
+
3289
+
3290
+
3291
+
3292
+ var _PutAdminAccountCommand = class _PutAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep({
3293
+ ...commonParams
3294
+ }).m(function(Command, cs, config, o) {
3295
+ return [
3296
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3297
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3298
+ ];
3299
+ }).s("AWSFMS_20180101", "PutAdminAccount", {}).n("FMSClient", "PutAdminAccountCommand").f(void 0, void 0).ser(se_PutAdminAccountCommand).de(de_PutAdminAccountCommand).build() {
3300
+ };
3301
+ __name(_PutAdminAccountCommand, "PutAdminAccountCommand");
3302
+ var PutAdminAccountCommand = _PutAdminAccountCommand;
3303
+
3304
+ // src/commands/PutAppsListCommand.ts
3305
+
3306
+
3307
+
3308
+
3309
+ var _PutAppsListCommand = class _PutAppsListCommand extends import_smithy_client.Command.classBuilder().ep({
3310
+ ...commonParams
3311
+ }).m(function(Command, cs, config, o) {
3312
+ return [
3313
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3314
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3315
+ ];
3316
+ }).s("AWSFMS_20180101", "PutAppsList", {}).n("FMSClient", "PutAppsListCommand").f(void 0, void 0).ser(se_PutAppsListCommand).de(de_PutAppsListCommand).build() {
3317
+ };
3318
+ __name(_PutAppsListCommand, "PutAppsListCommand");
3319
+ var PutAppsListCommand = _PutAppsListCommand;
3320
+
3321
+ // src/commands/PutNotificationChannelCommand.ts
3322
+
3323
+
3324
+
3325
+
3326
+ var _PutNotificationChannelCommand = class _PutNotificationChannelCommand extends import_smithy_client.Command.classBuilder().ep({
3327
+ ...commonParams
3328
+ }).m(function(Command, cs, config, o) {
3329
+ return [
3330
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3331
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3332
+ ];
3333
+ }).s("AWSFMS_20180101", "PutNotificationChannel", {}).n("FMSClient", "PutNotificationChannelCommand").f(void 0, void 0).ser(se_PutNotificationChannelCommand).de(de_PutNotificationChannelCommand).build() {
3334
+ };
3335
+ __name(_PutNotificationChannelCommand, "PutNotificationChannelCommand");
3336
+ var PutNotificationChannelCommand = _PutNotificationChannelCommand;
3337
+
3338
+ // src/commands/PutPolicyCommand.ts
3339
+
3340
+
3341
+
3342
+
3343
+ var _PutPolicyCommand = class _PutPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
3344
+ ...commonParams
3345
+ }).m(function(Command, cs, config, o) {
3346
+ return [
3347
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3348
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3349
+ ];
3350
+ }).s("AWSFMS_20180101", "PutPolicy", {}).n("FMSClient", "PutPolicyCommand").f(void 0, void 0).ser(se_PutPolicyCommand).de(de_PutPolicyCommand).build() {
3351
+ };
3352
+ __name(_PutPolicyCommand, "PutPolicyCommand");
3353
+ var PutPolicyCommand = _PutPolicyCommand;
3354
+
3355
+ // src/commands/PutProtocolsListCommand.ts
3356
+
3357
+
3358
+
3359
+
3360
+ var _PutProtocolsListCommand = class _PutProtocolsListCommand extends import_smithy_client.Command.classBuilder().ep({
3361
+ ...commonParams
3362
+ }).m(function(Command, cs, config, o) {
3363
+ return [
3364
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3365
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3366
+ ];
3367
+ }).s("AWSFMS_20180101", "PutProtocolsList", {}).n("FMSClient", "PutProtocolsListCommand").f(void 0, void 0).ser(se_PutProtocolsListCommand).de(de_PutProtocolsListCommand).build() {
3368
+ };
3369
+ __name(_PutProtocolsListCommand, "PutProtocolsListCommand");
3370
+ var PutProtocolsListCommand = _PutProtocolsListCommand;
3371
+
3372
+ // src/commands/PutResourceSetCommand.ts
3373
+
3374
+
3375
+
3376
+
3377
+ var _PutResourceSetCommand = class _PutResourceSetCommand extends import_smithy_client.Command.classBuilder().ep({
3378
+ ...commonParams
3379
+ }).m(function(Command, cs, config, o) {
3380
+ return [
3381
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3382
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3383
+ ];
3384
+ }).s("AWSFMS_20180101", "PutResourceSet", {}).n("FMSClient", "PutResourceSetCommand").f(void 0, void 0).ser(se_PutResourceSetCommand).de(de_PutResourceSetCommand).build() {
3385
+ };
3386
+ __name(_PutResourceSetCommand, "PutResourceSetCommand");
3387
+ var PutResourceSetCommand = _PutResourceSetCommand;
3388
+
3389
+ // src/commands/TagResourceCommand.ts
3390
+
3391
+
3392
+
3393
+
3394
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3395
+ ...commonParams
3396
+ }).m(function(Command, cs, config, o) {
3397
+ return [
3398
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3399
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3400
+ ];
3401
+ }).s("AWSFMS_20180101", "TagResource", {}).n("FMSClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
3402
+ };
3403
+ __name(_TagResourceCommand, "TagResourceCommand");
3404
+ var TagResourceCommand = _TagResourceCommand;
3405
+
3406
+ // src/commands/UntagResourceCommand.ts
3407
+
3408
+
3409
+
3410
+
3411
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3412
+ ...commonParams
3413
+ }).m(function(Command, cs, config, o) {
3414
+ return [
3415
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3416
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3417
+ ];
3418
+ }).s("AWSFMS_20180101", "UntagResource", {}).n("FMSClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
3419
+ };
3420
+ __name(_UntagResourceCommand, "UntagResourceCommand");
3421
+ var UntagResourceCommand = _UntagResourceCommand;
3422
+
3423
+ // src/FMS.ts
3424
+ var commands = {
3425
+ AssociateAdminAccountCommand,
3426
+ AssociateThirdPartyFirewallCommand,
3427
+ BatchAssociateResourceCommand,
3428
+ BatchDisassociateResourceCommand,
3429
+ DeleteAppsListCommand,
3430
+ DeleteNotificationChannelCommand,
3431
+ DeletePolicyCommand,
3432
+ DeleteProtocolsListCommand,
3433
+ DeleteResourceSetCommand,
3434
+ DisassociateAdminAccountCommand,
3435
+ DisassociateThirdPartyFirewallCommand,
3436
+ GetAdminAccountCommand,
3437
+ GetAdminScopeCommand,
3438
+ GetAppsListCommand,
3439
+ GetComplianceDetailCommand,
3440
+ GetNotificationChannelCommand,
3441
+ GetPolicyCommand,
3442
+ GetProtectionStatusCommand,
3443
+ GetProtocolsListCommand,
3444
+ GetResourceSetCommand,
3445
+ GetThirdPartyFirewallAssociationStatusCommand,
3446
+ GetViolationDetailsCommand,
3447
+ ListAdminAccountsForOrganizationCommand,
3448
+ ListAdminsManagingAccountCommand,
3449
+ ListAppsListsCommand,
3450
+ ListComplianceStatusCommand,
3451
+ ListDiscoveredResourcesCommand,
3452
+ ListMemberAccountsCommand,
3453
+ ListPoliciesCommand,
3454
+ ListProtocolsListsCommand,
3455
+ ListResourceSetResourcesCommand,
3456
+ ListResourceSetsCommand,
3457
+ ListTagsForResourceCommand,
3458
+ ListThirdPartyFirewallFirewallPoliciesCommand,
3459
+ PutAdminAccountCommand,
3460
+ PutAppsListCommand,
3461
+ PutNotificationChannelCommand,
3462
+ PutPolicyCommand,
3463
+ PutProtocolsListCommand,
3464
+ PutResourceSetCommand,
3465
+ TagResourceCommand,
3466
+ UntagResourceCommand
3467
+ };
3468
+ var _FMS = class _FMS extends FMSClient {
3469
+ };
3470
+ __name(_FMS, "FMS");
3471
+ var FMS = _FMS;
3472
+ (0, import_smithy_client.createAggregatedClient)(commands, FMS);
3473
+
3474
+ // src/pagination/ListAdminAccountsForOrganizationPaginator.ts
3475
+ var import_core = require("@smithy/core");
3476
+ var paginateListAdminAccountsForOrganization = (0, import_core.createPaginator)(FMSClient, ListAdminAccountsForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
3477
+
3478
+ // src/pagination/ListAdminsManagingAccountPaginator.ts
3479
+
3480
+ var paginateListAdminsManagingAccount = (0, import_core.createPaginator)(FMSClient, ListAdminsManagingAccountCommand, "NextToken", "NextToken", "MaxResults");
3481
+
3482
+ // src/pagination/ListAppsListsPaginator.ts
3483
+
3484
+ var paginateListAppsLists = (0, import_core.createPaginator)(FMSClient, ListAppsListsCommand, "NextToken", "NextToken", "MaxResults");
3485
+
3486
+ // src/pagination/ListComplianceStatusPaginator.ts
3487
+
3488
+ var paginateListComplianceStatus = (0, import_core.createPaginator)(FMSClient, ListComplianceStatusCommand, "NextToken", "NextToken", "MaxResults");
3489
+
3490
+ // src/pagination/ListMemberAccountsPaginator.ts
3491
+
3492
+ var paginateListMemberAccounts = (0, import_core.createPaginator)(FMSClient, ListMemberAccountsCommand, "NextToken", "NextToken", "MaxResults");
3493
+
3494
+ // src/pagination/ListPoliciesPaginator.ts
3495
+
3496
+ var paginateListPolicies = (0, import_core.createPaginator)(FMSClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
3497
+
3498
+ // src/pagination/ListProtocolsListsPaginator.ts
3499
+
3500
+ var paginateListProtocolsLists = (0, import_core.createPaginator)(FMSClient, ListProtocolsListsCommand, "NextToken", "NextToken", "MaxResults");
3501
+
3502
+ // src/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.ts
3503
+
3504
+ var paginateListThirdPartyFirewallFirewallPolicies = (0, import_core.createPaginator)(FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand, "NextToken", "NextToken", "MaxResults");
3505
+
3506
+ // src/index.ts
3507
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3508
+ // Annotate the CommonJS export names for ESM import in node:
3509
+
3510
+ 0 && (module.exports = {
3511
+ AccountRoleStatus,
3512
+ AssociateAdminAccountCommand,
3513
+ AssociateThirdPartyFirewallCommand,
3514
+ BatchAssociateResourceCommand,
3515
+ BatchDisassociateResourceCommand,
3516
+ CustomerPolicyScopeIdType,
3517
+ CustomerPolicyStatus,
3518
+ DeleteAppsListCommand,
3519
+ DeleteNotificationChannelCommand,
3520
+ DeletePolicyCommand,
3521
+ DeleteProtocolsListCommand,
3522
+ DeleteResourceSetCommand,
3523
+ DependentServiceName,
3524
+ DestinationType,
3525
+ DisassociateAdminAccountCommand,
3526
+ DisassociateThirdPartyFirewallCommand,
3527
+ FMS,
3528
+ FMSClient,
3529
+ FMSServiceException,
3530
+ FailedItemReason,
3531
+ FirewallDeploymentModel,
3532
+ GetAdminAccountCommand,
3533
+ GetAdminScopeCommand,
3534
+ GetAppsListCommand,
3535
+ GetComplianceDetailCommand,
3536
+ GetNotificationChannelCommand,
3537
+ GetPolicyCommand,
3538
+ GetProtectionStatusCommand,
3539
+ GetProtocolsListCommand,
3540
+ GetResourceSetCommand,
3541
+ GetThirdPartyFirewallAssociationStatusCommand,
3542
+ GetViolationDetailsCommand,
3543
+ InternalErrorException,
3544
+ InvalidInputException,
3545
+ InvalidOperationException,
3546
+ InvalidTypeException,
3547
+ LimitExceededException,
3548
+ ListAdminAccountsForOrganizationCommand,
3549
+ ListAdminsManagingAccountCommand,
3550
+ ListAppsListsCommand,
3551
+ ListComplianceStatusCommand,
3552
+ ListDiscoveredResourcesCommand,
3553
+ ListMemberAccountsCommand,
3554
+ ListPoliciesCommand,
3555
+ ListProtocolsListsCommand,
3556
+ ListResourceSetResourcesCommand,
3557
+ ListResourceSetsCommand,
3558
+ ListTagsForResourceCommand,
3559
+ ListThirdPartyFirewallFirewallPoliciesCommand,
3560
+ MarketplaceSubscriptionOnboardingStatus,
3561
+ NetworkFirewallOverrideAction,
3562
+ OrganizationStatus,
3563
+ PolicyComplianceStatusType,
3564
+ PutAdminAccountCommand,
3565
+ PutAppsListCommand,
3566
+ PutNotificationChannelCommand,
3567
+ PutPolicyCommand,
3568
+ PutProtocolsListCommand,
3569
+ PutResourceSetCommand,
3570
+ RemediationActionType,
3571
+ ResourceNotFoundException,
3572
+ ResourceSetStatus,
3573
+ RuleOrder,
3574
+ SecurityServiceType,
3575
+ TagResourceCommand,
3576
+ TargetType,
3577
+ ThirdPartyFirewall,
3578
+ ThirdPartyFirewallAssociationStatus,
3579
+ UntagResourceCommand,
3580
+ ViolationReason,
3581
+ __Client,
3582
+ paginateListAdminAccountsForOrganization,
3583
+ paginateListAdminsManagingAccount,
3584
+ paginateListAppsLists,
3585
+ paginateListComplianceStatus,
3586
+ paginateListMemberAccounts,
3587
+ paginateListPolicies,
3588
+ paginateListProtocolsLists,
3589
+ paginateListThirdPartyFirewallFirewallPolicies
3590
+ });
3591
+