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