@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,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class BackupClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var BackupClient = (function (_super) {
13
+ __extends(BackupClient, _super);
14
+ function BackupClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ BackupClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return BackupClient;
38
+ }(__Client));
39
+ export { BackupClient };
@@ -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 { CreateBackupPlanInputFilterSensitiveLog, CreateBackupPlanOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateBackupPlanCommand, serializeAws_restJson1CreateBackupPlanCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateBackupPlanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateBackupPlanCommand = (function (_super) {
7
+ __extends(CreateBackupPlanCommand, _super);
8
+ function CreateBackupPlanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateBackupPlanCommand.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 = "CreateBackupPlanCommand";
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 = "CreateBackupPlanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateBackupPlanInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateBackupPlanOutputFilterSensitiveLog,
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
+ CreateBackupPlanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateBackupPlanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateBackupPlanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateBackupPlanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateBackupPlanCommand;
38
+ }($Command));
39
+ export { CreateBackupPlanCommand };
@@ -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 { CreateBackupSelectionInputFilterSensitiveLog, CreateBackupSelectionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateBackupSelectionCommand, serializeAws_restJson1CreateBackupSelectionCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateBackupSelectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateBackupSelectionCommand = (function (_super) {
7
+ __extends(CreateBackupSelectionCommand, _super);
8
+ function CreateBackupSelectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateBackupSelectionCommand.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 = "CreateBackupSelectionCommand";
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 = "CreateBackupSelectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateBackupSelectionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateBackupSelectionOutputFilterSensitiveLog,
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
+ CreateBackupSelectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateBackupSelectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateBackupSelectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateBackupSelectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateBackupSelectionCommand;
38
+ }($Command));
39
+ export { CreateBackupSelectionCommand };
@@ -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 { CreateBackupVaultInputFilterSensitiveLog, CreateBackupVaultOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateBackupVaultCommand, serializeAws_restJson1CreateBackupVaultCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateBackupVaultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateBackupVaultCommand = (function (_super) {
7
+ __extends(CreateBackupVaultCommand, _super);
8
+ function CreateBackupVaultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateBackupVaultCommand.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 = "CreateBackupVaultCommand";
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 = "CreateBackupVaultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateBackupVaultInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateBackupVaultOutputFilterSensitiveLog,
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
+ CreateBackupVaultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateBackupVaultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateBackupVaultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateBackupVaultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateBackupVaultCommand;
38
+ }($Command));
39
+ export { CreateBackupVaultCommand };
@@ -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 { CreateFrameworkInputFilterSensitiveLog, CreateFrameworkOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateFrameworkCommand, serializeAws_restJson1CreateFrameworkCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateFrameworkCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFrameworkCommand = (function (_super) {
7
+ __extends(CreateFrameworkCommand, _super);
8
+ function CreateFrameworkCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFrameworkCommand.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 = "CreateFrameworkCommand";
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 = "CreateFrameworkCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFrameworkInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFrameworkOutputFilterSensitiveLog,
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
+ CreateFrameworkCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateFrameworkCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFrameworkCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateFrameworkCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFrameworkCommand;
38
+ }($Command));
39
+ export { CreateFrameworkCommand };
@@ -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 { CreateReportPlanInputFilterSensitiveLog, CreateReportPlanOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateReportPlanCommand, serializeAws_restJson1CreateReportPlanCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateReportPlanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateReportPlanCommand = (function (_super) {
7
+ __extends(CreateReportPlanCommand, _super);
8
+ function CreateReportPlanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReportPlanCommand.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 = "CreateReportPlanCommand";
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 = "CreateReportPlanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateReportPlanInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateReportPlanOutputFilterSensitiveLog,
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
+ CreateReportPlanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateReportPlanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReportPlanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateReportPlanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReportPlanCommand;
38
+ }($Command));
39
+ export { CreateReportPlanCommand };
@@ -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 { DeleteBackupPlanInputFilterSensitiveLog, DeleteBackupPlanOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBackupPlanCommand, serializeAws_restJson1DeleteBackupPlanCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBackupPlanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBackupPlanCommand = (function (_super) {
7
+ __extends(DeleteBackupPlanCommand, _super);
8
+ function DeleteBackupPlanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBackupPlanCommand.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 = "DeleteBackupPlanCommand";
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 = "DeleteBackupPlanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBackupPlanInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBackupPlanOutputFilterSensitiveLog,
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
+ DeleteBackupPlanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBackupPlanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBackupPlanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBackupPlanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBackupPlanCommand;
38
+ }($Command));
39
+ export { DeleteBackupPlanCommand };
@@ -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 { DeleteBackupSelectionInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBackupSelectionCommand, serializeAws_restJson1DeleteBackupSelectionCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBackupSelectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBackupSelectionCommand = (function (_super) {
7
+ __extends(DeleteBackupSelectionCommand, _super);
8
+ function DeleteBackupSelectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBackupSelectionCommand.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 = "DeleteBackupSelectionCommand";
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 = "DeleteBackupSelectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBackupSelectionInputFilterSensitiveLog,
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
+ DeleteBackupSelectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBackupSelectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBackupSelectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBackupSelectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBackupSelectionCommand;
38
+ }($Command));
39
+ export { DeleteBackupSelectionCommand };
@@ -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 { DeleteBackupVaultAccessPolicyInputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBackupVaultAccessPolicyCommand, serializeAws_restJson1DeleteBackupVaultAccessPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBackupVaultAccessPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBackupVaultAccessPolicyCommand = (function (_super) {
7
+ __extends(DeleteBackupVaultAccessPolicyCommand, _super);
8
+ function DeleteBackupVaultAccessPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBackupVaultAccessPolicyCommand.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 = "DeleteBackupVaultAccessPolicyCommand";
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 = "DeleteBackupVaultAccessPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBackupVaultAccessPolicyInputFilterSensitiveLog,
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
+ DeleteBackupVaultAccessPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBackupVaultAccessPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBackupVaultAccessPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBackupVaultAccessPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBackupVaultAccessPolicyCommand;
38
+ }($Command));
39
+ export { DeleteBackupVaultAccessPolicyCommand };
@@ -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 { DeleteBackupVaultInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBackupVaultCommand, serializeAws_restJson1DeleteBackupVaultCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBackupVaultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBackupVaultCommand = (function (_super) {
7
+ __extends(DeleteBackupVaultCommand, _super);
8
+ function DeleteBackupVaultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBackupVaultCommand.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 = "DeleteBackupVaultCommand";
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 = "DeleteBackupVaultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBackupVaultInputFilterSensitiveLog,
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
+ DeleteBackupVaultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBackupVaultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBackupVaultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBackupVaultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBackupVaultCommand;
38
+ }($Command));
39
+ export { DeleteBackupVaultCommand };