{ "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": {} } } } }