@aws-sdk/client-backup 3.266.1 → 3.267.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +14 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +14 -0
- package/dist-types/Backup.d.ts +6 -2
- package/dist-types/commands/PutBackupVaultLockConfigurationCommand.d.ts +6 -2
- package/dist-types/models/models_0.d.ts +45 -1
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +29 -29
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2439,6 +2439,9 @@ const deserializeAws_restJson1DescribeBackupJobCommand = async (output, context)
|
|
|
2439
2439
|
if (data.ResourceArn != null) {
|
|
2440
2440
|
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
2441
2441
|
}
|
|
2442
|
+
if (data.ResourceName != null) {
|
|
2443
|
+
contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
|
|
2444
|
+
}
|
|
2442
2445
|
if (data.ResourceType != null) {
|
|
2443
2446
|
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
2444
2447
|
}
|
|
@@ -2717,6 +2720,9 @@ const deserializeAws_restJson1DescribeProtectedResourceCommand = async (output,
|
|
|
2717
2720
|
if (data.ResourceArn != null) {
|
|
2718
2721
|
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
2719
2722
|
}
|
|
2723
|
+
if (data.ResourceName != null) {
|
|
2724
|
+
contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
|
|
2725
|
+
}
|
|
2720
2726
|
if (data.ResourceType != null) {
|
|
2721
2727
|
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
2722
2728
|
}
|
|
@@ -2811,6 +2817,9 @@ const deserializeAws_restJson1DescribeRecoveryPointCommand = async (output, cont
|
|
|
2811
2817
|
if (data.ResourceArn != null) {
|
|
2812
2818
|
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
2813
2819
|
}
|
|
2820
|
+
if (data.ResourceName != null) {
|
|
2821
|
+
contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
|
|
2822
|
+
}
|
|
2814
2823
|
if (data.ResourceType != null) {
|
|
2815
2824
|
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
2816
2825
|
}
|
|
@@ -5726,6 +5735,7 @@ const deserializeAws_restJson1BackupJob = (output, context) => {
|
|
|
5726
5735
|
PercentDone: (0, smithy_client_1.expectString)(output.PercentDone),
|
|
5727
5736
|
RecoveryPointArn: (0, smithy_client_1.expectString)(output.RecoveryPointArn),
|
|
5728
5737
|
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
5738
|
+
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
5729
5739
|
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
5730
5740
|
StartBy: output.StartBy != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartBy))) : undefined,
|
|
5731
5741
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
@@ -6051,6 +6061,7 @@ const deserializeAws_restJson1CopyJob = (output, context) => {
|
|
|
6051
6061
|
NumberOfChildJobs: (0, smithy_client_1.expectLong)(output.NumberOfChildJobs),
|
|
6052
6062
|
ParentJobId: (0, smithy_client_1.expectString)(output.ParentJobId),
|
|
6053
6063
|
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
6064
|
+
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
6054
6065
|
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
6055
6066
|
SourceBackupVaultArn: (0, smithy_client_1.expectString)(output.SourceBackupVaultArn),
|
|
6056
6067
|
SourceRecoveryPointArn: (0, smithy_client_1.expectString)(output.SourceRecoveryPointArn),
|
|
@@ -6205,6 +6216,7 @@ const deserializeAws_restJson1ProtectedResource = (output, context) => {
|
|
|
6205
6216
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastBackupTime)))
|
|
6206
6217
|
: undefined,
|
|
6207
6218
|
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
6219
|
+
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
6208
6220
|
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
6209
6221
|
};
|
|
6210
6222
|
};
|
|
@@ -6246,6 +6258,7 @@ const deserializeAws_restJson1RecoveryPointByBackupVault = (output, context) =>
|
|
|
6246
6258
|
ParentRecoveryPointArn: (0, smithy_client_1.expectString)(output.ParentRecoveryPointArn),
|
|
6247
6259
|
RecoveryPointArn: (0, smithy_client_1.expectString)(output.RecoveryPointArn),
|
|
6248
6260
|
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
6261
|
+
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
6249
6262
|
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
6250
6263
|
SourceBackupVaultArn: (0, smithy_client_1.expectString)(output.SourceBackupVaultArn),
|
|
6251
6264
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -6274,6 +6287,7 @@ const deserializeAws_restJson1RecoveryPointByResource = (output, context) => {
|
|
|
6274
6287
|
IsParent: (0, smithy_client_1.expectBoolean)(output.IsParent),
|
|
6275
6288
|
ParentRecoveryPointArn: (0, smithy_client_1.expectString)(output.ParentRecoveryPointArn),
|
|
6276
6289
|
RecoveryPointArn: (0, smithy_client_1.expectString)(output.RecoveryPointArn),
|
|
6290
|
+
ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
|
|
6277
6291
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
6278
6292
|
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
6279
6293
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -2346,6 +2346,9 @@ export const deserializeAws_restJson1DescribeBackupJobCommand = async (output, c
|
|
|
2346
2346
|
if (data.ResourceArn != null) {
|
|
2347
2347
|
contents.ResourceArn = __expectString(data.ResourceArn);
|
|
2348
2348
|
}
|
|
2349
|
+
if (data.ResourceName != null) {
|
|
2350
|
+
contents.ResourceName = __expectString(data.ResourceName);
|
|
2351
|
+
}
|
|
2349
2352
|
if (data.ResourceType != null) {
|
|
2350
2353
|
contents.ResourceType = __expectString(data.ResourceType);
|
|
2351
2354
|
}
|
|
@@ -2619,6 +2622,9 @@ export const deserializeAws_restJson1DescribeProtectedResourceCommand = async (o
|
|
|
2619
2622
|
if (data.ResourceArn != null) {
|
|
2620
2623
|
contents.ResourceArn = __expectString(data.ResourceArn);
|
|
2621
2624
|
}
|
|
2625
|
+
if (data.ResourceName != null) {
|
|
2626
|
+
contents.ResourceName = __expectString(data.ResourceName);
|
|
2627
|
+
}
|
|
2622
2628
|
if (data.ResourceType != null) {
|
|
2623
2629
|
contents.ResourceType = __expectString(data.ResourceType);
|
|
2624
2630
|
}
|
|
@@ -2712,6 +2718,9 @@ export const deserializeAws_restJson1DescribeRecoveryPointCommand = async (outpu
|
|
|
2712
2718
|
if (data.ResourceArn != null) {
|
|
2713
2719
|
contents.ResourceArn = __expectString(data.ResourceArn);
|
|
2714
2720
|
}
|
|
2721
|
+
if (data.ResourceName != null) {
|
|
2722
|
+
contents.ResourceName = __expectString(data.ResourceName);
|
|
2723
|
+
}
|
|
2715
2724
|
if (data.ResourceType != null) {
|
|
2716
2725
|
contents.ResourceType = __expectString(data.ResourceType);
|
|
2717
2726
|
}
|
|
@@ -5577,6 +5586,7 @@ const deserializeAws_restJson1BackupJob = (output, context) => {
|
|
|
5577
5586
|
PercentDone: __expectString(output.PercentDone),
|
|
5578
5587
|
RecoveryPointArn: __expectString(output.RecoveryPointArn),
|
|
5579
5588
|
ResourceArn: __expectString(output.ResourceArn),
|
|
5589
|
+
ResourceName: __expectString(output.ResourceName),
|
|
5580
5590
|
ResourceType: __expectString(output.ResourceType),
|
|
5581
5591
|
StartBy: output.StartBy != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartBy))) : undefined,
|
|
5582
5592
|
State: __expectString(output.State),
|
|
@@ -5902,6 +5912,7 @@ const deserializeAws_restJson1CopyJob = (output, context) => {
|
|
|
5902
5912
|
NumberOfChildJobs: __expectLong(output.NumberOfChildJobs),
|
|
5903
5913
|
ParentJobId: __expectString(output.ParentJobId),
|
|
5904
5914
|
ResourceArn: __expectString(output.ResourceArn),
|
|
5915
|
+
ResourceName: __expectString(output.ResourceName),
|
|
5905
5916
|
ResourceType: __expectString(output.ResourceType),
|
|
5906
5917
|
SourceBackupVaultArn: __expectString(output.SourceBackupVaultArn),
|
|
5907
5918
|
SourceRecoveryPointArn: __expectString(output.SourceRecoveryPointArn),
|
|
@@ -6056,6 +6067,7 @@ const deserializeAws_restJson1ProtectedResource = (output, context) => {
|
|
|
6056
6067
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastBackupTime)))
|
|
6057
6068
|
: undefined,
|
|
6058
6069
|
ResourceArn: __expectString(output.ResourceArn),
|
|
6070
|
+
ResourceName: __expectString(output.ResourceName),
|
|
6059
6071
|
ResourceType: __expectString(output.ResourceType),
|
|
6060
6072
|
};
|
|
6061
6073
|
};
|
|
@@ -6097,6 +6109,7 @@ const deserializeAws_restJson1RecoveryPointByBackupVault = (output, context) =>
|
|
|
6097
6109
|
ParentRecoveryPointArn: __expectString(output.ParentRecoveryPointArn),
|
|
6098
6110
|
RecoveryPointArn: __expectString(output.RecoveryPointArn),
|
|
6099
6111
|
ResourceArn: __expectString(output.ResourceArn),
|
|
6112
|
+
ResourceName: __expectString(output.ResourceName),
|
|
6100
6113
|
ResourceType: __expectString(output.ResourceType),
|
|
6101
6114
|
SourceBackupVaultArn: __expectString(output.SourceBackupVaultArn),
|
|
6102
6115
|
Status: __expectString(output.Status),
|
|
@@ -6125,6 +6138,7 @@ const deserializeAws_restJson1RecoveryPointByResource = (output, context) => {
|
|
|
6125
6138
|
IsParent: __expectBoolean(output.IsParent),
|
|
6126
6139
|
ParentRecoveryPointArn: __expectString(output.ParentRecoveryPointArn),
|
|
6127
6140
|
RecoveryPointArn: __expectString(output.RecoveryPointArn),
|
|
6141
|
+
ResourceName: __expectString(output.ResourceName),
|
|
6128
6142
|
Status: __expectString(output.Status),
|
|
6129
6143
|
StatusMessage: __expectString(output.StatusMessage),
|
|
6130
6144
|
};
|
package/dist-types/Backup.d.ts
CHANGED
|
@@ -514,8 +514,12 @@ export declare class Backup extends BackupClient {
|
|
|
514
514
|
* point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and
|
|
515
515
|
* maximum retention period for future backup and copy jobs that target a backup vault.</p>
|
|
516
516
|
* <note>
|
|
517
|
-
* <p>Backup Vault Lock has
|
|
518
|
-
* 17a-4
|
|
517
|
+
* <p>Backup Vault Lock has been assessed by Cohasset Associates for use in environments
|
|
518
|
+
* that are subject to SEC 17a-4, CFTC, and FINRA regulations. For more information about
|
|
519
|
+
* how Backup Vault Lock relates to these regulations, see the
|
|
520
|
+
* <a href="samples/cohassetreport.zip">Cohasset Associates
|
|
521
|
+
* Compliance Assessment.</a>
|
|
522
|
+
* </p>
|
|
519
523
|
* </note>
|
|
520
524
|
*/
|
|
521
525
|
putBackupVaultLockConfiguration(args: PutBackupVaultLockConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutBackupVaultLockConfigurationCommandOutput>;
|
|
@@ -14,8 +14,12 @@ export interface PutBackupVaultLockConfigurationCommandOutput extends __Metadata
|
|
|
14
14
|
* point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and
|
|
15
15
|
* maximum retention period for future backup and copy jobs that target a backup vault.</p>
|
|
16
16
|
* <note>
|
|
17
|
-
* <p>Backup Vault Lock has
|
|
18
|
-
* 17a-4
|
|
17
|
+
* <p>Backup Vault Lock has been assessed by Cohasset Associates for use in environments
|
|
18
|
+
* that are subject to SEC 17a-4, CFTC, and FINRA regulations. For more information about
|
|
19
|
+
* how Backup Vault Lock relates to these regulations, see the
|
|
20
|
+
* <a href="samples/cohassetreport.zip">Cohasset Associates
|
|
21
|
+
* Compliance Assessment.</a>
|
|
22
|
+
* </p>
|
|
19
23
|
* </note>
|
|
20
24
|
* @example
|
|
21
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -220,6 +220,11 @@ export interface BackupJob {
|
|
|
220
220
|
* a parent (composite) backup job.</p>
|
|
221
221
|
*/
|
|
222
222
|
IsParent?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* <p>This is the non-unique name of the resource that
|
|
225
|
+
* belongs to the specified backup.</p>
|
|
226
|
+
*/
|
|
227
|
+
ResourceName?: string;
|
|
223
228
|
}
|
|
224
229
|
/**
|
|
225
230
|
* <p>Contains an array of <code>Transition</code> objects specifying how long in days before
|
|
@@ -1138,6 +1143,11 @@ export interface CopyJob {
|
|
|
1138
1143
|
* child (nested) copy jobs.</p>
|
|
1139
1144
|
*/
|
|
1140
1145
|
ChildJobsInState?: Record<string, number>;
|
|
1146
|
+
/**
|
|
1147
|
+
* <p>This is the non-unique name of the resource that
|
|
1148
|
+
* belongs to the specified backup.</p>
|
|
1149
|
+
*/
|
|
1150
|
+
ResourceName?: string;
|
|
1141
1151
|
}
|
|
1142
1152
|
export interface CreateBackupPlanInput {
|
|
1143
1153
|
/**
|
|
@@ -1857,6 +1867,11 @@ export interface DescribeBackupJobOutput {
|
|
|
1857
1867
|
* <p>This returns the statistics of the included child (nested) backup jobs.</p>
|
|
1858
1868
|
*/
|
|
1859
1869
|
ChildJobsInState?: Record<string, number>;
|
|
1870
|
+
/**
|
|
1871
|
+
* <p>This is the non-unique name of the resource that
|
|
1872
|
+
* belongs to the specified backup.</p>
|
|
1873
|
+
*/
|
|
1874
|
+
ResourceName?: string;
|
|
1860
1875
|
}
|
|
1861
1876
|
export interface DescribeBackupVaultInput {
|
|
1862
1877
|
/**
|
|
@@ -2069,6 +2084,11 @@ export interface DescribeProtectedResourceOutput {
|
|
|
2069
2084
|
* AM.</p>
|
|
2070
2085
|
*/
|
|
2071
2086
|
LastBackupTime?: Date;
|
|
2087
|
+
/**
|
|
2088
|
+
* <p>This is the non-unique name of the resource that
|
|
2089
|
+
* belongs to the specified backup.</p>
|
|
2090
|
+
*/
|
|
2091
|
+
ResourceName?: string;
|
|
2072
2092
|
}
|
|
2073
2093
|
export interface DescribeRecoveryPointInput {
|
|
2074
2094
|
/**
|
|
@@ -2245,6 +2265,11 @@ export interface DescribeRecoveryPointOutput {
|
|
|
2245
2265
|
* <p>This returns the boolean value that a recovery point is a parent (composite) job.</p>
|
|
2246
2266
|
*/
|
|
2247
2267
|
IsParent?: boolean;
|
|
2268
|
+
/**
|
|
2269
|
+
* <p>This is the non-unique name of the resource that
|
|
2270
|
+
* belongs to the specified backup.</p>
|
|
2271
|
+
*/
|
|
2272
|
+
ResourceName?: string;
|
|
2248
2273
|
}
|
|
2249
2274
|
export interface DescribeRegionSettingsInput {
|
|
2250
2275
|
}
|
|
@@ -3440,6 +3465,11 @@ export interface ProtectedResource {
|
|
|
3440
3465
|
* AM.</p>
|
|
3441
3466
|
*/
|
|
3442
3467
|
LastBackupTime?: Date;
|
|
3468
|
+
/**
|
|
3469
|
+
* <p>This is the non-unique name of the resource that
|
|
3470
|
+
* belongs to the specified backup.</p>
|
|
3471
|
+
*/
|
|
3472
|
+
ResourceName?: string;
|
|
3443
3473
|
}
|
|
3444
3474
|
export interface ListProtectedResourcesOutput {
|
|
3445
3475
|
/**
|
|
@@ -3634,6 +3664,11 @@ export interface RecoveryPointByBackupVault {
|
|
|
3634
3664
|
* a parent (composite) recovery point.</p>
|
|
3635
3665
|
*/
|
|
3636
3666
|
IsParent?: boolean;
|
|
3667
|
+
/**
|
|
3668
|
+
* <p>This is the non-unique name of the resource that
|
|
3669
|
+
* belongs to the specified backup.</p>
|
|
3670
|
+
*/
|
|
3671
|
+
ResourceName?: string;
|
|
3637
3672
|
}
|
|
3638
3673
|
export interface ListRecoveryPointsByBackupVaultOutput {
|
|
3639
3674
|
/**
|
|
@@ -3761,6 +3796,11 @@ export interface RecoveryPointByResource {
|
|
|
3761
3796
|
* recovery point.</p>
|
|
3762
3797
|
*/
|
|
3763
3798
|
ParentRecoveryPointArn?: string;
|
|
3799
|
+
/**
|
|
3800
|
+
* <p>This is the non-unique name of the resource that
|
|
3801
|
+
* belongs to the specified backup.</p>
|
|
3802
|
+
*/
|
|
3803
|
+
ResourceName?: string;
|
|
3764
3804
|
}
|
|
3765
3805
|
export interface ListRecoveryPointsByResourceOutput {
|
|
3766
3806
|
/**
|
|
@@ -4204,7 +4244,11 @@ export interface StartBackupJobOutput {
|
|
|
4204
4244
|
*/
|
|
4205
4245
|
BackupJobId?: string;
|
|
4206
4246
|
/**
|
|
4207
|
-
* <p>
|
|
4247
|
+
* <p>
|
|
4248
|
+
* <i>Note: This field is only returned for Amazon EFS and Advanced DynamoDB
|
|
4249
|
+
* resources.</i>
|
|
4250
|
+
* </p>
|
|
4251
|
+
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|
4208
4252
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|
4209
4253
|
*/
|
|
4210
4254
|
RecoveryPointArn?: string;
|
|
@@ -57,6 +57,7 @@ export interface BackupJob {
|
|
|
57
57
|
BackupType?: string;
|
|
58
58
|
ParentJobId?: string;
|
|
59
59
|
IsParent?: boolean;
|
|
60
|
+
ResourceName?: string;
|
|
60
61
|
}
|
|
61
62
|
export interface Lifecycle {
|
|
62
63
|
MoveToColdStorageAfterDays?: number;
|
|
@@ -290,6 +291,7 @@ export interface CopyJob {
|
|
|
290
291
|
CompositeMemberIdentifier?: string;
|
|
291
292
|
NumberOfChildJobs?: number;
|
|
292
293
|
ChildJobsInState?: Record<string, number>;
|
|
294
|
+
ResourceName?: string;
|
|
293
295
|
}
|
|
294
296
|
export interface CreateBackupPlanInput {
|
|
295
297
|
BackupPlan: BackupPlanInput | undefined;
|
|
@@ -493,6 +495,7 @@ export interface DescribeBackupJobOutput {
|
|
|
493
495
|
IsParent?: boolean;
|
|
494
496
|
NumberOfChildJobs?: number;
|
|
495
497
|
ChildJobsInState?: Record<string, number>;
|
|
498
|
+
ResourceName?: string;
|
|
496
499
|
}
|
|
497
500
|
export interface DescribeBackupVaultInput {
|
|
498
501
|
BackupVaultName: string | undefined;
|
|
@@ -540,6 +543,7 @@ export interface DescribeProtectedResourceOutput {
|
|
|
540
543
|
ResourceArn?: string;
|
|
541
544
|
ResourceType?: string;
|
|
542
545
|
LastBackupTime?: Date;
|
|
546
|
+
ResourceName?: string;
|
|
543
547
|
}
|
|
544
548
|
export interface DescribeRecoveryPointInput {
|
|
545
549
|
BackupVaultName: string | undefined;
|
|
@@ -579,6 +583,7 @@ export interface DescribeRecoveryPointOutput {
|
|
|
579
583
|
ParentRecoveryPointArn?: string;
|
|
580
584
|
CompositeMemberIdentifier?: string;
|
|
581
585
|
IsParent?: boolean;
|
|
586
|
+
ResourceName?: string;
|
|
582
587
|
}
|
|
583
588
|
export interface DescribeRegionSettingsInput {}
|
|
584
589
|
export interface DescribeRegionSettingsOutput {
|
|
@@ -863,6 +868,7 @@ export interface ProtectedResource {
|
|
|
863
868
|
ResourceArn?: string;
|
|
864
869
|
ResourceType?: string;
|
|
865
870
|
LastBackupTime?: Date;
|
|
871
|
+
ResourceName?: string;
|
|
866
872
|
}
|
|
867
873
|
export interface ListProtectedResourcesOutput {
|
|
868
874
|
Results?: ProtectedResource[];
|
|
@@ -901,6 +907,7 @@ export interface RecoveryPointByBackupVault {
|
|
|
901
907
|
ParentRecoveryPointArn?: string;
|
|
902
908
|
CompositeMemberIdentifier?: string;
|
|
903
909
|
IsParent?: boolean;
|
|
910
|
+
ResourceName?: string;
|
|
904
911
|
}
|
|
905
912
|
export interface ListRecoveryPointsByBackupVaultOutput {
|
|
906
913
|
NextToken?: string;
|
|
@@ -933,6 +940,7 @@ export interface RecoveryPointByResource {
|
|
|
933
940
|
BackupVaultName?: string;
|
|
934
941
|
IsParent?: boolean;
|
|
935
942
|
ParentRecoveryPointArn?: string;
|
|
943
|
+
ResourceName?: string;
|
|
936
944
|
}
|
|
937
945
|
export interface ListRecoveryPointsByResourceOutput {
|
|
938
946
|
NextToken?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.267.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.267.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.267.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.267.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.267.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.267.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.267.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.267.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.267.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.267.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.267.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.267.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.267.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.267.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.267.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.267.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.267.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.267.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.267.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.267.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.267.0",
|
|
43
|
+
"@aws-sdk/types": "3.267.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.267.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.267.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.267.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.267.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.267.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.267.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.267.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
56
|
"uuid": "^8.3.2"
|