@aws-sdk/client-backup 3.398.0 → 3.405.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.
@@ -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 }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ 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: [{ 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: [{ 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: [{ 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 }] }, { type: b, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", 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 }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ 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: [{ 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: [{ 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: [{ 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 }] }, { type: b, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", 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 are stored.</p>
27
- * <p>This request includes a name, optionally one or more resource tags, an encryption key,
28
- * and a request ID.</p>
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. For more information, see <a href="aws-backup/latest/devguide/API_ControlScope.html">
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.398.0",
4
+ "version": "3.405.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",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.398.0",
25
- "@aws-sdk/credential-provider-node": "3.398.0",
24
+ "@aws-sdk/client-sts": "3.405.0",
25
+ "@aws-sdk/credential-provider-node": "3.405.0",
26
26
  "@aws-sdk/middleware-host-header": "3.398.0",
27
27
  "@aws-sdk/middleware-logger": "3.398.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.398.0",
@@ -31,7 +31,7 @@
31
31
  "@aws-sdk/types": "3.398.0",
32
32
  "@aws-sdk/util-endpoints": "3.398.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.398.0",
34
- "@aws-sdk/util-user-agent-node": "3.398.0",
34
+ "@aws-sdk/util-user-agent-node": "3.405.0",
35
35
  "@smithy/config-resolver": "^2.0.5",
36
36
  "@smithy/fetch-http-handler": "^2.0.5",
37
37
  "@smithy/hash-node": "^2.0.5",
@@ -41,7 +41,7 @@
41
41
  "@smithy/middleware-retry": "^2.0.5",
42
42
  "@smithy/middleware-serde": "^2.0.5",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.6",
45
45
  "@smithy/node-http-handler": "^2.0.5",
46
46
  "@smithy/protocol-http": "^2.0.5",
47
47
  "@smithy/smithy-client": "^2.0.5",
@@ -50,8 +50,8 @@
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.5",
54
- "@smithy/util-defaults-mode-node": "^2.0.5",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.6",
54
+ "@smithy/util-defaults-mode-node": "^2.0.6",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0",