Package-level declarations

Types

Link copied to clipboard

Backup is a unified backup service designed to protect Amazon Web Services services and their associated data. Backup simplifies the creation, migration, restoration, and deletion of backups, while also providing reporting and auditing.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Inherited functions

Link copied to clipboard

Associates an MPA approval team with a backup vault.

Link copied to clipboard

Removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.

Link copied to clipboard

Creates a backup plan using a backup plan name and backup rules. A backup plan is a document that contains information that Backup uses to schedule tasks that create recovery points for resources.

Link copied to clipboard

Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see Assigning resources programmatically.

Link copied to clipboard

Creates a logical container where backups are stored. A CreateBackupVault request includes a name, optionally one or more resource tags, an encryption key, and a request ID.

Link copied to clipboard

Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.

Link copied to clipboard

Creates a legal hold on a recovery point (backup). A legal hold is a restraint on altering or deleting a backup until an authorized user cancels the legal hold. Any actions to delete or disassociate a recovery point will fail with an error if one or more active legal holds are on the recovery point.

Link copied to clipboard

Creates a logical container to where backups may be copied.

Link copied to clipboard

Creates a report plan. A report plan is a document that contains information about the contents of the report and where Backup will deliver it.

Link copied to clipboard

Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.

Link copied to clipboard

Creates a restore testing plan.

Link copied to clipboard

This request can be sent after CreateRestoreTestingPlan request returns successfully. This is the second part of creating a resource testing plan, and it must be completed sequentially.

Link copied to clipboard

Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.

Link copied to clipboard

Deletes the resource selection associated with a backup plan that is specified by the SelectionId.

Link copied to clipboard

Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.

Link copied to clipboard

Deletes the policy document that manages permissions on a backup vault.

Link copied to clipboard

Deletes Backup Vault Lock from a backup vault specified by a backup vault name.

Link copied to clipboard

Deletes event notifications for the specified backup vault.

Link copied to clipboard

Deletes the framework specified by a framework name.

Link copied to clipboard

Deletes the recovery point specified by a recovery point ID.

Link copied to clipboard

Deletes the report plan specified by a report plan name.

Link copied to clipboard

This request deletes the specified restore testing plan.

Link copied to clipboard

Input the Restore Testing Plan name and Restore Testing Selection name.

Link copied to clipboard

Returns backup job details for the specified BackupJobId.

Link copied to clipboard

Returns metadata about a backup vault specified by its name.

Link copied to clipboard

Returns metadata associated with creating a copy of a resource.

Link copied to clipboard

Returns the framework details for the specified FrameworkName.

Link copied to clipboard

Describes whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not a member of an Organizations organization. Example: describe-global-settings --region us-west-2

Link copied to clipboard

Returns information about a saved resource, including the last time it was backed up, its Amazon Resource Name (ARN), and the Amazon Web Services service type of the saved resource.

Link copied to clipboard

Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.

Link copied to clipboard

Returns the current service opt-in settings for the Region. If service opt-in is enabled for a service, Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, Backup does not try to protect that service's resources in this Region.

Link copied to clipboard

Returns the details associated with creating a report as specified by its ReportJobId.

Link copied to clipboard

Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.

Link copied to clipboard

Returns metadata associated with a restore job that is specified by a job ID.

Link copied to clipboard

Removes the association between an MPA approval team and a backup vault, disabling the MPA approval workflow for restore operations.

Link copied to clipboard

Deletes the specified continuous backup recovery point from Backup and releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the lifecycle that you specified in your original backup plan.

Link copied to clipboard

This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.

Link copied to clipboard

Returns the backup plan that is specified by the plan ID as a backup template.

Link copied to clipboard

Returns BackupPlan details for the specified BackupPlanId. The details are the body of a backup plan in JSON format, in addition to plan metadata.

Link copied to clipboard

Returns a valid JSON document specifying a backup plan or an error.

Link copied to clipboard

Returns the template specified by its templateId as a backup plan.

Link copied to clipboard

Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.

Link copied to clipboard

Returns the access policy document that is associated with the named backup vault.

Link copied to clipboard

Returns event notifications for the specified backup vault.

Link copied to clipboard
inline suspend fun BackupClient.getLegalHold(crossinline block: GetLegalHoldRequest.Builder.() -> Unit): GetLegalHoldResponse

This action returns details for a specified legal hold. The details are the body of a legal hold in JSON format, in addition to metadata.

Link copied to clipboard

This operation returns the metadata and details specific to the backup index associated with the specified recovery point.

Link copied to clipboard

Returns a set of metadata key-value pairs that were used to create the backup.

Link copied to clipboard

This request returns the metadata for the specified restore job.

Link copied to clipboard

This request returns the minimal required set of metadata needed to start a restore job with secure default settings. BackupVaultName and RecoveryPointArn are required parameters. BackupVaultAccountId is an optional parameter.

Link copied to clipboard

Returns RestoreTestingPlan details for the specified RestoreTestingPlanName. The details are the body of a restore testing plan in JSON format, in addition to plan metadata.

Link copied to clipboard

Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.

Link copied to clipboard

Returns the Amazon Web Services resource types supported by Backup.

Link copied to clipboard

Returns a list of existing backup jobs for an authenticated account for the last 30 days. For a longer period of time, consider using these monitoring tools.

Link copied to clipboard

This is a request for a summary of backup jobs created or running within the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.

Link copied to clipboard

Lists the active backup plans for the account.

Link copied to clipboard

Lists the backup plan templates.

Link copied to clipboard

Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.

Link copied to clipboard

Returns an array containing metadata of the resources associated with the target backup plan.

Link copied to clipboard

Returns a list of recovery point storage containers along with information about them.

Link copied to clipboard
inline suspend fun BackupClient.listCopyJobs(crossinline block: ListCopyJobsRequest.Builder.() -> Unit): ListCopyJobsResponse

Returns metadata about your copy jobs.

Link copied to clipboard

This request obtains a list of copy jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, MessageCategory, AggregationPeriod, MaxResults, or NextToken to filter results.

Link copied to clipboard

Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.

Link copied to clipboard

This operation returns a list of recovery points that have an associated index, belonging to the specified account.

Link copied to clipboard

This action returns metadata about active and previous legal holds.

Link copied to clipboard

Returns an array of resources successfully backed up by Backup, including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.

Link copied to clipboard

This request lists the protected resources corresponding to each backup vault.

Link copied to clipboard

Returns detailed information about the recovery points stored in a backup vault.

Link copied to clipboard

This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.

Link copied to clipboard

The information about the recovery points of the type specified by a resource Amazon Resource Name (ARN).

Link copied to clipboard

Returns details about your report jobs.

Link copied to clipboard

Returns a list of your report plans. For detailed information about a single report plan, use DescribeReportPlan.

Link copied to clipboard

Returns a list of restore access backup vaults associated with a specified backup vault.

Link copied to clipboard

Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.

Link copied to clipboard

This returns restore jobs that contain the specified protected resource.

Link copied to clipboard

This request obtains a summary of restore jobs created or running within the the most recent 30 days. You can include parameters AccountID, State, ResourceType, AggregationPeriod, MaxResults, or NextToken to filter results.

Link copied to clipboard

Returns a list of restore testing plans.

Link copied to clipboard

Returns a list of restore testing selections. Can be filtered by MaxResults and RestoreTestingPlanName.

Link copied to clipboard
inline suspend fun BackupClient.listTags(crossinline block: ListTagsRequest.Builder.() -> Unit): ListTagsResponse

Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.

Link copied to clipboard

Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a backup vault name and an access policy document in JSON format.

Link copied to clipboard

Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault. Vault Lock also prevents attempts to update the lifecycle policy that controls the retention period of any recovery point currently stored in a backup vault. If specified, Vault Lock enforces a minimum and maximum retention period for future backup and copy jobs that target a backup vault.

Link copied to clipboard

Turns on notifications on a backup vault for the specified topic and events.

Link copied to clipboard

This request allows you to send your independent self-run restore test validation results. RestoreJobId and ValidationStatus are required. Optionally, you can input a ValidationStatusMessage.

Link copied to clipboard

Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.

Link copied to clipboard

Starts an on-demand backup job for the specified resource.

Link copied to clipboard
inline suspend fun BackupClient.startCopyJob(crossinline block: StartCopyJobRequest.Builder.() -> Unit): StartCopyJobResponse

Starts a job to create a one-time copy of the specified resource.

Link copied to clipboard

Starts an on-demand report job for the specified report plan.

Link copied to clipboard

Recovers the saved resource identified by an Amazon Resource Name (ARN).

Link copied to clipboard

Attempts to cancel a job to create a one-time backup of a resource.

Link copied to clipboard
inline suspend fun BackupClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Assigns a set of key-value pairs to a resource.

Link copied to clipboard

Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)

Link copied to clipboard

Updates the specified backup plan. The new version is uniquely identified by its ID.

Link copied to clipboard

Updates the specified framework.

Link copied to clipboard

Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not an Organizations management account. Use the DescribeGlobalSettings API to determine the current settings.

Link copied to clipboard

This operation updates the settings of a recovery point index.

Link copied to clipboard

Sets the transition lifecycle of a recovery point.

Link copied to clipboard

Updates the current service opt-in settings for the Region.

Link copied to clipboard

Updates the specified report plan.

Link copied to clipboard

This request will send changes to your specified restore testing plan. RestoreTestingPlanName cannot be updated after it is created.

Link copied to clipboard

Updates the specified restore testing selection.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.