@aws-sdk/client-backup 3.335.0 → 3.336.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
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 }] }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
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 }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
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 }] }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
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 }] }] };
4
4
  export const ruleSet = _data;
@@ -38,6 +38,9 @@ export interface ListRecoveryPointsByLegalHoldCommandOutput extends ListRecovery
38
38
  * // RecoveryPoints: [ // RecoveryPointsList
39
39
  * // { // RecoveryPointMember
40
40
  * // RecoveryPointArn: "STRING_VALUE",
41
+ * // ResourceArn: "STRING_VALUE",
42
+ * // ResourceType: "STRING_VALUE",
43
+ * // BackupVaultName: "STRING_VALUE",
41
44
  * // },
42
45
  * // ],
43
46
  * // NextToken: "STRING_VALUE",
@@ -13,7 +13,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
13
13
  defaultSigningName: string;
14
14
  };
15
15
  export interface EndpointParameters extends __EndpointParameters {
16
- Region: string;
16
+ Region?: string;
17
17
  UseDualStack?: boolean;
18
18
  UseFIPS?: boolean;
19
19
  Endpoint?: string;
@@ -318,6 +318,13 @@ export interface BackupRule {
318
318
  * <p>A value in minutes after a backup is scheduled before a job will be canceled if it
319
319
  * doesn't start successfully. This value is optional.
320
320
  * If this value is included, it must be at least 60 minutes to avoid errors.</p>
321
+ * <p>During the start window, the backup job status remains in <code>CREATED</code> status until it
322
+ * has successfully begun or until the start window time has run out. If within the start
323
+ * window time Backup receives an error that allows the job to be retried,
324
+ * Backup will automatically retry to begin the job at least every 10 minutes
325
+ * until the backup
326
+ * successfully begins (the job status changes to <code>RUNNING</code>) or until the job status
327
+ * changes to <code>EXPIRED</code> (which is expected to occur when the start window time is over).</p>
321
328
  */
322
329
  StartWindowMinutes?: number;
323
330
  /**
@@ -409,6 +416,13 @@ export interface BackupRuleInput {
409
416
  * <p>A value in minutes after a backup is scheduled before a job will be canceled if it
410
417
  * doesn't start successfully. This value is optional.
411
418
  * If this value is included, it must be at least 60 minutes to avoid errors.</p>
419
+ * <p>During the start window, the backup job status remains in <code>CREATED</code> status until it
420
+ * has successfully begun or until the start window time has run out. If within the start
421
+ * window time Backup receives an error that allows the job to be retried,
422
+ * Backup will automatically retry to begin the job at least every 10 minutes
423
+ * until the backup
424
+ * successfully begins (the job status changes to <code>RUNNING</code>) or until the job status
425
+ * changes to <code>EXPIRED</code> (which is expected to occur when the start window time is over).</p>
412
426
  */
413
427
  StartWindowMinutes?: number;
414
428
  /**
@@ -4091,6 +4105,21 @@ export interface RecoveryPointMember {
4091
4105
  * recovery point.</p>
4092
4106
  */
4093
4107
  RecoveryPointArn?: string;
4108
+ /**
4109
+ * <p>This is the Amazon Resource Name (ARN) that uniquely identifies
4110
+ * a saved resource.</p>
4111
+ */
4112
+ ResourceArn?: string;
4113
+ /**
4114
+ * <p>This is the Amazon Web Services resource type that is saved as
4115
+ * a recovery point.</p>
4116
+ */
4117
+ ResourceType?: string;
4118
+ /**
4119
+ * <p>This is the name of the backup vault
4120
+ * (the logical container in which backups are stored).</p>
4121
+ */
4122
+ BackupVaultName?: string;
4094
4123
  }
4095
4124
  /**
4096
4125
  * @public
@@ -4625,6 +4654,13 @@ export interface StartBackupJobInput {
4625
4654
  * <p>A value in minutes after a backup is scheduled before a job will be canceled if it
4626
4655
  * doesn't start successfully. This value is optional, and the default is 8 hours.
4627
4656
  * If this value is included, it must be at least 60 minutes to avoid errors.</p>
4657
+ * <p>During the start window, the backup job status remains in <code>CREATED</code> status until it
4658
+ * has successfully begun or until the start window time has run out. If within the start
4659
+ * window time Backup receives an error that allows the job to be retried,
4660
+ * Backup will automatically retry to begin the job at least every 10 minutes
4661
+ * until the backup
4662
+ * successfully begins (the job status changes to <code>RUNNING</code>) or until the job status
4663
+ * changes to <code>EXPIRED</code> (which is expected to occur when the start window time is over).</p>
4628
4664
  */
4629
4665
  StartWindowMinutes?: number;
4630
4666
  /**
@@ -4872,6 +4908,10 @@ export interface StartRestoreJobInput {
4872
4908
  * </li>
4873
4909
  * <li>
4874
4910
  * <p>
4911
+ * <code>CloudFormation</code> for CloudFormation</p>
4912
+ * </li>
4913
+ * <li>
4914
+ * <p>
4875
4915
  * <code>DynamoDB</code> for Amazon DynamoDB</p>
4876
4916
  * </li>
4877
4917
  * <li>
@@ -4900,6 +4940,10 @@ export interface StartRestoreJobInput {
4900
4940
  * </li>
4901
4941
  * <li>
4902
4942
  * <p>
4943
+ * <code>Redshift</code> for Amazon Redshift</p>
4944
+ * </li>
4945
+ * <li>
4946
+ * <p>
4903
4947
  * <code>Storage Gateway</code> for Storage Gateway</p>
4904
4948
  * </li>
4905
4949
  * <li>
@@ -4908,6 +4952,10 @@ export interface StartRestoreJobInput {
4908
4952
  * </li>
4909
4953
  * <li>
4910
4954
  * <p>
4955
+ * <code>Timestream</code> for Amazon Timestream</p>
4956
+ * </li>
4957
+ * <li>
4958
+ * <p>
4911
4959
  * <code>VirtualMachine</code> for virtual machines</p>
4912
4960
  * </li>
4913
4961
  * </ul>
@@ -25,7 +25,7 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  defaultSigningName: string;
26
26
  };
27
27
  export interface EndpointParameters extends __EndpointParameters {
28
- Region: string;
28
+ Region?: string;
29
29
  UseDualStack?: boolean;
30
30
  UseFIPS?: boolean;
31
31
  Endpoint?: string;
@@ -933,6 +933,9 @@ export interface ListRecoveryPointsByLegalHoldInput {
933
933
  }
934
934
  export interface RecoveryPointMember {
935
935
  RecoveryPointArn?: string;
936
+ ResourceArn?: string;
937
+ ResourceType?: string;
938
+ BackupVaultName?: string;
936
939
  }
937
940
  export interface ListRecoveryPointsByLegalHoldOutput {
938
941
  RecoveryPoints?: RecoveryPointMember[];
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.335.0",
4
+ "version": "3.336.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",