@aws-sdk/client-fms 3.901.0 → 3.906.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 (2) hide show
  1. package/dist-cjs/index.js +2283 -2410
  2. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -1,2502 +1,2375 @@
1
- "use strict";
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 index_exports = {};
23
- __export(index_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
- EntryType: () => EntryType,
41
- EntryViolationReason: () => EntryViolationReason,
42
- FMS: () => FMS,
43
- FMSClient: () => FMSClient,
44
- FMSServiceException: () => FMSServiceException,
45
- FailedItemReason: () => FailedItemReason,
46
- FirewallDeploymentModel: () => FirewallDeploymentModel,
47
- GetAdminAccountCommand: () => GetAdminAccountCommand,
48
- GetAdminScopeCommand: () => GetAdminScopeCommand,
49
- GetAppsListCommand: () => GetAppsListCommand,
50
- GetComplianceDetailCommand: () => GetComplianceDetailCommand,
51
- GetNotificationChannelCommand: () => GetNotificationChannelCommand,
52
- GetPolicyCommand: () => GetPolicyCommand,
53
- GetProtectionStatusCommand: () => GetProtectionStatusCommand,
54
- GetProtocolsListCommand: () => GetProtocolsListCommand,
55
- GetResourceSetCommand: () => GetResourceSetCommand,
56
- GetThirdPartyFirewallAssociationStatusCommand: () => GetThirdPartyFirewallAssociationStatusCommand,
57
- GetViolationDetailsCommand: () => GetViolationDetailsCommand,
58
- InternalErrorException: () => InternalErrorException,
59
- InvalidInputException: () => InvalidInputException,
60
- InvalidOperationException: () => InvalidOperationException,
61
- InvalidTypeException: () => InvalidTypeException,
62
- LimitExceededException: () => LimitExceededException,
63
- ListAdminAccountsForOrganizationCommand: () => ListAdminAccountsForOrganizationCommand,
64
- ListAdminsManagingAccountCommand: () => ListAdminsManagingAccountCommand,
65
- ListAppsListsCommand: () => ListAppsListsCommand,
66
- ListComplianceStatusCommand: () => ListComplianceStatusCommand,
67
- ListDiscoveredResourcesCommand: () => ListDiscoveredResourcesCommand,
68
- ListMemberAccountsCommand: () => ListMemberAccountsCommand,
69
- ListPoliciesCommand: () => ListPoliciesCommand,
70
- ListProtocolsListsCommand: () => ListProtocolsListsCommand,
71
- ListResourceSetResourcesCommand: () => ListResourceSetResourcesCommand,
72
- ListResourceSetsCommand: () => ListResourceSetsCommand,
73
- ListTagsForResourceCommand: () => ListTagsForResourceCommand,
74
- ListThirdPartyFirewallFirewallPoliciesCommand: () => ListThirdPartyFirewallFirewallPoliciesCommand,
75
- MarketplaceSubscriptionOnboardingStatus: () => MarketplaceSubscriptionOnboardingStatus,
76
- NetworkAclRuleAction: () => NetworkAclRuleAction,
77
- NetworkFirewallOverrideAction: () => NetworkFirewallOverrideAction,
78
- OrganizationStatus: () => OrganizationStatus,
79
- PolicyComplianceStatusType: () => PolicyComplianceStatusType,
80
- PutAdminAccountCommand: () => PutAdminAccountCommand,
81
- PutAppsListCommand: () => PutAppsListCommand,
82
- PutNotificationChannelCommand: () => PutNotificationChannelCommand,
83
- PutPolicyCommand: () => PutPolicyCommand,
84
- PutProtocolsListCommand: () => PutProtocolsListCommand,
85
- PutResourceSetCommand: () => PutResourceSetCommand,
86
- RemediationActionType: () => RemediationActionType,
87
- ResourceNotFoundException: () => ResourceNotFoundException,
88
- ResourceSetStatus: () => ResourceSetStatus,
89
- ResourceTagLogicalOperator: () => ResourceTagLogicalOperator,
90
- RuleOrder: () => RuleOrder,
91
- SecurityServiceType: () => SecurityServiceType,
92
- StreamExceptionPolicy: () => StreamExceptionPolicy,
93
- TagResourceCommand: () => TagResourceCommand,
94
- TargetType: () => TargetType,
95
- ThirdPartyFirewall: () => ThirdPartyFirewall,
96
- ThirdPartyFirewallAssociationStatus: () => ThirdPartyFirewallAssociationStatus,
97
- UntagResourceCommand: () => UntagResourceCommand,
98
- ViolationReason: () => ViolationReason,
99
- __Client: () => import_smithy_client.Client,
100
- paginateListAdminAccountsForOrganization: () => paginateListAdminAccountsForOrganization,
101
- paginateListAdminsManagingAccount: () => paginateListAdminsManagingAccount,
102
- paginateListAppsLists: () => paginateListAppsLists,
103
- paginateListComplianceStatus: () => paginateListComplianceStatus,
104
- paginateListMemberAccounts: () => paginateListMemberAccounts,
105
- paginateListPolicies: () => paginateListPolicies,
106
- paginateListProtocolsLists: () => paginateListProtocolsLists,
107
- paginateListThirdPartyFirewallFirewallPolicies: () => paginateListThirdPartyFirewallFirewallPolicies
108
- });
109
- module.exports = __toCommonJS(index_exports);
110
-
111
- // src/FMSClient.ts
112
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
113
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
114
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
115
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
116
- var import_config_resolver = require("@smithy/config-resolver");
117
- var import_core = require("@smithy/core");
118
- var import_middleware_content_length = require("@smithy/middleware-content-length");
119
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
120
- var import_middleware_retry = require("@smithy/middleware-retry");
121
-
122
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
123
-
124
- // src/endpoint/EndpointParameters.ts
125
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
126
- return Object.assign(options, {
127
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
128
- useFipsEndpoint: options.useFipsEndpoint ?? false,
129
- defaultSigningName: "fms"
130
- });
131
- }, "resolveClientEndpointParameters");
132
- var commonParams = {
133
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
134
- Endpoint: { type: "builtInParams", name: "endpoint" },
135
- Region: { type: "builtInParams", name: "region" },
136
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "fms",
25
+ });
137
26
  };
138
-
139
- // src/FMSClient.ts
140
- var import_runtimeConfig = require("././runtimeConfig");
141
-
142
- // src/runtimeExtensions.ts
143
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
144
- var import_protocol_http = require("@smithy/protocol-http");
145
- var import_smithy_client = require("@smithy/smithy-client");
146
-
147
- // src/auth/httpAuthExtensionConfiguration.ts
148
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
149
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
150
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
151
- let _credentials = runtimeConfig.credentials;
152
- return {
153
- setHttpAuthScheme(httpAuthScheme) {
154
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
155
- if (index === -1) {
156
- _httpAuthSchemes.push(httpAuthScheme);
157
- } else {
158
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
159
- }
160
- },
161
- httpAuthSchemes() {
162
- return _httpAuthSchemes;
163
- },
164
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
165
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
166
- },
167
- httpAuthSchemeProvider() {
168
- return _httpAuthSchemeProvider;
169
- },
170
- setCredentials(credentials) {
171
- _credentials = credentials;
172
- },
173
- credentials() {
174
- return _credentials;
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
+ };
33
+
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
71
+ };
72
+
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
78
+
79
+ class FMSClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultFMSHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
175
107
  }
176
- };
177
- }, "getHttpAuthExtensionConfiguration");
178
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
179
- return {
180
- httpAuthSchemes: config.httpAuthSchemes(),
181
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
182
- credentials: config.credentials()
183
- };
184
- }, "resolveHttpAuthRuntimeConfig");
185
-
186
- // src/runtimeExtensions.ts
187
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
188
- const extensionConfiguration = Object.assign(
189
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
190
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
191
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
192
- getHttpAuthExtensionConfiguration(runtimeConfig)
193
- );
194
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
195
- return Object.assign(
196
- runtimeConfig,
197
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
198
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
199
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
200
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
201
- );
202
- }, "resolveRuntimeExtensions");
203
-
204
- // src/FMSClient.ts
205
- var FMSClient = class extends import_smithy_client.Client {
206
- static {
207
- __name(this, "FMSClient");
208
- }
209
- /**
210
- * The resolved configuration of FMSClient class. This is resolved and normalized from the {@link FMSClientConfig | constructor configuration interface}.
211
- */
212
- config;
213
- constructor(...[configuration]) {
214
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
215
- super(_config_0);
216
- this.initConfig = _config_0;
217
- const _config_1 = resolveClientEndpointParameters(_config_0);
218
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
219
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
220
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
221
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
222
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
223
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
224
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
225
- this.config = _config_8;
226
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
227
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
228
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
229
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
230
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
231
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
232
- this.middlewareStack.use(
233
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
234
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultFMSHttpAuthSchemeParametersProvider,
235
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
236
- "aws.auth#sigv4": config.credentials
237
- }), "identityProviderConfigProvider")
238
- })
239
- );
240
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
241
- }
242
- /**
243
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
244
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
245
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
246
- */
247
- destroy() {
248
- super.destroy();
249
- }
250
- };
251
-
252
- // src/FMS.ts
253
-
254
-
255
- // src/commands/AssociateAdminAccountCommand.ts
256
-
257
- var import_middleware_serde = require("@smithy/middleware-serde");
258
-
259
-
260
- // src/protocols/Aws_json1_1.ts
261
- var import_core2 = require("@aws-sdk/core");
262
-
263
-
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
264
112
 
265
- // src/models/FMSServiceException.ts
113
+ class FMSServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, FMSServiceException.prototype);
117
+ }
118
+ }
266
119
 
267
- var FMSServiceException = class _FMSServiceException extends import_smithy_client.ServiceException {
268
- static {
269
- __name(this, "FMSServiceException");
270
- }
271
- /**
272
- * @internal
273
- */
274
- constructor(options) {
275
- super(options);
276
- Object.setPrototypeOf(this, _FMSServiceException.prototype);
277
- }
120
+ const AccountRoleStatus = {
121
+ Creating: "CREATING",
122
+ Deleted: "DELETED",
123
+ Deleting: "DELETING",
124
+ PendingDeletion: "PENDING_DELETION",
125
+ Ready: "READY",
126
+ };
127
+ const OrganizationStatus = {
128
+ Offboarding: "OFFBOARDING",
129
+ OffboardingComplete: "OFFBOARDING_COMPLETE",
130
+ Onboarding: "ONBOARDING",
131
+ OnboardingComplete: "ONBOARDING_COMPLETE",
132
+ };
133
+ const SecurityServiceType = {
134
+ DNS_FIREWALL: "DNS_FIREWALL",
135
+ IMPORT_NETWORK_FIREWALL: "IMPORT_NETWORK_FIREWALL",
136
+ NETWORK_ACL_COMMON: "NETWORK_ACL_COMMON",
137
+ NETWORK_FIREWALL: "NETWORK_FIREWALL",
138
+ SECURITY_GROUPS_COMMON: "SECURITY_GROUPS_COMMON",
139
+ SECURITY_GROUPS_CONTENT_AUDIT: "SECURITY_GROUPS_CONTENT_AUDIT",
140
+ SECURITY_GROUPS_USAGE_AUDIT: "SECURITY_GROUPS_USAGE_AUDIT",
141
+ SHIELD_ADVANCED: "SHIELD_ADVANCED",
142
+ THIRD_PARTY_FIREWALL: "THIRD_PARTY_FIREWALL",
143
+ WAF: "WAF",
144
+ WAFV2: "WAFV2",
145
+ };
146
+ class InternalErrorException extends FMSServiceException {
147
+ name = "InternalErrorException";
148
+ $fault = "client";
149
+ Message;
150
+ constructor(opts) {
151
+ super({
152
+ name: "InternalErrorException",
153
+ $fault: "client",
154
+ ...opts,
155
+ });
156
+ Object.setPrototypeOf(this, InternalErrorException.prototype);
157
+ this.Message = opts.Message;
158
+ }
159
+ }
160
+ class InvalidInputException extends FMSServiceException {
161
+ name = "InvalidInputException";
162
+ $fault = "client";
163
+ Message;
164
+ constructor(opts) {
165
+ super({
166
+ name: "InvalidInputException",
167
+ $fault: "client",
168
+ ...opts,
169
+ });
170
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
171
+ this.Message = opts.Message;
172
+ }
173
+ }
174
+ class InvalidOperationException extends FMSServiceException {
175
+ name = "InvalidOperationException";
176
+ $fault = "client";
177
+ Message;
178
+ constructor(opts) {
179
+ super({
180
+ name: "InvalidOperationException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
185
+ this.Message = opts.Message;
186
+ }
187
+ }
188
+ class LimitExceededException extends FMSServiceException {
189
+ name = "LimitExceededException";
190
+ $fault = "client";
191
+ Message;
192
+ constructor(opts) {
193
+ super({
194
+ name: "LimitExceededException",
195
+ $fault: "client",
196
+ ...opts,
197
+ });
198
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
199
+ this.Message = opts.Message;
200
+ }
201
+ }
202
+ class ResourceNotFoundException extends FMSServiceException {
203
+ name = "ResourceNotFoundException";
204
+ $fault = "client";
205
+ Message;
206
+ constructor(opts) {
207
+ super({
208
+ name: "ResourceNotFoundException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
213
+ this.Message = opts.Message;
214
+ }
215
+ }
216
+ const ThirdPartyFirewall = {
217
+ FORTIGATE_CLOUD_NATIVE_FIREWALL: "FORTIGATE_CLOUD_NATIVE_FIREWALL",
218
+ PALO_ALTO_NETWORKS_CLOUD_NGFW: "PALO_ALTO_NETWORKS_CLOUD_NGFW",
219
+ };
220
+ const ThirdPartyFirewallAssociationStatus = {
221
+ NOT_EXIST: "NOT_EXIST",
222
+ OFFBOARDING: "OFFBOARDING",
223
+ OFFBOARD_COMPLETE: "OFFBOARD_COMPLETE",
224
+ ONBOARDING: "ONBOARDING",
225
+ ONBOARD_COMPLETE: "ONBOARD_COMPLETE",
226
+ };
227
+ const FailedItemReason = {
228
+ NotValidAccountId: "NOT_VALID_ACCOUNT_ID",
229
+ NotValidArn: "NOT_VALID_ARN",
230
+ NotValidPartition: "NOT_VALID_PARTITION",
231
+ NotValidRegion: "NOT_VALID_REGION",
232
+ NotValidResourceType: "NOT_VALID_RESOURCE_TYPE",
233
+ NotValidService: "NOT_VALID_SERVICE",
234
+ };
235
+ const DependentServiceName = {
236
+ AWSConfig: "AWSCONFIG",
237
+ AWSShieldAdvanced: "AWSSHIELD_ADVANCED",
238
+ AWSVirtualPrivateCloud: "AWSVPC",
239
+ AWSWAF: "AWSWAF",
240
+ };
241
+ const ViolationReason = {
242
+ BlackHoleRouteDetected: "BLACK_HOLE_ROUTE_DETECTED",
243
+ BlackHoleRouteDetectedInFirewallSubnet: "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET",
244
+ FMSCreatedSecurityGroupEdited: "FMS_CREATED_SECURITY_GROUP_EDITED",
245
+ FirewallSubnetIsOutOfScope: "FIREWALL_SUBNET_IS_OUT_OF_SCOPE",
246
+ FirewallSubnetMissingExpectedRoute: "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE",
247
+ FirewallSubnetMissingVPCEndpoint: "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT",
248
+ InternetGatewayMissingExpectedRoute: "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE",
249
+ InternetTrafficNotInspected: "INTERNET_TRAFFIC_NOT_INSPECTED",
250
+ InvalidNetworkAclEntry: "INVALID_NETWORK_ACL_ENTRY",
251
+ InvalidRouteConfiguration: "INVALID_ROUTE_CONFIGURATION",
252
+ MissingExpectedRouteTable: "MISSING_EXPECTED_ROUTE_TABLE",
253
+ MissingFirewall: "MISSING_FIREWALL",
254
+ MissingFirewallSubnetInAZ: "MISSING_FIREWALL_SUBNET_IN_AZ",
255
+ MissingTargetGateway: "MISSING_TARGET_GATEWAY",
256
+ NetworkFirewallPolicyModified: "NETWORK_FIREWALL_POLICY_MODIFIED",
257
+ ResourceIncorrectWebAcl: "RESOURCE_INCORRECT_WEB_ACL",
258
+ ResourceMissingDnsFirewall: "RESOURCE_MISSING_DNS_FIREWALL",
259
+ ResourceMissingSecurityGroup: "RESOURCE_MISSING_SECURITY_GROUP",
260
+ ResourceMissingShieldProtection: "RESOURCE_MISSING_SHIELD_PROTECTION",
261
+ ResourceMissingWebAcl: "RESOURCE_MISSING_WEB_ACL",
262
+ ResourceMissingWebaclOrShieldProtection: "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION",
263
+ ResourceViolatesAuditSecurityGroup: "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP",
264
+ RouteHasOutOfScopeEndpoint: "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT",
265
+ SecurityGroupRedundant: "SECURITY_GROUP_REDUNDANT",
266
+ SecurityGroupUnused: "SECURITY_GROUP_UNUSED",
267
+ TrafficInspectionCrossesAZBoundary: "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY",
268
+ UnexpectedFirewallRoutes: "UNEXPECTED_FIREWALL_ROUTES",
269
+ UnexpectedTargetGatewayRoutes: "UNEXPECTED_TARGET_GATEWAY_ROUTES",
270
+ WebACLConfigurationOrScopeOfUse: "WEB_ACL_CONFIGURATION_OR_SCOPE_OF_USE",
271
+ WebAclMissingRuleGroup: "WEB_ACL_MISSING_RULE_GROUP",
272
+ };
273
+ const CustomerPolicyScopeIdType = {
274
+ ACCOUNT: "ACCOUNT",
275
+ ORG_UNIT: "ORG_UNIT",
276
+ };
277
+ const CustomerPolicyStatus = {
278
+ ACTIVE: "ACTIVE",
279
+ OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE",
280
+ };
281
+ const ResourceTagLogicalOperator = {
282
+ AND: "AND",
283
+ OR: "OR",
284
+ };
285
+ const NetworkAclRuleAction = {
286
+ ALLOW: "allow",
287
+ DENY: "deny",
288
+ };
289
+ const FirewallDeploymentModel = {
290
+ CENTRALIZED: "CENTRALIZED",
291
+ DISTRIBUTED: "DISTRIBUTED",
292
+ };
293
+ class InvalidTypeException extends FMSServiceException {
294
+ name = "InvalidTypeException";
295
+ $fault = "client";
296
+ Message;
297
+ constructor(opts) {
298
+ super({
299
+ name: "InvalidTypeException",
300
+ $fault: "client",
301
+ ...opts,
302
+ });
303
+ Object.setPrototypeOf(this, InvalidTypeException.prototype);
304
+ this.Message = opts.Message;
305
+ }
306
+ }
307
+ const ResourceSetStatus = {
308
+ ACTIVE: "ACTIVE",
309
+ OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE",
310
+ };
311
+ const MarketplaceSubscriptionOnboardingStatus = {
312
+ COMPLETE: "COMPLETE",
313
+ NOT_COMPLETE: "NOT_COMPLETE",
314
+ NO_SUBSCRIPTION: "NO_SUBSCRIPTION",
315
+ };
316
+ const RemediationActionType = {
317
+ Modify: "MODIFY",
318
+ Remove: "REMOVE",
319
+ };
320
+ const EntryType = {
321
+ CustomEntry: "CUSTOM_ENTRY",
322
+ FMSManagedFirstEntry: "FMS_MANAGED_FIRST_ENTRY",
323
+ FMSManagedLastEntry: "FMS_MANAGED_LAST_ENTRY",
324
+ };
325
+ const EntryViolationReason = {
326
+ EntryConflict: "ENTRY_CONFLICT",
327
+ IncorrectEntryOrder: "INCORRECT_ENTRY_ORDER",
328
+ MissingExpectedEntry: "MISSING_EXPECTED_ENTRY",
329
+ };
330
+ const DestinationType = {
331
+ IPV4: "IPV4",
332
+ IPV6: "IPV6",
333
+ PrefixList: "PREFIX_LIST",
334
+ };
335
+ const TargetType = {
336
+ CarrierGateway: "CARRIER_GATEWAY",
337
+ EgressOnlyInternetGateway: "EGRESS_ONLY_INTERNET_GATEWAY",
338
+ Gateway: "GATEWAY",
339
+ Instance: "INSTANCE",
340
+ LocalGateway: "LOCAL_GATEWAY",
341
+ NatGateway: "NAT_GATEWAY",
342
+ NetworkInterface: "NETWORK_INTERFACE",
343
+ TransitGateway: "TRANSIT_GATEWAY",
344
+ VPCEndpoint: "VPC_ENDPOINT",
345
+ VPCPeeringConnection: "VPC_PEERING_CONNECTION",
346
+ };
347
+ const RuleOrder = {
348
+ DEFAULT_ACTION_ORDER: "DEFAULT_ACTION_ORDER",
349
+ STRICT_ORDER: "STRICT_ORDER",
350
+ };
351
+ const StreamExceptionPolicy = {
352
+ CONTINUE: "CONTINUE",
353
+ DROP: "DROP",
354
+ FMS_IGNORE: "FMS_IGNORE",
355
+ REJECT: "REJECT",
356
+ };
357
+ const NetworkFirewallOverrideAction = {
358
+ DROP_TO_ALERT: "DROP_TO_ALERT",
359
+ };
360
+ const PolicyComplianceStatusType = {
361
+ Compliant: "COMPLIANT",
362
+ NonCompliant: "NON_COMPLIANT",
363
+ };
364
+
365
+ const se_AssociateAdminAccountCommand = async (input, context) => {
366
+ const headers = sharedHeaders("AssociateAdminAccount");
367
+ let body;
368
+ body = JSON.stringify(smithyClient._json(input));
369
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
370
+ };
371
+ const se_AssociateThirdPartyFirewallCommand = async (input, context) => {
372
+ const headers = sharedHeaders("AssociateThirdPartyFirewall");
373
+ let body;
374
+ body = JSON.stringify(smithyClient._json(input));
375
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
376
+ };
377
+ const se_BatchAssociateResourceCommand = async (input, context) => {
378
+ const headers = sharedHeaders("BatchAssociateResource");
379
+ let body;
380
+ body = JSON.stringify(smithyClient._json(input));
381
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
382
+ };
383
+ const se_BatchDisassociateResourceCommand = async (input, context) => {
384
+ const headers = sharedHeaders("BatchDisassociateResource");
385
+ let body;
386
+ body = JSON.stringify(smithyClient._json(input));
387
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
388
+ };
389
+ const se_DeleteAppsListCommand = async (input, context) => {
390
+ const headers = sharedHeaders("DeleteAppsList");
391
+ let body;
392
+ body = JSON.stringify(smithyClient._json(input));
393
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
394
+ };
395
+ const se_DeleteNotificationChannelCommand = async (input, context) => {
396
+ const headers = sharedHeaders("DeleteNotificationChannel");
397
+ let body;
398
+ body = JSON.stringify(smithyClient._json(input));
399
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
400
+ };
401
+ const se_DeletePolicyCommand = async (input, context) => {
402
+ const headers = sharedHeaders("DeletePolicy");
403
+ let body;
404
+ body = JSON.stringify(smithyClient._json(input));
405
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
406
+ };
407
+ const se_DeleteProtocolsListCommand = async (input, context) => {
408
+ const headers = sharedHeaders("DeleteProtocolsList");
409
+ let body;
410
+ body = JSON.stringify(smithyClient._json(input));
411
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
412
+ };
413
+ const se_DeleteResourceSetCommand = async (input, context) => {
414
+ const headers = sharedHeaders("DeleteResourceSet");
415
+ let body;
416
+ body = JSON.stringify(smithyClient._json(input));
417
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
418
+ };
419
+ const se_DisassociateAdminAccountCommand = async (input, context) => {
420
+ const headers = sharedHeaders("DisassociateAdminAccount");
421
+ let body;
422
+ body = JSON.stringify(smithyClient._json(input));
423
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
424
+ };
425
+ const se_DisassociateThirdPartyFirewallCommand = async (input, context) => {
426
+ const headers = sharedHeaders("DisassociateThirdPartyFirewall");
427
+ let body;
428
+ body = JSON.stringify(smithyClient._json(input));
429
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
430
+ };
431
+ const se_GetAdminAccountCommand = async (input, context) => {
432
+ const headers = sharedHeaders("GetAdminAccount");
433
+ let body;
434
+ body = JSON.stringify(smithyClient._json(input));
435
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
436
+ };
437
+ const se_GetAdminScopeCommand = async (input, context) => {
438
+ const headers = sharedHeaders("GetAdminScope");
439
+ let body;
440
+ body = JSON.stringify(smithyClient._json(input));
441
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
442
+ };
443
+ const se_GetAppsListCommand = async (input, context) => {
444
+ const headers = sharedHeaders("GetAppsList");
445
+ let body;
446
+ body = JSON.stringify(smithyClient._json(input));
447
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
448
+ };
449
+ const se_GetComplianceDetailCommand = async (input, context) => {
450
+ const headers = sharedHeaders("GetComplianceDetail");
451
+ let body;
452
+ body = JSON.stringify(smithyClient._json(input));
453
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
454
+ };
455
+ const se_GetNotificationChannelCommand = async (input, context) => {
456
+ const headers = sharedHeaders("GetNotificationChannel");
457
+ let body;
458
+ body = JSON.stringify(smithyClient._json(input));
459
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
460
+ };
461
+ const se_GetPolicyCommand = async (input, context) => {
462
+ const headers = sharedHeaders("GetPolicy");
463
+ let body;
464
+ body = JSON.stringify(smithyClient._json(input));
465
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
466
+ };
467
+ const se_GetProtectionStatusCommand = async (input, context) => {
468
+ const headers = sharedHeaders("GetProtectionStatus");
469
+ let body;
470
+ body = JSON.stringify(se_GetProtectionStatusRequest(input));
471
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
472
+ };
473
+ const se_GetProtocolsListCommand = async (input, context) => {
474
+ const headers = sharedHeaders("GetProtocolsList");
475
+ let body;
476
+ body = JSON.stringify(smithyClient._json(input));
477
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
478
+ };
479
+ const se_GetResourceSetCommand = async (input, context) => {
480
+ const headers = sharedHeaders("GetResourceSet");
481
+ let body;
482
+ body = JSON.stringify(smithyClient._json(input));
483
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
484
+ };
485
+ const se_GetThirdPartyFirewallAssociationStatusCommand = async (input, context) => {
486
+ const headers = sharedHeaders("GetThirdPartyFirewallAssociationStatus");
487
+ let body;
488
+ body = JSON.stringify(smithyClient._json(input));
489
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
490
+ };
491
+ const se_GetViolationDetailsCommand = async (input, context) => {
492
+ const headers = sharedHeaders("GetViolationDetails");
493
+ let body;
494
+ body = JSON.stringify(smithyClient._json(input));
495
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
496
+ };
497
+ const se_ListAdminAccountsForOrganizationCommand = async (input, context) => {
498
+ const headers = sharedHeaders("ListAdminAccountsForOrganization");
499
+ let body;
500
+ body = JSON.stringify(smithyClient._json(input));
501
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
502
+ };
503
+ const se_ListAdminsManagingAccountCommand = async (input, context) => {
504
+ const headers = sharedHeaders("ListAdminsManagingAccount");
505
+ let body;
506
+ body = JSON.stringify(smithyClient._json(input));
507
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
508
+ };
509
+ const se_ListAppsListsCommand = async (input, context) => {
510
+ const headers = sharedHeaders("ListAppsLists");
511
+ let body;
512
+ body = JSON.stringify(smithyClient._json(input));
513
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
514
+ };
515
+ const se_ListComplianceStatusCommand = async (input, context) => {
516
+ const headers = sharedHeaders("ListComplianceStatus");
517
+ let body;
518
+ body = JSON.stringify(smithyClient._json(input));
519
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
520
+ };
521
+ const se_ListDiscoveredResourcesCommand = async (input, context) => {
522
+ const headers = sharedHeaders("ListDiscoveredResources");
523
+ let body;
524
+ body = JSON.stringify(smithyClient._json(input));
525
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
526
+ };
527
+ const se_ListMemberAccountsCommand = async (input, context) => {
528
+ const headers = sharedHeaders("ListMemberAccounts");
529
+ let body;
530
+ body = JSON.stringify(smithyClient._json(input));
531
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
532
+ };
533
+ const se_ListPoliciesCommand = async (input, context) => {
534
+ const headers = sharedHeaders("ListPolicies");
535
+ let body;
536
+ body = JSON.stringify(smithyClient._json(input));
537
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
538
+ };
539
+ const se_ListProtocolsListsCommand = async (input, context) => {
540
+ const headers = sharedHeaders("ListProtocolsLists");
541
+ let body;
542
+ body = JSON.stringify(smithyClient._json(input));
543
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
544
+ };
545
+ const se_ListResourceSetResourcesCommand = async (input, context) => {
546
+ const headers = sharedHeaders("ListResourceSetResources");
547
+ let body;
548
+ body = JSON.stringify(smithyClient._json(input));
549
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
550
+ };
551
+ const se_ListResourceSetsCommand = async (input, context) => {
552
+ const headers = sharedHeaders("ListResourceSets");
553
+ let body;
554
+ body = JSON.stringify(smithyClient._json(input));
555
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
556
+ };
557
+ const se_ListTagsForResourceCommand = async (input, context) => {
558
+ const headers = sharedHeaders("ListTagsForResource");
559
+ let body;
560
+ body = JSON.stringify(smithyClient._json(input));
561
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
562
+ };
563
+ const se_ListThirdPartyFirewallFirewallPoliciesCommand = async (input, context) => {
564
+ const headers = sharedHeaders("ListThirdPartyFirewallFirewallPolicies");
565
+ let body;
566
+ body = JSON.stringify(smithyClient._json(input));
567
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
568
+ };
569
+ const se_PutAdminAccountCommand = async (input, context) => {
570
+ const headers = sharedHeaders("PutAdminAccount");
571
+ let body;
572
+ body = JSON.stringify(smithyClient._json(input));
573
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
574
+ };
575
+ const se_PutAppsListCommand = async (input, context) => {
576
+ const headers = sharedHeaders("PutAppsList");
577
+ let body;
578
+ body = JSON.stringify(se_PutAppsListRequest(input));
579
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
580
+ };
581
+ const se_PutNotificationChannelCommand = async (input, context) => {
582
+ const headers = sharedHeaders("PutNotificationChannel");
583
+ let body;
584
+ body = JSON.stringify(smithyClient._json(input));
585
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
586
+ };
587
+ const se_PutPolicyCommand = async (input, context) => {
588
+ const headers = sharedHeaders("PutPolicy");
589
+ let body;
590
+ body = JSON.stringify(smithyClient._json(input));
591
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
592
+ };
593
+ const se_PutProtocolsListCommand = async (input, context) => {
594
+ const headers = sharedHeaders("PutProtocolsList");
595
+ let body;
596
+ body = JSON.stringify(se_PutProtocolsListRequest(input));
597
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
598
+ };
599
+ const se_PutResourceSetCommand = async (input, context) => {
600
+ const headers = sharedHeaders("PutResourceSet");
601
+ let body;
602
+ body = JSON.stringify(se_PutResourceSetRequest(input));
603
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
604
+ };
605
+ const se_TagResourceCommand = async (input, context) => {
606
+ const headers = sharedHeaders("TagResource");
607
+ let body;
608
+ body = JSON.stringify(smithyClient._json(input));
609
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
610
+ };
611
+ const se_UntagResourceCommand = async (input, context) => {
612
+ const headers = sharedHeaders("UntagResource");
613
+ let body;
614
+ body = JSON.stringify(smithyClient._json(input));
615
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
616
+ };
617
+ const de_AssociateAdminAccountCommand = async (output, context) => {
618
+ if (output.statusCode >= 300) {
619
+ return de_CommandError(output, context);
620
+ }
621
+ await smithyClient.collectBody(output.body, context);
622
+ const response = {
623
+ $metadata: deserializeMetadata(output),
624
+ };
625
+ return response;
626
+ };
627
+ const de_AssociateThirdPartyFirewallCommand = async (output, context) => {
628
+ if (output.statusCode >= 300) {
629
+ return de_CommandError(output, context);
630
+ }
631
+ const data = await core$1.parseJsonBody(output.body, context);
632
+ let contents = {};
633
+ contents = smithyClient._json(data);
634
+ const response = {
635
+ $metadata: deserializeMetadata(output),
636
+ ...contents,
637
+ };
638
+ return response;
639
+ };
640
+ const de_BatchAssociateResourceCommand = async (output, context) => {
641
+ if (output.statusCode >= 300) {
642
+ return de_CommandError(output, context);
643
+ }
644
+ const data = await core$1.parseJsonBody(output.body, context);
645
+ let contents = {};
646
+ contents = smithyClient._json(data);
647
+ const response = {
648
+ $metadata: deserializeMetadata(output),
649
+ ...contents,
650
+ };
651
+ return response;
652
+ };
653
+ const de_BatchDisassociateResourceCommand = async (output, context) => {
654
+ if (output.statusCode >= 300) {
655
+ return de_CommandError(output, context);
656
+ }
657
+ const data = await core$1.parseJsonBody(output.body, context);
658
+ let contents = {};
659
+ contents = smithyClient._json(data);
660
+ const response = {
661
+ $metadata: deserializeMetadata(output),
662
+ ...contents,
663
+ };
664
+ return response;
665
+ };
666
+ const de_DeleteAppsListCommand = async (output, context) => {
667
+ if (output.statusCode >= 300) {
668
+ return de_CommandError(output, context);
669
+ }
670
+ await smithyClient.collectBody(output.body, context);
671
+ const response = {
672
+ $metadata: deserializeMetadata(output),
673
+ };
674
+ return response;
675
+ };
676
+ const de_DeleteNotificationChannelCommand = async (output, context) => {
677
+ if (output.statusCode >= 300) {
678
+ return de_CommandError(output, context);
679
+ }
680
+ await smithyClient.collectBody(output.body, context);
681
+ const response = {
682
+ $metadata: deserializeMetadata(output),
683
+ };
684
+ return response;
685
+ };
686
+ const de_DeletePolicyCommand = async (output, context) => {
687
+ if (output.statusCode >= 300) {
688
+ return de_CommandError(output, context);
689
+ }
690
+ await smithyClient.collectBody(output.body, context);
691
+ const response = {
692
+ $metadata: deserializeMetadata(output),
693
+ };
694
+ return response;
695
+ };
696
+ const de_DeleteProtocolsListCommand = async (output, context) => {
697
+ if (output.statusCode >= 300) {
698
+ return de_CommandError(output, context);
699
+ }
700
+ await smithyClient.collectBody(output.body, context);
701
+ const response = {
702
+ $metadata: deserializeMetadata(output),
703
+ };
704
+ return response;
705
+ };
706
+ const de_DeleteResourceSetCommand = async (output, context) => {
707
+ if (output.statusCode >= 300) {
708
+ return de_CommandError(output, context);
709
+ }
710
+ await smithyClient.collectBody(output.body, context);
711
+ const response = {
712
+ $metadata: deserializeMetadata(output),
713
+ };
714
+ return response;
715
+ };
716
+ const de_DisassociateAdminAccountCommand = async (output, context) => {
717
+ if (output.statusCode >= 300) {
718
+ return de_CommandError(output, context);
719
+ }
720
+ await smithyClient.collectBody(output.body, context);
721
+ const response = {
722
+ $metadata: deserializeMetadata(output),
723
+ };
724
+ return response;
725
+ };
726
+ const de_DisassociateThirdPartyFirewallCommand = async (output, context) => {
727
+ if (output.statusCode >= 300) {
728
+ return de_CommandError(output, context);
729
+ }
730
+ const data = await core$1.parseJsonBody(output.body, context);
731
+ let contents = {};
732
+ contents = smithyClient._json(data);
733
+ const response = {
734
+ $metadata: deserializeMetadata(output),
735
+ ...contents,
736
+ };
737
+ return response;
738
+ };
739
+ const de_GetAdminAccountCommand = async (output, context) => {
740
+ if (output.statusCode >= 300) {
741
+ return de_CommandError(output, context);
742
+ }
743
+ const data = await core$1.parseJsonBody(output.body, context);
744
+ let contents = {};
745
+ contents = smithyClient._json(data);
746
+ const response = {
747
+ $metadata: deserializeMetadata(output),
748
+ ...contents,
749
+ };
750
+ return response;
751
+ };
752
+ const de_GetAdminScopeCommand = async (output, context) => {
753
+ if (output.statusCode >= 300) {
754
+ return de_CommandError(output, context);
755
+ }
756
+ const data = await core$1.parseJsonBody(output.body, context);
757
+ let contents = {};
758
+ contents = smithyClient._json(data);
759
+ const response = {
760
+ $metadata: deserializeMetadata(output),
761
+ ...contents,
762
+ };
763
+ return response;
764
+ };
765
+ const de_GetAppsListCommand = async (output, context) => {
766
+ if (output.statusCode >= 300) {
767
+ return de_CommandError(output, context);
768
+ }
769
+ const data = await core$1.parseJsonBody(output.body, context);
770
+ let contents = {};
771
+ contents = de_GetAppsListResponse(data);
772
+ const response = {
773
+ $metadata: deserializeMetadata(output),
774
+ ...contents,
775
+ };
776
+ return response;
777
+ };
778
+ const de_GetComplianceDetailCommand = async (output, context) => {
779
+ if (output.statusCode >= 300) {
780
+ return de_CommandError(output, context);
781
+ }
782
+ const data = await core$1.parseJsonBody(output.body, context);
783
+ let contents = {};
784
+ contents = de_GetComplianceDetailResponse(data);
785
+ const response = {
786
+ $metadata: deserializeMetadata(output),
787
+ ...contents,
788
+ };
789
+ return response;
790
+ };
791
+ const de_GetNotificationChannelCommand = async (output, context) => {
792
+ if (output.statusCode >= 300) {
793
+ return de_CommandError(output, context);
794
+ }
795
+ const data = await core$1.parseJsonBody(output.body, context);
796
+ let contents = {};
797
+ contents = smithyClient._json(data);
798
+ const response = {
799
+ $metadata: deserializeMetadata(output),
800
+ ...contents,
801
+ };
802
+ return response;
803
+ };
804
+ const de_GetPolicyCommand = async (output, context) => {
805
+ if (output.statusCode >= 300) {
806
+ return de_CommandError(output, context);
807
+ }
808
+ const data = await core$1.parseJsonBody(output.body, context);
809
+ let contents = {};
810
+ contents = smithyClient._json(data);
811
+ const response = {
812
+ $metadata: deserializeMetadata(output),
813
+ ...contents,
814
+ };
815
+ return response;
816
+ };
817
+ const de_GetProtectionStatusCommand = async (output, context) => {
818
+ if (output.statusCode >= 300) {
819
+ return de_CommandError(output, context);
820
+ }
821
+ const data = await core$1.parseJsonBody(output.body, context);
822
+ let contents = {};
823
+ contents = smithyClient._json(data);
824
+ const response = {
825
+ $metadata: deserializeMetadata(output),
826
+ ...contents,
827
+ };
828
+ return response;
829
+ };
830
+ const de_GetProtocolsListCommand = async (output, context) => {
831
+ if (output.statusCode >= 300) {
832
+ return de_CommandError(output, context);
833
+ }
834
+ const data = await core$1.parseJsonBody(output.body, context);
835
+ let contents = {};
836
+ contents = de_GetProtocolsListResponse(data);
837
+ const response = {
838
+ $metadata: deserializeMetadata(output),
839
+ ...contents,
840
+ };
841
+ return response;
842
+ };
843
+ const de_GetResourceSetCommand = async (output, context) => {
844
+ if (output.statusCode >= 300) {
845
+ return de_CommandError(output, context);
846
+ }
847
+ const data = await core$1.parseJsonBody(output.body, context);
848
+ let contents = {};
849
+ contents = de_GetResourceSetResponse(data);
850
+ const response = {
851
+ $metadata: deserializeMetadata(output),
852
+ ...contents,
853
+ };
854
+ return response;
855
+ };
856
+ const de_GetThirdPartyFirewallAssociationStatusCommand = async (output, context) => {
857
+ if (output.statusCode >= 300) {
858
+ return de_CommandError(output, context);
859
+ }
860
+ const data = await core$1.parseJsonBody(output.body, context);
861
+ let contents = {};
862
+ contents = smithyClient._json(data);
863
+ const response = {
864
+ $metadata: deserializeMetadata(output),
865
+ ...contents,
866
+ };
867
+ return response;
868
+ };
869
+ const de_GetViolationDetailsCommand = async (output, context) => {
870
+ if (output.statusCode >= 300) {
871
+ return de_CommandError(output, context);
872
+ }
873
+ const data = await core$1.parseJsonBody(output.body, context);
874
+ let contents = {};
875
+ contents = de_GetViolationDetailsResponse(data);
876
+ const response = {
877
+ $metadata: deserializeMetadata(output),
878
+ ...contents,
879
+ };
880
+ return response;
881
+ };
882
+ const de_ListAdminAccountsForOrganizationCommand = async (output, context) => {
883
+ if (output.statusCode >= 300) {
884
+ return de_CommandError(output, context);
885
+ }
886
+ const data = await core$1.parseJsonBody(output.body, context);
887
+ let contents = {};
888
+ contents = smithyClient._json(data);
889
+ const response = {
890
+ $metadata: deserializeMetadata(output),
891
+ ...contents,
892
+ };
893
+ return response;
894
+ };
895
+ const de_ListAdminsManagingAccountCommand = async (output, context) => {
896
+ if (output.statusCode >= 300) {
897
+ return de_CommandError(output, context);
898
+ }
899
+ const data = await core$1.parseJsonBody(output.body, context);
900
+ let contents = {};
901
+ contents = smithyClient._json(data);
902
+ const response = {
903
+ $metadata: deserializeMetadata(output),
904
+ ...contents,
905
+ };
906
+ return response;
907
+ };
908
+ const de_ListAppsListsCommand = async (output, context) => {
909
+ if (output.statusCode >= 300) {
910
+ return de_CommandError(output, context);
911
+ }
912
+ const data = await core$1.parseJsonBody(output.body, context);
913
+ let contents = {};
914
+ contents = smithyClient._json(data);
915
+ const response = {
916
+ $metadata: deserializeMetadata(output),
917
+ ...contents,
918
+ };
919
+ return response;
920
+ };
921
+ const de_ListComplianceStatusCommand = async (output, context) => {
922
+ if (output.statusCode >= 300) {
923
+ return de_CommandError(output, context);
924
+ }
925
+ const data = await core$1.parseJsonBody(output.body, context);
926
+ let contents = {};
927
+ contents = de_ListComplianceStatusResponse(data);
928
+ const response = {
929
+ $metadata: deserializeMetadata(output),
930
+ ...contents,
931
+ };
932
+ return response;
933
+ };
934
+ const de_ListDiscoveredResourcesCommand = async (output, context) => {
935
+ if (output.statusCode >= 300) {
936
+ return de_CommandError(output, context);
937
+ }
938
+ const data = await core$1.parseJsonBody(output.body, context);
939
+ let contents = {};
940
+ contents = smithyClient._json(data);
941
+ const response = {
942
+ $metadata: deserializeMetadata(output),
943
+ ...contents,
944
+ };
945
+ return response;
946
+ };
947
+ const de_ListMemberAccountsCommand = async (output, context) => {
948
+ if (output.statusCode >= 300) {
949
+ return de_CommandError(output, context);
950
+ }
951
+ const data = await core$1.parseJsonBody(output.body, context);
952
+ let contents = {};
953
+ contents = smithyClient._json(data);
954
+ const response = {
955
+ $metadata: deserializeMetadata(output),
956
+ ...contents,
957
+ };
958
+ return response;
959
+ };
960
+ const de_ListPoliciesCommand = async (output, context) => {
961
+ if (output.statusCode >= 300) {
962
+ return de_CommandError(output, context);
963
+ }
964
+ const data = await core$1.parseJsonBody(output.body, context);
965
+ let contents = {};
966
+ contents = smithyClient._json(data);
967
+ const response = {
968
+ $metadata: deserializeMetadata(output),
969
+ ...contents,
970
+ };
971
+ return response;
972
+ };
973
+ const de_ListProtocolsListsCommand = async (output, context) => {
974
+ if (output.statusCode >= 300) {
975
+ return de_CommandError(output, context);
976
+ }
977
+ const data = await core$1.parseJsonBody(output.body, context);
978
+ let contents = {};
979
+ contents = smithyClient._json(data);
980
+ const response = {
981
+ $metadata: deserializeMetadata(output),
982
+ ...contents,
983
+ };
984
+ return response;
985
+ };
986
+ const de_ListResourceSetResourcesCommand = async (output, context) => {
987
+ if (output.statusCode >= 300) {
988
+ return de_CommandError(output, context);
989
+ }
990
+ const data = await core$1.parseJsonBody(output.body, context);
991
+ let contents = {};
992
+ contents = smithyClient._json(data);
993
+ const response = {
994
+ $metadata: deserializeMetadata(output),
995
+ ...contents,
996
+ };
997
+ return response;
998
+ };
999
+ const de_ListResourceSetsCommand = async (output, context) => {
1000
+ if (output.statusCode >= 300) {
1001
+ return de_CommandError(output, context);
1002
+ }
1003
+ const data = await core$1.parseJsonBody(output.body, context);
1004
+ let contents = {};
1005
+ contents = de_ListResourceSetsResponse(data);
1006
+ const response = {
1007
+ $metadata: deserializeMetadata(output),
1008
+ ...contents,
1009
+ };
1010
+ return response;
1011
+ };
1012
+ const de_ListTagsForResourceCommand = async (output, context) => {
1013
+ if (output.statusCode >= 300) {
1014
+ return de_CommandError(output, context);
1015
+ }
1016
+ const data = await core$1.parseJsonBody(output.body, context);
1017
+ let contents = {};
1018
+ contents = smithyClient._json(data);
1019
+ const response = {
1020
+ $metadata: deserializeMetadata(output),
1021
+ ...contents,
1022
+ };
1023
+ return response;
1024
+ };
1025
+ const de_ListThirdPartyFirewallFirewallPoliciesCommand = async (output, context) => {
1026
+ if (output.statusCode >= 300) {
1027
+ return de_CommandError(output, context);
1028
+ }
1029
+ const data = await core$1.parseJsonBody(output.body, context);
1030
+ let contents = {};
1031
+ contents = smithyClient._json(data);
1032
+ const response = {
1033
+ $metadata: deserializeMetadata(output),
1034
+ ...contents,
1035
+ };
1036
+ return response;
1037
+ };
1038
+ const de_PutAdminAccountCommand = async (output, context) => {
1039
+ if (output.statusCode >= 300) {
1040
+ return de_CommandError(output, context);
1041
+ }
1042
+ await smithyClient.collectBody(output.body, context);
1043
+ const response = {
1044
+ $metadata: deserializeMetadata(output),
1045
+ };
1046
+ return response;
1047
+ };
1048
+ const de_PutAppsListCommand = async (output, context) => {
1049
+ if (output.statusCode >= 300) {
1050
+ return de_CommandError(output, context);
1051
+ }
1052
+ const data = await core$1.parseJsonBody(output.body, context);
1053
+ let contents = {};
1054
+ contents = de_PutAppsListResponse(data);
1055
+ const response = {
1056
+ $metadata: deserializeMetadata(output),
1057
+ ...contents,
1058
+ };
1059
+ return response;
1060
+ };
1061
+ const de_PutNotificationChannelCommand = async (output, context) => {
1062
+ if (output.statusCode >= 300) {
1063
+ return de_CommandError(output, context);
1064
+ }
1065
+ await smithyClient.collectBody(output.body, context);
1066
+ const response = {
1067
+ $metadata: deserializeMetadata(output),
1068
+ };
1069
+ return response;
1070
+ };
1071
+ const de_PutPolicyCommand = async (output, context) => {
1072
+ if (output.statusCode >= 300) {
1073
+ return de_CommandError(output, context);
1074
+ }
1075
+ const data = await core$1.parseJsonBody(output.body, context);
1076
+ let contents = {};
1077
+ contents = smithyClient._json(data);
1078
+ const response = {
1079
+ $metadata: deserializeMetadata(output),
1080
+ ...contents,
1081
+ };
1082
+ return response;
1083
+ };
1084
+ const de_PutProtocolsListCommand = async (output, context) => {
1085
+ if (output.statusCode >= 300) {
1086
+ return de_CommandError(output, context);
1087
+ }
1088
+ const data = await core$1.parseJsonBody(output.body, context);
1089
+ let contents = {};
1090
+ contents = de_PutProtocolsListResponse(data);
1091
+ const response = {
1092
+ $metadata: deserializeMetadata(output),
1093
+ ...contents,
1094
+ };
1095
+ return response;
1096
+ };
1097
+ const de_PutResourceSetCommand = async (output, context) => {
1098
+ if (output.statusCode >= 300) {
1099
+ return de_CommandError(output, context);
1100
+ }
1101
+ const data = await core$1.parseJsonBody(output.body, context);
1102
+ let contents = {};
1103
+ contents = de_PutResourceSetResponse(data);
1104
+ const response = {
1105
+ $metadata: deserializeMetadata(output),
1106
+ ...contents,
1107
+ };
1108
+ return response;
1109
+ };
1110
+ const de_TagResourceCommand = async (output, context) => {
1111
+ if (output.statusCode >= 300) {
1112
+ return de_CommandError(output, context);
1113
+ }
1114
+ const data = await core$1.parseJsonBody(output.body, context);
1115
+ let contents = {};
1116
+ contents = smithyClient._json(data);
1117
+ const response = {
1118
+ $metadata: deserializeMetadata(output),
1119
+ ...contents,
1120
+ };
1121
+ return response;
1122
+ };
1123
+ const de_UntagResourceCommand = async (output, context) => {
1124
+ if (output.statusCode >= 300) {
1125
+ return de_CommandError(output, context);
1126
+ }
1127
+ const data = await core$1.parseJsonBody(output.body, context);
1128
+ let contents = {};
1129
+ contents = smithyClient._json(data);
1130
+ const response = {
1131
+ $metadata: deserializeMetadata(output),
1132
+ ...contents,
1133
+ };
1134
+ return response;
1135
+ };
1136
+ const de_CommandError = async (output, context) => {
1137
+ const parsedOutput = {
1138
+ ...output,
1139
+ body: await core$1.parseJsonErrorBody(output.body, context),
1140
+ };
1141
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1142
+ switch (errorCode) {
1143
+ case "InternalErrorException":
1144
+ case "com.amazonaws.fms#InternalErrorException":
1145
+ throw await de_InternalErrorExceptionRes(parsedOutput);
1146
+ case "InvalidInputException":
1147
+ case "com.amazonaws.fms#InvalidInputException":
1148
+ throw await de_InvalidInputExceptionRes(parsedOutput);
1149
+ case "InvalidOperationException":
1150
+ case "com.amazonaws.fms#InvalidOperationException":
1151
+ throw await de_InvalidOperationExceptionRes(parsedOutput);
1152
+ case "LimitExceededException":
1153
+ case "com.amazonaws.fms#LimitExceededException":
1154
+ throw await de_LimitExceededExceptionRes(parsedOutput);
1155
+ case "ResourceNotFoundException":
1156
+ case "com.amazonaws.fms#ResourceNotFoundException":
1157
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1158
+ case "InvalidTypeException":
1159
+ case "com.amazonaws.fms#InvalidTypeException":
1160
+ throw await de_InvalidTypeExceptionRes(parsedOutput);
1161
+ default:
1162
+ const parsedBody = parsedOutput.body;
1163
+ return throwDefaultError({
1164
+ output,
1165
+ parsedBody,
1166
+ errorCode,
1167
+ });
1168
+ }
278
1169
  };
279
-
280
- // src/models/models_0.ts
281
- var AccountRoleStatus = {
282
- Creating: "CREATING",
283
- Deleted: "DELETED",
284
- Deleting: "DELETING",
285
- PendingDeletion: "PENDING_DELETION",
286
- Ready: "READY"
287
- };
288
- var OrganizationStatus = {
289
- Offboarding: "OFFBOARDING",
290
- OffboardingComplete: "OFFBOARDING_COMPLETE",
291
- Onboarding: "ONBOARDING",
292
- OnboardingComplete: "ONBOARDING_COMPLETE"
293
- };
294
- var SecurityServiceType = {
295
- DNS_FIREWALL: "DNS_FIREWALL",
296
- IMPORT_NETWORK_FIREWALL: "IMPORT_NETWORK_FIREWALL",
297
- NETWORK_ACL_COMMON: "NETWORK_ACL_COMMON",
298
- NETWORK_FIREWALL: "NETWORK_FIREWALL",
299
- SECURITY_GROUPS_COMMON: "SECURITY_GROUPS_COMMON",
300
- SECURITY_GROUPS_CONTENT_AUDIT: "SECURITY_GROUPS_CONTENT_AUDIT",
301
- SECURITY_GROUPS_USAGE_AUDIT: "SECURITY_GROUPS_USAGE_AUDIT",
302
- SHIELD_ADVANCED: "SHIELD_ADVANCED",
303
- THIRD_PARTY_FIREWALL: "THIRD_PARTY_FIREWALL",
304
- WAF: "WAF",
305
- WAFV2: "WAFV2"
306
- };
307
- var InternalErrorException = class _InternalErrorException extends FMSServiceException {
308
- static {
309
- __name(this, "InternalErrorException");
310
- }
311
- name = "InternalErrorException";
312
- $fault = "client";
313
- Message;
314
- /**
315
- * @internal
316
- */
317
- constructor(opts) {
318
- super({
319
- name: "InternalErrorException",
320
- $fault: "client",
321
- ...opts
1170
+ const de_InternalErrorExceptionRes = async (parsedOutput, context) => {
1171
+ const body = parsedOutput.body;
1172
+ const deserialized = smithyClient._json(body);
1173
+ const exception = new InternalErrorException({
1174
+ $metadata: deserializeMetadata(parsedOutput),
1175
+ ...deserialized,
322
1176
  });
323
- Object.setPrototypeOf(this, _InternalErrorException.prototype);
324
- this.Message = opts.Message;
325
- }
326
- };
327
- var InvalidInputException = class _InvalidInputException extends FMSServiceException {
328
- static {
329
- __name(this, "InvalidInputException");
330
- }
331
- name = "InvalidInputException";
332
- $fault = "client";
333
- Message;
334
- /**
335
- * @internal
336
- */
337
- constructor(opts) {
338
- super({
339
- name: "InvalidInputException",
340
- $fault: "client",
341
- ...opts
1177
+ return smithyClient.decorateServiceException(exception, body);
1178
+ };
1179
+ const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
1180
+ const body = parsedOutput.body;
1181
+ const deserialized = smithyClient._json(body);
1182
+ const exception = new InvalidInputException({
1183
+ $metadata: deserializeMetadata(parsedOutput),
1184
+ ...deserialized,
342
1185
  });
343
- Object.setPrototypeOf(this, _InvalidInputException.prototype);
344
- this.Message = opts.Message;
345
- }
346
- };
347
- var InvalidOperationException = class _InvalidOperationException extends FMSServiceException {
348
- static {
349
- __name(this, "InvalidOperationException");
350
- }
351
- name = "InvalidOperationException";
352
- $fault = "client";
353
- Message;
354
- /**
355
- * @internal
356
- */
357
- constructor(opts) {
358
- super({
359
- name: "InvalidOperationException",
360
- $fault: "client",
361
- ...opts
1186
+ return smithyClient.decorateServiceException(exception, body);
1187
+ };
1188
+ const de_InvalidOperationExceptionRes = async (parsedOutput, context) => {
1189
+ const body = parsedOutput.body;
1190
+ const deserialized = smithyClient._json(body);
1191
+ const exception = new InvalidOperationException({
1192
+ $metadata: deserializeMetadata(parsedOutput),
1193
+ ...deserialized,
362
1194
  });
363
- Object.setPrototypeOf(this, _InvalidOperationException.prototype);
364
- this.Message = opts.Message;
365
- }
366
- };
367
- var LimitExceededException = class _LimitExceededException extends FMSServiceException {
368
- static {
369
- __name(this, "LimitExceededException");
370
- }
371
- name = "LimitExceededException";
372
- $fault = "client";
373
- Message;
374
- /**
375
- * @internal
376
- */
377
- constructor(opts) {
378
- super({
379
- name: "LimitExceededException",
380
- $fault: "client",
381
- ...opts
1195
+ return smithyClient.decorateServiceException(exception, body);
1196
+ };
1197
+ const de_InvalidTypeExceptionRes = async (parsedOutput, context) => {
1198
+ const body = parsedOutput.body;
1199
+ const deserialized = smithyClient._json(body);
1200
+ const exception = new InvalidTypeException({
1201
+ $metadata: deserializeMetadata(parsedOutput),
1202
+ ...deserialized,
382
1203
  });
383
- Object.setPrototypeOf(this, _LimitExceededException.prototype);
384
- this.Message = opts.Message;
385
- }
386
- };
387
- var ResourceNotFoundException = class _ResourceNotFoundException extends FMSServiceException {
388
- static {
389
- __name(this, "ResourceNotFoundException");
390
- }
391
- name = "ResourceNotFoundException";
392
- $fault = "client";
393
- Message;
394
- /**
395
- * @internal
396
- */
397
- constructor(opts) {
398
- super({
399
- name: "ResourceNotFoundException",
400
- $fault: "client",
401
- ...opts
1204
+ return smithyClient.decorateServiceException(exception, body);
1205
+ };
1206
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1207
+ const body = parsedOutput.body;
1208
+ const deserialized = smithyClient._json(body);
1209
+ const exception = new LimitExceededException({
1210
+ $metadata: deserializeMetadata(parsedOutput),
1211
+ ...deserialized,
402
1212
  });
403
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
404
- this.Message = opts.Message;
405
- }
406
- };
407
- var ThirdPartyFirewall = {
408
- FORTIGATE_CLOUD_NATIVE_FIREWALL: "FORTIGATE_CLOUD_NATIVE_FIREWALL",
409
- PALO_ALTO_NETWORKS_CLOUD_NGFW: "PALO_ALTO_NETWORKS_CLOUD_NGFW"
410
- };
411
- var ThirdPartyFirewallAssociationStatus = {
412
- NOT_EXIST: "NOT_EXIST",
413
- OFFBOARDING: "OFFBOARDING",
414
- OFFBOARD_COMPLETE: "OFFBOARD_COMPLETE",
415
- ONBOARDING: "ONBOARDING",
416
- ONBOARD_COMPLETE: "ONBOARD_COMPLETE"
417
- };
418
- var FailedItemReason = {
419
- NotValidAccountId: "NOT_VALID_ACCOUNT_ID",
420
- NotValidArn: "NOT_VALID_ARN",
421
- NotValidPartition: "NOT_VALID_PARTITION",
422
- NotValidRegion: "NOT_VALID_REGION",
423
- NotValidResourceType: "NOT_VALID_RESOURCE_TYPE",
424
- NotValidService: "NOT_VALID_SERVICE"
425
- };
426
- var DependentServiceName = {
427
- AWSConfig: "AWSCONFIG",
428
- AWSShieldAdvanced: "AWSSHIELD_ADVANCED",
429
- AWSVirtualPrivateCloud: "AWSVPC",
430
- AWSWAF: "AWSWAF"
431
- };
432
- var ViolationReason = {
433
- BlackHoleRouteDetected: "BLACK_HOLE_ROUTE_DETECTED",
434
- BlackHoleRouteDetectedInFirewallSubnet: "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET",
435
- FMSCreatedSecurityGroupEdited: "FMS_CREATED_SECURITY_GROUP_EDITED",
436
- FirewallSubnetIsOutOfScope: "FIREWALL_SUBNET_IS_OUT_OF_SCOPE",
437
- FirewallSubnetMissingExpectedRoute: "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE",
438
- FirewallSubnetMissingVPCEndpoint: "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT",
439
- InternetGatewayMissingExpectedRoute: "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE",
440
- InternetTrafficNotInspected: "INTERNET_TRAFFIC_NOT_INSPECTED",
441
- InvalidNetworkAclEntry: "INVALID_NETWORK_ACL_ENTRY",
442
- InvalidRouteConfiguration: "INVALID_ROUTE_CONFIGURATION",
443
- MissingExpectedRouteTable: "MISSING_EXPECTED_ROUTE_TABLE",
444
- MissingFirewall: "MISSING_FIREWALL",
445
- MissingFirewallSubnetInAZ: "MISSING_FIREWALL_SUBNET_IN_AZ",
446
- MissingTargetGateway: "MISSING_TARGET_GATEWAY",
447
- NetworkFirewallPolicyModified: "NETWORK_FIREWALL_POLICY_MODIFIED",
448
- ResourceIncorrectWebAcl: "RESOURCE_INCORRECT_WEB_ACL",
449
- ResourceMissingDnsFirewall: "RESOURCE_MISSING_DNS_FIREWALL",
450
- ResourceMissingSecurityGroup: "RESOURCE_MISSING_SECURITY_GROUP",
451
- ResourceMissingShieldProtection: "RESOURCE_MISSING_SHIELD_PROTECTION",
452
- ResourceMissingWebAcl: "RESOURCE_MISSING_WEB_ACL",
453
- ResourceMissingWebaclOrShieldProtection: "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION",
454
- ResourceViolatesAuditSecurityGroup: "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP",
455
- RouteHasOutOfScopeEndpoint: "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT",
456
- SecurityGroupRedundant: "SECURITY_GROUP_REDUNDANT",
457
- SecurityGroupUnused: "SECURITY_GROUP_UNUSED",
458
- TrafficInspectionCrossesAZBoundary: "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY",
459
- UnexpectedFirewallRoutes: "UNEXPECTED_FIREWALL_ROUTES",
460
- UnexpectedTargetGatewayRoutes: "UNEXPECTED_TARGET_GATEWAY_ROUTES",
461
- WebACLConfigurationOrScopeOfUse: "WEB_ACL_CONFIGURATION_OR_SCOPE_OF_USE",
462
- WebAclMissingRuleGroup: "WEB_ACL_MISSING_RULE_GROUP"
463
- };
464
- var CustomerPolicyScopeIdType = {
465
- ACCOUNT: "ACCOUNT",
466
- ORG_UNIT: "ORG_UNIT"
467
- };
468
- var CustomerPolicyStatus = {
469
- ACTIVE: "ACTIVE",
470
- OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE"
471
- };
472
- var ResourceTagLogicalOperator = {
473
- AND: "AND",
474
- OR: "OR"
475
- };
476
- var NetworkAclRuleAction = {
477
- ALLOW: "allow",
478
- DENY: "deny"
479
- };
480
- var FirewallDeploymentModel = {
481
- CENTRALIZED: "CENTRALIZED",
482
- DISTRIBUTED: "DISTRIBUTED"
483
- };
484
- var InvalidTypeException = class _InvalidTypeException extends FMSServiceException {
485
- static {
486
- __name(this, "InvalidTypeException");
487
- }
488
- name = "InvalidTypeException";
489
- $fault = "client";
490
- Message;
491
- /**
492
- * @internal
493
- */
494
- constructor(opts) {
495
- super({
496
- name: "InvalidTypeException",
497
- $fault: "client",
498
- ...opts
1213
+ return smithyClient.decorateServiceException(exception, body);
1214
+ };
1215
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1216
+ const body = parsedOutput.body;
1217
+ const deserialized = smithyClient._json(body);
1218
+ const exception = new ResourceNotFoundException({
1219
+ $metadata: deserializeMetadata(parsedOutput),
1220
+ ...deserialized,
1221
+ });
1222
+ return smithyClient.decorateServiceException(exception, body);
1223
+ };
1224
+ const se_AppsListData = (input, context) => {
1225
+ return smithyClient.take(input, {
1226
+ AppsList: smithyClient._json,
1227
+ CreateTime: (_) => _.getTime() / 1_000,
1228
+ LastUpdateTime: (_) => _.getTime() / 1_000,
1229
+ ListId: [],
1230
+ ListName: [],
1231
+ ListUpdateToken: [],
1232
+ PreviousAppsList: smithyClient._json,
499
1233
  });
500
- Object.setPrototypeOf(this, _InvalidTypeException.prototype);
501
- this.Message = opts.Message;
502
- }
503
- };
504
- var ResourceSetStatus = {
505
- ACTIVE: "ACTIVE",
506
- OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE"
507
- };
508
- var MarketplaceSubscriptionOnboardingStatus = {
509
- COMPLETE: "COMPLETE",
510
- NOT_COMPLETE: "NOT_COMPLETE",
511
- NO_SUBSCRIPTION: "NO_SUBSCRIPTION"
512
- };
513
- var RemediationActionType = {
514
- Modify: "MODIFY",
515
- Remove: "REMOVE"
516
- };
517
- var EntryType = {
518
- CustomEntry: "CUSTOM_ENTRY",
519
- FMSManagedFirstEntry: "FMS_MANAGED_FIRST_ENTRY",
520
- FMSManagedLastEntry: "FMS_MANAGED_LAST_ENTRY"
521
- };
522
- var EntryViolationReason = {
523
- EntryConflict: "ENTRY_CONFLICT",
524
- IncorrectEntryOrder: "INCORRECT_ENTRY_ORDER",
525
- MissingExpectedEntry: "MISSING_EXPECTED_ENTRY"
526
- };
527
- var DestinationType = {
528
- IPV4: "IPV4",
529
- IPV6: "IPV6",
530
- PrefixList: "PREFIX_LIST"
531
- };
532
- var TargetType = {
533
- CarrierGateway: "CARRIER_GATEWAY",
534
- EgressOnlyInternetGateway: "EGRESS_ONLY_INTERNET_GATEWAY",
535
- Gateway: "GATEWAY",
536
- Instance: "INSTANCE",
537
- LocalGateway: "LOCAL_GATEWAY",
538
- NatGateway: "NAT_GATEWAY",
539
- NetworkInterface: "NETWORK_INTERFACE",
540
- TransitGateway: "TRANSIT_GATEWAY",
541
- VPCEndpoint: "VPC_ENDPOINT",
542
- VPCPeeringConnection: "VPC_PEERING_CONNECTION"
543
- };
544
- var RuleOrder = {
545
- DEFAULT_ACTION_ORDER: "DEFAULT_ACTION_ORDER",
546
- STRICT_ORDER: "STRICT_ORDER"
547
- };
548
- var StreamExceptionPolicy = {
549
- CONTINUE: "CONTINUE",
550
- DROP: "DROP",
551
- FMS_IGNORE: "FMS_IGNORE",
552
- REJECT: "REJECT"
553
- };
554
- var NetworkFirewallOverrideAction = {
555
- DROP_TO_ALERT: "DROP_TO_ALERT"
556
- };
557
- var PolicyComplianceStatusType = {
558
- Compliant: "COMPLIANT",
559
- NonCompliant: "NON_COMPLIANT"
560
- };
561
-
562
- // src/protocols/Aws_json1_1.ts
563
- var se_AssociateAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
564
- const headers = sharedHeaders("AssociateAdminAccount");
565
- let body;
566
- body = JSON.stringify((0, import_smithy_client._json)(input));
567
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
568
- }, "se_AssociateAdminAccountCommand");
569
- var se_AssociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (input, context) => {
570
- const headers = sharedHeaders("AssociateThirdPartyFirewall");
571
- let body;
572
- body = JSON.stringify((0, import_smithy_client._json)(input));
573
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
574
- }, "se_AssociateThirdPartyFirewallCommand");
575
- var se_BatchAssociateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
576
- const headers = sharedHeaders("BatchAssociateResource");
577
- let body;
578
- body = JSON.stringify((0, import_smithy_client._json)(input));
579
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
580
- }, "se_BatchAssociateResourceCommand");
581
- var se_BatchDisassociateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
582
- const headers = sharedHeaders("BatchDisassociateResource");
583
- let body;
584
- body = JSON.stringify((0, import_smithy_client._json)(input));
585
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
586
- }, "se_BatchDisassociateResourceCommand");
587
- var se_DeleteAppsListCommand = /* @__PURE__ */ __name(async (input, context) => {
588
- const headers = sharedHeaders("DeleteAppsList");
589
- let body;
590
- body = JSON.stringify((0, import_smithy_client._json)(input));
591
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
592
- }, "se_DeleteAppsListCommand");
593
- var se_DeleteNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
594
- const headers = sharedHeaders("DeleteNotificationChannel");
595
- let body;
596
- body = JSON.stringify((0, import_smithy_client._json)(input));
597
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
598
- }, "se_DeleteNotificationChannelCommand");
599
- var se_DeletePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
600
- const headers = sharedHeaders("DeletePolicy");
601
- let body;
602
- body = JSON.stringify((0, import_smithy_client._json)(input));
603
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
604
- }, "se_DeletePolicyCommand");
605
- var se_DeleteProtocolsListCommand = /* @__PURE__ */ __name(async (input, context) => {
606
- const headers = sharedHeaders("DeleteProtocolsList");
607
- let body;
608
- body = JSON.stringify((0, import_smithy_client._json)(input));
609
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
610
- }, "se_DeleteProtocolsListCommand");
611
- var se_DeleteResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
612
- const headers = sharedHeaders("DeleteResourceSet");
613
- let body;
614
- body = JSON.stringify((0, import_smithy_client._json)(input));
615
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
616
- }, "se_DeleteResourceSetCommand");
617
- var se_DisassociateAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
618
- const headers = sharedHeaders("DisassociateAdminAccount");
619
- let body;
620
- body = JSON.stringify((0, import_smithy_client._json)(input));
621
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
622
- }, "se_DisassociateAdminAccountCommand");
623
- var se_DisassociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (input, context) => {
624
- const headers = sharedHeaders("DisassociateThirdPartyFirewall");
625
- let body;
626
- body = JSON.stringify((0, import_smithy_client._json)(input));
627
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
628
- }, "se_DisassociateThirdPartyFirewallCommand");
629
- var se_GetAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
630
- const headers = sharedHeaders("GetAdminAccount");
631
- let body;
632
- body = JSON.stringify((0, import_smithy_client._json)(input));
633
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
634
- }, "se_GetAdminAccountCommand");
635
- var se_GetAdminScopeCommand = /* @__PURE__ */ __name(async (input, context) => {
636
- const headers = sharedHeaders("GetAdminScope");
637
- let body;
638
- body = JSON.stringify((0, import_smithy_client._json)(input));
639
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
640
- }, "se_GetAdminScopeCommand");
641
- var se_GetAppsListCommand = /* @__PURE__ */ __name(async (input, context) => {
642
- const headers = sharedHeaders("GetAppsList");
643
- let body;
644
- body = JSON.stringify((0, import_smithy_client._json)(input));
645
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
646
- }, "se_GetAppsListCommand");
647
- var se_GetComplianceDetailCommand = /* @__PURE__ */ __name(async (input, context) => {
648
- const headers = sharedHeaders("GetComplianceDetail");
649
- let body;
650
- body = JSON.stringify((0, import_smithy_client._json)(input));
651
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
652
- }, "se_GetComplianceDetailCommand");
653
- var se_GetNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
654
- const headers = sharedHeaders("GetNotificationChannel");
655
- let body;
656
- body = JSON.stringify((0, import_smithy_client._json)(input));
657
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
658
- }, "se_GetNotificationChannelCommand");
659
- var se_GetPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
660
- const headers = sharedHeaders("GetPolicy");
661
- let body;
662
- body = JSON.stringify((0, import_smithy_client._json)(input));
663
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
664
- }, "se_GetPolicyCommand");
665
- var se_GetProtectionStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
666
- const headers = sharedHeaders("GetProtectionStatus");
667
- let body;
668
- body = JSON.stringify(se_GetProtectionStatusRequest(input, context));
669
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
670
- }, "se_GetProtectionStatusCommand");
671
- var se_GetProtocolsListCommand = /* @__PURE__ */ __name(async (input, context) => {
672
- const headers = sharedHeaders("GetProtocolsList");
673
- let body;
674
- body = JSON.stringify((0, import_smithy_client._json)(input));
675
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
676
- }, "se_GetProtocolsListCommand");
677
- var se_GetResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
678
- const headers = sharedHeaders("GetResourceSet");
679
- let body;
680
- body = JSON.stringify((0, import_smithy_client._json)(input));
681
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
682
- }, "se_GetResourceSetCommand");
683
- var se_GetThirdPartyFirewallAssociationStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
684
- const headers = sharedHeaders("GetThirdPartyFirewallAssociationStatus");
685
- let body;
686
- body = JSON.stringify((0, import_smithy_client._json)(input));
687
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
688
- }, "se_GetThirdPartyFirewallAssociationStatusCommand");
689
- var se_GetViolationDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
690
- const headers = sharedHeaders("GetViolationDetails");
691
- let body;
692
- body = JSON.stringify((0, import_smithy_client._json)(input));
693
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
694
- }, "se_GetViolationDetailsCommand");
695
- var se_ListAdminAccountsForOrganizationCommand = /* @__PURE__ */ __name(async (input, context) => {
696
- const headers = sharedHeaders("ListAdminAccountsForOrganization");
697
- let body;
698
- body = JSON.stringify((0, import_smithy_client._json)(input));
699
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
700
- }, "se_ListAdminAccountsForOrganizationCommand");
701
- var se_ListAdminsManagingAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
702
- const headers = sharedHeaders("ListAdminsManagingAccount");
703
- let body;
704
- body = JSON.stringify((0, import_smithy_client._json)(input));
705
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
706
- }, "se_ListAdminsManagingAccountCommand");
707
- var se_ListAppsListsCommand = /* @__PURE__ */ __name(async (input, context) => {
708
- const headers = sharedHeaders("ListAppsLists");
709
- let body;
710
- body = JSON.stringify((0, import_smithy_client._json)(input));
711
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
712
- }, "se_ListAppsListsCommand");
713
- var se_ListComplianceStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
714
- const headers = sharedHeaders("ListComplianceStatus");
715
- let body;
716
- body = JSON.stringify((0, import_smithy_client._json)(input));
717
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
718
- }, "se_ListComplianceStatusCommand");
719
- var se_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
720
- const headers = sharedHeaders("ListDiscoveredResources");
721
- let body;
722
- body = JSON.stringify((0, import_smithy_client._json)(input));
723
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
724
- }, "se_ListDiscoveredResourcesCommand");
725
- var se_ListMemberAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
726
- const headers = sharedHeaders("ListMemberAccounts");
727
- let body;
728
- body = JSON.stringify((0, import_smithy_client._json)(input));
729
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
730
- }, "se_ListMemberAccountsCommand");
731
- var se_ListPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
732
- const headers = sharedHeaders("ListPolicies");
733
- let body;
734
- body = JSON.stringify((0, import_smithy_client._json)(input));
735
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
736
- }, "se_ListPoliciesCommand");
737
- var se_ListProtocolsListsCommand = /* @__PURE__ */ __name(async (input, context) => {
738
- const headers = sharedHeaders("ListProtocolsLists");
739
- let body;
740
- body = JSON.stringify((0, import_smithy_client._json)(input));
741
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
742
- }, "se_ListProtocolsListsCommand");
743
- var se_ListResourceSetResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
744
- const headers = sharedHeaders("ListResourceSetResources");
745
- let body;
746
- body = JSON.stringify((0, import_smithy_client._json)(input));
747
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
748
- }, "se_ListResourceSetResourcesCommand");
749
- var se_ListResourceSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
750
- const headers = sharedHeaders("ListResourceSets");
751
- let body;
752
- body = JSON.stringify((0, import_smithy_client._json)(input));
753
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
754
- }, "se_ListResourceSetsCommand");
755
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
756
- const headers = sharedHeaders("ListTagsForResource");
757
- let body;
758
- body = JSON.stringify((0, import_smithy_client._json)(input));
759
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
760
- }, "se_ListTagsForResourceCommand");
761
- var se_ListThirdPartyFirewallFirewallPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
762
- const headers = sharedHeaders("ListThirdPartyFirewallFirewallPolicies");
763
- let body;
764
- body = JSON.stringify((0, import_smithy_client._json)(input));
765
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
766
- }, "se_ListThirdPartyFirewallFirewallPoliciesCommand");
767
- var se_PutAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
768
- const headers = sharedHeaders("PutAdminAccount");
769
- let body;
770
- body = JSON.stringify((0, import_smithy_client._json)(input));
771
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
772
- }, "se_PutAdminAccountCommand");
773
- var se_PutAppsListCommand = /* @__PURE__ */ __name(async (input, context) => {
774
- const headers = sharedHeaders("PutAppsList");
775
- let body;
776
- body = JSON.stringify(se_PutAppsListRequest(input, context));
777
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
778
- }, "se_PutAppsListCommand");
779
- var se_PutNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
780
- const headers = sharedHeaders("PutNotificationChannel");
781
- let body;
782
- body = JSON.stringify((0, import_smithy_client._json)(input));
783
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
784
- }, "se_PutNotificationChannelCommand");
785
- var se_PutPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
786
- const headers = sharedHeaders("PutPolicy");
787
- let body;
788
- body = JSON.stringify((0, import_smithy_client._json)(input));
789
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
790
- }, "se_PutPolicyCommand");
791
- var se_PutProtocolsListCommand = /* @__PURE__ */ __name(async (input, context) => {
792
- const headers = sharedHeaders("PutProtocolsList");
793
- let body;
794
- body = JSON.stringify(se_PutProtocolsListRequest(input, context));
795
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
796
- }, "se_PutProtocolsListCommand");
797
- var se_PutResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
798
- const headers = sharedHeaders("PutResourceSet");
799
- let body;
800
- body = JSON.stringify(se_PutResourceSetRequest(input, context));
801
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
802
- }, "se_PutResourceSetCommand");
803
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
804
- const headers = sharedHeaders("TagResource");
805
- let body;
806
- body = JSON.stringify((0, import_smithy_client._json)(input));
807
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
808
- }, "se_TagResourceCommand");
809
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
810
- const headers = sharedHeaders("UntagResource");
811
- let body;
812
- body = JSON.stringify((0, import_smithy_client._json)(input));
813
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
814
- }, "se_UntagResourceCommand");
815
- var de_AssociateAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
816
- if (output.statusCode >= 300) {
817
- return de_CommandError(output, context);
818
- }
819
- await (0, import_smithy_client.collectBody)(output.body, context);
820
- const response = {
821
- $metadata: deserializeMetadata(output)
822
- };
823
- return response;
824
- }, "de_AssociateAdminAccountCommand");
825
- var de_AssociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (output, context) => {
826
- if (output.statusCode >= 300) {
827
- return de_CommandError(output, context);
828
- }
829
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
830
- let contents = {};
831
- contents = (0, import_smithy_client._json)(data);
832
- const response = {
833
- $metadata: deserializeMetadata(output),
834
- ...contents
835
- };
836
- return response;
837
- }, "de_AssociateThirdPartyFirewallCommand");
838
- var de_BatchAssociateResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
839
- if (output.statusCode >= 300) {
840
- return de_CommandError(output, context);
841
- }
842
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
843
- let contents = {};
844
- contents = (0, import_smithy_client._json)(data);
845
- const response = {
846
- $metadata: deserializeMetadata(output),
847
- ...contents
848
- };
849
- return response;
850
- }, "de_BatchAssociateResourceCommand");
851
- var de_BatchDisassociateResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
852
- if (output.statusCode >= 300) {
853
- return de_CommandError(output, context);
854
- }
855
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
856
- let contents = {};
857
- contents = (0, import_smithy_client._json)(data);
858
- const response = {
859
- $metadata: deserializeMetadata(output),
860
- ...contents
861
- };
862
- return response;
863
- }, "de_BatchDisassociateResourceCommand");
864
- var de_DeleteAppsListCommand = /* @__PURE__ */ __name(async (output, context) => {
865
- if (output.statusCode >= 300) {
866
- return de_CommandError(output, context);
867
- }
868
- await (0, import_smithy_client.collectBody)(output.body, context);
869
- const response = {
870
- $metadata: deserializeMetadata(output)
871
- };
872
- return response;
873
- }, "de_DeleteAppsListCommand");
874
- var de_DeleteNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
875
- if (output.statusCode >= 300) {
876
- return de_CommandError(output, context);
877
- }
878
- await (0, import_smithy_client.collectBody)(output.body, context);
879
- const response = {
880
- $metadata: deserializeMetadata(output)
881
- };
882
- return response;
883
- }, "de_DeleteNotificationChannelCommand");
884
- var de_DeletePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
885
- if (output.statusCode >= 300) {
886
- return de_CommandError(output, context);
887
- }
888
- await (0, import_smithy_client.collectBody)(output.body, context);
889
- const response = {
890
- $metadata: deserializeMetadata(output)
891
- };
892
- return response;
893
- }, "de_DeletePolicyCommand");
894
- var de_DeleteProtocolsListCommand = /* @__PURE__ */ __name(async (output, context) => {
895
- if (output.statusCode >= 300) {
896
- return de_CommandError(output, context);
897
- }
898
- await (0, import_smithy_client.collectBody)(output.body, context);
899
- const response = {
900
- $metadata: deserializeMetadata(output)
901
- };
902
- return response;
903
- }, "de_DeleteProtocolsListCommand");
904
- var de_DeleteResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
905
- if (output.statusCode >= 300) {
906
- return de_CommandError(output, context);
907
- }
908
- await (0, import_smithy_client.collectBody)(output.body, context);
909
- const response = {
910
- $metadata: deserializeMetadata(output)
911
- };
912
- return response;
913
- }, "de_DeleteResourceSetCommand");
914
- var de_DisassociateAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
915
- if (output.statusCode >= 300) {
916
- return de_CommandError(output, context);
917
- }
918
- await (0, import_smithy_client.collectBody)(output.body, context);
919
- const response = {
920
- $metadata: deserializeMetadata(output)
921
- };
922
- return response;
923
- }, "de_DisassociateAdminAccountCommand");
924
- var de_DisassociateThirdPartyFirewallCommand = /* @__PURE__ */ __name(async (output, context) => {
925
- if (output.statusCode >= 300) {
926
- return de_CommandError(output, context);
927
- }
928
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
929
- let contents = {};
930
- contents = (0, import_smithy_client._json)(data);
931
- const response = {
932
- $metadata: deserializeMetadata(output),
933
- ...contents
934
- };
935
- return response;
936
- }, "de_DisassociateThirdPartyFirewallCommand");
937
- var de_GetAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
938
- if (output.statusCode >= 300) {
939
- return de_CommandError(output, context);
940
- }
941
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
942
- let contents = {};
943
- contents = (0, import_smithy_client._json)(data);
944
- const response = {
945
- $metadata: deserializeMetadata(output),
946
- ...contents
947
- };
948
- return response;
949
- }, "de_GetAdminAccountCommand");
950
- var de_GetAdminScopeCommand = /* @__PURE__ */ __name(async (output, context) => {
951
- if (output.statusCode >= 300) {
952
- return de_CommandError(output, context);
953
- }
954
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
955
- let contents = {};
956
- contents = (0, import_smithy_client._json)(data);
957
- const response = {
958
- $metadata: deserializeMetadata(output),
959
- ...contents
960
- };
961
- return response;
962
- }, "de_GetAdminScopeCommand");
963
- var de_GetAppsListCommand = /* @__PURE__ */ __name(async (output, context) => {
964
- if (output.statusCode >= 300) {
965
- return de_CommandError(output, context);
966
- }
967
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
968
- let contents = {};
969
- contents = de_GetAppsListResponse(data, context);
970
- const response = {
971
- $metadata: deserializeMetadata(output),
972
- ...contents
973
- };
974
- return response;
975
- }, "de_GetAppsListCommand");
976
- var de_GetComplianceDetailCommand = /* @__PURE__ */ __name(async (output, context) => {
977
- if (output.statusCode >= 300) {
978
- return de_CommandError(output, context);
979
- }
980
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
981
- let contents = {};
982
- contents = de_GetComplianceDetailResponse(data, context);
983
- const response = {
984
- $metadata: deserializeMetadata(output),
985
- ...contents
986
- };
987
- return response;
988
- }, "de_GetComplianceDetailCommand");
989
- var de_GetNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
990
- if (output.statusCode >= 300) {
991
- return de_CommandError(output, context);
992
- }
993
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
994
- let contents = {};
995
- contents = (0, import_smithy_client._json)(data);
996
- const response = {
997
- $metadata: deserializeMetadata(output),
998
- ...contents
999
- };
1000
- return response;
1001
- }, "de_GetNotificationChannelCommand");
1002
- var de_GetPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1003
- if (output.statusCode >= 300) {
1004
- return de_CommandError(output, context);
1005
- }
1006
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1007
- let contents = {};
1008
- contents = (0, import_smithy_client._json)(data);
1009
- const response = {
1010
- $metadata: deserializeMetadata(output),
1011
- ...contents
1012
- };
1013
- return response;
1014
- }, "de_GetPolicyCommand");
1015
- var de_GetProtectionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1016
- if (output.statusCode >= 300) {
1017
- return de_CommandError(output, context);
1018
- }
1019
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1020
- let contents = {};
1021
- contents = (0, import_smithy_client._json)(data);
1022
- const response = {
1023
- $metadata: deserializeMetadata(output),
1024
- ...contents
1025
- };
1026
- return response;
1027
- }, "de_GetProtectionStatusCommand");
1028
- var de_GetProtocolsListCommand = /* @__PURE__ */ __name(async (output, context) => {
1029
- if (output.statusCode >= 300) {
1030
- return de_CommandError(output, context);
1031
- }
1032
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1033
- let contents = {};
1034
- contents = de_GetProtocolsListResponse(data, context);
1035
- const response = {
1036
- $metadata: deserializeMetadata(output),
1037
- ...contents
1038
- };
1039
- return response;
1040
- }, "de_GetProtocolsListCommand");
1041
- var de_GetResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1042
- if (output.statusCode >= 300) {
1043
- return de_CommandError(output, context);
1044
- }
1045
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1046
- let contents = {};
1047
- contents = de_GetResourceSetResponse(data, context);
1048
- const response = {
1049
- $metadata: deserializeMetadata(output),
1050
- ...contents
1051
- };
1052
- return response;
1053
- }, "de_GetResourceSetCommand");
1054
- var de_GetThirdPartyFirewallAssociationStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1055
- if (output.statusCode >= 300) {
1056
- return de_CommandError(output, context);
1057
- }
1058
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1059
- let contents = {};
1060
- contents = (0, import_smithy_client._json)(data);
1061
- const response = {
1062
- $metadata: deserializeMetadata(output),
1063
- ...contents
1064
- };
1065
- return response;
1066
- }, "de_GetThirdPartyFirewallAssociationStatusCommand");
1067
- var de_GetViolationDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
1068
- if (output.statusCode >= 300) {
1069
- return de_CommandError(output, context);
1070
- }
1071
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1072
- let contents = {};
1073
- contents = de_GetViolationDetailsResponse(data, context);
1074
- const response = {
1075
- $metadata: deserializeMetadata(output),
1076
- ...contents
1077
- };
1078
- return response;
1079
- }, "de_GetViolationDetailsCommand");
1080
- var de_ListAdminAccountsForOrganizationCommand = /* @__PURE__ */ __name(async (output, context) => {
1081
- if (output.statusCode >= 300) {
1082
- return de_CommandError(output, context);
1083
- }
1084
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1085
- let contents = {};
1086
- contents = (0, import_smithy_client._json)(data);
1087
- const response = {
1088
- $metadata: deserializeMetadata(output),
1089
- ...contents
1090
- };
1091
- return response;
1092
- }, "de_ListAdminAccountsForOrganizationCommand");
1093
- var de_ListAdminsManagingAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1094
- if (output.statusCode >= 300) {
1095
- return de_CommandError(output, context);
1096
- }
1097
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1098
- let contents = {};
1099
- contents = (0, import_smithy_client._json)(data);
1100
- const response = {
1101
- $metadata: deserializeMetadata(output),
1102
- ...contents
1103
- };
1104
- return response;
1105
- }, "de_ListAdminsManagingAccountCommand");
1106
- var de_ListAppsListsCommand = /* @__PURE__ */ __name(async (output, context) => {
1107
- if (output.statusCode >= 300) {
1108
- return de_CommandError(output, context);
1109
- }
1110
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1111
- let contents = {};
1112
- contents = (0, import_smithy_client._json)(data);
1113
- const response = {
1114
- $metadata: deserializeMetadata(output),
1115
- ...contents
1116
- };
1117
- return response;
1118
- }, "de_ListAppsListsCommand");
1119
- var de_ListComplianceStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1120
- if (output.statusCode >= 300) {
1121
- return de_CommandError(output, context);
1122
- }
1123
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1124
- let contents = {};
1125
- contents = de_ListComplianceStatusResponse(data, context);
1126
- const response = {
1127
- $metadata: deserializeMetadata(output),
1128
- ...contents
1129
- };
1130
- return response;
1131
- }, "de_ListComplianceStatusCommand");
1132
- var de_ListDiscoveredResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1133
- if (output.statusCode >= 300) {
1134
- return de_CommandError(output, context);
1135
- }
1136
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1137
- let contents = {};
1138
- contents = (0, import_smithy_client._json)(data);
1139
- const response = {
1140
- $metadata: deserializeMetadata(output),
1141
- ...contents
1142
- };
1143
- return response;
1144
- }, "de_ListDiscoveredResourcesCommand");
1145
- var de_ListMemberAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
1146
- if (output.statusCode >= 300) {
1147
- return de_CommandError(output, context);
1148
- }
1149
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1150
- let contents = {};
1151
- contents = (0, import_smithy_client._json)(data);
1152
- const response = {
1153
- $metadata: deserializeMetadata(output),
1154
- ...contents
1155
- };
1156
- return response;
1157
- }, "de_ListMemberAccountsCommand");
1158
- var de_ListPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
1159
- if (output.statusCode >= 300) {
1160
- return de_CommandError(output, context);
1161
- }
1162
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1163
- let contents = {};
1164
- contents = (0, import_smithy_client._json)(data);
1165
- const response = {
1166
- $metadata: deserializeMetadata(output),
1167
- ...contents
1168
- };
1169
- return response;
1170
- }, "de_ListPoliciesCommand");
1171
- var de_ListProtocolsListsCommand = /* @__PURE__ */ __name(async (output, context) => {
1172
- if (output.statusCode >= 300) {
1173
- return de_CommandError(output, context);
1174
- }
1175
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1176
- let contents = {};
1177
- contents = (0, import_smithy_client._json)(data);
1178
- const response = {
1179
- $metadata: deserializeMetadata(output),
1180
- ...contents
1181
- };
1182
- return response;
1183
- }, "de_ListProtocolsListsCommand");
1184
- var de_ListResourceSetResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1185
- if (output.statusCode >= 300) {
1186
- return de_CommandError(output, context);
1187
- }
1188
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1189
- let contents = {};
1190
- contents = (0, import_smithy_client._json)(data);
1191
- const response = {
1192
- $metadata: deserializeMetadata(output),
1193
- ...contents
1194
- };
1195
- return response;
1196
- }, "de_ListResourceSetResourcesCommand");
1197
- var de_ListResourceSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1198
- if (output.statusCode >= 300) {
1199
- return de_CommandError(output, context);
1200
- }
1201
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1202
- let contents = {};
1203
- contents = de_ListResourceSetsResponse(data, context);
1204
- const response = {
1205
- $metadata: deserializeMetadata(output),
1206
- ...contents
1207
- };
1208
- return response;
1209
- }, "de_ListResourceSetsCommand");
1210
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1211
- if (output.statusCode >= 300) {
1212
- return de_CommandError(output, context);
1213
- }
1214
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1215
- let contents = {};
1216
- contents = (0, import_smithy_client._json)(data);
1217
- const response = {
1218
- $metadata: deserializeMetadata(output),
1219
- ...contents
1220
- };
1221
- return response;
1222
- }, "de_ListTagsForResourceCommand");
1223
- var de_ListThirdPartyFirewallFirewallPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
1224
- if (output.statusCode >= 300) {
1225
- return de_CommandError(output, context);
1226
- }
1227
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1228
- let contents = {};
1229
- contents = (0, import_smithy_client._json)(data);
1230
- const response = {
1231
- $metadata: deserializeMetadata(output),
1232
- ...contents
1233
- };
1234
- return response;
1235
- }, "de_ListThirdPartyFirewallFirewallPoliciesCommand");
1236
- var de_PutAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
1237
- if (output.statusCode >= 300) {
1238
- return de_CommandError(output, context);
1239
- }
1240
- await (0, import_smithy_client.collectBody)(output.body, context);
1241
- const response = {
1242
- $metadata: deserializeMetadata(output)
1243
- };
1244
- return response;
1245
- }, "de_PutAdminAccountCommand");
1246
- var de_PutAppsListCommand = /* @__PURE__ */ __name(async (output, context) => {
1247
- if (output.statusCode >= 300) {
1248
- return de_CommandError(output, context);
1249
- }
1250
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1251
- let contents = {};
1252
- contents = de_PutAppsListResponse(data, context);
1253
- const response = {
1254
- $metadata: deserializeMetadata(output),
1255
- ...contents
1256
- };
1257
- return response;
1258
- }, "de_PutAppsListCommand");
1259
- var de_PutNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
1260
- if (output.statusCode >= 300) {
1261
- return de_CommandError(output, context);
1262
- }
1263
- await (0, import_smithy_client.collectBody)(output.body, context);
1264
- const response = {
1265
- $metadata: deserializeMetadata(output)
1266
- };
1267
- return response;
1268
- }, "de_PutNotificationChannelCommand");
1269
- var de_PutPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
1270
- if (output.statusCode >= 300) {
1271
- return de_CommandError(output, context);
1272
- }
1273
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1274
- let contents = {};
1275
- contents = (0, import_smithy_client._json)(data);
1276
- const response = {
1277
- $metadata: deserializeMetadata(output),
1278
- ...contents
1279
- };
1280
- return response;
1281
- }, "de_PutPolicyCommand");
1282
- var de_PutProtocolsListCommand = /* @__PURE__ */ __name(async (output, context) => {
1283
- if (output.statusCode >= 300) {
1284
- return de_CommandError(output, context);
1285
- }
1286
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1287
- let contents = {};
1288
- contents = de_PutProtocolsListResponse(data, context);
1289
- const response = {
1290
- $metadata: deserializeMetadata(output),
1291
- ...contents
1292
- };
1293
- return response;
1294
- }, "de_PutProtocolsListCommand");
1295
- var de_PutResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1296
- if (output.statusCode >= 300) {
1297
- return de_CommandError(output, context);
1298
- }
1299
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1300
- let contents = {};
1301
- contents = de_PutResourceSetResponse(data, context);
1302
- const response = {
1303
- $metadata: deserializeMetadata(output),
1304
- ...contents
1305
- };
1306
- return response;
1307
- }, "de_PutResourceSetCommand");
1308
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1309
- if (output.statusCode >= 300) {
1310
- return de_CommandError(output, context);
1311
- }
1312
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1313
- let contents = {};
1314
- contents = (0, import_smithy_client._json)(data);
1315
- const response = {
1316
- $metadata: deserializeMetadata(output),
1317
- ...contents
1318
- };
1319
- return response;
1320
- }, "de_TagResourceCommand");
1321
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1322
- if (output.statusCode >= 300) {
1323
- return de_CommandError(output, context);
1324
- }
1325
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1326
- let contents = {};
1327
- contents = (0, import_smithy_client._json)(data);
1328
- const response = {
1329
- $metadata: deserializeMetadata(output),
1330
- ...contents
1331
- };
1332
- return response;
1333
- }, "de_UntagResourceCommand");
1334
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1335
- const parsedOutput = {
1336
- ...output,
1337
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1338
- };
1339
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1340
- switch (errorCode) {
1341
- case "InternalErrorException":
1342
- case "com.amazonaws.fms#InternalErrorException":
1343
- throw await de_InternalErrorExceptionRes(parsedOutput, context);
1344
- case "InvalidInputException":
1345
- case "com.amazonaws.fms#InvalidInputException":
1346
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
1347
- case "InvalidOperationException":
1348
- case "com.amazonaws.fms#InvalidOperationException":
1349
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1350
- case "LimitExceededException":
1351
- case "com.amazonaws.fms#LimitExceededException":
1352
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1353
- case "ResourceNotFoundException":
1354
- case "com.amazonaws.fms#ResourceNotFoundException":
1355
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1356
- case "InvalidTypeException":
1357
- case "com.amazonaws.fms#InvalidTypeException":
1358
- throw await de_InvalidTypeExceptionRes(parsedOutput, context);
1359
- default:
1360
- const parsedBody = parsedOutput.body;
1361
- return throwDefaultError({
1362
- output,
1363
- parsedBody,
1364
- errorCode
1365
- });
1366
- }
1367
- }, "de_CommandError");
1368
- var de_InternalErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1369
- const body = parsedOutput.body;
1370
- const deserialized = (0, import_smithy_client._json)(body);
1371
- const exception = new InternalErrorException({
1372
- $metadata: deserializeMetadata(parsedOutput),
1373
- ...deserialized
1374
- });
1375
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1376
- }, "de_InternalErrorExceptionRes");
1377
- var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1378
- const body = parsedOutput.body;
1379
- const deserialized = (0, import_smithy_client._json)(body);
1380
- const exception = new InvalidInputException({
1381
- $metadata: deserializeMetadata(parsedOutput),
1382
- ...deserialized
1383
- });
1384
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1385
- }, "de_InvalidInputExceptionRes");
1386
- var de_InvalidOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1387
- const body = parsedOutput.body;
1388
- const deserialized = (0, import_smithy_client._json)(body);
1389
- const exception = new InvalidOperationException({
1390
- $metadata: deserializeMetadata(parsedOutput),
1391
- ...deserialized
1392
- });
1393
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1394
- }, "de_InvalidOperationExceptionRes");
1395
- var de_InvalidTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1396
- const body = parsedOutput.body;
1397
- const deserialized = (0, import_smithy_client._json)(body);
1398
- const exception = new InvalidTypeException({
1399
- $metadata: deserializeMetadata(parsedOutput),
1400
- ...deserialized
1401
- });
1402
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1403
- }, "de_InvalidTypeExceptionRes");
1404
- var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1405
- const body = parsedOutput.body;
1406
- const deserialized = (0, import_smithy_client._json)(body);
1407
- const exception = new LimitExceededException({
1408
- $metadata: deserializeMetadata(parsedOutput),
1409
- ...deserialized
1410
- });
1411
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1412
- }, "de_LimitExceededExceptionRes");
1413
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1414
- const body = parsedOutput.body;
1415
- const deserialized = (0, import_smithy_client._json)(body);
1416
- const exception = new ResourceNotFoundException({
1417
- $metadata: deserializeMetadata(parsedOutput),
1418
- ...deserialized
1419
- });
1420
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1421
- }, "de_ResourceNotFoundExceptionRes");
1422
- var se_AppsListData = /* @__PURE__ */ __name((input, context) => {
1423
- return (0, import_smithy_client.take)(input, {
1424
- AppsList: import_smithy_client._json,
1425
- CreateTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "CreateTime"),
1426
- LastUpdateTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "LastUpdateTime"),
1427
- ListId: [],
1428
- ListName: [],
1429
- ListUpdateToken: [],
1430
- PreviousAppsList: import_smithy_client._json
1431
- });
1432
- }, "se_AppsListData");
1433
- var se_GetProtectionStatusRequest = /* @__PURE__ */ __name((input, context) => {
1434
- return (0, import_smithy_client.take)(input, {
1435
- EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
1436
- MaxResults: [],
1437
- MemberAccountId: [],
1438
- NextToken: [],
1439
- PolicyId: [],
1440
- StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
1441
- });
1442
- }, "se_GetProtectionStatusRequest");
1443
- var se_ProtocolsListData = /* @__PURE__ */ __name((input, context) => {
1444
- return (0, import_smithy_client.take)(input, {
1445
- CreateTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "CreateTime"),
1446
- LastUpdateTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "LastUpdateTime"),
1447
- ListId: [],
1448
- ListName: [],
1449
- ListUpdateToken: [],
1450
- PreviousProtocolsList: import_smithy_client._json,
1451
- ProtocolsList: import_smithy_client._json
1452
- });
1453
- }, "se_ProtocolsListData");
1454
- var se_PutAppsListRequest = /* @__PURE__ */ __name((input, context) => {
1455
- return (0, import_smithy_client.take)(input, {
1456
- AppsList: /* @__PURE__ */ __name((_) => se_AppsListData(_, context), "AppsList"),
1457
- TagList: import_smithy_client._json
1458
- });
1459
- }, "se_PutAppsListRequest");
1460
- var se_PutProtocolsListRequest = /* @__PURE__ */ __name((input, context) => {
1461
- return (0, import_smithy_client.take)(input, {
1462
- ProtocolsList: /* @__PURE__ */ __name((_) => se_ProtocolsListData(_, context), "ProtocolsList"),
1463
- TagList: import_smithy_client._json
1464
- });
1465
- }, "se_PutProtocolsListRequest");
1466
- var se_PutResourceSetRequest = /* @__PURE__ */ __name((input, context) => {
1467
- return (0, import_smithy_client.take)(input, {
1468
- ResourceSet: /* @__PURE__ */ __name((_) => se_ResourceSet(_, context), "ResourceSet"),
1469
- TagList: import_smithy_client._json
1470
- });
1471
- }, "se_PutResourceSetRequest");
1472
- var se_ResourceSet = /* @__PURE__ */ __name((input, context) => {
1473
- return (0, import_smithy_client.take)(input, {
1474
- Description: [],
1475
- Id: [],
1476
- LastUpdateTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "LastUpdateTime"),
1477
- Name: [],
1478
- ResourceSetStatus: [],
1479
- ResourceTypeList: import_smithy_client._json,
1480
- UpdateToken: []
1481
- });
1482
- }, "se_ResourceSet");
1483
- var de_AppsListData = /* @__PURE__ */ __name((output, context) => {
1484
- return (0, import_smithy_client.take)(output, {
1485
- AppsList: import_smithy_client._json,
1486
- CreateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTime"),
1487
- LastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateTime"),
1488
- ListId: import_smithy_client.expectString,
1489
- ListName: import_smithy_client.expectString,
1490
- ListUpdateToken: import_smithy_client.expectString,
1491
- PreviousAppsList: import_smithy_client._json
1492
- });
1493
- }, "de_AppsListData");
1494
- var de_GetAppsListResponse = /* @__PURE__ */ __name((output, context) => {
1495
- return (0, import_smithy_client.take)(output, {
1496
- AppsList: /* @__PURE__ */ __name((_) => de_AppsListData(_, context), "AppsList"),
1497
- AppsListArn: import_smithy_client.expectString
1498
- });
1499
- }, "de_GetAppsListResponse");
1500
- var de_GetComplianceDetailResponse = /* @__PURE__ */ __name((output, context) => {
1501
- return (0, import_smithy_client.take)(output, {
1502
- PolicyComplianceDetail: /* @__PURE__ */ __name((_) => de_PolicyComplianceDetail(_, context), "PolicyComplianceDetail")
1503
- });
1504
- }, "de_GetComplianceDetailResponse");
1505
- var de_GetProtocolsListResponse = /* @__PURE__ */ __name((output, context) => {
1506
- return (0, import_smithy_client.take)(output, {
1507
- ProtocolsList: /* @__PURE__ */ __name((_) => de_ProtocolsListData(_, context), "ProtocolsList"),
1508
- ProtocolsListArn: import_smithy_client.expectString
1509
- });
1510
- }, "de_GetProtocolsListResponse");
1511
- var de_GetResourceSetResponse = /* @__PURE__ */ __name((output, context) => {
1512
- return (0, import_smithy_client.take)(output, {
1513
- ResourceSet: /* @__PURE__ */ __name((_) => de_ResourceSet(_, context), "ResourceSet"),
1514
- ResourceSetArn: import_smithy_client.expectString
1515
- });
1516
- }, "de_GetResourceSetResponse");
1517
- var de_GetViolationDetailsResponse = /* @__PURE__ */ __name((output, context) => {
1518
- return (0, import_smithy_client.take)(output, {
1519
- ViolationDetail: /* @__PURE__ */ __name((_) => de_ViolationDetail(_, context), "ViolationDetail")
1520
- });
1521
- }, "de_GetViolationDetailsResponse");
1522
- var de_ListComplianceStatusResponse = /* @__PURE__ */ __name((output, context) => {
1523
- return (0, import_smithy_client.take)(output, {
1524
- NextToken: import_smithy_client.expectString,
1525
- PolicyComplianceStatusList: /* @__PURE__ */ __name((_) => de_PolicyComplianceStatusList(_, context), "PolicyComplianceStatusList")
1526
- });
1527
- }, "de_ListComplianceStatusResponse");
1528
- var de_ListResourceSetsResponse = /* @__PURE__ */ __name((output, context) => {
1529
- return (0, import_smithy_client.take)(output, {
1530
- NextToken: import_smithy_client.expectString,
1531
- ResourceSets: /* @__PURE__ */ __name((_) => de_ResourceSetSummaryList(_, context), "ResourceSets")
1532
- });
1533
- }, "de_ListResourceSetsResponse");
1534
- var de_PolicyComplianceDetail = /* @__PURE__ */ __name((output, context) => {
1535
- return (0, import_smithy_client.take)(output, {
1536
- EvaluationLimitExceeded: import_smithy_client.expectBoolean,
1537
- ExpiredAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ExpiredAt"),
1538
- IssueInfoMap: import_smithy_client._json,
1539
- MemberAccount: import_smithy_client.expectString,
1540
- PolicyId: import_smithy_client.expectString,
1541
- PolicyOwner: import_smithy_client.expectString,
1542
- Violators: import_smithy_client._json
1543
- });
1544
- }, "de_PolicyComplianceDetail");
1545
- var de_PolicyComplianceStatus = /* @__PURE__ */ __name((output, context) => {
1546
- return (0, import_smithy_client.take)(output, {
1547
- EvaluationResults: import_smithy_client._json,
1548
- IssueInfoMap: import_smithy_client._json,
1549
- LastUpdated: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdated"),
1550
- MemberAccount: import_smithy_client.expectString,
1551
- PolicyId: import_smithy_client.expectString,
1552
- PolicyName: import_smithy_client.expectString,
1553
- PolicyOwner: import_smithy_client.expectString
1554
- });
1555
- }, "de_PolicyComplianceStatus");
1556
- var de_PolicyComplianceStatusList = /* @__PURE__ */ __name((output, context) => {
1557
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1558
- return de_PolicyComplianceStatus(entry, context);
1559
- });
1560
- return retVal;
1561
- }, "de_PolicyComplianceStatusList");
1562
- var de_PossibleRemediationActions = /* @__PURE__ */ __name((output, context) => {
1563
- return (0, import_smithy_client.take)(output, {
1564
- Actions: import_smithy_client._json,
1565
- Description: import_smithy_client.expectString
1566
- });
1567
- }, "de_PossibleRemediationActions");
1568
- var de_ProtocolsListData = /* @__PURE__ */ __name((output, context) => {
1569
- return (0, import_smithy_client.take)(output, {
1570
- CreateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTime"),
1571
- LastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateTime"),
1572
- ListId: import_smithy_client.expectString,
1573
- ListName: import_smithy_client.expectString,
1574
- ListUpdateToken: import_smithy_client.expectString,
1575
- PreviousProtocolsList: import_smithy_client._json,
1576
- ProtocolsList: import_smithy_client._json
1577
- });
1578
- }, "de_ProtocolsListData");
1579
- var de_PutAppsListResponse = /* @__PURE__ */ __name((output, context) => {
1580
- return (0, import_smithy_client.take)(output, {
1581
- AppsList: /* @__PURE__ */ __name((_) => de_AppsListData(_, context), "AppsList"),
1582
- AppsListArn: import_smithy_client.expectString
1583
- });
1584
- }, "de_PutAppsListResponse");
1585
- var de_PutProtocolsListResponse = /* @__PURE__ */ __name((output, context) => {
1586
- return (0, import_smithy_client.take)(output, {
1587
- ProtocolsList: /* @__PURE__ */ __name((_) => de_ProtocolsListData(_, context), "ProtocolsList"),
1588
- ProtocolsListArn: import_smithy_client.expectString
1589
- });
1590
- }, "de_PutProtocolsListResponse");
1591
- var de_PutResourceSetResponse = /* @__PURE__ */ __name((output, context) => {
1592
- return (0, import_smithy_client.take)(output, {
1593
- ResourceSet: /* @__PURE__ */ __name((_) => de_ResourceSet(_, context), "ResourceSet"),
1594
- ResourceSetArn: import_smithy_client.expectString
1595
- });
1596
- }, "de_PutResourceSetResponse");
1597
- var de_ResourceSet = /* @__PURE__ */ __name((output, context) => {
1598
- return (0, import_smithy_client.take)(output, {
1599
- Description: import_smithy_client.expectString,
1600
- Id: import_smithy_client.expectString,
1601
- LastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateTime"),
1602
- Name: import_smithy_client.expectString,
1603
- ResourceSetStatus: import_smithy_client.expectString,
1604
- ResourceTypeList: import_smithy_client._json,
1605
- UpdateToken: import_smithy_client.expectString
1606
- });
1607
- }, "de_ResourceSet");
1608
- var de_ResourceSetSummary = /* @__PURE__ */ __name((output, context) => {
1609
- return (0, import_smithy_client.take)(output, {
1610
- Description: import_smithy_client.expectString,
1611
- Id: import_smithy_client.expectString,
1612
- LastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateTime"),
1613
- Name: import_smithy_client.expectString,
1614
- ResourceSetStatus: import_smithy_client.expectString
1615
- });
1616
- }, "de_ResourceSetSummary");
1617
- var de_ResourceSetSummaryList = /* @__PURE__ */ __name((output, context) => {
1618
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1619
- return de_ResourceSetSummary(entry, context);
1620
- });
1621
- return retVal;
1622
- }, "de_ResourceSetSummaryList");
1623
- var de_ResourceViolation = /* @__PURE__ */ __name((output, context) => {
1624
- return (0, import_smithy_client.take)(output, {
1625
- AwsEc2InstanceViolation: import_smithy_client._json,
1626
- AwsEc2NetworkInterfaceViolation: import_smithy_client._json,
1627
- AwsVPCSecurityGroupViolation: import_smithy_client._json,
1628
- DnsDuplicateRuleGroupViolation: import_smithy_client._json,
1629
- DnsRuleGroupLimitExceededViolation: import_smithy_client._json,
1630
- DnsRuleGroupPriorityConflictViolation: import_smithy_client._json,
1631
- FirewallSubnetIsOutOfScopeViolation: import_smithy_client._json,
1632
- FirewallSubnetMissingVPCEndpointViolation: import_smithy_client._json,
1633
- InvalidNetworkAclEntriesViolation: import_smithy_client._json,
1634
- NetworkFirewallBlackHoleRouteDetectedViolation: import_smithy_client._json,
1635
- NetworkFirewallInternetTrafficNotInspectedViolation: import_smithy_client._json,
1636
- NetworkFirewallInvalidRouteConfigurationViolation: import_smithy_client._json,
1637
- NetworkFirewallMissingExpectedRTViolation: import_smithy_client._json,
1638
- NetworkFirewallMissingExpectedRoutesViolation: import_smithy_client._json,
1639
- NetworkFirewallMissingFirewallViolation: import_smithy_client._json,
1640
- NetworkFirewallMissingSubnetViolation: import_smithy_client._json,
1641
- NetworkFirewallPolicyModifiedViolation: import_smithy_client._json,
1642
- NetworkFirewallUnexpectedFirewallRoutesViolation: import_smithy_client._json,
1643
- NetworkFirewallUnexpectedGatewayRoutesViolation: import_smithy_client._json,
1644
- PossibleRemediationActions: /* @__PURE__ */ __name((_) => de_PossibleRemediationActions(_, context), "PossibleRemediationActions"),
1645
- RouteHasOutOfScopeEndpointViolation: import_smithy_client._json,
1646
- ThirdPartyFirewallMissingExpectedRouteTableViolation: import_smithy_client._json,
1647
- ThirdPartyFirewallMissingFirewallViolation: import_smithy_client._json,
1648
- ThirdPartyFirewallMissingSubnetViolation: import_smithy_client._json,
1649
- WebACLHasIncompatibleConfigurationViolation: import_smithy_client._json,
1650
- WebACLHasOutOfScopeResourcesViolation: import_smithy_client._json
1651
- });
1652
- }, "de_ResourceViolation");
1653
- var de_ResourceViolations = /* @__PURE__ */ __name((output, context) => {
1654
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1655
- return de_ResourceViolation(entry, context);
1656
- });
1657
- return retVal;
1658
- }, "de_ResourceViolations");
1659
- var de_ViolationDetail = /* @__PURE__ */ __name((output, context) => {
1660
- return (0, import_smithy_client.take)(output, {
1661
- MemberAccount: import_smithy_client.expectString,
1662
- PolicyId: import_smithy_client.expectString,
1663
- ResourceDescription: import_smithy_client.expectString,
1664
- ResourceId: import_smithy_client.expectString,
1665
- ResourceTags: import_smithy_client._json,
1666
- ResourceType: import_smithy_client.expectString,
1667
- ResourceViolations: /* @__PURE__ */ __name((_) => de_ResourceViolations(_, context), "ResourceViolations")
1668
- });
1669
- }, "de_ViolationDetail");
1670
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1671
- httpStatusCode: output.statusCode,
1672
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1673
- extendedRequestId: output.headers["x-amz-id-2"],
1674
- cfId: output.headers["x-amz-cf-id"]
1675
- }), "deserializeMetadata");
1676
- var throwDefaultError = (0, import_smithy_client.withBaseException)(FMSServiceException);
1677
- var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1678
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1679
- const contents = {
1680
- protocol,
1681
- hostname,
1682
- port,
1683
- method: "POST",
1684
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1685
- headers
1686
- };
1687
- if (resolvedHostname !== void 0) {
1688
- contents.hostname = resolvedHostname;
1689
- }
1690
- if (body !== void 0) {
1691
- contents.body = body;
1692
- }
1693
- return new import_protocol_http.HttpRequest(contents);
1694
- }, "buildHttpRpcRequest");
1695
- function sharedHeaders(operation) {
1696
- return {
1697
- "content-type": "application/x-amz-json-1.1",
1698
- "x-amz-target": `AWSFMS_20180101.${operation}`
1699
- };
1700
- }
1701
- __name(sharedHeaders, "sharedHeaders");
1702
-
1703
- // src/commands/AssociateAdminAccountCommand.ts
1704
- var AssociateAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1705
- return [
1706
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1707
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1708
- ];
1709
- }).s("AWSFMS_20180101", "AssociateAdminAccount", {}).n("FMSClient", "AssociateAdminAccountCommand").f(void 0, void 0).ser(se_AssociateAdminAccountCommand).de(de_AssociateAdminAccountCommand).build() {
1710
- static {
1711
- __name(this, "AssociateAdminAccountCommand");
1712
- }
1713
- };
1714
-
1715
- // src/commands/AssociateThirdPartyFirewallCommand.ts
1716
-
1717
-
1718
-
1719
- var AssociateThirdPartyFirewallCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1720
- return [
1721
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1722
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1723
- ];
1724
- }).s("AWSFMS_20180101", "AssociateThirdPartyFirewall", {}).n("FMSClient", "AssociateThirdPartyFirewallCommand").f(void 0, void 0).ser(se_AssociateThirdPartyFirewallCommand).de(de_AssociateThirdPartyFirewallCommand).build() {
1725
- static {
1726
- __name(this, "AssociateThirdPartyFirewallCommand");
1727
- }
1728
- };
1729
-
1730
- // src/commands/BatchAssociateResourceCommand.ts
1731
-
1732
-
1733
-
1734
- var BatchAssociateResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1735
- return [
1736
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1737
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1738
- ];
1739
- }).s("AWSFMS_20180101", "BatchAssociateResource", {}).n("FMSClient", "BatchAssociateResourceCommand").f(void 0, void 0).ser(se_BatchAssociateResourceCommand).de(de_BatchAssociateResourceCommand).build() {
1740
- static {
1741
- __name(this, "BatchAssociateResourceCommand");
1742
- }
1743
- };
1744
-
1745
- // src/commands/BatchDisassociateResourceCommand.ts
1746
-
1747
-
1748
-
1749
- var BatchDisassociateResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1750
- return [
1751
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1752
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1753
- ];
1754
- }).s("AWSFMS_20180101", "BatchDisassociateResource", {}).n("FMSClient", "BatchDisassociateResourceCommand").f(void 0, void 0).ser(se_BatchDisassociateResourceCommand).de(de_BatchDisassociateResourceCommand).build() {
1755
- static {
1756
- __name(this, "BatchDisassociateResourceCommand");
1757
- }
1758
- };
1759
-
1760
- // src/commands/DeleteAppsListCommand.ts
1761
-
1762
-
1763
-
1764
- var DeleteAppsListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1765
- return [
1766
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1767
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1768
- ];
1769
- }).s("AWSFMS_20180101", "DeleteAppsList", {}).n("FMSClient", "DeleteAppsListCommand").f(void 0, void 0).ser(se_DeleteAppsListCommand).de(de_DeleteAppsListCommand).build() {
1770
- static {
1771
- __name(this, "DeleteAppsListCommand");
1772
- }
1773
- };
1774
-
1775
- // src/commands/DeleteNotificationChannelCommand.ts
1776
-
1777
-
1778
-
1779
- var DeleteNotificationChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1780
- return [
1781
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1782
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1783
- ];
1784
- }).s("AWSFMS_20180101", "DeleteNotificationChannel", {}).n("FMSClient", "DeleteNotificationChannelCommand").f(void 0, void 0).ser(se_DeleteNotificationChannelCommand).de(de_DeleteNotificationChannelCommand).build() {
1785
- static {
1786
- __name(this, "DeleteNotificationChannelCommand");
1787
- }
1788
1234
  };
1789
-
1790
- // src/commands/DeletePolicyCommand.ts
1791
-
1792
-
1793
-
1794
- var DeletePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1795
- return [
1796
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1797
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1798
- ];
1799
- }).s("AWSFMS_20180101", "DeletePolicy", {}).n("FMSClient", "DeletePolicyCommand").f(void 0, void 0).ser(se_DeletePolicyCommand).de(de_DeletePolicyCommand).build() {
1800
- static {
1801
- __name(this, "DeletePolicyCommand");
1802
- }
1235
+ const se_GetProtectionStatusRequest = (input, context) => {
1236
+ return smithyClient.take(input, {
1237
+ EndTime: (_) => _.getTime() / 1_000,
1238
+ MaxResults: [],
1239
+ MemberAccountId: [],
1240
+ NextToken: [],
1241
+ PolicyId: [],
1242
+ StartTime: (_) => _.getTime() / 1_000,
1243
+ });
1803
1244
  };
1804
-
1805
- // src/commands/DeleteProtocolsListCommand.ts
1806
-
1807
-
1808
-
1809
- var DeleteProtocolsListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1810
- return [
1811
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1812
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1813
- ];
1814
- }).s("AWSFMS_20180101", "DeleteProtocolsList", {}).n("FMSClient", "DeleteProtocolsListCommand").f(void 0, void 0).ser(se_DeleteProtocolsListCommand).de(de_DeleteProtocolsListCommand).build() {
1815
- static {
1816
- __name(this, "DeleteProtocolsListCommand");
1817
- }
1245
+ const se_ProtocolsListData = (input, context) => {
1246
+ return smithyClient.take(input, {
1247
+ CreateTime: (_) => _.getTime() / 1_000,
1248
+ LastUpdateTime: (_) => _.getTime() / 1_000,
1249
+ ListId: [],
1250
+ ListName: [],
1251
+ ListUpdateToken: [],
1252
+ PreviousProtocolsList: smithyClient._json,
1253
+ ProtocolsList: smithyClient._json,
1254
+ });
1818
1255
  };
1819
-
1820
- // src/commands/DeleteResourceSetCommand.ts
1821
-
1822
-
1823
-
1824
- var DeleteResourceSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1825
- return [
1826
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1827
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1828
- ];
1829
- }).s("AWSFMS_20180101", "DeleteResourceSet", {}).n("FMSClient", "DeleteResourceSetCommand").f(void 0, void 0).ser(se_DeleteResourceSetCommand).de(de_DeleteResourceSetCommand).build() {
1830
- static {
1831
- __name(this, "DeleteResourceSetCommand");
1832
- }
1256
+ const se_PutAppsListRequest = (input, context) => {
1257
+ return smithyClient.take(input, {
1258
+ AppsList: (_) => se_AppsListData(_),
1259
+ TagList: smithyClient._json,
1260
+ });
1833
1261
  };
1834
-
1835
- // src/commands/DisassociateAdminAccountCommand.ts
1836
-
1837
-
1838
-
1839
- var DisassociateAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1840
- return [
1841
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1842
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1843
- ];
1844
- }).s("AWSFMS_20180101", "DisassociateAdminAccount", {}).n("FMSClient", "DisassociateAdminAccountCommand").f(void 0, void 0).ser(se_DisassociateAdminAccountCommand).de(de_DisassociateAdminAccountCommand).build() {
1845
- static {
1846
- __name(this, "DisassociateAdminAccountCommand");
1847
- }
1262
+ const se_PutProtocolsListRequest = (input, context) => {
1263
+ return smithyClient.take(input, {
1264
+ ProtocolsList: (_) => se_ProtocolsListData(_),
1265
+ TagList: smithyClient._json,
1266
+ });
1848
1267
  };
1849
-
1850
- // src/commands/DisassociateThirdPartyFirewallCommand.ts
1851
-
1852
-
1853
-
1854
- var DisassociateThirdPartyFirewallCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1855
- return [
1856
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1857
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1858
- ];
1859
- }).s("AWSFMS_20180101", "DisassociateThirdPartyFirewall", {}).n("FMSClient", "DisassociateThirdPartyFirewallCommand").f(void 0, void 0).ser(se_DisassociateThirdPartyFirewallCommand).de(de_DisassociateThirdPartyFirewallCommand).build() {
1860
- static {
1861
- __name(this, "DisassociateThirdPartyFirewallCommand");
1862
- }
1268
+ const se_PutResourceSetRequest = (input, context) => {
1269
+ return smithyClient.take(input, {
1270
+ ResourceSet: (_) => se_ResourceSet(_),
1271
+ TagList: smithyClient._json,
1272
+ });
1863
1273
  };
1864
-
1865
- // src/commands/GetAdminAccountCommand.ts
1866
-
1867
-
1868
-
1869
- var GetAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1870
- return [
1871
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1872
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1873
- ];
1874
- }).s("AWSFMS_20180101", "GetAdminAccount", {}).n("FMSClient", "GetAdminAccountCommand").f(void 0, void 0).ser(se_GetAdminAccountCommand).de(de_GetAdminAccountCommand).build() {
1875
- static {
1876
- __name(this, "GetAdminAccountCommand");
1877
- }
1274
+ const se_ResourceSet = (input, context) => {
1275
+ return smithyClient.take(input, {
1276
+ Description: [],
1277
+ Id: [],
1278
+ LastUpdateTime: (_) => _.getTime() / 1_000,
1279
+ Name: [],
1280
+ ResourceSetStatus: [],
1281
+ ResourceTypeList: smithyClient._json,
1282
+ UpdateToken: [],
1283
+ });
1878
1284
  };
1879
-
1880
- // src/commands/GetAdminScopeCommand.ts
1881
-
1882
-
1883
-
1884
- var GetAdminScopeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1885
- return [
1886
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1887
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1888
- ];
1889
- }).s("AWSFMS_20180101", "GetAdminScope", {}).n("FMSClient", "GetAdminScopeCommand").f(void 0, void 0).ser(se_GetAdminScopeCommand).de(de_GetAdminScopeCommand).build() {
1890
- static {
1891
- __name(this, "GetAdminScopeCommand");
1892
- }
1285
+ const de_AppsListData = (output, context) => {
1286
+ return smithyClient.take(output, {
1287
+ AppsList: smithyClient._json,
1288
+ CreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1289
+ LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1290
+ ListId: smithyClient.expectString,
1291
+ ListName: smithyClient.expectString,
1292
+ ListUpdateToken: smithyClient.expectString,
1293
+ PreviousAppsList: smithyClient._json,
1294
+ });
1893
1295
  };
1894
-
1895
- // src/commands/GetAppsListCommand.ts
1896
-
1897
-
1898
-
1899
- var GetAppsListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1900
- return [
1901
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1902
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1903
- ];
1904
- }).s("AWSFMS_20180101", "GetAppsList", {}).n("FMSClient", "GetAppsListCommand").f(void 0, void 0).ser(se_GetAppsListCommand).de(de_GetAppsListCommand).build() {
1905
- static {
1906
- __name(this, "GetAppsListCommand");
1907
- }
1296
+ const de_GetAppsListResponse = (output, context) => {
1297
+ return smithyClient.take(output, {
1298
+ AppsList: (_) => de_AppsListData(_),
1299
+ AppsListArn: smithyClient.expectString,
1300
+ });
1908
1301
  };
1909
-
1910
- // src/commands/GetComplianceDetailCommand.ts
1911
-
1912
-
1913
-
1914
- var GetComplianceDetailCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1915
- return [
1916
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1917
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1918
- ];
1919
- }).s("AWSFMS_20180101", "GetComplianceDetail", {}).n("FMSClient", "GetComplianceDetailCommand").f(void 0, void 0).ser(se_GetComplianceDetailCommand).de(de_GetComplianceDetailCommand).build() {
1920
- static {
1921
- __name(this, "GetComplianceDetailCommand");
1922
- }
1302
+ const de_GetComplianceDetailResponse = (output, context) => {
1303
+ return smithyClient.take(output, {
1304
+ PolicyComplianceDetail: (_) => de_PolicyComplianceDetail(_),
1305
+ });
1923
1306
  };
1924
-
1925
- // src/commands/GetNotificationChannelCommand.ts
1926
-
1927
-
1928
-
1929
- var GetNotificationChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1930
- return [
1931
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1932
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1933
- ];
1934
- }).s("AWSFMS_20180101", "GetNotificationChannel", {}).n("FMSClient", "GetNotificationChannelCommand").f(void 0, void 0).ser(se_GetNotificationChannelCommand).de(de_GetNotificationChannelCommand).build() {
1935
- static {
1936
- __name(this, "GetNotificationChannelCommand");
1937
- }
1307
+ const de_GetProtocolsListResponse = (output, context) => {
1308
+ return smithyClient.take(output, {
1309
+ ProtocolsList: (_) => de_ProtocolsListData(_),
1310
+ ProtocolsListArn: smithyClient.expectString,
1311
+ });
1938
1312
  };
1939
-
1940
- // src/commands/GetPolicyCommand.ts
1941
-
1942
-
1943
-
1944
- var GetPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1945
- return [
1946
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1947
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1948
- ];
1949
- }).s("AWSFMS_20180101", "GetPolicy", {}).n("FMSClient", "GetPolicyCommand").f(void 0, void 0).ser(se_GetPolicyCommand).de(de_GetPolicyCommand).build() {
1950
- static {
1951
- __name(this, "GetPolicyCommand");
1952
- }
1313
+ const de_GetResourceSetResponse = (output, context) => {
1314
+ return smithyClient.take(output, {
1315
+ ResourceSet: (_) => de_ResourceSet(_),
1316
+ ResourceSetArn: smithyClient.expectString,
1317
+ });
1953
1318
  };
1954
-
1955
- // src/commands/GetProtectionStatusCommand.ts
1956
-
1957
-
1958
-
1959
- var GetProtectionStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1960
- return [
1961
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1962
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1963
- ];
1964
- }).s("AWSFMS_20180101", "GetProtectionStatus", {}).n("FMSClient", "GetProtectionStatusCommand").f(void 0, void 0).ser(se_GetProtectionStatusCommand).de(de_GetProtectionStatusCommand).build() {
1965
- static {
1966
- __name(this, "GetProtectionStatusCommand");
1967
- }
1319
+ const de_GetViolationDetailsResponse = (output, context) => {
1320
+ return smithyClient.take(output, {
1321
+ ViolationDetail: (_) => de_ViolationDetail(_),
1322
+ });
1968
1323
  };
1969
-
1970
- // src/commands/GetProtocolsListCommand.ts
1971
-
1972
-
1973
-
1974
- var GetProtocolsListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1975
- return [
1976
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1977
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1978
- ];
1979
- }).s("AWSFMS_20180101", "GetProtocolsList", {}).n("FMSClient", "GetProtocolsListCommand").f(void 0, void 0).ser(se_GetProtocolsListCommand).de(de_GetProtocolsListCommand).build() {
1980
- static {
1981
- __name(this, "GetProtocolsListCommand");
1982
- }
1324
+ const de_ListComplianceStatusResponse = (output, context) => {
1325
+ return smithyClient.take(output, {
1326
+ NextToken: smithyClient.expectString,
1327
+ PolicyComplianceStatusList: (_) => de_PolicyComplianceStatusList(_),
1328
+ });
1983
1329
  };
1984
-
1985
- // src/commands/GetResourceSetCommand.ts
1986
-
1987
-
1988
-
1989
- var GetResourceSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1990
- return [
1991
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1992
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1993
- ];
1994
- }).s("AWSFMS_20180101", "GetResourceSet", {}).n("FMSClient", "GetResourceSetCommand").f(void 0, void 0).ser(se_GetResourceSetCommand).de(de_GetResourceSetCommand).build() {
1995
- static {
1996
- __name(this, "GetResourceSetCommand");
1997
- }
1330
+ const de_ListResourceSetsResponse = (output, context) => {
1331
+ return smithyClient.take(output, {
1332
+ NextToken: smithyClient.expectString,
1333
+ ResourceSets: (_) => de_ResourceSetSummaryList(_),
1334
+ });
1998
1335
  };
1999
-
2000
- // src/commands/GetThirdPartyFirewallAssociationStatusCommand.ts
2001
-
2002
-
2003
-
2004
- var GetThirdPartyFirewallAssociationStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2005
- return [
2006
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2007
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2008
- ];
2009
- }).s("AWSFMS_20180101", "GetThirdPartyFirewallAssociationStatus", {}).n("FMSClient", "GetThirdPartyFirewallAssociationStatusCommand").f(void 0, void 0).ser(se_GetThirdPartyFirewallAssociationStatusCommand).de(de_GetThirdPartyFirewallAssociationStatusCommand).build() {
2010
- static {
2011
- __name(this, "GetThirdPartyFirewallAssociationStatusCommand");
2012
- }
1336
+ const de_PolicyComplianceDetail = (output, context) => {
1337
+ return smithyClient.take(output, {
1338
+ EvaluationLimitExceeded: smithyClient.expectBoolean,
1339
+ ExpiredAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1340
+ IssueInfoMap: smithyClient._json,
1341
+ MemberAccount: smithyClient.expectString,
1342
+ PolicyId: smithyClient.expectString,
1343
+ PolicyOwner: smithyClient.expectString,
1344
+ Violators: smithyClient._json,
1345
+ });
2013
1346
  };
2014
-
2015
- // src/commands/GetViolationDetailsCommand.ts
2016
-
2017
-
2018
-
2019
- var GetViolationDetailsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2020
- return [
2021
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2022
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2023
- ];
2024
- }).s("AWSFMS_20180101", "GetViolationDetails", {}).n("FMSClient", "GetViolationDetailsCommand").f(void 0, void 0).ser(se_GetViolationDetailsCommand).de(de_GetViolationDetailsCommand).build() {
2025
- static {
2026
- __name(this, "GetViolationDetailsCommand");
2027
- }
1347
+ const de_PolicyComplianceStatus = (output, context) => {
1348
+ return smithyClient.take(output, {
1349
+ EvaluationResults: smithyClient._json,
1350
+ IssueInfoMap: smithyClient._json,
1351
+ LastUpdated: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1352
+ MemberAccount: smithyClient.expectString,
1353
+ PolicyId: smithyClient.expectString,
1354
+ PolicyName: smithyClient.expectString,
1355
+ PolicyOwner: smithyClient.expectString,
1356
+ });
2028
1357
  };
2029
-
2030
- // src/commands/ListAdminAccountsForOrganizationCommand.ts
2031
-
2032
-
2033
-
2034
- var ListAdminAccountsForOrganizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2035
- return [
2036
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2037
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2038
- ];
2039
- }).s("AWSFMS_20180101", "ListAdminAccountsForOrganization", {}).n("FMSClient", "ListAdminAccountsForOrganizationCommand").f(void 0, void 0).ser(se_ListAdminAccountsForOrganizationCommand).de(de_ListAdminAccountsForOrganizationCommand).build() {
2040
- static {
2041
- __name(this, "ListAdminAccountsForOrganizationCommand");
2042
- }
1358
+ const de_PolicyComplianceStatusList = (output, context) => {
1359
+ const retVal = (output || [])
1360
+ .filter((e) => e != null)
1361
+ .map((entry) => {
1362
+ return de_PolicyComplianceStatus(entry);
1363
+ });
1364
+ return retVal;
2043
1365
  };
2044
-
2045
- // src/commands/ListAdminsManagingAccountCommand.ts
2046
-
2047
-
2048
-
2049
- var ListAdminsManagingAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2050
- return [
2051
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2052
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2053
- ];
2054
- }).s("AWSFMS_20180101", "ListAdminsManagingAccount", {}).n("FMSClient", "ListAdminsManagingAccountCommand").f(void 0, void 0).ser(se_ListAdminsManagingAccountCommand).de(de_ListAdminsManagingAccountCommand).build() {
2055
- static {
2056
- __name(this, "ListAdminsManagingAccountCommand");
2057
- }
1366
+ const de_PossibleRemediationActions = (output, context) => {
1367
+ return smithyClient.take(output, {
1368
+ Actions: smithyClient._json,
1369
+ Description: smithyClient.expectString,
1370
+ });
2058
1371
  };
2059
-
2060
- // src/commands/ListAppsListsCommand.ts
2061
-
2062
-
2063
-
2064
- var ListAppsListsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2065
- return [
2066
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2067
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2068
- ];
2069
- }).s("AWSFMS_20180101", "ListAppsLists", {}).n("FMSClient", "ListAppsListsCommand").f(void 0, void 0).ser(se_ListAppsListsCommand).de(de_ListAppsListsCommand).build() {
2070
- static {
2071
- __name(this, "ListAppsListsCommand");
2072
- }
1372
+ const de_ProtocolsListData = (output, context) => {
1373
+ return smithyClient.take(output, {
1374
+ CreateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1375
+ LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1376
+ ListId: smithyClient.expectString,
1377
+ ListName: smithyClient.expectString,
1378
+ ListUpdateToken: smithyClient.expectString,
1379
+ PreviousProtocolsList: smithyClient._json,
1380
+ ProtocolsList: smithyClient._json,
1381
+ });
2073
1382
  };
2074
-
2075
- // src/commands/ListComplianceStatusCommand.ts
2076
-
2077
-
2078
-
2079
- var ListComplianceStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2080
- return [
2081
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2082
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2083
- ];
2084
- }).s("AWSFMS_20180101", "ListComplianceStatus", {}).n("FMSClient", "ListComplianceStatusCommand").f(void 0, void 0).ser(se_ListComplianceStatusCommand).de(de_ListComplianceStatusCommand).build() {
2085
- static {
2086
- __name(this, "ListComplianceStatusCommand");
2087
- }
1383
+ const de_PutAppsListResponse = (output, context) => {
1384
+ return smithyClient.take(output, {
1385
+ AppsList: (_) => de_AppsListData(_),
1386
+ AppsListArn: smithyClient.expectString,
1387
+ });
2088
1388
  };
2089
-
2090
- // src/commands/ListDiscoveredResourcesCommand.ts
2091
-
2092
-
2093
-
2094
- var ListDiscoveredResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2095
- return [
2096
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2097
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2098
- ];
2099
- }).s("AWSFMS_20180101", "ListDiscoveredResources", {}).n("FMSClient", "ListDiscoveredResourcesCommand").f(void 0, void 0).ser(se_ListDiscoveredResourcesCommand).de(de_ListDiscoveredResourcesCommand).build() {
2100
- static {
2101
- __name(this, "ListDiscoveredResourcesCommand");
2102
- }
1389
+ const de_PutProtocolsListResponse = (output, context) => {
1390
+ return smithyClient.take(output, {
1391
+ ProtocolsList: (_) => de_ProtocolsListData(_),
1392
+ ProtocolsListArn: smithyClient.expectString,
1393
+ });
2103
1394
  };
2104
-
2105
- // src/commands/ListMemberAccountsCommand.ts
2106
-
2107
-
2108
-
2109
- var ListMemberAccountsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2110
- return [
2111
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2112
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2113
- ];
2114
- }).s("AWSFMS_20180101", "ListMemberAccounts", {}).n("FMSClient", "ListMemberAccountsCommand").f(void 0, void 0).ser(se_ListMemberAccountsCommand).de(de_ListMemberAccountsCommand).build() {
2115
- static {
2116
- __name(this, "ListMemberAccountsCommand");
2117
- }
1395
+ const de_PutResourceSetResponse = (output, context) => {
1396
+ return smithyClient.take(output, {
1397
+ ResourceSet: (_) => de_ResourceSet(_),
1398
+ ResourceSetArn: smithyClient.expectString,
1399
+ });
2118
1400
  };
2119
-
2120
- // src/commands/ListPoliciesCommand.ts
2121
-
2122
-
2123
-
2124
- var ListPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2125
- return [
2126
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2127
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2128
- ];
2129
- }).s("AWSFMS_20180101", "ListPolicies", {}).n("FMSClient", "ListPoliciesCommand").f(void 0, void 0).ser(se_ListPoliciesCommand).de(de_ListPoliciesCommand).build() {
2130
- static {
2131
- __name(this, "ListPoliciesCommand");
2132
- }
1401
+ const de_ResourceSet = (output, context) => {
1402
+ return smithyClient.take(output, {
1403
+ Description: smithyClient.expectString,
1404
+ Id: smithyClient.expectString,
1405
+ LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1406
+ Name: smithyClient.expectString,
1407
+ ResourceSetStatus: smithyClient.expectString,
1408
+ ResourceTypeList: smithyClient._json,
1409
+ UpdateToken: smithyClient.expectString,
1410
+ });
2133
1411
  };
2134
-
2135
- // src/commands/ListProtocolsListsCommand.ts
2136
-
2137
-
2138
-
2139
- var ListProtocolsListsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2140
- return [
2141
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2142
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2143
- ];
2144
- }).s("AWSFMS_20180101", "ListProtocolsLists", {}).n("FMSClient", "ListProtocolsListsCommand").f(void 0, void 0).ser(se_ListProtocolsListsCommand).de(de_ListProtocolsListsCommand).build() {
2145
- static {
2146
- __name(this, "ListProtocolsListsCommand");
2147
- }
1412
+ const de_ResourceSetSummary = (output, context) => {
1413
+ return smithyClient.take(output, {
1414
+ Description: smithyClient.expectString,
1415
+ Id: smithyClient.expectString,
1416
+ LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1417
+ Name: smithyClient.expectString,
1418
+ ResourceSetStatus: smithyClient.expectString,
1419
+ });
2148
1420
  };
2149
-
2150
- // src/commands/ListResourceSetResourcesCommand.ts
2151
-
2152
-
2153
-
2154
- var ListResourceSetResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2155
- return [
2156
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2157
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2158
- ];
2159
- }).s("AWSFMS_20180101", "ListResourceSetResources", {}).n("FMSClient", "ListResourceSetResourcesCommand").f(void 0, void 0).ser(se_ListResourceSetResourcesCommand).de(de_ListResourceSetResourcesCommand).build() {
2160
- static {
2161
- __name(this, "ListResourceSetResourcesCommand");
2162
- }
1421
+ const de_ResourceSetSummaryList = (output, context) => {
1422
+ const retVal = (output || [])
1423
+ .filter((e) => e != null)
1424
+ .map((entry) => {
1425
+ return de_ResourceSetSummary(entry);
1426
+ });
1427
+ return retVal;
1428
+ };
1429
+ const de_ResourceViolation = (output, context) => {
1430
+ return smithyClient.take(output, {
1431
+ AwsEc2InstanceViolation: smithyClient._json,
1432
+ AwsEc2NetworkInterfaceViolation: smithyClient._json,
1433
+ AwsVPCSecurityGroupViolation: smithyClient._json,
1434
+ DnsDuplicateRuleGroupViolation: smithyClient._json,
1435
+ DnsRuleGroupLimitExceededViolation: smithyClient._json,
1436
+ DnsRuleGroupPriorityConflictViolation: smithyClient._json,
1437
+ FirewallSubnetIsOutOfScopeViolation: smithyClient._json,
1438
+ FirewallSubnetMissingVPCEndpointViolation: smithyClient._json,
1439
+ InvalidNetworkAclEntriesViolation: smithyClient._json,
1440
+ NetworkFirewallBlackHoleRouteDetectedViolation: smithyClient._json,
1441
+ NetworkFirewallInternetTrafficNotInspectedViolation: smithyClient._json,
1442
+ NetworkFirewallInvalidRouteConfigurationViolation: smithyClient._json,
1443
+ NetworkFirewallMissingExpectedRTViolation: smithyClient._json,
1444
+ NetworkFirewallMissingExpectedRoutesViolation: smithyClient._json,
1445
+ NetworkFirewallMissingFirewallViolation: smithyClient._json,
1446
+ NetworkFirewallMissingSubnetViolation: smithyClient._json,
1447
+ NetworkFirewallPolicyModifiedViolation: smithyClient._json,
1448
+ NetworkFirewallUnexpectedFirewallRoutesViolation: smithyClient._json,
1449
+ NetworkFirewallUnexpectedGatewayRoutesViolation: smithyClient._json,
1450
+ PossibleRemediationActions: (_) => de_PossibleRemediationActions(_),
1451
+ RouteHasOutOfScopeEndpointViolation: smithyClient._json,
1452
+ ThirdPartyFirewallMissingExpectedRouteTableViolation: smithyClient._json,
1453
+ ThirdPartyFirewallMissingFirewallViolation: smithyClient._json,
1454
+ ThirdPartyFirewallMissingSubnetViolation: smithyClient._json,
1455
+ WebACLHasIncompatibleConfigurationViolation: smithyClient._json,
1456
+ WebACLHasOutOfScopeResourcesViolation: smithyClient._json,
1457
+ });
2163
1458
  };
2164
-
2165
- // src/commands/ListResourceSetsCommand.ts
2166
-
2167
-
2168
-
2169
- var ListResourceSetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2170
- return [
2171
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2172
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2173
- ];
2174
- }).s("AWSFMS_20180101", "ListResourceSets", {}).n("FMSClient", "ListResourceSetsCommand").f(void 0, void 0).ser(se_ListResourceSetsCommand).de(de_ListResourceSetsCommand).build() {
2175
- static {
2176
- __name(this, "ListResourceSetsCommand");
2177
- }
1459
+ const de_ResourceViolations = (output, context) => {
1460
+ const retVal = (output || [])
1461
+ .filter((e) => e != null)
1462
+ .map((entry) => {
1463
+ return de_ResourceViolation(entry);
1464
+ });
1465
+ return retVal;
1466
+ };
1467
+ const de_ViolationDetail = (output, context) => {
1468
+ return smithyClient.take(output, {
1469
+ MemberAccount: smithyClient.expectString,
1470
+ PolicyId: smithyClient.expectString,
1471
+ ResourceDescription: smithyClient.expectString,
1472
+ ResourceId: smithyClient.expectString,
1473
+ ResourceTags: smithyClient._json,
1474
+ ResourceType: smithyClient.expectString,
1475
+ ResourceViolations: (_) => de_ResourceViolations(_),
1476
+ });
2178
1477
  };
2179
-
2180
- // src/commands/ListTagsForResourceCommand.ts
2181
-
2182
-
2183
-
2184
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2185
- return [
2186
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2187
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2188
- ];
2189
- }).s("AWSFMS_20180101", "ListTagsForResource", {}).n("FMSClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2190
- static {
2191
- __name(this, "ListTagsForResourceCommand");
2192
- }
1478
+ const deserializeMetadata = (output) => ({
1479
+ httpStatusCode: output.statusCode,
1480
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1481
+ extendedRequestId: output.headers["x-amz-id-2"],
1482
+ cfId: output.headers["x-amz-cf-id"],
1483
+ });
1484
+ const throwDefaultError = smithyClient.withBaseException(FMSServiceException);
1485
+ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1486
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1487
+ const contents = {
1488
+ protocol,
1489
+ hostname,
1490
+ port,
1491
+ method: "POST",
1492
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1493
+ headers,
1494
+ };
1495
+ if (body !== undefined) {
1496
+ contents.body = body;
1497
+ }
1498
+ return new protocolHttp.HttpRequest(contents);
2193
1499
  };
1500
+ function sharedHeaders(operation) {
1501
+ return {
1502
+ "content-type": "application/x-amz-json-1.1",
1503
+ "x-amz-target": `AWSFMS_20180101.${operation}`,
1504
+ };
1505
+ }
2194
1506
 
2195
- // src/commands/ListThirdPartyFirewallFirewallPoliciesCommand.ts
2196
-
2197
-
1507
+ class AssociateAdminAccountCommand extends smithyClient.Command
1508
+ .classBuilder()
1509
+ .ep(commonParams)
1510
+ .m(function (Command, cs, config, o) {
1511
+ return [
1512
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1513
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1514
+ ];
1515
+ })
1516
+ .s("AWSFMS_20180101", "AssociateAdminAccount", {})
1517
+ .n("FMSClient", "AssociateAdminAccountCommand")
1518
+ .f(void 0, void 0)
1519
+ .ser(se_AssociateAdminAccountCommand)
1520
+ .de(de_AssociateAdminAccountCommand)
1521
+ .build() {
1522
+ }
2198
1523
 
2199
- var ListThirdPartyFirewallFirewallPoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2200
- return [
2201
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2202
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2203
- ];
2204
- }).s("AWSFMS_20180101", "ListThirdPartyFirewallFirewallPolicies", {}).n("FMSClient", "ListThirdPartyFirewallFirewallPoliciesCommand").f(void 0, void 0).ser(se_ListThirdPartyFirewallFirewallPoliciesCommand).de(de_ListThirdPartyFirewallFirewallPoliciesCommand).build() {
2205
- static {
2206
- __name(this, "ListThirdPartyFirewallFirewallPoliciesCommand");
2207
- }
2208
- };
1524
+ class AssociateThirdPartyFirewallCommand extends smithyClient.Command
1525
+ .classBuilder()
1526
+ .ep(commonParams)
1527
+ .m(function (Command, cs, config, o) {
1528
+ return [
1529
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1530
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1531
+ ];
1532
+ })
1533
+ .s("AWSFMS_20180101", "AssociateThirdPartyFirewall", {})
1534
+ .n("FMSClient", "AssociateThirdPartyFirewallCommand")
1535
+ .f(void 0, void 0)
1536
+ .ser(se_AssociateThirdPartyFirewallCommand)
1537
+ .de(de_AssociateThirdPartyFirewallCommand)
1538
+ .build() {
1539
+ }
2209
1540
 
2210
- // src/commands/PutAdminAccountCommand.ts
1541
+ class BatchAssociateResourceCommand extends smithyClient.Command
1542
+ .classBuilder()
1543
+ .ep(commonParams)
1544
+ .m(function (Command, cs, config, o) {
1545
+ return [
1546
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1547
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1548
+ ];
1549
+ })
1550
+ .s("AWSFMS_20180101", "BatchAssociateResource", {})
1551
+ .n("FMSClient", "BatchAssociateResourceCommand")
1552
+ .f(void 0, void 0)
1553
+ .ser(se_BatchAssociateResourceCommand)
1554
+ .de(de_BatchAssociateResourceCommand)
1555
+ .build() {
1556
+ }
2211
1557
 
1558
+ class BatchDisassociateResourceCommand extends smithyClient.Command
1559
+ .classBuilder()
1560
+ .ep(commonParams)
1561
+ .m(function (Command, cs, config, o) {
1562
+ return [
1563
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1564
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1565
+ ];
1566
+ })
1567
+ .s("AWSFMS_20180101", "BatchDisassociateResource", {})
1568
+ .n("FMSClient", "BatchDisassociateResourceCommand")
1569
+ .f(void 0, void 0)
1570
+ .ser(se_BatchDisassociateResourceCommand)
1571
+ .de(de_BatchDisassociateResourceCommand)
1572
+ .build() {
1573
+ }
2212
1574
 
1575
+ class DeleteAppsListCommand extends smithyClient.Command
1576
+ .classBuilder()
1577
+ .ep(commonParams)
1578
+ .m(function (Command, cs, config, o) {
1579
+ return [
1580
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1581
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1582
+ ];
1583
+ })
1584
+ .s("AWSFMS_20180101", "DeleteAppsList", {})
1585
+ .n("FMSClient", "DeleteAppsListCommand")
1586
+ .f(void 0, void 0)
1587
+ .ser(se_DeleteAppsListCommand)
1588
+ .de(de_DeleteAppsListCommand)
1589
+ .build() {
1590
+ }
2213
1591
 
2214
- var PutAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2215
- return [
2216
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2217
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2218
- ];
2219
- }).s("AWSFMS_20180101", "PutAdminAccount", {}).n("FMSClient", "PutAdminAccountCommand").f(void 0, void 0).ser(se_PutAdminAccountCommand).de(de_PutAdminAccountCommand).build() {
2220
- static {
2221
- __name(this, "PutAdminAccountCommand");
2222
- }
2223
- };
1592
+ class DeleteNotificationChannelCommand extends smithyClient.Command
1593
+ .classBuilder()
1594
+ .ep(commonParams)
1595
+ .m(function (Command, cs, config, o) {
1596
+ return [
1597
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1598
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1599
+ ];
1600
+ })
1601
+ .s("AWSFMS_20180101", "DeleteNotificationChannel", {})
1602
+ .n("FMSClient", "DeleteNotificationChannelCommand")
1603
+ .f(void 0, void 0)
1604
+ .ser(se_DeleteNotificationChannelCommand)
1605
+ .de(de_DeleteNotificationChannelCommand)
1606
+ .build() {
1607
+ }
2224
1608
 
2225
- // src/commands/PutAppsListCommand.ts
1609
+ class DeletePolicyCommand extends smithyClient.Command
1610
+ .classBuilder()
1611
+ .ep(commonParams)
1612
+ .m(function (Command, cs, config, o) {
1613
+ return [
1614
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1615
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1616
+ ];
1617
+ })
1618
+ .s("AWSFMS_20180101", "DeletePolicy", {})
1619
+ .n("FMSClient", "DeletePolicyCommand")
1620
+ .f(void 0, void 0)
1621
+ .ser(se_DeletePolicyCommand)
1622
+ .de(de_DeletePolicyCommand)
1623
+ .build() {
1624
+ }
2226
1625
 
1626
+ class DeleteProtocolsListCommand extends smithyClient.Command
1627
+ .classBuilder()
1628
+ .ep(commonParams)
1629
+ .m(function (Command, cs, config, o) {
1630
+ return [
1631
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1632
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1633
+ ];
1634
+ })
1635
+ .s("AWSFMS_20180101", "DeleteProtocolsList", {})
1636
+ .n("FMSClient", "DeleteProtocolsListCommand")
1637
+ .f(void 0, void 0)
1638
+ .ser(se_DeleteProtocolsListCommand)
1639
+ .de(de_DeleteProtocolsListCommand)
1640
+ .build() {
1641
+ }
2227
1642
 
1643
+ class DeleteResourceSetCommand extends smithyClient.Command
1644
+ .classBuilder()
1645
+ .ep(commonParams)
1646
+ .m(function (Command, cs, config, o) {
1647
+ return [
1648
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1649
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1650
+ ];
1651
+ })
1652
+ .s("AWSFMS_20180101", "DeleteResourceSet", {})
1653
+ .n("FMSClient", "DeleteResourceSetCommand")
1654
+ .f(void 0, void 0)
1655
+ .ser(se_DeleteResourceSetCommand)
1656
+ .de(de_DeleteResourceSetCommand)
1657
+ .build() {
1658
+ }
2228
1659
 
2229
- var PutAppsListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2230
- return [
2231
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2232
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2233
- ];
2234
- }).s("AWSFMS_20180101", "PutAppsList", {}).n("FMSClient", "PutAppsListCommand").f(void 0, void 0).ser(se_PutAppsListCommand).de(de_PutAppsListCommand).build() {
2235
- static {
2236
- __name(this, "PutAppsListCommand");
2237
- }
2238
- };
1660
+ class DisassociateAdminAccountCommand extends smithyClient.Command
1661
+ .classBuilder()
1662
+ .ep(commonParams)
1663
+ .m(function (Command, cs, config, o) {
1664
+ return [
1665
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1666
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1667
+ ];
1668
+ })
1669
+ .s("AWSFMS_20180101", "DisassociateAdminAccount", {})
1670
+ .n("FMSClient", "DisassociateAdminAccountCommand")
1671
+ .f(void 0, void 0)
1672
+ .ser(se_DisassociateAdminAccountCommand)
1673
+ .de(de_DisassociateAdminAccountCommand)
1674
+ .build() {
1675
+ }
2239
1676
 
2240
- // src/commands/PutNotificationChannelCommand.ts
1677
+ class DisassociateThirdPartyFirewallCommand extends smithyClient.Command
1678
+ .classBuilder()
1679
+ .ep(commonParams)
1680
+ .m(function (Command, cs, config, o) {
1681
+ return [
1682
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1683
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1684
+ ];
1685
+ })
1686
+ .s("AWSFMS_20180101", "DisassociateThirdPartyFirewall", {})
1687
+ .n("FMSClient", "DisassociateThirdPartyFirewallCommand")
1688
+ .f(void 0, void 0)
1689
+ .ser(se_DisassociateThirdPartyFirewallCommand)
1690
+ .de(de_DisassociateThirdPartyFirewallCommand)
1691
+ .build() {
1692
+ }
2241
1693
 
1694
+ class GetAdminAccountCommand extends smithyClient.Command
1695
+ .classBuilder()
1696
+ .ep(commonParams)
1697
+ .m(function (Command, cs, config, o) {
1698
+ return [
1699
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1700
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1701
+ ];
1702
+ })
1703
+ .s("AWSFMS_20180101", "GetAdminAccount", {})
1704
+ .n("FMSClient", "GetAdminAccountCommand")
1705
+ .f(void 0, void 0)
1706
+ .ser(se_GetAdminAccountCommand)
1707
+ .de(de_GetAdminAccountCommand)
1708
+ .build() {
1709
+ }
2242
1710
 
1711
+ class GetAdminScopeCommand extends smithyClient.Command
1712
+ .classBuilder()
1713
+ .ep(commonParams)
1714
+ .m(function (Command, cs, config, o) {
1715
+ return [
1716
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1717
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1718
+ ];
1719
+ })
1720
+ .s("AWSFMS_20180101", "GetAdminScope", {})
1721
+ .n("FMSClient", "GetAdminScopeCommand")
1722
+ .f(void 0, void 0)
1723
+ .ser(se_GetAdminScopeCommand)
1724
+ .de(de_GetAdminScopeCommand)
1725
+ .build() {
1726
+ }
2243
1727
 
2244
- var PutNotificationChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2245
- return [
2246
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2247
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2248
- ];
2249
- }).s("AWSFMS_20180101", "PutNotificationChannel", {}).n("FMSClient", "PutNotificationChannelCommand").f(void 0, void 0).ser(se_PutNotificationChannelCommand).de(de_PutNotificationChannelCommand).build() {
2250
- static {
2251
- __name(this, "PutNotificationChannelCommand");
2252
- }
2253
- };
1728
+ class GetAppsListCommand extends smithyClient.Command
1729
+ .classBuilder()
1730
+ .ep(commonParams)
1731
+ .m(function (Command, cs, config, o) {
1732
+ return [
1733
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1734
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1735
+ ];
1736
+ })
1737
+ .s("AWSFMS_20180101", "GetAppsList", {})
1738
+ .n("FMSClient", "GetAppsListCommand")
1739
+ .f(void 0, void 0)
1740
+ .ser(se_GetAppsListCommand)
1741
+ .de(de_GetAppsListCommand)
1742
+ .build() {
1743
+ }
2254
1744
 
2255
- // src/commands/PutPolicyCommand.ts
1745
+ class GetComplianceDetailCommand extends smithyClient.Command
1746
+ .classBuilder()
1747
+ .ep(commonParams)
1748
+ .m(function (Command, cs, config, o) {
1749
+ return [
1750
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1751
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1752
+ ];
1753
+ })
1754
+ .s("AWSFMS_20180101", "GetComplianceDetail", {})
1755
+ .n("FMSClient", "GetComplianceDetailCommand")
1756
+ .f(void 0, void 0)
1757
+ .ser(se_GetComplianceDetailCommand)
1758
+ .de(de_GetComplianceDetailCommand)
1759
+ .build() {
1760
+ }
2256
1761
 
1762
+ class GetNotificationChannelCommand extends smithyClient.Command
1763
+ .classBuilder()
1764
+ .ep(commonParams)
1765
+ .m(function (Command, cs, config, o) {
1766
+ return [
1767
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1768
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1769
+ ];
1770
+ })
1771
+ .s("AWSFMS_20180101", "GetNotificationChannel", {})
1772
+ .n("FMSClient", "GetNotificationChannelCommand")
1773
+ .f(void 0, void 0)
1774
+ .ser(se_GetNotificationChannelCommand)
1775
+ .de(de_GetNotificationChannelCommand)
1776
+ .build() {
1777
+ }
2257
1778
 
1779
+ class GetPolicyCommand extends smithyClient.Command
1780
+ .classBuilder()
1781
+ .ep(commonParams)
1782
+ .m(function (Command, cs, config, o) {
1783
+ return [
1784
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1785
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1786
+ ];
1787
+ })
1788
+ .s("AWSFMS_20180101", "GetPolicy", {})
1789
+ .n("FMSClient", "GetPolicyCommand")
1790
+ .f(void 0, void 0)
1791
+ .ser(se_GetPolicyCommand)
1792
+ .de(de_GetPolicyCommand)
1793
+ .build() {
1794
+ }
2258
1795
 
2259
- var PutPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2260
- return [
2261
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2262
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2263
- ];
2264
- }).s("AWSFMS_20180101", "PutPolicy", {}).n("FMSClient", "PutPolicyCommand").f(void 0, void 0).ser(se_PutPolicyCommand).de(de_PutPolicyCommand).build() {
2265
- static {
2266
- __name(this, "PutPolicyCommand");
2267
- }
2268
- };
1796
+ class GetProtectionStatusCommand extends smithyClient.Command
1797
+ .classBuilder()
1798
+ .ep(commonParams)
1799
+ .m(function (Command, cs, config, o) {
1800
+ return [
1801
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1802
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1803
+ ];
1804
+ })
1805
+ .s("AWSFMS_20180101", "GetProtectionStatus", {})
1806
+ .n("FMSClient", "GetProtectionStatusCommand")
1807
+ .f(void 0, void 0)
1808
+ .ser(se_GetProtectionStatusCommand)
1809
+ .de(de_GetProtectionStatusCommand)
1810
+ .build() {
1811
+ }
2269
1812
 
2270
- // src/commands/PutProtocolsListCommand.ts
1813
+ class GetProtocolsListCommand extends smithyClient.Command
1814
+ .classBuilder()
1815
+ .ep(commonParams)
1816
+ .m(function (Command, cs, config, o) {
1817
+ return [
1818
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1819
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1820
+ ];
1821
+ })
1822
+ .s("AWSFMS_20180101", "GetProtocolsList", {})
1823
+ .n("FMSClient", "GetProtocolsListCommand")
1824
+ .f(void 0, void 0)
1825
+ .ser(se_GetProtocolsListCommand)
1826
+ .de(de_GetProtocolsListCommand)
1827
+ .build() {
1828
+ }
2271
1829
 
1830
+ class GetResourceSetCommand extends smithyClient.Command
1831
+ .classBuilder()
1832
+ .ep(commonParams)
1833
+ .m(function (Command, cs, config, o) {
1834
+ return [
1835
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1836
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1837
+ ];
1838
+ })
1839
+ .s("AWSFMS_20180101", "GetResourceSet", {})
1840
+ .n("FMSClient", "GetResourceSetCommand")
1841
+ .f(void 0, void 0)
1842
+ .ser(se_GetResourceSetCommand)
1843
+ .de(de_GetResourceSetCommand)
1844
+ .build() {
1845
+ }
2272
1846
 
1847
+ class GetThirdPartyFirewallAssociationStatusCommand extends smithyClient.Command
1848
+ .classBuilder()
1849
+ .ep(commonParams)
1850
+ .m(function (Command, cs, config, o) {
1851
+ return [
1852
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1853
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1854
+ ];
1855
+ })
1856
+ .s("AWSFMS_20180101", "GetThirdPartyFirewallAssociationStatus", {})
1857
+ .n("FMSClient", "GetThirdPartyFirewallAssociationStatusCommand")
1858
+ .f(void 0, void 0)
1859
+ .ser(se_GetThirdPartyFirewallAssociationStatusCommand)
1860
+ .de(de_GetThirdPartyFirewallAssociationStatusCommand)
1861
+ .build() {
1862
+ }
2273
1863
 
2274
- var PutProtocolsListCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2275
- return [
2276
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2277
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2278
- ];
2279
- }).s("AWSFMS_20180101", "PutProtocolsList", {}).n("FMSClient", "PutProtocolsListCommand").f(void 0, void 0).ser(se_PutProtocolsListCommand).de(de_PutProtocolsListCommand).build() {
2280
- static {
2281
- __name(this, "PutProtocolsListCommand");
2282
- }
2283
- };
1864
+ class GetViolationDetailsCommand extends smithyClient.Command
1865
+ .classBuilder()
1866
+ .ep(commonParams)
1867
+ .m(function (Command, cs, config, o) {
1868
+ return [
1869
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1870
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1871
+ ];
1872
+ })
1873
+ .s("AWSFMS_20180101", "GetViolationDetails", {})
1874
+ .n("FMSClient", "GetViolationDetailsCommand")
1875
+ .f(void 0, void 0)
1876
+ .ser(se_GetViolationDetailsCommand)
1877
+ .de(de_GetViolationDetailsCommand)
1878
+ .build() {
1879
+ }
2284
1880
 
2285
- // src/commands/PutResourceSetCommand.ts
1881
+ class ListAdminAccountsForOrganizationCommand extends smithyClient.Command
1882
+ .classBuilder()
1883
+ .ep(commonParams)
1884
+ .m(function (Command, cs, config, o) {
1885
+ return [
1886
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1887
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1888
+ ];
1889
+ })
1890
+ .s("AWSFMS_20180101", "ListAdminAccountsForOrganization", {})
1891
+ .n("FMSClient", "ListAdminAccountsForOrganizationCommand")
1892
+ .f(void 0, void 0)
1893
+ .ser(se_ListAdminAccountsForOrganizationCommand)
1894
+ .de(de_ListAdminAccountsForOrganizationCommand)
1895
+ .build() {
1896
+ }
2286
1897
 
1898
+ class ListAdminsManagingAccountCommand extends smithyClient.Command
1899
+ .classBuilder()
1900
+ .ep(commonParams)
1901
+ .m(function (Command, cs, config, o) {
1902
+ return [
1903
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1904
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1905
+ ];
1906
+ })
1907
+ .s("AWSFMS_20180101", "ListAdminsManagingAccount", {})
1908
+ .n("FMSClient", "ListAdminsManagingAccountCommand")
1909
+ .f(void 0, void 0)
1910
+ .ser(se_ListAdminsManagingAccountCommand)
1911
+ .de(de_ListAdminsManagingAccountCommand)
1912
+ .build() {
1913
+ }
2287
1914
 
1915
+ class ListAppsListsCommand extends smithyClient.Command
1916
+ .classBuilder()
1917
+ .ep(commonParams)
1918
+ .m(function (Command, cs, config, o) {
1919
+ return [
1920
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1921
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1922
+ ];
1923
+ })
1924
+ .s("AWSFMS_20180101", "ListAppsLists", {})
1925
+ .n("FMSClient", "ListAppsListsCommand")
1926
+ .f(void 0, void 0)
1927
+ .ser(se_ListAppsListsCommand)
1928
+ .de(de_ListAppsListsCommand)
1929
+ .build() {
1930
+ }
2288
1931
 
2289
- var PutResourceSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2290
- return [
2291
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2292
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2293
- ];
2294
- }).s("AWSFMS_20180101", "PutResourceSet", {}).n("FMSClient", "PutResourceSetCommand").f(void 0, void 0).ser(se_PutResourceSetCommand).de(de_PutResourceSetCommand).build() {
2295
- static {
2296
- __name(this, "PutResourceSetCommand");
2297
- }
2298
- };
1932
+ class ListComplianceStatusCommand extends smithyClient.Command
1933
+ .classBuilder()
1934
+ .ep(commonParams)
1935
+ .m(function (Command, cs, config, o) {
1936
+ return [
1937
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1938
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1939
+ ];
1940
+ })
1941
+ .s("AWSFMS_20180101", "ListComplianceStatus", {})
1942
+ .n("FMSClient", "ListComplianceStatusCommand")
1943
+ .f(void 0, void 0)
1944
+ .ser(se_ListComplianceStatusCommand)
1945
+ .de(de_ListComplianceStatusCommand)
1946
+ .build() {
1947
+ }
2299
1948
 
2300
- // src/commands/TagResourceCommand.ts
1949
+ class ListDiscoveredResourcesCommand extends smithyClient.Command
1950
+ .classBuilder()
1951
+ .ep(commonParams)
1952
+ .m(function (Command, cs, config, o) {
1953
+ return [
1954
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1955
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1956
+ ];
1957
+ })
1958
+ .s("AWSFMS_20180101", "ListDiscoveredResources", {})
1959
+ .n("FMSClient", "ListDiscoveredResourcesCommand")
1960
+ .f(void 0, void 0)
1961
+ .ser(se_ListDiscoveredResourcesCommand)
1962
+ .de(de_ListDiscoveredResourcesCommand)
1963
+ .build() {
1964
+ }
2301
1965
 
1966
+ class ListMemberAccountsCommand extends smithyClient.Command
1967
+ .classBuilder()
1968
+ .ep(commonParams)
1969
+ .m(function (Command, cs, config, o) {
1970
+ return [
1971
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1972
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1973
+ ];
1974
+ })
1975
+ .s("AWSFMS_20180101", "ListMemberAccounts", {})
1976
+ .n("FMSClient", "ListMemberAccountsCommand")
1977
+ .f(void 0, void 0)
1978
+ .ser(se_ListMemberAccountsCommand)
1979
+ .de(de_ListMemberAccountsCommand)
1980
+ .build() {
1981
+ }
2302
1982
 
1983
+ class ListPoliciesCommand extends smithyClient.Command
1984
+ .classBuilder()
1985
+ .ep(commonParams)
1986
+ .m(function (Command, cs, config, o) {
1987
+ return [
1988
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1989
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1990
+ ];
1991
+ })
1992
+ .s("AWSFMS_20180101", "ListPolicies", {})
1993
+ .n("FMSClient", "ListPoliciesCommand")
1994
+ .f(void 0, void 0)
1995
+ .ser(se_ListPoliciesCommand)
1996
+ .de(de_ListPoliciesCommand)
1997
+ .build() {
1998
+ }
2303
1999
 
2304
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2305
- return [
2306
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2307
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2308
- ];
2309
- }).s("AWSFMS_20180101", "TagResource", {}).n("FMSClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2310
- static {
2311
- __name(this, "TagResourceCommand");
2312
- }
2313
- };
2000
+ class ListProtocolsListsCommand extends smithyClient.Command
2001
+ .classBuilder()
2002
+ .ep(commonParams)
2003
+ .m(function (Command, cs, config, o) {
2004
+ return [
2005
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2006
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2007
+ ];
2008
+ })
2009
+ .s("AWSFMS_20180101", "ListProtocolsLists", {})
2010
+ .n("FMSClient", "ListProtocolsListsCommand")
2011
+ .f(void 0, void 0)
2012
+ .ser(se_ListProtocolsListsCommand)
2013
+ .de(de_ListProtocolsListsCommand)
2014
+ .build() {
2015
+ }
2314
2016
 
2315
- // src/commands/UntagResourceCommand.ts
2017
+ class ListResourceSetResourcesCommand extends smithyClient.Command
2018
+ .classBuilder()
2019
+ .ep(commonParams)
2020
+ .m(function (Command, cs, config, o) {
2021
+ return [
2022
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2023
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2024
+ ];
2025
+ })
2026
+ .s("AWSFMS_20180101", "ListResourceSetResources", {})
2027
+ .n("FMSClient", "ListResourceSetResourcesCommand")
2028
+ .f(void 0, void 0)
2029
+ .ser(se_ListResourceSetResourcesCommand)
2030
+ .de(de_ListResourceSetResourcesCommand)
2031
+ .build() {
2032
+ }
2316
2033
 
2034
+ class ListResourceSetsCommand extends smithyClient.Command
2035
+ .classBuilder()
2036
+ .ep(commonParams)
2037
+ .m(function (Command, cs, config, o) {
2038
+ return [
2039
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2040
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2041
+ ];
2042
+ })
2043
+ .s("AWSFMS_20180101", "ListResourceSets", {})
2044
+ .n("FMSClient", "ListResourceSetsCommand")
2045
+ .f(void 0, void 0)
2046
+ .ser(se_ListResourceSetsCommand)
2047
+ .de(de_ListResourceSetsCommand)
2048
+ .build() {
2049
+ }
2317
2050
 
2051
+ class ListTagsForResourceCommand extends smithyClient.Command
2052
+ .classBuilder()
2053
+ .ep(commonParams)
2054
+ .m(function (Command, cs, config, o) {
2055
+ return [
2056
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2057
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2058
+ ];
2059
+ })
2060
+ .s("AWSFMS_20180101", "ListTagsForResource", {})
2061
+ .n("FMSClient", "ListTagsForResourceCommand")
2062
+ .f(void 0, void 0)
2063
+ .ser(se_ListTagsForResourceCommand)
2064
+ .de(de_ListTagsForResourceCommand)
2065
+ .build() {
2066
+ }
2318
2067
 
2319
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2320
- return [
2321
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2322
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2323
- ];
2324
- }).s("AWSFMS_20180101", "UntagResource", {}).n("FMSClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2325
- static {
2326
- __name(this, "UntagResourceCommand");
2327
- }
2328
- };
2068
+ class ListThirdPartyFirewallFirewallPoliciesCommand extends smithyClient.Command
2069
+ .classBuilder()
2070
+ .ep(commonParams)
2071
+ .m(function (Command, cs, config, o) {
2072
+ return [
2073
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2074
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2075
+ ];
2076
+ })
2077
+ .s("AWSFMS_20180101", "ListThirdPartyFirewallFirewallPolicies", {})
2078
+ .n("FMSClient", "ListThirdPartyFirewallFirewallPoliciesCommand")
2079
+ .f(void 0, void 0)
2080
+ .ser(se_ListThirdPartyFirewallFirewallPoliciesCommand)
2081
+ .de(de_ListThirdPartyFirewallFirewallPoliciesCommand)
2082
+ .build() {
2083
+ }
2329
2084
 
2330
- // src/FMS.ts
2331
- var commands = {
2332
- AssociateAdminAccountCommand,
2333
- AssociateThirdPartyFirewallCommand,
2334
- BatchAssociateResourceCommand,
2335
- BatchDisassociateResourceCommand,
2336
- DeleteAppsListCommand,
2337
- DeleteNotificationChannelCommand,
2338
- DeletePolicyCommand,
2339
- DeleteProtocolsListCommand,
2340
- DeleteResourceSetCommand,
2341
- DisassociateAdminAccountCommand,
2342
- DisassociateThirdPartyFirewallCommand,
2343
- GetAdminAccountCommand,
2344
- GetAdminScopeCommand,
2345
- GetAppsListCommand,
2346
- GetComplianceDetailCommand,
2347
- GetNotificationChannelCommand,
2348
- GetPolicyCommand,
2349
- GetProtectionStatusCommand,
2350
- GetProtocolsListCommand,
2351
- GetResourceSetCommand,
2352
- GetThirdPartyFirewallAssociationStatusCommand,
2353
- GetViolationDetailsCommand,
2354
- ListAdminAccountsForOrganizationCommand,
2355
- ListAdminsManagingAccountCommand,
2356
- ListAppsListsCommand,
2357
- ListComplianceStatusCommand,
2358
- ListDiscoveredResourcesCommand,
2359
- ListMemberAccountsCommand,
2360
- ListPoliciesCommand,
2361
- ListProtocolsListsCommand,
2362
- ListResourceSetResourcesCommand,
2363
- ListResourceSetsCommand,
2364
- ListTagsForResourceCommand,
2365
- ListThirdPartyFirewallFirewallPoliciesCommand,
2366
- PutAdminAccountCommand,
2367
- PutAppsListCommand,
2368
- PutNotificationChannelCommand,
2369
- PutPolicyCommand,
2370
- PutProtocolsListCommand,
2371
- PutResourceSetCommand,
2372
- TagResourceCommand,
2373
- UntagResourceCommand
2374
- };
2375
- var FMS = class extends FMSClient {
2376
- static {
2377
- __name(this, "FMS");
2378
- }
2379
- };
2380
- (0, import_smithy_client.createAggregatedClient)(commands, FMS);
2085
+ class PutAdminAccountCommand extends smithyClient.Command
2086
+ .classBuilder()
2087
+ .ep(commonParams)
2088
+ .m(function (Command, cs, config, o) {
2089
+ return [
2090
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2091
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2092
+ ];
2093
+ })
2094
+ .s("AWSFMS_20180101", "PutAdminAccount", {})
2095
+ .n("FMSClient", "PutAdminAccountCommand")
2096
+ .f(void 0, void 0)
2097
+ .ser(se_PutAdminAccountCommand)
2098
+ .de(de_PutAdminAccountCommand)
2099
+ .build() {
2100
+ }
2381
2101
 
2382
- // src/pagination/ListAdminAccountsForOrganizationPaginator.ts
2102
+ class PutAppsListCommand extends smithyClient.Command
2103
+ .classBuilder()
2104
+ .ep(commonParams)
2105
+ .m(function (Command, cs, config, o) {
2106
+ return [
2107
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2108
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2109
+ ];
2110
+ })
2111
+ .s("AWSFMS_20180101", "PutAppsList", {})
2112
+ .n("FMSClient", "PutAppsListCommand")
2113
+ .f(void 0, void 0)
2114
+ .ser(se_PutAppsListCommand)
2115
+ .de(de_PutAppsListCommand)
2116
+ .build() {
2117
+ }
2383
2118
 
2384
- var paginateListAdminAccountsForOrganization = (0, import_core.createPaginator)(FMSClient, ListAdminAccountsForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
2119
+ class PutNotificationChannelCommand extends smithyClient.Command
2120
+ .classBuilder()
2121
+ .ep(commonParams)
2122
+ .m(function (Command, cs, config, o) {
2123
+ return [
2124
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2125
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2126
+ ];
2127
+ })
2128
+ .s("AWSFMS_20180101", "PutNotificationChannel", {})
2129
+ .n("FMSClient", "PutNotificationChannelCommand")
2130
+ .f(void 0, void 0)
2131
+ .ser(se_PutNotificationChannelCommand)
2132
+ .de(de_PutNotificationChannelCommand)
2133
+ .build() {
2134
+ }
2385
2135
 
2386
- // src/pagination/ListAdminsManagingAccountPaginator.ts
2136
+ class PutPolicyCommand extends smithyClient.Command
2137
+ .classBuilder()
2138
+ .ep(commonParams)
2139
+ .m(function (Command, cs, config, o) {
2140
+ return [
2141
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2142
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2143
+ ];
2144
+ })
2145
+ .s("AWSFMS_20180101", "PutPolicy", {})
2146
+ .n("FMSClient", "PutPolicyCommand")
2147
+ .f(void 0, void 0)
2148
+ .ser(se_PutPolicyCommand)
2149
+ .de(de_PutPolicyCommand)
2150
+ .build() {
2151
+ }
2387
2152
 
2388
- var paginateListAdminsManagingAccount = (0, import_core.createPaginator)(FMSClient, ListAdminsManagingAccountCommand, "NextToken", "NextToken", "MaxResults");
2153
+ class PutProtocolsListCommand extends smithyClient.Command
2154
+ .classBuilder()
2155
+ .ep(commonParams)
2156
+ .m(function (Command, cs, config, o) {
2157
+ return [
2158
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2159
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2160
+ ];
2161
+ })
2162
+ .s("AWSFMS_20180101", "PutProtocolsList", {})
2163
+ .n("FMSClient", "PutProtocolsListCommand")
2164
+ .f(void 0, void 0)
2165
+ .ser(se_PutProtocolsListCommand)
2166
+ .de(de_PutProtocolsListCommand)
2167
+ .build() {
2168
+ }
2389
2169
 
2390
- // src/pagination/ListAppsListsPaginator.ts
2170
+ class PutResourceSetCommand extends smithyClient.Command
2171
+ .classBuilder()
2172
+ .ep(commonParams)
2173
+ .m(function (Command, cs, config, o) {
2174
+ return [
2175
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2176
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2177
+ ];
2178
+ })
2179
+ .s("AWSFMS_20180101", "PutResourceSet", {})
2180
+ .n("FMSClient", "PutResourceSetCommand")
2181
+ .f(void 0, void 0)
2182
+ .ser(se_PutResourceSetCommand)
2183
+ .de(de_PutResourceSetCommand)
2184
+ .build() {
2185
+ }
2391
2186
 
2392
- var paginateListAppsLists = (0, import_core.createPaginator)(FMSClient, ListAppsListsCommand, "NextToken", "NextToken", "MaxResults");
2187
+ class TagResourceCommand extends smithyClient.Command
2188
+ .classBuilder()
2189
+ .ep(commonParams)
2190
+ .m(function (Command, cs, config, o) {
2191
+ return [
2192
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2193
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2194
+ ];
2195
+ })
2196
+ .s("AWSFMS_20180101", "TagResource", {})
2197
+ .n("FMSClient", "TagResourceCommand")
2198
+ .f(void 0, void 0)
2199
+ .ser(se_TagResourceCommand)
2200
+ .de(de_TagResourceCommand)
2201
+ .build() {
2202
+ }
2393
2203
 
2394
- // src/pagination/ListComplianceStatusPaginator.ts
2204
+ class UntagResourceCommand extends smithyClient.Command
2205
+ .classBuilder()
2206
+ .ep(commonParams)
2207
+ .m(function (Command, cs, config, o) {
2208
+ return [
2209
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2210
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2211
+ ];
2212
+ })
2213
+ .s("AWSFMS_20180101", "UntagResource", {})
2214
+ .n("FMSClient", "UntagResourceCommand")
2215
+ .f(void 0, void 0)
2216
+ .ser(se_UntagResourceCommand)
2217
+ .de(de_UntagResourceCommand)
2218
+ .build() {
2219
+ }
2395
2220
 
2396
- var paginateListComplianceStatus = (0, import_core.createPaginator)(FMSClient, ListComplianceStatusCommand, "NextToken", "NextToken", "MaxResults");
2221
+ const commands = {
2222
+ AssociateAdminAccountCommand,
2223
+ AssociateThirdPartyFirewallCommand,
2224
+ BatchAssociateResourceCommand,
2225
+ BatchDisassociateResourceCommand,
2226
+ DeleteAppsListCommand,
2227
+ DeleteNotificationChannelCommand,
2228
+ DeletePolicyCommand,
2229
+ DeleteProtocolsListCommand,
2230
+ DeleteResourceSetCommand,
2231
+ DisassociateAdminAccountCommand,
2232
+ DisassociateThirdPartyFirewallCommand,
2233
+ GetAdminAccountCommand,
2234
+ GetAdminScopeCommand,
2235
+ GetAppsListCommand,
2236
+ GetComplianceDetailCommand,
2237
+ GetNotificationChannelCommand,
2238
+ GetPolicyCommand,
2239
+ GetProtectionStatusCommand,
2240
+ GetProtocolsListCommand,
2241
+ GetResourceSetCommand,
2242
+ GetThirdPartyFirewallAssociationStatusCommand,
2243
+ GetViolationDetailsCommand,
2244
+ ListAdminAccountsForOrganizationCommand,
2245
+ ListAdminsManagingAccountCommand,
2246
+ ListAppsListsCommand,
2247
+ ListComplianceStatusCommand,
2248
+ ListDiscoveredResourcesCommand,
2249
+ ListMemberAccountsCommand,
2250
+ ListPoliciesCommand,
2251
+ ListProtocolsListsCommand,
2252
+ ListResourceSetResourcesCommand,
2253
+ ListResourceSetsCommand,
2254
+ ListTagsForResourceCommand,
2255
+ ListThirdPartyFirewallFirewallPoliciesCommand,
2256
+ PutAdminAccountCommand,
2257
+ PutAppsListCommand,
2258
+ PutNotificationChannelCommand,
2259
+ PutPolicyCommand,
2260
+ PutProtocolsListCommand,
2261
+ PutResourceSetCommand,
2262
+ TagResourceCommand,
2263
+ UntagResourceCommand,
2264
+ };
2265
+ class FMS extends FMSClient {
2266
+ }
2267
+ smithyClient.createAggregatedClient(commands, FMS);
2397
2268
 
2398
- // src/pagination/ListMemberAccountsPaginator.ts
2269
+ const paginateListAdminAccountsForOrganization = core.createPaginator(FMSClient, ListAdminAccountsForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
2399
2270
 
2400
- var paginateListMemberAccounts = (0, import_core.createPaginator)(FMSClient, ListMemberAccountsCommand, "NextToken", "NextToken", "MaxResults");
2271
+ const paginateListAdminsManagingAccount = core.createPaginator(FMSClient, ListAdminsManagingAccountCommand, "NextToken", "NextToken", "MaxResults");
2401
2272
 
2402
- // src/pagination/ListPoliciesPaginator.ts
2273
+ const paginateListAppsLists = core.createPaginator(FMSClient, ListAppsListsCommand, "NextToken", "NextToken", "MaxResults");
2403
2274
 
2404
- var paginateListPolicies = (0, import_core.createPaginator)(FMSClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
2275
+ const paginateListComplianceStatus = core.createPaginator(FMSClient, ListComplianceStatusCommand, "NextToken", "NextToken", "MaxResults");
2405
2276
 
2406
- // src/pagination/ListProtocolsListsPaginator.ts
2277
+ const paginateListMemberAccounts = core.createPaginator(FMSClient, ListMemberAccountsCommand, "NextToken", "NextToken", "MaxResults");
2407
2278
 
2408
- var paginateListProtocolsLists = (0, import_core.createPaginator)(FMSClient, ListProtocolsListsCommand, "NextToken", "NextToken", "MaxResults");
2279
+ const paginateListPolicies = core.createPaginator(FMSClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
2409
2280
 
2410
- // src/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.ts
2281
+ const paginateListProtocolsLists = core.createPaginator(FMSClient, ListProtocolsListsCommand, "NextToken", "NextToken", "MaxResults");
2411
2282
 
2412
- var paginateListThirdPartyFirewallFirewallPolicies = (0, import_core.createPaginator)(FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand, "NextToken", "NextToken", "MaxResults");
2413
- // Annotate the CommonJS export names for ESM import in node:
2283
+ const paginateListThirdPartyFirewallFirewallPolicies = core.createPaginator(FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand, "NextToken", "NextToken", "MaxResults");
2414
2284
 
2415
- 0 && (module.exports = {
2416
- FMSServiceException,
2417
- __Client,
2418
- FMSClient,
2419
- FMS,
2420
- $Command,
2421
- AssociateAdminAccountCommand,
2422
- AssociateThirdPartyFirewallCommand,
2423
- BatchAssociateResourceCommand,
2424
- BatchDisassociateResourceCommand,
2425
- DeleteAppsListCommand,
2426
- DeleteNotificationChannelCommand,
2427
- DeletePolicyCommand,
2428
- DeleteProtocolsListCommand,
2429
- DeleteResourceSetCommand,
2430
- DisassociateAdminAccountCommand,
2431
- DisassociateThirdPartyFirewallCommand,
2432
- GetAdminAccountCommand,
2433
- GetAdminScopeCommand,
2434
- GetAppsListCommand,
2435
- GetComplianceDetailCommand,
2436
- GetNotificationChannelCommand,
2437
- GetPolicyCommand,
2438
- GetProtectionStatusCommand,
2439
- GetProtocolsListCommand,
2440
- GetResourceSetCommand,
2441
- GetThirdPartyFirewallAssociationStatusCommand,
2442
- GetViolationDetailsCommand,
2443
- ListAdminAccountsForOrganizationCommand,
2444
- ListAdminsManagingAccountCommand,
2445
- ListAppsListsCommand,
2446
- ListComplianceStatusCommand,
2447
- ListDiscoveredResourcesCommand,
2448
- ListMemberAccountsCommand,
2449
- ListPoliciesCommand,
2450
- ListProtocolsListsCommand,
2451
- ListResourceSetResourcesCommand,
2452
- ListResourceSetsCommand,
2453
- ListTagsForResourceCommand,
2454
- ListThirdPartyFirewallFirewallPoliciesCommand,
2455
- PutAdminAccountCommand,
2456
- PutAppsListCommand,
2457
- PutNotificationChannelCommand,
2458
- PutPolicyCommand,
2459
- PutProtocolsListCommand,
2460
- PutResourceSetCommand,
2461
- TagResourceCommand,
2462
- UntagResourceCommand,
2463
- paginateListAdminAccountsForOrganization,
2464
- paginateListAdminsManagingAccount,
2465
- paginateListAppsLists,
2466
- paginateListComplianceStatus,
2467
- paginateListMemberAccounts,
2468
- paginateListPolicies,
2469
- paginateListProtocolsLists,
2470
- paginateListThirdPartyFirewallFirewallPolicies,
2471
- AccountRoleStatus,
2472
- OrganizationStatus,
2473
- SecurityServiceType,
2474
- InternalErrorException,
2475
- InvalidInputException,
2476
- InvalidOperationException,
2477
- LimitExceededException,
2478
- ResourceNotFoundException,
2479
- ThirdPartyFirewall,
2480
- ThirdPartyFirewallAssociationStatus,
2481
- FailedItemReason,
2482
- DependentServiceName,
2483
- ViolationReason,
2484
- CustomerPolicyScopeIdType,
2485
- CustomerPolicyStatus,
2486
- ResourceTagLogicalOperator,
2487
- NetworkAclRuleAction,
2488
- FirewallDeploymentModel,
2489
- InvalidTypeException,
2490
- ResourceSetStatus,
2491
- MarketplaceSubscriptionOnboardingStatus,
2492
- RemediationActionType,
2493
- EntryType,
2494
- EntryViolationReason,
2495
- DestinationType,
2496
- TargetType,
2497
- RuleOrder,
2498
- StreamExceptionPolicy,
2499
- NetworkFirewallOverrideAction,
2500
- PolicyComplianceStatusType
2285
+ Object.defineProperty(exports, "$Command", {
2286
+ enumerable: true,
2287
+ get: function () { return smithyClient.Command; }
2501
2288
  });
2502
-
2289
+ Object.defineProperty(exports, "__Client", {
2290
+ enumerable: true,
2291
+ get: function () { return smithyClient.Client; }
2292
+ });
2293
+ exports.AccountRoleStatus = AccountRoleStatus;
2294
+ exports.AssociateAdminAccountCommand = AssociateAdminAccountCommand;
2295
+ exports.AssociateThirdPartyFirewallCommand = AssociateThirdPartyFirewallCommand;
2296
+ exports.BatchAssociateResourceCommand = BatchAssociateResourceCommand;
2297
+ exports.BatchDisassociateResourceCommand = BatchDisassociateResourceCommand;
2298
+ exports.CustomerPolicyScopeIdType = CustomerPolicyScopeIdType;
2299
+ exports.CustomerPolicyStatus = CustomerPolicyStatus;
2300
+ exports.DeleteAppsListCommand = DeleteAppsListCommand;
2301
+ exports.DeleteNotificationChannelCommand = DeleteNotificationChannelCommand;
2302
+ exports.DeletePolicyCommand = DeletePolicyCommand;
2303
+ exports.DeleteProtocolsListCommand = DeleteProtocolsListCommand;
2304
+ exports.DeleteResourceSetCommand = DeleteResourceSetCommand;
2305
+ exports.DependentServiceName = DependentServiceName;
2306
+ exports.DestinationType = DestinationType;
2307
+ exports.DisassociateAdminAccountCommand = DisassociateAdminAccountCommand;
2308
+ exports.DisassociateThirdPartyFirewallCommand = DisassociateThirdPartyFirewallCommand;
2309
+ exports.EntryType = EntryType;
2310
+ exports.EntryViolationReason = EntryViolationReason;
2311
+ exports.FMS = FMS;
2312
+ exports.FMSClient = FMSClient;
2313
+ exports.FMSServiceException = FMSServiceException;
2314
+ exports.FailedItemReason = FailedItemReason;
2315
+ exports.FirewallDeploymentModel = FirewallDeploymentModel;
2316
+ exports.GetAdminAccountCommand = GetAdminAccountCommand;
2317
+ exports.GetAdminScopeCommand = GetAdminScopeCommand;
2318
+ exports.GetAppsListCommand = GetAppsListCommand;
2319
+ exports.GetComplianceDetailCommand = GetComplianceDetailCommand;
2320
+ exports.GetNotificationChannelCommand = GetNotificationChannelCommand;
2321
+ exports.GetPolicyCommand = GetPolicyCommand;
2322
+ exports.GetProtectionStatusCommand = GetProtectionStatusCommand;
2323
+ exports.GetProtocolsListCommand = GetProtocolsListCommand;
2324
+ exports.GetResourceSetCommand = GetResourceSetCommand;
2325
+ exports.GetThirdPartyFirewallAssociationStatusCommand = GetThirdPartyFirewallAssociationStatusCommand;
2326
+ exports.GetViolationDetailsCommand = GetViolationDetailsCommand;
2327
+ exports.InternalErrorException = InternalErrorException;
2328
+ exports.InvalidInputException = InvalidInputException;
2329
+ exports.InvalidOperationException = InvalidOperationException;
2330
+ exports.InvalidTypeException = InvalidTypeException;
2331
+ exports.LimitExceededException = LimitExceededException;
2332
+ exports.ListAdminAccountsForOrganizationCommand = ListAdminAccountsForOrganizationCommand;
2333
+ exports.ListAdminsManagingAccountCommand = ListAdminsManagingAccountCommand;
2334
+ exports.ListAppsListsCommand = ListAppsListsCommand;
2335
+ exports.ListComplianceStatusCommand = ListComplianceStatusCommand;
2336
+ exports.ListDiscoveredResourcesCommand = ListDiscoveredResourcesCommand;
2337
+ exports.ListMemberAccountsCommand = ListMemberAccountsCommand;
2338
+ exports.ListPoliciesCommand = ListPoliciesCommand;
2339
+ exports.ListProtocolsListsCommand = ListProtocolsListsCommand;
2340
+ exports.ListResourceSetResourcesCommand = ListResourceSetResourcesCommand;
2341
+ exports.ListResourceSetsCommand = ListResourceSetsCommand;
2342
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2343
+ exports.ListThirdPartyFirewallFirewallPoliciesCommand = ListThirdPartyFirewallFirewallPoliciesCommand;
2344
+ exports.MarketplaceSubscriptionOnboardingStatus = MarketplaceSubscriptionOnboardingStatus;
2345
+ exports.NetworkAclRuleAction = NetworkAclRuleAction;
2346
+ exports.NetworkFirewallOverrideAction = NetworkFirewallOverrideAction;
2347
+ exports.OrganizationStatus = OrganizationStatus;
2348
+ exports.PolicyComplianceStatusType = PolicyComplianceStatusType;
2349
+ exports.PutAdminAccountCommand = PutAdminAccountCommand;
2350
+ exports.PutAppsListCommand = PutAppsListCommand;
2351
+ exports.PutNotificationChannelCommand = PutNotificationChannelCommand;
2352
+ exports.PutPolicyCommand = PutPolicyCommand;
2353
+ exports.PutProtocolsListCommand = PutProtocolsListCommand;
2354
+ exports.PutResourceSetCommand = PutResourceSetCommand;
2355
+ exports.RemediationActionType = RemediationActionType;
2356
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2357
+ exports.ResourceSetStatus = ResourceSetStatus;
2358
+ exports.ResourceTagLogicalOperator = ResourceTagLogicalOperator;
2359
+ exports.RuleOrder = RuleOrder;
2360
+ exports.SecurityServiceType = SecurityServiceType;
2361
+ exports.StreamExceptionPolicy = StreamExceptionPolicy;
2362
+ exports.TagResourceCommand = TagResourceCommand;
2363
+ exports.TargetType = TargetType;
2364
+ exports.ThirdPartyFirewall = ThirdPartyFirewall;
2365
+ exports.ThirdPartyFirewallAssociationStatus = ThirdPartyFirewallAssociationStatus;
2366
+ exports.UntagResourceCommand = UntagResourceCommand;
2367
+ exports.ViolationReason = ViolationReason;
2368
+ exports.paginateListAdminAccountsForOrganization = paginateListAdminAccountsForOrganization;
2369
+ exports.paginateListAdminsManagingAccount = paginateListAdminsManagingAccount;
2370
+ exports.paginateListAppsLists = paginateListAppsLists;
2371
+ exports.paginateListComplianceStatus = paginateListComplianceStatus;
2372
+ exports.paginateListMemberAccounts = paginateListMemberAccounts;
2373
+ exports.paginateListPolicies = paginateListPolicies;
2374
+ exports.paginateListProtocolsLists = paginateListProtocolsLists;
2375
+ exports.paginateListThirdPartyFirewallFirewallPolicies = paginateListThirdPartyFirewallFirewallPolicies;