@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 { ListUnsupportedAppVersionResourcesRequestFilterSensitiveLog, ListUnsupportedAppVersionResourcesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommand, serializeAws_restJson1ListUnsupportedAppVersionResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListUnsupportedAppVersionResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListUnsupportedAppVersionResourcesCommand = (function (_super) {
7
+ __extends(ListUnsupportedAppVersionResourcesCommand, _super);
8
+ function ListUnsupportedAppVersionResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListUnsupportedAppVersionResourcesCommand.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 = "ListUnsupportedAppVersionResourcesCommand";
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 = "ListUnsupportedAppVersionResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListUnsupportedAppVersionResourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListUnsupportedAppVersionResourcesResponseFilterSensitiveLog,
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
+ ListUnsupportedAppVersionResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListUnsupportedAppVersionResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListUnsupportedAppVersionResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListUnsupportedAppVersionResourcesCommand;
38
+ }($Command));
39
+ export { ListUnsupportedAppVersionResourcesCommand };
@@ -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 { PublishAppVersionRequestFilterSensitiveLog, PublishAppVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PublishAppVersionCommand, serializeAws_restJson1PublishAppVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class PublishAppVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PublishAppVersionCommand = (function (_super) {
7
+ __extends(PublishAppVersionCommand, _super);
8
+ function PublishAppVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PublishAppVersionCommand.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 = "PublishAppVersionCommand";
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 = "PublishAppVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PublishAppVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PublishAppVersionResponseFilterSensitiveLog,
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
+ PublishAppVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PublishAppVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PublishAppVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PublishAppVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PublishAppVersionCommand;
38
+ }($Command));
39
+ export { PublishAppVersionCommand };
@@ -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 { PutDraftAppVersionTemplateRequestFilterSensitiveLog, PutDraftAppVersionTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutDraftAppVersionTemplateCommand, serializeAws_restJson1PutDraftAppVersionTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class PutDraftAppVersionTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutDraftAppVersionTemplateCommand = (function (_super) {
7
+ __extends(PutDraftAppVersionTemplateCommand, _super);
8
+ function PutDraftAppVersionTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutDraftAppVersionTemplateCommand.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 = "PutDraftAppVersionTemplateCommand";
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 = "PutDraftAppVersionTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutDraftAppVersionTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutDraftAppVersionTemplateResponseFilterSensitiveLog,
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
+ PutDraftAppVersionTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutDraftAppVersionTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutDraftAppVersionTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutDraftAppVersionTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutDraftAppVersionTemplateCommand;
38
+ }($Command));
39
+ export { PutDraftAppVersionTemplateCommand };
@@ -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 { RemoveDraftAppVersionResourceMappingsRequestFilterSensitiveLog, RemoveDraftAppVersionResourceMappingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand, serializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand, } from "../protocols/Aws_restJson1";
5
- export class RemoveDraftAppVersionResourceMappingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemoveDraftAppVersionResourceMappingsCommand = (function (_super) {
7
+ __extends(RemoveDraftAppVersionResourceMappingsCommand, _super);
8
+ function RemoveDraftAppVersionResourceMappingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemoveDraftAppVersionResourceMappingsCommand.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 = "RemoveDraftAppVersionResourceMappingsCommand";
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 = "RemoveDraftAppVersionResourceMappingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemoveDraftAppVersionResourceMappingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RemoveDraftAppVersionResourceMappingsResponseFilterSensitiveLog,
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
+ RemoveDraftAppVersionResourceMappingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemoveDraftAppVersionResourceMappingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemoveDraftAppVersionResourceMappingsCommand;
38
+ }($Command));
39
+ export { RemoveDraftAppVersionResourceMappingsCommand };
@@ -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 { ResolveAppVersionResourcesRequestFilterSensitiveLog, ResolveAppVersionResourcesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ResolveAppVersionResourcesCommand, serializeAws_restJson1ResolveAppVersionResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class ResolveAppVersionResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ResolveAppVersionResourcesCommand = (function (_super) {
7
+ __extends(ResolveAppVersionResourcesCommand, _super);
8
+ function ResolveAppVersionResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ResolveAppVersionResourcesCommand.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 = "ResolveAppVersionResourcesCommand";
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 = "ResolveAppVersionResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ResolveAppVersionResourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ResolveAppVersionResourcesResponseFilterSensitiveLog,
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
+ ResolveAppVersionResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ResolveAppVersionResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ResolveAppVersionResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ResolveAppVersionResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ResolveAppVersionResourcesCommand;
38
+ }($Command));
39
+ export { ResolveAppVersionResourcesCommand };
@@ -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 { StartAppAssessmentRequestFilterSensitiveLog, StartAppAssessmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartAppAssessmentCommand, serializeAws_restJson1StartAppAssessmentCommand, } from "../protocols/Aws_restJson1";
5
- export class StartAppAssessmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartAppAssessmentCommand = (function (_super) {
7
+ __extends(StartAppAssessmentCommand, _super);
8
+ function StartAppAssessmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartAppAssessmentCommand.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 = "StartAppAssessmentCommand";
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 = "StartAppAssessmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartAppAssessmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartAppAssessmentResponseFilterSensitiveLog,
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
+ StartAppAssessmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartAppAssessmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartAppAssessmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartAppAssessmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartAppAssessmentCommand;
38
+ }($Command));
39
+ export { StartAppAssessmentCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateAppRequestFilterSensitiveLog, UpdateAppResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateAppCommand, serializeAws_restJson1UpdateAppCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateAppCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateAppCommand = (function (_super) {
7
+ __extends(UpdateAppCommand, _super);
8
+ function UpdateAppCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateAppCommand.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 = "UpdateAppCommand";
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 = "UpdateAppCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateAppRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateAppResponseFilterSensitiveLog,
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
+ UpdateAppCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateAppCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateAppCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateAppCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateAppCommand;
38
+ }($Command));
39
+ export { UpdateAppCommand };
@@ -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 { UpdateResiliencyPolicyRequestFilterSensitiveLog, UpdateResiliencyPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateResiliencyPolicyCommand, serializeAws_restJson1UpdateResiliencyPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateResiliencyPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateResiliencyPolicyCommand = (function (_super) {
7
+ __extends(UpdateResiliencyPolicyCommand, _super);
8
+ function UpdateResiliencyPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateResiliencyPolicyCommand.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 = "UpdateResiliencyPolicyCommand";
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 = "UpdateResiliencyPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateResiliencyPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateResiliencyPolicyResponseFilterSensitiveLog,
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
+ UpdateResiliencyPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateResiliencyPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateResiliencyPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateResiliencyPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateResiliencyPolicyCommand;
38
+ }($Command));
39
+ export { UpdateResiliencyPolicyCommand };