@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?.
Modifier and Type | Field and Description |
---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
ENDPOINT_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, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffset
protected static final ClientConfigurationFactory configFactory
public static AmazonMWAAClientBuilder builder()
public CreateCliTokenResult createCliToken(CreateCliTokenRequest request)
Create a CLI token to use Airflow CLI.
createCliToken
in interface AmazonMWAA
createCliTokenRequest
- ResourceNotFoundException
- ResourceNotFoundException: The resource is not available.public CreateEnvironmentResult createEnvironment(CreateEnvironmentRequest request)
JSON blob that describes the environment to create.
createEnvironment
in interface AmazonMWAA
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.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 AmazonMWAA
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.public DeleteEnvironmentResult deleteEnvironment(DeleteEnvironmentRequest request)
Delete an existing environment.
deleteEnvironment
in interface AmazonMWAA
deleteEnvironmentRequest
- 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 AmazonMWAA
getEnvironmentRequest
- 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 AmazonMWAA
listEnvironmentsRequest
- 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 AmazonMWAA
listTagsForResourceRequest
- 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 AmazonMWAA
publishMetricsRequest
- 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 AmazonMWAA
tagResourceRequest
- 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 AmazonMWAA
untagResourceRequest
- 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 AmazonMWAA
updateEnvironmentRequest
- 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 AmazonMWAA
request
- The originally executed requestpublic void shutdown()
AmazonMWAA
shutdown
in interface AmazonMWAA
shutdown
in class AmazonWebServiceClient
Copyright © 2021. All rights reserved.