@aws-sdk/client-backup 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 (94) hide show
  1. package/CHANGELOG.md +11 -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 +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 { DeleteBackupVaultLockConfigurationInputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBackupVaultLockConfigurationCommand, serializeAws_restJson1DeleteBackupVaultLockConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBackupVaultLockConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBackupVaultLockConfigurationCommand = (function (_super) {
7
+ __extends(DeleteBackupVaultLockConfigurationCommand, _super);
8
+ function DeleteBackupVaultLockConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBackupVaultLockConfigurationCommand.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 = "DeleteBackupVaultLockConfigurationCommand";
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 = "DeleteBackupVaultLockConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBackupVaultLockConfigurationInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteBackupVaultLockConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBackupVaultLockConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBackupVaultLockConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBackupVaultLockConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBackupVaultLockConfigurationCommand;
38
+ }($Command));
39
+ export { DeleteBackupVaultLockConfigurationCommand };
@@ -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 { DeleteBackupVaultNotificationsInputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBackupVaultNotificationsCommand, serializeAws_restJson1DeleteBackupVaultNotificationsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBackupVaultNotificationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBackupVaultNotificationsCommand = (function (_super) {
7
+ __extends(DeleteBackupVaultNotificationsCommand, _super);
8
+ function DeleteBackupVaultNotificationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBackupVaultNotificationsCommand.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 = "DeleteBackupVaultNotificationsCommand";
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 = "DeleteBackupVaultNotificationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBackupVaultNotificationsInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteBackupVaultNotificationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBackupVaultNotificationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBackupVaultNotificationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBackupVaultNotificationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBackupVaultNotificationsCommand;
38
+ }($Command));
39
+ export { DeleteBackupVaultNotificationsCommand };
@@ -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 { DeleteFrameworkInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteFrameworkCommand, serializeAws_restJson1DeleteFrameworkCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteFrameworkCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteFrameworkCommand = (function (_super) {
7
+ __extends(DeleteFrameworkCommand, _super);
8
+ function DeleteFrameworkCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFrameworkCommand.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 = "DeleteFrameworkCommand";
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 = "DeleteFrameworkCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteFrameworkInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteFrameworkCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteFrameworkCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFrameworkCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteFrameworkCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFrameworkCommand;
38
+ }($Command));
39
+ export { DeleteFrameworkCommand };
@@ -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 { DeleteRecoveryPointInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteRecoveryPointCommand, serializeAws_restJson1DeleteRecoveryPointCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteRecoveryPointCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteRecoveryPointCommand = (function (_super) {
7
+ __extends(DeleteRecoveryPointCommand, _super);
8
+ function DeleteRecoveryPointCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteRecoveryPointCommand.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 = "DeleteRecoveryPointCommand";
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 = "DeleteRecoveryPointCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteRecoveryPointInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteRecoveryPointCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteRecoveryPointCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteRecoveryPointCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteRecoveryPointCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteRecoveryPointCommand;
38
+ }($Command));
39
+ export { DeleteRecoveryPointCommand };
@@ -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 { DeleteReportPlanInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteReportPlanCommand, serializeAws_restJson1DeleteReportPlanCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteReportPlanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteReportPlanCommand = (function (_super) {
7
+ __extends(DeleteReportPlanCommand, _super);
8
+ function DeleteReportPlanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteReportPlanCommand.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 = "DeleteReportPlanCommand";
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 = "DeleteReportPlanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteReportPlanInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteReportPlanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteReportPlanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteReportPlanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteReportPlanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteReportPlanCommand;
38
+ }($Command));
39
+ export { DeleteReportPlanCommand };
@@ -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 { DescribeBackupJobInputFilterSensitiveLog, DescribeBackupJobOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeBackupJobCommand, serializeAws_restJson1DescribeBackupJobCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeBackupJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeBackupJobCommand = (function (_super) {
7
+ __extends(DescribeBackupJobCommand, _super);
8
+ function DescribeBackupJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeBackupJobCommand.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 = "DescribeBackupJobCommand";
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 = "DescribeBackupJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeBackupJobInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeBackupJobOutputFilterSensitiveLog,
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
+ DescribeBackupJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeBackupJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeBackupJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeBackupJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeBackupJobCommand;
38
+ }($Command));
39
+ export { DescribeBackupJobCommand };
@@ -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 { DescribeBackupVaultInputFilterSensitiveLog, DescribeBackupVaultOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeBackupVaultCommand, serializeAws_restJson1DescribeBackupVaultCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeBackupVaultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeBackupVaultCommand = (function (_super) {
7
+ __extends(DescribeBackupVaultCommand, _super);
8
+ function DescribeBackupVaultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeBackupVaultCommand.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 = "DescribeBackupVaultCommand";
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 = "DescribeBackupVaultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeBackupVaultInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeBackupVaultOutputFilterSensitiveLog,
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
+ DescribeBackupVaultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeBackupVaultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeBackupVaultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeBackupVaultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeBackupVaultCommand;
38
+ }($Command));
39
+ export { DescribeBackupVaultCommand };
@@ -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 { DescribeCopyJobInputFilterSensitiveLog, DescribeCopyJobOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeCopyJobCommand, serializeAws_restJson1DescribeCopyJobCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeCopyJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeCopyJobCommand = (function (_super) {
7
+ __extends(DescribeCopyJobCommand, _super);
8
+ function DescribeCopyJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeCopyJobCommand.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 = "DescribeCopyJobCommand";
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 = "DescribeCopyJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeCopyJobInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeCopyJobOutputFilterSensitiveLog,
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
+ DescribeCopyJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeCopyJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeCopyJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeCopyJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeCopyJobCommand;
38
+ }($Command));
39
+ export { DescribeCopyJobCommand };
@@ -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 { DescribeFrameworkInputFilterSensitiveLog, DescribeFrameworkOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeFrameworkCommand, serializeAws_restJson1DescribeFrameworkCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeFrameworkCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeFrameworkCommand = (function (_super) {
7
+ __extends(DescribeFrameworkCommand, _super);
8
+ function DescribeFrameworkCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeFrameworkCommand.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 = "DescribeFrameworkCommand";
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 = "DescribeFrameworkCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeFrameworkInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeFrameworkOutputFilterSensitiveLog,
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
+ DescribeFrameworkCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeFrameworkCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeFrameworkCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeFrameworkCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeFrameworkCommand;
38
+ }($Command));
39
+ export { DescribeFrameworkCommand };
@@ -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 { DescribeGlobalSettingsInputFilterSensitiveLog, DescribeGlobalSettingsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeGlobalSettingsCommand, serializeAws_restJson1DescribeGlobalSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeGlobalSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeGlobalSettingsCommand = (function (_super) {
7
+ __extends(DescribeGlobalSettingsCommand, _super);
8
+ function DescribeGlobalSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeGlobalSettingsCommand.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 = "DescribeGlobalSettingsCommand";
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 = "DescribeGlobalSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeGlobalSettingsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeGlobalSettingsOutputFilterSensitiveLog,
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
+ DescribeGlobalSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeGlobalSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeGlobalSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeGlobalSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeGlobalSettingsCommand;
38
+ }($Command));
39
+ export { DescribeGlobalSettingsCommand };