View Source aws_backup (aws v0.3.1)
AWS Backup
AWS Backup is a unified backup service designed to protect AWS services and their associated data.
AWS Backup simplifies the creation, migration, restoration, and deletion of backups, while also providing reporting and auditing.Link to this section Summary
Functions
Creates a backup plan using a backup plan name and backup rules.
Creates a JSON document that specifies a set of resources to assign to a backup plan.
Creates a logical container where backups are stored.
Deletes a backup plan.
SelectionId
.Deletes the backup vault identified by its name.
BackupJobId
.Returns the current service opt-in settings for the Region.
Returns BackupPlan
details for the specified BackupPlanId
.
templateId
as a backup plan.Returns a list of existing backup plans for an authenticated account.
Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
Sets a resource-based policy that is used to manage access permissions on the target backup vault.
Updates an existing backup plan identified by its backupPlanId
with the input document in JSON format.
Updates the current global settings for the AWS account.
Sets the transition lifecycle of a recovery point.
Updates the current service opt-in settings for the Region.
Link to this section Functions
Creates a backup plan using a backup plan name and backup rules.
A backup plan is a document that contains information that AWS Backup uses to schedule tasks that create recovery points for resources.
If you callCreateBackupPlan
with a plan that already exists, an AlreadyExistsException
is returned.
Creates a JSON document that specifies a set of resources to assign to a backup plan.
Resources can be included by specifying patterns for a ListOfTags
and selected Resources
.
For example, consider the following patterns:
Resources: "arn:aws:ec2:region:account-id:volume/volume-id"
ConditionKey:"department"
ConditionValue:"finance"
ConditionType:"StringEquals"
ConditionKey:"importance"
ConditionValue:"critical"
ConditionType:"StringEquals"
Using these patterns would back up all Amazon Elastic Block Store (Amazon EBS) volumes that are tagged as "department=finance"
, "importance=critical"
, in addition to an EBS volume with the specified volume ID.
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.
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.SelectionId
.
delete_backup_selection(Client, BackupPlanId, SelectionId, Input0, Options0)
View SourceDeletes the backup vault identified by its name.
A vault can be deleted only if it is empty.delete_backup_vault_access_policy(Client, BackupVaultName, Input0, Options0)
View Sourcedelete_backup_vault_notifications(Client, BackupVaultName, Input0, Options0)
View Sourcedelete_recovery_point(Client, BackupVaultName, RecoveryPointArn, Input)
View Sourcedelete_recovery_point(Client, BackupVaultName, RecoveryPointArn, Input0, Options0)
View SourceBackupJobId
.
describe_backup_job(Client, BackupJobId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_backup_vault(Client, BackupVaultName, QueryMap, HeadersMap)
View Sourcedescribe_backup_vault(Client, BackupVaultName, QueryMap, HeadersMap, Options0)
View Sourcedescribe_copy_job(Client, CopyJobId, QueryMap, HeadersMap, Options0)
View Sourcedescribe_protected_resource(Client, ResourceArn, QueryMap, HeadersMap)
View Sourcedescribe_protected_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View Sourcedescribe_recovery_point(Client, BackupVaultName, RecoveryPointArn)
View Sourcedescribe_recovery_point(Client, BackupVaultName, RecoveryPointArn, QueryMap, HeadersMap)
View Sourcedescribe_recovery_point(Client, BackupVaultName, RecoveryPointArn, QueryMap, HeadersMap, Options0)
View SourceReturns the current service opt-in settings for the Region.
If service-opt-in is enabled for a service, AWS 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, AWS Backup does not try to protect that service's resources in this Region, AWS Backup does not try to protect that service's resources in this Region.describe_restore_job(Client, RestoreJobId, QueryMap, HeadersMap, Options0)
View Sourceexport_backup_plan_template(Client, BackupPlanId, QueryMap, HeadersMap)
View Sourceexport_backup_plan_template(Client, BackupPlanId, QueryMap, HeadersMap, Options0)
View SourceReturns BackupPlan
details for the specified BackupPlanId
.
get_backup_plan(Client, BackupPlanId, QueryMap, HeadersMap, Options0)
View SourcetemplateId
as a backup plan.
get_backup_plan_from_template(Client, BackupPlanTemplateId, QueryMap, HeadersMap)
View Sourceget_backup_plan_from_template(Client, BackupPlanTemplateId, QueryMap, HeadersMap, Options0)
View Sourceget_backup_selection(Client, BackupPlanId, SelectionId, QueryMap, HeadersMap)
View Sourceget_backup_selection(Client, BackupPlanId, SelectionId, QueryMap, HeadersMap, Options0)
View Sourceget_backup_vault_access_policy(Client, BackupVaultName, QueryMap, HeadersMap)
View Sourceget_backup_vault_access_policy(Client, BackupVaultName, QueryMap, HeadersMap, Options0)
View Sourceget_backup_vault_notifications(Client, BackupVaultName, QueryMap, HeadersMap)
View Sourceget_backup_vault_notifications(Client, BackupVaultName, QueryMap, HeadersMap, Options0)
View Sourceget_recovery_point_restore_metadata(Client, BackupVaultName, RecoveryPointArn)
View Sourceget_recovery_point_restore_metadata(Client, BackupVaultName, RecoveryPointArn, QueryMap, HeadersMap)
View Sourceget_recovery_point_restore_metadata(Client, BackupVaultName, RecoveryPointArn, QueryMap, HeadersMap, Options0)
View Sourceget_supported_resource_types(Client, QueryMap, HeadersMap, Options0)
View Sourcelist_backup_plan_templates(Client, QueryMap, HeadersMap, Options0)
View Sourcelist_backup_plan_versions(Client, BackupPlanId, QueryMap, HeadersMap)
View Sourcelist_backup_plan_versions(Client, BackupPlanId, QueryMap, HeadersMap, Options0)
View SourceReturns a list of existing backup plans for an authenticated account.
The list is populated only if the advanced option is set for the backup plan. The list contains information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.list_backup_selections(Client, BackupPlanId, QueryMap, HeadersMap)
View Sourcelist_backup_selections(Client, BackupPlanId, QueryMap, HeadersMap, Options0)
View Sourcelist_recovery_points_by_backup_vault(Client, BackupVaultName, QueryMap, HeadersMap)
View Sourcelist_recovery_points_by_backup_vault(Client, BackupVaultName, QueryMap, HeadersMap, Options0)
View Sourcelist_recovery_points_by_resource(Client, ResourceArn, QueryMap, HeadersMap)
View Sourcelist_recovery_points_by_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View SourceReturns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
ListTags
are currently only supported with Amazon EFS backups.
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.put_backup_vault_access_policy(Client, BackupVaultName, Input0, Options0)
View Sourceput_backup_vault_notifications(Client, BackupVaultName, Input0, Options0)
View SourceUpdates an existing backup plan identified by its backupPlanId
with the input document in JSON format.
VersionId
.
Updates the current global settings for the AWS account.
Use theDescribeGlobalSettings
API to determine the current settings.
update_recovery_point_lifecycle(Client, BackupVaultName, RecoveryPointArn, Input)
View SourceSets the transition lifecycle of a recovery point.
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only Amazon EFS file system backups can be transitioned to cold storage.update_recovery_point_lifecycle(Client, BackupVaultName, RecoveryPointArn, Input0, Options0)
View SourceUpdates the current service opt-in settings for the Region.
If service-opt-in is enabled for a service, AWS 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, AWS Backup does not try to protect that service's resources in this Region. Use theDescribeRegionSettings
API to determine the resource types that are supported.