@aws-sdk/client-backup 3.828.0 → 3.831.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 (51) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +445 -122
  3. package/dist-es/Backup.js +10 -0
  4. package/dist-es/commands/AssociateBackupVaultMpaApprovalTeamCommand.js +23 -0
  5. package/dist-es/commands/CreateRestoreAccessBackupVaultCommand.js +23 -0
  6. package/dist-es/commands/DisassociateBackupVaultMpaApprovalTeamCommand.js +23 -0
  7. package/dist-es/commands/ListRestoreAccessBackupVaultsCommand.js +22 -0
  8. package/dist-es/commands/RevokeRestoreAccessBackupVaultCommand.js +23 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +110 -82
  11. package/dist-es/pagination/ListRestoreAccessBackupVaultsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +195 -14
  14. package/dist-types/Backup.d.ts +35 -0
  15. package/dist-types/BackupClient.d.ts +7 -2
  16. package/dist-types/commands/AssociateBackupVaultMpaApprovalTeamCommand.d.ts +89 -0
  17. package/dist-types/commands/CreateRestoreAccessBackupVaultCommand.d.ts +105 -0
  18. package/dist-types/commands/DescribeBackupVaultCommand.d.ts +11 -1
  19. package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +2 -1
  20. package/dist-types/commands/DisassociateBackupVaultMpaApprovalTeamCommand.d.ts +88 -0
  21. package/dist-types/commands/GetBackupVaultNotificationsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListBackupVaultsCommand.d.ts +2 -2
  23. package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +2 -1
  24. package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/ListRestoreAccessBackupVaultsCommand.d.ts +102 -0
  26. package/dist-types/commands/PutBackupVaultNotificationsCommand.d.ts +1 -1
  27. package/dist-types/commands/RevokeRestoreAccessBackupVaultCommand.d.ts +89 -0
  28. package/dist-types/commands/index.d.ts +5 -0
  29. package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
  30. package/dist-types/models/models_0.d.ts +437 -161
  31. package/dist-types/pagination/ListRestoreAccessBackupVaultsPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +1 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  35. package/dist-types/runtimeConfig.native.d.ts +2 -2
  36. package/dist-types/ts3.4/Backup.d.ts +97 -0
  37. package/dist-types/ts3.4/BackupClient.d.ts +30 -0
  38. package/dist-types/ts3.4/commands/AssociateBackupVaultMpaApprovalTeamCommand.d.ts +47 -0
  39. package/dist-types/ts3.4/commands/CreateRestoreAccessBackupVaultCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/DisassociateBackupVaultMpaApprovalTeamCommand.d.ts +47 -0
  41. package/dist-types/ts3.4/commands/ListRestoreAccessBackupVaultsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/RevokeRestoreAccessBackupVaultCommand.d.ts +47 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  44. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
  45. package/dist-types/ts3.4/models/models_0.d.ts +145 -55
  46. package/dist-types/ts3.4/pagination/ListRestoreAccessBackupVaultsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  51. package/package.json +2 -2
package/dist-es/Backup.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { BackupClient } from "./BackupClient";
3
+ import { AssociateBackupVaultMpaApprovalTeamCommand, } from "./commands/AssociateBackupVaultMpaApprovalTeamCommand";
3
4
  import { CancelLegalHoldCommand, } from "./commands/CancelLegalHoldCommand";
4
5
  import { CreateBackupPlanCommand, } from "./commands/CreateBackupPlanCommand";
5
6
  import { CreateBackupSelectionCommand, } from "./commands/CreateBackupSelectionCommand";
@@ -8,6 +9,7 @@ import { CreateFrameworkCommand, } from "./commands/CreateFrameworkCommand";
8
9
  import { CreateLegalHoldCommand, } from "./commands/CreateLegalHoldCommand";
9
10
  import { CreateLogicallyAirGappedBackupVaultCommand, } from "./commands/CreateLogicallyAirGappedBackupVaultCommand";
10
11
  import { CreateReportPlanCommand, } from "./commands/CreateReportPlanCommand";
12
+ import { CreateRestoreAccessBackupVaultCommand, } from "./commands/CreateRestoreAccessBackupVaultCommand";
11
13
  import { CreateRestoreTestingPlanCommand, } from "./commands/CreateRestoreTestingPlanCommand";
12
14
  import { CreateRestoreTestingSelectionCommand, } from "./commands/CreateRestoreTestingSelectionCommand";
13
15
  import { DeleteBackupPlanCommand, } from "./commands/DeleteBackupPlanCommand";
@@ -32,6 +34,7 @@ import { DescribeRegionSettingsCommand, } from "./commands/DescribeRegionSetting
32
34
  import { DescribeReportJobCommand, } from "./commands/DescribeReportJobCommand";
33
35
  import { DescribeReportPlanCommand, } from "./commands/DescribeReportPlanCommand";
34
36
  import { DescribeRestoreJobCommand, } from "./commands/DescribeRestoreJobCommand";
37
+ import { DisassociateBackupVaultMpaApprovalTeamCommand, } from "./commands/DisassociateBackupVaultMpaApprovalTeamCommand";
35
38
  import { DisassociateRecoveryPointCommand, } from "./commands/DisassociateRecoveryPointCommand";
36
39
  import { DisassociateRecoveryPointFromParentCommand, } from "./commands/DisassociateRecoveryPointFromParentCommand";
37
40
  import { ExportBackupPlanTemplateCommand, } from "./commands/ExportBackupPlanTemplateCommand";
@@ -68,6 +71,7 @@ import { ListRecoveryPointsByLegalHoldCommand, } from "./commands/ListRecoveryPo
68
71
  import { ListRecoveryPointsByResourceCommand, } from "./commands/ListRecoveryPointsByResourceCommand";
69
72
  import { ListReportJobsCommand, } from "./commands/ListReportJobsCommand";
70
73
  import { ListReportPlansCommand, } from "./commands/ListReportPlansCommand";
74
+ import { ListRestoreAccessBackupVaultsCommand, } from "./commands/ListRestoreAccessBackupVaultsCommand";
71
75
  import { ListRestoreJobsByProtectedResourceCommand, } from "./commands/ListRestoreJobsByProtectedResourceCommand";
72
76
  import { ListRestoreJobsCommand, } from "./commands/ListRestoreJobsCommand";
73
77
  import { ListRestoreJobSummariesCommand, } from "./commands/ListRestoreJobSummariesCommand";
@@ -78,6 +82,7 @@ import { PutBackupVaultAccessPolicyCommand, } from "./commands/PutBackupVaultAcc
78
82
  import { PutBackupVaultLockConfigurationCommand, } from "./commands/PutBackupVaultLockConfigurationCommand";
79
83
  import { PutBackupVaultNotificationsCommand, } from "./commands/PutBackupVaultNotificationsCommand";
80
84
  import { PutRestoreValidationResultCommand, } from "./commands/PutRestoreValidationResultCommand";
85
+ import { RevokeRestoreAccessBackupVaultCommand, } from "./commands/RevokeRestoreAccessBackupVaultCommand";
81
86
  import { StartBackupJobCommand, } from "./commands/StartBackupJobCommand";
82
87
  import { StartCopyJobCommand, } from "./commands/StartCopyJobCommand";
83
88
  import { StartReportJobCommand, } from "./commands/StartReportJobCommand";
@@ -95,6 +100,7 @@ import { UpdateReportPlanCommand, } from "./commands/UpdateReportPlanCommand";
95
100
  import { UpdateRestoreTestingPlanCommand, } from "./commands/UpdateRestoreTestingPlanCommand";
96
101
  import { UpdateRestoreTestingSelectionCommand, } from "./commands/UpdateRestoreTestingSelectionCommand";
97
102
  const commands = {
103
+ AssociateBackupVaultMpaApprovalTeamCommand,
98
104
  CancelLegalHoldCommand,
99
105
  CreateBackupPlanCommand,
100
106
  CreateBackupSelectionCommand,
@@ -103,6 +109,7 @@ const commands = {
103
109
  CreateLegalHoldCommand,
104
110
  CreateLogicallyAirGappedBackupVaultCommand,
105
111
  CreateReportPlanCommand,
112
+ CreateRestoreAccessBackupVaultCommand,
106
113
  CreateRestoreTestingPlanCommand,
107
114
  CreateRestoreTestingSelectionCommand,
108
115
  DeleteBackupPlanCommand,
@@ -127,6 +134,7 @@ const commands = {
127
134
  DescribeReportJobCommand,
128
135
  DescribeReportPlanCommand,
129
136
  DescribeRestoreJobCommand,
137
+ DisassociateBackupVaultMpaApprovalTeamCommand,
130
138
  DisassociateRecoveryPointCommand,
131
139
  DisassociateRecoveryPointFromParentCommand,
132
140
  ExportBackupPlanTemplateCommand,
@@ -163,6 +171,7 @@ const commands = {
163
171
  ListRecoveryPointsByResourceCommand,
164
172
  ListReportJobsCommand,
165
173
  ListReportPlansCommand,
174
+ ListRestoreAccessBackupVaultsCommand,
166
175
  ListRestoreJobsCommand,
167
176
  ListRestoreJobsByProtectedResourceCommand,
168
177
  ListRestoreJobSummariesCommand,
@@ -173,6 +182,7 @@ const commands = {
173
182
  PutBackupVaultLockConfigurationCommand,
174
183
  PutBackupVaultNotificationsCommand,
175
184
  PutRestoreValidationResultCommand,
185
+ RevokeRestoreAccessBackupVaultCommand,
176
186
  StartBackupJobCommand,
177
187
  StartCopyJobCommand,
178
188
  StartReportJobCommand,
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { AssociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_AssociateBackupVaultMpaApprovalTeamCommand, se_AssociateBackupVaultMpaApprovalTeamCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class AssociateBackupVaultMpaApprovalTeamCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("CryoControllerUserManager", "AssociateBackupVaultMpaApprovalTeam", {})
18
+ .n("BackupClient", "AssociateBackupVaultMpaApprovalTeamCommand")
19
+ .f(AssociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog, void 0)
20
+ .ser(se_AssociateBackupVaultMpaApprovalTeamCommand)
21
+ .de(de_AssociateBackupVaultMpaApprovalTeamCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateRestoreAccessBackupVaultInputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateRestoreAccessBackupVaultCommand, se_CreateRestoreAccessBackupVaultCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateRestoreAccessBackupVaultCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("CryoControllerUserManager", "CreateRestoreAccessBackupVault", {})
18
+ .n("BackupClient", "CreateRestoreAccessBackupVaultCommand")
19
+ .f(CreateRestoreAccessBackupVaultInputFilterSensitiveLog, void 0)
20
+ .ser(se_CreateRestoreAccessBackupVaultCommand)
21
+ .de(de_CreateRestoreAccessBackupVaultCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { DisassociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_DisassociateBackupVaultMpaApprovalTeamCommand, se_DisassociateBackupVaultMpaApprovalTeamCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class DisassociateBackupVaultMpaApprovalTeamCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("CryoControllerUserManager", "DisassociateBackupVaultMpaApprovalTeam", {})
18
+ .n("BackupClient", "DisassociateBackupVaultMpaApprovalTeamCommand")
19
+ .f(DisassociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog, void 0)
20
+ .ser(se_DisassociateBackupVaultMpaApprovalTeamCommand)
21
+ .de(de_DisassociateBackupVaultMpaApprovalTeamCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListRestoreAccessBackupVaultsCommand, se_ListRestoreAccessBackupVaultsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListRestoreAccessBackupVaultsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CryoControllerUserManager", "ListRestoreAccessBackupVaults", {})
17
+ .n("BackupClient", "ListRestoreAccessBackupVaultsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListRestoreAccessBackupVaultsCommand)
20
+ .de(de_ListRestoreAccessBackupVaultsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { RevokeRestoreAccessBackupVaultInputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_RevokeRestoreAccessBackupVaultCommand, se_RevokeRestoreAccessBackupVaultCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class RevokeRestoreAccessBackupVaultCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("CryoControllerUserManager", "RevokeRestoreAccessBackupVault", {})
18
+ .n("BackupClient", "RevokeRestoreAccessBackupVaultCommand")
19
+ .f(RevokeRestoreAccessBackupVaultInputFilterSensitiveLog, void 0)
20
+ .ser(se_RevokeRestoreAccessBackupVaultCommand)
21
+ .de(de_RevokeRestoreAccessBackupVaultCommand)
22
+ .build() {
23
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./AssociateBackupVaultMpaApprovalTeamCommand";
1
2
  export * from "./CancelLegalHoldCommand";
2
3
  export * from "./CreateBackupPlanCommand";
3
4
  export * from "./CreateBackupSelectionCommand";
@@ -6,6 +7,7 @@ export * from "./CreateFrameworkCommand";
6
7
  export * from "./CreateLegalHoldCommand";
7
8
  export * from "./CreateLogicallyAirGappedBackupVaultCommand";
8
9
  export * from "./CreateReportPlanCommand";
10
+ export * from "./CreateRestoreAccessBackupVaultCommand";
9
11
  export * from "./CreateRestoreTestingPlanCommand";
10
12
  export * from "./CreateRestoreTestingSelectionCommand";
11
13
  export * from "./DeleteBackupPlanCommand";
@@ -30,6 +32,7 @@ export * from "./DescribeRegionSettingsCommand";
30
32
  export * from "./DescribeReportJobCommand";
31
33
  export * from "./DescribeReportPlanCommand";
32
34
  export * from "./DescribeRestoreJobCommand";
35
+ export * from "./DisassociateBackupVaultMpaApprovalTeamCommand";
33
36
  export * from "./DisassociateRecoveryPointCommand";
34
37
  export * from "./DisassociateRecoveryPointFromParentCommand";
35
38
  export * from "./ExportBackupPlanTemplateCommand";
@@ -66,6 +69,7 @@ export * from "./ListRecoveryPointsByLegalHoldCommand";
66
69
  export * from "./ListRecoveryPointsByResourceCommand";
67
70
  export * from "./ListReportJobsCommand";
68
71
  export * from "./ListReportPlansCommand";
72
+ export * from "./ListRestoreAccessBackupVaultsCommand";
69
73
  export * from "./ListRestoreJobSummariesCommand";
70
74
  export * from "./ListRestoreJobsByProtectedResourceCommand";
71
75
  export * from "./ListRestoreJobsCommand";
@@ -76,6 +80,7 @@ export * from "./PutBackupVaultAccessPolicyCommand";
76
80
  export * from "./PutBackupVaultLockConfigurationCommand";
77
81
  export * from "./PutBackupVaultNotificationsCommand";
78
82
  export * from "./PutRestoreValidationResultCommand";
83
+ export * from "./RevokeRestoreAccessBackupVaultCommand";
79
84
  export * from "./StartBackupJobCommand";
80
85
  export * from "./StartCopyJobCommand";
81
86
  export * from "./StartReportJobCommand";
@@ -29,64 +29,6 @@ export class AlreadyExistsException extends __BaseException {
29
29
  this.Context = opts.Context;
30
30
  }
31
31
  }
32
- export const BackupJobState = {
33
- ABORTED: "ABORTED",
34
- ABORTING: "ABORTING",
35
- COMPLETED: "COMPLETED",
36
- CREATED: "CREATED",
37
- EXPIRED: "EXPIRED",
38
- FAILED: "FAILED",
39
- PARTIAL: "PARTIAL",
40
- PENDING: "PENDING",
41
- RUNNING: "RUNNING",
42
- };
43
- export const BackupJobStatus = {
44
- ABORTED: "ABORTED",
45
- ABORTING: "ABORTING",
46
- AGGREGATE_ALL: "AGGREGATE_ALL",
47
- ANY: "ANY",
48
- COMPLETED: "COMPLETED",
49
- CREATED: "CREATED",
50
- EXPIRED: "EXPIRED",
51
- FAILED: "FAILED",
52
- PARTIAL: "PARTIAL",
53
- PENDING: "PENDING",
54
- RUNNING: "RUNNING",
55
- };
56
- export const ConditionType = {
57
- STRINGEQUALS: "STRINGEQUALS",
58
- };
59
- export const BackupVaultEvent = {
60
- BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED",
61
- BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED",
62
- BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED",
63
- BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED",
64
- BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL",
65
- BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED",
66
- BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED",
67
- COPY_JOB_FAILED: "COPY_JOB_FAILED",
68
- COPY_JOB_STARTED: "COPY_JOB_STARTED",
69
- COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL",
70
- RECOVERY_POINT_INDEXING_FAILED: "RECOVERY_POINT_INDEXING_FAILED",
71
- RECOVERY_POINT_INDEX_COMPLETED: "RECOVERY_POINT_INDEX_COMPLETED",
72
- RECOVERY_POINT_INDEX_DELETED: "RECOVERY_POINT_INDEX_DELETED",
73
- RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED",
74
- RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED",
75
- RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED",
76
- RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED",
77
- RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL",
78
- S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
79
- S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
80
- };
81
- export const VaultState = {
82
- AVAILABLE: "AVAILABLE",
83
- CREATING: "CREATING",
84
- FAILED: "FAILED",
85
- };
86
- export const VaultType = {
87
- BACKUP_VAULT: "BACKUP_VAULT",
88
- LOGICALLY_AIR_GAPPED_BACKUP_VAULT: "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
89
- };
90
32
  export class InvalidParameterValueException extends __BaseException {
91
33
  name = "InvalidParameterValueException";
92
34
  $fault = "client";
@@ -107,8 +49,8 @@ export class InvalidParameterValueException extends __BaseException {
107
49
  this.Context = opts.Context;
108
50
  }
109
51
  }
110
- export class InvalidResourceStateException extends __BaseException {
111
- name = "InvalidResourceStateException";
52
+ export class InvalidRequestException extends __BaseException {
53
+ name = "InvalidRequestException";
112
54
  $fault = "client";
113
55
  Code;
114
56
  Message;
@@ -116,11 +58,11 @@ export class InvalidResourceStateException extends __BaseException {
116
58
  Context;
117
59
  constructor(opts) {
118
60
  super({
119
- name: "InvalidResourceStateException",
61
+ name: "InvalidRequestException",
120
62
  $fault: "client",
121
63
  ...opts,
122
64
  });
123
- Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
65
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
124
66
  this.Code = opts.Code;
125
67
  this.Message = opts.Message;
126
68
  this.Type = opts.Type;
@@ -187,6 +129,86 @@ export class ServiceUnavailableException extends __BaseException {
187
129
  this.Context = opts.Context;
188
130
  }
189
131
  }
132
+ export const BackupJobState = {
133
+ ABORTED: "ABORTED",
134
+ ABORTING: "ABORTING",
135
+ COMPLETED: "COMPLETED",
136
+ CREATED: "CREATED",
137
+ EXPIRED: "EXPIRED",
138
+ FAILED: "FAILED",
139
+ PARTIAL: "PARTIAL",
140
+ PENDING: "PENDING",
141
+ RUNNING: "RUNNING",
142
+ };
143
+ export const BackupJobStatus = {
144
+ ABORTED: "ABORTED",
145
+ ABORTING: "ABORTING",
146
+ AGGREGATE_ALL: "AGGREGATE_ALL",
147
+ ANY: "ANY",
148
+ COMPLETED: "COMPLETED",
149
+ CREATED: "CREATED",
150
+ EXPIRED: "EXPIRED",
151
+ FAILED: "FAILED",
152
+ PARTIAL: "PARTIAL",
153
+ PENDING: "PENDING",
154
+ RUNNING: "RUNNING",
155
+ };
156
+ export const ConditionType = {
157
+ STRINGEQUALS: "STRINGEQUALS",
158
+ };
159
+ export const BackupVaultEvent = {
160
+ BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED",
161
+ BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED",
162
+ BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED",
163
+ BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED",
164
+ BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL",
165
+ BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED",
166
+ BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED",
167
+ CONTINUOUS_BACKUP_INTERRUPTED: "CONTINUOUS_BACKUP_INTERRUPTED",
168
+ COPY_JOB_FAILED: "COPY_JOB_FAILED",
169
+ COPY_JOB_STARTED: "COPY_JOB_STARTED",
170
+ COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL",
171
+ RECOVERY_POINT_INDEXING_FAILED: "RECOVERY_POINT_INDEXING_FAILED",
172
+ RECOVERY_POINT_INDEX_COMPLETED: "RECOVERY_POINT_INDEX_COMPLETED",
173
+ RECOVERY_POINT_INDEX_DELETED: "RECOVERY_POINT_INDEX_DELETED",
174
+ RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED",
175
+ RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED",
176
+ RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED",
177
+ RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED",
178
+ RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL",
179
+ S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
180
+ S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
181
+ };
182
+ export const VaultState = {
183
+ AVAILABLE: "AVAILABLE",
184
+ CREATING: "CREATING",
185
+ FAILED: "FAILED",
186
+ };
187
+ export const VaultType = {
188
+ BACKUP_VAULT: "BACKUP_VAULT",
189
+ LOGICALLY_AIR_GAPPED_BACKUP_VAULT: "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
190
+ RESTORE_ACCESS_BACKUP_VAULT: "RESTORE_ACCESS_BACKUP_VAULT",
191
+ };
192
+ export class InvalidResourceStateException extends __BaseException {
193
+ name = "InvalidResourceStateException";
194
+ $fault = "client";
195
+ Code;
196
+ Message;
197
+ Type;
198
+ Context;
199
+ constructor(opts) {
200
+ super({
201
+ name: "InvalidResourceStateException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
206
+ this.Code = opts.Code;
207
+ this.Message = opts.Message;
208
+ this.Type = opts.Type;
209
+ this.Context = opts.Context;
210
+ }
211
+ }
190
212
  export class ConflictException extends __BaseException {
191
213
  name = "ConflictException";
192
214
  $fault = "client";
@@ -253,26 +275,6 @@ export const LegalHoldStatus = {
253
275
  CANCELING: "CANCELING",
254
276
  CREATING: "CREATING",
255
277
  };
256
- export class InvalidRequestException extends __BaseException {
257
- name = "InvalidRequestException";
258
- $fault = "client";
259
- Code;
260
- Message;
261
- Type;
262
- Context;
263
- constructor(opts) {
264
- super({
265
- name: "InvalidRequestException",
266
- $fault: "client",
267
- ...opts,
268
- });
269
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
270
- this.Code = opts.Code;
271
- this.Message = opts.Message;
272
- this.Type = opts.Type;
273
- this.Context = opts.Context;
274
- }
275
- }
276
278
  export const RestoreTestingRecoveryPointSelectionAlgorithm = {
277
279
  LATEST_WITHIN_WINDOW: "LATEST_WITHIN_WINDOW",
278
280
  RANDOM_WITHIN_WINDOW: "RANDOM_WITHIN_WINDOW",
@@ -301,6 +303,11 @@ export class DependencyFailureException extends __BaseException {
301
303
  this.Context = opts.Context;
302
304
  }
303
305
  }
306
+ export const MpaSessionStatus = {
307
+ APPROVED: "APPROVED",
308
+ FAILED: "FAILED",
309
+ PENDING: "PENDING",
310
+ };
304
311
  export const IndexStatus = {
305
312
  ACTIVE: "ACTIVE",
306
313
  DELETING: "DELETING",
@@ -339,6 +346,10 @@ export const RestoreValidationStatus = {
339
346
  TIMED_OUT: "TIMED_OUT",
340
347
  VALIDATING: "VALIDATING",
341
348
  };
349
+ export const MpaRevokeSessionStatus = {
350
+ FAILED: "FAILED",
351
+ PENDING: "PENDING",
352
+ };
342
353
  export const RestoreJobState = {
343
354
  ABORTED: "ABORTED",
344
355
  AGGREGATE_ALL: "AGGREGATE_ALL",
@@ -353,6 +364,10 @@ export const Index = {
353
364
  DISABLED: "DISABLED",
354
365
  ENABLED: "ENABLED",
355
366
  };
367
+ export const AssociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog = (obj) => ({
368
+ ...obj,
369
+ ...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
370
+ });
356
371
  export const BackupRuleFilterSensitiveLog = (obj) => ({
357
372
  ...obj,
358
373
  ...(obj.RecoveryPointTags && { RecoveryPointTags: SENSITIVE_STRING }),
@@ -386,6 +401,11 @@ export const CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog = (obj)
386
401
  ...obj,
387
402
  ...(obj.BackupVaultTags && { BackupVaultTags: SENSITIVE_STRING }),
388
403
  });
404
+ export const CreateRestoreAccessBackupVaultInputFilterSensitiveLog = (obj) => ({
405
+ ...obj,
406
+ ...(obj.BackupVaultTags && { BackupVaultTags: SENSITIVE_STRING }),
407
+ ...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
408
+ });
389
409
  export const CreateRestoreTestingPlanInputFilterSensitiveLog = (obj) => ({
390
410
  ...obj,
391
411
  ...(obj.Tags && { Tags: SENSITIVE_STRING }),
@@ -400,6 +420,10 @@ export const CreateRestoreTestingSelectionInputFilterSensitiveLog = (obj) => ({
400
420
  RestoreTestingSelection: RestoreTestingSelectionForCreateFilterSensitiveLog(obj.RestoreTestingSelection),
401
421
  }),
402
422
  });
423
+ export const DisassociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog = (obj) => ({
424
+ ...obj,
425
+ ...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
426
+ });
403
427
  export const GetBackupPlanOutputFilterSensitiveLog = (obj) => ({
404
428
  ...obj,
405
429
  ...(obj.BackupPlan && { BackupPlan: BackupPlanFilterSensitiveLog(obj.BackupPlan) }),
@@ -434,6 +458,10 @@ export const ListTagsOutputFilterSensitiveLog = (obj) => ({
434
458
  ...obj,
435
459
  ...(obj.Tags && { Tags: SENSITIVE_STRING }),
436
460
  });
461
+ export const RevokeRestoreAccessBackupVaultInputFilterSensitiveLog = (obj) => ({
462
+ ...obj,
463
+ ...(obj.RequesterComment && { RequesterComment: SENSITIVE_STRING }),
464
+ });
437
465
  export const StartBackupJobInputFilterSensitiveLog = (obj) => ({
438
466
  ...obj,
439
467
  ...(obj.RecoveryPointTags && { RecoveryPointTags: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BackupClient } from "../BackupClient";
3
+ import { ListRestoreAccessBackupVaultsCommand, } from "../commands/ListRestoreAccessBackupVaultsCommand";
4
+ export const paginateListRestoreAccessBackupVaults = createPaginator(BackupClient, ListRestoreAccessBackupVaultsCommand, "NextToken", "NextToken", "MaxResults");
@@ -18,6 +18,7 @@ export * from "./ListRecoveryPointsByLegalHoldPaginator";
18
18
  export * from "./ListRecoveryPointsByResourcePaginator";
19
19
  export * from "./ListReportJobsPaginator";
20
20
  export * from "./ListReportPlansPaginator";
21
+ export * from "./ListRestoreAccessBackupVaultsPaginator";
21
22
  export * from "./ListRestoreJobSummariesPaginator";
22
23
  export * from "./ListRestoreJobsByProtectedResourcePaginator";
23
24
  export * from "./ListRestoreJobsPaginator";