@aws-sdk/client-backup 3.386.0 → 3.387.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.
- package/README.md +16 -0
- package/dist-cjs/Backup.js +4 -0
- package/dist-cjs/BackupClient.js +2 -2
- package/dist-cjs/commands/CreateLogicallyAirGappedBackupVaultCommand.js +47 -0
- package/dist-cjs/commands/ListProtectedResourcesByBackupVaultCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListProtectedResourcesByBackupVaultPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +162 -3
- package/dist-es/Backup.js +4 -0
- package/dist-es/BackupClient.js +2 -2
- package/dist-es/commands/CreateLogicallyAirGappedBackupVaultCommand.js +43 -0
- package/dist-es/commands/ListProtectedResourcesByBackupVaultCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/pagination/ListProtectedResourcesByBackupVaultPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +155 -0
- package/dist-types/Backup.d.ts +14 -0
- package/dist-types/BackupClient.d.ts +6 -4
- package/dist-types/commands/CreateLogicallyAirGappedBackupVaultCommand.d.ts +109 -0
- package/dist-types/commands/DescribeBackupVaultCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +1 -0
- package/dist-types/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +1 -0
- package/dist-types/commands/ListBackupVaultsCommand.d.ts +2 -0
- package/dist-types/commands/ListProtectedResourcesByBackupVaultCommand.d.ts +94 -0
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +219 -27
- package/dist-types/pagination/ListProtectedResourcesByBackupVaultPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Backup.d.ts +46 -0
- package/dist-types/ts3.4/BackupClient.d.ts +16 -1
- package/dist-types/ts3.4/commands/CreateLogicallyAirGappedBackupVaultCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListProtectedResourcesByBackupVaultCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -11
- package/dist-types/ts3.4/pagination/ListProtectedResourcesByBackupVaultPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +28 -28
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
|
|
5
|
+
import { ListProtectedResourcesByBackupVaultInput, ListProtectedResourcesByBackupVaultOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListProtectedResourcesByBackupVaultCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListProtectedResourcesByBackupVaultCommandInput extends ListProtectedResourcesByBackupVaultInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListProtectedResourcesByBackupVaultCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListProtectedResourcesByBackupVaultCommandOutput extends ListProtectedResourcesByBackupVaultOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>This request lists the protected resources corresponding to each backup vault.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { BackupClient, ListProtectedResourcesByBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
31
|
+
* // const { BackupClient, ListProtectedResourcesByBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
32
|
+
* const client = new BackupClient(config);
|
|
33
|
+
* const input = { // ListProtectedResourcesByBackupVaultInput
|
|
34
|
+
* BackupVaultName: "STRING_VALUE", // required
|
|
35
|
+
* BackupVaultAccountId: "STRING_VALUE",
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListProtectedResourcesByBackupVaultCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListProtectedResourcesByBackupVaultOutput
|
|
42
|
+
* // Results: [ // ProtectedResourcesList
|
|
43
|
+
* // { // ProtectedResource
|
|
44
|
+
* // ResourceArn: "STRING_VALUE",
|
|
45
|
+
* // ResourceType: "STRING_VALUE",
|
|
46
|
+
* // LastBackupTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // ResourceName: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListProtectedResourcesByBackupVaultCommandInput - {@link ListProtectedResourcesByBackupVaultCommandInput}
|
|
56
|
+
* @returns {@link ListProtectedResourcesByBackupVaultCommandOutput}
|
|
57
|
+
* @see {@link ListProtectedResourcesByBackupVaultCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListProtectedResourcesByBackupVaultCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
62
|
+
* <p>Indicates that something is wrong with a parameter's value. For example, the value is
|
|
63
|
+
* out of range.</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
|
+
export declare class ListProtectedResourcesByBackupVaultCommand extends $Command<ListProtectedResourcesByBackupVaultCommandInput, ListProtectedResourcesByBackupVaultCommandOutput, BackupClientResolvedConfig> {
|
|
76
|
+
readonly input: ListProtectedResourcesByBackupVaultCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: ListProtectedResourcesByBackupVaultCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProtectedResourcesByBackupVaultCommandInput, ListProtectedResourcesByBackupVaultCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -32,6 +32,7 @@ export interface ListRecoveryPointsByBackupVaultCommandOutput extends ListRecove
|
|
|
32
32
|
* const client = new BackupClient(config);
|
|
33
33
|
* const input = { // ListRecoveryPointsByBackupVaultInput
|
|
34
34
|
* BackupVaultName: "STRING_VALUE", // required
|
|
35
|
+
* BackupVaultAccountId: "STRING_VALUE",
|
|
35
36
|
* NextToken: "STRING_VALUE",
|
|
36
37
|
* MaxResults: Number("int"),
|
|
37
38
|
* ByResourceArn: "STRING_VALUE",
|
|
@@ -4,6 +4,7 @@ export * from "./CreateBackupSelectionCommand";
|
|
|
4
4
|
export * from "./CreateBackupVaultCommand";
|
|
5
5
|
export * from "./CreateFrameworkCommand";
|
|
6
6
|
export * from "./CreateLegalHoldCommand";
|
|
7
|
+
export * from "./CreateLogicallyAirGappedBackupVaultCommand";
|
|
7
8
|
export * from "./CreateReportPlanCommand";
|
|
8
9
|
export * from "./DeleteBackupPlanCommand";
|
|
9
10
|
export * from "./DeleteBackupSelectionCommand";
|
|
@@ -46,6 +47,7 @@ export * from "./ListBackupVaultsCommand";
|
|
|
46
47
|
export * from "./ListCopyJobsCommand";
|
|
47
48
|
export * from "./ListFrameworksCommand";
|
|
48
49
|
export * from "./ListLegalHoldsCommand";
|
|
50
|
+
export * from "./ListProtectedResourcesByBackupVaultCommand";
|
|
49
51
|
export * from "./ListProtectedResourcesCommand";
|
|
50
52
|
export * from "./ListRecoveryPointsByBackupVaultCommand";
|
|
51
53
|
export * from "./ListRecoveryPointsByLegalHoldCommand";
|
|
@@ -171,7 +171,7 @@ export interface BackupJob {
|
|
|
171
171
|
CompletionDate?: Date;
|
|
172
172
|
/**
|
|
173
173
|
* @public
|
|
174
|
-
* <p>The current state of a
|
|
174
|
+
* <p>The current state of a backup job.</p>
|
|
175
175
|
*/
|
|
176
176
|
State?: BackupJobState | string;
|
|
177
177
|
/**
|
|
@@ -470,6 +470,7 @@ export interface BackupRuleInput {
|
|
|
470
470
|
* <p>A value in minutes after a backup is scheduled before a job will be canceled if it
|
|
471
471
|
* doesn't start successfully. This value is optional.
|
|
472
472
|
* If this value is included, it must be at least 60 minutes to avoid errors.</p>
|
|
473
|
+
* <p>This parameter has a maximum value of 100 years (52,560,000 minutes).</p>
|
|
473
474
|
* <p>During the start window, the backup job status remains in <code>CREATED</code> status until it
|
|
474
475
|
* has successfully begun or until the start window time has run out. If within the start
|
|
475
476
|
* window time Backup receives an error that allows the job to be retried,
|
|
@@ -498,6 +499,7 @@ export interface BackupRuleInput {
|
|
|
498
499
|
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
499
500
|
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
500
501
|
* other resource types.</p>
|
|
502
|
+
* <p>This parameter has a maximum value of 100 years (36,500 days).</p>
|
|
501
503
|
*/
|
|
502
504
|
Lifecycle?: Lifecycle;
|
|
503
505
|
/**
|
|
@@ -1799,6 +1801,120 @@ export interface CreateLegalHoldOutput {
|
|
|
1799
1801
|
*/
|
|
1800
1802
|
RecoveryPointSelection?: RecoveryPointSelection;
|
|
1801
1803
|
}
|
|
1804
|
+
/**
|
|
1805
|
+
* @public
|
|
1806
|
+
*/
|
|
1807
|
+
export interface CreateLogicallyAirGappedBackupVaultInput {
|
|
1808
|
+
/**
|
|
1809
|
+
* @public
|
|
1810
|
+
* <p>This is the name of the vault that is being created.</p>
|
|
1811
|
+
*/
|
|
1812
|
+
BackupVaultName: string | undefined;
|
|
1813
|
+
/**
|
|
1814
|
+
* @public
|
|
1815
|
+
* <p>These are the tags that will be included in the newly-created vault.</p>
|
|
1816
|
+
*/
|
|
1817
|
+
BackupVaultTags?: Record<string, string>;
|
|
1818
|
+
/**
|
|
1819
|
+
* @public
|
|
1820
|
+
* <p>This is the ID of the creation request.</p>
|
|
1821
|
+
*/
|
|
1822
|
+
CreatorRequestId?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* @public
|
|
1825
|
+
* <p>This setting specifies the minimum retention period
|
|
1826
|
+
* that the vault retains its recovery points. If this parameter is not specified,
|
|
1827
|
+
* no minimum retention period is enforced.</p>
|
|
1828
|
+
* <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a
|
|
1829
|
+
* retention period equal to or longer than the minimum retention period. If a job
|
|
1830
|
+
* retention period is shorter than that minimum retention period, then the vault fails the
|
|
1831
|
+
* backup or copy job, and you should either modify your lifecycle settings or use a different
|
|
1832
|
+
* vault.</p>
|
|
1833
|
+
*/
|
|
1834
|
+
MinRetentionDays: number | undefined;
|
|
1835
|
+
/**
|
|
1836
|
+
* @public
|
|
1837
|
+
* <p>This is the setting that specifies the maximum retention period
|
|
1838
|
+
* that the vault retains its recovery points. If this parameter is not specified, Backup
|
|
1839
|
+
* does not enforce a maximum retention period on the recovery points in the vault (allowing
|
|
1840
|
+
* indefinite storage).</p>
|
|
1841
|
+
* <p>If specified, any backup or copy job to the vault must have a lifecycle policy with a
|
|
1842
|
+
* retention period equal to or shorter than the maximum retention period. If the job
|
|
1843
|
+
* retention period is longer than that maximum retention period, then the vault fails the
|
|
1844
|
+
* backup or copy job, and you should either modify your lifecycle settings or use a different
|
|
1845
|
+
* vault.</p>
|
|
1846
|
+
*/
|
|
1847
|
+
MaxRetentionDays: number | undefined;
|
|
1848
|
+
}
|
|
1849
|
+
/**
|
|
1850
|
+
* @public
|
|
1851
|
+
* @enum
|
|
1852
|
+
*/
|
|
1853
|
+
export declare const VaultState: {
|
|
1854
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
1855
|
+
readonly CREATING: "CREATING";
|
|
1856
|
+
readonly FAILED: "FAILED";
|
|
1857
|
+
};
|
|
1858
|
+
/**
|
|
1859
|
+
* @public
|
|
1860
|
+
*/
|
|
1861
|
+
export type VaultState = (typeof VaultState)[keyof typeof VaultState];
|
|
1862
|
+
/**
|
|
1863
|
+
* @public
|
|
1864
|
+
*/
|
|
1865
|
+
export interface CreateLogicallyAirGappedBackupVaultOutput {
|
|
1866
|
+
/**
|
|
1867
|
+
* @public
|
|
1868
|
+
* <p>The name of a logical container where backups are stored. Logically air-gapped
|
|
1869
|
+
* backup vaults are identified by names that are unique to the account used to create
|
|
1870
|
+
* them and the Region where they are created. They consist of lowercase letters, numbers,
|
|
1871
|
+
* and hyphens.</p>
|
|
1872
|
+
*/
|
|
1873
|
+
BackupVaultName?: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* @public
|
|
1876
|
+
* <p>This is the ARN (Amazon Resource Name) of the vault being created.</p>
|
|
1877
|
+
*/
|
|
1878
|
+
BackupVaultArn?: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* @public
|
|
1881
|
+
* <p>The date and time when the vault was created.</p>
|
|
1882
|
+
* <p>This value is in Unix format, Coordinated Universal Time (UTC), and accurate to
|
|
1883
|
+
* milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018
|
|
1884
|
+
* 12:11:30.087 AM.</p>
|
|
1885
|
+
*/
|
|
1886
|
+
CreationDate?: Date;
|
|
1887
|
+
/**
|
|
1888
|
+
* @public
|
|
1889
|
+
* <p>This is the current state of the vault.</p>
|
|
1890
|
+
*/
|
|
1891
|
+
VaultState?: VaultState | string;
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* @public
|
|
1895
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
1896
|
+
* parameter is of the wrong type.</p>
|
|
1897
|
+
*/
|
|
1898
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
1899
|
+
readonly name: "InvalidRequestException";
|
|
1900
|
+
readonly $fault: "client";
|
|
1901
|
+
Code?: string;
|
|
1902
|
+
Message?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* @public
|
|
1905
|
+
* <p></p>
|
|
1906
|
+
*/
|
|
1907
|
+
Type?: string;
|
|
1908
|
+
/**
|
|
1909
|
+
* @public
|
|
1910
|
+
* <p></p>
|
|
1911
|
+
*/
|
|
1912
|
+
Context?: string;
|
|
1913
|
+
/**
|
|
1914
|
+
* @internal
|
|
1915
|
+
*/
|
|
1916
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
1917
|
+
}
|
|
1802
1918
|
/**
|
|
1803
1919
|
* @public
|
|
1804
1920
|
* <p>Contains information from your report plan about where to deliver your reports,
|
|
@@ -1980,31 +2096,6 @@ export interface DeleteBackupPlanOutput {
|
|
|
1980
2096
|
*/
|
|
1981
2097
|
VersionId?: string;
|
|
1982
2098
|
}
|
|
1983
|
-
/**
|
|
1984
|
-
* @public
|
|
1985
|
-
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
1986
|
-
* parameter is of the wrong type.</p>
|
|
1987
|
-
*/
|
|
1988
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
1989
|
-
readonly name: "InvalidRequestException";
|
|
1990
|
-
readonly $fault: "client";
|
|
1991
|
-
Code?: string;
|
|
1992
|
-
Message?: string;
|
|
1993
|
-
/**
|
|
1994
|
-
* @public
|
|
1995
|
-
* <p></p>
|
|
1996
|
-
*/
|
|
1997
|
-
Type?: string;
|
|
1998
|
-
/**
|
|
1999
|
-
* @public
|
|
2000
|
-
* <p></p>
|
|
2001
|
-
*/
|
|
2002
|
-
Context?: string;
|
|
2003
|
-
/**
|
|
2004
|
-
* @internal
|
|
2005
|
-
*/
|
|
2006
|
-
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
2007
|
-
}
|
|
2008
2099
|
/**
|
|
2009
2100
|
* @public
|
|
2010
2101
|
*/
|
|
@@ -2200,7 +2291,7 @@ export interface DescribeBackupJobOutput {
|
|
|
2200
2291
|
CompletionDate?: Date;
|
|
2201
2292
|
/**
|
|
2202
2293
|
* @public
|
|
2203
|
-
* <p>The current state of a
|
|
2294
|
+
* <p>The current state of a backup job.</p>
|
|
2204
2295
|
*/
|
|
2205
2296
|
State?: BackupJobState | string;
|
|
2206
2297
|
/**
|
|
@@ -2313,7 +2404,24 @@ export interface DescribeBackupVaultInput {
|
|
|
2313
2404
|
* hyphens.</p>
|
|
2314
2405
|
*/
|
|
2315
2406
|
BackupVaultName: string | undefined;
|
|
2407
|
+
/**
|
|
2408
|
+
* @public
|
|
2409
|
+
* <p>This is the account ID of the specified backup vault.</p>
|
|
2410
|
+
*/
|
|
2411
|
+
BackupVaultAccountId?: string;
|
|
2316
2412
|
}
|
|
2413
|
+
/**
|
|
2414
|
+
* @public
|
|
2415
|
+
* @enum
|
|
2416
|
+
*/
|
|
2417
|
+
export declare const VaultType: {
|
|
2418
|
+
readonly BACKUP_VAULT: "BACKUP_VAULT";
|
|
2419
|
+
readonly LOGICALLY_AIR_GAPPED_BACKUP_VAULT: "LOGICALLY_AIR_GAPPED_BACKUP_VAULT";
|
|
2420
|
+
};
|
|
2421
|
+
/**
|
|
2422
|
+
* @public
|
|
2423
|
+
*/
|
|
2424
|
+
export type VaultType = (typeof VaultType)[keyof typeof VaultType];
|
|
2317
2425
|
/**
|
|
2318
2426
|
* @public
|
|
2319
2427
|
*/
|
|
@@ -2331,6 +2439,11 @@ export interface DescribeBackupVaultOutput {
|
|
|
2331
2439
|
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
|
|
2332
2440
|
*/
|
|
2333
2441
|
BackupVaultArn?: string;
|
|
2442
|
+
/**
|
|
2443
|
+
* @public
|
|
2444
|
+
* <p>This is the type of vault described.</p>
|
|
2445
|
+
*/
|
|
2446
|
+
VaultType?: VaultType | string;
|
|
2334
2447
|
/**
|
|
2335
2448
|
* @public
|
|
2336
2449
|
* <p>The server-side encryption key that is used to protect your backups; for example,
|
|
@@ -2595,6 +2708,11 @@ export interface DescribeRecoveryPointInput {
|
|
|
2595
2708
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|
2596
2709
|
*/
|
|
2597
2710
|
RecoveryPointArn: string | undefined;
|
|
2711
|
+
/**
|
|
2712
|
+
* @public
|
|
2713
|
+
* <p>This is the account ID of the specified backup vault.</p>
|
|
2714
|
+
*/
|
|
2715
|
+
BackupVaultAccountId?: string;
|
|
2598
2716
|
}
|
|
2599
2717
|
/**
|
|
2600
2718
|
* @public
|
|
@@ -3553,6 +3671,11 @@ export interface GetRecoveryPointRestoreMetadataInput {
|
|
|
3553
3671
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|
3554
3672
|
*/
|
|
3555
3673
|
RecoveryPointArn: string | undefined;
|
|
3674
|
+
/**
|
|
3675
|
+
* @public
|
|
3676
|
+
* <p>This is the account ID of the specified backup vault.</p>
|
|
3677
|
+
*/
|
|
3678
|
+
BackupVaultAccountId?: string;
|
|
3556
3679
|
}
|
|
3557
3680
|
/**
|
|
3558
3681
|
* @public
|
|
@@ -3942,6 +4065,16 @@ export interface ListBackupSelectionsOutput {
|
|
|
3942
4065
|
* @public
|
|
3943
4066
|
*/
|
|
3944
4067
|
export interface ListBackupVaultsInput {
|
|
4068
|
+
/**
|
|
4069
|
+
* @public
|
|
4070
|
+
* <p>This parameter will sort the list of vaults by vault type.</p>
|
|
4071
|
+
*/
|
|
4072
|
+
ByVaultType?: VaultType | string;
|
|
4073
|
+
/**
|
|
4074
|
+
* @public
|
|
4075
|
+
* <p>This parameter will sort the list of vaults by shared vaults.</p>
|
|
4076
|
+
*/
|
|
4077
|
+
ByShared?: boolean;
|
|
3945
4078
|
/**
|
|
3946
4079
|
* @public
|
|
3947
4080
|
* <p>The next item following a partial list of returned items. For example, if a request is
|
|
@@ -4357,6 +4490,52 @@ export interface ListProtectedResourcesOutput {
|
|
|
4357
4490
|
*/
|
|
4358
4491
|
NextToken?: string;
|
|
4359
4492
|
}
|
|
4493
|
+
/**
|
|
4494
|
+
* @public
|
|
4495
|
+
*/
|
|
4496
|
+
export interface ListProtectedResourcesByBackupVaultInput {
|
|
4497
|
+
/**
|
|
4498
|
+
* @public
|
|
4499
|
+
* <p>This is the list of protected resources by backup vault within the vault(s) you specify by name.</p>
|
|
4500
|
+
*/
|
|
4501
|
+
BackupVaultName: string | undefined;
|
|
4502
|
+
/**
|
|
4503
|
+
* @public
|
|
4504
|
+
* <p>This is the list of protected resources by backup vault within the vault(s) you specify by account ID.</p>
|
|
4505
|
+
*/
|
|
4506
|
+
BackupVaultAccountId?: string;
|
|
4507
|
+
/**
|
|
4508
|
+
* @public
|
|
4509
|
+
* <p>The next item following a partial list of returned items. For example, if a request is
|
|
4510
|
+
* made to return <code>maxResults</code> number of items, <code>NextToken</code> allows you
|
|
4511
|
+
* to return more items in your list starting at the location pointed to by the next
|
|
4512
|
+
* token.</p>
|
|
4513
|
+
*/
|
|
4514
|
+
NextToken?: string;
|
|
4515
|
+
/**
|
|
4516
|
+
* @public
|
|
4517
|
+
* <p>The maximum number of items to be returned.</p>
|
|
4518
|
+
*/
|
|
4519
|
+
MaxResults?: number;
|
|
4520
|
+
}
|
|
4521
|
+
/**
|
|
4522
|
+
* @public
|
|
4523
|
+
*/
|
|
4524
|
+
export interface ListProtectedResourcesByBackupVaultOutput {
|
|
4525
|
+
/**
|
|
4526
|
+
* @public
|
|
4527
|
+
* <p>These are the results returned for the request ListProtectedResourcesByBackupVault.</p>
|
|
4528
|
+
*/
|
|
4529
|
+
Results?: ProtectedResource[];
|
|
4530
|
+
/**
|
|
4531
|
+
* @public
|
|
4532
|
+
* <p>The next item following a partial list of returned items. For example, if a request is
|
|
4533
|
+
* made to return <code>maxResults</code> number of items, <code>NextToken</code> allows you
|
|
4534
|
+
* to return more items in your list starting at the location pointed to by the next
|
|
4535
|
+
* token.</p>
|
|
4536
|
+
*/
|
|
4537
|
+
NextToken?: string;
|
|
4538
|
+
}
|
|
4360
4539
|
/**
|
|
4361
4540
|
* @public
|
|
4362
4541
|
*/
|
|
@@ -4373,6 +4552,11 @@ export interface ListRecoveryPointsByBackupVaultInput {
|
|
|
4373
4552
|
* </note>
|
|
4374
4553
|
*/
|
|
4375
4554
|
BackupVaultName: string | undefined;
|
|
4555
|
+
/**
|
|
4556
|
+
* @public
|
|
4557
|
+
* <p>This parameter will sort the list of recovery points by account ID.</p>
|
|
4558
|
+
*/
|
|
4559
|
+
BackupVaultAccountId?: string;
|
|
4376
4560
|
/**
|
|
4377
4561
|
* @public
|
|
4378
4562
|
* <p>The next item following a partial list of returned items. For example, if a request is
|
|
@@ -5255,6 +5439,7 @@ export interface StartBackupJobInput {
|
|
|
5255
5439
|
* <p>A value in minutes after a backup is scheduled before a job will be canceled if it
|
|
5256
5440
|
* doesn't start successfully. This value is optional, and the default is 8 hours.
|
|
5257
5441
|
* If this value is included, it must be at least 60 minutes to avoid errors.</p>
|
|
5442
|
+
* <p>This parameter has a maximum value of 100 years (52,560,000 minutes).</p>
|
|
5258
5443
|
* <p>During the start window, the backup job status remains in <code>CREATED</code> status until it
|
|
5259
5444
|
* has successfully begun or until the start window time has run out. If within the start
|
|
5260
5445
|
* window time Backup receives an error that allows the job to be retried,
|
|
@@ -5270,6 +5455,8 @@ export interface StartBackupJobInput {
|
|
|
5270
5455
|
* Backup will cancel the job. This value is optional. This value begins
|
|
5271
5456
|
* counting down from when the backup was scheduled. It does not add additional time for
|
|
5272
5457
|
* <code>StartWindowMinutes</code>, or if the backup started later than scheduled.</p>
|
|
5458
|
+
* <p>Like <code>StartWindowMinutes</code>, this parameter has a maximum value of
|
|
5459
|
+
* 100 years (52,560,000 minutes).</p>
|
|
5273
5460
|
*/
|
|
5274
5461
|
CompleteWindowMinutes?: number;
|
|
5275
5462
|
/**
|
|
@@ -5285,6 +5472,7 @@ export interface StartBackupJobInput {
|
|
|
5285
5472
|
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
|
|
5286
5473
|
* Feature availability by resource</a> table. Backup ignores this expression for
|
|
5287
5474
|
* other resource types.</p>
|
|
5475
|
+
* <p>This parameter has a maximum value of 100 years (36,500 days).</p>
|
|
5288
5476
|
*/
|
|
5289
5477
|
Lifecycle?: Lifecycle;
|
|
5290
5478
|
/**
|
|
@@ -5946,6 +6134,10 @@ export declare const CreateBackupVaultInputFilterSensitiveLog: (obj: CreateBacku
|
|
|
5946
6134
|
* @internal
|
|
5947
6135
|
*/
|
|
5948
6136
|
export declare const CreateLegalHoldInputFilterSensitiveLog: (obj: CreateLegalHoldInput) => any;
|
|
6137
|
+
/**
|
|
6138
|
+
* @internal
|
|
6139
|
+
*/
|
|
6140
|
+
export declare const CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog: (obj: CreateLogicallyAirGappedBackupVaultInput) => any;
|
|
5949
6141
|
/**
|
|
5950
6142
|
* @internal
|
|
5951
6143
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListProtectedResourcesByBackupVaultCommandInput, ListProtectedResourcesByBackupVaultCommandOutput } from "../commands/ListProtectedResourcesByBackupVaultCommand";
|
|
3
|
+
import { BackupPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListProtectedResourcesByBackupVault(config: BackupPaginationConfiguration, input: ListProtectedResourcesByBackupVaultCommandInput, ...additionalArguments: any): Paginator<ListProtectedResourcesByBackupVaultCommandOutput>;
|
|
@@ -8,6 +8,7 @@ export * from "./ListBackupVaultsPaginator";
|
|
|
8
8
|
export * from "./ListCopyJobsPaginator";
|
|
9
9
|
export * from "./ListFrameworksPaginator";
|
|
10
10
|
export * from "./ListLegalHoldsPaginator";
|
|
11
|
+
export * from "./ListProtectedResourcesByBackupVaultPaginator";
|
|
11
12
|
export * from "./ListProtectedResourcesPaginator";
|
|
12
13
|
export * from "./ListRecoveryPointsByBackupVaultPaginator";
|
|
13
14
|
export * from "./ListRecoveryPointsByLegalHoldPaginator";
|
|
@@ -6,6 +6,7 @@ import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput }
|
|
|
6
6
|
import { CreateBackupVaultCommandInput, CreateBackupVaultCommandOutput } from "../commands/CreateBackupVaultCommand";
|
|
7
7
|
import { CreateFrameworkCommandInput, CreateFrameworkCommandOutput } from "../commands/CreateFrameworkCommand";
|
|
8
8
|
import { CreateLegalHoldCommandInput, CreateLegalHoldCommandOutput } from "../commands/CreateLegalHoldCommand";
|
|
9
|
+
import { CreateLogicallyAirGappedBackupVaultCommandInput, CreateLogicallyAirGappedBackupVaultCommandOutput } from "../commands/CreateLogicallyAirGappedBackupVaultCommand";
|
|
9
10
|
import { CreateReportPlanCommandInput, CreateReportPlanCommandOutput } from "../commands/CreateReportPlanCommand";
|
|
10
11
|
import { DeleteBackupPlanCommandInput, DeleteBackupPlanCommandOutput } from "../commands/DeleteBackupPlanCommand";
|
|
11
12
|
import { DeleteBackupSelectionCommandInput, DeleteBackupSelectionCommandOutput } from "../commands/DeleteBackupSelectionCommand";
|
|
@@ -48,6 +49,7 @@ import { ListBackupVaultsCommandInput, ListBackupVaultsCommandOutput } from "../
|
|
|
48
49
|
import { ListCopyJobsCommandInput, ListCopyJobsCommandOutput } from "../commands/ListCopyJobsCommand";
|
|
49
50
|
import { ListFrameworksCommandInput, ListFrameworksCommandOutput } from "../commands/ListFrameworksCommand";
|
|
50
51
|
import { ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput } from "../commands/ListLegalHoldsCommand";
|
|
52
|
+
import { ListProtectedResourcesByBackupVaultCommandInput, ListProtectedResourcesByBackupVaultCommandOutput } from "../commands/ListProtectedResourcesByBackupVaultCommand";
|
|
51
53
|
import { ListProtectedResourcesCommandInput, ListProtectedResourcesCommandOutput } from "../commands/ListProtectedResourcesCommand";
|
|
52
54
|
import { ListRecoveryPointsByBackupVaultCommandInput, ListRecoveryPointsByBackupVaultCommandOutput } from "../commands/ListRecoveryPointsByBackupVaultCommand";
|
|
53
55
|
import { ListRecoveryPointsByLegalHoldCommandInput, ListRecoveryPointsByLegalHoldCommandOutput } from "../commands/ListRecoveryPointsByLegalHoldCommand";
|
|
@@ -96,6 +98,10 @@ export declare const se_CreateFrameworkCommand: (input: CreateFrameworkCommandIn
|
|
|
96
98
|
* serializeAws_restJson1CreateLegalHoldCommand
|
|
97
99
|
*/
|
|
98
100
|
export declare const se_CreateLegalHoldCommand: (input: CreateLegalHoldCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
101
|
+
/**
|
|
102
|
+
* serializeAws_restJson1CreateLogicallyAirGappedBackupVaultCommand
|
|
103
|
+
*/
|
|
104
|
+
export declare const se_CreateLogicallyAirGappedBackupVaultCommand: (input: CreateLogicallyAirGappedBackupVaultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
99
105
|
/**
|
|
100
106
|
* serializeAws_restJson1CreateReportPlanCommand
|
|
101
107
|
*/
|
|
@@ -268,6 +274,10 @@ export declare const se_ListLegalHoldsCommand: (input: ListLegalHoldsCommandInpu
|
|
|
268
274
|
* serializeAws_restJson1ListProtectedResourcesCommand
|
|
269
275
|
*/
|
|
270
276
|
export declare const se_ListProtectedResourcesCommand: (input: ListProtectedResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
277
|
+
/**
|
|
278
|
+
* serializeAws_restJson1ListProtectedResourcesByBackupVaultCommand
|
|
279
|
+
*/
|
|
280
|
+
export declare const se_ListProtectedResourcesByBackupVaultCommand: (input: ListProtectedResourcesByBackupVaultCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
271
281
|
/**
|
|
272
282
|
* serializeAws_restJson1ListRecoveryPointsByBackupVaultCommand
|
|
273
283
|
*/
|
|
@@ -384,6 +394,10 @@ export declare const de_CreateFrameworkCommand: (output: __HttpResponse, context
|
|
|
384
394
|
* deserializeAws_restJson1CreateLegalHoldCommand
|
|
385
395
|
*/
|
|
386
396
|
export declare const de_CreateLegalHoldCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLegalHoldCommandOutput>;
|
|
397
|
+
/**
|
|
398
|
+
* deserializeAws_restJson1CreateLogicallyAirGappedBackupVaultCommand
|
|
399
|
+
*/
|
|
400
|
+
export declare const de_CreateLogicallyAirGappedBackupVaultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLogicallyAirGappedBackupVaultCommandOutput>;
|
|
387
401
|
/**
|
|
388
402
|
* deserializeAws_restJson1CreateReportPlanCommand
|
|
389
403
|
*/
|
|
@@ -556,6 +570,10 @@ export declare const de_ListLegalHoldsCommand: (output: __HttpResponse, context:
|
|
|
556
570
|
* deserializeAws_restJson1ListProtectedResourcesCommand
|
|
557
571
|
*/
|
|
558
572
|
export declare const de_ListProtectedResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProtectedResourcesCommandOutput>;
|
|
573
|
+
/**
|
|
574
|
+
* deserializeAws_restJson1ListProtectedResourcesByBackupVaultCommand
|
|
575
|
+
*/
|
|
576
|
+
export declare const de_ListProtectedResourcesByBackupVaultCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProtectedResourcesByBackupVaultCommandOutput>;
|
|
559
577
|
/**
|
|
560
578
|
* deserializeAws_restJson1ListRecoveryPointsByBackupVaultCommand
|
|
561
579
|
*/
|
|
@@ -24,6 +24,10 @@ import {
|
|
|
24
24
|
CreateLegalHoldCommandInput,
|
|
25
25
|
CreateLegalHoldCommandOutput,
|
|
26
26
|
} from "./commands/CreateLegalHoldCommand";
|
|
27
|
+
import {
|
|
28
|
+
CreateLogicallyAirGappedBackupVaultCommandInput,
|
|
29
|
+
CreateLogicallyAirGappedBackupVaultCommandOutput,
|
|
30
|
+
} from "./commands/CreateLogicallyAirGappedBackupVaultCommand";
|
|
27
31
|
import {
|
|
28
32
|
CreateReportPlanCommandInput,
|
|
29
33
|
CreateReportPlanCommandOutput,
|
|
@@ -192,6 +196,10 @@ import {
|
|
|
192
196
|
ListLegalHoldsCommandInput,
|
|
193
197
|
ListLegalHoldsCommandOutput,
|
|
194
198
|
} from "./commands/ListLegalHoldsCommand";
|
|
199
|
+
import {
|
|
200
|
+
ListProtectedResourcesByBackupVaultCommandInput,
|
|
201
|
+
ListProtectedResourcesByBackupVaultCommandOutput,
|
|
202
|
+
} from "./commands/ListProtectedResourcesByBackupVaultCommand";
|
|
195
203
|
import {
|
|
196
204
|
ListProtectedResourcesCommandInput,
|
|
197
205
|
ListProtectedResourcesCommandOutput,
|
|
@@ -367,6 +375,25 @@ export interface Backup {
|
|
|
367
375
|
options: __HttpHandlerOptions,
|
|
368
376
|
cb: (err: any, data?: CreateLegalHoldCommandOutput) => void
|
|
369
377
|
): void;
|
|
378
|
+
createLogicallyAirGappedBackupVault(
|
|
379
|
+
args: CreateLogicallyAirGappedBackupVaultCommandInput,
|
|
380
|
+
options?: __HttpHandlerOptions
|
|
381
|
+
): Promise<CreateLogicallyAirGappedBackupVaultCommandOutput>;
|
|
382
|
+
createLogicallyAirGappedBackupVault(
|
|
383
|
+
args: CreateLogicallyAirGappedBackupVaultCommandInput,
|
|
384
|
+
cb: (
|
|
385
|
+
err: any,
|
|
386
|
+
data?: CreateLogicallyAirGappedBackupVaultCommandOutput
|
|
387
|
+
) => void
|
|
388
|
+
): void;
|
|
389
|
+
createLogicallyAirGappedBackupVault(
|
|
390
|
+
args: CreateLogicallyAirGappedBackupVaultCommandInput,
|
|
391
|
+
options: __HttpHandlerOptions,
|
|
392
|
+
cb: (
|
|
393
|
+
err: any,
|
|
394
|
+
data?: CreateLogicallyAirGappedBackupVaultCommandOutput
|
|
395
|
+
) => void
|
|
396
|
+
): void;
|
|
370
397
|
createReportPlan(
|
|
371
398
|
args: CreateReportPlanCommandInput,
|
|
372
399
|
options?: __HttpHandlerOptions
|
|
@@ -938,6 +965,25 @@ export interface Backup {
|
|
|
938
965
|
options: __HttpHandlerOptions,
|
|
939
966
|
cb: (err: any, data?: ListProtectedResourcesCommandOutput) => void
|
|
940
967
|
): void;
|
|
968
|
+
listProtectedResourcesByBackupVault(
|
|
969
|
+
args: ListProtectedResourcesByBackupVaultCommandInput,
|
|
970
|
+
options?: __HttpHandlerOptions
|
|
971
|
+
): Promise<ListProtectedResourcesByBackupVaultCommandOutput>;
|
|
972
|
+
listProtectedResourcesByBackupVault(
|
|
973
|
+
args: ListProtectedResourcesByBackupVaultCommandInput,
|
|
974
|
+
cb: (
|
|
975
|
+
err: any,
|
|
976
|
+
data?: ListProtectedResourcesByBackupVaultCommandOutput
|
|
977
|
+
) => void
|
|
978
|
+
): void;
|
|
979
|
+
listProtectedResourcesByBackupVault(
|
|
980
|
+
args: ListProtectedResourcesByBackupVaultCommandInput,
|
|
981
|
+
options: __HttpHandlerOptions,
|
|
982
|
+
cb: (
|
|
983
|
+
err: any,
|
|
984
|
+
data?: ListProtectedResourcesByBackupVaultCommandOutput
|
|
985
|
+
) => void
|
|
986
|
+
): void;
|
|
941
987
|
listRecoveryPointsByBackupVault(
|
|
942
988
|
args: ListRecoveryPointsByBackupVaultCommandInput,
|
|
943
989
|
options?: __HttpHandlerOptions
|