@aws-sdk/client-backup 3.266.1 → 3.271.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 r = "fn", s = "argv", t = "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 = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, 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: [{ 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: p, 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: q, type: e, rules: [{ conditions: [n], 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 }] }, { endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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 r = "fn", s = "argv", t = "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 = { [t]: "Endpoint" }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, l = {}, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] }, n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] }, o = [i], p = [j], q = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, 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: [{ 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: p, 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: q, type: e, rules: [{ conditions: [n], 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 }] }, { endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
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
  };
@@ -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 yet to receive a third-party assessment for SEC
518
- * 17a-4(f) and CFTC.</p>
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>;
@@ -139,17 +139,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
139
139
  */
140
140
  disableHostPrefix?: boolean;
141
141
  /**
142
- * Value for how many times a request will be made at most in case of retry.
143
- */
144
- maxAttempts?: number | __Provider<number>;
145
- /**
146
- * Specifies which retry algorithm to use.
147
- */
148
- retryMode?: string | __Provider<string>;
149
- /**
150
- * Optional logger for logging debug/info/warn/error.
142
+ * Unique service identifier.
143
+ * @internal
151
144
  */
152
- logger?: __Logger;
145
+ serviceId?: string;
153
146
  /**
154
147
  * Enables IPv6/IPv4 dualstack endpoint.
155
148
  */
@@ -158,11 +151,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
158
151
  * Enables FIPS compatible endpoints.
159
152
  */
160
153
  useFipsEndpoint?: boolean | __Provider<boolean>;
161
- /**
162
- * Unique service identifier.
163
- * @internal
164
- */
165
- serviceId?: string;
166
154
  /**
167
155
  * The AWS region to which this client will send requests
168
156
  */
@@ -177,6 +165,18 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
177
165
  * @internal
178
166
  */
179
167
  defaultUserAgentProvider?: Provider<__UserAgent>;
168
+ /**
169
+ * Value for how many times a request will be made at most in case of retry.
170
+ */
171
+ maxAttempts?: number | __Provider<number>;
172
+ /**
173
+ * Specifies which retry algorithm to use.
174
+ */
175
+ retryMode?: string | __Provider<string>;
176
+ /**
177
+ * Optional logger for logging debug/info/warn/error.
178
+ */
179
+ logger?: __Logger;
180
180
  /**
181
181
  * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
182
182
  */
@@ -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 yet to receive a third-party assessment for SEC
18
- * 17a-4(f) and CFTC.</p>
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>An ARN that uniquely identifies a recovery point; for example,
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;
@@ -24,8 +24,8 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
24
24
  utf8Decoder: import("@aws-sdk/types").Decoder;
25
25
  utf8Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
- logger: import("@aws-sdk/types").Logger;
28
27
  serviceId: string;
28
+ logger: import("@aws-sdk/types").Logger;
29
29
  endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -24,8 +24,8 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
24
24
  utf8Decoder: import("@aws-sdk/types").Decoder;
25
25
  utf8Encoder: import("@aws-sdk/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
- logger: import("@aws-sdk/types").Logger;
28
27
  serviceId: string;
28
+ logger: import("@aws-sdk/types").Logger;
29
29
  endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -15,15 +15,15 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
15
15
  utf8Decoder: import("@aws-sdk/types").Decoder;
16
16
  utf8Encoder: import("@aws-sdk/types").Encoder;
17
17
  disableHostPrefix: boolean;
18
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
- retryMode: string | import("@aws-sdk/types").Provider<string>;
20
- logger: import("@aws-sdk/types").Logger;
18
+ serviceId: string;
21
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
- serviceId: string;
24
21
  region: string | import("@aws-sdk/types").Provider<any>;
25
22
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
23
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
24
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
25
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ logger: import("@aws-sdk/types").Logger;
27
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
28
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -496,15 +496,15 @@ export interface ClientDefaults
496
496
  utf8Encoder?: __Encoder;
497
497
  runtime?: string;
498
498
  disableHostPrefix?: boolean;
499
- maxAttempts?: number | __Provider<number>;
500
- retryMode?: string | __Provider<string>;
501
- logger?: __Logger;
499
+ serviceId?: string;
502
500
  useDualstackEndpoint?: boolean | __Provider<boolean>;
503
501
  useFipsEndpoint?: boolean | __Provider<boolean>;
504
- serviceId?: string;
505
502
  region?: string | __Provider<string>;
506
503
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
507
504
  defaultUserAgentProvider?: Provider<__UserAgent>;
505
+ maxAttempts?: number | __Provider<number>;
506
+ retryMode?: string | __Provider<string>;
507
+ logger?: __Logger;
508
508
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
509
509
  }
510
510
  declare type BackupClientConfigType = Partial<
@@ -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;
@@ -34,8 +34,8 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
34
34
  utf8Decoder: import("@aws-sdk/types").Decoder;
35
35
  utf8Encoder: import("@aws-sdk/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
- logger: import("@aws-sdk/types").Logger;
38
37
  serviceId: string;
38
+ logger: import("@aws-sdk/types").Logger;
39
39
  endpoint?:
40
40
  | ((
41
41
  | string
@@ -34,8 +34,8 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
34
34
  utf8Decoder: import("@aws-sdk/types").Decoder;
35
35
  utf8Encoder: import("@aws-sdk/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
- logger: import("@aws-sdk/types").Logger;
38
37
  serviceId: string;
38
+ logger: import("@aws-sdk/types").Logger;
39
39
  endpoint?:
40
40
  | ((
41
41
  | string
@@ -19,12 +19,9 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
19
19
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
20
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
21
  disableHostPrefix: boolean;
22
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
23
- retryMode: string | import("@aws-sdk/types").Provider<string>;
24
- logger: import("@aws-sdk/types").Logger;
22
+ serviceId: string;
25
23
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
26
24
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
27
- serviceId: string;
28
25
  region: string | import("@aws-sdk/types").Provider<any>;
29
26
  credentialDefaultProvider: (
30
27
  input: any
@@ -32,6 +29,9 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
32
29
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
33
30
  import("@aws-sdk/types").UserAgent
34
31
  >;
32
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
33
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
34
+ logger: import("@aws-sdk/types").Logger;
35
35
  defaultsMode:
36
36
  | import("@aws-sdk/smithy-client").DefaultsMode
37
37
  | import("@aws-sdk/types").Provider<
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.266.1",
4
+ "version": "3.271.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.266.1",
24
- "@aws-sdk/config-resolver": "3.266.1",
25
- "@aws-sdk/credential-provider-node": "3.266.1",
26
- "@aws-sdk/fetch-http-handler": "3.266.1",
27
- "@aws-sdk/hash-node": "3.266.1",
28
- "@aws-sdk/invalid-dependency": "3.266.1",
29
- "@aws-sdk/middleware-content-length": "3.266.1",
30
- "@aws-sdk/middleware-endpoint": "3.266.1",
31
- "@aws-sdk/middleware-host-header": "3.266.1",
32
- "@aws-sdk/middleware-logger": "3.266.1",
33
- "@aws-sdk/middleware-recursion-detection": "3.266.1",
34
- "@aws-sdk/middleware-retry": "3.266.1",
35
- "@aws-sdk/middleware-serde": "3.266.1",
36
- "@aws-sdk/middleware-signing": "3.266.1",
37
- "@aws-sdk/middleware-stack": "3.266.1",
38
- "@aws-sdk/middleware-user-agent": "3.266.1",
39
- "@aws-sdk/node-config-provider": "3.266.1",
40
- "@aws-sdk/node-http-handler": "3.266.1",
41
- "@aws-sdk/protocol-http": "3.266.1",
42
- "@aws-sdk/smithy-client": "3.266.1",
43
- "@aws-sdk/types": "3.266.1",
44
- "@aws-sdk/url-parser": "3.266.1",
23
+ "@aws-sdk/client-sts": "3.271.0",
24
+ "@aws-sdk/config-resolver": "3.271.0",
25
+ "@aws-sdk/credential-provider-node": "3.271.0",
26
+ "@aws-sdk/fetch-http-handler": "3.271.0",
27
+ "@aws-sdk/hash-node": "3.271.0",
28
+ "@aws-sdk/invalid-dependency": "3.271.0",
29
+ "@aws-sdk/middleware-content-length": "3.271.0",
30
+ "@aws-sdk/middleware-endpoint": "3.271.0",
31
+ "@aws-sdk/middleware-host-header": "3.271.0",
32
+ "@aws-sdk/middleware-logger": "3.271.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.271.0",
34
+ "@aws-sdk/middleware-retry": "3.271.0",
35
+ "@aws-sdk/middleware-serde": "3.271.0",
36
+ "@aws-sdk/middleware-signing": "3.271.0",
37
+ "@aws-sdk/middleware-stack": "3.271.0",
38
+ "@aws-sdk/middleware-user-agent": "3.271.0",
39
+ "@aws-sdk/node-config-provider": "3.271.0",
40
+ "@aws-sdk/node-http-handler": "3.271.0",
41
+ "@aws-sdk/protocol-http": "3.271.0",
42
+ "@aws-sdk/smithy-client": "3.271.0",
43
+ "@aws-sdk/types": "3.271.0",
44
+ "@aws-sdk/url-parser": "3.271.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.266.1",
49
- "@aws-sdk/util-defaults-mode-node": "3.266.1",
50
- "@aws-sdk/util-endpoints": "3.266.1",
51
- "@aws-sdk/util-retry": "3.266.1",
52
- "@aws-sdk/util-user-agent-browser": "3.266.1",
53
- "@aws-sdk/util-user-agent-node": "3.266.1",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.271.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.271.0",
50
+ "@aws-sdk/util-endpoints": "3.271.0",
51
+ "@aws-sdk/util-retry": "3.271.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.271.0",
53
+ "@aws-sdk/util-user-agent-node": "3.271.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"