@aws-sdk/client-backup 3.830.0 → 3.835.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 (47) 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 +1 -1
  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/ts3.4/Backup.d.ts +97 -0
  35. package/dist-types/ts3.4/BackupClient.d.ts +30 -0
  36. package/dist-types/ts3.4/commands/AssociateBackupVaultMpaApprovalTeamCommand.d.ts +47 -0
  37. package/dist-types/ts3.4/commands/CreateRestoreAccessBackupVaultCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/DisassociateBackupVaultMpaApprovalTeamCommand.d.ts +47 -0
  39. package/dist-types/ts3.4/commands/ListRestoreAccessBackupVaultsCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/RevokeRestoreAccessBackupVaultCommand.d.ts +47 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  42. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  43. package/dist-types/ts3.4/models/models_0.d.ts +145 -55
  44. package/dist-types/ts3.4/pagination/ListRestoreAccessBackupVaultsPaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  47. package/package.json +11 -11
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { AssociateBackupVaultMpaApprovalTeamInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateBackupVaultMpaApprovalTeamCommand}.
14
+ */
15
+ export interface AssociateBackupVaultMpaApprovalTeamCommandInput extends AssociateBackupVaultMpaApprovalTeamInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateBackupVaultMpaApprovalTeamCommand}.
21
+ */
22
+ export interface AssociateBackupVaultMpaApprovalTeamCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const AssociateBackupVaultMpaApprovalTeamCommand_base: {
25
+ new (input: AssociateBackupVaultMpaApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateBackupVaultMpaApprovalTeamCommandInput, AssociateBackupVaultMpaApprovalTeamCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssociateBackupVaultMpaApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateBackupVaultMpaApprovalTeamCommandInput, AssociateBackupVaultMpaApprovalTeamCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associates an MPA approval team with a backup vault.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, AssociateBackupVaultMpaApprovalTeamCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, AssociateBackupVaultMpaApprovalTeamCommand } = require("@aws-sdk/client-backup"); // CommonJS import
36
+ * const client = new BackupClient(config);
37
+ * const input = { // AssociateBackupVaultMpaApprovalTeamInput
38
+ * BackupVaultName: "STRING_VALUE", // required
39
+ * MpaApprovalTeamArn: "STRING_VALUE", // required
40
+ * RequesterComment: "STRING_VALUE",
41
+ * };
42
+ * const command = new AssociateBackupVaultMpaApprovalTeamCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param AssociateBackupVaultMpaApprovalTeamCommandInput - {@link AssociateBackupVaultMpaApprovalTeamCommandInput}
49
+ * @returns {@link AssociateBackupVaultMpaApprovalTeamCommandOutput}
50
+ * @see {@link AssociateBackupVaultMpaApprovalTeamCommandInput} for command's `input` shape.
51
+ * @see {@link AssociateBackupVaultMpaApprovalTeamCommandOutput} for command's `response` shape.
52
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
53
+ *
54
+ * @throws {@link InvalidParameterValueException} (client fault)
55
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
56
+ * out of range.</p>
57
+ *
58
+ * @throws {@link InvalidRequestException} (client fault)
59
+ * <p>Indicates that something is wrong with the input to the request. For example, a
60
+ * parameter is of the wrong type.</p>
61
+ *
62
+ * @throws {@link MissingParameterValueException} (client fault)
63
+ * <p>Indicates that a required parameter is missing.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>A resource that is required for the action doesn't exist.</p>
67
+ *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The request failed due to a temporary failure of the server.</p>
70
+ *
71
+ * @throws {@link BackupServiceException}
72
+ * <p>Base exception class for all service exceptions from Backup service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class AssociateBackupVaultMpaApprovalTeamCommand extends AssociateBackupVaultMpaApprovalTeamCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: AssociateBackupVaultMpaApprovalTeamInput;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: AssociateBackupVaultMpaApprovalTeamCommandInput;
86
+ output: AssociateBackupVaultMpaApprovalTeamCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { CreateRestoreAccessBackupVaultInput, CreateRestoreAccessBackupVaultOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateRestoreAccessBackupVaultCommand}.
14
+ */
15
+ export interface CreateRestoreAccessBackupVaultCommandInput extends CreateRestoreAccessBackupVaultInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateRestoreAccessBackupVaultCommand}.
21
+ */
22
+ export interface CreateRestoreAccessBackupVaultCommandOutput extends CreateRestoreAccessBackupVaultOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateRestoreAccessBackupVaultCommand_base: {
25
+ new (input: CreateRestoreAccessBackupVaultCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRestoreAccessBackupVaultCommandInput, CreateRestoreAccessBackupVaultCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateRestoreAccessBackupVaultCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRestoreAccessBackupVaultCommandInput, CreateRestoreAccessBackupVaultCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, CreateRestoreAccessBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, CreateRestoreAccessBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
36
+ * const client = new BackupClient(config);
37
+ * const input = { // CreateRestoreAccessBackupVaultInput
38
+ * SourceBackupVaultArn: "STRING_VALUE", // required
39
+ * BackupVaultName: "STRING_VALUE",
40
+ * BackupVaultTags: { // Tags
41
+ * "<keys>": "STRING_VALUE",
42
+ * },
43
+ * CreatorRequestId: "STRING_VALUE",
44
+ * RequesterComment: "STRING_VALUE",
45
+ * };
46
+ * const command = new CreateRestoreAccessBackupVaultCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // CreateRestoreAccessBackupVaultOutput
49
+ * // RestoreAccessBackupVaultArn: "STRING_VALUE",
50
+ * // VaultState: "CREATING" || "AVAILABLE" || "FAILED",
51
+ * // RestoreAccessBackupVaultName: "STRING_VALUE",
52
+ * // CreationDate: new Date("TIMESTAMP"),
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param CreateRestoreAccessBackupVaultCommandInput - {@link CreateRestoreAccessBackupVaultCommandInput}
58
+ * @returns {@link CreateRestoreAccessBackupVaultCommandOutput}
59
+ * @see {@link CreateRestoreAccessBackupVaultCommandInput} for command's `input` shape.
60
+ * @see {@link CreateRestoreAccessBackupVaultCommandOutput} for command's `response` shape.
61
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
62
+ *
63
+ * @throws {@link AlreadyExistsException} (client fault)
64
+ * <p>The required resource already exists.</p>
65
+ *
66
+ * @throws {@link InvalidParameterValueException} (client fault)
67
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
68
+ * out of range.</p>
69
+ *
70
+ * @throws {@link InvalidRequestException} (client fault)
71
+ * <p>Indicates that something is wrong with the input to the request. For example, a
72
+ * parameter is of the wrong type.</p>
73
+ *
74
+ * @throws {@link LimitExceededException} (client fault)
75
+ * <p>A limit in the request has been exceeded; for example, a maximum number of items allowed
76
+ * in a request.</p>
77
+ *
78
+ * @throws {@link MissingParameterValueException} (client fault)
79
+ * <p>Indicates that a required parameter is missing.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>A resource that is required for the action doesn't exist.</p>
83
+ *
84
+ * @throws {@link ServiceUnavailableException} (server fault)
85
+ * <p>The request failed due to a temporary failure of the server.</p>
86
+ *
87
+ * @throws {@link BackupServiceException}
88
+ * <p>Base exception class for all service exceptions from Backup service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class CreateRestoreAccessBackupVaultCommand extends CreateRestoreAccessBackupVaultCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: CreateRestoreAccessBackupVaultInput;
98
+ output: CreateRestoreAccessBackupVaultOutput;
99
+ };
100
+ sdk: {
101
+ input: CreateRestoreAccessBackupVaultCommandInput;
102
+ output: CreateRestoreAccessBackupVaultCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -43,7 +43,7 @@ declare const DescribeBackupVaultCommand_base: {
43
43
  * // { // DescribeBackupVaultOutput
44
44
  * // BackupVaultName: "STRING_VALUE",
45
45
  * // BackupVaultArn: "STRING_VALUE",
46
- * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
46
+ * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
47
47
  * // VaultState: "CREATING" || "AVAILABLE" || "FAILED",
48
48
  * // EncryptionKeyArn: "STRING_VALUE",
49
49
  * // CreationDate: new Date("TIMESTAMP"),
@@ -53,6 +53,16 @@ declare const DescribeBackupVaultCommand_base: {
53
53
  * // MinRetentionDays: Number("long"),
54
54
  * // MaxRetentionDays: Number("long"),
55
55
  * // LockDate: new Date("TIMESTAMP"),
56
+ * // SourceBackupVaultArn: "STRING_VALUE",
57
+ * // MpaApprovalTeamArn: "STRING_VALUE",
58
+ * // MpaSessionArn: "STRING_VALUE",
59
+ * // LatestMpaApprovalTeamUpdate: { // LatestMpaApprovalTeamUpdate
60
+ * // MpaSessionArn: "STRING_VALUE",
61
+ * // Status: "PENDING" || "APPROVED" || "FAILED",
62
+ * // StatusMessage: "STRING_VALUE",
63
+ * // InitiationDate: new Date("TIMESTAMP"),
64
+ * // ExpiryDate: new Date("TIMESTAMP"),
65
+ * // },
56
66
  * // };
57
67
  *
58
68
  * ```
@@ -59,6 +59,7 @@ declare const DescribeRecoveryPointCommand_base: {
59
59
  * // Status: "COMPLETED" || "PARTIAL" || "DELETING" || "EXPIRED" || "AVAILABLE" || "STOPPED" || "CREATING",
60
60
  * // StatusMessage: "STRING_VALUE",
61
61
  * // CreationDate: new Date("TIMESTAMP"),
62
+ * // InitiationDate: new Date("TIMESTAMP"),
62
63
  * // CompletionDate: new Date("TIMESTAMP"),
63
64
  * // BackupSizeInBytes: Number("long"),
64
65
  * // CalculatedLifecycle: { // CalculatedLifecycle
@@ -78,7 +79,7 @@ declare const DescribeRecoveryPointCommand_base: {
78
79
  * // CompositeMemberIdentifier: "STRING_VALUE",
79
80
  * // IsParent: true || false,
80
81
  * // ResourceName: "STRING_VALUE",
81
- * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
82
+ * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
82
83
  * // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
83
84
  * // IndexStatusMessage: "STRING_VALUE",
84
85
  * // };
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { DisassociateBackupVaultMpaApprovalTeamInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateBackupVaultMpaApprovalTeamCommand}.
14
+ */
15
+ export interface DisassociateBackupVaultMpaApprovalTeamCommandInput extends DisassociateBackupVaultMpaApprovalTeamInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateBackupVaultMpaApprovalTeamCommand}.
21
+ */
22
+ export interface DisassociateBackupVaultMpaApprovalTeamCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DisassociateBackupVaultMpaApprovalTeamCommand_base: {
25
+ new (input: DisassociateBackupVaultMpaApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateBackupVaultMpaApprovalTeamCommandInput, DisassociateBackupVaultMpaApprovalTeamCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisassociateBackupVaultMpaApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateBackupVaultMpaApprovalTeamCommandInput, DisassociateBackupVaultMpaApprovalTeamCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes the association between an MPA approval team and a backup vault, disabling the MPA approval workflow for restore operations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, DisassociateBackupVaultMpaApprovalTeamCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, DisassociateBackupVaultMpaApprovalTeamCommand } = require("@aws-sdk/client-backup"); // CommonJS import
36
+ * const client = new BackupClient(config);
37
+ * const input = { // DisassociateBackupVaultMpaApprovalTeamInput
38
+ * BackupVaultName: "STRING_VALUE", // required
39
+ * RequesterComment: "STRING_VALUE",
40
+ * };
41
+ * const command = new DisassociateBackupVaultMpaApprovalTeamCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DisassociateBackupVaultMpaApprovalTeamCommandInput - {@link DisassociateBackupVaultMpaApprovalTeamCommandInput}
48
+ * @returns {@link DisassociateBackupVaultMpaApprovalTeamCommandOutput}
49
+ * @see {@link DisassociateBackupVaultMpaApprovalTeamCommandInput} for command's `input` shape.
50
+ * @see {@link DisassociateBackupVaultMpaApprovalTeamCommandOutput} for command's `response` shape.
51
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
52
+ *
53
+ * @throws {@link InvalidParameterValueException} (client fault)
54
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
55
+ * out of range.</p>
56
+ *
57
+ * @throws {@link InvalidRequestException} (client fault)
58
+ * <p>Indicates that something is wrong with the input to the request. For example, a
59
+ * parameter is of the wrong type.</p>
60
+ *
61
+ * @throws {@link MissingParameterValueException} (client fault)
62
+ * <p>Indicates that a required parameter is missing.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>A resource that is required for the action doesn't exist.</p>
66
+ *
67
+ * @throws {@link ServiceUnavailableException} (server fault)
68
+ * <p>The request failed due to a temporary failure of the server.</p>
69
+ *
70
+ * @throws {@link BackupServiceException}
71
+ * <p>Base exception class for all service exceptions from Backup service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class DisassociateBackupVaultMpaApprovalTeamCommand extends DisassociateBackupVaultMpaApprovalTeamCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: DisassociateBackupVaultMpaApprovalTeamInput;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: DisassociateBackupVaultMpaApprovalTeamCommandInput;
85
+ output: DisassociateBackupVaultMpaApprovalTeamCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -44,7 +44,7 @@ declare const GetBackupVaultNotificationsCommand_base: {
44
44
  * // BackupVaultArn: "STRING_VALUE",
45
45
  * // SNSTopicArn: "STRING_VALUE",
46
46
  * // BackupVaultEvents: [ // BackupVaultEvents
47
- * // "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED",
47
+ * // "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "CONTINUOUS_BACKUP_INTERRUPTED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED",
48
48
  * // ],
49
49
  * // };
50
50
  *
@@ -36,7 +36,7 @@ declare const ListBackupVaultsCommand_base: {
36
36
  * // const { BackupClient, ListBackupVaultsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
37
37
  * const client = new BackupClient(config);
38
38
  * const input = { // ListBackupVaultsInput
39
- * ByVaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
39
+ * ByVaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
40
40
  * ByShared: true || false,
41
41
  * NextToken: "STRING_VALUE",
42
42
  * MaxResults: Number("int"),
@@ -48,7 +48,7 @@ declare const ListBackupVaultsCommand_base: {
48
48
  * // { // BackupVaultListMember
49
49
  * // BackupVaultName: "STRING_VALUE",
50
50
  * // BackupVaultArn: "STRING_VALUE",
51
- * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
51
+ * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
52
52
  * // VaultState: "CREATING" || "AVAILABLE" || "FAILED",
53
53
  * // CreationDate: new Date("TIMESTAMP"),
54
54
  * // EncryptionKeyArn: "STRING_VALUE",
@@ -68,6 +68,7 @@ declare const ListRecoveryPointsByBackupVaultCommand_base: {
68
68
  * // Status: "COMPLETED" || "PARTIAL" || "DELETING" || "EXPIRED" || "AVAILABLE" || "STOPPED" || "CREATING",
69
69
  * // StatusMessage: "STRING_VALUE",
70
70
  * // CreationDate: new Date("TIMESTAMP"),
71
+ * // InitiationDate: new Date("TIMESTAMP"),
71
72
  * // CompletionDate: new Date("TIMESTAMP"),
72
73
  * // BackupSizeInBytes: Number("long"),
73
74
  * // CalculatedLifecycle: { // CalculatedLifecycle
@@ -86,7 +87,7 @@ declare const ListRecoveryPointsByBackupVaultCommand_base: {
86
87
  * // CompositeMemberIdentifier: "STRING_VALUE",
87
88
  * // IsParent: true || false,
88
89
  * // ResourceName: "STRING_VALUE",
89
- * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
90
+ * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
90
91
  * // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
91
92
  * // IndexStatusMessage: "STRING_VALUE",
92
93
  * // },
@@ -61,7 +61,7 @@ declare const ListRecoveryPointsByResourceCommand_base: {
61
61
  * // IsParent: true || false,
62
62
  * // ParentRecoveryPointArn: "STRING_VALUE",
63
63
  * // ResourceName: "STRING_VALUE",
64
- * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
64
+ * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
65
65
  * // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
66
66
  * // IndexStatusMessage: "STRING_VALUE",
67
67
  * // },
@@ -0,0 +1,102 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { ListRestoreAccessBackupVaultsInput, ListRestoreAccessBackupVaultsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRestoreAccessBackupVaultsCommand}.
14
+ */
15
+ export interface ListRestoreAccessBackupVaultsCommandInput extends ListRestoreAccessBackupVaultsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRestoreAccessBackupVaultsCommand}.
21
+ */
22
+ export interface ListRestoreAccessBackupVaultsCommandOutput extends ListRestoreAccessBackupVaultsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListRestoreAccessBackupVaultsCommand_base: {
25
+ new (input: ListRestoreAccessBackupVaultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRestoreAccessBackupVaultsCommandInput, ListRestoreAccessBackupVaultsCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListRestoreAccessBackupVaultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRestoreAccessBackupVaultsCommandInput, ListRestoreAccessBackupVaultsCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of restore access backup vaults associated with a specified backup vault.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, ListRestoreAccessBackupVaultsCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, ListRestoreAccessBackupVaultsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
36
+ * const client = new BackupClient(config);
37
+ * const input = { // ListRestoreAccessBackupVaultsInput
38
+ * BackupVaultName: "STRING_VALUE", // required
39
+ * NextToken: "STRING_VALUE",
40
+ * MaxResults: Number("int"),
41
+ * };
42
+ * const command = new ListRestoreAccessBackupVaultsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListRestoreAccessBackupVaultsOutput
45
+ * // NextToken: "STRING_VALUE",
46
+ * // RestoreAccessBackupVaults: [ // RestoreAccessBackupVaultList
47
+ * // { // RestoreAccessBackupVaultListMember
48
+ * // RestoreAccessBackupVaultArn: "STRING_VALUE",
49
+ * // CreationDate: new Date("TIMESTAMP"),
50
+ * // ApprovalDate: new Date("TIMESTAMP"),
51
+ * // VaultState: "CREATING" || "AVAILABLE" || "FAILED",
52
+ * // LatestRevokeRequest: { // LatestRevokeRequest
53
+ * // MpaSessionArn: "STRING_VALUE",
54
+ * // Status: "PENDING" || "FAILED",
55
+ * // StatusMessage: "STRING_VALUE",
56
+ * // InitiationDate: new Date("TIMESTAMP"),
57
+ * // ExpiryDate: new Date("TIMESTAMP"),
58
+ * // },
59
+ * // },
60
+ * // ],
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListRestoreAccessBackupVaultsCommandInput - {@link ListRestoreAccessBackupVaultsCommandInput}
66
+ * @returns {@link ListRestoreAccessBackupVaultsCommandOutput}
67
+ * @see {@link ListRestoreAccessBackupVaultsCommandInput} for command's `input` shape.
68
+ * @see {@link ListRestoreAccessBackupVaultsCommandOutput} for command's `response` shape.
69
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
70
+ *
71
+ * @throws {@link InvalidParameterValueException} (client fault)
72
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
73
+ * out of range.</p>
74
+ *
75
+ * @throws {@link MissingParameterValueException} (client fault)
76
+ * <p>Indicates that a required parameter is missing.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>A resource that is required for the action doesn't exist.</p>
80
+ *
81
+ * @throws {@link ServiceUnavailableException} (server fault)
82
+ * <p>The request failed due to a temporary failure of the server.</p>
83
+ *
84
+ * @throws {@link BackupServiceException}
85
+ * <p>Base exception class for all service exceptions from Backup service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class ListRestoreAccessBackupVaultsCommand extends ListRestoreAccessBackupVaultsCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: ListRestoreAccessBackupVaultsInput;
95
+ output: ListRestoreAccessBackupVaultsOutput;
96
+ };
97
+ sdk: {
98
+ input: ListRestoreAccessBackupVaultsCommandInput;
99
+ output: ListRestoreAccessBackupVaultsCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -38,7 +38,7 @@ declare const PutBackupVaultNotificationsCommand_base: {
38
38
  * BackupVaultName: "STRING_VALUE", // required
39
39
  * SNSTopicArn: "STRING_VALUE", // required
40
40
  * BackupVaultEvents: [ // BackupVaultEvents // required
41
- * "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED",
41
+ * "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "CONTINUOUS_BACKUP_INTERRUPTED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED",
42
42
  * ],
43
43
  * };
44
44
  * const command = new PutBackupVaultNotificationsCommand(input);
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { RevokeRestoreAccessBackupVaultInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RevokeRestoreAccessBackupVaultCommand}.
14
+ */
15
+ export interface RevokeRestoreAccessBackupVaultCommandInput extends RevokeRestoreAccessBackupVaultInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RevokeRestoreAccessBackupVaultCommand}.
21
+ */
22
+ export interface RevokeRestoreAccessBackupVaultCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const RevokeRestoreAccessBackupVaultCommand_base: {
25
+ new (input: RevokeRestoreAccessBackupVaultCommandInput): import("@smithy/smithy-client").CommandImpl<RevokeRestoreAccessBackupVaultCommandInput, RevokeRestoreAccessBackupVaultCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RevokeRestoreAccessBackupVaultCommandInput): import("@smithy/smithy-client").CommandImpl<RevokeRestoreAccessBackupVaultCommandInput, RevokeRestoreAccessBackupVaultCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, RevokeRestoreAccessBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, RevokeRestoreAccessBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
36
+ * const client = new BackupClient(config);
37
+ * const input = { // RevokeRestoreAccessBackupVaultInput
38
+ * BackupVaultName: "STRING_VALUE", // required
39
+ * RestoreAccessBackupVaultArn: "STRING_VALUE", // required
40
+ * RequesterComment: "STRING_VALUE",
41
+ * };
42
+ * const command = new RevokeRestoreAccessBackupVaultCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param RevokeRestoreAccessBackupVaultCommandInput - {@link RevokeRestoreAccessBackupVaultCommandInput}
49
+ * @returns {@link RevokeRestoreAccessBackupVaultCommandOutput}
50
+ * @see {@link RevokeRestoreAccessBackupVaultCommandInput} for command's `input` shape.
51
+ * @see {@link RevokeRestoreAccessBackupVaultCommandOutput} for command's `response` shape.
52
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
53
+ *
54
+ * @throws {@link InvalidParameterValueException} (client fault)
55
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
56
+ * out of range.</p>
57
+ *
58
+ * @throws {@link InvalidRequestException} (client fault)
59
+ * <p>Indicates that something is wrong with the input to the request. For example, a
60
+ * parameter is of the wrong type.</p>
61
+ *
62
+ * @throws {@link MissingParameterValueException} (client fault)
63
+ * <p>Indicates that a required parameter is missing.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>A resource that is required for the action doesn't exist.</p>
67
+ *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The request failed due to a temporary failure of the server.</p>
70
+ *
71
+ * @throws {@link BackupServiceException}
72
+ * <p>Base exception class for all service exceptions from Backup service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class RevokeRestoreAccessBackupVaultCommand extends RevokeRestoreAccessBackupVaultCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: RevokeRestoreAccessBackupVaultInput;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: RevokeRestoreAccessBackupVaultCommandInput;
86
+ output: RevokeRestoreAccessBackupVaultCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -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";
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;