@aws-sdk/client-backup 3.465.0 → 3.468.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.
@@ -1431,6 +1431,7 @@ const se_ListRestoreJobsCommand = async (input, context) => {
1431
1431
  nextToken: [, input.NextToken],
1432
1432
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1433
1433
  accountId: [, input.ByAccountId],
1434
+ resourceType: [, input.ByResourceType],
1434
1435
  createdBefore: [
1435
1436
  () => input.ByCreatedBefore !== void 0,
1436
1437
  () => (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
@@ -3300,6 +3301,7 @@ const de_DescribeRecoveryPointCommand = async (output, context) => {
3300
3301
  Status: smithy_client_1.expectString,
3301
3302
  StatusMessage: smithy_client_1.expectString,
3302
3303
  StorageClass: smithy_client_1.expectString,
3304
+ VaultType: smithy_client_1.expectString,
3303
3305
  });
3304
3306
  Object.assign(contents, doc);
3305
3307
  return contents;
@@ -6499,6 +6501,7 @@ const de_RecoveryPointByBackupVault = (output, context) => {
6499
6501
  SourceBackupVaultArn: smithy_client_1.expectString,
6500
6502
  Status: smithy_client_1.expectString,
6501
6503
  StatusMessage: smithy_client_1.expectString,
6504
+ VaultType: smithy_client_1.expectString,
6502
6505
  });
6503
6506
  };
6504
6507
  const de_RecoveryPointByBackupVaultList = (output, context) => {
@@ -1359,6 +1359,7 @@ export const se_ListRestoreJobsCommand = async (input, context) => {
1359
1359
  nextToken: [, input.NextToken],
1360
1360
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1361
1361
  accountId: [, input.ByAccountId],
1362
+ resourceType: [, input.ByResourceType],
1362
1363
  createdBefore: [
1363
1364
  () => input.ByCreatedBefore !== void 0,
1364
1365
  () => (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
@@ -3176,6 +3177,7 @@ export const de_DescribeRecoveryPointCommand = async (output, context) => {
3176
3177
  Status: __expectString,
3177
3178
  StatusMessage: __expectString,
3178
3179
  StorageClass: __expectString,
3180
+ VaultType: __expectString,
3179
3181
  });
3180
3182
  Object.assign(contents, doc);
3181
3183
  return contents;
@@ -6311,6 +6313,7 @@ const de_RecoveryPointByBackupVault = (output, context) => {
6311
6313
  SourceBackupVaultArn: __expectString,
6312
6314
  Status: __expectString,
6313
6315
  StatusMessage: __expectString,
6316
+ VaultType: __expectString,
6314
6317
  });
6315
6318
  };
6316
6319
  const de_RecoveryPointByBackupVaultList = (output, context) => {
@@ -74,6 +74,7 @@ export interface DescribeRecoveryPointCommandOutput extends DescribeRecoveryPoin
74
74
  * // CompositeMemberIdentifier: "STRING_VALUE",
75
75
  * // IsParent: true || false,
76
76
  * // ResourceName: "STRING_VALUE",
77
+ * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
77
78
  * // };
78
79
  *
79
80
  * ```
@@ -82,6 +82,7 @@ export interface ListRecoveryPointsByBackupVaultCommandOutput extends ListRecove
82
82
  * // CompositeMemberIdentifier: "STRING_VALUE",
83
83
  * // IsParent: true || false,
84
84
  * // ResourceName: "STRING_VALUE",
85
+ * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
85
86
  * // },
86
87
  * // ],
87
88
  * // };
@@ -35,6 +35,7 @@ export interface ListRestoreJobsCommandOutput extends ListRestoreJobsOutput, __M
35
35
  * NextToken: "STRING_VALUE",
36
36
  * MaxResults: Number("int"),
37
37
  * ByAccountId: "STRING_VALUE",
38
+ * ByResourceType: "STRING_VALUE",
38
39
  * ByCreatedBefore: new Date("TIMESTAMP"),
39
40
  * ByCreatedAfter: new Date("TIMESTAMP"),
40
41
  * ByStatus: "PENDING" || "RUNNING" || "COMPLETED" || "ABORTED" || "FAILED",
@@ -23,10 +23,8 @@ export interface UpdateRegionSettingsCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Updates the current service opt-in settings for the Region. If service-opt-in is enabled
27
- * for a service, Backup tries to protect that service's resources in this Region,
28
- * when the resource is included in an on-demand backup or scheduled backup plan. Otherwise,
29
- * Backup does not try to protect that service's resources in this Region. Use
26
+ * <p>Updates the current service opt-in settings for the Region.</p>
27
+ * <p>Use
30
28
  * the <code>DescribeRegionSettings</code> API to determine the resource types that are
31
29
  * supported.</p>
32
30
  * @example
@@ -3656,6 +3656,11 @@ export interface DescribeRecoveryPointOutput {
3656
3656
  * belongs to the specified backup.</p>
3657
3657
  */
3658
3658
  ResourceName?: string;
3659
+ /**
3660
+ * @public
3661
+ * <p>This is the type of vault in which the described recovery point is stored.</p>
3662
+ */
3663
+ VaultType?: VaultType;
3659
3664
  }
3660
3665
  /**
3661
3666
  * @public
@@ -4895,6 +4900,10 @@ export interface ListBackupJobsInput {
4895
4900
  * </li>
4896
4901
  * <li>
4897
4902
  * <p>
4903
+ * <code>CloudFormation</code> for CloudFormation</p>
4904
+ * </li>
4905
+ * <li>
4906
+ * <p>
4898
4907
  * <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>
4899
4908
  * </li>
4900
4909
  * <li>
@@ -4923,10 +4932,18 @@ export interface ListBackupJobsInput {
4923
4932
  * </li>
4924
4933
  * <li>
4925
4934
  * <p>
4935
+ * <code>Redshift</code> for Amazon Redshift</p>
4936
+ * </li>
4937
+ * <li>
4938
+ * <p>
4926
4939
  * <code>RDS</code> for Amazon Relational Database Service</p>
4927
4940
  * </li>
4928
4941
  * <li>
4929
4942
  * <p>
4943
+ * <code>SAP HANA on Amazon EC2</code> for SAP HANA databases</p>
4944
+ * </li>
4945
+ * <li>
4946
+ * <p>
4930
4947
  * <code>Storage Gateway</code> for Storage Gateway</p>
4931
4948
  * </li>
4932
4949
  * <li>
@@ -4935,6 +4952,10 @@ export interface ListBackupJobsInput {
4935
4952
  * </li>
4936
4953
  * <li>
4937
4954
  * <p>
4955
+ * <code>Timestream</code> for Amazon Timestream</p>
4956
+ * </li>
4957
+ * <li>
4958
+ * <p>
4938
4959
  * <code>VirtualMachine</code> for virtual machines</p>
4939
4960
  * </li>
4940
4961
  * </ul>
@@ -5397,6 +5418,10 @@ export interface ListCopyJobsInput {
5397
5418
  * </li>
5398
5419
  * <li>
5399
5420
  * <p>
5421
+ * <code>CloudFormation</code> for CloudFormation</p>
5422
+ * </li>
5423
+ * <li>
5424
+ * <p>
5400
5425
  * <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>
5401
5426
  * </li>
5402
5427
  * <li>
@@ -5425,10 +5450,18 @@ export interface ListCopyJobsInput {
5425
5450
  * </li>
5426
5451
  * <li>
5427
5452
  * <p>
5453
+ * <code>Redshift</code> for Amazon Redshift</p>
5454
+ * </li>
5455
+ * <li>
5456
+ * <p>
5428
5457
  * <code>RDS</code> for Amazon Relational Database Service</p>
5429
5458
  * </li>
5430
5459
  * <li>
5431
5460
  * <p>
5461
+ * <code>SAP HANA on Amazon EC2</code> for SAP HANA databases</p>
5462
+ * </li>
5463
+ * <li>
5464
+ * <p>
5432
5465
  * <code>Storage Gateway</code> for Storage Gateway</p>
5433
5466
  * </li>
5434
5467
  * <li>
@@ -5437,6 +5470,10 @@ export interface ListCopyJobsInput {
5437
5470
  * </li>
5438
5471
  * <li>
5439
5472
  * <p>
5473
+ * <code>Timestream</code> for Amazon Timestream</p>
5474
+ * </li>
5475
+ * <li>
5476
+ * <p>
5440
5477
  * <code>VirtualMachine</code> for virtual machines</p>
5441
5478
  * </li>
5442
5479
  * </ul>
@@ -5986,7 +6023,73 @@ export interface ListRecoveryPointsByBackupVaultInput {
5986
6023
  ByResourceArn?: string;
5987
6024
  /**
5988
6025
  * @public
5989
- * <p>Returns only recovery points that match the specified resource type.</p>
6026
+ * <p>Returns only recovery points that match the specified resource type(s):</p>
6027
+ * <ul>
6028
+ * <li>
6029
+ * <p>
6030
+ * <code>Aurora</code> for Amazon Aurora</p>
6031
+ * </li>
6032
+ * <li>
6033
+ * <p>
6034
+ * <code>CloudFormation</code> for CloudFormation</p>
6035
+ * </li>
6036
+ * <li>
6037
+ * <p>
6038
+ * <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>
6039
+ * </li>
6040
+ * <li>
6041
+ * <p>
6042
+ * <code>DynamoDB</code> for Amazon DynamoDB</p>
6043
+ * </li>
6044
+ * <li>
6045
+ * <p>
6046
+ * <code>EBS</code> for Amazon Elastic Block Store</p>
6047
+ * </li>
6048
+ * <li>
6049
+ * <p>
6050
+ * <code>EC2</code> for Amazon Elastic Compute Cloud</p>
6051
+ * </li>
6052
+ * <li>
6053
+ * <p>
6054
+ * <code>EFS</code> for Amazon Elastic File System</p>
6055
+ * </li>
6056
+ * <li>
6057
+ * <p>
6058
+ * <code>FSx</code> for Amazon FSx</p>
6059
+ * </li>
6060
+ * <li>
6061
+ * <p>
6062
+ * <code>Neptune</code> for Amazon Neptune</p>
6063
+ * </li>
6064
+ * <li>
6065
+ * <p>
6066
+ * <code>Redshift</code> for Amazon Redshift</p>
6067
+ * </li>
6068
+ * <li>
6069
+ * <p>
6070
+ * <code>RDS</code> for Amazon Relational Database Service</p>
6071
+ * </li>
6072
+ * <li>
6073
+ * <p>
6074
+ * <code>SAP HANA on Amazon EC2</code> for SAP HANA databases</p>
6075
+ * </li>
6076
+ * <li>
6077
+ * <p>
6078
+ * <code>Storage Gateway</code> for Storage Gateway</p>
6079
+ * </li>
6080
+ * <li>
6081
+ * <p>
6082
+ * <code>S3</code> for Amazon S3</p>
6083
+ * </li>
6084
+ * <li>
6085
+ * <p>
6086
+ * <code>Timestream</code> for Amazon Timestream</p>
6087
+ * </li>
6088
+ * <li>
6089
+ * <p>
6090
+ * <code>VirtualMachine</code> for virtual machines</p>
6091
+ * </li>
6092
+ * </ul>
5990
6093
  */
5991
6094
  ByResourceType?: string;
5992
6095
  /**
@@ -6167,6 +6270,11 @@ export interface RecoveryPointByBackupVault {
6167
6270
  * belongs to the specified backup.</p>
6168
6271
  */
6169
6272
  ResourceName?: string;
6273
+ /**
6274
+ * @public
6275
+ * <p>This is the type of vault in which the described recovery point is stored.</p>
6276
+ */
6277
+ VaultType?: VaultType;
6170
6278
  }
6171
6279
  /**
6172
6280
  * @public
@@ -6495,6 +6603,78 @@ export interface ListRestoreJobsInput {
6495
6603
  * specified account ID.</p>
6496
6604
  */
6497
6605
  ByAccountId?: string;
6606
+ /**
6607
+ * @public
6608
+ * <p>Include this parameter to return only restore jobs for the
6609
+ * specified resources:</p>
6610
+ * <ul>
6611
+ * <li>
6612
+ * <p>
6613
+ * <code>Aurora</code> for Amazon Aurora</p>
6614
+ * </li>
6615
+ * <li>
6616
+ * <p>
6617
+ * <code>CloudFormation</code> for CloudFormation</p>
6618
+ * </li>
6619
+ * <li>
6620
+ * <p>
6621
+ * <code>DocumentDB</code> for Amazon DocumentDB (with MongoDB compatibility)</p>
6622
+ * </li>
6623
+ * <li>
6624
+ * <p>
6625
+ * <code>DynamoDB</code> for Amazon DynamoDB</p>
6626
+ * </li>
6627
+ * <li>
6628
+ * <p>
6629
+ * <code>EBS</code> for Amazon Elastic Block Store</p>
6630
+ * </li>
6631
+ * <li>
6632
+ * <p>
6633
+ * <code>EC2</code> for Amazon Elastic Compute Cloud</p>
6634
+ * </li>
6635
+ * <li>
6636
+ * <p>
6637
+ * <code>EFS</code> for Amazon Elastic File System</p>
6638
+ * </li>
6639
+ * <li>
6640
+ * <p>
6641
+ * <code>FSx</code> for Amazon FSx</p>
6642
+ * </li>
6643
+ * <li>
6644
+ * <p>
6645
+ * <code>Neptune</code> for Amazon Neptune</p>
6646
+ * </li>
6647
+ * <li>
6648
+ * <p>
6649
+ * <code>Redshift</code> for Amazon Redshift</p>
6650
+ * </li>
6651
+ * <li>
6652
+ * <p>
6653
+ * <code>RDS</code> for Amazon Relational Database Service</p>
6654
+ * </li>
6655
+ * <li>
6656
+ * <p>
6657
+ * <code>SAP HANA on Amazon EC2</code> for SAP HANA databases</p>
6658
+ * </li>
6659
+ * <li>
6660
+ * <p>
6661
+ * <code>Storage Gateway</code> for Storage Gateway</p>
6662
+ * </li>
6663
+ * <li>
6664
+ * <p>
6665
+ * <code>S3</code> for Amazon S3</p>
6666
+ * </li>
6667
+ * <li>
6668
+ * <p>
6669
+ * <code>Timestream</code> for Amazon Timestream</p>
6670
+ * </li>
6671
+ * <li>
6672
+ * <p>
6673
+ * <code>VirtualMachine</code> for virtual machines</p>
6674
+ * </li>
6675
+ * </ul>
6676
+ */
6677
+ ByResourceType?: string;
6498
6678
  /**
6499
6679
  * @public
6500
6680
  * <p>Returns only restore jobs that were created before the specified date.</p>
@@ -7950,6 +8130,13 @@ export interface UpdateRegionSettingsInput {
7950
8130
  /**
7951
8131
  * @public
7952
8132
  * <p>Updates the list of services along with the opt-in preferences for the Region.</p>
8133
+ * <p>If resource assignments are only based on tags, then service opt-in settings are applied.
8134
+ * If a resource type is explicitly assigned to a backup plan, such as Amazon S3,
8135
+ * Amazon EC2, or Amazon RDS, it will be included in the
8136
+ * backup even if the opt-in is not enabled for that particular service.
8137
+ * If both a resource type and tags are specified in a resource assignment,
8138
+ * the resource type specified in the backup plan takes priority over the
8139
+ * tag condition. Service opt-in settings are disregarded in this situation.</p>
7953
8140
  */
7954
8141
  ResourceTypeOptInPreference?: Record<string, boolean>;
7955
8142
  /**
@@ -762,6 +762,7 @@ export interface DescribeRecoveryPointOutput {
762
762
  CompositeMemberIdentifier?: string;
763
763
  IsParent?: boolean;
764
764
  ResourceName?: string;
765
+ VaultType?: VaultType;
765
766
  }
766
767
  export interface DescribeRegionSettingsInput {}
767
768
  export interface DescribeRegionSettingsOutput {
@@ -1211,6 +1212,7 @@ export interface RecoveryPointByBackupVault {
1211
1212
  CompositeMemberIdentifier?: string;
1212
1213
  IsParent?: boolean;
1213
1214
  ResourceName?: string;
1215
+ VaultType?: VaultType;
1214
1216
  }
1215
1217
  export interface ListRecoveryPointsByBackupVaultOutput {
1216
1218
  NextToken?: string;
@@ -1276,6 +1278,7 @@ export interface ListRestoreJobsInput {
1276
1278
  NextToken?: string;
1277
1279
  MaxResults?: number;
1278
1280
  ByAccountId?: string;
1281
+ ByResourceType?: string;
1279
1282
  ByCreatedBefore?: Date;
1280
1283
  ByCreatedAfter?: Date;
1281
1284
  ByStatus?: RestoreJobStatus;
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.465.0",
4
+ "version": "3.468.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,41 +20,41 @@
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.465.0",
24
- "@aws-sdk/core": "3.465.0",
25
- "@aws-sdk/credential-provider-node": "3.465.0",
26
- "@aws-sdk/middleware-host-header": "3.465.0",
27
- "@aws-sdk/middleware-logger": "3.465.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.465.0",
29
- "@aws-sdk/middleware-signing": "3.465.0",
30
- "@aws-sdk/middleware-user-agent": "3.465.0",
31
- "@aws-sdk/region-config-resolver": "3.465.0",
32
- "@aws-sdk/types": "3.465.0",
33
- "@aws-sdk/util-endpoints": "3.465.0",
34
- "@aws-sdk/util-user-agent-browser": "3.465.0",
35
- "@aws-sdk/util-user-agent-node": "3.465.0",
36
- "@smithy/config-resolver": "^2.0.18",
37
- "@smithy/fetch-http-handler": "^2.2.6",
38
- "@smithy/hash-node": "^2.0.15",
39
- "@smithy/invalid-dependency": "^2.0.13",
40
- "@smithy/middleware-content-length": "^2.0.15",
41
- "@smithy/middleware-endpoint": "^2.2.0",
42
- "@smithy/middleware-retry": "^2.0.20",
43
- "@smithy/middleware-serde": "^2.0.13",
44
- "@smithy/middleware-stack": "^2.0.7",
45
- "@smithy/node-config-provider": "^2.1.5",
46
- "@smithy/node-http-handler": "^2.1.9",
47
- "@smithy/protocol-http": "^3.0.9",
48
- "@smithy/smithy-client": "^2.1.15",
49
- "@smithy/types": "^2.5.0",
50
- "@smithy/url-parser": "^2.0.13",
23
+ "@aws-sdk/client-sts": "3.468.0",
24
+ "@aws-sdk/core": "3.468.0",
25
+ "@aws-sdk/credential-provider-node": "3.468.0",
26
+ "@aws-sdk/middleware-host-header": "3.468.0",
27
+ "@aws-sdk/middleware-logger": "3.468.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
+ "@aws-sdk/middleware-signing": "3.468.0",
30
+ "@aws-sdk/middleware-user-agent": "3.468.0",
31
+ "@aws-sdk/region-config-resolver": "3.468.0",
32
+ "@aws-sdk/types": "3.468.0",
33
+ "@aws-sdk/util-endpoints": "3.468.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.468.0",
35
+ "@aws-sdk/util-user-agent-node": "3.468.0",
36
+ "@smithy/config-resolver": "^2.0.20",
37
+ "@smithy/fetch-http-handler": "^2.3.1",
38
+ "@smithy/hash-node": "^2.0.17",
39
+ "@smithy/invalid-dependency": "^2.0.15",
40
+ "@smithy/middleware-content-length": "^2.0.17",
41
+ "@smithy/middleware-endpoint": "^2.2.2",
42
+ "@smithy/middleware-retry": "^2.0.23",
43
+ "@smithy/middleware-serde": "^2.0.15",
44
+ "@smithy/middleware-stack": "^2.0.9",
45
+ "@smithy/node-config-provider": "^2.1.7",
46
+ "@smithy/node-http-handler": "^2.2.1",
47
+ "@smithy/protocol-http": "^3.0.11",
48
+ "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/types": "^2.7.0",
50
+ "@smithy/url-parser": "^2.0.15",
51
51
  "@smithy/util-base64": "^2.0.1",
52
- "@smithy/util-body-length-browser": "^2.0.0",
52
+ "@smithy/util-body-length-browser": "^2.0.1",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.19",
55
- "@smithy/util-defaults-mode-node": "^2.0.25",
56
- "@smithy/util-endpoints": "^1.0.4",
57
- "@smithy/util-retry": "^2.0.6",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.22",
55
+ "@smithy/util-defaults-mode-node": "^2.0.28",
56
+ "@smithy/util-endpoints": "^1.0.6",
57
+ "@smithy/util-retry": "^2.0.8",
58
58
  "@smithy/util-utf8": "^2.0.2",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"