@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonAppflowAsyncClient extends AmazonAppflowClient implements AmazonAppflowAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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 AWS 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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createConnectorProfile, createFlow, deleteConnectorProfile, deleteFlow, describeConnectorEntity, describeConnectorProfiles, describeConnectors, describeFlow, describeFlowExecutionRecords, getCachedResponseMetadata, listConnectorEntities, listFlows, listTagsForResource, startFlow, stopFlow, tagResource, untagResource, updateConnectorProfile, updateFlow
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConnectorProfile, createFlow, deleteConnectorProfile, deleteFlow, describeConnectorEntity, describeConnectorProfiles, describeConnectors, describeFlow, describeFlowExecutionRecords, getCachedResponseMetadata, listConnectorEntities, listFlows, listTagsForResource, startFlow, stopFlow, tagResource, untagResource, updateConnectorProfile, updateFlow
public static AmazonAppflowAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateConnectorProfileResult> createConnectorProfileAsync(CreateConnectorProfileRequest request)
AmazonAppflowAsync
Creates a new connector profile associated with your AWS account. There is a soft quota of 100 connector profiles per AWS 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.
createConnectorProfileAsync
in interface AmazonAppflowAsync
public Future<CreateConnectorProfileResult> createConnectorProfileAsync(CreateConnectorProfileRequest request, AsyncHandler<CreateConnectorProfileRequest,CreateConnectorProfileResult> asyncHandler)
AmazonAppflowAsync
Creates a new connector profile associated with your AWS account. There is a soft quota of 100 connector profiles per AWS 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.
createConnectorProfileAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateFlowResult> createFlowAsync(CreateFlowRequest request)
AmazonAppflowAsync
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.
createFlowAsync
in interface AmazonAppflowAsync
public Future<CreateFlowResult> createFlowAsync(CreateFlowRequest request, AsyncHandler<CreateFlowRequest,CreateFlowResult> asyncHandler)
AmazonAppflowAsync
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.
createFlowAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteConnectorProfileResult> deleteConnectorProfileAsync(DeleteConnectorProfileRequest request)
AmazonAppflowAsync
Enables you to delete an existing connector profile.
deleteConnectorProfileAsync
in interface AmazonAppflowAsync
public Future<DeleteConnectorProfileResult> deleteConnectorProfileAsync(DeleteConnectorProfileRequest request, AsyncHandler<DeleteConnectorProfileRequest,DeleteConnectorProfileResult> asyncHandler)
AmazonAppflowAsync
Enables you to delete an existing connector profile.
deleteConnectorProfileAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFlowResult> deleteFlowAsync(DeleteFlowRequest request)
AmazonAppflowAsync
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.
deleteFlowAsync
in interface AmazonAppflowAsync
public Future<DeleteFlowResult> deleteFlowAsync(DeleteFlowRequest request, AsyncHandler<DeleteFlowRequest,DeleteFlowResult> asyncHandler)
AmazonAppflowAsync
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.
deleteFlowAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeConnectorEntityResult> describeConnectorEntityAsync(DescribeConnectorEntityRequest request)
AmazonAppflowAsync
Provides details regarding the entity used with the connector, with a description of the data model for each entity.
describeConnectorEntityAsync
in interface AmazonAppflowAsync
public Future<DescribeConnectorEntityResult> describeConnectorEntityAsync(DescribeConnectorEntityRequest request, AsyncHandler<DescribeConnectorEntityRequest,DescribeConnectorEntityResult> asyncHandler)
AmazonAppflowAsync
Provides details regarding the entity used with the connector, with a description of the data model for each entity.
describeConnectorEntityAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeConnectorProfilesResult> describeConnectorProfilesAsync(DescribeConnectorProfilesRequest request)
AmazonAppflowAsync
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.
describeConnectorProfilesAsync
in interface AmazonAppflowAsync
public Future<DescribeConnectorProfilesResult> describeConnectorProfilesAsync(DescribeConnectorProfilesRequest request, AsyncHandler<DescribeConnectorProfilesRequest,DescribeConnectorProfilesResult> asyncHandler)
AmazonAppflowAsync
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.
describeConnectorProfilesAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeConnectorsResult> describeConnectorsAsync(DescribeConnectorsRequest request)
AmazonAppflowAsync
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.
describeConnectorsAsync
in interface AmazonAppflowAsync
public Future<DescribeConnectorsResult> describeConnectorsAsync(DescribeConnectorsRequest request, AsyncHandler<DescribeConnectorsRequest,DescribeConnectorsResult> asyncHandler)
AmazonAppflowAsync
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.
describeConnectorsAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFlowResult> describeFlowAsync(DescribeFlowRequest request)
AmazonAppflowAsync
Provides a description of the specified flow.
describeFlowAsync
in interface AmazonAppflowAsync
public Future<DescribeFlowResult> describeFlowAsync(DescribeFlowRequest request, AsyncHandler<DescribeFlowRequest,DescribeFlowResult> asyncHandler)
AmazonAppflowAsync
Provides a description of the specified flow.
describeFlowAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFlowExecutionRecordsResult> describeFlowExecutionRecordsAsync(DescribeFlowExecutionRecordsRequest request)
AmazonAppflowAsync
Fetches the execution history of the flow.
describeFlowExecutionRecordsAsync
in interface AmazonAppflowAsync
public Future<DescribeFlowExecutionRecordsResult> describeFlowExecutionRecordsAsync(DescribeFlowExecutionRecordsRequest request, AsyncHandler<DescribeFlowExecutionRecordsRequest,DescribeFlowExecutionRecordsResult> asyncHandler)
AmazonAppflowAsync
Fetches the execution history of the flow.
describeFlowExecutionRecordsAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListConnectorEntitiesResult> listConnectorEntitiesAsync(ListConnectorEntitiesRequest request)
AmazonAppflowAsync
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.
listConnectorEntitiesAsync
in interface AmazonAppflowAsync
public Future<ListConnectorEntitiesResult> listConnectorEntitiesAsync(ListConnectorEntitiesRequest request, AsyncHandler<ListConnectorEntitiesRequest,ListConnectorEntitiesResult> asyncHandler)
AmazonAppflowAsync
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.
listConnectorEntitiesAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFlowsResult> listFlowsAsync(ListFlowsRequest request)
AmazonAppflowAsync
Lists all of the flows associated with your account.
listFlowsAsync
in interface AmazonAppflowAsync
public Future<ListFlowsResult> listFlowsAsync(ListFlowsRequest request, AsyncHandler<ListFlowsRequest,ListFlowsResult> asyncHandler)
AmazonAppflowAsync
Lists all of the flows associated with your account.
listFlowsAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonAppflowAsync
Retrieves the tags that are associated with a specified flow.
listTagsForResourceAsync
in interface AmazonAppflowAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonAppflowAsync
Retrieves the tags that are associated with a specified flow.
listTagsForResourceAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartFlowResult> startFlowAsync(StartFlowRequest request)
AmazonAppflowAsync
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.
startFlowAsync
in interface AmazonAppflowAsync
public Future<StartFlowResult> startFlowAsync(StartFlowRequest request, AsyncHandler<StartFlowRequest,StartFlowResult> asyncHandler)
AmazonAppflowAsync
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.
startFlowAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopFlowResult> stopFlowAsync(StopFlowRequest request)
AmazonAppflowAsync
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.
stopFlowAsync
in interface AmazonAppflowAsync
public Future<StopFlowResult> stopFlowAsync(StopFlowRequest request, AsyncHandler<StopFlowRequest,StopFlowResult> asyncHandler)
AmazonAppflowAsync
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.
stopFlowAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonAppflowAsync
Applies a tag to the specified flow.
tagResourceAsync
in interface AmazonAppflowAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonAppflowAsync
Applies a tag to the specified flow.
tagResourceAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonAppflowAsync
Removes a tag from the specified flow.
untagResourceAsync
in interface AmazonAppflowAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonAppflowAsync
Removes a tag from the specified flow.
untagResourceAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateConnectorProfileResult> updateConnectorProfileAsync(UpdateConnectorProfileRequest request)
AmazonAppflowAsync
Updates a given connector profile associated with your account.
updateConnectorProfileAsync
in interface AmazonAppflowAsync
public Future<UpdateConnectorProfileResult> updateConnectorProfileAsync(UpdateConnectorProfileRequest request, AsyncHandler<UpdateConnectorProfileRequest,UpdateConnectorProfileResult> asyncHandler)
AmazonAppflowAsync
Updates a given connector profile associated with your account.
updateConnectorProfileAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateFlowResult> updateFlowAsync(UpdateFlowRequest request)
AmazonAppflowAsync
Updates an existing flow.
updateFlowAsync
in interface AmazonAppflowAsync
public Future<UpdateFlowResult> updateFlowAsync(UpdateFlowRequest request, AsyncHandler<UpdateFlowRequest,UpdateFlowResult> asyncHandler)
AmazonAppflowAsync
Updates an existing flow.
updateFlowAsync
in interface AmazonAppflowAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonAppflow
shutdown
in class AmazonAppflowClient