@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?.
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)
Create a CLI token to use Airflow CLI.
|
CreateEnvironmentResult |
createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
|
CreateWebLoginTokenResult |
createWebLoginToken(CreateWebLoginTokenRequest createWebLoginTokenRequest)
Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.
|
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)
Retrieves the details of 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)
An operation for publishing metrics from the customers to the Ops plane.
|
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)
Create a CLI token to use Airflow CLI.
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)
Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.
createWebLoginTokenRequest
- AccessDeniedException
- Access to the Airflow Web UI or CLI has been Denied. Please follow the MWAA user guide to setup
permissions to access the Web UI and CLI functionality.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)
Retrieves the details of 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.PublishMetricsResult publishMetrics(PublishMetricsRequest publishMetricsRequest)
An operation for publishing metrics from the customers to the Ops plane.
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.Copyright © 2021. All rights reserved.