1{
2    "smithy": "1.0",
3    "shapes": {
4        "com.amazonaws.mwaa#AccessDeniedException": {
5            "type": "structure",
6            "members": {
7                "Message": {
8                    "target": "smithy.api#String"
9                }
10            },
11            "traits": {
12                "smithy.api#documentation": "<p>Access to the Airflow Web UI or CLI has been Denied. Please follow the MWAA user guide to setup permissions to access the Web UI and CLI functionality.</p>",
13                "smithy.api#error": "client",
14                "smithy.api#httpError": 403
15            }
16        },
17        "com.amazonaws.mwaa#AirflowConfigurationOptions": {
18            "type": "map",
19            "key": {
20                "target": "com.amazonaws.mwaa#ConfigKey"
21            },
22            "value": {
23                "target": "com.amazonaws.mwaa#ConfigValue"
24            }
25        },
26        "com.amazonaws.mwaa#AirflowVersion": {
27            "type": "string",
28            "traits": {
29                "smithy.api#length": {
30                    "min": 1,
31                    "max": 32
32                },
33                "smithy.api#pattern": "^[0-9a-z.]+$"
34            }
35        },
36        "com.amazonaws.mwaa#AmazonMWAA": {
37            "type": "service",
38            "version": "2020-07-01",
39            "operations": [
40                {
41                    "target": "com.amazonaws.mwaa#CreateCliToken"
42                },
43                {
44                    "target": "com.amazonaws.mwaa#CreateEnvironment"
45                },
46                {
47                    "target": "com.amazonaws.mwaa#CreateWebLoginToken"
48                },
49                {
50                    "target": "com.amazonaws.mwaa#DeleteEnvironment"
51                },
52                {
53                    "target": "com.amazonaws.mwaa#GetEnvironment"
54                },
55                {
56                    "target": "com.amazonaws.mwaa#ListEnvironments"
57                },
58                {
59                    "target": "com.amazonaws.mwaa#ListTagsForResource"
60                },
61                {
62                    "target": "com.amazonaws.mwaa#PublishMetrics"
63                },
64                {
65                    "target": "com.amazonaws.mwaa#TagResource"
66                },
67                {
68                    "target": "com.amazonaws.mwaa#UntagResource"
69                },
70                {
71                    "target": "com.amazonaws.mwaa#UpdateEnvironment"
72                }
73            ],
74            "traits": {
75                "aws.api#service": {
76                    "sdkId": "MWAA",
77                    "arnNamespace": "airflow",
78                    "cloudFormationName": "AmazonMWAA",
79                    "cloudTrailEventSource": "airflow.amazonaws.com",
80                    "endpointPrefix": "airflow"
81                },
82                "aws.auth#sigv4": {
83                    "name": "airflow"
84                },
85                "aws.protocols#restJson1": {},
86                "smithy.api#documentation": "<fullname>Amazon Managed Workflows for Apache Airflow</fullname>\n        <p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html\">What Is Amazon MWAA?</a>.</p>",
87                "smithy.api#title": "AmazonMWAA"
88            }
89        },
90        "com.amazonaws.mwaa#CloudWatchLogGroupArn": {
91            "type": "string",
92            "traits": {
93                "smithy.api#length": {
94                    "min": 1,
95                    "max": 1224
96                },
97                "smithy.api#pattern": "^arn:aws(-[a-z]+)?:logs:[a-z0-9\\-]+:\\d{12}:log-group:\\w+"
98            }
99        },
100        "com.amazonaws.mwaa#ConfigKey": {
101            "type": "string",
102            "traits": {
103                "smithy.api#length": {
104                    "min": 1,
105                    "max": 64
106                },
107                "smithy.api#pattern": "^[a-z]+([a-z._]*[a-z]+)?$"
108            }
109        },
110        "com.amazonaws.mwaa#ConfigValue": {
111            "type": "string",
112            "traits": {
113                "smithy.api#length": {
114                    "min": 1,
115                    "max": 256
116                },
117                "smithy.api#pattern": ".*"
118            }
119        },
120        "com.amazonaws.mwaa#CreateCliToken": {
121            "type": "operation",
122            "input": {
123                "target": "com.amazonaws.mwaa#CreateCliTokenRequest"
124            },
125            "output": {
126                "target": "com.amazonaws.mwaa#CreateCliTokenResponse"
127            },
128            "errors": [
129                {
130                    "target": "com.amazonaws.mwaa#ResourceNotFoundException"
131                }
132            ],
133            "traits": {
134                "smithy.api#documentation": "<p>Create a CLI token to use Airflow CLI.</p>",
135                "smithy.api#endpoint": {
136                    "hostPrefix": "env."
137                },
138                "smithy.api#http": {
139                    "method": "POST",
140                    "uri": "/clitoken/{Name}",
141                    "code": 200
142                }
143            }
144        },
145        "com.amazonaws.mwaa#CreateCliTokenRequest": {
146            "type": "structure",
147            "members": {
148                "Name": {
149                    "target": "com.amazonaws.mwaa#EnvironmentName",
150                    "traits": {
151                        "smithy.api#documentation": "<p>Create a CLI token request for a MWAA environment.</p>",
152                        "smithy.api#httpLabel": {},
153                        "smithy.api#required": {}
154                    }
155                }
156            }
157        },
158        "com.amazonaws.mwaa#CreateCliTokenResponse": {
159            "type": "structure",
160            "members": {
161                "CliToken": {
162                    "target": "com.amazonaws.mwaa#Token",
163                    "traits": {
164                        "smithy.api#documentation": "<p>Create an Airflow CLI login token response for the provided JWT token.</p>",
165                        "smithy.api#sensitive": {}
166                    }
167                },
168                "WebServerHostname": {
169                    "target": "com.amazonaws.mwaa#Hostname",
170                    "traits": {
171                        "smithy.api#documentation": "<p>Create an Airflow CLI login token response for the provided webserver hostname.</p>"
172                    }
173                }
174            }
175        },
176        "com.amazonaws.mwaa#CreateEnvironment": {
177            "type": "operation",
178            "input": {
179                "target": "com.amazonaws.mwaa#CreateEnvironmentInput"
180            },
181            "output": {
182                "target": "com.amazonaws.mwaa#CreateEnvironmentOutput"
183            },
184            "errors": [
185                {
186                    "target": "com.amazonaws.mwaa#InternalServerException"
187                },
188                {
189                    "target": "com.amazonaws.mwaa#ValidationException"
190                }
191            ],
192            "traits": {
193                "smithy.api#documentation": "<p>JSON blob that describes the environment to create.</p>",
194                "smithy.api#endpoint": {
195                    "hostPrefix": "api."
196                },
197                "smithy.api#http": {
198                    "method": "PUT",
199                    "uri": "/environments/{Name}",
200                    "code": 200
201                },
202                "smithy.api#idempotent": {}
203            }
204        },
205        "com.amazonaws.mwaa#CreateEnvironmentInput": {
206            "type": "structure",
207            "members": {
208                "Name": {
209                    "target": "com.amazonaws.mwaa#EnvironmentName",
210                    "traits": {
211                        "smithy.api#documentation": "<p>The name of your MWAA environment.</p>",
212                        "smithy.api#httpLabel": {},
213                        "smithy.api#required": {}
214                    }
215                },
216                "ExecutionRoleArn": {
217                    "target": "com.amazonaws.mwaa#IamRoleArn",
218                    "traits": {
219                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an AWS Identity and Access Management (IAM) role that grants MWAA permission to access AWS services and resources used by your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/manage-access.html\">Managing access to Amazon Managed Workflows for Apache Airflow</a>.</p>",
220                        "smithy.api#required": {}
221                    }
222                },
223                "SourceBucketArn": {
224                    "target": "com.amazonaws.mwaa#S3BucketArn",
225                    "traits": {
226                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, <code>arn:aws:s3:::airflow-mybucketname</code>.</p>",
227                        "smithy.api#required": {}
228                    }
229                },
230                "DagS3Path": {
231                    "target": "com.amazonaws.mwaa#RelativePath",
232                    "traits": {
233                        "smithy.api#documentation": "<p>The relative path to the DAG folder on your Amazon S3 storage bucket. For example, <code>dags</code>. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html\">Importing DAGs on Amazon MWAA</a>.</p>",
234                        "smithy.api#required": {}
235                    }
236                },
237                "NetworkConfiguration": {
238                    "target": "com.amazonaws.mwaa#NetworkConfiguration",
239                    "traits": {
240                        "smithy.api#documentation": "<p>The VPC networking components you want to use for your environment. At least two private subnet identifiers and one VPC security group identifier are required to create an environment. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-mwaa.html\">Creating the VPC network for a MWAA environment</a>.</p>",
241                        "smithy.api#required": {}
242                    }
243                },
244                "PluginsS3Path": {
245                    "target": "com.amazonaws.mwaa#RelativePath",
246                    "traits": {
247                        "smithy.api#documentation": "<p>The relative path to the <code>plugins.zip</code> file on your Amazon S3 storage bucket. For example, <code>plugins.zip</code>. If a relative path is provided in the request, then <code>PluginsS3ObjectVersion</code> is required. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html\">Importing DAGs on Amazon MWAA</a>.</p>"
248                    }
249                },
250                "PluginsS3ObjectVersion": {
251                    "target": "com.amazonaws.mwaa#S3ObjectVersion",
252                    "traits": {
253                        "smithy.api#documentation": "<p>The <code>plugins.zip</code> file version you want to use.</p>"
254                    }
255                },
256                "RequirementsS3Path": {
257                    "target": "com.amazonaws.mwaa#RelativePath",
258                    "traits": {
259                        "smithy.api#documentation": "<p>The relative path to the <code>requirements.txt</code> file on your Amazon S3 storage bucket. For example, <code>requirements.txt</code>. If a relative path is provided in the request, then <code>RequirementsS3ObjectVersion</code> is required. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import.html\">Importing DAGs on Amazon MWAA</a>.</p>"
260                    }
261                },
262                "RequirementsS3ObjectVersion": {
263                    "target": "com.amazonaws.mwaa#S3ObjectVersion",
264                    "traits": {
265                        "smithy.api#documentation": "<p>The <code>requirements.txt</code> file version you want to use.</p>"
266                    }
267                },
268                "AirflowConfigurationOptions": {
269                    "target": "com.amazonaws.mwaa#AirflowConfigurationOptions",
270                    "traits": {
271                        "smithy.api#documentation": "<p>The Apache Airflow configuration setting you want to override in your environment. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html\">Environment configuration</a>.</p>",
272                        "smithy.api#sensitive": {}
273                    }
274                },
275                "EnvironmentClass": {
276                    "target": "com.amazonaws.mwaa#EnvironmentClass",
277                    "traits": {
278                        "smithy.api#documentation": "<p>The environment class you want to use for your environment. The environment class determines the size of the containers and database used for your Apache Airflow services.</p>"
279                    }
280                },
281                "MaxWorkers": {
282                    "target": "com.amazonaws.mwaa#MaxWorkers",
283                    "traits": {
284                        "smithy.api#documentation": "<p>The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in this field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra containers leaving the one worker that is included with your environment.</p>"
285                    }
286                },
287                "KmsKey": {
288                    "target": "com.amazonaws.mwaa#KmsKey",
289                    "traits": {
290                        "smithy.api#documentation": "<p>The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a custom KMS key (advanced). For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html?icmpid=docs_console_unmapped#master_keys\">Customer master keys (CMKs)</a> in the AWS KMS developer guide.</p>"
291                    }
292                },
293                "AirflowVersion": {
294                    "target": "com.amazonaws.mwaa#AirflowVersion",
295                    "traits": {
296                        "smithy.api#documentation": "<p>The Apache Airflow version you want to use for your environment.</p>"
297                    }
298                },
299                "LoggingConfiguration": {
300                    "target": "com.amazonaws.mwaa#LoggingConfigurationInput",
301                    "traits": {
302                        "smithy.api#documentation": "<p>The Apache Airflow logs you want to send to Amazon CloudWatch Logs.</p>"
303                    }
304                },
305                "WeeklyMaintenanceWindowStart": {
306                    "target": "com.amazonaws.mwaa#WeeklyMaintenanceWindowStart",
307                    "traits": {
308                        "smithy.api#documentation": "<p>The day and time you want MWAA to start weekly maintenance updates on your environment.</p>"
309                    }
310                },
311                "Tags": {
312                    "target": "com.amazonaws.mwaa#TagMap",
313                    "traits": {
314                        "smithy.api#documentation": "<p>The metadata tags you want to attach to your environment. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS resources</a>.</p>"
315                    }
316                },
317                "WebserverAccessMode": {
318                    "target": "com.amazonaws.mwaa#WebserverAccessMode",
319                    "traits": {
320                        "smithy.api#documentation": "<p>The networking access of your Apache Airflow web server. A public network allows your Airflow UI to be accessed over the Internet by users granted access in your IAM policy. A private network limits access of your Airflow UI to users within your VPC. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-mwaa.html\">Creating the VPC network for a MWAA environment</a>.</p>"
321                    }
322                },
323                "MinWorkers": {
324                    "target": "com.amazonaws.mwaa#MinWorkers",
325                    "traits": {
326                        "smithy.api#documentation": "<p>The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in the <code>MaxWorkers</code> field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra containers leaving the worker count you specify in the <code>MinWorkers</code> field.</p>"
327                    }
328                }
329            },
330            "traits": {
331                "smithy.api#documentation": "<p>This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation to create an environment. For more information, see <a href=\"https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html\">Get started with Amazon Managed Workflows for Apache Airflow</a>.</p>"
332            }
333        },
334        "com.amazonaws.mwaa#CreateEnvironmentOutput": {
335            "type": "structure",
336            "members": {
337                "Arn": {
338                    "target": "com.amazonaws.mwaa#EnvironmentArn",
339                    "traits": {
340                        "smithy.api#documentation": "<p>The resulting Amazon MWAA envirnonment ARN.</p>"
341                    }
342                }
343            }
344        },
345        "com.amazonaws.mwaa#CreateWebLoginToken": {
346            "type": "operation",
347            "input": {
348                "target": "com.amazonaws.mwaa#CreateWebLoginTokenRequest"
349            },
350            "output": {
351                "target": "com.amazonaws.mwaa#CreateWebLoginTokenResponse"
352            },
353            "errors": [
354                {
355                    "target": "com.amazonaws.mwaa#AccessDeniedException"
356                },
357                {
358                    "target": "com.amazonaws.mwaa#InternalServerException"
359                },
360                {
361                    "target": "com.amazonaws.mwaa#ResourceNotFoundException"
362                },
363                {
364                    "target": "com.amazonaws.mwaa#ValidationException"
365                }
366            ],
367            "traits": {
368                "smithy.api#documentation": "<p>Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.</p>",
369                "smithy.api#endpoint": {
370                    "hostPrefix": "env."
371                },
372                "smithy.api#http": {
373                    "method": "POST",
374                    "uri": "/webtoken/{Name}",
375                    "code": 200
376                },
377                "smithy.api#idempotent": {}
378            }
379        },
380        "com.amazonaws.mwaa#CreateWebLoginTokenRequest": {
381            "type": "structure",
382            "members": {
383                "Name": {
384                    "target": "com.amazonaws.mwaa#EnvironmentName",
385                    "traits": {
386                        "smithy.api#documentation": "<p>Create an Airflow Web UI login token request for a MWAA environment.</p>",
387                        "smithy.api#httpLabel": {},
388                        "smithy.api#required": {}
389                    }
390                }
391            }
392        },
393        "com.amazonaws.mwaa#CreateWebLoginTokenResponse": {
394            "type": "structure",
395            "members": {
396                "WebToken": {
397                    "target": "com.amazonaws.mwaa#Token",
398                    "traits": {
399                        "smithy.api#documentation": "<p>Create an Airflow Web UI login token response for the provided JWT token.</p>",
400                        "smithy.api#sensitive": {}
401                    }
402                },
403                "WebServerHostname": {
404                    "target": "com.amazonaws.mwaa#Hostname",
405                    "traits": {
406                        "smithy.api#documentation": "<p>Create an Airflow Web UI login token response for the provided webserver hostname.</p>"
407                    }
408                }
409            }
410        },
411        "com.amazonaws.mwaa#CreatedAt": {
412            "type": "timestamp"
413        },
414        "com.amazonaws.mwaa#DeleteEnvironment": {
415            "type": "operation",
416            "input": {
417                "target": "com.amazonaws.mwaa#DeleteEnvironmentInput"
418            },
419            "output": {
420                "target": "com.amazonaws.mwaa#DeleteEnvironmentOutput"
421            },
422            "errors": [
423                {
424                    "target": "com.amazonaws.mwaa#InternalServerException"
425                },
426                {
427                    "target": "com.amazonaws.mwaa#ResourceNotFoundException"
428                },
429                {
430                    "target": "com.amazonaws.mwaa#ValidationException"
431                }
432            ],
433            "traits": {
434                "smithy.api#documentation": "<p>Delete an existing environment.</p>",
435                "smithy.api#endpoint": {
436                    "hostPrefix": "api."
437                },
438                "smithy.api#http": {
439                    "method": "DELETE",
440                    "uri": "/environments/{Name}",
441                    "code": 200
442                },
443                "smithy.api#idempotent": {}
444            }
445        },
446        "com.amazonaws.mwaa#DeleteEnvironmentInput": {
447            "type": "structure",
448            "members": {
449                "Name": {
450                    "target": "com.amazonaws.mwaa#EnvironmentName",
451                    "traits": {
452                        "smithy.api#documentation": "<p>The name of the environment to delete.</p>",
453                        "smithy.api#httpLabel": {},
454                        "smithy.api#required": {}
455                    }
456                }
457            }
458        },
459        "com.amazonaws.mwaa#DeleteEnvironmentOutput": {
460            "type": "structure",
461            "members": {}
462        },
463        "com.amazonaws.mwaa#Dimension": {
464            "type": "structure",
465            "members": {
466                "Name": {
467                    "target": "smithy.api#String",
468                    "traits": {
469                        "smithy.api#documentation": "<p>Internal only API.</p>",
470                        "smithy.api#required": {}
471                    }
472                },
473                "Value": {
474                    "target": "smithy.api#String",
475                    "traits": {
476                        "smithy.api#documentation": "<p>Internal only API.</p>",
477                        "smithy.api#required": {}
478                    }
479                }
480            },
481            "traits": {
482                "smithy.api#documentation": "<p>Internal only API.</p>"
483            }
484        },
485        "com.amazonaws.mwaa#Dimensions": {
486            "type": "list",
487            "member": {
488                "target": "com.amazonaws.mwaa#Dimension"
489            }
490        },
491        "com.amazonaws.mwaa#Environment": {
492            "type": "structure",
493            "members": {
494                "Name": {
495                    "target": "com.amazonaws.mwaa#EnvironmentName",
496                    "traits": {
497                        "smithy.api#documentation": "<p>The name of the Amazon MWAA Environment.</p>"
498                    }
499                },
500                "Status": {
501                    "target": "com.amazonaws.mwaa#EnvironmentStatus",
502                    "traits": {
503                        "smithy.api#documentation": "<p>The status of the Amazon MWAA Environment.</p>"
504                    }
505                },
506                "Arn": {
507                    "target": "com.amazonaws.mwaa#EnvironmentArn",
508                    "traits": {
509                        "smithy.api#documentation": "<p>The ARN of the Amazon MWAA Environment.</p>"
510                    }
511                },
512                "CreatedAt": {
513                    "target": "com.amazonaws.mwaa#CreatedAt",
514                    "traits": {
515                        "smithy.api#documentation": "<p>The Created At date of the Amazon MWAA Environment.</p>"
516                    }
517                },
518                "WebserverUrl": {
519                    "target": "com.amazonaws.mwaa#WebserverUrl",
520                    "traits": {
521                        "smithy.api#documentation": "<p>The Webserver URL of the Amazon MWAA Environment.</p>"
522                    }
523                },
524                "ExecutionRoleArn": {
525                    "target": "com.amazonaws.mwaa#IamRoleArn",
526                    "traits": {
527                        "smithy.api#documentation": "<p>The Execution Role ARN of the Amazon MWAA Environment.</p>"
528                    }
529                },
530                "ServiceRoleArn": {
531                    "target": "com.amazonaws.mwaa#IamRoleArn",
532                    "traits": {
533                        "smithy.api#documentation": "<p>The Service Role ARN of the Amazon MWAA Environment.</p>"
534                    }
535                },
536                "KmsKey": {
537                    "target": "com.amazonaws.mwaa#KmsKey",
538                    "traits": {
539                        "smithy.api#documentation": "<p>The Kms Key of the Amazon MWAA Environment.</p>"
540                    }
541                },
542                "AirflowVersion": {
543                    "target": "com.amazonaws.mwaa#AirflowVersion",
544                    "traits": {
545                        "smithy.api#documentation": "<p>The AirflowV ersion of the Amazon MWAA Environment.</p>"
546                    }
547                },
548                "SourceBucketArn": {
549                    "target": "com.amazonaws.mwaa#S3BucketArn",
550                    "traits": {
551                        "smithy.api#documentation": "<p>The Source S3 Bucket ARN of the Amazon MWAA Environment.</p>"
552                    }
553                },
554                "DagS3Path": {
555                    "target": "com.amazonaws.mwaa#RelativePath",
556                    "traits": {
557                        "smithy.api#documentation": "<p>The Dags S3 Path of the Amazon MWAA Environment.</p>"
558                    }
559                },
560                "PluginsS3Path": {
561                    "target": "com.amazonaws.mwaa#RelativePath",
562                    "traits": {
563                        "smithy.api#documentation": "<p>The Plugins.zip S3 Path of the Amazon MWAA Environment.</p>"
564                    }
565                },
566                "PluginsS3ObjectVersion": {
567                    "target": "com.amazonaws.mwaa#S3ObjectVersion",
568                    "traits": {
569                        "smithy.api#documentation": "<p>The Plugins.zip S3 Object Version of the Amazon MWAA Environment.</p>"
570                    }
571                },
572                "RequirementsS3Path": {
573                    "target": "com.amazonaws.mwaa#RelativePath",
574                    "traits": {
575                        "smithy.api#documentation": "<p>The Requirement.txt S3 Path of the Amazon MWAA Environment.</p>"
576                    }
577                },
578                "RequirementsS3ObjectVersion": {
579                    "target": "com.amazonaws.mwaa#S3ObjectVersion",
580                    "traits": {
581                        "smithy.api#documentation": "<p>The Requirements.txt file S3 Object Version of the Amazon MWAA Environment.</p>"
582                    }
583                },
584                "AirflowConfigurationOptions": {
585                    "target": "com.amazonaws.mwaa#AirflowConfigurationOptions",
586                    "traits": {
587                        "smithy.api#documentation": "<p>The Airflow Configuration Options of the Amazon MWAA Environment.</p>"
588                    }
589                },
590                "EnvironmentClass": {
591                    "target": "com.amazonaws.mwaa#EnvironmentClass",
592                    "traits": {
593                        "smithy.api#documentation": "<p>The Environment Class (size) of the Amazon MWAA Environment.</p>"
594                    }
595                },
596                "MaxWorkers": {
597                    "target": "com.amazonaws.mwaa#MaxWorkers",
598                    "traits": {
599                        "smithy.api#documentation": "<p>The maximum number of workers to run in your Amazon MWAA Environment.</p>"
600                    }
601                },
602                "NetworkConfiguration": {
603                    "target": "com.amazonaws.mwaa#NetworkConfiguration"
604                },
605                "LoggingConfiguration": {
606                    "target": "com.amazonaws.mwaa#LoggingConfiguration",
607                    "traits": {
608                        "smithy.api#documentation": "<p>The Logging Configuration of the Amazon MWAA Environment.</p>"
609                    }
610                },
611                "LastUpdate": {
612                    "target": "com.amazonaws.mwaa#LastUpdate"
613                },
614                "WeeklyMaintenanceWindowStart": {
615                    "target": "com.amazonaws.mwaa#WeeklyMaintenanceWindowStart",
616                    "traits": {
617                        "smithy.api#documentation": "<p>The Weekly Maintenance Window Start of the Amazon MWAA Environment.</p>"
618                    }
619                },
620                "Tags": {
621                    "target": "com.amazonaws.mwaa#TagMap",
622                    "traits": {
623                        "smithy.api#documentation": "<p>The Tags of the Amazon MWAA Environment.</p>"
624                    }
625                },
626                "WebserverAccessMode": {
627                    "target": "com.amazonaws.mwaa#WebserverAccessMode",
628                    "traits": {
629                        "smithy.api#documentation": "<p>The Webserver Access Mode of the Amazon MWAA Environment (public or private only).</p>"
630                    }
631                },
632                "MinWorkers": {
633                    "target": "com.amazonaws.mwaa#MinWorkers",
634                    "traits": {
635                        "smithy.api#documentation": "<p>The minimum number of workers to run in your Amazon MWAA Environment.</p>"
636                    }
637                }
638            },
639            "traits": {
640                "smithy.api#documentation": "<p>An Amazon MWAA environment.</p>"
641            }
642        },
643        "com.amazonaws.mwaa#EnvironmentArn": {
644            "type": "string",
645            "traits": {
646                "smithy.api#length": {
647                    "min": 1,
648                    "max": 1224
649                },
650                "smithy.api#pattern": "^arn:aws(-[a-z]+)?:airflow:[a-z0-9\\-]+:\\d{12}:environment/\\w+"
651            }
652        },
653        "com.amazonaws.mwaa#EnvironmentClass": {
654            "type": "string",
655            "traits": {
656                "smithy.api#length": {
657                    "min": 1,
658                    "max": 1024
659                }
660            }
661        },
662        "com.amazonaws.mwaa#EnvironmentList": {
663            "type": "list",
664            "member": {
665                "target": "com.amazonaws.mwaa#EnvironmentName"
666            }
667        },
668        "com.amazonaws.mwaa#EnvironmentName": {
669            "type": "string",
670            "traits": {
671                "smithy.api#length": {
672                    "min": 1,
673                    "max": 80
674                },
675                "smithy.api#pattern": "^[a-zA-Z][0-9a-zA-Z-_]*$"
676            }
677        },
678        "com.amazonaws.mwaa#EnvironmentStatus": {
679            "type": "string",
680            "traits": {
681                "smithy.api#enum": [
682                    {
683                        "value": "CREATING",
684                        "name": "CREATING"
685                    },
686                    {
687                        "value": "CREATE_FAILED",
688                        "name": "CREATE_FAILED"
689                    },
690                    {
691                        "value": "AVAILABLE",
692                        "name": "AVAILABLE"
693                    },
694                    {
695                        "value": "UPDATING",
696                        "name": "UPDATING"
697                    },
698                    {
699                        "value": "DELETING",
700                        "name": "DELETING"
701                    },
702                    {
703                        "value": "DELETED",
704                        "name": "DELETED"
705                    },
706                    {
707                        "value": "UNAVAILABLE",
708                        "name": "UNAVAILABLE"
709                    },
710                    {
711                        "value": "UPDATE_FAILED",
712                        "name": "UPDATE_FAILED"
713                    }
714                ]
715            }
716        },
717        "com.amazonaws.mwaa#ErrorCode": {
718            "type": "string"
719        },
720        "com.amazonaws.mwaa#ErrorMessage": {
721            "type": "string",
722            "traits": {
723                "smithy.api#length": {
724                    "min": 1,
725                    "max": 1024
726                },
727                "smithy.api#pattern": "^.+$"
728            }
729        },
730        "com.amazonaws.mwaa#GetEnvironment": {
731            "type": "operation",
732            "input": {
733                "target": "com.amazonaws.mwaa#GetEnvironmentInput"
734            },
735            "output": {
736                "target": "com.amazonaws.mwaa#GetEnvironmentOutput"
737            },
738            "errors": [
739                {
740                    "target": "com.amazonaws.mwaa#InternalServerException"
741                },
742                {
743                    "target": "com.amazonaws.mwaa#ResourceNotFoundException"
744                },
745                {
746                    "target": "com.amazonaws.mwaa#ValidationException"
747                }
748            ],
749            "traits": {
750                "smithy.api#documentation": "<p>Get details of an existing environment.</p>",
751                "smithy.api#endpoint": {
752                    "hostPrefix": "api."
753                },
754                "smithy.api#http": {
755                    "method": "GET",
756                    "uri": "/environments/{Name}",
757                    "code": 200
758                },
759                "smithy.api#readonly": {}
760            }
761        },
762        "com.amazonaws.mwaa#GetEnvironmentInput": {
763            "type": "structure",
764            "members": {
765                "Name": {
766                    "target": "com.amazonaws.mwaa#EnvironmentName",
767                    "traits": {
768                        "smithy.api#documentation": "<p>The name of the environment to retrieve.</p>",
769                        "smithy.api#httpLabel": {},
770                        "smithy.api#required": {}
771                    }
772                }
773            }
774        },
775        "com.amazonaws.mwaa#GetEnvironmentOutput": {
776            "type": "structure",
777            "members": {
778                "Environment": {
779                    "target": "com.amazonaws.mwaa#Environment",
780                    "traits": {
781                        "smithy.api#documentation": "<p>A JSON blob with environment details.</p>"
782                    }
783                }
784            }
785        },
786        "com.amazonaws.mwaa#Hostname": {
787            "type": "string",
788            "traits": {
789                "smithy.api#length": {
790                    "min": 1,
791                    "max": 255
792                },
793                "smithy.api#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])$"
794            }
795        },
796        "com.amazonaws.mwaa#IamRoleArn": {
797            "type": "string",
798            "traits": {
799                "smithy.api#length": {
800                    "min": 1,
801                    "max": 1224
802                },
803                "smithy.api#pattern": "^arn:aws(-[a-z]+)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$"
804            }
805        },
806        "com.amazonaws.mwaa#InternalServerException": {
807            "type": "structure",
808            "members": {
809                "message": {
810                    "target": "smithy.api#String"
811                }
812            },
813            "traits": {
814                "smithy.api#documentation": "<p>InternalServerException: An internal error has occurred.</p>",
815                "smithy.api#error": "server",
816                "smithy.api#httpError": 500
817            }
818        },
819        "com.amazonaws.mwaa#KmsKey": {
820            "type": "string",
821            "traits": {
822                "smithy.api#length": {
823                    "min": 1,
824                    "max": 1224
825                },
826                "smithy.api#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/.+)$"
827            }
828        },
829        "com.amazonaws.mwaa#LastUpdate": {
830            "type": "structure",
831            "members": {
832                "Status": {
833                    "target": "com.amazonaws.mwaa#UpdateStatus",
834                    "traits": {
835                        "smithy.api#documentation": "<p>Status of last update of SUCCESS, FAILED, CREATING, DELETING.</p>"
836                    }
837                },
838                "CreatedAt": {
839                    "target": "com.amazonaws.mwaa#UpdateCreatedAt",
840                    "traits": {
841                        "smithy.api#documentation": "<p>Time that last update occurred.</p>"
842                    }
843                },
844                "Error": {
845                    "target": "com.amazonaws.mwaa#UpdateError",
846                    "traits": {
847                        "smithy.api#documentation": "<p>Error string of last update, if applicable.</p>"
848                    }
849                }
850            },
851            "traits": {
852                "smithy.api#documentation": "<p>Last update information for the environment.</p>"
853            }
854        },
855        "com.amazonaws.mwaa#ListEnvironments": {
856            "type": "operation",
857            "input": {
858                "target": "com.amazonaws.mwaa#ListEnvironmentsInput"
859            },
860            "output": {
861                "target": "com.amazonaws.mwaa#ListEnvironmentsOutput"
862            },
863            "errors": [
864                {
865                    "target": "com.amazonaws.mwaa#InternalServerException"
866                },
867                {
868                    "target": "com.amazonaws.mwaa#ValidationException"
869                }
870            ],
871            "traits": {
872                "smithy.api#documentation": "<p>List Amazon MWAA Environments.</p>",
873                "smithy.api#endpoint": {
874                    "hostPrefix": "api."
875                },
876                "smithy.api#http": {
877                    "method": "GET",
878                    "uri": "/environments",
879                    "code": 200
880                },
881                "smithy.api#paginated": {
882                    "inputToken": "NextToken",
883                    "outputToken": "NextToken",
884                    "items": "Environments",
885                    "pageSize": "MaxResults"
886                },
887                "smithy.api#readonly": {}
888            }
889        },
890        "com.amazonaws.mwaa#ListEnvironmentsInput": {
891            "type": "structure",
892            "members": {
893                "NextToken": {
894                    "target": "com.amazonaws.mwaa#NextToken",
895                    "traits": {
896                        "smithy.api#documentation": "<p>The Next Token when listing MWAA environments.</p>",
897                        "smithy.api#httpQuery": "NextToken"
898                    }
899                },
900                "MaxResults": {
901                    "target": "smithy.api#Integer",
902                    "traits": {
903                        "smithy.api#documentation": "<p>The maximum results when listing MWAA environments.</p>",
904                        "smithy.api#httpQuery": "MaxResults",
905                        "smithy.api#range": {
906                            "min": 1,
907                            "max": 25
908                        }
909                    }
910                }
911            }
912        },
913        "com.amazonaws.mwaa#ListEnvironmentsOutput": {
914            "type": "structure",
915            "members": {
916                "Environments": {
917                    "target": "com.amazonaws.mwaa#EnvironmentList",
918                    "traits": {
919                        "smithy.api#documentation": "<p>The list of Amazon MWAA Environments.</p>",
920                        "smithy.api#required": {}
921                    }
922                },
923                "NextToken": {
924                    "target": "com.amazonaws.mwaa#NextToken",
925                    "traits": {
926                        "smithy.api#documentation": "<p>The Next Token when listing MWAA environments.</p>"
927                    }
928                }
929            }
930        },
931        "com.amazonaws.mwaa#ListTagsForResource": {
932            "type": "operation",
933            "input": {
934                "target": "com.amazonaws.mwaa#ListTagsForResourceInput"
935            },
936            "output": {
937                "target": "com.amazonaws.mwaa#ListTagsForResourceOutput"
938            },
939            "errors": [
940                {
941                    "target": "com.amazonaws.mwaa#InternalServerException"
942                },
943                {
944                    "target": "com.amazonaws.mwaa#ResourceNotFoundException"
945                },
946                {
947                    "target": "com.amazonaws.mwaa#ValidationException"
948                }
949            ],
950            "traits": {
951                "smithy.api#documentation": "<p>List the tags for MWAA environments.</p>",
952                "smithy.api#endpoint": {
953                    "hostPrefix": "api."
954                },
955                "smithy.api#http": {
956                    "method": "GET",
957                    "uri": "/tags/{ResourceArn}",
958                    "code": 200
959                },
960                "smithy.api#readonly": {}
961            }
962        },
963        "com.amazonaws.mwaa#ListTagsForResourceInput": {
964            "type": "structure",
965            "members": {
966                "ResourceArn": {
967                    "target": "com.amazonaws.mwaa#EnvironmentArn",
968                    "traits": {
969                        "smithy.api#documentation": "<p>The ARN of the MWAA environment.</p>",
970                        "smithy.api#httpLabel": {},
971                        "smithy.api#required": {}
972                    }
973                }
974            }
975        },
976        "com.amazonaws.mwaa#ListTagsForResourceOutput": {
977            "type": "structure",
978            "members": {
979                "Tags": {
980                    "target": "com.amazonaws.mwaa#TagMap",
981                    "traits": {
982                        "smithy.api#documentation": "<p>The tags of the MWAA environments.</p>"
983                    }
984                }
985            }
986        },
987        "com.amazonaws.mwaa#LoggingConfiguration": {
988            "type": "structure",
989            "members": {
990                "DagProcessingLogs": {
991                    "target": "com.amazonaws.mwaa#ModuleLoggingConfiguration"
992                },
993                "SchedulerLogs": {
994                    "target": "com.amazonaws.mwaa#ModuleLoggingConfiguration"
995                },
996                "WebserverLogs": {
997                    "target": "com.amazonaws.mwaa#ModuleLoggingConfiguration"
998                },
999                "WorkerLogs": {
1000                    "target": "com.amazonaws.mwaa#ModuleLoggingConfiguration"
1001                },
1002                "TaskLogs": {
1003                    "target": "com.amazonaws.mwaa#ModuleLoggingConfiguration"
1004                }
1005            },
1006            "traits": {
1007                "smithy.api#documentation": "<p>The Logging Configuration of your Amazon MWAA environment.</p>"
1008            }
1009        },
1010        "com.amazonaws.mwaa#LoggingConfigurationInput": {
1011            "type": "structure",
1012            "members": {
1013                "DagProcessingLogs": {
1014                    "target": "com.amazonaws.mwaa#ModuleLoggingConfigurationInput"
1015                },
1016                "SchedulerLogs": {
1017                    "target": "com.amazonaws.mwaa#ModuleLoggingConfigurationInput"
1018                },
1019                "WebserverLogs": {
1020                    "target": "com.amazonaws.mwaa#ModuleLoggingConfigurationInput"
1021                },
1022                "WorkerLogs": {
1023                    "target": "com.amazonaws.mwaa#ModuleLoggingConfigurationInput"
1024                },
1025                "TaskLogs": {
1026                    "target": "com.amazonaws.mwaa#ModuleLoggingConfigurationInput"
1027                }
1028            },
1029            "traits": {
1030                "smithy.api#documentation": "<p>The Logging Configuration of your Amazon MWAA environment.</p>"
1031            }
1032        },
1033        "com.amazonaws.mwaa#LoggingEnabled": {
1034            "type": "boolean",
1035            "traits": {
1036                "smithy.api#box": {}
1037            }
1038        },
1039        "com.amazonaws.mwaa#LoggingLevel": {
1040            "type": "string",
1041            "traits": {
1042                "smithy.api#enum": [
1043                    {
1044                        "value": "CRITICAL",
1045                        "name": "CRITICAL"
1046                    },
1047                    {
1048                        "value": "ERROR",
1049                        "name": "ERROR"
1050                    },
1051                    {
1052                        "value": "WARNING",
1053                        "name": "WARNING"
1054                    },
1055                    {
1056                        "value": "INFO",
1057                        "name": "INFO"
1058                    },
1059                    {
1060                        "value": "DEBUG",
1061                        "name": "DEBUG"
1062                    }
1063                ]
1064            }
1065        },
1066        "com.amazonaws.mwaa#MaxWorkers": {
1067            "type": "integer",
1068            "traits": {
1069                "smithy.api#box": {},
1070                "smithy.api#range": {
1071                    "min": 1
1072                }
1073            }
1074        },
1075        "com.amazonaws.mwaa#MetricData": {
1076            "type": "list",
1077            "member": {
1078                "target": "com.amazonaws.mwaa#MetricDatum"
1079            }
1080        },
1081        "com.amazonaws.mwaa#MetricDatum": {
1082            "type": "structure",
1083            "members": {
1084                "MetricName": {
1085                    "target": "smithy.api#String",
1086                    "traits": {
1087                        "smithy.api#documentation": "<p>Internal only API.</p>",
1088                        "smithy.api#required": {}
1089                    }
1090                },
1091                "Timestamp": {
1092                    "target": "smithy.api#Timestamp",
1093                    "traits": {
1094                        "smithy.api#documentation": "<p>Internal only API.</p>",
1095                        "smithy.api#required": {}
1096                    }
1097                },
1098                "Dimensions": {
1099                    "target": "com.amazonaws.mwaa#Dimensions",
1100                    "traits": {
1101                        "smithy.api#documentation": "<p>Internal only API.</p>"
1102                    }
1103                },
1104                "Value": {
1105                    "target": "smithy.api#Double",
1106                    "traits": {
1107                        "smithy.api#documentation": "<p>Internal only API.</p>"
1108                    }
1109                },
1110                "Unit": {
1111                    "target": "com.amazonaws.mwaa#Unit"
1112                },
1113                "StatisticValues": {
1114                    "target": "com.amazonaws.mwaa#StatisticSet",
1115                    "traits": {
1116                        "smithy.api#documentation": "<p>Internal only API.</p>"
1117                    }
1118                }
1119            },
1120            "traits": {
1121                "smithy.api#documentation": "<p>Internal only API.</p>"
1122            }
1123        },
1124        "com.amazonaws.mwaa#MinWorkers": {
1125            "type": "integer",
1126            "traits": {
1127                "smithy.api#box": {},
1128                "smithy.api#range": {
1129                    "min": 1
1130                }
1131            }
1132        },
1133        "com.amazonaws.mwaa#ModuleLoggingConfiguration": {
1134            "type": "structure",
1135            "members": {
1136                "Enabled": {
1137                    "target": "com.amazonaws.mwaa#LoggingEnabled",
1138                    "traits": {
1139                        "smithy.api#documentation": "<p>Defines that the logging module is enabled.</p>"
1140                    }
1141                },
1142                "LogLevel": {
1143                    "target": "com.amazonaws.mwaa#LoggingLevel",
1144                    "traits": {
1145                        "smithy.api#documentation": "<p>Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.</p>"
1146                    }
1147                },
1148                "CloudWatchLogGroupArn": {
1149                    "target": "com.amazonaws.mwaa#CloudWatchLogGroupArn",
1150                    "traits": {
1151                        "smithy.api#documentation": "<p>Provides the ARN for the CloudWatch group where the logs will be published.</p>"
1152                    }
1153                }
1154            },
1155            "traits": {
1156                "smithy.api#documentation": "<p>A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs,\n        SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.</p>"
1157            }
1158        },
1159        "com.amazonaws.mwaa#ModuleLoggingConfigurationInput": {
1160            "type": "structure",
1161            "members": {
1162                "Enabled": {
1163                    "target": "com.amazonaws.mwaa#LoggingEnabled",
1164                    "traits": {
1165                        "smithy.api#documentation": "<p>Defines that the logging module is enabled.</p>",
1166                        "smithy.api#required": {}
1167                    }
1168                },
1169                "LogLevel": {
1170                    "target": "com.amazonaws.mwaa#LoggingLevel",
1171                    "traits": {
1172                        "smithy.api#documentation": "<p>Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.</p>",
1173                        "smithy.api#required": {}
1174                    }
1175                }
1176            },
1177            "traits": {
1178                "smithy.api#documentation": "<p>A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs,\n        SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.</p>"
1179            }
1180        },
1181        "com.amazonaws.mwaa#NetworkConfiguration": {
1182            "type": "structure",
1183            "members": {
1184                "SubnetIds": {
1185                    "target": "com.amazonaws.mwaa#SubnetList",
1186                    "traits": {
1187                        "smithy.api#documentation": "<p>Provide a JSON list of 2 subnet IDs by name. These must be private subnets, in the same VPC, in two different availability zones.</p>"
1188                    }
1189                },
1190                "SecurityGroupIds": {
1191                    "target": "com.amazonaws.mwaa#SecurityGroupList",
1192                    "traits": {
1193                        "smithy.api#documentation": "<p>A JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.</p>"
1194                    }
1195                }
1196            },
1197            "traits": {
1198                "smithy.api#documentation": "<p>Provide the security group and subnet IDs for the workers and scheduler.</p>"
1199            }
1200        },
1201        "com.amazonaws.mwaa#NextToken": {
1202            "type": "string",
1203            "traits": {
1204                "smithy.api#length": {
1205                    "max": 2048
1206                }
1207            }
1208        },
1209        "com.amazonaws.mwaa#PublishMetrics": {
1210            "type": "operation",
1211            "input": {
1212                "target": "com.amazonaws.mwaa#PublishMetricsInput"
1213            },
1214            "output": {
1215                "target": "com.amazonaws.mwaa#PublishMetricsOutput"
1216            },
1217            "errors": [
1218                {
1219                    "target": "com.amazonaws.mwaa#InternalServerException"
1220                },
1221                {
1222                    "target": "com.amazonaws.mwaa#ValidationException"
1223                }
1224            ],
1225            "traits": {
1226                "smithy.api#documentation": "An operation for publishing metrics from the customers to the Ops plane.",
1227                "smithy.api#endpoint": {
1228                    "hostPrefix": "ops."
1229                },
1230                "smithy.api#http": {
1231                    "method": "POST",
1232                    "uri": "/metrics/environments/{EnvironmentName}",
1233                    "code": 200
1234                }
1235            }
1236        },
1237        "com.amazonaws.mwaa#PublishMetricsInput": {
1238            "type": "structure",
1239            "members": {
1240                "EnvironmentName": {
1241                    "target": "com.amazonaws.mwaa#EnvironmentName",
1242                    "traits": {
1243                        "smithy.api#documentation": "<p>Publishes environment metric data to Amazon CloudWatch.</p>",
1244                        "smithy.api#httpLabel": {},
1245                        "smithy.api#required": {}
1246                    }
1247                },
1248                "MetricData": {
1249                    "target": "com.amazonaws.mwaa#MetricData",
1250                    "traits": {
1251                        "smithy.api#documentation": "<p>Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metrica.</p>",
1252                        "smithy.api#required": {}
1253                    }
1254                }
1255            }
1256        },
1257        "com.amazonaws.mwaa#PublishMetricsOutput": {
1258            "type": "structure",
1259            "members": {}
1260        },
1261        "com.amazonaws.mwaa#RelativePath": {
1262            "type": "string",
1263            "traits": {
1264                "smithy.api#length": {
1265                    "min": 1,
1266                    "max": 1024
1267                },
1268                "smithy.api#pattern": ".*"
1269            }
1270        },
1271        "com.amazonaws.mwaa#ResourceNotFoundException": {
1272            "type": "structure",
1273            "members": {
1274                "message": {
1275                    "target": "smithy.api#String"
1276                }
1277            },
1278            "traits": {
1279                "smithy.api#documentation": "<p>ResourceNotFoundException: The resource is not available.</p>",
1280                "smithy.api#error": "client",
1281                "smithy.api#httpError": 404
1282            }
1283        },
1284        "com.amazonaws.mwaa#S3BucketArn": {
1285            "type": "string",
1286            "traits": {
1287                "smithy.api#length": {
1288                    "min": 1,
1289                    "max": 1224
1290                },
1291                "smithy.api#pattern": "^arn:aws(-[a-z]+)?:s3:::[a-z0-9.\\-]+$"
1292            }
1293        },
1294        "com.amazonaws.mwaa#S3ObjectVersion": {
1295            "type": "string",
1296            "traits": {
1297                "smithy.api#length": {
1298                    "min": 1,
1299                    "max": 1024
1300                }
1301            }
1302        },
1303        "com.amazonaws.mwaa#SecurityGroupId": {
1304            "type": "string",
1305            "traits": {
1306                "smithy.api#length": {
1307                    "min": 1,
1308                    "max": 1024
1309                },
1310                "smithy.api#pattern": "^sg-[a-zA-Z0-9\\-._]+$"
1311            }
1312        },
1313        "com.amazonaws.mwaa#SecurityGroupList": {
1314            "type": "list",
1315            "member": {
1316                "target": "com.amazonaws.mwaa#SecurityGroupId"
1317            },
1318            "traits": {
1319                "smithy.api#length": {
1320                    "min": 1,
1321                    "max": 5
1322                }
1323            }
1324        },
1325        "com.amazonaws.mwaa#StatisticSet": {
1326            "type": "structure",
1327            "members": {
1328                "SampleCount": {
1329                    "target": "smithy.api#Integer",
1330                    "traits": {
1331                        "smithy.api#documentation": "<p>Internal only API.</p>"
1332                    }
1333                },
1334                "Sum": {
1335                    "target": "smithy.api#Double",
1336                    "traits": {
1337                        "smithy.api#documentation": "<p>Internal only API.</p>"
1338                    }
1339                },
1340                "Minimum": {
1341                    "target": "smithy.api#Double",
1342                    "traits": {
1343                        "smithy.api#documentation": "<p>Internal only API.</p>"
1344                    }
1345                },
1346                "Maximum": {
1347                    "target": "smithy.api#Double",
1348                    "traits": {
1349                        "smithy.api#documentation": "<p>Internal only API.</p>"
1350                    }
1351                }
1352            },
1353            "traits": {
1354                "smithy.api#documentation": "<p>Internal only API.</p>"
1355            }
1356        },
1357        "com.amazonaws.mwaa#SubnetId": {
1358            "type": "string",
1359            "traits": {
1360                "smithy.api#length": {
1361                    "min": 1,
1362                    "max": 1024
1363                },
1364                "smithy.api#pattern": "^subnet-[a-zA-Z0-9\\-._]+$"
1365            }
1366        },
1367        "com.amazonaws.mwaa#SubnetList": {
1368            "type": "list",
1369            "member": {
1370                "target": "com.amazonaws.mwaa#SubnetId"
1371            },
1372            "traits": {
1373                "smithy.api#length": {
1374                    "min": 2,
1375                    "max": 2
1376                }
1377            }
1378        },
1379        "com.amazonaws.mwaa#TagKey": {
1380            "type": "string",
1381            "traits": {
1382                "smithy.api#length": {
1383                    "min": 1,
1384                    "max": 128
1385                },
1386                "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
1387            }
1388        },
1389        "com.amazonaws.mwaa#TagKeyList": {
1390            "type": "list",
1391            "member": {
1392                "target": "com.amazonaws.mwaa#TagKey"
1393            },
1394            "traits": {
1395                "smithy.api#length": {
1396                    "max": 50
1397                }
1398            }
1399        },
1400        "com.amazonaws.mwaa#TagMap": {
1401            "type": "map",
1402            "key": {
1403                "target": "com.amazonaws.mwaa#TagKey"
1404            },
1405            "value": {
1406                "target": "com.amazonaws.mwaa#TagValue"
1407            },
1408            "traits": {
1409                "smithy.api#length": {
1410                    "min": 1,
1411                    "max": 50
1412                }
1413            }
1414        },
1415        "com.amazonaws.mwaa#TagResource": {
1416            "type": "operation",
1417            "input": {
1418                "target": "com.amazonaws.mwaa#TagResourceInput"
1419            },
1420            "output": {
1421                "target": "com.amazonaws.mwaa#TagResourceOutput"
1422            },
1423            "errors": [
1424                {
1425                    "target": "com.amazonaws.mwaa#InternalServerException"
1426                },
1427                {
1428                    "target": "com.amazonaws.mwaa#ResourceNotFoundException"
1429                },
1430                {
1431                    "target": "com.amazonaws.mwaa#ValidationException"
1432                }
1433            ],
1434            "traits": {
1435                "smithy.api#documentation": "<p>Add tag to the MWAA environments.</p>",
1436                "smithy.api#endpoint": {
1437                    "hostPrefix": "api."
1438                },
1439                "smithy.api#http": {
1440                    "method": "POST",
1441                    "uri": "/tags/{ResourceArn}",
1442                    "code": 200
1443                }
1444            }
1445        },
1446        "com.amazonaws.mwaa#TagResourceInput": {
1447            "type": "structure",
1448            "members": {
1449                "ResourceArn": {
1450                    "target": "com.amazonaws.mwaa#EnvironmentArn",
1451                    "traits": {
1452                        "smithy.api#documentation": "<p>The tag resource ARN of the MWAA environments.</p>",
1453                        "smithy.api#httpLabel": {},
1454                        "smithy.api#required": {}
1455                    }
1456                },
1457                "Tags": {
1458                    "target": "com.amazonaws.mwaa#TagMap",
1459                    "traits": {
1460                        "smithy.api#documentation": "<p>The tag resource tag of the MWAA environments.</p>",
1461                        "smithy.api#required": {}
1462                    }
1463                }
1464            }
1465        },
1466        "com.amazonaws.mwaa#TagResourceOutput": {
1467            "type": "structure",
1468            "members": {}
1469        },
1470        "com.amazonaws.mwaa#TagValue": {
1471            "type": "string",
1472            "traits": {
1473                "smithy.api#length": {
1474                    "min": 1,
1475                    "max": 256
1476                },
1477                "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
1478            }
1479        },
1480        "com.amazonaws.mwaa#Token": {
1481            "type": "string"
1482        },
1483        "com.amazonaws.mwaa#Unit": {
1484            "type": "string",
1485            "traits": {
1486                "smithy.api#documentation": "Unit",
1487                "smithy.api#enum": [
1488                    {
1489                        "value": "Seconds",
1490                        "name": "SECONDS"
1491                    },
1492                    {
1493                        "value": "Microseconds",
1494                        "name": "MICROSECONDS"
1495                    },
1496                    {
1497                        "value": "Milliseconds",
1498                        "name": "MILLISECONDS"
1499                    },
1500                    {
1501                        "value": "Bytes",
1502                        "name": "BYTES"
1503                    },
1504                    {
1505                        "value": "Kilobytes",
1506                        "name": "KILOBYTES"
1507                    },
1508                    {
1509                        "value": "Megabytes",
1510                        "name": "MEGABYTES"
1511                    },
1512                    {
1513                        "value": "Gigabytes",
1514                        "name": "GIGABYTES"
1515                    },
1516                    {
1517                        "value": "Terabytes",
1518                        "name": "TERABYTES"
1519                    },
1520                    {
1521                        "value": "Bits",
1522                        "name": "BITS"
1523                    },
1524                    {
1525                        "value": "Kilobits",
1526                        "name": "KILOBITS"
1527                    },
1528                    {
1529                        "value": "Megabits",
1530                        "name": "MEGABITS"
1531                    },
1532                    {
1533                        "value": "Gigabits",
1534                        "name": "GIGABITS"
1535                    },
1536                    {
1537                        "value": "Terabits",
1538                        "name": "TERABITS"
1539                    },
1540                    {
1541                        "value": "Percent",
1542                        "name": "PERCENT"
1543                    },
1544                    {
1545                        "value": "Count",
1546                        "name": "COUNT"
1547                    },
1548                    {
1549                        "value": "Bytes/Second",
1550                        "name": "BYTES_PER_SECOND"
1551                    },
1552                    {
1553                        "value": "Kilobytes/Second",
1554                        "name": "KILOBYTES_PER_SECOND"
1555                    },
1556                    {
1557                        "value": "Megabytes/Second",
1558                        "name": "MEGABYTES_PER_SECOND"
1559                    },
1560                    {
1561                        "value": "Gigabytes/Second",
1562                        "name": "GIGABYTES_PER_SECOND"
1563                    },
1564                    {
1565                        "value": "Terabytes/Second",
1566                        "name": "TERABYTES_PER_SECOND"
1567                    },
1568                    {
1569                        "value": "Bits/Second",
1570                        "name": "BITS_PER_SECOND"
1571                    },
1572                    {
1573                        "value": "Kilobits/Second",
1574                        "name": "KILOBITS_PER_SECOND"
1575                    },
1576                    {
1577                        "value": "Megabits/Second",
1578                        "name": "MEGABITS_PER_SECOND"
1579                    },
1580                    {
1581                        "value": "Gigabits/Second",
1582                        "name": "GIGABITS_PER_SECOND"
1583                    },
1584                    {
1585                        "value": "Terabits/Second",
1586                        "name": "TERABITS_PER_SECOND"
1587                    },
1588                    {
1589                        "value": "Count/Second",
1590                        "name": "COUNT_PER_SECOND"
1591                    },
1592                    {
1593                        "value": "None",
1594                        "name": "NONE"
1595                    }
1596                ]
1597            }
1598        },
1599        "com.amazonaws.mwaa#UntagResource": {
1600            "type": "operation",
1601            "input": {
1602                "target": "com.amazonaws.mwaa#UntagResourceInput"
1603            },
1604            "output": {
1605                "target": "com.amazonaws.mwaa#UntagResourceOutput"
1606            },
1607            "errors": [
1608                {
1609                    "target": "com.amazonaws.mwaa#InternalServerException"
1610                },
1611                {
1612                    "target": "com.amazonaws.mwaa#ResourceNotFoundException"
1613                },
1614                {
1615                    "target": "com.amazonaws.mwaa#ValidationException"
1616                }
1617            ],
1618            "traits": {
1619                "smithy.api#documentation": "<p>Remove a tag from the MWAA environments.</p>",
1620                "smithy.api#endpoint": {
1621                    "hostPrefix": "api."
1622                },
1623                "smithy.api#http": {
1624                    "method": "DELETE",
1625                    "uri": "/tags/{ResourceArn}",
1626                    "code": 200
1627                },
1628                "smithy.api#idempotent": {}
1629            }
1630        },
1631        "com.amazonaws.mwaa#UntagResourceInput": {
1632            "type": "structure",
1633            "members": {
1634                "ResourceArn": {
1635                    "target": "com.amazonaws.mwaa#EnvironmentArn",
1636                    "traits": {
1637                        "smithy.api#documentation": "<p>The tag resource ARN of the MWAA environments.</p>",
1638                        "smithy.api#httpLabel": {},
1639                        "smithy.api#required": {}
1640                    }
1641                },
1642                "tagKeys": {
1643                    "target": "com.amazonaws.mwaa#TagKeyList",
1644                    "traits": {
1645                        "smithy.api#documentation": "<p>The tag resource key of the MWAA environments.</p>",
1646                        "smithy.api#httpQuery": "tagKeys",
1647                        "smithy.api#required": {}
1648                    }
1649                }
1650            }
1651        },
1652        "com.amazonaws.mwaa#UntagResourceOutput": {
1653            "type": "structure",
1654            "members": {}
1655        },
1656        "com.amazonaws.mwaa#UpdateCreatedAt": {
1657            "type": "timestamp"
1658        },
1659        "com.amazonaws.mwaa#UpdateEnvironment": {
1660            "type": "operation",
1661            "input": {
1662                "target": "com.amazonaws.mwaa#UpdateEnvironmentInput"
1663            },
1664            "output": {
1665                "target": "com.amazonaws.mwaa#UpdateEnvironmentOutput"
1666            },
1667            "errors": [
1668                {
1669                    "target": "com.amazonaws.mwaa#InternalServerException"
1670                },
1671                {
1672                    "target": "com.amazonaws.mwaa#ResourceNotFoundException"
1673                },
1674                {
1675                    "target": "com.amazonaws.mwaa#ValidationException"
1676                }
1677            ],
1678            "traits": {
1679                "smithy.api#documentation": "<p>Update an MWAA environment.</p>",
1680                "smithy.api#endpoint": {
1681                    "hostPrefix": "api."
1682                },
1683                "smithy.api#http": {
1684                    "method": "PATCH",
1685                    "uri": "/environments/{Name}",
1686                    "code": 200
1687                }
1688            }
1689        },
1690        "com.amazonaws.mwaa#UpdateEnvironmentInput": {
1691            "type": "structure",
1692            "members": {
1693                "Name": {
1694                    "target": "com.amazonaws.mwaa#EnvironmentName",
1695                    "traits": {
1696                        "smithy.api#documentation": "<p>The name of your Amazon MWAA environment that you wish to update.</p>",
1697                        "smithy.api#httpLabel": {},
1698                        "smithy.api#required": {}
1699                    }
1700                },
1701                "ExecutionRoleArn": {
1702                    "target": "com.amazonaws.mwaa#IamRoleArn",
1703                    "traits": {
1704                        "smithy.api#documentation": "<p>The Executio Role ARN to update of your Amazon MWAA environment.</p>"
1705                    }
1706                },
1707                "AirflowVersion": {
1708                    "target": "com.amazonaws.mwaa#AirflowVersion",
1709                    "traits": {
1710                        "smithy.api#documentation": "<p>The Airflow Version to update of your Amazon MWAA environment.</p>"
1711                    }
1712                },
1713                "SourceBucketArn": {
1714                    "target": "com.amazonaws.mwaa#S3BucketArn",
1715                    "traits": {
1716                        "smithy.api#documentation": "<p>The S3 Source Bucket ARN to update of your Amazon MWAA environment.</p>"
1717                    }
1718                },
1719                "DagS3Path": {
1720                    "target": "com.amazonaws.mwaa#RelativePath",
1721                    "traits": {
1722                        "smithy.api#documentation": "<p>The Dags folder S3 Path to update of your Amazon MWAA environment.</p>"
1723                    }
1724                },
1725                "PluginsS3Path": {
1726                    "target": "com.amazonaws.mwaa#RelativePath",
1727                    "traits": {
1728                        "smithy.api#documentation": "<p>The Plugins.zip S3 Path to update of your Amazon MWAA environment.</p>"
1729                    }
1730                },
1731                "PluginsS3ObjectVersion": {
1732                    "target": "com.amazonaws.mwaa#S3ObjectVersion",
1733                    "traits": {
1734                        "smithy.api#documentation": "<p>The Plugins.zip S3 Object Version to update of your Amazon MWAA environment.</p>"
1735                    }
1736                },
1737                "RequirementsS3Path": {
1738                    "target": "com.amazonaws.mwaa#RelativePath",
1739                    "traits": {
1740                        "smithy.api#documentation": "<p>The Requirements.txt S3 Path to update of your Amazon MWAA environment.</p>"
1741                    }
1742                },
1743                "RequirementsS3ObjectVersion": {
1744                    "target": "com.amazonaws.mwaa#S3ObjectVersion",
1745                    "traits": {
1746                        "smithy.api#documentation": "<p>The Requirements.txt S3 ObjectV ersion to update of your Amazon MWAA environment.</p>"
1747                    }
1748                },
1749                "AirflowConfigurationOptions": {
1750                    "target": "com.amazonaws.mwaa#AirflowConfigurationOptions",
1751                    "traits": {
1752                        "smithy.api#documentation": "<p>The Airflow Configuration Options to update of your Amazon MWAA environment.</p>",
1753                        "smithy.api#sensitive": {}
1754                    }
1755                },
1756                "EnvironmentClass": {
1757                    "target": "com.amazonaws.mwaa#EnvironmentClass",
1758                    "traits": {
1759                        "smithy.api#documentation": "<p>The Environment Class to update of your Amazon MWAA environment.</p>"
1760                    }
1761                },
1762                "MaxWorkers": {
1763                    "target": "com.amazonaws.mwaa#MaxWorkers",
1764                    "traits": {
1765                        "smithy.api#documentation": "<p>The maximum number of workers to update of your Amazon MWAA environment.</p>"
1766                    }
1767                },
1768                "NetworkConfiguration": {
1769                    "target": "com.amazonaws.mwaa#UpdateNetworkConfigurationInput",
1770                    "traits": {
1771                        "smithy.api#documentation": "<p>The Network Configuration to update of your Amazon MWAA environment.</p>"
1772                    }
1773                },
1774                "LoggingConfiguration": {
1775                    "target": "com.amazonaws.mwaa#LoggingConfigurationInput",
1776                    "traits": {
1777                        "smithy.api#documentation": "<p>The Logging Configuration to update of your Amazon MWAA environment.</p>"
1778                    }
1779                },
1780                "WeeklyMaintenanceWindowStart": {
1781                    "target": "com.amazonaws.mwaa#WeeklyMaintenanceWindowStart",
1782                    "traits": {
1783                        "smithy.api#documentation": "<p>The Weekly Maintenance Window Start to update of your Amazon MWAA environment.</p>"
1784                    }
1785                },
1786                "WebserverAccessMode": {
1787                    "target": "com.amazonaws.mwaa#WebserverAccessMode",
1788                    "traits": {
1789                        "smithy.api#documentation": "<p>The Webserver Access Mode to update of your Amazon MWAA environment.</p>"
1790                    }
1791                },
1792                "MinWorkers": {
1793                    "target": "com.amazonaws.mwaa#MinWorkers",
1794                    "traits": {
1795                        "smithy.api#documentation": "<p>The minimum number of workers to update of your Amazon MWAA environment.</p>"
1796                    }
1797                }
1798            }
1799        },
1800        "com.amazonaws.mwaa#UpdateEnvironmentOutput": {
1801            "type": "structure",
1802            "members": {
1803                "Arn": {
1804                    "target": "com.amazonaws.mwaa#EnvironmentArn",
1805                    "traits": {
1806                        "smithy.api#documentation": "<p>The ARN to update of your Amazon MWAA environment.</p>"
1807                    }
1808                }
1809            }
1810        },
1811        "com.amazonaws.mwaa#UpdateError": {
1812            "type": "structure",
1813            "members": {
1814                "ErrorCode": {
1815                    "target": "com.amazonaws.mwaa#ErrorCode",
1816                    "traits": {
1817                        "smithy.api#documentation": "<p>Error code of update.</p>"
1818                    }
1819                },
1820                "ErrorMessage": {
1821                    "target": "com.amazonaws.mwaa#ErrorMessage",
1822                    "traits": {
1823                        "smithy.api#documentation": "<p>Error message of update.</p>"
1824                    }
1825                }
1826            },
1827            "traits": {
1828                "smithy.api#documentation": "<p>Error information of update, if applicable.</p>"
1829            }
1830        },
1831        "com.amazonaws.mwaa#UpdateNetworkConfigurationInput": {
1832            "type": "structure",
1833            "members": {
1834                "SecurityGroupIds": {
1835                    "target": "com.amazonaws.mwaa#SecurityGroupList",
1836                    "traits": {
1837                        "smithy.api#documentation": "<p>Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.</p>",
1838                        "smithy.api#required": {}
1839                    }
1840                }
1841            },
1842            "traits": {
1843                "smithy.api#documentation": "<p>Provide the security group and subnet IDs for the workers and scheduler.</p>"
1844            }
1845        },
1846        "com.amazonaws.mwaa#UpdateStatus": {
1847            "type": "string",
1848            "traits": {
1849                "smithy.api#enum": [
1850                    {
1851                        "value": "SUCCESS",
1852                        "name": "SUCCESS"
1853                    },
1854                    {
1855                        "value": "PENDING",
1856                        "name": "PENDING"
1857                    },
1858                    {
1859                        "value": "FAILED",
1860                        "name": "FAILED"
1861                    }
1862                ]
1863            }
1864        },
1865        "com.amazonaws.mwaa#ValidationException": {
1866            "type": "structure",
1867            "members": {
1868                "message": {
1869                    "target": "smithy.api#String"
1870                }
1871            },
1872            "traits": {
1873                "smithy.api#documentation": "<p>ValidationException: The provided input is not valid.</p>",
1874                "smithy.api#error": "client",
1875                "smithy.api#httpError": 400
1876            }
1877        },
1878        "com.amazonaws.mwaa#WebserverAccessMode": {
1879            "type": "string",
1880            "traits": {
1881                "smithy.api#enum": [
1882                    {
1883                        "value": "PRIVATE_ONLY",
1884                        "name": "PRIVATE_ONLY"
1885                    },
1886                    {
1887                        "value": "PUBLIC_ONLY",
1888                        "name": "PUBLIC_ONLY"
1889                    }
1890                ]
1891            }
1892        },
1893        "com.amazonaws.mwaa#WebserverUrl": {
1894            "type": "string",
1895            "traits": {
1896                "smithy.api#length": {
1897                    "min": 1,
1898                    "max": 256
1899                },
1900                "smithy.api#pattern": "^https://.+$"
1901            }
1902        },
1903        "com.amazonaws.mwaa#WeeklyMaintenanceWindowStart": {
1904            "type": "string",
1905            "traits": {
1906                "smithy.api#length": {
1907                    "min": 1,
1908                    "max": 9
1909                },
1910                "smithy.api#pattern": "(MON|TUE|WED|THU|FRI|SAT|SUN):([01]\\d|2[0-3]):(00|30)"
1911            }
1912        }
1913    }
1914}