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