123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657 |
- {
- "version": "2.0",
- "metadata": {
- "apiVersion": "2020-07-01",
- "endpointPrefix": "airflow",
- "jsonVersion": "1.1",
- "protocol": "rest-json",
- "serviceFullName": "AmazonMWAA",
- "serviceId": "MWAA",
- "signatureVersion": "v4",
- "signingName": "airflow",
- "uid": "mwaa-2020-07-01"
- },
- "operations": {
- "CreateCliToken": {
- "http": {
- "requestUri": "/clitoken/{Name}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "Name"
- ],
- "members": {
- "Name": {
- "location": "uri",
- "locationName": "Name"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "CliToken": {
- "shape": "S4"
- },
- "WebServerHostname": {}
- }
- },
- "endpoint": {
- "hostPrefix": "env."
- }
- },
- "CreateEnvironment": {
- "http": {
- "method": "PUT",
- "requestUri": "/environments/{Name}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "DagS3Path",
- "ExecutionRoleArn",
- "Name",
- "NetworkConfiguration",
- "SourceBucketArn"
- ],
- "members": {
- "AirflowConfigurationOptions": {
- "shape": "S7"
- },
- "AirflowVersion": {},
- "DagS3Path": {},
- "EndpointManagement": {},
- "EnvironmentClass": {},
- "ExecutionRoleArn": {},
- "KmsKey": {},
- "LoggingConfiguration": {
- "shape": "Sg"
- },
- "MaxWorkers": {
- "type": "integer"
- },
- "MinWorkers": {
- "type": "integer"
- },
- "Name": {
- "location": "uri",
- "locationName": "Name"
- },
- "NetworkConfiguration": {
- "shape": "Sm"
- },
- "PluginsS3ObjectVersion": {},
- "PluginsS3Path": {},
- "RequirementsS3ObjectVersion": {},
- "RequirementsS3Path": {},
- "Schedulers": {
- "type": "integer"
- },
- "SourceBucketArn": {},
- "StartupScriptS3ObjectVersion": {},
- "StartupScriptS3Path": {},
- "Tags": {
- "shape": "Su"
- },
- "WebserverAccessMode": {},
- "WeeklyMaintenanceWindowStart": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Arn": {}
- }
- },
- "endpoint": {
- "hostPrefix": "api."
- },
- "idempotent": true
- },
- "CreateWebLoginToken": {
- "http": {
- "requestUri": "/webtoken/{Name}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "Name"
- ],
- "members": {
- "Name": {
- "location": "uri",
- "locationName": "Name"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "AirflowIdentity": {},
- "IamIdentity": {},
- "WebServerHostname": {},
- "WebToken": {
- "shape": "S4"
- }
- }
- },
- "endpoint": {
- "hostPrefix": "env."
- },
- "idempotent": true
- },
- "DeleteEnvironment": {
- "http": {
- "method": "DELETE",
- "requestUri": "/environments/{Name}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "Name"
- ],
- "members": {
- "Name": {
- "location": "uri",
- "locationName": "Name"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- },
- "endpoint": {
- "hostPrefix": "api."
- },
- "idempotent": true
- },
- "GetEnvironment": {
- "http": {
- "method": "GET",
- "requestUri": "/environments/{Name}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "Name"
- ],
- "members": {
- "Name": {
- "location": "uri",
- "locationName": "Name"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Environment": {
- "type": "structure",
- "members": {
- "AirflowConfigurationOptions": {
- "shape": "S7"
- },
- "AirflowVersion": {},
- "Arn": {},
- "CeleryExecutorQueue": {},
- "CreatedAt": {
- "type": "timestamp"
- },
- "DagS3Path": {},
- "DatabaseVpcEndpointService": {},
- "EndpointManagement": {},
- "EnvironmentClass": {},
- "ExecutionRoleArn": {},
- "KmsKey": {},
- "LastUpdate": {
- "type": "structure",
- "members": {
- "CreatedAt": {
- "type": "timestamp"
- },
- "Error": {
- "type": "structure",
- "members": {
- "ErrorCode": {},
- "ErrorMessage": {}
- }
- },
- "Source": {},
- "Status": {}
- }
- },
- "LoggingConfiguration": {
- "type": "structure",
- "members": {
- "DagProcessingLogs": {
- "shape": "S1l"
- },
- "SchedulerLogs": {
- "shape": "S1l"
- },
- "TaskLogs": {
- "shape": "S1l"
- },
- "WebserverLogs": {
- "shape": "S1l"
- },
- "WorkerLogs": {
- "shape": "S1l"
- }
- }
- },
- "MaxWorkers": {
- "type": "integer"
- },
- "MinWorkers": {
- "type": "integer"
- },
- "Name": {},
- "NetworkConfiguration": {
- "shape": "Sm"
- },
- "PluginsS3ObjectVersion": {},
- "PluginsS3Path": {},
- "RequirementsS3ObjectVersion": {},
- "RequirementsS3Path": {},
- "Schedulers": {
- "type": "integer"
- },
- "ServiceRoleArn": {},
- "SourceBucketArn": {},
- "StartupScriptS3ObjectVersion": {},
- "StartupScriptS3Path": {},
- "Status": {},
- "Tags": {
- "shape": "Su"
- },
- "WebserverAccessMode": {},
- "WebserverUrl": {},
- "WebserverVpcEndpointService": {},
- "WeeklyMaintenanceWindowStart": {}
- }
- }
- }
- },
- "endpoint": {
- "hostPrefix": "api."
- }
- },
- "ListEnvironments": {
- "http": {
- "method": "GET",
- "requestUri": "/environments",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "members": {
- "MaxResults": {
- "location": "querystring",
- "locationName": "MaxResults",
- "type": "integer"
- },
- "NextToken": {
- "location": "querystring",
- "locationName": "NextToken"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "Environments"
- ],
- "members": {
- "Environments": {
- "type": "list",
- "member": {}
- },
- "NextToken": {}
- }
- },
- "endpoint": {
- "hostPrefix": "api."
- }
- },
- "ListTagsForResource": {
- "http": {
- "method": "GET",
- "requestUri": "/tags/{ResourceArn}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "ResourceArn"
- ],
- "members": {
- "ResourceArn": {
- "location": "uri",
- "locationName": "ResourceArn"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Tags": {
- "shape": "Su"
- }
- }
- },
- "endpoint": {
- "hostPrefix": "api."
- }
- },
- "PublishMetrics": {
- "http": {
- "requestUri": "/metrics/environments/{EnvironmentName}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "EnvironmentName",
- "MetricData"
- ],
- "members": {
- "EnvironmentName": {
- "location": "uri",
- "locationName": "EnvironmentName"
- },
- "MetricData": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "MetricName",
- "Timestamp"
- ],
- "members": {
- "Dimensions": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "Name",
- "Value"
- ],
- "members": {
- "Name": {},
- "Value": {}
- },
- "deprecated": true,
- "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
- },
- "deprecated": true,
- "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
- },
- "MetricName": {},
- "StatisticValues": {
- "type": "structure",
- "members": {
- "Maximum": {
- "type": "double"
- },
- "Minimum": {
- "type": "double"
- },
- "SampleCount": {
- "type": "integer"
- },
- "Sum": {
- "type": "double"
- }
- },
- "deprecated": true,
- "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
- },
- "Timestamp": {
- "type": "timestamp"
- },
- "Unit": {},
- "Value": {
- "type": "double"
- }
- },
- "deprecated": true,
- "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
- },
- "deprecated": true,
- "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
- }
- },
- "deprecated": true,
- "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
- },
- "output": {
- "type": "structure",
- "members": {},
- "deprecated": true,
- "deprecatedMessage": "This type is for internal use and not meant for public use. Data set for this type will be ignored."
- },
- "deprecated": true,
- "deprecatedMessage": "This API is for internal use and not meant for public use, and is no longer available.",
- "endpoint": {
- "hostPrefix": "ops."
- }
- },
- "TagResource": {
- "http": {
- "requestUri": "/tags/{ResourceArn}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "ResourceArn",
- "Tags"
- ],
- "members": {
- "ResourceArn": {
- "location": "uri",
- "locationName": "ResourceArn"
- },
- "Tags": {
- "shape": "Su"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- },
- "endpoint": {
- "hostPrefix": "api."
- }
- },
- "UntagResource": {
- "http": {
- "method": "DELETE",
- "requestUri": "/tags/{ResourceArn}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "ResourceArn",
- "tagKeys"
- ],
- "members": {
- "ResourceArn": {
- "location": "uri",
- "locationName": "ResourceArn"
- },
- "tagKeys": {
- "location": "querystring",
- "locationName": "tagKeys",
- "type": "list",
- "member": {}
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- },
- "endpoint": {
- "hostPrefix": "api."
- },
- "idempotent": true
- },
- "UpdateEnvironment": {
- "http": {
- "method": "PATCH",
- "requestUri": "/environments/{Name}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "Name"
- ],
- "members": {
- "AirflowConfigurationOptions": {
- "shape": "S7"
- },
- "AirflowVersion": {},
- "DagS3Path": {},
- "EnvironmentClass": {},
- "ExecutionRoleArn": {},
- "LoggingConfiguration": {
- "shape": "Sg"
- },
- "MaxWorkers": {
- "type": "integer"
- },
- "MinWorkers": {
- "type": "integer"
- },
- "Name": {
- "location": "uri",
- "locationName": "Name"
- },
- "NetworkConfiguration": {
- "type": "structure",
- "required": [
- "SecurityGroupIds"
- ],
- "members": {
- "SecurityGroupIds": {
- "shape": "Sn"
- }
- }
- },
- "PluginsS3ObjectVersion": {},
- "PluginsS3Path": {},
- "RequirementsS3ObjectVersion": {},
- "RequirementsS3Path": {},
- "Schedulers": {
- "type": "integer"
- },
- "SourceBucketArn": {},
- "StartupScriptS3ObjectVersion": {},
- "StartupScriptS3Path": {},
- "WebserverAccessMode": {},
- "WeeklyMaintenanceWindowStart": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Arn": {}
- }
- },
- "endpoint": {
- "hostPrefix": "api."
- }
- }
- },
- "shapes": {
- "S4": {
- "type": "string",
- "sensitive": true
- },
- "S7": {
- "type": "map",
- "key": {},
- "value": {
- "type": "string",
- "sensitive": true
- },
- "sensitive": true
- },
- "Sg": {
- "type": "structure",
- "members": {
- "DagProcessingLogs": {
- "shape": "Sh"
- },
- "SchedulerLogs": {
- "shape": "Sh"
- },
- "TaskLogs": {
- "shape": "Sh"
- },
- "WebserverLogs": {
- "shape": "Sh"
- },
- "WorkerLogs": {
- "shape": "Sh"
- }
- }
- },
- "Sh": {
- "type": "structure",
- "required": [
- "Enabled",
- "LogLevel"
- ],
- "members": {
- "Enabled": {
- "type": "boolean"
- },
- "LogLevel": {}
- }
- },
- "Sm": {
- "type": "structure",
- "members": {
- "SecurityGroupIds": {
- "shape": "Sn"
- },
- "SubnetIds": {
- "type": "list",
- "member": {}
- }
- }
- },
- "Sn": {
- "type": "list",
- "member": {}
- },
- "Su": {
- "type": "map",
- "key": {},
- "value": {}
- },
- "S1l": {
- "type": "structure",
- "members": {
- "CloudWatchLogGroupArn": {},
- "Enabled": {
- "type": "boolean"
- },
- "LogLevel": {}
- }
- }
- }
- }
|