MWAA.Client.
create_web_login_token
(**kwargs)¶Creates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token.
See also: AWS API Documentation
Request Syntax
response = client.create_web_login_token(
Name='string'
)
[REQUIRED]
The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.
{
'WebServerHostname': 'string',
'WebToken': 'string'
}
Response Structure
The Airflow web server hostname for the environment.
An Airflow web server login token.
Exceptions
MWAA.Client.exceptions.AccessDeniedException
MWAA.Client.exceptions.ResourceNotFoundException
MWAA.Client.exceptions.ValidationException
MWAA.Client.exceptions.InternalServerException