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