'2.0', 'metadata' => [ 'apiVersion' => '2020-11-20', 'endpointPrefix' => 'lookoutvision', 'jsonVersion' => '1.1', 'protocol' => 'rest-json', 'serviceFullName' => 'Amazon Lookout for Vision', 'serviceId' => 'LookoutVision', 'signatureVersion' => 'v4', 'signingName' => 'lookoutvision', 'uid' => 'lookoutvision-2020-11-20', ], 'operations' => [ 'CreateDataset' => [ 'name' => 'CreateDataset', 'http' => [ 'method' => 'POST', 'requestUri' => '/2020-11-20/projects/{projectName}/datasets', 'responseCode' => 202, ], 'input' => [ 'shape' => 'CreateDatasetRequest', ], 'output' => [ 'shape' => 'CreateDatasetResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ServiceQuotaExceededException', ], ], ], 'CreateModel' => [ 'name' => 'CreateModel', 'http' => [ 'method' => 'POST', 'requestUri' => '/2020-11-20/projects/{projectName}/models', 'responseCode' => 202, ], 'input' => [ 'shape' => 'CreateModelRequest', ], 'output' => [ 'shape' => 'CreateModelResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ServiceQuotaExceededException', ], ], ], 'CreateProject' => [ 'name' => 'CreateProject', 'http' => [ 'method' => 'POST', 'requestUri' => '/2020-11-20/projects', ], 'input' => [ 'shape' => 'CreateProjectRequest', ], 'output' => [ 'shape' => 'CreateProjectResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ServiceQuotaExceededException', ], ], ], 'DeleteDataset' => [ 'name' => 'DeleteDataset', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/2020-11-20/projects/{projectName}/datasets/{datasetType}', 'responseCode' => 202, ], 'input' => [ 'shape' => 'DeleteDatasetRequest', ], 'output' => [ 'shape' => 'DeleteDatasetResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'DeleteModel' => [ 'name' => 'DeleteModel', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/2020-11-20/projects/{projectName}/models/{modelVersion}', 'responseCode' => 202, ], 'input' => [ 'shape' => 'DeleteModelRequest', ], 'output' => [ 'shape' => 'DeleteModelResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'DeleteProject' => [ 'name' => 'DeleteProject', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/2020-11-20/projects/{projectName}', ], 'input' => [ 'shape' => 'DeleteProjectRequest', ], 'output' => [ 'shape' => 'DeleteProjectResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'DescribeDataset' => [ 'name' => 'DescribeDataset', 'http' => [ 'method' => 'GET', 'requestUri' => '/2020-11-20/projects/{projectName}/datasets/{datasetType}', ], 'input' => [ 'shape' => 'DescribeDatasetRequest', ], 'output' => [ 'shape' => 'DescribeDatasetResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'DescribeModel' => [ 'name' => 'DescribeModel', 'http' => [ 'method' => 'GET', 'requestUri' => '/2020-11-20/projects/{projectName}/models/{modelVersion}', ], 'input' => [ 'shape' => 'DescribeModelRequest', ], 'output' => [ 'shape' => 'DescribeModelResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'DescribeProject' => [ 'name' => 'DescribeProject', 'http' => [ 'method' => 'GET', 'requestUri' => '/2020-11-20/projects/{projectName}', ], 'input' => [ 'shape' => 'DescribeProjectRequest', ], 'output' => [ 'shape' => 'DescribeProjectResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'DetectAnomalies' => [ 'name' => 'DetectAnomalies', 'http' => [ 'method' => 'POST', 'requestUri' => '/2020-11-20/projects/{projectName}/models/{modelVersion}/detect', ], 'input' => [ 'shape' => 'DetectAnomaliesRequest', ], 'output' => [ 'shape' => 'DetectAnomaliesResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListDatasetEntries' => [ 'name' => 'ListDatasetEntries', 'http' => [ 'method' => 'GET', 'requestUri' => '/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries', ], 'input' => [ 'shape' => 'ListDatasetEntriesRequest', ], 'output' => [ 'shape' => 'ListDatasetEntriesResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListModels' => [ 'name' => 'ListModels', 'http' => [ 'method' => 'GET', 'requestUri' => '/2020-11-20/projects/{projectName}/models', ], 'input' => [ 'shape' => 'ListModelsRequest', ], 'output' => [ 'shape' => 'ListModelsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListProjects' => [ 'name' => 'ListProjects', 'http' => [ 'method' => 'GET', 'requestUri' => '/2020-11-20/projects', ], 'input' => [ 'shape' => 'ListProjectsRequest', ], 'output' => [ 'shape' => 'ListProjectsResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'StartModel' => [ 'name' => 'StartModel', 'http' => [ 'method' => 'POST', 'requestUri' => '/2020-11-20/projects/{projectName}/models/{modelVersion}/start', 'responseCode' => 202, ], 'input' => [ 'shape' => 'StartModelRequest', ], 'output' => [ 'shape' => 'StartModelResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], [ 'shape' => 'ServiceQuotaExceededException', ], ], ], 'StopModel' => [ 'name' => 'StopModel', 'http' => [ 'method' => 'POST', 'requestUri' => '/2020-11-20/projects/{projectName}/models/{modelVersion}/stop', 'responseCode' => 202, ], 'input' => [ 'shape' => 'StopModelRequest', ], 'output' => [ 'shape' => 'StopModelResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'UpdateDatasetEntries' => [ 'name' => 'UpdateDatasetEntries', 'http' => [ 'method' => 'PATCH', 'requestUri' => '/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries', 'responseCode' => 202, ], 'input' => [ 'shape' => 'UpdateDatasetEntriesRequest', ], 'output' => [ 'shape' => 'UpdateDatasetEntriesResponse', ], 'errors' => [ [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], ], 'shapes' => [ 'AccessDeniedException' => [ 'type' => 'structure', 'required' => [ 'Message', ], 'members' => [ 'Message' => [ 'shape' => 'ExceptionString', ], ], 'error' => [ 'httpStatusCode' => 403, ], 'exception' => true, ], 'AnomalyClassFilter' => [ 'type' => 'string', 'max' => 10, 'min' => 1, 'pattern' => '(normal|anomaly)', ], 'Boolean' => [ 'type' => 'boolean', ], 'ClientToken' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '^[a-zA-Z0-9-]+$', ], 'ConflictException' => [ 'type' => 'structure', 'required' => [ 'Message', 'ResourceId', 'ResourceType', ], 'members' => [ 'Message' => [ 'shape' => 'ExceptionString', ], 'ResourceId' => [ 'shape' => 'ExceptionString', ], 'ResourceType' => [ 'shape' => 'ResourceType', ], ], 'error' => [ 'httpStatusCode' => 409, ], 'exception' => true, ], 'ContentType' => [ 'type' => 'string', 'max' => 255, 'min' => 1, 'pattern' => '.*', ], 'CreateDatasetRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'DatasetType', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'DatasetType' => [ 'shape' => 'DatasetType', ], 'DatasetSource' => [ 'shape' => 'DatasetSource', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], ], ], 'CreateDatasetResponse' => [ 'type' => 'structure', 'members' => [ 'DatasetMetadata' => [ 'shape' => 'DatasetMetadata', ], ], ], 'CreateModelRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'OutputConfig', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'Description' => [ 'shape' => 'ModelDescription', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], 'OutputConfig' => [ 'shape' => 'OutputConfig', ], 'KmsKeyId' => [ 'shape' => 'KmsKeyId', ], ], ], 'CreateModelResponse' => [ 'type' => 'structure', 'members' => [ 'ModelMetadata' => [ 'shape' => 'ModelMetadata', ], ], ], 'CreateProjectRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], ], ], 'CreateProjectResponse' => [ 'type' => 'structure', 'members' => [ 'ProjectMetadata' => [ 'shape' => 'ProjectMetadata', ], ], ], 'DatasetChanges' => [ 'type' => 'blob', 'max' => 10485760, 'min' => 1, ], 'DatasetDescription' => [ 'type' => 'structure', 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', ], 'DatasetType' => [ 'shape' => 'DatasetType', ], 'CreationTimestamp' => [ 'shape' => 'DateTime', ], 'LastUpdatedTimestamp' => [ 'shape' => 'DateTime', ], 'Status' => [ 'shape' => 'DatasetStatus', ], 'StatusMessage' => [ 'shape' => 'DatasetStatusMessage', ], 'ImageStats' => [ 'shape' => 'DatasetImageStats', ], ], ], 'DatasetEntry' => [ 'type' => 'string', 'max' => 8192, 'min' => 2, 'pattern' => '^\\{.*\\}$', ], 'DatasetEntryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'DatasetEntry', ], ], 'DatasetGroundTruthManifest' => [ 'type' => 'structure', 'members' => [ 'S3Object' => [ 'shape' => 'InputS3Object', ], ], ], 'DatasetImageStats' => [ 'type' => 'structure', 'members' => [ 'Total' => [ 'shape' => 'Integer', ], 'Labeled' => [ 'shape' => 'Integer', ], 'Normal' => [ 'shape' => 'Integer', ], 'Anomaly' => [ 'shape' => 'Integer', ], ], ], 'DatasetMetadata' => [ 'type' => 'structure', 'members' => [ 'DatasetType' => [ 'shape' => 'DatasetType', ], 'CreationTimestamp' => [ 'shape' => 'DateTime', ], 'Status' => [ 'shape' => 'DatasetStatus', ], 'StatusMessage' => [ 'shape' => 'DatasetStatusMessage', ], ], ], 'DatasetMetadataList' => [ 'type' => 'list', 'member' => [ 'shape' => 'DatasetMetadata', ], ], 'DatasetSource' => [ 'type' => 'structure', 'members' => [ 'GroundTruthManifest' => [ 'shape' => 'DatasetGroundTruthManifest', ], ], ], 'DatasetStatus' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'CREATE_COMPLETE', 'CREATE_FAILED', 'UPDATE_IN_PROGRESS', 'UPDATE_COMPLETE', 'UPDATE_FAILED_ROLLBACK_IN_PROGRESS', 'UPDATE_FAILED_ROLLBACK_COMPLETE', 'DELETE_IN_PROGRESS', 'DELETE_COMPLETE', 'DELETE_FAILED', ], ], 'DatasetStatusMessage' => [ 'type' => 'string', ], 'DatasetType' => [ 'type' => 'string', 'max' => 10, 'min' => 1, 'pattern' => 'train|test', ], 'DateTime' => [ 'type' => 'timestamp', ], 'DeleteDatasetRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'DatasetType', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'DatasetType' => [ 'shape' => 'DatasetType', 'location' => 'uri', 'locationName' => 'datasetType', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], ], ], 'DeleteDatasetResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteModelRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'ModelVersion', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'ModelVersion' => [ 'shape' => 'ModelVersion', 'location' => 'uri', 'locationName' => 'modelVersion', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], ], ], 'DeleteModelResponse' => [ 'type' => 'structure', 'members' => [ 'ModelArn' => [ 'shape' => 'ModelArn', ], ], ], 'DeleteProjectRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], ], ], 'DeleteProjectResponse' => [ 'type' => 'structure', 'members' => [ 'ProjectArn' => [ 'shape' => 'ProjectArn', ], ], ], 'DescribeDatasetRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'DatasetType', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'DatasetType' => [ 'shape' => 'DatasetType', 'location' => 'uri', 'locationName' => 'datasetType', ], ], ], 'DescribeDatasetResponse' => [ 'type' => 'structure', 'members' => [ 'DatasetDescription' => [ 'shape' => 'DatasetDescription', ], ], ], 'DescribeModelRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'ModelVersion', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'ModelVersion' => [ 'shape' => 'ModelVersion', 'location' => 'uri', 'locationName' => 'modelVersion', ], ], ], 'DescribeModelResponse' => [ 'type' => 'structure', 'members' => [ 'ModelDescription' => [ 'shape' => 'ModelDescription', ], ], ], 'DescribeProjectRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], ], ], 'DescribeProjectResponse' => [ 'type' => 'structure', 'members' => [ 'ProjectDescription' => [ 'shape' => 'ProjectDescription', ], ], ], 'DetectAnomaliesRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'ModelVersion', 'Body', 'ContentType', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'ModelVersion' => [ 'shape' => 'ModelVersion', 'location' => 'uri', 'locationName' => 'modelVersion', ], 'Body' => [ 'shape' => 'Stream', ], 'ContentType' => [ 'shape' => 'ContentType', 'location' => 'header', 'locationName' => 'content-type', ], ], 'payload' => 'Body', ], 'DetectAnomaliesResponse' => [ 'type' => 'structure', 'members' => [ 'DetectAnomalyResult' => [ 'shape' => 'DetectAnomalyResult', ], ], ], 'DetectAnomalyResult' => [ 'type' => 'structure', 'members' => [ 'Source' => [ 'shape' => 'ImageSource', ], 'IsAnomalous' => [ 'shape' => 'Boolean', ], 'Confidence' => [ 'shape' => 'Float', ], ], ], 'ExceptionString' => [ 'type' => 'string', ], 'Float' => [ 'type' => 'float', ], 'ImageSource' => [ 'type' => 'structure', 'members' => [ 'Type' => [ 'shape' => 'ImageSourceType', ], ], ], 'ImageSourceType' => [ 'type' => 'string', 'pattern' => 'direct', ], 'InferenceUnits' => [ 'type' => 'integer', 'min' => 1, ], 'InputS3Object' => [ 'type' => 'structure', 'required' => [ 'Bucket', 'Key', ], 'members' => [ 'Bucket' => [ 'shape' => 'S3BucketName', ], 'Key' => [ 'shape' => 'S3ObjectKey', ], 'VersionId' => [ 'shape' => 'S3ObjectVersion', ], ], ], 'Integer' => [ 'type' => 'integer', ], 'InternalServerException' => [ 'type' => 'structure', 'required' => [ 'Message', ], 'members' => [ 'Message' => [ 'shape' => 'ExceptionString', ], 'RetryAfterSeconds' => [ 'shape' => 'RetryAfterSeconds', 'location' => 'header', 'locationName' => 'Retry-After', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, ], 'IsLabeled' => [ 'type' => 'boolean', ], 'KmsKeyId' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$', ], 'ListDatasetEntriesRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'DatasetType', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'DatasetType' => [ 'shape' => 'DatasetType', 'location' => 'uri', 'locationName' => 'datasetType', ], 'Labeled' => [ 'shape' => 'IsLabeled', 'location' => 'querystring', 'locationName' => 'labeled', ], 'AnomalyClass' => [ 'shape' => 'AnomalyClassFilter', 'location' => 'querystring', 'locationName' => 'anomalyClass', ], 'BeforeCreationDate' => [ 'shape' => 'DateTime', 'location' => 'querystring', 'locationName' => 'createdBefore', ], 'AfterCreationDate' => [ 'shape' => 'DateTime', 'location' => 'querystring', 'locationName' => 'createdAfter', ], 'NextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'MaxResults' => [ 'shape' => 'PageSize', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'SourceRefContains' => [ 'shape' => 'QueryString', 'location' => 'querystring', 'locationName' => 'sourceRefContains', ], ], ], 'ListDatasetEntriesResponse' => [ 'type' => 'structure', 'members' => [ 'DatasetEntries' => [ 'shape' => 'DatasetEntryList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListModelsRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'NextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'MaxResults' => [ 'shape' => 'PageSize', 'location' => 'querystring', 'locationName' => 'maxResults', ], ], ], 'ListModelsResponse' => [ 'type' => 'structure', 'members' => [ 'Models' => [ 'shape' => 'ModelMetadataList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ListProjectsRequest' => [ 'type' => 'structure', 'members' => [ 'NextToken' => [ 'shape' => 'PaginationToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'MaxResults' => [ 'shape' => 'PageSize', 'location' => 'querystring', 'locationName' => 'maxResults', ], ], ], 'ListProjectsResponse' => [ 'type' => 'structure', 'members' => [ 'Projects' => [ 'shape' => 'ProjectMetadataList', ], 'NextToken' => [ 'shape' => 'PaginationToken', ], ], ], 'ModelArn' => [ 'type' => 'string', ], 'ModelDescription' => [ 'type' => 'structure', 'members' => [ 'ModelVersion' => [ 'shape' => 'ModelVersion', ], 'ModelArn' => [ 'shape' => 'ModelArn', ], 'CreationTimestamp' => [ 'shape' => 'DateTime', ], 'Description' => [ 'shape' => 'ModelDescriptionMessage', ], 'Status' => [ 'shape' => 'ModelStatus', ], 'StatusMessage' => [ 'shape' => 'ModelStatusMessage', ], 'Performance' => [ 'shape' => 'ModelPerformance', ], 'OutputConfig' => [ 'shape' => 'OutputConfig', ], 'EvaluationManifest' => [ 'shape' => 'OutputS3Object', ], 'EvaluationResult' => [ 'shape' => 'OutputS3Object', ], 'EvaluationEndTimestamp' => [ 'shape' => 'DateTime', ], 'KmsKeyId' => [ 'shape' => 'KmsKeyId', ], ], ], 'ModelDescriptionMessage' => [ 'type' => 'string', 'max' => 500, 'min' => 1, 'pattern' => '[0-9A-Za-z\\.\\-_]*', ], 'ModelHostingStatus' => [ 'type' => 'string', 'enum' => [ 'RUNNING', 'STARTING', 'STOPPED', 'FAILED', ], ], 'ModelMetadata' => [ 'type' => 'structure', 'members' => [ 'CreationTimestamp' => [ 'shape' => 'DateTime', ], 'ModelVersion' => [ 'shape' => 'ModelVersion', ], 'ModelArn' => [ 'shape' => 'ModelArn', ], 'Description' => [ 'shape' => 'ModelDescriptionMessage', ], 'Status' => [ 'shape' => 'ModelStatus', ], 'StatusMessage' => [ 'shape' => 'ModelStatusMessage', ], 'Performance' => [ 'shape' => 'ModelPerformance', ], ], ], 'ModelMetadataList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ModelMetadata', ], ], 'ModelPerformance' => [ 'type' => 'structure', 'members' => [ 'F1Score' => [ 'shape' => 'Float', ], 'Recall' => [ 'shape' => 'Float', ], 'Precision' => [ 'shape' => 'Float', ], ], ], 'ModelStatus' => [ 'type' => 'string', 'enum' => [ 'TRAINING', 'TRAINED', 'TRAINING_FAILED', 'STARTING_HOSTING', 'HOSTED', 'HOSTING_FAILED', 'STOPPING_HOSTING', 'SYSTEM_UPDATING', 'DELETING', ], ], 'ModelStatusMessage' => [ 'type' => 'string', ], 'ModelVersion' => [ 'type' => 'string', 'max' => 10, 'min' => 1, 'pattern' => '([1-9][0-9]*|latest)', ], 'OutputConfig' => [ 'type' => 'structure', 'required' => [ 'S3Location', ], 'members' => [ 'S3Location' => [ 'shape' => 'S3Location', ], ], ], 'OutputS3Object' => [ 'type' => 'structure', 'required' => [ 'Bucket', 'Key', ], 'members' => [ 'Bucket' => [ 'shape' => 'S3BucketName', ], 'Key' => [ 'shape' => 'S3ObjectKey', ], ], ], 'PageSize' => [ 'type' => 'integer', 'max' => 100, 'min' => 1, ], 'PaginationToken' => [ 'type' => 'string', 'max' => 2048, 'pattern' => '^[a-zA-Z0-9\\/\\+\\=]{0,2048}$', ], 'ProjectArn' => [ 'type' => 'string', ], 'ProjectDescription' => [ 'type' => 'structure', 'members' => [ 'ProjectArn' => [ 'shape' => 'ProjectArn', ], 'ProjectName' => [ 'shape' => 'ProjectName', ], 'CreationTimestamp' => [ 'shape' => 'DateTime', ], 'Datasets' => [ 'shape' => 'DatasetMetadataList', ], ], ], 'ProjectMetadata' => [ 'type' => 'structure', 'members' => [ 'ProjectArn' => [ 'shape' => 'ProjectArn', ], 'ProjectName' => [ 'shape' => 'ProjectName', ], 'CreationTimestamp' => [ 'shape' => 'DateTime', ], ], ], 'ProjectMetadataList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ProjectMetadata', ], ], 'ProjectName' => [ 'type' => 'string', 'max' => 255, 'min' => 1, 'pattern' => '[a-zA-Z0-9][a-zA-Z0-9_\\-]*', ], 'QueryString' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '.*\\S.*', ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'required' => [ 'Message', 'ResourceId', 'ResourceType', ], 'members' => [ 'Message' => [ 'shape' => 'ExceptionString', ], 'ResourceId' => [ 'shape' => 'ExceptionString', ], 'ResourceType' => [ 'shape' => 'ResourceType', ], ], 'error' => [ 'httpStatusCode' => 404, ], 'exception' => true, ], 'ResourceType' => [ 'type' => 'string', 'enum' => [ 'PROJECT', 'DATASET', 'MODEL', 'TRIAL', ], ], 'RetryAfterSeconds' => [ 'type' => 'integer', ], 'S3BucketName' => [ 'type' => 'string', 'max' => 63, 'min' => 3, 'pattern' => '[0-9A-Za-z\\.\\-_]*', ], 'S3KeyPrefix' => [ 'type' => 'string', 'max' => 1024, 'pattern' => '^([a-zA-Z0-9!_.*\'()-][/a-zA-Z0-9!_.*\'()-]*)?$', ], 'S3Location' => [ 'type' => 'structure', 'required' => [ 'Bucket', ], 'members' => [ 'Bucket' => [ 'shape' => 'S3BucketName', ], 'Prefix' => [ 'shape' => 'S3KeyPrefix', ], ], ], 'S3ObjectKey' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '^([a-zA-Z0-9!_.*\'()-][/a-zA-Z0-9!_.*\'()-]*)?$', ], 'S3ObjectVersion' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '.*', ], 'ServiceQuotaExceededException' => [ 'type' => 'structure', 'required' => [ 'Message', 'QuotaCode', 'ServiceCode', ], 'members' => [ 'Message' => [ 'shape' => 'ExceptionString', ], 'ResourceId' => [ 'shape' => 'ExceptionString', ], 'ResourceType' => [ 'shape' => 'ResourceType', ], 'QuotaCode' => [ 'shape' => 'ExceptionString', ], 'ServiceCode' => [ 'shape' => 'ExceptionString', ], ], 'error' => [ 'httpStatusCode' => 402, ], 'exception' => true, ], 'StartModelRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'ModelVersion', 'MinInferenceUnits', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'ModelVersion' => [ 'shape' => 'ModelVersion', 'location' => 'uri', 'locationName' => 'modelVersion', ], 'MinInferenceUnits' => [ 'shape' => 'InferenceUnits', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], ], ], 'StartModelResponse' => [ 'type' => 'structure', 'members' => [ 'Status' => [ 'shape' => 'ModelHostingStatus', ], ], ], 'StopModelRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'ModelVersion', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'ModelVersion' => [ 'shape' => 'ModelVersion', 'location' => 'uri', 'locationName' => 'modelVersion', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], ], ], 'StopModelResponse' => [ 'type' => 'structure', 'members' => [ 'Status' => [ 'shape' => 'ModelHostingStatus', ], ], ], 'Stream' => [ 'type' => 'blob', 'requiresLength' => true, 'streaming' => true, ], 'ThrottlingException' => [ 'type' => 'structure', 'required' => [ 'Message', ], 'members' => [ 'Message' => [ 'shape' => 'ExceptionString', ], 'QuotaCode' => [ 'shape' => 'ExceptionString', ], 'ServiceCode' => [ 'shape' => 'ExceptionString', ], 'RetryAfterSeconds' => [ 'shape' => 'RetryAfterSeconds', 'location' => 'header', 'locationName' => 'Retry-After', ], ], 'error' => [ 'httpStatusCode' => 429, ], 'exception' => true, ], 'UpdateDatasetEntriesRequest' => [ 'type' => 'structure', 'required' => [ 'ProjectName', 'DatasetType', 'Changes', ], 'members' => [ 'ProjectName' => [ 'shape' => 'ProjectName', 'location' => 'uri', 'locationName' => 'projectName', ], 'DatasetType' => [ 'shape' => 'DatasetType', 'location' => 'uri', 'locationName' => 'datasetType', ], 'Changes' => [ 'shape' => 'DatasetChanges', ], 'ClientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, 'location' => 'header', 'locationName' => 'X-Amzn-Client-Token', ], ], ], 'UpdateDatasetEntriesResponse' => [ 'type' => 'structure', 'members' => [ 'Status' => [ 'shape' => 'DatasetStatus', ], ], ], 'ValidationException' => [ 'type' => 'structure', 'required' => [ 'Message', ], 'members' => [ 'Message' => [ 'shape' => 'ExceptionString', ], ], 'error' => [ 'httpStatusCode' => 400, ], 'exception' => true, ], ],];