/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the backup-2018-11-15.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.Backup.Model; using Amazon.Backup.Model.Internal.MarshallTransformations; using Amazon.Backup.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Backup { /// /// Implementation for accessing 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. /// /// public partial class AmazonBackupClient : AmazonServiceClient, IAmazonBackup { private static IServiceMetadata serviceMetadata = new AmazonBackupMetadata(); private IBackupPaginatorFactory _paginators; /// /// Paginators for the service /// public IBackupPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new BackupPaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonBackupClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonBackupClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonBackupConfig()) { } /// /// Constructs AmazonBackupClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonBackupClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonBackupConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonBackupClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonBackupClient Configuration Object public AmazonBackupClient(AmazonBackupConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonBackupClient with AWS Credentials /// /// AWS Credentials public AmazonBackupClient(AWSCredentials credentials) : this(credentials, new AmazonBackupConfig()) { } /// /// Constructs AmazonBackupClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonBackupClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonBackupConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonBackupClient with AWS Credentials and an /// AmazonBackupClient Configuration object. /// /// AWS Credentials /// The AmazonBackupClient Configuration Object public AmazonBackupClient(AWSCredentials credentials, AmazonBackupConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonBackupClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonBackupClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonBackupConfig()) { } /// /// Constructs AmazonBackupClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonBackupClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonBackupConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonBackupClient with AWS Access Key ID, AWS Secret Key and an /// AmazonBackupClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonBackupClient Configuration Object public AmazonBackupClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonBackupConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonBackupClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonBackupClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonBackupConfig()) { } /// /// Constructs AmazonBackupClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonBackupClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonBackupConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonBackupClient with AWS Access Key ID, AWS Secret Key and an /// AmazonBackupClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonBackupClient Configuration Object public AmazonBackupClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonBackupConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonBackupEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CancelLegalHold /// /// This action removes the specified legal hold on a recovery point. This action can /// only be performed by a user with sufficient permissions. /// /// Container for the necessary parameters to execute the CancelLegalHold service method. /// /// The response from the CancelLegalHold service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Backup is already performing an action on this recovery point. It can't perform the /// action you requested until the first action finishes. Try again later. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CancelLegalHold Operation public virtual CancelLegalHoldResponse CancelLegalHold(CancelLegalHoldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelLegalHoldRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelLegalHoldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This action removes the specified legal hold on a recovery point. This action can /// only be performed by a user with sufficient permissions. /// /// Container for the necessary parameters to execute the CancelLegalHold service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelLegalHold service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Backup is already performing an action on this recovery point. It can't perform the /// action you requested until the first action finishes. Try again later. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CancelLegalHold Operation public virtual Task CancelLegalHoldAsync(CancelLegalHoldRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelLegalHoldRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelLegalHoldResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateBackupPlan /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateBackupPlan service method. /// /// The response from the CreateBackupPlan service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateBackupPlan Operation public virtual CreateBackupPlanResponse CreateBackupPlan(CreateBackupPlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackupPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackupPlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateBackupPlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateBackupPlan service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateBackupPlan Operation public virtual Task CreateBackupPlanAsync(CreateBackupPlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackupPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackupPlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateBackupSelection /// /// Creates a JSON document that specifies a set of resources to assign to a backup plan. /// For examples, see Assigning /// resources programmatically. /// /// Container for the necessary parameters to execute the CreateBackupSelection service method. /// /// The response from the CreateBackupSelection service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateBackupSelection Operation public virtual CreateBackupSelectionResponse CreateBackupSelection(CreateBackupSelectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackupSelectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackupSelectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a JSON document that specifies a set of resources to assign to a backup plan. /// For examples, see Assigning /// resources programmatically. /// /// Container for the necessary parameters to execute the CreateBackupSelection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateBackupSelection service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateBackupSelection Operation public virtual Task CreateBackupSelectionAsync(CreateBackupSelectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackupSelectionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackupSelectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateBackupVault /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreateBackupVault service method. /// /// The response from the CreateBackupVault service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateBackupVault Operation public virtual CreateBackupVaultResponse CreateBackupVault(CreateBackupVaultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackupVaultRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackupVaultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreateBackupVault service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateBackupVault service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateBackupVault Operation public virtual Task CreateBackupVaultAsync(CreateBackupVaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackupVaultRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackupVaultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFramework /// /// 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. /// /// Container for the necessary parameters to execute the CreateFramework service method. /// /// The response from the CreateFramework service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateFramework Operation public virtual CreateFrameworkResponse CreateFramework(CreateFrameworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFrameworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the CreateFramework service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFramework service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateFramework Operation public virtual Task CreateFrameworkAsync(CreateFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFrameworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLegalHold /// /// 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. /// /// Container for the necessary parameters to execute the CreateLegalHold service method. /// /// The response from the CreateLegalHold service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateLegalHold Operation public virtual CreateLegalHoldResponse CreateLegalHold(CreateLegalHoldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLegalHoldRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLegalHoldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the CreateLegalHold service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLegalHold service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateLegalHold Operation public virtual Task CreateLegalHoldAsync(CreateLegalHoldRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLegalHoldRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLegalHoldResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReportPlan /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateReportPlan service method. /// /// The response from the CreateReportPlan service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateReportPlan Operation public virtual CreateReportPlanResponse CreateReportPlan(CreateReportPlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReportPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReportPlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateReportPlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReportPlan service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for CreateReportPlan Operation public virtual Task CreateReportPlanAsync(CreateReportPlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReportPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReportPlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteBackupPlan /// /// 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. /// /// Container for the necessary parameters to execute the DeleteBackupPlan service method. /// /// The response from the DeleteBackupPlan service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupPlan Operation public virtual DeleteBackupPlanResponse DeleteBackupPlan(DeleteBackupPlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupPlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the DeleteBackupPlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBackupPlan service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupPlan Operation public virtual Task DeleteBackupPlanAsync(DeleteBackupPlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupPlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteBackupSelection /// /// Deletes the resource selection associated with a backup plan that is specified by /// the SelectionId. /// /// Container for the necessary parameters to execute the DeleteBackupSelection service method. /// /// The response from the DeleteBackupSelection service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupSelection Operation public virtual DeleteBackupSelectionResponse DeleteBackupSelection(DeleteBackupSelectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupSelectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupSelectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the resource selection associated with a backup plan that is specified by /// the SelectionId. /// /// Container for the necessary parameters to execute the DeleteBackupSelection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBackupSelection service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupSelection Operation public virtual Task DeleteBackupSelectionAsync(DeleteBackupSelectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupSelectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupSelectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteBackupVault /// /// Deletes the backup vault identified by its name. A vault can be deleted only if it /// is empty. /// /// Container for the necessary parameters to execute the DeleteBackupVault service method. /// /// The response from the DeleteBackupVault service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupVault Operation public virtual DeleteBackupVaultResponse DeleteBackupVault(DeleteBackupVaultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupVaultRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupVaultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the backup vault identified by its name. A vault can be deleted only if it /// is empty. /// /// Container for the necessary parameters to execute the DeleteBackupVault service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBackupVault service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupVault Operation public virtual Task DeleteBackupVaultAsync(DeleteBackupVaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupVaultRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupVaultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteBackupVaultAccessPolicy /// /// Deletes the policy document that manages permissions on a backup vault. /// /// Container for the necessary parameters to execute the DeleteBackupVaultAccessPolicy service method. /// /// The response from the DeleteBackupVaultAccessPolicy service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupVaultAccessPolicy Operation public virtual DeleteBackupVaultAccessPolicyResponse DeleteBackupVaultAccessPolicy(DeleteBackupVaultAccessPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupVaultAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupVaultAccessPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the policy document that manages permissions on a backup vault. /// /// Container for the necessary parameters to execute the DeleteBackupVaultAccessPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBackupVaultAccessPolicy service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupVaultAccessPolicy Operation public virtual Task DeleteBackupVaultAccessPolicyAsync(DeleteBackupVaultAccessPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupVaultAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupVaultAccessPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteBackupVaultLockConfiguration /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteBackupVaultLockConfiguration service method. /// /// The response from the DeleteBackupVaultLockConfiguration service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupVaultLockConfiguration Operation public virtual DeleteBackupVaultLockConfigurationResponse DeleteBackupVaultLockConfiguration(DeleteBackupVaultLockConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupVaultLockConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupVaultLockConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteBackupVaultLockConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBackupVaultLockConfiguration service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupVaultLockConfiguration Operation public virtual Task DeleteBackupVaultLockConfigurationAsync(DeleteBackupVaultLockConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupVaultLockConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupVaultLockConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteBackupVaultNotifications /// /// Deletes event notifications for the specified backup vault. /// /// Container for the necessary parameters to execute the DeleteBackupVaultNotifications service method. /// /// The response from the DeleteBackupVaultNotifications service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupVaultNotifications Operation public virtual DeleteBackupVaultNotificationsResponse DeleteBackupVaultNotifications(DeleteBackupVaultNotificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupVaultNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupVaultNotificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes event notifications for the specified backup vault. /// /// Container for the necessary parameters to execute the DeleteBackupVaultNotifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBackupVaultNotifications service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteBackupVaultNotifications Operation public virtual Task DeleteBackupVaultNotificationsAsync(DeleteBackupVaultNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackupVaultNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackupVaultNotificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFramework /// /// Deletes the framework specified by a framework name. /// /// Container for the necessary parameters to execute the DeleteFramework service method. /// /// The response from the DeleteFramework service method, as returned by Backup. /// /// Backup can't perform the action that you requested until it finishes performing a /// previous action. Try again later. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteFramework Operation public virtual DeleteFrameworkResponse DeleteFramework(DeleteFrameworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFrameworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the framework specified by a framework name. /// /// Container for the necessary parameters to execute the DeleteFramework service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFramework service method, as returned by Backup. /// /// Backup can't perform the action that you requested until it finishes performing a /// previous action. Try again later. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteFramework Operation public virtual Task DeleteFrameworkAsync(DeleteFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFrameworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRecoveryPoint /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteRecoveryPoint service method. /// /// The response from the DeleteRecoveryPoint service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Backup is already performing an action on this recovery point. It can't perform the /// action you requested until the first action finishes. Try again later. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteRecoveryPoint Operation public virtual DeleteRecoveryPointResponse DeleteRecoveryPoint(DeleteRecoveryPointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecoveryPointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecoveryPointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteRecoveryPoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRecoveryPoint service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Backup is already performing an action on this recovery point. It can't perform the /// action you requested until the first action finishes. Try again later. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteRecoveryPoint Operation public virtual Task DeleteRecoveryPointAsync(DeleteRecoveryPointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecoveryPointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecoveryPointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReportPlan /// /// Deletes the report plan specified by a report plan name. /// /// Container for the necessary parameters to execute the DeleteReportPlan service method. /// /// The response from the DeleteReportPlan service method, as returned by Backup. /// /// Backup can't perform the action that you requested until it finishes performing a /// previous action. Try again later. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteReportPlan Operation public virtual DeleteReportPlanResponse DeleteReportPlan(DeleteReportPlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReportPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReportPlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the report plan specified by a report plan name. /// /// Container for the necessary parameters to execute the DeleteReportPlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReportPlan service method, as returned by Backup. /// /// Backup can't perform the action that you requested until it finishes performing a /// previous action. Try again later. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DeleteReportPlan Operation public virtual Task DeleteReportPlanAsync(DeleteReportPlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReportPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReportPlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeBackupJob /// /// Returns backup job details for the specified BackupJobId. /// /// Container for the necessary parameters to execute the DescribeBackupJob service method. /// /// The response from the DescribeBackupJob service method, as returned by Backup. /// /// A dependent Amazon Web Services service or resource returned an error to the Backup /// service, and the action cannot be completed. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeBackupJob Operation public virtual DescribeBackupJobResponse DescribeBackupJob(DescribeBackupJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBackupJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBackupJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns backup job details for the specified BackupJobId. /// /// Container for the necessary parameters to execute the DescribeBackupJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeBackupJob service method, as returned by Backup. /// /// A dependent Amazon Web Services service or resource returned an error to the Backup /// service, and the action cannot be completed. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeBackupJob Operation public virtual Task DescribeBackupJobAsync(DescribeBackupJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBackupJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBackupJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeBackupVault /// /// Returns metadata about a backup vault specified by its name. /// /// Container for the necessary parameters to execute the DescribeBackupVault service method. /// /// The response from the DescribeBackupVault service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeBackupVault Operation public virtual DescribeBackupVaultResponse DescribeBackupVault(DescribeBackupVaultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBackupVaultRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBackupVaultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns metadata about a backup vault specified by its name. /// /// Container for the necessary parameters to execute the DescribeBackupVault service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeBackupVault service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeBackupVault Operation public virtual Task DescribeBackupVaultAsync(DescribeBackupVaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBackupVaultRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBackupVaultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeCopyJob /// /// Returns metadata associated with creating a copy of a resource. /// /// Container for the necessary parameters to execute the DescribeCopyJob service method. /// /// The response from the DescribeCopyJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeCopyJob Operation public virtual DescribeCopyJobResponse DescribeCopyJob(DescribeCopyJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCopyJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCopyJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns metadata associated with creating a copy of a resource. /// /// Container for the necessary parameters to execute the DescribeCopyJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCopyJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeCopyJob Operation public virtual Task DescribeCopyJobAsync(DescribeCopyJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCopyJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCopyJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFramework /// /// Returns the framework details for the specified FrameworkName. /// /// Container for the necessary parameters to execute the DescribeFramework service method. /// /// The response from the DescribeFramework service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeFramework Operation public virtual DescribeFrameworkResponse DescribeFramework(DescribeFrameworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFrameworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the framework details for the specified FrameworkName. /// /// Container for the necessary parameters to execute the DescribeFramework service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFramework service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeFramework Operation public virtual Task DescribeFrameworkAsync(DescribeFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFrameworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeGlobalSettings /// /// 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 /// /// Container for the necessary parameters to execute the DescribeGlobalSettings service method. /// /// The response from the DescribeGlobalSettings service method, as returned by Backup. /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeGlobalSettings Operation public virtual DescribeGlobalSettingsResponse DescribeGlobalSettings(DescribeGlobalSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGlobalSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGlobalSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 /// /// Container for the necessary parameters to execute the DescribeGlobalSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeGlobalSettings service method, as returned by Backup. /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeGlobalSettings Operation public virtual Task DescribeGlobalSettingsAsync(DescribeGlobalSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGlobalSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGlobalSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeProtectedResource /// /// 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. /// /// Container for the necessary parameters to execute the DescribeProtectedResource service method. /// /// The response from the DescribeProtectedResource service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeProtectedResource Operation public virtual DescribeProtectedResourceResponse DescribeProtectedResource(DescribeProtectedResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProtectedResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProtectedResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the DescribeProtectedResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeProtectedResource service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeProtectedResource Operation public virtual Task DescribeProtectedResourceAsync(DescribeProtectedResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProtectedResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProtectedResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRecoveryPoint /// /// Returns metadata associated with a recovery point, including ID, status, encryption, /// and lifecycle. /// /// Container for the necessary parameters to execute the DescribeRecoveryPoint service method. /// /// The response from the DescribeRecoveryPoint service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeRecoveryPoint Operation public virtual DescribeRecoveryPointResponse DescribeRecoveryPoint(DescribeRecoveryPointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecoveryPointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecoveryPointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns metadata associated with a recovery point, including ID, status, encryption, /// and lifecycle. /// /// Container for the necessary parameters to execute the DescribeRecoveryPoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRecoveryPoint service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeRecoveryPoint Operation public virtual Task DescribeRecoveryPointAsync(DescribeRecoveryPointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecoveryPointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecoveryPointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRegionSettings /// /// 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. /// /// Container for the necessary parameters to execute the DescribeRegionSettings service method. /// /// The response from the DescribeRegionSettings service method, as returned by Backup. /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeRegionSettings Operation public virtual DescribeRegionSettingsResponse DescribeRegionSettings(DescribeRegionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRegionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRegionSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the DescribeRegionSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRegionSettings service method, as returned by Backup. /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeRegionSettings Operation public virtual Task DescribeRegionSettingsAsync(DescribeRegionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRegionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRegionSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReportJob /// /// Returns the details associated with creating a report as specified by its ReportJobId. /// /// Container for the necessary parameters to execute the DescribeReportJob service method. /// /// The response from the DescribeReportJob service method, as returned by Backup. /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeReportJob Operation public virtual DescribeReportJobResponse DescribeReportJob(DescribeReportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the details associated with creating a report as specified by its ReportJobId. /// /// Container for the necessary parameters to execute the DescribeReportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReportJob service method, as returned by Backup. /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeReportJob Operation public virtual Task DescribeReportJobAsync(DescribeReportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReportJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReportPlan /// /// Returns a list of all report plans for an Amazon Web Services account and Amazon Web /// Services Region. /// /// Container for the necessary parameters to execute the DescribeReportPlan service method. /// /// The response from the DescribeReportPlan service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeReportPlan Operation public virtual DescribeReportPlanResponse DescribeReportPlan(DescribeReportPlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReportPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReportPlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of all report plans for an Amazon Web Services account and Amazon Web /// Services Region. /// /// Container for the necessary parameters to execute the DescribeReportPlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReportPlan service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeReportPlan Operation public virtual Task DescribeReportPlanAsync(DescribeReportPlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReportPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReportPlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRestoreJob /// /// Returns metadata associated with a restore job that is specified by a job ID. /// /// Container for the necessary parameters to execute the DescribeRestoreJob service method. /// /// The response from the DescribeRestoreJob service method, as returned by Backup. /// /// A dependent Amazon Web Services service or resource returned an error to the Backup /// service, and the action cannot be completed. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeRestoreJob Operation public virtual DescribeRestoreJobResponse DescribeRestoreJob(DescribeRestoreJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRestoreJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRestoreJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns metadata associated with a restore job that is specified by a job ID. /// /// Container for the necessary parameters to execute the DescribeRestoreJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRestoreJob service method, as returned by Backup. /// /// A dependent Amazon Web Services service or resource returned an error to the Backup /// service, and the action cannot be completed. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DescribeRestoreJob Operation public virtual Task DescribeRestoreJobAsync(DescribeRestoreJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRestoreJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRestoreJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateRecoveryPoint /// /// 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. /// /// /// Container for the necessary parameters to execute the DisassociateRecoveryPoint service method. /// /// The response from the DisassociateRecoveryPoint service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Backup is already performing an action on this recovery point. It can't perform the /// action you requested until the first action finishes. Try again later. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DisassociateRecoveryPoint Operation public virtual DisassociateRecoveryPointResponse DisassociateRecoveryPoint(DisassociateRecoveryPointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRecoveryPointRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRecoveryPointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the DisassociateRecoveryPoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateRecoveryPoint service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Backup is already performing an action on this recovery point. It can't perform the /// action you requested until the first action finishes. Try again later. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DisassociateRecoveryPoint Operation public virtual Task DisassociateRecoveryPointAsync(DisassociateRecoveryPointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRecoveryPointRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRecoveryPointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateRecoveryPointFromParent /// /// This action to a specific child (nested) recovery point removes the relationship between /// the specified recovery point and its parent (composite) recovery point. /// /// Container for the necessary parameters to execute the DisassociateRecoveryPointFromParent service method. /// /// The response from the DisassociateRecoveryPointFromParent service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DisassociateRecoveryPointFromParent Operation public virtual DisassociateRecoveryPointFromParentResponse DisassociateRecoveryPointFromParent(DisassociateRecoveryPointFromParentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRecoveryPointFromParentRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRecoveryPointFromParentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This action to a specific child (nested) recovery point removes the relationship between /// the specified recovery point and its parent (composite) recovery point. /// /// Container for the necessary parameters to execute the DisassociateRecoveryPointFromParent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateRecoveryPointFromParent service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for DisassociateRecoveryPointFromParent Operation public virtual Task DisassociateRecoveryPointFromParentAsync(DisassociateRecoveryPointFromParentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRecoveryPointFromParentRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRecoveryPointFromParentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExportBackupPlanTemplate /// /// Returns the backup plan that is specified by the plan ID as a backup template. /// /// Container for the necessary parameters to execute the ExportBackupPlanTemplate service method. /// /// The response from the ExportBackupPlanTemplate service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ExportBackupPlanTemplate Operation public virtual ExportBackupPlanTemplateResponse ExportBackupPlanTemplate(ExportBackupPlanTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportBackupPlanTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportBackupPlanTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the backup plan that is specified by the plan ID as a backup template. /// /// Container for the necessary parameters to execute the ExportBackupPlanTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportBackupPlanTemplate service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ExportBackupPlanTemplate Operation public virtual Task ExportBackupPlanTemplateAsync(ExportBackupPlanTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExportBackupPlanTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportBackupPlanTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBackupPlan /// /// Returns BackupPlan details for the specified BackupPlanId. /// The details are the body of a backup plan in JSON format, in addition to plan metadata. /// /// Container for the necessary parameters to execute the GetBackupPlan service method. /// /// The response from the GetBackupPlan service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupPlan Operation public virtual GetBackupPlanResponse GetBackupPlan(GetBackupPlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupPlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns BackupPlan details for the specified BackupPlanId. /// The details are the body of a backup plan in JSON format, in addition to plan metadata. /// /// Container for the necessary parameters to execute the GetBackupPlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBackupPlan service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupPlan Operation public virtual Task GetBackupPlanAsync(GetBackupPlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupPlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBackupPlanFromJSON /// /// Returns a valid JSON document specifying a backup plan or an error. /// /// Container for the necessary parameters to execute the GetBackupPlanFromJSON service method. /// /// The response from the GetBackupPlanFromJSON service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupPlanFromJSON Operation public virtual GetBackupPlanFromJSONResponse GetBackupPlanFromJSON(GetBackupPlanFromJSONRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupPlanFromJSONRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupPlanFromJSONResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a valid JSON document specifying a backup plan or an error. /// /// Container for the necessary parameters to execute the GetBackupPlanFromJSON service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBackupPlanFromJSON service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupPlanFromJSON Operation public virtual Task GetBackupPlanFromJSONAsync(GetBackupPlanFromJSONRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupPlanFromJSONRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupPlanFromJSONResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBackupPlanFromTemplate /// /// Returns the template specified by its templateId as a backup plan. /// /// Container for the necessary parameters to execute the GetBackupPlanFromTemplate service method. /// /// The response from the GetBackupPlanFromTemplate service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupPlanFromTemplate Operation public virtual GetBackupPlanFromTemplateResponse GetBackupPlanFromTemplate(GetBackupPlanFromTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupPlanFromTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupPlanFromTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the template specified by its templateId as a backup plan. /// /// Container for the necessary parameters to execute the GetBackupPlanFromTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBackupPlanFromTemplate service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupPlanFromTemplate Operation public virtual Task GetBackupPlanFromTemplateAsync(GetBackupPlanFromTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupPlanFromTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupPlanFromTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBackupSelection /// /// Returns selection metadata and a document in JSON format that specifies a list of /// resources that are associated with a backup plan. /// /// Container for the necessary parameters to execute the GetBackupSelection service method. /// /// The response from the GetBackupSelection service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupSelection Operation public virtual GetBackupSelectionResponse GetBackupSelection(GetBackupSelectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupSelectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupSelectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns selection metadata and a document in JSON format that specifies a list of /// resources that are associated with a backup plan. /// /// Container for the necessary parameters to execute the GetBackupSelection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBackupSelection service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupSelection Operation public virtual Task GetBackupSelectionAsync(GetBackupSelectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupSelectionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupSelectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBackupVaultAccessPolicy /// /// Returns the access policy document that is associated with the named backup vault. /// /// Container for the necessary parameters to execute the GetBackupVaultAccessPolicy service method. /// /// The response from the GetBackupVaultAccessPolicy service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupVaultAccessPolicy Operation public virtual GetBackupVaultAccessPolicyResponse GetBackupVaultAccessPolicy(GetBackupVaultAccessPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupVaultAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupVaultAccessPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the access policy document that is associated with the named backup vault. /// /// Container for the necessary parameters to execute the GetBackupVaultAccessPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBackupVaultAccessPolicy service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupVaultAccessPolicy Operation public virtual Task GetBackupVaultAccessPolicyAsync(GetBackupVaultAccessPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupVaultAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupVaultAccessPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBackupVaultNotifications /// /// Returns event notifications for the specified backup vault. /// /// Container for the necessary parameters to execute the GetBackupVaultNotifications service method. /// /// The response from the GetBackupVaultNotifications service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupVaultNotifications Operation public virtual GetBackupVaultNotificationsResponse GetBackupVaultNotifications(GetBackupVaultNotificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupVaultNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupVaultNotificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns event notifications for the specified backup vault. /// /// Container for the necessary parameters to execute the GetBackupVaultNotifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBackupVaultNotifications service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetBackupVaultNotifications Operation public virtual Task GetBackupVaultNotificationsAsync(GetBackupVaultNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackupVaultNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackupVaultNotificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLegalHold /// /// 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. /// /// Container for the necessary parameters to execute the GetLegalHold service method. /// /// The response from the GetLegalHold service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetLegalHold Operation public virtual GetLegalHoldResponse GetLegalHold(GetLegalHoldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLegalHoldRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLegalHoldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the GetLegalHold service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLegalHold service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetLegalHold Operation public virtual Task GetLegalHoldAsync(GetLegalHoldRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLegalHoldRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLegalHoldResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRecoveryPointRestoreMetadata /// /// Returns a set of metadata key-value pairs that were used to create the backup. /// /// Container for the necessary parameters to execute the GetRecoveryPointRestoreMetadata service method. /// /// The response from the GetRecoveryPointRestoreMetadata service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetRecoveryPointRestoreMetadata Operation public virtual GetRecoveryPointRestoreMetadataResponse GetRecoveryPointRestoreMetadata(GetRecoveryPointRestoreMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRecoveryPointRestoreMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRecoveryPointRestoreMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a set of metadata key-value pairs that were used to create the backup. /// /// Container for the necessary parameters to execute the GetRecoveryPointRestoreMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRecoveryPointRestoreMetadata service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetRecoveryPointRestoreMetadata Operation public virtual Task GetRecoveryPointRestoreMetadataAsync(GetRecoveryPointRestoreMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRecoveryPointRestoreMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRecoveryPointRestoreMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSupportedResourceTypes /// /// Returns the Amazon Web Services resource types supported by Backup. /// /// Container for the necessary parameters to execute the GetSupportedResourceTypes service method. /// /// The response from the GetSupportedResourceTypes service method, as returned by Backup. /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetSupportedResourceTypes Operation public virtual GetSupportedResourceTypesResponse GetSupportedResourceTypes(GetSupportedResourceTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSupportedResourceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSupportedResourceTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the Amazon Web Services resource types supported by Backup. /// /// Container for the necessary parameters to execute the GetSupportedResourceTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSupportedResourceTypes service method, as returned by Backup. /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for GetSupportedResourceTypes Operation public virtual Task GetSupportedResourceTypesAsync(GetSupportedResourceTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSupportedResourceTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSupportedResourceTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListBackupJobs /// /// 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. /// /// Container for the necessary parameters to execute the ListBackupJobs service method. /// /// The response from the ListBackupJobs service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupJobs Operation public virtual ListBackupJobsResponse ListBackupJobs(ListBackupJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the ListBackupJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBackupJobs service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupJobs Operation public virtual Task ListBackupJobsAsync(ListBackupJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListBackupPlans /// /// 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. /// /// Container for the necessary parameters to execute the ListBackupPlans service method. /// /// The response from the ListBackupPlans service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupPlans Operation public virtual ListBackupPlansResponse ListBackupPlans(ListBackupPlansRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupPlansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupPlansResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the ListBackupPlans service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBackupPlans service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupPlans Operation public virtual Task ListBackupPlansAsync(ListBackupPlansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupPlansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupPlansResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListBackupPlanTemplates /// /// Returns metadata of your saved backup plan templates, including the template ID, name, /// and the creation and deletion dates. /// /// Container for the necessary parameters to execute the ListBackupPlanTemplates service method. /// /// The response from the ListBackupPlanTemplates service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupPlanTemplates Operation public virtual ListBackupPlanTemplatesResponse ListBackupPlanTemplates(ListBackupPlanTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupPlanTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupPlanTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns metadata of your saved backup plan templates, including the template ID, name, /// and the creation and deletion dates. /// /// Container for the necessary parameters to execute the ListBackupPlanTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBackupPlanTemplates service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupPlanTemplates Operation public virtual Task ListBackupPlanTemplatesAsync(ListBackupPlanTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupPlanTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupPlanTemplatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListBackupPlanVersions /// /// Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), /// backup plan IDs, creation and deletion dates, plan names, and version IDs. /// /// Container for the necessary parameters to execute the ListBackupPlanVersions service method. /// /// The response from the ListBackupPlanVersions service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupPlanVersions Operation public virtual ListBackupPlanVersionsResponse ListBackupPlanVersions(ListBackupPlanVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupPlanVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupPlanVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), /// backup plan IDs, creation and deletion dates, plan names, and version IDs. /// /// Container for the necessary parameters to execute the ListBackupPlanVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBackupPlanVersions service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupPlanVersions Operation public virtual Task ListBackupPlanVersionsAsync(ListBackupPlanVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupPlanVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupPlanVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListBackupSelections /// /// Returns an array containing metadata of the resources associated with the target backup /// plan. /// /// Container for the necessary parameters to execute the ListBackupSelections service method. /// /// The response from the ListBackupSelections service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupSelections Operation public virtual ListBackupSelectionsResponse ListBackupSelections(ListBackupSelectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupSelectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupSelectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns an array containing metadata of the resources associated with the target backup /// plan. /// /// Container for the necessary parameters to execute the ListBackupSelections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBackupSelections service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupSelections Operation public virtual Task ListBackupSelectionsAsync(ListBackupSelectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupSelectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupSelectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListBackupVaults /// /// Returns a list of recovery point storage containers along with information about them. /// /// Container for the necessary parameters to execute the ListBackupVaults service method. /// /// The response from the ListBackupVaults service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupVaults Operation public virtual ListBackupVaultsResponse ListBackupVaults(ListBackupVaultsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupVaultsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupVaultsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of recovery point storage containers along with information about them. /// /// Container for the necessary parameters to execute the ListBackupVaults service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBackupVaults service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListBackupVaults Operation public virtual Task ListBackupVaultsAsync(ListBackupVaultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackupVaultsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackupVaultsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCopyJobs /// /// Returns metadata about your copy jobs. /// /// Container for the necessary parameters to execute the ListCopyJobs service method. /// /// The response from the ListCopyJobs service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListCopyJobs Operation public virtual ListCopyJobsResponse ListCopyJobs(ListCopyJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCopyJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCopyJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns metadata about your copy jobs. /// /// Container for the necessary parameters to execute the ListCopyJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCopyJobs service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListCopyJobs Operation public virtual Task ListCopyJobsAsync(ListCopyJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCopyJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCopyJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListFrameworks /// /// Returns a list of all frameworks for an Amazon Web Services account and Amazon Web /// Services Region. /// /// Container for the necessary parameters to execute the ListFrameworks service method. /// /// The response from the ListFrameworks service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListFrameworks Operation public virtual ListFrameworksResponse ListFrameworks(ListFrameworksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFrameworksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFrameworksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of all frameworks for an Amazon Web Services account and Amazon Web /// Services Region. /// /// Container for the necessary parameters to execute the ListFrameworks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListFrameworks service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListFrameworks Operation public virtual Task ListFrameworksAsync(ListFrameworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListFrameworksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFrameworksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListLegalHolds /// /// This action returns metadata about active and previous legal holds. /// /// Container for the necessary parameters to execute the ListLegalHolds service method. /// /// The response from the ListLegalHolds service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListLegalHolds Operation public virtual ListLegalHoldsResponse ListLegalHolds(ListLegalHoldsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLegalHoldsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLegalHoldsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This action returns metadata about active and previous legal holds. /// /// Container for the necessary parameters to execute the ListLegalHolds service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLegalHolds service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListLegalHolds Operation public virtual Task ListLegalHoldsAsync(ListLegalHoldsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLegalHoldsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLegalHoldsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListProtectedResources /// /// 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. /// /// Container for the necessary parameters to execute the ListProtectedResources service method. /// /// The response from the ListProtectedResources service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListProtectedResources Operation public virtual ListProtectedResourcesResponse ListProtectedResources(ListProtectedResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProtectedResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProtectedResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the ListProtectedResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListProtectedResources service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListProtectedResources Operation public virtual Task ListProtectedResourcesAsync(ListProtectedResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListProtectedResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProtectedResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRecoveryPointsByBackupVault /// /// Returns detailed information about the recovery points stored in a backup vault. /// /// Container for the necessary parameters to execute the ListRecoveryPointsByBackupVault service method. /// /// The response from the ListRecoveryPointsByBackupVault service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListRecoveryPointsByBackupVault Operation public virtual ListRecoveryPointsByBackupVaultResponse ListRecoveryPointsByBackupVault(ListRecoveryPointsByBackupVaultRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecoveryPointsByBackupVaultRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecoveryPointsByBackupVaultResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns detailed information about the recovery points stored in a backup vault. /// /// Container for the necessary parameters to execute the ListRecoveryPointsByBackupVault service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRecoveryPointsByBackupVault service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListRecoveryPointsByBackupVault Operation public virtual Task ListRecoveryPointsByBackupVaultAsync(ListRecoveryPointsByBackupVaultRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecoveryPointsByBackupVaultRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecoveryPointsByBackupVaultResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRecoveryPointsByLegalHold /// /// This action returns recovery point ARNs (Amazon Resource Names) of the specified legal /// hold. /// /// Container for the necessary parameters to execute the ListRecoveryPointsByLegalHold service method. /// /// The response from the ListRecoveryPointsByLegalHold service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListRecoveryPointsByLegalHold Operation public virtual ListRecoveryPointsByLegalHoldResponse ListRecoveryPointsByLegalHold(ListRecoveryPointsByLegalHoldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecoveryPointsByLegalHoldRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecoveryPointsByLegalHoldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This action returns recovery point ARNs (Amazon Resource Names) of the specified legal /// hold. /// /// Container for the necessary parameters to execute the ListRecoveryPointsByLegalHold service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRecoveryPointsByLegalHold service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListRecoveryPointsByLegalHold Operation public virtual Task ListRecoveryPointsByLegalHoldAsync(ListRecoveryPointsByLegalHoldRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecoveryPointsByLegalHoldRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecoveryPointsByLegalHoldResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRecoveryPointsByResource /// /// 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. /// /// /// /// Container for the necessary parameters to execute the ListRecoveryPointsByResource service method. /// /// The response from the ListRecoveryPointsByResource service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListRecoveryPointsByResource Operation public virtual ListRecoveryPointsByResourceResponse ListRecoveryPointsByResource(ListRecoveryPointsByResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecoveryPointsByResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecoveryPointsByResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the ListRecoveryPointsByResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRecoveryPointsByResource service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListRecoveryPointsByResource Operation public virtual Task ListRecoveryPointsByResourceAsync(ListRecoveryPointsByResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecoveryPointsByResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecoveryPointsByResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListReportJobs /// /// Returns details about your report jobs. /// /// Container for the necessary parameters to execute the ListReportJobs service method. /// /// The response from the ListReportJobs service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListReportJobs Operation public virtual ListReportJobsResponse ListReportJobs(ListReportJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns details about your report jobs. /// /// Container for the necessary parameters to execute the ListReportJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReportJobs service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListReportJobs Operation public virtual Task ListReportJobsAsync(ListReportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListReportPlans /// /// Returns a list of your report plans. For detailed information about a single report /// plan, use DescribeReportPlan. /// /// Container for the necessary parameters to execute the ListReportPlans service method. /// /// The response from the ListReportPlans service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListReportPlans Operation public virtual ListReportPlansResponse ListReportPlans(ListReportPlansRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportPlansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportPlansResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of your report plans. For detailed information about a single report /// plan, use DescribeReportPlan. /// /// Container for the necessary parameters to execute the ListReportPlans service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListReportPlans service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListReportPlans Operation public virtual Task ListReportPlansAsync(ListReportPlansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListReportPlansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReportPlansResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRestoreJobs /// /// Returns a list of jobs that Backup initiated to restore a saved resource, including /// details about the recovery process. /// /// Container for the necessary parameters to execute the ListRestoreJobs service method. /// /// The response from the ListRestoreJobs service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListRestoreJobs Operation public virtual ListRestoreJobsResponse ListRestoreJobs(ListRestoreJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRestoreJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRestoreJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of jobs that Backup initiated to restore a saved resource, including /// details about the recovery process. /// /// Container for the necessary parameters to execute the ListRestoreJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRestoreJobs service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListRestoreJobs Operation public virtual Task ListRestoreJobsAsync(ListRestoreJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRestoreJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRestoreJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTags /// /// 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. /// /// /// Container for the necessary parameters to execute the ListTags service method. /// /// The response from the ListTags service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListTags Operation public virtual ListTagsResponse ListTags(ListTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the ListTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTags service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for ListTags Operation public virtual Task ListTagsAsync(ListTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutBackupVaultAccessPolicy /// /// 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. /// /// Container for the necessary parameters to execute the PutBackupVaultAccessPolicy service method. /// /// The response from the PutBackupVaultAccessPolicy service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for PutBackupVaultAccessPolicy Operation public virtual PutBackupVaultAccessPolicyResponse PutBackupVaultAccessPolicy(PutBackupVaultAccessPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutBackupVaultAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutBackupVaultAccessPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the PutBackupVaultAccessPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutBackupVaultAccessPolicy service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for PutBackupVaultAccessPolicy Operation public virtual Task PutBackupVaultAccessPolicyAsync(PutBackupVaultAccessPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutBackupVaultAccessPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutBackupVaultAccessPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutBackupVaultLockConfiguration /// /// 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. /// /// /// /// Container for the necessary parameters to execute the PutBackupVaultLockConfiguration service method. /// /// The response from the PutBackupVaultLockConfiguration service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for PutBackupVaultLockConfiguration Operation public virtual PutBackupVaultLockConfigurationResponse PutBackupVaultLockConfiguration(PutBackupVaultLockConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutBackupVaultLockConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutBackupVaultLockConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the PutBackupVaultLockConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutBackupVaultLockConfiguration service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for PutBackupVaultLockConfiguration Operation public virtual Task PutBackupVaultLockConfigurationAsync(PutBackupVaultLockConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutBackupVaultLockConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutBackupVaultLockConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutBackupVaultNotifications /// /// Turns on notifications on a backup vault for the specified topic and events. /// /// Container for the necessary parameters to execute the PutBackupVaultNotifications service method. /// /// The response from the PutBackupVaultNotifications service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for PutBackupVaultNotifications Operation public virtual PutBackupVaultNotificationsResponse PutBackupVaultNotifications(PutBackupVaultNotificationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutBackupVaultNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutBackupVaultNotificationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Turns on notifications on a backup vault for the specified topic and events. /// /// Container for the necessary parameters to execute the PutBackupVaultNotifications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutBackupVaultNotifications service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for PutBackupVaultNotifications Operation public virtual Task PutBackupVaultNotificationsAsync(PutBackupVaultNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutBackupVaultNotificationsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutBackupVaultNotificationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartBackupJob /// /// Starts an on-demand backup job for the specified resource. /// /// Container for the necessary parameters to execute the StartBackupJob service method. /// /// The response from the StartBackupJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StartBackupJob Operation public virtual StartBackupJobResponse StartBackupJob(StartBackupJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartBackupJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBackupJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts an on-demand backup job for the specified resource. /// /// Container for the necessary parameters to execute the StartBackupJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartBackupJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StartBackupJob Operation public virtual Task StartBackupJobAsync(StartBackupJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartBackupJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBackupJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartCopyJob /// /// Starts a job to create a one-time copy of the specified resource. /// /// /// /// Does not support continuous backups. /// /// /// Container for the necessary parameters to execute the StartCopyJob service method. /// /// The response from the StartCopyJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StartCopyJob Operation public virtual StartCopyJobResponse StartCopyJob(StartCopyJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartCopyJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartCopyJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts a job to create a one-time copy of the specified resource. /// /// /// /// Does not support continuous backups. /// /// /// Container for the necessary parameters to execute the StartCopyJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartCopyJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StartCopyJob Operation public virtual Task StartCopyJobAsync(StartCopyJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartCopyJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartCopyJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartReportJob /// /// Starts an on-demand report job for the specified report plan. /// /// Container for the necessary parameters to execute the StartReportJob service method. /// /// The response from the StartReportJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StartReportJob Operation public virtual StartReportJobResponse StartReportJob(StartReportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartReportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts an on-demand report job for the specified report plan. /// /// Container for the necessary parameters to execute the StartReportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartReportJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StartReportJob Operation public virtual Task StartReportJobAsync(StartReportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartReportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReportJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartRestoreJob /// /// Recovers the saved resource identified by an Amazon Resource Name (ARN). /// /// Container for the necessary parameters to execute the StartRestoreJob service method. /// /// The response from the StartRestoreJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StartRestoreJob Operation public virtual StartRestoreJobResponse StartRestoreJob(StartRestoreJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartRestoreJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRestoreJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Recovers the saved resource identified by an Amazon Resource Name (ARN). /// /// Container for the necessary parameters to execute the StartRestoreJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartRestoreJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StartRestoreJob Operation public virtual Task StartRestoreJobAsync(StartRestoreJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartRestoreJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRestoreJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopBackupJob /// /// 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. /// /// /// Container for the necessary parameters to execute the StopBackupJob service method. /// /// The response from the StopBackupJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StopBackupJob Operation public virtual StopBackupJobResponse StopBackupJob(StopBackupJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopBackupJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBackupJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the StopBackupJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopBackupJob service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for StopBackupJob Operation public virtual Task StopBackupJobAsync(StopBackupJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopBackupJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBackupJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource /// /// Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault /// identified by an Amazon Resource Name (ARN). /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Assigns a set of key-value pairs to a recovery point, backup plan, or backup vault /// identified by an Amazon Resource Name (ARN). /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource /// /// Removes a set of key-value pairs from a recovery point, backup plan, or backup vault /// identified by an Amazon Resource Name (ARN) /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes a set of key-value pairs from a recovery point, backup plan, or backup vault /// identified by an Amazon Resource Name (ARN) /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateBackupPlan /// /// 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. /// /// Container for the necessary parameters to execute the UpdateBackupPlan service method. /// /// The response from the UpdateBackupPlan service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateBackupPlan Operation public virtual UpdateBackupPlanResponse UpdateBackupPlan(UpdateBackupPlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackupPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackupPlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the UpdateBackupPlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateBackupPlan service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateBackupPlan Operation public virtual Task UpdateBackupPlanAsync(UpdateBackupPlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackupPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackupPlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateFramework /// /// Updates an existing framework identified by its FrameworkName with the /// input document in JSON format. /// /// Container for the necessary parameters to execute the UpdateFramework service method. /// /// The response from the UpdateFramework service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Backup can't perform the action that you requested until it finishes performing a /// previous action. Try again later. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateFramework Operation public virtual UpdateFrameworkResponse UpdateFramework(UpdateFrameworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFrameworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing framework identified by its FrameworkName with the /// input document in JSON format. /// /// Container for the necessary parameters to execute the UpdateFramework service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateFramework service method, as returned by Backup. /// /// The required resource already exists. /// /// /// Backup can't perform the action that you requested until it finishes performing a /// previous action. Try again later. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// A limit in the request has been exceeded; for example, a maximum number of items allowed /// in a request. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateFramework Operation public virtual Task UpdateFrameworkAsync(UpdateFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFrameworkRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFrameworkResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateGlobalSettings /// /// 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. /// /// Container for the necessary parameters to execute the UpdateGlobalSettings service method. /// /// The response from the UpdateGlobalSettings service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateGlobalSettings Operation public virtual UpdateGlobalSettingsResponse UpdateGlobalSettings(UpdateGlobalSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGlobalSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGlobalSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the UpdateGlobalSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateGlobalSettings service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateGlobalSettings Operation public virtual Task UpdateGlobalSettingsAsync(UpdateGlobalSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGlobalSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGlobalSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRecoveryPointLifecycle /// /// 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. /// /// /// Container for the necessary parameters to execute the UpdateRecoveryPointLifecycle service method. /// /// The response from the UpdateRecoveryPointLifecycle service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateRecoveryPointLifecycle Operation public virtual UpdateRecoveryPointLifecycleResponse UpdateRecoveryPointLifecycle(UpdateRecoveryPointLifecycleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecoveryPointLifecycleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecoveryPointLifecycleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the UpdateRecoveryPointLifecycle service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRecoveryPointLifecycle service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that something is wrong with the input to the request. For example, a parameter /// is of the wrong type. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateRecoveryPointLifecycle Operation public virtual Task UpdateRecoveryPointLifecycleAsync(UpdateRecoveryPointLifecycleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecoveryPointLifecycleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecoveryPointLifecycleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRegionSettings /// /// 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. /// /// Container for the necessary parameters to execute the UpdateRegionSettings service method. /// /// The response from the UpdateRegionSettings service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateRegionSettings Operation public virtual UpdateRegionSettingsResponse UpdateRegionSettings(UpdateRegionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRegionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRegionSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the UpdateRegionSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRegionSettings service method, as returned by Backup. /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateRegionSettings Operation public virtual Task UpdateRegionSettingsAsync(UpdateRegionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRegionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRegionSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateReportPlan /// /// Updates an existing report plan identified by its ReportPlanName with /// the input document in JSON format. /// /// Container for the necessary parameters to execute the UpdateReportPlan service method. /// /// The response from the UpdateReportPlan service method, as returned by Backup. /// /// Backup can't perform the action that you requested until it finishes performing a /// previous action. Try again later. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateReportPlan Operation public virtual UpdateReportPlanResponse UpdateReportPlan(UpdateReportPlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReportPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReportPlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates an existing report plan identified by its ReportPlanName with /// the input document in JSON format. /// /// Container for the necessary parameters to execute the UpdateReportPlan service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateReportPlan service method, as returned by Backup. /// /// Backup can't perform the action that you requested until it finishes performing a /// previous action. Try again later. /// /// /// Indicates that something is wrong with a parameter's value. For example, the value /// is out of range. /// /// /// Indicates that a required parameter is missing. /// /// /// A resource that is required for the action doesn't exist. /// /// /// The request failed due to a temporary failure of the server. /// /// REST API Reference for UpdateReportPlan Operation public virtual Task UpdateReportPlanAsync(UpdateReportPlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReportPlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReportPlanResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }