/* * 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 fsx-2018-03-01.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.FSx.Model; namespace Amazon.FSx { /// <summary> /// Interface for accessing FSx /// /// Amazon FSx is a fully managed service that makes it easy for storage and application /// administrators to launch and use shared file storage. /// </summary> public partial interface IAmazonFSx : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> IFSxPaginatorFactory Paginators { get; } #region AssociateFileSystemAliases /// <summary> /// Use this action to associate one or more Domain Name Server (DNS) aliases with an /// existing Amazon FSx for Windows File Server file system. A file system can have a /// maximum of 50 DNS aliases associated with it at any one time. If you try to associate /// a DNS alias that is already associated with the file system, FSx takes no action on /// that alias in the request. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html">Working /// with DNS Aliases</a> and <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/walkthrough05-file-system-custom-CNAME.html">Walkthrough /// 5: Using DNS aliases to access your file system</a>, including additional steps you /// must take to be able to access your file system using a DNS alias. /// /// /// <para> /// The system response shows the DNS aliases that Amazon FSx is attempting to associate /// with the file system. Use the API operation to monitor the status of the aliases Amazon /// FSx is associating with the file system. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFileSystemAliases service method.</param> /// /// <returns>The response from the AssociateFileSystemAliases service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliases">REST API Reference for AssociateFileSystemAliases Operation</seealso> AssociateFileSystemAliasesResponse AssociateFileSystemAliases(AssociateFileSystemAliasesRequest request); /// <summary> /// Use this action to associate one or more Domain Name Server (DNS) aliases with an /// existing Amazon FSx for Windows File Server file system. A file system can have a /// maximum of 50 DNS aliases associated with it at any one time. If you try to associate /// a DNS alias that is already associated with the file system, FSx takes no action on /// that alias in the request. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html">Working /// with DNS Aliases</a> and <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/walkthrough05-file-system-custom-CNAME.html">Walkthrough /// 5: Using DNS aliases to access your file system</a>, including additional steps you /// must take to be able to access your file system using a DNS alias. /// /// /// <para> /// The system response shows the DNS aliases that Amazon FSx is attempting to associate /// with the file system. Use the API operation to monitor the status of the aliases Amazon /// FSx is associating with the file system. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFileSystemAliases service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateFileSystemAliases service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliases">REST API Reference for AssociateFileSystemAliases Operation</seealso> Task<AssociateFileSystemAliasesResponse> AssociateFileSystemAliasesAsync(AssociateFileSystemAliasesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CancelDataRepositoryTask /// <summary> /// Cancels an existing Amazon FSx for Lustre data repository task if that task is in /// either the <code>PENDING</code> or <code>EXECUTING</code> state. When you cancel a /// task, Amazon FSx does the following. /// /// <ul> <li> /// <para> /// Any files that FSx has already exported are not reverted. /// </para> /// </li> <li> /// <para> /// FSx continues to export any files that are "in-flight" when the cancel operation is /// received. /// </para> /// </li> <li> /// <para> /// FSx does not export any files that have not yet been exported. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CancelDataRepositoryTask service method.</param> /// /// <returns>The response from the CancelDataRepositoryTask service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryTaskEndedException"> /// The data repository task could not be canceled because the task has already ended. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryTaskNotFoundException"> /// The data repository task or tasks you specified could not be found. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CancelDataRepositoryTask">REST API Reference for CancelDataRepositoryTask Operation</seealso> CancelDataRepositoryTaskResponse CancelDataRepositoryTask(CancelDataRepositoryTaskRequest request); /// <summary> /// Cancels an existing Amazon FSx for Lustre data repository task if that task is in /// either the <code>PENDING</code> or <code>EXECUTING</code> state. When you cancel a /// task, Amazon FSx does the following. /// /// <ul> <li> /// <para> /// Any files that FSx has already exported are not reverted. /// </para> /// </li> <li> /// <para> /// FSx continues to export any files that are "in-flight" when the cancel operation is /// received. /// </para> /// </li> <li> /// <para> /// FSx does not export any files that have not yet been exported. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CancelDataRepositoryTask service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CancelDataRepositoryTask service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryTaskEndedException"> /// The data repository task could not be canceled because the task has already ended. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryTaskNotFoundException"> /// The data repository task or tasks you specified could not be found. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CancelDataRepositoryTask">REST API Reference for CancelDataRepositoryTask Operation</seealso> Task<CancelDataRepositoryTaskResponse> CancelDataRepositoryTaskAsync(CancelDataRepositoryTaskRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CopyBackup /// <summary> /// Copies an existing backup within the same Amazon Web Services account to another Amazon /// Web Services Region (cross-Region copy) or within the same Amazon Web Services Region /// (in-Region copy). You can have up to five backup copy requests in progress to a single /// destination Region per account. /// /// /// <para> /// You can use cross-Region backup copies for cross-Region disaster recovery. You can /// periodically take backups and copy them to another Region so that in the event of /// a disaster in the primary Region, you can restore from backup and recover availability /// quickly in the other Region. You can make cross-Region copies only within your Amazon /// Web Services partition. A partition is a grouping of Regions. Amazon Web Services /// currently has three partitions: <code>aws</code> (Standard Regions), <code>aws-cn</code> /// (China Regions), and <code>aws-us-gov</code> (Amazon Web Services GovCloud [US] Regions). /// </para> /// /// <para> /// You can also use backup copies to clone your file dataset to another Region or within /// the same Region. /// </para> /// /// <para> /// You can use the <code>SourceRegion</code> parameter to specify the Amazon Web Services /// Region from which the backup will be copied. For example, if you make the call from /// the <code>us-west-1</code> Region and want to copy a backup from the <code>us-east-2</code> /// Region, you specify <code>us-east-2</code> in the <code>SourceRegion</code> parameter /// to make a cross-Region copy. If you don't specify a Region, the backup copy is created /// in the same Region where the request is sent from (in-Region copy). /// </para> /// /// <para> /// For more information about creating backup copies, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html#copy-backups"> /// Copying backups</a> in the <i>Amazon FSx for Windows User Guide</i>, <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html#copy-backups">Copying /// backups</a> in the <i>Amazon FSx for Lustre User Guide</i>, and <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/using-backups.html#copy-backups">Copying /// backups</a> in the <i>Amazon FSx for OpenZFS User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyBackup service method.</param> /// /// <returns>The response from the CopyBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleRegionForMultiAZException"> /// Amazon FSx doesn't support Multi-AZ Windows File Server copy backup in the destination /// Region, so the copied backup can't be restored. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidDestinationKmsKeyException"> /// The Key Management Service (KMS) key of the destination backup is not valid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidRegionException"> /// The Region provided for <code>SourceRegion</code> is not valid or is in a different /// Amazon Web Services partition. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidSourceKmsKeyException"> /// The Key Management Service (KMS) key of the source backup is not valid. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.SourceBackupUnavailableException"> /// The request was rejected because the lifecycle status of the source backup isn't <code>AVAILABLE</code>. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackup">REST API Reference for CopyBackup Operation</seealso> CopyBackupResponse CopyBackup(CopyBackupRequest request); /// <summary> /// Copies an existing backup within the same Amazon Web Services account to another Amazon /// Web Services Region (cross-Region copy) or within the same Amazon Web Services Region /// (in-Region copy). You can have up to five backup copy requests in progress to a single /// destination Region per account. /// /// /// <para> /// You can use cross-Region backup copies for cross-Region disaster recovery. You can /// periodically take backups and copy them to another Region so that in the event of /// a disaster in the primary Region, you can restore from backup and recover availability /// quickly in the other Region. You can make cross-Region copies only within your Amazon /// Web Services partition. A partition is a grouping of Regions. Amazon Web Services /// currently has three partitions: <code>aws</code> (Standard Regions), <code>aws-cn</code> /// (China Regions), and <code>aws-us-gov</code> (Amazon Web Services GovCloud [US] Regions). /// </para> /// /// <para> /// You can also use backup copies to clone your file dataset to another Region or within /// the same Region. /// </para> /// /// <para> /// You can use the <code>SourceRegion</code> parameter to specify the Amazon Web Services /// Region from which the backup will be copied. For example, if you make the call from /// the <code>us-west-1</code> Region and want to copy a backup from the <code>us-east-2</code> /// Region, you specify <code>us-east-2</code> in the <code>SourceRegion</code> parameter /// to make a cross-Region copy. If you don't specify a Region, the backup copy is created /// in the same Region where the request is sent from (in-Region copy). /// </para> /// /// <para> /// For more information about creating backup copies, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html#copy-backups"> /// Copying backups</a> in the <i>Amazon FSx for Windows User Guide</i>, <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html#copy-backups">Copying /// backups</a> in the <i>Amazon FSx for Lustre User Guide</i>, and <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/using-backups.html#copy-backups">Copying /// backups</a> in the <i>Amazon FSx for OpenZFS User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyBackup service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CopyBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleRegionForMultiAZException"> /// Amazon FSx doesn't support Multi-AZ Windows File Server copy backup in the destination /// Region, so the copied backup can't be restored. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidDestinationKmsKeyException"> /// The Key Management Service (KMS) key of the destination backup is not valid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidRegionException"> /// The Region provided for <code>SourceRegion</code> is not valid or is in a different /// Amazon Web Services partition. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidSourceKmsKeyException"> /// The Key Management Service (KMS) key of the source backup is not valid. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.SourceBackupUnavailableException"> /// The request was rejected because the lifecycle status of the source backup isn't <code>AVAILABLE</code>. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackup">REST API Reference for CopyBackup Operation</seealso> Task<CopyBackupResponse> CopyBackupAsync(CopyBackupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackup /// <summary> /// Creates a backup of an existing Amazon FSx for Windows File Server file system, Amazon /// FSx for Lustre file system, Amazon FSx for NetApp ONTAP volume, or Amazon FSx for /// OpenZFS file system. We recommend creating regular backups so that you can restore /// a file system or volume from a backup if an issue arises with the original file system /// or volume. /// /// /// <para> /// For Amazon FSx for Lustre file systems, you can create a backup only for file systems /// that have the following configuration: /// </para> /// <ul> <li> /// <para> /// A Persistent deployment type /// </para> /// </li> <li> /// <para> /// Are <i>not</i> linked to a data repository /// </para> /// </li> </ul> /// <para> /// For more information about backups, see the following: /// </para> /// <ul> <li> /// <para> /// For Amazon FSx for Lustre, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html">Working /// with FSx for Lustre backups</a>. /// </para> /// </li> <li> /// <para> /// For Amazon FSx for Windows, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html">Working /// with FSx for Windows backups</a>. /// </para> /// </li> <li> /// <para> /// For Amazon FSx for NetApp ONTAP, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/using-backups.html">Working /// with FSx for NetApp ONTAP backups</a>. /// </para> /// </li> <li> /// <para> /// For Amazon FSx for OpenZFS, see <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/using-backups.html">Working /// with FSx for OpenZFS backups</a>. /// </para> /// </li> </ul> /// <para> /// If a backup with the specified client request token exists and the parameters match, /// this operation returns the description of the existing backup. If a backup with the /// specified client request token exists and the parameters don't match, this operation /// returns <code>IncompatibleParameterError</code>. If a backup with the specified client /// request token doesn't exist, <code>CreateBackup</code> does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new Amazon FSx backup with an assigned ID, and an initial lifecycle state /// of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the backup. /// </para> /// </li> </ul> /// <para> /// By using the idempotent operation, you can retry a <code>CreateBackup</code> operation /// without the risk of creating an extra backup. This approach can be useful when an /// initial call fails in a way that makes it unclear whether a backup was created. If /// you use the same client request token and the initial call created a backup, the operation /// returns a successful result because all the parameters are the same. /// </para> /// /// <para> /// The <code>CreateBackup</code> operation returns while the backup's lifecycle state /// is still <code>CREATING</code>. You can check the backup creation status by calling /// the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeBackups.html">DescribeBackups</a> /// operation, which returns the backup state along with other information. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackup service method.</param> /// /// <returns>The response from the CreateBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupInProgressException"> /// Another backup is already under way. Wait for completion before initiating additional /// backups of this file system. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateBackup">REST API Reference for CreateBackup Operation</seealso> CreateBackupResponse CreateBackup(CreateBackupRequest request); /// <summary> /// Creates a backup of an existing Amazon FSx for Windows File Server file system, Amazon /// FSx for Lustre file system, Amazon FSx for NetApp ONTAP volume, or Amazon FSx for /// OpenZFS file system. We recommend creating regular backups so that you can restore /// a file system or volume from a backup if an issue arises with the original file system /// or volume. /// /// /// <para> /// For Amazon FSx for Lustre file systems, you can create a backup only for file systems /// that have the following configuration: /// </para> /// <ul> <li> /// <para> /// A Persistent deployment type /// </para> /// </li> <li> /// <para> /// Are <i>not</i> linked to a data repository /// </para> /// </li> </ul> /// <para> /// For more information about backups, see the following: /// </para> /// <ul> <li> /// <para> /// For Amazon FSx for Lustre, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html">Working /// with FSx for Lustre backups</a>. /// </para> /// </li> <li> /// <para> /// For Amazon FSx for Windows, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html">Working /// with FSx for Windows backups</a>. /// </para> /// </li> <li> /// <para> /// For Amazon FSx for NetApp ONTAP, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/using-backups.html">Working /// with FSx for NetApp ONTAP backups</a>. /// </para> /// </li> <li> /// <para> /// For Amazon FSx for OpenZFS, see <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/using-backups.html">Working /// with FSx for OpenZFS backups</a>. /// </para> /// </li> </ul> /// <para> /// If a backup with the specified client request token exists and the parameters match, /// this operation returns the description of the existing backup. If a backup with the /// specified client request token exists and the parameters don't match, this operation /// returns <code>IncompatibleParameterError</code>. If a backup with the specified client /// request token doesn't exist, <code>CreateBackup</code> does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new Amazon FSx backup with an assigned ID, and an initial lifecycle state /// of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the backup. /// </para> /// </li> </ul> /// <para> /// By using the idempotent operation, you can retry a <code>CreateBackup</code> operation /// without the risk of creating an extra backup. This approach can be useful when an /// initial call fails in a way that makes it unclear whether a backup was created. If /// you use the same client request token and the initial call created a backup, the operation /// returns a successful result because all the parameters are the same. /// </para> /// /// <para> /// The <code>CreateBackup</code> operation returns while the backup's lifecycle state /// is still <code>CREATING</code>. You can check the backup creation status by calling /// the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeBackups.html">DescribeBackups</a> /// operation, which returns the backup state along with other information. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackup service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupInProgressException"> /// Another backup is already under way. Wait for completion before initiating additional /// backups of this file system. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateBackup">REST API Reference for CreateBackup Operation</seealso> Task<CreateBackupResponse> CreateBackupAsync(CreateBackupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDataRepositoryAssociation /// <summary> /// Creates an Amazon FSx for Lustre data repository association (DRA). A data repository /// association is a link between a directory on the file system and an Amazon S3 bucket /// or prefix. You can have a maximum of 8 data repository associations on a file system. /// Data repository associations are supported on all FSx for Lustre 2.12 and newer file /// systems, excluding <code>scratch_1</code> deployment type. /// /// /// <para> /// Each data repository association must have a unique Amazon FSx file system directory /// and a unique S3 bucket or prefix associated with it. You can configure a data repository /// association for automatic import only, for automatic export only, or for both. To /// learn more about linking a data repository to your file system, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html">Linking /// your file system to an S3 bucket</a>. /// </para> /// <note> /// <para> /// <code>CreateDataRepositoryAssociation</code> isn't supported on Amazon File Cache /// resources. To create a DRA on Amazon File Cache, use the <code>CreateFileCache</code> /// operation. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDataRepositoryAssociation service method.</param> /// /// <returns>The response from the CreateDataRepositoryAssociation service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateDataRepositoryAssociation">REST API Reference for CreateDataRepositoryAssociation Operation</seealso> CreateDataRepositoryAssociationResponse CreateDataRepositoryAssociation(CreateDataRepositoryAssociationRequest request); /// <summary> /// Creates an Amazon FSx for Lustre data repository association (DRA). A data repository /// association is a link between a directory on the file system and an Amazon S3 bucket /// or prefix. You can have a maximum of 8 data repository associations on a file system. /// Data repository associations are supported on all FSx for Lustre 2.12 and newer file /// systems, excluding <code>scratch_1</code> deployment type. /// /// /// <para> /// Each data repository association must have a unique Amazon FSx file system directory /// and a unique S3 bucket or prefix associated with it. You can configure a data repository /// association for automatic import only, for automatic export only, or for both. To /// learn more about linking a data repository to your file system, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html">Linking /// your file system to an S3 bucket</a>. /// </para> /// <note> /// <para> /// <code>CreateDataRepositoryAssociation</code> isn't supported on Amazon File Cache /// resources. To create a DRA on Amazon File Cache, use the <code>CreateFileCache</code> /// operation. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDataRepositoryAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDataRepositoryAssociation service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateDataRepositoryAssociation">REST API Reference for CreateDataRepositoryAssociation Operation</seealso> Task<CreateDataRepositoryAssociationResponse> CreateDataRepositoryAssociationAsync(CreateDataRepositoryAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDataRepositoryTask /// <summary> /// Creates an Amazon FSx for Lustre data repository task. You use data repository tasks /// to perform bulk operations between your Amazon FSx file system and its linked data /// repositories. An example of a data repository task is exporting any data and metadata /// changes, including POSIX metadata, to files, directories, and symbolic links (symlinks) /// from your FSx file system to a linked data repository. A <code>CreateDataRepositoryTask</code> /// operation will fail if a data repository is not linked to the FSx file system. To /// learn more about data repository tasks, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-repository-tasks.html">Data /// Repository Tasks</a>. To learn more about linking a data repository to your file system, /// see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html">Linking /// your file system to an S3 bucket</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDataRepositoryTask service method.</param> /// /// <returns>The response from the CreateDataRepositoryTask service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryTaskExecutingException"> /// An existing data repository task is currently executing on the file system. Wait until /// the existing task has completed, then create the new task. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateDataRepositoryTask">REST API Reference for CreateDataRepositoryTask Operation</seealso> CreateDataRepositoryTaskResponse CreateDataRepositoryTask(CreateDataRepositoryTaskRequest request); /// <summary> /// Creates an Amazon FSx for Lustre data repository task. You use data repository tasks /// to perform bulk operations between your Amazon FSx file system and its linked data /// repositories. An example of a data repository task is exporting any data and metadata /// changes, including POSIX metadata, to files, directories, and symbolic links (symlinks) /// from your FSx file system to a linked data repository. A <code>CreateDataRepositoryTask</code> /// operation will fail if a data repository is not linked to the FSx file system. To /// learn more about data repository tasks, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-repository-tasks.html">Data /// Repository Tasks</a>. To learn more about linking a data repository to your file system, /// see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html">Linking /// your file system to an S3 bucket</a>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDataRepositoryTask service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDataRepositoryTask service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryTaskExecutingException"> /// An existing data repository task is currently executing on the file system. Wait until /// the existing task has completed, then create the new task. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateDataRepositoryTask">REST API Reference for CreateDataRepositoryTask Operation</seealso> Task<CreateDataRepositoryTaskResponse> CreateDataRepositoryTaskAsync(CreateDataRepositoryTaskRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFileCache /// <summary> /// Creates a new Amazon File Cache resource. /// /// /// <para> /// You can use this operation with a client request token in the request that Amazon /// File Cache uses to ensure idempotent creation. If a cache with the specified client /// request token exists and the parameters match, <code>CreateFileCache</code> returns /// the description of the existing cache. If a cache with the specified client request /// token exists and the parameters don't match, this call returns <code>IncompatibleParameterError</code>. /// If a file cache with the specified client request token doesn't exist, <code>CreateFileCache</code> /// does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new, empty Amazon File Cache resourcewith an assigned ID, and an initial /// lifecycle state of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the cache in JSON format. /// </para> /// </li> </ul> <note> /// <para> /// The <code>CreateFileCache</code> call returns while the cache's lifecycle state is /// still <code>CREATING</code>. You can check the cache creation status by calling the /// <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileCaches.html">DescribeFileCaches</a> /// operation, which returns the cache state along with other information. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFileCache service method.</param> /// /// <returns>The response from the CreateFileCache service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidNetworkSettingsException"> /// One or more network settings specified in the request are invalid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidPerUnitStorageThroughputException"> /// An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create /// your file system again, using a valid value. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileCacheConfigurationException"> /// A cache configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileCache">REST API Reference for CreateFileCache Operation</seealso> CreateFileCacheResponse CreateFileCache(CreateFileCacheRequest request); /// <summary> /// Creates a new Amazon File Cache resource. /// /// /// <para> /// You can use this operation with a client request token in the request that Amazon /// File Cache uses to ensure idempotent creation. If a cache with the specified client /// request token exists and the parameters match, <code>CreateFileCache</code> returns /// the description of the existing cache. If a cache with the specified client request /// token exists and the parameters don't match, this call returns <code>IncompatibleParameterError</code>. /// If a file cache with the specified client request token doesn't exist, <code>CreateFileCache</code> /// does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new, empty Amazon File Cache resourcewith an assigned ID, and an initial /// lifecycle state of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the cache in JSON format. /// </para> /// </li> </ul> <note> /// <para> /// The <code>CreateFileCache</code> call returns while the cache's lifecycle state is /// still <code>CREATING</code>. You can check the cache creation status by calling the /// <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileCaches.html">DescribeFileCaches</a> /// operation, which returns the cache state along with other information. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFileCache service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFileCache service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidNetworkSettingsException"> /// One or more network settings specified in the request are invalid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidPerUnitStorageThroughputException"> /// An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create /// your file system again, using a valid value. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileCacheConfigurationException"> /// A cache configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileCache">REST API Reference for CreateFileCache Operation</seealso> Task<CreateFileCacheResponse> CreateFileCacheAsync(CreateFileCacheRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFileSystem /// <summary> /// Creates a new, empty Amazon FSx file system. You can create the following supported /// Amazon FSx file systems using the <code>CreateFileSystem</code> API operation: /// /// <ul> <li> /// <para> /// Amazon FSx for Lustre /// </para> /// </li> <li> /// <para> /// Amazon FSx for NetApp ONTAP /// </para> /// </li> <li> /// <para> /// Amazon FSx for OpenZFS /// </para> /// </li> <li> /// <para> /// Amazon FSx for Windows File Server /// </para> /// </li> </ul> /// <para> /// This operation requires a client request token in the request that Amazon FSx uses /// to ensure idempotent creation. This means that calling the operation multiple times /// with the same client request token has no effect. By using the idempotent operation, /// you can retry a <code>CreateFileSystem</code> operation without the risk of creating /// an extra file system. This approach can be useful when an initial call fails in a /// way that makes it unclear whether a file system was created. Examples are if a transport /// level timeout occurred, or your connection was reset. If you use the same client request /// token and the initial call created a file system, the client receives success as long /// as the parameters are the same. /// </para> /// /// <para> /// If a file system with the specified client request token exists and the parameters /// match, <code>CreateFileSystem</code> returns the description of the existing file /// system. If a file system with the specified client request token exists and the parameters /// don't match, this call returns <code>IncompatibleParameterError</code>. If a file /// system with the specified client request token doesn't exist, <code>CreateFileSystem</code> /// does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle /// state of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the file system in JSON format. /// </para> /// </li> </ul> <note> /// <para> /// The <code>CreateFileSystem</code> call returns while the file system's lifecycle state /// is still <code>CREATING</code>. You can check the file-system creation status by calling /// the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileSystems.html">DescribeFileSystems</a> /// operation, which returns the file system state along with other information. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFileSystem service method.</param> /// /// <returns>The response from the CreateFileSystem service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.ActiveDirectoryErrorException"> /// An Active Directory error. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidExportPathException"> /// The path provided for data repository export isn't valid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidImportPathException"> /// The path provided for data repository import isn't valid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidNetworkSettingsException"> /// One or more network settings specified in the request are invalid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidPerUnitStorageThroughputException"> /// An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create /// your file system again, using a valid value. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileSystemConfigurationException"> /// A file system configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystem">REST API Reference for CreateFileSystem Operation</seealso> CreateFileSystemResponse CreateFileSystem(CreateFileSystemRequest request); /// <summary> /// Creates a new, empty Amazon FSx file system. You can create the following supported /// Amazon FSx file systems using the <code>CreateFileSystem</code> API operation: /// /// <ul> <li> /// <para> /// Amazon FSx for Lustre /// </para> /// </li> <li> /// <para> /// Amazon FSx for NetApp ONTAP /// </para> /// </li> <li> /// <para> /// Amazon FSx for OpenZFS /// </para> /// </li> <li> /// <para> /// Amazon FSx for Windows File Server /// </para> /// </li> </ul> /// <para> /// This operation requires a client request token in the request that Amazon FSx uses /// to ensure idempotent creation. This means that calling the operation multiple times /// with the same client request token has no effect. By using the idempotent operation, /// you can retry a <code>CreateFileSystem</code> operation without the risk of creating /// an extra file system. This approach can be useful when an initial call fails in a /// way that makes it unclear whether a file system was created. Examples are if a transport /// level timeout occurred, or your connection was reset. If you use the same client request /// token and the initial call created a file system, the client receives success as long /// as the parameters are the same. /// </para> /// /// <para> /// If a file system with the specified client request token exists and the parameters /// match, <code>CreateFileSystem</code> returns the description of the existing file /// system. If a file system with the specified client request token exists and the parameters /// don't match, this call returns <code>IncompatibleParameterError</code>. If a file /// system with the specified client request token doesn't exist, <code>CreateFileSystem</code> /// does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle /// state of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the file system in JSON format. /// </para> /// </li> </ul> <note> /// <para> /// The <code>CreateFileSystem</code> call returns while the file system's lifecycle state /// is still <code>CREATING</code>. You can check the file-system creation status by calling /// the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileSystems.html">DescribeFileSystems</a> /// operation, which returns the file system state along with other information. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFileSystem service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFileSystem service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.ActiveDirectoryErrorException"> /// An Active Directory error. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidExportPathException"> /// The path provided for data repository export isn't valid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidImportPathException"> /// The path provided for data repository import isn't valid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidNetworkSettingsException"> /// One or more network settings specified in the request are invalid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidPerUnitStorageThroughputException"> /// An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create /// your file system again, using a valid value. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileSystemConfigurationException"> /// A file system configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystem">REST API Reference for CreateFileSystem Operation</seealso> Task<CreateFileSystemResponse> CreateFileSystemAsync(CreateFileSystemRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFileSystemFromBackup /// <summary> /// Creates a new Amazon FSx for Lustre, Amazon FSx for Windows File Server, or Amazon /// FSx for OpenZFS file system from an existing Amazon FSx backup. /// /// /// <para> /// If a file system with the specified client request token exists and the parameters /// match, this operation returns the description of the file system. If a file system /// with the specified client request token exists but the parameters don't match, this /// call returns <code>IncompatibleParameterError</code>. If a file system with the specified /// client request token doesn't exist, this operation does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new Amazon FSx file system from backup with an assigned ID, and an initial /// lifecycle state of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the file system. /// </para> /// </li> </ul> /// <para> /// Parameters like the Active Directory, default share name, automatic backup, and backup /// settings default to the parameters of the file system that was backed up, unless overridden. /// You can explicitly supply other settings. /// </para> /// /// <para> /// By using the idempotent operation, you can retry a <code>CreateFileSystemFromBackup</code> /// call without the risk of creating an extra file system. This approach can be useful /// when an initial call fails in a way that makes it unclear whether a file system was /// created. Examples are if a transport level timeout occurred, or your connection was /// reset. If you use the same client request token and the initial call created a file /// system, the client receives a success message as long as the parameters are the same. /// </para> /// <note> /// <para> /// The <code>CreateFileSystemFromBackup</code> call returns while the file system's lifecycle /// state is still <code>CREATING</code>. You can check the file-system creation status /// by calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileSystems.html"> /// DescribeFileSystems</a> operation, which returns the file system state along with /// other information. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFileSystemFromBackup service method.</param> /// /// <returns>The response from the CreateFileSystemFromBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.ActiveDirectoryErrorException"> /// An Active Directory error. /// </exception> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidNetworkSettingsException"> /// One or more network settings specified in the request are invalid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidPerUnitStorageThroughputException"> /// An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create /// your file system again, using a valid value. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileSystemConfigurationException"> /// A file system configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemFromBackup">REST API Reference for CreateFileSystemFromBackup Operation</seealso> CreateFileSystemFromBackupResponse CreateFileSystemFromBackup(CreateFileSystemFromBackupRequest request); /// <summary> /// Creates a new Amazon FSx for Lustre, Amazon FSx for Windows File Server, or Amazon /// FSx for OpenZFS file system from an existing Amazon FSx backup. /// /// /// <para> /// If a file system with the specified client request token exists and the parameters /// match, this operation returns the description of the file system. If a file system /// with the specified client request token exists but the parameters don't match, this /// call returns <code>IncompatibleParameterError</code>. If a file system with the specified /// client request token doesn't exist, this operation does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new Amazon FSx file system from backup with an assigned ID, and an initial /// lifecycle state of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the file system. /// </para> /// </li> </ul> /// <para> /// Parameters like the Active Directory, default share name, automatic backup, and backup /// settings default to the parameters of the file system that was backed up, unless overridden. /// You can explicitly supply other settings. /// </para> /// /// <para> /// By using the idempotent operation, you can retry a <code>CreateFileSystemFromBackup</code> /// call without the risk of creating an extra file system. This approach can be useful /// when an initial call fails in a way that makes it unclear whether a file system was /// created. Examples are if a transport level timeout occurred, or your connection was /// reset. If you use the same client request token and the initial call created a file /// system, the client receives a success message as long as the parameters are the same. /// </para> /// <note> /// <para> /// The <code>CreateFileSystemFromBackup</code> call returns while the file system's lifecycle /// state is still <code>CREATING</code>. You can check the file-system creation status /// by calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileSystems.html"> /// DescribeFileSystems</a> operation, which returns the file system state along with /// other information. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFileSystemFromBackup service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFileSystemFromBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.ActiveDirectoryErrorException"> /// An Active Directory error. /// </exception> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidNetworkSettingsException"> /// One or more network settings specified in the request are invalid. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidPerUnitStorageThroughputException"> /// An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create /// your file system again, using a valid value. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileSystemConfigurationException"> /// A file system configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemFromBackup">REST API Reference for CreateFileSystemFromBackup Operation</seealso> Task<CreateFileSystemFromBackupResponse> CreateFileSystemFromBackupAsync(CreateFileSystemFromBackupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateSnapshot /// <summary> /// Creates a snapshot of an existing Amazon FSx for OpenZFS volume. With snapshots, you /// can easily undo file changes and compare file versions by restoring the volume to /// a previous version. /// /// /// <para> /// If a snapshot with the specified client request token exists, and the parameters match, /// this operation returns the description of the existing snapshot. If a snapshot with /// the specified client request token exists, and the parameters don't match, this operation /// returns <code>IncompatibleParameterError</code>. If a snapshot with the specified /// client request token doesn't exist, <code>CreateSnapshot</code> does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new OpenZFS snapshot with an assigned ID, and an initial lifecycle state /// of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the snapshot. /// </para> /// </li> </ul> /// <para> /// By using the idempotent operation, you can retry a <code>CreateSnapshot</code> operation /// without the risk of creating an extra snapshot. This approach can be useful when an /// initial call fails in a way that makes it unclear whether a snapshot was created. /// If you use the same client request token and the initial call created a snapshot, /// the operation returns a successful result because all the parameters are the same. /// </para> /// /// <para> /// The <code>CreateSnapshot</code> operation returns while the snapshot's lifecycle state /// is still <code>CREATING</code>. You can check the snapshot creation status by calling /// the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeSnapshots.html">DescribeSnapshots</a> /// operation, which returns the snapshot state along with other information. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateSnapshot service method.</param> /// /// <returns>The response from the CreateSnapshot service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateSnapshot">REST API Reference for CreateSnapshot Operation</seealso> CreateSnapshotResponse CreateSnapshot(CreateSnapshotRequest request); /// <summary> /// Creates a snapshot of an existing Amazon FSx for OpenZFS volume. With snapshots, you /// can easily undo file changes and compare file versions by restoring the volume to /// a previous version. /// /// /// <para> /// If a snapshot with the specified client request token exists, and the parameters match, /// this operation returns the description of the existing snapshot. If a snapshot with /// the specified client request token exists, and the parameters don't match, this operation /// returns <code>IncompatibleParameterError</code>. If a snapshot with the specified /// client request token doesn't exist, <code>CreateSnapshot</code> does the following: /// </para> /// <ul> <li> /// <para> /// Creates a new OpenZFS snapshot with an assigned ID, and an initial lifecycle state /// of <code>CREATING</code>. /// </para> /// </li> <li> /// <para> /// Returns the description of the snapshot. /// </para> /// </li> </ul> /// <para> /// By using the idempotent operation, you can retry a <code>CreateSnapshot</code> operation /// without the risk of creating an extra snapshot. This approach can be useful when an /// initial call fails in a way that makes it unclear whether a snapshot was created. /// If you use the same client request token and the initial call created a snapshot, /// the operation returns a successful result because all the parameters are the same. /// </para> /// /// <para> /// The <code>CreateSnapshot</code> operation returns while the snapshot's lifecycle state /// is still <code>CREATING</code>. You can check the snapshot creation status by calling /// the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeSnapshots.html">DescribeSnapshots</a> /// operation, which returns the snapshot state along with other information. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateSnapshot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateSnapshot service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateSnapshot">REST API Reference for CreateSnapshot Operation</seealso> Task<CreateSnapshotResponse> CreateSnapshotAsync(CreateSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStorageVirtualMachine /// <summary> /// Creates a storage virtual machine (SVM) for an Amazon FSx for ONTAP file system. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStorageVirtualMachine service method.</param> /// /// <returns>The response from the CreateStorageVirtualMachine service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.ActiveDirectoryErrorException"> /// An Active Directory error. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateStorageVirtualMachine">REST API Reference for CreateStorageVirtualMachine Operation</seealso> CreateStorageVirtualMachineResponse CreateStorageVirtualMachine(CreateStorageVirtualMachineRequest request); /// <summary> /// Creates a storage virtual machine (SVM) for an Amazon FSx for ONTAP file system. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStorageVirtualMachine service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStorageVirtualMachine service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.ActiveDirectoryErrorException"> /// An Active Directory error. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateStorageVirtualMachine">REST API Reference for CreateStorageVirtualMachine Operation</seealso> Task<CreateStorageVirtualMachineResponse> CreateStorageVirtualMachineAsync(CreateStorageVirtualMachineRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVolume /// <summary> /// Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVolume service method.</param> /// /// <returns>The response from the CreateVolume service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingVolumeConfigurationException"> /// A volume configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateVolume">REST API Reference for CreateVolume Operation</seealso> CreateVolumeResponse CreateVolume(CreateVolumeRequest request); /// <summary> /// Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVolume service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVolume service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingVolumeConfigurationException"> /// A volume configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateVolume">REST API Reference for CreateVolume Operation</seealso> Task<CreateVolumeResponse> CreateVolumeAsync(CreateVolumeRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVolumeFromBackup /// <summary> /// Creates a new Amazon FSx for NetApp ONTAP volume from an existing Amazon FSx volume /// backup. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVolumeFromBackup service method.</param> /// /// <returns>The response from the CreateVolumeFromBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingVolumeConfigurationException"> /// A volume configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateVolumeFromBackup">REST API Reference for CreateVolumeFromBackup Operation</seealso> CreateVolumeFromBackupResponse CreateVolumeFromBackup(CreateVolumeFromBackupRequest request); /// <summary> /// Creates a new Amazon FSx for NetApp ONTAP volume from an existing Amazon FSx volume /// backup. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVolumeFromBackup service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVolumeFromBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingVolumeConfigurationException"> /// A volume configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateVolumeFromBackup">REST API Reference for CreateVolumeFromBackup Operation</seealso> Task<CreateVolumeFromBackupResponse> CreateVolumeFromBackupAsync(CreateVolumeFromBackupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackup /// <summary> /// Deletes an Amazon FSx backup. After deletion, the backup no longer exists, and its /// data is gone. /// /// /// <para> /// The <code>DeleteBackup</code> call returns instantly. The backup won't show up in /// later <code>DescribeBackups</code> calls. /// </para> /// <important> /// <para> /// The data in a deleted backup is also deleted and can't be recovered by any means. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackup service method.</param> /// /// <returns>The response from the DeleteBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupBeingCopiedException"> /// You can't delete a backup while it's being copied. /// </exception> /// <exception cref="Amazon.FSx.Model.BackupInProgressException"> /// Another backup is already under way. Wait for completion before initiating additional /// backups of this file system. /// </exception> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BackupRestoringException"> /// You can't delete a backup while it's being used to restore a file system. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteBackup">REST API Reference for DeleteBackup Operation</seealso> DeleteBackupResponse DeleteBackup(DeleteBackupRequest request); /// <summary> /// Deletes an Amazon FSx backup. After deletion, the backup no longer exists, and its /// data is gone. /// /// /// <para> /// The <code>DeleteBackup</code> call returns instantly. The backup won't show up in /// later <code>DescribeBackups</code> calls. /// </para> /// <important> /// <para> /// The data in a deleted backup is also deleted and can't be recovered by any means. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackup service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackup service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupBeingCopiedException"> /// You can't delete a backup while it's being copied. /// </exception> /// <exception cref="Amazon.FSx.Model.BackupInProgressException"> /// Another backup is already under way. Wait for completion before initiating additional /// backups of this file system. /// </exception> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BackupRestoringException"> /// You can't delete a backup while it's being used to restore a file system. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteBackup">REST API Reference for DeleteBackup Operation</seealso> Task<DeleteBackupResponse> DeleteBackupAsync(DeleteBackupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDataRepositoryAssociation /// <summary> /// Deletes a data repository association on an Amazon FSx for Lustre file system. Deleting /// the data repository association unlinks the file system from the Amazon S3 bucket. /// When deleting a data repository association, you have the option of deleting the data /// in the file system that corresponds to the data repository association. Data repository /// associations are supported on all FSx for Lustre 2.12 and newer file systems, excluding /// <code>scratch_1</code> deployment type. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDataRepositoryAssociation service method.</param> /// /// <returns>The response from the DeleteDataRepositoryAssociation service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryAssociationNotFoundException"> /// No data repository associations were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteDataRepositoryAssociation">REST API Reference for DeleteDataRepositoryAssociation Operation</seealso> DeleteDataRepositoryAssociationResponse DeleteDataRepositoryAssociation(DeleteDataRepositoryAssociationRequest request); /// <summary> /// Deletes a data repository association on an Amazon FSx for Lustre file system. Deleting /// the data repository association unlinks the file system from the Amazon S3 bucket. /// When deleting a data repository association, you have the option of deleting the data /// in the file system that corresponds to the data repository association. Data repository /// associations are supported on all FSx for Lustre 2.12 and newer file systems, excluding /// <code>scratch_1</code> deployment type. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDataRepositoryAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDataRepositoryAssociation service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryAssociationNotFoundException"> /// No data repository associations were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteDataRepositoryAssociation">REST API Reference for DeleteDataRepositoryAssociation Operation</seealso> Task<DeleteDataRepositoryAssociationResponse> DeleteDataRepositoryAssociationAsync(DeleteDataRepositoryAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFileCache /// <summary> /// Deletes an Amazon File Cache resource. After deletion, the cache no longer exists, /// and its data is gone. /// /// /// <para> /// The <code>DeleteFileCache</code> operation returns while the cache has the <code>DELETING</code> /// status. You can check the cache deletion status by calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileCaches.html">DescribeFileCaches</a> /// operation, which returns a list of caches in your account. If you pass the cache ID /// for a deleted cache, the <code>DescribeFileCaches</code> operation returns a <code>FileCacheNotFound</code> /// error. /// </para> /// <important> /// <para> /// The data in a deleted cache is also deleted and can't be recovered by any means. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFileCache service method.</param> /// /// <returns>The response from the DeleteFileCache service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileCacheNotFoundException"> /// No caches were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileCache">REST API Reference for DeleteFileCache Operation</seealso> DeleteFileCacheResponse DeleteFileCache(DeleteFileCacheRequest request); /// <summary> /// Deletes an Amazon File Cache resource. After deletion, the cache no longer exists, /// and its data is gone. /// /// /// <para> /// The <code>DeleteFileCache</code> operation returns while the cache has the <code>DELETING</code> /// status. You can check the cache deletion status by calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileCaches.html">DescribeFileCaches</a> /// operation, which returns a list of caches in your account. If you pass the cache ID /// for a deleted cache, the <code>DescribeFileCaches</code> operation returns a <code>FileCacheNotFound</code> /// error. /// </para> /// <important> /// <para> /// The data in a deleted cache is also deleted and can't be recovered by any means. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFileCache service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteFileCache service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileCacheNotFoundException"> /// No caches were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileCache">REST API Reference for DeleteFileCache Operation</seealso> Task<DeleteFileCacheResponse> DeleteFileCacheAsync(DeleteFileCacheRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFileSystem /// <summary> /// Deletes a file system. After deletion, the file system no longer exists, and its data /// is gone. Any existing automatic backups and snapshots are also deleted. /// /// /// <para> /// To delete an Amazon FSx for NetApp ONTAP file system, first delete all the volumes /// and storage virtual machines (SVMs) on the file system. Then provide a <code>FileSystemId</code> /// value to the <code>DeleFileSystem</code> operation. /// </para> /// /// <para> /// By default, when you delete an Amazon FSx for Windows File Server file system, a final /// backup is created upon deletion. This final backup isn't subject to the file system's /// retention policy, and must be manually deleted. /// </para> /// /// <para> /// The <code>DeleteFileSystem</code> operation returns while the file system has the /// <code>DELETING</code> status. You can check the file system deletion status by calling /// the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileSystems.html">DescribeFileSystems</a> /// operation, which returns a list of file systems in your account. If you pass the file /// system ID for a deleted file system, the <code>DescribeFileSystems</code> operation /// returns a <code>FileSystemNotFound</code> error. /// </para> /// <note> /// <para> /// If a data repository task is in a <code>PENDING</code> or <code>EXECUTING</code> state, /// deleting an Amazon FSx for Lustre file system will fail with an HTTP status code 400 /// (Bad Request). /// </para> /// </note> <important> /// <para> /// The data in a deleted file system is also deleted and can't be recovered by any means. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFileSystem service method.</param> /// /// <returns>The response from the DeleteFileSystem service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileSystem">REST API Reference for DeleteFileSystem Operation</seealso> DeleteFileSystemResponse DeleteFileSystem(DeleteFileSystemRequest request); /// <summary> /// Deletes a file system. After deletion, the file system no longer exists, and its data /// is gone. Any existing automatic backups and snapshots are also deleted. /// /// /// <para> /// To delete an Amazon FSx for NetApp ONTAP file system, first delete all the volumes /// and storage virtual machines (SVMs) on the file system. Then provide a <code>FileSystemId</code> /// value to the <code>DeleFileSystem</code> operation. /// </para> /// /// <para> /// By default, when you delete an Amazon FSx for Windows File Server file system, a final /// backup is created upon deletion. This final backup isn't subject to the file system's /// retention policy, and must be manually deleted. /// </para> /// /// <para> /// The <code>DeleteFileSystem</code> operation returns while the file system has the /// <code>DELETING</code> status. You can check the file system deletion status by calling /// the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileSystems.html">DescribeFileSystems</a> /// operation, which returns a list of file systems in your account. If you pass the file /// system ID for a deleted file system, the <code>DescribeFileSystems</code> operation /// returns a <code>FileSystemNotFound</code> error. /// </para> /// <note> /// <para> /// If a data repository task is in a <code>PENDING</code> or <code>EXECUTING</code> state, /// deleting an Amazon FSx for Lustre file system will fail with an HTTP status code 400 /// (Bad Request). /// </para> /// </note> <important> /// <para> /// The data in a deleted file system is also deleted and can't be recovered by any means. /// </para> /// </important> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFileSystem service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteFileSystem service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileSystem">REST API Reference for DeleteFileSystem Operation</seealso> Task<DeleteFileSystemResponse> DeleteFileSystemAsync(DeleteFileSystemRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteSnapshot /// <summary> /// Deletes an Amazon FSx for OpenZFS snapshot. After deletion, the snapshot no longer /// exists, and its data is gone. Deleting a snapshot doesn't affect snapshots stored /// in a file system backup. /// /// /// <para> /// The <code>DeleteSnapshot</code> operation returns instantly. The snapshot appears /// with the lifecycle status of <code>DELETING</code> until the deletion is complete. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteSnapshot service method.</param> /// /// <returns>The response from the DeleteSnapshot service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.SnapshotNotFoundException"> /// No Amazon FSx snapshots were found based on the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteSnapshot">REST API Reference for DeleteSnapshot Operation</seealso> DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request); /// <summary> /// Deletes an Amazon FSx for OpenZFS snapshot. After deletion, the snapshot no longer /// exists, and its data is gone. Deleting a snapshot doesn't affect snapshots stored /// in a file system backup. /// /// /// <para> /// The <code>DeleteSnapshot</code> operation returns instantly. The snapshot appears /// with the lifecycle status of <code>DELETING</code> until the deletion is complete. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteSnapshot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteSnapshot service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.SnapshotNotFoundException"> /// No Amazon FSx snapshots were found based on the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteSnapshot">REST API Reference for DeleteSnapshot Operation</seealso> Task<DeleteSnapshotResponse> DeleteSnapshotAsync(DeleteSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteStorageVirtualMachine /// <summary> /// Deletes an existing Amazon FSx for ONTAP storage virtual machine (SVM). Prior to deleting /// an SVM, you must delete all non-root volumes in the SVM, otherwise the operation will /// fail. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStorageVirtualMachine service method.</param> /// /// <returns>The response from the DeleteStorageVirtualMachine service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteStorageVirtualMachine">REST API Reference for DeleteStorageVirtualMachine Operation</seealso> DeleteStorageVirtualMachineResponse DeleteStorageVirtualMachine(DeleteStorageVirtualMachineRequest request); /// <summary> /// Deletes an existing Amazon FSx for ONTAP storage virtual machine (SVM). Prior to deleting /// an SVM, you must delete all non-root volumes in the SVM, otherwise the operation will /// fail. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStorageVirtualMachine service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteStorageVirtualMachine service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteStorageVirtualMachine">REST API Reference for DeleteStorageVirtualMachine Operation</seealso> Task<DeleteStorageVirtualMachineResponse> DeleteStorageVirtualMachineAsync(DeleteStorageVirtualMachineRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVolume /// <summary> /// Deletes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVolume service method.</param> /// /// <returns>The response from the DeleteVolume service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteVolume">REST API Reference for DeleteVolume Operation</seealso> DeleteVolumeResponse DeleteVolume(DeleteVolumeRequest request); /// <summary> /// Deletes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVolume service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVolume service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteVolume">REST API Reference for DeleteVolume Operation</seealso> Task<DeleteVolumeResponse> DeleteVolumeAsync(DeleteVolumeRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeBackups /// <summary> /// Returns the description of a specific Amazon FSx backup, if a <code>BackupIds</code> /// value is provided for that backup. Otherwise, it returns all backups owned by your /// Amazon Web Services account in the Amazon Web Services Region of the endpoint that /// you're calling. /// /// /// <para> /// When retrieving all backups, you can optionally specify the <code>MaxResults</code> /// parameter to limit the number of backups in a response. If more backups remain, Amazon /// FSx returns a <code>NextToken</code> value in the response. In this case, send a later /// request with the <code>NextToken</code> request parameter set to the value of the /// <code>NextToken</code> value from the last response. /// </para> /// /// <para> /// This operation is used in an iterative process to retrieve a list of your backups. /// <code>DescribeBackups</code> is called first without a <code>NextToken</code> value. /// Then the operation continues to be called with the <code>NextToken</code> parameter /// set to the value of the last <code>NextToken</code> value until a response has no /// <code>NextToken</code> value. /// </para> /// /// <para> /// When using this operation, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The operation might return fewer than the <code>MaxResults</code> value of backup /// descriptions while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of the backups returned in the response of one <code>DescribeBackups</code> /// call and the order of the backups returned across the responses of a multi-call iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeBackups service method.</param> /// /// <returns>The response from the DescribeBackups service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeBackups">REST API Reference for DescribeBackups Operation</seealso> DescribeBackupsResponse DescribeBackups(DescribeBackupsRequest request); /// <summary> /// Returns the description of a specific Amazon FSx backup, if a <code>BackupIds</code> /// value is provided for that backup. Otherwise, it returns all backups owned by your /// Amazon Web Services account in the Amazon Web Services Region of the endpoint that /// you're calling. /// /// /// <para> /// When retrieving all backups, you can optionally specify the <code>MaxResults</code> /// parameter to limit the number of backups in a response. If more backups remain, Amazon /// FSx returns a <code>NextToken</code> value in the response. In this case, send a later /// request with the <code>NextToken</code> request parameter set to the value of the /// <code>NextToken</code> value from the last response. /// </para> /// /// <para> /// This operation is used in an iterative process to retrieve a list of your backups. /// <code>DescribeBackups</code> is called first without a <code>NextToken</code> value. /// Then the operation continues to be called with the <code>NextToken</code> parameter /// set to the value of the last <code>NextToken</code> value until a response has no /// <code>NextToken</code> value. /// </para> /// /// <para> /// When using this operation, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The operation might return fewer than the <code>MaxResults</code> value of backup /// descriptions while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of the backups returned in the response of one <code>DescribeBackups</code> /// call and the order of the backups returned across the responses of a multi-call iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeBackups service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeBackups service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BackupNotFoundException"> /// No Amazon FSx backups were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeBackups">REST API Reference for DescribeBackups Operation</seealso> Task<DescribeBackupsResponse> DescribeBackupsAsync(DescribeBackupsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeDataRepositoryAssociations /// <summary> /// Returns the description of specific Amazon FSx for Lustre or Amazon File Cache data /// repository associations, if one or more <code>AssociationIds</code> values are provided /// in the request, or if filters are used in the request. Data repository associations /// are supported on Amazon File Cache resources and all FSx for Lustre 2.12 and newer /// file systems, excluding <code>scratch_1</code> deployment type. /// /// /// <para> /// You can use filters to narrow the response to include just data repository associations /// for specific file systems (use the <code>file-system-id</code> filter with the ID /// of the file system) or caches (use the <code>file-cache-id</code> filter with the /// ID of the cache), or data repository associations for a specific repository type (use /// the <code>data-repository-type</code> filter with a value of <code>S3</code> or <code>NFS</code>). /// If you don't use filters, the response returns all data repository associations owned /// by your Amazon Web Services account in the Amazon Web Services Region of the endpoint /// that you're calling. /// </para> /// /// <para> /// When retrieving all data repository associations, you can paginate the response by /// using the optional <code>MaxResults</code> parameter to limit the number of data repository /// associations returned in a response. If more data repository associations remain, /// a <code>NextToken</code> value is returned in the response. In this case, send a later /// request with the <code>NextToken</code> request parameter set to the value of <code>NextToken</code> /// from the last response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDataRepositoryAssociations service method.</param> /// /// <returns>The response from the DescribeDataRepositoryAssociations service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryAssociationNotFoundException"> /// No data repository associations were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidDataRepositoryTypeException"> /// You have filtered the response to a data repository type that is not supported. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeDataRepositoryAssociations">REST API Reference for DescribeDataRepositoryAssociations Operation</seealso> DescribeDataRepositoryAssociationsResponse DescribeDataRepositoryAssociations(DescribeDataRepositoryAssociationsRequest request); /// <summary> /// Returns the description of specific Amazon FSx for Lustre or Amazon File Cache data /// repository associations, if one or more <code>AssociationIds</code> values are provided /// in the request, or if filters are used in the request. Data repository associations /// are supported on Amazon File Cache resources and all FSx for Lustre 2.12 and newer /// file systems, excluding <code>scratch_1</code> deployment type. /// /// /// <para> /// You can use filters to narrow the response to include just data repository associations /// for specific file systems (use the <code>file-system-id</code> filter with the ID /// of the file system) or caches (use the <code>file-cache-id</code> filter with the /// ID of the cache), or data repository associations for a specific repository type (use /// the <code>data-repository-type</code> filter with a value of <code>S3</code> or <code>NFS</code>). /// If you don't use filters, the response returns all data repository associations owned /// by your Amazon Web Services account in the Amazon Web Services Region of the endpoint /// that you're calling. /// </para> /// /// <para> /// When retrieving all data repository associations, you can paginate the response by /// using the optional <code>MaxResults</code> parameter to limit the number of data repository /// associations returned in a response. If more data repository associations remain, /// a <code>NextToken</code> value is returned in the response. In this case, send a later /// request with the <code>NextToken</code> request parameter set to the value of <code>NextToken</code> /// from the last response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDataRepositoryAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeDataRepositoryAssociations service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryAssociationNotFoundException"> /// No data repository associations were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidDataRepositoryTypeException"> /// You have filtered the response to a data repository type that is not supported. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeDataRepositoryAssociations">REST API Reference for DescribeDataRepositoryAssociations Operation</seealso> Task<DescribeDataRepositoryAssociationsResponse> DescribeDataRepositoryAssociationsAsync(DescribeDataRepositoryAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeDataRepositoryTasks /// <summary> /// Returns the description of specific Amazon FSx for Lustre or Amazon File Cache data /// repository tasks, if one or more <code>TaskIds</code> values are provided in the request, /// or if filters are used in the request. You can use filters to narrow the response /// to include just tasks for specific file systems or caches, or tasks in a specific /// lifecycle state. Otherwise, it returns all data repository tasks owned by your Amazon /// Web Services account in the Amazon Web Services Region of the endpoint that you're /// calling. /// /// /// <para> /// When retrieving all tasks, you can paginate the response by using the optional <code>MaxResults</code> /// parameter to limit the number of tasks returned in a response. If more tasks remain, /// a <code>NextToken</code> value is returned in the response. In this case, send a later /// request with the <code>NextToken</code> request parameter set to the value of <code>NextToken</code> /// from the last response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDataRepositoryTasks service method.</param> /// /// <returns>The response from the DescribeDataRepositoryTasks service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryTaskNotFoundException"> /// The data repository task or tasks you specified could not be found. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeDataRepositoryTasks">REST API Reference for DescribeDataRepositoryTasks Operation</seealso> DescribeDataRepositoryTasksResponse DescribeDataRepositoryTasks(DescribeDataRepositoryTasksRequest request); /// <summary> /// Returns the description of specific Amazon FSx for Lustre or Amazon File Cache data /// repository tasks, if one or more <code>TaskIds</code> values are provided in the request, /// or if filters are used in the request. You can use filters to narrow the response /// to include just tasks for specific file systems or caches, or tasks in a specific /// lifecycle state. Otherwise, it returns all data repository tasks owned by your Amazon /// Web Services account in the Amazon Web Services Region of the endpoint that you're /// calling. /// /// /// <para> /// When retrieving all tasks, you can paginate the response by using the optional <code>MaxResults</code> /// parameter to limit the number of tasks returned in a response. If more tasks remain, /// a <code>NextToken</code> value is returned in the response. In this case, send a later /// request with the <code>NextToken</code> request parameter set to the value of <code>NextToken</code> /// from the last response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDataRepositoryTasks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeDataRepositoryTasks service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryTaskNotFoundException"> /// The data repository task or tasks you specified could not be found. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeDataRepositoryTasks">REST API Reference for DescribeDataRepositoryTasks Operation</seealso> Task<DescribeDataRepositoryTasksResponse> DescribeDataRepositoryTasksAsync(DescribeDataRepositoryTasksRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeFileCaches /// <summary> /// Returns the description of a specific Amazon File Cache resource, if a <code>FileCacheIds</code> /// value is provided for that cache. Otherwise, it returns descriptions of all caches /// owned by your Amazon Web Services account in the Amazon Web Services Region of the /// endpoint that you're calling. /// /// /// <para> /// When retrieving all cache descriptions, you can optionally specify the <code>MaxResults</code> /// parameter to limit the number of descriptions in a response. If more cache descriptions /// remain, the operation returns a <code>NextToken</code> value in the response. In this /// case, send a later request with the <code>NextToken</code> request parameter set to /// the value of <code>NextToken</code> from the last response. /// </para> /// /// <para> /// This operation is used in an iterative process to retrieve a list of your cache descriptions. /// <code>DescribeFileCaches</code> is called first without a <code>NextToken</code>value. /// Then the operation continues to be called with the <code>NextToken</code> parameter /// set to the value of the last <code>NextToken</code> value until a response has no /// <code>NextToken</code>. /// </para> /// /// <para> /// When using this operation, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The implementation might return fewer than <code>MaxResults</code> cache descriptions /// while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of caches returned in the response of one <code>DescribeFileCaches</code> /// call and the order of caches returned across the responses of a multicall iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFileCaches service method.</param> /// /// <returns>The response from the DescribeFileCaches service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileCacheNotFoundException"> /// No caches were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileCaches">REST API Reference for DescribeFileCaches Operation</seealso> DescribeFileCachesResponse DescribeFileCaches(DescribeFileCachesRequest request); /// <summary> /// Returns the description of a specific Amazon File Cache resource, if a <code>FileCacheIds</code> /// value is provided for that cache. Otherwise, it returns descriptions of all caches /// owned by your Amazon Web Services account in the Amazon Web Services Region of the /// endpoint that you're calling. /// /// /// <para> /// When retrieving all cache descriptions, you can optionally specify the <code>MaxResults</code> /// parameter to limit the number of descriptions in a response. If more cache descriptions /// remain, the operation returns a <code>NextToken</code> value in the response. In this /// case, send a later request with the <code>NextToken</code> request parameter set to /// the value of <code>NextToken</code> from the last response. /// </para> /// /// <para> /// This operation is used in an iterative process to retrieve a list of your cache descriptions. /// <code>DescribeFileCaches</code> is called first without a <code>NextToken</code>value. /// Then the operation continues to be called with the <code>NextToken</code> parameter /// set to the value of the last <code>NextToken</code> value until a response has no /// <code>NextToken</code>. /// </para> /// /// <para> /// When using this operation, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The implementation might return fewer than <code>MaxResults</code> cache descriptions /// while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of caches returned in the response of one <code>DescribeFileCaches</code> /// call and the order of caches returned across the responses of a multicall iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFileCaches service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeFileCaches service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileCacheNotFoundException"> /// No caches were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileCaches">REST API Reference for DescribeFileCaches Operation</seealso> Task<DescribeFileCachesResponse> DescribeFileCachesAsync(DescribeFileCachesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeFileSystemAliases /// <summary> /// Returns the DNS aliases that are associated with the specified Amazon FSx for Windows /// File Server file system. A history of all DNS aliases that have been associated with /// and disassociated from the file system is available in the list of <a>AdministrativeAction</a> /// provided in the <a>DescribeFileSystems</a> operation response. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFileSystemAliases service method.</param> /// /// <returns>The response from the DescribeFileSystemAliases service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliases">REST API Reference for DescribeFileSystemAliases Operation</seealso> DescribeFileSystemAliasesResponse DescribeFileSystemAliases(DescribeFileSystemAliasesRequest request); /// <summary> /// Returns the DNS aliases that are associated with the specified Amazon FSx for Windows /// File Server file system. A history of all DNS aliases that have been associated with /// and disassociated from the file system is available in the list of <a>AdministrativeAction</a> /// provided in the <a>DescribeFileSystems</a> operation response. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFileSystemAliases service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeFileSystemAliases service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliases">REST API Reference for DescribeFileSystemAliases Operation</seealso> Task<DescribeFileSystemAliasesResponse> DescribeFileSystemAliasesAsync(DescribeFileSystemAliasesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeFileSystems /// <summary> /// Returns the description of specific Amazon FSx file systems, if a <code>FileSystemIds</code> /// value is provided for that file system. Otherwise, it returns descriptions of all /// file systems owned by your Amazon Web Services account in the Amazon Web Services /// Region of the endpoint that you're calling. /// /// /// <para> /// When retrieving all file system descriptions, you can optionally specify the <code>MaxResults</code> /// parameter to limit the number of descriptions in a response. If more file system descriptions /// remain, Amazon FSx returns a <code>NextToken</code> value in the response. In this /// case, send a later request with the <code>NextToken</code> request parameter set to /// the value of <code>NextToken</code> from the last response. /// </para> /// /// <para> /// This operation is used in an iterative process to retrieve a list of your file system /// descriptions. <code>DescribeFileSystems</code> is called first without a <code>NextToken</code>value. /// Then the operation continues to be called with the <code>NextToken</code> parameter /// set to the value of the last <code>NextToken</code> value until a response has no /// <code>NextToken</code>. /// </para> /// /// <para> /// When using this operation, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The implementation might return fewer than <code>MaxResults</code> file system descriptions /// while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of file systems returned in the response of one <code>DescribeFileSystems</code> /// call and the order of file systems returned across the responses of a multicall iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFileSystems service method.</param> /// /// <returns>The response from the DescribeFileSystems service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystems">REST API Reference for DescribeFileSystems Operation</seealso> DescribeFileSystemsResponse DescribeFileSystems(DescribeFileSystemsRequest request); /// <summary> /// Returns the description of specific Amazon FSx file systems, if a <code>FileSystemIds</code> /// value is provided for that file system. Otherwise, it returns descriptions of all /// file systems owned by your Amazon Web Services account in the Amazon Web Services /// Region of the endpoint that you're calling. /// /// /// <para> /// When retrieving all file system descriptions, you can optionally specify the <code>MaxResults</code> /// parameter to limit the number of descriptions in a response. If more file system descriptions /// remain, Amazon FSx returns a <code>NextToken</code> value in the response. In this /// case, send a later request with the <code>NextToken</code> request parameter set to /// the value of <code>NextToken</code> from the last response. /// </para> /// /// <para> /// This operation is used in an iterative process to retrieve a list of your file system /// descriptions. <code>DescribeFileSystems</code> is called first without a <code>NextToken</code>value. /// Then the operation continues to be called with the <code>NextToken</code> parameter /// set to the value of the last <code>NextToken</code> value until a response has no /// <code>NextToken</code>. /// </para> /// /// <para> /// When using this operation, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The implementation might return fewer than <code>MaxResults</code> file system descriptions /// while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of file systems returned in the response of one <code>DescribeFileSystems</code> /// call and the order of file systems returned across the responses of a multicall iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFileSystems service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeFileSystems service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystems">REST API Reference for DescribeFileSystems Operation</seealso> Task<DescribeFileSystemsResponse> DescribeFileSystemsAsync(DescribeFileSystemsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeSnapshots /// <summary> /// Returns the description of specific Amazon FSx for OpenZFS snapshots, if a <code>SnapshotIds</code> /// value is provided. Otherwise, this operation returns all snapshots owned by your Amazon /// Web Services account in the Amazon Web Services Region of the endpoint that you're /// calling. /// /// /// <para> /// When retrieving all snapshots, you can optionally specify the <code>MaxResults</code> /// parameter to limit the number of snapshots in a response. If more backups remain, /// Amazon FSx returns a <code>NextToken</code> value in the response. In this case, send /// a later request with the <code>NextToken</code> request parameter set to the value /// of <code>NextToken</code> from the last response. /// </para> /// /// <para> /// Use this operation in an iterative process to retrieve a list of your snapshots. <code>DescribeSnapshots</code> /// is called first without a <code>NextToken</code> value. Then the operation continues /// to be called with the <code>NextToken</code> parameter set to the value of the last /// <code>NextToken</code> value until a response has no <code>NextToken</code> value. /// </para> /// /// <para> /// When using this operation, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The operation might return fewer than the <code>MaxResults</code> value of snapshot /// descriptions while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of snapshots returned in the response of one <code>DescribeSnapshots</code> /// call and the order of backups returned across the responses of a multi-call iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSnapshots service method.</param> /// /// <returns>The response from the DescribeSnapshots service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.SnapshotNotFoundException"> /// No Amazon FSx snapshots were found based on the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeSnapshots">REST API Reference for DescribeSnapshots Operation</seealso> DescribeSnapshotsResponse DescribeSnapshots(DescribeSnapshotsRequest request); /// <summary> /// Returns the description of specific Amazon FSx for OpenZFS snapshots, if a <code>SnapshotIds</code> /// value is provided. Otherwise, this operation returns all snapshots owned by your Amazon /// Web Services account in the Amazon Web Services Region of the endpoint that you're /// calling. /// /// /// <para> /// When retrieving all snapshots, you can optionally specify the <code>MaxResults</code> /// parameter to limit the number of snapshots in a response. If more backups remain, /// Amazon FSx returns a <code>NextToken</code> value in the response. In this case, send /// a later request with the <code>NextToken</code> request parameter set to the value /// of <code>NextToken</code> from the last response. /// </para> /// /// <para> /// Use this operation in an iterative process to retrieve a list of your snapshots. <code>DescribeSnapshots</code> /// is called first without a <code>NextToken</code> value. Then the operation continues /// to be called with the <code>NextToken</code> parameter set to the value of the last /// <code>NextToken</code> value until a response has no <code>NextToken</code> value. /// </para> /// /// <para> /// When using this operation, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The operation might return fewer than the <code>MaxResults</code> value of snapshot /// descriptions while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of snapshots returned in the response of one <code>DescribeSnapshots</code> /// call and the order of backups returned across the responses of a multi-call iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSnapshots service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeSnapshots service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.SnapshotNotFoundException"> /// No Amazon FSx snapshots were found based on the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeSnapshots">REST API Reference for DescribeSnapshots Operation</seealso> Task<DescribeSnapshotsResponse> DescribeSnapshotsAsync(DescribeSnapshotsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStorageVirtualMachines /// <summary> /// Describes one or more Amazon FSx for NetApp ONTAP storage virtual machines (SVMs). /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStorageVirtualMachines service method.</param> /// /// <returns>The response from the DescribeStorageVirtualMachines service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeStorageVirtualMachines">REST API Reference for DescribeStorageVirtualMachines Operation</seealso> DescribeStorageVirtualMachinesResponse DescribeStorageVirtualMachines(DescribeStorageVirtualMachinesRequest request); /// <summary> /// Describes one or more Amazon FSx for NetApp ONTAP storage virtual machines (SVMs). /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStorageVirtualMachines service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeStorageVirtualMachines service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeStorageVirtualMachines">REST API Reference for DescribeStorageVirtualMachines Operation</seealso> Task<DescribeStorageVirtualMachinesResponse> DescribeStorageVirtualMachinesAsync(DescribeStorageVirtualMachinesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVolumes /// <summary> /// Describes one or more Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volumes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVolumes service method.</param> /// /// <returns>The response from the DescribeVolumes service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeVolumes">REST API Reference for DescribeVolumes Operation</seealso> DescribeVolumesResponse DescribeVolumes(DescribeVolumesRequest request); /// <summary> /// Describes one or more Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volumes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVolumes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVolumes service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeVolumes">REST API Reference for DescribeVolumes Operation</seealso> Task<DescribeVolumesResponse> DescribeVolumesAsync(DescribeVolumesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateFileSystemAliases /// <summary> /// Use this action to disassociate, or remove, one or more Domain Name Service (DNS) /// aliases from an Amazon FSx for Windows File Server file system. If you attempt to /// disassociate a DNS alias that is not associated with the file system, Amazon FSx responds /// with a 400 Bad Request. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html">Working /// with DNS Aliases</a>. /// /// /// <para> /// The system generated response showing the DNS aliases that Amazon FSx is attempting /// to disassociate from the file system. Use the API operation to monitor the status /// of the aliases Amazon FSx is disassociating with the file system. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFileSystemAliases service method.</param> /// /// <returns>The response from the DisassociateFileSystemAliases service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliases">REST API Reference for DisassociateFileSystemAliases Operation</seealso> DisassociateFileSystemAliasesResponse DisassociateFileSystemAliases(DisassociateFileSystemAliasesRequest request); /// <summary> /// Use this action to disassociate, or remove, one or more Domain Name Service (DNS) /// aliases from an Amazon FSx for Windows File Server file system. If you attempt to /// disassociate a DNS alias that is not associated with the file system, Amazon FSx responds /// with a 400 Bad Request. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html">Working /// with DNS Aliases</a>. /// /// /// <para> /// The system generated response showing the DNS aliases that Amazon FSx is attempting /// to disassociate from the file system. Use the API operation to monitor the status /// of the aliases Amazon FSx is disassociating with the file system. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFileSystemAliases service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateFileSystemAliases service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliases">REST API Reference for DisassociateFileSystemAliases Operation</seealso> Task<DisassociateFileSystemAliasesResponse> DisassociateFileSystemAliasesAsync(DisassociateFileSystemAliasesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Lists tags for Amazon FSx resources. /// /// /// <para> /// When retrieving all tags, you can optionally specify the <code>MaxResults</code> parameter /// to limit the number of tags in a response. If more tags remain, Amazon FSx returns /// a <code>NextToken</code> value in the response. In this case, send a later request /// with the <code>NextToken</code> request parameter set to the value of <code>NextToken</code> /// from the last response. /// </para> /// /// <para> /// This action is used in an iterative process to retrieve a list of your tags. <code>ListTagsForResource</code> /// is called first without a <code>NextToken</code>value. Then the action continues to /// be called with the <code>NextToken</code> parameter set to the value of the last <code>NextToken</code> /// value until a response has no <code>NextToken</code>. /// </para> /// /// <para> /// When using this action, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The implementation might return fewer than <code>MaxResults</code> file system descriptions /// while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of tags returned in the response of one <code>ListTagsForResource</code> /// call and the order of tags returned across the responses of a multi-call iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.NotServiceResourceErrorException"> /// The resource specified for the tagging operation is not a resource type owned by Amazon /// FSx. Use the API of the relevant service to perform the operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceDoesNotSupportTaggingException"> /// The resource specified does not support tagging. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceNotFoundException"> /// The resource specified by the Amazon Resource Name (ARN) can't be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Lists tags for Amazon FSx resources. /// /// /// <para> /// When retrieving all tags, you can optionally specify the <code>MaxResults</code> parameter /// to limit the number of tags in a response. If more tags remain, Amazon FSx returns /// a <code>NextToken</code> value in the response. In this case, send a later request /// with the <code>NextToken</code> request parameter set to the value of <code>NextToken</code> /// from the last response. /// </para> /// /// <para> /// This action is used in an iterative process to retrieve a list of your tags. <code>ListTagsForResource</code> /// is called first without a <code>NextToken</code>value. Then the action continues to /// be called with the <code>NextToken</code> parameter set to the value of the last <code>NextToken</code> /// value until a response has no <code>NextToken</code>. /// </para> /// /// <para> /// When using this action, keep the following in mind: /// </para> /// <ul> <li> /// <para> /// The implementation might return fewer than <code>MaxResults</code> file system descriptions /// while still including a <code>NextToken</code> value. /// </para> /// </li> <li> /// <para> /// The order of tags returned in the response of one <code>ListTagsForResource</code> /// call and the order of tags returned across the responses of a multi-call iteration /// is unspecified. /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.NotServiceResourceErrorException"> /// The resource specified for the tagging operation is not a resource type owned by Amazon /// FSx. Use the API of the relevant service to perform the operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceDoesNotSupportTaggingException"> /// The resource specified does not support tagging. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceNotFoundException"> /// The resource specified by the Amazon Resource Name (ARN) can't be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ReleaseFileSystemNfsV3Locks /// <summary> /// Releases the file system lock from an Amazon FSx for OpenZFS file system. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ReleaseFileSystemNfsV3Locks service method.</param> /// /// <returns>The response from the ReleaseFileSystemNfsV3Locks service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ReleaseFileSystemNfsV3Locks">REST API Reference for ReleaseFileSystemNfsV3Locks Operation</seealso> ReleaseFileSystemNfsV3LocksResponse ReleaseFileSystemNfsV3Locks(ReleaseFileSystemNfsV3LocksRequest request); /// <summary> /// Releases the file system lock from an Amazon FSx for OpenZFS file system. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ReleaseFileSystemNfsV3Locks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ReleaseFileSystemNfsV3Locks service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ReleaseFileSystemNfsV3Locks">REST API Reference for ReleaseFileSystemNfsV3Locks Operation</seealso> Task<ReleaseFileSystemNfsV3LocksResponse> ReleaseFileSystemNfsV3LocksAsync(ReleaseFileSystemNfsV3LocksRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RestoreVolumeFromSnapshot /// <summary> /// Returns an Amazon FSx for OpenZFS volume to the state saved by the specified snapshot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RestoreVolumeFromSnapshot service method.</param> /// /// <returns>The response from the RestoreVolumeFromSnapshot service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/RestoreVolumeFromSnapshot">REST API Reference for RestoreVolumeFromSnapshot Operation</seealso> RestoreVolumeFromSnapshotResponse RestoreVolumeFromSnapshot(RestoreVolumeFromSnapshotRequest request); /// <summary> /// Returns an Amazon FSx for OpenZFS volume to the state saved by the specified snapshot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RestoreVolumeFromSnapshot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RestoreVolumeFromSnapshot service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/RestoreVolumeFromSnapshot">REST API Reference for RestoreVolumeFromSnapshot Operation</seealso> Task<RestoreVolumeFromSnapshotResponse> RestoreVolumeFromSnapshotAsync(RestoreVolumeFromSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Tags an Amazon FSx resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.NotServiceResourceErrorException"> /// The resource specified for the tagging operation is not a resource type owned by Amazon /// FSx. Use the API of the relevant service to perform the operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceDoesNotSupportTaggingException"> /// The resource specified does not support tagging. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceNotFoundException"> /// The resource specified by the Amazon Resource Name (ARN) can't be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Tags an Amazon FSx resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.NotServiceResourceErrorException"> /// The resource specified for the tagging operation is not a resource type owned by Amazon /// FSx. Use the API of the relevant service to perform the operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceDoesNotSupportTaggingException"> /// The resource specified does not support tagging. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceNotFoundException"> /// The resource specified by the Amazon Resource Name (ARN) can't be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// This action removes a tag from an Amazon FSx resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.NotServiceResourceErrorException"> /// The resource specified for the tagging operation is not a resource type owned by Amazon /// FSx. Use the API of the relevant service to perform the operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceDoesNotSupportTaggingException"> /// The resource specified does not support tagging. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceNotFoundException"> /// The resource specified by the Amazon Resource Name (ARN) can't be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// This action removes a tag from an Amazon FSx resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.NotServiceResourceErrorException"> /// The resource specified for the tagging operation is not a resource type owned by Amazon /// FSx. Use the API of the relevant service to perform the operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceDoesNotSupportTaggingException"> /// The resource specified does not support tagging. /// </exception> /// <exception cref="Amazon.FSx.Model.ResourceNotFoundException"> /// The resource specified by the Amazon Resource Name (ARN) can't be found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDataRepositoryAssociation /// <summary> /// Updates the configuration of an existing data repository association on an Amazon /// FSx for Lustre file system. Data repository associations are supported on all FSx /// for Lustre 2.12 and newer file systems, excluding <code>scratch_1</code> deployment /// type. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDataRepositoryAssociation service method.</param> /// /// <returns>The response from the UpdateDataRepositoryAssociation service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryAssociationNotFoundException"> /// No data repository associations were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateDataRepositoryAssociation">REST API Reference for UpdateDataRepositoryAssociation Operation</seealso> UpdateDataRepositoryAssociationResponse UpdateDataRepositoryAssociation(UpdateDataRepositoryAssociationRequest request); /// <summary> /// Updates the configuration of an existing data repository association on an Amazon /// FSx for Lustre file system. Data repository associations are supported on all FSx /// for Lustre 2.12 and newer file systems, excluding <code>scratch_1</code> deployment /// type. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDataRepositoryAssociation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDataRepositoryAssociation service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.DataRepositoryAssociationNotFoundException"> /// No data repository associations were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateDataRepositoryAssociation">REST API Reference for UpdateDataRepositoryAssociation Operation</seealso> Task<UpdateDataRepositoryAssociationResponse> UpdateDataRepositoryAssociationAsync(UpdateDataRepositoryAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFileCache /// <summary> /// Updates the configuration of an existing Amazon File Cache resource. You can update /// multiple properties in a single request. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFileCache service method.</param> /// /// <returns>The response from the UpdateFileCache service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileCacheNotFoundException"> /// No caches were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileCacheConfigurationException"> /// A cache configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileCache">REST API Reference for UpdateFileCache Operation</seealso> UpdateFileCacheResponse UpdateFileCache(UpdateFileCacheRequest request); /// <summary> /// Updates the configuration of an existing Amazon File Cache resource. You can update /// multiple properties in a single request. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFileCache service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFileCache service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileCacheNotFoundException"> /// No caches were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileCacheConfigurationException"> /// A cache configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileCache">REST API Reference for UpdateFileCache Operation</seealso> Task<UpdateFileCacheResponse> UpdateFileCacheAsync(UpdateFileCacheRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFileSystem /// <summary> /// Use this operation to update the configuration of an existing Amazon FSx file system. /// You can update multiple properties in a single request. /// /// /// <para> /// For FSx for Windows File Server file systems, you can update the following properties: /// </para> /// <ul> <li> /// <para> /// <code>AuditLogConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>AutomaticBackupRetentionDays</code> /// </para> /// </li> <li> /// <para> /// <code>DailyAutomaticBackupStartTime</code> /// </para> /// </li> <li> /// <para> /// <code>SelfManagedActiveDirectoryConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>StorageCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>ThroughputCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>WeeklyMaintenanceStartTime</code> /// </para> /// </li> </ul> /// <para> /// For FSx for Lustre file systems, you can update the following properties: /// </para> /// <ul> <li> /// <para> /// <code>AutoImportPolicy</code> /// </para> /// </li> <li> /// <para> /// <code>AutomaticBackupRetentionDays</code> /// </para> /// </li> <li> /// <para> /// <code>DailyAutomaticBackupStartTime</code> /// </para> /// </li> <li> /// <para> /// <code>DataCompressionType</code> /// </para> /// </li> <li> /// <para> /// <code>LogConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>LustreRootSquashConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>StorageCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>WeeklyMaintenanceStartTime</code> /// </para> /// </li> </ul> /// <para> /// For FSx for ONTAP file systems, you can update the following properties: /// </para> /// <ul> <li> /// <para> /// <code>AddRouteTableIds</code> /// </para> /// </li> <li> /// <para> /// <code>AutomaticBackupRetentionDays</code> /// </para> /// </li> <li> /// <para> /// <code>DailyAutomaticBackupStartTime</code> /// </para> /// </li> <li> /// <para> /// <code>DiskIopsConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>FsxAdminPassword</code> /// </para> /// </li> <li> /// <para> /// <code>RemoveRouteTableIds</code> /// </para> /// </li> <li> /// <para> /// <code>StorageCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>ThroughputCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>WeeklyMaintenanceStartTime</code> /// </para> /// </li> </ul> /// <para> /// For FSx for OpenZFS file systems, you can update the following properties: /// </para> /// <ul> <li> /// <para> /// <code>AutomaticBackupRetentionDays</code> /// </para> /// </li> <li> /// <para> /// <code>CopyTagsToBackups</code> /// </para> /// </li> <li> /// <para> /// <code>CopyTagsToVolumes</code> /// </para> /// </li> <li> /// <para> /// <code>DailyAutomaticBackupStartTime</code> /// </para> /// </li> <li> /// <para> /// <code>DiskIopsConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>StorageCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>ThroughputCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>WeeklyMaintenanceStartTime</code> /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFileSystem service method.</param> /// /// <returns>The response from the UpdateFileSystem service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidNetworkSettingsException"> /// One or more network settings specified in the request are invalid. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileSystemConfigurationException"> /// A file system configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystem">REST API Reference for UpdateFileSystem Operation</seealso> UpdateFileSystemResponse UpdateFileSystem(UpdateFileSystemRequest request); /// <summary> /// Use this operation to update the configuration of an existing Amazon FSx file system. /// You can update multiple properties in a single request. /// /// /// <para> /// For FSx for Windows File Server file systems, you can update the following properties: /// </para> /// <ul> <li> /// <para> /// <code>AuditLogConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>AutomaticBackupRetentionDays</code> /// </para> /// </li> <li> /// <para> /// <code>DailyAutomaticBackupStartTime</code> /// </para> /// </li> <li> /// <para> /// <code>SelfManagedActiveDirectoryConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>StorageCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>ThroughputCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>WeeklyMaintenanceStartTime</code> /// </para> /// </li> </ul> /// <para> /// For FSx for Lustre file systems, you can update the following properties: /// </para> /// <ul> <li> /// <para> /// <code>AutoImportPolicy</code> /// </para> /// </li> <li> /// <para> /// <code>AutomaticBackupRetentionDays</code> /// </para> /// </li> <li> /// <para> /// <code>DailyAutomaticBackupStartTime</code> /// </para> /// </li> <li> /// <para> /// <code>DataCompressionType</code> /// </para> /// </li> <li> /// <para> /// <code>LogConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>LustreRootSquashConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>StorageCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>WeeklyMaintenanceStartTime</code> /// </para> /// </li> </ul> /// <para> /// For FSx for ONTAP file systems, you can update the following properties: /// </para> /// <ul> <li> /// <para> /// <code>AddRouteTableIds</code> /// </para> /// </li> <li> /// <para> /// <code>AutomaticBackupRetentionDays</code> /// </para> /// </li> <li> /// <para> /// <code>DailyAutomaticBackupStartTime</code> /// </para> /// </li> <li> /// <para> /// <code>DiskIopsConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>FsxAdminPassword</code> /// </para> /// </li> <li> /// <para> /// <code>RemoveRouteTableIds</code> /// </para> /// </li> <li> /// <para> /// <code>StorageCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>ThroughputCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>WeeklyMaintenanceStartTime</code> /// </para> /// </li> </ul> /// <para> /// For FSx for OpenZFS file systems, you can update the following properties: /// </para> /// <ul> <li> /// <para> /// <code>AutomaticBackupRetentionDays</code> /// </para> /// </li> <li> /// <para> /// <code>CopyTagsToBackups</code> /// </para> /// </li> <li> /// <para> /// <code>CopyTagsToVolumes</code> /// </para> /// </li> <li> /// <para> /// <code>DailyAutomaticBackupStartTime</code> /// </para> /// </li> <li> /// <para> /// <code>DiskIopsConfiguration</code> /// </para> /// </li> <li> /// <para> /// <code>StorageCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>ThroughputCapacity</code> /// </para> /// </li> <li> /// <para> /// <code>WeeklyMaintenanceStartTime</code> /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFileSystem service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFileSystem service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.FileSystemNotFoundException"> /// No Amazon FSx file systems were found based upon supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.InvalidNetworkSettingsException"> /// One or more network settings specified in the request are invalid. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingFileSystemConfigurationException"> /// A file system configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.ServiceLimitExceededException"> /// An error indicating that a particular service limit was exceeded. You can increase /// some service limits by contacting Amazon Web Services Support. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystem">REST API Reference for UpdateFileSystem Operation</seealso> Task<UpdateFileSystemResponse> UpdateFileSystemAsync(UpdateFileSystemRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateSnapshot /// <summary> /// Updates the name of an Amazon FSx for OpenZFS snapshot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateSnapshot service method.</param> /// /// <returns>The response from the UpdateSnapshot service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.SnapshotNotFoundException"> /// No Amazon FSx snapshots were found based on the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateSnapshot">REST API Reference for UpdateSnapshot Operation</seealso> UpdateSnapshotResponse UpdateSnapshot(UpdateSnapshotRequest request); /// <summary> /// Updates the name of an Amazon FSx for OpenZFS snapshot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateSnapshot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateSnapshot service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.SnapshotNotFoundException"> /// No Amazon FSx snapshots were found based on the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateSnapshot">REST API Reference for UpdateSnapshot Operation</seealso> Task<UpdateSnapshotResponse> UpdateSnapshotAsync(UpdateSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateStorageVirtualMachine /// <summary> /// Updates an FSx for ONTAP storage virtual machine (SVM). /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStorageVirtualMachine service method.</param> /// /// <returns>The response from the UpdateStorageVirtualMachine service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateStorageVirtualMachine">REST API Reference for UpdateStorageVirtualMachine Operation</seealso> UpdateStorageVirtualMachineResponse UpdateStorageVirtualMachine(UpdateStorageVirtualMachineRequest request); /// <summary> /// Updates an FSx for ONTAP storage virtual machine (SVM). /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStorageVirtualMachine service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateStorageVirtualMachine service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.StorageVirtualMachineNotFoundException"> /// No FSx for ONTAP SVMs were found based upon the supplied parameters. /// </exception> /// <exception cref="Amazon.FSx.Model.UnsupportedOperationException"> /// The requested operation is not supported for this resource or API. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateStorageVirtualMachine">REST API Reference for UpdateStorageVirtualMachine Operation</seealso> Task<UpdateStorageVirtualMachineResponse> UpdateStorageVirtualMachineAsync(UpdateStorageVirtualMachineRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVolume /// <summary> /// Updates the configuration of an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS /// volume. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVolume service method.</param> /// /// <returns>The response from the UpdateVolume service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingVolumeConfigurationException"> /// A volume configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateVolume">REST API Reference for UpdateVolume Operation</seealso> UpdateVolumeResponse UpdateVolume(UpdateVolumeRequest request); /// <summary> /// Updates the configuration of an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS /// volume. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVolume service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVolume service method, as returned by FSx.</returns> /// <exception cref="Amazon.FSx.Model.BadRequestException"> /// A generic error indicating a failure with a client request. /// </exception> /// <exception cref="Amazon.FSx.Model.IncompatibleParameterErrorException"> /// The error returned when a second request is received with the same client request /// token but different parameters settings. A client request token should always uniquely /// identify a single request. /// </exception> /// <exception cref="Amazon.FSx.Model.InternalServerErrorException"> /// A generic error indicating a server-side failure. /// </exception> /// <exception cref="Amazon.FSx.Model.MissingVolumeConfigurationException"> /// A volume configuration is required for this operation. /// </exception> /// <exception cref="Amazon.FSx.Model.VolumeNotFoundException"> /// No Amazon FSx volumes were found based upon the supplied parameters. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateVolume">REST API Reference for UpdateVolume Operation</seealso> Task<UpdateVolumeResponse> UpdateVolumeAsync(UpdateVolumeRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }