@aws-sdk/client-backup 3.183.0 → 3.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Backup.js +273 -266
  4. package/dist-es/BackupClient.js +28 -22
  5. package/dist-es/commands/CreateBackupPlanCommand.js +28 -21
  6. package/dist-es/commands/CreateBackupSelectionCommand.js +28 -21
  7. package/dist-es/commands/CreateBackupVaultCommand.js +28 -21
  8. package/dist-es/commands/CreateFrameworkCommand.js +28 -21
  9. package/dist-es/commands/CreateReportPlanCommand.js +28 -21
  10. package/dist-es/commands/DeleteBackupPlanCommand.js +28 -21
  11. package/dist-es/commands/DeleteBackupSelectionCommand.js +29 -22
  12. package/dist-es/commands/DeleteBackupVaultAccessPolicyCommand.js +29 -22
  13. package/dist-es/commands/DeleteBackupVaultCommand.js +29 -22
  14. package/dist-es/commands/DeleteBackupVaultLockConfigurationCommand.js +29 -22
  15. package/dist-es/commands/DeleteBackupVaultNotificationsCommand.js +29 -22
  16. package/dist-es/commands/DeleteFrameworkCommand.js +29 -22
  17. package/dist-es/commands/DeleteRecoveryPointCommand.js +29 -22
  18. package/dist-es/commands/DeleteReportPlanCommand.js +29 -22
  19. package/dist-es/commands/DescribeBackupJobCommand.js +28 -21
  20. package/dist-es/commands/DescribeBackupVaultCommand.js +28 -21
  21. package/dist-es/commands/DescribeCopyJobCommand.js +28 -21
  22. package/dist-es/commands/DescribeFrameworkCommand.js +28 -21
  23. package/dist-es/commands/DescribeGlobalSettingsCommand.js +28 -21
  24. package/dist-es/commands/DescribeProtectedResourceCommand.js +28 -21
  25. package/dist-es/commands/DescribeRecoveryPointCommand.js +28 -21
  26. package/dist-es/commands/DescribeRegionSettingsCommand.js +28 -21
  27. package/dist-es/commands/DescribeReportJobCommand.js +28 -21
  28. package/dist-es/commands/DescribeReportPlanCommand.js +28 -21
  29. package/dist-es/commands/DescribeRestoreJobCommand.js +28 -21
  30. package/dist-es/commands/DisassociateRecoveryPointCommand.js +29 -22
  31. package/dist-es/commands/ExportBackupPlanTemplateCommand.js +28 -21
  32. package/dist-es/commands/GetBackupPlanCommand.js +28 -21
  33. package/dist-es/commands/GetBackupPlanFromJSONCommand.js +28 -21
  34. package/dist-es/commands/GetBackupPlanFromTemplateCommand.js +28 -21
  35. package/dist-es/commands/GetBackupSelectionCommand.js +28 -21
  36. package/dist-es/commands/GetBackupVaultAccessPolicyCommand.js +28 -21
  37. package/dist-es/commands/GetBackupVaultNotificationsCommand.js +28 -21
  38. package/dist-es/commands/GetRecoveryPointRestoreMetadataCommand.js +28 -21
  39. package/dist-es/commands/GetSupportedResourceTypesCommand.js +29 -22
  40. package/dist-es/commands/ListBackupJobsCommand.js +28 -21
  41. package/dist-es/commands/ListBackupPlanTemplatesCommand.js +28 -21
  42. package/dist-es/commands/ListBackupPlanVersionsCommand.js +28 -21
  43. package/dist-es/commands/ListBackupPlansCommand.js +28 -21
  44. package/dist-es/commands/ListBackupSelectionsCommand.js +28 -21
  45. package/dist-es/commands/ListBackupVaultsCommand.js +28 -21
  46. package/dist-es/commands/ListCopyJobsCommand.js +28 -21
  47. package/dist-es/commands/ListFrameworksCommand.js +28 -21
  48. package/dist-es/commands/ListProtectedResourcesCommand.js +28 -21
  49. package/dist-es/commands/ListRecoveryPointsByBackupVaultCommand.js +28 -21
  50. package/dist-es/commands/ListRecoveryPointsByResourceCommand.js +28 -21
  51. package/dist-es/commands/ListReportJobsCommand.js +28 -21
  52. package/dist-es/commands/ListReportPlansCommand.js +28 -21
  53. package/dist-es/commands/ListRestoreJobsCommand.js +28 -21
  54. package/dist-es/commands/ListTagsCommand.js +28 -21
  55. package/dist-es/commands/PutBackupVaultAccessPolicyCommand.js +29 -22
  56. package/dist-es/commands/PutBackupVaultLockConfigurationCommand.js +29 -22
  57. package/dist-es/commands/PutBackupVaultNotificationsCommand.js +29 -22
  58. package/dist-es/commands/StartBackupJobCommand.js +28 -21
  59. package/dist-es/commands/StartCopyJobCommand.js +28 -21
  60. package/dist-es/commands/StartReportJobCommand.js +28 -21
  61. package/dist-es/commands/StartRestoreJobCommand.js +28 -21
  62. package/dist-es/commands/StopBackupJobCommand.js +29 -22
  63. package/dist-es/commands/TagResourceCommand.js +29 -22
  64. package/dist-es/commands/UntagResourceCommand.js +29 -22
  65. package/dist-es/commands/UpdateBackupPlanCommand.js +28 -21
  66. package/dist-es/commands/UpdateFrameworkCommand.js +28 -21
  67. package/dist-es/commands/UpdateGlobalSettingsCommand.js +29 -22
  68. package/dist-es/commands/UpdateRecoveryPointLifecycleCommand.js +28 -21
  69. package/dist-es/commands/UpdateRegionSettingsCommand.js +29 -22
  70. package/dist-es/commands/UpdateReportPlanCommand.js +28 -21
  71. package/dist-es/endpoints.js +8 -8
  72. package/dist-es/models/BackupServiceException.js +10 -5
  73. package/dist-es/models/models_0.js +299 -607
  74. package/dist-es/pagination/ListBackupJobsPaginator.js +68 -25
  75. package/dist-es/pagination/ListBackupPlanTemplatesPaginator.js +68 -25
  76. package/dist-es/pagination/ListBackupPlanVersionsPaginator.js +68 -25
  77. package/dist-es/pagination/ListBackupPlansPaginator.js +68 -25
  78. package/dist-es/pagination/ListBackupSelectionsPaginator.js +68 -25
  79. package/dist-es/pagination/ListBackupVaultsPaginator.js +68 -25
  80. package/dist-es/pagination/ListCopyJobsPaginator.js +68 -25
  81. package/dist-es/pagination/ListFrameworksPaginator.js +68 -25
  82. package/dist-es/pagination/ListProtectedResourcesPaginator.js +68 -25
  83. package/dist-es/pagination/ListRecoveryPointsByBackupVaultPaginator.js +68 -25
  84. package/dist-es/pagination/ListRecoveryPointsByResourcePaginator.js +68 -25
  85. package/dist-es/pagination/ListReportJobsPaginator.js +68 -25
  86. package/dist-es/pagination/ListReportPlansPaginator.js +68 -25
  87. package/dist-es/pagination/ListRestoreJobsPaginator.js +68 -25
  88. package/dist-es/pagination/ListTagsPaginator.js +68 -25
  89. package/dist-es/protocols/Aws_restJson1.js +6980 -5026
  90. package/dist-es/runtimeConfig.browser.js +12 -26
  91. package/dist-es/runtimeConfig.js +12 -30
  92. package/dist-es/runtimeConfig.native.js +5 -8
  93. package/dist-es/runtimeConfig.shared.js +11 -8
  94. package/package.json +33 -33
@@ -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 { GetBackupPlanFromTemplateInputFilterSensitiveLog, GetBackupPlanFromTemplateOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBackupPlanFromTemplateCommand, serializeAws_restJson1GetBackupPlanFromTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBackupPlanFromTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBackupPlanFromTemplateCommand = (function (_super) {
7
+ __extends(GetBackupPlanFromTemplateCommand, _super);
8
+ function GetBackupPlanFromTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBackupPlanFromTemplateCommand.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 = "BackupClient";
15
- const commandName = "GetBackupPlanFromTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "GetBackupPlanFromTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBackupPlanFromTemplateInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBackupPlanFromTemplateOutputFilterSensitiveLog,
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
+ GetBackupPlanFromTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBackupPlanFromTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBackupPlanFromTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBackupPlanFromTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBackupPlanFromTemplateCommand;
38
+ }($Command));
39
+ export { GetBackupPlanFromTemplateCommand };
@@ -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 { GetBackupSelectionInputFilterSensitiveLog, GetBackupSelectionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBackupSelectionCommand, serializeAws_restJson1GetBackupSelectionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBackupSelectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBackupSelectionCommand = (function (_super) {
7
+ __extends(GetBackupSelectionCommand, _super);
8
+ function GetBackupSelectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBackupSelectionCommand.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 = "BackupClient";
15
- const commandName = "GetBackupSelectionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "GetBackupSelectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBackupSelectionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBackupSelectionOutputFilterSensitiveLog,
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
+ GetBackupSelectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBackupSelectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBackupSelectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBackupSelectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBackupSelectionCommand;
38
+ }($Command));
39
+ export { GetBackupSelectionCommand };
@@ -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 { GetBackupVaultAccessPolicyInputFilterSensitiveLog, GetBackupVaultAccessPolicyOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBackupVaultAccessPolicyCommand, serializeAws_restJson1GetBackupVaultAccessPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBackupVaultAccessPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBackupVaultAccessPolicyCommand = (function (_super) {
7
+ __extends(GetBackupVaultAccessPolicyCommand, _super);
8
+ function GetBackupVaultAccessPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBackupVaultAccessPolicyCommand.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 = "BackupClient";
15
- const commandName = "GetBackupVaultAccessPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "GetBackupVaultAccessPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBackupVaultAccessPolicyInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBackupVaultAccessPolicyOutputFilterSensitiveLog,
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
+ GetBackupVaultAccessPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBackupVaultAccessPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBackupVaultAccessPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBackupVaultAccessPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBackupVaultAccessPolicyCommand;
38
+ }($Command));
39
+ export { GetBackupVaultAccessPolicyCommand };
@@ -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 { GetBackupVaultNotificationsInputFilterSensitiveLog, GetBackupVaultNotificationsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBackupVaultNotificationsCommand, serializeAws_restJson1GetBackupVaultNotificationsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBackupVaultNotificationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBackupVaultNotificationsCommand = (function (_super) {
7
+ __extends(GetBackupVaultNotificationsCommand, _super);
8
+ function GetBackupVaultNotificationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBackupVaultNotificationsCommand.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 = "BackupClient";
15
- const commandName = "GetBackupVaultNotificationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "GetBackupVaultNotificationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBackupVaultNotificationsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBackupVaultNotificationsOutputFilterSensitiveLog,
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
+ GetBackupVaultNotificationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBackupVaultNotificationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBackupVaultNotificationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBackupVaultNotificationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBackupVaultNotificationsCommand;
38
+ }($Command));
39
+ export { GetBackupVaultNotificationsCommand };
@@ -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 { GetRecoveryPointRestoreMetadataInputFilterSensitiveLog, GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetRecoveryPointRestoreMetadataCommand, serializeAws_restJson1GetRecoveryPointRestoreMetadataCommand, } from "../protocols/Aws_restJson1";
5
- export class GetRecoveryPointRestoreMetadataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRecoveryPointRestoreMetadataCommand = (function (_super) {
7
+ __extends(GetRecoveryPointRestoreMetadataCommand, _super);
8
+ function GetRecoveryPointRestoreMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRecoveryPointRestoreMetadataCommand.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 = "BackupClient";
15
- const commandName = "GetRecoveryPointRestoreMetadataCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "GetRecoveryPointRestoreMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRecoveryPointRestoreMetadataInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRecoveryPointRestoreMetadataOutputFilterSensitiveLog,
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
+ GetRecoveryPointRestoreMetadataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetRecoveryPointRestoreMetadataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRecoveryPointRestoreMetadataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetRecoveryPointRestoreMetadataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRecoveryPointRestoreMetadataCommand;
38
+ }($Command));
39
+ export { GetRecoveryPointRestoreMetadataCommand };
@@ -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 { GetSupportedResourceTypesOutputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSupportedResourceTypesCommand, serializeAws_restJson1GetSupportedResourceTypesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSupportedResourceTypesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSupportedResourceTypesCommand = (function (_super) {
7
+ __extends(GetSupportedResourceTypesCommand, _super);
8
+ function GetSupportedResourceTypesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSupportedResourceTypesCommand.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 = "BackupClient";
15
- const commandName = "GetSupportedResourceTypesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
20
- inputFilterSensitiveLog: (input) => input,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "GetSupportedResourceTypesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: function (input) { return input; },
21
24
  outputFilterSensitiveLog: GetSupportedResourceTypesOutputFilterSensitiveLog,
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
+ GetSupportedResourceTypesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetSupportedResourceTypesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSupportedResourceTypesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSupportedResourceTypesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSupportedResourceTypesCommand;
38
+ }($Command));
39
+ export { GetSupportedResourceTypesCommand };
@@ -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 { ListBackupJobsInputFilterSensitiveLog, ListBackupJobsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBackupJobsCommand, serializeAws_restJson1ListBackupJobsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBackupJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBackupJobsCommand = (function (_super) {
7
+ __extends(ListBackupJobsCommand, _super);
8
+ function ListBackupJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBackupJobsCommand.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 = "BackupClient";
15
- const commandName = "ListBackupJobsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "ListBackupJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBackupJobsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBackupJobsOutputFilterSensitiveLog,
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
+ ListBackupJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBackupJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBackupJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBackupJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBackupJobsCommand;
38
+ }($Command));
39
+ export { ListBackupJobsCommand };
@@ -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 { ListBackupPlanTemplatesInputFilterSensitiveLog, ListBackupPlanTemplatesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBackupPlanTemplatesCommand, serializeAws_restJson1ListBackupPlanTemplatesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBackupPlanTemplatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBackupPlanTemplatesCommand = (function (_super) {
7
+ __extends(ListBackupPlanTemplatesCommand, _super);
8
+ function ListBackupPlanTemplatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBackupPlanTemplatesCommand.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 = "BackupClient";
15
- const commandName = "ListBackupPlanTemplatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "ListBackupPlanTemplatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBackupPlanTemplatesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBackupPlanTemplatesOutputFilterSensitiveLog,
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
+ ListBackupPlanTemplatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBackupPlanTemplatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBackupPlanTemplatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBackupPlanTemplatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBackupPlanTemplatesCommand;
38
+ }($Command));
39
+ export { ListBackupPlanTemplatesCommand };
@@ -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 { ListBackupPlanVersionsInputFilterSensitiveLog, ListBackupPlanVersionsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBackupPlanVersionsCommand, serializeAws_restJson1ListBackupPlanVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBackupPlanVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBackupPlanVersionsCommand = (function (_super) {
7
+ __extends(ListBackupPlanVersionsCommand, _super);
8
+ function ListBackupPlanVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBackupPlanVersionsCommand.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 = "BackupClient";
15
- const commandName = "ListBackupPlanVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "ListBackupPlanVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBackupPlanVersionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBackupPlanVersionsOutputFilterSensitiveLog,
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
+ ListBackupPlanVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBackupPlanVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBackupPlanVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBackupPlanVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBackupPlanVersionsCommand;
38
+ }($Command));
39
+ export { ListBackupPlanVersionsCommand };
@@ -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 { ListBackupPlansInputFilterSensitiveLog, ListBackupPlansOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBackupPlansCommand, serializeAws_restJson1ListBackupPlansCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBackupPlansCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBackupPlansCommand = (function (_super) {
7
+ __extends(ListBackupPlansCommand, _super);
8
+ function ListBackupPlansCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBackupPlansCommand.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 = "BackupClient";
15
- const commandName = "ListBackupPlansCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupClient";
18
+ var commandName = "ListBackupPlansCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBackupPlansInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBackupPlansOutputFilterSensitiveLog,
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
+ ListBackupPlansCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBackupPlansCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBackupPlansCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBackupPlansCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBackupPlansCommand;
38
+ }($Command));
39
+ export { ListBackupPlansCommand };