/*
* 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 transfer-2018-11-05.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.Transfer.Model;
using Amazon.Transfer.Model.Internal.MarshallTransformations;
using Amazon.Transfer.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Transfer
{
///
/// Implementation for accessing Transfer
///
/// Transfer Family is a fully managed service that enables the transfer of files over
/// the File Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure
/// Shell (SSH) File Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage
/// Service (Amazon S3) or Amazon EFS. Additionally, you can use Applicability Statement
/// 2 (AS2) to transfer files into and out of Amazon S3. Amazon Web Services helps you
/// seamlessly migrate your file transfer workflows to Transfer Family by integrating
/// with existing authentication systems, and providing DNS routing with Amazon Route
/// 53 so nothing changes for your customers and partners, or their applications. With
/// your data in Amazon S3, you can use it with Amazon Web Services for processing, analytics,
/// machine learning, and archiving. Getting started with Transfer Family is easy since
/// there is no infrastructure to buy and set up.
///
public partial class AmazonTransferClient : AmazonServiceClient, IAmazonTransfer
{
private static IServiceMetadata serviceMetadata = new AmazonTransferMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private ITransferPaginatorFactory _paginators;
///
/// Paginators for the service
///
public ITransferPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new TransferPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonTransferClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonTransferClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonTransferConfig()) { }
///
/// Constructs AmazonTransferClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonTransferClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonTransferConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonTransferClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonTransferClient Configuration Object
public AmazonTransferClient(AmazonTransferConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonTransferClient with AWS Credentials
///
/// AWS Credentials
public AmazonTransferClient(AWSCredentials credentials)
: this(credentials, new AmazonTransferConfig())
{
}
///
/// Constructs AmazonTransferClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonTransferClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonTransferConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonTransferClient with AWS Credentials and an
/// AmazonTransferClient Configuration object.
///
/// AWS Credentials
/// The AmazonTransferClient Configuration Object
public AmazonTransferClient(AWSCredentials credentials, AmazonTransferConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonTransferClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonTransferClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonTransferConfig())
{
}
///
/// Constructs AmazonTransferClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonTransferClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonTransferConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonTransferClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonTransferClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonTransferClient Configuration Object
public AmazonTransferClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonTransferConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonTransferClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonTransferClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonTransferConfig())
{
}
///
/// Constructs AmazonTransferClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonTransferClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonTransferConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonTransferClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonTransferClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonTransferClient Configuration Object
public AmazonTransferClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonTransferConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonTransferEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateAccess
///
/// Used by administrators to choose which groups in the directory should have access
/// to upload and download files over the enabled protocols using Transfer Family. For
/// example, a Microsoft Active Directory might contain 50,000 users, but only a small
/// fraction might need the ability to transfer files to the server. An administrator
/// can use CreateAccess
to limit the access to the correct set of users
/// who need this ability.
///
/// Container for the necessary parameters to execute the CreateAccess service method.
///
/// The response from the CreateAccess service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for CreateAccess Operation
public virtual CreateAccessResponse CreateAccess(CreateAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAccess operation.
///
///
/// Container for the necessary parameters to execute the CreateAccess operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAccess
/// operation.
/// REST API Reference for CreateAccess Operation
public virtual IAsyncResult BeginCreateAccess(CreateAccessRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAccessResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAccess operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAccess.
///
/// Returns a CreateAccessResult from Transfer.
/// REST API Reference for CreateAccess Operation
public virtual CreateAccessResponse EndCreateAccess(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateAgreement
///
/// Creates an agreement. An agreement is a bilateral trading partner agreement, or partnership,
/// between an Transfer Family server and an AS2 process. The agreement defines the file
/// and message transfer relationship between the server and the AS2 process. To define
/// an agreement, Transfer Family combines a server, local profile, partner profile, certificate,
/// and other attributes.
///
///
///
/// The partner is identified with the PartnerProfileId
, and the AS2 process
/// is identified with the LocalProfileId
.
///
///
/// Container for the necessary parameters to execute the CreateAgreement service method.
///
/// The response from the CreateAgreement service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for CreateAgreement Operation
public virtual CreateAgreementResponse CreateAgreement(CreateAgreementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAgreementRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAgreementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAgreement operation.
///
///
/// Container for the necessary parameters to execute the CreateAgreement operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAgreement
/// operation.
/// REST API Reference for CreateAgreement Operation
public virtual IAsyncResult BeginCreateAgreement(CreateAgreementRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAgreementRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAgreementResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAgreement operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAgreement.
///
/// Returns a CreateAgreementResult from Transfer.
/// REST API Reference for CreateAgreement Operation
public virtual CreateAgreementResponse EndCreateAgreement(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateConnector
///
/// Creates the connector, which captures the parameters for an outbound connection for
/// the AS2 or SFTP protocol. The connector is required for sending files to an externally
/// hosted AS2 or SFTP server. For more details about AS2 connectors, see Create
/// AS2 connectors.
///
///
///
/// You must specify exactly one configuration object: either for AS2 (As2Config
)
/// or SFTP (SftpConfig
).
///
///
///
/// Container for the necessary parameters to execute the CreateConnector service method.
///
/// The response from the CreateConnector service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for CreateConnector Operation
public virtual CreateConnectorResponse CreateConnector(CreateConnectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConnectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateConnector operation.
///
///
/// Container for the necessary parameters to execute the CreateConnector operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConnector
/// operation.
/// REST API Reference for CreateConnector Operation
public virtual IAsyncResult BeginCreateConnector(CreateConnectorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConnectorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateConnector operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateConnector.
///
/// Returns a CreateConnectorResult from Transfer.
/// REST API Reference for CreateConnector Operation
public virtual CreateConnectorResponse EndCreateConnector(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateProfile
///
/// Creates the local or partner profile to use for AS2 transfers.
///
/// Container for the necessary parameters to execute the CreateProfile service method.
///
/// The response from the CreateProfile service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for CreateProfile Operation
public virtual CreateProfileResponse CreateProfile(CreateProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateProfile operation.
///
///
/// Container for the necessary parameters to execute the CreateProfile operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProfile
/// operation.
/// REST API Reference for CreateProfile Operation
public virtual IAsyncResult BeginCreateProfile(CreateProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateProfile.
///
/// Returns a CreateProfileResult from Transfer.
/// REST API Reference for CreateProfile Operation
public virtual CreateProfileResponse EndCreateProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateServer
///
/// Instantiates an auto-scaling virtual server based on the selected file transfer protocol
/// in Amazon Web Services. When you make updates to your file transfer protocol-enabled
/// server or when you work with users, use the service-generated ServerId
/// property that is assigned to the newly created server.
///
/// Container for the necessary parameters to execute the CreateServer service method.
///
/// The response from the CreateServer service method, as returned by Transfer.
///
/// You do not have sufficient access to perform this action.
///
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for CreateServer Operation
public virtual CreateServerResponse CreateServer(CreateServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateServer operation.
///
///
/// Container for the necessary parameters to execute the CreateServer operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateServer
/// operation.
/// REST API Reference for CreateServer Operation
public virtual IAsyncResult BeginCreateServer(CreateServerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateServerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateServer operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateServer.
///
/// Returns a CreateServerResult from Transfer.
/// REST API Reference for CreateServer Operation
public virtual CreateServerResponse EndCreateServer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateUser
///
/// Creates a user and associates them with an existing file transfer protocol-enabled
/// server. You can only create and associate users with servers that have the IdentityProviderType
/// set to SERVICE_MANAGED
. Using parameters for CreateUser
,
/// you can specify the user name, set the home directory, store the user's public key,
/// and assign the user's Identity and Access Management (IAM) role. You can also optionally
/// add a session policy, and assign metadata with tags that can be used to group and
/// search for users.
///
/// Container for the necessary parameters to execute the CreateUser service method.
///
/// The response from the CreateUser service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for CreateUser Operation
public virtual CreateUserResponse CreateUser(CreateUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateUser operation.
///
///
/// Container for the necessary parameters to execute the CreateUser operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUser
/// operation.
/// REST API Reference for CreateUser Operation
public virtual IAsyncResult BeginCreateUser(CreateUserRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateUser operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateUser.
///
/// Returns a CreateUserResult from Transfer.
/// REST API Reference for CreateUser Operation
public virtual CreateUserResponse EndCreateUser(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateWorkflow
///
/// Allows you to create a workflow with specified steps and step details the workflow
/// invokes after file transfer completes. After creating a workflow, you can associate
/// the workflow created with any transfer servers by specifying the workflow-details
/// field in CreateServer
and UpdateServer
operations.
///
/// Container for the necessary parameters to execute the CreateWorkflow service method.
///
/// The response from the CreateWorkflow service method, as returned by Transfer.
///
/// You do not have sufficient access to perform this action.
///
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for CreateWorkflow Operation
public virtual CreateWorkflowResponse CreateWorkflow(CreateWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateWorkflow operation.
///
///
/// Container for the necessary parameters to execute the CreateWorkflow operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWorkflow
/// operation.
/// REST API Reference for CreateWorkflow Operation
public virtual IAsyncResult BeginCreateWorkflow(CreateWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateWorkflow.
///
/// Returns a CreateWorkflowResult from Transfer.
/// REST API Reference for CreateWorkflow Operation
public virtual CreateWorkflowResponse EndCreateWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAccess
///
/// Allows you to delete the access specified in the ServerID
and ExternalID
/// parameters.
///
/// Container for the necessary parameters to execute the DeleteAccess service method.
///
/// The response from the DeleteAccess service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DeleteAccess Operation
public virtual DeleteAccessResponse DeleteAccess(DeleteAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAccess operation.
///
///
/// Container for the necessary parameters to execute the DeleteAccess operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAccess
/// operation.
/// REST API Reference for DeleteAccess Operation
public virtual IAsyncResult BeginDeleteAccess(DeleteAccessRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccessResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAccess operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAccess.
///
/// Returns a DeleteAccessResult from Transfer.
/// REST API Reference for DeleteAccess Operation
public virtual DeleteAccessResponse EndDeleteAccess(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAgreement
///
/// Delete the agreement that's specified in the provided AgreementId
.
///
/// Container for the necessary parameters to execute the DeleteAgreement service method.
///
/// The response from the DeleteAgreement service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DeleteAgreement Operation
public virtual DeleteAgreementResponse DeleteAgreement(DeleteAgreementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAgreementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAgreementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAgreement operation.
///
///
/// Container for the necessary parameters to execute the DeleteAgreement operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAgreement
/// operation.
/// REST API Reference for DeleteAgreement Operation
public virtual IAsyncResult BeginDeleteAgreement(DeleteAgreementRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAgreementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAgreementResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAgreement operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAgreement.
///
/// Returns a DeleteAgreementResult from Transfer.
/// REST API Reference for DeleteAgreement Operation
public virtual DeleteAgreementResponse EndDeleteAgreement(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteCertificate
///
/// Deletes the certificate that's specified in the CertificateId
parameter.
///
/// Container for the necessary parameters to execute the DeleteCertificate service method.
///
/// The response from the DeleteCertificate service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DeleteCertificate Operation
public virtual DeleteCertificateResponse DeleteCertificate(DeleteCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteCertificate operation.
///
///
/// Container for the necessary parameters to execute the DeleteCertificate operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCertificate
/// operation.
/// REST API Reference for DeleteCertificate Operation
public virtual IAsyncResult BeginDeleteCertificate(DeleteCertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteCertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCertificate.
///
/// Returns a DeleteCertificateResult from Transfer.
/// REST API Reference for DeleteCertificate Operation
public virtual DeleteCertificateResponse EndDeleteCertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteConnector
///
/// Deletes the connector that's specified in the provided ConnectorId
.
///
/// Container for the necessary parameters to execute the DeleteConnector service method.
///
/// The response from the DeleteConnector service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DeleteConnector Operation
public virtual DeleteConnectorResponse DeleteConnector(DeleteConnectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConnectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteConnector operation.
///
///
/// Container for the necessary parameters to execute the DeleteConnector operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConnector
/// operation.
/// REST API Reference for DeleteConnector Operation
public virtual IAsyncResult BeginDeleteConnector(DeleteConnectorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConnectorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteConnector operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteConnector.
///
/// Returns a DeleteConnectorResult from Transfer.
/// REST API Reference for DeleteConnector Operation
public virtual DeleteConnectorResponse EndDeleteConnector(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteHostKey
///
/// Deletes the host key that's specified in the HostKeyId
parameter.
///
/// Container for the necessary parameters to execute the DeleteHostKey service method.
///
/// The response from the DeleteHostKey service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for DeleteHostKey Operation
public virtual DeleteHostKeyResponse DeleteHostKey(DeleteHostKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteHostKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteHostKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteHostKey operation.
///
///
/// Container for the necessary parameters to execute the DeleteHostKey operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteHostKey
/// operation.
/// REST API Reference for DeleteHostKey Operation
public virtual IAsyncResult BeginDeleteHostKey(DeleteHostKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteHostKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteHostKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteHostKey operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteHostKey.
///
/// Returns a DeleteHostKeyResult from Transfer.
/// REST API Reference for DeleteHostKey Operation
public virtual DeleteHostKeyResponse EndDeleteHostKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteProfile
///
/// Deletes the profile that's specified in the ProfileId
parameter.
///
/// Container for the necessary parameters to execute the DeleteProfile service method.
///
/// The response from the DeleteProfile service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DeleteProfile Operation
public virtual DeleteProfileResponse DeleteProfile(DeleteProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteProfile operation.
///
///
/// Container for the necessary parameters to execute the DeleteProfile operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProfile
/// operation.
/// REST API Reference for DeleteProfile Operation
public virtual IAsyncResult BeginDeleteProfile(DeleteProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteProfile.
///
/// Returns a DeleteProfileResult from Transfer.
/// REST API Reference for DeleteProfile Operation
public virtual DeleteProfileResponse EndDeleteProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteServer
///
/// Deletes the file transfer protocol-enabled server that you specify.
///
///
///
/// No response returns from this operation.
///
///
/// Container for the necessary parameters to execute the DeleteServer service method.
///
/// The response from the DeleteServer service method, as returned by Transfer.
///
/// You do not have sufficient access to perform this action.
///
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DeleteServer Operation
public virtual DeleteServerResponse DeleteServer(DeleteServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteServer operation.
///
///
/// Container for the necessary parameters to execute the DeleteServer operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteServer
/// operation.
/// REST API Reference for DeleteServer Operation
public virtual IAsyncResult BeginDeleteServer(DeleteServerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteServerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteServer operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteServer.
///
/// Returns a DeleteServerResult from Transfer.
/// REST API Reference for DeleteServer Operation
public virtual DeleteServerResponse EndDeleteServer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteSshPublicKey
///
/// Deletes a user's Secure Shell (SSH) public key.
///
/// Container for the necessary parameters to execute the DeleteSshPublicKey service method.
///
/// The response from the DeleteSshPublicKey service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for DeleteSshPublicKey Operation
public virtual DeleteSshPublicKeyResponse DeleteSshPublicKey(DeleteSshPublicKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSshPublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSshPublicKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteSshPublicKey operation.
///
///
/// Container for the necessary parameters to execute the DeleteSshPublicKey operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSshPublicKey
/// operation.
/// REST API Reference for DeleteSshPublicKey Operation
public virtual IAsyncResult BeginDeleteSshPublicKey(DeleteSshPublicKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSshPublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSshPublicKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteSshPublicKey operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteSshPublicKey.
///
/// Returns a DeleteSshPublicKeyResult from Transfer.
/// REST API Reference for DeleteSshPublicKey Operation
public virtual DeleteSshPublicKeyResponse EndDeleteSshPublicKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteUser
///
/// Deletes the user belonging to a file transfer protocol-enabled server you specify.
///
///
///
/// No response returns from this operation.
///
///
///
/// When you delete a user from a server, the user's information is lost.
///
///
///
/// Container for the necessary parameters to execute the DeleteUser service method.
///
/// The response from the DeleteUser service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DeleteUser Operation
public virtual DeleteUserResponse DeleteUser(DeleteUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteUser operation.
///
///
/// Container for the necessary parameters to execute the DeleteUser operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUser
/// operation.
/// REST API Reference for DeleteUser Operation
public virtual IAsyncResult BeginDeleteUser(DeleteUserRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteUser operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteUser.
///
/// Returns a DeleteUserResult from Transfer.
/// REST API Reference for DeleteUser Operation
public virtual DeleteUserResponse EndDeleteUser(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteWorkflow
///
/// Deletes the specified workflow.
///
/// Container for the necessary parameters to execute the DeleteWorkflow service method.
///
/// The response from the DeleteWorkflow service method, as returned by Transfer.
///
/// You do not have sufficient access to perform this action.
///
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DeleteWorkflow Operation
public virtual DeleteWorkflowResponse DeleteWorkflow(DeleteWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteWorkflow operation.
///
///
/// Container for the necessary parameters to execute the DeleteWorkflow operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWorkflow
/// operation.
/// REST API Reference for DeleteWorkflow Operation
public virtual IAsyncResult BeginDeleteWorkflow(DeleteWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteWorkflow.
///
/// Returns a DeleteWorkflowResult from Transfer.
/// REST API Reference for DeleteWorkflow Operation
public virtual DeleteWorkflowResponse EndDeleteWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAccess
///
/// Describes the access that is assigned to the specific file transfer protocol-enabled
/// server, as identified by its ServerId
property and its ExternalId
.
///
///
///
/// The response from this call returns the properties of the access that is associated
/// with the ServerId
value that was specified.
///
///
/// Container for the necessary parameters to execute the DescribeAccess service method.
///
/// The response from the DescribeAccess service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeAccess Operation
public virtual DescribeAccessResponse DescribeAccess(DescribeAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAccess operation.
///
///
/// Container for the necessary parameters to execute the DescribeAccess operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAccess
/// operation.
/// REST API Reference for DescribeAccess Operation
public virtual IAsyncResult BeginDescribeAccess(DescribeAccessRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAccessResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAccess operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAccess.
///
/// Returns a DescribeAccessResult from Transfer.
/// REST API Reference for DescribeAccess Operation
public virtual DescribeAccessResponse EndDescribeAccess(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAgreement
///
/// Describes the agreement that's identified by the AgreementId
.
///
/// Container for the necessary parameters to execute the DescribeAgreement service method.
///
/// The response from the DescribeAgreement service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeAgreement Operation
public virtual DescribeAgreementResponse DescribeAgreement(DescribeAgreementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAgreementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAgreementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAgreement operation.
///
///
/// Container for the necessary parameters to execute the DescribeAgreement operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAgreement
/// operation.
/// REST API Reference for DescribeAgreement Operation
public virtual IAsyncResult BeginDescribeAgreement(DescribeAgreementRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAgreementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAgreementResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAgreement operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAgreement.
///
/// Returns a DescribeAgreementResult from Transfer.
/// REST API Reference for DescribeAgreement Operation
public virtual DescribeAgreementResponse EndDescribeAgreement(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeCertificate
///
/// Describes the certificate that's identified by the CertificateId
.
///
/// Container for the necessary parameters to execute the DescribeCertificate service method.
///
/// The response from the DescribeCertificate service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeCertificate Operation
public virtual DescribeCertificateResponse DescribeCertificate(DescribeCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeCertificate operation.
///
///
/// Container for the necessary parameters to execute the DescribeCertificate operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeCertificate
/// operation.
/// REST API Reference for DescribeCertificate Operation
public virtual IAsyncResult BeginDescribeCertificate(DescribeCertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeCertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeCertificate.
///
/// Returns a DescribeCertificateResult from Transfer.
/// REST API Reference for DescribeCertificate Operation
public virtual DescribeCertificateResponse EndDescribeCertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeConnector
///
/// Describes the connector that's identified by the ConnectorId.
///
/// Container for the necessary parameters to execute the DescribeConnector service method.
///
/// The response from the DescribeConnector service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeConnector Operation
public virtual DescribeConnectorResponse DescribeConnector(DescribeConnectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeConnectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeConnector operation.
///
///
/// Container for the necessary parameters to execute the DescribeConnector operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeConnector
/// operation.
/// REST API Reference for DescribeConnector Operation
public virtual IAsyncResult BeginDescribeConnector(DescribeConnectorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeConnectorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeConnector operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeConnector.
///
/// Returns a DescribeConnectorResult from Transfer.
/// REST API Reference for DescribeConnector Operation
public virtual DescribeConnectorResponse EndDescribeConnector(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeExecution
///
/// You can use DescribeExecution
to check the details of the execution of
/// the specified workflow.
///
///
///
/// This API call only returns details for in-progress workflows.
///
///
///
/// If you provide an ID for an execution that is not in progress, or if the execution
/// doesn't match the specified workflow ID, you receive a ResourceNotFound
/// exception.
///
///
///
/// Container for the necessary parameters to execute the DescribeExecution service method.
///
/// The response from the DescribeExecution service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeExecution Operation
public virtual DescribeExecutionResponse DescribeExecution(DescribeExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeExecution operation.
///
///
/// Container for the necessary parameters to execute the DescribeExecution operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeExecution
/// operation.
/// REST API Reference for DescribeExecution Operation
public virtual IAsyncResult BeginDescribeExecution(DescribeExecutionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeExecutionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeExecution operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeExecution.
///
/// Returns a DescribeExecutionResult from Transfer.
/// REST API Reference for DescribeExecution Operation
public virtual DescribeExecutionResponse EndDescribeExecution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeHostKey
///
/// Returns the details of the host key that's specified by the HostKeyId
/// and ServerId
.
///
/// Container for the necessary parameters to execute the DescribeHostKey service method.
///
/// The response from the DescribeHostKey service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeHostKey Operation
public virtual DescribeHostKeyResponse DescribeHostKey(DescribeHostKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeHostKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeHostKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeHostKey operation.
///
///
/// Container for the necessary parameters to execute the DescribeHostKey operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeHostKey
/// operation.
/// REST API Reference for DescribeHostKey Operation
public virtual IAsyncResult BeginDescribeHostKey(DescribeHostKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeHostKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeHostKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeHostKey operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeHostKey.
///
/// Returns a DescribeHostKeyResult from Transfer.
/// REST API Reference for DescribeHostKey Operation
public virtual DescribeHostKeyResponse EndDescribeHostKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeProfile
///
/// Returns the details of the profile that's specified by the ProfileId
.
///
/// Container for the necessary parameters to execute the DescribeProfile service method.
///
/// The response from the DescribeProfile service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeProfile Operation
public virtual DescribeProfileResponse DescribeProfile(DescribeProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeProfile operation.
///
///
/// Container for the necessary parameters to execute the DescribeProfile operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeProfile
/// operation.
/// REST API Reference for DescribeProfile Operation
public virtual IAsyncResult BeginDescribeProfile(DescribeProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeProfile.
///
/// Returns a DescribeProfileResult from Transfer.
/// REST API Reference for DescribeProfile Operation
public virtual DescribeProfileResponse EndDescribeProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeSecurityPolicy
///
/// Describes the security policy that is attached to your file transfer protocol-enabled
/// server. The response contains a description of the security policy's properties. For
/// more information about security policies, see Working
/// with security policies.
///
/// Container for the necessary parameters to execute the DescribeSecurityPolicy service method.
///
/// The response from the DescribeSecurityPolicy service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeSecurityPolicy Operation
public virtual DescribeSecurityPolicyResponse DescribeSecurityPolicy(DescribeSecurityPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSecurityPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSecurityPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeSecurityPolicy operation.
///
///
/// Container for the necessary parameters to execute the DescribeSecurityPolicy operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSecurityPolicy
/// operation.
/// REST API Reference for DescribeSecurityPolicy Operation
public virtual IAsyncResult BeginDescribeSecurityPolicy(DescribeSecurityPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSecurityPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSecurityPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeSecurityPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeSecurityPolicy.
///
/// Returns a DescribeSecurityPolicyResult from Transfer.
/// REST API Reference for DescribeSecurityPolicy Operation
public virtual DescribeSecurityPolicyResponse EndDescribeSecurityPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeServer
///
/// Describes a file transfer protocol-enabled server that you specify by passing the
/// ServerId
parameter.
///
///
///
/// The response contains a description of a server's properties. When you set EndpointType
/// to VPC, the response will contain the EndpointDetails
.
///
///
/// Container for the necessary parameters to execute the DescribeServer service method.
///
/// The response from the DescribeServer service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeServer Operation
public virtual DescribeServerResponse DescribeServer(DescribeServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeServer operation.
///
///
/// Container for the necessary parameters to execute the DescribeServer operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeServer
/// operation.
/// REST API Reference for DescribeServer Operation
public virtual IAsyncResult BeginDescribeServer(DescribeServerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeServer operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeServer.
///
/// Returns a DescribeServerResult from Transfer.
/// REST API Reference for DescribeServer Operation
public virtual DescribeServerResponse EndDescribeServer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeUser
///
/// Describes the user assigned to the specific file transfer protocol-enabled server,
/// as identified by its ServerId
property.
///
///
///
/// The response from this call returns the properties of the user associated with the
/// ServerId
value that was specified.
///
///
/// Container for the necessary parameters to execute the DescribeUser service method.
///
/// The response from the DescribeUser service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeUser Operation
public virtual DescribeUserResponse DescribeUser(DescribeUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeUser operation.
///
///
/// Container for the necessary parameters to execute the DescribeUser operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUser
/// operation.
/// REST API Reference for DescribeUser Operation
public virtual IAsyncResult BeginDescribeUser(DescribeUserRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUserResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeUser operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeUser.
///
/// Returns a DescribeUserResult from Transfer.
/// REST API Reference for DescribeUser Operation
public virtual DescribeUserResponse EndDescribeUser(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeWorkflow
///
/// Describes the specified workflow.
///
/// Container for the necessary parameters to execute the DescribeWorkflow service method.
///
/// The response from the DescribeWorkflow service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for DescribeWorkflow Operation
public virtual DescribeWorkflowResponse DescribeWorkflow(DescribeWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeWorkflow operation.
///
///
/// Container for the necessary parameters to execute the DescribeWorkflow operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeWorkflow
/// operation.
/// REST API Reference for DescribeWorkflow Operation
public virtual IAsyncResult BeginDescribeWorkflow(DescribeWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeWorkflow.
///
/// Returns a DescribeWorkflowResult from Transfer.
/// REST API Reference for DescribeWorkflow Operation
public virtual DescribeWorkflowResponse EndDescribeWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ImportCertificate
///
/// Imports the signing and encryption certificates that you need to create local (AS2)
/// profiles and partner profiles.
///
/// Container for the necessary parameters to execute the ImportCertificate service method.
///
/// The response from the ImportCertificate service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ImportCertificate Operation
public virtual ImportCertificateResponse ImportCertificate(ImportCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ImportCertificate operation.
///
///
/// Container for the necessary parameters to execute the ImportCertificate operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportCertificate
/// operation.
/// REST API Reference for ImportCertificate Operation
public virtual IAsyncResult BeginImportCertificate(ImportCertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportCertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ImportCertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginImportCertificate.
///
/// Returns a ImportCertificateResult from Transfer.
/// REST API Reference for ImportCertificate Operation
public virtual ImportCertificateResponse EndImportCertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ImportHostKey
///
/// Adds a host key to the server that's specified by the ServerId
parameter.
///
/// Container for the necessary parameters to execute the ImportHostKey service method.
///
/// The response from the ImportHostKey service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for ImportHostKey Operation
public virtual ImportHostKeyResponse ImportHostKey(ImportHostKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportHostKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportHostKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ImportHostKey operation.
///
///
/// Container for the necessary parameters to execute the ImportHostKey operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportHostKey
/// operation.
/// REST API Reference for ImportHostKey Operation
public virtual IAsyncResult BeginImportHostKey(ImportHostKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportHostKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportHostKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ImportHostKey operation.
///
///
/// The IAsyncResult returned by the call to BeginImportHostKey.
///
/// Returns a ImportHostKeyResult from Transfer.
/// REST API Reference for ImportHostKey Operation
public virtual ImportHostKeyResponse EndImportHostKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ImportSshPublicKey
///
/// Adds a Secure Shell (SSH) public key to a Transfer Family user identified by a UserName
/// value assigned to the specific file transfer protocol-enabled server, identified by
/// ServerId
.
///
///
///
/// The response returns the UserName
value, the ServerId
value,
/// and the name of the SshPublicKeyId
.
///
///
/// Container for the necessary parameters to execute the ImportSshPublicKey service method.
///
/// The response from the ImportSshPublicKey service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for ImportSshPublicKey Operation
public virtual ImportSshPublicKeyResponse ImportSshPublicKey(ImportSshPublicKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportSshPublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportSshPublicKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ImportSshPublicKey operation.
///
///
/// Container for the necessary parameters to execute the ImportSshPublicKey operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndImportSshPublicKey
/// operation.
/// REST API Reference for ImportSshPublicKey Operation
public virtual IAsyncResult BeginImportSshPublicKey(ImportSshPublicKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportSshPublicKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportSshPublicKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ImportSshPublicKey operation.
///
///
/// The IAsyncResult returned by the call to BeginImportSshPublicKey.
///
/// Returns a ImportSshPublicKeyResult from Transfer.
/// REST API Reference for ImportSshPublicKey Operation
public virtual ImportSshPublicKeyResponse EndImportSshPublicKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAccesses
///
/// Lists the details for all the accesses you have on your server.
///
/// Container for the necessary parameters to execute the ListAccesses service method.
///
/// The response from the ListAccesses service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListAccesses Operation
public virtual ListAccessesResponse ListAccesses(ListAccessesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccessesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccessesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAccesses operation.
///
///
/// Container for the necessary parameters to execute the ListAccesses operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAccesses
/// operation.
/// REST API Reference for ListAccesses Operation
public virtual IAsyncResult BeginListAccesses(ListAccessesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccessesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccessesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAccesses operation.
///
///
/// The IAsyncResult returned by the call to BeginListAccesses.
///
/// Returns a ListAccessesResult from Transfer.
/// REST API Reference for ListAccesses Operation
public virtual ListAccessesResponse EndListAccesses(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAgreements
///
/// Returns a list of the agreements for the server that's identified by the ServerId
/// that you supply. If you want to limit the results to a certain number, supply a value
/// for the MaxResults
parameter. If you ran the command previously and received
/// a value for NextToken
, you can supply that value to continue listing
/// agreements from where you left off.
///
/// Container for the necessary parameters to execute the ListAgreements service method.
///
/// The response from the ListAgreements service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListAgreements Operation
public virtual ListAgreementsResponse ListAgreements(ListAgreementsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAgreementsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAgreementsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAgreements operation.
///
///
/// Container for the necessary parameters to execute the ListAgreements operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAgreements
/// operation.
/// REST API Reference for ListAgreements Operation
public virtual IAsyncResult BeginListAgreements(ListAgreementsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAgreementsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAgreementsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAgreements operation.
///
///
/// The IAsyncResult returned by the call to BeginListAgreements.
///
/// Returns a ListAgreementsResult from Transfer.
/// REST API Reference for ListAgreements Operation
public virtual ListAgreementsResponse EndListAgreements(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListCertificates
///
/// Returns a list of the current certificates that have been imported into Transfer Family.
/// If you want to limit the results to a certain number, supply a value for the MaxResults
/// parameter. If you ran the command previously and received a value for the NextToken
/// parameter, you can supply that value to continue listing certificates from where you
/// left off.
///
/// Container for the necessary parameters to execute the ListCertificates service method.
///
/// The response from the ListCertificates service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListCertificates Operation
public virtual ListCertificatesResponse ListCertificates(ListCertificatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCertificatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCertificatesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListCertificates operation.
///
///
/// Container for the necessary parameters to execute the ListCertificates operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCertificates
/// operation.
/// REST API Reference for ListCertificates Operation
public virtual IAsyncResult BeginListCertificates(ListCertificatesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCertificatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCertificatesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListCertificates operation.
///
///
/// The IAsyncResult returned by the call to BeginListCertificates.
///
/// Returns a ListCertificatesResult from Transfer.
/// REST API Reference for ListCertificates Operation
public virtual ListCertificatesResponse EndListCertificates(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListConnectors
///
/// Lists the connectors for the specified Region.
///
/// Container for the necessary parameters to execute the ListConnectors service method.
///
/// The response from the ListConnectors service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListConnectors Operation
public virtual ListConnectorsResponse ListConnectors(ListConnectorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConnectorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConnectorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListConnectors operation.
///
///
/// Container for the necessary parameters to execute the ListConnectors operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConnectors
/// operation.
/// REST API Reference for ListConnectors Operation
public virtual IAsyncResult BeginListConnectors(ListConnectorsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConnectorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConnectorsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListConnectors operation.
///
///
/// The IAsyncResult returned by the call to BeginListConnectors.
///
/// Returns a ListConnectorsResult from Transfer.
/// REST API Reference for ListConnectors Operation
public virtual ListConnectorsResponse EndListConnectors(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListExecutions
///
/// Lists all in-progress executions for the specified workflow.
///
///
///
/// If the specified workflow ID cannot be found, ListExecutions
returns
/// a ResourceNotFound
exception.
///
///
///
/// Container for the necessary parameters to execute the ListExecutions service method.
///
/// The response from the ListExecutions service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListExecutions Operation
public virtual ListExecutionsResponse ListExecutions(ListExecutionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExecutionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExecutionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListExecutions operation.
///
///
/// Container for the necessary parameters to execute the ListExecutions operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListExecutions
/// operation.
/// REST API Reference for ListExecutions Operation
public virtual IAsyncResult BeginListExecutions(ListExecutionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExecutionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExecutionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListExecutions operation.
///
///
/// The IAsyncResult returned by the call to BeginListExecutions.
///
/// Returns a ListExecutionsResult from Transfer.
/// REST API Reference for ListExecutions Operation
public virtual ListExecutionsResponse EndListExecutions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListHostKeys
///
/// Returns a list of host keys for the server that's specified by the ServerId
/// parameter.
///
/// Container for the necessary parameters to execute the ListHostKeys service method.
///
/// The response from the ListHostKeys service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListHostKeys Operation
public virtual ListHostKeysResponse ListHostKeys(ListHostKeysRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListHostKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListHostKeysResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListHostKeys operation.
///
///
/// Container for the necessary parameters to execute the ListHostKeys operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListHostKeys
/// operation.
/// REST API Reference for ListHostKeys Operation
public virtual IAsyncResult BeginListHostKeys(ListHostKeysRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListHostKeysRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListHostKeysResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListHostKeys operation.
///
///
/// The IAsyncResult returned by the call to BeginListHostKeys.
///
/// Returns a ListHostKeysResult from Transfer.
/// REST API Reference for ListHostKeys Operation
public virtual ListHostKeysResponse EndListHostKeys(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListProfiles
///
/// Returns a list of the profiles for your system. If you want to limit the results to
/// a certain number, supply a value for the MaxResults
parameter. If you
/// ran the command previously and received a value for NextToken
, you can
/// supply that value to continue listing profiles from where you left off.
///
/// Container for the necessary parameters to execute the ListProfiles service method.
///
/// The response from the ListProfiles service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListProfiles Operation
public virtual ListProfilesResponse ListProfiles(ListProfilesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProfilesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListProfiles operation.
///
///
/// Container for the necessary parameters to execute the ListProfiles operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProfiles
/// operation.
/// REST API Reference for ListProfiles Operation
public virtual IAsyncResult BeginListProfiles(ListProfilesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProfilesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListProfiles operation.
///
///
/// The IAsyncResult returned by the call to BeginListProfiles.
///
/// Returns a ListProfilesResult from Transfer.
/// REST API Reference for ListProfiles Operation
public virtual ListProfilesResponse EndListProfiles(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListSecurityPolicies
///
/// Lists the security policies that are attached to your file transfer protocol-enabled
/// servers.
///
/// Container for the necessary parameters to execute the ListSecurityPolicies service method.
///
/// The response from the ListSecurityPolicies service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListSecurityPolicies Operation
public virtual ListSecurityPoliciesResponse ListSecurityPolicies(ListSecurityPoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSecurityPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSecurityPoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListSecurityPolicies operation.
///
///
/// Container for the necessary parameters to execute the ListSecurityPolicies operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSecurityPolicies
/// operation.
/// REST API Reference for ListSecurityPolicies Operation
public virtual IAsyncResult BeginListSecurityPolicies(ListSecurityPoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSecurityPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSecurityPoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSecurityPolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginListSecurityPolicies.
///
/// Returns a ListSecurityPoliciesResult from Transfer.
/// REST API Reference for ListSecurityPolicies Operation
public virtual ListSecurityPoliciesResponse EndListSecurityPolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListServers
///
/// Lists the file transfer protocol-enabled servers that are associated with your Amazon
/// Web Services account.
///
/// Container for the necessary parameters to execute the ListServers service method.
///
/// The response from the ListServers service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListServers Operation
public virtual ListServersResponse ListServers(ListServersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListServers operation.
///
///
/// Container for the necessary parameters to execute the ListServers operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListServers
/// operation.
/// REST API Reference for ListServers Operation
public virtual IAsyncResult BeginListServers(ListServersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListServersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListServers operation.
///
///
/// The IAsyncResult returned by the call to BeginListServers.
///
/// Returns a ListServersResult from Transfer.
/// REST API Reference for ListServers Operation
public virtual ListServersResponse EndListServers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify.
/// The resource can be a user, server, or role.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from Transfer.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListUsers
///
/// Lists the users for a file transfer protocol-enabled server that you specify by passing
/// the ServerId
parameter.
///
/// Container for the necessary parameters to execute the ListUsers service method.
///
/// The response from the ListUsers service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListUsers Operation
public virtual ListUsersResponse ListUsers(ListUsersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListUsers operation.
///
///
/// Container for the necessary parameters to execute the ListUsers operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListUsers
/// operation.
/// REST API Reference for ListUsers Operation
public virtual IAsyncResult BeginListUsers(ListUsersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListUsers operation.
///
///
/// The IAsyncResult returned by the call to BeginListUsers.
///
/// Returns a ListUsersResult from Transfer.
/// REST API Reference for ListUsers Operation
public virtual ListUsersResponse EndListUsers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListWorkflows
///
/// Lists all workflows associated with your Amazon Web Services account for your current
/// region.
///
/// Container for the necessary parameters to execute the ListWorkflows service method.
///
/// The response from the ListWorkflows service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// The NextToken
parameter that was passed is invalid.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for ListWorkflows Operation
public virtual ListWorkflowsResponse ListWorkflows(ListWorkflowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkflowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkflowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListWorkflows operation.
///
///
/// Container for the necessary parameters to execute the ListWorkflows operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListWorkflows
/// operation.
/// REST API Reference for ListWorkflows Operation
public virtual IAsyncResult BeginListWorkflows(ListWorkflowsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkflowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkflowsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListWorkflows operation.
///
///
/// The IAsyncResult returned by the call to BeginListWorkflows.
///
/// Returns a ListWorkflowsResult from Transfer.
/// REST API Reference for ListWorkflows Operation
public virtual ListWorkflowsResponse EndListWorkflows(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region SendWorkflowStepState
///
/// Sends a callback for asynchronous custom steps.
///
///
///
/// The ExecutionId
, WorkflowId
, and Token
are
/// passed to the target resource during execution of a custom step of a workflow. You
/// must include those with their callback as well as providing a status.
///
///
/// Container for the necessary parameters to execute the SendWorkflowStepState service method.
///
/// The response from the SendWorkflowStepState service method, as returned by Transfer.
///
/// You do not have sufficient access to perform this action.
///
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for SendWorkflowStepState Operation
public virtual SendWorkflowStepStateResponse SendWorkflowStepState(SendWorkflowStepStateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SendWorkflowStepStateRequestMarshaller.Instance;
options.ResponseUnmarshaller = SendWorkflowStepStateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the SendWorkflowStepState operation.
///
///
/// Container for the necessary parameters to execute the SendWorkflowStepState operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSendWorkflowStepState
/// operation.
/// REST API Reference for SendWorkflowStepState Operation
public virtual IAsyncResult BeginSendWorkflowStepState(SendWorkflowStepStateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = SendWorkflowStepStateRequestMarshaller.Instance;
options.ResponseUnmarshaller = SendWorkflowStepStateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the SendWorkflowStepState operation.
///
///
/// The IAsyncResult returned by the call to BeginSendWorkflowStepState.
///
/// Returns a SendWorkflowStepStateResult from Transfer.
/// REST API Reference for SendWorkflowStepState Operation
public virtual SendWorkflowStepStateResponse EndSendWorkflowStepState(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartFileTransfer
///
/// Begins a file transfer between local Amazon Web Services storage and a remote AS2
/// or SFTP server.
///
/// -
///
/// For an AS2 connector, you specify the
ConnectorId
and one or more SendFilePaths
/// to identify the files you want to transfer.
///
/// -
///
/// For an SFTP connector, the file transfer can be either outbound or inbound. In both
/// cases, you specify the
ConnectorId
. Depending on the direction of the
/// transfer, you also specify the following items:
///
/// -
///
/// If you are transferring file from a partner's SFTP server to a Transfer Family server,
/// you specify one or more
RetreiveFilePaths
to identify the files you want
/// to transfer, and a LocalDirectoryPath
to specify the destination folder.
///
/// -
///
/// If you are transferring file to a partner's SFTP server from Amazon Web Services storage,
/// you specify one or more
SendFilePaths
to identify the files you want
/// to transfer, and a RemoteDirectoryPath
to specify the destination folder.
///
///
///
/// Container for the necessary parameters to execute the StartFileTransfer service method.
///
/// The response from the StartFileTransfer service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for StartFileTransfer Operation
public virtual StartFileTransferResponse StartFileTransfer(StartFileTransferRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFileTransferRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFileTransferResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartFileTransfer operation.
///
///
/// Container for the necessary parameters to execute the StartFileTransfer operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartFileTransfer
/// operation.
/// REST API Reference for StartFileTransfer Operation
public virtual IAsyncResult BeginStartFileTransfer(StartFileTransferRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFileTransferRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFileTransferResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartFileTransfer operation.
///
///
/// The IAsyncResult returned by the call to BeginStartFileTransfer.
///
/// Returns a StartFileTransferResult from Transfer.
/// REST API Reference for StartFileTransfer Operation
public virtual StartFileTransferResponse EndStartFileTransfer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartServer
///
/// Changes the state of a file transfer protocol-enabled server from OFFLINE
/// to ONLINE
. It has no impact on a server that is already ONLINE
.
/// An ONLINE
server can accept and process file transfer jobs.
///
///
///
/// The state of STARTING
indicates that the server is in an intermediate
/// state, either not fully able to respond, or not fully online. The values of START_FAILED
/// can indicate an error condition.
///
///
///
/// No response is returned from this call.
///
///
/// Container for the necessary parameters to execute the StartServer service method.
///
/// The response from the StartServer service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for StartServer Operation
public virtual StartServerResponse StartServer(StartServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartServer operation.
///
///
/// Container for the necessary parameters to execute the StartServer operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartServer
/// operation.
/// REST API Reference for StartServer Operation
public virtual IAsyncResult BeginStartServer(StartServerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartServerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartServer operation.
///
///
/// The IAsyncResult returned by the call to BeginStartServer.
///
/// Returns a StartServerResult from Transfer.
/// REST API Reference for StartServer Operation
public virtual StartServerResponse EndStartServer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StopServer
///
/// Changes the state of a file transfer protocol-enabled server from ONLINE
/// to OFFLINE
. An OFFLINE
server cannot accept and process
/// file transfer jobs. Information tied to your server, such as server and user properties,
/// are not affected by stopping your server.
///
///
///
/// Stopping the server does not reduce or impact your file transfer protocol endpoint
/// billing; you must delete the server to stop being billed.
///
///
///
/// The state of STOPPING
indicates that the server is in an intermediate
/// state, either not fully able to respond, or not fully offline. The values of STOP_FAILED
/// can indicate an error condition.
///
///
///
/// No response is returned from this call.
///
///
/// Container for the necessary parameters to execute the StopServer service method.
///
/// The response from the StopServer service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for StopServer Operation
public virtual StopServerResponse StopServer(StopServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StopServer operation.
///
///
/// Container for the necessary parameters to execute the StopServer operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopServer
/// operation.
/// REST API Reference for StopServer Operation
public virtual IAsyncResult BeginStopServer(StopServerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopServerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StopServer operation.
///
///
/// The IAsyncResult returned by the call to BeginStopServer.
///
/// Returns a StopServerResult from Transfer.
/// REST API Reference for StopServer Operation
public virtual StopServerResponse EndStopServer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Attaches a key-value pair to a resource, as identified by its Amazon Resource Name
/// (ARN). Resources are users, servers, roles, and other entities.
///
///
///
/// There is no response returned from this call.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from Transfer.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TestConnection
///
/// Tests whether your SFTP connector is set up successfully. We highly recommend that
/// you call this operation to test your ability to transfer files between a Transfer
/// Family server and a trading partner's SFTP server.
///
/// Container for the necessary parameters to execute the TestConnection service method.
///
/// The response from the TestConnection service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for TestConnection Operation
public virtual TestConnectionResponse TestConnection(TestConnectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestConnectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TestConnection operation.
///
///
/// Container for the necessary parameters to execute the TestConnection operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestConnection
/// operation.
/// REST API Reference for TestConnection Operation
public virtual IAsyncResult BeginTestConnection(TestConnectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestConnectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestConnectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TestConnection operation.
///
///
/// The IAsyncResult returned by the call to BeginTestConnection.
///
/// Returns a TestConnectionResult from Transfer.
/// REST API Reference for TestConnection Operation
public virtual TestConnectionResponse EndTestConnection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TestIdentityProvider
///
/// If the IdentityProviderType
of a file transfer protocol-enabled server
/// is AWS_DIRECTORY_SERVICE
or API_Gateway
, tests whether your
/// identity provider is set up successfully. We highly recommend that you call this operation
/// to test your authentication method as soon as you create your server. By doing so,
/// you can troubleshoot issues with the identity provider integration to ensure that
/// your users can successfully use the service.
///
///
///
/// The ServerId
and UserName
parameters are required. The
/// ServerProtocol
, SourceIp
, and UserPassword
/// are all optional.
///
///
///
/// Note the following:
///
/// -
///
/// You cannot use
TestIdentityProvider
if the IdentityProviderType
/// of your server is SERVICE_MANAGED
.
///
/// -
///
///
TestIdentityProvider
does not work with keys: it only accepts passwords.
///
/// -
///
///
TestIdentityProvider
can test the password operation for a custom Identity
/// Provider that handles keys and passwords.
///
/// -
///
/// If you provide any incorrect values for any parameters, the
Response
/// field is empty.
///
/// -
///
/// If you provide a server ID for a server that uses service-managed users, you get
/// an error:
///
///
///
///
An error occurred (InvalidRequestException) when calling the TestIdentityProvider
/// operation: s-server-ID not configured for external auth
///
/// -
///
/// If you enter a Server ID for the
--server-id
parameter that does not
/// identify an actual Transfer server, you receive the following error:
///
///
///
/// An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider
/// operation: Unknown server
.
///
///
///
/// It is possible your sever is in a different region. You can specify a region by adding
/// the following: --region region-code
, such as --region us-east-2
/// to specify a server in US East (Ohio).
///
///
///
/// Container for the necessary parameters to execute the TestIdentityProvider service method.
///
/// The response from the TestIdentityProvider service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for TestIdentityProvider Operation
public virtual TestIdentityProviderResponse TestIdentityProvider(TestIdentityProviderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestIdentityProviderRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestIdentityProviderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TestIdentityProvider operation.
///
///
/// Container for the necessary parameters to execute the TestIdentityProvider operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestIdentityProvider
/// operation.
/// REST API Reference for TestIdentityProvider Operation
public virtual IAsyncResult BeginTestIdentityProvider(TestIdentityProviderRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TestIdentityProviderRequestMarshaller.Instance;
options.ResponseUnmarshaller = TestIdentityProviderResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TestIdentityProvider operation.
///
///
/// The IAsyncResult returned by the call to BeginTestIdentityProvider.
///
/// Returns a TestIdentityProviderResult from Transfer.
/// REST API Reference for TestIdentityProvider Operation
public virtual TestIdentityProviderResponse EndTestIdentityProvider(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Detaches a key-value pair from a resource, as identified by its Amazon Resource Name
/// (ARN). Resources are users, servers, roles, and other entities.
///
///
///
/// No response is returned from this call.
///
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from Transfer.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateAccess
///
/// Allows you to update parameters for the access specified in the ServerID
/// and ExternalID
parameters.
///
/// Container for the necessary parameters to execute the UpdateAccess service method.
///
/// The response from the UpdateAccess service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for UpdateAccess Operation
public virtual UpdateAccessResponse UpdateAccess(UpdateAccessRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAccessResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateAccess operation.
///
///
/// Container for the necessary parameters to execute the UpdateAccess operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAccess
/// operation.
/// REST API Reference for UpdateAccess Operation
public virtual IAsyncResult BeginUpdateAccess(UpdateAccessRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAccessRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAccessResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateAccess operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateAccess.
///
/// Returns a UpdateAccessResult from Transfer.
/// REST API Reference for UpdateAccess Operation
public virtual UpdateAccessResponse EndUpdateAccess(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateAgreement
///
/// Updates some of the parameters for an existing agreement. Provide the AgreementId
/// and the ServerId
for the agreement that you want to update, along with
/// the new values for the parameters to update.
///
/// Container for the necessary parameters to execute the UpdateAgreement service method.
///
/// The response from the UpdateAgreement service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for UpdateAgreement Operation
public virtual UpdateAgreementResponse UpdateAgreement(UpdateAgreementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAgreementRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAgreementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateAgreement operation.
///
///
/// Container for the necessary parameters to execute the UpdateAgreement operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAgreement
/// operation.
/// REST API Reference for UpdateAgreement Operation
public virtual IAsyncResult BeginUpdateAgreement(UpdateAgreementRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAgreementRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAgreementResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateAgreement operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateAgreement.
///
/// Returns a UpdateAgreementResult from Transfer.
/// REST API Reference for UpdateAgreement Operation
public virtual UpdateAgreementResponse EndUpdateAgreement(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateCertificate
///
/// Updates the active and inactive dates for a certificate.
///
/// Container for the necessary parameters to execute the UpdateCertificate service method.
///
/// The response from the UpdateCertificate service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for UpdateCertificate Operation
public virtual UpdateCertificateResponse UpdateCertificate(UpdateCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateCertificate operation.
///
///
/// Container for the necessary parameters to execute the UpdateCertificate operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateCertificate
/// operation.
/// REST API Reference for UpdateCertificate Operation
public virtual IAsyncResult BeginUpdateCertificate(UpdateCertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateCertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateCertificate.
///
/// Returns a UpdateCertificateResult from Transfer.
/// REST API Reference for UpdateCertificate Operation
public virtual UpdateCertificateResponse EndUpdateCertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateConnector
///
/// Updates some of the parameters for an existing connector. Provide the ConnectorId
/// for the connector that you want to update, along with the new values for the parameters
/// to update.
///
/// Container for the necessary parameters to execute the UpdateConnector service method.
///
/// The response from the UpdateConnector service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for UpdateConnector Operation
public virtual UpdateConnectorResponse UpdateConnector(UpdateConnectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConnectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateConnector operation.
///
///
/// Container for the necessary parameters to execute the UpdateConnector operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConnector
/// operation.
/// REST API Reference for UpdateConnector Operation
public virtual IAsyncResult BeginUpdateConnector(UpdateConnectorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConnectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConnectorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateConnector operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateConnector.
///
/// Returns a UpdateConnectorResult from Transfer.
/// REST API Reference for UpdateConnector Operation
public virtual UpdateConnectorResponse EndUpdateConnector(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateHostKey
///
/// Updates the description for the host key that's specified by the ServerId
/// and HostKeyId
parameters.
///
/// Container for the necessary parameters to execute the UpdateHostKey service method.
///
/// The response from the UpdateHostKey service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for UpdateHostKey Operation
public virtual UpdateHostKeyResponse UpdateHostKey(UpdateHostKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateHostKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateHostKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateHostKey operation.
///
///
/// Container for the necessary parameters to execute the UpdateHostKey operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateHostKey
/// operation.
/// REST API Reference for UpdateHostKey Operation
public virtual IAsyncResult BeginUpdateHostKey(UpdateHostKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateHostKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateHostKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateHostKey operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateHostKey.
///
/// Returns a UpdateHostKeyResult from Transfer.
/// REST API Reference for UpdateHostKey Operation
public virtual UpdateHostKeyResponse EndUpdateHostKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateProfile
///
/// Updates some of the parameters for an existing profile. Provide the ProfileId
/// for the profile that you want to update, along with the new values for the parameters
/// to update.
///
/// Container for the necessary parameters to execute the UpdateProfile service method.
///
/// The response from the UpdateProfile service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for UpdateProfile Operation
public virtual UpdateProfileResponse UpdateProfile(UpdateProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateProfile operation.
///
///
/// Container for the necessary parameters to execute the UpdateProfile operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProfile
/// operation.
/// REST API Reference for UpdateProfile Operation
public virtual IAsyncResult BeginUpdateProfile(UpdateProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateProfile.
///
/// Returns a UpdateProfileResult from Transfer.
/// REST API Reference for UpdateProfile Operation
public virtual UpdateProfileResponse EndUpdateProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateServer
///
/// Updates the file transfer protocol-enabled server's properties after that server has
/// been created.
///
///
///
/// The UpdateServer
call returns the ServerId
of the server
/// you updated.
///
///
/// Container for the necessary parameters to execute the UpdateServer service method.
///
/// The response from the UpdateServer service method, as returned by Transfer.
///
/// You do not have sufficient access to perform this action.
///
///
/// This exception is thrown when the UpdateServer
is called for a file transfer
/// protocol-enabled server that has VPC as the endpoint type and the server's VpcEndpointID
/// is not in the available state.
///
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// The requested resource does not exist.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for UpdateServer Operation
public virtual UpdateServerResponse UpdateServer(UpdateServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateServer operation.
///
///
/// Container for the necessary parameters to execute the UpdateServer operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateServer
/// operation.
/// REST API Reference for UpdateServer Operation
public virtual IAsyncResult BeginUpdateServer(UpdateServerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateServerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateServer operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateServer.
///
/// Returns a UpdateServerResult from Transfer.
/// REST API Reference for UpdateServer Operation
public virtual UpdateServerResponse EndUpdateServer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateUser
///
/// Assigns new properties to a user. Parameters you pass modify any or all of the following:
/// the home directory, role, and policy for the UserName
and ServerId
/// you specify.
///
///
///
/// The response returns the ServerId
and the UserName
for the
/// updated user.
///
///
/// Container for the necessary parameters to execute the UpdateUser service method.
///
/// The response from the UpdateUser service method, as returned by Transfer.
///
/// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family
/// service.
///
///
/// This exception is thrown when the client submits a malformed request.
///
///
/// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer
/// Family service.
///
///
/// The request has failed because the Amazon Web ServicesTransfer Family service is not
/// available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for UpdateUser Operation
public virtual UpdateUserResponse UpdateUser(UpdateUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateUser operation.
///
///
/// Container for the necessary parameters to execute the UpdateUser operation on AmazonTransferClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateUser
/// operation.
/// REST API Reference for UpdateUser Operation
public virtual IAsyncResult BeginUpdateUser(UpdateUserRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateUser operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateUser.
///
/// Returns a UpdateUserResult from Transfer.
/// REST API Reference for UpdateUser Operation
public virtual UpdateUserResponse EndUpdateUser(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}