{ "version": "2.0", "metadata": { "apiVersion": "2020-07-01", "endpointPrefix": "airflow", "protocol": "rest-json", "protocols": [ "rest-json" ], "serviceFullName": "AmazonMWAA", "serviceId": "MWAA", "signatureVersion": "v4", "signingName": "airflow", "uid": "mwaa-2020-07-01" }, "operations": { "CreateCliToken": { "name": "CreateCliToken", "http": { "method": "POST", "requestUri": "/clitoken/{Name}", "responseCode": 200 }, "input": { "shape": "CreateCliTokenRequest" }, "output": { "shape": "CreateCliTokenResponse" }, "errors": [ { "shape": "ResourceNotFoundException" } ], "documentation": "

Creates a CLI token for the Airflow CLI. To learn more, see Creating an Apache Airflow CLI token.

", "endpoint": { "hostPrefix": "env." } }, "CreateEnvironment": { "name": "CreateEnvironment", "http": { "method": "PUT", "requestUri": "/environments/{Name}", "responseCode": 200 }, "input": { "shape": "CreateEnvironmentInput" }, "output": { "shape": "CreateEnvironmentOutput" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

", "endpoint": { "hostPrefix": "api." }, "idempotent": true }, "CreateWebLoginToken": { "name": "CreateWebLoginToken", "http": { "method": "POST", "requestUri": "/webtoken/{Name}", "responseCode": 200 }, "input": { "shape": "CreateWebLoginTokenRequest" }, "output": { "shape": "CreateWebLoginTokenResponse" }, "errors": [ { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Creates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token.

", "endpoint": { "hostPrefix": "env." }, "idempotent": true }, "DeleteEnvironment": { "name": "DeleteEnvironment", "http": { "method": "DELETE", "requestUri": "/environments/{Name}", "responseCode": 200 }, "input": { "shape": "DeleteEnvironmentInput" }, "output": { "shape": "DeleteEnvironmentOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

", "endpoint": { "hostPrefix": "api." }, "idempotent": true }, "GetEnvironment": { "name": "GetEnvironment", "http": { "method": "GET", "requestUri": "/environments/{Name}", "responseCode": 200 }, "input": { "shape": "GetEnvironmentInput" }, "output": { "shape": "GetEnvironmentOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

", "endpoint": { "hostPrefix": "api." } }, "ListEnvironments": { "name": "ListEnvironments", "http": { "method": "GET", "requestUri": "/environments", "responseCode": 200 }, "input": { "shape": "ListEnvironmentsInput" }, "output": { "shape": "ListEnvironmentsOutput" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.

", "endpoint": { "hostPrefix": "api." } }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "GET", "requestUri": "/tags/{ResourceArn}", "responseCode": 200 }, "input": { "shape": "ListTagsForResourceInput" }, "output": { "shape": "ListTagsForResourceOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, \"Environment\": \"Staging\".

", "endpoint": { "hostPrefix": "api." } }, "PublishMetrics": { "name": "PublishMetrics", "http": { "method": "POST", "requestUri": "/metrics/environments/{EnvironmentName}", "responseCode": 200 }, "input": { "shape": "PublishMetricsInput" }, "output": { "shape": "PublishMetricsOutput" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Internal only. Publishes environment health metrics to Amazon CloudWatch.

", "deprecated": true, "deprecatedMessage": "This API is for internal use and not meant for public use, and is no longer available.", "endpoint": { "hostPrefix": "ops." } }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/tags/{ResourceArn}", "responseCode": 200 }, "input": { "shape": "TagResourceInput" }, "output": { "shape": "TagResourceOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.

", "endpoint": { "hostPrefix": "api." } }, "UntagResource": { "name": "UntagResource", "http": { "method": "DELETE", "requestUri": "/tags/{ResourceArn}", "responseCode": 200 }, "input": { "shape": "UntagResourceInput" }, "output": { "shape": "UntagResourceOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, \"Environment\": \"Staging\".

", "endpoint": { "hostPrefix": "api." }, "idempotent": true }, "UpdateEnvironment": { "name": "UpdateEnvironment", "http": { "method": "PATCH", "requestUri": "/environments/{Name}", "responseCode": 200 }, "input": { "shape": "UpdateEnvironmentInput" }, "output": { "shape": "UpdateEnvironmentOutput" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

", "endpoint": { "hostPrefix": "api." } } }, "shapes": { "AirflowConfigurationOptions": { "type": "map", "key": { "shape": "ConfigKey" }, "value": { "shape": "ConfigValue" }, "sensitive": true }, "AirflowIdentity": { "type": "string", "max": 64, "min": 1 }, "AirflowVersion": { "type": "string", "max": 32, "min": 1, "pattern": "[0-9a-z.]+" }, "CeleryExecutorQueue": { "type": "string", "max": 1224, "min": 1, "pattern": "arn:aws(-[a-z]+)?:sqs:[a-z0-9\\-]+:\\d{12}:[a-zA-Z_0-9+=,.@\\-_/]+" }, "CloudWatchLogGroupArn": { "type": "string", "max": 1224, "min": 1, "pattern": "arn:aws(-[a-z]+)?:logs:[a-z0-9\\-]+:\\d{12}:log-group:\\w+.*" }, "ConfigKey": { "type": "string", "max": 64, "min": 1, "pattern": "[a-z]+([a-z0-9._]*[a-z0-9_]+)?" }, "ConfigValue": { "type": "string", "max": 65536, "min": 1, "pattern": "[ -~]+", "sensitive": true }, "CreateCliTokenRequest": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "EnvironmentName", "documentation": "

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

", "location": "uri", "locationName": "Name" } } }, "CreateCliTokenResponse": { "type": "structure", "members": { "CliToken": { "shape": "Token", "documentation": "

An Airflow CLI login token.

" }, "WebServerHostname": { "shape": "Hostname", "documentation": "

The Airflow web server hostname for the environment.

" } } }, "CreateEnvironmentInput": { "type": "structure", "required": [ "Name", "ExecutionRoleArn", "SourceBucketArn", "DagS3Path", "NetworkConfiguration" ], "members": { "Name": { "shape": "EnvironmentName", "documentation": "

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

", "location": "uri", "locationName": "Name" }, "ExecutionRoleArn": { "shape": "IamRoleArn", "documentation": "

The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an Amazon Web Services Identity and Access Management (IAM) role that grants MWAA permission to access Amazon Web Services services and resources used by your environment. For example, arn:aws:iam::123456789:role/my-execution-role. For more information, see Amazon MWAA Execution role.

" }, "SourceBucketArn": { "shape": "S3BucketArn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, arn:aws:s3:::my-airflow-bucket-unique-name. For more information, see Create an Amazon S3 bucket for Amazon MWAA.

" }, "DagS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags. For more information, see Adding or updating DAGs.

" }, "NetworkConfiguration": { "shape": "NetworkConfiguration", "documentation": "

The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.

" }, "PluginsS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip. If specified, then the plugins.zip version is required. For more information, see Installing custom plugins.

" }, "PluginsS3ObjectVersion": { "shape": "S3ObjectVersion", "documentation": "

The version of the plugins.zip file on your Amazon S3 bucket. You must specify a version each time a plugins.zip file is updated. For more information, see How S3 Versioning works.

" }, "RequirementsS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt. If specified, then a version is required. For more information, see Installing Python dependencies.

" }, "RequirementsS3ObjectVersion": { "shape": "S3ObjectVersion", "documentation": "

The version of the requirements.txt file on your Amazon S3 bucket. You must specify a version each time a requirements.txt file is updated. For more information, see How S3 Versioning works.

" }, "StartupScriptS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh.

Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script.

" }, "StartupScriptS3ObjectVersion": { "shape": "S3ObjectVersion", "documentation": "

The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.

Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

For more information, see Using a startup script.

" }, "AirflowConfigurationOptions": { "shape": "AirflowConfigurationOptions", "documentation": "

A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. For more information, see Apache Airflow configuration options.

" }, "EnvironmentClass": { "shape": "EnvironmentClass", "documentation": "

The environment class type. Valid values: mw1.small, mw1.medium, mw1.large, mw1.xlarge, and mw1.2xlarge. For more information, see Amazon MWAA environment class.

" }, "MaxWorkers": { "shape": "MaxWorkers", "documentation": "

The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. For example, 20. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in MinWorkers.

" }, "KmsKey": { "shape": "KmsKey", "documentation": "

The Amazon Web Services Key Management Service (KMS) key to encrypt the data in your environment. You can use an Amazon Web Services owned CMK, or a Customer managed CMK (advanced). For more information, see Create an Amazon MWAA environment.

" }, "AirflowVersion": { "shape": "AirflowVersion", "documentation": "

The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. For more information, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2 2.8.1

" }, "LoggingConfiguration": { "shape": "LoggingConfigurationInput", "documentation": "

Defines the Apache Airflow logs to send to CloudWatch Logs.

" }, "WeeklyMaintenanceWindowStart": { "shape": "WeeklyMaintenanceWindowStart", "documentation": "

The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly maintenance updates of your environment in the following format: DAY:HH:MM. For example: TUE:03:30. You can specify a start time in 30 minute increments only.

" }, "Tags": { "shape": "TagMap", "documentation": "

The key-value tag pairs you want to associate to your environment. For example, \"Environment\": \"Staging\". For more information, see Tagging Amazon Web Services resources.

" }, "WebserverAccessMode": { "shape": "WebserverAccessMode", "documentation": "

Defines the access mode for the Apache Airflow web server. For more information, see Apache Airflow access modes.

" }, "MinWorkers": { "shape": "MinWorkers", "documentation": "

The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the MinWorkers field. For example, 2.

" }, "Schedulers": { "shape": "Schedulers", "documentation": "

The number of Apache Airflow schedulers to run in your environment. Valid values:

" }, "EndpointManagement": { "shape": "EndpointManagement", "documentation": "

Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. If you choose to create an environment in a shared VPC, you must set this value to CUSTOMER. In a shared VPC deployment, the environment will remain in PENDING status until you create the VPC endpoints. If you do not take action to create the endpoints within 72 hours, the status will change to CREATE_FAILED. You can delete the failed environment and create a new one.

" }, "MinWebservers": { "shape": "MinWebservers", "documentation": "

The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers.

Valid values: Accepts between 2 and 5. Defaults to 2.

" }, "MaxWebservers": { "shape": "MaxWebservers", "documentation": "

The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers. As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers.

Valid values: Accepts between 2 and 5. Defaults to 2.

" } }, "documentation": "

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.

" }, "CreateEnvironmentOutput": { "type": "structure", "members": { "Arn": { "shape": "EnvironmentArn", "documentation": "

The Amazon Resource Name (ARN) returned in the response for the environment.

" } } }, "CreateWebLoginTokenRequest": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "EnvironmentName", "documentation": "

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

", "location": "uri", "locationName": "Name" } } }, "CreateWebLoginTokenResponse": { "type": "structure", "members": { "WebToken": { "shape": "Token", "documentation": "

An Airflow web server login token.

" }, "WebServerHostname": { "shape": "Hostname", "documentation": "

The Airflow web server hostname for the environment.

" }, "IamIdentity": { "shape": "IamIdentity", "documentation": "

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.

" }, "AirflowIdentity": { "shape": "AirflowIdentity", "documentation": "

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

" } } }, "CreatedAt": { "type": "timestamp" }, "DeleteEnvironmentInput": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "EnvironmentName", "documentation": "

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

", "location": "uri", "locationName": "Name" } } }, "DeleteEnvironmentOutput": { "type": "structure", "members": {} }, "Dimension": { "type": "structure", "required": [ "Name", "Value" ], "members": { "Name": { "shape": "String", "documentation": "

Internal only. The name of the dimension.

" }, "Value": { "shape": "String", "documentation": "

Internal only. The value of the dimension.

" } }, "documentation": "

Internal only. Represents the dimensions of a metric. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.

", "deprecated": true, "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "Dimensions": { "type": "list", "member": { "shape": "Dimension" }, "deprecated": true, "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "Double": { "type": "double", "box": true }, "EndpointManagement": { "type": "string", "enum": [ "CUSTOMER", "SERVICE" ] }, "Environment": { "type": "structure", "members": { "Name": { "shape": "EnvironmentName", "documentation": "

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

" }, "Status": { "shape": "EnvironmentStatus", "documentation": "

The status of the Amazon MWAA environment.

Valid values:

We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see Amazon MWAA troubleshooting.

" }, "Arn": { "shape": "EnvironmentArn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon MWAA environment.

" }, "CreatedAt": { "shape": "CreatedAt", "documentation": "

The day and time the environment was created.

" }, "WebserverUrl": { "shape": "WebserverUrl", "documentation": "

The Apache Airflow web server host name for the Amazon MWAA environment. For more information, see Accessing the Apache Airflow UI.

" }, "ExecutionRoleArn": { "shape": "IamRoleArn", "documentation": "

The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. For more information, see Amazon MWAA Execution role.

" }, "ServiceRoleArn": { "shape": "IamRoleArn", "documentation": "

The Amazon Resource Name (ARN) for the service-linked role of the environment. For more information, see Amazon MWAA Service-linked role.

" }, "KmsKey": { "shape": "KmsKey", "documentation": "

The KMS encryption key used to encrypt the data in your environment.

" }, "AirflowVersion": { "shape": "AirflowVersion", "documentation": "

The Apache Airflow version on your environment.

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2, 2.8.1.

" }, "SourceBucketArn": { "shape": "S3BucketArn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, arn:aws:s3:::my-airflow-bucket-unique-name. For more information, see Create an Amazon S3 bucket for Amazon MWAA.

" }, "DagS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the DAGs folder in your Amazon S3 bucket. For example, s3://mwaa-environment/dags. For more information, see Adding or updating DAGs.

" }, "PluginsS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the file in your Amazon S3 bucket. For example, s3://mwaa-environment/plugins.zip. For more information, see Installing custom plugins.

" }, "PluginsS3ObjectVersion": { "shape": "S3ObjectVersion", "documentation": "

The version of the plugins.zip file in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file.

Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

For more information, see Installing custom plugins.

" }, "RequirementsS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the requirements.txt file in your Amazon S3 bucket. For example, s3://mwaa-environment/requirements.txt. For more information, see Installing Python dependencies.

" }, "RequirementsS3ObjectVersion": { "shape": "S3ObjectVersion", "documentation": "

The version of the requirements.txt file on your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file.

Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

For more information, see Installing Python dependencies.

" }, "StartupScriptS3Path": { "shape": "String", "documentation": "

The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh.

Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script.

" }, "StartupScriptS3ObjectVersion": { "shape": "String", "documentation": "

The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file.

Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

For more information, see Using a startup script.

" }, "AirflowConfigurationOptions": { "shape": "AirflowConfigurationOptions", "documentation": "

A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. For more information, see Apache Airflow configuration options.

" }, "EnvironmentClass": { "shape": "EnvironmentClass", "documentation": "

The environment class type. Valid values: mw1.small, mw1.medium, mw1.large, mw1.xlarge, and mw1.2xlarge. For more information, see Amazon MWAA environment class.

" }, "MaxWorkers": { "shape": "MaxWorkers", "documentation": "

The maximum number of workers that run in your environment. For example, 20.

" }, "NetworkConfiguration": { "shape": "NetworkConfiguration", "documentation": "

Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.

" }, "LoggingConfiguration": { "shape": "LoggingConfiguration", "documentation": "

The Apache Airflow logs published to CloudWatch Logs.

" }, "LastUpdate": { "shape": "LastUpdate", "documentation": "

The status of the last update on the environment.

" }, "WeeklyMaintenanceWindowStart": { "shape": "WeeklyMaintenanceWindowStart", "documentation": "

The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: TUE:03:30.

" }, "Tags": { "shape": "TagMap", "documentation": "

The key-value tag pairs associated to your environment. For example, \"Environment\": \"Staging\". For more information, see Tagging Amazon Web Services resources.

" }, "WebserverAccessMode": { "shape": "WebserverAccessMode", "documentation": "

The Apache Airflow web server access mode. For more information, see Apache Airflow access modes.

" }, "MinWorkers": { "shape": "MinWorkers", "documentation": "

The minimum number of workers that run in your environment. For example, 2.

" }, "Schedulers": { "shape": "Schedulers", "documentation": "

The number of Apache Airflow schedulers that run in your Amazon MWAA environment.

" }, "WebserverVpcEndpointService": { "shape": "VpcEndpointServiceName", "documentation": "

The VPC endpoint for the environment's web server.

" }, "DatabaseVpcEndpointService": { "shape": "VpcEndpointServiceName", "documentation": "

The VPC endpoint for the environment's Amazon RDS database.

" }, "CeleryExecutorQueue": { "shape": "CeleryExecutorQueue", "documentation": "

The queue ARN for the environment's Celery Executor. Amazon MWAA uses a Celery Executor to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.

" }, "EndpointManagement": { "shape": "EndpointManagement", "documentation": "

Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints in your VPC.

" }, "MinWebservers": { "shape": "MinWebservers", "documentation": "

The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers.

Valid values: Accepts between 2 and 5. Defaults to 2.

" }, "MaxWebservers": { "shape": "MaxWebservers", "documentation": "

The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers. As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers.

Valid values: Accepts between 2 and 5. Defaults to 2.

" } }, "documentation": "

Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

" }, "EnvironmentArn": { "type": "string", "max": 1224, "min": 1, "pattern": "arn:aws(-[a-z]+)?:airflow:[a-z0-9\\-]+:\\d{12}:environment/\\w+.*" }, "EnvironmentClass": { "type": "string", "max": 1024, "min": 1 }, "EnvironmentList": { "type": "list", "member": { "shape": "EnvironmentName" } }, "EnvironmentName": { "type": "string", "max": 80, "min": 1, "pattern": "[a-zA-Z][0-9a-zA-Z-_]*" }, "EnvironmentStatus": { "type": "string", "enum": [ "CREATING", "CREATE_FAILED", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "UNAVAILABLE", "UPDATE_FAILED", "ROLLING_BACK", "CREATING_SNAPSHOT", "PENDING", "MAINTENANCE" ] }, "ErrorCode": { "type": "string" }, "ErrorMessage": { "type": "string", "max": 1024, "min": 1, "pattern": ".+" }, "GetEnvironmentInput": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "EnvironmentName", "documentation": "

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

", "location": "uri", "locationName": "Name" } } }, "GetEnvironmentOutput": { "type": "structure", "members": { "Environment": { "shape": "Environment", "documentation": "

An object containing all available details about the environment.

" } } }, "Hostname": { "type": "string", "max": 255, "min": 1, "pattern": "(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])" }, "IamIdentity": { "type": "string" }, "IamRoleArn": { "type": "string", "max": 1224, "min": 1, "pattern": "arn:aws(-[a-z]+)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+" }, "Integer": { "type": "integer", "box": true }, "KmsKey": { "type": "string", "max": 1224, "min": 1, "pattern": "(((arn:aws(-[a-z]+)?:kms:[a-z]{2}-[a-z]+-\\d:\\d+:)?key\\/)?[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|(arn:aws(-[a-z]+)?:kms:[a-z]{2}-[a-z]+-\\d:\\d+:)?alias/.+)" }, "LastUpdate": { "type": "structure", "members": { "Status": { "shape": "UpdateStatus", "documentation": "

The status of the last update on the environment.

" }, "CreatedAt": { "shape": "UpdateCreatedAt", "documentation": "

The day and time of the last update on the environment.

" }, "Error": { "shape": "UpdateError", "documentation": "

The error that was encountered during the last update of the environment.

" }, "Source": { "shape": "UpdateSource", "documentation": "

The source of the last update to the environment. Includes internal processes by Amazon MWAA, such as an environment maintenance update.

" } }, "documentation": "

Describes the status of the last update on the environment, and any errors that were encountered.

" }, "ListEnvironmentsInput": { "type": "structure", "members": { "NextToken": { "shape": "NextToken", "documentation": "

Retrieves the next page of the results.

", "location": "querystring", "locationName": "NextToken" }, "MaxResults": { "shape": "ListEnvironmentsInputMaxResultsInteger", "documentation": "

The maximum number of results to retrieve per page. For example, 5 environments per page.

", "location": "querystring", "locationName": "MaxResults" } } }, "ListEnvironmentsInputMaxResultsInteger": { "type": "integer", "box": true, "max": 25, "min": 1 }, "ListEnvironmentsOutput": { "type": "structure", "required": [ "Environments" ], "members": { "Environments": { "shape": "EnvironmentList", "documentation": "

Returns a list of Amazon MWAA environments.

" }, "NextToken": { "shape": "NextToken", "documentation": "

Retrieves the next page of the results.

" } } }, "ListTagsForResourceInput": { "type": "structure", "required": [ "ResourceArn" ], "members": { "ResourceArn": { "shape": "EnvironmentArn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment.

", "location": "uri", "locationName": "ResourceArn" } } }, "ListTagsForResourceOutput": { "type": "structure", "members": { "Tags": { "shape": "TagMap", "documentation": "

The key-value tag pairs associated to your environment. For more information, see Tagging Amazon Web Services resources.

" } } }, "LoggingConfiguration": { "type": "structure", "members": { "DagProcessingLogs": { "shape": "ModuleLoggingConfiguration", "documentation": "

The Airflow DAG processing logs published to CloudWatch Logs and the log level.

" }, "SchedulerLogs": { "shape": "ModuleLoggingConfiguration", "documentation": "

The Airflow scheduler logs published to CloudWatch Logs and the log level.

" }, "WebserverLogs": { "shape": "ModuleLoggingConfiguration", "documentation": "

The Airflow web server logs published to CloudWatch Logs and the log level.

" }, "WorkerLogs": { "shape": "ModuleLoggingConfiguration", "documentation": "

The Airflow worker logs published to CloudWatch Logs and the log level.

" }, "TaskLogs": { "shape": "ModuleLoggingConfiguration", "documentation": "

The Airflow task logs published to CloudWatch Logs and the log level.

" } }, "documentation": "

Describes the Apache Airflow log types that are published to CloudWatch Logs.

" }, "LoggingConfigurationInput": { "type": "structure", "members": { "DagProcessingLogs": { "shape": "ModuleLoggingConfigurationInput", "documentation": "

Publishes Airflow DAG processing logs to CloudWatch Logs.

" }, "SchedulerLogs": { "shape": "ModuleLoggingConfigurationInput", "documentation": "

Publishes Airflow scheduler logs to CloudWatch Logs.

" }, "WebserverLogs": { "shape": "ModuleLoggingConfigurationInput", "documentation": "

Publishes Airflow web server logs to CloudWatch Logs.

" }, "WorkerLogs": { "shape": "ModuleLoggingConfigurationInput", "documentation": "

Publishes Airflow worker logs to CloudWatch Logs.

" }, "TaskLogs": { "shape": "ModuleLoggingConfigurationInput", "documentation": "

Publishes Airflow task logs to CloudWatch Logs.

" } }, "documentation": "

Defines the Apache Airflow log types to send to CloudWatch Logs.

" }, "LoggingEnabled": { "type": "boolean", "box": true }, "LoggingLevel": { "type": "string", "enum": [ "CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG" ] }, "MaxWebservers": { "type": "integer", "box": true, "min": 2 }, "MaxWorkers": { "type": "integer", "box": true, "min": 1 }, "MetricData": { "type": "list", "member": { "shape": "MetricDatum" }, "deprecated": true, "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "MetricDatum": { "type": "structure", "required": [ "MetricName", "Timestamp" ], "members": { "MetricName": { "shape": "String", "documentation": "

Internal only. The name of the metric.

" }, "Timestamp": { "shape": "Timestamp", "documentation": "

Internal only. The time the metric data was received.

" }, "Dimensions": { "shape": "Dimensions", "documentation": "

Internal only. The dimensions associated with the metric.

" }, "Value": { "shape": "Double", "documentation": "

Internal only. The value for the metric.

" }, "Unit": { "shape": "Unit", "documentation": "

Internal only. The unit used to store the metric.

" }, "StatisticValues": { "shape": "StatisticSet", "documentation": "

Internal only. The statistical values for the metric.

" } }, "documentation": "

Internal only. Collects Apache Airflow metrics. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.

", "deprecated": true, "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "MinWebservers": { "type": "integer", "box": true, "min": 2 }, "MinWorkers": { "type": "integer", "box": true, "min": 1 }, "ModuleLoggingConfiguration": { "type": "structure", "members": { "Enabled": { "shape": "LoggingEnabled", "documentation": "

Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs) is enabled.

" }, "LogLevel": { "shape": "LoggingLevel", "documentation": "

The Apache Airflow log level for the log type (e.g. DagProcessingLogs).

" }, "CloudWatchLogGroupArn": { "shape": "CloudWatchLogGroupArn", "documentation": "

The Amazon Resource Name (ARN) for the CloudWatch Logs group where the Apache Airflow log type (e.g. DagProcessingLogs) is published. For example, arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*.

" } }, "documentation": "

Describes the Apache Airflow log details for the log type (e.g. DagProcessingLogs).

" }, "ModuleLoggingConfigurationInput": { "type": "structure", "required": [ "Enabled", "LogLevel" ], "members": { "Enabled": { "shape": "LoggingEnabled", "documentation": "

Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs).

" }, "LogLevel": { "shape": "LoggingLevel", "documentation": "

Defines the Apache Airflow log level (e.g. INFO) to send to CloudWatch Logs.

" } }, "documentation": "

Enables the Apache Airflow log type (e.g. DagProcessingLogs) and defines the log level to send to CloudWatch Logs (e.g. INFO).

" }, "NetworkConfiguration": { "type": "structure", "members": { "SubnetIds": { "shape": "SubnetList", "documentation": "

A list of subnet IDs. For more information, see About networking on Amazon MWAA.

" }, "SecurityGroupIds": { "shape": "SecurityGroupList", "documentation": "

A list of security group IDs. For more information, see Security in your VPC on Amazon MWAA.

" } }, "documentation": "

Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.

" }, "NextToken": { "type": "string", "max": 2048, "min": 0 }, "PublishMetricsInput": { "type": "structure", "required": [ "EnvironmentName", "MetricData" ], "members": { "EnvironmentName": { "shape": "EnvironmentName", "documentation": "

Internal only. The name of the environment.

", "location": "uri", "locationName": "EnvironmentName" }, "MetricData": { "shape": "MetricData", "documentation": "

Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.

" } }, "deprecated": true, "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "PublishMetricsOutput": { "type": "structure", "members": {}, "deprecated": true, "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "RelativePath": { "type": "string", "max": 1024, "min": 1, "pattern": ".*" }, "S3BucketArn": { "type": "string", "max": 1224, "min": 1, "pattern": "arn:aws(-[a-z]+)?:s3:::[a-z0-9.\\-]+" }, "S3ObjectVersion": { "type": "string", "max": 1024, "min": 1 }, "Schedulers": { "type": "integer", "box": true, "max": 5 }, "SecurityGroupId": { "type": "string", "max": 1024, "min": 1, "pattern": "sg-[a-zA-Z0-9\\-._]+" }, "SecurityGroupList": { "type": "list", "member": { "shape": "SecurityGroupId" }, "max": 5, "min": 1 }, "StatisticSet": { "type": "structure", "members": { "SampleCount": { "shape": "Integer", "documentation": "

Internal only. The number of samples used for the statistic set.

" }, "Sum": { "shape": "Double", "documentation": "

Internal only. The sum of values for the sample set.

" }, "Minimum": { "shape": "Double", "documentation": "

Internal only. The minimum value of the sample set.

" }, "Maximum": { "shape": "Double", "documentation": "

Internal only. The maximum value of the sample set.

" } }, "documentation": "

Internal only. Represents a set of statistics that describe a specific metric. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.

", "deprecated": true, "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored." }, "String": { "type": "string" }, "SubnetId": { "type": "string", "max": 1024, "min": 1, "pattern": "subnet-[a-zA-Z0-9\\-._]+" }, "SubnetList": { "type": "list", "member": { "shape": "SubnetId" }, "max": 2, "min": 2 }, "TagKey": { "type": "string", "max": 128, "min": 1, "pattern": "([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" }, "max": 50, "min": 0 }, "TagMap": { "type": "map", "key": { "shape": "TagKey" }, "value": { "shape": "TagValue" }, "max": 50, "min": 1 }, "TagResourceInput": { "type": "structure", "required": [ "ResourceArn", "Tags" ], "members": { "ResourceArn": { "shape": "EnvironmentArn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment.

", "location": "uri", "locationName": "ResourceArn" }, "Tags": { "shape": "TagMap", "documentation": "

The key-value tag pairs you want to associate to your environment. For example, \"Environment\": \"Staging\". For more information, see Tagging Amazon Web Services resources.

" } } }, "TagResourceOutput": { "type": "structure", "members": {} }, "TagValue": { "type": "string", "max": 256, "min": 1, "pattern": "([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)" }, "Timestamp": { "type": "timestamp" }, "Token": { "type": "string", "sensitive": true }, "Unit": { "type": "string", "enum": [ "Seconds", "Microseconds", "Milliseconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" ] }, "UntagResourceInput": { "type": "structure", "required": [ "ResourceArn", "tagKeys" ], "members": { "ResourceArn": { "shape": "EnvironmentArn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment.

", "location": "uri", "locationName": "ResourceArn" }, "tagKeys": { "shape": "TagKeyList", "documentation": "

The key-value tag pair you want to remove. For example, \"Environment\": \"Staging\".

", "location": "querystring", "locationName": "tagKeys" } } }, "UntagResourceOutput": { "type": "structure", "members": {} }, "UpdateCreatedAt": { "type": "timestamp" }, "UpdateEnvironmentInput": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "EnvironmentName", "documentation": "

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

", "location": "uri", "locationName": "Name" }, "ExecutionRoleArn": { "shape": "IamRoleArn", "documentation": "

The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. For more information, see Amazon MWAA Execution role.

" }, "AirflowVersion": { "shape": "AirflowVersion", "documentation": "

The Apache Airflow version for your environment. To upgrade your environment, specify a newer version of Apache Airflow supported by Amazon MWAA.

Before you upgrade an environment, make sure your requirements, DAGs, plugins, and other resources used in your workflows are compatible with the new Apache Airflow version. For more information about updating your resources, see Upgrading an Amazon MWAA environment.

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2, 2.8.1.

" }, "SourceBucketArn": { "shape": "S3BucketArn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, arn:aws:s3:::my-airflow-bucket-unique-name. For more information, see Create an Amazon S3 bucket for Amazon MWAA.

" }, "DagS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags. For more information, see Adding or updating DAGs.

" }, "PluginsS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip. If specified, then the plugins.zip version is required. For more information, see Installing custom plugins.

" }, "PluginsS3ObjectVersion": { "shape": "S3ObjectVersion", "documentation": "

The version of the plugins.zip file on your Amazon S3 bucket. You must specify a version each time a plugins.zip file is updated. For more information, see How S3 Versioning works.

" }, "RequirementsS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt. If specified, then a file version is required. For more information, see Installing Python dependencies.

" }, "RequirementsS3ObjectVersion": { "shape": "S3ObjectVersion", "documentation": "

The version of the requirements.txt file on your Amazon S3 bucket. You must specify a version each time a requirements.txt file is updated. For more information, see How S3 Versioning works.

" }, "StartupScriptS3Path": { "shape": "RelativePath", "documentation": "

The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh.

Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script.

" }, "StartupScriptS3ObjectVersion": { "shape": "S3ObjectVersion", "documentation": "

The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.

Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

For more information, see Using a startup script.

" }, "AirflowConfigurationOptions": { "shape": "AirflowConfigurationOptions", "documentation": "

A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. For more information, see Apache Airflow configuration options.

" }, "EnvironmentClass": { "shape": "EnvironmentClass", "documentation": "

The environment class type. Valid values: mw1.small, mw1.medium, mw1.large, mw1.xlarge, and mw1.2xlarge. For more information, see Amazon MWAA environment class.

" }, "MaxWorkers": { "shape": "MaxWorkers", "documentation": "

The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. For example, 20. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in MinWorkers.

" }, "NetworkConfiguration": { "shape": "UpdateNetworkConfigurationInput", "documentation": "

The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.

" }, "LoggingConfiguration": { "shape": "LoggingConfigurationInput", "documentation": "

The Apache Airflow log types to send to CloudWatch Logs.

" }, "WeeklyMaintenanceWindowStart": { "shape": "WeeklyMaintenanceWindowStart", "documentation": "

The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly maintenance updates of your environment in the following format: DAY:HH:MM. For example: TUE:03:30. You can specify a start time in 30 minute increments only.

" }, "WebserverAccessMode": { "shape": "WebserverAccessMode", "documentation": "

The Apache Airflow Web server access mode. For more information, see Apache Airflow access modes.

" }, "MinWorkers": { "shape": "MinWorkers", "documentation": "

The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the MinWorkers field. For example, 2.

" }, "Schedulers": { "shape": "Schedulers", "documentation": "

The number of Apache Airflow schedulers to run in your Amazon MWAA environment.

" }, "MinWebservers": { "shape": "MinWebservers", "documentation": "

The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers.

Valid values: Accepts between 2 and 5. Defaults to 2.

" }, "MaxWebservers": { "shape": "MaxWebservers", "documentation": "

The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers. As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers.

Valid values: Accepts between 2 and 5. Defaults to 2.

" } } }, "UpdateEnvironmentOutput": { "type": "structure", "members": { "Arn": { "shape": "EnvironmentArn", "documentation": "

The Amazon Resource Name (ARN) of the Amazon MWAA environment. For example, arn:aws:airflow:us-east-1:123456789012:environment/MyMWAAEnvironment.

" } } }, "UpdateError": { "type": "structure", "members": { "ErrorCode": { "shape": "ErrorCode", "documentation": "

The error code that corresponds to the error with the last update.

" }, "ErrorMessage": { "shape": "ErrorMessage", "documentation": "

The error message that corresponds to the error code.

" } }, "documentation": "

Describes the error(s) encountered with the last update of the environment.

" }, "UpdateNetworkConfigurationInput": { "type": "structure", "required": [ "SecurityGroupIds" ], "members": { "SecurityGroupIds": { "shape": "SecurityGroupList", "documentation": "

A list of security group IDs. A security group must be attached to the same VPC as the subnets. For more information, see Security in your VPC on Amazon MWAA.

" } }, "documentation": "

Defines the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.

" }, "UpdateSource": { "type": "string", "max": 256, "min": 1, "pattern": ".+" }, "UpdateStatus": { "type": "string", "enum": [ "SUCCESS", "PENDING", "FAILED" ] }, "VpcEndpointServiceName": { "type": "string", "max": 1224, "min": 1, "pattern": "([a-z.-]+)?com\\.amazonaws\\.vpce\\.[a-z0-9\\-]+\\.[a-zA-Z_0-9+=,.@\\-_/]+" }, "WebserverAccessMode": { "type": "string", "enum": [ "PRIVATE_ONLY", "PUBLIC_ONLY" ] }, "WebserverUrl": { "type": "string", "max": 256, "min": 1, "pattern": "https://.+" }, "WeeklyMaintenanceWindowStart": { "type": "string", "max": 9, "min": 1, "pattern": ".*(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\\d|2[0-3]):(00|30).*" } }, "documentation": "

Amazon Managed Workflows for Apache Airflow

This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What is Amazon MWAA?.

Endpoints

Regions

For a list of supported regions, see Amazon MWAA endpoints and quotas in the Amazon Web Services General Reference.

" }