@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
@@ -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>Updates the current service opt-in settings for the Region. If service-opt-in is enabled
10
- * for a service, Backup tries to protect that service's resources in this Region,
11
- * when the resource is included in an on-demand backup or scheduled backup plan. Otherwise,
12
- * Backup does not try to protect that service's resources in this Region. Use
13
- * the <code>DescribeRegionSettings</code> API to determine the resource types that are
14
- * supported.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { BackupClient, UpdateRegionSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
19
- * // const { BackupClient, UpdateRegionSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
20
- * const client = new BackupClient(config);
21
- * const command = new UpdateRegionSettingsCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link UpdateRegionSettingsCommandInput} for command's `input` shape.
26
- * @see {@link UpdateRegionSettingsCommandOutput} for command's `response` shape.
27
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class UpdateRegionSettingsCommand 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,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>Updates an existing report plan identified by its <code>ReportPlanName</code> with the
10
- * input document in JSON format.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { BackupClient, UpdateReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
15
- * // const { BackupClient, UpdateReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
16
- * const client = new BackupClient(config);
17
- * const command = new UpdateReportPlanCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link UpdateReportPlanCommandInput} for command's `input` shape.
22
- * @see {@link UpdateReportPlanCommandOutput} for command's `response` shape.
23
- * @see {@link BackupClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class UpdateReportPlanCommand 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);
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateBackupPlanCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateBackupSelectionCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateBackupVaultCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateFrameworkCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateReportPlanCommand"), exports);
9
+ tslib_1.__exportStar(require("./DeleteBackupPlanCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteBackupSelectionCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteBackupVaultAccessPolicyCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteBackupVaultCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteBackupVaultLockConfigurationCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeleteBackupVaultNotificationsCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeleteFrameworkCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteRecoveryPointCommand"), exports);
17
+ tslib_1.__exportStar(require("./DeleteReportPlanCommand"), exports);
18
+ tslib_1.__exportStar(require("./DescribeBackupJobCommand"), exports);
19
+ tslib_1.__exportStar(require("./DescribeBackupVaultCommand"), exports);
20
+ tslib_1.__exportStar(require("./DescribeCopyJobCommand"), exports);
21
+ tslib_1.__exportStar(require("./DescribeFrameworkCommand"), exports);
22
+ tslib_1.__exportStar(require("./DescribeGlobalSettingsCommand"), exports);
23
+ tslib_1.__exportStar(require("./DescribeProtectedResourceCommand"), exports);
24
+ tslib_1.__exportStar(require("./DescribeRecoveryPointCommand"), exports);
25
+ tslib_1.__exportStar(require("./DescribeRegionSettingsCommand"), exports);
26
+ tslib_1.__exportStar(require("./DescribeReportJobCommand"), exports);
27
+ tslib_1.__exportStar(require("./DescribeReportPlanCommand"), exports);
28
+ tslib_1.__exportStar(require("./DescribeRestoreJobCommand"), exports);
29
+ tslib_1.__exportStar(require("./DisassociateRecoveryPointCommand"), exports);
30
+ tslib_1.__exportStar(require("./ExportBackupPlanTemplateCommand"), exports);
31
+ tslib_1.__exportStar(require("./GetBackupPlanCommand"), exports);
32
+ tslib_1.__exportStar(require("./GetBackupPlanFromJSONCommand"), exports);
33
+ tslib_1.__exportStar(require("./GetBackupPlanFromTemplateCommand"), exports);
34
+ tslib_1.__exportStar(require("./GetBackupSelectionCommand"), exports);
35
+ tslib_1.__exportStar(require("./GetBackupVaultAccessPolicyCommand"), exports);
36
+ tslib_1.__exportStar(require("./GetBackupVaultNotificationsCommand"), exports);
37
+ tslib_1.__exportStar(require("./GetRecoveryPointRestoreMetadataCommand"), exports);
38
+ tslib_1.__exportStar(require("./GetSupportedResourceTypesCommand"), exports);
39
+ tslib_1.__exportStar(require("./ListBackupJobsCommand"), exports);
40
+ tslib_1.__exportStar(require("./ListBackupPlanTemplatesCommand"), exports);
41
+ tslib_1.__exportStar(require("./ListBackupPlanVersionsCommand"), exports);
42
+ tslib_1.__exportStar(require("./ListBackupPlansCommand"), exports);
43
+ tslib_1.__exportStar(require("./ListBackupSelectionsCommand"), exports);
44
+ tslib_1.__exportStar(require("./ListBackupVaultsCommand"), exports);
45
+ tslib_1.__exportStar(require("./ListCopyJobsCommand"), exports);
46
+ tslib_1.__exportStar(require("./ListFrameworksCommand"), exports);
47
+ tslib_1.__exportStar(require("./ListProtectedResourcesCommand"), exports);
48
+ tslib_1.__exportStar(require("./ListRecoveryPointsByBackupVaultCommand"), exports);
49
+ tslib_1.__exportStar(require("./ListRecoveryPointsByResourceCommand"), exports);
50
+ tslib_1.__exportStar(require("./ListReportJobsCommand"), exports);
51
+ tslib_1.__exportStar(require("./ListReportPlansCommand"), exports);
52
+ tslib_1.__exportStar(require("./ListRestoreJobsCommand"), exports);
53
+ tslib_1.__exportStar(require("./ListTagsCommand"), exports);
54
+ tslib_1.__exportStar(require("./PutBackupVaultAccessPolicyCommand"), exports);
55
+ tslib_1.__exportStar(require("./PutBackupVaultLockConfigurationCommand"), exports);
56
+ tslib_1.__exportStar(require("./PutBackupVaultNotificationsCommand"), exports);
57
+ tslib_1.__exportStar(require("./StartBackupJobCommand"), exports);
58
+ tslib_1.__exportStar(require("./StartCopyJobCommand"), exports);
59
+ tslib_1.__exportStar(require("./StartReportJobCommand"), exports);
60
+ tslib_1.__exportStar(require("./StartRestoreJobCommand"), exports);
61
+ tslib_1.__exportStar(require("./StopBackupJobCommand"), exports);
62
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
63
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
64
+ tslib_1.__exportStar(require("./UpdateBackupPlanCommand"), exports);
65
+ tslib_1.__exportStar(require("./UpdateFrameworkCommand"), exports);
66
+ tslib_1.__exportStar(require("./UpdateGlobalSettingsCommand"), exports);
67
+ tslib_1.__exportStar(require("./UpdateRecoveryPointLifecycleCommand"), exports);
68
+ tslib_1.__exportStar(require("./UpdateRegionSettingsCommand"), exports);
69
+ tslib_1.__exportStar(require("./UpdateReportPlanCommand"), exports);
@@ -28,22 +28,27 @@ const partitionHash = {
28
28
  "us-west-1",
29
29
  "us-west-2",
30
30
  ],
31
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
31
32
  hostname: "backup.{region}.amazonaws.com",
32
33
  },
33
34
  "aws-cn": {
34
35
  regions: ["cn-north-1", "cn-northwest-1"],
36
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
35
37
  hostname: "backup.{region}.amazonaws.com.cn",
36
38
  },
37
39
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
40
+ regions: ["us-iso-east-1", "us-iso-west-1"],
41
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
39
42
  hostname: "backup.{region}.c2s.ic.gov",
40
43
  },
41
44
  "aws-iso-b": {
42
45
  regions: ["us-isob-east-1"],
46
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
43
47
  hostname: "backup.{region}.sc2s.sgov.gov",
44
48
  },
45
49
  "aws-us-gov": {
46
50
  regions: ["us-gov-east-1", "us-gov-west-1"],
51
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
47
52
  hostname: "backup.{region}.amazonaws.com",
48
53
  },
49
54
  };
package/dist-cjs/index.js CHANGED
@@ -1,88 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./BackupClient"), exports);
5
4
  tslib_1.__exportStar(require("./Backup"), exports);
6
- tslib_1.__exportStar(require("./commands/CreateBackupPlanCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/CreateBackupSelectionCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateBackupVaultCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateFrameworkCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateReportPlanCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/DeleteBackupPlanCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/DeleteBackupSelectionCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DeleteBackupVaultCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/DeleteBackupVaultAccessPolicyCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DeleteBackupVaultLockConfigurationCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DeleteBackupVaultNotificationsCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DeleteFrameworkCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DeleteRecoveryPointCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DeleteReportPlanCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DescribeBackupJobCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DescribeBackupVaultCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DescribeCopyJobCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DescribeFrameworkCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DescribeGlobalSettingsCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/DescribeProtectedResourceCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/DescribeRecoveryPointCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/DescribeRegionSettingsCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/DescribeReportJobCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/DescribeReportPlanCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/DescribeRestoreJobCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/DisassociateRecoveryPointCommand"), exports);
32
- tslib_1.__exportStar(require("./commands/ExportBackupPlanTemplateCommand"), exports);
33
- tslib_1.__exportStar(require("./commands/GetBackupPlanCommand"), exports);
34
- tslib_1.__exportStar(require("./commands/GetBackupPlanFromJSONCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/GetBackupPlanFromTemplateCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/GetBackupSelectionCommand"), exports);
37
- tslib_1.__exportStar(require("./commands/GetBackupVaultAccessPolicyCommand"), exports);
38
- tslib_1.__exportStar(require("./commands/GetBackupVaultNotificationsCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/GetRecoveryPointRestoreMetadataCommand"), exports);
40
- tslib_1.__exportStar(require("./commands/GetSupportedResourceTypesCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/ListBackupJobsCommand"), exports);
42
- tslib_1.__exportStar(require("./pagination/ListBackupJobsPaginator"), exports);
43
- tslib_1.__exportStar(require("./commands/ListBackupPlansCommand"), exports);
44
- tslib_1.__exportStar(require("./pagination/ListBackupPlansPaginator"), exports);
45
- tslib_1.__exportStar(require("./commands/ListBackupPlanTemplatesCommand"), exports);
46
- tslib_1.__exportStar(require("./pagination/ListBackupPlanTemplatesPaginator"), exports);
47
- tslib_1.__exportStar(require("./commands/ListBackupPlanVersionsCommand"), exports);
48
- tslib_1.__exportStar(require("./pagination/ListBackupPlanVersionsPaginator"), exports);
49
- tslib_1.__exportStar(require("./commands/ListBackupSelectionsCommand"), exports);
50
- tslib_1.__exportStar(require("./pagination/ListBackupSelectionsPaginator"), exports);
51
- tslib_1.__exportStar(require("./commands/ListBackupVaultsCommand"), exports);
52
- tslib_1.__exportStar(require("./pagination/ListBackupVaultsPaginator"), exports);
53
- tslib_1.__exportStar(require("./commands/ListCopyJobsCommand"), exports);
54
- tslib_1.__exportStar(require("./pagination/ListCopyJobsPaginator"), exports);
55
- tslib_1.__exportStar(require("./commands/ListFrameworksCommand"), exports);
56
- tslib_1.__exportStar(require("./pagination/ListFrameworksPaginator"), exports);
57
- tslib_1.__exportStar(require("./commands/ListProtectedResourcesCommand"), exports);
58
- tslib_1.__exportStar(require("./pagination/ListProtectedResourcesPaginator"), exports);
59
- tslib_1.__exportStar(require("./commands/ListRecoveryPointsByBackupVaultCommand"), exports);
60
- tslib_1.__exportStar(require("./pagination/ListRecoveryPointsByBackupVaultPaginator"), exports);
61
- tslib_1.__exportStar(require("./commands/ListRecoveryPointsByResourceCommand"), exports);
62
- tslib_1.__exportStar(require("./pagination/ListRecoveryPointsByResourcePaginator"), exports);
63
- tslib_1.__exportStar(require("./commands/ListReportJobsCommand"), exports);
64
- tslib_1.__exportStar(require("./pagination/ListReportJobsPaginator"), exports);
65
- tslib_1.__exportStar(require("./commands/ListReportPlansCommand"), exports);
66
- tslib_1.__exportStar(require("./pagination/ListReportPlansPaginator"), exports);
67
- tslib_1.__exportStar(require("./commands/ListRestoreJobsCommand"), exports);
68
- tslib_1.__exportStar(require("./pagination/ListRestoreJobsPaginator"), exports);
69
- tslib_1.__exportStar(require("./commands/ListTagsCommand"), exports);
70
- tslib_1.__exportStar(require("./pagination/ListTagsPaginator"), exports);
71
- tslib_1.__exportStar(require("./commands/PutBackupVaultAccessPolicyCommand"), exports);
72
- tslib_1.__exportStar(require("./commands/PutBackupVaultLockConfigurationCommand"), exports);
73
- tslib_1.__exportStar(require("./commands/PutBackupVaultNotificationsCommand"), exports);
74
- tslib_1.__exportStar(require("./commands/StartBackupJobCommand"), exports);
75
- tslib_1.__exportStar(require("./commands/StartCopyJobCommand"), exports);
76
- tslib_1.__exportStar(require("./commands/StartReportJobCommand"), exports);
77
- tslib_1.__exportStar(require("./commands/StartRestoreJobCommand"), exports);
78
- tslib_1.__exportStar(require("./commands/StopBackupJobCommand"), exports);
79
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
80
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
81
- tslib_1.__exportStar(require("./commands/UpdateBackupPlanCommand"), exports);
82
- tslib_1.__exportStar(require("./commands/UpdateFrameworkCommand"), exports);
83
- tslib_1.__exportStar(require("./commands/UpdateGlobalSettingsCommand"), exports);
84
- tslib_1.__exportStar(require("./commands/UpdateRecoveryPointLifecycleCommand"), exports);
85
- tslib_1.__exportStar(require("./commands/UpdateRegionSettingsCommand"), exports);
86
- tslib_1.__exportStar(require("./commands/UpdateReportPlanCommand"), exports);
87
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
88
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./BackupClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);