From bf48f7cfb6de26a18f1d1b711da7c789e6fadb10 Mon Sep 17 00:00:00 2001
From: aws-sdk-dotnet-automation
Date: Thu, 16 May 2024 18:19:51 +0000
Subject: [PATCH] Amazon MWAA now supports Airflow web server auto scaling to
automatically handle increased demand from REST APIs, Command Line Interface
(CLI), or more Airflow User Interface (UI) users. Customers can specify
maximum and minimum web server instances during environment creation and
update workflow.
---
.../mwaa/mwaa-2020-07-01.api.json | 220 +++----
.../mwaa/mwaa-2020-07-01.docs.json | 46 +-
.../mwaa/mwaa-2020-07-01.normal.json | 558 ++++++++++--------
.../MWAA/Generated/PropertyValueRules.xml | 100 ++--
.../Model/CreateEnvironmentRequest.cs | 68 ++-
.../MWAA/Generated/Model/Environment.cs | 66 ++-
.../CreateEnvironmentRequestMarshaller.cs | 12 +
.../EnvironmentUnmarshaller.cs | 12 +
.../UpdateEnvironmentRequestMarshaller.cs | 12 +
.../Model/UpdateEnvironmentRequest.cs | 66 ++-
10 files changed, 733 insertions(+), 427 deletions(-)
diff --git a/generator/ServiceModels/mwaa/mwaa-2020-07-01.api.json b/generator/ServiceModels/mwaa/mwaa-2020-07-01.api.json
index 80dfe1e5844b..95c6d53eea0f 100644
--- a/generator/ServiceModels/mwaa/mwaa-2020-07-01.api.json
+++ b/generator/ServiceModels/mwaa/mwaa-2020-07-01.api.json
@@ -3,8 +3,8 @@
"metadata":{
"apiVersion":"2020-07-01",
"endpointPrefix":"airflow",
- "jsonVersion":"1.1",
"protocol":"rest-json",
+ "protocols":["rest-json"],
"serviceFullName":"AmazonMWAA",
"serviceId":"MWAA",
"signatureVersion":"v4",
@@ -218,31 +218,31 @@
"type":"string",
"max":32,
"min":1,
- "pattern":"^[0-9a-z.]+$"
+ "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+=,.@\\-_/]+$"
+ "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+"
+ "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_]+)?$"
+ "pattern":"[a-z]+([a-z0-9._]*[a-z0-9_]+)?"
},
"ConfigValue":{
"type":"string",
"max":65536,
"min":1,
- "pattern":"^[ -~]+$",
+ "pattern":"[ -~]+",
"sensitive":true
},
"CreateCliTokenRequest":{
@@ -266,40 +266,42 @@
"CreateEnvironmentInput":{
"type":"structure",
"required":[
- "DagS3Path",
- "ExecutionRoleArn",
"Name",
- "NetworkConfiguration",
- "SourceBucketArn"
+ "ExecutionRoleArn",
+ "SourceBucketArn",
+ "DagS3Path",
+ "NetworkConfiguration"
],
"members":{
- "AirflowConfigurationOptions":{"shape":"AirflowConfigurationOptions"},
- "AirflowVersion":{"shape":"AirflowVersion"},
- "DagS3Path":{"shape":"RelativePath"},
- "EndpointManagement":{"shape":"EndpointManagement"},
- "EnvironmentClass":{"shape":"EnvironmentClass"},
- "ExecutionRoleArn":{"shape":"IamRoleArn"},
- "KmsKey":{"shape":"KmsKey"},
- "LoggingConfiguration":{"shape":"LoggingConfigurationInput"},
- "MaxWorkers":{"shape":"MaxWorkers"},
- "MinWorkers":{"shape":"MinWorkers"},
"Name":{
"shape":"EnvironmentName",
"location":"uri",
"locationName":"Name"
},
+ "ExecutionRoleArn":{"shape":"IamRoleArn"},
+ "SourceBucketArn":{"shape":"S3BucketArn"},
+ "DagS3Path":{"shape":"RelativePath"},
"NetworkConfiguration":{"shape":"NetworkConfiguration"},
- "PluginsS3ObjectVersion":{"shape":"S3ObjectVersion"},
"PluginsS3Path":{"shape":"RelativePath"},
- "RequirementsS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "PluginsS3ObjectVersion":{"shape":"S3ObjectVersion"},
"RequirementsS3Path":{"shape":"RelativePath"},
- "Schedulers":{"shape":"Schedulers"},
- "SourceBucketArn":{"shape":"S3BucketArn"},
- "StartupScriptS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "RequirementsS3ObjectVersion":{"shape":"S3ObjectVersion"},
"StartupScriptS3Path":{"shape":"RelativePath"},
+ "StartupScriptS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "AirflowConfigurationOptions":{"shape":"AirflowConfigurationOptions"},
+ "EnvironmentClass":{"shape":"EnvironmentClass"},
+ "MaxWorkers":{"shape":"MaxWorkers"},
+ "KmsKey":{"shape":"KmsKey"},
+ "AirflowVersion":{"shape":"AirflowVersion"},
+ "LoggingConfiguration":{"shape":"LoggingConfigurationInput"},
+ "WeeklyMaintenanceWindowStart":{"shape":"WeeklyMaintenanceWindowStart"},
"Tags":{"shape":"TagMap"},
"WebserverAccessMode":{"shape":"WebserverAccessMode"},
- "WeeklyMaintenanceWindowStart":{"shape":"WeeklyMaintenanceWindowStart"}
+ "MinWorkers":{"shape":"MinWorkers"},
+ "Schedulers":{"shape":"Schedulers"},
+ "EndpointManagement":{"shape":"EndpointManagement"},
+ "MinWebservers":{"shape":"MinWebservers"},
+ "MaxWebservers":{"shape":"MaxWebservers"}
}
},
"CreateEnvironmentOutput":{
@@ -322,10 +324,10 @@
"CreateWebLoginTokenResponse":{
"type":"structure",
"members":{
- "AirflowIdentity":{"shape":"AirflowIdentity"},
- "IamIdentity":{"shape":"IamIdentity"},
+ "WebToken":{"shape":"Token"},
"WebServerHostname":{"shape":"Hostname"},
- "WebToken":{"shape":"Token"}
+ "IamIdentity":{"shape":"IamIdentity"},
+ "AirflowIdentity":{"shape":"AirflowIdentity"}
}
},
"CreatedAt":{"type":"timestamp"},
@@ -378,45 +380,47 @@
"Environment":{
"type":"structure",
"members":{
- "AirflowConfigurationOptions":{"shape":"AirflowConfigurationOptions"},
- "AirflowVersion":{"shape":"AirflowVersion"},
+ "Name":{"shape":"EnvironmentName"},
+ "Status":{"shape":"EnvironmentStatus"},
"Arn":{"shape":"EnvironmentArn"},
- "CeleryExecutorQueue":{"shape":"CeleryExecutorQueue"},
"CreatedAt":{"shape":"CreatedAt"},
- "DagS3Path":{"shape":"RelativePath"},
- "DatabaseVpcEndpointService":{"shape":"VpcEndpointServiceName"},
- "EndpointManagement":{"shape":"EndpointManagement"},
- "EnvironmentClass":{"shape":"EnvironmentClass"},
+ "WebserverUrl":{"shape":"WebserverUrl"},
"ExecutionRoleArn":{"shape":"IamRoleArn"},
+ "ServiceRoleArn":{"shape":"IamRoleArn"},
"KmsKey":{"shape":"KmsKey"},
- "LastUpdate":{"shape":"LastUpdate"},
- "LoggingConfiguration":{"shape":"LoggingConfiguration"},
- "MaxWorkers":{"shape":"MaxWorkers"},
- "MinWorkers":{"shape":"MinWorkers"},
- "Name":{"shape":"EnvironmentName"},
- "NetworkConfiguration":{"shape":"NetworkConfiguration"},
- "PluginsS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "AirflowVersion":{"shape":"AirflowVersion"},
+ "SourceBucketArn":{"shape":"S3BucketArn"},
+ "DagS3Path":{"shape":"RelativePath"},
"PluginsS3Path":{"shape":"RelativePath"},
- "RequirementsS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "PluginsS3ObjectVersion":{"shape":"S3ObjectVersion"},
"RequirementsS3Path":{"shape":"RelativePath"},
- "Schedulers":{"shape":"Schedulers"},
- "ServiceRoleArn":{"shape":"IamRoleArn"},
- "SourceBucketArn":{"shape":"S3BucketArn"},
- "StartupScriptS3ObjectVersion":{"shape":"String"},
+ "RequirementsS3ObjectVersion":{"shape":"S3ObjectVersion"},
"StartupScriptS3Path":{"shape":"String"},
- "Status":{"shape":"EnvironmentStatus"},
+ "StartupScriptS3ObjectVersion":{"shape":"String"},
+ "AirflowConfigurationOptions":{"shape":"AirflowConfigurationOptions"},
+ "EnvironmentClass":{"shape":"EnvironmentClass"},
+ "MaxWorkers":{"shape":"MaxWorkers"},
+ "NetworkConfiguration":{"shape":"NetworkConfiguration"},
+ "LoggingConfiguration":{"shape":"LoggingConfiguration"},
+ "LastUpdate":{"shape":"LastUpdate"},
+ "WeeklyMaintenanceWindowStart":{"shape":"WeeklyMaintenanceWindowStart"},
"Tags":{"shape":"TagMap"},
"WebserverAccessMode":{"shape":"WebserverAccessMode"},
- "WebserverUrl":{"shape":"WebserverUrl"},
+ "MinWorkers":{"shape":"MinWorkers"},
+ "Schedulers":{"shape":"Schedulers"},
"WebserverVpcEndpointService":{"shape":"VpcEndpointServiceName"},
- "WeeklyMaintenanceWindowStart":{"shape":"WeeklyMaintenanceWindowStart"}
+ "DatabaseVpcEndpointService":{"shape":"VpcEndpointServiceName"},
+ "CeleryExecutorQueue":{"shape":"CeleryExecutorQueue"},
+ "EndpointManagement":{"shape":"EndpointManagement"},
+ "MinWebservers":{"shape":"MinWebservers"},
+ "MaxWebservers":{"shape":"MaxWebservers"}
}
},
"EnvironmentArn":{
"type":"string",
"max":1224,
"min":1,
- "pattern":"^arn:aws(-[a-z]+)?:airflow:[a-z0-9\\-]+:\\d{12}:environment/\\w+"
+ "pattern":"arn:aws(-[a-z]+)?:airflow:[a-z0-9\\-]+:\\d{12}:environment/\\w+.*"
},
"EnvironmentClass":{
"type":"string",
@@ -431,7 +435,7 @@
"type":"string",
"max":80,
"min":1,
- "pattern":"^[a-zA-Z][0-9a-zA-Z-_]*$"
+ "pattern":"[a-zA-Z][0-9a-zA-Z-_]*"
},
"EnvironmentStatus":{
"type":"string",
@@ -455,7 +459,7 @@
"type":"string",
"max":1024,
"min":1,
- "pattern":"^.+$"
+ "pattern":".+"
},
"GetEnvironmentInput":{
"type":"structure",
@@ -478,14 +482,14 @@
"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])$"
+ "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+=,.@\\-_/]+$"
+ "pattern":"arn:aws(-[a-z]+)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
},
"Integer":{
"type":"integer",
@@ -504,29 +508,29 @@
"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/.+)$"
+ "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"},
"CreatedAt":{"shape":"UpdateCreatedAt"},
"Error":{"shape":"UpdateError"},
- "Source":{"shape":"UpdateSource"},
- "Status":{"shape":"UpdateStatus"}
+ "Source":{"shape":"UpdateSource"}
}
},
"ListEnvironmentsInput":{
"type":"structure",
"members":{
- "MaxResults":{
- "shape":"ListEnvironmentsInputMaxResultsInteger",
- "location":"querystring",
- "locationName":"MaxResults"
- },
"NextToken":{
"shape":"NextToken",
"location":"querystring",
"locationName":"NextToken"
+ },
+ "MaxResults":{
+ "shape":"ListEnvironmentsInputMaxResultsInteger",
+ "location":"querystring",
+ "locationName":"MaxResults"
}
}
},
@@ -566,9 +570,9 @@
"members":{
"DagProcessingLogs":{"shape":"ModuleLoggingConfiguration"},
"SchedulerLogs":{"shape":"ModuleLoggingConfiguration"},
- "TaskLogs":{"shape":"ModuleLoggingConfiguration"},
"WebserverLogs":{"shape":"ModuleLoggingConfiguration"},
- "WorkerLogs":{"shape":"ModuleLoggingConfiguration"}
+ "WorkerLogs":{"shape":"ModuleLoggingConfiguration"},
+ "TaskLogs":{"shape":"ModuleLoggingConfiguration"}
}
},
"LoggingConfigurationInput":{
@@ -576,9 +580,9 @@
"members":{
"DagProcessingLogs":{"shape":"ModuleLoggingConfigurationInput"},
"SchedulerLogs":{"shape":"ModuleLoggingConfigurationInput"},
- "TaskLogs":{"shape":"ModuleLoggingConfigurationInput"},
"WebserverLogs":{"shape":"ModuleLoggingConfigurationInput"},
- "WorkerLogs":{"shape":"ModuleLoggingConfigurationInput"}
+ "WorkerLogs":{"shape":"ModuleLoggingConfigurationInput"},
+ "TaskLogs":{"shape":"ModuleLoggingConfigurationInput"}
}
},
"LoggingEnabled":{
@@ -595,6 +599,11 @@
"DEBUG"
]
},
+ "MaxWebservers":{
+ "type":"integer",
+ "box":true,
+ "min":2
+ },
"MaxWorkers":{
"type":"integer",
"box":true,
@@ -613,16 +622,21 @@
"Timestamp"
],
"members":{
- "Dimensions":{"shape":"Dimensions"},
"MetricName":{"shape":"String"},
- "StatisticValues":{"shape":"StatisticSet"},
"Timestamp":{"shape":"Timestamp"},
+ "Dimensions":{"shape":"Dimensions"},
+ "Value":{"shape":"Double"},
"Unit":{"shape":"Unit"},
- "Value":{"shape":"Double"}
+ "StatisticValues":{"shape":"StatisticSet"}
},
"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,
@@ -631,9 +645,9 @@
"ModuleLoggingConfiguration":{
"type":"structure",
"members":{
- "CloudWatchLogGroupArn":{"shape":"CloudWatchLogGroupArn"},
"Enabled":{"shape":"LoggingEnabled"},
- "LogLevel":{"shape":"LoggingLevel"}
+ "LogLevel":{"shape":"LoggingLevel"},
+ "CloudWatchLogGroupArn":{"shape":"CloudWatchLogGroupArn"}
}
},
"ModuleLoggingConfigurationInput":{
@@ -650,8 +664,8 @@
"NetworkConfiguration":{
"type":"structure",
"members":{
- "SecurityGroupIds":{"shape":"SecurityGroupList"},
- "SubnetIds":{"shape":"SubnetList"}
+ "SubnetIds":{"shape":"SubnetList"},
+ "SecurityGroupIds":{"shape":"SecurityGroupList"}
}
},
"NextToken":{
@@ -704,7 +718,7 @@
"type":"string",
"max":1224,
"min":1,
- "pattern":"^arn:aws(-[a-z]+)?:s3:::[a-z0-9.\\-]+$"
+ "pattern":"arn:aws(-[a-z]+)?:s3:::[a-z0-9.\\-]+"
},
"S3ObjectVersion":{
"type":"string",
@@ -720,7 +734,7 @@
"type":"string",
"max":1024,
"min":1,
- "pattern":"^sg-[a-zA-Z0-9\\-._]+$"
+ "pattern":"sg-[a-zA-Z0-9\\-._]+"
},
"SecurityGroupList":{
"type":"list",
@@ -731,10 +745,10 @@
"StatisticSet":{
"type":"structure",
"members":{
- "Maximum":{"shape":"Double"},
- "Minimum":{"shape":"Double"},
"SampleCount":{"shape":"Integer"},
- "Sum":{"shape":"Double"}
+ "Sum":{"shape":"Double"},
+ "Minimum":{"shape":"Double"},
+ "Maximum":{"shape":"Double"}
},
"deprecated":true,
"deprecatedMessage":"This type is for internal use and not meant for public use. Data set for this type will be ignored."
@@ -744,7 +758,7 @@
"type":"string",
"max":1024,
"min":1,
- "pattern":"^subnet-[a-zA-Z0-9\\-._]+$"
+ "pattern":"subnet-[a-zA-Z0-9\\-._]+"
},
"SubnetList":{
"type":"list",
@@ -756,7 +770,7 @@
"type":"string",
"max":128,
"min":1,
- "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
+ "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
},
"TagKeyList":{
"type":"list",
@@ -795,7 +809,7 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
+ "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
},
"Timestamp":{"type":"timestamp"},
"Token":{
@@ -863,30 +877,32 @@
"type":"structure",
"required":["Name"],
"members":{
- "AirflowConfigurationOptions":{"shape":"AirflowConfigurationOptions"},
- "AirflowVersion":{"shape":"AirflowVersion"},
- "DagS3Path":{"shape":"RelativePath"},
- "EnvironmentClass":{"shape":"EnvironmentClass"},
- "ExecutionRoleArn":{"shape":"IamRoleArn"},
- "LoggingConfiguration":{"shape":"LoggingConfigurationInput"},
- "MaxWorkers":{"shape":"MaxWorkers"},
- "MinWorkers":{"shape":"MinWorkers"},
"Name":{
"shape":"EnvironmentName",
"location":"uri",
"locationName":"Name"
},
- "NetworkConfiguration":{"shape":"UpdateNetworkConfigurationInput"},
- "PluginsS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "ExecutionRoleArn":{"shape":"IamRoleArn"},
+ "AirflowVersion":{"shape":"AirflowVersion"},
+ "SourceBucketArn":{"shape":"S3BucketArn"},
+ "DagS3Path":{"shape":"RelativePath"},
"PluginsS3Path":{"shape":"RelativePath"},
- "RequirementsS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "PluginsS3ObjectVersion":{"shape":"S3ObjectVersion"},
"RequirementsS3Path":{"shape":"RelativePath"},
- "Schedulers":{"shape":"Schedulers"},
- "SourceBucketArn":{"shape":"S3BucketArn"},
- "StartupScriptS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "RequirementsS3ObjectVersion":{"shape":"S3ObjectVersion"},
"StartupScriptS3Path":{"shape":"RelativePath"},
+ "StartupScriptS3ObjectVersion":{"shape":"S3ObjectVersion"},
+ "AirflowConfigurationOptions":{"shape":"AirflowConfigurationOptions"},
+ "EnvironmentClass":{"shape":"EnvironmentClass"},
+ "MaxWorkers":{"shape":"MaxWorkers"},
+ "NetworkConfiguration":{"shape":"UpdateNetworkConfigurationInput"},
+ "LoggingConfiguration":{"shape":"LoggingConfigurationInput"},
+ "WeeklyMaintenanceWindowStart":{"shape":"WeeklyMaintenanceWindowStart"},
"WebserverAccessMode":{"shape":"WebserverAccessMode"},
- "WeeklyMaintenanceWindowStart":{"shape":"WeeklyMaintenanceWindowStart"}
+ "MinWorkers":{"shape":"MinWorkers"},
+ "Schedulers":{"shape":"Schedulers"},
+ "MinWebservers":{"shape":"MinWebservers"},
+ "MaxWebservers":{"shape":"MaxWebservers"}
}
},
"UpdateEnvironmentOutput":{
@@ -913,7 +929,7 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^.+$"
+ "pattern":".+"
},
"UpdateStatus":{
"type":"string",
@@ -938,7 +954,7 @@
"type":"string",
"max":1224,
"min":1,
- "pattern":"^([a-z.-]+)?com\\.amazonaws\\.vpce\\.[a-z0-9\\-]+\\.[a-zA-Z_0-9+=,.@\\-_/]+$"
+ "pattern":"([a-z.-]+)?com\\.amazonaws\\.vpce\\.[a-z0-9\\-]+\\.[a-zA-Z_0-9+=,.@\\-_/]+"
},
"WebserverAccessMode":{
"type":"string",
@@ -951,13 +967,13 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^https://.+$"
+ "pattern":"https://.+"
},
"WeeklyMaintenanceWindowStart":{
"type":"string",
"max":9,
"min":1,
- "pattern":"(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\\d|2[0-3]):(00|30)"
+ "pattern":".*(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\\d|2[0-3]):(00|30).*"
}
}
}
diff --git a/generator/ServiceModels/mwaa/mwaa-2020-07-01.docs.json b/generator/ServiceModels/mwaa/mwaa-2020-07-01.docs.json
index 292fe12dcf06..e3f706bef627 100644
--- a/generator/ServiceModels/mwaa/mwaa-2020-07-01.docs.json
+++ b/generator/ServiceModels/mwaa/mwaa-2020-07-01.docs.json
@@ -38,8 +38,8 @@
"base": null,
"refs": {
"CreateEnvironmentInput$AirflowVersion": "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
",
- "Environment$AirflowVersion": "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
.
",
- "UpdateEnvironmentInput$AirflowVersion": "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
.
"
+ "Environment$AirflowVersion": "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
.
",
+ "UpdateEnvironmentInput$AirflowVersion": "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
.
"
}
},
"CeleryExecutorQueue": {
@@ -128,9 +128,9 @@
"base": null,
"refs": {
"MetricDatum$Value": " Internal only. The value for the metric.
",
- "StatisticSet$Maximum": " Internal only. The maximum value of the sample set.
",
+ "StatisticSet$Sum": " Internal only. The sum of values for the sample set.
",
"StatisticSet$Minimum": " Internal only. The minimum value of the sample set.
",
- "StatisticSet$Sum": " Internal only. The sum of values for the sample set.
"
+ "StatisticSet$Maximum": " Internal only. The maximum value of the sample set.
"
}
},
"EndpointManagement": {
@@ -160,9 +160,9 @@
"EnvironmentClass": {
"base": null,
"refs": {
- "CreateEnvironmentInput$EnvironmentClass": "The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. For more information, see Amazon MWAA environment class.
",
- "Environment$EnvironmentClass": "The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. For more information, see Amazon MWAA environment class.
",
- "UpdateEnvironmentInput$EnvironmentClass": "The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. For more information, see Amazon MWAA environment class.
"
+ "CreateEnvironmentInput$EnvironmentClass": "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.
",
+ "Environment$EnvironmentClass": "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.
",
+ "UpdateEnvironmentInput$EnvironmentClass": "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.
"
}
},
"EnvironmentList": {
@@ -312,6 +312,14 @@
"ModuleLoggingConfigurationInput$LogLevel": "Defines the Apache Airflow log level (e.g. INFO
) to send to CloudWatch Logs.
"
}
},
+ "MaxWebservers": {
+ "base": null,
+ "refs": {
+ "CreateEnvironmentInput$MaxWebservers": " 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
.
",
+ "Environment$MaxWebservers": " 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
.
",
+ "UpdateEnvironmentInput$MaxWebservers": " 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
.
"
+ }
+ },
"MaxWorkers": {
"base": null,
"refs": {
@@ -332,6 +340,14 @@
"MetricData$member": null
}
},
+ "MinWebservers": {
+ "base": null,
+ "refs": {
+ "CreateEnvironmentInput$MinWebservers": " 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
.
",
+ "Environment$MinWebservers": " 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
.
",
+ "UpdateEnvironmentInput$MinWebservers": " 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
.
"
+ }
+ },
"MinWorkers": {
"base": null,
"refs": {
@@ -345,9 +361,9 @@
"refs": {
"LoggingConfiguration$DagProcessingLogs": "The Airflow DAG processing logs published to CloudWatch Logs and the log level.
",
"LoggingConfiguration$SchedulerLogs": "The Airflow scheduler logs published to CloudWatch Logs and the log level.
",
- "LoggingConfiguration$TaskLogs": "The Airflow task logs published to CloudWatch Logs and the log level.
",
"LoggingConfiguration$WebserverLogs": "The Airflow web server logs published to CloudWatch Logs and the log level.
",
- "LoggingConfiguration$WorkerLogs": "The Airflow worker logs published to CloudWatch Logs and the log level.
"
+ "LoggingConfiguration$WorkerLogs": "The Airflow worker logs published to CloudWatch Logs and the log level.
",
+ "LoggingConfiguration$TaskLogs": "The Airflow task logs published to CloudWatch Logs and the log level.
"
}
},
"ModuleLoggingConfigurationInput": {
@@ -355,9 +371,9 @@
"refs": {
"LoggingConfigurationInput$DagProcessingLogs": "Publishes Airflow DAG processing logs to CloudWatch Logs.
",
"LoggingConfigurationInput$SchedulerLogs": "Publishes Airflow scheduler logs to CloudWatch Logs.
",
- "LoggingConfigurationInput$TaskLogs": "Publishes Airflow task logs to CloudWatch Logs.
",
"LoggingConfigurationInput$WebserverLogs": "Publishes Airflow web server logs to CloudWatch Logs.
",
- "LoggingConfigurationInput$WorkerLogs": "Publishes Airflow worker logs to CloudWatch Logs.
"
+ "LoggingConfigurationInput$WorkerLogs": "Publishes Airflow worker logs to CloudWatch Logs.
",
+ "LoggingConfigurationInput$TaskLogs": "Publishes Airflow task logs to CloudWatch Logs.
"
}
},
"NetworkConfiguration": {
@@ -429,7 +445,7 @@
"Schedulers": {
"base": null,
"refs": {
- "CreateEnvironmentInput$Schedulers": "The number of Apache Airflow schedulers to run in your environment. Valid values:
",
+ "CreateEnvironmentInput$Schedulers": "The number of Apache Airflow schedulers to run in your environment. Valid values:
",
"Environment$Schedulers": "The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
",
"UpdateEnvironmentInput$Schedulers": "The number of Apache Airflow schedulers to run in your Amazon MWAA environment.
"
}
@@ -459,8 +475,8 @@
"AccessDeniedException$Message": null,
"Dimension$Name": " Internal only. The name of the dimension.
",
"Dimension$Value": " Internal only. The value of the dimension.
",
- "Environment$StartupScriptS3ObjectVersion": "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.
",
"Environment$StartupScriptS3Path": "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.
",
+ "Environment$StartupScriptS3ObjectVersion": "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.
",
"InternalServerException$message": null,
"MetricDatum$MetricName": " Internal only. The name of the metric.
",
"ResourceNotFoundException$message": null,
@@ -594,8 +610,8 @@
"VpcEndpointServiceName": {
"base": null,
"refs": {
- "Environment$DatabaseVpcEndpointService": "The VPC endpoint for the environment's Amazon RDS database.
",
- "Environment$WebserverVpcEndpointService": "The VPC endpoint for the environment's web server.
"
+ "Environment$WebserverVpcEndpointService": "The VPC endpoint for the environment's web server.
",
+ "Environment$DatabaseVpcEndpointService": "The VPC endpoint for the environment's Amazon RDS database.
"
}
},
"WebserverAccessMode": {
diff --git a/generator/ServiceModels/mwaa/mwaa-2020-07-01.normal.json b/generator/ServiceModels/mwaa/mwaa-2020-07-01.normal.json
index 733ebbf30691..939c10979db5 100644
--- a/generator/ServiceModels/mwaa/mwaa-2020-07-01.normal.json
+++ b/generator/ServiceModels/mwaa/mwaa-2020-07-01.normal.json
@@ -3,8 +3,8 @@
"metadata":{
"apiVersion":"2020-07-01",
"endpointPrefix":"airflow",
- "jsonVersion":"1.1",
"protocol":"rest-json",
+ "protocols":["rest-json"],
"serviceFullName":"AmazonMWAA",
"serviceId":"MWAA",
"signatureVersion":"v4",
@@ -230,31 +230,31 @@
"type":"string",
"max":32,
"min":1,
- "pattern":"^[0-9a-z.]+$"
+ "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+=,.@\\-_/]+$"
+ "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+"
+ "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_]+)?$"
+ "pattern":"[a-z]+([a-z0-9._]*[a-z0-9_]+)?"
},
"ConfigValue":{
"type":"string",
"max":65536,
"min":1,
- "pattern":"^[ -~]+$",
+ "pattern":"[ -~]+",
"sensitive":true
},
"CreateCliTokenRequest":{
@@ -285,94 +285,86 @@
"CreateEnvironmentInput":{
"type":"structure",
"required":[
- "DagS3Path",
- "ExecutionRoleArn",
"Name",
- "NetworkConfiguration",
- "SourceBucketArn"
+ "ExecutionRoleArn",
+ "SourceBucketArn",
+ "DagS3Path",
+ "NetworkConfiguration"
],
"members":{
- "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.
"
- },
- "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
"
- },
- "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.
"
- },
- "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.
"
- },
- "EnvironmentClass":{
- "shape":"EnvironmentClass",
- "documentation":"The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. For more information, see Amazon MWAA environment class.
"
+ "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.
"
},
- "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.
"
- },
- "LoggingConfiguration":{
- "shape":"LoggingConfigurationInput",
- "documentation":"Defines the Apache Airflow logs to send to CloudWatch Logs.
"
- },
- "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
.
"
- },
- "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
.
"
+ "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.
"
},
- "Name":{
- "shape":"EnvironmentName",
- "documentation":"The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.
",
- "location":"uri",
- "locationName":"Name"
+ "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.
"
},
- "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.
"
- },
"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.
"
},
- "RequirementsS3ObjectVersion":{
+ "PluginsS3ObjectVersion":{
"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.
"
+ "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.
"
},
- "Schedulers":{
- "shape":"Schedulers",
- "documentation":"The number of Apache Airflow schedulers to run in your environment. Valid values:
"
+ "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.
"
},
- "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.
"
+ "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.
"
},
- "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.
"
+ "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",
@@ -382,9 +374,25 @@
"shape":"WebserverAccessMode",
"documentation":"Defines the access mode for the Apache Airflow web server. For more information, see Apache Airflow access modes.
"
},
- "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.
"
+ "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.
"
@@ -413,21 +421,21 @@
"CreateWebLoginTokenResponse":{
"type":"structure",
"members":{
- "AirflowIdentity":{
- "shape":"AirflowIdentity",
- "documentation":"The user name of the Apache Airflow identity creating the web login token.
"
- },
- "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
.
"
+ "WebToken":{
+ "shape":"Token",
+ "documentation":"An Airflow web server login token.
"
},
"WebServerHostname":{
"shape":"Hostname",
"documentation":"The Airflow web server hostname for the environment.
"
},
- "WebToken":{
- "shape":"Token",
- "documentation":"An Airflow web server login token.
"
+ "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.
"
}
}
},
@@ -489,113 +497,101 @@
"Environment":{
"type":"structure",
"members":{
- "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.
"
+ "Name":{
+ "shape":"EnvironmentName",
+ "documentation":"The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.
"
},
- "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
.
"
+ "Status":{
+ "shape":"EnvironmentStatus",
+ "documentation":"The status of the Amazon MWAA environment.
Valid values:
-
CREATING
- Indicates the request to create the environment is in progress.
-
CREATING_SNAPSHOT
- Indicates the request to update environment details, or upgrade the environment version, is in progress and Amazon MWAA is creating a storage volume snapshot of the Amazon RDS database cluster associated with the environment. A database snapshot is a backup created at a specific point in time. Amazon MWAA uses snapshots to recover environment metadata if the process to update or upgrade an environment fails.
-
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment could not be created.
-
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
-
PENDING
- Indicates the request was successful, but the process to create the environment is paused until you create the required VPC endpoints in your VPC. After you create the VPC endpoints, the process resumes.
-
UPDATING
- Indicates the request to update the environment is in progress.
-
ROLLING_BACK
- Indicates the request to update environment details, or upgrade the environment version, failed and Amazon MWAA is restoring the environment using the latest storage volume snapshot.
-
DELETING
- Indicates the request to delete the environment is in progress.
-
DELETED
- Indicates the request to delete the environment is complete, and the environment has been deleted.
-
UNAVAILABLE
- Indicates the request failed, but the environment did not return to its previous state and is not stable.
-
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment was restored to its previous state successfully and is ready to use.
-
MAINTENANCE
- Indicates that the environment is undergoing maintenance. Depending on the type of work Amazon MWAA is performing, your environment might become unavailable during this process. After all operations are done, your environment will return to its status prior to mainteneace operations.
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.
"
},
- "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.
"
- },
"CreatedAt":{
"shape":"CreatedAt",
"documentation":"The day and time the environment was created.
"
},
- "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.
"
- },
- "DatabaseVpcEndpointService":{
- "shape":"VpcEndpointServiceName",
- "documentation":"The VPC endpoint for the environment's Amazon RDS database.
"
- },
- "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.
"
- },
- "EnvironmentClass":{
- "shape":"EnvironmentClass",
- "documentation":"The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. For more information, see Amazon MWAA environment class.
"
+ "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.
"
},
- "LastUpdate":{
- "shape":"LastUpdate",
- "documentation":"The status of the last update on the environment.
"
- },
- "LoggingConfiguration":{
- "shape":"LoggingConfiguration",
- "documentation":"The Apache Airflow logs published to CloudWatch Logs.
"
- },
- "MaxWorkers":{
- "shape":"MaxWorkers",
- "documentation":"The maximum number of workers that run in your environment. For example, 20
.
"
- },
- "MinWorkers":{
- "shape":"MinWorkers",
- "documentation":"The minimum number of workers that run in your environment. For example, 2
.
"
- },
- "Name":{
- "shape":"EnvironmentName",
- "documentation":"The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.
"
+ "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
.
"
},
- "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.
"
+ "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.
"
},
- "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.
"
+ "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.
"
},
- "RequirementsS3ObjectVersion":{
+ "PluginsS3ObjectVersion":{
"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.
"
+ "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.
"
},
- "Schedulers":{
- "shape":"Schedulers",
- "documentation":"The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
"
- },
- "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.
"
+ "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.
"
},
- "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.
"
+ "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.
"
},
- "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.
"
+ "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.
"
},
- "Status":{
- "shape":"EnvironmentStatus",
- "documentation":"The status of the Amazon MWAA environment.
Valid values:
-
CREATING
- Indicates the request to create the environment is in progress.
-
CREATING_SNAPSHOT
- Indicates the request to update environment details, or upgrade the environment version, is in progress and Amazon MWAA is creating a storage volume snapshot of the Amazon RDS database cluster associated with the environment. A database snapshot is a backup created at a specific point in time. Amazon MWAA uses snapshots to recover environment metadata if the process to update or upgrade an environment fails.
-
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment could not be created.
-
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
-
PENDING
- Indicates the request was successful, but the process to create the environment is paused until you create the required VPC endpoints in your VPC. After you create the VPC endpoints, the process resumes.
-
UPDATING
- Indicates the request to update the environment is in progress.
-
ROLLING_BACK
- Indicates the request to update environment details, or upgrade the environment version, failed and Amazon MWAA is restoring the environment using the latest storage volume snapshot.
-
DELETING
- Indicates the request to delete the environment is in progress.
-
DELETED
- Indicates the request to delete the environment is complete, and the environment has been deleted.
-
UNAVAILABLE
- Indicates the request failed, but the environment did not return to its previous state and is not stable.
-
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment was restored to its previous state successfully and is ready to use.
-
MAINTENANCE
- Indicates that the environment is undergoing maintenance. Depending on the type of work Amazon MWAA is performing, your environment might become unavailable during this process. After all operations are done, your environment will return to its status prior to mainteneace operations.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see Amazon MWAA troubleshooting.
"
+ "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",
@@ -605,17 +601,37 @@
"shape":"WebserverAccessMode",
"documentation":"The Apache Airflow web server access mode. For more information, see Apache Airflow access modes.
"
},
- "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.
"
+ "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.
"
},
- "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
.
"
+ "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.
"
@@ -624,7 +640,7 @@
"type":"string",
"max":1224,
"min":1,
- "pattern":"^arn:aws(-[a-z]+)?:airflow:[a-z0-9\\-]+:\\d{12}:environment/\\w+"
+ "pattern":"arn:aws(-[a-z]+)?:airflow:[a-z0-9\\-]+:\\d{12}:environment/\\w+.*"
},
"EnvironmentClass":{
"type":"string",
@@ -639,7 +655,7 @@
"type":"string",
"max":80,
"min":1,
- "pattern":"^[a-zA-Z][0-9a-zA-Z-_]*$"
+ "pattern":"[a-zA-Z][0-9a-zA-Z-_]*"
},
"EnvironmentStatus":{
"type":"string",
@@ -663,7 +679,7 @@
"type":"string",
"max":1024,
"min":1,
- "pattern":"^.+$"
+ "pattern":".+"
},
"GetEnvironmentInput":{
"type":"structure",
@@ -690,14 +706,14 @@
"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])$"
+ "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+=,.@\\-_/]+$"
+ "pattern":"arn:aws(-[a-z]+)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
},
"Integer":{
"type":"integer",
@@ -717,11 +733,15 @@
"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/.+)$"
+ "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.
"
@@ -733,10 +753,6 @@
"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.
"
- },
- "Status":{
- "shape":"UpdateStatus",
- "documentation":"The status of the last update on the environment.
"
}
},
"documentation":"Describes the status of the last update on the environment, and any errors that were encountered.
"
@@ -744,17 +760,17 @@
"ListEnvironmentsInput":{
"type":"structure",
"members":{
- "MaxResults":{
- "shape":"ListEnvironmentsInputMaxResultsInteger",
- "documentation":"The maximum number of results to retrieve per page. For example, 5
environments per page.
",
- "location":"querystring",
- "locationName":"MaxResults"
- },
"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"
}
}
},
@@ -810,10 +826,6 @@
"shape":"ModuleLoggingConfiguration",
"documentation":"The Airflow scheduler 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.
"
- },
"WebserverLogs":{
"shape":"ModuleLoggingConfiguration",
"documentation":"The Airflow web server logs published to CloudWatch Logs and the log level.
"
@@ -821,6 +833,10 @@
"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.
"
@@ -836,10 +852,6 @@
"shape":"ModuleLoggingConfigurationInput",
"documentation":"Publishes Airflow scheduler logs to CloudWatch Logs.
"
},
- "TaskLogs":{
- "shape":"ModuleLoggingConfigurationInput",
- "documentation":"Publishes Airflow task logs to CloudWatch Logs.
"
- },
"WebserverLogs":{
"shape":"ModuleLoggingConfigurationInput",
"documentation":"Publishes Airflow web server logs to CloudWatch Logs.
"
@@ -847,6 +859,10 @@
"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.
"
@@ -865,6 +881,11 @@
"DEBUG"
]
},
+ "MaxWebservers":{
+ "type":"integer",
+ "box":true,
+ "min":2
+ },
"MaxWorkers":{
"type":"integer",
"box":true,
@@ -883,35 +904,40 @@
"Timestamp"
],
"members":{
- "Dimensions":{
- "shape":"Dimensions",
- "documentation":" Internal only. The dimensions associated with the metric.
"
- },
"MetricName":{
"shape":"String",
"documentation":" Internal only. The name of the metric.
"
},
- "StatisticValues":{
- "shape":"StatisticSet",
- "documentation":" Internal only. The statistical values for the metric.
"
- },
"Timestamp":{
"shape":"Timestamp",
"documentation":" Internal only. The time the metric data was received.
"
},
- "Unit":{
- "shape":"Unit",
- "documentation":" Internal only. The unit used to store the metric.
"
+ "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,
@@ -920,10 +946,6 @@
"ModuleLoggingConfiguration":{
"type":"structure",
"members":{
- "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:*
.
"
- },
"Enabled":{
"shape":"LoggingEnabled",
"documentation":"Indicates whether the Apache Airflow log type (e.g. DagProcessingLogs
) is enabled.
"
@@ -931,6 +953,10 @@
"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
).
"
@@ -956,13 +982,13 @@
"NetworkConfiguration":{
"type":"structure",
"members":{
- "SecurityGroupIds":{
- "shape":"SecurityGroupList",
- "documentation":"A list of security group IDs. For more information, see Security in your VPC on Amazon MWAA.
"
- },
"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.
"
@@ -1022,7 +1048,7 @@
"type":"string",
"max":1224,
"min":1,
- "pattern":"^arn:aws(-[a-z]+)?:s3:::[a-z0-9.\\-]+$"
+ "pattern":"arn:aws(-[a-z]+)?:s3:::[a-z0-9.\\-]+"
},
"S3ObjectVersion":{
"type":"string",
@@ -1038,7 +1064,7 @@
"type":"string",
"max":1024,
"min":1,
- "pattern":"^sg-[a-zA-Z0-9\\-._]+$"
+ "pattern":"sg-[a-zA-Z0-9\\-._]+"
},
"SecurityGroupList":{
"type":"list",
@@ -1049,14 +1075,6 @@
"StatisticSet":{
"type":"structure",
"members":{
- "Maximum":{
- "shape":"Double",
- "documentation":" Internal only. The maximum value of the sample set.
"
- },
- "Minimum":{
- "shape":"Double",
- "documentation":" Internal only. The minimum value of the sample set.
"
- },
"SampleCount":{
"shape":"Integer",
"documentation":" Internal only. The number of samples used for the statistic set.
"
@@ -1064,6 +1082,14 @@
"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.
",
@@ -1075,7 +1101,7 @@
"type":"string",
"max":1024,
"min":1,
- "pattern":"^subnet-[a-zA-Z0-9\\-._]+$"
+ "pattern":"subnet-[a-zA-Z0-9\\-._]+"
},
"SubnetList":{
"type":"list",
@@ -1087,7 +1113,7 @@
"type":"string",
"max":128,
"min":1,
- "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
+ "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
},
"TagKeyList":{
"type":"list",
@@ -1130,7 +1156,7 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
+ "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
},
"Timestamp":{"type":"timestamp"},
"Token":{
@@ -1200,87 +1226,95 @@
"type":"structure",
"required":["Name"],
"members":{
- "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.
"
- },
- "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
.
"
- },
- "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.
"
- },
- "EnvironmentClass":{
- "shape":"EnvironmentClass",
- "documentation":"The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. For more information, see Amazon MWAA environment class.
"
+ "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.
"
},
- "LoggingConfiguration":{
- "shape":"LoggingConfigurationInput",
- "documentation":"The Apache Airflow log types to send to CloudWatch Logs.
"
- },
- "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
.
"
+ "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
.
"
},
- "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
.
"
+ "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.
"
},
- "Name":{
- "shape":"EnvironmentName",
- "documentation":"The name of your Amazon MWAA environment. For example, MyMWAAEnvironment
.
",
- "location":"uri",
- "locationName":"Name"
+ "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":"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.
"
+ "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.
"
},
- "PluginsS3Path":{
+ "RequirementsS3Path":{
"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.
"
+ "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.
"
},
- "RequirementsS3Path":{
+ "StartupScriptS3Path":{
"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.
"
- },
- "Schedulers":{
- "shape":"Schedulers",
- "documentation":"The number of Apache Airflow schedulers to run in your Amazon MWAA environment.
"
- },
- "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.
"
+ "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.
"
},
- "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.
"
+ "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.
"
},
- "WebserverAccessMode":{
- "shape":"WebserverAccessMode",
- "documentation":"The Apache Airflow Web server access mode. For more information, see Apache Airflow access modes.
"
+ "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
.
"
}
}
},
@@ -1322,7 +1356,7 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^.+$"
+ "pattern":".+"
},
"UpdateStatus":{
"type":"string",
@@ -1348,7 +1382,7 @@
"type":"string",
"max":1224,
"min":1,
- "pattern":"^([a-z.-]+)?com\\.amazonaws\\.vpce\\.[a-z0-9\\-]+\\.[a-zA-Z_0-9+=,.@\\-_/]+$"
+ "pattern":"([a-z.-]+)?com\\.amazonaws\\.vpce\\.[a-z0-9\\-]+\\.[a-zA-Z_0-9+=,.@\\-_/]+"
},
"WebserverAccessMode":{
"type":"string",
@@ -1361,13 +1395,13 @@
"type":"string",
"max":256,
"min":1,
- "pattern":"^https://.+$"
+ "pattern":"https://.+"
},
"WeeklyMaintenanceWindowStart":{
"type":"string",
"max":9,
"min":1,
- "pattern":"(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\\d|2[0-3]):(00|30)"
+ "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.
"
diff --git a/sdk/code-analysis/ServiceAnalysis/MWAA/Generated/PropertyValueRules.xml b/sdk/code-analysis/ServiceAnalysis/MWAA/Generated/PropertyValueRules.xml
index 0aa5c69f8f19..6b219ff0f244 100644
--- a/sdk/code-analysis/ServiceAnalysis/MWAA/Generated/PropertyValueRules.xml
+++ b/sdk/code-analysis/ServiceAnalysis/MWAA/Generated/PropertyValueRules.xml
@@ -4,19 +4,19 @@
Amazon.MWAA.Model.CreateCliTokenRequest.Name
1
80
- ^[a-zA-Z][0-9a-zA-Z-_]*$
+ [a-zA-Z][0-9a-zA-Z-_]*
Amazon.MWAA.Model.CreateCliTokenResponse.WebServerHostname
1
255
- ^(([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])$
+ (([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])
Amazon.MWAA.Model.CreateEnvironmentRequest.AirflowVersion
1
32
- ^[0-9a-z.]+$
+ [0-9a-z.]+
Amazon.MWAA.Model.CreateEnvironmentRequest.DagS3Path
@@ -33,18 +33,26 @@
Amazon.MWAA.Model.CreateEnvironmentRequest.ExecutionRoleArn
1
1224
- ^arn:aws(-[a-z]+)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
+ arn:aws(-[a-z]+)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
Amazon.MWAA.Model.CreateEnvironmentRequest.KmsKey
1
1224
- ^(((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/.+)$
+ (((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/.+)
+
+
+ Amazon.MWAA.Model.CreateEnvironmentRequest.MaxWebservers
+ 2
Amazon.MWAA.Model.CreateEnvironmentRequest.MaxWorkers
1
+
+ Amazon.MWAA.Model.CreateEnvironmentRequest.MinWebservers
+ 2
+
Amazon.MWAA.Model.CreateEnvironmentRequest.MinWorkers
1
@@ -53,7 +61,7 @@
Amazon.MWAA.Model.CreateEnvironmentRequest.Name
1
80
- ^[a-zA-Z][0-9a-zA-Z-_]*$
+ [a-zA-Z][0-9a-zA-Z-_]*
Amazon.MWAA.Model.CreateEnvironmentRequest.PluginsS3ObjectVersion
@@ -85,7 +93,7 @@
Amazon.MWAA.Model.CreateEnvironmentRequest.SourceBucketArn
1
1224
- ^arn:aws(-[a-z]+)?:s3:::[a-z0-9.\-]+$
+ arn:aws(-[a-z]+)?:s3:::[a-z0-9.\-]+
Amazon.MWAA.Model.CreateEnvironmentRequest.StartupScriptS3ObjectVersion
@@ -102,19 +110,19 @@
Amazon.MWAA.Model.CreateEnvironmentRequest.WeeklyMaintenanceWindowStart
1
9
- (MON|TUE|WED|THU|FRI|SAT|SUN):([01]\d|2[0-3]):(00|30)
+ .*(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\d|2[0-3]):(00|30).*
Amazon.MWAA.Model.CreateEnvironmentResponse.Arn
1
1224
- ^arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+
+ arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+.*
Amazon.MWAA.Model.CreateWebLoginTokenRequest.Name
1
80
- ^[a-zA-Z][0-9a-zA-Z-_]*$
+ [a-zA-Z][0-9a-zA-Z-_]*
Amazon.MWAA.Model.CreateWebLoginTokenResponse.AirflowIdentity
@@ -125,19 +133,19 @@
Amazon.MWAA.Model.CreateWebLoginTokenResponse.WebServerHostname
1
255
- ^(([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])$
+ (([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])
Amazon.MWAA.Model.DeleteEnvironmentRequest.Name
1
80
- ^[a-zA-Z][0-9a-zA-Z-_]*$
+ [a-zA-Z][0-9a-zA-Z-_]*
Amazon.MWAA.Model.GetEnvironmentRequest.Name
1
80
- ^[a-zA-Z][0-9a-zA-Z-_]*$
+ [a-zA-Z][0-9a-zA-Z-_]*
Amazon.MWAA.Model.ListEnvironmentsRequest.MaxResults
@@ -158,31 +166,31 @@
Amazon.MWAA.Model.ListTagsForResourceRequest.ResourceArn
1
1224
- ^arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+
+ arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+.*
Amazon.MWAA.Model.PublishMetricsRequest.EnvironmentName
1
80
- ^[a-zA-Z][0-9a-zA-Z-_]*$
+ [a-zA-Z][0-9a-zA-Z-_]*
Amazon.MWAA.Model.TagResourceRequest.ResourceArn
1
1224
- ^arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+
+ arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+.*
Amazon.MWAA.Model.UntagResourceRequest.ResourceArn
1
1224
- ^arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+
+ arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+.*
Amazon.MWAA.Model.UpdateEnvironmentRequest.AirflowVersion
1
32
- ^[0-9a-z.]+$
+ [0-9a-z.]+
Amazon.MWAA.Model.UpdateEnvironmentRequest.DagS3Path
@@ -199,12 +207,20 @@
Amazon.MWAA.Model.UpdateEnvironmentRequest.ExecutionRoleArn
1
1224
- ^arn:aws(-[a-z]+)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
+ arn:aws(-[a-z]+)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
+
+
+ Amazon.MWAA.Model.UpdateEnvironmentRequest.MaxWebservers
+ 2
Amazon.MWAA.Model.UpdateEnvironmentRequest.MaxWorkers
1
+
+ Amazon.MWAA.Model.UpdateEnvironmentRequest.MinWebservers
+ 2
+
Amazon.MWAA.Model.UpdateEnvironmentRequest.MinWorkers
1
@@ -213,7 +229,7 @@
Amazon.MWAA.Model.UpdateEnvironmentRequest.Name
1
80
- ^[a-zA-Z][0-9a-zA-Z-_]*$
+ [a-zA-Z][0-9a-zA-Z-_]*
Amazon.MWAA.Model.UpdateEnvironmentRequest.PluginsS3ObjectVersion
@@ -245,7 +261,7 @@
Amazon.MWAA.Model.UpdateEnvironmentRequest.SourceBucketArn
1
1224
- ^arn:aws(-[a-z]+)?:s3:::[a-z0-9.\-]+$
+ arn:aws(-[a-z]+)?:s3:::[a-z0-9.\-]+
Amazon.MWAA.Model.UpdateEnvironmentRequest.StartupScriptS3ObjectVersion
@@ -262,31 +278,31 @@
Amazon.MWAA.Model.UpdateEnvironmentRequest.WeeklyMaintenanceWindowStart
1
9
- (MON|TUE|WED|THU|FRI|SAT|SUN):([01]\d|2[0-3]):(00|30)
+ .*(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\d|2[0-3]):(00|30).*
Amazon.MWAA.Model.UpdateEnvironmentResponse.Arn
1
1224
- ^arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+
+ arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+.*
Amazon.MWAA.Model.Environment.AirflowVersion
1
32
- ^[0-9a-z.]+$
+ [0-9a-z.]+
Amazon.MWAA.Model.Environment.Arn
1
1224
- ^arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+
+ arn:aws(-[a-z]+)?:airflow:[a-z0-9\-]+:\d{12}:environment/\w+.*
Amazon.MWAA.Model.Environment.CeleryExecutorQueue
1
1224
- ^arn:aws(-[a-z]+)?:sqs:[a-z0-9\-]+:\d{12}:[a-zA-Z_0-9+=,.@\-_/]+$
+ arn:aws(-[a-z]+)?:sqs:[a-z0-9\-]+:\d{12}:[a-zA-Z_0-9+=,.@\-_/]+
Amazon.MWAA.Model.Environment.DagS3Path
@@ -298,7 +314,7 @@
Amazon.MWAA.Model.Environment.DatabaseVpcEndpointService
1
1224
- ^([a-z.-]+)?com\.amazonaws\.vpce\.[a-z0-9\-]+\.[a-zA-Z_0-9+=,.@\-_/]+$
+ ([a-z.-]+)?com\.amazonaws\.vpce\.[a-z0-9\-]+\.[a-zA-Z_0-9+=,.@\-_/]+
Amazon.MWAA.Model.Environment.EnvironmentClass
@@ -309,18 +325,26 @@
Amazon.MWAA.Model.Environment.ExecutionRoleArn
1
1224
- ^arn:aws(-[a-z]+)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
+ arn:aws(-[a-z]+)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
Amazon.MWAA.Model.Environment.KmsKey
1
1224
- ^(((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/.+)$
+ (((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/.+)
+
+
+ Amazon.MWAA.Model.Environment.MaxWebservers
+ 2
Amazon.MWAA.Model.Environment.MaxWorkers
1
+
+ Amazon.MWAA.Model.Environment.MinWebservers
+ 2
+
Amazon.MWAA.Model.Environment.MinWorkers
1
@@ -329,7 +353,7 @@
Amazon.MWAA.Model.Environment.Name
1
80
- ^[a-zA-Z][0-9a-zA-Z-_]*$
+ [a-zA-Z][0-9a-zA-Z-_]*
Amazon.MWAA.Model.Environment.PluginsS3ObjectVersion
@@ -361,48 +385,48 @@
Amazon.MWAA.Model.Environment.ServiceRoleArn
1
1224
- ^arn:aws(-[a-z]+)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
+ arn:aws(-[a-z]+)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
Amazon.MWAA.Model.Environment.SourceBucketArn
1
1224
- ^arn:aws(-[a-z]+)?:s3:::[a-z0-9.\-]+$
+ arn:aws(-[a-z]+)?:s3:::[a-z0-9.\-]+
Amazon.MWAA.Model.Environment.WebserverUrl
1
256
- ^https://.+$
+ https://.+
Amazon.MWAA.Model.Environment.WebserverVpcEndpointService
1
1224
- ^([a-z.-]+)?com\.amazonaws\.vpce\.[a-z0-9\-]+\.[a-zA-Z_0-9+=,.@\-_/]+$
+ ([a-z.-]+)?com\.amazonaws\.vpce\.[a-z0-9\-]+\.[a-zA-Z_0-9+=,.@\-_/]+
Amazon.MWAA.Model.Environment.WeeklyMaintenanceWindowStart
1
9
- (MON|TUE|WED|THU|FRI|SAT|SUN):([01]\d|2[0-3]):(00|30)
+ .*(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\d|2[0-3]):(00|30).*
Amazon.MWAA.Model.LastUpdate.Source
1
256
- ^.+$
+ .+
Amazon.MWAA.Model.ModuleLoggingConfiguration.CloudWatchLogGroupArn
1
1224
- ^arn:aws(-[a-z]+)?:logs:[a-z0-9\-]+:\d{12}:log-group:\w+
+ arn:aws(-[a-z]+)?:logs:[a-z0-9\-]+:\d{12}:log-group:\w+.*
Amazon.MWAA.Model.UpdateError.ErrorMessage
1
1024
- ^.+$
+ .+
\ No newline at end of file
diff --git a/sdk/src/Services/MWAA/Generated/Model/CreateEnvironmentRequest.cs b/sdk/src/Services/MWAA/Generated/Model/CreateEnvironmentRequest.cs
index 652a679e2bc4..c3cf15b09d39 100644
--- a/sdk/src/Services/MWAA/Generated/Model/CreateEnvironmentRequest.cs
+++ b/sdk/src/Services/MWAA/Generated/Model/CreateEnvironmentRequest.cs
@@ -43,7 +43,9 @@ public partial class CreateEnvironmentRequest : AmazonMWAARequest
private string _executionRoleArn;
private string _kmsKey;
private LoggingConfigurationInput _loggingConfiguration;
+ private int? _maxWebservers;
private int? _maxWorkers;
+ private int? _minWebservers;
private int? _minWorkers;
private string _name;
private NetworkConfiguration _networkConfiguration;
@@ -156,8 +158,8 @@ internal bool IsSetEndpointManagement()
///
/// Gets and sets the property EnvironmentClass.
///
- /// The environment class type. Valid values: mw1.small, mw1.medium, mw1.large.
- /// For more information, see Amazon
+ /// 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.
///
///
@@ -238,6 +240,36 @@ internal bool IsSetLoggingConfiguration()
return this._loggingConfiguration != null;
}
+ ///
+ /// Gets and sets the property MaxWebservers.
+ ///
+ /// 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.
+ ///
+ ///
+ [AWSProperty(Min=2)]
+ public int MaxWebservers
+ {
+ get { return this._maxWebservers.GetValueOrDefault(); }
+ set { this._maxWebservers = value; }
+ }
+
+ // Check to see if MaxWebservers property is set
+ internal bool IsSetMaxWebservers()
+ {
+ return this._maxWebservers.HasValue;
+ }
+
///
/// Gets and sets the property MaxWorkers.
///
@@ -261,6 +293,34 @@ internal bool IsSetMaxWorkers()
return this._maxWorkers.HasValue;
}
+ ///
+ /// Gets and sets the property MinWebservers.
+ ///
+ /// 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.
+ ///
+ ///
+ [AWSProperty(Min=2)]
+ public int MinWebservers
+ {
+ get { return this._minWebservers.GetValueOrDefault(); }
+ set { this._minWebservers = value; }
+ }
+
+ // Check to see if MinWebservers property is set
+ internal bool IsSetMinWebservers()
+ {
+ return this._minWebservers.HasValue;
+ }
+
///
/// Gets and sets the property MinWorkers.
///
@@ -418,11 +478,11 @@ internal bool IsSetRequirementsS3Path()
///
/// -
///
- /// v2 - Accepts between 2 to 5. Defaults to 2.
+ /// v2 - Accepts between 2 to 5. Defaults to 2.
///
///
-
///
- /// v1 - Accepts 1.
+ /// v1 - Accepts 1.
///
///
///
diff --git a/sdk/src/Services/MWAA/Generated/Model/Environment.cs b/sdk/src/Services/MWAA/Generated/Model/Environment.cs
index 644b42cfae8f..14291a8816e5 100644
--- a/sdk/src/Services/MWAA/Generated/Model/Environment.cs
+++ b/sdk/src/Services/MWAA/Generated/Model/Environment.cs
@@ -47,7 +47,9 @@ public partial class Environment
private string _kmsKey;
private LastUpdate _lastUpdate;
private LoggingConfiguration _loggingConfiguration;
+ private int? _maxWebservers;
private int? _maxWorkers;
+ private int? _minWebservers;
private int? _minWorkers;
private string _name;
private NetworkConfiguration _networkConfiguration;
@@ -96,7 +98,7 @@ internal bool IsSetAirflowConfigurationOptions()
///
///
/// Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1,
- /// 2.6.3, 2.7.2.
+ /// 2.6.3, 2.7.2, 2.8.1.
///
///
[AWSProperty(Min=1, Max=32)]
@@ -235,8 +237,8 @@ internal bool IsSetEndpointManagement()
///
/// Gets and sets the property EnvironmentClass.
///
- /// The environment class type. Valid values: mw1.small, mw1.medium, mw1.large.
- /// For more information, see Amazon
+ /// 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.
///
///
@@ -330,6 +332,36 @@ internal bool IsSetLoggingConfiguration()
return this._loggingConfiguration != null;
}
+ ///
+ /// Gets and sets the property MaxWebservers.
+ ///
+ /// 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.
+ ///
+ ///
+ [AWSProperty(Min=2)]
+ public int MaxWebservers
+ {
+ get { return this._maxWebservers.GetValueOrDefault(); }
+ set { this._maxWebservers = value; }
+ }
+
+ // Check to see if MaxWebservers property is set
+ internal bool IsSetMaxWebservers()
+ {
+ return this._maxWebservers.HasValue;
+ }
+
///
/// Gets and sets the property MaxWorkers.
///
@@ -349,6 +381,34 @@ internal bool IsSetMaxWorkers()
return this._maxWorkers.HasValue;
}
+ ///
+ /// Gets and sets the property MinWebservers.
+ ///
+ /// 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.
+ ///
+ ///
+ [AWSProperty(Min=2)]
+ public int MinWebservers
+ {
+ get { return this._minWebservers.GetValueOrDefault(); }
+ set { this._minWebservers = value; }
+ }
+
+ // Check to see if MinWebservers property is set
+ internal bool IsSetMinWebservers()
+ {
+ return this._minWebservers.HasValue;
+ }
+
///
/// Gets and sets the property MinWorkers.
///
diff --git a/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/CreateEnvironmentRequestMarshaller.cs b/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/CreateEnvironmentRequestMarshaller.cs
index 2e21001974d2..566f31701259 100644
--- a/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/CreateEnvironmentRequestMarshaller.cs
+++ b/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/CreateEnvironmentRequestMarshaller.cs
@@ -131,12 +131,24 @@ public IRequest Marshall(CreateEnvironmentRequest publicRequest)
context.Writer.WriteObjectEnd();
}
+ if(publicRequest.IsSetMaxWebservers())
+ {
+ context.Writer.WritePropertyName("MaxWebservers");
+ context.Writer.Write(publicRequest.MaxWebservers);
+ }
+
if(publicRequest.IsSetMaxWorkers())
{
context.Writer.WritePropertyName("MaxWorkers");
context.Writer.Write(publicRequest.MaxWorkers);
}
+ if(publicRequest.IsSetMinWebservers())
+ {
+ context.Writer.WritePropertyName("MinWebservers");
+ context.Writer.Write(publicRequest.MinWebservers);
+ }
+
if(publicRequest.IsSetMinWorkers())
{
context.Writer.WritePropertyName("MinWorkers");
diff --git a/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/EnvironmentUnmarshaller.cs b/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/EnvironmentUnmarshaller.cs
index 4e2140c05a94..b4cc42fc4837 100644
--- a/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/EnvironmentUnmarshaller.cs
+++ b/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/EnvironmentUnmarshaller.cs
@@ -142,12 +142,24 @@ public Environment Unmarshall(JsonUnmarshallerContext context)
unmarshalledObject.LoggingConfiguration = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("MaxWebservers", targetDepth))
+ {
+ var unmarshaller = IntUnmarshaller.Instance;
+ unmarshalledObject.MaxWebservers = unmarshaller.Unmarshall(context);
+ continue;
+ }
if (context.TestExpression("MaxWorkers", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
unmarshalledObject.MaxWorkers = unmarshaller.Unmarshall(context);
continue;
}
+ if (context.TestExpression("MinWebservers", targetDepth))
+ {
+ var unmarshaller = IntUnmarshaller.Instance;
+ unmarshalledObject.MinWebservers = unmarshaller.Unmarshall(context);
+ continue;
+ }
if (context.TestExpression("MinWorkers", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
diff --git a/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/UpdateEnvironmentRequestMarshaller.cs b/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/UpdateEnvironmentRequestMarshaller.cs
index 69fe2f3d735a..89345eb7217f 100644
--- a/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/UpdateEnvironmentRequestMarshaller.cs
+++ b/sdk/src/Services/MWAA/Generated/Model/Internal/MarshallTransformations/UpdateEnvironmentRequestMarshaller.cs
@@ -119,12 +119,24 @@ public IRequest Marshall(UpdateEnvironmentRequest publicRequest)
context.Writer.WriteObjectEnd();
}
+ if(publicRequest.IsSetMaxWebservers())
+ {
+ context.Writer.WritePropertyName("MaxWebservers");
+ context.Writer.Write(publicRequest.MaxWebservers);
+ }
+
if(publicRequest.IsSetMaxWorkers())
{
context.Writer.WritePropertyName("MaxWorkers");
context.Writer.Write(publicRequest.MaxWorkers);
}
+ if(publicRequest.IsSetMinWebservers())
+ {
+ context.Writer.WritePropertyName("MinWebservers");
+ context.Writer.Write(publicRequest.MinWebservers);
+ }
+
if(publicRequest.IsSetMinWorkers())
{
context.Writer.WritePropertyName("MinWorkers");
diff --git a/sdk/src/Services/MWAA/Generated/Model/UpdateEnvironmentRequest.cs b/sdk/src/Services/MWAA/Generated/Model/UpdateEnvironmentRequest.cs
index 38fef7ff753d..1f4a02d193e3 100644
--- a/sdk/src/Services/MWAA/Generated/Model/UpdateEnvironmentRequest.cs
+++ b/sdk/src/Services/MWAA/Generated/Model/UpdateEnvironmentRequest.cs
@@ -41,7 +41,9 @@ public partial class UpdateEnvironmentRequest : AmazonMWAARequest
private string _environmentClass;
private string _executionRoleArn;
private LoggingConfigurationInput _loggingConfiguration;
+ private int? _maxWebservers;
private int? _maxWorkers;
+ private int? _minWebservers;
private int? _minWorkers;
private string _name;
private UpdateNetworkConfigurationInput _networkConfiguration;
@@ -93,7 +95,7 @@ internal bool IsSetAirflowConfigurationOptions()
///
///
/// Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1,
- /// 2.6.3, 2.7.2.
+ /// 2.6.3, 2.7.2, 2.8.1.
///
///
[AWSProperty(Min=1, Max=32)]
@@ -133,8 +135,8 @@ internal bool IsSetDagS3Path()
///
/// Gets and sets the property EnvironmentClass.
///
- /// The environment class type. Valid values: mw1.small, mw1.medium, mw1.large.
- /// For more information, see Amazon
+ /// 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.
///
///
@@ -191,6 +193,36 @@ internal bool IsSetLoggingConfiguration()
return this._loggingConfiguration != null;
}
+ ///
+ /// Gets and sets the property MaxWebservers.
+ ///
+ /// 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.
+ ///
+ ///
+ [AWSProperty(Min=2)]
+ public int MaxWebservers
+ {
+ get { return this._maxWebservers.GetValueOrDefault(); }
+ set { this._maxWebservers = value; }
+ }
+
+ // Check to see if MaxWebservers property is set
+ internal bool IsSetMaxWebservers()
+ {
+ return this._maxWebservers.HasValue;
+ }
+
///
/// Gets and sets the property MaxWorkers.
///
@@ -214,6 +246,34 @@ internal bool IsSetMaxWorkers()
return this._maxWorkers.HasValue;
}
+ ///
+ /// Gets and sets the property MinWebservers.
+ ///
+ /// 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.
+ ///
+ ///
+ [AWSProperty(Min=2)]
+ public int MinWebservers
+ {
+ get { return this._minWebservers.GetValueOrDefault(); }
+ set { this._minWebservers = value; }
+ }
+
+ // Check to see if MinWebservers property is set
+ internal bool IsSetMinWebservers()
+ {
+ return this._minWebservers.HasValue;
+ }
+
///
/// Gets and sets the property MinWorkers.
///