@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonMWAA
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonMWAA
instead.
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateCliTokenResult |
createCliToken(CreateCliTokenRequest createCliTokenRequest)
Creates a CLI token for the Airflow CLI.
|
CreateEnvironmentResult |
createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
CreateWebLoginTokenResult |
createWebLoginToken(CreateWebLoginTokenRequest createWebLoginTokenRequest)
Creates a web login token for the Airflow Web UI.
|
DeleteEnvironmentResult |
deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)
Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetEnvironmentResult |
getEnvironment(GetEnvironmentRequest getEnvironmentRequest)
Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
ListEnvironmentsResult |
listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)
Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
PublishMetricsResult |
publishMetrics(PublishMetricsRequest publishMetricsRequest)
Deprecated.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
UpdateEnvironmentResult |
updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)
Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
static final String ENDPOINT_PREFIX
CreateCliTokenResult createCliToken(CreateCliTokenRequest createCliTokenRequest)
Creates a CLI token for the Airflow CLI. To learn more, see Creating an Apache Airflow CLI token.
createCliTokenRequest
- ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.CreateEnvironmentResult createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
createEnvironmentRequest
- 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.ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.CreateWebLoginTokenResult createWebLoginToken(CreateWebLoginTokenRequest createWebLoginTokenRequest)
Creates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token.
createWebLoginTokenRequest
- AccessDeniedException
- Access to the Apache Airflow Web UI or CLI has been denied due to insufficient permissions. To learn
more, see Accessing an
Amazon MWAA environment.ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.DeleteEnvironmentResult deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)
Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
deleteEnvironmentRequest
- ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.GetEnvironmentResult getEnvironment(GetEnvironmentRequest getEnvironmentRequest)
Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
getEnvironmentRequest
- ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.ListEnvironmentsResult listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)
Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.
listEnvironmentsRequest
- ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment.
For example, "Environment": "Staging"
.
listTagsForResourceRequest
- ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.@Deprecated PublishMetricsResult publishMetrics(PublishMetricsRequest publishMetricsRequest)
Internal only. Publishes environment health metrics to Amazon CloudWatch.
publishMetricsRequest
- ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
tagResourceRequest
- ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.
For example, "Environment": "Staging"
.
untagResourceRequest
- ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.UpdateEnvironmentResult updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)
Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
updateEnvironmentRequest
- ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.