internal virtual CreateFileSystemFromBackupResponse CreateFileSystemFromBackup(CreateFileSystemFromBackupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFileSystemFromBackupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFileSystemFromBackupResponseUnmarshaller.Instance; return(Invoke <CreateFileSystemFromBackupResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the CreateFileSystemFromBackup operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateFileSystemFromBackup operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemFromBackup">REST API Reference for CreateFileSystemFromBackup Operation</seealso> public virtual Task <CreateFileSystemFromBackupResponse> CreateFileSystemFromBackupAsync(CreateFileSystemFromBackupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFileSystemFromBackupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFileSystemFromBackupResponseUnmarshaller.Instance; return(InvokeAsync <CreateFileSystemFromBackupResponse>(request, options, cancellationToken)); }
internal virtual CreateFileSystemFromBackupResponse CreateFileSystemFromBackup(CreateFileSystemFromBackupRequest request) { var marshaller = CreateFileSystemFromBackupRequestMarshaller.Instance; var unmarshaller = CreateFileSystemFromBackupResponseUnmarshaller.Instance; return(Invoke <CreateFileSystemFromBackupRequest, CreateFileSystemFromBackupResponse>(request, marshaller, unmarshaller)); }