@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)
JSON blob that describes the environment to create.
|
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)
Delete an existing 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)
Get details of an existing environment.
|
ListEnvironmentsResult |
listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)
List Amazon MWAA Environments.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List the tags for MWAA environments.
|
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)
Add tag to the MWAA environments.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Remove a tag from the MWAA environments.
|
UpdateEnvironmentResult |
updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)
Update an 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)
JSON blob that describes the environment to create.
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)
Delete an existing 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)
Get details of an existing 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)
List Amazon MWAA Environments.
listEnvironmentsRequest
- ValidationException
- ValidationException: The provided input is not valid.InternalServerException
- InternalServerException: An internal error has occurred.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List the tags for MWAA environments.
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)
Add tag to the MWAA environments.
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)
Remove a tag from the MWAA environments.
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)
Update an 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.