Skip to content

Commit abd2514

Browse files
author
awstools
committed
feat(client-backup): The latest update introduces two new attributes, VaultType and VaultState, to the DescribeBackupVault and ListBackupVaults APIs. The VaultState attribute reflects the current status of the vault, while the VaultType attribute indicates the specific category of the vault.
1 parent fd2bbc5 commit abd2514

22 files changed

+891
-855
lines changed

clients/client-backup/src/commands/CancelLegalHoldCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export interface CancelLegalHoldCommandInput extends CancelLegalHoldInput {}
2828
export interface CancelLegalHoldCommandOutput extends CancelLegalHoldOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>This action removes the specified legal hold on a recovery point.
32-
* This action can only be performed by a user with sufficient permissions.</p>
31+
* <p>Removes the specified legal hold on a recovery point. This action can only be performed
32+
* by a user with sufficient permissions.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.
3535
* ```javascript

clients/client-backup/src/commands/CreateLegalHoldCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ export interface CreateLegalHoldCommandInput extends CreateLegalHoldInput {}
3232
export interface CreateLegalHoldCommandOutput extends CreateLegalHoldOutput, __MetadataBearer {}
3333

3434
/**
35-
* <p>This action creates a legal hold on a recovery point (backup). A legal hold
36-
* is a restraint on altering or deleting a backup until an authorized user cancels the
37-
* legal hold. Any actions to delete or disassociate a recovery point will fail with
38-
* an error if one or more active legal holds are on the recovery point.</p>
35+
* <p>Creates a legal hold on a recovery point (backup). A legal hold is a restraint on
36+
* altering or deleting a backup until an authorized user cancels the legal hold. Any actions
37+
* to delete or disassociate a recovery point will fail with an error if one or more active
38+
* legal holds are on the recovery point.</p>
3939
* @example
4040
* Use a bare-bones client and the command you need to make an API call.
4141
* ```javascript

clients/client-backup/src/commands/CreateLogicallyAirGappedBackupVaultCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface CreateLogicallyAirGappedBackupVaultCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>This request creates a logical container to where backups may be copied.</p>
40+
* <p>Creates a logical container to where backups may be copied.</p>
4141
* <p>This request includes a name, the Region, the maximum number of retention days, the
4242
* minimum number of retention days, and optionally can include tags and a creator request
4343
* ID.</p>

clients/client-backup/src/commands/CreateRestoreTestingPlanCommand.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@ export interface CreateRestoreTestingPlanCommandInput extends CreateRestoreTesti
3232
export interface CreateRestoreTestingPlanCommandOutput extends CreateRestoreTestingPlanOutput, __MetadataBearer {}
3333

3434
/**
35-
* <p>This is the first of two steps to create a restore testing
36-
* plan; once this request is successful, finish the procedure with
37-
* request CreateRestoreTestingSelection.</p>
38-
* <p>You must include the parameter RestoreTestingPlan. You may
39-
* optionally include CreatorRequestId and Tags.</p>
35+
* <p>Creates a restore testing plan.</p>
36+
* <p>The first of two steps to create a restore testing
37+
* plan. After this request is successful, finish the procedure using
38+
* CreateRestoreTestingSelection.</p>
4039
* @example
4140
* Use a bare-bones client and the command you need to make an API call.
4241
* ```javascript

clients/client-backup/src/commands/DescribeBackupVaultCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface DescribeBackupVaultCommandOutput extends DescribeBackupVaultOut
4545
* // BackupVaultName: "STRING_VALUE",
4646
* // BackupVaultArn: "STRING_VALUE",
4747
* // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
48+
* // VaultState: "CREATING" || "AVAILABLE" || "FAILED",
4849
* // EncryptionKeyArn: "STRING_VALUE",
4950
* // CreationDate: new Date("TIMESTAMP"),
5051
* // CreatorRequestId: "STRING_VALUE",

clients/client-backup/src/commands/ListBackupPlanTemplatesCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface ListBackupPlanTemplatesCommandInput extends ListBackupPlanTempl
2828
export interface ListBackupPlanTemplatesCommandOutput extends ListBackupPlanTemplatesOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Returns metadata of your saved backup plan templates, including the template ID, name,
32-
* and the creation and deletion dates.</p>
31+
* <p>Lists the backup plan templates.</p>
3332
* @example
3433
* Use a bare-bones client and the command you need to make an API call.
3534
* ```javascript

clients/client-backup/src/commands/ListBackupPlansCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ export interface ListBackupPlansCommandInput extends ListBackupPlansInput {}
2828
export interface ListBackupPlansCommandOutput extends ListBackupPlansOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Returns a list of all active backup plans for an authenticated account. The list
32-
* contains information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion
33-
* dates, version IDs, plan names, and creator request IDs.</p>
31+
* <p>Lists the active backup plans for the account.</p>
3432
* @example
3533
* Use a bare-bones client and the command you need to make an API call.
3634
* ```javascript

clients/client-backup/src/commands/ListBackupVaultsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ export interface ListBackupVaultsCommandOutput extends ListBackupVaultsOutput, _
4949
* // { // BackupVaultListMember
5050
* // BackupVaultName: "STRING_VALUE",
5151
* // BackupVaultArn: "STRING_VALUE",
52+
* // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
53+
* // VaultState: "CREATING" || "AVAILABLE" || "FAILED",
5254
* // CreationDate: new Date("TIMESTAMP"),
5355
* // EncryptionKeyArn: "STRING_VALUE",
5456
* // CreatorRequestId: "STRING_VALUE",

clients/client-backup/src/commands/ListRecoveryPointsByResourceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface ListRecoveryPointsByResourceCommandOutput
3333
__MetadataBearer {}
3434

3535
/**
36-
* <p>Returns detailed information about all the recovery points of the type specified by a
36+
* <p>The information about the recovery points of the type specified by a
3737
* resource Amazon Resource Name (ARN).</p>
3838
* <note>
3939
* <p>For Amazon EFS and Amazon EC2, this action only lists recovery points

clients/client-backup/src/commands/ListTagsCommand.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,8 @@ export interface ListTagsCommandInput extends ListTagsInput {}
2828
export interface ListTagsCommandOutput extends ListTagsOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Returns a list of key-value pairs assigned to a target recovery point, backup plan, or
31+
* <p>Returns the tags assigned to the resource, such as a target recovery point, backup plan, or
3232
* backup vault.</p>
33-
* <p>
34-
* <code>ListTags</code> only works for resource types that support full Backup
35-
* management of their backups. Those resource types are listed in the "Full Backup management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
36-
* availability by resource</a> table.</p>
3733
* @example
3834
* Use a bare-bones client and the command you need to make an API call.
3935
* ```javascript

clients/client-backup/src/commands/PutBackupVaultLockConfigurationCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ export interface PutBackupVaultLockConfigurationCommandOutput extends __Metadata
4040
* <p>Backup Vault Lock has been assessed by Cohasset Associates for use in environments
4141
* that are subject to SEC 17a-4, CFTC, and FINRA regulations. For more information about
4242
* how Backup Vault Lock relates to these regulations, see the
43-
* <a href="samples/cohassetreport.zip">Cohasset Associates
43+
* <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/samples/cohassetreport.zip">Cohasset Associates
4444
* Compliance Assessment.</a>
4545
* </p>
4646
* </note>
47+
* <p>For more information, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html">Backup Vault Lock</a>.</p>
4748
* @example
4849
* Use a bare-bones client and the command you need to make an API call.
4950
* ```javascript

clients/client-backup/src/commands/StopBackupJobCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface StopBackupJobCommandOutput extends __MetadataBearer {}
3030
/**
3131
* <p>Attempts to cancel a job to create a one-time backup of a resource.</p>
3232
* <p>This action is not supported for the following services:
33-
* Amazon FSx for Windows File Server, Amazon FSx for Lustre, Amazon FSx for NetApp ONTAP
34-
* , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora,
33+
* Amazon FSx for Windows File Server, Amazon FSx for Lustre, Amazon FSx for NetApp ONTAP,
34+
* Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora,
3535
* and Amazon Neptune.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.

clients/client-backup/src/commands/TagResourceCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {}
3030
/**
3131
* <p>Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault
3232
* identified by an Amazon Resource Name (ARN).</p>
33+
* <p>This API is supported for recovery points for resource types
34+
* including Aurora, Amazon DocumentDB. Amazon EBS,
35+
* Amazon FSx, Neptune, and Amazon RDS.</p>
3336
* @example
3437
* Use a bare-bones client and the command you need to make an API call.
3538
* ```javascript

clients/client-backup/src/commands/UntagResourceCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {}
3030
/**
3131
* <p>Removes a set of key-value pairs from a recovery point, backup plan, or backup vault
3232
* identified by an Amazon Resource Name (ARN)</p>
33+
* <p>This API is not supported for recovery points for resource types
34+
* including Aurora, Amazon DocumentDB. Amazon EBS,
35+
* Amazon FSx, Neptune, and Amazon RDS.</p>
3336
* @example
3437
* Use a bare-bones client and the command you need to make an API call.
3538
* ```javascript

clients/client-backup/src/commands/UpdateBackupPlanCommand.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ export interface UpdateBackupPlanCommandInput extends UpdateBackupPlanInput {}
3232
export interface UpdateBackupPlanCommandOutput extends UpdateBackupPlanOutput, __MetadataBearer {}
3333

3434
/**
35-
* <p>Updates an existing backup plan identified by its <code>backupPlanId</code> with the
36-
* input document in JSON format. The new version is uniquely identified by a
37-
* <code>VersionId</code>.</p>
35+
* <p>Updates the specified backup plan. The new version is uniquely identified by its ID.</p>
3836
* @example
3937
* Use a bare-bones client and the command you need to make an API call.
4038
* ```javascript

clients/client-backup/src/commands/UpdateFrameworkCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface UpdateFrameworkCommandInput extends UpdateFrameworkInput {}
2828
export interface UpdateFrameworkCommandOutput extends UpdateFrameworkOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Updates an existing framework identified by its <code>FrameworkName</code> with the
32-
* input document in JSON format.</p>
31+
* <p>Updates the specified framework.</p>
3332
* @example
3433
* Use a bare-bones client and the command you need to make an API call.
3534
* ```javascript

clients/client-backup/src/commands/UpdateRecoveryPointLifecycleCommand.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,17 @@ export interface UpdateRecoveryPointLifecycleCommandOutput
3737
* <p>The lifecycle defines when a protected resource is transitioned to cold storage and when
3838
* it expires. Backup transitions and expires backups automatically according to
3939
* the lifecycle that you define.</p>
40+
* <p>Resource types that can transition to cold storage are listed in the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource">Feature availability by resource</a> table. Backup ignores this expression for
41+
* other resource types.</p>
4042
* <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
4143
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
4244
* cold after days” setting. The “transition to cold after days” setting cannot be changed
4345
* after a backup has been transitioned to cold.</p>
44-
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
45-
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
46-
* Feature availability by resource</a> table. Backup ignores this expression for
47-
* other resource types.</p>
46+
* <important>
47+
* <p>If your lifecycle currently uses the parameters <code>DeleteAfterDays</code> and
48+
* <code>MoveToColdStorageAfterDays</code>, include these parameters and their values when you call
49+
* this operation. Not including them may result in your plan updating with null values.</p>
50+
* </important>
4851
* <p>This operation does not support continuous backups.</p>
4952
* @example
5053
* Use a bare-bones client and the command you need to make an API call.

clients/client-backup/src/commands/UpdateReportPlanCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface UpdateReportPlanCommandInput extends UpdateReportPlanInput {}
2828
export interface UpdateReportPlanCommandOutput extends UpdateReportPlanOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Updates an existing report plan identified by its <code>ReportPlanName</code> with the
32-
* input document in JSON format.</p>
31+
* <p>Updates the specified report plan.</p>
3332
* @example
3433
* Use a bare-bones client and the command you need to make an API call.
3534
* ```javascript

clients/client-backup/src/commands/UpdateRestoreTestingSelectionCommand.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,10 @@ export interface UpdateRestoreTestingSelectionCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <p>Most elements except the <code>RestoreTestingSelectionName</code>
40+
* <p>Updates the specified restore testing selection.</p>
41+
* <p>Most elements except the <code>RestoreTestingSelectionName</code>
4142
* can be updated with this request.</p>
42-
* <p>
43-
* <code>RestoreTestingSelection</code> can use either protected
44-
* resource ARNs or conditions, but not both. That is, if your selection
45-
* has <code>ProtectedResourceArns</code>, requesting an update with the
46-
* parameter <code>ProtectedResourceConditions</code> will be
47-
* unsuccessful.</p>
43+
* <p>You can use either protected resource ARNs or conditions, but not both.</p>
4844
* @example
4945
* Use a bare-bones client and the command you need to make an API call.
5046
* ```javascript

0 commit comments

Comments
 (0)