@aws-sdk/client-backup 3.36.0 → 3.39.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 (178) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Backup.js +0 -7
  3. package/dist-cjs/BackupClient.js +0 -12
  4. package/dist-cjs/commands/CreateBackupPlanCommand.js +0 -28
  5. package/dist-cjs/commands/CreateBackupSelectionCommand.js +0 -64
  6. package/dist-cjs/commands/CreateBackupVaultCommand.js +0 -30
  7. package/dist-cjs/commands/CreateFrameworkCommand.js +0 -27
  8. package/dist-cjs/commands/CreateReportPlanCommand.js +0 -27
  9. package/dist-cjs/commands/DeleteBackupPlanCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteBackupSelectionCommand.js +0 -25
  11. package/dist-cjs/commands/DeleteBackupVaultAccessPolicyCommand.js +0 -24
  12. package/dist-cjs/commands/DeleteBackupVaultCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteBackupVaultLockConfigurationCommand.js +0 -29
  14. package/dist-cjs/commands/DeleteBackupVaultNotificationsCommand.js +0 -24
  15. package/dist-cjs/commands/DeleteFrameworkCommand.js +0 -24
  16. package/dist-cjs/commands/DeleteRecoveryPointCommand.js +0 -26
  17. package/dist-cjs/commands/DeleteReportPlanCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeBackupJobCommand.js +0 -24
  19. package/dist-cjs/commands/DescribeBackupVaultCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeCopyJobCommand.js +0 -24
  21. package/dist-cjs/commands/DescribeFrameworkCommand.js +0 -24
  22. package/dist-cjs/commands/DescribeGlobalSettingsCommand.js +0 -27
  23. package/dist-cjs/commands/DescribeProtectedResourceCommand.js +0 -26
  24. package/dist-cjs/commands/DescribeRecoveryPointCommand.js +0 -25
  25. package/dist-cjs/commands/DescribeRegionSettingsCommand.js +0 -28
  26. package/dist-cjs/commands/DescribeReportJobCommand.js +0 -25
  27. package/dist-cjs/commands/DescribeReportPlanCommand.js +0 -24
  28. package/dist-cjs/commands/DescribeRestoreJobCommand.js +0 -24
  29. package/dist-cjs/commands/DisassociateRecoveryPointCommand.js +0 -27
  30. package/dist-cjs/commands/ExportBackupPlanTemplateCommand.js +0 -24
  31. package/dist-cjs/commands/GetBackupPlanCommand.js +0 -25
  32. package/dist-cjs/commands/GetBackupPlanFromJSONCommand.js +0 -24
  33. package/dist-cjs/commands/GetBackupPlanFromTemplateCommand.js +0 -24
  34. package/dist-cjs/commands/GetBackupSelectionCommand.js +0 -25
  35. package/dist-cjs/commands/GetBackupVaultAccessPolicyCommand.js +0 -25
  36. package/dist-cjs/commands/GetBackupVaultNotificationsCommand.js +0 -24
  37. package/dist-cjs/commands/GetRecoveryPointRestoreMetadataCommand.js +0 -24
  38. package/dist-cjs/commands/GetSupportedResourceTypesCommand.js +0 -24
  39. package/dist-cjs/commands/ListBackupJobsCommand.js +0 -25
  40. package/dist-cjs/commands/ListBackupPlanTemplatesCommand.js +0 -25
  41. package/dist-cjs/commands/ListBackupPlanVersionsCommand.js +0 -25
  42. package/dist-cjs/commands/ListBackupPlansCommand.js +0 -26
  43. package/dist-cjs/commands/ListBackupSelectionsCommand.js +0 -25
  44. package/dist-cjs/commands/ListBackupVaultsCommand.js +0 -25
  45. package/dist-cjs/commands/ListCopyJobsCommand.js +0 -24
  46. package/dist-cjs/commands/ListFrameworksCommand.js +0 -24
  47. package/dist-cjs/commands/ListProtectedResourcesCommand.js +0 -26
  48. package/dist-cjs/commands/ListRecoveryPointsByBackupVaultCommand.js +0 -24
  49. package/dist-cjs/commands/ListRecoveryPointsByResourceCommand.js +0 -29
  50. package/dist-cjs/commands/ListReportJobsCommand.js +0 -24
  51. package/dist-cjs/commands/ListReportPlansCommand.js +0 -25
  52. package/dist-cjs/commands/ListRestoreJobsCommand.js +0 -25
  53. package/dist-cjs/commands/ListTagsCommand.js +0 -30
  54. package/dist-cjs/commands/PutBackupVaultAccessPolicyCommand.js +0 -26
  55. package/dist-cjs/commands/PutBackupVaultLockConfigurationCommand.js +0 -28
  56. package/dist-cjs/commands/PutBackupVaultNotificationsCommand.js +0 -24
  57. package/dist-cjs/commands/StartBackupJobCommand.js +0 -24
  58. package/dist-cjs/commands/StartCopyJobCommand.js +0 -25
  59. package/dist-cjs/commands/StartReportJobCommand.js +0 -24
  60. package/dist-cjs/commands/StartRestoreJobCommand.js +0 -24
  61. package/dist-cjs/commands/StopBackupJobCommand.js +0 -24
  62. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  63. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  64. package/dist-cjs/commands/UpdateBackupPlanCommand.js +0 -26
  65. package/dist-cjs/commands/UpdateFrameworkCommand.js +0 -25
  66. package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +0 -26
  67. package/dist-cjs/commands/UpdateRecoveryPointLifecycleCommand.js +0 -33
  68. package/dist-cjs/commands/UpdateRegionSettingsCommand.js +0 -29
  69. package/dist-cjs/commands/UpdateReportPlanCommand.js +0 -25
  70. package/dist-cjs/commands/index.js +69 -0
  71. package/dist-cjs/endpoints.js +6 -1
  72. package/dist-cjs/index.js +4 -84
  73. package/dist-cjs/models/models_0.js +0 -462
  74. package/dist-cjs/pagination/ListBackupJobsPaginator.js +0 -10
  75. package/dist-cjs/pagination/ListBackupPlanTemplatesPaginator.js +0 -10
  76. package/dist-cjs/pagination/ListBackupPlanVersionsPaginator.js +0 -10
  77. package/dist-cjs/pagination/ListBackupPlansPaginator.js +0 -10
  78. package/dist-cjs/pagination/ListBackupSelectionsPaginator.js +0 -10
  79. package/dist-cjs/pagination/ListBackupVaultsPaginator.js +0 -10
  80. package/dist-cjs/pagination/ListCopyJobsPaginator.js +0 -10
  81. package/dist-cjs/pagination/ListFrameworksPaginator.js +0 -10
  82. package/dist-cjs/pagination/ListProtectedResourcesPaginator.js +0 -10
  83. package/dist-cjs/pagination/ListRecoveryPointsByBackupVaultPaginator.js +0 -10
  84. package/dist-cjs/pagination/ListRecoveryPointsByResourcePaginator.js +0 -10
  85. package/dist-cjs/pagination/ListReportJobsPaginator.js +0 -10
  86. package/dist-cjs/pagination/ListReportPlansPaginator.js +0 -10
  87. package/dist-cjs/pagination/ListRestoreJobsPaginator.js +0 -10
  88. package/dist-cjs/pagination/ListTagsPaginator.js +0 -10
  89. package/dist-cjs/pagination/index.js +19 -0
  90. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  91. package/dist-cjs/runtimeConfig.browser.js +1 -5
  92. package/dist-cjs/runtimeConfig.js +1 -5
  93. package/dist-cjs/runtimeConfig.native.js +0 -3
  94. package/dist-cjs/runtimeConfig.shared.js +0 -3
  95. package/dist-es/commands/index.js +66 -0
  96. package/dist-es/endpoints.js +6 -1
  97. package/dist-es/index.js +4 -84
  98. package/dist-es/pagination/index.js +16 -0
  99. package/dist-types/commands/index.d.ts +66 -0
  100. package/dist-types/index.d.ts +4 -84
  101. package/dist-types/pagination/index.d.ts +16 -0
  102. package/dist-types/ts3.4/Backup.d.ts +67 -340
  103. package/dist-types/ts3.4/BackupClient.d.ts +24 -93
  104. package/dist-types/ts3.4/commands/CreateBackupPlanCommand.d.ts +2 -24
  105. package/dist-types/ts3.4/commands/CreateBackupSelectionCommand.d.ts +2 -60
  106. package/dist-types/ts3.4/commands/CreateBackupVaultCommand.d.ts +2 -26
  107. package/dist-types/ts3.4/commands/CreateFrameworkCommand.d.ts +2 -23
  108. package/dist-types/ts3.4/commands/CreateReportPlanCommand.d.ts +2 -23
  109. package/dist-types/ts3.4/commands/DeleteBackupPlanCommand.d.ts +2 -22
  110. package/dist-types/ts3.4/commands/DeleteBackupSelectionCommand.d.ts +2 -21
  111. package/dist-types/ts3.4/commands/DeleteBackupVaultAccessPolicyCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/DeleteBackupVaultCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/DeleteBackupVaultLockConfigurationCommand.d.ts +2 -25
  114. package/dist-types/ts3.4/commands/DeleteBackupVaultNotificationsCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/DeleteFrameworkCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/DeleteRecoveryPointCommand.d.ts +2 -22
  117. package/dist-types/ts3.4/commands/DeleteReportPlanCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/DescribeBackupJobCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/DescribeBackupVaultCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/DescribeCopyJobCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/DescribeFrameworkCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/DescribeGlobalSettingsCommand.d.ts +2 -23
  123. package/dist-types/ts3.4/commands/DescribeProtectedResourceCommand.d.ts +2 -22
  124. package/dist-types/ts3.4/commands/DescribeRecoveryPointCommand.d.ts +2 -21
  125. package/dist-types/ts3.4/commands/DescribeRegionSettingsCommand.d.ts +2 -24
  126. package/dist-types/ts3.4/commands/DescribeReportJobCommand.d.ts +2 -21
  127. package/dist-types/ts3.4/commands/DescribeReportPlanCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/DescribeRestoreJobCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/DisassociateRecoveryPointCommand.d.ts +2 -23
  130. package/dist-types/ts3.4/commands/ExportBackupPlanTemplateCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/GetBackupPlanCommand.d.ts +2 -21
  132. package/dist-types/ts3.4/commands/GetBackupPlanFromJSONCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/GetBackupPlanFromTemplateCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/GetBackupSelectionCommand.d.ts +2 -21
  135. package/dist-types/ts3.4/commands/GetBackupVaultAccessPolicyCommand.d.ts +2 -21
  136. package/dist-types/ts3.4/commands/GetBackupVaultNotificationsCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/GetSupportedResourceTypesCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/ListBackupJobsCommand.d.ts +2 -21
  140. package/dist-types/ts3.4/commands/ListBackupPlanTemplatesCommand.d.ts +2 -21
  141. package/dist-types/ts3.4/commands/ListBackupPlanVersionsCommand.d.ts +2 -21
  142. package/dist-types/ts3.4/commands/ListBackupPlansCommand.d.ts +2 -22
  143. package/dist-types/ts3.4/commands/ListBackupSelectionsCommand.d.ts +2 -21
  144. package/dist-types/ts3.4/commands/ListBackupVaultsCommand.d.ts +2 -21
  145. package/dist-types/ts3.4/commands/ListCopyJobsCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/ListFrameworksCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/ListProtectedResourcesCommand.d.ts +2 -22
  148. package/dist-types/ts3.4/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/ListRecoveryPointsByResourceCommand.d.ts +2 -25
  150. package/dist-types/ts3.4/commands/ListReportJobsCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/ListReportPlansCommand.d.ts +2 -21
  152. package/dist-types/ts3.4/commands/ListRestoreJobsCommand.d.ts +2 -21
  153. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -26
  154. package/dist-types/ts3.4/commands/PutBackupVaultAccessPolicyCommand.d.ts +2 -22
  155. package/dist-types/ts3.4/commands/PutBackupVaultLockConfigurationCommand.d.ts +2 -24
  156. package/dist-types/ts3.4/commands/PutBackupVaultNotificationsCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/StartBackupJobCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/StartCopyJobCommand.d.ts +2 -21
  159. package/dist-types/ts3.4/commands/StartReportJobCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/StartRestoreJobCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/StopBackupJobCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  163. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
  164. package/dist-types/ts3.4/commands/UpdateBackupPlanCommand.d.ts +2 -22
  165. package/dist-types/ts3.4/commands/UpdateFrameworkCommand.d.ts +2 -21
  166. package/dist-types/ts3.4/commands/UpdateGlobalSettingsCommand.d.ts +2 -22
  167. package/dist-types/ts3.4/commands/UpdateRecoveryPointLifecycleCommand.d.ts +2 -29
  168. package/dist-types/ts3.4/commands/UpdateRegionSettingsCommand.d.ts +2 -25
  169. package/dist-types/ts3.4/commands/UpdateReportPlanCommand.d.ts +2 -21
  170. package/dist-types/ts3.4/commands/index.d.ts +66 -0
  171. package/dist-types/ts3.4/index.d.ts +4 -84
  172. package/dist-types/ts3.4/models/models_0.d.ts +751 -3372
  173. package/dist-types/ts3.4/pagination/index.d.ts +16 -0
  174. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  175. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  176. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  177. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  178. package/package.json +32 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-backup
9
+
10
+
11
+
12
+
13
+
14
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
20
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
27
+
28
+
29
+ ### Features
30
+
31
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
32
+
33
+
34
+
35
+
36
+
37
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
49
 
8
50
 
@@ -68,13 +68,6 @@ const UpdateGlobalSettingsCommand_1 = require("./commands/UpdateGlobalSettingsCo
68
68
  const UpdateRecoveryPointLifecycleCommand_1 = require("./commands/UpdateRecoveryPointLifecycleCommand");
69
69
  const UpdateRegionSettingsCommand_1 = require("./commands/UpdateRegionSettingsCommand");
70
70
  const UpdateReportPlanCommand_1 = require("./commands/UpdateReportPlanCommand");
71
- /**
72
- * <fullname>Backup</fullname>
73
- * <p>Backup is a unified backup service designed to protect Amazon Web Services
74
- * services and their associated data. Backup simplifies the creation, migration,
75
- * restoration, and deletion of backups, while also providing reporting and
76
- * auditing.</p>
77
- */
78
71
  class Backup extends BackupClient_1.BackupClient {
79
72
  createBackupPlan(args, optionsOrCb, cb) {
80
73
  const command = new CreateBackupPlanCommand_1.CreateBackupPlanCommand(args);
@@ -10,13 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>Backup</fullname>
15
- * <p>Backup is a unified backup service designed to protect Amazon Web Services
16
- * services and their associated data. Backup simplifies the creation, migration,
17
- * restoration, and deletion of backups, while also providing reporting and
18
- * auditing.</p>
19
- */
20
13
  class BackupClient extends smithy_client_1.Client {
21
14
  constructor(configuration) {
22
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -35,11 +28,6 @@ class BackupClient extends smithy_client_1.Client {
35
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
36
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
37
30
  }
38
- /**
39
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
40
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
41
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
42
- */
43
31
  destroy() {
44
32
  super.destroy();
45
33
  }
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a backup plan using a backup plan name and backup rules. A backup plan is a
10
- * document that contains information that Backup uses to schedule tasks that
11
- * create recovery points for resources.</p>
12
- * <p>If you call <code>CreateBackupPlan</code> with a plan that already exists, you receive
13
- * an <code>AlreadyExistsException</code> exception.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { BackupClient, CreateBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
18
- * // const { BackupClient, CreateBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
19
- * const client = new BackupClient(config);
20
- * const command = new CreateBackupPlanCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link CreateBackupPlanCommandInput} for command's `input` shape.
25
- * @see {@link CreateBackupPlanCommandOutput} for command's `response` shape.
26
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class CreateBackupPlanCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,75 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a JSON document that specifies a set of resources to assign to a backup plan.
10
- * Resources can be included by specifying patterns for a <code>ListOfTags</code> and selected
11
- * <code>Resources</code>. </p>
12
- * <p>For example, consider the following patterns:</p>
13
- * <ul>
14
- * <li>
15
- * <p>
16
- * <code>Resources: "arn:aws:ec2:region:account-id:volume/volume-id"</code>
17
- * </p>
18
- * </li>
19
- * <li>
20
- * <p>
21
- * <code>ConditionKey:"department"</code>
22
- * </p>
23
- * <p>
24
- * <code>ConditionValue:"finance"</code>
25
- * </p>
26
- * <p>
27
- * <code>ConditionType:"StringEquals"</code>
28
- * </p>
29
- * </li>
30
- * <li>
31
- * <p>
32
- * <code>ConditionKey:"importance"</code>
33
- * </p>
34
- * <p>
35
- * <code>ConditionValue:"critical"</code>
36
- * </p>
37
- * <p>
38
- * <code>ConditionType:"StringEquals"</code>
39
- * </p>
40
- * </li>
41
- * </ul>
42
- * <p>Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS)
43
- * volumes that are tagged as <code>"department=finance"</code>,
44
- * <code>"importance=critical"</code>, in addition to an EBS volume with the specified
45
- * volume ID.</p>
46
- * <p>Resources and conditions are additive in that all resources that match the pattern are
47
- * selected. This shouldn't be confused with a logical AND, where all conditions must match.
48
- * The matching patterns are logically put together using the OR operator.
49
- * In other words, all patterns that match are selected for backup.</p>
50
- * @example
51
- * Use a bare-bones client and the command you need to make an API call.
52
- * ```javascript
53
- * import { BackupClient, CreateBackupSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
54
- * // const { BackupClient, CreateBackupSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
55
- * const client = new BackupClient(config);
56
- * const command = new CreateBackupSelectionCommand(input);
57
- * const response = await client.send(command);
58
- * ```
59
- *
60
- * @see {@link CreateBackupSelectionCommandInput} for command's `input` shape.
61
- * @see {@link CreateBackupSelectionCommandOutput} for command's `response` shape.
62
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
63
- *
64
- */
65
8
  class CreateBackupSelectionCommand extends smithy_client_1.Command {
66
- // Start section: command_properties
67
- // End section: command_properties
68
9
  constructor(input) {
69
- // Start section: command_constructor
70
10
  super();
71
11
  this.input = input;
72
- // End section: command_constructor
73
12
  }
74
- /**
75
- * @internal
76
- */
77
13
  resolveMiddleware(clientStack, configuration, options) {
78
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
79
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a logical container where backups are stored. A <code>CreateBackupVault</code>
10
- * request includes a name, optionally one or more resource tags, an encryption key, and a
11
- * request ID.</p>
12
- * <note>
13
- * <p>Do not include sensitive data, such as passport numbers, in the name of a backup
14
- * vault.</p>
15
- * </note>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { BackupClient, CreateBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
20
- * // const { BackupClient, CreateBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
21
- * const client = new BackupClient(config);
22
- * const command = new CreateBackupVaultCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link CreateBackupVaultCommandInput} for command's `input` shape.
27
- * @see {@link CreateBackupVaultCommandOutput} for command's `response` shape.
28
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class CreateBackupVaultCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a framework with one or more controls. A framework is a collection of controls
10
- * that you can use to evaluate your backup practices. By using pre-built customizable
11
- * controls to define your policies, you can evaluate whether your backup practices comply
12
- * with your policies and which resources are not yet in compliance.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { BackupClient, CreateFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
17
- * // const { BackupClient, CreateFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
18
- * const client = new BackupClient(config);
19
- * const command = new CreateFrameworkCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link CreateFrameworkCommandInput} for command's `input` shape.
24
- * @see {@link CreateFrameworkCommandOutput} for command's `response` shape.
25
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class CreateFrameworkCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a report plan. A report plan is a document that contains information about the
10
- * contents of the report and where Backup will deliver it.</p>
11
- * <p>If you call <code>CreateReportPlan</code> with a plan that already exists, you receive
12
- * an <code>AlreadyExistsException</code> exception.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { BackupClient, CreateReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
17
- * // const { BackupClient, CreateReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
18
- * const client = new BackupClient(config);
19
- * const command = new CreateReportPlanCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link CreateReportPlanCommandInput} for command's `input` shape.
24
- * @see {@link CreateReportPlanCommandOutput} for command's `response` shape.
25
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class CreateReportPlanCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes a backup plan. A backup plan can only be deleted after all associated selections
10
- * of resources have been deleted. Deleting a backup plan deletes the current version of a
11
- * backup plan. Previous versions, if any, will still exist.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { BackupClient, DeleteBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
16
- * // const { BackupClient, DeleteBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
17
- * const client = new BackupClient(config);
18
- * const command = new DeleteBackupPlanCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteBackupPlanCommandInput} for command's `input` shape.
23
- * @see {@link DeleteBackupPlanCommandOutput} for command's `response` shape.
24
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteBackupPlanCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the resource selection associated with a backup plan that is specified by the
10
- * <code>SelectionId</code>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { BackupClient, DeleteBackupSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
15
- * // const { BackupClient, DeleteBackupSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
16
- * const client = new BackupClient(config);
17
- * const command = new DeleteBackupSelectionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteBackupSelectionCommandInput} for command's `input` shape.
22
- * @see {@link DeleteBackupSelectionCommandOutput} for command's `response` shape.
23
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteBackupSelectionCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the policy document that manages permissions on a backup vault.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { BackupClient, DeleteBackupVaultAccessPolicyCommand } from "@aws-sdk/client-backup"; // ES Modules import
14
- * // const { BackupClient, DeleteBackupVaultAccessPolicyCommand } = require("@aws-sdk/client-backup"); // CommonJS import
15
- * const client = new BackupClient(config);
16
- * const command = new DeleteBackupVaultAccessPolicyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteBackupVaultAccessPolicyCommandInput} for command's `input` shape.
21
- * @see {@link DeleteBackupVaultAccessPolicyCommandOutput} for command's `response` shape.
22
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteBackupVaultAccessPolicyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the backup vault identified by its name. A vault can be deleted only if it is
10
- * empty.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { BackupClient, DeleteBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
15
- * // const { BackupClient, DeleteBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
16
- * const client = new BackupClient(config);
17
- * const command = new DeleteBackupVaultCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteBackupVaultCommandInput} for command's `input` shape.
22
- * @see {@link DeleteBackupVaultCommandOutput} for command's `response` shape.
23
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteBackupVaultCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes Backup Vault Lock from a backup vault specified by a backup vault
10
- * name.</p>
11
- * <p>If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using
12
- * API operations, and you will receive an <code>InvalidRequestException</code> if you attempt
13
- * to do so. For more information, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html">Vault Lock</a> in the
14
- * <i>Backup Developer Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { BackupClient, DeleteBackupVaultLockConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import
19
- * // const { BackupClient, DeleteBackupVaultLockConfigurationCommand } = require("@aws-sdk/client-backup"); // CommonJS import
20
- * const client = new BackupClient(config);
21
- * const command = new DeleteBackupVaultLockConfigurationCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DeleteBackupVaultLockConfigurationCommandInput} for command's `input` shape.
26
- * @see {@link DeleteBackupVaultLockConfigurationCommandOutput} for command's `response` shape.
27
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class DeleteBackupVaultLockConfigurationCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes event notifications for the specified backup vault.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { BackupClient, DeleteBackupVaultNotificationsCommand } from "@aws-sdk/client-backup"; // ES Modules import
14
- * // const { BackupClient, DeleteBackupVaultNotificationsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
15
- * const client = new BackupClient(config);
16
- * const command = new DeleteBackupVaultNotificationsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteBackupVaultNotificationsCommandInput} for command's `input` shape.
21
- * @see {@link DeleteBackupVaultNotificationsCommandOutput} for command's `response` shape.
22
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteBackupVaultNotificationsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the framework specified by a framework name.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { BackupClient, DeleteFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
14
- * // const { BackupClient, DeleteFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
15
- * const client = new BackupClient(config);
16
- * const command = new DeleteFrameworkCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteFrameworkCommandInput} for command's `input` shape.
21
- * @see {@link DeleteFrameworkCommandOutput} for command's `response` shape.
22
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteFrameworkCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the recovery point specified by a recovery point ID.</p>
10
- * <p>If the recovery point ID belongs to a continuous backup, calling this endpoint deletes
11
- * the existing continuous backup and stops future continuous backup.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { BackupClient, DeleteRecoveryPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
16
- * // const { BackupClient, DeleteRecoveryPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
17
- * const client = new BackupClient(config);
18
- * const command = new DeleteRecoveryPointCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteRecoveryPointCommandInput} for command's `input` shape.
23
- * @see {@link DeleteRecoveryPointCommandOutput} for command's `response` shape.
24
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteRecoveryPointCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);