@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonMWAAClient extends AmazonWebServiceClient implements AmazonMWAA
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_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonMWAAClientBuilder |
builder() |
CreateCliTokenResult |
createCliToken(CreateCliTokenRequest request)
Create a CLI token to use Airflow CLI.
|
CreateEnvironmentResult |
createEnvironment(CreateEnvironmentRequest request)
JSON blob that describes the environment to create.
|
CreateWebLoginTokenResult |
createWebLoginToken(CreateWebLoginTokenRequest request)
Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.
|
DeleteEnvironmentResult |
deleteEnvironment(DeleteEnvironmentRequest request)
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 request)
Get details of an existing environment.
|
ListEnvironmentsResult |
listEnvironments(ListEnvironmentsRequest request)
List Amazon MWAA Environments.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
List the tags for MWAA environments.
|
PublishMetricsResult |
publishMetrics(PublishMetricsRequest request)
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 request)
Add tag to the MWAA environments.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Remove a tag from the MWAA environments.
|
UpdateEnvironmentResult |
updateEnvironment(UpdateEnvironmentRequest request)
Update an MWAA environment.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AmazonMWAAClientBuilder builder()
public CreateCliTokenResult createCliToken(CreateCliTokenRequest request)
Create a CLI token to use Airflow CLI.
createCliToken in interface AmazonMWAAcreateCliTokenRequest - ResourceNotFoundException - ResourceNotFoundException: The resource is not available.public CreateEnvironmentResult createEnvironment(CreateEnvironmentRequest request)
JSON blob that describes the environment to create.
createEnvironment in interface AmazonMWAAcreateEnvironmentRequest - 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.public CreateWebLoginTokenResult createWebLoginToken(CreateWebLoginTokenRequest request)
Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.
createWebLoginToken in interface AmazonMWAAcreateWebLoginTokenRequest - 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.public DeleteEnvironmentResult deleteEnvironment(DeleteEnvironmentRequest request)
Delete an existing environment.
deleteEnvironment in interface AmazonMWAAdeleteEnvironmentRequest - ResourceNotFoundException - ResourceNotFoundException: The resource is not available.ValidationException - ValidationException: The provided input is not valid.InternalServerException - InternalServerException: An internal error has occurred.public GetEnvironmentResult getEnvironment(GetEnvironmentRequest request)
Get details of an existing environment.
getEnvironment in interface AmazonMWAAgetEnvironmentRequest - ResourceNotFoundException - ResourceNotFoundException: The resource is not available.ValidationException - ValidationException: The provided input is not valid.InternalServerException - InternalServerException: An internal error has occurred.public ListEnvironmentsResult listEnvironments(ListEnvironmentsRequest request)
List Amazon MWAA Environments.
listEnvironments in interface AmazonMWAAlistEnvironmentsRequest - ValidationException - ValidationException: The provided input is not valid.InternalServerException - InternalServerException: An internal error has occurred.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
List the tags for MWAA environments.
listTagsForResource in interface AmazonMWAAlistTagsForResourceRequest - ResourceNotFoundException - ResourceNotFoundException: The resource is not available.ValidationException - ValidationException: The provided input is not valid.InternalServerException - InternalServerException: An internal error has occurred.public PublishMetricsResult publishMetrics(PublishMetricsRequest request)
An operation for publishing metrics from the customers to the Ops plane.
publishMetrics in interface AmazonMWAApublishMetricsRequest - ValidationException - ValidationException: The provided input is not valid.InternalServerException - InternalServerException: An internal error has occurred.public TagResourceResult tagResource(TagResourceRequest request)
Add tag to the MWAA environments.
tagResource in interface AmazonMWAAtagResourceRequest - ResourceNotFoundException - ResourceNotFoundException: The resource is not available.ValidationException - ValidationException: The provided input is not valid.InternalServerException - InternalServerException: An internal error has occurred.public UntagResourceResult untagResource(UntagResourceRequest request)
Remove a tag from the MWAA environments.
untagResource in interface AmazonMWAAuntagResourceRequest - ResourceNotFoundException - ResourceNotFoundException: The resource is not available.ValidationException - ValidationException: The provided input is not valid.InternalServerException - InternalServerException: An internal error has occurred.public UpdateEnvironmentResult updateEnvironment(UpdateEnvironmentRequest request)
Update an MWAA environment.
updateEnvironment in interface AmazonMWAAupdateEnvironmentRequest - ResourceNotFoundException - ResourceNotFoundException: The resource is not available.ValidationException - ValidationException: The provided input is not valid.InternalServerException - InternalServerException: An internal error has occurred.public 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 the request.
getCachedResponseMetadata in interface AmazonMWAArequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonMWAAshutdown in class AmazonWebServiceClient