{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2014-12-12",
    "endpointPrefix":"machinelearning",
    "jsonVersion":"1.1",
    "serviceFullName":"Amazon Machine Learning",
    "signatureVersion":"v4",
    "targetPrefix":"AmazonML_20141212",
    "protocol":"json"
  },
  "operations":{
    "AddTags":{
      "name":"AddTags",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"AddTagsInput"},
      "output":{"shape":"AddTagsOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InvalidTagException",
          "exception":true
        },
        {
          "shape":"TagLimitExceededException",
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "CreateBatchPrediction":{
      "name":"CreateBatchPrediction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateBatchPredictionInput"},
      "output":{"shape":"CreateBatchPredictionOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        },
        {
          "shape":"IdempotentParameterMismatchException",
          "error":{"httpStatusCode":400},
          "exception":true
        }
      ]
    },
    "CreateDataSourceFromRDS":{
      "name":"CreateDataSourceFromRDS",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateDataSourceFromRDSInput"},
      "output":{"shape":"CreateDataSourceFromRDSOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        },
        {
          "shape":"IdempotentParameterMismatchException",
          "error":{"httpStatusCode":400},
          "exception":true
        }
      ]
    },
    "CreateDataSourceFromRedshift":{
      "name":"CreateDataSourceFromRedshift",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateDataSourceFromRedshiftInput"},
      "output":{"shape":"CreateDataSourceFromRedshiftOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        },
        {
          "shape":"IdempotentParameterMismatchException",
          "error":{"httpStatusCode":400},
          "exception":true
        }
      ]
    },
    "CreateDataSourceFromS3":{
      "name":"CreateDataSourceFromS3",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateDataSourceFromS3Input"},
      "output":{"shape":"CreateDataSourceFromS3Output"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        },
        {
          "shape":"IdempotentParameterMismatchException",
          "error":{"httpStatusCode":400},
          "exception":true
        }
      ]
    },
    "CreateEvaluation":{
      "name":"CreateEvaluation",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateEvaluationInput"},
      "output":{"shape":"CreateEvaluationOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        },
        {
          "shape":"IdempotentParameterMismatchException",
          "error":{"httpStatusCode":400},
          "exception":true
        }
      ]
    },
    "CreateMLModel":{
      "name":"CreateMLModel",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateMLModelInput"},
      "output":{"shape":"CreateMLModelOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        },
        {
          "shape":"IdempotentParameterMismatchException",
          "error":{"httpStatusCode":400},
          "exception":true
        }
      ]
    },
    "CreateRealtimeEndpoint":{
      "name":"CreateRealtimeEndpoint",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateRealtimeEndpointInput"},
      "output":{"shape":"CreateRealtimeEndpointOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DeleteBatchPrediction":{
      "name":"DeleteBatchPrediction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteBatchPredictionInput"},
      "output":{"shape":"DeleteBatchPredictionOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DeleteDataSource":{
      "name":"DeleteDataSource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteDataSourceInput"},
      "output":{"shape":"DeleteDataSourceOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DeleteEvaluation":{
      "name":"DeleteEvaluation",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteEvaluationInput"},
      "output":{"shape":"DeleteEvaluationOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DeleteMLModel":{
      "name":"DeleteMLModel",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteMLModelInput"},
      "output":{"shape":"DeleteMLModelOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DeleteRealtimeEndpoint":{
      "name":"DeleteRealtimeEndpoint",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteRealtimeEndpointInput"},
      "output":{"shape":"DeleteRealtimeEndpointOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DeleteTags":{
      "name":"DeleteTags",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteTagsInput"},
      "output":{"shape":"DeleteTagsOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InvalidTagException",
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DescribeBatchPredictions":{
      "name":"DescribeBatchPredictions",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeBatchPredictionsInput"},
      "output":{"shape":"DescribeBatchPredictionsOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DescribeDataSources":{
      "name":"DescribeDataSources",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeDataSourcesInput"},
      "output":{"shape":"DescribeDataSourcesOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DescribeEvaluations":{
      "name":"DescribeEvaluations",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeEvaluationsInput"},
      "output":{"shape":"DescribeEvaluationsOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DescribeMLModels":{
      "name":"DescribeMLModels",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeMLModelsInput"},
      "output":{"shape":"DescribeMLModelsOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "DescribeTags":{
      "name":"DescribeTags",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeTagsInput"},
      "output":{"shape":"DescribeTagsOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "GetBatchPrediction":{
      "name":"GetBatchPrediction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetBatchPredictionInput"},
      "output":{"shape":"GetBatchPredictionOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "GetDataSource":{
      "name":"GetDataSource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetDataSourceInput"},
      "output":{"shape":"GetDataSourceOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "GetEvaluation":{
      "name":"GetEvaluation",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetEvaluationInput"},
      "output":{"shape":"GetEvaluationOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "GetMLModel":{
      "name":"GetMLModel",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetMLModelInput"},
      "output":{"shape":"GetMLModelOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "Predict":{
      "name":"Predict",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PredictInput"},
      "output":{"shape":"PredictOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"LimitExceededException",
          "error":{"httpStatusCode":417},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        },
        {
          "shape":"PredictorNotMountedException",
          "error":{"httpStatusCode":400},
          "exception":true
        }
      ]
    },
    "UpdateBatchPrediction":{
      "name":"UpdateBatchPrediction",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateBatchPredictionInput"},
      "output":{"shape":"UpdateBatchPredictionOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "UpdateDataSource":{
      "name":"UpdateDataSource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateDataSourceInput"},
      "output":{"shape":"UpdateDataSourceOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "UpdateEvaluation":{
      "name":"UpdateEvaluation",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateEvaluationInput"},
      "output":{"shape":"UpdateEvaluationOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    },
    "UpdateMLModel":{
      "name":"UpdateMLModel",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateMLModelInput"},
      "output":{"shape":"UpdateMLModelOutput"},
      "errors":[
        {
          "shape":"InvalidInputException",
          "error":{"httpStatusCode":400},
          "exception":true
        },
        {
          "shape":"ResourceNotFoundException",
          "error":{"httpStatusCode":404},
          "exception":true
        },
        {
          "shape":"InternalServerException",
          "error":{"httpStatusCode":500},
          "exception":true,
          "fault":true
        }
      ]
    }
  },
  "shapes":{
    "AddTagsInput":{
      "type":"structure",
      "required":[
        "Tags",
        "ResourceId",
        "ResourceType"
      ],
      "members":{
        "Tags":{"shape":"TagList"},
        "ResourceId":{"shape":"EntityId"},
        "ResourceType":{"shape":"TaggableResourceType"}
      }
    },
    "AddTagsOutput":{
      "type":"structure",
      "members":{
        "ResourceId":{"shape":"EntityId"},
        "ResourceType":{"shape":"TaggableResourceType"}
      }
    },
    "Algorithm":{
      "type":"string",
      "enum":["sgd"]
    },
    "AwsUserArn":{
      "type":"string",
      "pattern":"arn:aws:iam::[0-9]+:((user/.+)|(root))"
    },
    "BatchPrediction":{
      "type":"structure",
      "members":{
        "BatchPredictionId":{"shape":"EntityId"},
        "MLModelId":{"shape":"EntityId"},
        "BatchPredictionDataSourceId":{"shape":"EntityId"},
        "InputDataLocationS3":{"shape":"S3Url"},
        "CreatedByIamUser":{"shape":"AwsUserArn"},
        "CreatedAt":{"shape":"EpochTime"},
        "LastUpdatedAt":{"shape":"EpochTime"},
        "Name":{"shape":"EntityName"},
        "Status":{"shape":"EntityStatus"},
        "OutputUri":{"shape":"S3Url"},
        "Message":{"shape":"Message"},
        "ComputeTime":{"shape":"LongType"},
        "FinishedAt":{"shape":"EpochTime"},
        "StartedAt":{"shape":"EpochTime"},
        "TotalRecordCount":{"shape":"LongType"},
        "InvalidRecordCount":{"shape":"LongType"}
      }
    },
    "BatchPredictionFilterVariable":{
      "type":"string",
      "enum":[
        "CreatedAt",
        "LastUpdatedAt",
        "Status",
        "Name",
        "IAMUser",
        "MLModelId",
        "DataSourceId",
        "DataURI"
      ]
    },
    "BatchPredictions":{
      "type":"list",
      "member":{"shape":"BatchPrediction"}
    },
    "ComparatorValue":{
      "type":"string",
      "max":1024,
      "pattern":".*\\S.*|^$"
    },
    "ComputeStatistics":{"type":"boolean"},
    "CreateBatchPredictionInput":{
      "type":"structure",
      "required":[
        "BatchPredictionId",
        "MLModelId",
        "BatchPredictionDataSourceId",
        "OutputUri"
      ],
      "members":{
        "BatchPredictionId":{"shape":"EntityId"},
        "BatchPredictionName":{"shape":"EntityName"},
        "MLModelId":{"shape":"EntityId"},
        "BatchPredictionDataSourceId":{"shape":"EntityId"},
        "OutputUri":{"shape":"S3Url"}
      }
    },
    "CreateBatchPredictionOutput":{
      "type":"structure",
      "members":{
        "BatchPredictionId":{"shape":"EntityId"}
      }
    },
    "CreateDataSourceFromRDSInput":{
      "type":"structure",
      "required":[
        "DataSourceId",
        "RDSData",
        "RoleARN"
      ],
      "members":{
        "DataSourceId":{"shape":"EntityId"},
        "DataSourceName":{"shape":"EntityName"},
        "RDSData":{"shape":"RDSDataSpec"},
        "RoleARN":{"shape":"RoleARN"},
        "ComputeStatistics":{"shape":"ComputeStatistics"}
      }
    },
    "CreateDataSourceFromRDSOutput":{
      "type":"structure",
      "members":{
        "DataSourceId":{"shape":"EntityId"}
      }
    },
    "CreateDataSourceFromRedshiftInput":{
      "type":"structure",
      "required":[
        "DataSourceId",
        "DataSpec",
        "RoleARN"
      ],
      "members":{
        "DataSourceId":{"shape":"EntityId"},
        "DataSourceName":{"shape":"EntityName"},
        "DataSpec":{"shape":"RedshiftDataSpec"},
        "RoleARN":{"shape":"RoleARN"},
        "ComputeStatistics":{"shape":"ComputeStatistics"}
      }
    },
    "CreateDataSourceFromRedshiftOutput":{
      "type":"structure",
      "members":{
        "DataSourceId":{"shape":"EntityId"}
      }
    },
    "CreateDataSourceFromS3Input":{
      "type":"structure",
      "required":[
        "DataSourceId",
        "DataSpec"
      ],
      "members":{
        "DataSourceId":{"shape":"EntityId"},
        "DataSourceName":{"shape":"EntityName"},
        "DataSpec":{"shape":"S3DataSpec"},
        "ComputeStatistics":{"shape":"ComputeStatistics"}
      }
    },
    "CreateDataSourceFromS3Output":{
      "type":"structure",
      "members":{
        "DataSourceId":{"shape":"EntityId"}
      }
    },
    "CreateEvaluationInput":{
      "type":"structure",
      "required":[
        "EvaluationId",
        "MLModelId",
        "EvaluationDataSourceId"
      ],
      "members":{
        "EvaluationId":{"shape":"EntityId"},
        "EvaluationName":{"shape":"EntityName"},
        "MLModelId":{"shape":"EntityId"},
        "EvaluationDataSourceId":{"shape":"EntityId"}
      }
    },
    "CreateEvaluationOutput":{
      "type":"structure",
      "members":{
        "EvaluationId":{"shape":"EntityId"}
      }
    },
    "CreateMLModelInput":{
      "type":"structure",
      "required":[
        "MLModelId",
        "MLModelType",
        "TrainingDataSourceId"
      ],
      "members":{
        "MLModelId":{"shape":"EntityId"},
        "MLModelName":{"shape":"EntityName"},
        "MLModelType":{"shape":"MLModelType"},
        "Parameters":{"shape":"TrainingParameters"},
        "TrainingDataSourceId":{"shape":"EntityId"},
        "Recipe":{"shape":"Recipe"},
        "RecipeUri":{"shape":"S3Url"}
      }
    },
    "CreateMLModelOutput":{
      "type":"structure",
      "members":{
        "MLModelId":{"shape":"EntityId"}
      }
    },
    "CreateRealtimeEndpointInput":{
      "type":"structure",
      "required":["MLModelId"],
      "members":{
        "MLModelId":{"shape":"EntityId"}
      }
    },
    "CreateRealtimeEndpointOutput":{
      "type":"structure",
      "members":{
        "MLModelId":{"shape":"EntityId"},
        "RealtimeEndpointInfo":{"shape":"RealtimeEndpointInfo"}
      }
    },
    "DataRearrangement":{"type":"string"},
    "DataSchema":{
      "type":"string",
      "max":131071
    },
    "DataSource":{
      "type":"structure",
      "members":{
        "DataSourceId":{"shape":"EntityId"},
        "DataLocationS3":{"shape":"S3Url"},
        "DataRearrangement":{"shape":"DataRearrangement"},
        "CreatedByIamUser":{"shape":"AwsUserArn"},
        "CreatedAt":{"shape":"EpochTime"},
        "LastUpdatedAt":{"shape":"EpochTime"},
        "DataSizeInBytes":{"shape":"LongType"},
        "NumberOfFiles":{"shape":"LongType"},
        "Name":{"shape":"EntityName"},
        "Status":{"shape":"EntityStatus"},
        "Message":{"shape":"Message"},
        "RedshiftMetadata":{"shape":"RedshiftMetadata"},
        "RDSMetadata":{"shape":"RDSMetadata"},
        "RoleARN":{"shape":"RoleARN"},
        "ComputeStatistics":{"shape":"ComputeStatistics"},
        "ComputeTime":{"shape":"LongType"},
        "FinishedAt":{"shape":"EpochTime"},
        "StartedAt":{"shape":"EpochTime"}
      }
    },
    "DataSourceFilterVariable":{
      "type":"string",
      "enum":[
        "CreatedAt",
        "LastUpdatedAt",
        "Status",
        "Name",
        "DataLocationS3",
        "IAMUser"
      ]
    },
    "DataSources":{
      "type":"list",
      "member":{"shape":"DataSource"}
    },
    "DeleteBatchPredictionInput":{
      "type":"structure",
      "required":["BatchPredictionId"],
      "members":{
        "BatchPredictionId":{"shape":"EntityId"}
      }
    },
    "DeleteBatchPredictionOutput":{
      "type":"structure",
      "members":{
        "BatchPredictionId":{"shape":"EntityId"}
      }
    },
    "DeleteDataSourceInput":{
      "type":"structure",
      "required":["DataSourceId"],
      "members":{
        "DataSourceId":{"shape":"EntityId"}
      }
    },
    "DeleteDataSourceOutput":{
      "type":"structure",
      "members":{
        "DataSourceId":{"shape":"EntityId"}
      }
    },
    "DeleteEvaluationInput":{
      "type":"structure",
      "required":["EvaluationId"],
      "members":{
        "EvaluationId":{"shape":"EntityId"}
      }
    },
    "DeleteEvaluationOutput":{
      "type":"structure",
      "members":{
        "EvaluationId":{"shape":"EntityId"}
      }
    },
    "DeleteMLModelInput":{
      "type":"structure",
      "required":["MLModelId"],
      "members":{
        "MLModelId":{"shape":"EntityId"}
      }
    },
    "DeleteMLModelOutput":{
      "type":"structure",
      "members":{
        "MLModelId":{"shape":"EntityId"}
      }
    },
    "DeleteRealtimeEndpointInput":{
      "type":"structure",
      "required":["MLModelId"],
      "members":{
        "MLModelId":{"shape":"EntityId"}
      }
    },
    "DeleteRealtimeEndpointOutput":{
      "type":"structure",
      "members":{
        "MLModelId":{"shape":"EntityId"},
        "RealtimeEndpointInfo":{"shape":"RealtimeEndpointInfo"}
      }
    },
    "DeleteTagsInput":{
      "type":"structure",
      "required":[
        "TagKeys",
        "ResourceId",
        "ResourceType"
      ],
      "members":{
        "TagKeys":{"shape":"TagKeyList"},
        "ResourceId":{"shape":"EntityId"},
        "ResourceType":{"shape":"TaggableResourceType"}
      }
    },
    "DeleteTagsOutput":{
      "type":"structure",
      "members":{
        "ResourceId":{"shape":"EntityId"},
        "ResourceType":{"shape":"TaggableResourceType"}
      }
    },
    "DescribeBatchPredictionsInput":{
      "type":"structure",
      "members":{
        "FilterVariable":{"shape":"BatchPredictionFilterVariable"},
        "EQ":{"shape":"ComparatorValue"},
        "GT":{"shape":"ComparatorValue"},
        "LT":{"shape":"ComparatorValue"},
        "GE":{"shape":"ComparatorValue"},
        "LE":{"shape":"ComparatorValue"},
        "NE":{"shape":"ComparatorValue"},
        "Prefix":{"shape":"ComparatorValue"},
        "SortOrder":{"shape":"SortOrder"},
        "NextToken":{"shape":"StringType"},
        "Limit":{"shape":"PageLimit"}
      }
    },
    "DescribeBatchPredictionsOutput":{
      "type":"structure",
      "members":{
        "Results":{"shape":"BatchPredictions"},
        "NextToken":{"shape":"StringType"}
      }
    },
    "DescribeDataSourcesInput":{
      "type":"structure",
      "members":{
        "FilterVariable":{"shape":"DataSourceFilterVariable"},
        "EQ":{"shape":"ComparatorValue"},
        "GT":{"shape":"ComparatorValue"},
        "LT":{"shape":"ComparatorValue"},
        "GE":{"shape":"ComparatorValue"},
        "LE":{"shape":"ComparatorValue"},
        "NE":{"shape":"ComparatorValue"},
        "Prefix":{"shape":"ComparatorValue"},
        "SortOrder":{"shape":"SortOrder"},
        "NextToken":{"shape":"StringType"},
        "Limit":{"shape":"PageLimit"}
      }
    },
    "DescribeDataSourcesOutput":{
      "type":"structure",
      "members":{
        "Results":{"shape":"DataSources"},
        "NextToken":{"shape":"StringType"}
      }
    },
    "DescribeEvaluationsInput":{
      "type":"structure",
      "members":{
        "FilterVariable":{"shape":"EvaluationFilterVariable"},
        "EQ":{"shape":"ComparatorValue"},
        "GT":{"shape":"ComparatorValue"},
        "LT":{"shape":"ComparatorValue"},
        "GE":{"shape":"ComparatorValue"},
        "LE":{"shape":"ComparatorValue"},
        "NE":{"shape":"ComparatorValue"},
        "Prefix":{"shape":"ComparatorValue"},
        "SortOrder":{"shape":"SortOrder"},
        "NextToken":{"shape":"StringType"},
        "Limit":{"shape":"PageLimit"}
      }
    },
    "DescribeEvaluationsOutput":{
      "type":"structure",
      "members":{
        "Results":{"shape":"Evaluations"},
        "NextToken":{"shape":"StringType"}
      }
    },
    "DescribeMLModelsInput":{
      "type":"structure",
      "members":{
        "FilterVariable":{"shape":"MLModelFilterVariable"},
        "EQ":{"shape":"ComparatorValue"},
        "GT":{"shape":"ComparatorValue"},
        "LT":{"shape":"ComparatorValue"},
        "GE":{"shape":"ComparatorValue"},
        "LE":{"shape":"ComparatorValue"},
        "NE":{"shape":"ComparatorValue"},
        "Prefix":{"shape":"ComparatorValue"},
        "SortOrder":{"shape":"SortOrder"},
        "NextToken":{"shape":"StringType"},
        "Limit":{"shape":"PageLimit"}
      }
    },
    "DescribeMLModelsOutput":{
      "type":"structure",
      "members":{
        "Results":{"shape":"MLModels"},
        "NextToken":{"shape":"StringType"}
      }
    },
    "DescribeTagsInput":{
      "type":"structure",
      "required":[
        "ResourceId",
        "ResourceType"
      ],
      "members":{
        "ResourceId":{"shape":"EntityId"},
        "ResourceType":{"shape":"TaggableResourceType"}
      }
    },
    "DescribeTagsOutput":{
      "type":"structure",
      "members":{
        "ResourceId":{"shape":"EntityId"},
        "ResourceType":{"shape":"TaggableResourceType"},
        "Tags":{"shape":"TagList"}
      }
    },
    "DetailsAttributes":{
      "type":"string",
      "enum":[
        "PredictiveModelType",
        "Algorithm"
      ]
    },
    "DetailsMap":{
      "type":"map",
      "key":{"shape":"DetailsAttributes"},
      "value":{"shape":"DetailsValue"}
    },
    "DetailsValue":{
      "type":"string",
      "min":1
    },
    "EDPPipelineId":{
      "type":"string",
      "min":1,
      "max":1024
    },
    "EDPResourceRole":{
      "type":"string",
      "min":1,
      "max":64
    },
    "EDPSecurityGroupId":{
      "type":"string",
      "min":1,
      "max":255
    },
    "EDPSecurityGroupIds":{
      "type":"list",
      "member":{"shape":"EDPSecurityGroupId"}
    },
    "EDPServiceRole":{
      "type":"string",
      "min":1,
      "max":64
    },
    "EDPSubnetId":{
      "type":"string",
      "min":1,
      "max":255
    },
    "EntityId":{
      "type":"string",
      "min":1,
      "max":64,
      "pattern":"[a-zA-Z0-9_.-]+"
    },
    "EntityName":{
      "type":"string",
      "max":1024,
      "pattern":".*\\S.*|^$"
    },
    "EntityStatus":{
      "type":"string",
      "enum":[
        "PENDING",
        "INPROGRESS",
        "FAILED",
        "COMPLETED",
        "DELETED"
      ]
    },
    "EpochTime":{"type":"timestamp"},
    "ErrorCode":{"type":"integer"},
    "ErrorMessage":{
      "type":"string",
      "max":2048
    },
    "Evaluation":{
      "type":"structure",
      "members":{
        "EvaluationId":{"shape":"EntityId"},
        "MLModelId":{"shape":"EntityId"},
        "EvaluationDataSourceId":{"shape":"EntityId"},
        "InputDataLocationS3":{"shape":"S3Url"},
        "CreatedByIamUser":{"shape":"AwsUserArn"},
        "CreatedAt":{"shape":"EpochTime"},
        "LastUpdatedAt":{"shape":"EpochTime"},
        "Name":{"shape":"EntityName"},
        "Status":{"shape":"EntityStatus"},
        "PerformanceMetrics":{"shape":"PerformanceMetrics"},
        "Message":{"shape":"Message"},
        "ComputeTime":{"shape":"LongType"},
        "FinishedAt":{"shape":"EpochTime"},
        "StartedAt":{"shape":"EpochTime"}
      }
    },
    "EvaluationFilterVariable":{
      "type":"string",
      "enum":[
        "CreatedAt",
        "LastUpdatedAt",
        "Status",
        "Name",
        "IAMUser",
        "MLModelId",
        "DataSourceId",
        "DataURI"
      ]
    },
    "Evaluations":{
      "type":"list",
      "member":{"shape":"Evaluation"}
    },
    "GetBatchPredictionInput":{
      "type":"structure",
      "required":["BatchPredictionId"],
      "members":{
        "BatchPredictionId":{"shape":"EntityId"}
      }
    },
    "GetBatchPredictionOutput":{
      "type":"structure",
      "members":{
        "BatchPredictionId":{"shape":"EntityId"},
        "MLModelId":{"shape":"EntityId"},
        "BatchPredictionDataSourceId":{"shape":"EntityId"},
        "InputDataLocationS3":{"shape":"S3Url"},
        "CreatedByIamUser":{"shape":"AwsUserArn"},
        "CreatedAt":{"shape":"EpochTime"},
        "LastUpdatedAt":{"shape":"EpochTime"},
        "Name":{"shape":"EntityName"},
        "Status":{"shape":"EntityStatus"},
        "OutputUri":{"shape":"S3Url"},
        "LogUri":{"shape":"PresignedS3Url"},
        "Message":{"shape":"Message"},
        "ComputeTime":{"shape":"LongType"},
        "FinishedAt":{"shape":"EpochTime"},
        "StartedAt":{"shape":"EpochTime"},
        "TotalRecordCount":{"shape":"LongType"},
        "InvalidRecordCount":{"shape":"LongType"}
      }
    },
    "GetDataSourceInput":{
      "type":"structure",
      "required":["DataSourceId"],
      "members":{
        "DataSourceId":{"shape":"EntityId"},
        "Verbose":{"shape":"Verbose"}
      }
    },
    "GetDataSourceOutput":{
      "type":"structure",
      "members":{
        "DataSourceId":{"shape":"EntityId"},
        "DataLocationS3":{"shape":"S3Url"},
        "DataRearrangement":{"shape":"DataRearrangement"},
        "CreatedByIamUser":{"shape":"AwsUserArn"},
        "CreatedAt":{"shape":"EpochTime"},
        "LastUpdatedAt":{"shape":"EpochTime"},
        "DataSizeInBytes":{"shape":"LongType"},
        "NumberOfFiles":{"shape":"LongType"},
        "Name":{"shape":"EntityName"},
        "Status":{"shape":"EntityStatus"},
        "LogUri":{"shape":"PresignedS3Url"},
        "Message":{"shape":"Message"},
        "RedshiftMetadata":{"shape":"RedshiftMetadata"},
        "RDSMetadata":{"shape":"RDSMetadata"},
        "RoleARN":{"shape":"RoleARN"},
        "ComputeStatistics":{"shape":"ComputeStatistics"},
        "ComputeTime":{"shape":"LongType"},
        "FinishedAt":{"shape":"EpochTime"},
        "StartedAt":{"shape":"EpochTime"},
        "DataSourceSchema":{"shape":"DataSchema"}
      }
    },
    "GetEvaluationInput":{
      "type":"structure",
      "required":["EvaluationId"],
      "members":{
        "EvaluationId":{"shape":"EntityId"}
      }
    },
    "GetEvaluationOutput":{
      "type":"structure",
      "members":{
        "EvaluationId":{"shape":"EntityId"},
        "MLModelId":{"shape":"EntityId"},
        "EvaluationDataSourceId":{"shape":"EntityId"},
        "InputDataLocationS3":{"shape":"S3Url"},
        "CreatedByIamUser":{"shape":"AwsUserArn"},
        "CreatedAt":{"shape":"EpochTime"},
        "LastUpdatedAt":{"shape":"EpochTime"},
        "Name":{"shape":"EntityName"},
        "Status":{"shape":"EntityStatus"},
        "PerformanceMetrics":{"shape":"PerformanceMetrics"},
        "LogUri":{"shape":"PresignedS3Url"},
        "Message":{"shape":"Message"},
        "ComputeTime":{"shape":"LongType"},
        "FinishedAt":{"shape":"EpochTime"},
        "StartedAt":{"shape":"EpochTime"}
      }
    },
    "GetMLModelInput":{
      "type":"structure",
      "required":["MLModelId"],
      "members":{
        "MLModelId":{"shape":"EntityId"},
        "Verbose":{"shape":"Verbose"}
      }
    },
    "GetMLModelOutput":{
      "type":"structure",
      "members":{
        "MLModelId":{"shape":"EntityId"},
        "TrainingDataSourceId":{"shape":"EntityId"},
        "CreatedByIamUser":{"shape":"AwsUserArn"},
        "CreatedAt":{"shape":"EpochTime"},
        "LastUpdatedAt":{"shape":"EpochTime"},
        "Name":{"shape":"MLModelName"},
        "Status":{"shape":"EntityStatus"},
        "SizeInBytes":{"shape":"LongType"},
        "EndpointInfo":{"shape":"RealtimeEndpointInfo"},
        "TrainingParameters":{"shape":"TrainingParameters"},
        "InputDataLocationS3":{"shape":"S3Url"},
        "MLModelType":{"shape":"MLModelType"},
        "ScoreThreshold":{"shape":"ScoreThreshold"},
        "ScoreThresholdLastUpdatedAt":{"shape":"EpochTime"},
        "LogUri":{"shape":"PresignedS3Url"},
        "Message":{"shape":"Message"},
        "ComputeTime":{"shape":"LongType"},
        "FinishedAt":{"shape":"EpochTime"},
        "StartedAt":{"shape":"EpochTime"},
        "Recipe":{"shape":"Recipe"},
        "Schema":{"shape":"DataSchema"}
      }
    },
    "IdempotentParameterMismatchException":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"},
        "code":{"shape":"ErrorCode"}
      },
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "IntegerType":{"type":"integer"},
    "InternalServerException":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"},
        "code":{"shape":"ErrorCode"}
      },
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true
    },
    "InvalidInputException":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"},
        "code":{"shape":"ErrorCode"}
      },
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "InvalidTagException":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"}
      },
      "exception":true
    },
    "Label":{
      "type":"string",
      "min":1
    },
    "LimitExceededException":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"},
        "code":{"shape":"ErrorCode"}
      },
      "error":{"httpStatusCode":417},
      "exception":true
    },
    "LongType":{"type":"long"},
    "MLModel":{
      "type":"structure",
      "members":{
        "MLModelId":{"shape":"EntityId"},
        "TrainingDataSourceId":{"shape":"EntityId"},
        "CreatedByIamUser":{"shape":"AwsUserArn"},
        "CreatedAt":{"shape":"EpochTime"},
        "LastUpdatedAt":{"shape":"EpochTime"},
        "Name":{"shape":"MLModelName"},
        "Status":{"shape":"EntityStatus"},
        "SizeInBytes":{"shape":"LongType"},
        "EndpointInfo":{"shape":"RealtimeEndpointInfo"},
        "TrainingParameters":{"shape":"TrainingParameters"},
        "InputDataLocationS3":{"shape":"S3Url"},
        "Algorithm":{"shape":"Algorithm"},
        "MLModelType":{"shape":"MLModelType"},
        "ScoreThreshold":{"shape":"ScoreThreshold"},
        "ScoreThresholdLastUpdatedAt":{"shape":"EpochTime"},
        "Message":{"shape":"Message"},
        "ComputeTime":{"shape":"LongType"},
        "FinishedAt":{"shape":"EpochTime"},
        "StartedAt":{"shape":"EpochTime"}
      }
    },
    "MLModelFilterVariable":{
      "type":"string",
      "enum":[
        "CreatedAt",
        "LastUpdatedAt",
        "Status",
        "Name",
        "IAMUser",
        "TrainingDataSourceId",
        "RealtimeEndpointStatus",
        "MLModelType",
        "Algorithm",
        "TrainingDataURI"
      ]
    },
    "MLModelName":{
      "type":"string",
      "max":1024
    },
    "MLModelType":{
      "type":"string",
      "enum":[
        "REGRESSION",
        "BINARY",
        "MULTICLASS"
      ]
    },
    "MLModels":{
      "type":"list",
      "member":{"shape":"MLModel"}
    },
    "Message":{
      "type":"string",
      "max":10240
    },
    "PageLimit":{
      "type":"integer",
      "min":1,
      "max":100
    },
    "PerformanceMetrics":{
      "type":"structure",
      "members":{
        "Properties":{"shape":"PerformanceMetricsProperties"}
      }
    },
    "PerformanceMetricsProperties":{
      "type":"map",
      "key":{"shape":"PerformanceMetricsPropertyKey"},
      "value":{"shape":"PerformanceMetricsPropertyValue"}
    },
    "PerformanceMetricsPropertyKey":{"type":"string"},
    "PerformanceMetricsPropertyValue":{"type":"string"},
    "PredictInput":{
      "type":"structure",
      "required":[
        "MLModelId",
        "Record",
        "PredictEndpoint"
      ],
      "members":{
        "MLModelId":{"shape":"EntityId"},
        "Record":{"shape":"Record"},
        "PredictEndpoint":{"shape":"VipURL"}
      }
    },
    "PredictOutput":{
      "type":"structure",
      "members":{
        "Prediction":{"shape":"Prediction"}
      }
    },
    "Prediction":{
      "type":"structure",
      "members":{
        "predictedLabel":{"shape":"Label"},
        "predictedValue":{"shape":"floatLabel"},
        "predictedScores":{"shape":"ScoreValuePerLabelMap"},
        "details":{"shape":"DetailsMap"}
      }
    },
    "PredictorNotMountedException":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"}
      },
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "PresignedS3Url":{"type":"string"},
    "RDSDataSpec":{
      "type":"structure",
      "required":[
        "DatabaseInformation",
        "SelectSqlQuery",
        "DatabaseCredentials",
        "S3StagingLocation",
        "ResourceRole",
        "ServiceRole",
        "SubnetId",
        "SecurityGroupIds"
      ],
      "members":{
        "DatabaseInformation":{"shape":"RDSDatabase"},
        "SelectSqlQuery":{"shape":"RDSSelectSqlQuery"},
        "DatabaseCredentials":{"shape":"RDSDatabaseCredentials"},
        "S3StagingLocation":{"shape":"S3Url"},
        "DataRearrangement":{"shape":"DataRearrangement"},
        "DataSchema":{"shape":"DataSchema"},
        "DataSchemaUri":{"shape":"S3Url"},
        "ResourceRole":{"shape":"EDPResourceRole"},
        "ServiceRole":{"shape":"EDPServiceRole"},
        "SubnetId":{"shape":"EDPSubnetId"},
        "SecurityGroupIds":{"shape":"EDPSecurityGroupIds"}
      }
    },
    "RDSDatabase":{
      "type":"structure",
      "required":[
        "InstanceIdentifier",
        "DatabaseName"
      ],
      "members":{
        "InstanceIdentifier":{"shape":"RDSInstanceIdentifier"},
        "DatabaseName":{"shape":"RDSDatabaseName"}
      }
    },
    "RDSDatabaseCredentials":{
      "type":"structure",
      "required":[
        "Username",
        "Password"
      ],
      "members":{
        "Username":{"shape":"RDSDatabaseUsername"},
        "Password":{"shape":"RDSDatabasePassword"}
      }
    },
    "RDSDatabaseName":{
      "type":"string",
      "min":1,
      "max":64
    },
    "RDSDatabasePassword":{
      "type":"string",
      "min":8,
      "max":128
    },
    "RDSDatabaseUsername":{
      "type":"string",
      "min":1,
      "max":128
    },
    "RDSInstanceIdentifier":{
      "type":"string",
      "min":1,
      "max":63,
      "pattern":"[a-z0-9-]+"
    },
    "RDSMetadata":{
      "type":"structure",
      "members":{
        "Database":{"shape":"RDSDatabase"},
        "DatabaseUserName":{"shape":"RDSDatabaseUsername"},
        "SelectSqlQuery":{"shape":"RDSSelectSqlQuery"},
        "ResourceRole":{"shape":"EDPResourceRole"},
        "ServiceRole":{"shape":"EDPServiceRole"},
        "DataPipelineId":{"shape":"EDPPipelineId"}
      }
    },
    "RDSSelectSqlQuery":{
      "type":"string",
      "min":1,
      "max":16777216
    },
    "RealtimeEndpointInfo":{
      "type":"structure",
      "members":{
        "PeakRequestsPerSecond":{"shape":"IntegerType"},
        "CreatedAt":{"shape":"EpochTime"},
        "EndpointUrl":{"shape":"VipURL"},
        "EndpointStatus":{"shape":"RealtimeEndpointStatus"}
      }
    },
    "RealtimeEndpointStatus":{
      "type":"string",
      "enum":[
        "NONE",
        "READY",
        "UPDATING",
        "FAILED"
      ]
    },
    "Recipe":{
      "type":"string",
      "max":131071
    },
    "Record":{
      "type":"map",
      "key":{"shape":"VariableName"},
      "value":{"shape":"VariableValue"}
    },
    "RedshiftClusterIdentifier":{
      "type":"string",
      "min":1,
      "max":63,
      "pattern":"[a-z0-9-]+"
    },
    "RedshiftDataSpec":{
      "type":"structure",
      "required":[
        "DatabaseInformation",
        "SelectSqlQuery",
        "DatabaseCredentials",
        "S3StagingLocation"
      ],
      "members":{
        "DatabaseInformation":{"shape":"RedshiftDatabase"},
        "SelectSqlQuery":{"shape":"RedshiftSelectSqlQuery"},
        "DatabaseCredentials":{"shape":"RedshiftDatabaseCredentials"},
        "S3StagingLocation":{"shape":"S3Url"},
        "DataRearrangement":{"shape":"DataRearrangement"},
        "DataSchema":{"shape":"DataSchema"},
        "DataSchemaUri":{"shape":"S3Url"}
      }
    },
    "RedshiftDatabase":{
      "type":"structure",
      "required":[
        "DatabaseName",
        "ClusterIdentifier"
      ],
      "members":{
        "DatabaseName":{"shape":"RedshiftDatabaseName"},
        "ClusterIdentifier":{"shape":"RedshiftClusterIdentifier"}
      }
    },
    "RedshiftDatabaseCredentials":{
      "type":"structure",
      "required":[
        "Username",
        "Password"
      ],
      "members":{
        "Username":{"shape":"RedshiftDatabaseUsername"},
        "Password":{"shape":"RedshiftDatabasePassword"}
      }
    },
    "RedshiftDatabaseName":{
      "type":"string",
      "min":1,
      "max":64,
      "pattern":"[a-z0-9]+"
    },
    "RedshiftDatabasePassword":{
      "type":"string",
      "min":8,
      "max":64
    },
    "RedshiftDatabaseUsername":{
      "type":"string",
      "min":1,
      "max":128
    },
    "RedshiftMetadata":{
      "type":"structure",
      "members":{
        "RedshiftDatabase":{"shape":"RedshiftDatabase"},
        "DatabaseUserName":{"shape":"RedshiftDatabaseUsername"},
        "SelectSqlQuery":{"shape":"RedshiftSelectSqlQuery"}
      }
    },
    "RedshiftSelectSqlQuery":{
      "type":"string",
      "min":1,
      "max":16777216
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"},
        "code":{"shape":"ErrorCode"}
      },
      "error":{"httpStatusCode":404},
      "exception":true
    },
    "RoleARN":{
      "type":"string",
      "min":1,
      "max":110
    },
    "S3DataSpec":{
      "type":"structure",
      "required":["DataLocationS3"],
      "members":{
        "DataLocationS3":{"shape":"S3Url"},
        "DataRearrangement":{"shape":"DataRearrangement"},
        "DataSchema":{"shape":"DataSchema"},
        "DataSchemaLocationS3":{"shape":"S3Url"}
      }
    },
    "S3Url":{
      "type":"string",
      "max":2048,
      "pattern":"s3://([^/]+)(/.*)?"
    },
    "ScoreThreshold":{"type":"float"},
    "ScoreValue":{"type":"float"},
    "ScoreValuePerLabelMap":{
      "type":"map",
      "key":{"shape":"Label"},
      "value":{"shape":"ScoreValue"}
    },
    "SortOrder":{
      "type":"string",
      "enum":[
        "asc",
        "dsc"
      ]
    },
    "StringType":{"type":"string"},
    "Tag":{
      "type":"structure",
      "members":{
        "Key":{"shape":"TagKey"},
        "Value":{"shape":"TagValue"}
      }
    },
    "TagKey":{
      "type":"string",
      "min":1,
      "max":128,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"},
      "max":100
    },
    "TagLimitExceededException":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"}
      },
      "exception":true
    },
    "TagList":{
      "type":"list",
      "member":{"shape":"Tag"},
      "max":100
    },
    "TagValue":{
      "type":"string",
      "min":0,
      "max":256,
      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
    },
    "TaggableResourceType":{
      "type":"string",
      "enum":[
        "BatchPrediction",
        "DataSource",
        "Evaluation",
        "MLModel"
      ]
    },
    "TrainingParameters":{
      "type":"map",
      "key":{"shape":"StringType"},
      "value":{"shape":"StringType"}
    },
    "UpdateBatchPredictionInput":{
      "type":"structure",
      "required":[
        "BatchPredictionId",
        "BatchPredictionName"
      ],
      "members":{
        "BatchPredictionId":{"shape":"EntityId"},
        "BatchPredictionName":{"shape":"EntityName"}
      }
    },
    "UpdateBatchPredictionOutput":{
      "type":"structure",
      "members":{
        "BatchPredictionId":{"shape":"EntityId"}
      }
    },
    "UpdateDataSourceInput":{
      "type":"structure",
      "required":[
        "DataSourceId",
        "DataSourceName"
      ],
      "members":{
        "DataSourceId":{"shape":"EntityId"},
        "DataSourceName":{"shape":"EntityName"}
      }
    },
    "UpdateDataSourceOutput":{
      "type":"structure",
      "members":{
        "DataSourceId":{"shape":"EntityId"}
      }
    },
    "UpdateEvaluationInput":{
      "type":"structure",
      "required":[
        "EvaluationId",
        "EvaluationName"
      ],
      "members":{
        "EvaluationId":{"shape":"EntityId"},
        "EvaluationName":{"shape":"EntityName"}
      }
    },
    "UpdateEvaluationOutput":{
      "type":"structure",
      "members":{
        "EvaluationId":{"shape":"EntityId"}
      }
    },
    "UpdateMLModelInput":{
      "type":"structure",
      "required":["MLModelId"],
      "members":{
        "MLModelId":{"shape":"EntityId"},
        "MLModelName":{"shape":"EntityName"},
        "ScoreThreshold":{"shape":"ScoreThreshold"}
      }
    },
    "UpdateMLModelOutput":{
      "type":"structure",
      "members":{
        "MLModelId":{"shape":"EntityId"}
      }
    },
    "VariableName":{"type":"string"},
    "VariableValue":{"type":"string"},
    "Verbose":{"type":"boolean"},
    "VipURL":{
      "type":"string",
      "max":2048,
      "pattern":"https://[a-zA-Z0-9-.]*\\.amazon(aws)?\\.com[/]?"
    },
    "floatLabel":{"type":"float"}
  }
}
