@aws-sdk/client-fms 3.185.0 → 3.188.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 (48) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/FMS.js +122 -129
  3. package/dist-es/FMSClient.js +22 -28
  4. package/dist-es/commands/AssociateAdminAccountCommand.js +22 -29
  5. package/dist-es/commands/AssociateThirdPartyFirewallCommand.js +21 -28
  6. package/dist-es/commands/DeleteAppsListCommand.js +22 -29
  7. package/dist-es/commands/DeleteNotificationChannelCommand.js +22 -29
  8. package/dist-es/commands/DeletePolicyCommand.js +22 -29
  9. package/dist-es/commands/DeleteProtocolsListCommand.js +22 -29
  10. package/dist-es/commands/DisassociateAdminAccountCommand.js +22 -29
  11. package/dist-es/commands/DisassociateThirdPartyFirewallCommand.js +21 -28
  12. package/dist-es/commands/GetAdminAccountCommand.js +21 -28
  13. package/dist-es/commands/GetAppsListCommand.js +21 -28
  14. package/dist-es/commands/GetComplianceDetailCommand.js +21 -28
  15. package/dist-es/commands/GetNotificationChannelCommand.js +21 -28
  16. package/dist-es/commands/GetPolicyCommand.js +21 -28
  17. package/dist-es/commands/GetProtectionStatusCommand.js +21 -28
  18. package/dist-es/commands/GetProtocolsListCommand.js +21 -28
  19. package/dist-es/commands/GetThirdPartyFirewallAssociationStatusCommand.js +21 -28
  20. package/dist-es/commands/GetViolationDetailsCommand.js +21 -28
  21. package/dist-es/commands/ListAppsListsCommand.js +21 -28
  22. package/dist-es/commands/ListComplianceStatusCommand.js +21 -28
  23. package/dist-es/commands/ListMemberAccountsCommand.js +21 -28
  24. package/dist-es/commands/ListPoliciesCommand.js +21 -28
  25. package/dist-es/commands/ListProtocolsListsCommand.js +21 -28
  26. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  27. package/dist-es/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +21 -28
  28. package/dist-es/commands/PutAppsListCommand.js +21 -28
  29. package/dist-es/commands/PutNotificationChannelCommand.js +22 -29
  30. package/dist-es/commands/PutPolicyCommand.js +21 -28
  31. package/dist-es/commands/PutProtocolsListCommand.js +21 -28
  32. package/dist-es/commands/TagResourceCommand.js +21 -28
  33. package/dist-es/commands/UntagResourceCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/FMSServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +423 -190
  37. package/dist-es/pagination/ListAppsListsPaginator.js +25 -68
  38. package/dist-es/pagination/ListComplianceStatusPaginator.js +25 -68
  39. package/dist-es/pagination/ListMemberAccountsPaginator.js +25 -68
  40. package/dist-es/pagination/ListPoliciesPaginator.js +25 -68
  41. package/dist-es/pagination/ListProtocolsListsPaginator.js +25 -68
  42. package/dist-es/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +25 -68
  43. package/dist-es/protocols/Aws_json1_1.js +2077 -2665
  44. package/dist-es/runtimeConfig.browser.js +26 -12
  45. package/dist-es/runtimeConfig.js +30 -12
  46. package/dist-es/runtimeConfig.native.js +8 -5
  47. package/dist-es/runtimeConfig.shared.js +8 -11
  48. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateAdminAccountRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AssociateAdminAccountCommand, serializeAws_json1_1AssociateAdminAccountCommand, } from "../protocols/Aws_json1_1";
6
- var AssociateAdminAccountCommand = (function (_super) {
7
- __extends(AssociateAdminAccountCommand, _super);
8
- function AssociateAdminAccountCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateAdminAccountCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateAdminAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "AssociateAdminAccountCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "AssociateAdminAccountCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateAdminAccountRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateAdminAccountCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1AssociateAdminAccountCommand(input, context);
33
- };
34
- AssociateAdminAccountCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AssociateAdminAccountCommand(output, context);
36
- };
37
- return AssociateAdminAccountCommand;
38
- }($Command));
39
- export { AssociateAdminAccountCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateThirdPartyFirewallRequestFilterSensitiveLog, AssociateThirdPartyFirewallResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AssociateThirdPartyFirewallCommand, serializeAws_json1_1AssociateThirdPartyFirewallCommand, } from "../protocols/Aws_json1_1";
6
- var AssociateThirdPartyFirewallCommand = (function (_super) {
7
- __extends(AssociateThirdPartyFirewallCommand, _super);
8
- function AssociateThirdPartyFirewallCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateThirdPartyFirewallCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateThirdPartyFirewallCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "AssociateThirdPartyFirewallCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "AssociateThirdPartyFirewallCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateThirdPartyFirewallRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateThirdPartyFirewallResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateThirdPartyFirewallCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1AssociateThirdPartyFirewallCommand(input, context);
33
- };
34
- AssociateThirdPartyFirewallCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AssociateThirdPartyFirewallCommand(output, context);
36
- };
37
- return AssociateThirdPartyFirewallCommand;
38
- }($Command));
39
- export { AssociateThirdPartyFirewallCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteAppsListRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteAppsListCommand, serializeAws_json1_1DeleteAppsListCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteAppsListCommand = (function (_super) {
7
- __extends(DeleteAppsListCommand, _super);
8
- function DeleteAppsListCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteAppsListCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteAppsListCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "DeleteAppsListCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "DeleteAppsListCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteAppsListRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteAppsListCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteAppsListCommand(input, context);
33
- };
34
- DeleteAppsListCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteAppsListCommand(output, context);
36
- };
37
- return DeleteAppsListCommand;
38
- }($Command));
39
- export { DeleteAppsListCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteNotificationChannelRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteNotificationChannelCommand, serializeAws_json1_1DeleteNotificationChannelCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteNotificationChannelCommand = (function (_super) {
7
- __extends(DeleteNotificationChannelCommand, _super);
8
- function DeleteNotificationChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteNotificationChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteNotificationChannelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "DeleteNotificationChannelCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "DeleteNotificationChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteNotificationChannelRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteNotificationChannelCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteNotificationChannelCommand(input, context);
33
- };
34
- DeleteNotificationChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteNotificationChannelCommand(output, context);
36
- };
37
- return DeleteNotificationChannelCommand;
38
- }($Command));
39
- export { DeleteNotificationChannelCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeletePolicyRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeletePolicyCommand, serializeAws_json1_1DeletePolicyCommand, } from "../protocols/Aws_json1_1";
6
- var DeletePolicyCommand = (function (_super) {
7
- __extends(DeletePolicyCommand, _super);
8
- function DeletePolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeletePolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "DeletePolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "DeletePolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePolicyRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeletePolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeletePolicyCommand(input, context);
33
- };
34
- DeletePolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeletePolicyCommand(output, context);
36
- };
37
- return DeletePolicyCommand;
38
- }($Command));
39
- export { DeletePolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteProtocolsListRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteProtocolsListCommand, serializeAws_json1_1DeleteProtocolsListCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteProtocolsListCommand = (function (_super) {
7
- __extends(DeleteProtocolsListCommand, _super);
8
- function DeleteProtocolsListCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteProtocolsListCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteProtocolsListCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "DeleteProtocolsListCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "DeleteProtocolsListCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteProtocolsListRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteProtocolsListCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteProtocolsListCommand(input, context);
33
- };
34
- DeleteProtocolsListCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteProtocolsListCommand(output, context);
36
- };
37
- return DeleteProtocolsListCommand;
38
- }($Command));
39
- export { DeleteProtocolsListCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisassociateAdminAccountRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisassociateAdminAccountCommand, serializeAws_json1_1DisassociateAdminAccountCommand, } from "../protocols/Aws_json1_1";
6
- var DisassociateAdminAccountCommand = (function (_super) {
7
- __extends(DisassociateAdminAccountCommand, _super);
8
- function DisassociateAdminAccountCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateAdminAccountCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateAdminAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "DisassociateAdminAccountCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "DisassociateAdminAccountCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateAdminAccountRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateAdminAccountCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisassociateAdminAccountCommand(input, context);
33
- };
34
- DisassociateAdminAccountCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisassociateAdminAccountCommand(output, context);
36
- };
37
- return DisassociateAdminAccountCommand;
38
- }($Command));
39
- export { DisassociateAdminAccountCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisassociateThirdPartyFirewallRequestFilterSensitiveLog, DisassociateThirdPartyFirewallResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisassociateThirdPartyFirewallCommand, serializeAws_json1_1DisassociateThirdPartyFirewallCommand, } from "../protocols/Aws_json1_1";
6
- var DisassociateThirdPartyFirewallCommand = (function (_super) {
7
- __extends(DisassociateThirdPartyFirewallCommand, _super);
8
- function DisassociateThirdPartyFirewallCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateThirdPartyFirewallCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateThirdPartyFirewallCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "DisassociateThirdPartyFirewallCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "DisassociateThirdPartyFirewallCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateThirdPartyFirewallRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateThirdPartyFirewallResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateThirdPartyFirewallCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisassociateThirdPartyFirewallCommand(input, context);
33
- };
34
- DisassociateThirdPartyFirewallCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisassociateThirdPartyFirewallCommand(output, context);
36
- };
37
- return DisassociateThirdPartyFirewallCommand;
38
- }($Command));
39
- export { DisassociateThirdPartyFirewallCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetAdminAccountRequestFilterSensitiveLog, GetAdminAccountResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetAdminAccountCommand, serializeAws_json1_1GetAdminAccountCommand, } from "../protocols/Aws_json1_1";
6
- var GetAdminAccountCommand = (function (_super) {
7
- __extends(GetAdminAccountCommand, _super);
8
- function GetAdminAccountCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAdminAccountCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAdminAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "GetAdminAccountCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "GetAdminAccountCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAdminAccountRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAdminAccountResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAdminAccountCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetAdminAccountCommand(input, context);
33
- };
34
- GetAdminAccountCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetAdminAccountCommand(output, context);
36
- };
37
- return GetAdminAccountCommand;
38
- }($Command));
39
- export { GetAdminAccountCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetAppsListRequestFilterSensitiveLog, GetAppsListResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetAppsListCommand, serializeAws_json1_1GetAppsListCommand, } from "../protocols/Aws_json1_1";
6
- var GetAppsListCommand = (function (_super) {
7
- __extends(GetAppsListCommand, _super);
8
- function GetAppsListCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAppsListCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAppsListCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "FMSClient";
18
- var commandName = "GetAppsListCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "FMSClient";
15
+ const commandName = "GetAppsListCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAppsListRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAppsListResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAppsListCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetAppsListCommand(input, context);
33
- };
34
- GetAppsListCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetAppsListCommand(output, context);
36
- };
37
- return GetAppsListCommand;
38
- }($Command));
39
- export { GetAppsListCommand };
31
+ }
32
+ }