@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBackupAsyncClient extends AWSBackupClient implements AWSBackupAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, cancelLegalHold, createBackupPlan, createBackupSelection, createBackupVault, createFramework, createLegalHold, createLogicallyAirGappedBackupVault, createReportPlan, createRestoreTestingPlan, createRestoreTestingSelection, deleteBackupPlan, deleteBackupSelection, deleteBackupVault, deleteBackupVaultAccessPolicy, deleteBackupVaultLockConfiguration, deleteBackupVaultNotifications, deleteFramework, deleteRecoveryPoint, deleteReportPlan, deleteRestoreTestingPlan, deleteRestoreTestingSelection, describeBackupJob, describeBackupVault, describeCopyJob, describeFramework, describeGlobalSettings, describeProtectedResource, describeRecoveryPoint, describeRegionSettings, describeReportJob, describeReportPlan, describeRestoreJob, disassociateRecoveryPoint, disassociateRecoveryPointFromParent, exportBackupPlanTemplate, getBackupPlan, getBackupPlanFromJSON, getBackupPlanFromTemplate, getBackupSelection, getBackupVaultAccessPolicy, getBackupVaultNotifications, getCachedResponseMetadata, getLegalHold, getRecoveryPointRestoreMetadata, getRestoreJobMetadata, getRestoreTestingInferredMetadata, getRestoreTestingPlan, getRestoreTestingSelection, getSupportedResourceTypes, listBackupJobs, listBackupJobSummaries, listBackupPlans, listBackupPlanTemplates, listBackupPlanVersions, listBackupSelections, listBackupVaults, listCopyJobs, listCopyJobSummaries, listFrameworks, listLegalHolds, listProtectedResources, listProtectedResourcesByBackupVault, listRecoveryPointsByBackupVault, listRecoveryPointsByLegalHold, listRecoveryPointsByResource, listReportJobs, listReportPlans, listRestoreJobs, listRestoreJobsByProtectedResource, listRestoreJobSummaries, listRestoreTestingPlans, listRestoreTestingSelections, listTags, putBackupVaultAccessPolicy, putBackupVaultLockConfiguration, putBackupVaultNotifications, putRestoreValidationResult, startBackupJob, startCopyJob, startReportJob, startRestoreJob, stopBackupJob, tagResource, untagResource, updateBackupPlan, updateFramework, updateGlobalSettings, updateRecoveryPointLifecycle, updateRegionSettings, updateReportPlan, updateRestoreTestingPlan, updateRestoreTestingSelection
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelLegalHold, createBackupPlan, createBackupSelection, createBackupVault, createFramework, createLegalHold, createLogicallyAirGappedBackupVault, createReportPlan, createRestoreTestingPlan, createRestoreTestingSelection, deleteBackupPlan, deleteBackupSelection, deleteBackupVault, deleteBackupVaultAccessPolicy, deleteBackupVaultLockConfiguration, deleteBackupVaultNotifications, deleteFramework, deleteRecoveryPoint, deleteReportPlan, deleteRestoreTestingPlan, deleteRestoreTestingSelection, describeBackupJob, describeBackupVault, describeCopyJob, describeFramework, describeGlobalSettings, describeProtectedResource, describeRecoveryPoint, describeRegionSettings, describeReportJob, describeReportPlan, describeRestoreJob, disassociateRecoveryPoint, disassociateRecoveryPointFromParent, exportBackupPlanTemplate, getBackupPlan, getBackupPlanFromJSON, getBackupPlanFromTemplate, getBackupSelection, getBackupVaultAccessPolicy, getBackupVaultNotifications, getCachedResponseMetadata, getLegalHold, getRecoveryPointRestoreMetadata, getRestoreJobMetadata, getRestoreTestingInferredMetadata, getRestoreTestingPlan, getRestoreTestingSelection, getSupportedResourceTypes, listBackupJobs, listBackupJobSummaries, listBackupPlans, listBackupPlanTemplates, listBackupPlanVersions, listBackupSelections, listBackupVaults, listCopyJobs, listCopyJobSummaries, listFrameworks, listLegalHolds, listProtectedResources, listProtectedResourcesByBackupVault, listRecoveryPointsByBackupVault, listRecoveryPointsByLegalHold, listRecoveryPointsByResource, listReportJobs, listReportPlans, listRestoreJobs, listRestoreJobsByProtectedResource, listRestoreJobSummaries, listRestoreTestingPlans, listRestoreTestingSelections, listTags, putBackupVaultAccessPolicy, putBackupVaultLockConfiguration, putBackupVaultNotifications, putRestoreValidationResult, startBackupJob, startCopyJob, startReportJob, startRestoreJob, stopBackupJob, tagResource, untagResource, updateBackupPlan, updateFramework, updateGlobalSettings, updateRecoveryPointLifecycle, updateRegionSettings, updateReportPlan, updateRestoreTestingPlan, updateRestoreTestingSelection
public static AWSBackupAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CancelLegalHoldResult> cancelLegalHoldAsync(CancelLegalHoldRequest request)
AWSBackupAsync
This action removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.
cancelLegalHoldAsync
in interface AWSBackupAsync
public Future<CancelLegalHoldResult> cancelLegalHoldAsync(CancelLegalHoldRequest request, AsyncHandler<CancelLegalHoldRequest,CancelLegalHoldResult> asyncHandler)
AWSBackupAsync
This action removes the specified legal hold on a recovery point. This action can only be performed by a user with sufficient permissions.
cancelLegalHoldAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBackupPlanResult> createBackupPlanAsync(CreateBackupPlanRequest request)
AWSBackupAsync
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.
createBackupPlanAsync
in interface AWSBackupAsync
public Future<CreateBackupPlanResult> createBackupPlanAsync(CreateBackupPlanRequest request, AsyncHandler<CreateBackupPlanRequest,CreateBackupPlanResult> asyncHandler)
AWSBackupAsync
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.
createBackupPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBackupSelectionResult> createBackupSelectionAsync(CreateBackupSelectionRequest request)
AWSBackupAsync
Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see Assigning resources programmatically.
createBackupSelectionAsync
in interface AWSBackupAsync
public Future<CreateBackupSelectionResult> createBackupSelectionAsync(CreateBackupSelectionRequest request, AsyncHandler<CreateBackupSelectionRequest,CreateBackupSelectionResult> asyncHandler)
AWSBackupAsync
Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see Assigning resources programmatically.
createBackupSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBackupVaultResult> createBackupVaultAsync(CreateBackupVaultRequest request)
AWSBackupAsync
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.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
createBackupVaultAsync
in interface AWSBackupAsync
public Future<CreateBackupVaultResult> createBackupVaultAsync(CreateBackupVaultRequest request, AsyncHandler<CreateBackupVaultRequest,CreateBackupVaultResult> asyncHandler)
AWSBackupAsync
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.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
createBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateFrameworkResult> createFrameworkAsync(CreateFrameworkRequest request)
AWSBackupAsync
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.
createFrameworkAsync
in interface AWSBackupAsync
public Future<CreateFrameworkResult> createFrameworkAsync(CreateFrameworkRequest request, AsyncHandler<CreateFrameworkRequest,CreateFrameworkResult> asyncHandler)
AWSBackupAsync
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.
createFrameworkAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLegalHoldResult> createLegalHoldAsync(CreateLegalHoldRequest request)
AWSBackupAsync
This action 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.
createLegalHoldAsync
in interface AWSBackupAsync
public Future<CreateLegalHoldResult> createLegalHoldAsync(CreateLegalHoldRequest request, AsyncHandler<CreateLegalHoldRequest,CreateLegalHoldResult> asyncHandler)
AWSBackupAsync
This action 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.
createLegalHoldAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLogicallyAirGappedBackupVaultResult> createLogicallyAirGappedBackupVaultAsync(CreateLogicallyAirGappedBackupVaultRequest request)
AWSBackupAsync
This request 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.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
createLogicallyAirGappedBackupVaultAsync
in interface AWSBackupAsync
public Future<CreateLogicallyAirGappedBackupVaultResult> createLogicallyAirGappedBackupVaultAsync(CreateLogicallyAirGappedBackupVaultRequest request, AsyncHandler<CreateLogicallyAirGappedBackupVaultRequest,CreateLogicallyAirGappedBackupVaultResult> asyncHandler)
AWSBackupAsync
This request 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.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
createLogicallyAirGappedBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateReportPlanResult> createReportPlanAsync(CreateReportPlanRequest request)
AWSBackupAsync
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.
createReportPlanAsync
in interface AWSBackupAsync
public Future<CreateReportPlanResult> createReportPlanAsync(CreateReportPlanRequest request, AsyncHandler<CreateReportPlanRequest,CreateReportPlanResult> asyncHandler)
AWSBackupAsync
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.
createReportPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRestoreTestingPlanResult> createRestoreTestingPlanAsync(CreateRestoreTestingPlanRequest request)
AWSBackupAsync
This is the first of two steps to create a restore testing plan; once this request is successful, finish the procedure with request CreateRestoreTestingSelection.
You must include the parameter RestoreTestingPlan. You may optionally include CreatorRequestId and Tags.
createRestoreTestingPlanAsync
in interface AWSBackupAsync
public Future<CreateRestoreTestingPlanResult> createRestoreTestingPlanAsync(CreateRestoreTestingPlanRequest request, AsyncHandler<CreateRestoreTestingPlanRequest,CreateRestoreTestingPlanResult> asyncHandler)
AWSBackupAsync
This is the first of two steps to create a restore testing plan; once this request is successful, finish the procedure with request CreateRestoreTestingSelection.
You must include the parameter RestoreTestingPlan. You may optionally include CreatorRequestId and Tags.
createRestoreTestingPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRestoreTestingSelectionResult> createRestoreTestingSelectionAsync(CreateRestoreTestingSelectionRequest request)
AWSBackupAsync
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.
createRestoreTestingSelectionAsync
in interface AWSBackupAsync
public Future<CreateRestoreTestingSelectionResult> createRestoreTestingSelectionAsync(CreateRestoreTestingSelectionRequest request, AsyncHandler<CreateRestoreTestingSelectionRequest,CreateRestoreTestingSelectionResult> asyncHandler)
AWSBackupAsync
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.
createRestoreTestingSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupPlanResult> deleteBackupPlanAsync(DeleteBackupPlanRequest request)
AWSBackupAsync
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.
deleteBackupPlanAsync
in interface AWSBackupAsync
public Future<DeleteBackupPlanResult> deleteBackupPlanAsync(DeleteBackupPlanRequest request, AsyncHandler<DeleteBackupPlanRequest,DeleteBackupPlanResult> asyncHandler)
AWSBackupAsync
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.
deleteBackupPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupSelectionResult> deleteBackupSelectionAsync(DeleteBackupSelectionRequest request)
AWSBackupAsync
Deletes the resource selection associated with a backup plan that is specified by the SelectionId
.
deleteBackupSelectionAsync
in interface AWSBackupAsync
public Future<DeleteBackupSelectionResult> deleteBackupSelectionAsync(DeleteBackupSelectionRequest request, AsyncHandler<DeleteBackupSelectionRequest,DeleteBackupSelectionResult> asyncHandler)
AWSBackupAsync
Deletes the resource selection associated with a backup plan that is specified by the SelectionId
.
deleteBackupSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupVaultResult> deleteBackupVaultAsync(DeleteBackupVaultRequest request)
AWSBackupAsync
Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
deleteBackupVaultAsync
in interface AWSBackupAsync
public Future<DeleteBackupVaultResult> deleteBackupVaultAsync(DeleteBackupVaultRequest request, AsyncHandler<DeleteBackupVaultRequest,DeleteBackupVaultResult> asyncHandler)
AWSBackupAsync
Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
deleteBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupVaultAccessPolicyResult> deleteBackupVaultAccessPolicyAsync(DeleteBackupVaultAccessPolicyRequest request)
AWSBackupAsync
Deletes the policy document that manages permissions on a backup vault.
deleteBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
public Future<DeleteBackupVaultAccessPolicyResult> deleteBackupVaultAccessPolicyAsync(DeleteBackupVaultAccessPolicyRequest request, AsyncHandler<DeleteBackupVaultAccessPolicyRequest,DeleteBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsync
Deletes the policy document that manages permissions on a backup vault.
deleteBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupVaultLockConfigurationResult> deleteBackupVaultLockConfigurationAsync(DeleteBackupVaultLockConfigurationRequest request)
AWSBackupAsync
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.
deleteBackupVaultLockConfigurationAsync
in interface AWSBackupAsync
public Future<DeleteBackupVaultLockConfigurationResult> deleteBackupVaultLockConfigurationAsync(DeleteBackupVaultLockConfigurationRequest request, AsyncHandler<DeleteBackupVaultLockConfigurationRequest,DeleteBackupVaultLockConfigurationResult> asyncHandler)
AWSBackupAsync
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.
deleteBackupVaultLockConfigurationAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBackupVaultNotificationsResult> deleteBackupVaultNotificationsAsync(DeleteBackupVaultNotificationsRequest request)
AWSBackupAsync
Deletes event notifications for the specified backup vault.
deleteBackupVaultNotificationsAsync
in interface AWSBackupAsync
public Future<DeleteBackupVaultNotificationsResult> deleteBackupVaultNotificationsAsync(DeleteBackupVaultNotificationsRequest request, AsyncHandler<DeleteBackupVaultNotificationsRequest,DeleteBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsync
Deletes event notifications for the specified backup vault.
deleteBackupVaultNotificationsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFrameworkResult> deleteFrameworkAsync(DeleteFrameworkRequest request)
AWSBackupAsync
Deletes the framework specified by a framework name.
deleteFrameworkAsync
in interface AWSBackupAsync
public Future<DeleteFrameworkResult> deleteFrameworkAsync(DeleteFrameworkRequest request, AsyncHandler<DeleteFrameworkRequest,DeleteFrameworkResult> asyncHandler)
AWSBackupAsync
Deletes the framework specified by a framework name.
deleteFrameworkAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRecoveryPointResult> deleteRecoveryPointAsync(DeleteRecoveryPointRequest request)
AWSBackupAsync
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.
deleteRecoveryPointAsync
in interface AWSBackupAsync
public Future<DeleteRecoveryPointResult> deleteRecoveryPointAsync(DeleteRecoveryPointRequest request, AsyncHandler<DeleteRecoveryPointRequest,DeleteRecoveryPointResult> asyncHandler)
AWSBackupAsync
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.
deleteRecoveryPointAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteReportPlanResult> deleteReportPlanAsync(DeleteReportPlanRequest request)
AWSBackupAsync
Deletes the report plan specified by a report plan name.
deleteReportPlanAsync
in interface AWSBackupAsync
public Future<DeleteReportPlanResult> deleteReportPlanAsync(DeleteReportPlanRequest request, AsyncHandler<DeleteReportPlanRequest,DeleteReportPlanResult> asyncHandler)
AWSBackupAsync
Deletes the report plan specified by a report plan name.
deleteReportPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRestoreTestingPlanResult> deleteRestoreTestingPlanAsync(DeleteRestoreTestingPlanRequest request)
AWSBackupAsync
This request deletes the specified restore testing plan.
Deletion can only successfully occur if all associated restore testing selections are deleted first.
deleteRestoreTestingPlanAsync
in interface AWSBackupAsync
public Future<DeleteRestoreTestingPlanResult> deleteRestoreTestingPlanAsync(DeleteRestoreTestingPlanRequest request, AsyncHandler<DeleteRestoreTestingPlanRequest,DeleteRestoreTestingPlanResult> asyncHandler)
AWSBackupAsync
This request deletes the specified restore testing plan.
Deletion can only successfully occur if all associated restore testing selections are deleted first.
deleteRestoreTestingPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRestoreTestingSelectionResult> deleteRestoreTestingSelectionAsync(DeleteRestoreTestingSelectionRequest request)
AWSBackupAsync
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.
deleteRestoreTestingSelectionAsync
in interface AWSBackupAsync
public Future<DeleteRestoreTestingSelectionResult> deleteRestoreTestingSelectionAsync(DeleteRestoreTestingSelectionRequest request, AsyncHandler<DeleteRestoreTestingSelectionRequest,DeleteRestoreTestingSelectionResult> asyncHandler)
AWSBackupAsync
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.
deleteRestoreTestingSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBackupJobResult> describeBackupJobAsync(DescribeBackupJobRequest request)
AWSBackupAsync
Returns backup job details for the specified BackupJobId
.
describeBackupJobAsync
in interface AWSBackupAsync
public Future<DescribeBackupJobResult> describeBackupJobAsync(DescribeBackupJobRequest request, AsyncHandler<DescribeBackupJobRequest,DescribeBackupJobResult> asyncHandler)
AWSBackupAsync
Returns backup job details for the specified BackupJobId
.
describeBackupJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBackupVaultResult> describeBackupVaultAsync(DescribeBackupVaultRequest request)
AWSBackupAsync
Returns metadata about a backup vault specified by its name.
describeBackupVaultAsync
in interface AWSBackupAsync
public Future<DescribeBackupVaultResult> describeBackupVaultAsync(DescribeBackupVaultRequest request, AsyncHandler<DescribeBackupVaultRequest,DescribeBackupVaultResult> asyncHandler)
AWSBackupAsync
Returns metadata about a backup vault specified by its name.
describeBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCopyJobResult> describeCopyJobAsync(DescribeCopyJobRequest request)
AWSBackupAsync
Returns metadata associated with creating a copy of a resource.
describeCopyJobAsync
in interface AWSBackupAsync
public Future<DescribeCopyJobResult> describeCopyJobAsync(DescribeCopyJobRequest request, AsyncHandler<DescribeCopyJobRequest,DescribeCopyJobResult> asyncHandler)
AWSBackupAsync
Returns metadata associated with creating a copy of a resource.
describeCopyJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFrameworkResult> describeFrameworkAsync(DescribeFrameworkRequest request)
AWSBackupAsync
Returns the framework details for the specified FrameworkName
.
describeFrameworkAsync
in interface AWSBackupAsync
public Future<DescribeFrameworkResult> describeFrameworkAsync(DescribeFrameworkRequest request, AsyncHandler<DescribeFrameworkRequest,DescribeFrameworkResult> asyncHandler)
AWSBackupAsync
Returns the framework details for the specified FrameworkName
.
describeFrameworkAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeGlobalSettingsResult> describeGlobalSettingsAsync(DescribeGlobalSettingsRequest request)
AWSBackupAsync
Describes whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the
account is not a member of an Organizations organization. Example:
describe-global-settings --region us-west-2
describeGlobalSettingsAsync
in interface AWSBackupAsync
public Future<DescribeGlobalSettingsResult> describeGlobalSettingsAsync(DescribeGlobalSettingsRequest request, AsyncHandler<DescribeGlobalSettingsRequest,DescribeGlobalSettingsResult> asyncHandler)
AWSBackupAsync
Describes whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the
account is not a member of an Organizations organization. Example:
describe-global-settings --region us-west-2
describeGlobalSettingsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeProtectedResourceResult> describeProtectedResourceAsync(DescribeProtectedResourceRequest request)
AWSBackupAsync
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.
describeProtectedResourceAsync
in interface AWSBackupAsync
public Future<DescribeProtectedResourceResult> describeProtectedResourceAsync(DescribeProtectedResourceRequest request, AsyncHandler<DescribeProtectedResourceRequest,DescribeProtectedResourceResult> asyncHandler)
AWSBackupAsync
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.
describeProtectedResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRecoveryPointResult> describeRecoveryPointAsync(DescribeRecoveryPointRequest request)
AWSBackupAsync
Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
describeRecoveryPointAsync
in interface AWSBackupAsync
public Future<DescribeRecoveryPointResult> describeRecoveryPointAsync(DescribeRecoveryPointRequest request, AsyncHandler<DescribeRecoveryPointRequest,DescribeRecoveryPointResult> asyncHandler)
AWSBackupAsync
Returns metadata associated with a recovery point, including ID, status, encryption, and lifecycle.
describeRecoveryPointAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRegionSettingsResult> describeRegionSettingsAsync(DescribeRegionSettingsRequest request)
AWSBackupAsync
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.
describeRegionSettingsAsync
in interface AWSBackupAsync
public Future<DescribeRegionSettingsResult> describeRegionSettingsAsync(DescribeRegionSettingsRequest request, AsyncHandler<DescribeRegionSettingsRequest,DescribeRegionSettingsResult> asyncHandler)
AWSBackupAsync
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.
describeRegionSettingsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReportJobResult> describeReportJobAsync(DescribeReportJobRequest request)
AWSBackupAsync
Returns the details associated with creating a report as specified by its ReportJobId
.
describeReportJobAsync
in interface AWSBackupAsync
public Future<DescribeReportJobResult> describeReportJobAsync(DescribeReportJobRequest request, AsyncHandler<DescribeReportJobRequest,DescribeReportJobResult> asyncHandler)
AWSBackupAsync
Returns the details associated with creating a report as specified by its ReportJobId
.
describeReportJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReportPlanResult> describeReportPlanAsync(DescribeReportPlanRequest request)
AWSBackupAsync
Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
describeReportPlanAsync
in interface AWSBackupAsync
public Future<DescribeReportPlanResult> describeReportPlanAsync(DescribeReportPlanRequest request, AsyncHandler<DescribeReportPlanRequest,DescribeReportPlanResult> asyncHandler)
AWSBackupAsync
Returns a list of all report plans for an Amazon Web Services account and Amazon Web Services Region.
describeReportPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRestoreJobResult> describeRestoreJobAsync(DescribeRestoreJobRequest request)
AWSBackupAsync
Returns metadata associated with a restore job that is specified by a job ID.
describeRestoreJobAsync
in interface AWSBackupAsync
public Future<DescribeRestoreJobResult> describeRestoreJobAsync(DescribeRestoreJobRequest request, AsyncHandler<DescribeRestoreJobRequest,DescribeRestoreJobResult> asyncHandler)
AWSBackupAsync
Returns metadata associated with a restore job that is specified by a job ID.
describeRestoreJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateRecoveryPointResult> disassociateRecoveryPointAsync(DisassociateRecoveryPointRequest request)
AWSBackupAsync
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.
disassociateRecoveryPointAsync
in interface AWSBackupAsync
public Future<DisassociateRecoveryPointResult> disassociateRecoveryPointAsync(DisassociateRecoveryPointRequest request, AsyncHandler<DisassociateRecoveryPointRequest,DisassociateRecoveryPointResult> asyncHandler)
AWSBackupAsync
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.
disassociateRecoveryPointAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateRecoveryPointFromParentResult> disassociateRecoveryPointFromParentAsync(DisassociateRecoveryPointFromParentRequest request)
AWSBackupAsync
This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.
disassociateRecoveryPointFromParentAsync
in interface AWSBackupAsync
public Future<DisassociateRecoveryPointFromParentResult> disassociateRecoveryPointFromParentAsync(DisassociateRecoveryPointFromParentRequest request, AsyncHandler<DisassociateRecoveryPointFromParentRequest,DisassociateRecoveryPointFromParentResult> asyncHandler)
AWSBackupAsync
This action to a specific child (nested) recovery point removes the relationship between the specified recovery point and its parent (composite) recovery point.
disassociateRecoveryPointFromParentAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ExportBackupPlanTemplateResult> exportBackupPlanTemplateAsync(ExportBackupPlanTemplateRequest request)
AWSBackupAsync
Returns the backup plan that is specified by the plan ID as a backup template.
exportBackupPlanTemplateAsync
in interface AWSBackupAsync
public Future<ExportBackupPlanTemplateResult> exportBackupPlanTemplateAsync(ExportBackupPlanTemplateRequest request, AsyncHandler<ExportBackupPlanTemplateRequest,ExportBackupPlanTemplateResult> asyncHandler)
AWSBackupAsync
Returns the backup plan that is specified by the plan ID as a backup template.
exportBackupPlanTemplateAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupPlanResult> getBackupPlanAsync(GetBackupPlanRequest request)
AWSBackupAsync
Returns BackupPlan
details for the specified BackupPlanId
. The details are the body of
a backup plan in JSON format, in addition to plan metadata.
getBackupPlanAsync
in interface AWSBackupAsync
public Future<GetBackupPlanResult> getBackupPlanAsync(GetBackupPlanRequest request, AsyncHandler<GetBackupPlanRequest,GetBackupPlanResult> asyncHandler)
AWSBackupAsync
Returns BackupPlan
details for the specified BackupPlanId
. The details are the body of
a backup plan in JSON format, in addition to plan metadata.
getBackupPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupPlanFromJSONResult> getBackupPlanFromJSONAsync(GetBackupPlanFromJSONRequest request)
AWSBackupAsync
Returns a valid JSON document specifying a backup plan or an error.
getBackupPlanFromJSONAsync
in interface AWSBackupAsync
public Future<GetBackupPlanFromJSONResult> getBackupPlanFromJSONAsync(GetBackupPlanFromJSONRequest request, AsyncHandler<GetBackupPlanFromJSONRequest,GetBackupPlanFromJSONResult> asyncHandler)
AWSBackupAsync
Returns a valid JSON document specifying a backup plan or an error.
getBackupPlanFromJSONAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupPlanFromTemplateResult> getBackupPlanFromTemplateAsync(GetBackupPlanFromTemplateRequest request)
AWSBackupAsync
Returns the template specified by its templateId
as a backup plan.
getBackupPlanFromTemplateAsync
in interface AWSBackupAsync
public Future<GetBackupPlanFromTemplateResult> getBackupPlanFromTemplateAsync(GetBackupPlanFromTemplateRequest request, AsyncHandler<GetBackupPlanFromTemplateRequest,GetBackupPlanFromTemplateResult> asyncHandler)
AWSBackupAsync
Returns the template specified by its templateId
as a backup plan.
getBackupPlanFromTemplateAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupSelectionResult> getBackupSelectionAsync(GetBackupSelectionRequest request)
AWSBackupAsync
Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
getBackupSelectionAsync
in interface AWSBackupAsync
public Future<GetBackupSelectionResult> getBackupSelectionAsync(GetBackupSelectionRequest request, AsyncHandler<GetBackupSelectionRequest,GetBackupSelectionResult> asyncHandler)
AWSBackupAsync
Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.
getBackupSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupVaultAccessPolicyResult> getBackupVaultAccessPolicyAsync(GetBackupVaultAccessPolicyRequest request)
AWSBackupAsync
Returns the access policy document that is associated with the named backup vault.
getBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
public Future<GetBackupVaultAccessPolicyResult> getBackupVaultAccessPolicyAsync(GetBackupVaultAccessPolicyRequest request, AsyncHandler<GetBackupVaultAccessPolicyRequest,GetBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsync
Returns the access policy document that is associated with the named backup vault.
getBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBackupVaultNotificationsResult> getBackupVaultNotificationsAsync(GetBackupVaultNotificationsRequest request)
AWSBackupAsync
Returns event notifications for the specified backup vault.
getBackupVaultNotificationsAsync
in interface AWSBackupAsync
public Future<GetBackupVaultNotificationsResult> getBackupVaultNotificationsAsync(GetBackupVaultNotificationsRequest request, AsyncHandler<GetBackupVaultNotificationsRequest,GetBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsync
Returns event notifications for the specified backup vault.
getBackupVaultNotificationsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetLegalHoldResult> getLegalHoldAsync(GetLegalHoldRequest request)
AWSBackupAsync
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.
getLegalHoldAsync
in interface AWSBackupAsync
public Future<GetLegalHoldResult> getLegalHoldAsync(GetLegalHoldRequest request, AsyncHandler<GetLegalHoldRequest,GetLegalHoldResult> asyncHandler)
AWSBackupAsync
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.
getLegalHoldAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRecoveryPointRestoreMetadataResult> getRecoveryPointRestoreMetadataAsync(GetRecoveryPointRestoreMetadataRequest request)
AWSBackupAsync
Returns a set of metadata key-value pairs that were used to create the backup.
getRecoveryPointRestoreMetadataAsync
in interface AWSBackupAsync
public Future<GetRecoveryPointRestoreMetadataResult> getRecoveryPointRestoreMetadataAsync(GetRecoveryPointRestoreMetadataRequest request, AsyncHandler<GetRecoveryPointRestoreMetadataRequest,GetRecoveryPointRestoreMetadataResult> asyncHandler)
AWSBackupAsync
Returns a set of metadata key-value pairs that were used to create the backup.
getRecoveryPointRestoreMetadataAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRestoreJobMetadataResult> getRestoreJobMetadataAsync(GetRestoreJobMetadataRequest request)
AWSBackupAsync
This request returns the metadata for the specified restore job.
getRestoreJobMetadataAsync
in interface AWSBackupAsync
public Future<GetRestoreJobMetadataResult> getRestoreJobMetadataAsync(GetRestoreJobMetadataRequest request, AsyncHandler<GetRestoreJobMetadataRequest,GetRestoreJobMetadataResult> asyncHandler)
AWSBackupAsync
This request returns the metadata for the specified restore job.
getRestoreJobMetadataAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRestoreTestingInferredMetadataResult> getRestoreTestingInferredMetadataAsync(GetRestoreTestingInferredMetadataRequest request)
AWSBackupAsync
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.
getRestoreTestingInferredMetadataAsync
in interface AWSBackupAsync
public Future<GetRestoreTestingInferredMetadataResult> getRestoreTestingInferredMetadataAsync(GetRestoreTestingInferredMetadataRequest request, AsyncHandler<GetRestoreTestingInferredMetadataRequest,GetRestoreTestingInferredMetadataResult> asyncHandler)
AWSBackupAsync
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.
getRestoreTestingInferredMetadataAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRestoreTestingPlanResult> getRestoreTestingPlanAsync(GetRestoreTestingPlanRequest request)
AWSBackupAsync
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.
getRestoreTestingPlanAsync
in interface AWSBackupAsync
public Future<GetRestoreTestingPlanResult> getRestoreTestingPlanAsync(GetRestoreTestingPlanRequest request, AsyncHandler<GetRestoreTestingPlanRequest,GetRestoreTestingPlanResult> asyncHandler)
AWSBackupAsync
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.
getRestoreTestingPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRestoreTestingSelectionResult> getRestoreTestingSelectionAsync(GetRestoreTestingSelectionRequest request)
AWSBackupAsync
Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.
getRestoreTestingSelectionAsync
in interface AWSBackupAsync
public Future<GetRestoreTestingSelectionResult> getRestoreTestingSelectionAsync(GetRestoreTestingSelectionRequest request, AsyncHandler<GetRestoreTestingSelectionRequest,GetRestoreTestingSelectionResult> asyncHandler)
AWSBackupAsync
Returns RestoreTestingSelection, which displays resources and elements of the restore testing plan.
getRestoreTestingSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSupportedResourceTypesResult> getSupportedResourceTypesAsync(GetSupportedResourceTypesRequest request)
AWSBackupAsync
Returns the Amazon Web Services resource types supported by Backup.
getSupportedResourceTypesAsync
in interface AWSBackupAsync
public Future<GetSupportedResourceTypesResult> getSupportedResourceTypesAsync(GetSupportedResourceTypesRequest request, AsyncHandler<GetSupportedResourceTypesRequest,GetSupportedResourceTypesResult> asyncHandler)
AWSBackupAsync
Returns the Amazon Web Services resource types supported by Backup.
getSupportedResourceTypesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupJobSummariesResult> listBackupJobSummariesAsync(ListBackupJobSummariesRequest request)
AWSBackupAsync
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.
listBackupJobSummariesAsync
in interface AWSBackupAsync
public Future<ListBackupJobSummariesResult> listBackupJobSummariesAsync(ListBackupJobSummariesRequest request, AsyncHandler<ListBackupJobSummariesRequest,ListBackupJobSummariesResult> asyncHandler)
AWSBackupAsync
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.
listBackupJobSummariesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupJobsResult> listBackupJobsAsync(ListBackupJobsRequest request)
AWSBackupAsync
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.
listBackupJobsAsync
in interface AWSBackupAsync
public Future<ListBackupJobsResult> listBackupJobsAsync(ListBackupJobsRequest request, AsyncHandler<ListBackupJobsRequest,ListBackupJobsResult> asyncHandler)
AWSBackupAsync
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.
listBackupJobsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupPlanTemplatesResult> listBackupPlanTemplatesAsync(ListBackupPlanTemplatesRequest request)
AWSBackupAsync
Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
listBackupPlanTemplatesAsync
in interface AWSBackupAsync
public Future<ListBackupPlanTemplatesResult> listBackupPlanTemplatesAsync(ListBackupPlanTemplatesRequest request, AsyncHandler<ListBackupPlanTemplatesRequest,ListBackupPlanTemplatesResult> asyncHandler)
AWSBackupAsync
Returns metadata of your saved backup plan templates, including the template ID, name, and the creation and deletion dates.
listBackupPlanTemplatesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupPlanVersionsResult> listBackupPlanVersionsAsync(ListBackupPlanVersionsRequest request)
AWSBackupAsync
Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
listBackupPlanVersionsAsync
in interface AWSBackupAsync
public Future<ListBackupPlanVersionsResult> listBackupPlanVersionsAsync(ListBackupPlanVersionsRequest request, AsyncHandler<ListBackupPlanVersionsRequest,ListBackupPlanVersionsResult> asyncHandler)
AWSBackupAsync
Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.
listBackupPlanVersionsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupPlansResult> listBackupPlansAsync(ListBackupPlansRequest request)
AWSBackupAsync
Returns a list of all active backup plans for an authenticated account. The list contains information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.
listBackupPlansAsync
in interface AWSBackupAsync
public Future<ListBackupPlansResult> listBackupPlansAsync(ListBackupPlansRequest request, AsyncHandler<ListBackupPlansRequest,ListBackupPlansResult> asyncHandler)
AWSBackupAsync
Returns a list of all active backup plans for an authenticated account. The list contains information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.
listBackupPlansAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupSelectionsResult> listBackupSelectionsAsync(ListBackupSelectionsRequest request)
AWSBackupAsync
Returns an array containing metadata of the resources associated with the target backup plan.
listBackupSelectionsAsync
in interface AWSBackupAsync
public Future<ListBackupSelectionsResult> listBackupSelectionsAsync(ListBackupSelectionsRequest request, AsyncHandler<ListBackupSelectionsRequest,ListBackupSelectionsResult> asyncHandler)
AWSBackupAsync
Returns an array containing metadata of the resources associated with the target backup plan.
listBackupSelectionsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBackupVaultsResult> listBackupVaultsAsync(ListBackupVaultsRequest request)
AWSBackupAsync
Returns a list of recovery point storage containers along with information about them.
listBackupVaultsAsync
in interface AWSBackupAsync
public Future<ListBackupVaultsResult> listBackupVaultsAsync(ListBackupVaultsRequest request, AsyncHandler<ListBackupVaultsRequest,ListBackupVaultsResult> asyncHandler)
AWSBackupAsync
Returns a list of recovery point storage containers along with information about them.
listBackupVaultsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCopyJobSummariesResult> listCopyJobSummariesAsync(ListCopyJobSummariesRequest request)
AWSBackupAsync
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.
listCopyJobSummariesAsync
in interface AWSBackupAsync
public Future<ListCopyJobSummariesResult> listCopyJobSummariesAsync(ListCopyJobSummariesRequest request, AsyncHandler<ListCopyJobSummariesRequest,ListCopyJobSummariesResult> asyncHandler)
AWSBackupAsync
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.
listCopyJobSummariesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListCopyJobsResult> listCopyJobsAsync(ListCopyJobsRequest request)
AWSBackupAsync
Returns metadata about your copy jobs.
listCopyJobsAsync
in interface AWSBackupAsync
public Future<ListCopyJobsResult> listCopyJobsAsync(ListCopyJobsRequest request, AsyncHandler<ListCopyJobsRequest,ListCopyJobsResult> asyncHandler)
AWSBackupAsync
Returns metadata about your copy jobs.
listCopyJobsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFrameworksResult> listFrameworksAsync(ListFrameworksRequest request)
AWSBackupAsync
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
listFrameworksAsync
in interface AWSBackupAsync
public Future<ListFrameworksResult> listFrameworksAsync(ListFrameworksRequest request, AsyncHandler<ListFrameworksRequest,ListFrameworksResult> asyncHandler)
AWSBackupAsync
Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.
listFrameworksAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLegalHoldsResult> listLegalHoldsAsync(ListLegalHoldsRequest request)
AWSBackupAsync
This action returns metadata about active and previous legal holds.
listLegalHoldsAsync
in interface AWSBackupAsync
public Future<ListLegalHoldsResult> listLegalHoldsAsync(ListLegalHoldsRequest request, AsyncHandler<ListLegalHoldsRequest,ListLegalHoldsResult> asyncHandler)
AWSBackupAsync
This action returns metadata about active and previous legal holds.
listLegalHoldsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProtectedResourcesResult> listProtectedResourcesAsync(ListProtectedResourcesRequest request)
AWSBackupAsync
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.
listProtectedResourcesAsync
in interface AWSBackupAsync
public Future<ListProtectedResourcesResult> listProtectedResourcesAsync(ListProtectedResourcesRequest request, AsyncHandler<ListProtectedResourcesRequest,ListProtectedResourcesResult> asyncHandler)
AWSBackupAsync
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.
listProtectedResourcesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProtectedResourcesByBackupVaultResult> listProtectedResourcesByBackupVaultAsync(ListProtectedResourcesByBackupVaultRequest request)
AWSBackupAsync
This request lists the protected resources corresponding to each backup vault.
listProtectedResourcesByBackupVaultAsync
in interface AWSBackupAsync
public Future<ListProtectedResourcesByBackupVaultResult> listProtectedResourcesByBackupVaultAsync(ListProtectedResourcesByBackupVaultRequest request, AsyncHandler<ListProtectedResourcesByBackupVaultRequest,ListProtectedResourcesByBackupVaultResult> asyncHandler)
AWSBackupAsync
This request lists the protected resources corresponding to each backup vault.
listProtectedResourcesByBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRecoveryPointsByBackupVaultResult> listRecoveryPointsByBackupVaultAsync(ListRecoveryPointsByBackupVaultRequest request)
AWSBackupAsync
Returns detailed information about the recovery points stored in a backup vault.
listRecoveryPointsByBackupVaultAsync
in interface AWSBackupAsync
public Future<ListRecoveryPointsByBackupVaultResult> listRecoveryPointsByBackupVaultAsync(ListRecoveryPointsByBackupVaultRequest request, AsyncHandler<ListRecoveryPointsByBackupVaultRequest,ListRecoveryPointsByBackupVaultResult> asyncHandler)
AWSBackupAsync
Returns detailed information about the recovery points stored in a backup vault.
listRecoveryPointsByBackupVaultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRecoveryPointsByLegalHoldResult> listRecoveryPointsByLegalHoldAsync(ListRecoveryPointsByLegalHoldRequest request)
AWSBackupAsync
This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
listRecoveryPointsByLegalHoldAsync
in interface AWSBackupAsync
public Future<ListRecoveryPointsByLegalHoldResult> listRecoveryPointsByLegalHoldAsync(ListRecoveryPointsByLegalHoldRequest request, AsyncHandler<ListRecoveryPointsByLegalHoldRequest,ListRecoveryPointsByLegalHoldResult> asyncHandler)
AWSBackupAsync
This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
listRecoveryPointsByLegalHoldAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRecoveryPointsByResourceResult> listRecoveryPointsByResourceAsync(ListRecoveryPointsByResourceRequest request)
AWSBackupAsync
Returns detailed information about all the recovery points of the type specified by a resource Amazon Resource Name (ARN).
For Amazon EFS and Amazon EC2, this action only lists recovery points created by Backup.
listRecoveryPointsByResourceAsync
in interface AWSBackupAsync
public Future<ListRecoveryPointsByResourceResult> listRecoveryPointsByResourceAsync(ListRecoveryPointsByResourceRequest request, AsyncHandler<ListRecoveryPointsByResourceRequest,ListRecoveryPointsByResourceResult> asyncHandler)
AWSBackupAsync
Returns detailed information about all the recovery points of the type specified by a resource Amazon Resource Name (ARN).
For Amazon EFS and Amazon EC2, this action only lists recovery points created by Backup.
listRecoveryPointsByResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListReportJobsResult> listReportJobsAsync(ListReportJobsRequest request)
AWSBackupAsync
Returns details about your report jobs.
listReportJobsAsync
in interface AWSBackupAsync
public Future<ListReportJobsResult> listReportJobsAsync(ListReportJobsRequest request, AsyncHandler<ListReportJobsRequest,ListReportJobsResult> asyncHandler)
AWSBackupAsync
Returns details about your report jobs.
listReportJobsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListReportPlansResult> listReportPlansAsync(ListReportPlansRequest request)
AWSBackupAsync
Returns a list of your report plans. For detailed information about a single report plan, use
DescribeReportPlan
.
listReportPlansAsync
in interface AWSBackupAsync
public Future<ListReportPlansResult> listReportPlansAsync(ListReportPlansRequest request, AsyncHandler<ListReportPlansRequest,ListReportPlansResult> asyncHandler)
AWSBackupAsync
Returns a list of your report plans. For detailed information about a single report plan, use
DescribeReportPlan
.
listReportPlansAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRestoreJobSummariesResult> listRestoreJobSummariesAsync(ListRestoreJobSummariesRequest request)
AWSBackupAsync
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.
listRestoreJobSummariesAsync
in interface AWSBackupAsync
public Future<ListRestoreJobSummariesResult> listRestoreJobSummariesAsync(ListRestoreJobSummariesRequest request, AsyncHandler<ListRestoreJobSummariesRequest,ListRestoreJobSummariesResult> asyncHandler)
AWSBackupAsync
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.
listRestoreJobSummariesAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRestoreJobsResult> listRestoreJobsAsync(ListRestoreJobsRequest request)
AWSBackupAsync
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
listRestoreJobsAsync
in interface AWSBackupAsync
public Future<ListRestoreJobsResult> listRestoreJobsAsync(ListRestoreJobsRequest request, AsyncHandler<ListRestoreJobsRequest,ListRestoreJobsResult> asyncHandler)
AWSBackupAsync
Returns a list of jobs that Backup initiated to restore a saved resource, including details about the recovery process.
listRestoreJobsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRestoreJobsByProtectedResourceResult> listRestoreJobsByProtectedResourceAsync(ListRestoreJobsByProtectedResourceRequest request)
AWSBackupAsync
This returns restore jobs that contain the specified protected resource.
You must include ResourceArn
. You can optionally include NextToken
,
ByStatus
, MaxResults
, ByRecoveryPointCreationDateAfter
, and
ByRecoveryPointCreationDateBefore
.
listRestoreJobsByProtectedResourceAsync
in interface AWSBackupAsync
public Future<ListRestoreJobsByProtectedResourceResult> listRestoreJobsByProtectedResourceAsync(ListRestoreJobsByProtectedResourceRequest request, AsyncHandler<ListRestoreJobsByProtectedResourceRequest,ListRestoreJobsByProtectedResourceResult> asyncHandler)
AWSBackupAsync
This returns restore jobs that contain the specified protected resource.
You must include ResourceArn
. You can optionally include NextToken
,
ByStatus
, MaxResults
, ByRecoveryPointCreationDateAfter
, and
ByRecoveryPointCreationDateBefore
.
listRestoreJobsByProtectedResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRestoreTestingPlansResult> listRestoreTestingPlansAsync(ListRestoreTestingPlansRequest request)
AWSBackupAsync
Returns a list of restore testing plans.
listRestoreTestingPlansAsync
in interface AWSBackupAsync
public Future<ListRestoreTestingPlansResult> listRestoreTestingPlansAsync(ListRestoreTestingPlansRequest request, AsyncHandler<ListRestoreTestingPlansRequest,ListRestoreTestingPlansResult> asyncHandler)
AWSBackupAsync
Returns a list of restore testing plans.
listRestoreTestingPlansAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRestoreTestingSelectionsResult> listRestoreTestingSelectionsAsync(ListRestoreTestingSelectionsRequest request)
AWSBackupAsync
Returns a list of restore testing selections. Can be filtered by MaxResults
and
RestoreTestingPlanName
.
listRestoreTestingSelectionsAsync
in interface AWSBackupAsync
public Future<ListRestoreTestingSelectionsResult> listRestoreTestingSelectionsAsync(ListRestoreTestingSelectionsRequest request, AsyncHandler<ListRestoreTestingSelectionsRequest,ListRestoreTestingSelectionsResult> asyncHandler)
AWSBackupAsync
Returns a list of restore testing selections. Can be filtered by MaxResults
and
RestoreTestingPlanName
.
listRestoreTestingSelectionsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request)
AWSBackupAsync
Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
ListTags
only works for resource types that support full Backup management of their backups. Those
resource types are listed in the "Full Backup management" section of the Feature
availability by resource table.
listTagsAsync
in interface AWSBackupAsync
public Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AWSBackupAsync
Returns a list of key-value pairs assigned to a target recovery point, backup plan, or backup vault.
ListTags
only works for resource types that support full Backup management of their backups. Those
resource types are listed in the "Full Backup management" section of the Feature
availability by resource table.
listTagsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutBackupVaultAccessPolicyResult> putBackupVaultAccessPolicyAsync(PutBackupVaultAccessPolicyRequest request)
AWSBackupAsync
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.
putBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
public Future<PutBackupVaultAccessPolicyResult> putBackupVaultAccessPolicyAsync(PutBackupVaultAccessPolicyRequest request, AsyncHandler<PutBackupVaultAccessPolicyRequest,PutBackupVaultAccessPolicyResult> asyncHandler)
AWSBackupAsync
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.
putBackupVaultAccessPolicyAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutBackupVaultLockConfigurationResult> putBackupVaultLockConfigurationAsync(PutBackupVaultLockConfigurationRequest request)
AWSBackupAsync
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.
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.
putBackupVaultLockConfigurationAsync
in interface AWSBackupAsync
public Future<PutBackupVaultLockConfigurationResult> putBackupVaultLockConfigurationAsync(PutBackupVaultLockConfigurationRequest request, AsyncHandler<PutBackupVaultLockConfigurationRequest,PutBackupVaultLockConfigurationResult> asyncHandler)
AWSBackupAsync
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.
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.
putBackupVaultLockConfigurationAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutBackupVaultNotificationsResult> putBackupVaultNotificationsAsync(PutBackupVaultNotificationsRequest request)
AWSBackupAsync
Turns on notifications on a backup vault for the specified topic and events.
putBackupVaultNotificationsAsync
in interface AWSBackupAsync
public Future<PutBackupVaultNotificationsResult> putBackupVaultNotificationsAsync(PutBackupVaultNotificationsRequest request, AsyncHandler<PutBackupVaultNotificationsRequest,PutBackupVaultNotificationsResult> asyncHandler)
AWSBackupAsync
Turns on notifications on a backup vault for the specified topic and events.
putBackupVaultNotificationsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutRestoreValidationResultResult> putRestoreValidationResultAsync(PutRestoreValidationResultRequest request)
AWSBackupAsync
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
.
putRestoreValidationResultAsync
in interface AWSBackupAsync
public Future<PutRestoreValidationResultResult> putRestoreValidationResultAsync(PutRestoreValidationResultRequest request, AsyncHandler<PutRestoreValidationResultRequest,PutRestoreValidationResultResult> asyncHandler)
AWSBackupAsync
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
.
putRestoreValidationResultAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartBackupJobResult> startBackupJobAsync(StartBackupJobRequest request)
AWSBackupAsync
Starts an on-demand backup job for the specified resource.
startBackupJobAsync
in interface AWSBackupAsync
public Future<StartBackupJobResult> startBackupJobAsync(StartBackupJobRequest request, AsyncHandler<StartBackupJobRequest,StartBackupJobResult> asyncHandler)
AWSBackupAsync
Starts an on-demand backup job for the specified resource.
startBackupJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartCopyJobResult> startCopyJobAsync(StartCopyJobRequest request)
AWSBackupAsync
Starts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
startCopyJobAsync
in interface AWSBackupAsync
public Future<StartCopyJobResult> startCopyJobAsync(StartCopyJobRequest request, AsyncHandler<StartCopyJobRequest,StartCopyJobResult> asyncHandler)
AWSBackupAsync
Starts a job to create a one-time copy of the specified resource.
Does not support continuous backups.
startCopyJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartReportJobResult> startReportJobAsync(StartReportJobRequest request)
AWSBackupAsync
Starts an on-demand report job for the specified report plan.
startReportJobAsync
in interface AWSBackupAsync
public Future<StartReportJobResult> startReportJobAsync(StartReportJobRequest request, AsyncHandler<StartReportJobRequest,StartReportJobResult> asyncHandler)
AWSBackupAsync
Starts an on-demand report job for the specified report plan.
startReportJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartRestoreJobResult> startRestoreJobAsync(StartRestoreJobRequest request)
AWSBackupAsync
Recovers the saved resource identified by an Amazon Resource Name (ARN).
startRestoreJobAsync
in interface AWSBackupAsync
public Future<StartRestoreJobResult> startRestoreJobAsync(StartRestoreJobRequest request, AsyncHandler<StartRestoreJobRequest,StartRestoreJobResult> asyncHandler)
AWSBackupAsync
Recovers the saved resource identified by an Amazon Resource Name (ARN).
startRestoreJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopBackupJobResult> stopBackupJobAsync(StopBackupJobRequest request)
AWSBackupAsync
Attempts to cancel a job to create a one-time backup of a resource.
This action is not supported for the following services: Amazon FSx for Windows File Server, Amazon FSx for Lustre, Amazon FSx for NetApp ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.
stopBackupJobAsync
in interface AWSBackupAsync
public Future<StopBackupJobResult> stopBackupJobAsync(StopBackupJobRequest request, AsyncHandler<StopBackupJobRequest,StopBackupJobResult> asyncHandler)
AWSBackupAsync
Attempts to cancel a job to create a one-time backup of a resource.
This action is not supported for the following services: Amazon FSx for Windows File Server, Amazon FSx for Lustre, Amazon FSx for NetApp ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.
stopBackupJobAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBackupAsync
Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).
tagResourceAsync
in interface AWSBackupAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBackupAsync
Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN).
tagResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSBackupAsync
Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
untagResourceAsync
in interface AWSBackupAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBackupAsync
Removes a set of key-value pairs from a recovery point, backup plan, or backup vault identified by an Amazon Resource Name (ARN)
untagResourceAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBackupPlanResult> updateBackupPlanAsync(UpdateBackupPlanRequest request)
AWSBackupAsync
Updates an existing backup plan identified by its backupPlanId
with the input document in JSON
format. The new version is uniquely identified by a VersionId
.
updateBackupPlanAsync
in interface AWSBackupAsync
public Future<UpdateBackupPlanResult> updateBackupPlanAsync(UpdateBackupPlanRequest request, AsyncHandler<UpdateBackupPlanRequest,UpdateBackupPlanResult> asyncHandler)
AWSBackupAsync
Updates an existing backup plan identified by its backupPlanId
with the input document in JSON
format. The new version is uniquely identified by a VersionId
.
updateBackupPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFrameworkResult> updateFrameworkAsync(UpdateFrameworkRequest request)
AWSBackupAsync
Updates an existing framework identified by its FrameworkName
with the input document in JSON
format.
updateFrameworkAsync
in interface AWSBackupAsync
public Future<UpdateFrameworkResult> updateFrameworkAsync(UpdateFrameworkRequest request, AsyncHandler<UpdateFrameworkRequest,UpdateFrameworkResult> asyncHandler)
AWSBackupAsync
Updates an existing framework identified by its FrameworkName
with the input document in JSON
format.
updateFrameworkAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateGlobalSettingsResult> updateGlobalSettingsAsync(UpdateGlobalSettingsRequest request)
AWSBackupAsync
Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the
account is not an Organizations management account. Use the DescribeGlobalSettings
API to determine
the current settings.
updateGlobalSettingsAsync
in interface AWSBackupAsync
public Future<UpdateGlobalSettingsResult> updateGlobalSettingsAsync(UpdateGlobalSettingsRequest request, AsyncHandler<UpdateGlobalSettingsRequest,UpdateGlobalSettingsResult> asyncHandler)
AWSBackupAsync
Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the
account is not an Organizations management account. Use the DescribeGlobalSettings
API to determine
the current settings.
updateGlobalSettingsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRecoveryPointLifecycleResult> updateRecoveryPointLifecycleAsync(UpdateRecoveryPointLifecycleRequest request)
AWSBackupAsync
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.
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.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
This operation does not support continuous backups.
updateRecoveryPointLifecycleAsync
in interface AWSBackupAsync
public Future<UpdateRecoveryPointLifecycleResult> updateRecoveryPointLifecycleAsync(UpdateRecoveryPointLifecycleRequest request, AsyncHandler<UpdateRecoveryPointLifecycleRequest,UpdateRecoveryPointLifecycleResult> asyncHandler)
AWSBackupAsync
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.
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.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
This operation does not support continuous backups.
updateRecoveryPointLifecycleAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRegionSettingsResult> updateRegionSettingsAsync(UpdateRegionSettingsRequest request)
AWSBackupAsync
Updates the current service opt-in settings for the Region.
Use the DescribeRegionSettings
API to determine the resource types that are supported.
updateRegionSettingsAsync
in interface AWSBackupAsync
public Future<UpdateRegionSettingsResult> updateRegionSettingsAsync(UpdateRegionSettingsRequest request, AsyncHandler<UpdateRegionSettingsRequest,UpdateRegionSettingsResult> asyncHandler)
AWSBackupAsync
Updates the current service opt-in settings for the Region.
Use the DescribeRegionSettings
API to determine the resource types that are supported.
updateRegionSettingsAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateReportPlanResult> updateReportPlanAsync(UpdateReportPlanRequest request)
AWSBackupAsync
Updates an existing report plan identified by its ReportPlanName
with the input document in JSON
format.
updateReportPlanAsync
in interface AWSBackupAsync
public Future<UpdateReportPlanResult> updateReportPlanAsync(UpdateReportPlanRequest request, AsyncHandler<UpdateReportPlanRequest,UpdateReportPlanResult> asyncHandler)
AWSBackupAsync
Updates an existing report plan identified by its ReportPlanName
with the input document in JSON
format.
updateReportPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRestoreTestingPlanResult> updateRestoreTestingPlanAsync(UpdateRestoreTestingPlanRequest request)
AWSBackupAsync
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
updateRestoreTestingPlanAsync
in interface AWSBackupAsync
public Future<UpdateRestoreTestingPlanResult> updateRestoreTestingPlanAsync(UpdateRestoreTestingPlanRequest request, AsyncHandler<UpdateRestoreTestingPlanRequest,UpdateRestoreTestingPlanResult> asyncHandler)
AWSBackupAsync
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
updateRestoreTestingPlanAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRestoreTestingSelectionResult> updateRestoreTestingSelectionAsync(UpdateRestoreTestingSelectionRequest request)
AWSBackupAsync
Most elements except the RestoreTestingSelectionName
can be updated with this request.
RestoreTestingSelection
can use either protected resource ARNs or conditions, but not both. That is,
if your selection has ProtectedResourceArns
, requesting an update with the parameter
ProtectedResourceConditions
will be unsuccessful.
updateRestoreTestingSelectionAsync
in interface AWSBackupAsync
public Future<UpdateRestoreTestingSelectionResult> updateRestoreTestingSelectionAsync(UpdateRestoreTestingSelectionRequest request, AsyncHandler<UpdateRestoreTestingSelectionRequest,UpdateRestoreTestingSelectionResult> asyncHandler)
AWSBackupAsync
Most elements except the RestoreTestingSelectionName
can be updated with this request.
RestoreTestingSelection
can use either protected resource ARNs or conditions, but not both. That is,
if your selection has ProtectedResourceArns
, requesting an update with the parameter
ProtectedResourceConditions
will be unsuccessful.
updateRestoreTestingSelectionAsync
in interface AWSBackupAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSBackup
shutdown
in class AWSBackupClient