Class: Aws::Backup::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Backup::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-backup/client.rb
Overview
An API client for Backup. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::Backup::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#associate_backup_vault_mpa_approval_team(params = {}) ⇒ Struct
Associates an MPA approval team with a backup vault.
-
#cancel_legal_hold(params = {}) ⇒ Struct
Removes the specified legal hold on a recovery point.
-
#create_backup_plan(params = {}) ⇒ Types::CreateBackupPlanOutput
Creates a backup plan using a backup plan name and backup rules.
-
#create_backup_selection(params = {}) ⇒ Types::CreateBackupSelectionOutput
Creates a JSON document that specifies a set of resources to assign to a backup plan.
-
#create_backup_vault(params = {}) ⇒ Types::CreateBackupVaultOutput
Creates a logical container where backups are stored.
-
#create_framework(params = {}) ⇒ Types::CreateFrameworkOutput
Creates a framework with one or more controls.
-
#create_legal_hold(params = {}) ⇒ Types::CreateLegalHoldOutput
Creates a legal hold on a recovery point (backup).
-
#create_logically_air_gapped_backup_vault(params = {}) ⇒ Types::CreateLogicallyAirGappedBackupVaultOutput
Creates a logical container to where backups may be copied.
-
#create_report_plan(params = {}) ⇒ Types::CreateReportPlanOutput
Creates a report plan.
-
#create_restore_access_backup_vault(params = {}) ⇒ Types::CreateRestoreAccessBackupVaultOutput
Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.
-
#create_restore_testing_plan(params = {}) ⇒ Types::CreateRestoreTestingPlanOutput
Creates a restore testing plan.
-
#create_restore_testing_selection(params = {}) ⇒ Types::CreateRestoreTestingSelectionOutput
This request can be sent after CreateRestoreTestingPlan request returns successfully.
-
#create_tiering_configuration(params = {}) ⇒ Types::CreateTieringConfigurationOutput
Creates a tiering configuration.
-
#delete_backup_plan(params = {}) ⇒ Types::DeleteBackupPlanOutput
Deletes a backup plan.
-
#delete_backup_selection(params = {}) ⇒ Struct
Deletes the resource selection associated with a backup plan that is specified by the ‘SelectionId`.
-
#delete_backup_vault(params = {}) ⇒ Struct
Deletes the backup vault identified by its name.
-
#delete_backup_vault_access_policy(params = {}) ⇒ Struct
Deletes the policy document that manages permissions on a backup vault.
-
#delete_backup_vault_lock_configuration(params = {}) ⇒ Struct
Deletes Backup Vault Lock from a backup vault specified by a backup vault name.
-
#delete_backup_vault_notifications(params = {}) ⇒ Struct
Deletes event notifications for the specified backup vault.
-
#delete_framework(params = {}) ⇒ Struct
Deletes the framework specified by a framework name.
-
#delete_recovery_point(params = {}) ⇒ Struct
Deletes the recovery point specified by a recovery point ID.
-
#delete_report_plan(params = {}) ⇒ Struct
Deletes the report plan specified by a report plan name.
-
#delete_restore_testing_plan(params = {}) ⇒ Struct
This request deletes the specified restore testing plan.
-
#delete_restore_testing_selection(params = {}) ⇒ Struct
Input the Restore Testing Plan name and Restore Testing Selection name.
-
#delete_tiering_configuration(params = {}) ⇒ Struct
Deletes the tiering configuration specified by a tiering configuration name.
-
#describe_backup_job(params = {}) ⇒ Types::DescribeBackupJobOutput
Returns backup job details for the specified ‘BackupJobId`.
-
#describe_backup_vault(params = {}) ⇒ Types::DescribeBackupVaultOutput
Returns metadata about a backup vault specified by its name.
-
#describe_copy_job(params = {}) ⇒ Types::DescribeCopyJobOutput
Returns metadata associated with creating a copy of a resource.
-
#describe_framework(params = {}) ⇒ Types::DescribeFrameworkOutput
Returns the framework details for the specified ‘FrameworkName`.
-
#describe_global_settings(params = {}) ⇒ Types::DescribeGlobalSettingsOutput
Describes whether the Amazon Web Services account has enabled different cross-account management options, including cross-account backup, multi-party approval, and delegated administrator.
-
#describe_protected_resource(params = {}) ⇒ Types::DescribeProtectedResourceOutput
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.
-
#describe_recovery_point(params = {}) ⇒ Types::DescribeRecoveryPointOutput
Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
-
#describe_region_settings(params = {}) ⇒ Types::DescribeRegionSettingsOutput
Returns the current service opt-in settings for the Region.
-
#describe_report_job(params = {}) ⇒ Types::DescribeReportJobOutput
Returns the details associated with creating a report as specified by its ‘ReportJobId`.
-
#describe_report_plan(params = {}) ⇒ Types::DescribeReportPlanOutput
Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
-
#describe_restore_job(params = {}) ⇒ Types::DescribeRestoreJobOutput
Returns metadata associated with a restore job that is specified by a job ID.
-
#describe_scan_job(params = {}) ⇒ Types::DescribeScanJobOutput
Returns scan job details for the specified ScanJobID.
-
#disassociate_backup_vault_mpa_approval_team(params = {}) ⇒ Struct
Removes the association between an MPA approval team and a backup vault, disabling the MPA approval workflow for restore operations.
-
#disassociate_recovery_point(params = {}) ⇒ Struct
Deletes 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_parent(params = {}) ⇒ Struct
This 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_template(params = {}) ⇒ Types::ExportBackupPlanTemplateOutput
Returns the backup plan that is specified by the plan ID as a backup template.
-
#get_backup_plan(params = {}) ⇒ Types::GetBackupPlanOutput
Returns ‘BackupPlan` details for the specified `BackupPlanId`.
-
#get_backup_plan_from_json(params = {}) ⇒ Types::GetBackupPlanFromJSONOutput
Returns a valid JSON document specifying a backup plan or an error.
-
#get_backup_plan_from_template(params = {}) ⇒ Types::GetBackupPlanFromTemplateOutput
Returns the template specified by its ‘templateId` as a backup plan.
-
#get_backup_selection(params = {}) ⇒ Types::GetBackupSelectionOutput
Returns 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_policy(params = {}) ⇒ Types::GetBackupVaultAccessPolicyOutput
Returns the access policy document that is associated with the named backup vault.
-
#get_backup_vault_notifications(params = {}) ⇒ Types::GetBackupVaultNotificationsOutput
Returns event notifications for the specified backup vault.
-
#get_legal_hold(params = {}) ⇒ Types::GetLegalHoldOutput
This action returns details for a specified legal hold.
-
#get_pitr_malware_scan_results(params = {}) ⇒ Types::GetPITRMalwareScanResultsOutput
Returns the malware scan results for a specified point in time within a continuous (point-in-time recovery) backup.
-
#get_recovery_point_index_details(params = {}) ⇒ Types::GetRecoveryPointIndexDetailsOutput
This operation returns the metadata and details specific to the backup index associated with the specified recovery point.
-
#get_recovery_point_restore_metadata(params = {}) ⇒ Types::GetRecoveryPointRestoreMetadataOutput
Returns a set of metadata key-value pairs that were used to create the backup.
-
#get_restore_job_metadata(params = {}) ⇒ Types::GetRestoreJobMetadataOutput
This request returns the metadata for the specified restore job.
-
#get_restore_testing_inferred_metadata(params = {}) ⇒ Types::GetRestoreTestingInferredMetadataOutput
This request returns the minimal required set of metadata needed to start a restore job with secure default settings.
-
#get_restore_testing_plan(params = {}) ⇒ Types::GetRestoreTestingPlanOutput
Returns ‘RestoreTestingPlan` details for the specified `RestoreTestingPlanName`.
-
#get_restore_testing_selection(params = {}) ⇒ Types::GetRestoreTestingSelectionOutput
Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.
-
#get_supported_resource_types(params = {}) ⇒ Types::GetSupportedResourceTypesOutput
Returns the Amazon Web Services resource types supported by Backup.
-
#get_tiering_configuration(params = {}) ⇒ Types::GetTieringConfigurationOutput
Returns ‘TieringConfiguration` details for the specified `TieringConfigurationName`.
-
#list_backup_job_summaries(params = {}) ⇒ Types::ListBackupJobSummariesOutput
This is a request for a summary of backup jobs created or running within the most recent 30 days.
-
#list_backup_jobs(params = {}) ⇒ Types::ListBackupJobsOutput
Returns a list of existing backup jobs for an authenticated account for the last 30 days.
-
#list_backup_plan_templates(params = {}) ⇒ Types::ListBackupPlanTemplatesOutput
Lists the backup plan templates.
-
#list_backup_plan_versions(params = {}) ⇒ Types::ListBackupPlanVersionsOutput
Returns 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_plans(params = {}) ⇒ Types::ListBackupPlansOutput
Lists the active backup plans for the account.
-
#list_backup_selections(params = {}) ⇒ Types::ListBackupSelectionsOutput
Returns an array containing metadata of the resources associated with the target backup plan.
-
#list_backup_vaults(params = {}) ⇒ Types::ListBackupVaultsOutput
Returns a list of recovery point storage containers along with information about them.
-
#list_copy_job_summaries(params = {}) ⇒ Types::ListCopyJobSummariesOutput
This request obtains a list of copy jobs created or running within the the most recent 30 days.
-
#list_copy_jobs(params = {}) ⇒ Types::ListCopyJobsOutput
Returns metadata about your copy jobs.
-
#list_frameworks(params = {}) ⇒ Types::ListFrameworksOutput
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
-
#list_indexed_recovery_points(params = {}) ⇒ Types::ListIndexedRecoveryPointsOutput
This operation returns a list of recovery points that have an associated index, belonging to the specified account.
-
#list_legal_holds(params = {}) ⇒ Types::ListLegalHoldsOutput
This action returns metadata about active and previous legal holds.
-
#list_protected_resources(params = {}) ⇒ Types::ListProtectedResourcesOutput
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.
-
#list_protected_resources_by_backup_vault(params = {}) ⇒ Types::ListProtectedResourcesByBackupVaultOutput
This request lists the protected resources corresponding to each backup vault.
-
#list_recovery_points_by_backup_vault(params = {}) ⇒ Types::ListRecoveryPointsByBackupVaultOutput
Returns detailed information about the recovery points stored in a backup vault.
-
#list_recovery_points_by_legal_hold(params = {}) ⇒ Types::ListRecoveryPointsByLegalHoldOutput
This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
-
#list_recovery_points_by_resource(params = {}) ⇒ Types::ListRecoveryPointsByResourceOutput
The information about the recovery points of the type specified by a resource Amazon Resource Name (ARN).
-
#list_report_jobs(params = {}) ⇒ Types::ListReportJobsOutput
Returns details about your report jobs.
-
#list_report_plans(params = {}) ⇒ Types::ListReportPlansOutput
Returns a list of your report plans.
-
#list_restore_access_backup_vaults(params = {}) ⇒ Types::ListRestoreAccessBackupVaultsOutput
Returns a list of restore access backup vaults associated with a specified backup vault.
-
#list_restore_job_summaries(params = {}) ⇒ Types::ListRestoreJobSummariesOutput
This request obtains a summary of restore jobs created or running within the the most recent 30 days.
-
#list_restore_jobs(params = {}) ⇒ Types::ListRestoreJobsOutput
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
-
#list_restore_jobs_by_protected_resource(params = {}) ⇒ Types::ListRestoreJobsByProtectedResourceOutput
This returns restore jobs that contain the specified protected resource.
-
#list_restore_testing_plans(params = {}) ⇒ Types::ListRestoreTestingPlansOutput
Returns a list of restore testing plans.
-
#list_restore_testing_selections(params = {}) ⇒ Types::ListRestoreTestingSelectionsOutput
Returns a list of restore testing selections.
-
#list_scan_job_summaries(params = {}) ⇒ Types::ListScanJobSummariesOutput
This is a request for a summary of scan jobs created or running within the most recent 30 days.
-
#list_scan_jobs(params = {}) ⇒ Types::ListScanJobsOutput
Returns a list of existing scan jobs for an authenticated account for the last 30 days.
-
#list_tags(params = {}) ⇒ Types::ListTagsOutput
Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.
-
#list_tiering_configurations(params = {}) ⇒ Types::ListTieringConfigurationsOutput
Returns a list of tiering configurations.
-
#put_backup_vault_access_policy(params = {}) ⇒ Struct
Sets a resource-based policy that is used to manage access permissions on the target backup vault.
-
#put_backup_vault_lock_configuration(params = {}) ⇒ Struct
Applies 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_notifications(params = {}) ⇒ Struct
Turns on notifications on a backup vault for the specified topic and events.
-
#put_restore_validation_result(params = {}) ⇒ Struct
This request allows you to send your independent self-run restore test validation results.
-
#revoke_restore_access_backup_vault(params = {}) ⇒ Struct
Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.
-
#start_backup_job(params = {}) ⇒ Types::StartBackupJobOutput
Starts an on-demand backup job for the specified resource.
-
#start_copy_job(params = {}) ⇒ Types::StartCopyJobOutput
Starts a job to create a one-time copy of the specified resource.
-
#start_report_job(params = {}) ⇒ Types::StartReportJobOutput
Starts an on-demand report job for the specified report plan.
-
#start_restore_job(params = {}) ⇒ Types::StartRestoreJobOutput
Recovers the saved resource identified by an Amazon Resource Name (ARN).
-
#start_scan_job(params = {}) ⇒ Types::StartScanJobOutput
Starts scanning jobs for specific resources.
-
#stop_backup_job(params = {}) ⇒ Struct
Attempts to cancel a job to create a one-time backup of a resource.
-
#tag_resource(params = {}) ⇒ Struct
Assigns a set of key-value pairs to a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).
-
#update_backup_plan(params = {}) ⇒ Types::UpdateBackupPlanOutput
Updates the specified backup plan.
-
#update_framework(params = {}) ⇒ Types::UpdateFrameworkOutput
Updates the specified framework.
-
#update_global_settings(params = {}) ⇒ Struct
Updates whether the Amazon Web Services account has enabled different cross-account management options, including cross-account backup, multi-party approval, and delegated administrator.
-
#update_recovery_point_index_settings(params = {}) ⇒ Types::UpdateRecoveryPointIndexSettingsOutput
This operation updates the settings of a recovery point index.
-
#update_recovery_point_lifecycle(params = {}) ⇒ Types::UpdateRecoveryPointLifecycleOutput
Sets the transition lifecycle of a recovery point.
-
#update_region_settings(params = {}) ⇒ Struct
Updates the current service opt-in settings for the Region.
-
#update_report_plan(params = {}) ⇒ Types::UpdateReportPlanOutput
Updates the specified report plan.
-
#update_restore_testing_plan(params = {}) ⇒ Types::UpdateRestoreTestingPlanOutput
This request will send changes to your specified restore testing plan.
-
#update_restore_testing_selection(params = {}) ⇒ Types::UpdateRestoreTestingSelectionOutput
Updates the specified restore testing selection.
-
#update_tiering_configuration(params = {}) ⇒ Types::UpdateTieringConfigurationOutput
This request will send changes to your specified tiering configuration.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
471 472 473 |
# File 'lib/aws-sdk-backup/client.rb', line 471 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7548 7549 7550 |
# File 'lib/aws-sdk-backup/client.rb', line 7548 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7551 7552 7553 |
# File 'lib/aws-sdk-backup/client.rb', line 7551 def errors_module Errors end |
Instance Method Details
#associate_backup_vault_mpa_approval_team(params = {}) ⇒ Struct
Associates an MPA approval team with a backup vault.
504 505 506 507 |
# File 'lib/aws-sdk-backup/client.rb', line 504 def associate_backup_vault_mpa_approval_team(params = {}, = {}) req = build_request(:associate_backup_vault_mpa_approval_team, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 |
# File 'lib/aws-sdk-backup/client.rb', line 7521 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::Backup') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-backup' context[:gem_version] = '1.114.0' Seahorse::Client::Request.new(handlers, context) end |
#cancel_legal_hold(params = {}) ⇒ Struct
Removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.
535 536 537 538 |
# File 'lib/aws-sdk-backup/client.rb', line 535 def cancel_legal_hold(params = {}, = {}) req = build_request(:cancel_legal_hold, params) req.send_request() end |
#create_backup_plan(params = {}) ⇒ Types::CreateBackupPlanOutput
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.
If you call ‘CreateBackupPlan` with a plan that already exists, you receive an `AlreadyExistsException` exception.
659 660 661 662 |
# File 'lib/aws-sdk-backup/client.rb', line 659 def create_backup_plan(params = {}, = {}) req = build_request(:create_backup_plan, params) req.send_request() end |
#create_backup_selection(params = {}) ⇒ Types::CreateBackupSelectionOutput
Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see [Assigning resources programmatically].
[1]: docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-json
751 752 753 754 |
# File 'lib/aws-sdk-backup/client.rb', line 751 def create_backup_selection(params = {}, = {}) req = build_request(:create_backup_selection, params) req.send_request() end |
#create_backup_vault(params = {}) ⇒ Types::CreateBackupVaultOutput
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.
<note markdown=“1”> Do not include sensitive data, such as passport numbers, in the name of a backup vault.
</note>
817 818 819 820 |
# File 'lib/aws-sdk-backup/client.rb', line 817 def create_backup_vault(params = {}, = {}) req = build_request(:create_backup_vault, params) req.send_request() end |
#create_framework(params = {}) ⇒ Types::CreateFrameworkOutput
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.
896 897 898 899 |
# File 'lib/aws-sdk-backup/client.rb', line 896 def create_framework(params = {}, = {}) req = build_request(:create_framework, params) req.send_request() end |
#create_legal_hold(params = {}) ⇒ Types::CreateLegalHoldOutput
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.
979 980 981 982 |
# File 'lib/aws-sdk-backup/client.rb', line 979 def create_legal_hold(params = {}, = {}) req = build_request(:create_legal_hold, params) req.send_request() end |
#create_logically_air_gapped_backup_vault(params = {}) ⇒ Types::CreateLogicallyAirGappedBackupVaultOutput
Creates a logical container to where backups may be copied.
This request includes a name, the Region, the maximum number of retention days, the minimum number of retention days, and optionally can include tags and a creator request ID.
<note markdown=“1”> Do not include sensitive data, such as passport numbers, in the name of a backup vault.
</note>
1059 1060 1061 1062 |
# File 'lib/aws-sdk-backup/client.rb', line 1059 def create_logically_air_gapped_backup_vault(params = {}, = {}) req = build_request(:create_logically_air_gapped_backup_vault, params) req.send_request() end |
#create_report_plan(params = {}) ⇒ Types::CreateReportPlanOutput
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.
If you call ‘CreateReportPlan` with a plan that already exists, you receive an `AlreadyExistsException` exception.
1149 1150 1151 1152 |
# File 'lib/aws-sdk-backup/client.rb', line 1149 def create_report_plan(params = {}, = {}) req = build_request(:create_report_plan, params) req.send_request() end |
#create_restore_access_backup_vault(params = {}) ⇒ Types::CreateRestoreAccessBackupVaultOutput
Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.
1209 1210 1211 1212 |
# File 'lib/aws-sdk-backup/client.rb', line 1209 def create_restore_access_backup_vault(params = {}, = {}) req = build_request(:create_restore_access_backup_vault, params) req.send_request() end |
#create_restore_testing_plan(params = {}) ⇒ Types::CreateRestoreTestingPlanOutput
Creates a restore testing plan.
The first of two steps to create a restore testing plan. After this request is successful, finish the procedure using CreateRestoreTestingSelection.
1277 1278 1279 1280 |
# File 'lib/aws-sdk-backup/client.rb', line 1277 def create_restore_testing_plan(params = {}, = {}) req = build_request(:create_restore_testing_plan, params) req.send_request() end |
#create_restore_testing_selection(params = {}) ⇒ Types::CreateRestoreTestingSelectionOutput
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.
This consists of ‘RestoreTestingSelectionName`, `ProtectedResourceType`, and one of the following:
-
‘ProtectedResourceArns`
-
‘ProtectedResourceConditions`
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value (“*”) for ‘ProtectedResourceArns` along with `ProtectedResourceConditions`. Alternatively, you can include up to 30 specific protected resource ARNs in `ProtectedResourceArns`.
Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.
1377 1378 1379 1380 |
# File 'lib/aws-sdk-backup/client.rb', line 1377 def create_restore_testing_selection(params = {}, = {}) req = build_request(:create_restore_testing_selection, params) req.send_request() end |
#create_tiering_configuration(params = {}) ⇒ Types::CreateTieringConfigurationOutput
Creates a tiering configuration.
A tiering configuration enables automatic movement of backup data to a lower-cost storage tier based on the age of backed-up objects in the backup vault.
Each vault can only have one vault-specific tiering configuration, in addition to any global configuration that applies to all vaults.
1449 1450 1451 1452 |
# File 'lib/aws-sdk-backup/client.rb', line 1449 def create_tiering_configuration(params = {}, = {}) req = build_request(:create_tiering_configuration, params) req.send_request() end |
#delete_backup_plan(params = {}) ⇒ Types::DeleteBackupPlanOutput
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.
1486 1487 1488 1489 |
# File 'lib/aws-sdk-backup/client.rb', line 1486 def delete_backup_plan(params = {}, = {}) req = build_request(:delete_backup_plan, params) req.send_request() end |
#delete_backup_selection(params = {}) ⇒ Struct
Deletes the resource selection associated with a backup plan that is specified by the ‘SelectionId`.
1514 1515 1516 1517 |
# File 'lib/aws-sdk-backup/client.rb', line 1514 def delete_backup_selection(params = {}, = {}) req = build_request(:delete_backup_selection, params) req.send_request() end |
#delete_backup_vault(params = {}) ⇒ Struct
Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
1539 1540 1541 1542 |
# File 'lib/aws-sdk-backup/client.rb', line 1539 def delete_backup_vault(params = {}, = {}) req = build_request(:delete_backup_vault, params) req.send_request() end |
#delete_backup_vault_access_policy(params = {}) ⇒ Struct
Deletes the policy document that manages permissions on a backup vault.
1565 1566 1567 1568 |
# File 'lib/aws-sdk-backup/client.rb', line 1565 def delete_backup_vault_access_policy(params = {}, = {}) req = build_request(:delete_backup_vault_access_policy, params) req.send_request() end |
#delete_backup_vault_lock_configuration(params = {}) ⇒ Struct
Deletes Backup Vault Lock from a backup vault specified by a backup vault name.
If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using API operations, and you will receive an ‘InvalidRequestException` if you attempt to do so. For more information, see [Vault Lock] in the *Backup Developer Guide*.
[1]: docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html
1597 1598 1599 1600 |
# File 'lib/aws-sdk-backup/client.rb', line 1597 def delete_backup_vault_lock_configuration(params = {}, = {}) req = build_request(:delete_backup_vault_lock_configuration, params) req.send_request() end |
#delete_backup_vault_notifications(params = {}) ⇒ Struct
Deletes event notifications for the specified backup vault.
1621 1622 1623 1624 |
# File 'lib/aws-sdk-backup/client.rb', line 1621 def delete_backup_vault_notifications(params = {}, = {}) req = build_request(:delete_backup_vault_notifications, params) req.send_request() end |
#delete_framework(params = {}) ⇒ Struct
Deletes the framework specified by a framework name.
1643 1644 1645 1646 |
# File 'lib/aws-sdk-backup/client.rb', line 1643 def delete_framework(params = {}, = {}) req = build_request(:delete_framework, params) req.send_request() end |
#delete_recovery_point(params = {}) ⇒ Struct
Deletes the recovery point specified by a recovery point ID.
If the recovery point ID belongs to a continuous backup, calling this endpoint deletes the existing continuous backup and stops future continuous backup.
When an IAM role’s permissions are insufficient to call this API, the service sends back an HTTP 200 response with an empty HTTP body, but the recovery point is not deleted. Instead, it enters an ‘EXPIRED` state.
‘EXPIRED` recovery points can be deleted with this API once the IAM role has the `iam:CreateServiceLinkedRole` action. To learn more about adding this role, see [ Troubleshooting manual deletions].
If the user or role is deleted or the permission within the role is removed, the deletion will not be successful and will enter an ‘EXPIRED` state.
1694 1695 1696 1697 |
# File 'lib/aws-sdk-backup/client.rb', line 1694 def delete_recovery_point(params = {}, = {}) req = build_request(:delete_recovery_point, params) req.send_request() end |
#delete_report_plan(params = {}) ⇒ Struct
Deletes the report plan specified by a report plan name.
1716 1717 1718 1719 |
# File 'lib/aws-sdk-backup/client.rb', line 1716 def delete_report_plan(params = {}, = {}) req = build_request(:delete_report_plan, params) req.send_request() end |
#delete_restore_testing_plan(params = {}) ⇒ Struct
This request deletes the specified restore testing plan.
Deletion can only successfully occur if all associated restore testing selections are deleted first.
1741 1742 1743 1744 |
# File 'lib/aws-sdk-backup/client.rb', line 1741 def delete_restore_testing_plan(params = {}, = {}) req = build_request(:delete_restore_testing_plan, params) req.send_request() end |
#delete_restore_testing_selection(params = {}) ⇒ Struct
Input the Restore Testing Plan name and Restore Testing Selection name.
All testing selections associated with a restore testing plan must be deleted before the restore testing plan can be deleted.
1773 1774 1775 1776 |
# File 'lib/aws-sdk-backup/client.rb', line 1773 def delete_restore_testing_selection(params = {}, = {}) req = build_request(:delete_restore_testing_selection, params) req.send_request() end |
#delete_tiering_configuration(params = {}) ⇒ Struct
Deletes the tiering configuration specified by a tiering configuration name.
1796 1797 1798 1799 |
# File 'lib/aws-sdk-backup/client.rb', line 1796 def delete_tiering_configuration(params = {}, = {}) req = build_request(:delete_tiering_configuration, params) req.send_request() end |
#describe_backup_job(params = {}) ⇒ Types::DescribeBackupJobOutput
Returns backup job details for the specified ‘BackupJobId`.
1898 1899 1900 1901 |
# File 'lib/aws-sdk-backup/client.rb', line 1898 def describe_backup_job(params = {}, = {}) req = build_request(:describe_backup_job, params) req.send_request() end |
#describe_backup_vault(params = {}) ⇒ Types::DescribeBackupVaultOutput
Returns metadata about a backup vault specified by its name.
1968 1969 1970 1971 |
# File 'lib/aws-sdk-backup/client.rb', line 1968 def describe_backup_vault(params = {}, = {}) req = build_request(:describe_backup_vault, params) req.send_request() end |
#describe_copy_job(params = {}) ⇒ Types::DescribeCopyJobOutput
Returns metadata associated with creating a copy of a resource.
2033 2034 2035 2036 |
# File 'lib/aws-sdk-backup/client.rb', line 2033 def describe_copy_job(params = {}, = {}) req = build_request(:describe_copy_job, params) req.send_request() end |
#describe_framework(params = {}) ⇒ Types::DescribeFrameworkOutput
Returns the framework details for the specified ‘FrameworkName`.
2085 2086 2087 2088 |
# File 'lib/aws-sdk-backup/client.rb', line 2085 def describe_framework(params = {}, = {}) req = build_request(:describe_framework, params) req.send_request() end |
#describe_global_settings(params = {}) ⇒ Types::DescribeGlobalSettingsOutput
Describes whether the Amazon Web Services account has enabled different cross-account management options, including cross-account backup, multi-party approval, and delegated administrator. Returns an error if the account is not a member of an Organizations organization. Example: ‘describe-global-settings –region us-west-2`
2111 2112 2113 2114 |
# File 'lib/aws-sdk-backup/client.rb', line 2111 def describe_global_settings(params = {}, = {}) req = build_request(:describe_global_settings, params) req.send_request() end |
#describe_protected_resource(params = {}) ⇒ Types::DescribeProtectedResourceOutput
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.
2158 2159 2160 2161 |
# File 'lib/aws-sdk-backup/client.rb', line 2158 def describe_protected_resource(params = {}, = {}) req = build_request(:describe_protected_resource, params) req.send_request() end |
#describe_recovery_point(params = {}) ⇒ Types::DescribeRecoveryPointOutput
Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
2271 2272 2273 2274 |
# File 'lib/aws-sdk-backup/client.rb', line 2271 def describe_recovery_point(params = {}, = {}) req = build_request(:describe_recovery_point, params) req.send_request() end |
#describe_region_settings(params = {}) ⇒ Types::DescribeRegionSettingsOutput
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.
2298 2299 2300 2301 |
# File 'lib/aws-sdk-backup/client.rb', line 2298 def describe_region_settings(params = {}, = {}) req = build_request(:describe_region_settings, params) req.send_request() end |
#describe_report_job(params = {}) ⇒ Types::DescribeReportJobOutput
Returns the details associated with creating a report as specified by its ‘ReportJobId`.
2338 2339 2340 2341 |
# File 'lib/aws-sdk-backup/client.rb', line 2338 def describe_report_job(params = {}, = {}) req = build_request(:describe_report_job, params) req.send_request() end |
#describe_report_plan(params = {}) ⇒ Types::DescribeReportPlanOutput
Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
2387 2388 2389 2390 |
# File 'lib/aws-sdk-backup/client.rb', line 2387 def describe_report_plan(params = {}, = {}) req = build_request(:describe_report_plan, params) req.send_request() end |
#describe_restore_job(params = {}) ⇒ Types::DescribeRestoreJobOutput
Returns metadata associated with a restore job that is specified by a job ID.
2460 2461 2462 2463 |
# File 'lib/aws-sdk-backup/client.rb', line 2460 def describe_restore_job(params = {}, = {}) req = build_request(:describe_restore_job, params) req.send_request() end |
#describe_scan_job(params = {}) ⇒ Types::DescribeScanJobOutput
Returns scan job details for the specified ScanJobID.
2533 2534 2535 2536 |
# File 'lib/aws-sdk-backup/client.rb', line 2533 def describe_scan_job(params = {}, = {}) req = build_request(:describe_scan_job, params) req.send_request() end |
#disassociate_backup_vault_mpa_approval_team(params = {}) ⇒ Struct
Removes the association between an MPA approval team and a backup vault, disabling the MPA approval workflow for restore operations.
2562 2563 2564 2565 |
# File 'lib/aws-sdk-backup/client.rb', line 2562 def disassociate_backup_vault_mpa_approval_team(params = {}, = {}) req = build_request(:disassociate_backup_vault_mpa_approval_team, params) req.send_request() end |
#disassociate_recovery_point(params = {}) ⇒ Struct
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.
Does not support snapshot backup recovery points.
2595 2596 2597 2598 |
# File 'lib/aws-sdk-backup/client.rb', line 2595 def disassociate_recovery_point(params = {}, = {}) req = build_request(:disassociate_recovery_point, params) req.send_request() end |
#disassociate_recovery_point_from_parent(params = {}) ⇒ Struct
This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.
2628 2629 2630 2631 |
# File 'lib/aws-sdk-backup/client.rb', line 2628 def disassociate_recovery_point_from_parent(params = {}, = {}) req = build_request(:disassociate_recovery_point_from_parent, params) req.send_request() end |
#export_backup_plan_template(params = {}) ⇒ Types::ExportBackupPlanTemplateOutput
Returns the backup plan that is specified by the plan ID as a backup template.
2657 2658 2659 2660 |
# File 'lib/aws-sdk-backup/client.rb', line 2657 def export_backup_plan_template(params = {}, = {}) req = build_request(:export_backup_plan_template, params) req.send_request() end |
#get_backup_plan(params = {}) ⇒ Types::GetBackupPlanOutput
Returns ‘BackupPlan` details for the specified `BackupPlanId`. The details are the body of a backup plan in JSON format, in addition to plan metadata.
2759 2760 2761 2762 |
# File 'lib/aws-sdk-backup/client.rb', line 2759 def get_backup_plan(params = {}, = {}) req = build_request(:get_backup_plan, params) req.send_request() end |
#get_backup_plan_from_json(params = {}) ⇒ Types::GetBackupPlanFromJSONOutput
Returns a valid JSON document specifying a backup plan or an error.
2824 2825 2826 2827 |
# File 'lib/aws-sdk-backup/client.rb', line 2824 def get_backup_plan_from_json(params = {}, = {}) req = build_request(:get_backup_plan_from_json, params) req.send_request() end |
#get_backup_plan_from_template(params = {}) ⇒ Types::GetBackupPlanFromTemplateOutput
Returns the template specified by its ‘templateId` as a backup plan.
2889 2890 2891 2892 |
# File 'lib/aws-sdk-backup/client.rb', line 2889 def get_backup_plan_from_template(params = {}, = {}) req = build_request(:get_backup_plan_from_template, params) req.send_request() end |
#get_backup_selection(params = {}) ⇒ Types::GetBackupSelectionOutput
Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
2952 2953 2954 2955 |
# File 'lib/aws-sdk-backup/client.rb', line 2952 def get_backup_selection(params = {}, = {}) req = build_request(:get_backup_selection, params) req.send_request() end |
#get_backup_vault_access_policy(params = {}) ⇒ Types::GetBackupVaultAccessPolicyOutput
Returns the access policy document that is associated with the named backup vault.
2987 2988 2989 2990 |
# File 'lib/aws-sdk-backup/client.rb', line 2987 def get_backup_vault_access_policy(params = {}, = {}) req = build_request(:get_backup_vault_access_policy, params) req.send_request() end |
#get_backup_vault_notifications(params = {}) ⇒ Types::GetBackupVaultNotificationsOutput
Returns event notifications for the specified backup vault.
3024 3025 3026 3027 |
# File 'lib/aws-sdk-backup/client.rb', line 3024 def get_backup_vault_notifications(params = {}, = {}) req = build_request(:get_backup_vault_notifications, params) req.send_request() end |
#get_legal_hold(params = {}) ⇒ Types::GetLegalHoldOutput
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.
3076 3077 3078 3079 |
# File 'lib/aws-sdk-backup/client.rb', line 3076 def get_legal_hold(params = {}, = {}) req = build_request(:get_legal_hold, params) req.send_request() end |
#get_pitr_malware_scan_results(params = {}) ⇒ Types::GetPITRMalwareScanResultsOutput
Returns the malware scan results for a specified point in time within a continuous (point-in-time recovery) backup.
3131 3132 3133 3134 |
# File 'lib/aws-sdk-backup/client.rb', line 3131 def get_pitr_malware_scan_results(params = {}, = {}) req = build_request(:get_pitr_malware_scan_results, params) req.send_request() end |
#get_recovery_point_index_details(params = {}) ⇒ Types::GetRecoveryPointIndexDetailsOutput
This operation returns the metadata and details specific to the backup index associated with the specified recovery point.
3185 3186 3187 3188 |
# File 'lib/aws-sdk-backup/client.rb', line 3185 def get_recovery_point_index_details(params = {}, = {}) req = build_request(:get_recovery_point_index_details, params) req.send_request() end |
#get_recovery_point_restore_metadata(params = {}) ⇒ Types::GetRecoveryPointRestoreMetadataOutput
Returns a set of metadata key-value pairs that were used to create the backup.
3233 3234 3235 3236 |
# File 'lib/aws-sdk-backup/client.rb', line 3233 def (params = {}, = {}) req = build_request(:get_recovery_point_restore_metadata, params) req.send_request() end |
#get_restore_job_metadata(params = {}) ⇒ Types::GetRestoreJobMetadataOutput
This request returns the metadata for the specified restore job.
3264 3265 3266 3267 |
# File 'lib/aws-sdk-backup/client.rb', line 3264 def (params = {}, = {}) req = build_request(:get_restore_job_metadata, params) req.send_request() end |
#get_restore_testing_inferred_metadata(params = {}) ⇒ Types::GetRestoreTestingInferredMetadataOutput
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.
3309 3310 3311 3312 |
# File 'lib/aws-sdk-backup/client.rb', line 3309 def (params = {}, = {}) req = build_request(:get_restore_testing_inferred_metadata, params) req.send_request() end |
#get_restore_testing_plan(params = {}) ⇒ Types::GetRestoreTestingPlanOutput
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.
3355 3356 3357 3358 |
# File 'lib/aws-sdk-backup/client.rb', line 3355 def get_restore_testing_plan(params = {}, = {}) req = build_request(:get_restore_testing_plan, params) req.send_request() end |
#get_restore_testing_selection(params = {}) ⇒ Types::GetRestoreTestingSelectionOutput
Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.
3404 3405 3406 3407 |
# File 'lib/aws-sdk-backup/client.rb', line 3404 def get_restore_testing_selection(params = {}, = {}) req = build_request(:get_restore_testing_selection, params) req.send_request() end |
#get_supported_resource_types(params = {}) ⇒ Types::GetSupportedResourceTypesOutput
Returns the Amazon Web Services resource types supported by Backup.
3424 3425 3426 3427 |
# File 'lib/aws-sdk-backup/client.rb', line 3424 def get_supported_resource_types(params = {}, = {}) req = build_request(:get_supported_resource_types, params) req.send_request() end |
#get_tiering_configuration(params = {}) ⇒ Types::GetTieringConfigurationOutput
Returns ‘TieringConfiguration` details for the specified `TieringConfigurationName`. The details are the body of a tiering configuration in JSON format, in addition to configuration metadata.
3464 3465 3466 3467 |
# File 'lib/aws-sdk-backup/client.rb', line 3464 def get_tiering_configuration(params = {}, = {}) req = build_request(:get_tiering_configuration, params) req.send_request() end |
#list_backup_job_summaries(params = {}) ⇒ Types::ListBackupJobSummariesOutput
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.
This request returns a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3602 3603 3604 3605 |
# File 'lib/aws-sdk-backup/client.rb', line 3602 def list_backup_job_summaries(params = {}, = {}) req = build_request(:list_backup_job_summaries, params) req.send_request() end |
#list_backup_jobs(params = {}) ⇒ Types::ListBackupJobsOutput
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].
[1]: docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3804 3805 3806 3807 |
# File 'lib/aws-sdk-backup/client.rb', line 3804 def list_backup_jobs(params = {}, = {}) req = build_request(:list_backup_jobs, params) req.send_request() end |
#list_backup_plan_templates(params = {}) ⇒ Types::ListBackupPlanTemplatesOutput
Lists the backup plan templates.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3845 3846 3847 3848 |
# File 'lib/aws-sdk-backup/client.rb', line 3845 def list_backup_plan_templates(params = {}, = {}) req = build_request(:list_backup_plan_templates, params) req.send_request() end |
#list_backup_plan_versions(params = {}) ⇒ Types::ListBackupPlanVersionsOutput
Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3902 3903 3904 3905 |
# File 'lib/aws-sdk-backup/client.rb', line 3902 def list_backup_plan_versions(params = {}, = {}) req = build_request(:list_backup_plan_versions, params) req.send_request() end |
#list_backup_plans(params = {}) ⇒ Types::ListBackupPlansOutput
Lists the active backup plans for the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3958 3959 3960 3961 |
# File 'lib/aws-sdk-backup/client.rb', line 3958 def list_backup_plans(params = {}, = {}) req = build_request(:list_backup_plans, params) req.send_request() end |
#list_backup_selections(params = {}) ⇒ Types::ListBackupSelectionsOutput
Returns an array containing metadata of the resources associated with the target backup plan.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4008 4009 4010 4011 |
# File 'lib/aws-sdk-backup/client.rb', line 4008 def list_backup_selections(params = {}, = {}) req = build_request(:list_backup_selections, params) req.send_request() end |
#list_backup_vaults(params = {}) ⇒ Types::ListBackupVaultsOutput
Returns a list of recovery point storage containers along with information about them.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4069 4070 4071 4072 |
# File 'lib/aws-sdk-backup/client.rb', line 4069 def list_backup_vaults(params = {}, = {}) req = build_request(:list_backup_vaults, params) req.send_request() end |
#list_copy_job_summaries(params = {}) ⇒ Types::ListCopyJobSummariesOutput
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.
This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4194 4195 4196 4197 |
# File 'lib/aws-sdk-backup/client.rb', line 4194 def list_copy_job_summaries(params = {}, = {}) req = build_request(:list_copy_job_summaries, params) req.send_request() end |
#list_copy_jobs(params = {}) ⇒ Types::ListCopyJobsOutput
Returns metadata about your copy jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4375 4376 4377 4378 |
# File 'lib/aws-sdk-backup/client.rb', line 4375 def list_copy_jobs(params = {}, = {}) req = build_request(:list_copy_jobs, params) req.send_request() end |
#list_frameworks(params = {}) ⇒ Types::ListFrameworksOutput
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4421 4422 4423 4424 |
# File 'lib/aws-sdk-backup/client.rb', line 4421 def list_frameworks(params = {}, = {}) req = build_request(:list_frameworks, params) req.send_request() end |
#list_indexed_recovery_points(params = {}) ⇒ Types::ListIndexedRecoveryPointsOutput
This operation returns a list of recovery points that have an associated index, belonging to the specified account.
Optional parameters you can include are: MaxResults; NextToken; SourceResourceArns; CreatedBefore; CreatedAfter; and ResourceType.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4510 4511 4512 4513 |
# File 'lib/aws-sdk-backup/client.rb', line 4510 def list_indexed_recovery_points(params = {}, = {}) req = build_request(:list_indexed_recovery_points, params) req.send_request() end |
#list_legal_holds(params = {}) ⇒ Types::ListLegalHoldsOutput
This action returns metadata about active and previous legal holds.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4556 4557 4558 4559 |
# File 'lib/aws-sdk-backup/client.rb', line 4556 def list_legal_holds(params = {}, = {}) req = build_request(:list_legal_holds, params) req.send_request() end |
#list_protected_resources(params = {}) ⇒ Types::ListProtectedResourcesOutput
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4603 4604 4605 4606 |
# File 'lib/aws-sdk-backup/client.rb', line 4603 def list_protected_resources(params = {}, = {}) req = build_request(:list_protected_resources, params) req.send_request() end |
#list_protected_resources_by_backup_vault(params = {}) ⇒ Types::ListProtectedResourcesByBackupVaultOutput
This request lists the protected resources corresponding to each backup vault.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4659 4660 4661 4662 |
# File 'lib/aws-sdk-backup/client.rb', line 4659 def list_protected_resources_by_backup_vault(params = {}, = {}) req = build_request(:list_protected_resources_by_backup_vault, params) req.send_request() end |
#list_recovery_points_by_backup_vault(params = {}) ⇒ Types::ListRecoveryPointsByBackupVaultOutput
Returns detailed information about the recovery points stored in a backup vault.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4820 4821 4822 4823 |
# File 'lib/aws-sdk-backup/client.rb', line 4820 def list_recovery_points_by_backup_vault(params = {}, = {}) req = build_request(:list_recovery_points_by_backup_vault, params) req.send_request() end |
#list_recovery_points_by_legal_hold(params = {}) ⇒ Types::ListRecoveryPointsByLegalHoldOutput
This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4868 4869 4870 4871 |
# File 'lib/aws-sdk-backup/client.rb', line 4868 def list_recovery_points_by_legal_hold(params = {}, = {}) req = build_request(:list_recovery_points_by_legal_hold, params) req.send_request() end |
#list_recovery_points_by_resource(params = {}) ⇒ Types::ListRecoveryPointsByResourceOutput
The information about the recovery points of the type specified by a resource Amazon Resource Name (ARN).
<note markdown=“1”> For Amazon EFS and Amazon EC2, this action only lists recovery points created by Backup.
</note>
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4952 4953 4954 4955 |
# File 'lib/aws-sdk-backup/client.rb', line 4952 def list_recovery_points_by_resource(params = {}, = {}) req = build_request(:list_recovery_points_by_resource, params) req.send_request() end |
#list_report_jobs(params = {}) ⇒ Types::ListReportJobsOutput
Returns details about your report jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5030 5031 5032 5033 |
# File 'lib/aws-sdk-backup/client.rb', line 5030 def list_report_jobs(params = {}, = {}) req = build_request(:list_report_jobs, params) req.send_request() end |
#list_report_plans(params = {}) ⇒ Types::ListReportPlansOutput
Returns a list of your report plans. For detailed information about a single report plan, use ‘DescribeReportPlan`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5091 5092 5093 5094 |
# File 'lib/aws-sdk-backup/client.rb', line 5091 def list_report_plans(params = {}, = {}) req = build_request(:list_report_plans, params) req.send_request() end |
#list_restore_access_backup_vaults(params = {}) ⇒ Types::ListRestoreAccessBackupVaultsOutput
Returns a list of restore access backup vaults associated with a specified backup vault.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5143 5144 5145 5146 |
# File 'lib/aws-sdk-backup/client.rb', line 5143 def list_restore_access_backup_vaults(params = {}, = {}) req = build_request(:list_restore_access_backup_vaults, params) req.send_request() end |
#list_restore_job_summaries(params = {}) ⇒ Types::ListRestoreJobSummariesOutput
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.
This request returns a summary that contains Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5249 5250 5251 5252 |
# File 'lib/aws-sdk-backup/client.rb', line 5249 def list_restore_job_summaries(params = {}, = {}) req = build_request(:list_restore_job_summaries, params) req.send_request() end |
#list_restore_jobs(params = {}) ⇒ Types::ListRestoreJobsOutput
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5389 5390 5391 5392 |
# File 'lib/aws-sdk-backup/client.rb', line 5389 def list_restore_jobs(params = {}, = {}) req = build_request(:list_restore_jobs, params) req.send_request() end |
#list_restore_jobs_by_protected_resource(params = {}) ⇒ Types::ListRestoreJobsByProtectedResourceOutput
This returns restore jobs that contain the specified protected resource.
You must include ‘ResourceArn`. You can optionally include `NextToken`, `ByStatus`, `MaxResults`, `ByRecoveryPointCreationDateAfter` , and `ByRecoveryPointCreationDateBefore`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5476 5477 5478 5479 |
# File 'lib/aws-sdk-backup/client.rb', line 5476 def list_restore_jobs_by_protected_resource(params = {}, = {}) req = build_request(:list_restore_jobs_by_protected_resource, params) req.send_request() end |
#list_restore_testing_plans(params = {}) ⇒ Types::ListRestoreTestingPlansOutput
Returns a list of restore testing plans.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5523 5524 5525 5526 |
# File 'lib/aws-sdk-backup/client.rb', line 5523 def list_restore_testing_plans(params = {}, = {}) req = build_request(:list_restore_testing_plans, params) req.send_request() end |
#list_restore_testing_selections(params = {}) ⇒ Types::ListRestoreTestingSelectionsOutput
Returns a list of restore testing selections. Can be filtered by ‘MaxResults` and `RestoreTestingPlanName`.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5574 5575 5576 5577 |
# File 'lib/aws-sdk-backup/client.rb', line 5574 def list_restore_testing_selections(params = {}, = {}) req = build_request(:list_restore_testing_selections, params) req.send_request() end |
#list_scan_job_summaries(params = {}) ⇒ Types::ListScanJobSummariesOutput
This is a request for a summary of scan jobs created or running within the most recent 30 days.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5676 5677 5678 5679 |
# File 'lib/aws-sdk-backup/client.rb', line 5676 def list_scan_job_summaries(params = {}, = {}) req = build_request(:list_scan_job_summaries, params) req.send_request() end |
#list_scan_jobs(params = {}) ⇒ Types::ListScanJobsOutput
Returns a list of existing scan jobs for an authenticated account for the last 30 days.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5812 5813 5814 5815 |
# File 'lib/aws-sdk-backup/client.rb', line 5812 def list_scan_jobs(params = {}, = {}) req = build_request(:list_scan_jobs, params) req.send_request() end |
#list_tags(params = {}) ⇒ Types::ListTagsOutput
Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.
This operation returns results depending on the resource type used in the value for ‘resourceArn`. For example, recovery points of Amazon DynamoDB with Advanced Settings have an ARN (Amazon Resource Name) that begins with `arn:aws:backup`. Recovery points (backups) of DynamoDB without Advanced Settings enabled have an ARN that begins with `arn:aws:dynamodb`.
When this operation is called and when you include values of ‘resourceArn` that have an ARN other than `arn:aws:backup`, it may return one of the exceptions listed below. To prevent this exception, include only values representing resource types that are fully managed by Backup. These have an ARN that begins `arn:aws:backup` and they are noted in the [Feature availability by resource] table.
[1]: docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5877 5878 5879 5880 |
# File 'lib/aws-sdk-backup/client.rb', line 5877 def (params = {}, = {}) req = build_request(:list_tags, params) req.send_request() end |
#list_tiering_configurations(params = {}) ⇒ Types::ListTieringConfigurationsOutput
Returns a list of tiering configurations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5921 5922 5923 5924 |
# File 'lib/aws-sdk-backup/client.rb', line 5921 def list_tiering_configurations(params = {}, = {}) req = build_request(:list_tiering_configurations, params) req.send_request() end |
#put_backup_vault_access_policy(params = {}) ⇒ Struct
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.
5951 5952 5953 5954 |
# File 'lib/aws-sdk-backup/client.rb', line 5951 def put_backup_vault_access_policy(params = {}, = {}) req = build_request(:put_backup_vault_access_policy, params) req.send_request() end |
#put_backup_vault_lock_configuration(params = {}) ⇒ Struct
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.
<note markdown=“1”> Backup Vault Lock has been assessed by Cohasset Associates for use in environments that are subject to SEC 17a-4, CFTC, and FINRA regulations. For more information about how Backup Vault Lock relates to these regulations, see the [Cohasset Associates Compliance Assessment.]
</note>
For more information, see [Backup Vault Lock].
[1]: docs.aws.amazon.com/aws-backup/latest/devguide/samples/cohassetreport.zip [2]: docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html
6065 6066 6067 6068 |
# File 'lib/aws-sdk-backup/client.rb', line 6065 def put_backup_vault_lock_configuration(params = {}, = {}) req = build_request(:put_backup_vault_lock_configuration, params) req.send_request() end |
#put_backup_vault_notifications(params = {}) ⇒ Struct
Turns on notifications on a backup vault for the specified topic and events.
6107 6108 6109 6110 |
# File 'lib/aws-sdk-backup/client.rb', line 6107 def put_backup_vault_notifications(params = {}, = {}) req = build_request(:put_backup_vault_notifications, params) req.send_request() end |
#put_restore_validation_result(params = {}) ⇒ Struct
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`.
6140 6141 6142 6143 |
# File 'lib/aws-sdk-backup/client.rb', line 6140 def put_restore_validation_result(params = {}, = {}) req = build_request(:put_restore_validation_result, params) req.send_request() end |
#revoke_restore_access_backup_vault(params = {}) ⇒ Struct
Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.
6174 6175 6176 6177 |
# File 'lib/aws-sdk-backup/client.rb', line 6174 def revoke_restore_access_backup_vault(params = {}, = {}) req = build_request(:revoke_restore_access_backup_vault, params) req.send_request() end |
#start_backup_job(params = {}) ⇒ Types::StartBackupJobOutput
Starts an on-demand backup job for the specified resource.
6331 6332 6333 6334 |
# File 'lib/aws-sdk-backup/client.rb', line 6331 def start_backup_job(params = {}, = {}) req = build_request(:start_backup_job, params) req.send_request() end |
#start_copy_job(params = {}) ⇒ Types::StartCopyJobOutput
Starts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
See [Copy job retry] for information on how Backup retries copy job operations.
[1]: docs.aws.amazon.com/aws-backup/latest/devguide/recov-point-create-a-copy.html#backup-copy-retry
6430 6431 6432 6433 |
# File 'lib/aws-sdk-backup/client.rb', line 6430 def start_copy_job(params = {}, = {}) req = build_request(:start_copy_job, params) req.send_request() end |
#start_report_job(params = {}) ⇒ Types::StartReportJobOutput
Starts an on-demand report job for the specified report plan.
6468 6469 6470 6471 |
# File 'lib/aws-sdk-backup/client.rb', line 6468 def start_report_job(params = {}, = {}) req = build_request(:start_report_job, params) req.send_request() end |
#start_restore_job(params = {}) ⇒ Types::StartRestoreJobOutput
Recovers the saved resource identified by an Amazon Resource Name (ARN).
6625 6626 6627 6628 |
# File 'lib/aws-sdk-backup/client.rb', line 6625 def start_restore_job(params = {}, = {}) req = build_request(:start_restore_job, params) req.send_request() end |
#start_scan_job(params = {}) ⇒ Types::StartScanJobOutput
Starts scanning jobs for specific resources.
6708 6709 6710 6711 |
# File 'lib/aws-sdk-backup/client.rb', line 6708 def start_scan_job(params = {}, = {}) req = build_request(:start_scan_job, params) req.send_request() end |
#stop_backup_job(params = {}) ⇒ Struct
Attempts to cancel a job to create a one-time backup of a resource.
This action is not supported for the following services:
-
Amazon Aurora
-
Amazon DocumentDB (with MongoDB compatibility)
-
Amazon FSx for Lustre
-
Amazon FSx for NetApp ONTAP
-
Amazon FSx for OpenZFS
-
Amazon FSx for Windows File Server
-
Amazon Neptune
-
SAP HANA databases on Amazon EC2 instances
-
Amazon RDS
6750 6751 6752 6753 |
# File 'lib/aws-sdk-backup/client.rb', line 6750 def stop_backup_job(params = {}, = {}) req = build_request(:stop_backup_job, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Assigns a set of key-value pairs to a resource.
6781 6782 6783 6784 |
# File 'lib/aws-sdk-backup/client.rb', line 6781 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
This API is not supported for recovery points for resource types including Aurora, Amazon DocumentDB. Amazon EBS, Amazon FSx, Neptune, and Amazon RDS.
6818 6819 6820 6821 |
# File 'lib/aws-sdk-backup/client.rb', line 6818 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_backup_plan(params = {}) ⇒ Types::UpdateBackupPlanOutput
Updates the specified backup plan. The new version is uniquely identified by its ID.
6929 6930 6931 6932 |
# File 'lib/aws-sdk-backup/client.rb', line 6929 def update_backup_plan(params = {}, = {}) req = build_request(:update_backup_plan, params) req.send_request() end |
#update_framework(params = {}) ⇒ Types::UpdateFrameworkOutput
Updates the specified framework.
7000 7001 7002 7003 |
# File 'lib/aws-sdk-backup/client.rb', line 7000 def update_framework(params = {}, = {}) req = build_request(:update_framework, params) req.send_request() end |
#update_global_settings(params = {}) ⇒ Struct
Updates whether the Amazon Web Services account has enabled different cross-account management options, including cross-account backup, multi-party approval, and delegated administrator. Returns an error if the account is not an Organizations management account. Use the ‘DescribeGlobalSettings` API to determine the current settings.
7041 7042 7043 7044 |
# File 'lib/aws-sdk-backup/client.rb', line 7041 def update_global_settings(params = {}, = {}) req = build_request(:update_global_settings, params) req.send_request() end |
#update_recovery_point_index_settings(params = {}) ⇒ Types::UpdateRecoveryPointIndexSettingsOutput
This operation updates the settings of a recovery point index.
Required: BackupVaultName, RecoveryPointArn, and IAMRoleArn
7101 7102 7103 7104 |
# File 'lib/aws-sdk-backup/client.rb', line 7101 def update_recovery_point_index_settings(params = {}, = {}) req = build_request(:update_recovery_point_index_settings, params) req.send_request() end |
#update_recovery_point_lifecycle(params = {}) ⇒ Types::UpdateRecoveryPointLifecycleOutput
Sets the transition lifecycle of a recovery point.
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Resource types that can transition to cold storage are listed in the
- Feature availability by resource][1
-
table. Backup ignores this
expression for other resource types.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” 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.
If your lifecycle currently uses the parameters ‘DeleteAfterDays` and `MoveToColdStorageAfterDays`, include these parameters and their values when you call this operation. Not including them may result in your plan updating with null values.
This operation does not support continuous backups.
[1]: docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource
7189 7190 7191 7192 |
# File 'lib/aws-sdk-backup/client.rb', line 7189 def update_recovery_point_lifecycle(params = {}, = {}) req = build_request(:update_recovery_point_lifecycle, params) req.send_request() end |
#update_region_settings(params = {}) ⇒ Struct
Updates the current service opt-in settings for the Region.
Use the ‘DescribeRegionSettings` API to determine the resource types that are supported.
7240 7241 7242 7243 |
# File 'lib/aws-sdk-backup/client.rb', line 7240 def update_region_settings(params = {}, = {}) req = build_request(:update_region_settings, params) req.send_request() end |
#update_report_plan(params = {}) ⇒ Types::UpdateReportPlanOutput
Updates the specified report plan.
7317 7318 7319 7320 |
# File 'lib/aws-sdk-backup/client.rb', line 7317 def update_report_plan(params = {}, = {}) req = build_request(:update_report_plan, params) req.send_request() end |
#update_restore_testing_plan(params = {}) ⇒ Types::UpdateRestoreTestingPlanOutput
This request will send changes to your specified restore testing plan. ‘RestoreTestingPlanName` cannot be updated after it is created.
‘RecoveryPointSelection` can contain:
-
‘Algorithm`
-
‘ExcludeVaults`
-
‘IncludeVaults`
-
‘RecoveryPointTypes`
-
‘SelectionWindowDays`
7379 7380 7381 7382 |
# File 'lib/aws-sdk-backup/client.rb', line 7379 def update_restore_testing_plan(params = {}, = {}) req = build_request(:update_restore_testing_plan, params) req.send_request() end |
#update_restore_testing_selection(params = {}) ⇒ Types::UpdateRestoreTestingSelectionOutput
Updates the specified restore testing selection.
Most elements except the ‘RestoreTestingSelectionName` can be updated with this request.
You can use either protected resource ARNs or conditions, but not both.
7455 7456 7457 7458 |
# File 'lib/aws-sdk-backup/client.rb', line 7455 def update_restore_testing_selection(params = {}, = {}) req = build_request(:update_restore_testing_selection, params) req.send_request() end |
#update_tiering_configuration(params = {}) ⇒ Types::UpdateTieringConfigurationOutput
This request will send changes to your specified tiering configuration. ‘TieringConfigurationName` cannot be updated after it is created.
‘ResourceSelection` can contain:
-
‘Resources`
-
‘TieringDownSettingsInDays`
-
‘ResourceType`
7512 7513 7514 7515 |
# File 'lib/aws-sdk-backup/client.rb', line 7512 def update_tiering_configuration(params = {}, = {}) req = build_request(:update_tiering_configuration, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7541 7542 7543 |
# File 'lib/aws-sdk-backup/client.rb', line 7541 def waiter_names [] end |