mwaa-2020-07-01.min.json
  1  {
  2    "version": "2.0",
  3    "metadata": {
  4      "apiVersion": "2020-07-01",
  5      "endpointPrefix": "airflow",
  6      "jsonVersion": "1.1",
  7      "protocol": "rest-json",
  8      "serviceFullName": "AmazonMWAA",
  9      "serviceId": "MWAA",
 10      "signatureVersion": "v4",
 11      "signingName": "airflow",
 12      "uid": "mwaa-2020-07-01"
 13    },
 14    "operations": {
 15      "CreateCliToken": {
 16        "http": {
 17          "requestUri": "/clitoken/{Name}",
 18          "responseCode": 200
 19        },
 20        "input": {
 21          "type": "structure",
 22          "required": [
 23            "Name"
 24          ],
 25          "members": {
 26            "Name": {
 27              "location": "uri",
 28              "locationName": "Name"
 29            }
 30          }
 31        },
 32        "output": {
 33          "type": "structure",
 34          "members": {
 35            "CliToken": {
 36              "type": "string",
 37              "sensitive": true
 38            },
 39            "WebServerHostname": {}
 40          }
 41        },
 42        "endpoint": {
 43          "hostPrefix": "env."
 44        }
 45      },
 46      "CreateEnvironment": {
 47        "http": {
 48          "method": "PUT",
 49          "requestUri": "/environments/{Name}",
 50          "responseCode": 200
 51        },
 52        "input": {
 53          "type": "structure",
 54          "required": [
 55            "DagS3Path",
 56            "ExecutionRoleArn",
 57            "Name",
 58            "NetworkConfiguration",
 59            "SourceBucketArn"
 60          ],
 61          "members": {
 62            "AirflowConfigurationOptions": {
 63              "type": "map",
 64              "key": {},
 65              "value": {},
 66              "sensitive": true
 67            },
 68            "AirflowVersion": {},
 69            "DagS3Path": {},
 70            "EnvironmentClass": {},
 71            "ExecutionRoleArn": {},
 72            "KmsKey": {},
 73            "LoggingConfiguration": {
 74              "shape": "Sf"
 75            },
 76            "MaxWorkers": {
 77              "type": "integer"
 78            },
 79            "MinWorkers": {
 80              "type": "integer"
 81            },
 82            "Name": {
 83              "location": "uri",
 84              "locationName": "Name"
 85            },
 86            "NetworkConfiguration": {
 87              "shape": "Sl"
 88            },
 89            "PluginsS3ObjectVersion": {},
 90            "PluginsS3Path": {},
 91            "RequirementsS3ObjectVersion": {},
 92            "RequirementsS3Path": {},
 93            "Schedulers": {
 94              "type": "integer"
 95            },
 96            "SourceBucketArn": {},
 97            "Tags": {
 98              "shape": "St"
 99            },
100            "WebserverAccessMode": {},
101            "WeeklyMaintenanceWindowStart": {}
102          }
103        },
104        "output": {
105          "type": "structure",
106          "members": {
107            "Arn": {}
108          }
109        },
110        "endpoint": {
111          "hostPrefix": "api."
112        },
113        "idempotent": true
114      },
115      "CreateWebLoginToken": {
116        "http": {
117          "requestUri": "/webtoken/{Name}",
118          "responseCode": 200
119        },
120        "input": {
121          "type": "structure",
122          "required": [
123            "Name"
124          ],
125          "members": {
126            "Name": {
127              "location": "uri",
128              "locationName": "Name"
129            }
130          }
131        },
132        "output": {
133          "type": "structure",
134          "members": {
135            "WebServerHostname": {},
136            "WebToken": {
137              "type": "string",
138              "sensitive": true
139            }
140          }
141        },
142        "endpoint": {
143          "hostPrefix": "env."
144        },
145        "idempotent": true
146      },
147      "DeleteEnvironment": {
148        "http": {
149          "method": "DELETE",
150          "requestUri": "/environments/{Name}",
151          "responseCode": 200
152        },
153        "input": {
154          "type": "structure",
155          "required": [
156            "Name"
157          ],
158          "members": {
159            "Name": {
160              "location": "uri",
161              "locationName": "Name"
162            }
163          }
164        },
165        "output": {
166          "type": "structure",
167          "members": {}
168        },
169        "endpoint": {
170          "hostPrefix": "api."
171        },
172        "idempotent": true
173      },
174      "GetEnvironment": {
175        "http": {
176          "method": "GET",
177          "requestUri": "/environments/{Name}",
178          "responseCode": 200
179        },
180        "input": {
181          "type": "structure",
182          "required": [
183            "Name"
184          ],
185          "members": {
186            "Name": {
187              "location": "uri",
188              "locationName": "Name"
189            }
190          }
191        },
192        "output": {
193          "type": "structure",
194          "members": {
195            "Environment": {
196              "type": "structure",
197              "members": {
198                "AirflowConfigurationOptions": {
199                  "type": "map",
200                  "key": {},
201                  "value": {}
202                },
203                "AirflowVersion": {},
204                "Arn": {},
205                "CreatedAt": {
206                  "type": "timestamp"
207                },
208                "DagS3Path": {},
209                "EnvironmentClass": {},
210                "ExecutionRoleArn": {},
211                "KmsKey": {},
212                "LastUpdate": {
213                  "type": "structure",
214                  "members": {
215                    "CreatedAt": {
216                      "type": "timestamp"
217                    },
218                    "Error": {
219                      "type": "structure",
220                      "members": {
221                        "ErrorCode": {},
222                        "ErrorMessage": {}
223                      }
224                    },
225                    "Status": {}
226                  }
227                },
228                "LoggingConfiguration": {
229                  "type": "structure",
230                  "members": {
231                    "DagProcessingLogs": {
232                      "shape": "S1h"
233                    },
234                    "SchedulerLogs": {
235                      "shape": "S1h"
236                    },
237                    "TaskLogs": {
238                      "shape": "S1h"
239                    },
240                    "WebserverLogs": {
241                      "shape": "S1h"
242                    },
243                    "WorkerLogs": {
244                      "shape": "S1h"
245                    }
246                  }
247                },
248                "MaxWorkers": {
249                  "type": "integer"
250                },
251                "MinWorkers": {
252                  "type": "integer"
253                },
254                "Name": {},
255                "NetworkConfiguration": {
256                  "shape": "Sl"
257                },
258                "PluginsS3ObjectVersion": {},
259                "PluginsS3Path": {},
260                "RequirementsS3ObjectVersion": {},
261                "RequirementsS3Path": {},
262                "Schedulers": {
263                  "type": "integer"
264                },
265                "ServiceRoleArn": {},
266                "SourceBucketArn": {},
267                "Status": {},
268                "Tags": {
269                  "shape": "St"
270                },
271                "WebserverAccessMode": {},
272                "WebserverUrl": {},
273                "WeeklyMaintenanceWindowStart": {}
274              }
275            }
276          }
277        },
278        "endpoint": {
279          "hostPrefix": "api."
280        }
281      },
282      "ListEnvironments": {
283        "http": {
284          "method": "GET",
285          "requestUri": "/environments",
286          "responseCode": 200
287        },
288        "input": {
289          "type": "structure",
290          "members": {
291            "MaxResults": {
292              "location": "querystring",
293              "locationName": "MaxResults",
294              "type": "integer"
295            },
296            "NextToken": {
297              "location": "querystring",
298              "locationName": "NextToken"
299            }
300          }
301        },
302        "output": {
303          "type": "structure",
304          "required": [
305            "Environments"
306          ],
307          "members": {
308            "Environments": {
309              "type": "list",
310              "member": {}
311            },
312            "NextToken": {}
313          }
314        },
315        "endpoint": {
316          "hostPrefix": "api."
317        }
318      },
319      "ListTagsForResource": {
320        "http": {
321          "method": "GET",
322          "requestUri": "/tags/{ResourceArn}",
323          "responseCode": 200
324        },
325        "input": {
326          "type": "structure",
327          "required": [
328            "ResourceArn"
329          ],
330          "members": {
331            "ResourceArn": {
332              "location": "uri",
333              "locationName": "ResourceArn"
334            }
335          }
336        },
337        "output": {
338          "type": "structure",
339          "members": {
340            "Tags": {
341              "shape": "St"
342            }
343          }
344        },
345        "endpoint": {
346          "hostPrefix": "api."
347        }
348      },
349      "PublishMetrics": {
350        "http": {
351          "requestUri": "/metrics/environments/{EnvironmentName}",
352          "responseCode": 200
353        },
354        "input": {
355          "type": "structure",
356          "required": [
357            "EnvironmentName",
358            "MetricData"
359          ],
360          "members": {
361            "EnvironmentName": {
362              "location": "uri",
363              "locationName": "EnvironmentName"
364            },
365            "MetricData": {
366              "type": "list",
367              "member": {
368                "type": "structure",
369                "required": [
370                  "MetricName",
371                  "Timestamp"
372                ],
373                "members": {
374                  "Dimensions": {
375                    "type": "list",
376                    "member": {
377                      "type": "structure",
378                      "required": [
379                        "Name",
380                        "Value"
381                      ],
382                      "members": {
383                        "Name": {},
384                        "Value": {}
385                      }
386                    }
387                  },
388                  "MetricName": {},
389                  "StatisticValues": {
390                    "type": "structure",
391                    "members": {
392                      "Maximum": {
393                        "type": "double"
394                      },
395                      "Minimum": {
396                        "type": "double"
397                      },
398                      "SampleCount": {
399                        "type": "integer"
400                      },
401                      "Sum": {
402                        "type": "double"
403                      }
404                    }
405                  },
406                  "Timestamp": {
407                    "type": "timestamp"
408                  },
409                  "Unit": {},
410                  "Value": {
411                    "type": "double"
412                  }
413                }
414              }
415            }
416          }
417        },
418        "output": {
419          "type": "structure",
420          "members": {}
421        },
422        "endpoint": {
423          "hostPrefix": "ops."
424        }
425      },
426      "TagResource": {
427        "http": {
428          "requestUri": "/tags/{ResourceArn}",
429          "responseCode": 200
430        },
431        "input": {
432          "type": "structure",
433          "required": [
434            "ResourceArn",
435            "Tags"
436          ],
437          "members": {
438            "ResourceArn": {
439              "location": "uri",
440              "locationName": "ResourceArn"
441            },
442            "Tags": {
443              "shape": "St"
444            }
445          }
446        },
447        "output": {
448          "type": "structure",
449          "members": {}
450        },
451        "endpoint": {
452          "hostPrefix": "api."
453        }
454      },
455      "UntagResource": {
456        "http": {
457          "method": "DELETE",
458          "requestUri": "/tags/{ResourceArn}",
459          "responseCode": 200
460        },
461        "input": {
462          "type": "structure",
463          "required": [
464            "ResourceArn",
465            "tagKeys"
466          ],
467          "members": {
468            "ResourceArn": {
469              "location": "uri",
470              "locationName": "ResourceArn"
471            },
472            "tagKeys": {
473              "location": "querystring",
474              "locationName": "tagKeys",
475              "type": "list",
476              "member": {}
477            }
478          }
479        },
480        "output": {
481          "type": "structure",
482          "members": {}
483        },
484        "endpoint": {
485          "hostPrefix": "api."
486        },
487        "idempotent": true
488      },
489      "UpdateEnvironment": {
490        "http": {
491          "method": "PATCH",
492          "requestUri": "/environments/{Name}",
493          "responseCode": 200
494        },
495        "input": {
496          "type": "structure",
497          "required": [
498            "Name"
499          ],
500          "members": {
501            "AirflowConfigurationOptions": {
502              "type": "map",
503              "key": {},
504              "value": {},
505              "sensitive": true
506            },
507            "AirflowVersion": {},
508            "DagS3Path": {},
509            "EnvironmentClass": {},
510            "ExecutionRoleArn": {},
511            "LoggingConfiguration": {
512              "shape": "Sf"
513            },
514            "MaxWorkers": {
515              "type": "integer"
516            },
517            "MinWorkers": {
518              "type": "integer"
519            },
520            "Name": {
521              "location": "uri",
522              "locationName": "Name"
523            },
524            "NetworkConfiguration": {
525              "type": "structure",
526              "required": [
527                "SecurityGroupIds"
528              ],
529              "members": {
530                "SecurityGroupIds": {
531                  "shape": "Sm"
532                }
533              }
534            },
535            "PluginsS3ObjectVersion": {},
536            "PluginsS3Path": {},
537            "RequirementsS3ObjectVersion": {},
538            "RequirementsS3Path": {},
539            "Schedulers": {
540              "type": "integer"
541            },
542            "SourceBucketArn": {},
543            "WebserverAccessMode": {},
544            "WeeklyMaintenanceWindowStart": {}
545          }
546        },
547        "output": {
548          "type": "structure",
549          "members": {
550            "Arn": {}
551          }
552        },
553        "endpoint": {
554          "hostPrefix": "api."
555        }
556      }
557    },
558    "shapes": {
559      "Sf": {
560        "type": "structure",
561        "members": {
562          "DagProcessingLogs": {
563            "shape": "Sg"
564          },
565          "SchedulerLogs": {
566            "shape": "Sg"
567          },
568          "TaskLogs": {
569            "shape": "Sg"
570          },
571          "WebserverLogs": {
572            "shape": "Sg"
573          },
574          "WorkerLogs": {
575            "shape": "Sg"
576          }
577        }
578      },
579      "Sg": {
580        "type": "structure",
581        "required": [
582          "Enabled",
583          "LogLevel"
584        ],
585        "members": {
586          "Enabled": {
587            "type": "boolean"
588          },
589          "LogLevel": {}
590        }
591      },
592      "Sl": {
593        "type": "structure",
594        "members": {
595          "SecurityGroupIds": {
596            "shape": "Sm"
597          },
598          "SubnetIds": {
599            "type": "list",
600            "member": {}
601          }
602        }
603      },
604      "Sm": {
605        "type": "list",
606        "member": {}
607      },
608      "St": {
609        "type": "map",
610        "key": {},
611        "value": {}
612      },
613      "S1h": {
614        "type": "structure",
615        "members": {
616          "CloudWatchLogGroupArn": {},
617          "Enabled": {
618            "type": "boolean"
619          },
620          "LogLevel": {}
621        }
622      }
623    }
624  }