@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonMWAAAsyncClient extends AmazonMWAAClient implements AmazonMWAAAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What is Amazon MWAA?.
Endpoints
api.airflow.{region}.amazonaws.com - This endpoint is used for environment management.
env.airflow.{region}.amazonaws.com - This endpoint is used to operate the Airflow environment.
Regions
For a list of supported regions, see Amazon MWAA endpoints and quotas in the Amazon Web Services General Reference.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonMWAAAsyncClientBuilder |
asyncBuilder() |
Future<CreateCliTokenResult> |
createCliTokenAsync(CreateCliTokenRequest request)
Creates a CLI token for the Airflow CLI.
|
Future<CreateCliTokenResult> |
createCliTokenAsync(CreateCliTokenRequest request,
AsyncHandler<CreateCliTokenRequest,CreateCliTokenResult> asyncHandler)
Creates a CLI token for the Airflow CLI.
|
Future<CreateEnvironmentResult> |
createEnvironmentAsync(CreateEnvironmentRequest request)
Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<CreateEnvironmentResult> |
createEnvironmentAsync(CreateEnvironmentRequest request,
AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<CreateWebLoginTokenResult> |
createWebLoginTokenAsync(CreateWebLoginTokenRequest request)
Creates a web login token for the Airflow Web UI.
|
Future<CreateWebLoginTokenResult> |
createWebLoginTokenAsync(CreateWebLoginTokenRequest request,
AsyncHandler<CreateWebLoginTokenRequest,CreateWebLoginTokenResult> asyncHandler)
Creates a web login token for the Airflow Web UI.
|
Future<DeleteEnvironmentResult> |
deleteEnvironmentAsync(DeleteEnvironmentRequest request)
Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<DeleteEnvironmentResult> |
deleteEnvironmentAsync(DeleteEnvironmentRequest request,
AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<GetEnvironmentResult> |
getEnvironmentAsync(GetEnvironmentRequest request)
Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<GetEnvironmentResult> |
getEnvironmentAsync(GetEnvironmentRequest request,
AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<ListEnvironmentsResult> |
listEnvironmentsAsync(ListEnvironmentsRequest request)
Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.
|
Future<ListEnvironmentsResult> |
listEnvironmentsAsync(ListEnvironmentsRequest request,
AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request)
Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<PublishMetricsResult> |
publishMetricsAsync(PublishMetricsRequest request)
Deprecated.
|
Future<PublishMetricsResult> |
publishMetricsAsync(PublishMetricsRequest request,
AsyncHandler<PublishMetricsRequest,PublishMetricsResult> asyncHandler)
Deprecated.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request)
Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request)
Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<UpdateEnvironmentResult> |
updateEnvironmentAsync(UpdateEnvironmentRequest request)
Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
Future<UpdateEnvironmentResult> |
updateEnvironmentAsync(UpdateEnvironmentRequest request,
AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
builder, createCliToken, createEnvironment, createWebLoginToken, deleteEnvironment, getCachedResponseMetadata, getEnvironment, listEnvironments, listTagsForResource, publishMetrics, tagResource, untagResource, updateEnvironmentaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCliToken, createEnvironment, createWebLoginToken, deleteEnvironment, getCachedResponseMetadata, getEnvironment, listEnvironments, listTagsForResource, publishMetrics, tagResource, untagResource, updateEnvironmentpublic static AmazonMWAAAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateCliTokenResult> createCliTokenAsync(CreateCliTokenRequest request)
AmazonMWAAAsyncCreates a CLI token for the Airflow CLI. To learn more, see Creating an Apache Airflow CLI token.
createCliTokenAsync in interface AmazonMWAAAsyncpublic Future<CreateCliTokenResult> createCliTokenAsync(CreateCliTokenRequest request, AsyncHandler<CreateCliTokenRequest,CreateCliTokenResult> asyncHandler)
AmazonMWAAAsyncCreates a CLI token for the Airflow CLI. To learn more, see Creating an Apache Airflow CLI token.
createCliTokenAsync in interface AmazonMWAAAsyncasyncHandler - 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<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request)
AmazonMWAAAsyncCreates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
createEnvironmentAsync in interface AmazonMWAAAsyncrequest - This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation
to create an environment. For more information, see Get started with Amazon Managed
Workflows for Apache Airflow.public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
AmazonMWAAAsyncCreates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
createEnvironmentAsync in interface AmazonMWAAAsyncrequest - This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation
to create an environment. For more information, see Get started with Amazon Managed
Workflows for Apache Airflow.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<CreateWebLoginTokenResult> createWebLoginTokenAsync(CreateWebLoginTokenRequest request)
AmazonMWAAAsyncCreates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token.
createWebLoginTokenAsync in interface AmazonMWAAAsyncpublic Future<CreateWebLoginTokenResult> createWebLoginTokenAsync(CreateWebLoginTokenRequest request, AsyncHandler<CreateWebLoginTokenRequest,CreateWebLoginTokenResult> asyncHandler)
AmazonMWAAAsyncCreates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token.
createWebLoginTokenAsync in interface AmazonMWAAAsyncasyncHandler - 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<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request)
AmazonMWAAAsyncDeletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
deleteEnvironmentAsync in interface AmazonMWAAAsyncpublic Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
AmazonMWAAAsyncDeletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
deleteEnvironmentAsync in interface AmazonMWAAAsyncasyncHandler - 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<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request)
AmazonMWAAAsyncDescribes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
getEnvironmentAsync in interface AmazonMWAAAsyncpublic Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request, AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
AmazonMWAAAsyncDescribes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
getEnvironmentAsync in interface AmazonMWAAAsyncasyncHandler - 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<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request)
AmazonMWAAAsyncLists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.
listEnvironmentsAsync in interface AmazonMWAAAsyncpublic Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
AmazonMWAAAsyncLists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.
listEnvironmentsAsync in interface AmazonMWAAAsyncasyncHandler - 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)
AmazonMWAAAsync
Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment.
For example, "Environment": "Staging".
listTagsForResourceAsync in interface AmazonMWAAAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonMWAAAsync
Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment.
For example, "Environment": "Staging".
listTagsForResourceAsync in interface AmazonMWAAAsyncasyncHandler - 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.@Deprecated public Future<PublishMetricsResult> publishMetricsAsync(PublishMetricsRequest request)
AmazonMWAAAsyncInternal only. Publishes environment health metrics to Amazon CloudWatch.
publishMetricsAsync in interface AmazonMWAAAsync@Deprecated public Future<PublishMetricsResult> publishMetricsAsync(PublishMetricsRequest request, AsyncHandler<PublishMetricsRequest,PublishMetricsResult> asyncHandler)
AmazonMWAAAsyncInternal only. Publishes environment health metrics to Amazon CloudWatch.
publishMetricsAsync in interface AmazonMWAAAsyncasyncHandler - 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)
AmazonMWAAAsyncAssociates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
tagResourceAsync in interface AmazonMWAAAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonMWAAAsyncAssociates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
tagResourceAsync in interface AmazonMWAAAsyncasyncHandler - 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)
AmazonMWAAAsync
Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
For example, "Environment": "Staging".
untagResourceAsync in interface AmazonMWAAAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonMWAAAsync
Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
For example, "Environment": "Staging".
untagResourceAsync in interface AmazonMWAAAsyncasyncHandler - 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<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request)
AmazonMWAAAsyncUpdates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
updateEnvironmentAsync in interface AmazonMWAAAsyncpublic Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request, AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
AmazonMWAAAsyncUpdates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
updateEnvironmentAsync in interface AmazonMWAAAsyncasyncHandler - 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 AmazonMWAAshutdown in class AmazonMWAAClient