@aws-sdk/client-backup 3.398.0 → 3.401.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 +1 -1
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +1 -0
- package/dist-types/commands/CreateLogicallyAirGappedBackupVaultCommand.d.ts +4 -3
- package/dist-types/commands/GetBackupPlanCommand.d.ts +1 -0
- package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +1 -0
- package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +1 -0
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +13 -3
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -61,6 +61,7 @@ export interface CreateBackupPlanCommandOutput extends CreateBackupPlanOutput, _
|
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
63
|
* EnableContinuousBackup: true || false,
|
|
64
|
+
* ScheduleExpressionTimezone: "STRING_VALUE",
|
|
64
65
|
* },
|
|
65
66
|
* ],
|
|
66
67
|
* AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -23,9 +23,10 @@ export interface CreateLogicallyAirGappedBackupVaultCommandOutput extends Create
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>This request creates a logical container where backups
|
|
27
|
-
* <p>This request includes a name,
|
|
28
|
-
*
|
|
26
|
+
* <p>This request creates a logical container to where backups may be copied.</p>
|
|
27
|
+
* <p>This request includes a name, the Region, the maximum number of retention days, the
|
|
28
|
+
* minimum number of retention days, and optionally can include tags and a creator request
|
|
29
|
+
* ID.</p>
|
|
29
30
|
* <note>
|
|
30
31
|
* <p>Do not include sensitive data, such as passport numbers, in the name of a backup
|
|
31
32
|
* vault.</p>
|
|
@@ -65,6 +65,7 @@ export interface GetBackupPlanCommandOutput extends GetBackupPlanOutput, __Metad
|
|
|
65
65
|
* // },
|
|
66
66
|
* // ],
|
|
67
67
|
* // EnableContinuousBackup: true || false,
|
|
68
|
+
* // ScheduleExpressionTimezone: "STRING_VALUE",
|
|
68
69
|
* // },
|
|
69
70
|
* // ],
|
|
70
71
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -63,6 +63,7 @@ export interface GetBackupPlanFromJSONCommandOutput extends GetBackupPlanFromJSO
|
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
65
65
|
* // EnableContinuousBackup: true || false,
|
|
66
|
+
* // ScheduleExpressionTimezone: "STRING_VALUE",
|
|
66
67
|
* // },
|
|
67
68
|
* // ],
|
|
68
69
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -63,6 +63,7 @@ export interface GetBackupPlanFromTemplateCommandOutput extends GetBackupPlanFro
|
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
65
65
|
* // EnableContinuousBackup: true || false,
|
|
66
|
+
* // ScheduleExpressionTimezone: "STRING_VALUE",
|
|
66
67
|
* // },
|
|
67
68
|
* // ],
|
|
68
69
|
* // AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -60,6 +60,7 @@ export interface UpdateBackupPlanCommandOutput extends UpdateBackupPlanOutput, _
|
|
|
60
60
|
* },
|
|
61
61
|
* ],
|
|
62
62
|
* EnableContinuousBackup: true || false,
|
|
63
|
+
* ScheduleExpressionTimezone: "STRING_VALUE",
|
|
63
64
|
* },
|
|
64
65
|
* ],
|
|
65
66
|
* AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
@@ -413,6 +413,12 @@ export interface BackupRule {
|
|
|
413
413
|
* (or not specified) causes Backup to create snapshot backups.</p>
|
|
414
414
|
*/
|
|
415
415
|
EnableContinuousBackup?: boolean;
|
|
416
|
+
/**
|
|
417
|
+
* @public
|
|
418
|
+
* <p>This is the timezone in which the schedule expression is set. By default,
|
|
419
|
+
* ScheduleExpressions are in UTC. You can modify this to a specified timezone.</p>
|
|
420
|
+
*/
|
|
421
|
+
ScheduleExpressionTimezone?: string;
|
|
416
422
|
}
|
|
417
423
|
/**
|
|
418
424
|
* @public
|
|
@@ -520,6 +526,12 @@ export interface BackupRuleInput {
|
|
|
520
526
|
* (or not specified) causes Backup to create snapshot backups.</p>
|
|
521
527
|
*/
|
|
522
528
|
EnableContinuousBackup?: boolean;
|
|
529
|
+
/**
|
|
530
|
+
* @public
|
|
531
|
+
* <p>This is the timezone in which the schedule expression is set. By default,
|
|
532
|
+
* ScheduleExpressions are in UTC. You can modify this to a specified timezone.</p>
|
|
533
|
+
*/
|
|
534
|
+
ScheduleExpressionTimezone?: string;
|
|
523
535
|
}
|
|
524
536
|
/**
|
|
525
537
|
* @public
|
|
@@ -1589,9 +1601,7 @@ export interface FrameworkControl {
|
|
|
1589
1601
|
* @public
|
|
1590
1602
|
* <p>The scope of a control. The control scope defines what the control will evaluate. Three
|
|
1591
1603
|
* examples of control scopes are: a specific backup plan, all backup plans with a specific
|
|
1592
|
-
* tag, or all backup plans
|
|
1593
|
-
* <code>ControlScope</code>.</a>
|
|
1594
|
-
* </p>
|
|
1604
|
+
* tag, or all backup plans.</p>
|
|
1595
1605
|
*/
|
|
1596
1606
|
ControlScope?: ControlScope;
|
|
1597
1607
|
}
|
|
@@ -80,6 +80,7 @@ export interface BackupRule {
|
|
|
80
80
|
RuleId?: string;
|
|
81
81
|
CopyActions?: CopyAction[];
|
|
82
82
|
EnableContinuousBackup?: boolean;
|
|
83
|
+
ScheduleExpressionTimezone?: string;
|
|
83
84
|
}
|
|
84
85
|
export interface BackupPlan {
|
|
85
86
|
BackupPlanName: string | undefined;
|
|
@@ -96,6 +97,7 @@ export interface BackupRuleInput {
|
|
|
96
97
|
RecoveryPointTags?: Record<string, string>;
|
|
97
98
|
CopyActions?: CopyAction[];
|
|
98
99
|
EnableContinuousBackup?: boolean;
|
|
100
|
+
ScheduleExpressionTimezone?: string;
|
|
99
101
|
}
|
|
100
102
|
export interface BackupPlanInput {
|
|
101
103
|
BackupPlanName: string | undefined;
|
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.401.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",
|