AmazonMWAA

2024/01/12 - AmazonMWAA - 1 updated api methods

Changes  This Amazon MWAA feature release includes new fields in CreateWebLoginToken response model. The new fields IamIdentity and AirflowIdentity will let you match identifications, as the Airflow identity length is currently hashed to 64 characters.

CreateWebLoginToken (updated) Link ΒΆ
Changes (response)
{'AirflowIdentity': 'string', 'IamIdentity': 'string'}

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

client.create_web_login_token(
    Name='string'
)
type Name

string

param Name

[REQUIRED]

The name of the Amazon MWAA environment. For example, MyMWAAEnvironment .

rtype

dict

returns

Response Syntax

{
    'AirflowIdentity': 'string',
    'IamIdentity': 'string',
    'WebServerHostname': 'string',
    'WebToken': 'string'
}

Response Structure

  • (dict) --

    • AirflowIdentity (string) --

      The user name of the Apache Airflow identity creating the web login token.

    • IamIdentity (string) --

      The name of the IAM identity creating the web login token. This might be an IAM user, or an assumed or federated identity. For example, assumed-role/Admin/your-name .

    • WebServerHostname (string) --

      The Airflow web server hostname for the environment.

    • WebToken (string) --

      An Airflow web server login token.