@aws-sdk/client-fms 3.55.0 → 3.60.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 (58) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +6 -6
  3. package/dist-cjs/FMS.js +60 -0
  4. package/dist-cjs/commands/AssociateThirdPartyFirewallCommand.js +36 -0
  5. package/dist-cjs/commands/DisassociateThirdPartyFirewallCommand.js +36 -0
  6. package/dist-cjs/commands/GetThirdPartyFirewallAssociationStatusCommand.js +36 -0
  7. package/dist-cjs/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/models/models_0.js +108 -3
  10. package/dist-cjs/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +35 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_json1_1.js +356 -2
  13. package/dist-es/FMS.js +60 -0
  14. package/dist-es/commands/AssociateThirdPartyFirewallCommand.js +39 -0
  15. package/dist-es/commands/DisassociateThirdPartyFirewallCommand.js +39 -0
  16. package/dist-es/commands/GetThirdPartyFirewallAssociationStatusCommand.js +39 -0
  17. package/dist-es/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +39 -0
  18. package/dist-es/commands/index.js +4 -0
  19. package/dist-es/models/models_0.js +77 -0
  20. package/dist-es/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +74 -0
  21. package/dist-es/pagination/index.js +1 -0
  22. package/dist-es/protocols/Aws_json1_1.js +414 -1
  23. package/dist-types/FMS.d.ts +84 -59
  24. package/dist-types/FMSClient.d.ts +12 -8
  25. package/dist-types/commands/AssociateAdminAccountCommand.d.ts +4 -5
  26. package/dist-types/commands/AssociateThirdPartyFirewallCommand.d.ts +35 -0
  27. package/dist-types/commands/DeleteNotificationChannelCommand.d.ts +2 -2
  28. package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +3 -3
  29. package/dist-types/commands/DisassociateThirdPartyFirewallCommand.d.ts +35 -0
  30. package/dist-types/commands/GetAdminAccountCommand.d.ts +2 -2
  31. package/dist-types/commands/GetComplianceDetailCommand.d.ts +13 -13
  32. package/dist-types/commands/GetNotificationChannelCommand.d.ts +2 -2
  33. package/dist-types/commands/GetProtectionStatusCommand.d.ts +1 -2
  34. package/dist-types/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +35 -0
  35. package/dist-types/commands/GetViolationDetailsCommand.d.ts +1 -2
  36. package/dist-types/commands/ListComplianceStatusCommand.d.ts +2 -2
  37. package/dist-types/commands/ListMemberAccountsCommand.d.ts +2 -2
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +35 -0
  40. package/dist-types/commands/PutNotificationChannelCommand.d.ts +5 -6
  41. package/dist-types/commands/PutPolicyCommand.d.ts +12 -11
  42. package/dist-types/commands/index.d.ts +4 -0
  43. package/dist-types/models/models_0.d.ts +808 -518
  44. package/dist-types/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.d.ts +4 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  47. package/dist-types/ts3.4/FMS.d.ts +20 -0
  48. package/dist-types/ts3.4/FMSClient.d.ts +6 -2
  49. package/dist-types/ts3.4/commands/AssociateThirdPartyFirewallCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DisassociateThirdPartyFirewallCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetThirdPartyFirewallAssociationStatusCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/ListThirdPartyFirewallFirewallPoliciesCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +183 -1
  55. package/dist-types/ts3.4/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.d.ts +4 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  57. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  58. package/package.json +18 -18
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.60.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.59.0...v3.60.0) (2022-03-30)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-fms:** AWS Firewall Manager now supports the configuration of third-party policies that can use either the centralized or distributed deployment models. ([7dbbfd5](https://github.com/aws/aws-sdk-js-v3/commit/7dbbfd55467d3cc3bd1aec28d27b6e050de37e58))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-fms
20
+
21
+
22
+
23
+
24
+
25
+ # [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-fms
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-fms
package/README.md CHANGED
@@ -8,12 +8,12 @@
8
8
  AWS SDK for JavaScript FMS Client for Node.js, Browser and React Native.
9
9
 
10
10
  <p>This is the <i>Firewall Manager API Reference</i>. This guide is for
11
- developers who need detailed information about the Firewall Manager API actions, data types, and
12
- errors. For detailed information about Firewall Manager features, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html">Firewall Manager
13
- Developer Guide</a>.</p>
14
- <p>Some API actions require explicit resource permissions. For information, see the
15
- developer guide topic <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html">Firewall Manager required permissions
16
- for API actions</a>. </p>
11
+ developers who need detailed information about the Firewall Manager API actions, data
12
+ types, and errors. For detailed information about Firewall Manager features, see the
13
+ <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html">Firewall Manager Developer Guide</a>.</p>
14
+ <p>Some API actions require explicit resource permissions. For information, see the developer guide topic
15
+ <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html">Firewall Manager required permissions for API actions</a>.
16
+ </p>
17
17
 
18
18
  ## Installing
19
19
 
package/dist-cjs/FMS.js CHANGED
@@ -2,11 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FMS = void 0;
4
4
  const AssociateAdminAccountCommand_1 = require("./commands/AssociateAdminAccountCommand");
5
+ const AssociateThirdPartyFirewallCommand_1 = require("./commands/AssociateThirdPartyFirewallCommand");
5
6
  const DeleteAppsListCommand_1 = require("./commands/DeleteAppsListCommand");
6
7
  const DeleteNotificationChannelCommand_1 = require("./commands/DeleteNotificationChannelCommand");
7
8
  const DeletePolicyCommand_1 = require("./commands/DeletePolicyCommand");
8
9
  const DeleteProtocolsListCommand_1 = require("./commands/DeleteProtocolsListCommand");
9
10
  const DisassociateAdminAccountCommand_1 = require("./commands/DisassociateAdminAccountCommand");
11
+ const DisassociateThirdPartyFirewallCommand_1 = require("./commands/DisassociateThirdPartyFirewallCommand");
10
12
  const GetAdminAccountCommand_1 = require("./commands/GetAdminAccountCommand");
11
13
  const GetAppsListCommand_1 = require("./commands/GetAppsListCommand");
12
14
  const GetComplianceDetailCommand_1 = require("./commands/GetComplianceDetailCommand");
@@ -14,6 +16,7 @@ const GetNotificationChannelCommand_1 = require("./commands/GetNotificationChann
14
16
  const GetPolicyCommand_1 = require("./commands/GetPolicyCommand");
15
17
  const GetProtectionStatusCommand_1 = require("./commands/GetProtectionStatusCommand");
16
18
  const GetProtocolsListCommand_1 = require("./commands/GetProtocolsListCommand");
19
+ const GetThirdPartyFirewallAssociationStatusCommand_1 = require("./commands/GetThirdPartyFirewallAssociationStatusCommand");
17
20
  const GetViolationDetailsCommand_1 = require("./commands/GetViolationDetailsCommand");
18
21
  const ListAppsListsCommand_1 = require("./commands/ListAppsListsCommand");
19
22
  const ListComplianceStatusCommand_1 = require("./commands/ListComplianceStatusCommand");
@@ -21,6 +24,7 @@ const ListMemberAccountsCommand_1 = require("./commands/ListMemberAccountsComman
21
24
  const ListPoliciesCommand_1 = require("./commands/ListPoliciesCommand");
22
25
  const ListProtocolsListsCommand_1 = require("./commands/ListProtocolsListsCommand");
23
26
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
27
+ const ListThirdPartyFirewallFirewallPoliciesCommand_1 = require("./commands/ListThirdPartyFirewallFirewallPoliciesCommand");
24
28
  const PutAppsListCommand_1 = require("./commands/PutAppsListCommand");
25
29
  const PutNotificationChannelCommand_1 = require("./commands/PutNotificationChannelCommand");
26
30
  const PutPolicyCommand_1 = require("./commands/PutPolicyCommand");
@@ -43,6 +47,20 @@ class FMS extends FMSClient_1.FMSClient {
43
47
  return this.send(command, optionsOrCb);
44
48
  }
45
49
  }
50
+ associateThirdPartyFirewall(args, optionsOrCb, cb) {
51
+ const command = new AssociateThirdPartyFirewallCommand_1.AssociateThirdPartyFirewallCommand(args);
52
+ if (typeof optionsOrCb === "function") {
53
+ this.send(command, optionsOrCb);
54
+ }
55
+ else if (typeof cb === "function") {
56
+ if (typeof optionsOrCb !== "object")
57
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
58
+ this.send(command, optionsOrCb || {}, cb);
59
+ }
60
+ else {
61
+ return this.send(command, optionsOrCb);
62
+ }
63
+ }
46
64
  deleteAppsList(args, optionsOrCb, cb) {
47
65
  const command = new DeleteAppsListCommand_1.DeleteAppsListCommand(args);
48
66
  if (typeof optionsOrCb === "function") {
@@ -113,6 +131,20 @@ class FMS extends FMSClient_1.FMSClient {
113
131
  return this.send(command, optionsOrCb);
114
132
  }
115
133
  }
134
+ disassociateThirdPartyFirewall(args, optionsOrCb, cb) {
135
+ const command = new DisassociateThirdPartyFirewallCommand_1.DisassociateThirdPartyFirewallCommand(args);
136
+ if (typeof optionsOrCb === "function") {
137
+ this.send(command, optionsOrCb);
138
+ }
139
+ else if (typeof cb === "function") {
140
+ if (typeof optionsOrCb !== "object")
141
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
142
+ this.send(command, optionsOrCb || {}, cb);
143
+ }
144
+ else {
145
+ return this.send(command, optionsOrCb);
146
+ }
147
+ }
116
148
  getAdminAccount(args, optionsOrCb, cb) {
117
149
  const command = new GetAdminAccountCommand_1.GetAdminAccountCommand(args);
118
150
  if (typeof optionsOrCb === "function") {
@@ -211,6 +243,20 @@ class FMS extends FMSClient_1.FMSClient {
211
243
  return this.send(command, optionsOrCb);
212
244
  }
213
245
  }
246
+ getThirdPartyFirewallAssociationStatus(args, optionsOrCb, cb) {
247
+ const command = new GetThirdPartyFirewallAssociationStatusCommand_1.GetThirdPartyFirewallAssociationStatusCommand(args);
248
+ if (typeof optionsOrCb === "function") {
249
+ this.send(command, optionsOrCb);
250
+ }
251
+ else if (typeof cb === "function") {
252
+ if (typeof optionsOrCb !== "object")
253
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
254
+ this.send(command, optionsOrCb || {}, cb);
255
+ }
256
+ else {
257
+ return this.send(command, optionsOrCb);
258
+ }
259
+ }
214
260
  getViolationDetails(args, optionsOrCb, cb) {
215
261
  const command = new GetViolationDetailsCommand_1.GetViolationDetailsCommand(args);
216
262
  if (typeof optionsOrCb === "function") {
@@ -309,6 +355,20 @@ class FMS extends FMSClient_1.FMSClient {
309
355
  return this.send(command, optionsOrCb);
310
356
  }
311
357
  }
358
+ listThirdPartyFirewallFirewallPolicies(args, optionsOrCb, cb) {
359
+ const command = new ListThirdPartyFirewallFirewallPoliciesCommand_1.ListThirdPartyFirewallFirewallPoliciesCommand(args);
360
+ if (typeof optionsOrCb === "function") {
361
+ this.send(command, optionsOrCb);
362
+ }
363
+ else if (typeof cb === "function") {
364
+ if (typeof optionsOrCb !== "object")
365
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
366
+ this.send(command, optionsOrCb || {}, cb);
367
+ }
368
+ else {
369
+ return this.send(command, optionsOrCb);
370
+ }
371
+ }
312
372
  putAppsList(args, optionsOrCb, cb) {
313
373
  const command = new PutAppsListCommand_1.PutAppsListCommand(args);
314
374
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssociateThirdPartyFirewallCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class AssociateThirdPartyFirewallCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FMSClient";
18
+ const commandName = "AssociateThirdPartyFirewallCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.AssociateThirdPartyFirewallRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.AssociateThirdPartyFirewallResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1AssociateThirdPartyFirewallCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1AssociateThirdPartyFirewallCommand)(output, context);
34
+ }
35
+ }
36
+ exports.AssociateThirdPartyFirewallCommand = AssociateThirdPartyFirewallCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DisassociateThirdPartyFirewallCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DisassociateThirdPartyFirewallCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FMSClient";
18
+ const commandName = "DisassociateThirdPartyFirewallCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DisassociateThirdPartyFirewallRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DisassociateThirdPartyFirewallResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DisassociateThirdPartyFirewallCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociateThirdPartyFirewallCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DisassociateThirdPartyFirewallCommand = DisassociateThirdPartyFirewallCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetThirdPartyFirewallAssociationStatusCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetThirdPartyFirewallAssociationStatusCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FMSClient";
18
+ const commandName = "GetThirdPartyFirewallAssociationStatusCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetThirdPartyFirewallAssociationStatusRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetThirdPartyFirewallAssociationStatusResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetThirdPartyFirewallAssociationStatusCommand = GetThirdPartyFirewallAssociationStatusCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListThirdPartyFirewallFirewallPoliciesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListThirdPartyFirewallFirewallPoliciesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FMSClient";
18
+ const commandName = "ListThirdPartyFirewallFirewallPoliciesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListThirdPartyFirewallFirewallPoliciesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListThirdPartyFirewallFirewallPoliciesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListThirdPartyFirewallFirewallPoliciesCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListThirdPartyFirewallFirewallPoliciesCommand = ListThirdPartyFirewallFirewallPoliciesCommand;
@@ -2,11 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AssociateAdminAccountCommand"), exports);
5
+ tslib_1.__exportStar(require("./AssociateThirdPartyFirewallCommand"), exports);
5
6
  tslib_1.__exportStar(require("./DeleteAppsListCommand"), exports);
6
7
  tslib_1.__exportStar(require("./DeleteNotificationChannelCommand"), exports);
7
8
  tslib_1.__exportStar(require("./DeletePolicyCommand"), exports);
8
9
  tslib_1.__exportStar(require("./DeleteProtocolsListCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DisassociateAdminAccountCommand"), exports);
11
+ tslib_1.__exportStar(require("./DisassociateThirdPartyFirewallCommand"), exports);
10
12
  tslib_1.__exportStar(require("./GetAdminAccountCommand"), exports);
11
13
  tslib_1.__exportStar(require("./GetAppsListCommand"), exports);
12
14
  tslib_1.__exportStar(require("./GetComplianceDetailCommand"), exports);
@@ -14,6 +16,7 @@ tslib_1.__exportStar(require("./GetNotificationChannelCommand"), exports);
14
16
  tslib_1.__exportStar(require("./GetPolicyCommand"), exports);
15
17
  tslib_1.__exportStar(require("./GetProtectionStatusCommand"), exports);
16
18
  tslib_1.__exportStar(require("./GetProtocolsListCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetThirdPartyFirewallAssociationStatusCommand"), exports);
17
20
  tslib_1.__exportStar(require("./GetViolationDetailsCommand"), exports);
18
21
  tslib_1.__exportStar(require("./ListAppsListsCommand"), exports);
19
22
  tslib_1.__exportStar(require("./ListComplianceStatusCommand"), exports);
@@ -21,6 +24,7 @@ tslib_1.__exportStar(require("./ListMemberAccountsCommand"), exports);
21
24
  tslib_1.__exportStar(require("./ListPoliciesCommand"), exports);
22
25
  tslib_1.__exportStar(require("./ListProtocolsListsCommand"), exports);
23
26
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
27
+ tslib_1.__exportStar(require("./ListThirdPartyFirewallFirewallPoliciesCommand"), exports);
24
28
  tslib_1.__exportStar(require("./PutAppsListCommand"), exports);
25
29
  tslib_1.__exportStar(require("./PutNotificationChannelCommand"), exports);
26
30
  tslib_1.__exportStar(require("./PutPolicyCommand"), exports);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RemediationActionType = exports.PartialMatch = exports.Tag = exports.GetViolationDetailsRequest = exports.GetProtocolsListResponse = exports.ProtocolsListData = exports.GetProtocolsListRequest = exports.GetProtectionStatusResponse = exports.GetProtectionStatusRequest = exports.InvalidTypeException = exports.GetPolicyResponse = exports.Policy = exports.SecurityServicePolicyData = exports.SecurityServiceType = exports.PolicyOption = exports.NetworkFirewallPolicy = exports.FirewallDeploymentModel = exports.ResourceTag = exports.CustomerPolicyScopeIdType = exports.GetPolicyRequest = exports.GetNotificationChannelResponse = exports.GetNotificationChannelRequest = exports.GetComplianceDetailResponse = exports.PolicyComplianceDetail = exports.ComplianceViolator = exports.ViolationReason = exports.DependentServiceName = exports.GetComplianceDetailRequest = exports.GetAppsListResponse = exports.GetAppsListRequest = exports.GetAdminAccountResponse = exports.GetAdminAccountRequest = exports.DisassociateAdminAccountRequest = exports.DeleteProtocolsListRequest = exports.DeletePolicyRequest = exports.DeleteNotificationChannelRequest = exports.DeleteAppsListRequest = exports.AwsEc2InstanceViolation = exports.AwsEc2NetworkInterfaceViolation = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidOperationException = exports.InvalidInputException = exports.InternalErrorException = exports.AssociateAdminAccountRequest = exports.AppsListDataSummary = exports.AppsListData = exports.App = exports.ActionTarget = exports.AccountRoleStatus = void 0;
4
- exports.ListPoliciesRequest = exports.ListMemberAccountsResponse = exports.ListMemberAccountsRequest = exports.ListComplianceStatusResponse = exports.PolicyComplianceStatus = exports.EvaluationResult = exports.PolicyComplianceStatusType = exports.ListComplianceStatusRequest = exports.ListAppsListsResponse = exports.ListAppsListsRequest = exports.GetViolationDetailsResponse = exports.ViolationDetail = exports.ResourceViolation = exports.RouteHasOutOfScopeEndpointViolation = exports.PossibleRemediationActions = exports.PossibleRemediationAction = exports.RemediationActionWithOrder = exports.RemediationAction = exports.FMSPolicyUpdateFirewallCreationConfigAction = exports.EC2ReplaceRouteTableAssociationAction = exports.EC2ReplaceRouteAction = exports.EC2DeleteRouteAction = exports.EC2CreateRouteTableAction = exports.EC2CreateRouteAction = exports.EC2CopyRouteTableAction = exports.EC2AssociateRouteTableAction = exports.NetworkFirewallUnexpectedGatewayRoutesViolation = exports.NetworkFirewallUnexpectedFirewallRoutesViolation = exports.NetworkFirewallPolicyModifiedViolation = exports.NetworkFirewallPolicyDescription = exports.StatelessRuleGroup = exports.StatefulRuleGroup = exports.NetworkFirewallMissingSubnetViolation = exports.NetworkFirewallMissingFirewallViolation = exports.NetworkFirewallMissingExpectedRTViolation = exports.NetworkFirewallMissingExpectedRoutesViolation = exports.NetworkFirewallInvalidRouteConfigurationViolation = exports.NetworkFirewallInternetTrafficNotInspectedViolation = exports.ExpectedRoute = exports.NetworkFirewallBlackHoleRouteDetectedViolation = exports.Route = exports.TargetType = exports.DestinationType = exports.FirewallSubnetIsOutOfScopeViolation = exports.DnsRuleGroupPriorityConflictViolation = exports.DnsRuleGroupLimitExceededViolation = exports.DnsDuplicateRuleGroupViolation = exports.AwsVPCSecurityGroupViolation = exports.SecurityGroupRemediationAction = exports.SecurityGroupRuleDescription = void 0;
5
- exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutProtocolsListResponse = exports.PutProtocolsListRequest = exports.PutPolicyResponse = exports.PutPolicyRequest = exports.PutNotificationChannelRequest = exports.PutAppsListResponse = exports.PutAppsListRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListProtocolsListsResponse = exports.ProtocolsListDataSummary = exports.ListProtocolsListsRequest = exports.ListPoliciesResponse = exports.PolicySummary = void 0;
3
+ exports.GetProtectionStatusResponse = exports.GetProtectionStatusRequest = exports.InvalidTypeException = exports.GetPolicyResponse = exports.Policy = exports.SecurityServicePolicyData = exports.SecurityServiceType = exports.PolicyOption = exports.ThirdPartyFirewallPolicy = exports.NetworkFirewallPolicy = exports.FirewallDeploymentModel = exports.ResourceTag = exports.CustomerPolicyScopeIdType = exports.GetPolicyRequest = exports.GetNotificationChannelResponse = exports.GetNotificationChannelRequest = exports.GetComplianceDetailResponse = exports.PolicyComplianceDetail = exports.ComplianceViolator = exports.ViolationReason = exports.DependentServiceName = exports.GetComplianceDetailRequest = exports.GetAppsListResponse = exports.GetAppsListRequest = exports.GetAdminAccountResponse = exports.GetAdminAccountRequest = exports.DisassociateThirdPartyFirewallResponse = exports.DisassociateThirdPartyFirewallRequest = exports.DisassociateAdminAccountRequest = exports.DeleteProtocolsListRequest = exports.DeletePolicyRequest = exports.DeleteNotificationChannelRequest = exports.DeleteAppsListRequest = exports.AwsEc2InstanceViolation = exports.AwsEc2NetworkInterfaceViolation = exports.AssociateThirdPartyFirewallResponse = exports.ThirdPartyFirewallAssociationStatus = exports.AssociateThirdPartyFirewallRequest = exports.ThirdPartyFirewall = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidOperationException = exports.InvalidInputException = exports.InternalErrorException = exports.AssociateAdminAccountRequest = exports.AppsListDataSummary = exports.AppsListData = exports.App = exports.ActionTarget = exports.AccountRoleStatus = void 0;
4
+ exports.ThirdPartyFirewallMissingFirewallViolation = exports.ThirdPartyFirewallMissingExpectedRouteTableViolation = exports.RouteHasOutOfScopeEndpointViolation = exports.PossibleRemediationActions = exports.PossibleRemediationAction = exports.RemediationActionWithOrder = exports.RemediationAction = exports.FMSPolicyUpdateFirewallCreationConfigAction = exports.EC2ReplaceRouteTableAssociationAction = exports.EC2ReplaceRouteAction = exports.EC2DeleteRouteAction = exports.EC2CreateRouteTableAction = exports.EC2CreateRouteAction = exports.EC2CopyRouteTableAction = exports.EC2AssociateRouteTableAction = exports.NetworkFirewallUnexpectedGatewayRoutesViolation = exports.NetworkFirewallUnexpectedFirewallRoutesViolation = exports.NetworkFirewallPolicyModifiedViolation = exports.NetworkFirewallPolicyDescription = exports.StatelessRuleGroup = exports.StatefulRuleGroup = exports.NetworkFirewallMissingSubnetViolation = exports.NetworkFirewallMissingFirewallViolation = exports.NetworkFirewallMissingExpectedRTViolation = exports.NetworkFirewallMissingExpectedRoutesViolation = exports.NetworkFirewallInvalidRouteConfigurationViolation = exports.NetworkFirewallInternetTrafficNotInspectedViolation = exports.ExpectedRoute = exports.NetworkFirewallBlackHoleRouteDetectedViolation = exports.Route = exports.TargetType = exports.DestinationType = exports.FirewallSubnetMissingVPCEndpointViolation = exports.FirewallSubnetIsOutOfScopeViolation = exports.DnsRuleGroupPriorityConflictViolation = exports.DnsRuleGroupLimitExceededViolation = exports.DnsDuplicateRuleGroupViolation = exports.AwsVPCSecurityGroupViolation = exports.SecurityGroupRemediationAction = exports.SecurityGroupRuleDescription = exports.RemediationActionType = exports.PartialMatch = exports.Tag = exports.GetViolationDetailsRequest = exports.GetThirdPartyFirewallAssociationStatusResponse = exports.MarketplaceSubscriptionOnboardingStatus = exports.GetThirdPartyFirewallAssociationStatusRequest = exports.GetProtocolsListResponse = exports.ProtocolsListData = exports.GetProtocolsListRequest = void 0;
5
+ exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutProtocolsListResponse = exports.PutProtocolsListRequest = exports.PutPolicyResponse = exports.PutPolicyRequest = exports.PutNotificationChannelRequest = exports.PutAppsListResponse = exports.PutAppsListRequest = exports.ListThirdPartyFirewallFirewallPoliciesResponse = exports.ThirdPartyFirewallFirewallPolicy = exports.ListThirdPartyFirewallFirewallPoliciesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListProtocolsListsResponse = exports.ProtocolsListDataSummary = exports.ListProtocolsListsRequest = exports.ListPoliciesResponse = exports.PolicySummary = exports.ListPoliciesRequest = exports.ListMemberAccountsResponse = exports.ListMemberAccountsRequest = exports.ListComplianceStatusResponse = exports.PolicyComplianceStatus = exports.EvaluationResult = exports.PolicyComplianceStatusType = exports.ListComplianceStatusRequest = exports.ListAppsListsResponse = exports.ListAppsListsRequest = exports.GetViolationDetailsResponse = exports.ViolationDetail = exports.ResourceViolation = exports.ThirdPartyFirewallMissingSubnetViolation = void 0;
6
6
  const FMSServiceException_1 = require("./FMSServiceException");
7
7
  var AccountRoleStatus;
8
8
  (function (AccountRoleStatus) {
@@ -112,6 +112,30 @@ class ResourceNotFoundException extends FMSServiceException_1.FMSServiceExceptio
112
112
  }
113
113
  }
114
114
  exports.ResourceNotFoundException = ResourceNotFoundException;
115
+ var ThirdPartyFirewall;
116
+ (function (ThirdPartyFirewall) {
117
+ ThirdPartyFirewall["PALO_ALTO_NETWORKS_CLOUD_NGFW"] = "PALO_ALTO_NETWORKS_CLOUD_NGFW";
118
+ })(ThirdPartyFirewall = exports.ThirdPartyFirewall || (exports.ThirdPartyFirewall = {}));
119
+ var AssociateThirdPartyFirewallRequest;
120
+ (function (AssociateThirdPartyFirewallRequest) {
121
+ AssociateThirdPartyFirewallRequest.filterSensitiveLog = (obj) => ({
122
+ ...obj,
123
+ });
124
+ })(AssociateThirdPartyFirewallRequest = exports.AssociateThirdPartyFirewallRequest || (exports.AssociateThirdPartyFirewallRequest = {}));
125
+ var ThirdPartyFirewallAssociationStatus;
126
+ (function (ThirdPartyFirewallAssociationStatus) {
127
+ ThirdPartyFirewallAssociationStatus["NOT_EXIST"] = "NOT_EXIST";
128
+ ThirdPartyFirewallAssociationStatus["OFFBOARDING"] = "OFFBOARDING";
129
+ ThirdPartyFirewallAssociationStatus["OFFBOARD_COMPLETE"] = "OFFBOARD_COMPLETE";
130
+ ThirdPartyFirewallAssociationStatus["ONBOARDING"] = "ONBOARDING";
131
+ ThirdPartyFirewallAssociationStatus["ONBOARD_COMPLETE"] = "ONBOARD_COMPLETE";
132
+ })(ThirdPartyFirewallAssociationStatus = exports.ThirdPartyFirewallAssociationStatus || (exports.ThirdPartyFirewallAssociationStatus = {}));
133
+ var AssociateThirdPartyFirewallResponse;
134
+ (function (AssociateThirdPartyFirewallResponse) {
135
+ AssociateThirdPartyFirewallResponse.filterSensitiveLog = (obj) => ({
136
+ ...obj,
137
+ });
138
+ })(AssociateThirdPartyFirewallResponse = exports.AssociateThirdPartyFirewallResponse || (exports.AssociateThirdPartyFirewallResponse = {}));
115
139
  var AwsEc2NetworkInterfaceViolation;
116
140
  (function (AwsEc2NetworkInterfaceViolation) {
117
141
  AwsEc2NetworkInterfaceViolation.filterSensitiveLog = (obj) => ({
@@ -154,6 +178,18 @@ var DisassociateAdminAccountRequest;
154
178
  ...obj,
155
179
  });
156
180
  })(DisassociateAdminAccountRequest = exports.DisassociateAdminAccountRequest || (exports.DisassociateAdminAccountRequest = {}));
181
+ var DisassociateThirdPartyFirewallRequest;
182
+ (function (DisassociateThirdPartyFirewallRequest) {
183
+ DisassociateThirdPartyFirewallRequest.filterSensitiveLog = (obj) => ({
184
+ ...obj,
185
+ });
186
+ })(DisassociateThirdPartyFirewallRequest = exports.DisassociateThirdPartyFirewallRequest || (exports.DisassociateThirdPartyFirewallRequest = {}));
187
+ var DisassociateThirdPartyFirewallResponse;
188
+ (function (DisassociateThirdPartyFirewallResponse) {
189
+ DisassociateThirdPartyFirewallResponse.filterSensitiveLog = (obj) => ({
190
+ ...obj,
191
+ });
192
+ })(DisassociateThirdPartyFirewallResponse = exports.DisassociateThirdPartyFirewallResponse || (exports.DisassociateThirdPartyFirewallResponse = {}));
157
193
  var GetAdminAccountRequest;
158
194
  (function (GetAdminAccountRequest) {
159
195
  GetAdminAccountRequest.filterSensitiveLog = (obj) => ({
@@ -198,6 +234,7 @@ var ViolationReason;
198
234
  ViolationReason["FMSCreatedSecurityGroupEdited"] = "FMS_CREATED_SECURITY_GROUP_EDITED";
199
235
  ViolationReason["FirewallSubnetIsOutOfScope"] = "FIREWALL_SUBNET_IS_OUT_OF_SCOPE";
200
236
  ViolationReason["FirewallSubnetMissingExpectedRoute"] = "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE";
237
+ ViolationReason["FirewallSubnetMissingVPCEndpoint"] = "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT";
201
238
  ViolationReason["InternetGatewayMissingExpectedRoute"] = "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE";
202
239
  ViolationReason["InternetTrafficNotInspected"] = "INTERNET_TRAFFIC_NOT_INSPECTED";
203
240
  ViolationReason["InvalidRouteConfiguration"] = "INVALID_ROUTE_CONFIGURATION";
@@ -271,6 +308,7 @@ var ResourceTag;
271
308
  var FirewallDeploymentModel;
272
309
  (function (FirewallDeploymentModel) {
273
310
  FirewallDeploymentModel["CENTRALIZED"] = "CENTRALIZED";
311
+ FirewallDeploymentModel["DISTRIBUTED"] = "DISTRIBUTED";
274
312
  })(FirewallDeploymentModel = exports.FirewallDeploymentModel || (exports.FirewallDeploymentModel = {}));
275
313
  var NetworkFirewallPolicy;
276
314
  (function (NetworkFirewallPolicy) {
@@ -278,6 +316,12 @@ var NetworkFirewallPolicy;
278
316
  ...obj,
279
317
  });
280
318
  })(NetworkFirewallPolicy = exports.NetworkFirewallPolicy || (exports.NetworkFirewallPolicy = {}));
319
+ var ThirdPartyFirewallPolicy;
320
+ (function (ThirdPartyFirewallPolicy) {
321
+ ThirdPartyFirewallPolicy.filterSensitiveLog = (obj) => ({
322
+ ...obj,
323
+ });
324
+ })(ThirdPartyFirewallPolicy = exports.ThirdPartyFirewallPolicy || (exports.ThirdPartyFirewallPolicy = {}));
281
325
  var PolicyOption;
282
326
  (function (PolicyOption) {
283
327
  PolicyOption.filterSensitiveLog = (obj) => ({
@@ -292,6 +336,7 @@ var SecurityServiceType;
292
336
  SecurityServiceType["SECURITY_GROUPS_CONTENT_AUDIT"] = "SECURITY_GROUPS_CONTENT_AUDIT";
293
337
  SecurityServiceType["SECURITY_GROUPS_USAGE_AUDIT"] = "SECURITY_GROUPS_USAGE_AUDIT";
294
338
  SecurityServiceType["SHIELD_ADVANCED"] = "SHIELD_ADVANCED";
339
+ SecurityServiceType["THIRD_PARTY_FIREWALL"] = "THIRD_PARTY_FIREWALL";
295
340
  SecurityServiceType["WAF"] = "WAF";
296
341
  SecurityServiceType["WAFV2"] = "WAFV2";
297
342
  })(SecurityServiceType = exports.SecurityServiceType || (exports.SecurityServiceType = {}));
@@ -357,6 +402,24 @@ var GetProtocolsListResponse;
357
402
  ...obj,
358
403
  });
359
404
  })(GetProtocolsListResponse = exports.GetProtocolsListResponse || (exports.GetProtocolsListResponse = {}));
405
+ var GetThirdPartyFirewallAssociationStatusRequest;
406
+ (function (GetThirdPartyFirewallAssociationStatusRequest) {
407
+ GetThirdPartyFirewallAssociationStatusRequest.filterSensitiveLog = (obj) => ({
408
+ ...obj,
409
+ });
410
+ })(GetThirdPartyFirewallAssociationStatusRequest = exports.GetThirdPartyFirewallAssociationStatusRequest || (exports.GetThirdPartyFirewallAssociationStatusRequest = {}));
411
+ var MarketplaceSubscriptionOnboardingStatus;
412
+ (function (MarketplaceSubscriptionOnboardingStatus) {
413
+ MarketplaceSubscriptionOnboardingStatus["COMPLETE"] = "COMPLETE";
414
+ MarketplaceSubscriptionOnboardingStatus["NOT_COMPLETE"] = "NOT_COMPLETE";
415
+ MarketplaceSubscriptionOnboardingStatus["NO_SUBSCRIPTION"] = "NO_SUBSCRIPTION";
416
+ })(MarketplaceSubscriptionOnboardingStatus = exports.MarketplaceSubscriptionOnboardingStatus || (exports.MarketplaceSubscriptionOnboardingStatus = {}));
417
+ var GetThirdPartyFirewallAssociationStatusResponse;
418
+ (function (GetThirdPartyFirewallAssociationStatusResponse) {
419
+ GetThirdPartyFirewallAssociationStatusResponse.filterSensitiveLog = (obj) => ({
420
+ ...obj,
421
+ });
422
+ })(GetThirdPartyFirewallAssociationStatusResponse = exports.GetThirdPartyFirewallAssociationStatusResponse || (exports.GetThirdPartyFirewallAssociationStatusResponse = {}));
360
423
  var GetViolationDetailsRequest;
361
424
  (function (GetViolationDetailsRequest) {
362
425
  GetViolationDetailsRequest.filterSensitiveLog = (obj) => ({
@@ -422,6 +485,12 @@ var FirewallSubnetIsOutOfScopeViolation;
422
485
  ...obj,
423
486
  });
424
487
  })(FirewallSubnetIsOutOfScopeViolation = exports.FirewallSubnetIsOutOfScopeViolation || (exports.FirewallSubnetIsOutOfScopeViolation = {}));
488
+ var FirewallSubnetMissingVPCEndpointViolation;
489
+ (function (FirewallSubnetMissingVPCEndpointViolation) {
490
+ FirewallSubnetMissingVPCEndpointViolation.filterSensitiveLog = (obj) => ({
491
+ ...obj,
492
+ });
493
+ })(FirewallSubnetMissingVPCEndpointViolation = exports.FirewallSubnetMissingVPCEndpointViolation || (exports.FirewallSubnetMissingVPCEndpointViolation = {}));
425
494
  var DestinationType;
426
495
  (function (DestinationType) {
427
496
  DestinationType["IPV4"] = "IPV4";
@@ -609,6 +678,24 @@ var RouteHasOutOfScopeEndpointViolation;
609
678
  ...obj,
610
679
  });
611
680
  })(RouteHasOutOfScopeEndpointViolation = exports.RouteHasOutOfScopeEndpointViolation || (exports.RouteHasOutOfScopeEndpointViolation = {}));
681
+ var ThirdPartyFirewallMissingExpectedRouteTableViolation;
682
+ (function (ThirdPartyFirewallMissingExpectedRouteTableViolation) {
683
+ ThirdPartyFirewallMissingExpectedRouteTableViolation.filterSensitiveLog = (obj) => ({
684
+ ...obj,
685
+ });
686
+ })(ThirdPartyFirewallMissingExpectedRouteTableViolation = exports.ThirdPartyFirewallMissingExpectedRouteTableViolation || (exports.ThirdPartyFirewallMissingExpectedRouteTableViolation = {}));
687
+ var ThirdPartyFirewallMissingFirewallViolation;
688
+ (function (ThirdPartyFirewallMissingFirewallViolation) {
689
+ ThirdPartyFirewallMissingFirewallViolation.filterSensitiveLog = (obj) => ({
690
+ ...obj,
691
+ });
692
+ })(ThirdPartyFirewallMissingFirewallViolation = exports.ThirdPartyFirewallMissingFirewallViolation || (exports.ThirdPartyFirewallMissingFirewallViolation = {}));
693
+ var ThirdPartyFirewallMissingSubnetViolation;
694
+ (function (ThirdPartyFirewallMissingSubnetViolation) {
695
+ ThirdPartyFirewallMissingSubnetViolation.filterSensitiveLog = (obj) => ({
696
+ ...obj,
697
+ });
698
+ })(ThirdPartyFirewallMissingSubnetViolation = exports.ThirdPartyFirewallMissingSubnetViolation || (exports.ThirdPartyFirewallMissingSubnetViolation = {}));
612
699
  var ResourceViolation;
613
700
  (function (ResourceViolation) {
614
701
  ResourceViolation.filterSensitiveLog = (obj) => ({
@@ -728,6 +815,24 @@ var ListTagsForResourceResponse;
728
815
  ...obj,
729
816
  });
730
817
  })(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
818
+ var ListThirdPartyFirewallFirewallPoliciesRequest;
819
+ (function (ListThirdPartyFirewallFirewallPoliciesRequest) {
820
+ ListThirdPartyFirewallFirewallPoliciesRequest.filterSensitiveLog = (obj) => ({
821
+ ...obj,
822
+ });
823
+ })(ListThirdPartyFirewallFirewallPoliciesRequest = exports.ListThirdPartyFirewallFirewallPoliciesRequest || (exports.ListThirdPartyFirewallFirewallPoliciesRequest = {}));
824
+ var ThirdPartyFirewallFirewallPolicy;
825
+ (function (ThirdPartyFirewallFirewallPolicy) {
826
+ ThirdPartyFirewallFirewallPolicy.filterSensitiveLog = (obj) => ({
827
+ ...obj,
828
+ });
829
+ })(ThirdPartyFirewallFirewallPolicy = exports.ThirdPartyFirewallFirewallPolicy || (exports.ThirdPartyFirewallFirewallPolicy = {}));
830
+ var ListThirdPartyFirewallFirewallPoliciesResponse;
831
+ (function (ListThirdPartyFirewallFirewallPoliciesResponse) {
832
+ ListThirdPartyFirewallFirewallPoliciesResponse.filterSensitiveLog = (obj) => ({
833
+ ...obj,
834
+ });
835
+ })(ListThirdPartyFirewallFirewallPoliciesResponse = exports.ListThirdPartyFirewallFirewallPoliciesResponse || (exports.ListThirdPartyFirewallFirewallPoliciesResponse = {}));
731
836
  var PutAppsListRequest;
732
837
  (function (PutAppsListRequest) {
733
838
  PutAppsListRequest.filterSensitiveLog = (obj) => ({
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListThirdPartyFirewallFirewallPolicies = void 0;
4
+ const ListThirdPartyFirewallFirewallPoliciesCommand_1 = require("../commands/ListThirdPartyFirewallFirewallPoliciesCommand");
5
+ const FMS_1 = require("../FMS");
6
+ const FMSClient_1 = require("../FMSClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListThirdPartyFirewallFirewallPoliciesCommand_1.ListThirdPartyFirewallFirewallPoliciesCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listThirdPartyFirewallFirewallPolicies(input, ...args);
12
+ };
13
+ async function* paginateListThirdPartyFirewallFirewallPolicies(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ input["MaxResults"] = config.pageSize;
20
+ if (config.client instanceof FMS_1.FMS) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof FMSClient_1.FMSClient) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected FMS | FMSClient");
28
+ }
29
+ yield page;
30
+ token = page.NextToken;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateListThirdPartyFirewallFirewallPolicies = paginateListThirdPartyFirewallFirewallPolicies;
@@ -7,3 +7,4 @@ tslib_1.__exportStar(require("./ListComplianceStatusPaginator"), exports);
7
7
  tslib_1.__exportStar(require("./ListMemberAccountsPaginator"), exports);
8
8
  tslib_1.__exportStar(require("./ListPoliciesPaginator"), exports);
9
9
  tslib_1.__exportStar(require("./ListProtocolsListsPaginator"), exports);
10
+ tslib_1.__exportStar(require("./ListThirdPartyFirewallFirewallPoliciesPaginator"), exports);