@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?.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createCliToken, createEnvironment, createWebLoginToken, deleteEnvironment, getCachedResponseMetadata, getEnvironment, listEnvironments, listTagsForResource, publishMetrics, tagResource, untagResource, updateEnvironment
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
createCliToken, createEnvironment, createWebLoginToken, deleteEnvironment, getCachedResponseMetadata, getEnvironment, listEnvironments, listTagsForResource, publishMetrics, tagResource, untagResource, updateEnvironment
public static AmazonMWAAAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateCliTokenResult> createCliTokenAsync(CreateCliTokenRequest request)
AmazonMWAAAsync
Create a CLI token to use Airflow CLI.
createCliTokenAsync
in interface AmazonMWAAAsync
public Future<CreateCliTokenResult> createCliTokenAsync(CreateCliTokenRequest request, AsyncHandler<CreateCliTokenRequest,CreateCliTokenResult> asyncHandler)
AmazonMWAAAsync
Create a CLI token to use Airflow CLI.
createCliTokenAsync
in interface AmazonMWAAAsync
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<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request)
AmazonMWAAAsync
JSON blob that describes the environment to create.
createEnvironmentAsync
in interface AmazonMWAAAsync
request
- 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)
AmazonMWAAAsync
JSON blob that describes the environment to create.
createEnvironmentAsync
in interface AmazonMWAAAsync
request
- 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)
AmazonMWAAAsync
Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.
createWebLoginTokenAsync
in interface AmazonMWAAAsync
public Future<CreateWebLoginTokenResult> createWebLoginTokenAsync(CreateWebLoginTokenRequest request, AsyncHandler<CreateWebLoginTokenRequest,CreateWebLoginTokenResult> asyncHandler)
AmazonMWAAAsync
Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.
createWebLoginTokenAsync
in interface AmazonMWAAAsync
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<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request)
AmazonMWAAAsync
Delete an existing environment.
deleteEnvironmentAsync
in interface AmazonMWAAAsync
public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
AmazonMWAAAsync
Delete an existing environment.
deleteEnvironmentAsync
in interface AmazonMWAAAsync
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<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request)
AmazonMWAAAsync
Get details of an existing environment.
getEnvironmentAsync
in interface AmazonMWAAAsync
public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request, AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
AmazonMWAAAsync
Get details of an existing environment.
getEnvironmentAsync
in interface AmazonMWAAAsync
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<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request)
AmazonMWAAAsync
List Amazon MWAA Environments.
listEnvironmentsAsync
in interface AmazonMWAAAsync
public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
AmazonMWAAAsync
List Amazon MWAA Environments.
listEnvironmentsAsync
in interface AmazonMWAAAsync
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)
AmazonMWAAAsync
List the tags for MWAA environments.
listTagsForResourceAsync
in interface AmazonMWAAAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonMWAAAsync
List the tags for MWAA environments.
listTagsForResourceAsync
in interface AmazonMWAAAsync
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<PublishMetricsResult> publishMetricsAsync(PublishMetricsRequest request)
AmazonMWAAAsync
An operation for publishing metrics from the customers to the Ops plane.
publishMetricsAsync
in interface AmazonMWAAAsync
public Future<PublishMetricsResult> publishMetricsAsync(PublishMetricsRequest request, AsyncHandler<PublishMetricsRequest,PublishMetricsResult> asyncHandler)
AmazonMWAAAsync
An operation for publishing metrics from the customers to the Ops plane.
publishMetricsAsync
in interface AmazonMWAAAsync
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)
AmazonMWAAAsync
Add tag to the MWAA environments.
tagResourceAsync
in interface AmazonMWAAAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonMWAAAsync
Add tag to the MWAA environments.
tagResourceAsync
in interface AmazonMWAAAsync
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)
AmazonMWAAAsync
Remove a tag from the MWAA environments.
untagResourceAsync
in interface AmazonMWAAAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonMWAAAsync
Remove a tag from the MWAA environments.
untagResourceAsync
in interface AmazonMWAAAsync
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<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request)
AmazonMWAAAsync
Update an MWAA environment.
updateEnvironmentAsync
in interface AmazonMWAAAsync
public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request, AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
AmazonMWAAAsync
Update an MWAA environment.
updateEnvironmentAsync
in interface AmazonMWAAAsync
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 AmazonMWAA
shutdown
in class AmazonMWAAClient