/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace Backup
{
/**
* Backup Backup is a unified backup service designed to
* protect Amazon Web Services services and their associated data. Backup
* simplifies the creation, migration, restoration, and deletion of backups, while
* also providing reporting and auditing.
*/
class AWS_BACKUP_API BackupClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* SERVICE_NAME;
static const char* ALLOCATION_TAG;
typedef BackupClientConfiguration ClientConfigurationType;
typedef BackupEndpointProvider EndpointProviderType;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
BackupClient(const Aws::Backup::BackupClientConfiguration& clientConfiguration = Aws::Backup::BackupClientConfiguration(),
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG));
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
BackupClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::Backup::BackupClientConfiguration& clientConfiguration = Aws::Backup::BackupClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
BackupClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::Backup::BackupClientConfiguration& clientConfiguration = Aws::Backup::BackupClientConfiguration());
/* Legacy constructors due deprecation */
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
BackupClient(const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
BackupClient(const Aws::Auth::AWSCredentials& credentials,
const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
BackupClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~BackupClient();
/**
* This action removes the specified legal hold on a recovery point. This action
* can only be performed by a user with sufficient permissions.
See
* Also:
AWS
* API Reference
*/
virtual Model::CancelLegalHoldOutcome CancelLegalHold(const Model::CancelLegalHoldRequest& request) const;
/**
* A Callable wrapper for CancelLegalHold that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CancelLegalHoldOutcomeCallable CancelLegalHoldCallable(const CancelLegalHoldRequestT& request) const
{
return SubmitCallable(&BackupClient::CancelLegalHold, request);
}
/**
* An Async wrapper for CancelLegalHold that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CancelLegalHoldAsync(const CancelLegalHoldRequestT& request, const CancelLegalHoldResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::CancelLegalHold, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::CreateBackupPlanOutcome CreateBackupPlan(const Model::CreateBackupPlanRequest& request) const;
/**
* A Callable wrapper for CreateBackupPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateBackupPlanOutcomeCallable CreateBackupPlanCallable(const CreateBackupPlanRequestT& request) const
{
return SubmitCallable(&BackupClient::CreateBackupPlan, request);
}
/**
* An Async wrapper for CreateBackupPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateBackupPlanAsync(const CreateBackupPlanRequestT& request, const CreateBackupPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::CreateBackupPlan, request, handler, context);
}
/**
* Creates a JSON document that specifies a set of resources to assign to a
* backup plan. For examples, see Assigning
* resources programmatically.
See Also:
AWS
* API Reference
*/
virtual Model::CreateBackupSelectionOutcome CreateBackupSelection(const Model::CreateBackupSelectionRequest& request) const;
/**
* A Callable wrapper for CreateBackupSelection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateBackupSelectionOutcomeCallable CreateBackupSelectionCallable(const CreateBackupSelectionRequestT& request) const
{
return SubmitCallable(&BackupClient::CreateBackupSelection, request);
}
/**
* An Async wrapper for CreateBackupSelection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateBackupSelectionAsync(const CreateBackupSelectionRequestT& request, const CreateBackupSelectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::CreateBackupSelection, request, handler, context);
}
/**
* 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.
* See Also:
AWS
* API Reference
*/
virtual Model::CreateBackupVaultOutcome CreateBackupVault(const Model::CreateBackupVaultRequest& request) const;
/**
* A Callable wrapper for CreateBackupVault that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateBackupVaultOutcomeCallable CreateBackupVaultCallable(const CreateBackupVaultRequestT& request) const
{
return SubmitCallable(&BackupClient::CreateBackupVault, request);
}
/**
* An Async wrapper for CreateBackupVault that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateBackupVaultAsync(const CreateBackupVaultRequestT& request, const CreateBackupVaultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::CreateBackupVault, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::CreateFrameworkOutcome CreateFramework(const Model::CreateFrameworkRequest& request) const;
/**
* A Callable wrapper for CreateFramework that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateFrameworkOutcomeCallable CreateFrameworkCallable(const CreateFrameworkRequestT& request) const
{
return SubmitCallable(&BackupClient::CreateFramework, request);
}
/**
* An Async wrapper for CreateFramework that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateFrameworkAsync(const CreateFrameworkRequestT& request, const CreateFrameworkResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::CreateFramework, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::CreateLegalHoldOutcome CreateLegalHold(const Model::CreateLegalHoldRequest& request) const;
/**
* A Callable wrapper for CreateLegalHold that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateLegalHoldOutcomeCallable CreateLegalHoldCallable(const CreateLegalHoldRequestT& request) const
{
return SubmitCallable(&BackupClient::CreateLegalHold, request);
}
/**
* An Async wrapper for CreateLegalHold that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateLegalHoldAsync(const CreateLegalHoldRequestT& request, const CreateLegalHoldResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::CreateLegalHold, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::CreateReportPlanOutcome CreateReportPlan(const Model::CreateReportPlanRequest& request) const;
/**
* A Callable wrapper for CreateReportPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateReportPlanOutcomeCallable CreateReportPlanCallable(const CreateReportPlanRequestT& request) const
{
return SubmitCallable(&BackupClient::CreateReportPlan, request);
}
/**
* An Async wrapper for CreateReportPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateReportPlanAsync(const CreateReportPlanRequestT& request, const CreateReportPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::CreateReportPlan, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteBackupPlanOutcome DeleteBackupPlan(const Model::DeleteBackupPlanRequest& request) const;
/**
* A Callable wrapper for DeleteBackupPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackupPlanOutcomeCallable DeleteBackupPlanCallable(const DeleteBackupPlanRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteBackupPlan, request);
}
/**
* An Async wrapper for DeleteBackupPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackupPlanAsync(const DeleteBackupPlanRequestT& request, const DeleteBackupPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteBackupPlan, request, handler, context);
}
/**
* Deletes the resource selection associated with a backup plan that is
* specified by the SelectionId
.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteBackupSelectionOutcome DeleteBackupSelection(const Model::DeleteBackupSelectionRequest& request) const;
/**
* A Callable wrapper for DeleteBackupSelection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackupSelectionOutcomeCallable DeleteBackupSelectionCallable(const DeleteBackupSelectionRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteBackupSelection, request);
}
/**
* An Async wrapper for DeleteBackupSelection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackupSelectionAsync(const DeleteBackupSelectionRequestT& request, const DeleteBackupSelectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteBackupSelection, request, handler, context);
}
/**
* Deletes the backup vault identified by its name. A vault can be deleted only
* if it is empty.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteBackupVaultOutcome DeleteBackupVault(const Model::DeleteBackupVaultRequest& request) const;
/**
* A Callable wrapper for DeleteBackupVault that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackupVaultOutcomeCallable DeleteBackupVaultCallable(const DeleteBackupVaultRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteBackupVault, request);
}
/**
* An Async wrapper for DeleteBackupVault that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackupVaultAsync(const DeleteBackupVaultRequestT& request, const DeleteBackupVaultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteBackupVault, request, handler, context);
}
/**
* Deletes the policy document that manages permissions on a backup
* vault.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteBackupVaultAccessPolicyOutcome DeleteBackupVaultAccessPolicy(const Model::DeleteBackupVaultAccessPolicyRequest& request) const;
/**
* A Callable wrapper for DeleteBackupVaultAccessPolicy that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackupVaultAccessPolicyOutcomeCallable DeleteBackupVaultAccessPolicyCallable(const DeleteBackupVaultAccessPolicyRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteBackupVaultAccessPolicy, request);
}
/**
* An Async wrapper for DeleteBackupVaultAccessPolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackupVaultAccessPolicyAsync(const DeleteBackupVaultAccessPolicyRequestT& request, const DeleteBackupVaultAccessPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteBackupVaultAccessPolicy, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteBackupVaultLockConfigurationOutcome DeleteBackupVaultLockConfiguration(const Model::DeleteBackupVaultLockConfigurationRequest& request) const;
/**
* A Callable wrapper for DeleteBackupVaultLockConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackupVaultLockConfigurationOutcomeCallable DeleteBackupVaultLockConfigurationCallable(const DeleteBackupVaultLockConfigurationRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteBackupVaultLockConfiguration, request);
}
/**
* An Async wrapper for DeleteBackupVaultLockConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackupVaultLockConfigurationAsync(const DeleteBackupVaultLockConfigurationRequestT& request, const DeleteBackupVaultLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteBackupVaultLockConfiguration, request, handler, context);
}
/**
* Deletes event notifications for the specified backup vault.
See
* Also:
AWS
* API Reference
*/
virtual Model::DeleteBackupVaultNotificationsOutcome DeleteBackupVaultNotifications(const Model::DeleteBackupVaultNotificationsRequest& request) const;
/**
* A Callable wrapper for DeleteBackupVaultNotifications that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackupVaultNotificationsOutcomeCallable DeleteBackupVaultNotificationsCallable(const DeleteBackupVaultNotificationsRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteBackupVaultNotifications, request);
}
/**
* An Async wrapper for DeleteBackupVaultNotifications that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackupVaultNotificationsAsync(const DeleteBackupVaultNotificationsRequestT& request, const DeleteBackupVaultNotificationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteBackupVaultNotifications, request, handler, context);
}
/**
* Deletes the framework specified by a framework name.
See Also:
* AWS
* API Reference
*/
virtual Model::DeleteFrameworkOutcome DeleteFramework(const Model::DeleteFrameworkRequest& request) const;
/**
* A Callable wrapper for DeleteFramework that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteFrameworkOutcomeCallable DeleteFrameworkCallable(const DeleteFrameworkRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteFramework, request);
}
/**
* An Async wrapper for DeleteFramework that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteFrameworkAsync(const DeleteFrameworkRequestT& request, const DeleteFrameworkResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteFramework, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteRecoveryPointOutcome DeleteRecoveryPoint(const Model::DeleteRecoveryPointRequest& request) const;
/**
* A Callable wrapper for DeleteRecoveryPoint that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteRecoveryPointOutcomeCallable DeleteRecoveryPointCallable(const DeleteRecoveryPointRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteRecoveryPoint, request);
}
/**
* An Async wrapper for DeleteRecoveryPoint that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteRecoveryPointAsync(const DeleteRecoveryPointRequestT& request, const DeleteRecoveryPointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteRecoveryPoint, request, handler, context);
}
/**
* Deletes the report plan specified by a report plan name.
See
* Also:
AWS
* API Reference
*/
virtual Model::DeleteReportPlanOutcome DeleteReportPlan(const Model::DeleteReportPlanRequest& request) const;
/**
* A Callable wrapper for DeleteReportPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteReportPlanOutcomeCallable DeleteReportPlanCallable(const DeleteReportPlanRequestT& request) const
{
return SubmitCallable(&BackupClient::DeleteReportPlan, request);
}
/**
* An Async wrapper for DeleteReportPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteReportPlanAsync(const DeleteReportPlanRequestT& request, const DeleteReportPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DeleteReportPlan, request, handler, context);
}
/**
* Returns backup job details for the specified
* BackupJobId
.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeBackupJobOutcome DescribeBackupJob(const Model::DescribeBackupJobRequest& request) const;
/**
* A Callable wrapper for DescribeBackupJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeBackupJobOutcomeCallable DescribeBackupJobCallable(const DescribeBackupJobRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeBackupJob, request);
}
/**
* An Async wrapper for DescribeBackupJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeBackupJobAsync(const DescribeBackupJobRequestT& request, const DescribeBackupJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeBackupJob, request, handler, context);
}
/**
* Returns metadata about a backup vault specified by its name.
See
* Also:
AWS
* API Reference
*/
virtual Model::DescribeBackupVaultOutcome DescribeBackupVault(const Model::DescribeBackupVaultRequest& request) const;
/**
* A Callable wrapper for DescribeBackupVault that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeBackupVaultOutcomeCallable DescribeBackupVaultCallable(const DescribeBackupVaultRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeBackupVault, request);
}
/**
* An Async wrapper for DescribeBackupVault that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeBackupVaultAsync(const DescribeBackupVaultRequestT& request, const DescribeBackupVaultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeBackupVault, request, handler, context);
}
/**
* Returns metadata associated with creating a copy of a resource.
See
* Also:
AWS
* API Reference
*/
virtual Model::DescribeCopyJobOutcome DescribeCopyJob(const Model::DescribeCopyJobRequest& request) const;
/**
* A Callable wrapper for DescribeCopyJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeCopyJobOutcomeCallable DescribeCopyJobCallable(const DescribeCopyJobRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeCopyJob, request);
}
/**
* An Async wrapper for DescribeCopyJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeCopyJobAsync(const DescribeCopyJobRequestT& request, const DescribeCopyJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeCopyJob, request, handler, context);
}
/**
* Returns the framework details for the specified
* FrameworkName
.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeFrameworkOutcome DescribeFramework(const Model::DescribeFrameworkRequest& request) const;
/**
* A Callable wrapper for DescribeFramework that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeFrameworkOutcomeCallable DescribeFrameworkCallable(const DescribeFrameworkRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeFramework, request);
}
/**
* An Async wrapper for DescribeFramework that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeFrameworkAsync(const DescribeFrameworkRequestT& request, const DescribeFrameworkResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeFramework, request, handler, context);
}
/**
* 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
See Also:
AWS
* API Reference
*/
virtual Model::DescribeGlobalSettingsOutcome DescribeGlobalSettings(const Model::DescribeGlobalSettingsRequest& request) const;
/**
* A Callable wrapper for DescribeGlobalSettings that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeGlobalSettingsOutcomeCallable DescribeGlobalSettingsCallable(const DescribeGlobalSettingsRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeGlobalSettings, request);
}
/**
* An Async wrapper for DescribeGlobalSettings that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeGlobalSettingsAsync(const DescribeGlobalSettingsRequestT& request, const DescribeGlobalSettingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeGlobalSettings, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeProtectedResourceOutcome DescribeProtectedResource(const Model::DescribeProtectedResourceRequest& request) const;
/**
* A Callable wrapper for DescribeProtectedResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeProtectedResourceOutcomeCallable DescribeProtectedResourceCallable(const DescribeProtectedResourceRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeProtectedResource, request);
}
/**
* An Async wrapper for DescribeProtectedResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeProtectedResourceAsync(const DescribeProtectedResourceRequestT& request, const DescribeProtectedResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeProtectedResource, request, handler, context);
}
/**
* Returns metadata associated with a recovery point, including ID, status,
* encryption, and lifecycle.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeRecoveryPointOutcome DescribeRecoveryPoint(const Model::DescribeRecoveryPointRequest& request) const;
/**
* A Callable wrapper for DescribeRecoveryPoint that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeRecoveryPointOutcomeCallable DescribeRecoveryPointCallable(const DescribeRecoveryPointRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeRecoveryPoint, request);
}
/**
* An Async wrapper for DescribeRecoveryPoint that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeRecoveryPointAsync(const DescribeRecoveryPointRequestT& request, const DescribeRecoveryPointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeRecoveryPoint, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeRegionSettingsOutcome DescribeRegionSettings(const Model::DescribeRegionSettingsRequest& request) const;
/**
* A Callable wrapper for DescribeRegionSettings that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeRegionSettingsOutcomeCallable DescribeRegionSettingsCallable(const DescribeRegionSettingsRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeRegionSettings, request);
}
/**
* An Async wrapper for DescribeRegionSettings that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeRegionSettingsAsync(const DescribeRegionSettingsRequestT& request, const DescribeRegionSettingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeRegionSettings, request, handler, context);
}
/**
* Returns the details associated with creating a report as specified by its
* ReportJobId
.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeReportJobOutcome DescribeReportJob(const Model::DescribeReportJobRequest& request) const;
/**
* A Callable wrapper for DescribeReportJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeReportJobOutcomeCallable DescribeReportJobCallable(const DescribeReportJobRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeReportJob, request);
}
/**
* An Async wrapper for DescribeReportJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeReportJobAsync(const DescribeReportJobRequestT& request, const DescribeReportJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeReportJob, request, handler, context);
}
/**
* Returns a list of all report plans for an Amazon Web Services account and
* Amazon Web Services Region.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeReportPlanOutcome DescribeReportPlan(const Model::DescribeReportPlanRequest& request) const;
/**
* A Callable wrapper for DescribeReportPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeReportPlanOutcomeCallable DescribeReportPlanCallable(const DescribeReportPlanRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeReportPlan, request);
}
/**
* An Async wrapper for DescribeReportPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeReportPlanAsync(const DescribeReportPlanRequestT& request, const DescribeReportPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeReportPlan, request, handler, context);
}
/**
* Returns metadata associated with a restore job that is specified by a job
* ID.
See Also:
AWS
* API Reference
*/
virtual Model::DescribeRestoreJobOutcome DescribeRestoreJob(const Model::DescribeRestoreJobRequest& request) const;
/**
* A Callable wrapper for DescribeRestoreJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DescribeRestoreJobOutcomeCallable DescribeRestoreJobCallable(const DescribeRestoreJobRequestT& request) const
{
return SubmitCallable(&BackupClient::DescribeRestoreJob, request);
}
/**
* An Async wrapper for DescribeRestoreJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DescribeRestoreJobAsync(const DescribeRestoreJobRequestT& request, const DescribeRestoreJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DescribeRestoreJob, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DisassociateRecoveryPointOutcome DisassociateRecoveryPoint(const Model::DisassociateRecoveryPointRequest& request) const;
/**
* A Callable wrapper for DisassociateRecoveryPoint that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DisassociateRecoveryPointOutcomeCallable DisassociateRecoveryPointCallable(const DisassociateRecoveryPointRequestT& request) const
{
return SubmitCallable(&BackupClient::DisassociateRecoveryPoint, request);
}
/**
* An Async wrapper for DisassociateRecoveryPoint that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DisassociateRecoveryPointAsync(const DisassociateRecoveryPointRequestT& request, const DisassociateRecoveryPointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DisassociateRecoveryPoint, request, handler, context);
}
/**
* This action to a specific child (nested) recovery point removes the
* relationship between the specified recovery point and its parent (composite)
* recovery point.
See Also:
AWS
* API Reference
*/
virtual Model::DisassociateRecoveryPointFromParentOutcome DisassociateRecoveryPointFromParent(const Model::DisassociateRecoveryPointFromParentRequest& request) const;
/**
* A Callable wrapper for DisassociateRecoveryPointFromParent that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DisassociateRecoveryPointFromParentOutcomeCallable DisassociateRecoveryPointFromParentCallable(const DisassociateRecoveryPointFromParentRequestT& request) const
{
return SubmitCallable(&BackupClient::DisassociateRecoveryPointFromParent, request);
}
/**
* An Async wrapper for DisassociateRecoveryPointFromParent that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DisassociateRecoveryPointFromParentAsync(const DisassociateRecoveryPointFromParentRequestT& request, const DisassociateRecoveryPointFromParentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::DisassociateRecoveryPointFromParent, request, handler, context);
}
/**
* Returns the backup plan that is specified by the plan ID as a backup
* template.
See Also:
AWS
* API Reference
*/
virtual Model::ExportBackupPlanTemplateOutcome ExportBackupPlanTemplate(const Model::ExportBackupPlanTemplateRequest& request) const;
/**
* A Callable wrapper for ExportBackupPlanTemplate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ExportBackupPlanTemplateOutcomeCallable ExportBackupPlanTemplateCallable(const ExportBackupPlanTemplateRequestT& request) const
{
return SubmitCallable(&BackupClient::ExportBackupPlanTemplate, request);
}
/**
* An Async wrapper for ExportBackupPlanTemplate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ExportBackupPlanTemplateAsync(const ExportBackupPlanTemplateRequestT& request, const ExportBackupPlanTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ExportBackupPlanTemplate, request, handler, context);
}
/**
* Returns BackupPlan
details for the specified
* BackupPlanId
. The details are the body of a backup plan in JSON
* format, in addition to plan metadata.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackupPlanOutcome GetBackupPlan(const Model::GetBackupPlanRequest& request) const;
/**
* A Callable wrapper for GetBackupPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackupPlanOutcomeCallable GetBackupPlanCallable(const GetBackupPlanRequestT& request) const
{
return SubmitCallable(&BackupClient::GetBackupPlan, request);
}
/**
* An Async wrapper for GetBackupPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackupPlanAsync(const GetBackupPlanRequestT& request, const GetBackupPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetBackupPlan, request, handler, context);
}
/**
* Returns a valid JSON document specifying a backup plan or an
* error.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackupPlanFromJSONOutcome GetBackupPlanFromJSON(const Model::GetBackupPlanFromJSONRequest& request) const;
/**
* A Callable wrapper for GetBackupPlanFromJSON that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackupPlanFromJSONOutcomeCallable GetBackupPlanFromJSONCallable(const GetBackupPlanFromJSONRequestT& request) const
{
return SubmitCallable(&BackupClient::GetBackupPlanFromJSON, request);
}
/**
* An Async wrapper for GetBackupPlanFromJSON that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackupPlanFromJSONAsync(const GetBackupPlanFromJSONRequestT& request, const GetBackupPlanFromJSONResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetBackupPlanFromJSON, request, handler, context);
}
/**
* Returns the template specified by its templateId
as a backup
* plan.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackupPlanFromTemplateOutcome GetBackupPlanFromTemplate(const Model::GetBackupPlanFromTemplateRequest& request) const;
/**
* A Callable wrapper for GetBackupPlanFromTemplate that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackupPlanFromTemplateOutcomeCallable GetBackupPlanFromTemplateCallable(const GetBackupPlanFromTemplateRequestT& request) const
{
return SubmitCallable(&BackupClient::GetBackupPlanFromTemplate, request);
}
/**
* An Async wrapper for GetBackupPlanFromTemplate that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackupPlanFromTemplateAsync(const GetBackupPlanFromTemplateRequestT& request, const GetBackupPlanFromTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetBackupPlanFromTemplate, request, handler, context);
}
/**
* Returns selection metadata and a document in JSON format that specifies a
* list of resources that are associated with a backup plan.
See
* Also:
AWS
* API Reference
*/
virtual Model::GetBackupSelectionOutcome GetBackupSelection(const Model::GetBackupSelectionRequest& request) const;
/**
* A Callable wrapper for GetBackupSelection that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackupSelectionOutcomeCallable GetBackupSelectionCallable(const GetBackupSelectionRequestT& request) const
{
return SubmitCallable(&BackupClient::GetBackupSelection, request);
}
/**
* An Async wrapper for GetBackupSelection that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackupSelectionAsync(const GetBackupSelectionRequestT& request, const GetBackupSelectionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetBackupSelection, request, handler, context);
}
/**
* Returns the access policy document that is associated with the named backup
* vault.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackupVaultAccessPolicyOutcome GetBackupVaultAccessPolicy(const Model::GetBackupVaultAccessPolicyRequest& request) const;
/**
* A Callable wrapper for GetBackupVaultAccessPolicy that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackupVaultAccessPolicyOutcomeCallable GetBackupVaultAccessPolicyCallable(const GetBackupVaultAccessPolicyRequestT& request) const
{
return SubmitCallable(&BackupClient::GetBackupVaultAccessPolicy, request);
}
/**
* An Async wrapper for GetBackupVaultAccessPolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackupVaultAccessPolicyAsync(const GetBackupVaultAccessPolicyRequestT& request, const GetBackupVaultAccessPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetBackupVaultAccessPolicy, request, handler, context);
}
/**
* Returns event notifications for the specified backup vault.
See
* Also:
AWS
* API Reference
*/
virtual Model::GetBackupVaultNotificationsOutcome GetBackupVaultNotifications(const Model::GetBackupVaultNotificationsRequest& request) const;
/**
* A Callable wrapper for GetBackupVaultNotifications that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackupVaultNotificationsOutcomeCallable GetBackupVaultNotificationsCallable(const GetBackupVaultNotificationsRequestT& request) const
{
return SubmitCallable(&BackupClient::GetBackupVaultNotifications, request);
}
/**
* An Async wrapper for GetBackupVaultNotifications that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackupVaultNotificationsAsync(const GetBackupVaultNotificationsRequestT& request, const GetBackupVaultNotificationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetBackupVaultNotifications, request, handler, context);
}
/**
* 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.
See
* Also:
AWS
* API Reference
*/
virtual Model::GetLegalHoldOutcome GetLegalHold(const Model::GetLegalHoldRequest& request) const;
/**
* A Callable wrapper for GetLegalHold that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetLegalHoldOutcomeCallable GetLegalHoldCallable(const GetLegalHoldRequestT& request) const
{
return SubmitCallable(&BackupClient::GetLegalHold, request);
}
/**
* An Async wrapper for GetLegalHold that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetLegalHoldAsync(const GetLegalHoldRequestT& request, const GetLegalHoldResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetLegalHold, request, handler, context);
}
/**
* Returns a set of metadata key-value pairs that were used to create the
* backup.
See Also:
AWS
* API Reference
*/
virtual Model::GetRecoveryPointRestoreMetadataOutcome GetRecoveryPointRestoreMetadata(const Model::GetRecoveryPointRestoreMetadataRequest& request) const;
/**
* A Callable wrapper for GetRecoveryPointRestoreMetadata that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetRecoveryPointRestoreMetadataOutcomeCallable GetRecoveryPointRestoreMetadataCallable(const GetRecoveryPointRestoreMetadataRequestT& request) const
{
return SubmitCallable(&BackupClient::GetRecoveryPointRestoreMetadata, request);
}
/**
* An Async wrapper for GetRecoveryPointRestoreMetadata that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetRecoveryPointRestoreMetadataAsync(const GetRecoveryPointRestoreMetadataRequestT& request, const GetRecoveryPointRestoreMetadataResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetRecoveryPointRestoreMetadata, request, handler, context);
}
/**
* Returns the Amazon Web Services resource types supported by
* Backup.
See Also:
AWS
* API Reference
*/
virtual Model::GetSupportedResourceTypesOutcome GetSupportedResourceTypes() const;
/**
* A Callable wrapper for GetSupportedResourceTypes that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetSupportedResourceTypesOutcomeCallable GetSupportedResourceTypesCallable() const
{
return SubmitCallable(&BackupClient::GetSupportedResourceTypes);
}
/**
* An Async wrapper for GetSupportedResourceTypes that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetSupportedResourceTypesAsync(const GetSupportedResourceTypesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::GetSupportedResourceTypes, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::ListBackupJobsOutcome ListBackupJobs(const Model::ListBackupJobsRequest& request) const;
/**
* A Callable wrapper for ListBackupJobs that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBackupJobsOutcomeCallable ListBackupJobsCallable(const ListBackupJobsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListBackupJobs, request);
}
/**
* An Async wrapper for ListBackupJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBackupJobsAsync(const ListBackupJobsRequestT& request, const ListBackupJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListBackupJobs, request, handler, context);
}
/**
* Returns metadata of your saved backup plan templates, including the template
* ID, name, and the creation and deletion dates.
See Also:
AWS
* API Reference
*/
virtual Model::ListBackupPlanTemplatesOutcome ListBackupPlanTemplates(const Model::ListBackupPlanTemplatesRequest& request) const;
/**
* A Callable wrapper for ListBackupPlanTemplates that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBackupPlanTemplatesOutcomeCallable ListBackupPlanTemplatesCallable(const ListBackupPlanTemplatesRequestT& request) const
{
return SubmitCallable(&BackupClient::ListBackupPlanTemplates, request);
}
/**
* An Async wrapper for ListBackupPlanTemplates that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBackupPlanTemplatesAsync(const ListBackupPlanTemplatesRequestT& request, const ListBackupPlanTemplatesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListBackupPlanTemplates, request, handler, context);
}
/**
* Returns version metadata of your backup plans, including Amazon Resource
* Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and
* version IDs.
See Also:
AWS
* API Reference
*/
virtual Model::ListBackupPlanVersionsOutcome ListBackupPlanVersions(const Model::ListBackupPlanVersionsRequest& request) const;
/**
* A Callable wrapper for ListBackupPlanVersions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBackupPlanVersionsOutcomeCallable ListBackupPlanVersionsCallable(const ListBackupPlanVersionsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListBackupPlanVersions, request);
}
/**
* An Async wrapper for ListBackupPlanVersions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBackupPlanVersionsAsync(const ListBackupPlanVersionsRequestT& request, const ListBackupPlanVersionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListBackupPlanVersions, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::ListBackupPlansOutcome ListBackupPlans(const Model::ListBackupPlansRequest& request) const;
/**
* A Callable wrapper for ListBackupPlans that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBackupPlansOutcomeCallable ListBackupPlansCallable(const ListBackupPlansRequestT& request) const
{
return SubmitCallable(&BackupClient::ListBackupPlans, request);
}
/**
* An Async wrapper for ListBackupPlans that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBackupPlansAsync(const ListBackupPlansRequestT& request, const ListBackupPlansResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListBackupPlans, request, handler, context);
}
/**
* Returns an array containing metadata of the resources associated with the
* target backup plan.
See Also:
AWS
* API Reference
*/
virtual Model::ListBackupSelectionsOutcome ListBackupSelections(const Model::ListBackupSelectionsRequest& request) const;
/**
* A Callable wrapper for ListBackupSelections that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBackupSelectionsOutcomeCallable ListBackupSelectionsCallable(const ListBackupSelectionsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListBackupSelections, request);
}
/**
* An Async wrapper for ListBackupSelections that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBackupSelectionsAsync(const ListBackupSelectionsRequestT& request, const ListBackupSelectionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListBackupSelections, request, handler, context);
}
/**
* Returns a list of recovery point storage containers along with information
* about them.
See Also:
AWS
* API Reference
*/
virtual Model::ListBackupVaultsOutcome ListBackupVaults(const Model::ListBackupVaultsRequest& request) const;
/**
* A Callable wrapper for ListBackupVaults that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBackupVaultsOutcomeCallable ListBackupVaultsCallable(const ListBackupVaultsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListBackupVaults, request);
}
/**
* An Async wrapper for ListBackupVaults that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBackupVaultsAsync(const ListBackupVaultsRequestT& request, const ListBackupVaultsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListBackupVaults, request, handler, context);
}
/**
* Returns metadata about your copy jobs.
See Also:
AWS
* API Reference
*/
virtual Model::ListCopyJobsOutcome ListCopyJobs(const Model::ListCopyJobsRequest& request) const;
/**
* A Callable wrapper for ListCopyJobs that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListCopyJobsOutcomeCallable ListCopyJobsCallable(const ListCopyJobsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListCopyJobs, request);
}
/**
* An Async wrapper for ListCopyJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListCopyJobsAsync(const ListCopyJobsRequestT& request, const ListCopyJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListCopyJobs, request, handler, context);
}
/**
* Returns a list of all frameworks for an Amazon Web Services account and
* Amazon Web Services Region.
See Also:
AWS
* API Reference
*/
virtual Model::ListFrameworksOutcome ListFrameworks(const Model::ListFrameworksRequest& request) const;
/**
* A Callable wrapper for ListFrameworks that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListFrameworksOutcomeCallable ListFrameworksCallable(const ListFrameworksRequestT& request) const
{
return SubmitCallable(&BackupClient::ListFrameworks, request);
}
/**
* An Async wrapper for ListFrameworks that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListFrameworksAsync(const ListFrameworksRequestT& request, const ListFrameworksResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListFrameworks, request, handler, context);
}
/**
* This action returns metadata about active and previous legal
* holds.
See Also:
AWS
* API Reference
*/
virtual Model::ListLegalHoldsOutcome ListLegalHolds(const Model::ListLegalHoldsRequest& request) const;
/**
* A Callable wrapper for ListLegalHolds that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListLegalHoldsOutcomeCallable ListLegalHoldsCallable(const ListLegalHoldsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListLegalHolds, request);
}
/**
* An Async wrapper for ListLegalHolds that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListLegalHoldsAsync(const ListLegalHoldsRequestT& request, const ListLegalHoldsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListLegalHolds, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::ListProtectedResourcesOutcome ListProtectedResources(const Model::ListProtectedResourcesRequest& request) const;
/**
* A Callable wrapper for ListProtectedResources that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListProtectedResourcesOutcomeCallable ListProtectedResourcesCallable(const ListProtectedResourcesRequestT& request) const
{
return SubmitCallable(&BackupClient::ListProtectedResources, request);
}
/**
* An Async wrapper for ListProtectedResources that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListProtectedResourcesAsync(const ListProtectedResourcesRequestT& request, const ListProtectedResourcesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListProtectedResources, request, handler, context);
}
/**
* Returns detailed information about the recovery points stored in a backup
* vault.
See Also:
AWS
* API Reference
*/
virtual Model::ListRecoveryPointsByBackupVaultOutcome ListRecoveryPointsByBackupVault(const Model::ListRecoveryPointsByBackupVaultRequest& request) const;
/**
* A Callable wrapper for ListRecoveryPointsByBackupVault that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListRecoveryPointsByBackupVaultOutcomeCallable ListRecoveryPointsByBackupVaultCallable(const ListRecoveryPointsByBackupVaultRequestT& request) const
{
return SubmitCallable(&BackupClient::ListRecoveryPointsByBackupVault, request);
}
/**
* An Async wrapper for ListRecoveryPointsByBackupVault that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListRecoveryPointsByBackupVaultAsync(const ListRecoveryPointsByBackupVaultRequestT& request, const ListRecoveryPointsByBackupVaultResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListRecoveryPointsByBackupVault, request, handler, context);
}
/**
* This action returns recovery point ARNs (Amazon Resource Names) of the
* specified legal hold.
See Also:
AWS
* API Reference
*/
virtual Model::ListRecoveryPointsByLegalHoldOutcome ListRecoveryPointsByLegalHold(const Model::ListRecoveryPointsByLegalHoldRequest& request) const;
/**
* A Callable wrapper for ListRecoveryPointsByLegalHold that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListRecoveryPointsByLegalHoldOutcomeCallable ListRecoveryPointsByLegalHoldCallable(const ListRecoveryPointsByLegalHoldRequestT& request) const
{
return SubmitCallable(&BackupClient::ListRecoveryPointsByLegalHold, request);
}
/**
* An Async wrapper for ListRecoveryPointsByLegalHold that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListRecoveryPointsByLegalHoldAsync(const ListRecoveryPointsByLegalHoldRequestT& request, const ListRecoveryPointsByLegalHoldResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListRecoveryPointsByLegalHold, request, handler, context);
}
/**
* 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.
* See Also:
AWS
* API Reference
*/
virtual Model::ListRecoveryPointsByResourceOutcome ListRecoveryPointsByResource(const Model::ListRecoveryPointsByResourceRequest& request) const;
/**
* A Callable wrapper for ListRecoveryPointsByResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListRecoveryPointsByResourceOutcomeCallable ListRecoveryPointsByResourceCallable(const ListRecoveryPointsByResourceRequestT& request) const
{
return SubmitCallable(&BackupClient::ListRecoveryPointsByResource, request);
}
/**
* An Async wrapper for ListRecoveryPointsByResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListRecoveryPointsByResourceAsync(const ListRecoveryPointsByResourceRequestT& request, const ListRecoveryPointsByResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListRecoveryPointsByResource, request, handler, context);
}
/**
* Returns details about your report jobs.
See Also:
AWS
* API Reference
*/
virtual Model::ListReportJobsOutcome ListReportJobs(const Model::ListReportJobsRequest& request) const;
/**
* A Callable wrapper for ListReportJobs that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListReportJobsOutcomeCallable ListReportJobsCallable(const ListReportJobsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListReportJobs, request);
}
/**
* An Async wrapper for ListReportJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListReportJobsAsync(const ListReportJobsRequestT& request, const ListReportJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListReportJobs, request, handler, context);
}
/**
* Returns a list of your report plans. For detailed information about a single
* report plan, use DescribeReportPlan
.
See Also:
AWS
* API Reference
*/
virtual Model::ListReportPlansOutcome ListReportPlans(const Model::ListReportPlansRequest& request) const;
/**
* A Callable wrapper for ListReportPlans that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListReportPlansOutcomeCallable ListReportPlansCallable(const ListReportPlansRequestT& request) const
{
return SubmitCallable(&BackupClient::ListReportPlans, request);
}
/**
* An Async wrapper for ListReportPlans that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListReportPlansAsync(const ListReportPlansRequestT& request, const ListReportPlansResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListReportPlans, request, handler, context);
}
/**
* Returns a list of jobs that Backup initiated to restore a saved resource,
* including details about the recovery process.
See Also:
AWS
* API Reference
*/
virtual Model::ListRestoreJobsOutcome ListRestoreJobs(const Model::ListRestoreJobsRequest& request) const;
/**
* A Callable wrapper for ListRestoreJobs that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListRestoreJobsOutcomeCallable ListRestoreJobsCallable(const ListRestoreJobsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListRestoreJobs, request);
}
/**
* An Async wrapper for ListRestoreJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListRestoreJobsAsync(const ListRestoreJobsRequestT& request, const ListRestoreJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListRestoreJobs, request, handler, context);
}
/**
* 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.
See Also:
AWS API
* Reference
*/
virtual Model::ListTagsOutcome ListTags(const Model::ListTagsRequest& request) const;
/**
* A Callable wrapper for ListTags that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListTagsOutcomeCallable ListTagsCallable(const ListTagsRequestT& request) const
{
return SubmitCallable(&BackupClient::ListTags, request);
}
/**
* An Async wrapper for ListTags that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListTagsAsync(const ListTagsRequestT& request, const ListTagsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::ListTags, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::PutBackupVaultAccessPolicyOutcome PutBackupVaultAccessPolicy(const Model::PutBackupVaultAccessPolicyRequest& request) const;
/**
* A Callable wrapper for PutBackupVaultAccessPolicy that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PutBackupVaultAccessPolicyOutcomeCallable PutBackupVaultAccessPolicyCallable(const PutBackupVaultAccessPolicyRequestT& request) const
{
return SubmitCallable(&BackupClient::PutBackupVaultAccessPolicy, request);
}
/**
* An Async wrapper for PutBackupVaultAccessPolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PutBackupVaultAccessPolicyAsync(const PutBackupVaultAccessPolicyRequestT& request, const PutBackupVaultAccessPolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::PutBackupVaultAccessPolicy, request, handler, context);
}
/**
* 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.
*
See Also:
AWS
* API Reference
*/
virtual Model::PutBackupVaultLockConfigurationOutcome PutBackupVaultLockConfiguration(const Model::PutBackupVaultLockConfigurationRequest& request) const;
/**
* A Callable wrapper for PutBackupVaultLockConfiguration that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PutBackupVaultLockConfigurationOutcomeCallable PutBackupVaultLockConfigurationCallable(const PutBackupVaultLockConfigurationRequestT& request) const
{
return SubmitCallable(&BackupClient::PutBackupVaultLockConfiguration, request);
}
/**
* An Async wrapper for PutBackupVaultLockConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PutBackupVaultLockConfigurationAsync(const PutBackupVaultLockConfigurationRequestT& request, const PutBackupVaultLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::PutBackupVaultLockConfiguration, request, handler, context);
}
/**
* Turns on notifications on a backup vault for the specified topic and
* events.
See Also:
AWS
* API Reference
*/
virtual Model::PutBackupVaultNotificationsOutcome PutBackupVaultNotifications(const Model::PutBackupVaultNotificationsRequest& request) const;
/**
* A Callable wrapper for PutBackupVaultNotifications that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::PutBackupVaultNotificationsOutcomeCallable PutBackupVaultNotificationsCallable(const PutBackupVaultNotificationsRequestT& request) const
{
return SubmitCallable(&BackupClient::PutBackupVaultNotifications, request);
}
/**
* An Async wrapper for PutBackupVaultNotifications that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void PutBackupVaultNotificationsAsync(const PutBackupVaultNotificationsRequestT& request, const PutBackupVaultNotificationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::PutBackupVaultNotifications, request, handler, context);
}
/**
* Starts an on-demand backup job for the specified resource.
See
* Also:
AWS
* API Reference
*/
virtual Model::StartBackupJobOutcome StartBackupJob(const Model::StartBackupJobRequest& request) const;
/**
* A Callable wrapper for StartBackupJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartBackupJobOutcomeCallable StartBackupJobCallable(const StartBackupJobRequestT& request) const
{
return SubmitCallable(&BackupClient::StartBackupJob, request);
}
/**
* An Async wrapper for StartBackupJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartBackupJobAsync(const StartBackupJobRequestT& request, const StartBackupJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::StartBackupJob, request, handler, context);
}
/**
* Starts a job to create a one-time copy of the specified resource.
Does
* not support continuous backups.
See Also:
AWS
* API Reference
*/
virtual Model::StartCopyJobOutcome StartCopyJob(const Model::StartCopyJobRequest& request) const;
/**
* A Callable wrapper for StartCopyJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartCopyJobOutcomeCallable StartCopyJobCallable(const StartCopyJobRequestT& request) const
{
return SubmitCallable(&BackupClient::StartCopyJob, request);
}
/**
* An Async wrapper for StartCopyJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartCopyJobAsync(const StartCopyJobRequestT& request, const StartCopyJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::StartCopyJob, request, handler, context);
}
/**
* Starts an on-demand report job for the specified report plan.
See
* Also:
AWS
* API Reference
*/
virtual Model::StartReportJobOutcome StartReportJob(const Model::StartReportJobRequest& request) const;
/**
* A Callable wrapper for StartReportJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartReportJobOutcomeCallable StartReportJobCallable(const StartReportJobRequestT& request) const
{
return SubmitCallable(&BackupClient::StartReportJob, request);
}
/**
* An Async wrapper for StartReportJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartReportJobAsync(const StartReportJobRequestT& request, const StartReportJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::StartReportJob, request, handler, context);
}
/**
* Recovers the saved resource identified by an Amazon Resource Name
* (ARN).
See Also:
AWS
* API Reference
*/
virtual Model::StartRestoreJobOutcome StartRestoreJob(const Model::StartRestoreJobRequest& request) const;
/**
* A Callable wrapper for StartRestoreJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartRestoreJobOutcomeCallable StartRestoreJobCallable(const StartRestoreJobRequestT& request) const
{
return SubmitCallable(&BackupClient::StartRestoreJob, request);
}
/**
* An Async wrapper for StartRestoreJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartRestoreJobAsync(const StartRestoreJobRequestT& request, const StartRestoreJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::StartRestoreJob, request, handler, context);
}
/**
* 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, FSx for ONTAP , Amazon FSx for
* OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon
* Aurora, and Amazon Neptune.
See Also:
AWS
* API Reference
*/
virtual Model::StopBackupJobOutcome StopBackupJob(const Model::StopBackupJobRequest& request) const;
/**
* A Callable wrapper for StopBackupJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StopBackupJobOutcomeCallable StopBackupJobCallable(const StopBackupJobRequestT& request) const
{
return SubmitCallable(&BackupClient::StopBackupJob, request);
}
/**
* An Async wrapper for StopBackupJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StopBackupJobAsync(const StopBackupJobRequestT& request, const StopBackupJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::StopBackupJob, request, handler, context);
}
/**
* Assigns a set of key-value pairs to a recovery point, backup plan, or backup
* vault identified by an Amazon Resource Name (ARN).
See Also:
AWS
* API Reference
*/
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
/**
* A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
{
return SubmitCallable(&BackupClient::TagResource, request);
}
/**
* An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::TagResource, request, handler, context);
}
/**
* Removes a set of key-value pairs from a recovery point, backup plan, or
* backup vault identified by an Amazon Resource Name (ARN)
See
* Also:
AWS
* API Reference
*/
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
/**
* A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
{
return SubmitCallable(&BackupClient::UntagResource, request);
}
/**
* An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::UntagResource, request, handler, context);
}
/**
* 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
.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateBackupPlanOutcome UpdateBackupPlan(const Model::UpdateBackupPlanRequest& request) const;
/**
* A Callable wrapper for UpdateBackupPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateBackupPlanOutcomeCallable UpdateBackupPlanCallable(const UpdateBackupPlanRequestT& request) const
{
return SubmitCallable(&BackupClient::UpdateBackupPlan, request);
}
/**
* An Async wrapper for UpdateBackupPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateBackupPlanAsync(const UpdateBackupPlanRequestT& request, const UpdateBackupPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::UpdateBackupPlan, request, handler, context);
}
/**
* Updates an existing framework identified by its FrameworkName
* with the input document in JSON format.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateFrameworkOutcome UpdateFramework(const Model::UpdateFrameworkRequest& request) const;
/**
* A Callable wrapper for UpdateFramework that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateFrameworkOutcomeCallable UpdateFrameworkCallable(const UpdateFrameworkRequestT& request) const
{
return SubmitCallable(&BackupClient::UpdateFramework, request);
}
/**
* An Async wrapper for UpdateFramework that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateFrameworkAsync(const UpdateFrameworkRequestT& request, const UpdateFrameworkResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::UpdateFramework, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateGlobalSettingsOutcome UpdateGlobalSettings(const Model::UpdateGlobalSettingsRequest& request) const;
/**
* A Callable wrapper for UpdateGlobalSettings that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateGlobalSettingsOutcomeCallable UpdateGlobalSettingsCallable(const UpdateGlobalSettingsRequestT& request) const
{
return SubmitCallable(&BackupClient::UpdateGlobalSettings, request);
}
/**
* An Async wrapper for UpdateGlobalSettings that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateGlobalSettingsAsync(const UpdateGlobalSettingsRequestT& request, const UpdateGlobalSettingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::UpdateGlobalSettings, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateRecoveryPointLifecycleOutcome UpdateRecoveryPointLifecycle(const Model::UpdateRecoveryPointLifecycleRequest& request) const;
/**
* A Callable wrapper for UpdateRecoveryPointLifecycle that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateRecoveryPointLifecycleOutcomeCallable UpdateRecoveryPointLifecycleCallable(const UpdateRecoveryPointLifecycleRequestT& request) const
{
return SubmitCallable(&BackupClient::UpdateRecoveryPointLifecycle, request);
}
/**
* An Async wrapper for UpdateRecoveryPointLifecycle that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateRecoveryPointLifecycleAsync(const UpdateRecoveryPointLifecycleRequestT& request, const UpdateRecoveryPointLifecycleResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::UpdateRecoveryPointLifecycle, request, handler, context);
}
/**
* Updates 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. Use the DescribeRegionSettings
API to determine the
* resource types that are supported.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateRegionSettingsOutcome UpdateRegionSettings(const Model::UpdateRegionSettingsRequest& request) const;
/**
* A Callable wrapper for UpdateRegionSettings that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateRegionSettingsOutcomeCallable UpdateRegionSettingsCallable(const UpdateRegionSettingsRequestT& request) const
{
return SubmitCallable(&BackupClient::UpdateRegionSettings, request);
}
/**
* An Async wrapper for UpdateRegionSettings that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateRegionSettingsAsync(const UpdateRegionSettingsRequestT& request, const UpdateRegionSettingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::UpdateRegionSettings, request, handler, context);
}
/**
* Updates an existing report plan identified by its ReportPlanName
* with the input document in JSON format.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateReportPlanOutcome UpdateReportPlan(const Model::UpdateReportPlanRequest& request) const;
/**
* A Callable wrapper for UpdateReportPlan that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateReportPlanOutcomeCallable UpdateReportPlanCallable(const UpdateReportPlanRequestT& request) const
{
return SubmitCallable(&BackupClient::UpdateReportPlan, request);
}
/**
* An Async wrapper for UpdateReportPlan that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateReportPlanAsync(const UpdateReportPlanRequestT& request, const UpdateReportPlanResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&BackupClient::UpdateReportPlan, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const BackupClientConfiguration& clientConfiguration);
BackupClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace Backup
} // namespace Aws