paws.storage (version 0.5.0)

backup: AWS Backup

Description

Backup

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.

Usage

backup(config = list(), credentials = list(), endpoint = NULL, region = NULL)

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

  • credentials:

    • creds:

      • access_key_id: AWS access key ID

      • secret_access_key: AWS secret access key

      • session_token: AWS temporary session token

    • profile: The name of a profile to use. If not given, then the default profile is used.

    • anonymous: Set anonymous credentials.

  • endpoint: The complete URL to use for the constructed client.

  • region: The AWS Region used in instantiating the client.

  • close_connection: Immediately close all HTTP connections.

  • timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

  • s3_force_path_style: Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

  • sts_regional_endpoint: Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

credentials

Optional credentials shorthand for the config parameter

  • creds:

    • access_key_id: AWS access key ID

    • secret_access_key: AWS secret access key

    • session_token: AWS temporary session token

  • profile: The name of a profile to use. If not given, then the default profile is used.

  • anonymous: Set anonymous credentials.

endpoint

Optional shorthand for complete URL to use for the constructed client.

region

Optional shorthand for AWS Region used in instantiating the client.

Service syntax

svc <- backup(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string",
      anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
      access_key_id = "string",
      secret_access_key = "string",
      session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

Operations

cancel_legal_holdThis action removes the specified legal hold on a recovery point
create_backup_planCreates a backup plan using a backup plan name and backup rules
create_backup_selectionCreates a JSON document that specifies a set of resources to assign to a backup plan
create_backup_vaultCreates a logical container where backups are stored
create_frameworkCreates a framework with one or more controls
create_legal_holdThis action creates a legal hold on a recovery point (backup)
create_logically_air_gapped_backup_vaultThis request creates a logical container to where backups may be copied
create_report_planCreates a report plan
create_restore_testing_planThis is the first of two steps to create a restore testing plan; once this request is successful, finish the procedure with request CreateRestoreTestingSelection
create_restore_testing_selectionThis request can be sent after CreateRestoreTestingPlan request returns successfully
delete_backup_planDeletes a backup plan
delete_backup_selectionDeletes the resource selection associated with a backup plan that is specified by the SelectionId
delete_backup_vaultDeletes the backup vault identified by its name
delete_backup_vault_access_policyDeletes the policy document that manages permissions on a backup vault
delete_backup_vault_lock_configurationDeletes Backup Vault Lock from a backup vault specified by a backup vault name
delete_backup_vault_notificationsDeletes event notifications for the specified backup vault
delete_frameworkDeletes the framework specified by a framework name
delete_recovery_pointDeletes the recovery point specified by a recovery point ID
delete_report_planDeletes the report plan specified by a report plan name
delete_restore_testing_planThis request deletes the specified restore testing plan
delete_restore_testing_selectionInput the Restore Testing Plan name and Restore Testing Selection name
describe_backup_jobReturns backup job details for the specified BackupJobId
describe_backup_vaultReturns metadata about a backup vault specified by its name
describe_copy_jobReturns metadata associated with creating a copy of a resource
describe_frameworkReturns the framework details for the specified FrameworkName
describe_global_settingsDescribes whether the Amazon Web Services account is opted in to cross-account backup
describe_protected_resourceReturns 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
describe_recovery_pointReturns metadata associated with a recovery point, including ID, status, encryption, and lifecycle
describe_region_settingsReturns the current service opt-in settings for the Region
describe_report_jobReturns the details associated with creating a report as specified by its ReportJobId
describe_report_planReturns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region
describe_restore_jobReturns metadata associated with a restore job that is specified by a job ID
disassociate_recovery_pointDeletes the specified continuous backup recovery point from Backup and releases control of that continuous backup to the source service, such as Amazon RDS
disassociate_recovery_point_from_parentThis action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point
export_backup_plan_templateReturns the backup plan that is specified by the plan ID as a backup template
get_backup_planReturns BackupPlan details for the specified BackupPlanId
get_backup_plan_from_jsonReturns a valid JSON document specifying a backup plan or an error
get_backup_plan_from_templateReturns the template specified by its templateId as a backup plan
get_backup_selectionReturns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan
get_backup_vault_access_policyReturns the access policy document that is associated with the named backup vault
get_backup_vault_notificationsReturns event notifications for the specified backup vault
get_legal_holdThis action returns details for a specified legal hold
get_recovery_point_restore_metadataReturns a set of metadata key-value pairs that were used to create the backup
get_restore_job_metadataThis request returns the metadata for the specified restore job
get_restore_testing_inferred_metadataThis request returns the minimal required set of metadata needed to start a restore job with secure default settings
get_restore_testing_planReturns RestoreTestingPlan details for the specified RestoreTestingPlanName
get_restore_testing_selectionReturns RestoreTestingSelection, which displays resources and elements of the restore testing plan
get_supported_resource_typesReturns the Amazon Web Services resource types supported by Backup
list_backup_jobsReturns a list of existing backup jobs for an authenticated account for the last 30 days
list_backup_job_summariesThis is a request for a summary of backup jobs created or running within the most recent 30 days
list_backup_plansReturns a list of all active backup plans for an authenticated account
list_backup_plan_templatesReturns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates
list_backup_plan_versionsReturns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs
list_backup_selectionsReturns an array containing metadata of the resources associated with the target backup plan
list_backup_vaultsReturns a list of recovery point storage containers along with information about them
list_copy_jobsReturns metadata about your copy jobs
list_copy_job_summariesThis request obtains a list of copy jobs created or running within the the most recent 30 days
list_frameworksReturns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region
list_legal_holdsThis action returns metadata about active and previous legal holds
list_protected_resourcesReturns 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
list_protected_resources_by_backup_vaultThis request lists the protected resources corresponding to each backup vault
list_recovery_points_by_backup_vaultReturns detailed information about the recovery points stored in a backup vault
list_recovery_points_by_legal_holdThis action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold
list_recovery_points_by_resourceReturns detailed information about all the recovery points of the type specified by a resource Amazon Resource Name (ARN)
list_report_jobsReturns details about your report jobs
list_report_plansReturns a list of your report plans
list_restore_jobsReturns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process
list_restore_jobs_by_protected_resourceThis returns restore jobs that contain the specified protected resource
list_restore_job_summariesThis request obtains a summary of restore jobs created or running within the the most recent 30 days
list_restore_testing_plansReturns a list of restore testing plans
list_restore_testing_selectionsReturns a list of restore testing selections
list_tagsReturns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault
put_backup_vault_access_policySets a resource-based policy that is used to manage access permissions on the target backup vault
put_backup_vault_lock_configurationApplies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or created in a backup vault
put_backup_vault_notificationsTurns on notifications on a backup vault for the specified topic and events
put_restore_validation_resultThis request allows you to send your independent self-run restore test validation results
start_backup_jobStarts an on-demand backup job for the specified resource
start_copy_jobStarts a job to create a one-time copy of the specified resource
start_report_jobStarts an on-demand report job for the specified report plan
start_restore_jobRecovers the saved resource identified by an Amazon Resource Name (ARN)
stop_backup_jobAttempts to cancel a job to create a one-time backup of a resource
tag_resourceAssigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
untag_resourceRemoves a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
update_backup_planUpdates an existing backup plan identified by its backupPlanId with the input document in JSON format
update_frameworkUpdates an existing framework identified by its FrameworkName with the input document in JSON format
update_global_settingsUpdates whether the Amazon Web Services account is opted in to cross-account backup
update_recovery_point_lifecycleSets the transition lifecycle of a recovery point
update_region_settingsUpdates the current service opt-in settings for the Region
update_report_planUpdates an existing report plan identified by its ReportPlanName with the input document in JSON format
update_restore_testing_planThis request will send changes to your specified restore testing plan
update_restore_testing_selectionMost elements except the RestoreTestingSelectionName can be updated with this request

Examples

Run this code
if (FALSE) {
svc <- backup()
svc$cancel_legal_hold(
  Foo = 123
)
}

Run the code above in your browser using DataLab