/*
* 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Appflow.Model;
namespace Amazon.Appflow
{
///
/// Interface for accessing Appflow
///
/// Welcome to the Amazon AppFlow API reference. This guide is for developers who need
/// detailed information about the Amazon AppFlow API operations, data types, and errors.
///
///
///
///
/// Amazon AppFlow is a fully managed integration service that enables you to securely
/// transfer data between software as a service (SaaS) applications like Salesforce, Marketo,
/// Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.
///
///
///
///
/// Use the following links to get started on the Amazon AppFlow API:
///
/// -
///
/// Actions:
/// An alphabetical list of all Amazon AppFlow API operations.
///
///
-
///
/// Data
/// types: An alphabetical list of all Amazon AppFlow data types.
///
///
-
///
/// Common
/// parameters: Parameters that all Query operations can use.
///
///
-
///
/// Common
/// errors: Client and server errors that all operations can return.
///
///
///
/// If you're new to Amazon AppFlow, we recommend that you review the Amazon
/// AppFlow User Guide.
///
///
///
/// Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include
/// applicable OAuth attributes (such as auth-code
and redirecturi
)
/// with the connector-specific ConnectorProfileProperties
when creating
/// a new connector profile using Amazon AppFlow API operations. For example, Salesforce
/// users can refer to the
/// Authorize Apps with OAuth documentation.
///
///
public partial interface IAmazonAppflow : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IAppflowPaginatorFactory Paginators { get; }
#endif
#region CancelFlowExecutions
///
/// Cancels active runs for a flow.
///
///
///
/// You can cancel all of the active runs for a flow, or you can cancel specific runs
/// by providing their IDs.
///
///
///
/// You can cancel a flow run only when the run is in progress. You can't cancel a run
/// that has already completed or failed. You also can't cancel a run that's scheduled
/// to occur but hasn't started yet. To prevent a scheduled run, you can deactivate the
/// flow with the StopFlow
action.
///
///
///
/// You cannot resume a run after you cancel it.
///
///
///
/// When you send your request, the status for each run becomes CancelStarted
.
/// When the cancellation completes, the status becomes Canceled
.
///
///
///
/// When you cancel a run, you still incur charges for any data that the run already processed
/// before the cancellation. If the run had already written some data to the flow destination,
/// then that data remains in the destination. If you configured the flow to use a batch
/// API (such as the Salesforce Bulk API 2.0), then the run will finish reading or writing
/// its entire batch of data after the cancellation. For these operations, the data processing
/// charges for Amazon AppFlow apply. For the pricing information, see Amazon
/// AppFlow pricing.
///
///
///
/// Container for the necessary parameters to execute the CancelFlowExecutions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelFlowExecutions service method, as returned by Appflow.
///
/// AppFlow/Requester has invalid or missing permissions.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// API calls have exceeded the maximum allowed API request rate per account and per Region.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CancelFlowExecutions Operation
Task CancelFlowExecutionsAsync(CancelFlowExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateConnectorProfile
///
/// Creates a new connector profile associated with your Amazon Web Services account.
/// There is a soft quota of 100 connector profiles per Amazon Web Services account. If
/// you need more connector profiles than this quota allows, you can submit a request
/// to the Amazon AppFlow team through the Amazon AppFlow support channel. In each connector
/// profile that you create, you can provide the credentials and properties for only one
/// connector.
///
/// Container for the necessary parameters to execute the CreateConnectorProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateConnectorProfile service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An error occurred when authenticating with the connector endpoint.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The request would cause a service quota (such as the number of flows) to be exceeded.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CreateConnectorProfile Operation
Task CreateConnectorProfileAsync(CreateConnectorProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateFlow
///
/// Enables your application to create a new flow using Amazon AppFlow. You must create
/// a connector profile before calling this API. Please note that the Request Syntax below
/// shows syntax for multiple destinations, however, you can only transfer data to one
/// item in this list at a time. Amazon AppFlow does not currently support flows to multiple
/// destinations at once.
///
/// Container for the necessary parameters to execute the CreateFlow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFlow service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An error occurred when authenticating with the connector endpoint.
///
///
/// An error occurred when retrieving data from the connector endpoint.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request would cause a service quota (such as the number of flows) to be exceeded.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for CreateFlow Operation
Task CreateFlowAsync(CreateFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteConnectorProfile
///
/// Enables you to delete an existing connector profile.
///
/// Container for the necessary parameters to execute the DeleteConnectorProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteConnectorProfile service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
/// REST API Reference for DeleteConnectorProfile Operation
Task DeleteConnectorProfileAsync(DeleteConnectorProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteFlow
///
/// Enables your application to delete an existing flow. Before deleting the flow, Amazon
/// AppFlow validates the request by checking the flow configuration and status. You can
/// delete flows one at a time.
///
/// Container for the necessary parameters to execute the DeleteFlow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFlow service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
/// REST API Reference for DeleteFlow Operation
Task DeleteFlowAsync(DeleteFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeConnector
///
/// Describes the given custom connector registered in your Amazon Web Services account.
/// This API can be used for custom connectors that are registered in your account and
/// also for Amazon authored connectors.
///
/// Container for the necessary parameters to execute the DescribeConnector service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeConnector service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DescribeConnector Operation
Task DescribeConnectorAsync(DescribeConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeConnectorEntity
///
/// Provides details regarding the entity used with the connector, with a description
/// of the data model for each field in that entity.
///
/// Container for the necessary parameters to execute the DescribeConnectorEntity service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeConnectorEntity service method, as returned by Appflow.
///
/// An error occurred when authenticating with the connector endpoint.
///
///
/// An error occurred when retrieving data from the connector endpoint.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DescribeConnectorEntity Operation
Task DescribeConnectorEntityAsync(DescribeConnectorEntityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeConnectorProfiles
///
/// Returns a list of connector-profile
details matching the provided connector-profile
/// names and connector-types
. Both input lists are optional, and you can
/// use them to filter the result.
///
///
///
/// If no names or connector-types
are provided, returns all connector profiles
/// in a paginated form. If there is no match, this operation returns an empty list.
///
///
/// Container for the necessary parameters to execute the DescribeConnectorProfiles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeConnectorProfiles service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DescribeConnectorProfiles Operation
Task DescribeConnectorProfilesAsync(DescribeConnectorProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeConnectors
///
/// Describes the connectors vended by Amazon AppFlow for specified connector types.
/// If you don't specify a connector type, this operation describes all connectors vended
/// by Amazon AppFlow. If there are more connectors than can be returned in one page,
/// the response contains a nextToken
object, which can be be passed in to
/// the next call to the DescribeConnectors
API operation to retrieve the
/// next page.
///
/// Container for the necessary parameters to execute the DescribeConnectors service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeConnectors service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DescribeConnectors Operation
Task DescribeConnectorsAsync(DescribeConnectorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeFlow
///
/// Provides a description of the specified flow.
///
/// Container for the necessary parameters to execute the DescribeFlow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFlow service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
/// REST API Reference for DescribeFlow Operation
Task DescribeFlowAsync(DescribeFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeFlowExecutionRecords
///
/// Fetches the execution history of the flow.
///
/// Container for the necessary parameters to execute the DescribeFlowExecutionRecords service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFlowExecutionRecords service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for DescribeFlowExecutionRecords Operation
Task DescribeFlowExecutionRecordsAsync(DescribeFlowExecutionRecordsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListConnectorEntities
///
/// Returns the list of available connector entities supported by Amazon AppFlow. For
/// example, you can query Salesforce for Account and Opportunity entities,
/// or query ServiceNow for the Incident entity.
///
/// Container for the necessary parameters to execute the ListConnectorEntities service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListConnectorEntities service method, as returned by Appflow.
///
/// An error occurred when authenticating with the connector endpoint.
///
///
/// An error occurred when retrieving data from the connector endpoint.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListConnectorEntities Operation
Task ListConnectorEntitiesAsync(ListConnectorEntitiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListConnectors
///
/// Returns the list of all registered custom connectors in your Amazon Web Services account.
/// This API lists only custom connectors registered in this account, not the Amazon Web
/// Services authored connectors.
///
/// Container for the necessary parameters to execute the ListConnectors service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListConnectors service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListConnectors Operation
Task ListConnectorsAsync(ListConnectorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListFlows
///
/// Lists all of the flows associated with your account.
///
/// Container for the necessary parameters to execute the ListFlows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFlows service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListFlows Operation
Task ListFlowsAsync(ListFlowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Retrieves the tags that are associated with a specified flow.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RegisterConnector
///
/// Registers a new custom connector with your Amazon Web Services account. Before you
/// can register the connector, you must deploy the associated AWS lambda function in
/// your account.
///
/// Container for the necessary parameters to execute the RegisterConnector service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterConnector service method, as returned by Appflow.
///
/// AppFlow/Requester has invalid or missing permissions.
///
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An error occurred when authenticating with the connector endpoint.
///
///
/// An error occurred when retrieving data from the connector endpoint.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request would cause a service quota (such as the number of flows) to be exceeded.
///
///
/// API calls have exceeded the maximum allowed API request rate per account and per Region.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for RegisterConnector Operation
Task RegisterConnectorAsync(RegisterConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ResetConnectorMetadataCache
///
/// Resets metadata about your connector entities that Amazon AppFlow stored in its cache.
/// Use this action when you want Amazon AppFlow to return the latest information about
/// the data that you have in a source application.
///
///
///
/// Amazon AppFlow returns metadata about your entities when you use the ListConnectorEntities
/// or DescribeConnectorEntities actions. Following these actions, Amazon AppFlow caches
/// the metadata to reduce the number of API requests that it must send to the source
/// application. Amazon AppFlow automatically resets the cache once every hour, but you
/// can use this action when you want to get the latest metadata right away.
///
///
/// Container for the necessary parameters to execute the ResetConnectorMetadataCache service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResetConnectorMetadataCache service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for ResetConnectorMetadataCache Operation
Task ResetConnectorMetadataCacheAsync(ResetConnectorMetadataCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartFlow
///
/// Activates an existing flow. For on-demand flows, this operation runs the flow immediately.
/// For schedule and event-triggered flows, this operation activates the flow.
///
/// Container for the necessary parameters to execute the StartFlow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartFlow service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request would cause a service quota (such as the number of flows) to be exceeded.
///
/// REST API Reference for StartFlow Operation
Task StartFlowAsync(StartFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopFlow
///
/// Deactivates the existing flow. For on-demand flows, this operation returns an unsupportedOperationException
/// error message. For schedule and event-triggered flows, this operation deactivates
/// the flow.
///
/// Container for the necessary parameters to execute the StopFlow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopFlow service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The requested operation is not supported for the current flow.
///
/// REST API Reference for StopFlow Operation
Task StopFlowAsync(StopFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Applies a tag to the specified flow.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UnregisterConnector
///
/// Unregisters the custom connector registered in your account that matches the connector
/// label provided in the request.
///
/// Container for the necessary parameters to execute the UnregisterConnector service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UnregisterConnector service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
/// REST API Reference for UnregisterConnector Operation
Task UnregisterConnectorAsync(UnregisterConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes a tag from the specified flow.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Appflow.
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConnectorProfile
///
/// Updates a given connector profile associated with your account.
///
/// Container for the necessary parameters to execute the UpdateConnectorProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateConnectorProfile service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An error occurred when authenticating with the connector endpoint.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UpdateConnectorProfile Operation
Task UpdateConnectorProfileAsync(UpdateConnectorProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConnectorRegistration
///
/// Updates a custom connector that you've previously registered. This operation updates
/// the connector with one of the following:
///
/// -
///
/// The latest version of the AWS Lambda function that's assigned to the connector
///
///
-
///
/// A new AWS Lambda function that you specify
///
///
///
/// Container for the necessary parameters to execute the UpdateConnectorRegistration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateConnectorRegistration service method, as returned by Appflow.
///
/// AppFlow/Requester has invalid or missing permissions.
///
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An error occurred when authenticating with the connector endpoint.
///
///
/// An error occurred when retrieving data from the connector endpoint.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request would cause a service quota (such as the number of flows) to be exceeded.
///
///
/// API calls have exceeded the maximum allowed API request rate per account and per Region.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UpdateConnectorRegistration Operation
Task UpdateConnectorRegistrationAsync(UpdateConnectorRegistrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateFlow
///
/// Updates an existing flow.
///
/// Container for the necessary parameters to execute the UpdateFlow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFlow service method, as returned by Appflow.
///
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
///
///
/// An error occurred when authenticating with the connector endpoint.
///
///
/// An error occurred when retrieving data from the connector endpoint.
///
///
/// An internal service error occurred during the processing of your request. Try again
/// later.
///
///
/// The resource specified in the request (such as the source or destination connector
/// profile) is not found.
///
///
/// The request would cause a service quota (such as the number of flows) to be exceeded.
///
///
/// The request has invalid or missing parameters.
///
/// REST API Reference for UpdateFlow Operation
Task UpdateFlowAsync(UpdateFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}