@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 { GetComplianceDetailRequestFilterSensitiveLog, GetComplianceDetailResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetComplianceDetailCommand, serializeAws_json1_1GetComplianceDetailCommand, } from "../protocols/Aws_json1_1";
6
- var GetComplianceDetailCommand = (function (_super) {
7
- __extends(GetComplianceDetailCommand, _super);
8
- function GetComplianceDetailCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetComplianceDetailCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetComplianceDetailCommand.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 = "GetComplianceDetailCommand";
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 = "GetComplianceDetailCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetComplianceDetailRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetComplianceDetailResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetComplianceDetailCommand.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_1GetComplianceDetailCommand(input, context);
33
- };
34
- GetComplianceDetailCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetComplianceDetailCommand(output, context);
36
- };
37
- return GetComplianceDetailCommand;
38
- }($Command));
39
- export { GetComplianceDetailCommand };
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 { GetNotificationChannelRequestFilterSensitiveLog, GetNotificationChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetNotificationChannelCommand, serializeAws_json1_1GetNotificationChannelCommand, } from "../protocols/Aws_json1_1";
6
- var GetNotificationChannelCommand = (function (_super) {
7
- __extends(GetNotificationChannelCommand, _super);
8
- function GetNotificationChannelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetNotificationChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetNotificationChannelCommand.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 = "GetNotificationChannelCommand";
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 = "GetNotificationChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetNotificationChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetNotificationChannelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetNotificationChannelCommand.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_1GetNotificationChannelCommand(input, context);
33
- };
34
- GetNotificationChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetNotificationChannelCommand(output, context);
36
- };
37
- return GetNotificationChannelCommand;
38
- }($Command));
39
- export { GetNotificationChannelCommand };
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 { GetPolicyRequestFilterSensitiveLog, GetPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetPolicyCommand, serializeAws_json1_1GetPolicyCommand } from "../protocols/Aws_json1_1";
6
- var GetPolicyCommand = (function (_super) {
7
- __extends(GetPolicyCommand, _super);
8
- function GetPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetPolicyCommand.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 = "GetPolicyCommand";
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 = "GetPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetPolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetPolicyCommand.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_1GetPolicyCommand(input, context);
33
- };
34
- GetPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetPolicyCommand(output, context);
36
- };
37
- return GetPolicyCommand;
38
- }($Command));
39
- export { GetPolicyCommand };
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 { GetProtectionStatusRequestFilterSensitiveLog, GetProtectionStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetProtectionStatusCommand, serializeAws_json1_1GetProtectionStatusCommand, } from "../protocols/Aws_json1_1";
6
- var GetProtectionStatusCommand = (function (_super) {
7
- __extends(GetProtectionStatusCommand, _super);
8
- function GetProtectionStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetProtectionStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetProtectionStatusCommand.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 = "GetProtectionStatusCommand";
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 = "GetProtectionStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetProtectionStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetProtectionStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetProtectionStatusCommand.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_1GetProtectionStatusCommand(input, context);
33
- };
34
- GetProtectionStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetProtectionStatusCommand(output, context);
36
- };
37
- return GetProtectionStatusCommand;
38
- }($Command));
39
- export { GetProtectionStatusCommand };
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 { GetProtocolsListRequestFilterSensitiveLog, GetProtocolsListResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetProtocolsListCommand, serializeAws_json1_1GetProtocolsListCommand, } from "../protocols/Aws_json1_1";
6
- var GetProtocolsListCommand = (function (_super) {
7
- __extends(GetProtocolsListCommand, _super);
8
- function GetProtocolsListCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetProtocolsListCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetProtocolsListCommand.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 = "GetProtocolsListCommand";
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 = "GetProtocolsListCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetProtocolsListRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetProtocolsListResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetProtocolsListCommand.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_1GetProtocolsListCommand(input, context);
33
- };
34
- GetProtocolsListCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetProtocolsListCommand(output, context);
36
- };
37
- return GetProtocolsListCommand;
38
- }($Command));
39
- export { GetProtocolsListCommand };
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 { GetThirdPartyFirewallAssociationStatusRequestFilterSensitiveLog, GetThirdPartyFirewallAssociationStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommand, serializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommand, } from "../protocols/Aws_json1_1";
6
- var GetThirdPartyFirewallAssociationStatusCommand = (function (_super) {
7
- __extends(GetThirdPartyFirewallAssociationStatusCommand, _super);
8
- function GetThirdPartyFirewallAssociationStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetThirdPartyFirewallAssociationStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetThirdPartyFirewallAssociationStatusCommand.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 = "GetThirdPartyFirewallAssociationStatusCommand";
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 = "GetThirdPartyFirewallAssociationStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetThirdPartyFirewallAssociationStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetThirdPartyFirewallAssociationStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetThirdPartyFirewallAssociationStatusCommand.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_1GetThirdPartyFirewallAssociationStatusCommand(input, context);
33
- };
34
- GetThirdPartyFirewallAssociationStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetThirdPartyFirewallAssociationStatusCommand(output, context);
36
- };
37
- return GetThirdPartyFirewallAssociationStatusCommand;
38
- }($Command));
39
- export { GetThirdPartyFirewallAssociationStatusCommand };
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 { GetViolationDetailsRequestFilterSensitiveLog, GetViolationDetailsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetViolationDetailsCommand, serializeAws_json1_1GetViolationDetailsCommand, } from "../protocols/Aws_json1_1";
6
- var GetViolationDetailsCommand = (function (_super) {
7
- __extends(GetViolationDetailsCommand, _super);
8
- function GetViolationDetailsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetViolationDetailsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetViolationDetailsCommand.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 = "GetViolationDetailsCommand";
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 = "GetViolationDetailsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetViolationDetailsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetViolationDetailsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetViolationDetailsCommand.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_1GetViolationDetailsCommand(input, context);
33
- };
34
- GetViolationDetailsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetViolationDetailsCommand(output, context);
36
- };
37
- return GetViolationDetailsCommand;
38
- }($Command));
39
- export { GetViolationDetailsCommand };
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 { ListAppsListsRequestFilterSensitiveLog, ListAppsListsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListAppsListsCommand, serializeAws_json1_1ListAppsListsCommand, } from "../protocols/Aws_json1_1";
6
- var ListAppsListsCommand = (function (_super) {
7
- __extends(ListAppsListsCommand, _super);
8
- function ListAppsListsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAppsListsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAppsListsCommand.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 = "ListAppsListsCommand";
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 = "ListAppsListsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAppsListsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAppsListsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAppsListsCommand.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_1ListAppsListsCommand(input, context);
33
- };
34
- ListAppsListsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListAppsListsCommand(output, context);
36
- };
37
- return ListAppsListsCommand;
38
- }($Command));
39
- export { ListAppsListsCommand };
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 { ListComplianceStatusRequestFilterSensitiveLog, ListComplianceStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListComplianceStatusCommand, serializeAws_json1_1ListComplianceStatusCommand, } from "../protocols/Aws_json1_1";
6
- var ListComplianceStatusCommand = (function (_super) {
7
- __extends(ListComplianceStatusCommand, _super);
8
- function ListComplianceStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListComplianceStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListComplianceStatusCommand.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 = "ListComplianceStatusCommand";
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 = "ListComplianceStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListComplianceStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListComplianceStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListComplianceStatusCommand.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_1ListComplianceStatusCommand(input, context);
33
- };
34
- ListComplianceStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListComplianceStatusCommand(output, context);
36
- };
37
- return ListComplianceStatusCommand;
38
- }($Command));
39
- export { ListComplianceStatusCommand };
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 { ListMemberAccountsRequestFilterSensitiveLog, ListMemberAccountsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListMemberAccountsCommand, serializeAws_json1_1ListMemberAccountsCommand, } from "../protocols/Aws_json1_1";
6
- var ListMemberAccountsCommand = (function (_super) {
7
- __extends(ListMemberAccountsCommand, _super);
8
- function ListMemberAccountsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListMemberAccountsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListMemberAccountsCommand.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 = "ListMemberAccountsCommand";
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 = "ListMemberAccountsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListMemberAccountsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListMemberAccountsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListMemberAccountsCommand.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_1ListMemberAccountsCommand(input, context);
33
- };
34
- ListMemberAccountsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListMemberAccountsCommand(output, context);
36
- };
37
- return ListMemberAccountsCommand;
38
- }($Command));
39
- export { ListMemberAccountsCommand };
31
+ }
32
+ }