@aws-sdk/client-resiliencehub 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 (68) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/Resiliencehub.js +158 -165
  3. package/dist-es/ResiliencehubClient.js +22 -28
  4. package/dist-es/commands/AddDraftAppVersionResourceMappingsCommand.js +21 -28
  5. package/dist-es/commands/CreateAppCommand.js +21 -28
  6. package/dist-es/commands/CreateRecommendationTemplateCommand.js +21 -28
  7. package/dist-es/commands/CreateResiliencyPolicyCommand.js +21 -28
  8. package/dist-es/commands/DeleteAppAssessmentCommand.js +21 -28
  9. package/dist-es/commands/DeleteAppCommand.js +21 -28
  10. package/dist-es/commands/DeleteRecommendationTemplateCommand.js +21 -28
  11. package/dist-es/commands/DeleteResiliencyPolicyCommand.js +21 -28
  12. package/dist-es/commands/DescribeAppAssessmentCommand.js +21 -28
  13. package/dist-es/commands/DescribeAppCommand.js +21 -28
  14. package/dist-es/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +21 -28
  15. package/dist-es/commands/DescribeAppVersionTemplateCommand.js +21 -28
  16. package/dist-es/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +21 -28
  17. package/dist-es/commands/DescribeResiliencyPolicyCommand.js +21 -28
  18. package/dist-es/commands/ImportResourcesToDraftAppVersionCommand.js +21 -28
  19. package/dist-es/commands/ListAlarmRecommendationsCommand.js +21 -28
  20. package/dist-es/commands/ListAppAssessmentsCommand.js +21 -28
  21. package/dist-es/commands/ListAppComponentCompliancesCommand.js +21 -28
  22. package/dist-es/commands/ListAppComponentRecommendationsCommand.js +21 -28
  23. package/dist-es/commands/ListAppVersionResourceMappingsCommand.js +21 -28
  24. package/dist-es/commands/ListAppVersionResourcesCommand.js +21 -28
  25. package/dist-es/commands/ListAppVersionsCommand.js +21 -28
  26. package/dist-es/commands/ListAppsCommand.js +21 -28
  27. package/dist-es/commands/ListRecommendationTemplatesCommand.js +21 -28
  28. package/dist-es/commands/ListResiliencyPoliciesCommand.js +21 -28
  29. package/dist-es/commands/ListSopRecommendationsCommand.js +21 -28
  30. package/dist-es/commands/ListSuggestedResiliencyPoliciesCommand.js +21 -28
  31. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  32. package/dist-es/commands/ListTestRecommendationsCommand.js +21 -28
  33. package/dist-es/commands/ListUnsupportedAppVersionResourcesCommand.js +21 -28
  34. package/dist-es/commands/PublishAppVersionCommand.js +21 -28
  35. package/dist-es/commands/PutDraftAppVersionTemplateCommand.js +21 -28
  36. package/dist-es/commands/RemoveDraftAppVersionResourceMappingsCommand.js +21 -28
  37. package/dist-es/commands/ResolveAppVersionResourcesCommand.js +21 -28
  38. package/dist-es/commands/StartAppAssessmentCommand.js +21 -28
  39. package/dist-es/commands/TagResourceCommand.js +21 -28
  40. package/dist-es/commands/UntagResourceCommand.js +21 -28
  41. package/dist-es/commands/UpdateAppCommand.js +21 -28
  42. package/dist-es/commands/UpdateResiliencyPolicyCommand.js +21 -28
  43. package/dist-es/endpoints.js +8 -8
  44. package/dist-es/models/ResiliencehubServiceException.js +5 -10
  45. package/dist-es/models/models_0.js +435 -198
  46. package/dist-es/pagination/ListAlarmRecommendationsPaginator.js +24 -67
  47. package/dist-es/pagination/ListAppAssessmentsPaginator.js +24 -67
  48. package/dist-es/pagination/ListAppComponentCompliancesPaginator.js +24 -67
  49. package/dist-es/pagination/ListAppComponentRecommendationsPaginator.js +24 -67
  50. package/dist-es/pagination/ListAppVersionResourceMappingsPaginator.js +24 -67
  51. package/dist-es/pagination/ListAppVersionResourcesPaginator.js +24 -67
  52. package/dist-es/pagination/ListAppVersionsPaginator.js +24 -67
  53. package/dist-es/pagination/ListAppsPaginator.js +24 -67
  54. package/dist-es/pagination/ListRecommendationTemplatesPaginator.js +24 -67
  55. package/dist-es/pagination/ListResiliencyPoliciesPaginator.js +24 -67
  56. package/dist-es/pagination/ListSopRecommendationsPaginator.js +24 -67
  57. package/dist-es/pagination/ListSuggestedResiliencyPoliciesPaginator.js +24 -67
  58. package/dist-es/pagination/ListTestRecommendationsPaginator.js +24 -67
  59. package/dist-es/pagination/ListUnsupportedAppVersionResourcesPaginator.js +24 -67
  60. package/dist-es/protocols/Aws_restJson1.js +3102 -4268
  61. package/dist-es/runtimeConfig.browser.js +26 -12
  62. package/dist-es/runtimeConfig.js +30 -12
  63. package/dist-es/runtimeConfig.native.js +8 -5
  64. package/dist-es/runtimeConfig.shared.js +8 -11
  65. package/dist-types/Resiliencehub.d.ts +0 -1
  66. package/dist-types/commands/CreateAppCommand.d.ts +0 -1
  67. package/dist-types/models/models_0.d.ts +4 -0
  68. 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 { DescribeAppRequestFilterSensitiveLog, DescribeAppResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeAppCommand, serializeAws_restJson1DescribeAppCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeAppCommand = (function (_super) {
7
- __extends(DescribeAppCommand, _super);
8
- function DescribeAppCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAppCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAppCommand.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 = "ResiliencehubClient";
18
- var commandName = "DescribeAppCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "DescribeAppCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAppRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAppResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAppCommand.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_restJson1DescribeAppCommand(input, context);
33
- };
34
- DescribeAppCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeAppCommand(output, context);
36
- };
37
- return DescribeAppCommand;
38
- }($Command));
39
- export { DescribeAppCommand };
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 { DescribeAppVersionResourcesResolutionStatusRequestFilterSensitiveLog, DescribeAppVersionResourcesResolutionStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand, serializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeAppVersionResourcesResolutionStatusCommand = (function (_super) {
7
- __extends(DescribeAppVersionResourcesResolutionStatusCommand, _super);
8
- function DescribeAppVersionResourcesResolutionStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAppVersionResourcesResolutionStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAppVersionResourcesResolutionStatusCommand.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 = "ResiliencehubClient";
18
- var commandName = "DescribeAppVersionResourcesResolutionStatusCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "DescribeAppVersionResourcesResolutionStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAppVersionResourcesResolutionStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAppVersionResourcesResolutionStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAppVersionResourcesResolutionStatusCommand.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_restJson1DescribeAppVersionResourcesResolutionStatusCommand(input, context);
33
- };
34
- DescribeAppVersionResourcesResolutionStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand(output, context);
36
- };
37
- return DescribeAppVersionResourcesResolutionStatusCommand;
38
- }($Command));
39
- export { DescribeAppVersionResourcesResolutionStatusCommand };
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 { DescribeAppVersionTemplateRequestFilterSensitiveLog, DescribeAppVersionTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeAppVersionTemplateCommand, serializeAws_restJson1DescribeAppVersionTemplateCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeAppVersionTemplateCommand = (function (_super) {
7
- __extends(DescribeAppVersionTemplateCommand, _super);
8
- function DescribeAppVersionTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAppVersionTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAppVersionTemplateCommand.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 = "ResiliencehubClient";
18
- var commandName = "DescribeAppVersionTemplateCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "DescribeAppVersionTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAppVersionTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAppVersionTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAppVersionTemplateCommand.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_restJson1DescribeAppVersionTemplateCommand(input, context);
33
- };
34
- DescribeAppVersionTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeAppVersionTemplateCommand(output, context);
36
- };
37
- return DescribeAppVersionTemplateCommand;
38
- }($Command));
39
- export { DescribeAppVersionTemplateCommand };
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 { DescribeDraftAppVersionResourcesImportStatusRequestFilterSensitiveLog, DescribeDraftAppVersionResourcesImportStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand, serializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeDraftAppVersionResourcesImportStatusCommand = (function (_super) {
7
- __extends(DescribeDraftAppVersionResourcesImportStatusCommand, _super);
8
- function DescribeDraftAppVersionResourcesImportStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDraftAppVersionResourcesImportStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDraftAppVersionResourcesImportStatusCommand.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 = "ResiliencehubClient";
18
- var commandName = "DescribeDraftAppVersionResourcesImportStatusCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "DescribeDraftAppVersionResourcesImportStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDraftAppVersionResourcesImportStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDraftAppVersionResourcesImportStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDraftAppVersionResourcesImportStatusCommand.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_restJson1DescribeDraftAppVersionResourcesImportStatusCommand(input, context);
33
- };
34
- DescribeDraftAppVersionResourcesImportStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand(output, context);
36
- };
37
- return DescribeDraftAppVersionResourcesImportStatusCommand;
38
- }($Command));
39
- export { DescribeDraftAppVersionResourcesImportStatusCommand };
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 { DescribeResiliencyPolicyRequestFilterSensitiveLog, DescribeResiliencyPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeResiliencyPolicyCommand, serializeAws_restJson1DescribeResiliencyPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeResiliencyPolicyCommand = (function (_super) {
7
- __extends(DescribeResiliencyPolicyCommand, _super);
8
- function DescribeResiliencyPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeResiliencyPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeResiliencyPolicyCommand.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 = "ResiliencehubClient";
18
- var commandName = "DescribeResiliencyPolicyCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "DescribeResiliencyPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeResiliencyPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeResiliencyPolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeResiliencyPolicyCommand.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_restJson1DescribeResiliencyPolicyCommand(input, context);
33
- };
34
- DescribeResiliencyPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeResiliencyPolicyCommand(output, context);
36
- };
37
- return DescribeResiliencyPolicyCommand;
38
- }($Command));
39
- export { DescribeResiliencyPolicyCommand };
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 { ImportResourcesToDraftAppVersionRequestFilterSensitiveLog, ImportResourcesToDraftAppVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ImportResourcesToDraftAppVersionCommand, serializeAws_restJson1ImportResourcesToDraftAppVersionCommand, } from "../protocols/Aws_restJson1";
6
- var ImportResourcesToDraftAppVersionCommand = (function (_super) {
7
- __extends(ImportResourcesToDraftAppVersionCommand, _super);
8
- function ImportResourcesToDraftAppVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ImportResourcesToDraftAppVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ImportResourcesToDraftAppVersionCommand.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 = "ResiliencehubClient";
18
- var commandName = "ImportResourcesToDraftAppVersionCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "ImportResourcesToDraftAppVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ImportResourcesToDraftAppVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ImportResourcesToDraftAppVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ImportResourcesToDraftAppVersionCommand.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_restJson1ImportResourcesToDraftAppVersionCommand(input, context);
33
- };
34
- ImportResourcesToDraftAppVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ImportResourcesToDraftAppVersionCommand(output, context);
36
- };
37
- return ImportResourcesToDraftAppVersionCommand;
38
- }($Command));
39
- export { ImportResourcesToDraftAppVersionCommand };
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 { ListAlarmRecommendationsRequestFilterSensitiveLog, ListAlarmRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAlarmRecommendationsCommand, serializeAws_restJson1ListAlarmRecommendationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListAlarmRecommendationsCommand = (function (_super) {
7
- __extends(ListAlarmRecommendationsCommand, _super);
8
- function ListAlarmRecommendationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAlarmRecommendationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAlarmRecommendationsCommand.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 = "ResiliencehubClient";
18
- var commandName = "ListAlarmRecommendationsCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "ListAlarmRecommendationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAlarmRecommendationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAlarmRecommendationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAlarmRecommendationsCommand.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_restJson1ListAlarmRecommendationsCommand(input, context);
33
- };
34
- ListAlarmRecommendationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAlarmRecommendationsCommand(output, context);
36
- };
37
- return ListAlarmRecommendationsCommand;
38
- }($Command));
39
- export { ListAlarmRecommendationsCommand };
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 { ListAppAssessmentsRequestFilterSensitiveLog, ListAppAssessmentsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAppAssessmentsCommand, serializeAws_restJson1ListAppAssessmentsCommand, } from "../protocols/Aws_restJson1";
6
- var ListAppAssessmentsCommand = (function (_super) {
7
- __extends(ListAppAssessmentsCommand, _super);
8
- function ListAppAssessmentsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAppAssessmentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAppAssessmentsCommand.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 = "ResiliencehubClient";
18
- var commandName = "ListAppAssessmentsCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "ListAppAssessmentsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAppAssessmentsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAppAssessmentsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAppAssessmentsCommand.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_restJson1ListAppAssessmentsCommand(input, context);
33
- };
34
- ListAppAssessmentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAppAssessmentsCommand(output, context);
36
- };
37
- return ListAppAssessmentsCommand;
38
- }($Command));
39
- export { ListAppAssessmentsCommand };
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 { ListAppComponentCompliancesRequestFilterSensitiveLog, ListAppComponentCompliancesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAppComponentCompliancesCommand, serializeAws_restJson1ListAppComponentCompliancesCommand, } from "../protocols/Aws_restJson1";
6
- var ListAppComponentCompliancesCommand = (function (_super) {
7
- __extends(ListAppComponentCompliancesCommand, _super);
8
- function ListAppComponentCompliancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAppComponentCompliancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAppComponentCompliancesCommand.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 = "ResiliencehubClient";
18
- var commandName = "ListAppComponentCompliancesCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "ListAppComponentCompliancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAppComponentCompliancesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAppComponentCompliancesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAppComponentCompliancesCommand.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_restJson1ListAppComponentCompliancesCommand(input, context);
33
- };
34
- ListAppComponentCompliancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAppComponentCompliancesCommand(output, context);
36
- };
37
- return ListAppComponentCompliancesCommand;
38
- }($Command));
39
- export { ListAppComponentCompliancesCommand };
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 { ListAppComponentRecommendationsRequestFilterSensitiveLog, ListAppComponentRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAppComponentRecommendationsCommand, serializeAws_restJson1ListAppComponentRecommendationsCommand, } from "../protocols/Aws_restJson1";
6
- var ListAppComponentRecommendationsCommand = (function (_super) {
7
- __extends(ListAppComponentRecommendationsCommand, _super);
8
- function ListAppComponentRecommendationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAppComponentRecommendationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAppComponentRecommendationsCommand.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 = "ResiliencehubClient";
18
- var commandName = "ListAppComponentRecommendationsCommand";
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 = "ResiliencehubClient";
15
+ const commandName = "ListAppComponentRecommendationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAppComponentRecommendationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAppComponentRecommendationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAppComponentRecommendationsCommand.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_restJson1ListAppComponentRecommendationsCommand(input, context);
33
- };
34
- ListAppComponentRecommendationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAppComponentRecommendationsCommand(output, context);
36
- };
37
- return ListAppComponentRecommendationsCommand;
38
- }($Command));
39
- export { ListAppComponentRecommendationsCommand };
31
+ }
32
+ }