"documentation":"<p>An operation for publishing metrics from the customers to the Ops plane.</p>",
"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":"<p>Add tag to the MWAA environments.</p>",
"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":"<p>Remove a tag from the MWAA environments.</p>",
"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":"<p>Update an MWAA environment.</p>",
"endpoint":{"hostPrefix":"api."}
}
},
"shapes":{
"AccessDeniedException":{
"type":"structure",
"members":{
"Message":{"shape":"String"}
},
"documentation":"<p>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.</p>",
"documentation":"<p>The Apache Airflow configuration setting you want to override in your environment. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html\">Environment configuration</a>.</p>"
},
"AirflowVersion":{
"shape":"AirflowVersion",
"documentation":"<p>The Apache Airflow version you want to use for your environment.</p>"
},
"DagS3Path":{
"shape":"RelativePath",
"documentation":"<p>The relative path to the DAG folder on your Amazon S3 storage bucket. For example, <code>dags</code>. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html\">Importing DAGs on Amazon MWAA</a>.</p>"
},
"EnvironmentClass":{
"shape":"EnvironmentClass",
"documentation":"<p>The environment class you want to use for your environment. The environment class determines the size of the containers and database used for your Apache Airflow services.</p>"
},
"ExecutionRoleArn":{
"shape":"IamRoleArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an AWS Identity and Access Management (IAM) role that grants MWAA permission to access AWS services and resources used by your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/manage-access.html\">Managing access to Amazon Managed Workflows for Apache Airflow</a>.</p>"
},
"KmsKey":{
"shape":"KmsKey",
"documentation":"<p>The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a custom KMS key (advanced). For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html?icmpid=docs_console_unmapped#master_keys\">Customer master keys (CMKs)</a> in the AWS KMS developer guide.</p>"
},
"LoggingConfiguration":{
"shape":"LoggingConfigurationInput",
"documentation":"<p>The Apache Airflow logs you want to send to Amazon CloudWatch Logs.</p>"
},
"MaxWorkers":{
"shape":"MaxWorkers",
"documentation":"<p>The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in this field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra containers leaving the one worker that is included with your environment.</p>"
"documentation":"<p>The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in the <code>MaxWorkers</code> field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra containers leaving the worker count you specify in the <code>MinWorkers</code> field.</p>"
"documentation":"<p>The name of your MWAA environment.</p>",
"location":"uri",
"locationName":"Name"
},
"NetworkConfiguration":{
"shape":"NetworkConfiguration",
"documentation":"<p>The VPC networking components you want to use for your environment. At least two private subnet identifiers and one VPC security group identifier are required to create an environment. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-mwaa.html\">Creating the VPC network for a MWAA environment</a>.</p>"
},
"PluginsS3ObjectVersion":{
"shape":"S3ObjectVersion",
"documentation":"<p>The <code>plugins.zip</code> file version you want to use.</p>"
},
"PluginsS3Path":{
"shape":"RelativePath",
"documentation":"<p>The relative path to the <code>plugins.zip</code> file on your Amazon S3 storage bucket. For example, <code>plugins.zip</code>. If a relative path is provided in the request, then <code>PluginsS3ObjectVersion</code> is required. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html\">Importing DAGs on Amazon MWAA</a>.</p>"
},
"RequirementsS3ObjectVersion":{
"shape":"S3ObjectVersion",
"documentation":"<p>The <code>requirements.txt</code> file version you want to use.</p>"
},
"RequirementsS3Path":{
"shape":"RelativePath",
"documentation":"<p>The relative path to the <code>requirements.txt</code> file on your Amazon S3 storage bucket. For example, <code>requirements.txt</code>. If a relative path is provided in the request, then <code>RequirementsS3ObjectVersion</code> is required. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html\">Importing DAGs on Amazon MWAA</a>.</p>"
},
"SourceBucketArn":{
"shape":"S3BucketArn",
"documentation":"<p>The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, <code>arn:aws:s3:::airflow-mybucketname</code>.</p>"
},
"Tags":{
"shape":"TagMap",
"documentation":"<p>The metadata tags you want to attach to your environment. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS resources</a>.</p>"
},
"WebserverAccessMode":{
"shape":"WebserverAccessMode",
"documentation":"<p>The networking access of your Apache Airflow web server. A public network allows your Airflow UI to be accessed over the Internet by users granted access in your IAM policy. A private network limits access of your Airflow UI to users within your VPC. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-mwaa.html\">Creating the VPC network for a MWAA environment</a>.</p>"
},
"WeeklyMaintenanceWindowStart":{
"shape":"WeeklyMaintenanceWindowStart",
"documentation":"<p>The day and time you want MWAA to start weekly maintenance updates on your environment.</p>"
}
},
"documentation":"<p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation to create an environment. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html\">Get started with Amazon Managed Workflows for Apache Airflow</a>.</p>"
"documentation":"<p>Provides the ARN for the CloudWatch group where the logs will be published.</p>"
},
"Enabled":{
"shape":"LoggingEnabled",
"documentation":"<p>Defines that the logging module is enabled.</p>"
},
"LogLevel":{
"shape":"LoggingLevel",
"documentation":"<p>Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.</p>"
}
},
"documentation":"<p>A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.</p>"
},
"ModuleLoggingConfigurationInput":{
"type":"structure",
"required":[
"Enabled",
"LogLevel"
],
"members":{
"Enabled":{
"shape":"LoggingEnabled",
"documentation":"<p>Defines that the logging module is enabled.</p>"
},
"LogLevel":{
"shape":"LoggingLevel",
"documentation":"<p>Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.</p>"
}
},
"documentation":"<p>A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.</p>"
},
"NetworkConfiguration":{
"type":"structure",
"members":{
"SecurityGroupIds":{
"shape":"SecurityGroupList",
"documentation":"<p>A JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.</p>"
},
"SubnetIds":{
"shape":"SubnetList",
"documentation":"<p>Provide a JSON list of 2 subnet IDs by name. These must be private subnets, in the same VPC, in two different availability zones.</p>"
}
},
"documentation":"<p>Provide the security group and subnet IDs for the workers and scheduler.</p>"
},
"NextToken":{
"type":"string",
"max":2048,
"min":0
},
"PublishMetricsInput":{
"type":"structure",
"required":[
"EnvironmentName",
"MetricData"
],
"members":{
"EnvironmentName":{
"shape":"EnvironmentName",
"documentation":"<p>Publishes environment metric data to Amazon CloudWatch.</p>",
"location":"uri",
"locationName":"EnvironmentName"
},
"MetricData":{
"shape":"MetricData",
"documentation":"<p>Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metrica.</p>"
}
}
},
"PublishMetricsOutput":{
"type":"structure",
"members":{
}
},
"RelativePath":{
"type":"string",
"max":1024,
"min":1,
"pattern":".*"
},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"documentation":"<p>ResourceNotFoundException: The resource is not available.</p>",
"documentation":"<p><fullname>Amazon Managed Workflows for Apache Airflow</fullname> <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html\">What Is Amazon MWAA?</a>.</p></p>"