amazonka-ml 1.6.1 → 2.0
raw patch · 133 files changed
+16968/−9285 lines, 133 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok
version bump matches the API change (PVP)
Dependencies added: case-insensitive
Dependency ranges changed: amazonka-core, amazonka-test, base
API changes (from Hackage documentation)
- Network.AWS.MachineLearning: Algorithm :: DetailsAttributes
- Network.AWS.MachineLearning: Asc :: SortOrder
- Network.AWS.MachineLearning: BatchCreatedAt :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning: BatchDataSourceId :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning: BatchDataURI :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning: BatchIAMUser :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning: BatchLastUpdatedAt :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning: BatchMLModelId :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning: BatchName :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning: BatchPrediction :: TaggableResourceType
- Network.AWS.MachineLearning: BatchStatus :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning: Binary :: MLModelType
- Network.AWS.MachineLearning: DataCreatedAt :: DataSourceFilterVariable
- Network.AWS.MachineLearning: DataDATALOCATIONS3 :: DataSourceFilterVariable
- Network.AWS.MachineLearning: DataIAMUser :: DataSourceFilterVariable
- Network.AWS.MachineLearning: DataLastUpdatedAt :: DataSourceFilterVariable
- Network.AWS.MachineLearning: DataName :: DataSourceFilterVariable
- Network.AWS.MachineLearning: DataSource :: TaggableResourceType
- Network.AWS.MachineLearning: DataStatus :: DataSourceFilterVariable
- Network.AWS.MachineLearning: Dsc :: SortOrder
- Network.AWS.MachineLearning: ESCompleted :: EntityStatus
- Network.AWS.MachineLearning: ESDeleted :: EntityStatus
- Network.AWS.MachineLearning: ESFailed :: EntityStatus
- Network.AWS.MachineLearning: ESInprogress :: EntityStatus
- Network.AWS.MachineLearning: ESPending :: EntityStatus
- Network.AWS.MachineLearning: EvalCreatedAt :: EvaluationFilterVariable
- Network.AWS.MachineLearning: EvalDataSourceId :: EvaluationFilterVariable
- Network.AWS.MachineLearning: EvalDataURI :: EvaluationFilterVariable
- Network.AWS.MachineLearning: EvalIAMUser :: EvaluationFilterVariable
- Network.AWS.MachineLearning: EvalLastUpdatedAt :: EvaluationFilterVariable
- Network.AWS.MachineLearning: EvalMLModelId :: EvaluationFilterVariable
- Network.AWS.MachineLearning: EvalName :: EvaluationFilterVariable
- Network.AWS.MachineLearning: EvalStatus :: EvaluationFilterVariable
- Network.AWS.MachineLearning: Evaluation :: TaggableResourceType
- Network.AWS.MachineLearning: Failed :: RealtimeEndpointStatus
- Network.AWS.MachineLearning: MLMFVAlgorithm :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVCreatedAt :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVIAMUser :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVLastUpdatedAt :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVMLModelType :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVName :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVRealtimeEndpointStatus :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVStatus :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVTrainingDataSourceId :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLMFVTrainingDataURI :: MLModelFilterVariable
- Network.AWS.MachineLearning: MLModel :: TaggableResourceType
- Network.AWS.MachineLearning: Multiclass :: MLModelType
- Network.AWS.MachineLearning: None :: RealtimeEndpointStatus
- Network.AWS.MachineLearning: PredictiveModelType :: DetailsAttributes
- Network.AWS.MachineLearning: Ready :: RealtimeEndpointStatus
- Network.AWS.MachineLearning: Regression :: MLModelType
- Network.AWS.MachineLearning: SGD :: Algorithm
- Network.AWS.MachineLearning: Updating :: RealtimeEndpointStatus
- Network.AWS.MachineLearning: _IdempotentParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning: _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning: _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning: _InvalidTagException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning: _PredictorNotMountedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning: _TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning: batchPrediction :: BatchPrediction
- Network.AWS.MachineLearning: batchPredictionAvailable :: Wait DescribeBatchPredictions
- Network.AWS.MachineLearning: bpBatchPredictionDataSourceId :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning: bpBatchPredictionId :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning: bpComputeTime :: Lens' BatchPrediction (Maybe Integer)
- Network.AWS.MachineLearning: bpCreatedAt :: Lens' BatchPrediction (Maybe UTCTime)
- Network.AWS.MachineLearning: bpCreatedByIAMUser :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning: bpFinishedAt :: Lens' BatchPrediction (Maybe UTCTime)
- Network.AWS.MachineLearning: bpInputDataLocationS3 :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning: bpInvalidRecordCount :: Lens' BatchPrediction (Maybe Integer)
- Network.AWS.MachineLearning: bpLastUpdatedAt :: Lens' BatchPrediction (Maybe UTCTime)
- Network.AWS.MachineLearning: bpMLModelId :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning: bpMessage :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning: bpName :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning: bpOutputURI :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning: bpStartedAt :: Lens' BatchPrediction (Maybe UTCTime)
- Network.AWS.MachineLearning: bpStatus :: Lens' BatchPrediction (Maybe EntityStatus)
- Network.AWS.MachineLearning: bpTotalRecordCount :: Lens' BatchPrediction (Maybe Integer)
- Network.AWS.MachineLearning: data Algorithm
- Network.AWS.MachineLearning: data BatchPrediction
- Network.AWS.MachineLearning: data BatchPredictionFilterVariable
- Network.AWS.MachineLearning: data DataSource
- Network.AWS.MachineLearning: data DataSourceFilterVariable
- Network.AWS.MachineLearning: data DetailsAttributes
- Network.AWS.MachineLearning: data EntityStatus
- Network.AWS.MachineLearning: data Evaluation
- Network.AWS.MachineLearning: data EvaluationFilterVariable
- Network.AWS.MachineLearning: data MLModel
- Network.AWS.MachineLearning: data MLModelFilterVariable
- Network.AWS.MachineLearning: data MLModelType
- Network.AWS.MachineLearning: data PerformanceMetrics
- Network.AWS.MachineLearning: data Prediction
- Network.AWS.MachineLearning: data RDSDataSpec
- Network.AWS.MachineLearning: data RDSDatabase
- Network.AWS.MachineLearning: data RDSDatabaseCredentials
- Network.AWS.MachineLearning: data RDSMetadata
- Network.AWS.MachineLearning: data RealtimeEndpointInfo
- Network.AWS.MachineLearning: data RealtimeEndpointStatus
- Network.AWS.MachineLearning: data RedshiftDataSpec
- Network.AWS.MachineLearning: data RedshiftDatabase
- Network.AWS.MachineLearning: data RedshiftDatabaseCredentials
- Network.AWS.MachineLearning: data RedshiftMetadata
- Network.AWS.MachineLearning: data S3DataSpec
- Network.AWS.MachineLearning: data SortOrder
- Network.AWS.MachineLearning: data Tag
- Network.AWS.MachineLearning: data TaggableResourceType
- Network.AWS.MachineLearning: dataSource :: DataSource
- Network.AWS.MachineLearning: dataSourceAvailable :: Wait DescribeDataSources
- Network.AWS.MachineLearning: dsComputeStatistics :: Lens' DataSource (Maybe Bool)
- Network.AWS.MachineLearning: dsComputeTime :: Lens' DataSource (Maybe Integer)
- Network.AWS.MachineLearning: dsCreatedAt :: Lens' DataSource (Maybe UTCTime)
- Network.AWS.MachineLearning: dsCreatedByIAMUser :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning: dsDataLocationS3 :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning: dsDataRearrangement :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning: dsDataSizeInBytes :: Lens' DataSource (Maybe Integer)
- Network.AWS.MachineLearning: dsDataSourceId :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning: dsFinishedAt :: Lens' DataSource (Maybe UTCTime)
- Network.AWS.MachineLearning: dsLastUpdatedAt :: Lens' DataSource (Maybe UTCTime)
- Network.AWS.MachineLearning: dsMessage :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning: dsName :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning: dsNumberOfFiles :: Lens' DataSource (Maybe Integer)
- Network.AWS.MachineLearning: dsRDSMetadata :: Lens' DataSource (Maybe RDSMetadata)
- Network.AWS.MachineLearning: dsRedshiftMetadata :: Lens' DataSource (Maybe RedshiftMetadata)
- Network.AWS.MachineLearning: dsRoleARN :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning: dsStartedAt :: Lens' DataSource (Maybe UTCTime)
- Network.AWS.MachineLearning: dsStatus :: Lens' DataSource (Maybe EntityStatus)
- Network.AWS.MachineLearning: eComputeTime :: Lens' Evaluation (Maybe Integer)
- Network.AWS.MachineLearning: eCreatedAt :: Lens' Evaluation (Maybe UTCTime)
- Network.AWS.MachineLearning: eCreatedByIAMUser :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning: eEvaluationDataSourceId :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning: eEvaluationId :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning: eFinishedAt :: Lens' Evaluation (Maybe UTCTime)
- Network.AWS.MachineLearning: eInputDataLocationS3 :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning: eLastUpdatedAt :: Lens' Evaluation (Maybe UTCTime)
- Network.AWS.MachineLearning: eMLModelId :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning: eMessage :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning: eName :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning: ePerformanceMetrics :: Lens' Evaluation (Maybe PerformanceMetrics)
- Network.AWS.MachineLearning: eStartedAt :: Lens' Evaluation (Maybe UTCTime)
- Network.AWS.MachineLearning: eStatus :: Lens' Evaluation (Maybe EntityStatus)
- Network.AWS.MachineLearning: evaluation :: Evaluation
- Network.AWS.MachineLearning: evaluationAvailable :: Wait DescribeEvaluations
- Network.AWS.MachineLearning: mLModel :: MLModel
- Network.AWS.MachineLearning: mLModelAvailable :: Wait DescribeMLModels
- Network.AWS.MachineLearning: machineLearning :: Service
- Network.AWS.MachineLearning: mlmAlgorithm :: Lens' MLModel (Maybe Algorithm)
- Network.AWS.MachineLearning: mlmComputeTime :: Lens' MLModel (Maybe Integer)
- Network.AWS.MachineLearning: mlmCreatedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning: mlmCreatedByIAMUser :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning: mlmEndpointInfo :: Lens' MLModel (Maybe RealtimeEndpointInfo)
- Network.AWS.MachineLearning: mlmFinishedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning: mlmInputDataLocationS3 :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning: mlmLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning: mlmMLModelId :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning: mlmMLModelType :: Lens' MLModel (Maybe MLModelType)
- Network.AWS.MachineLearning: mlmMessage :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning: mlmName :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning: mlmScoreThreshold :: Lens' MLModel (Maybe Double)
- Network.AWS.MachineLearning: mlmScoreThresholdLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning: mlmSizeInBytes :: Lens' MLModel (Maybe Integer)
- Network.AWS.MachineLearning: mlmStartedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning: mlmStatus :: Lens' MLModel (Maybe EntityStatus)
- Network.AWS.MachineLearning: mlmTrainingDataSourceId :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning: mlmTrainingParameters :: Lens' MLModel (HashMap Text Text)
- Network.AWS.MachineLearning: pDetails :: Lens' Prediction (HashMap DetailsAttributes Text)
- Network.AWS.MachineLearning: pPredictedLabel :: Lens' Prediction (Maybe Text)
- Network.AWS.MachineLearning: pPredictedScores :: Lens' Prediction (HashMap Text Double)
- Network.AWS.MachineLearning: pPredictedValue :: Lens' Prediction (Maybe Double)
- Network.AWS.MachineLearning: performanceMetrics :: PerformanceMetrics
- Network.AWS.MachineLearning: pmProperties :: Lens' PerformanceMetrics (HashMap Text Text)
- Network.AWS.MachineLearning: prediction :: Prediction
- Network.AWS.MachineLearning: rDataRearrangement :: Lens' RedshiftDataSpec (Maybe Text)
- Network.AWS.MachineLearning: rDataSchema :: Lens' RedshiftDataSpec (Maybe Text)
- Network.AWS.MachineLearning: rDataSchemaURI :: Lens' RedshiftDataSpec (Maybe Text)
- Network.AWS.MachineLearning: rDatabaseCredentials :: Lens' RedshiftDataSpec RedshiftDatabaseCredentials
- Network.AWS.MachineLearning: rDatabaseInformation :: Lens' RedshiftDataSpec RedshiftDatabase
- Network.AWS.MachineLearning: rS3StagingLocation :: Lens' RedshiftDataSpec Text
- Network.AWS.MachineLearning: rSelectSqlQuery :: Lens' RedshiftDataSpec Text
- Network.AWS.MachineLearning: rdClusterIdentifier :: Lens' RedshiftDatabase Text
- Network.AWS.MachineLearning: rdDatabaseName :: Lens' RedshiftDatabase Text
- Network.AWS.MachineLearning: rdcPassword :: Lens' RedshiftDatabaseCredentials Text
- Network.AWS.MachineLearning: rdcUsername :: Lens' RedshiftDatabaseCredentials Text
- Network.AWS.MachineLearning: rdsDataSpec :: RDSDatabase -> Text -> RDSDatabaseCredentials -> Text -> Text -> Text -> Text -> RDSDataSpec
- Network.AWS.MachineLearning: rdsDatabase :: Text -> Text -> RDSDatabase
- Network.AWS.MachineLearning: rdsDatabaseCredentials :: Text -> Text -> RDSDatabaseCredentials
- Network.AWS.MachineLearning: rdsMetadata :: RDSMetadata
- Network.AWS.MachineLearning: rdsdDatabaseName :: Lens' RDSDatabase Text
- Network.AWS.MachineLearning: rdsdInstanceIdentifier :: Lens' RDSDatabase Text
- Network.AWS.MachineLearning: rdsdcPassword :: Lens' RDSDatabaseCredentials Text
- Network.AWS.MachineLearning: rdsdcUsername :: Lens' RDSDatabaseCredentials Text
- Network.AWS.MachineLearning: rdsdsDataRearrangement :: Lens' RDSDataSpec (Maybe Text)
- Network.AWS.MachineLearning: rdsdsDataSchema :: Lens' RDSDataSpec (Maybe Text)
- Network.AWS.MachineLearning: rdsdsDataSchemaURI :: Lens' RDSDataSpec (Maybe Text)
- Network.AWS.MachineLearning: rdsdsDatabaseCredentials :: Lens' RDSDataSpec RDSDatabaseCredentials
- Network.AWS.MachineLearning: rdsdsDatabaseInformation :: Lens' RDSDataSpec RDSDatabase
- Network.AWS.MachineLearning: rdsdsResourceRole :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning: rdsdsS3StagingLocation :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning: rdsdsSecurityGroupIds :: Lens' RDSDataSpec [Text]
- Network.AWS.MachineLearning: rdsdsSelectSqlQuery :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning: rdsdsServiceRole :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning: rdsdsSubnetId :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning: realtimeEndpointInfo :: RealtimeEndpointInfo
- Network.AWS.MachineLearning: redDatabaseUserName :: Lens' RedshiftMetadata (Maybe Text)
- Network.AWS.MachineLearning: redRedshiftDatabase :: Lens' RedshiftMetadata (Maybe RedshiftDatabase)
- Network.AWS.MachineLearning: redSelectSqlQuery :: Lens' RedshiftMetadata (Maybe Text)
- Network.AWS.MachineLearning: redshiftDataSpec :: RedshiftDatabase -> Text -> RedshiftDatabaseCredentials -> Text -> RedshiftDataSpec
- Network.AWS.MachineLearning: redshiftDatabase :: Text -> Text -> RedshiftDatabase
- Network.AWS.MachineLearning: redshiftDatabaseCredentials :: Text -> Text -> RedshiftDatabaseCredentials
- Network.AWS.MachineLearning: redshiftMetadata :: RedshiftMetadata
- Network.AWS.MachineLearning: reiCreatedAt :: Lens' RealtimeEndpointInfo (Maybe UTCTime)
- Network.AWS.MachineLearning: reiEndpointStatus :: Lens' RealtimeEndpointInfo (Maybe RealtimeEndpointStatus)
- Network.AWS.MachineLearning: reiEndpointURL :: Lens' RealtimeEndpointInfo (Maybe Text)
- Network.AWS.MachineLearning: reiPeakRequestsPerSecond :: Lens' RealtimeEndpointInfo (Maybe Int)
- Network.AWS.MachineLearning: rmDataPipelineId :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning: rmDatabase :: Lens' RDSMetadata (Maybe RDSDatabase)
- Network.AWS.MachineLearning: rmDatabaseUserName :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning: rmResourceRole :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning: rmSelectSqlQuery :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning: rmServiceRole :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning: s3DataSpec :: Text -> S3DataSpec
- Network.AWS.MachineLearning: sdsDataLocationS3 :: Lens' S3DataSpec Text
- Network.AWS.MachineLearning: sdsDataRearrangement :: Lens' S3DataSpec (Maybe Text)
- Network.AWS.MachineLearning: sdsDataSchema :: Lens' S3DataSpec (Maybe Text)
- Network.AWS.MachineLearning: sdsDataSchemaLocationS3 :: Lens' S3DataSpec (Maybe Text)
- Network.AWS.MachineLearning: tag :: Tag
- Network.AWS.MachineLearning: tagKey :: Lens' Tag (Maybe Text)
- Network.AWS.MachineLearning: tagValue :: Lens' Tag (Maybe Text)
- Network.AWS.MachineLearning.AddTags: addTags :: Text -> TaggableResourceType -> AddTags
- Network.AWS.MachineLearning.AddTags: addTagsResponse :: Int -> AddTagsResponse
- Network.AWS.MachineLearning.AddTags: atResourceId :: Lens' AddTags Text
- Network.AWS.MachineLearning.AddTags: atResourceType :: Lens' AddTags TaggableResourceType
- Network.AWS.MachineLearning.AddTags: atTags :: Lens' AddTags [Tag]
- Network.AWS.MachineLearning.AddTags: atrsResourceId :: Lens' AddTagsResponse (Maybe Text)
- Network.AWS.MachineLearning.AddTags: atrsResourceType :: Lens' AddTagsResponse (Maybe TaggableResourceType)
- Network.AWS.MachineLearning.AddTags: atrsResponseStatus :: Lens' AddTagsResponse Int
- Network.AWS.MachineLearning.AddTags: data AddTags
- Network.AWS.MachineLearning.AddTags: data AddTagsResponse
- Network.AWS.MachineLearning.AddTags: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.AddTags.AddTagsResponse
- Network.AWS.MachineLearning.AddTags: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance Data.Data.Data Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance Data.Data.Data Network.AWS.MachineLearning.AddTags.AddTagsResponse
- Network.AWS.MachineLearning.AddTags: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance GHC.Classes.Eq Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance GHC.Classes.Eq Network.AWS.MachineLearning.AddTags.AddTagsResponse
- Network.AWS.MachineLearning.AddTags: instance GHC.Generics.Generic Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance GHC.Generics.Generic Network.AWS.MachineLearning.AddTags.AddTagsResponse
- Network.AWS.MachineLearning.AddTags: instance GHC.Read.Read Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance GHC.Read.Read Network.AWS.MachineLearning.AddTags.AddTagsResponse
- Network.AWS.MachineLearning.AddTags: instance GHC.Show.Show Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance GHC.Show.Show Network.AWS.MachineLearning.AddTags.AddTagsResponse
- Network.AWS.MachineLearning.AddTags: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.AddTags: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.AddTags.AddTags
- Network.AWS.MachineLearning.CreateBatchPrediction: cbpBatchPredictionDataSourceId :: Lens' CreateBatchPrediction Text
- Network.AWS.MachineLearning.CreateBatchPrediction: cbpBatchPredictionId :: Lens' CreateBatchPrediction Text
- Network.AWS.MachineLearning.CreateBatchPrediction: cbpBatchPredictionName :: Lens' CreateBatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.CreateBatchPrediction: cbpMLModelId :: Lens' CreateBatchPrediction Text
- Network.AWS.MachineLearning.CreateBatchPrediction: cbpOutputURI :: Lens' CreateBatchPrediction Text
- Network.AWS.MachineLearning.CreateBatchPrediction: cbprsBatchPredictionId :: Lens' CreateBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.CreateBatchPrediction: cbprsResponseStatus :: Lens' CreateBatchPredictionResponse Int
- Network.AWS.MachineLearning.CreateBatchPrediction: createBatchPrediction :: Text -> Text -> Text -> Text -> CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: createBatchPredictionResponse :: Int -> CreateBatchPredictionResponse
- Network.AWS.MachineLearning.CreateBatchPrediction: data CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: data CreateBatchPredictionResponse
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Data.Data.Data Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Data.Data.Data Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
- Network.AWS.MachineLearning.CreateBatchPrediction: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
- Network.AWS.MachineLearning.CreateBatchPrediction: instance GHC.Read.Read Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance GHC.Read.Read Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
- Network.AWS.MachineLearning.CreateBatchPrediction: instance GHC.Show.Show Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance GHC.Show.Show Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateBatchPrediction: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: cdsfrdsComputeStatistics :: Lens' CreateDataSourceFromRDS (Maybe Bool)
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: cdsfrdsDataSourceId :: Lens' CreateDataSourceFromRDS Text
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: cdsfrdsDataSourceName :: Lens' CreateDataSourceFromRDS (Maybe Text)
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: cdsfrdsRDSData :: Lens' CreateDataSourceFromRDS RDSDataSpec
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: cdsfrdsRoleARN :: Lens' CreateDataSourceFromRDS Text
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: cdsfrdsrsDataSourceId :: Lens' CreateDataSourceFromRDSResponse (Maybe Text)
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: cdsfrdsrsResponseStatus :: Lens' CreateDataSourceFromRDSResponse Int
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDS :: Text -> RDSDataSpec -> Text -> CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDSResponse :: Int -> CreateDataSourceFromRDSResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: data CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: data CreateDataSourceFromRDSResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Data.Data.Data Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Data.Data.Data Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance GHC.Read.Read Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance GHC.Read.Read Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance GHC.Show.Show Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance GHC.Show.Show Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRDS: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: cdsfrComputeStatistics :: Lens' CreateDataSourceFromRedshift (Maybe Bool)
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: cdsfrDataSourceId :: Lens' CreateDataSourceFromRedshift Text
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: cdsfrDataSourceName :: Lens' CreateDataSourceFromRedshift (Maybe Text)
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: cdsfrDataSpec :: Lens' CreateDataSourceFromRedshift RedshiftDataSpec
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: cdsfrRoleARN :: Lens' CreateDataSourceFromRedshift Text
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: cdsfrrsDataSourceId :: Lens' CreateDataSourceFromRedshiftResponse (Maybe Text)
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: cdsfrrsResponseStatus :: Lens' CreateDataSourceFromRedshiftResponse Int
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshift :: Text -> RedshiftDataSpec -> Text -> CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshiftResponse :: Int -> CreateDataSourceFromRedshiftResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: data CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: data CreateDataSourceFromRedshiftResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Data.Data.Data Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Data.Data.Data Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Read.Read Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Read.Read Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Show.Show Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Show.Show Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromRedshift: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
- Network.AWS.MachineLearning.CreateDataSourceFromS3: cdsfsComputeStatistics :: Lens' CreateDataSourceFromS3 (Maybe Bool)
- Network.AWS.MachineLearning.CreateDataSourceFromS3: cdsfsDataSourceId :: Lens' CreateDataSourceFromS3 Text
- Network.AWS.MachineLearning.CreateDataSourceFromS3: cdsfsDataSourceName :: Lens' CreateDataSourceFromS3 (Maybe Text)
- Network.AWS.MachineLearning.CreateDataSourceFromS3: cdsfsDataSpec :: Lens' CreateDataSourceFromS3 S3DataSpec
- Network.AWS.MachineLearning.CreateDataSourceFromS3: cdsfsrsDataSourceId :: Lens' CreateDataSourceFromS3Response (Maybe Text)
- Network.AWS.MachineLearning.CreateDataSourceFromS3: cdsfsrsResponseStatus :: Lens' CreateDataSourceFromS3Response Int
- Network.AWS.MachineLearning.CreateDataSourceFromS3: createDataSourceFromS3 :: Text -> S3DataSpec -> CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: createDataSourceFromS3Response :: Int -> CreateDataSourceFromS3Response
- Network.AWS.MachineLearning.CreateDataSourceFromS3: data CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: data CreateDataSourceFromS3Response
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Data.Data.Data Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Data.Data.Data Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance GHC.Read.Read Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance GHC.Read.Read Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance GHC.Show.Show Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance GHC.Show.Show Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateDataSourceFromS3: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
- Network.AWS.MachineLearning.CreateEvaluation: ceEvaluationDataSourceId :: Lens' CreateEvaluation Text
- Network.AWS.MachineLearning.CreateEvaluation: ceEvaluationId :: Lens' CreateEvaluation Text
- Network.AWS.MachineLearning.CreateEvaluation: ceEvaluationName :: Lens' CreateEvaluation (Maybe Text)
- Network.AWS.MachineLearning.CreateEvaluation: ceMLModelId :: Lens' CreateEvaluation Text
- Network.AWS.MachineLearning.CreateEvaluation: cersEvaluationId :: Lens' CreateEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.CreateEvaluation: cersResponseStatus :: Lens' CreateEvaluationResponse Int
- Network.AWS.MachineLearning.CreateEvaluation: createEvaluation :: Text -> Text -> Text -> CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: createEvaluationResponse :: Int -> CreateEvaluationResponse
- Network.AWS.MachineLearning.CreateEvaluation: data CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: data CreateEvaluationResponse
- Network.AWS.MachineLearning.CreateEvaluation: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluationResponse
- Network.AWS.MachineLearning.CreateEvaluation: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance Data.Data.Data Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance Data.Data.Data Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluationResponse
- Network.AWS.MachineLearning.CreateEvaluation: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluationResponse
- Network.AWS.MachineLearning.CreateEvaluation: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluationResponse
- Network.AWS.MachineLearning.CreateEvaluation: instance GHC.Read.Read Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance GHC.Read.Read Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluationResponse
- Network.AWS.MachineLearning.CreateEvaluation: instance GHC.Show.Show Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance GHC.Show.Show Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluationResponse
- Network.AWS.MachineLearning.CreateEvaluation: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateEvaluation: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.CreateEvaluation.CreateEvaluation
- Network.AWS.MachineLearning.CreateMLModel: cmlmMLModelId :: Lens' CreateMLModel Text
- Network.AWS.MachineLearning.CreateMLModel: cmlmMLModelName :: Lens' CreateMLModel (Maybe Text)
- Network.AWS.MachineLearning.CreateMLModel: cmlmMLModelType :: Lens' CreateMLModel MLModelType
- Network.AWS.MachineLearning.CreateMLModel: cmlmParameters :: Lens' CreateMLModel (HashMap Text Text)
- Network.AWS.MachineLearning.CreateMLModel: cmlmRecipe :: Lens' CreateMLModel (Maybe Text)
- Network.AWS.MachineLearning.CreateMLModel: cmlmRecipeURI :: Lens' CreateMLModel (Maybe Text)
- Network.AWS.MachineLearning.CreateMLModel: cmlmTrainingDataSourceId :: Lens' CreateMLModel Text
- Network.AWS.MachineLearning.CreateMLModel: cmlmrsMLModelId :: Lens' CreateMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.CreateMLModel: cmlmrsResponseStatus :: Lens' CreateMLModelResponse Int
- Network.AWS.MachineLearning.CreateMLModel: createMLModel :: Text -> MLModelType -> Text -> CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: createMLModelResponse :: Int -> CreateMLModelResponse
- Network.AWS.MachineLearning.CreateMLModel: data CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: data CreateMLModelResponse
- Network.AWS.MachineLearning.CreateMLModel: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateMLModel.CreateMLModelResponse
- Network.AWS.MachineLearning.CreateMLModel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance Data.Data.Data Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance Data.Data.Data Network.AWS.MachineLearning.CreateMLModel.CreateMLModelResponse
- Network.AWS.MachineLearning.CreateMLModel: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateMLModel.CreateMLModelResponse
- Network.AWS.MachineLearning.CreateMLModel: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateMLModel.CreateMLModelResponse
- Network.AWS.MachineLearning.CreateMLModel: instance GHC.Read.Read Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance GHC.Read.Read Network.AWS.MachineLearning.CreateMLModel.CreateMLModelResponse
- Network.AWS.MachineLearning.CreateMLModel: instance GHC.Show.Show Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance GHC.Show.Show Network.AWS.MachineLearning.CreateMLModel.CreateMLModelResponse
- Network.AWS.MachineLearning.CreateMLModel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateMLModel: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.CreateMLModel.CreateMLModel
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: creMLModelId :: Lens' CreateRealtimeEndpoint Text
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: createRealtimeEndpoint :: Text -> CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: createRealtimeEndpointResponse :: Int -> CreateRealtimeEndpointResponse
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: crersMLModelId :: Lens' CreateRealtimeEndpointResponse (Maybe Text)
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: crersRealtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: crersResponseStatus :: Lens' CreateRealtimeEndpointResponse Int
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: data CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: data CreateRealtimeEndpointResponse
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Data.Data.Data Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Data.Data.Data Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance GHC.Classes.Eq Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance GHC.Generics.Generic Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance GHC.Read.Read Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance GHC.Read.Read Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance GHC.Show.Show Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance GHC.Show.Show Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.CreateRealtimeEndpoint: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteBatchPrediction: data DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: data DeleteBatchPredictionResponse
- Network.AWS.MachineLearning.DeleteBatchPrediction: dbpBatchPredictionId :: Lens' DeleteBatchPrediction Text
- Network.AWS.MachineLearning.DeleteBatchPrediction: dbprsBatchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.DeleteBatchPrediction: dbprsResponseStatus :: Lens' DeleteBatchPredictionResponse Int
- Network.AWS.MachineLearning.DeleteBatchPrediction: deleteBatchPrediction :: Text -> DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: deleteBatchPredictionResponse :: Int -> DeleteBatchPredictionResponse
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Data.Data.Data Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Data.Data.Data Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteBatchPrediction: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
- Network.AWS.MachineLearning.DeleteDataSource: data DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: data DeleteDataSourceResponse
- Network.AWS.MachineLearning.DeleteDataSource: ddsDataSourceId :: Lens' DeleteDataSource Text
- Network.AWS.MachineLearning.DeleteDataSource: ddsrsDataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.DeleteDataSource: ddsrsResponseStatus :: Lens' DeleteDataSourceResponse Int
- Network.AWS.MachineLearning.DeleteDataSource: deleteDataSource :: Text -> DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: deleteDataSourceResponse :: Int -> DeleteDataSourceResponse
- Network.AWS.MachineLearning.DeleteDataSource: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
- Network.AWS.MachineLearning.DeleteDataSource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance Data.Data.Data Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance Data.Data.Data Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
- Network.AWS.MachineLearning.DeleteDataSource: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
- Network.AWS.MachineLearning.DeleteDataSource: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
- Network.AWS.MachineLearning.DeleteDataSource: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
- Network.AWS.MachineLearning.DeleteDataSource: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
- Network.AWS.MachineLearning.DeleteDataSource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteDataSource: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DeleteDataSource.DeleteDataSource
- Network.AWS.MachineLearning.DeleteEvaluation: data DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: data DeleteEvaluationResponse
- Network.AWS.MachineLearning.DeleteEvaluation: deEvaluationId :: Lens' DeleteEvaluation Text
- Network.AWS.MachineLearning.DeleteEvaluation: deleteEvaluation :: Text -> DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: deleteEvaluationResponse :: Int -> DeleteEvaluationResponse
- Network.AWS.MachineLearning.DeleteEvaluation: dersEvaluationId :: Lens' DeleteEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.DeleteEvaluation: dersResponseStatus :: Lens' DeleteEvaluationResponse Int
- Network.AWS.MachineLearning.DeleteEvaluation: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
- Network.AWS.MachineLearning.DeleteEvaluation: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance Data.Data.Data Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance Data.Data.Data Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
- Network.AWS.MachineLearning.DeleteEvaluation: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
- Network.AWS.MachineLearning.DeleteEvaluation: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
- Network.AWS.MachineLearning.DeleteEvaluation: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
- Network.AWS.MachineLearning.DeleteEvaluation: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
- Network.AWS.MachineLearning.DeleteEvaluation: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteEvaluation: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DeleteEvaluation.DeleteEvaluation
- Network.AWS.MachineLearning.DeleteMLModel: data DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: data DeleteMLModelResponse
- Network.AWS.MachineLearning.DeleteMLModel: deleteMLModel :: Text -> DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: deleteMLModelResponse :: Int -> DeleteMLModelResponse
- Network.AWS.MachineLearning.DeleteMLModel: dmlmMLModelId :: Lens' DeleteMLModel Text
- Network.AWS.MachineLearning.DeleteMLModel: dmlmrsMLModelId :: Lens' DeleteMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.DeleteMLModel: dmlmrsResponseStatus :: Lens' DeleteMLModelResponse Int
- Network.AWS.MachineLearning.DeleteMLModel: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModelResponse
- Network.AWS.MachineLearning.DeleteMLModel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance Data.Data.Data Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance Data.Data.Data Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModelResponse
- Network.AWS.MachineLearning.DeleteMLModel: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModelResponse
- Network.AWS.MachineLearning.DeleteMLModel: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModelResponse
- Network.AWS.MachineLearning.DeleteMLModel: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModelResponse
- Network.AWS.MachineLearning.DeleteMLModel: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModelResponse
- Network.AWS.MachineLearning.DeleteMLModel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteMLModel: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DeleteMLModel.DeleteMLModel
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: data DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: data DeleteRealtimeEndpointResponse
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: deleteRealtimeEndpoint :: Text -> DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: deleteRealtimeEndpointResponse :: Int -> DeleteRealtimeEndpointResponse
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: dreMLModelId :: Lens' DeleteRealtimeEndpoint Text
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: drersMLModelId :: Lens' DeleteRealtimeEndpointResponse (Maybe Text)
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: drersRealtimeEndpointInfo :: Lens' DeleteRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: drersResponseStatus :: Lens' DeleteRealtimeEndpointResponse Int
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Data.Data.Data Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Data.Data.Data Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteRealtimeEndpoint: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
- Network.AWS.MachineLearning.DeleteTags: dResourceId :: Lens' DeleteTags Text
- Network.AWS.MachineLearning.DeleteTags: dResourceType :: Lens' DeleteTags TaggableResourceType
- Network.AWS.MachineLearning.DeleteTags: dTagKeys :: Lens' DeleteTags [Text]
- Network.AWS.MachineLearning.DeleteTags: data DeleteTags
- Network.AWS.MachineLearning.DeleteTags: data DeleteTagsResponse
- Network.AWS.MachineLearning.DeleteTags: deleteTags :: Text -> TaggableResourceType -> DeleteTags
- Network.AWS.MachineLearning.DeleteTags: deleteTagsResponse :: Int -> DeleteTagsResponse
- Network.AWS.MachineLearning.DeleteTags: drsResourceId :: Lens' DeleteTagsResponse (Maybe Text)
- Network.AWS.MachineLearning.DeleteTags: drsResourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType)
- Network.AWS.MachineLearning.DeleteTags: drsResponseStatus :: Lens' DeleteTagsResponse Int
- Network.AWS.MachineLearning.DeleteTags: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DeleteTags.DeleteTagsResponse
- Network.AWS.MachineLearning.DeleteTags: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance Data.Data.Data Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance Data.Data.Data Network.AWS.MachineLearning.DeleteTags.DeleteTagsResponse
- Network.AWS.MachineLearning.DeleteTags: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance GHC.Classes.Eq Network.AWS.MachineLearning.DeleteTags.DeleteTagsResponse
- Network.AWS.MachineLearning.DeleteTags: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance GHC.Generics.Generic Network.AWS.MachineLearning.DeleteTags.DeleteTagsResponse
- Network.AWS.MachineLearning.DeleteTags: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance GHC.Read.Read Network.AWS.MachineLearning.DeleteTags.DeleteTagsResponse
- Network.AWS.MachineLearning.DeleteTags: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance GHC.Show.Show Network.AWS.MachineLearning.DeleteTags.DeleteTagsResponse
- Network.AWS.MachineLearning.DeleteTags: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DeleteTags: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DeleteTags.DeleteTags
- Network.AWS.MachineLearning.DescribeBatchPredictions: data DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: data DescribeBatchPredictionsResponse
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpEQ :: Lens' DescribeBatchPredictions (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpFilterVariable :: Lens' DescribeBatchPredictions (Maybe BatchPredictionFilterVariable)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpGE :: Lens' DescribeBatchPredictions (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpGT :: Lens' DescribeBatchPredictions (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpLE :: Lens' DescribeBatchPredictions (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpLT :: Lens' DescribeBatchPredictions (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpLimit :: Lens' DescribeBatchPredictions (Maybe Natural)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpNE :: Lens' DescribeBatchPredictions (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpNextToken :: Lens' DescribeBatchPredictions (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpPrefix :: Lens' DescribeBatchPredictions (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpSortOrder :: Lens' DescribeBatchPredictions (Maybe SortOrder)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpsrsNextToken :: Lens' DescribeBatchPredictionsResponse (Maybe Text)
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpsrsResponseStatus :: Lens' DescribeBatchPredictionsResponse Int
- Network.AWS.MachineLearning.DescribeBatchPredictions: dbpsrsResults :: Lens' DescribeBatchPredictionsResponse [BatchPrediction]
- Network.AWS.MachineLearning.DescribeBatchPredictions: describeBatchPredictions :: DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: describeBatchPredictionsResponse :: Int -> DescribeBatchPredictionsResponse
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Data.Data.Data Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Data.Data.Data Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Network.AWS.Pager.AWSPager Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeBatchPredictions: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
- Network.AWS.MachineLearning.DescribeDataSources: data DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: data DescribeDataSourcesResponse
- Network.AWS.MachineLearning.DescribeDataSources: ddsEQ :: Lens' DescribeDataSources (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddsFilterVariable :: Lens' DescribeDataSources (Maybe DataSourceFilterVariable)
- Network.AWS.MachineLearning.DescribeDataSources: ddsGE :: Lens' DescribeDataSources (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddsGT :: Lens' DescribeDataSources (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddsLE :: Lens' DescribeDataSources (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddsLT :: Lens' DescribeDataSources (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddsLimit :: Lens' DescribeDataSources (Maybe Natural)
- Network.AWS.MachineLearning.DescribeDataSources: ddsNE :: Lens' DescribeDataSources (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddsNextToken :: Lens' DescribeDataSources (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddsPrefix :: Lens' DescribeDataSources (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddsSortOrder :: Lens' DescribeDataSources (Maybe SortOrder)
- Network.AWS.MachineLearning.DescribeDataSources: ddssrsNextToken :: Lens' DescribeDataSourcesResponse (Maybe Text)
- Network.AWS.MachineLearning.DescribeDataSources: ddssrsResponseStatus :: Lens' DescribeDataSourcesResponse Int
- Network.AWS.MachineLearning.DescribeDataSources: ddssrsResults :: Lens' DescribeDataSourcesResponse [DataSource]
- Network.AWS.MachineLearning.DescribeDataSources: describeDataSources :: DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: describeDataSourcesResponse :: Int -> DescribeDataSourcesResponse
- Network.AWS.MachineLearning.DescribeDataSources: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
- Network.AWS.MachineLearning.DescribeDataSources: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance Data.Data.Data Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance Data.Data.Data Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
- Network.AWS.MachineLearning.DescribeDataSources: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
- Network.AWS.MachineLearning.DescribeDataSources: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
- Network.AWS.MachineLearning.DescribeDataSources: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
- Network.AWS.MachineLearning.DescribeDataSources: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
- Network.AWS.MachineLearning.DescribeDataSources: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance Network.AWS.Pager.AWSPager Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeDataSources: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DescribeDataSources.DescribeDataSources
- Network.AWS.MachineLearning.DescribeEvaluations: data DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: data DescribeEvaluationsResponse
- Network.AWS.MachineLearning.DescribeEvaluations: deEQ :: Lens' DescribeEvaluations (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: deFilterVariable :: Lens' DescribeEvaluations (Maybe EvaluationFilterVariable)
- Network.AWS.MachineLearning.DescribeEvaluations: deGE :: Lens' DescribeEvaluations (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: deGT :: Lens' DescribeEvaluations (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: deLE :: Lens' DescribeEvaluations (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: deLT :: Lens' DescribeEvaluations (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: deLimit :: Lens' DescribeEvaluations (Maybe Natural)
- Network.AWS.MachineLearning.DescribeEvaluations: deNE :: Lens' DescribeEvaluations (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: deNextToken :: Lens' DescribeEvaluations (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: dePrefix :: Lens' DescribeEvaluations (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: deSortOrder :: Lens' DescribeEvaluations (Maybe SortOrder)
- Network.AWS.MachineLearning.DescribeEvaluations: describeEvaluations :: DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: describeEvaluationsResponse :: Int -> DescribeEvaluationsResponse
- Network.AWS.MachineLearning.DescribeEvaluations: desrsNextToken :: Lens' DescribeEvaluationsResponse (Maybe Text)
- Network.AWS.MachineLearning.DescribeEvaluations: desrsResponseStatus :: Lens' DescribeEvaluationsResponse Int
- Network.AWS.MachineLearning.DescribeEvaluations: desrsResults :: Lens' DescribeEvaluationsResponse [Evaluation]
- Network.AWS.MachineLearning.DescribeEvaluations: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
- Network.AWS.MachineLearning.DescribeEvaluations: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance Data.Data.Data Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance Data.Data.Data Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
- Network.AWS.MachineLearning.DescribeEvaluations: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
- Network.AWS.MachineLearning.DescribeEvaluations: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
- Network.AWS.MachineLearning.DescribeEvaluations: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
- Network.AWS.MachineLearning.DescribeEvaluations: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
- Network.AWS.MachineLearning.DescribeEvaluations: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance Network.AWS.Pager.AWSPager Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeEvaluations: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DescribeEvaluations.DescribeEvaluations
- Network.AWS.MachineLearning.DescribeMLModels: data DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: data DescribeMLModelsResponse
- Network.AWS.MachineLearning.DescribeMLModels: describeMLModels :: DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: describeMLModelsResponse :: Int -> DescribeMLModelsResponse
- Network.AWS.MachineLearning.DescribeMLModels: dmlmEQ :: Lens' DescribeMLModels (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmFilterVariable :: Lens' DescribeMLModels (Maybe MLModelFilterVariable)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmGE :: Lens' DescribeMLModels (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmGT :: Lens' DescribeMLModels (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmLE :: Lens' DescribeMLModels (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmLT :: Lens' DescribeMLModels (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmLimit :: Lens' DescribeMLModels (Maybe Natural)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmNE :: Lens' DescribeMLModels (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmNextToken :: Lens' DescribeMLModels (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmPrefix :: Lens' DescribeMLModels (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmSortOrder :: Lens' DescribeMLModels (Maybe SortOrder)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmsrsNextToken :: Lens' DescribeMLModelsResponse (Maybe Text)
- Network.AWS.MachineLearning.DescribeMLModels: dmlmsrsResponseStatus :: Lens' DescribeMLModelsResponse Int
- Network.AWS.MachineLearning.DescribeMLModels: dmlmsrsResults :: Lens' DescribeMLModelsResponse [MLModel]
- Network.AWS.MachineLearning.DescribeMLModels: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
- Network.AWS.MachineLearning.DescribeMLModels: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance Data.Data.Data Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance Data.Data.Data Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
- Network.AWS.MachineLearning.DescribeMLModels: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
- Network.AWS.MachineLearning.DescribeMLModels: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
- Network.AWS.MachineLearning.DescribeMLModels: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
- Network.AWS.MachineLearning.DescribeMLModels: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
- Network.AWS.MachineLearning.DescribeMLModels: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance Network.AWS.Pager.AWSPager Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeMLModels: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DescribeMLModels.DescribeMLModels
- Network.AWS.MachineLearning.DescribeTags: data DescribeTags
- Network.AWS.MachineLearning.DescribeTags: data DescribeTagsResponse
- Network.AWS.MachineLearning.DescribeTags: describeTags :: Text -> TaggableResourceType -> DescribeTags
- Network.AWS.MachineLearning.DescribeTags: describeTagsResponse :: Int -> DescribeTagsResponse
- Network.AWS.MachineLearning.DescribeTags: dtResourceId :: Lens' DescribeTags Text
- Network.AWS.MachineLearning.DescribeTags: dtResourceType :: Lens' DescribeTags TaggableResourceType
- Network.AWS.MachineLearning.DescribeTags: dtrsResourceId :: Lens' DescribeTagsResponse (Maybe Text)
- Network.AWS.MachineLearning.DescribeTags: dtrsResourceType :: Lens' DescribeTagsResponse (Maybe TaggableResourceType)
- Network.AWS.MachineLearning.DescribeTags: dtrsResponseStatus :: Lens' DescribeTagsResponse Int
- Network.AWS.MachineLearning.DescribeTags: dtrsTags :: Lens' DescribeTagsResponse [Tag]
- Network.AWS.MachineLearning.DescribeTags: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.DescribeTags.DescribeTagsResponse
- Network.AWS.MachineLearning.DescribeTags: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance Data.Data.Data Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance Data.Data.Data Network.AWS.MachineLearning.DescribeTags.DescribeTagsResponse
- Network.AWS.MachineLearning.DescribeTags: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance GHC.Classes.Eq Network.AWS.MachineLearning.DescribeTags.DescribeTagsResponse
- Network.AWS.MachineLearning.DescribeTags: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance GHC.Generics.Generic Network.AWS.MachineLearning.DescribeTags.DescribeTagsResponse
- Network.AWS.MachineLearning.DescribeTags: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance GHC.Read.Read Network.AWS.MachineLearning.DescribeTags.DescribeTagsResponse
- Network.AWS.MachineLearning.DescribeTags: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance GHC.Show.Show Network.AWS.MachineLearning.DescribeTags.DescribeTagsResponse
- Network.AWS.MachineLearning.DescribeTags: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.DescribeTags: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.DescribeTags.DescribeTags
- Network.AWS.MachineLearning.GetBatchPrediction: data GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: data GetBatchPredictionResponse
- Network.AWS.MachineLearning.GetBatchPrediction: gbpBatchPredictionId :: Lens' GetBatchPrediction Text
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsBatchPredictionDataSourceId :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsBatchPredictionId :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsComputeTime :: Lens' GetBatchPredictionResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsCreatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsCreatedByIAMUser :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsFinishedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsInputDataLocationS3 :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsInvalidRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsLastUpdatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsLogURI :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsMLModelId :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsMessage :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsName :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsOutputURI :: Lens' GetBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsResponseStatus :: Lens' GetBatchPredictionResponse Int
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsStartedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsStatus :: Lens' GetBatchPredictionResponse (Maybe EntityStatus)
- Network.AWS.MachineLearning.GetBatchPrediction: gbprsTotalRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetBatchPrediction: getBatchPrediction :: Text -> GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: getBatchPredictionResponse :: Int -> GetBatchPredictionResponse
- Network.AWS.MachineLearning.GetBatchPrediction: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
- Network.AWS.MachineLearning.GetBatchPrediction: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance Data.Data.Data Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance Data.Data.Data Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
- Network.AWS.MachineLearning.GetBatchPrediction: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance GHC.Classes.Eq Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance GHC.Classes.Eq Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
- Network.AWS.MachineLearning.GetBatchPrediction: instance GHC.Generics.Generic Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance GHC.Generics.Generic Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
- Network.AWS.MachineLearning.GetBatchPrediction: instance GHC.Read.Read Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance GHC.Read.Read Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
- Network.AWS.MachineLearning.GetBatchPrediction: instance GHC.Show.Show Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance GHC.Show.Show Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
- Network.AWS.MachineLearning.GetBatchPrediction: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetBatchPrediction: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.GetBatchPrediction.GetBatchPrediction
- Network.AWS.MachineLearning.GetDataSource: data GetDataSource
- Network.AWS.MachineLearning.GetDataSource: data GetDataSourceResponse
- Network.AWS.MachineLearning.GetDataSource: gdsDataSourceId :: Lens' GetDataSource Text
- Network.AWS.MachineLearning.GetDataSource: gdsVerbose :: Lens' GetDataSource (Maybe Bool)
- Network.AWS.MachineLearning.GetDataSource: gdsrsComputeStatistics :: Lens' GetDataSourceResponse (Maybe Bool)
- Network.AWS.MachineLearning.GetDataSource: gdsrsComputeTime :: Lens' GetDataSourceResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetDataSource: gdsrsCreatedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetDataSource: gdsrsCreatedByIAMUser :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsDataLocationS3 :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsDataRearrangement :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsDataSizeInBytes :: Lens' GetDataSourceResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetDataSource: gdsrsDataSourceId :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsDataSourceSchema :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsFinishedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetDataSource: gdsrsLastUpdatedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetDataSource: gdsrsLogURI :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsMessage :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsName :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsNumberOfFiles :: Lens' GetDataSourceResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetDataSource: gdsrsRDSMetadata :: Lens' GetDataSourceResponse (Maybe RDSMetadata)
- Network.AWS.MachineLearning.GetDataSource: gdsrsRedshiftMetadata :: Lens' GetDataSourceResponse (Maybe RedshiftMetadata)
- Network.AWS.MachineLearning.GetDataSource: gdsrsResponseStatus :: Lens' GetDataSourceResponse Int
- Network.AWS.MachineLearning.GetDataSource: gdsrsRoleARN :: Lens' GetDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.GetDataSource: gdsrsStartedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetDataSource: gdsrsStatus :: Lens' GetDataSourceResponse (Maybe EntityStatus)
- Network.AWS.MachineLearning.GetDataSource: getDataSource :: Text -> GetDataSource
- Network.AWS.MachineLearning.GetDataSource: getDataSourceResponse :: Int -> GetDataSourceResponse
- Network.AWS.MachineLearning.GetDataSource: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.GetDataSource.GetDataSourceResponse
- Network.AWS.MachineLearning.GetDataSource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance Data.Data.Data Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance Data.Data.Data Network.AWS.MachineLearning.GetDataSource.GetDataSourceResponse
- Network.AWS.MachineLearning.GetDataSource: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance GHC.Classes.Eq Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance GHC.Classes.Eq Network.AWS.MachineLearning.GetDataSource.GetDataSourceResponse
- Network.AWS.MachineLearning.GetDataSource: instance GHC.Generics.Generic Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance GHC.Generics.Generic Network.AWS.MachineLearning.GetDataSource.GetDataSourceResponse
- Network.AWS.MachineLearning.GetDataSource: instance GHC.Read.Read Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance GHC.Read.Read Network.AWS.MachineLearning.GetDataSource.GetDataSourceResponse
- Network.AWS.MachineLearning.GetDataSource: instance GHC.Show.Show Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance GHC.Show.Show Network.AWS.MachineLearning.GetDataSource.GetDataSourceResponse
- Network.AWS.MachineLearning.GetDataSource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetDataSource: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.GetDataSource.GetDataSource
- Network.AWS.MachineLearning.GetEvaluation: data GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: data GetEvaluationResponse
- Network.AWS.MachineLearning.GetEvaluation: geEvaluationId :: Lens' GetEvaluation Text
- Network.AWS.MachineLearning.GetEvaluation: gersComputeTime :: Lens' GetEvaluationResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetEvaluation: gersCreatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetEvaluation: gersCreatedByIAMUser :: Lens' GetEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.GetEvaluation: gersEvaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.GetEvaluation: gersEvaluationId :: Lens' GetEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.GetEvaluation: gersFinishedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetEvaluation: gersInputDataLocationS3 :: Lens' GetEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.GetEvaluation: gersLastUpdatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetEvaluation: gersLogURI :: Lens' GetEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.GetEvaluation: gersMLModelId :: Lens' GetEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.GetEvaluation: gersMessage :: Lens' GetEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.GetEvaluation: gersName :: Lens' GetEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.GetEvaluation: gersPerformanceMetrics :: Lens' GetEvaluationResponse (Maybe PerformanceMetrics)
- Network.AWS.MachineLearning.GetEvaluation: gersResponseStatus :: Lens' GetEvaluationResponse Int
- Network.AWS.MachineLearning.GetEvaluation: gersStartedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetEvaluation: gersStatus :: Lens' GetEvaluationResponse (Maybe EntityStatus)
- Network.AWS.MachineLearning.GetEvaluation: getEvaluation :: Text -> GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: getEvaluationResponse :: Int -> GetEvaluationResponse
- Network.AWS.MachineLearning.GetEvaluation: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.GetEvaluation.GetEvaluationResponse
- Network.AWS.MachineLearning.GetEvaluation: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance Data.Data.Data Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance Data.Data.Data Network.AWS.MachineLearning.GetEvaluation.GetEvaluationResponse
- Network.AWS.MachineLearning.GetEvaluation: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance GHC.Classes.Eq Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance GHC.Classes.Eq Network.AWS.MachineLearning.GetEvaluation.GetEvaluationResponse
- Network.AWS.MachineLearning.GetEvaluation: instance GHC.Generics.Generic Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance GHC.Generics.Generic Network.AWS.MachineLearning.GetEvaluation.GetEvaluationResponse
- Network.AWS.MachineLearning.GetEvaluation: instance GHC.Read.Read Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance GHC.Read.Read Network.AWS.MachineLearning.GetEvaluation.GetEvaluationResponse
- Network.AWS.MachineLearning.GetEvaluation: instance GHC.Show.Show Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance GHC.Show.Show Network.AWS.MachineLearning.GetEvaluation.GetEvaluationResponse
- Network.AWS.MachineLearning.GetEvaluation: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetEvaluation: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.GetEvaluation.GetEvaluation
- Network.AWS.MachineLearning.GetMLModel: data GetMLModel
- Network.AWS.MachineLearning.GetMLModel: data GetMLModelResponse
- Network.AWS.MachineLearning.GetMLModel: getMLModel :: Text -> GetMLModel
- Network.AWS.MachineLearning.GetMLModel: getMLModelResponse :: Int -> GetMLModelResponse
- Network.AWS.MachineLearning.GetMLModel: gmlmMLModelId :: Lens' GetMLModel Text
- Network.AWS.MachineLearning.GetMLModel: gmlmVerbose :: Lens' GetMLModel (Maybe Bool)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsComputeTime :: Lens' GetMLModelResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsCreatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsCreatedByIAMUser :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsEndpointInfo :: Lens' GetMLModelResponse (Maybe RealtimeEndpointInfo)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsFinishedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsInputDataLocationS3 :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsLastUpdatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsLogURI :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsMLModelId :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsMLModelType :: Lens' GetMLModelResponse (Maybe MLModelType)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsMessage :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsName :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsRecipe :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsResponseStatus :: Lens' GetMLModelResponse Int
- Network.AWS.MachineLearning.GetMLModel: gmlmrsSchema :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsScoreThreshold :: Lens' GetMLModelResponse (Maybe Double)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsScoreThresholdLastUpdatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsSizeInBytes :: Lens' GetMLModelResponse (Maybe Integer)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsStartedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsStatus :: Lens' GetMLModelResponse (Maybe EntityStatus)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsTrainingDataSourceId :: Lens' GetMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.GetMLModel: gmlmrsTrainingParameters :: Lens' GetMLModelResponse (HashMap Text Text)
- Network.AWS.MachineLearning.GetMLModel: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.GetMLModel.GetMLModelResponse
- Network.AWS.MachineLearning.GetMLModel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance Data.Data.Data Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance Data.Data.Data Network.AWS.MachineLearning.GetMLModel.GetMLModelResponse
- Network.AWS.MachineLearning.GetMLModel: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance GHC.Classes.Eq Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance GHC.Classes.Eq Network.AWS.MachineLearning.GetMLModel.GetMLModelResponse
- Network.AWS.MachineLearning.GetMLModel: instance GHC.Generics.Generic Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance GHC.Generics.Generic Network.AWS.MachineLearning.GetMLModel.GetMLModelResponse
- Network.AWS.MachineLearning.GetMLModel: instance GHC.Read.Read Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance GHC.Read.Read Network.AWS.MachineLearning.GetMLModel.GetMLModelResponse
- Network.AWS.MachineLearning.GetMLModel: instance GHC.Show.Show Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance GHC.Show.Show Network.AWS.MachineLearning.GetMLModel.GetMLModelResponse
- Network.AWS.MachineLearning.GetMLModel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.GetMLModel: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.GetMLModel.GetMLModel
- Network.AWS.MachineLearning.Predict: data Predict
- Network.AWS.MachineLearning.Predict: data PredictResponse
- Network.AWS.MachineLearning.Predict: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.Predict.PredictResponse
- Network.AWS.MachineLearning.Predict: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance Data.Data.Data Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance Data.Data.Data Network.AWS.MachineLearning.Predict.PredictResponse
- Network.AWS.MachineLearning.Predict: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance GHC.Classes.Eq Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance GHC.Classes.Eq Network.AWS.MachineLearning.Predict.PredictResponse
- Network.AWS.MachineLearning.Predict: instance GHC.Generics.Generic Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance GHC.Generics.Generic Network.AWS.MachineLearning.Predict.PredictResponse
- Network.AWS.MachineLearning.Predict: instance GHC.Read.Read Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance GHC.Read.Read Network.AWS.MachineLearning.Predict.PredictResponse
- Network.AWS.MachineLearning.Predict: instance GHC.Show.Show Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance GHC.Show.Show Network.AWS.MachineLearning.Predict.PredictResponse
- Network.AWS.MachineLearning.Predict: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.Predict.Predict
- Network.AWS.MachineLearning.Predict: pMLModelId :: Lens' Predict Text
- Network.AWS.MachineLearning.Predict: pPredictEndpoint :: Lens' Predict Text
- Network.AWS.MachineLearning.Predict: pRecord :: Lens' Predict (HashMap Text Text)
- Network.AWS.MachineLearning.Predict: predict :: Text -> Text -> Predict
- Network.AWS.MachineLearning.Predict: predictResponse :: Int -> PredictResponse
- Network.AWS.MachineLearning.Predict: prsPrediction :: Lens' PredictResponse (Maybe Prediction)
- Network.AWS.MachineLearning.Predict: prsResponseStatus :: Lens' PredictResponse Int
- Network.AWS.MachineLearning.Types: Algorithm :: DetailsAttributes
- Network.AWS.MachineLearning.Types: Asc :: SortOrder
- Network.AWS.MachineLearning.Types: BatchCreatedAt :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: BatchDataSourceId :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: BatchDataURI :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: BatchIAMUser :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: BatchLastUpdatedAt :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: BatchMLModelId :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: BatchName :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: BatchPrediction :: TaggableResourceType
- Network.AWS.MachineLearning.Types: BatchStatus :: BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: Binary :: MLModelType
- Network.AWS.MachineLearning.Types: DataCreatedAt :: DataSourceFilterVariable
- Network.AWS.MachineLearning.Types: DataDATALOCATIONS3 :: DataSourceFilterVariable
- Network.AWS.MachineLearning.Types: DataIAMUser :: DataSourceFilterVariable
- Network.AWS.MachineLearning.Types: DataLastUpdatedAt :: DataSourceFilterVariable
- Network.AWS.MachineLearning.Types: DataName :: DataSourceFilterVariable
- Network.AWS.MachineLearning.Types: DataSource :: TaggableResourceType
- Network.AWS.MachineLearning.Types: DataStatus :: DataSourceFilterVariable
- Network.AWS.MachineLearning.Types: Dsc :: SortOrder
- Network.AWS.MachineLearning.Types: ESCompleted :: EntityStatus
- Network.AWS.MachineLearning.Types: ESDeleted :: EntityStatus
- Network.AWS.MachineLearning.Types: ESFailed :: EntityStatus
- Network.AWS.MachineLearning.Types: ESInprogress :: EntityStatus
- Network.AWS.MachineLearning.Types: ESPending :: EntityStatus
- Network.AWS.MachineLearning.Types: EvalCreatedAt :: EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: EvalDataSourceId :: EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: EvalDataURI :: EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: EvalIAMUser :: EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: EvalLastUpdatedAt :: EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: EvalMLModelId :: EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: EvalName :: EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: EvalStatus :: EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: Evaluation :: TaggableResourceType
- Network.AWS.MachineLearning.Types: Failed :: RealtimeEndpointStatus
- Network.AWS.MachineLearning.Types: MLMFVAlgorithm :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVCreatedAt :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVIAMUser :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVLastUpdatedAt :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVMLModelType :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVName :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVRealtimeEndpointStatus :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVStatus :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVTrainingDataSourceId :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLMFVTrainingDataURI :: MLModelFilterVariable
- Network.AWS.MachineLearning.Types: MLModel :: TaggableResourceType
- Network.AWS.MachineLearning.Types: Multiclass :: MLModelType
- Network.AWS.MachineLearning.Types: None :: RealtimeEndpointStatus
- Network.AWS.MachineLearning.Types: PredictiveModelType :: DetailsAttributes
- Network.AWS.MachineLearning.Types: Ready :: RealtimeEndpointStatus
- Network.AWS.MachineLearning.Types: Regression :: MLModelType
- Network.AWS.MachineLearning.Types: SGD :: Algorithm
- Network.AWS.MachineLearning.Types: Updating :: RealtimeEndpointStatus
- Network.AWS.MachineLearning.Types: _IdempotentParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning.Types: _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning.Types: _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning.Types: _InvalidTagException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning.Types: _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning.Types: _PredictorNotMountedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning.Types: _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning.Types: _TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.MachineLearning.Types: batchPrediction :: BatchPrediction
- Network.AWS.MachineLearning.Types: bpBatchPredictionDataSourceId :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.Types: bpBatchPredictionId :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.Types: bpComputeTime :: Lens' BatchPrediction (Maybe Integer)
- Network.AWS.MachineLearning.Types: bpCreatedAt :: Lens' BatchPrediction (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: bpCreatedByIAMUser :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.Types: bpFinishedAt :: Lens' BatchPrediction (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: bpInputDataLocationS3 :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.Types: bpInvalidRecordCount :: Lens' BatchPrediction (Maybe Integer)
- Network.AWS.MachineLearning.Types: bpLastUpdatedAt :: Lens' BatchPrediction (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: bpMLModelId :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.Types: bpMessage :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.Types: bpName :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.Types: bpOutputURI :: Lens' BatchPrediction (Maybe Text)
- Network.AWS.MachineLearning.Types: bpStartedAt :: Lens' BatchPrediction (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: bpStatus :: Lens' BatchPrediction (Maybe EntityStatus)
- Network.AWS.MachineLearning.Types: bpTotalRecordCount :: Lens' BatchPrediction (Maybe Integer)
- Network.AWS.MachineLearning.Types: data Algorithm
- Network.AWS.MachineLearning.Types: data BatchPrediction
- Network.AWS.MachineLearning.Types: data BatchPredictionFilterVariable
- Network.AWS.MachineLearning.Types: data DataSource
- Network.AWS.MachineLearning.Types: data DataSourceFilterVariable
- Network.AWS.MachineLearning.Types: data DetailsAttributes
- Network.AWS.MachineLearning.Types: data EntityStatus
- Network.AWS.MachineLearning.Types: data Evaluation
- Network.AWS.MachineLearning.Types: data EvaluationFilterVariable
- Network.AWS.MachineLearning.Types: data MLModel
- Network.AWS.MachineLearning.Types: data MLModelFilterVariable
- Network.AWS.MachineLearning.Types: data MLModelType
- Network.AWS.MachineLearning.Types: data PerformanceMetrics
- Network.AWS.MachineLearning.Types: data Prediction
- Network.AWS.MachineLearning.Types: data RDSDataSpec
- Network.AWS.MachineLearning.Types: data RDSDatabase
- Network.AWS.MachineLearning.Types: data RDSDatabaseCredentials
- Network.AWS.MachineLearning.Types: data RDSMetadata
- Network.AWS.MachineLearning.Types: data RealtimeEndpointInfo
- Network.AWS.MachineLearning.Types: data RealtimeEndpointStatus
- Network.AWS.MachineLearning.Types: data RedshiftDataSpec
- Network.AWS.MachineLearning.Types: data RedshiftDatabase
- Network.AWS.MachineLearning.Types: data RedshiftDatabaseCredentials
- Network.AWS.MachineLearning.Types: data RedshiftMetadata
- Network.AWS.MachineLearning.Types: data S3DataSpec
- Network.AWS.MachineLearning.Types: data SortOrder
- Network.AWS.MachineLearning.Types: data Tag
- Network.AWS.MachineLearning.Types: data TaggableResourceType
- Network.AWS.MachineLearning.Types: dataSource :: DataSource
- Network.AWS.MachineLearning.Types: dsComputeStatistics :: Lens' DataSource (Maybe Bool)
- Network.AWS.MachineLearning.Types: dsComputeTime :: Lens' DataSource (Maybe Integer)
- Network.AWS.MachineLearning.Types: dsCreatedAt :: Lens' DataSource (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: dsCreatedByIAMUser :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning.Types: dsDataLocationS3 :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning.Types: dsDataRearrangement :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning.Types: dsDataSizeInBytes :: Lens' DataSource (Maybe Integer)
- Network.AWS.MachineLearning.Types: dsDataSourceId :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning.Types: dsFinishedAt :: Lens' DataSource (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: dsLastUpdatedAt :: Lens' DataSource (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: dsMessage :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning.Types: dsName :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning.Types: dsNumberOfFiles :: Lens' DataSource (Maybe Integer)
- Network.AWS.MachineLearning.Types: dsRDSMetadata :: Lens' DataSource (Maybe RDSMetadata)
- Network.AWS.MachineLearning.Types: dsRedshiftMetadata :: Lens' DataSource (Maybe RedshiftMetadata)
- Network.AWS.MachineLearning.Types: dsRoleARN :: Lens' DataSource (Maybe Text)
- Network.AWS.MachineLearning.Types: dsStartedAt :: Lens' DataSource (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: dsStatus :: Lens' DataSource (Maybe EntityStatus)
- Network.AWS.MachineLearning.Types: eComputeTime :: Lens' Evaluation (Maybe Integer)
- Network.AWS.MachineLearning.Types: eCreatedAt :: Lens' Evaluation (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: eCreatedByIAMUser :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning.Types: eEvaluationDataSourceId :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning.Types: eEvaluationId :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning.Types: eFinishedAt :: Lens' Evaluation (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: eInputDataLocationS3 :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning.Types: eLastUpdatedAt :: Lens' Evaluation (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: eMLModelId :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning.Types: eMessage :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning.Types: eName :: Lens' Evaluation (Maybe Text)
- Network.AWS.MachineLearning.Types: ePerformanceMetrics :: Lens' Evaluation (Maybe PerformanceMetrics)
- Network.AWS.MachineLearning.Types: eStartedAt :: Lens' Evaluation (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: eStatus :: Lens' Evaluation (Maybe EntityStatus)
- Network.AWS.MachineLearning.Types: evaluation :: Evaluation
- Network.AWS.MachineLearning.Types: mLModel :: MLModel
- Network.AWS.MachineLearning.Types: machineLearning :: Service
- Network.AWS.MachineLearning.Types: mlmAlgorithm :: Lens' MLModel (Maybe Algorithm)
- Network.AWS.MachineLearning.Types: mlmComputeTime :: Lens' MLModel (Maybe Integer)
- Network.AWS.MachineLearning.Types: mlmCreatedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: mlmCreatedByIAMUser :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning.Types: mlmEndpointInfo :: Lens' MLModel (Maybe RealtimeEndpointInfo)
- Network.AWS.MachineLearning.Types: mlmFinishedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: mlmInputDataLocationS3 :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning.Types: mlmLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: mlmMLModelId :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning.Types: mlmMLModelType :: Lens' MLModel (Maybe MLModelType)
- Network.AWS.MachineLearning.Types: mlmMessage :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning.Types: mlmName :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning.Types: mlmScoreThreshold :: Lens' MLModel (Maybe Double)
- Network.AWS.MachineLearning.Types: mlmScoreThresholdLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: mlmSizeInBytes :: Lens' MLModel (Maybe Integer)
- Network.AWS.MachineLearning.Types: mlmStartedAt :: Lens' MLModel (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: mlmStatus :: Lens' MLModel (Maybe EntityStatus)
- Network.AWS.MachineLearning.Types: mlmTrainingDataSourceId :: Lens' MLModel (Maybe Text)
- Network.AWS.MachineLearning.Types: mlmTrainingParameters :: Lens' MLModel (HashMap Text Text)
- Network.AWS.MachineLearning.Types: pDetails :: Lens' Prediction (HashMap DetailsAttributes Text)
- Network.AWS.MachineLearning.Types: pPredictedLabel :: Lens' Prediction (Maybe Text)
- Network.AWS.MachineLearning.Types: pPredictedScores :: Lens' Prediction (HashMap Text Double)
- Network.AWS.MachineLearning.Types: pPredictedValue :: Lens' Prediction (Maybe Double)
- Network.AWS.MachineLearning.Types: performanceMetrics :: PerformanceMetrics
- Network.AWS.MachineLearning.Types: pmProperties :: Lens' PerformanceMetrics (HashMap Text Text)
- Network.AWS.MachineLearning.Types: prediction :: Prediction
- Network.AWS.MachineLearning.Types: rDataRearrangement :: Lens' RedshiftDataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: rDataSchema :: Lens' RedshiftDataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: rDataSchemaURI :: Lens' RedshiftDataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: rDatabaseCredentials :: Lens' RedshiftDataSpec RedshiftDatabaseCredentials
- Network.AWS.MachineLearning.Types: rDatabaseInformation :: Lens' RedshiftDataSpec RedshiftDatabase
- Network.AWS.MachineLearning.Types: rS3StagingLocation :: Lens' RedshiftDataSpec Text
- Network.AWS.MachineLearning.Types: rSelectSqlQuery :: Lens' RedshiftDataSpec Text
- Network.AWS.MachineLearning.Types: rdClusterIdentifier :: Lens' RedshiftDatabase Text
- Network.AWS.MachineLearning.Types: rdDatabaseName :: Lens' RedshiftDatabase Text
- Network.AWS.MachineLearning.Types: rdcPassword :: Lens' RedshiftDatabaseCredentials Text
- Network.AWS.MachineLearning.Types: rdcUsername :: Lens' RedshiftDatabaseCredentials Text
- Network.AWS.MachineLearning.Types: rdsDataSpec :: RDSDatabase -> Text -> RDSDatabaseCredentials -> Text -> Text -> Text -> Text -> RDSDataSpec
- Network.AWS.MachineLearning.Types: rdsDatabase :: Text -> Text -> RDSDatabase
- Network.AWS.MachineLearning.Types: rdsDatabaseCredentials :: Text -> Text -> RDSDatabaseCredentials
- Network.AWS.MachineLearning.Types: rdsMetadata :: RDSMetadata
- Network.AWS.MachineLearning.Types: rdsdDatabaseName :: Lens' RDSDatabase Text
- Network.AWS.MachineLearning.Types: rdsdInstanceIdentifier :: Lens' RDSDatabase Text
- Network.AWS.MachineLearning.Types: rdsdcPassword :: Lens' RDSDatabaseCredentials Text
- Network.AWS.MachineLearning.Types: rdsdcUsername :: Lens' RDSDatabaseCredentials Text
- Network.AWS.MachineLearning.Types: rdsdsDataRearrangement :: Lens' RDSDataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: rdsdsDataSchema :: Lens' RDSDataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: rdsdsDataSchemaURI :: Lens' RDSDataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: rdsdsDatabaseCredentials :: Lens' RDSDataSpec RDSDatabaseCredentials
- Network.AWS.MachineLearning.Types: rdsdsDatabaseInformation :: Lens' RDSDataSpec RDSDatabase
- Network.AWS.MachineLearning.Types: rdsdsResourceRole :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning.Types: rdsdsS3StagingLocation :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning.Types: rdsdsSecurityGroupIds :: Lens' RDSDataSpec [Text]
- Network.AWS.MachineLearning.Types: rdsdsSelectSqlQuery :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning.Types: rdsdsServiceRole :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning.Types: rdsdsSubnetId :: Lens' RDSDataSpec Text
- Network.AWS.MachineLearning.Types: realtimeEndpointInfo :: RealtimeEndpointInfo
- Network.AWS.MachineLearning.Types: redDatabaseUserName :: Lens' RedshiftMetadata (Maybe Text)
- Network.AWS.MachineLearning.Types: redRedshiftDatabase :: Lens' RedshiftMetadata (Maybe RedshiftDatabase)
- Network.AWS.MachineLearning.Types: redSelectSqlQuery :: Lens' RedshiftMetadata (Maybe Text)
- Network.AWS.MachineLearning.Types: redshiftDataSpec :: RedshiftDatabase -> Text -> RedshiftDatabaseCredentials -> Text -> RedshiftDataSpec
- Network.AWS.MachineLearning.Types: redshiftDatabase :: Text -> Text -> RedshiftDatabase
- Network.AWS.MachineLearning.Types: redshiftDatabaseCredentials :: Text -> Text -> RedshiftDatabaseCredentials
- Network.AWS.MachineLearning.Types: redshiftMetadata :: RedshiftMetadata
- Network.AWS.MachineLearning.Types: reiCreatedAt :: Lens' RealtimeEndpointInfo (Maybe UTCTime)
- Network.AWS.MachineLearning.Types: reiEndpointStatus :: Lens' RealtimeEndpointInfo (Maybe RealtimeEndpointStatus)
- Network.AWS.MachineLearning.Types: reiEndpointURL :: Lens' RealtimeEndpointInfo (Maybe Text)
- Network.AWS.MachineLearning.Types: reiPeakRequestsPerSecond :: Lens' RealtimeEndpointInfo (Maybe Int)
- Network.AWS.MachineLearning.Types: rmDataPipelineId :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning.Types: rmDatabase :: Lens' RDSMetadata (Maybe RDSDatabase)
- Network.AWS.MachineLearning.Types: rmDatabaseUserName :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning.Types: rmResourceRole :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning.Types: rmSelectSqlQuery :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning.Types: rmServiceRole :: Lens' RDSMetadata (Maybe Text)
- Network.AWS.MachineLearning.Types: s3DataSpec :: Text -> S3DataSpec
- Network.AWS.MachineLearning.Types: sdsDataLocationS3 :: Lens' S3DataSpec Text
- Network.AWS.MachineLearning.Types: sdsDataRearrangement :: Lens' S3DataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: sdsDataSchema :: Lens' S3DataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: sdsDataSchemaLocationS3 :: Lens' S3DataSpec (Maybe Text)
- Network.AWS.MachineLearning.Types: tag :: Tag
- Network.AWS.MachineLearning.Types: tagKey :: Lens' Tag (Maybe Text)
- Network.AWS.MachineLearning.Types: tagValue :: Lens' Tag (Maybe Text)
- Network.AWS.MachineLearning.UpdateBatchPrediction: data UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: data UpdateBatchPredictionResponse
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Data.Data.Data Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Data.Data.Data Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance GHC.Classes.Eq Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance GHC.Classes.Eq Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance GHC.Generics.Generic Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance GHC.Generics.Generic Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance GHC.Read.Read Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance GHC.Read.Read Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance GHC.Show.Show Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance GHC.Show.Show Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: ubpBatchPredictionId :: Lens' UpdateBatchPrediction Text
- Network.AWS.MachineLearning.UpdateBatchPrediction: ubpBatchPredictionName :: Lens' UpdateBatchPrediction Text
- Network.AWS.MachineLearning.UpdateBatchPrediction: ubprsBatchPredictionId :: Lens' UpdateBatchPredictionResponse (Maybe Text)
- Network.AWS.MachineLearning.UpdateBatchPrediction: ubprsResponseStatus :: Lens' UpdateBatchPredictionResponse Int
- Network.AWS.MachineLearning.UpdateBatchPrediction: updateBatchPrediction :: Text -> Text -> UpdateBatchPrediction
- Network.AWS.MachineLearning.UpdateBatchPrediction: updateBatchPredictionResponse :: Int -> UpdateBatchPredictionResponse
- Network.AWS.MachineLearning.UpdateDataSource: data UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: data UpdateDataSourceResponse
- Network.AWS.MachineLearning.UpdateDataSource: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
- Network.AWS.MachineLearning.UpdateDataSource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance Data.Data.Data Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance Data.Data.Data Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
- Network.AWS.MachineLearning.UpdateDataSource: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance GHC.Classes.Eq Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance GHC.Classes.Eq Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
- Network.AWS.MachineLearning.UpdateDataSource: instance GHC.Generics.Generic Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance GHC.Generics.Generic Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
- Network.AWS.MachineLearning.UpdateDataSource: instance GHC.Read.Read Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance GHC.Read.Read Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
- Network.AWS.MachineLearning.UpdateDataSource: instance GHC.Show.Show Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance GHC.Show.Show Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
- Network.AWS.MachineLearning.UpdateDataSource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.UpdateDataSource.UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: udsDataSourceId :: Lens' UpdateDataSource Text
- Network.AWS.MachineLearning.UpdateDataSource: udsDataSourceName :: Lens' UpdateDataSource Text
- Network.AWS.MachineLearning.UpdateDataSource: udsrsDataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text)
- Network.AWS.MachineLearning.UpdateDataSource: udsrsResponseStatus :: Lens' UpdateDataSourceResponse Int
- Network.AWS.MachineLearning.UpdateDataSource: updateDataSource :: Text -> Text -> UpdateDataSource
- Network.AWS.MachineLearning.UpdateDataSource: updateDataSourceResponse :: Int -> UpdateDataSourceResponse
- Network.AWS.MachineLearning.UpdateEvaluation: data UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: data UpdateEvaluationResponse
- Network.AWS.MachineLearning.UpdateEvaluation: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
- Network.AWS.MachineLearning.UpdateEvaluation: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance Data.Data.Data Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance Data.Data.Data Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
- Network.AWS.MachineLearning.UpdateEvaluation: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance GHC.Classes.Eq Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance GHC.Classes.Eq Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
- Network.AWS.MachineLearning.UpdateEvaluation: instance GHC.Generics.Generic Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance GHC.Generics.Generic Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
- Network.AWS.MachineLearning.UpdateEvaluation: instance GHC.Read.Read Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance GHC.Read.Read Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
- Network.AWS.MachineLearning.UpdateEvaluation: instance GHC.Show.Show Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance GHC.Show.Show Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
- Network.AWS.MachineLearning.UpdateEvaluation: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.UpdateEvaluation.UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: ueEvaluationId :: Lens' UpdateEvaluation Text
- Network.AWS.MachineLearning.UpdateEvaluation: ueEvaluationName :: Lens' UpdateEvaluation Text
- Network.AWS.MachineLearning.UpdateEvaluation: uersEvaluationId :: Lens' UpdateEvaluationResponse (Maybe Text)
- Network.AWS.MachineLearning.UpdateEvaluation: uersResponseStatus :: Lens' UpdateEvaluationResponse Int
- Network.AWS.MachineLearning.UpdateEvaluation: updateEvaluation :: Text -> Text -> UpdateEvaluation
- Network.AWS.MachineLearning.UpdateEvaluation: updateEvaluationResponse :: Int -> UpdateEvaluationResponse
- Network.AWS.MachineLearning.UpdateMLModel: data UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: data UpdateMLModelResponse
- Network.AWS.MachineLearning.UpdateMLModel: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance Control.DeepSeq.NFData Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModelResponse
- Network.AWS.MachineLearning.UpdateMLModel: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance Data.Data.Data Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance Data.Data.Data Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModelResponse
- Network.AWS.MachineLearning.UpdateMLModel: instance Data.Hashable.Class.Hashable Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance GHC.Classes.Eq Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance GHC.Classes.Eq Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModelResponse
- Network.AWS.MachineLearning.UpdateMLModel: instance GHC.Generics.Generic Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance GHC.Generics.Generic Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModelResponse
- Network.AWS.MachineLearning.UpdateMLModel: instance GHC.Read.Read Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance GHC.Read.Read Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModelResponse
- Network.AWS.MachineLearning.UpdateMLModel: instance GHC.Show.Show Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance GHC.Show.Show Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModelResponse
- Network.AWS.MachineLearning.UpdateMLModel: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance Network.AWS.Data.Path.ToPath Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance Network.AWS.Data.Query.ToQuery Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: instance Network.AWS.Types.AWSRequest Network.AWS.MachineLearning.UpdateMLModel.UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: umlmMLModelId :: Lens' UpdateMLModel Text
- Network.AWS.MachineLearning.UpdateMLModel: umlmMLModelName :: Lens' UpdateMLModel (Maybe Text)
- Network.AWS.MachineLearning.UpdateMLModel: umlmScoreThreshold :: Lens' UpdateMLModel (Maybe Double)
- Network.AWS.MachineLearning.UpdateMLModel: umlmrsMLModelId :: Lens' UpdateMLModelResponse (Maybe Text)
- Network.AWS.MachineLearning.UpdateMLModel: umlmrsResponseStatus :: Lens' UpdateMLModelResponse Int
- Network.AWS.MachineLearning.UpdateMLModel: updateMLModel :: Text -> UpdateMLModel
- Network.AWS.MachineLearning.UpdateMLModel: updateMLModelResponse :: Int -> UpdateMLModelResponse
- Network.AWS.MachineLearning.Waiters: batchPredictionAvailable :: Wait DescribeBatchPredictions
- Network.AWS.MachineLearning.Waiters: dataSourceAvailable :: Wait DescribeDataSources
- Network.AWS.MachineLearning.Waiters: evaluationAvailable :: Wait DescribeEvaluations
- Network.AWS.MachineLearning.Waiters: mLModelAvailable :: Wait DescribeMLModels
+ Amazonka.MachineLearning: AddTags' :: [Tag] -> Text -> TaggableResourceType -> AddTags
+ Amazonka.MachineLearning: AddTagsResponse' :: Maybe Text -> Maybe TaggableResourceType -> Int -> AddTagsResponse
+ Amazonka.MachineLearning: Algorithm' :: Text -> Algorithm
+ Amazonka.MachineLearning: BatchPrediction' :: Maybe Text -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> Maybe Integer -> BatchPrediction
+ Amazonka.MachineLearning: BatchPredictionFilterVariable' :: Text -> BatchPredictionFilterVariable
+ Amazonka.MachineLearning: CreateBatchPrediction' :: Maybe Text -> Text -> Text -> Text -> Text -> CreateBatchPrediction
+ Amazonka.MachineLearning: CreateBatchPredictionResponse' :: Maybe Text -> Int -> CreateBatchPredictionResponse
+ Amazonka.MachineLearning: CreateDataSourceFromRDS' :: Maybe Bool -> Maybe Text -> Text -> RDSDataSpec -> Text -> CreateDataSourceFromRDS
+ Amazonka.MachineLearning: CreateDataSourceFromRDSResponse' :: Maybe Text -> Int -> CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning: CreateDataSourceFromRedshift' :: Maybe Bool -> Maybe Text -> Text -> RedshiftDataSpec -> Text -> CreateDataSourceFromRedshift
+ Amazonka.MachineLearning: CreateDataSourceFromRedshiftResponse' :: Maybe Text -> Int -> CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning: CreateDataSourceFromS3' :: Maybe Bool -> Maybe Text -> Text -> S3DataSpec -> CreateDataSourceFromS3
+ Amazonka.MachineLearning: CreateDataSourceFromS3Response' :: Maybe Text -> Int -> CreateDataSourceFromS3Response
+ Amazonka.MachineLearning: CreateEvaluation' :: Maybe Text -> Text -> Text -> Text -> CreateEvaluation
+ Amazonka.MachineLearning: CreateEvaluationResponse' :: Maybe Text -> Int -> CreateEvaluationResponse
+ Amazonka.MachineLearning: CreateMLModel' :: Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Text -> MLModelType -> Text -> CreateMLModel
+ Amazonka.MachineLearning: CreateMLModelResponse' :: Maybe Text -> Int -> CreateMLModelResponse
+ Amazonka.MachineLearning: CreateRealtimeEndpoint' :: Text -> CreateRealtimeEndpoint
+ Amazonka.MachineLearning: CreateRealtimeEndpointResponse' :: Maybe Text -> Maybe RealtimeEndpointInfo -> Int -> CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning: DataSource' :: Maybe Bool -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe RDSMetadata -> Maybe RedshiftMetadata -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> DataSource
+ Amazonka.MachineLearning: DataSourceFilterVariable' :: Text -> DataSourceFilterVariable
+ Amazonka.MachineLearning: DeleteBatchPrediction' :: Text -> DeleteBatchPrediction
+ Amazonka.MachineLearning: DeleteBatchPredictionResponse' :: Maybe Text -> Int -> DeleteBatchPredictionResponse
+ Amazonka.MachineLearning: DeleteDataSource' :: Text -> DeleteDataSource
+ Amazonka.MachineLearning: DeleteDataSourceResponse' :: Maybe Text -> Int -> DeleteDataSourceResponse
+ Amazonka.MachineLearning: DeleteEvaluation' :: Text -> DeleteEvaluation
+ Amazonka.MachineLearning: DeleteEvaluationResponse' :: Maybe Text -> Int -> DeleteEvaluationResponse
+ Amazonka.MachineLearning: DeleteMLModel' :: Text -> DeleteMLModel
+ Amazonka.MachineLearning: DeleteMLModelResponse' :: Maybe Text -> Int -> DeleteMLModelResponse
+ Amazonka.MachineLearning: DeleteRealtimeEndpoint' :: Text -> DeleteRealtimeEndpoint
+ Amazonka.MachineLearning: DeleteRealtimeEndpointResponse' :: Maybe Text -> Maybe RealtimeEndpointInfo -> Int -> DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning: DeleteTags' :: [Text] -> Text -> TaggableResourceType -> DeleteTags
+ Amazonka.MachineLearning: DeleteTagsResponse' :: Maybe Text -> Maybe TaggableResourceType -> Int -> DeleteTagsResponse
+ Amazonka.MachineLearning: DescribeBatchPredictions' :: Maybe Text -> Maybe BatchPredictionFilterVariable -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SortOrder -> DescribeBatchPredictions
+ Amazonka.MachineLearning: DescribeBatchPredictionsResponse' :: Maybe Text -> Maybe [BatchPrediction] -> Int -> DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning: DescribeDataSources' :: Maybe Text -> Maybe DataSourceFilterVariable -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SortOrder -> DescribeDataSources
+ Amazonka.MachineLearning: DescribeDataSourcesResponse' :: Maybe Text -> Maybe [DataSource] -> Int -> DescribeDataSourcesResponse
+ Amazonka.MachineLearning: DescribeEvaluations' :: Maybe Text -> Maybe EvaluationFilterVariable -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SortOrder -> DescribeEvaluations
+ Amazonka.MachineLearning: DescribeEvaluationsResponse' :: Maybe Text -> Maybe [Evaluation] -> Int -> DescribeEvaluationsResponse
+ Amazonka.MachineLearning: DescribeMLModels' :: Maybe Text -> Maybe MLModelFilterVariable -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SortOrder -> DescribeMLModels
+ Amazonka.MachineLearning: DescribeMLModelsResponse' :: Maybe Text -> Maybe [MLModel] -> Int -> DescribeMLModelsResponse
+ Amazonka.MachineLearning: DescribeTags' :: Text -> TaggableResourceType -> DescribeTags
+ Amazonka.MachineLearning: DescribeTagsResponse' :: Maybe Text -> Maybe TaggableResourceType -> Maybe [Tag] -> Int -> DescribeTagsResponse
+ Amazonka.MachineLearning: DetailsAttributes' :: Text -> DetailsAttributes
+ Amazonka.MachineLearning: EntityStatus' :: Text -> EntityStatus
+ Amazonka.MachineLearning: Evaluation' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PerformanceMetrics -> Maybe POSIX -> Maybe EntityStatus -> Evaluation
+ Amazonka.MachineLearning: EvaluationFilterVariable' :: Text -> EvaluationFilterVariable
+ Amazonka.MachineLearning: GetBatchPrediction' :: Text -> GetBatchPrediction
+ Amazonka.MachineLearning: GetBatchPredictionResponse' :: Maybe Text -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> Maybe Integer -> Int -> GetBatchPredictionResponse
+ Amazonka.MachineLearning: GetDataSource' :: Maybe Bool -> Text -> GetDataSource
+ Amazonka.MachineLearning: GetDataSourceResponse' :: Maybe Bool -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe RDSMetadata -> Maybe RedshiftMetadata -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> Int -> GetDataSourceResponse
+ Amazonka.MachineLearning: GetEvaluation' :: Text -> GetEvaluation
+ Amazonka.MachineLearning: GetEvaluationResponse' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PerformanceMetrics -> Maybe POSIX -> Maybe EntityStatus -> Int -> GetEvaluationResponse
+ Amazonka.MachineLearning: GetMLModel' :: Maybe Bool -> Text -> GetMLModel
+ Amazonka.MachineLearning: GetMLModelResponse' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe RealtimeEndpointInfo -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MLModelType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe POSIX -> Maybe Integer -> Maybe POSIX -> Maybe EntityStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Int -> GetMLModelResponse
+ Amazonka.MachineLearning: MLModel' :: Maybe Algorithm -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe RealtimeEndpointInfo -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe MLModelType -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe POSIX -> Maybe Integer -> Maybe POSIX -> Maybe EntityStatus -> Maybe Text -> Maybe (HashMap Text Text) -> MLModel
+ Amazonka.MachineLearning: MLModelFilterVariable' :: Text -> MLModelFilterVariable
+ Amazonka.MachineLearning: MLModelType' :: Text -> MLModelType
+ Amazonka.MachineLearning: PerformanceMetrics' :: Maybe (HashMap Text Text) -> PerformanceMetrics
+ Amazonka.MachineLearning: Predict' :: Text -> HashMap Text Text -> Text -> Predict
+ Amazonka.MachineLearning: PredictResponse' :: Maybe Prediction -> Int -> PredictResponse
+ Amazonka.MachineLearning: Prediction' :: Maybe (HashMap DetailsAttributes Text) -> Maybe Text -> Maybe (HashMap Text Double) -> Maybe Double -> Prediction
+ Amazonka.MachineLearning: RDSDataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> RDSDatabase -> Text -> RDSDatabaseCredentials -> Text -> Text -> Text -> Text -> [Text] -> RDSDataSpec
+ Amazonka.MachineLearning: RDSDatabase' :: Text -> Text -> RDSDatabase
+ Amazonka.MachineLearning: RDSDatabaseCredentials' :: Text -> Text -> RDSDatabaseCredentials
+ Amazonka.MachineLearning: RDSMetadata' :: Maybe Text -> Maybe RDSDatabase -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RDSMetadata
+ Amazonka.MachineLearning: RealtimeEndpointInfo' :: Maybe POSIX -> Maybe RealtimeEndpointStatus -> Maybe Text -> Maybe Int -> RealtimeEndpointInfo
+ Amazonka.MachineLearning: RealtimeEndpointStatus' :: Text -> RealtimeEndpointStatus
+ Amazonka.MachineLearning: RedshiftDataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> RedshiftDatabase -> Text -> RedshiftDatabaseCredentials -> Text -> RedshiftDataSpec
+ Amazonka.MachineLearning: RedshiftDatabase' :: Text -> Text -> RedshiftDatabase
+ Amazonka.MachineLearning: RedshiftDatabaseCredentials' :: Text -> Text -> RedshiftDatabaseCredentials
+ Amazonka.MachineLearning: RedshiftMetadata' :: Maybe Text -> Maybe RedshiftDatabase -> Maybe Text -> RedshiftMetadata
+ Amazonka.MachineLearning: S3DataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> S3DataSpec
+ Amazonka.MachineLearning: SortOrder' :: Text -> SortOrder
+ Amazonka.MachineLearning: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.MachineLearning: TaggableResourceType' :: Text -> TaggableResourceType
+ Amazonka.MachineLearning: UpdateBatchPrediction' :: Text -> Text -> UpdateBatchPrediction
+ Amazonka.MachineLearning: UpdateBatchPredictionResponse' :: Maybe Text -> Int -> UpdateBatchPredictionResponse
+ Amazonka.MachineLearning: UpdateDataSource' :: Text -> Text -> UpdateDataSource
+ Amazonka.MachineLearning: UpdateDataSourceResponse' :: Maybe Text -> Int -> UpdateDataSourceResponse
+ Amazonka.MachineLearning: UpdateEvaluation' :: Text -> Text -> UpdateEvaluation
+ Amazonka.MachineLearning: UpdateEvaluationResponse' :: Maybe Text -> Int -> UpdateEvaluationResponse
+ Amazonka.MachineLearning: UpdateMLModel' :: Maybe Text -> Maybe Double -> Text -> UpdateMLModel
+ Amazonka.MachineLearning: UpdateMLModelResponse' :: Maybe Text -> Int -> UpdateMLModelResponse
+ Amazonka.MachineLearning: [fromAlgorithm] :: Algorithm -> Text
+ Amazonka.MachineLearning: [fromBatchPredictionFilterVariable] :: BatchPredictionFilterVariable -> Text
+ Amazonka.MachineLearning: [fromDataSourceFilterVariable] :: DataSourceFilterVariable -> Text
+ Amazonka.MachineLearning: [fromDetailsAttributes] :: DetailsAttributes -> Text
+ Amazonka.MachineLearning: [fromEntityStatus] :: EntityStatus -> Text
+ Amazonka.MachineLearning: [fromEvaluationFilterVariable] :: EvaluationFilterVariable -> Text
+ Amazonka.MachineLearning: [fromMLModelFilterVariable] :: MLModelFilterVariable -> Text
+ Amazonka.MachineLearning: [fromMLModelType] :: MLModelType -> Text
+ Amazonka.MachineLearning: [fromRealtimeEndpointStatus] :: RealtimeEndpointStatus -> Text
+ Amazonka.MachineLearning: [fromSortOrder] :: SortOrder -> Text
+ Amazonka.MachineLearning: [fromTaggableResourceType] :: TaggableResourceType -> Text
+ Amazonka.MachineLearning: _IdempotentParameterMismatchException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning: _InternalServerException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning: _InvalidInputException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning: _InvalidTagException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning: _PredictorNotMountedException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning: _TagLimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning: data AddTags
+ Amazonka.MachineLearning: data AddTagsResponse
+ Amazonka.MachineLearning: data BatchPrediction
+ Amazonka.MachineLearning: data CreateBatchPrediction
+ Amazonka.MachineLearning: data CreateBatchPredictionResponse
+ Amazonka.MachineLearning: data CreateDataSourceFromRDS
+ Amazonka.MachineLearning: data CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning: data CreateDataSourceFromRedshift
+ Amazonka.MachineLearning: data CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning: data CreateDataSourceFromS3
+ Amazonka.MachineLearning: data CreateDataSourceFromS3Response
+ Amazonka.MachineLearning: data CreateEvaluation
+ Amazonka.MachineLearning: data CreateEvaluationResponse
+ Amazonka.MachineLearning: data CreateMLModel
+ Amazonka.MachineLearning: data CreateMLModelResponse
+ Amazonka.MachineLearning: data CreateRealtimeEndpoint
+ Amazonka.MachineLearning: data CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning: data DataSource
+ Amazonka.MachineLearning: data DeleteBatchPrediction
+ Amazonka.MachineLearning: data DeleteBatchPredictionResponse
+ Amazonka.MachineLearning: data DeleteDataSource
+ Amazonka.MachineLearning: data DeleteDataSourceResponse
+ Amazonka.MachineLearning: data DeleteEvaluation
+ Amazonka.MachineLearning: data DeleteEvaluationResponse
+ Amazonka.MachineLearning: data DeleteMLModel
+ Amazonka.MachineLearning: data DeleteMLModelResponse
+ Amazonka.MachineLearning: data DeleteRealtimeEndpoint
+ Amazonka.MachineLearning: data DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning: data DeleteTags
+ Amazonka.MachineLearning: data DeleteTagsResponse
+ Amazonka.MachineLearning: data DescribeBatchPredictions
+ Amazonka.MachineLearning: data DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning: data DescribeDataSources
+ Amazonka.MachineLearning: data DescribeDataSourcesResponse
+ Amazonka.MachineLearning: data DescribeEvaluations
+ Amazonka.MachineLearning: data DescribeEvaluationsResponse
+ Amazonka.MachineLearning: data DescribeMLModels
+ Amazonka.MachineLearning: data DescribeMLModelsResponse
+ Amazonka.MachineLearning: data DescribeTags
+ Amazonka.MachineLearning: data DescribeTagsResponse
+ Amazonka.MachineLearning: data Evaluation
+ Amazonka.MachineLearning: data GetBatchPrediction
+ Amazonka.MachineLearning: data GetBatchPredictionResponse
+ Amazonka.MachineLearning: data GetDataSource
+ Amazonka.MachineLearning: data GetDataSourceResponse
+ Amazonka.MachineLearning: data GetEvaluation
+ Amazonka.MachineLearning: data GetEvaluationResponse
+ Amazonka.MachineLearning: data GetMLModel
+ Amazonka.MachineLearning: data GetMLModelResponse
+ Amazonka.MachineLearning: data MLModel
+ Amazonka.MachineLearning: data PerformanceMetrics
+ Amazonka.MachineLearning: data Predict
+ Amazonka.MachineLearning: data PredictResponse
+ Amazonka.MachineLearning: data Prediction
+ Amazonka.MachineLearning: data RDSDataSpec
+ Amazonka.MachineLearning: data RDSDatabase
+ Amazonka.MachineLearning: data RDSDatabaseCredentials
+ Amazonka.MachineLearning: data RDSMetadata
+ Amazonka.MachineLearning: data RealtimeEndpointInfo
+ Amazonka.MachineLearning: data RedshiftDataSpec
+ Amazonka.MachineLearning: data RedshiftDatabase
+ Amazonka.MachineLearning: data RedshiftDatabaseCredentials
+ Amazonka.MachineLearning: data RedshiftMetadata
+ Amazonka.MachineLearning: data S3DataSpec
+ Amazonka.MachineLearning: data Tag
+ Amazonka.MachineLearning: data UpdateBatchPrediction
+ Amazonka.MachineLearning: data UpdateBatchPredictionResponse
+ Amazonka.MachineLearning: data UpdateDataSource
+ Amazonka.MachineLearning: data UpdateDataSourceResponse
+ Amazonka.MachineLearning: data UpdateEvaluation
+ Amazonka.MachineLearning: data UpdateEvaluationResponse
+ Amazonka.MachineLearning: data UpdateMLModel
+ Amazonka.MachineLearning: data UpdateMLModelResponse
+ Amazonka.MachineLearning: defaultService :: Service
+ Amazonka.MachineLearning: newAddTags :: Text -> TaggableResourceType -> AddTags
+ Amazonka.MachineLearning: newAddTagsResponse :: Int -> AddTagsResponse
+ Amazonka.MachineLearning: newBatchPrediction :: BatchPrediction
+ Amazonka.MachineLearning: newBatchPredictionAvailable :: Wait DescribeBatchPredictions
+ Amazonka.MachineLearning: newCreateBatchPrediction :: Text -> Text -> Text -> Text -> CreateBatchPrediction
+ Amazonka.MachineLearning: newCreateBatchPredictionResponse :: Int -> CreateBatchPredictionResponse
+ Amazonka.MachineLearning: newCreateDataSourceFromRDS :: Text -> RDSDataSpec -> Text -> CreateDataSourceFromRDS
+ Amazonka.MachineLearning: newCreateDataSourceFromRDSResponse :: Int -> CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning: newCreateDataSourceFromRedshift :: Text -> RedshiftDataSpec -> Text -> CreateDataSourceFromRedshift
+ Amazonka.MachineLearning: newCreateDataSourceFromRedshiftResponse :: Int -> CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning: newCreateDataSourceFromS3 :: Text -> S3DataSpec -> CreateDataSourceFromS3
+ Amazonka.MachineLearning: newCreateDataSourceFromS3Response :: Int -> CreateDataSourceFromS3Response
+ Amazonka.MachineLearning: newCreateEvaluation :: Text -> Text -> Text -> CreateEvaluation
+ Amazonka.MachineLearning: newCreateEvaluationResponse :: Int -> CreateEvaluationResponse
+ Amazonka.MachineLearning: newCreateMLModel :: Text -> MLModelType -> Text -> CreateMLModel
+ Amazonka.MachineLearning: newCreateMLModelResponse :: Int -> CreateMLModelResponse
+ Amazonka.MachineLearning: newCreateRealtimeEndpoint :: Text -> CreateRealtimeEndpoint
+ Amazonka.MachineLearning: newCreateRealtimeEndpointResponse :: Int -> CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning: newDataSource :: DataSource
+ Amazonka.MachineLearning: newDataSourceAvailable :: Wait DescribeDataSources
+ Amazonka.MachineLearning: newDeleteBatchPrediction :: Text -> DeleteBatchPrediction
+ Amazonka.MachineLearning: newDeleteBatchPredictionResponse :: Int -> DeleteBatchPredictionResponse
+ Amazonka.MachineLearning: newDeleteDataSource :: Text -> DeleteDataSource
+ Amazonka.MachineLearning: newDeleteDataSourceResponse :: Int -> DeleteDataSourceResponse
+ Amazonka.MachineLearning: newDeleteEvaluation :: Text -> DeleteEvaluation
+ Amazonka.MachineLearning: newDeleteEvaluationResponse :: Int -> DeleteEvaluationResponse
+ Amazonka.MachineLearning: newDeleteMLModel :: Text -> DeleteMLModel
+ Amazonka.MachineLearning: newDeleteMLModelResponse :: Int -> DeleteMLModelResponse
+ Amazonka.MachineLearning: newDeleteRealtimeEndpoint :: Text -> DeleteRealtimeEndpoint
+ Amazonka.MachineLearning: newDeleteRealtimeEndpointResponse :: Int -> DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning: newDeleteTags :: Text -> TaggableResourceType -> DeleteTags
+ Amazonka.MachineLearning: newDeleteTagsResponse :: Int -> DeleteTagsResponse
+ Amazonka.MachineLearning: newDescribeBatchPredictions :: DescribeBatchPredictions
+ Amazonka.MachineLearning: newDescribeBatchPredictionsResponse :: Int -> DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning: newDescribeDataSources :: DescribeDataSources
+ Amazonka.MachineLearning: newDescribeDataSourcesResponse :: Int -> DescribeDataSourcesResponse
+ Amazonka.MachineLearning: newDescribeEvaluations :: DescribeEvaluations
+ Amazonka.MachineLearning: newDescribeEvaluationsResponse :: Int -> DescribeEvaluationsResponse
+ Amazonka.MachineLearning: newDescribeMLModels :: DescribeMLModels
+ Amazonka.MachineLearning: newDescribeMLModelsResponse :: Int -> DescribeMLModelsResponse
+ Amazonka.MachineLearning: newDescribeTags :: Text -> TaggableResourceType -> DescribeTags
+ Amazonka.MachineLearning: newDescribeTagsResponse :: Int -> DescribeTagsResponse
+ Amazonka.MachineLearning: newEvaluation :: Evaluation
+ Amazonka.MachineLearning: newEvaluationAvailable :: Wait DescribeEvaluations
+ Amazonka.MachineLearning: newGetBatchPrediction :: Text -> GetBatchPrediction
+ Amazonka.MachineLearning: newGetBatchPredictionResponse :: Int -> GetBatchPredictionResponse
+ Amazonka.MachineLearning: newGetDataSource :: Text -> GetDataSource
+ Amazonka.MachineLearning: newGetDataSourceResponse :: Int -> GetDataSourceResponse
+ Amazonka.MachineLearning: newGetEvaluation :: Text -> GetEvaluation
+ Amazonka.MachineLearning: newGetEvaluationResponse :: Int -> GetEvaluationResponse
+ Amazonka.MachineLearning: newGetMLModel :: Text -> GetMLModel
+ Amazonka.MachineLearning: newGetMLModelResponse :: Int -> GetMLModelResponse
+ Amazonka.MachineLearning: newMLModel :: MLModel
+ Amazonka.MachineLearning: newMLModelAvailable :: Wait DescribeMLModels
+ Amazonka.MachineLearning: newPerformanceMetrics :: PerformanceMetrics
+ Amazonka.MachineLearning: newPredict :: Text -> Text -> Predict
+ Amazonka.MachineLearning: newPredictResponse :: Int -> PredictResponse
+ Amazonka.MachineLearning: newPrediction :: Prediction
+ Amazonka.MachineLearning: newRDSDataSpec :: RDSDatabase -> Text -> RDSDatabaseCredentials -> Text -> Text -> Text -> Text -> RDSDataSpec
+ Amazonka.MachineLearning: newRDSDatabase :: Text -> Text -> RDSDatabase
+ Amazonka.MachineLearning: newRDSDatabaseCredentials :: Text -> Text -> RDSDatabaseCredentials
+ Amazonka.MachineLearning: newRDSMetadata :: RDSMetadata
+ Amazonka.MachineLearning: newRealtimeEndpointInfo :: RealtimeEndpointInfo
+ Amazonka.MachineLearning: newRedshiftDataSpec :: RedshiftDatabase -> Text -> RedshiftDatabaseCredentials -> Text -> RedshiftDataSpec
+ Amazonka.MachineLearning: newRedshiftDatabase :: Text -> Text -> RedshiftDatabase
+ Amazonka.MachineLearning: newRedshiftDatabaseCredentials :: Text -> Text -> RedshiftDatabaseCredentials
+ Amazonka.MachineLearning: newRedshiftMetadata :: RedshiftMetadata
+ Amazonka.MachineLearning: newS3DataSpec :: Text -> S3DataSpec
+ Amazonka.MachineLearning: newTag :: Tag
+ Amazonka.MachineLearning: newUpdateBatchPrediction :: Text -> Text -> UpdateBatchPrediction
+ Amazonka.MachineLearning: newUpdateBatchPredictionResponse :: Int -> UpdateBatchPredictionResponse
+ Amazonka.MachineLearning: newUpdateDataSource :: Text -> Text -> UpdateDataSource
+ Amazonka.MachineLearning: newUpdateDataSourceResponse :: Int -> UpdateDataSourceResponse
+ Amazonka.MachineLearning: newUpdateEvaluation :: Text -> Text -> UpdateEvaluation
+ Amazonka.MachineLearning: newUpdateEvaluationResponse :: Int -> UpdateEvaluationResponse
+ Amazonka.MachineLearning: newUpdateMLModel :: Text -> UpdateMLModel
+ Amazonka.MachineLearning: newUpdateMLModelResponse :: Int -> UpdateMLModelResponse
+ Amazonka.MachineLearning: newtype Algorithm
+ Amazonka.MachineLearning: newtype BatchPredictionFilterVariable
+ Amazonka.MachineLearning: newtype DataSourceFilterVariable
+ Amazonka.MachineLearning: newtype DetailsAttributes
+ Amazonka.MachineLearning: newtype EntityStatus
+ Amazonka.MachineLearning: newtype EvaluationFilterVariable
+ Amazonka.MachineLearning: newtype MLModelFilterVariable
+ Amazonka.MachineLearning: newtype MLModelType
+ Amazonka.MachineLearning: newtype RealtimeEndpointStatus
+ Amazonka.MachineLearning: newtype SortOrder
+ Amazonka.MachineLearning: newtype TaggableResourceType
+ Amazonka.MachineLearning: pattern Algorithm_Sgd :: Algorithm
+ Amazonka.MachineLearning: pattern BatchPredictionFilterVariable_CreatedAt :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning: pattern BatchPredictionFilterVariable_DataSourceId :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning: pattern BatchPredictionFilterVariable_DataURI :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning: pattern BatchPredictionFilterVariable_IAMUser :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning: pattern BatchPredictionFilterVariable_LastUpdatedAt :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning: pattern BatchPredictionFilterVariable_MLModelId :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning: pattern BatchPredictionFilterVariable_Name :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning: pattern BatchPredictionFilterVariable_Status :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning: pattern DataSourceFilterVariable_CreatedAt :: DataSourceFilterVariable
+ Amazonka.MachineLearning: pattern DataSourceFilterVariable_DataLocationS3 :: DataSourceFilterVariable
+ Amazonka.MachineLearning: pattern DataSourceFilterVariable_IAMUser :: DataSourceFilterVariable
+ Amazonka.MachineLearning: pattern DataSourceFilterVariable_LastUpdatedAt :: DataSourceFilterVariable
+ Amazonka.MachineLearning: pattern DataSourceFilterVariable_Name :: DataSourceFilterVariable
+ Amazonka.MachineLearning: pattern DataSourceFilterVariable_Status :: DataSourceFilterVariable
+ Amazonka.MachineLearning: pattern DetailsAttributes_Algorithm :: DetailsAttributes
+ Amazonka.MachineLearning: pattern DetailsAttributes_PredictiveModelType :: DetailsAttributes
+ Amazonka.MachineLearning: pattern EntityStatus_COMPLETED :: EntityStatus
+ Amazonka.MachineLearning: pattern EntityStatus_DELETED :: EntityStatus
+ Amazonka.MachineLearning: pattern EntityStatus_FAILED :: EntityStatus
+ Amazonka.MachineLearning: pattern EntityStatus_INPROGRESS :: EntityStatus
+ Amazonka.MachineLearning: pattern EntityStatus_PENDING :: EntityStatus
+ Amazonka.MachineLearning: pattern EvaluationFilterVariable_CreatedAt :: EvaluationFilterVariable
+ Amazonka.MachineLearning: pattern EvaluationFilterVariable_DataSourceId :: EvaluationFilterVariable
+ Amazonka.MachineLearning: pattern EvaluationFilterVariable_DataURI :: EvaluationFilterVariable
+ Amazonka.MachineLearning: pattern EvaluationFilterVariable_IAMUser :: EvaluationFilterVariable
+ Amazonka.MachineLearning: pattern EvaluationFilterVariable_LastUpdatedAt :: EvaluationFilterVariable
+ Amazonka.MachineLearning: pattern EvaluationFilterVariable_MLModelId :: EvaluationFilterVariable
+ Amazonka.MachineLearning: pattern EvaluationFilterVariable_Name :: EvaluationFilterVariable
+ Amazonka.MachineLearning: pattern EvaluationFilterVariable_Status :: EvaluationFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_Algorithm :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_CreatedAt :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_IAMUser :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_LastUpdatedAt :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_MLModelType :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_Name :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_RealtimeEndpointStatus :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_Status :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_TrainingDataSourceId :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelFilterVariable_TrainingDataURI :: MLModelFilterVariable
+ Amazonka.MachineLearning: pattern MLModelType_BINARY :: MLModelType
+ Amazonka.MachineLearning: pattern MLModelType_MULTICLASS :: MLModelType
+ Amazonka.MachineLearning: pattern MLModelType_REGRESSION :: MLModelType
+ Amazonka.MachineLearning: pattern RealtimeEndpointStatus_FAILED :: RealtimeEndpointStatus
+ Amazonka.MachineLearning: pattern RealtimeEndpointStatus_NONE :: RealtimeEndpointStatus
+ Amazonka.MachineLearning: pattern RealtimeEndpointStatus_READY :: RealtimeEndpointStatus
+ Amazonka.MachineLearning: pattern RealtimeEndpointStatus_UPDATING :: RealtimeEndpointStatus
+ Amazonka.MachineLearning: pattern SortOrder_Asc :: SortOrder
+ Amazonka.MachineLearning: pattern SortOrder_Dsc :: SortOrder
+ Amazonka.MachineLearning: pattern TaggableResourceType_BatchPrediction :: TaggableResourceType
+ Amazonka.MachineLearning: pattern TaggableResourceType_DataSource :: TaggableResourceType
+ Amazonka.MachineLearning: pattern TaggableResourceType_Evaluation :: TaggableResourceType
+ Amazonka.MachineLearning: pattern TaggableResourceType_MLModel :: TaggableResourceType
+ Amazonka.MachineLearning.AddTags: AddTags' :: [Tag] -> Text -> TaggableResourceType -> AddTags
+ Amazonka.MachineLearning.AddTags: AddTagsResponse' :: Maybe Text -> Maybe TaggableResourceType -> Int -> AddTagsResponse
+ Amazonka.MachineLearning.AddTags: [$sel:httpStatus:AddTagsResponse'] :: AddTagsResponse -> Int
+ Amazonka.MachineLearning.AddTags: [$sel:resourceId:AddTags'] :: AddTags -> Text
+ Amazonka.MachineLearning.AddTags: [$sel:resourceId:AddTagsResponse'] :: AddTagsResponse -> Maybe Text
+ Amazonka.MachineLearning.AddTags: [$sel:resourceType:AddTags'] :: AddTags -> TaggableResourceType
+ Amazonka.MachineLearning.AddTags: [$sel:resourceType:AddTagsResponse'] :: AddTagsResponse -> Maybe TaggableResourceType
+ Amazonka.MachineLearning.AddTags: [$sel:tags:AddTags'] :: AddTags -> [Tag]
+ Amazonka.MachineLearning.AddTags: addTagsResponse_httpStatus :: Lens' AddTagsResponse Int
+ Amazonka.MachineLearning.AddTags: addTagsResponse_resourceId :: Lens' AddTagsResponse (Maybe Text)
+ Amazonka.MachineLearning.AddTags: addTagsResponse_resourceType :: Lens' AddTagsResponse (Maybe TaggableResourceType)
+ Amazonka.MachineLearning.AddTags: addTags_resourceId :: Lens' AddTags Text
+ Amazonka.MachineLearning.AddTags: addTags_resourceType :: Lens' AddTags TaggableResourceType
+ Amazonka.MachineLearning.AddTags: addTags_tags :: Lens' AddTags [Tag]
+ Amazonka.MachineLearning.AddTags: data AddTags
+ Amazonka.MachineLearning.AddTags: data AddTagsResponse
+ Amazonka.MachineLearning.AddTags: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance Control.DeepSeq.NFData Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance Control.DeepSeq.NFData Amazonka.MachineLearning.AddTags.AddTagsResponse
+ Amazonka.MachineLearning.AddTags: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance GHC.Classes.Eq Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance GHC.Classes.Eq Amazonka.MachineLearning.AddTags.AddTagsResponse
+ Amazonka.MachineLearning.AddTags: instance GHC.Generics.Generic Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance GHC.Generics.Generic Amazonka.MachineLearning.AddTags.AddTagsResponse
+ Amazonka.MachineLearning.AddTags: instance GHC.Read.Read Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance GHC.Read.Read Amazonka.MachineLearning.AddTags.AddTagsResponse
+ Amazonka.MachineLearning.AddTags: instance GHC.Show.Show Amazonka.MachineLearning.AddTags.AddTags
+ Amazonka.MachineLearning.AddTags: instance GHC.Show.Show Amazonka.MachineLearning.AddTags.AddTagsResponse
+ Amazonka.MachineLearning.AddTags: newAddTags :: Text -> TaggableResourceType -> AddTags
+ Amazonka.MachineLearning.AddTags: newAddTagsResponse :: Int -> AddTagsResponse
+ Amazonka.MachineLearning.CreateBatchPrediction: CreateBatchPrediction' :: Maybe Text -> Text -> Text -> Text -> Text -> CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: CreateBatchPredictionResponse' :: Maybe Text -> Int -> CreateBatchPredictionResponse
+ Amazonka.MachineLearning.CreateBatchPrediction: [$sel:batchPredictionDataSourceId:CreateBatchPrediction'] :: CreateBatchPrediction -> Text
+ Amazonka.MachineLearning.CreateBatchPrediction: [$sel:batchPredictionId:CreateBatchPrediction'] :: CreateBatchPrediction -> Text
+ Amazonka.MachineLearning.CreateBatchPrediction: [$sel:batchPredictionId:CreateBatchPredictionResponse'] :: CreateBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.CreateBatchPrediction: [$sel:batchPredictionName:CreateBatchPrediction'] :: CreateBatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.CreateBatchPrediction: [$sel:httpStatus:CreateBatchPredictionResponse'] :: CreateBatchPredictionResponse -> Int
+ Amazonka.MachineLearning.CreateBatchPrediction: [$sel:mLModelId:CreateBatchPrediction'] :: CreateBatchPrediction -> Text
+ Amazonka.MachineLearning.CreateBatchPrediction: [$sel:outputUri:CreateBatchPrediction'] :: CreateBatchPrediction -> Text
+ Amazonka.MachineLearning.CreateBatchPrediction: createBatchPredictionResponse_batchPredictionId :: Lens' CreateBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.CreateBatchPrediction: createBatchPredictionResponse_httpStatus :: Lens' CreateBatchPredictionResponse Int
+ Amazonka.MachineLearning.CreateBatchPrediction: createBatchPrediction_batchPredictionDataSourceId :: Lens' CreateBatchPrediction Text
+ Amazonka.MachineLearning.CreateBatchPrediction: createBatchPrediction_batchPredictionId :: Lens' CreateBatchPrediction Text
+ Amazonka.MachineLearning.CreateBatchPrediction: createBatchPrediction_batchPredictionName :: Lens' CreateBatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.CreateBatchPrediction: createBatchPrediction_mLModelId :: Lens' CreateBatchPrediction Text
+ Amazonka.MachineLearning.CreateBatchPrediction: createBatchPrediction_outputUri :: Lens' CreateBatchPrediction Text
+ Amazonka.MachineLearning.CreateBatchPrediction: data CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: data CreateBatchPredictionResponse
+ Amazonka.MachineLearning.CreateBatchPrediction: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
+ Amazonka.MachineLearning.CreateBatchPrediction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
+ Amazonka.MachineLearning.CreateBatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
+ Amazonka.MachineLearning.CreateBatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
+ Amazonka.MachineLearning.CreateBatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.CreateBatchPrediction.CreateBatchPredictionResponse
+ Amazonka.MachineLearning.CreateBatchPrediction: newCreateBatchPrediction :: Text -> Text -> Text -> Text -> CreateBatchPrediction
+ Amazonka.MachineLearning.CreateBatchPrediction: newCreateBatchPredictionResponse :: Int -> CreateBatchPredictionResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: CreateDataSourceFromRDS' :: Maybe Bool -> Maybe Text -> Text -> RDSDataSpec -> Text -> CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: CreateDataSourceFromRDSResponse' :: Maybe Text -> Int -> CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: [$sel:computeStatistics:CreateDataSourceFromRDS'] :: CreateDataSourceFromRDS -> Maybe Bool
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: [$sel:dataSourceId:CreateDataSourceFromRDS'] :: CreateDataSourceFromRDS -> Text
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: [$sel:dataSourceId:CreateDataSourceFromRDSResponse'] :: CreateDataSourceFromRDSResponse -> Maybe Text
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: [$sel:dataSourceName:CreateDataSourceFromRDS'] :: CreateDataSourceFromRDS -> Maybe Text
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: [$sel:httpStatus:CreateDataSourceFromRDSResponse'] :: CreateDataSourceFromRDSResponse -> Int
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: [$sel:rDSData:CreateDataSourceFromRDS'] :: CreateDataSourceFromRDS -> RDSDataSpec
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: [$sel:roleARN:CreateDataSourceFromRDS'] :: CreateDataSourceFromRDS -> Text
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDSResponse_dataSourceId :: Lens' CreateDataSourceFromRDSResponse (Maybe Text)
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDSResponse_httpStatus :: Lens' CreateDataSourceFromRDSResponse Int
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDS_computeStatistics :: Lens' CreateDataSourceFromRDS (Maybe Bool)
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDS_dataSourceId :: Lens' CreateDataSourceFromRDS Text
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDS_dataSourceName :: Lens' CreateDataSourceFromRDS (Maybe Text)
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDS_rDSData :: Lens' CreateDataSourceFromRDS RDSDataSpec
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: createDataSourceFromRDS_roleARN :: Lens' CreateDataSourceFromRDS Text
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: data CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: data CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance GHC.Read.Read Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance GHC.Read.Read Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance GHC.Show.Show Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: instance GHC.Show.Show Amazonka.MachineLearning.CreateDataSourceFromRDS.CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: newCreateDataSourceFromRDS :: Text -> RDSDataSpec -> Text -> CreateDataSourceFromRDS
+ Amazonka.MachineLearning.CreateDataSourceFromRDS: newCreateDataSourceFromRDSResponse :: Int -> CreateDataSourceFromRDSResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: CreateDataSourceFromRedshift' :: Maybe Bool -> Maybe Text -> Text -> RedshiftDataSpec -> Text -> CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: CreateDataSourceFromRedshiftResponse' :: Maybe Text -> Int -> CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: [$sel:computeStatistics:CreateDataSourceFromRedshift'] :: CreateDataSourceFromRedshift -> Maybe Bool
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: [$sel:dataSourceId:CreateDataSourceFromRedshift'] :: CreateDataSourceFromRedshift -> Text
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: [$sel:dataSourceId:CreateDataSourceFromRedshiftResponse'] :: CreateDataSourceFromRedshiftResponse -> Maybe Text
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: [$sel:dataSourceName:CreateDataSourceFromRedshift'] :: CreateDataSourceFromRedshift -> Maybe Text
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: [$sel:dataSpec:CreateDataSourceFromRedshift'] :: CreateDataSourceFromRedshift -> RedshiftDataSpec
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: [$sel:httpStatus:CreateDataSourceFromRedshiftResponse'] :: CreateDataSourceFromRedshiftResponse -> Int
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: [$sel:roleARN:CreateDataSourceFromRedshift'] :: CreateDataSourceFromRedshift -> Text
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshiftResponse_dataSourceId :: Lens' CreateDataSourceFromRedshiftResponse (Maybe Text)
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshiftResponse_httpStatus :: Lens' CreateDataSourceFromRedshiftResponse Int
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshift_computeStatistics :: Lens' CreateDataSourceFromRedshift (Maybe Bool)
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshift_dataSourceId :: Lens' CreateDataSourceFromRedshift Text
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshift_dataSourceName :: Lens' CreateDataSourceFromRedshift (Maybe Text)
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshift_dataSpec :: Lens' CreateDataSourceFromRedshift RedshiftDataSpec
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: createDataSourceFromRedshift_roleARN :: Lens' CreateDataSourceFromRedshift Text
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: data CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: data CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Read.Read Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Read.Read Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Show.Show Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: instance GHC.Show.Show Amazonka.MachineLearning.CreateDataSourceFromRedshift.CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: newCreateDataSourceFromRedshift :: Text -> RedshiftDataSpec -> Text -> CreateDataSourceFromRedshift
+ Amazonka.MachineLearning.CreateDataSourceFromRedshift: newCreateDataSourceFromRedshiftResponse :: Int -> CreateDataSourceFromRedshiftResponse
+ Amazonka.MachineLearning.CreateDataSourceFromS3: CreateDataSourceFromS3' :: Maybe Bool -> Maybe Text -> Text -> S3DataSpec -> CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: CreateDataSourceFromS3Response' :: Maybe Text -> Int -> CreateDataSourceFromS3Response
+ Amazonka.MachineLearning.CreateDataSourceFromS3: [$sel:computeStatistics:CreateDataSourceFromS3'] :: CreateDataSourceFromS3 -> Maybe Bool
+ Amazonka.MachineLearning.CreateDataSourceFromS3: [$sel:dataSourceId:CreateDataSourceFromS3'] :: CreateDataSourceFromS3 -> Text
+ Amazonka.MachineLearning.CreateDataSourceFromS3: [$sel:dataSourceId:CreateDataSourceFromS3Response'] :: CreateDataSourceFromS3Response -> Maybe Text
+ Amazonka.MachineLearning.CreateDataSourceFromS3: [$sel:dataSourceName:CreateDataSourceFromS3'] :: CreateDataSourceFromS3 -> Maybe Text
+ Amazonka.MachineLearning.CreateDataSourceFromS3: [$sel:dataSpec:CreateDataSourceFromS3'] :: CreateDataSourceFromS3 -> S3DataSpec
+ Amazonka.MachineLearning.CreateDataSourceFromS3: [$sel:httpStatus:CreateDataSourceFromS3Response'] :: CreateDataSourceFromS3Response -> Int
+ Amazonka.MachineLearning.CreateDataSourceFromS3: createDataSourceFromS3Response_dataSourceId :: Lens' CreateDataSourceFromS3Response (Maybe Text)
+ Amazonka.MachineLearning.CreateDataSourceFromS3: createDataSourceFromS3Response_httpStatus :: Lens' CreateDataSourceFromS3Response Int
+ Amazonka.MachineLearning.CreateDataSourceFromS3: createDataSourceFromS3_computeStatistics :: Lens' CreateDataSourceFromS3 (Maybe Bool)
+ Amazonka.MachineLearning.CreateDataSourceFromS3: createDataSourceFromS3_dataSourceId :: Lens' CreateDataSourceFromS3 Text
+ Amazonka.MachineLearning.CreateDataSourceFromS3: createDataSourceFromS3_dataSourceName :: Lens' CreateDataSourceFromS3 (Maybe Text)
+ Amazonka.MachineLearning.CreateDataSourceFromS3: createDataSourceFromS3_dataSpec :: Lens' CreateDataSourceFromS3 S3DataSpec
+ Amazonka.MachineLearning.CreateDataSourceFromS3: data CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: data CreateDataSourceFromS3Response
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance GHC.Read.Read Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance GHC.Read.Read Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance GHC.Show.Show Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: instance GHC.Show.Show Amazonka.MachineLearning.CreateDataSourceFromS3.CreateDataSourceFromS3Response
+ Amazonka.MachineLearning.CreateDataSourceFromS3: newCreateDataSourceFromS3 :: Text -> S3DataSpec -> CreateDataSourceFromS3
+ Amazonka.MachineLearning.CreateDataSourceFromS3: newCreateDataSourceFromS3Response :: Int -> CreateDataSourceFromS3Response
+ Amazonka.MachineLearning.CreateEvaluation: CreateEvaluation' :: Maybe Text -> Text -> Text -> Text -> CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: CreateEvaluationResponse' :: Maybe Text -> Int -> CreateEvaluationResponse
+ Amazonka.MachineLearning.CreateEvaluation: [$sel:evaluationDataSourceId:CreateEvaluation'] :: CreateEvaluation -> Text
+ Amazonka.MachineLearning.CreateEvaluation: [$sel:evaluationId:CreateEvaluation'] :: CreateEvaluation -> Text
+ Amazonka.MachineLearning.CreateEvaluation: [$sel:evaluationId:CreateEvaluationResponse'] :: CreateEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.CreateEvaluation: [$sel:evaluationName:CreateEvaluation'] :: CreateEvaluation -> Maybe Text
+ Amazonka.MachineLearning.CreateEvaluation: [$sel:httpStatus:CreateEvaluationResponse'] :: CreateEvaluationResponse -> Int
+ Amazonka.MachineLearning.CreateEvaluation: [$sel:mLModelId:CreateEvaluation'] :: CreateEvaluation -> Text
+ Amazonka.MachineLearning.CreateEvaluation: createEvaluationResponse_evaluationId :: Lens' CreateEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.CreateEvaluation: createEvaluationResponse_httpStatus :: Lens' CreateEvaluationResponse Int
+ Amazonka.MachineLearning.CreateEvaluation: createEvaluation_evaluationDataSourceId :: Lens' CreateEvaluation Text
+ Amazonka.MachineLearning.CreateEvaluation: createEvaluation_evaluationId :: Lens' CreateEvaluation Text
+ Amazonka.MachineLearning.CreateEvaluation: createEvaluation_evaluationName :: Lens' CreateEvaluation (Maybe Text)
+ Amazonka.MachineLearning.CreateEvaluation: createEvaluation_mLModelId :: Lens' CreateEvaluation Text
+ Amazonka.MachineLearning.CreateEvaluation: data CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: data CreateEvaluationResponse
+ Amazonka.MachineLearning.CreateEvaluation: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateEvaluation.CreateEvaluationResponse
+ Amazonka.MachineLearning.CreateEvaluation: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateEvaluation.CreateEvaluationResponse
+ Amazonka.MachineLearning.CreateEvaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateEvaluation.CreateEvaluationResponse
+ Amazonka.MachineLearning.CreateEvaluation: instance GHC.Read.Read Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance GHC.Read.Read Amazonka.MachineLearning.CreateEvaluation.CreateEvaluationResponse
+ Amazonka.MachineLearning.CreateEvaluation: instance GHC.Show.Show Amazonka.MachineLearning.CreateEvaluation.CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: instance GHC.Show.Show Amazonka.MachineLearning.CreateEvaluation.CreateEvaluationResponse
+ Amazonka.MachineLearning.CreateEvaluation: newCreateEvaluation :: Text -> Text -> Text -> CreateEvaluation
+ Amazonka.MachineLearning.CreateEvaluation: newCreateEvaluationResponse :: Int -> CreateEvaluationResponse
+ Amazonka.MachineLearning.CreateMLModel: CreateMLModel' :: Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Text -> MLModelType -> Text -> CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: CreateMLModelResponse' :: Maybe Text -> Int -> CreateMLModelResponse
+ Amazonka.MachineLearning.CreateMLModel: [$sel:httpStatus:CreateMLModelResponse'] :: CreateMLModelResponse -> Int
+ Amazonka.MachineLearning.CreateMLModel: [$sel:mLModelId:CreateMLModel'] :: CreateMLModel -> Text
+ Amazonka.MachineLearning.CreateMLModel: [$sel:mLModelId:CreateMLModelResponse'] :: CreateMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.CreateMLModel: [$sel:mLModelName:CreateMLModel'] :: CreateMLModel -> Maybe Text
+ Amazonka.MachineLearning.CreateMLModel: [$sel:mLModelType:CreateMLModel'] :: CreateMLModel -> MLModelType
+ Amazonka.MachineLearning.CreateMLModel: [$sel:parameters:CreateMLModel'] :: CreateMLModel -> Maybe (HashMap Text Text)
+ Amazonka.MachineLearning.CreateMLModel: [$sel:recipe:CreateMLModel'] :: CreateMLModel -> Maybe Text
+ Amazonka.MachineLearning.CreateMLModel: [$sel:recipeUri:CreateMLModel'] :: CreateMLModel -> Maybe Text
+ Amazonka.MachineLearning.CreateMLModel: [$sel:trainingDataSourceId:CreateMLModel'] :: CreateMLModel -> Text
+ Amazonka.MachineLearning.CreateMLModel: createMLModelResponse_httpStatus :: Lens' CreateMLModelResponse Int
+ Amazonka.MachineLearning.CreateMLModel: createMLModelResponse_mLModelId :: Lens' CreateMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.CreateMLModel: createMLModel_mLModelId :: Lens' CreateMLModel Text
+ Amazonka.MachineLearning.CreateMLModel: createMLModel_mLModelName :: Lens' CreateMLModel (Maybe Text)
+ Amazonka.MachineLearning.CreateMLModel: createMLModel_mLModelType :: Lens' CreateMLModel MLModelType
+ Amazonka.MachineLearning.CreateMLModel: createMLModel_parameters :: Lens' CreateMLModel (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.CreateMLModel: createMLModel_recipe :: Lens' CreateMLModel (Maybe Text)
+ Amazonka.MachineLearning.CreateMLModel: createMLModel_recipeUri :: Lens' CreateMLModel (Maybe Text)
+ Amazonka.MachineLearning.CreateMLModel: createMLModel_trainingDataSourceId :: Lens' CreateMLModel Text
+ Amazonka.MachineLearning.CreateMLModel: data CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: data CreateMLModelResponse
+ Amazonka.MachineLearning.CreateMLModel: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateMLModel.CreateMLModelResponse
+ Amazonka.MachineLearning.CreateMLModel: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateMLModel.CreateMLModelResponse
+ Amazonka.MachineLearning.CreateMLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateMLModel.CreateMLModelResponse
+ Amazonka.MachineLearning.CreateMLModel: instance GHC.Read.Read Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance GHC.Read.Read Amazonka.MachineLearning.CreateMLModel.CreateMLModelResponse
+ Amazonka.MachineLearning.CreateMLModel: instance GHC.Show.Show Amazonka.MachineLearning.CreateMLModel.CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: instance GHC.Show.Show Amazonka.MachineLearning.CreateMLModel.CreateMLModelResponse
+ Amazonka.MachineLearning.CreateMLModel: newCreateMLModel :: Text -> MLModelType -> Text -> CreateMLModel
+ Amazonka.MachineLearning.CreateMLModel: newCreateMLModelResponse :: Int -> CreateMLModelResponse
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: CreateRealtimeEndpoint' :: Text -> CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: CreateRealtimeEndpointResponse' :: Maybe Text -> Maybe RealtimeEndpointInfo -> Int -> CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: [$sel:httpStatus:CreateRealtimeEndpointResponse'] :: CreateRealtimeEndpointResponse -> Int
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: [$sel:mLModelId:CreateRealtimeEndpoint'] :: CreateRealtimeEndpoint -> Text
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: [$sel:mLModelId:CreateRealtimeEndpointResponse'] :: CreateRealtimeEndpointResponse -> Maybe Text
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: [$sel:realtimeEndpointInfo:CreateRealtimeEndpointResponse'] :: CreateRealtimeEndpointResponse -> Maybe RealtimeEndpointInfo
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: createRealtimeEndpointResponse_httpStatus :: Lens' CreateRealtimeEndpointResponse Int
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: createRealtimeEndpointResponse_mLModelId :: Lens' CreateRealtimeEndpointResponse (Maybe Text)
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: createRealtimeEndpointResponse_realtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: createRealtimeEndpoint_mLModelId :: Lens' CreateRealtimeEndpoint Text
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: data CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: data CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance Control.DeepSeq.NFData Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance GHC.Classes.Eq Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance GHC.Generics.Generic Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance GHC.Read.Read Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance GHC.Read.Read Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance GHC.Show.Show Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: instance GHC.Show.Show Amazonka.MachineLearning.CreateRealtimeEndpoint.CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: newCreateRealtimeEndpoint :: Text -> CreateRealtimeEndpoint
+ Amazonka.MachineLearning.CreateRealtimeEndpoint: newCreateRealtimeEndpointResponse :: Int -> CreateRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteBatchPrediction: DeleteBatchPrediction' :: Text -> DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: DeleteBatchPredictionResponse' :: Maybe Text -> Int -> DeleteBatchPredictionResponse
+ Amazonka.MachineLearning.DeleteBatchPrediction: [$sel:batchPredictionId:DeleteBatchPrediction'] :: DeleteBatchPrediction -> Text
+ Amazonka.MachineLearning.DeleteBatchPrediction: [$sel:batchPredictionId:DeleteBatchPredictionResponse'] :: DeleteBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.DeleteBatchPrediction: [$sel:httpStatus:DeleteBatchPredictionResponse'] :: DeleteBatchPredictionResponse -> Int
+ Amazonka.MachineLearning.DeleteBatchPrediction: data DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: data DeleteBatchPredictionResponse
+ Amazonka.MachineLearning.DeleteBatchPrediction: deleteBatchPredictionResponse_batchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.DeleteBatchPrediction: deleteBatchPredictionResponse_httpStatus :: Lens' DeleteBatchPredictionResponse Int
+ Amazonka.MachineLearning.DeleteBatchPrediction: deleteBatchPrediction_batchPredictionId :: Lens' DeleteBatchPrediction Text
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.DeleteBatchPrediction.DeleteBatchPredictionResponse
+ Amazonka.MachineLearning.DeleteBatchPrediction: newDeleteBatchPrediction :: Text -> DeleteBatchPrediction
+ Amazonka.MachineLearning.DeleteBatchPrediction: newDeleteBatchPredictionResponse :: Int -> DeleteBatchPredictionResponse
+ Amazonka.MachineLearning.DeleteDataSource: DeleteDataSource' :: Text -> DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: DeleteDataSourceResponse' :: Maybe Text -> Int -> DeleteDataSourceResponse
+ Amazonka.MachineLearning.DeleteDataSource: [$sel:dataSourceId:DeleteDataSource'] :: DeleteDataSource -> Text
+ Amazonka.MachineLearning.DeleteDataSource: [$sel:dataSourceId:DeleteDataSourceResponse'] :: DeleteDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.DeleteDataSource: [$sel:httpStatus:DeleteDataSourceResponse'] :: DeleteDataSourceResponse -> Int
+ Amazonka.MachineLearning.DeleteDataSource: data DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: data DeleteDataSourceResponse
+ Amazonka.MachineLearning.DeleteDataSource: deleteDataSourceResponse_dataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.DeleteDataSource: deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int
+ Amazonka.MachineLearning.DeleteDataSource: deleteDataSource_dataSourceId :: Lens' DeleteDataSource Text
+ Amazonka.MachineLearning.DeleteDataSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
+ Amazonka.MachineLearning.DeleteDataSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
+ Amazonka.MachineLearning.DeleteDataSource: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
+ Amazonka.MachineLearning.DeleteDataSource: instance GHC.Read.Read Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance GHC.Read.Read Amazonka.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
+ Amazonka.MachineLearning.DeleteDataSource: instance GHC.Show.Show Amazonka.MachineLearning.DeleteDataSource.DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: instance GHC.Show.Show Amazonka.MachineLearning.DeleteDataSource.DeleteDataSourceResponse
+ Amazonka.MachineLearning.DeleteDataSource: newDeleteDataSource :: Text -> DeleteDataSource
+ Amazonka.MachineLearning.DeleteDataSource: newDeleteDataSourceResponse :: Int -> DeleteDataSourceResponse
+ Amazonka.MachineLearning.DeleteEvaluation: DeleteEvaluation' :: Text -> DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: DeleteEvaluationResponse' :: Maybe Text -> Int -> DeleteEvaluationResponse
+ Amazonka.MachineLearning.DeleteEvaluation: [$sel:evaluationId:DeleteEvaluation'] :: DeleteEvaluation -> Text
+ Amazonka.MachineLearning.DeleteEvaluation: [$sel:evaluationId:DeleteEvaluationResponse'] :: DeleteEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.DeleteEvaluation: [$sel:httpStatus:DeleteEvaluationResponse'] :: DeleteEvaluationResponse -> Int
+ Amazonka.MachineLearning.DeleteEvaluation: data DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: data DeleteEvaluationResponse
+ Amazonka.MachineLearning.DeleteEvaluation: deleteEvaluationResponse_evaluationId :: Lens' DeleteEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.DeleteEvaluation: deleteEvaluationResponse_httpStatus :: Lens' DeleteEvaluationResponse Int
+ Amazonka.MachineLearning.DeleteEvaluation: deleteEvaluation_evaluationId :: Lens' DeleteEvaluation Text
+ Amazonka.MachineLearning.DeleteEvaluation: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
+ Amazonka.MachineLearning.DeleteEvaluation: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
+ Amazonka.MachineLearning.DeleteEvaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
+ Amazonka.MachineLearning.DeleteEvaluation: instance GHC.Read.Read Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance GHC.Read.Read Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
+ Amazonka.MachineLearning.DeleteEvaluation: instance GHC.Show.Show Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: instance GHC.Show.Show Amazonka.MachineLearning.DeleteEvaluation.DeleteEvaluationResponse
+ Amazonka.MachineLearning.DeleteEvaluation: newDeleteEvaluation :: Text -> DeleteEvaluation
+ Amazonka.MachineLearning.DeleteEvaluation: newDeleteEvaluationResponse :: Int -> DeleteEvaluationResponse
+ Amazonka.MachineLearning.DeleteMLModel: DeleteMLModel' :: Text -> DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: DeleteMLModelResponse' :: Maybe Text -> Int -> DeleteMLModelResponse
+ Amazonka.MachineLearning.DeleteMLModel: [$sel:httpStatus:DeleteMLModelResponse'] :: DeleteMLModelResponse -> Int
+ Amazonka.MachineLearning.DeleteMLModel: [$sel:mLModelId:DeleteMLModel'] :: DeleteMLModel -> Text
+ Amazonka.MachineLearning.DeleteMLModel: [$sel:mLModelId:DeleteMLModelResponse'] :: DeleteMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.DeleteMLModel: data DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: data DeleteMLModelResponse
+ Amazonka.MachineLearning.DeleteMLModel: deleteMLModelResponse_httpStatus :: Lens' DeleteMLModelResponse Int
+ Amazonka.MachineLearning.DeleteMLModel: deleteMLModelResponse_mLModelId :: Lens' DeleteMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.DeleteMLModel: deleteMLModel_mLModelId :: Lens' DeleteMLModel Text
+ Amazonka.MachineLearning.DeleteMLModel: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteMLModel.DeleteMLModelResponse
+ Amazonka.MachineLearning.DeleteMLModel: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteMLModel.DeleteMLModelResponse
+ Amazonka.MachineLearning.DeleteMLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteMLModel.DeleteMLModelResponse
+ Amazonka.MachineLearning.DeleteMLModel: instance GHC.Read.Read Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance GHC.Read.Read Amazonka.MachineLearning.DeleteMLModel.DeleteMLModelResponse
+ Amazonka.MachineLearning.DeleteMLModel: instance GHC.Show.Show Amazonka.MachineLearning.DeleteMLModel.DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: instance GHC.Show.Show Amazonka.MachineLearning.DeleteMLModel.DeleteMLModelResponse
+ Amazonka.MachineLearning.DeleteMLModel: newDeleteMLModel :: Text -> DeleteMLModel
+ Amazonka.MachineLearning.DeleteMLModel: newDeleteMLModelResponse :: Int -> DeleteMLModelResponse
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: DeleteRealtimeEndpoint' :: Text -> DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: DeleteRealtimeEndpointResponse' :: Maybe Text -> Maybe RealtimeEndpointInfo -> Int -> DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: [$sel:httpStatus:DeleteRealtimeEndpointResponse'] :: DeleteRealtimeEndpointResponse -> Int
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: [$sel:mLModelId:DeleteRealtimeEndpoint'] :: DeleteRealtimeEndpoint -> Text
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: [$sel:mLModelId:DeleteRealtimeEndpointResponse'] :: DeleteRealtimeEndpointResponse -> Maybe Text
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: [$sel:realtimeEndpointInfo:DeleteRealtimeEndpointResponse'] :: DeleteRealtimeEndpointResponse -> Maybe RealtimeEndpointInfo
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: data DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: data DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: deleteRealtimeEndpointResponse_httpStatus :: Lens' DeleteRealtimeEndpointResponse Int
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: deleteRealtimeEndpointResponse_mLModelId :: Lens' DeleteRealtimeEndpointResponse (Maybe Text)
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: deleteRealtimeEndpointResponse_realtimeEndpointInfo :: Lens' DeleteRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: deleteRealtimeEndpoint_mLModelId :: Lens' DeleteRealtimeEndpoint Text
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Read.Read Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Read.Read Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Show.Show Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: instance GHC.Show.Show Amazonka.MachineLearning.DeleteRealtimeEndpoint.DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: newDeleteRealtimeEndpoint :: Text -> DeleteRealtimeEndpoint
+ Amazonka.MachineLearning.DeleteRealtimeEndpoint: newDeleteRealtimeEndpointResponse :: Int -> DeleteRealtimeEndpointResponse
+ Amazonka.MachineLearning.DeleteTags: DeleteTags' :: [Text] -> Text -> TaggableResourceType -> DeleteTags
+ Amazonka.MachineLearning.DeleteTags: DeleteTagsResponse' :: Maybe Text -> Maybe TaggableResourceType -> Int -> DeleteTagsResponse
+ Amazonka.MachineLearning.DeleteTags: [$sel:httpStatus:DeleteTagsResponse'] :: DeleteTagsResponse -> Int
+ Amazonka.MachineLearning.DeleteTags: [$sel:resourceId:DeleteTags'] :: DeleteTags -> Text
+ Amazonka.MachineLearning.DeleteTags: [$sel:resourceId:DeleteTagsResponse'] :: DeleteTagsResponse -> Maybe Text
+ Amazonka.MachineLearning.DeleteTags: [$sel:resourceType:DeleteTags'] :: DeleteTags -> TaggableResourceType
+ Amazonka.MachineLearning.DeleteTags: [$sel:resourceType:DeleteTagsResponse'] :: DeleteTagsResponse -> Maybe TaggableResourceType
+ Amazonka.MachineLearning.DeleteTags: [$sel:tagKeys:DeleteTags'] :: DeleteTags -> [Text]
+ Amazonka.MachineLearning.DeleteTags: data DeleteTags
+ Amazonka.MachineLearning.DeleteTags: data DeleteTagsResponse
+ Amazonka.MachineLearning.DeleteTags: deleteTagsResponse_httpStatus :: Lens' DeleteTagsResponse Int
+ Amazonka.MachineLearning.DeleteTags: deleteTagsResponse_resourceId :: Lens' DeleteTagsResponse (Maybe Text)
+ Amazonka.MachineLearning.DeleteTags: deleteTagsResponse_resourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType)
+ Amazonka.MachineLearning.DeleteTags: deleteTags_resourceId :: Lens' DeleteTags Text
+ Amazonka.MachineLearning.DeleteTags: deleteTags_resourceType :: Lens' DeleteTags TaggableResourceType
+ Amazonka.MachineLearning.DeleteTags: deleteTags_tagKeys :: Lens' DeleteTags [Text]
+ Amazonka.MachineLearning.DeleteTags: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DeleteTags.DeleteTagsResponse
+ Amazonka.MachineLearning.DeleteTags: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance GHC.Classes.Eq Amazonka.MachineLearning.DeleteTags.DeleteTagsResponse
+ Amazonka.MachineLearning.DeleteTags: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance GHC.Generics.Generic Amazonka.MachineLearning.DeleteTags.DeleteTagsResponse
+ Amazonka.MachineLearning.DeleteTags: instance GHC.Read.Read Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance GHC.Read.Read Amazonka.MachineLearning.DeleteTags.DeleteTagsResponse
+ Amazonka.MachineLearning.DeleteTags: instance GHC.Show.Show Amazonka.MachineLearning.DeleteTags.DeleteTags
+ Amazonka.MachineLearning.DeleteTags: instance GHC.Show.Show Amazonka.MachineLearning.DeleteTags.DeleteTagsResponse
+ Amazonka.MachineLearning.DeleteTags: newDeleteTags :: Text -> TaggableResourceType -> DeleteTags
+ Amazonka.MachineLearning.DeleteTags: newDeleteTagsResponse :: Int -> DeleteTagsResponse
+ Amazonka.MachineLearning.DescribeBatchPredictions: DescribeBatchPredictions' :: Maybe Text -> Maybe BatchPredictionFilterVariable -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SortOrder -> DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: DescribeBatchPredictionsResponse' :: Maybe Text -> Maybe [BatchPrediction] -> Int -> DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:eq:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:filterVariable:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe BatchPredictionFilterVariable
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:ge:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:gt:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:httpStatus:DescribeBatchPredictionsResponse'] :: DescribeBatchPredictionsResponse -> Int
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:le:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:limit:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Natural
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:lt:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:ne:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:nextToken:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:nextToken:DescribeBatchPredictionsResponse'] :: DescribeBatchPredictionsResponse -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:prefix:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe Text
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:results:DescribeBatchPredictionsResponse'] :: DescribeBatchPredictionsResponse -> Maybe [BatchPrediction]
+ Amazonka.MachineLearning.DescribeBatchPredictions: [$sel:sortOrder:DescribeBatchPredictions'] :: DescribeBatchPredictions -> Maybe SortOrder
+ Amazonka.MachineLearning.DescribeBatchPredictions: data DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: data DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictionsResponse_httpStatus :: Lens' DescribeBatchPredictionsResponse Int
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictionsResponse_nextToken :: Lens' DescribeBatchPredictionsResponse (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictionsResponse_results :: Lens' DescribeBatchPredictionsResponse (Maybe [BatchPrediction])
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_eq :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_filterVariable :: Lens' DescribeBatchPredictions (Maybe BatchPredictionFilterVariable)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_ge :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_gt :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_le :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_limit :: Lens' DescribeBatchPredictions (Maybe Natural)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_lt :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_ne :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_nextToken :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_prefix :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.DescribeBatchPredictions: describeBatchPredictions_sortOrder :: Lens' DescribeBatchPredictions (Maybe SortOrder)
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Amazonka.Pager.AWSPager Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance GHC.Read.Read Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance GHC.Read.Read Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance GHC.Show.Show Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: instance GHC.Show.Show Amazonka.MachineLearning.DescribeBatchPredictions.DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning.DescribeBatchPredictions: newDescribeBatchPredictions :: DescribeBatchPredictions
+ Amazonka.MachineLearning.DescribeBatchPredictions: newDescribeBatchPredictionsResponse :: Int -> DescribeBatchPredictionsResponse
+ Amazonka.MachineLearning.DescribeDataSources: DescribeDataSources' :: Maybe Text -> Maybe DataSourceFilterVariable -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SortOrder -> DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: DescribeDataSourcesResponse' :: Maybe Text -> Maybe [DataSource] -> Int -> DescribeDataSourcesResponse
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:eq:DescribeDataSources'] :: DescribeDataSources -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:filterVariable:DescribeDataSources'] :: DescribeDataSources -> Maybe DataSourceFilterVariable
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:ge:DescribeDataSources'] :: DescribeDataSources -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:gt:DescribeDataSources'] :: DescribeDataSources -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:httpStatus:DescribeDataSourcesResponse'] :: DescribeDataSourcesResponse -> Int
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:le:DescribeDataSources'] :: DescribeDataSources -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:limit:DescribeDataSources'] :: DescribeDataSources -> Maybe Natural
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:lt:DescribeDataSources'] :: DescribeDataSources -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:ne:DescribeDataSources'] :: DescribeDataSources -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:nextToken:DescribeDataSources'] :: DescribeDataSources -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:nextToken:DescribeDataSourcesResponse'] :: DescribeDataSourcesResponse -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:prefix:DescribeDataSources'] :: DescribeDataSources -> Maybe Text
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:results:DescribeDataSourcesResponse'] :: DescribeDataSourcesResponse -> Maybe [DataSource]
+ Amazonka.MachineLearning.DescribeDataSources: [$sel:sortOrder:DescribeDataSources'] :: DescribeDataSources -> Maybe SortOrder
+ Amazonka.MachineLearning.DescribeDataSources: data DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: data DescribeDataSourcesResponse
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSourcesResponse_httpStatus :: Lens' DescribeDataSourcesResponse Int
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSourcesResponse_nextToken :: Lens' DescribeDataSourcesResponse (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSourcesResponse_results :: Lens' DescribeDataSourcesResponse (Maybe [DataSource])
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_eq :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_filterVariable :: Lens' DescribeDataSources (Maybe DataSourceFilterVariable)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_ge :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_gt :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_le :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_limit :: Lens' DescribeDataSources (Maybe Natural)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_lt :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_ne :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_nextToken :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_prefix :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.DescribeDataSources: describeDataSources_sortOrder :: Lens' DescribeDataSources (Maybe SortOrder)
+ Amazonka.MachineLearning.DescribeDataSources: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance Amazonka.Pager.AWSPager Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
+ Amazonka.MachineLearning.DescribeDataSources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
+ Amazonka.MachineLearning.DescribeDataSources: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
+ Amazonka.MachineLearning.DescribeDataSources: instance GHC.Read.Read Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance GHC.Read.Read Amazonka.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
+ Amazonka.MachineLearning.DescribeDataSources: instance GHC.Show.Show Amazonka.MachineLearning.DescribeDataSources.DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: instance GHC.Show.Show Amazonka.MachineLearning.DescribeDataSources.DescribeDataSourcesResponse
+ Amazonka.MachineLearning.DescribeDataSources: newDescribeDataSources :: DescribeDataSources
+ Amazonka.MachineLearning.DescribeDataSources: newDescribeDataSourcesResponse :: Int -> DescribeDataSourcesResponse
+ Amazonka.MachineLearning.DescribeEvaluations: DescribeEvaluations' :: Maybe Text -> Maybe EvaluationFilterVariable -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SortOrder -> DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: DescribeEvaluationsResponse' :: Maybe Text -> Maybe [Evaluation] -> Int -> DescribeEvaluationsResponse
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:eq:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:filterVariable:DescribeEvaluations'] :: DescribeEvaluations -> Maybe EvaluationFilterVariable
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:ge:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:gt:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:httpStatus:DescribeEvaluationsResponse'] :: DescribeEvaluationsResponse -> Int
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:le:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:limit:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Natural
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:lt:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:ne:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:nextToken:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:nextToken:DescribeEvaluationsResponse'] :: DescribeEvaluationsResponse -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:prefix:DescribeEvaluations'] :: DescribeEvaluations -> Maybe Text
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:results:DescribeEvaluationsResponse'] :: DescribeEvaluationsResponse -> Maybe [Evaluation]
+ Amazonka.MachineLearning.DescribeEvaluations: [$sel:sortOrder:DescribeEvaluations'] :: DescribeEvaluations -> Maybe SortOrder
+ Amazonka.MachineLearning.DescribeEvaluations: data DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: data DescribeEvaluationsResponse
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluationsResponse_httpStatus :: Lens' DescribeEvaluationsResponse Int
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluationsResponse_nextToken :: Lens' DescribeEvaluationsResponse (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluationsResponse_results :: Lens' DescribeEvaluationsResponse (Maybe [Evaluation])
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_eq :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_filterVariable :: Lens' DescribeEvaluations (Maybe EvaluationFilterVariable)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_ge :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_gt :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_le :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_limit :: Lens' DescribeEvaluations (Maybe Natural)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_lt :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_ne :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_nextToken :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_prefix :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.DescribeEvaluations: describeEvaluations_sortOrder :: Lens' DescribeEvaluations (Maybe SortOrder)
+ Amazonka.MachineLearning.DescribeEvaluations: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance Amazonka.Pager.AWSPager Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
+ Amazonka.MachineLearning.DescribeEvaluations: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
+ Amazonka.MachineLearning.DescribeEvaluations: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
+ Amazonka.MachineLearning.DescribeEvaluations: instance GHC.Read.Read Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance GHC.Read.Read Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
+ Amazonka.MachineLearning.DescribeEvaluations: instance GHC.Show.Show Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: instance GHC.Show.Show Amazonka.MachineLearning.DescribeEvaluations.DescribeEvaluationsResponse
+ Amazonka.MachineLearning.DescribeEvaluations: newDescribeEvaluations :: DescribeEvaluations
+ Amazonka.MachineLearning.DescribeEvaluations: newDescribeEvaluationsResponse :: Int -> DescribeEvaluationsResponse
+ Amazonka.MachineLearning.DescribeMLModels: DescribeMLModels' :: Maybe Text -> Maybe MLModelFilterVariable -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe SortOrder -> DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: DescribeMLModelsResponse' :: Maybe Text -> Maybe [MLModel] -> Int -> DescribeMLModelsResponse
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:eq:DescribeMLModels'] :: DescribeMLModels -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:filterVariable:DescribeMLModels'] :: DescribeMLModels -> Maybe MLModelFilterVariable
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:ge:DescribeMLModels'] :: DescribeMLModels -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:gt:DescribeMLModels'] :: DescribeMLModels -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:httpStatus:DescribeMLModelsResponse'] :: DescribeMLModelsResponse -> Int
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:le:DescribeMLModels'] :: DescribeMLModels -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:limit:DescribeMLModels'] :: DescribeMLModels -> Maybe Natural
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:lt:DescribeMLModels'] :: DescribeMLModels -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:ne:DescribeMLModels'] :: DescribeMLModels -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:nextToken:DescribeMLModels'] :: DescribeMLModels -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:nextToken:DescribeMLModelsResponse'] :: DescribeMLModelsResponse -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:prefix:DescribeMLModels'] :: DescribeMLModels -> Maybe Text
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:results:DescribeMLModelsResponse'] :: DescribeMLModelsResponse -> Maybe [MLModel]
+ Amazonka.MachineLearning.DescribeMLModels: [$sel:sortOrder:DescribeMLModels'] :: DescribeMLModels -> Maybe SortOrder
+ Amazonka.MachineLearning.DescribeMLModels: data DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: data DescribeMLModelsResponse
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModelsResponse_httpStatus :: Lens' DescribeMLModelsResponse Int
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModelsResponse_nextToken :: Lens' DescribeMLModelsResponse (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModelsResponse_results :: Lens' DescribeMLModelsResponse (Maybe [MLModel])
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_eq :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_filterVariable :: Lens' DescribeMLModels (Maybe MLModelFilterVariable)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_ge :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_gt :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_le :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_limit :: Lens' DescribeMLModels (Maybe Natural)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_lt :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_ne :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_nextToken :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_prefix :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.DescribeMLModels: describeMLModels_sortOrder :: Lens' DescribeMLModels (Maybe SortOrder)
+ Amazonka.MachineLearning.DescribeMLModels: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance Amazonka.Pager.AWSPager Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
+ Amazonka.MachineLearning.DescribeMLModels: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
+ Amazonka.MachineLearning.DescribeMLModels: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
+ Amazonka.MachineLearning.DescribeMLModels: instance GHC.Read.Read Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance GHC.Read.Read Amazonka.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
+ Amazonka.MachineLearning.DescribeMLModels: instance GHC.Show.Show Amazonka.MachineLearning.DescribeMLModels.DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: instance GHC.Show.Show Amazonka.MachineLearning.DescribeMLModels.DescribeMLModelsResponse
+ Amazonka.MachineLearning.DescribeMLModels: newDescribeMLModels :: DescribeMLModels
+ Amazonka.MachineLearning.DescribeMLModels: newDescribeMLModelsResponse :: Int -> DescribeMLModelsResponse
+ Amazonka.MachineLearning.DescribeTags: DescribeTags' :: Text -> TaggableResourceType -> DescribeTags
+ Amazonka.MachineLearning.DescribeTags: DescribeTagsResponse' :: Maybe Text -> Maybe TaggableResourceType -> Maybe [Tag] -> Int -> DescribeTagsResponse
+ Amazonka.MachineLearning.DescribeTags: [$sel:httpStatus:DescribeTagsResponse'] :: DescribeTagsResponse -> Int
+ Amazonka.MachineLearning.DescribeTags: [$sel:resourceId:DescribeTags'] :: DescribeTags -> Text
+ Amazonka.MachineLearning.DescribeTags: [$sel:resourceId:DescribeTagsResponse'] :: DescribeTagsResponse -> Maybe Text
+ Amazonka.MachineLearning.DescribeTags: [$sel:resourceType:DescribeTags'] :: DescribeTags -> TaggableResourceType
+ Amazonka.MachineLearning.DescribeTags: [$sel:resourceType:DescribeTagsResponse'] :: DescribeTagsResponse -> Maybe TaggableResourceType
+ Amazonka.MachineLearning.DescribeTags: [$sel:tags:DescribeTagsResponse'] :: DescribeTagsResponse -> Maybe [Tag]
+ Amazonka.MachineLearning.DescribeTags: data DescribeTags
+ Amazonka.MachineLearning.DescribeTags: data DescribeTagsResponse
+ Amazonka.MachineLearning.DescribeTags: describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int
+ Amazonka.MachineLearning.DescribeTags: describeTagsResponse_resourceId :: Lens' DescribeTagsResponse (Maybe Text)
+ Amazonka.MachineLearning.DescribeTags: describeTagsResponse_resourceType :: Lens' DescribeTagsResponse (Maybe TaggableResourceType)
+ Amazonka.MachineLearning.DescribeTags: describeTagsResponse_tags :: Lens' DescribeTagsResponse (Maybe [Tag])
+ Amazonka.MachineLearning.DescribeTags: describeTags_resourceId :: Lens' DescribeTags Text
+ Amazonka.MachineLearning.DescribeTags: describeTags_resourceType :: Lens' DescribeTags TaggableResourceType
+ Amazonka.MachineLearning.DescribeTags: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance Control.DeepSeq.NFData Amazonka.MachineLearning.DescribeTags.DescribeTagsResponse
+ Amazonka.MachineLearning.DescribeTags: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance GHC.Classes.Eq Amazonka.MachineLearning.DescribeTags.DescribeTagsResponse
+ Amazonka.MachineLearning.DescribeTags: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance GHC.Generics.Generic Amazonka.MachineLearning.DescribeTags.DescribeTagsResponse
+ Amazonka.MachineLearning.DescribeTags: instance GHC.Read.Read Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance GHC.Read.Read Amazonka.MachineLearning.DescribeTags.DescribeTagsResponse
+ Amazonka.MachineLearning.DescribeTags: instance GHC.Show.Show Amazonka.MachineLearning.DescribeTags.DescribeTags
+ Amazonka.MachineLearning.DescribeTags: instance GHC.Show.Show Amazonka.MachineLearning.DescribeTags.DescribeTagsResponse
+ Amazonka.MachineLearning.DescribeTags: newDescribeTags :: Text -> TaggableResourceType -> DescribeTags
+ Amazonka.MachineLearning.DescribeTags: newDescribeTagsResponse :: Int -> DescribeTagsResponse
+ Amazonka.MachineLearning.GetBatchPrediction: GetBatchPrediction' :: Text -> GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: GetBatchPredictionResponse' :: Maybe Text -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> Maybe Integer -> Int -> GetBatchPredictionResponse
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:batchPredictionDataSourceId:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:batchPredictionId:GetBatchPrediction'] :: GetBatchPrediction -> Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:batchPredictionId:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:computeTime:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:createdAt:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:createdByIamUser:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:finishedAt:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:httpStatus:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Int
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:inputDataLocationS3:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:invalidRecordCount:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:lastUpdatedAt:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:logUri:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:mLModelId:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:message:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:name:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:outputUri:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:startedAt:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:status:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe EntityStatus
+ Amazonka.MachineLearning.GetBatchPrediction: [$sel:totalRecordCount:GetBatchPredictionResponse'] :: GetBatchPredictionResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetBatchPrediction: data GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: data GetBatchPredictionResponse
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_batchPredictionDataSourceId :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_batchPredictionId :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_computeTime :: Lens' GetBatchPredictionResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_createdAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_createdByIamUser :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_finishedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_httpStatus :: Lens' GetBatchPredictionResponse Int
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_inputDataLocationS3 :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_invalidRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_lastUpdatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_logUri :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_mLModelId :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_message :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_name :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_outputUri :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_startedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_status :: Lens' GetBatchPredictionResponse (Maybe EntityStatus)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPredictionResponse_totalRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetBatchPrediction: getBatchPrediction_batchPredictionId :: Lens' GetBatchPrediction Text
+ Amazonka.MachineLearning.GetBatchPrediction: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
+ Amazonka.MachineLearning.GetBatchPrediction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
+ Amazonka.MachineLearning.GetBatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
+ Amazonka.MachineLearning.GetBatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
+ Amazonka.MachineLearning.GetBatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.GetBatchPrediction.GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.GetBatchPrediction.GetBatchPredictionResponse
+ Amazonka.MachineLearning.GetBatchPrediction: newGetBatchPrediction :: Text -> GetBatchPrediction
+ Amazonka.MachineLearning.GetBatchPrediction: newGetBatchPredictionResponse :: Int -> GetBatchPredictionResponse
+ Amazonka.MachineLearning.GetDataSource: GetDataSource' :: Maybe Bool -> Text -> GetDataSource
+ Amazonka.MachineLearning.GetDataSource: GetDataSourceResponse' :: Maybe Bool -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe RDSMetadata -> Maybe RedshiftMetadata -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> Int -> GetDataSourceResponse
+ Amazonka.MachineLearning.GetDataSource: [$sel:computeStatistics:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Bool
+ Amazonka.MachineLearning.GetDataSource: [$sel:computeTime:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetDataSource: [$sel:createdAt:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetDataSource: [$sel:createdByIamUser:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:dataLocationS3:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:dataRearrangement:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:dataSizeInBytes:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetDataSource: [$sel:dataSourceId:GetDataSource'] :: GetDataSource -> Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:dataSourceId:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:dataSourceSchema:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:finishedAt:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetDataSource: [$sel:httpStatus:GetDataSourceResponse'] :: GetDataSourceResponse -> Int
+ Amazonka.MachineLearning.GetDataSource: [$sel:lastUpdatedAt:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetDataSource: [$sel:logUri:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:message:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:name:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:numberOfFiles:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetDataSource: [$sel:rDSMetadata:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe RDSMetadata
+ Amazonka.MachineLearning.GetDataSource: [$sel:redshiftMetadata:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe RedshiftMetadata
+ Amazonka.MachineLearning.GetDataSource: [$sel:roleARN:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.GetDataSource: [$sel:startedAt:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetDataSource: [$sel:status:GetDataSourceResponse'] :: GetDataSourceResponse -> Maybe EntityStatus
+ Amazonka.MachineLearning.GetDataSource: [$sel:verbose:GetDataSource'] :: GetDataSource -> Maybe Bool
+ Amazonka.MachineLearning.GetDataSource: data GetDataSource
+ Amazonka.MachineLearning.GetDataSource: data GetDataSourceResponse
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_computeStatistics :: Lens' GetDataSourceResponse (Maybe Bool)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_computeTime :: Lens' GetDataSourceResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_createdAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_createdByIamUser :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_dataLocationS3 :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_dataRearrangement :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_dataSizeInBytes :: Lens' GetDataSourceResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_dataSourceId :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_dataSourceSchema :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_finishedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_httpStatus :: Lens' GetDataSourceResponse Int
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_lastUpdatedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_logUri :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_message :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_name :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_numberOfFiles :: Lens' GetDataSourceResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_rDSMetadata :: Lens' GetDataSourceResponse (Maybe RDSMetadata)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_redshiftMetadata :: Lens' GetDataSourceResponse (Maybe RedshiftMetadata)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_roleARN :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_startedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetDataSource: getDataSourceResponse_status :: Lens' GetDataSourceResponse (Maybe EntityStatus)
+ Amazonka.MachineLearning.GetDataSource: getDataSource_dataSourceId :: Lens' GetDataSource Text
+ Amazonka.MachineLearning.GetDataSource: getDataSource_verbose :: Lens' GetDataSource (Maybe Bool)
+ Amazonka.MachineLearning.GetDataSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance Control.DeepSeq.NFData Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance Control.DeepSeq.NFData Amazonka.MachineLearning.GetDataSource.GetDataSourceResponse
+ Amazonka.MachineLearning.GetDataSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance GHC.Classes.Eq Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance GHC.Classes.Eq Amazonka.MachineLearning.GetDataSource.GetDataSourceResponse
+ Amazonka.MachineLearning.GetDataSource: instance GHC.Generics.Generic Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance GHC.Generics.Generic Amazonka.MachineLearning.GetDataSource.GetDataSourceResponse
+ Amazonka.MachineLearning.GetDataSource: instance GHC.Read.Read Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance GHC.Read.Read Amazonka.MachineLearning.GetDataSource.GetDataSourceResponse
+ Amazonka.MachineLearning.GetDataSource: instance GHC.Show.Show Amazonka.MachineLearning.GetDataSource.GetDataSource
+ Amazonka.MachineLearning.GetDataSource: instance GHC.Show.Show Amazonka.MachineLearning.GetDataSource.GetDataSourceResponse
+ Amazonka.MachineLearning.GetDataSource: newGetDataSource :: Text -> GetDataSource
+ Amazonka.MachineLearning.GetDataSource: newGetDataSourceResponse :: Int -> GetDataSourceResponse
+ Amazonka.MachineLearning.GetEvaluation: GetEvaluation' :: Text -> GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: GetEvaluationResponse' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PerformanceMetrics -> Maybe POSIX -> Maybe EntityStatus -> Int -> GetEvaluationResponse
+ Amazonka.MachineLearning.GetEvaluation: [$sel:computeTime:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetEvaluation: [$sel:createdAt:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetEvaluation: [$sel:createdByIamUser:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:evaluationDataSourceId:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:evaluationId:GetEvaluation'] :: GetEvaluation -> Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:evaluationId:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:finishedAt:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetEvaluation: [$sel:httpStatus:GetEvaluationResponse'] :: GetEvaluationResponse -> Int
+ Amazonka.MachineLearning.GetEvaluation: [$sel:inputDataLocationS3:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:lastUpdatedAt:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetEvaluation: [$sel:logUri:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:mLModelId:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:message:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:name:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.GetEvaluation: [$sel:performanceMetrics:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe PerformanceMetrics
+ Amazonka.MachineLearning.GetEvaluation: [$sel:startedAt:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetEvaluation: [$sel:status:GetEvaluationResponse'] :: GetEvaluationResponse -> Maybe EntityStatus
+ Amazonka.MachineLearning.GetEvaluation: data GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: data GetEvaluationResponse
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_computeTime :: Lens' GetEvaluationResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_createdAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_createdByIamUser :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_evaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_evaluationId :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_finishedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_httpStatus :: Lens' GetEvaluationResponse Int
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_inputDataLocationS3 :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_lastUpdatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_logUri :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_mLModelId :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_message :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_name :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_performanceMetrics :: Lens' GetEvaluationResponse (Maybe PerformanceMetrics)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_startedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluationResponse_status :: Lens' GetEvaluationResponse (Maybe EntityStatus)
+ Amazonka.MachineLearning.GetEvaluation: getEvaluation_evaluationId :: Lens' GetEvaluation Text
+ Amazonka.MachineLearning.GetEvaluation: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.GetEvaluation.GetEvaluationResponse
+ Amazonka.MachineLearning.GetEvaluation: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.GetEvaluation.GetEvaluationResponse
+ Amazonka.MachineLearning.GetEvaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.GetEvaluation.GetEvaluationResponse
+ Amazonka.MachineLearning.GetEvaluation: instance GHC.Read.Read Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance GHC.Read.Read Amazonka.MachineLearning.GetEvaluation.GetEvaluationResponse
+ Amazonka.MachineLearning.GetEvaluation: instance GHC.Show.Show Amazonka.MachineLearning.GetEvaluation.GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: instance GHC.Show.Show Amazonka.MachineLearning.GetEvaluation.GetEvaluationResponse
+ Amazonka.MachineLearning.GetEvaluation: newGetEvaluation :: Text -> GetEvaluation
+ Amazonka.MachineLearning.GetEvaluation: newGetEvaluationResponse :: Int -> GetEvaluationResponse
+ Amazonka.MachineLearning.GetMLModel: GetMLModel' :: Maybe Bool -> Text -> GetMLModel
+ Amazonka.MachineLearning.GetMLModel: GetMLModelResponse' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe RealtimeEndpointInfo -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MLModelType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe POSIX -> Maybe Integer -> Maybe POSIX -> Maybe EntityStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Int -> GetMLModelResponse
+ Amazonka.MachineLearning.GetMLModel: [$sel:computeTime:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetMLModel: [$sel:createdAt:GetMLModelResponse'] :: GetMLModelResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetMLModel: [$sel:createdByIamUser:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:endpointInfo:GetMLModelResponse'] :: GetMLModelResponse -> Maybe RealtimeEndpointInfo
+ Amazonka.MachineLearning.GetMLModel: [$sel:finishedAt:GetMLModelResponse'] :: GetMLModelResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetMLModel: [$sel:httpStatus:GetMLModelResponse'] :: GetMLModelResponse -> Int
+ Amazonka.MachineLearning.GetMLModel: [$sel:inputDataLocationS3:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:lastUpdatedAt:GetMLModelResponse'] :: GetMLModelResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetMLModel: [$sel:logUri:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:mLModelId:GetMLModel'] :: GetMLModel -> Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:mLModelId:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:mLModelType:GetMLModelResponse'] :: GetMLModelResponse -> Maybe MLModelType
+ Amazonka.MachineLearning.GetMLModel: [$sel:message:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:name:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:recipe:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:schema:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:scoreThreshold:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Double
+ Amazonka.MachineLearning.GetMLModel: [$sel:scoreThresholdLastUpdatedAt:GetMLModelResponse'] :: GetMLModelResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetMLModel: [$sel:sizeInBytes:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Integer
+ Amazonka.MachineLearning.GetMLModel: [$sel:startedAt:GetMLModelResponse'] :: GetMLModelResponse -> Maybe POSIX
+ Amazonka.MachineLearning.GetMLModel: [$sel:status:GetMLModelResponse'] :: GetMLModelResponse -> Maybe EntityStatus
+ Amazonka.MachineLearning.GetMLModel: [$sel:trainingDataSourceId:GetMLModelResponse'] :: GetMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.GetMLModel: [$sel:trainingParameters:GetMLModelResponse'] :: GetMLModelResponse -> Maybe (HashMap Text Text)
+ Amazonka.MachineLearning.GetMLModel: [$sel:verbose:GetMLModel'] :: GetMLModel -> Maybe Bool
+ Amazonka.MachineLearning.GetMLModel: data GetMLModel
+ Amazonka.MachineLearning.GetMLModel: data GetMLModelResponse
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_computeTime :: Lens' GetMLModelResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_createdAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_createdByIamUser :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_endpointInfo :: Lens' GetMLModelResponse (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_finishedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_httpStatus :: Lens' GetMLModelResponse Int
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_inputDataLocationS3 :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_lastUpdatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_logUri :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_mLModelId :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_mLModelType :: Lens' GetMLModelResponse (Maybe MLModelType)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_message :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_name :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_recipe :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_schema :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_scoreThreshold :: Lens' GetMLModelResponse (Maybe Double)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_scoreThresholdLastUpdatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_sizeInBytes :: Lens' GetMLModelResponse (Maybe Integer)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_startedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_status :: Lens' GetMLModelResponse (Maybe EntityStatus)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_trainingDataSourceId :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.GetMLModel: getMLModelResponse_trainingParameters :: Lens' GetMLModelResponse (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.GetMLModel: getMLModel_mLModelId :: Lens' GetMLModel Text
+ Amazonka.MachineLearning.GetMLModel: getMLModel_verbose :: Lens' GetMLModel (Maybe Bool)
+ Amazonka.MachineLearning.GetMLModel: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.GetMLModel.GetMLModelResponse
+ Amazonka.MachineLearning.GetMLModel: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.GetMLModel.GetMLModelResponse
+ Amazonka.MachineLearning.GetMLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.GetMLModel.GetMLModelResponse
+ Amazonka.MachineLearning.GetMLModel: instance GHC.Read.Read Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance GHC.Read.Read Amazonka.MachineLearning.GetMLModel.GetMLModelResponse
+ Amazonka.MachineLearning.GetMLModel: instance GHC.Show.Show Amazonka.MachineLearning.GetMLModel.GetMLModel
+ Amazonka.MachineLearning.GetMLModel: instance GHC.Show.Show Amazonka.MachineLearning.GetMLModel.GetMLModelResponse
+ Amazonka.MachineLearning.GetMLModel: newGetMLModel :: Text -> GetMLModel
+ Amazonka.MachineLearning.GetMLModel: newGetMLModelResponse :: Int -> GetMLModelResponse
+ Amazonka.MachineLearning.Lens: addTagsResponse_httpStatus :: Lens' AddTagsResponse Int
+ Amazonka.MachineLearning.Lens: addTagsResponse_resourceId :: Lens' AddTagsResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: addTagsResponse_resourceType :: Lens' AddTagsResponse (Maybe TaggableResourceType)
+ Amazonka.MachineLearning.Lens: addTags_resourceId :: Lens' AddTags Text
+ Amazonka.MachineLearning.Lens: addTags_resourceType :: Lens' AddTags TaggableResourceType
+ Amazonka.MachineLearning.Lens: addTags_tags :: Lens' AddTags [Tag]
+ Amazonka.MachineLearning.Lens: batchPrediction_batchPredictionDataSourceId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: batchPrediction_batchPredictionId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: batchPrediction_computeTime :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Lens: batchPrediction_createdAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: batchPrediction_createdByIamUser :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: batchPrediction_finishedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: batchPrediction_inputDataLocationS3 :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: batchPrediction_invalidRecordCount :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Lens: batchPrediction_lastUpdatedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: batchPrediction_mLModelId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: batchPrediction_message :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: batchPrediction_name :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: batchPrediction_outputUri :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: batchPrediction_startedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: batchPrediction_status :: Lens' BatchPrediction (Maybe EntityStatus)
+ Amazonka.MachineLearning.Lens: batchPrediction_totalRecordCount :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Lens: createBatchPredictionResponse_batchPredictionId :: Lens' CreateBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: createBatchPredictionResponse_httpStatus :: Lens' CreateBatchPredictionResponse Int
+ Amazonka.MachineLearning.Lens: createBatchPrediction_batchPredictionDataSourceId :: Lens' CreateBatchPrediction Text
+ Amazonka.MachineLearning.Lens: createBatchPrediction_batchPredictionId :: Lens' CreateBatchPrediction Text
+ Amazonka.MachineLearning.Lens: createBatchPrediction_batchPredictionName :: Lens' CreateBatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: createBatchPrediction_mLModelId :: Lens' CreateBatchPrediction Text
+ Amazonka.MachineLearning.Lens: createBatchPrediction_outputUri :: Lens' CreateBatchPrediction Text
+ Amazonka.MachineLearning.Lens: createDataSourceFromRDSResponse_dataSourceId :: Lens' CreateDataSourceFromRDSResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: createDataSourceFromRDSResponse_httpStatus :: Lens' CreateDataSourceFromRDSResponse Int
+ Amazonka.MachineLearning.Lens: createDataSourceFromRDS_computeStatistics :: Lens' CreateDataSourceFromRDS (Maybe Bool)
+ Amazonka.MachineLearning.Lens: createDataSourceFromRDS_dataSourceId :: Lens' CreateDataSourceFromRDS Text
+ Amazonka.MachineLearning.Lens: createDataSourceFromRDS_dataSourceName :: Lens' CreateDataSourceFromRDS (Maybe Text)
+ Amazonka.MachineLearning.Lens: createDataSourceFromRDS_rDSData :: Lens' CreateDataSourceFromRDS RDSDataSpec
+ Amazonka.MachineLearning.Lens: createDataSourceFromRDS_roleARN :: Lens' CreateDataSourceFromRDS Text
+ Amazonka.MachineLearning.Lens: createDataSourceFromRedshiftResponse_dataSourceId :: Lens' CreateDataSourceFromRedshiftResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: createDataSourceFromRedshiftResponse_httpStatus :: Lens' CreateDataSourceFromRedshiftResponse Int
+ Amazonka.MachineLearning.Lens: createDataSourceFromRedshift_computeStatistics :: Lens' CreateDataSourceFromRedshift (Maybe Bool)
+ Amazonka.MachineLearning.Lens: createDataSourceFromRedshift_dataSourceId :: Lens' CreateDataSourceFromRedshift Text
+ Amazonka.MachineLearning.Lens: createDataSourceFromRedshift_dataSourceName :: Lens' CreateDataSourceFromRedshift (Maybe Text)
+ Amazonka.MachineLearning.Lens: createDataSourceFromRedshift_dataSpec :: Lens' CreateDataSourceFromRedshift RedshiftDataSpec
+ Amazonka.MachineLearning.Lens: createDataSourceFromRedshift_roleARN :: Lens' CreateDataSourceFromRedshift Text
+ Amazonka.MachineLearning.Lens: createDataSourceFromS3Response_dataSourceId :: Lens' CreateDataSourceFromS3Response (Maybe Text)
+ Amazonka.MachineLearning.Lens: createDataSourceFromS3Response_httpStatus :: Lens' CreateDataSourceFromS3Response Int
+ Amazonka.MachineLearning.Lens: createDataSourceFromS3_computeStatistics :: Lens' CreateDataSourceFromS3 (Maybe Bool)
+ Amazonka.MachineLearning.Lens: createDataSourceFromS3_dataSourceId :: Lens' CreateDataSourceFromS3 Text
+ Amazonka.MachineLearning.Lens: createDataSourceFromS3_dataSourceName :: Lens' CreateDataSourceFromS3 (Maybe Text)
+ Amazonka.MachineLearning.Lens: createDataSourceFromS3_dataSpec :: Lens' CreateDataSourceFromS3 S3DataSpec
+ Amazonka.MachineLearning.Lens: createEvaluationResponse_evaluationId :: Lens' CreateEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: createEvaluationResponse_httpStatus :: Lens' CreateEvaluationResponse Int
+ Amazonka.MachineLearning.Lens: createEvaluation_evaluationDataSourceId :: Lens' CreateEvaluation Text
+ Amazonka.MachineLearning.Lens: createEvaluation_evaluationId :: Lens' CreateEvaluation Text
+ Amazonka.MachineLearning.Lens: createEvaluation_evaluationName :: Lens' CreateEvaluation (Maybe Text)
+ Amazonka.MachineLearning.Lens: createEvaluation_mLModelId :: Lens' CreateEvaluation Text
+ Amazonka.MachineLearning.Lens: createMLModelResponse_httpStatus :: Lens' CreateMLModelResponse Int
+ Amazonka.MachineLearning.Lens: createMLModelResponse_mLModelId :: Lens' CreateMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: createMLModel_mLModelId :: Lens' CreateMLModel Text
+ Amazonka.MachineLearning.Lens: createMLModel_mLModelName :: Lens' CreateMLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: createMLModel_mLModelType :: Lens' CreateMLModel MLModelType
+ Amazonka.MachineLearning.Lens: createMLModel_parameters :: Lens' CreateMLModel (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.Lens: createMLModel_recipe :: Lens' CreateMLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: createMLModel_recipeUri :: Lens' CreateMLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: createMLModel_trainingDataSourceId :: Lens' CreateMLModel Text
+ Amazonka.MachineLearning.Lens: createRealtimeEndpointResponse_httpStatus :: Lens' CreateRealtimeEndpointResponse Int
+ Amazonka.MachineLearning.Lens: createRealtimeEndpointResponse_mLModelId :: Lens' CreateRealtimeEndpointResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: createRealtimeEndpointResponse_realtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.Lens: createRealtimeEndpoint_mLModelId :: Lens' CreateRealtimeEndpoint Text
+ Amazonka.MachineLearning.Lens: dataSource_computeStatistics :: Lens' DataSource (Maybe Bool)
+ Amazonka.MachineLearning.Lens: dataSource_computeTime :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Lens: dataSource_createdAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: dataSource_createdByIamUser :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Lens: dataSource_dataLocationS3 :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Lens: dataSource_dataRearrangement :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Lens: dataSource_dataSizeInBytes :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Lens: dataSource_dataSourceId :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Lens: dataSource_finishedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: dataSource_lastUpdatedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: dataSource_message :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Lens: dataSource_name :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Lens: dataSource_numberOfFiles :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Lens: dataSource_rDSMetadata :: Lens' DataSource (Maybe RDSMetadata)
+ Amazonka.MachineLearning.Lens: dataSource_redshiftMetadata :: Lens' DataSource (Maybe RedshiftMetadata)
+ Amazonka.MachineLearning.Lens: dataSource_roleARN :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Lens: dataSource_startedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: dataSource_status :: Lens' DataSource (Maybe EntityStatus)
+ Amazonka.MachineLearning.Lens: deleteBatchPredictionResponse_batchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: deleteBatchPredictionResponse_httpStatus :: Lens' DeleteBatchPredictionResponse Int
+ Amazonka.MachineLearning.Lens: deleteBatchPrediction_batchPredictionId :: Lens' DeleteBatchPrediction Text
+ Amazonka.MachineLearning.Lens: deleteDataSourceResponse_dataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int
+ Amazonka.MachineLearning.Lens: deleteDataSource_dataSourceId :: Lens' DeleteDataSource Text
+ Amazonka.MachineLearning.Lens: deleteEvaluationResponse_evaluationId :: Lens' DeleteEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: deleteEvaluationResponse_httpStatus :: Lens' DeleteEvaluationResponse Int
+ Amazonka.MachineLearning.Lens: deleteEvaluation_evaluationId :: Lens' DeleteEvaluation Text
+ Amazonka.MachineLearning.Lens: deleteMLModelResponse_httpStatus :: Lens' DeleteMLModelResponse Int
+ Amazonka.MachineLearning.Lens: deleteMLModelResponse_mLModelId :: Lens' DeleteMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: deleteMLModel_mLModelId :: Lens' DeleteMLModel Text
+ Amazonka.MachineLearning.Lens: deleteRealtimeEndpointResponse_httpStatus :: Lens' DeleteRealtimeEndpointResponse Int
+ Amazonka.MachineLearning.Lens: deleteRealtimeEndpointResponse_mLModelId :: Lens' DeleteRealtimeEndpointResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: deleteRealtimeEndpointResponse_realtimeEndpointInfo :: Lens' DeleteRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.Lens: deleteRealtimeEndpoint_mLModelId :: Lens' DeleteRealtimeEndpoint Text
+ Amazonka.MachineLearning.Lens: deleteTagsResponse_httpStatus :: Lens' DeleteTagsResponse Int
+ Amazonka.MachineLearning.Lens: deleteTagsResponse_resourceId :: Lens' DeleteTagsResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: deleteTagsResponse_resourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType)
+ Amazonka.MachineLearning.Lens: deleteTags_resourceId :: Lens' DeleteTags Text
+ Amazonka.MachineLearning.Lens: deleteTags_resourceType :: Lens' DeleteTags TaggableResourceType
+ Amazonka.MachineLearning.Lens: deleteTags_tagKeys :: Lens' DeleteTags [Text]
+ Amazonka.MachineLearning.Lens: describeBatchPredictionsResponse_httpStatus :: Lens' DescribeBatchPredictionsResponse Int
+ Amazonka.MachineLearning.Lens: describeBatchPredictionsResponse_nextToken :: Lens' DescribeBatchPredictionsResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictionsResponse_results :: Lens' DescribeBatchPredictionsResponse (Maybe [BatchPrediction])
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_eq :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_filterVariable :: Lens' DescribeBatchPredictions (Maybe BatchPredictionFilterVariable)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_ge :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_gt :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_le :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_limit :: Lens' DescribeBatchPredictions (Maybe Natural)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_lt :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_ne :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_nextToken :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_prefix :: Lens' DescribeBatchPredictions (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeBatchPredictions_sortOrder :: Lens' DescribeBatchPredictions (Maybe SortOrder)
+ Amazonka.MachineLearning.Lens: describeDataSourcesResponse_httpStatus :: Lens' DescribeDataSourcesResponse Int
+ Amazonka.MachineLearning.Lens: describeDataSourcesResponse_nextToken :: Lens' DescribeDataSourcesResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSourcesResponse_results :: Lens' DescribeDataSourcesResponse (Maybe [DataSource])
+ Amazonka.MachineLearning.Lens: describeDataSources_eq :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSources_filterVariable :: Lens' DescribeDataSources (Maybe DataSourceFilterVariable)
+ Amazonka.MachineLearning.Lens: describeDataSources_ge :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSources_gt :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSources_le :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSources_limit :: Lens' DescribeDataSources (Maybe Natural)
+ Amazonka.MachineLearning.Lens: describeDataSources_lt :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSources_ne :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSources_nextToken :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSources_prefix :: Lens' DescribeDataSources (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeDataSources_sortOrder :: Lens' DescribeDataSources (Maybe SortOrder)
+ Amazonka.MachineLearning.Lens: describeEvaluationsResponse_httpStatus :: Lens' DescribeEvaluationsResponse Int
+ Amazonka.MachineLearning.Lens: describeEvaluationsResponse_nextToken :: Lens' DescribeEvaluationsResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluationsResponse_results :: Lens' DescribeEvaluationsResponse (Maybe [Evaluation])
+ Amazonka.MachineLearning.Lens: describeEvaluations_eq :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluations_filterVariable :: Lens' DescribeEvaluations (Maybe EvaluationFilterVariable)
+ Amazonka.MachineLearning.Lens: describeEvaluations_ge :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluations_gt :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluations_le :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluations_limit :: Lens' DescribeEvaluations (Maybe Natural)
+ Amazonka.MachineLearning.Lens: describeEvaluations_lt :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluations_ne :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluations_nextToken :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluations_prefix :: Lens' DescribeEvaluations (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeEvaluations_sortOrder :: Lens' DescribeEvaluations (Maybe SortOrder)
+ Amazonka.MachineLearning.Lens: describeMLModelsResponse_httpStatus :: Lens' DescribeMLModelsResponse Int
+ Amazonka.MachineLearning.Lens: describeMLModelsResponse_nextToken :: Lens' DescribeMLModelsResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModelsResponse_results :: Lens' DescribeMLModelsResponse (Maybe [MLModel])
+ Amazonka.MachineLearning.Lens: describeMLModels_eq :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModels_filterVariable :: Lens' DescribeMLModels (Maybe MLModelFilterVariable)
+ Amazonka.MachineLearning.Lens: describeMLModels_ge :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModels_gt :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModels_le :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModels_limit :: Lens' DescribeMLModels (Maybe Natural)
+ Amazonka.MachineLearning.Lens: describeMLModels_lt :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModels_ne :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModels_nextToken :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModels_prefix :: Lens' DescribeMLModels (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeMLModels_sortOrder :: Lens' DescribeMLModels (Maybe SortOrder)
+ Amazonka.MachineLearning.Lens: describeTagsResponse_httpStatus :: Lens' DescribeTagsResponse Int
+ Amazonka.MachineLearning.Lens: describeTagsResponse_resourceId :: Lens' DescribeTagsResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: describeTagsResponse_resourceType :: Lens' DescribeTagsResponse (Maybe TaggableResourceType)
+ Amazonka.MachineLearning.Lens: describeTagsResponse_tags :: Lens' DescribeTagsResponse (Maybe [Tag])
+ Amazonka.MachineLearning.Lens: describeTags_resourceId :: Lens' DescribeTags Text
+ Amazonka.MachineLearning.Lens: describeTags_resourceType :: Lens' DescribeTags TaggableResourceType
+ Amazonka.MachineLearning.Lens: evaluation_computeTime :: Lens' Evaluation (Maybe Integer)
+ Amazonka.MachineLearning.Lens: evaluation_createdAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: evaluation_createdByIamUser :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Lens: evaluation_evaluationDataSourceId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Lens: evaluation_evaluationId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Lens: evaluation_finishedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: evaluation_inputDataLocationS3 :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Lens: evaluation_lastUpdatedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: evaluation_mLModelId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Lens: evaluation_message :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Lens: evaluation_name :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Lens: evaluation_performanceMetrics :: Lens' Evaluation (Maybe PerformanceMetrics)
+ Amazonka.MachineLearning.Lens: evaluation_startedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: evaluation_status :: Lens' Evaluation (Maybe EntityStatus)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_batchPredictionDataSourceId :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_batchPredictionId :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_computeTime :: Lens' GetBatchPredictionResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_createdAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_createdByIamUser :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_finishedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_httpStatus :: Lens' GetBatchPredictionResponse Int
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_inputDataLocationS3 :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_invalidRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_lastUpdatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_logUri :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_mLModelId :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_message :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_name :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_outputUri :: Lens' GetBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_startedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_status :: Lens' GetBatchPredictionResponse (Maybe EntityStatus)
+ Amazonka.MachineLearning.Lens: getBatchPredictionResponse_totalRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getBatchPrediction_batchPredictionId :: Lens' GetBatchPrediction Text
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_computeStatistics :: Lens' GetDataSourceResponse (Maybe Bool)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_computeTime :: Lens' GetDataSourceResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_createdAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_createdByIamUser :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_dataLocationS3 :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_dataRearrangement :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_dataSizeInBytes :: Lens' GetDataSourceResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_dataSourceId :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_dataSourceSchema :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_finishedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_httpStatus :: Lens' GetDataSourceResponse Int
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_lastUpdatedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_logUri :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_message :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_name :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_numberOfFiles :: Lens' GetDataSourceResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_rDSMetadata :: Lens' GetDataSourceResponse (Maybe RDSMetadata)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_redshiftMetadata :: Lens' GetDataSourceResponse (Maybe RedshiftMetadata)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_roleARN :: Lens' GetDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_startedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getDataSourceResponse_status :: Lens' GetDataSourceResponse (Maybe EntityStatus)
+ Amazonka.MachineLearning.Lens: getDataSource_dataSourceId :: Lens' GetDataSource Text
+ Amazonka.MachineLearning.Lens: getDataSource_verbose :: Lens' GetDataSource (Maybe Bool)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_computeTime :: Lens' GetEvaluationResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_createdAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_createdByIamUser :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_evaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_evaluationId :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_finishedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_httpStatus :: Lens' GetEvaluationResponse Int
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_inputDataLocationS3 :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_lastUpdatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_logUri :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_mLModelId :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_message :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_name :: Lens' GetEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_performanceMetrics :: Lens' GetEvaluationResponse (Maybe PerformanceMetrics)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_startedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getEvaluationResponse_status :: Lens' GetEvaluationResponse (Maybe EntityStatus)
+ Amazonka.MachineLearning.Lens: getEvaluation_evaluationId :: Lens' GetEvaluation Text
+ Amazonka.MachineLearning.Lens: getMLModelResponse_computeTime :: Lens' GetMLModelResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_createdAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_createdByIamUser :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_endpointInfo :: Lens' GetMLModelResponse (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_finishedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_httpStatus :: Lens' GetMLModelResponse Int
+ Amazonka.MachineLearning.Lens: getMLModelResponse_inputDataLocationS3 :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_lastUpdatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_logUri :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_mLModelId :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_mLModelType :: Lens' GetMLModelResponse (Maybe MLModelType)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_message :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_name :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_recipe :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_schema :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_scoreThreshold :: Lens' GetMLModelResponse (Maybe Double)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_scoreThresholdLastUpdatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_sizeInBytes :: Lens' GetMLModelResponse (Maybe Integer)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_startedAt :: Lens' GetMLModelResponse (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_status :: Lens' GetMLModelResponse (Maybe EntityStatus)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_trainingDataSourceId :: Lens' GetMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: getMLModelResponse_trainingParameters :: Lens' GetMLModelResponse (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.Lens: getMLModel_mLModelId :: Lens' GetMLModel Text
+ Amazonka.MachineLearning.Lens: getMLModel_verbose :: Lens' GetMLModel (Maybe Bool)
+ Amazonka.MachineLearning.Lens: mLModel_algorithm :: Lens' MLModel (Maybe Algorithm)
+ Amazonka.MachineLearning.Lens: mLModel_computeTime :: Lens' MLModel (Maybe Integer)
+ Amazonka.MachineLearning.Lens: mLModel_createdAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: mLModel_createdByIamUser :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: mLModel_endpointInfo :: Lens' MLModel (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.Lens: mLModel_finishedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: mLModel_inputDataLocationS3 :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: mLModel_lastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: mLModel_mLModelId :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: mLModel_mLModelType :: Lens' MLModel (Maybe MLModelType)
+ Amazonka.MachineLearning.Lens: mLModel_message :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: mLModel_name :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: mLModel_scoreThreshold :: Lens' MLModel (Maybe Double)
+ Amazonka.MachineLearning.Lens: mLModel_scoreThresholdLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: mLModel_sizeInBytes :: Lens' MLModel (Maybe Integer)
+ Amazonka.MachineLearning.Lens: mLModel_startedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: mLModel_status :: Lens' MLModel (Maybe EntityStatus)
+ Amazonka.MachineLearning.Lens: mLModel_trainingDataSourceId :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: mLModel_trainingParameters :: Lens' MLModel (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.Lens: performanceMetrics_properties :: Lens' PerformanceMetrics (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.Lens: predictResponse_httpStatus :: Lens' PredictResponse Int
+ Amazonka.MachineLearning.Lens: predictResponse_prediction :: Lens' PredictResponse (Maybe Prediction)
+ Amazonka.MachineLearning.Lens: predict_mLModelId :: Lens' Predict Text
+ Amazonka.MachineLearning.Lens: predict_predictEndpoint :: Lens' Predict Text
+ Amazonka.MachineLearning.Lens: predict_record :: Lens' Predict (HashMap Text Text)
+ Amazonka.MachineLearning.Lens: prediction_details :: Lens' Prediction (Maybe (HashMap DetailsAttributes Text))
+ Amazonka.MachineLearning.Lens: prediction_predictedLabel :: Lens' Prediction (Maybe Text)
+ Amazonka.MachineLearning.Lens: prediction_predictedScores :: Lens' Prediction (Maybe (HashMap Text Double))
+ Amazonka.MachineLearning.Lens: prediction_predictedValue :: Lens' Prediction (Maybe Double)
+ Amazonka.MachineLearning.Lens: rDSDataSpec_dataRearrangement :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: rDSDataSpec_dataSchema :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: rDSDataSpec_dataSchemaUri :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: rDSDataSpec_databaseCredentials :: Lens' RDSDataSpec RDSDatabaseCredentials
+ Amazonka.MachineLearning.Lens: rDSDataSpec_databaseInformation :: Lens' RDSDataSpec RDSDatabase
+ Amazonka.MachineLearning.Lens: rDSDataSpec_resourceRole :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Lens: rDSDataSpec_s3StagingLocation :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Lens: rDSDataSpec_securityGroupIds :: Lens' RDSDataSpec [Text]
+ Amazonka.MachineLearning.Lens: rDSDataSpec_selectSqlQuery :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Lens: rDSDataSpec_serviceRole :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Lens: rDSDataSpec_subnetId :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Lens: rDSDatabaseCredentials_password :: Lens' RDSDatabaseCredentials Text
+ Amazonka.MachineLearning.Lens: rDSDatabaseCredentials_username :: Lens' RDSDatabaseCredentials Text
+ Amazonka.MachineLearning.Lens: rDSDatabase_databaseName :: Lens' RDSDatabase Text
+ Amazonka.MachineLearning.Lens: rDSDatabase_instanceIdentifier :: Lens' RDSDatabase Text
+ Amazonka.MachineLearning.Lens: rDSMetadata_dataPipelineId :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Lens: rDSMetadata_database :: Lens' RDSMetadata (Maybe RDSDatabase)
+ Amazonka.MachineLearning.Lens: rDSMetadata_databaseUserName :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Lens: rDSMetadata_resourceRole :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Lens: rDSMetadata_selectSqlQuery :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Lens: rDSMetadata_serviceRole :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Lens: realtimeEndpointInfo_createdAt :: Lens' RealtimeEndpointInfo (Maybe UTCTime)
+ Amazonka.MachineLearning.Lens: realtimeEndpointInfo_endpointStatus :: Lens' RealtimeEndpointInfo (Maybe RealtimeEndpointStatus)
+ Amazonka.MachineLearning.Lens: realtimeEndpointInfo_endpointUrl :: Lens' RealtimeEndpointInfo (Maybe Text)
+ Amazonka.MachineLearning.Lens: realtimeEndpointInfo_peakRequestsPerSecond :: Lens' RealtimeEndpointInfo (Maybe Int)
+ Amazonka.MachineLearning.Lens: redshiftDataSpec_dataRearrangement :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: redshiftDataSpec_dataSchema :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: redshiftDataSpec_dataSchemaUri :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: redshiftDataSpec_databaseCredentials :: Lens' RedshiftDataSpec RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Lens: redshiftDataSpec_databaseInformation :: Lens' RedshiftDataSpec RedshiftDatabase
+ Amazonka.MachineLearning.Lens: redshiftDataSpec_s3StagingLocation :: Lens' RedshiftDataSpec Text
+ Amazonka.MachineLearning.Lens: redshiftDataSpec_selectSqlQuery :: Lens' RedshiftDataSpec Text
+ Amazonka.MachineLearning.Lens: redshiftDatabaseCredentials_password :: Lens' RedshiftDatabaseCredentials Text
+ Amazonka.MachineLearning.Lens: redshiftDatabaseCredentials_username :: Lens' RedshiftDatabaseCredentials Text
+ Amazonka.MachineLearning.Lens: redshiftDatabase_clusterIdentifier :: Lens' RedshiftDatabase Text
+ Amazonka.MachineLearning.Lens: redshiftDatabase_databaseName :: Lens' RedshiftDatabase Text
+ Amazonka.MachineLearning.Lens: redshiftMetadata_databaseUserName :: Lens' RedshiftMetadata (Maybe Text)
+ Amazonka.MachineLearning.Lens: redshiftMetadata_redshiftDatabase :: Lens' RedshiftMetadata (Maybe RedshiftDatabase)
+ Amazonka.MachineLearning.Lens: redshiftMetadata_selectSqlQuery :: Lens' RedshiftMetadata (Maybe Text)
+ Amazonka.MachineLearning.Lens: s3DataSpec_dataLocationS3 :: Lens' S3DataSpec Text
+ Amazonka.MachineLearning.Lens: s3DataSpec_dataRearrangement :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: s3DataSpec_dataSchema :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: s3DataSpec_dataSchemaLocationS3 :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Lens: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.MachineLearning.Lens: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.MachineLearning.Lens: updateBatchPredictionResponse_batchPredictionId :: Lens' UpdateBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: updateBatchPredictionResponse_httpStatus :: Lens' UpdateBatchPredictionResponse Int
+ Amazonka.MachineLearning.Lens: updateBatchPrediction_batchPredictionId :: Lens' UpdateBatchPrediction Text
+ Amazonka.MachineLearning.Lens: updateBatchPrediction_batchPredictionName :: Lens' UpdateBatchPrediction Text
+ Amazonka.MachineLearning.Lens: updateDataSourceResponse_dataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: updateDataSourceResponse_httpStatus :: Lens' UpdateDataSourceResponse Int
+ Amazonka.MachineLearning.Lens: updateDataSource_dataSourceId :: Lens' UpdateDataSource Text
+ Amazonka.MachineLearning.Lens: updateDataSource_dataSourceName :: Lens' UpdateDataSource Text
+ Amazonka.MachineLearning.Lens: updateEvaluationResponse_evaluationId :: Lens' UpdateEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: updateEvaluationResponse_httpStatus :: Lens' UpdateEvaluationResponse Int
+ Amazonka.MachineLearning.Lens: updateEvaluation_evaluationId :: Lens' UpdateEvaluation Text
+ Amazonka.MachineLearning.Lens: updateEvaluation_evaluationName :: Lens' UpdateEvaluation Text
+ Amazonka.MachineLearning.Lens: updateMLModelResponse_httpStatus :: Lens' UpdateMLModelResponse Int
+ Amazonka.MachineLearning.Lens: updateMLModelResponse_mLModelId :: Lens' UpdateMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.Lens: updateMLModel_mLModelId :: Lens' UpdateMLModel Text
+ Amazonka.MachineLearning.Lens: updateMLModel_mLModelName :: Lens' UpdateMLModel (Maybe Text)
+ Amazonka.MachineLearning.Lens: updateMLModel_scoreThreshold :: Lens' UpdateMLModel (Maybe Double)
+ Amazonka.MachineLearning.Predict: Predict' :: Text -> HashMap Text Text -> Text -> Predict
+ Amazonka.MachineLearning.Predict: PredictResponse' :: Maybe Prediction -> Int -> PredictResponse
+ Amazonka.MachineLearning.Predict: [$sel:httpStatus:PredictResponse'] :: PredictResponse -> Int
+ Amazonka.MachineLearning.Predict: [$sel:mLModelId:Predict'] :: Predict -> Text
+ Amazonka.MachineLearning.Predict: [$sel:predictEndpoint:Predict'] :: Predict -> Text
+ Amazonka.MachineLearning.Predict: [$sel:prediction:PredictResponse'] :: PredictResponse -> Maybe Prediction
+ Amazonka.MachineLearning.Predict: [$sel:record:Predict'] :: Predict -> HashMap Text Text
+ Amazonka.MachineLearning.Predict: data Predict
+ Amazonka.MachineLearning.Predict: data PredictResponse
+ Amazonka.MachineLearning.Predict: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Predict.PredictResponse
+ Amazonka.MachineLearning.Predict: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance GHC.Classes.Eq Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance GHC.Classes.Eq Amazonka.MachineLearning.Predict.PredictResponse
+ Amazonka.MachineLearning.Predict: instance GHC.Generics.Generic Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance GHC.Generics.Generic Amazonka.MachineLearning.Predict.PredictResponse
+ Amazonka.MachineLearning.Predict: instance GHC.Read.Read Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance GHC.Read.Read Amazonka.MachineLearning.Predict.PredictResponse
+ Amazonka.MachineLearning.Predict: instance GHC.Show.Show Amazonka.MachineLearning.Predict.Predict
+ Amazonka.MachineLearning.Predict: instance GHC.Show.Show Amazonka.MachineLearning.Predict.PredictResponse
+ Amazonka.MachineLearning.Predict: newPredict :: Text -> Text -> Predict
+ Amazonka.MachineLearning.Predict: newPredictResponse :: Int -> PredictResponse
+ Amazonka.MachineLearning.Predict: predictResponse_httpStatus :: Lens' PredictResponse Int
+ Amazonka.MachineLearning.Predict: predictResponse_prediction :: Lens' PredictResponse (Maybe Prediction)
+ Amazonka.MachineLearning.Predict: predict_mLModelId :: Lens' Predict Text
+ Amazonka.MachineLearning.Predict: predict_predictEndpoint :: Lens' Predict Text
+ Amazonka.MachineLearning.Predict: predict_record :: Lens' Predict (HashMap Text Text)
+ Amazonka.MachineLearning.Types: Algorithm' :: Text -> Algorithm
+ Amazonka.MachineLearning.Types: BatchPrediction' :: Maybe Text -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> Maybe Integer -> BatchPrediction
+ Amazonka.MachineLearning.Types: BatchPredictionFilterVariable' :: Text -> BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: DataSource' :: Maybe Bool -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe RDSMetadata -> Maybe RedshiftMetadata -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> DataSource
+ Amazonka.MachineLearning.Types: DataSourceFilterVariable' :: Text -> DataSourceFilterVariable
+ Amazonka.MachineLearning.Types: DetailsAttributes' :: Text -> DetailsAttributes
+ Amazonka.MachineLearning.Types: EntityStatus' :: Text -> EntityStatus
+ Amazonka.MachineLearning.Types: Evaluation' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PerformanceMetrics -> Maybe POSIX -> Maybe EntityStatus -> Evaluation
+ Amazonka.MachineLearning.Types: EvaluationFilterVariable' :: Text -> EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: MLModel' :: Maybe Algorithm -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe RealtimeEndpointInfo -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe MLModelType -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe POSIX -> Maybe Integer -> Maybe POSIX -> Maybe EntityStatus -> Maybe Text -> Maybe (HashMap Text Text) -> MLModel
+ Amazonka.MachineLearning.Types: MLModelFilterVariable' :: Text -> MLModelFilterVariable
+ Amazonka.MachineLearning.Types: MLModelType' :: Text -> MLModelType
+ Amazonka.MachineLearning.Types: PerformanceMetrics' :: Maybe (HashMap Text Text) -> PerformanceMetrics
+ Amazonka.MachineLearning.Types: Prediction' :: Maybe (HashMap DetailsAttributes Text) -> Maybe Text -> Maybe (HashMap Text Double) -> Maybe Double -> Prediction
+ Amazonka.MachineLearning.Types: RDSDataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> RDSDatabase -> Text -> RDSDatabaseCredentials -> Text -> Text -> Text -> Text -> [Text] -> RDSDataSpec
+ Amazonka.MachineLearning.Types: RDSDatabase' :: Text -> Text -> RDSDatabase
+ Amazonka.MachineLearning.Types: RDSDatabaseCredentials' :: Text -> Text -> RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types: RDSMetadata' :: Maybe Text -> Maybe RDSDatabase -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RDSMetadata
+ Amazonka.MachineLearning.Types: RealtimeEndpointInfo' :: Maybe POSIX -> Maybe RealtimeEndpointStatus -> Maybe Text -> Maybe Int -> RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types: RealtimeEndpointStatus' :: Text -> RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types: RedshiftDataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> RedshiftDatabase -> Text -> RedshiftDatabaseCredentials -> Text -> RedshiftDataSpec
+ Amazonka.MachineLearning.Types: RedshiftDatabase' :: Text -> Text -> RedshiftDatabase
+ Amazonka.MachineLearning.Types: RedshiftDatabaseCredentials' :: Text -> Text -> RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types: RedshiftMetadata' :: Maybe Text -> Maybe RedshiftDatabase -> Maybe Text -> RedshiftMetadata
+ Amazonka.MachineLearning.Types: S3DataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> S3DataSpec
+ Amazonka.MachineLearning.Types: SortOrder' :: Text -> SortOrder
+ Amazonka.MachineLearning.Types: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.MachineLearning.Types: TaggableResourceType' :: Text -> TaggableResourceType
+ Amazonka.MachineLearning.Types: [$sel:algorithm:MLModel'] :: MLModel -> Maybe Algorithm
+ Amazonka.MachineLearning.Types: [$sel:batchPredictionDataSourceId:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:batchPredictionId:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:clusterIdentifier:RedshiftDatabase'] :: RedshiftDatabase -> Text
+ Amazonka.MachineLearning.Types: [$sel:computeStatistics:DataSource'] :: DataSource -> Maybe Bool
+ Amazonka.MachineLearning.Types: [$sel:computeTime:BatchPrediction'] :: BatchPrediction -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:computeTime:DataSource'] :: DataSource -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:computeTime:Evaluation'] :: Evaluation -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:computeTime:MLModel'] :: MLModel -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:createdAt:BatchPrediction'] :: BatchPrediction -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:createdAt:DataSource'] :: DataSource -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:createdAt:Evaluation'] :: Evaluation -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:createdAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:createdAt:RealtimeEndpointInfo'] :: RealtimeEndpointInfo -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:createdByIamUser:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:createdByIamUser:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:createdByIamUser:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:createdByIamUser:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataLocationS3:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataLocationS3:S3DataSpec'] :: S3DataSpec -> Text
+ Amazonka.MachineLearning.Types: [$sel:dataPipelineId:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataRearrangement:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataRearrangement:RDSDataSpec'] :: RDSDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataRearrangement:RedshiftDataSpec'] :: RedshiftDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataRearrangement:S3DataSpec'] :: S3DataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataSchema:RDSDataSpec'] :: RDSDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataSchema:RedshiftDataSpec'] :: RedshiftDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataSchema:S3DataSpec'] :: S3DataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataSchemaLocationS3:S3DataSpec'] :: S3DataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataSchemaUri:RDSDataSpec'] :: RDSDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataSchemaUri:RedshiftDataSpec'] :: RedshiftDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:dataSizeInBytes:DataSource'] :: DataSource -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:dataSourceId:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:database:RDSMetadata'] :: RDSMetadata -> Maybe RDSDatabase
+ Amazonka.MachineLearning.Types: [$sel:databaseCredentials:RDSDataSpec'] :: RDSDataSpec -> RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types: [$sel:databaseCredentials:RedshiftDataSpec'] :: RedshiftDataSpec -> RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types: [$sel:databaseInformation:RDSDataSpec'] :: RDSDataSpec -> RDSDatabase
+ Amazonka.MachineLearning.Types: [$sel:databaseInformation:RedshiftDataSpec'] :: RedshiftDataSpec -> RedshiftDatabase
+ Amazonka.MachineLearning.Types: [$sel:databaseName:RDSDatabase'] :: RDSDatabase -> Text
+ Amazonka.MachineLearning.Types: [$sel:databaseName:RedshiftDatabase'] :: RedshiftDatabase -> Text
+ Amazonka.MachineLearning.Types: [$sel:databaseUserName:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:databaseUserName:RedshiftMetadata'] :: RedshiftMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:details:Prediction'] :: Prediction -> Maybe (HashMap DetailsAttributes Text)
+ Amazonka.MachineLearning.Types: [$sel:endpointInfo:MLModel'] :: MLModel -> Maybe RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types: [$sel:endpointStatus:RealtimeEndpointInfo'] :: RealtimeEndpointInfo -> Maybe RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types: [$sel:endpointUrl:RealtimeEndpointInfo'] :: RealtimeEndpointInfo -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:evaluationDataSourceId:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:evaluationId:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:finishedAt:BatchPrediction'] :: BatchPrediction -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:finishedAt:DataSource'] :: DataSource -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:finishedAt:Evaluation'] :: Evaluation -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:finishedAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:inputDataLocationS3:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:inputDataLocationS3:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:inputDataLocationS3:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:instanceIdentifier:RDSDatabase'] :: RDSDatabase -> Text
+ Amazonka.MachineLearning.Types: [$sel:invalidRecordCount:BatchPrediction'] :: BatchPrediction -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:key:Tag'] :: Tag -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:lastUpdatedAt:BatchPrediction'] :: BatchPrediction -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:lastUpdatedAt:DataSource'] :: DataSource -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:lastUpdatedAt:Evaluation'] :: Evaluation -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:lastUpdatedAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:mLModelId:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:mLModelId:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:mLModelId:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:mLModelType:MLModel'] :: MLModel -> Maybe MLModelType
+ Amazonka.MachineLearning.Types: [$sel:message:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:message:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:message:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:message:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:name:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:name:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:name:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:name:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:numberOfFiles:DataSource'] :: DataSource -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:outputUri:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:password:RDSDatabaseCredentials'] :: RDSDatabaseCredentials -> Text
+ Amazonka.MachineLearning.Types: [$sel:password:RedshiftDatabaseCredentials'] :: RedshiftDatabaseCredentials -> Text
+ Amazonka.MachineLearning.Types: [$sel:peakRequestsPerSecond:RealtimeEndpointInfo'] :: RealtimeEndpointInfo -> Maybe Int
+ Amazonka.MachineLearning.Types: [$sel:performanceMetrics:Evaluation'] :: Evaluation -> Maybe PerformanceMetrics
+ Amazonka.MachineLearning.Types: [$sel:predictedLabel:Prediction'] :: Prediction -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:predictedScores:Prediction'] :: Prediction -> Maybe (HashMap Text Double)
+ Amazonka.MachineLearning.Types: [$sel:predictedValue:Prediction'] :: Prediction -> Maybe Double
+ Amazonka.MachineLearning.Types: [$sel:properties:PerformanceMetrics'] :: PerformanceMetrics -> Maybe (HashMap Text Text)
+ Amazonka.MachineLearning.Types: [$sel:rDSMetadata:DataSource'] :: DataSource -> Maybe RDSMetadata
+ Amazonka.MachineLearning.Types: [$sel:redshiftDatabase:RedshiftMetadata'] :: RedshiftMetadata -> Maybe RedshiftDatabase
+ Amazonka.MachineLearning.Types: [$sel:redshiftMetadata:DataSource'] :: DataSource -> Maybe RedshiftMetadata
+ Amazonka.MachineLearning.Types: [$sel:resourceRole:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types: [$sel:resourceRole:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:roleARN:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:s3StagingLocation:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types: [$sel:s3StagingLocation:RedshiftDataSpec'] :: RedshiftDataSpec -> Text
+ Amazonka.MachineLearning.Types: [$sel:scoreThreshold:MLModel'] :: MLModel -> Maybe Double
+ Amazonka.MachineLearning.Types: [$sel:scoreThresholdLastUpdatedAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:securityGroupIds:RDSDataSpec'] :: RDSDataSpec -> [Text]
+ Amazonka.MachineLearning.Types: [$sel:selectSqlQuery:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types: [$sel:selectSqlQuery:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:selectSqlQuery:RedshiftDataSpec'] :: RedshiftDataSpec -> Text
+ Amazonka.MachineLearning.Types: [$sel:selectSqlQuery:RedshiftMetadata'] :: RedshiftMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:serviceRole:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types: [$sel:serviceRole:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:sizeInBytes:MLModel'] :: MLModel -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:startedAt:BatchPrediction'] :: BatchPrediction -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:startedAt:DataSource'] :: DataSource -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:startedAt:Evaluation'] :: Evaluation -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:startedAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types: [$sel:status:BatchPrediction'] :: BatchPrediction -> Maybe EntityStatus
+ Amazonka.MachineLearning.Types: [$sel:status:DataSource'] :: DataSource -> Maybe EntityStatus
+ Amazonka.MachineLearning.Types: [$sel:status:Evaluation'] :: Evaluation -> Maybe EntityStatus
+ Amazonka.MachineLearning.Types: [$sel:status:MLModel'] :: MLModel -> Maybe EntityStatus
+ Amazonka.MachineLearning.Types: [$sel:subnetId:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types: [$sel:totalRecordCount:BatchPrediction'] :: BatchPrediction -> Maybe Integer
+ Amazonka.MachineLearning.Types: [$sel:trainingDataSourceId:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types: [$sel:trainingParameters:MLModel'] :: MLModel -> Maybe (HashMap Text Text)
+ Amazonka.MachineLearning.Types: [$sel:username:RDSDatabaseCredentials'] :: RDSDatabaseCredentials -> Text
+ Amazonka.MachineLearning.Types: [$sel:username:RedshiftDatabaseCredentials'] :: RedshiftDatabaseCredentials -> Text
+ Amazonka.MachineLearning.Types: [$sel:value:Tag'] :: Tag -> Maybe Text
+ Amazonka.MachineLearning.Types: [fromAlgorithm] :: Algorithm -> Text
+ Amazonka.MachineLearning.Types: [fromBatchPredictionFilterVariable] :: BatchPredictionFilterVariable -> Text
+ Amazonka.MachineLearning.Types: [fromDataSourceFilterVariable] :: DataSourceFilterVariable -> Text
+ Amazonka.MachineLearning.Types: [fromDetailsAttributes] :: DetailsAttributes -> Text
+ Amazonka.MachineLearning.Types: [fromEntityStatus] :: EntityStatus -> Text
+ Amazonka.MachineLearning.Types: [fromEvaluationFilterVariable] :: EvaluationFilterVariable -> Text
+ Amazonka.MachineLearning.Types: [fromMLModelFilterVariable] :: MLModelFilterVariable -> Text
+ Amazonka.MachineLearning.Types: [fromMLModelType] :: MLModelType -> Text
+ Amazonka.MachineLearning.Types: [fromRealtimeEndpointStatus] :: RealtimeEndpointStatus -> Text
+ Amazonka.MachineLearning.Types: [fromSortOrder] :: SortOrder -> Text
+ Amazonka.MachineLearning.Types: [fromTaggableResourceType] :: TaggableResourceType -> Text
+ Amazonka.MachineLearning.Types: _IdempotentParameterMismatchException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning.Types: _InternalServerException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning.Types: _InvalidInputException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning.Types: _InvalidTagException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning.Types: _PredictorNotMountedException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning.Types: _TagLimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.MachineLearning.Types: batchPrediction_batchPredictionDataSourceId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types: batchPrediction_batchPredictionId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types: batchPrediction_computeTime :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Types: batchPrediction_createdAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: batchPrediction_createdByIamUser :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types: batchPrediction_finishedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: batchPrediction_inputDataLocationS3 :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types: batchPrediction_invalidRecordCount :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Types: batchPrediction_lastUpdatedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: batchPrediction_mLModelId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types: batchPrediction_message :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types: batchPrediction_name :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types: batchPrediction_outputUri :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types: batchPrediction_startedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: batchPrediction_status :: Lens' BatchPrediction (Maybe EntityStatus)
+ Amazonka.MachineLearning.Types: batchPrediction_totalRecordCount :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Types: data BatchPrediction
+ Amazonka.MachineLearning.Types: data DataSource
+ Amazonka.MachineLearning.Types: data Evaluation
+ Amazonka.MachineLearning.Types: data MLModel
+ Amazonka.MachineLearning.Types: data PerformanceMetrics
+ Amazonka.MachineLearning.Types: data Prediction
+ Amazonka.MachineLearning.Types: data RDSDataSpec
+ Amazonka.MachineLearning.Types: data RDSDatabase
+ Amazonka.MachineLearning.Types: data RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types: data RDSMetadata
+ Amazonka.MachineLearning.Types: data RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types: data RedshiftDataSpec
+ Amazonka.MachineLearning.Types: data RedshiftDatabase
+ Amazonka.MachineLearning.Types: data RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types: data RedshiftMetadata
+ Amazonka.MachineLearning.Types: data S3DataSpec
+ Amazonka.MachineLearning.Types: data Tag
+ Amazonka.MachineLearning.Types: dataSource_computeStatistics :: Lens' DataSource (Maybe Bool)
+ Amazonka.MachineLearning.Types: dataSource_computeTime :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Types: dataSource_createdAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: dataSource_createdByIamUser :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types: dataSource_dataLocationS3 :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types: dataSource_dataRearrangement :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types: dataSource_dataSizeInBytes :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Types: dataSource_dataSourceId :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types: dataSource_finishedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: dataSource_lastUpdatedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: dataSource_message :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types: dataSource_name :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types: dataSource_numberOfFiles :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Types: dataSource_rDSMetadata :: Lens' DataSource (Maybe RDSMetadata)
+ Amazonka.MachineLearning.Types: dataSource_redshiftMetadata :: Lens' DataSource (Maybe RedshiftMetadata)
+ Amazonka.MachineLearning.Types: dataSource_roleARN :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types: dataSource_startedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: dataSource_status :: Lens' DataSource (Maybe EntityStatus)
+ Amazonka.MachineLearning.Types: defaultService :: Service
+ Amazonka.MachineLearning.Types: evaluation_computeTime :: Lens' Evaluation (Maybe Integer)
+ Amazonka.MachineLearning.Types: evaluation_createdAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: evaluation_createdByIamUser :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types: evaluation_evaluationDataSourceId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types: evaluation_evaluationId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types: evaluation_finishedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: evaluation_inputDataLocationS3 :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types: evaluation_lastUpdatedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: evaluation_mLModelId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types: evaluation_message :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types: evaluation_name :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types: evaluation_performanceMetrics :: Lens' Evaluation (Maybe PerformanceMetrics)
+ Amazonka.MachineLearning.Types: evaluation_startedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: evaluation_status :: Lens' Evaluation (Maybe EntityStatus)
+ Amazonka.MachineLearning.Types: mLModel_algorithm :: Lens' MLModel (Maybe Algorithm)
+ Amazonka.MachineLearning.Types: mLModel_computeTime :: Lens' MLModel (Maybe Integer)
+ Amazonka.MachineLearning.Types: mLModel_createdAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: mLModel_createdByIamUser :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types: mLModel_endpointInfo :: Lens' MLModel (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.Types: mLModel_finishedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: mLModel_inputDataLocationS3 :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types: mLModel_lastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: mLModel_mLModelId :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types: mLModel_mLModelType :: Lens' MLModel (Maybe MLModelType)
+ Amazonka.MachineLearning.Types: mLModel_message :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types: mLModel_name :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types: mLModel_scoreThreshold :: Lens' MLModel (Maybe Double)
+ Amazonka.MachineLearning.Types: mLModel_scoreThresholdLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: mLModel_sizeInBytes :: Lens' MLModel (Maybe Integer)
+ Amazonka.MachineLearning.Types: mLModel_startedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: mLModel_status :: Lens' MLModel (Maybe EntityStatus)
+ Amazonka.MachineLearning.Types: mLModel_trainingDataSourceId :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types: mLModel_trainingParameters :: Lens' MLModel (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.Types: newBatchPrediction :: BatchPrediction
+ Amazonka.MachineLearning.Types: newDataSource :: DataSource
+ Amazonka.MachineLearning.Types: newEvaluation :: Evaluation
+ Amazonka.MachineLearning.Types: newMLModel :: MLModel
+ Amazonka.MachineLearning.Types: newPerformanceMetrics :: PerformanceMetrics
+ Amazonka.MachineLearning.Types: newPrediction :: Prediction
+ Amazonka.MachineLearning.Types: newRDSDataSpec :: RDSDatabase -> Text -> RDSDatabaseCredentials -> Text -> Text -> Text -> Text -> RDSDataSpec
+ Amazonka.MachineLearning.Types: newRDSDatabase :: Text -> Text -> RDSDatabase
+ Amazonka.MachineLearning.Types: newRDSDatabaseCredentials :: Text -> Text -> RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types: newRDSMetadata :: RDSMetadata
+ Amazonka.MachineLearning.Types: newRealtimeEndpointInfo :: RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types: newRedshiftDataSpec :: RedshiftDatabase -> Text -> RedshiftDatabaseCredentials -> Text -> RedshiftDataSpec
+ Amazonka.MachineLearning.Types: newRedshiftDatabase :: Text -> Text -> RedshiftDatabase
+ Amazonka.MachineLearning.Types: newRedshiftDatabaseCredentials :: Text -> Text -> RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types: newRedshiftMetadata :: RedshiftMetadata
+ Amazonka.MachineLearning.Types: newS3DataSpec :: Text -> S3DataSpec
+ Amazonka.MachineLearning.Types: newTag :: Tag
+ Amazonka.MachineLearning.Types: newtype Algorithm
+ Amazonka.MachineLearning.Types: newtype BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: newtype DataSourceFilterVariable
+ Amazonka.MachineLearning.Types: newtype DetailsAttributes
+ Amazonka.MachineLearning.Types: newtype EntityStatus
+ Amazonka.MachineLearning.Types: newtype EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: newtype MLModelFilterVariable
+ Amazonka.MachineLearning.Types: newtype MLModelType
+ Amazonka.MachineLearning.Types: newtype RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types: newtype SortOrder
+ Amazonka.MachineLearning.Types: newtype TaggableResourceType
+ Amazonka.MachineLearning.Types: pattern Algorithm_Sgd :: Algorithm
+ Amazonka.MachineLearning.Types: pattern BatchPredictionFilterVariable_CreatedAt :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: pattern BatchPredictionFilterVariable_DataSourceId :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: pattern BatchPredictionFilterVariable_DataURI :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: pattern BatchPredictionFilterVariable_IAMUser :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: pattern BatchPredictionFilterVariable_LastUpdatedAt :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: pattern BatchPredictionFilterVariable_MLModelId :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: pattern BatchPredictionFilterVariable_Name :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: pattern BatchPredictionFilterVariable_Status :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types: pattern DataSourceFilterVariable_CreatedAt :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types: pattern DataSourceFilterVariable_DataLocationS3 :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types: pattern DataSourceFilterVariable_IAMUser :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types: pattern DataSourceFilterVariable_LastUpdatedAt :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types: pattern DataSourceFilterVariable_Name :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types: pattern DataSourceFilterVariable_Status :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types: pattern DetailsAttributes_Algorithm :: DetailsAttributes
+ Amazonka.MachineLearning.Types: pattern DetailsAttributes_PredictiveModelType :: DetailsAttributes
+ Amazonka.MachineLearning.Types: pattern EntityStatus_COMPLETED :: EntityStatus
+ Amazonka.MachineLearning.Types: pattern EntityStatus_DELETED :: EntityStatus
+ Amazonka.MachineLearning.Types: pattern EntityStatus_FAILED :: EntityStatus
+ Amazonka.MachineLearning.Types: pattern EntityStatus_INPROGRESS :: EntityStatus
+ Amazonka.MachineLearning.Types: pattern EntityStatus_PENDING :: EntityStatus
+ Amazonka.MachineLearning.Types: pattern EvaluationFilterVariable_CreatedAt :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: pattern EvaluationFilterVariable_DataSourceId :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: pattern EvaluationFilterVariable_DataURI :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: pattern EvaluationFilterVariable_IAMUser :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: pattern EvaluationFilterVariable_LastUpdatedAt :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: pattern EvaluationFilterVariable_MLModelId :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: pattern EvaluationFilterVariable_Name :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: pattern EvaluationFilterVariable_Status :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_Algorithm :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_CreatedAt :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_IAMUser :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_LastUpdatedAt :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_MLModelType :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_Name :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_RealtimeEndpointStatus :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_Status :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_TrainingDataSourceId :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelFilterVariable_TrainingDataURI :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types: pattern MLModelType_BINARY :: MLModelType
+ Amazonka.MachineLearning.Types: pattern MLModelType_MULTICLASS :: MLModelType
+ Amazonka.MachineLearning.Types: pattern MLModelType_REGRESSION :: MLModelType
+ Amazonka.MachineLearning.Types: pattern RealtimeEndpointStatus_FAILED :: RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types: pattern RealtimeEndpointStatus_NONE :: RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types: pattern RealtimeEndpointStatus_READY :: RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types: pattern RealtimeEndpointStatus_UPDATING :: RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types: pattern SortOrder_Asc :: SortOrder
+ Amazonka.MachineLearning.Types: pattern SortOrder_Dsc :: SortOrder
+ Amazonka.MachineLearning.Types: pattern TaggableResourceType_BatchPrediction :: TaggableResourceType
+ Amazonka.MachineLearning.Types: pattern TaggableResourceType_DataSource :: TaggableResourceType
+ Amazonka.MachineLearning.Types: pattern TaggableResourceType_Evaluation :: TaggableResourceType
+ Amazonka.MachineLearning.Types: pattern TaggableResourceType_MLModel :: TaggableResourceType
+ Amazonka.MachineLearning.Types: performanceMetrics_properties :: Lens' PerformanceMetrics (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.Types: prediction_details :: Lens' Prediction (Maybe (HashMap DetailsAttributes Text))
+ Amazonka.MachineLearning.Types: prediction_predictedLabel :: Lens' Prediction (Maybe Text)
+ Amazonka.MachineLearning.Types: prediction_predictedScores :: Lens' Prediction (Maybe (HashMap Text Double))
+ Amazonka.MachineLearning.Types: prediction_predictedValue :: Lens' Prediction (Maybe Double)
+ Amazonka.MachineLearning.Types: rDSDataSpec_dataRearrangement :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: rDSDataSpec_dataSchema :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: rDSDataSpec_dataSchemaUri :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: rDSDataSpec_databaseCredentials :: Lens' RDSDataSpec RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types: rDSDataSpec_databaseInformation :: Lens' RDSDataSpec RDSDatabase
+ Amazonka.MachineLearning.Types: rDSDataSpec_resourceRole :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types: rDSDataSpec_s3StagingLocation :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types: rDSDataSpec_securityGroupIds :: Lens' RDSDataSpec [Text]
+ Amazonka.MachineLearning.Types: rDSDataSpec_selectSqlQuery :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types: rDSDataSpec_serviceRole :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types: rDSDataSpec_subnetId :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types: rDSDatabaseCredentials_password :: Lens' RDSDatabaseCredentials Text
+ Amazonka.MachineLearning.Types: rDSDatabaseCredentials_username :: Lens' RDSDatabaseCredentials Text
+ Amazonka.MachineLearning.Types: rDSDatabase_databaseName :: Lens' RDSDatabase Text
+ Amazonka.MachineLearning.Types: rDSDatabase_instanceIdentifier :: Lens' RDSDatabase Text
+ Amazonka.MachineLearning.Types: rDSMetadata_dataPipelineId :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types: rDSMetadata_database :: Lens' RDSMetadata (Maybe RDSDatabase)
+ Amazonka.MachineLearning.Types: rDSMetadata_databaseUserName :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types: rDSMetadata_resourceRole :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types: rDSMetadata_selectSqlQuery :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types: rDSMetadata_serviceRole :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types: realtimeEndpointInfo_createdAt :: Lens' RealtimeEndpointInfo (Maybe UTCTime)
+ Amazonka.MachineLearning.Types: realtimeEndpointInfo_endpointStatus :: Lens' RealtimeEndpointInfo (Maybe RealtimeEndpointStatus)
+ Amazonka.MachineLearning.Types: realtimeEndpointInfo_endpointUrl :: Lens' RealtimeEndpointInfo (Maybe Text)
+ Amazonka.MachineLearning.Types: realtimeEndpointInfo_peakRequestsPerSecond :: Lens' RealtimeEndpointInfo (Maybe Int)
+ Amazonka.MachineLearning.Types: redshiftDataSpec_dataRearrangement :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: redshiftDataSpec_dataSchema :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: redshiftDataSpec_dataSchemaUri :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: redshiftDataSpec_databaseCredentials :: Lens' RedshiftDataSpec RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types: redshiftDataSpec_databaseInformation :: Lens' RedshiftDataSpec RedshiftDatabase
+ Amazonka.MachineLearning.Types: redshiftDataSpec_s3StagingLocation :: Lens' RedshiftDataSpec Text
+ Amazonka.MachineLearning.Types: redshiftDataSpec_selectSqlQuery :: Lens' RedshiftDataSpec Text
+ Amazonka.MachineLearning.Types: redshiftDatabaseCredentials_password :: Lens' RedshiftDatabaseCredentials Text
+ Amazonka.MachineLearning.Types: redshiftDatabaseCredentials_username :: Lens' RedshiftDatabaseCredentials Text
+ Amazonka.MachineLearning.Types: redshiftDatabase_clusterIdentifier :: Lens' RedshiftDatabase Text
+ Amazonka.MachineLearning.Types: redshiftDatabase_databaseName :: Lens' RedshiftDatabase Text
+ Amazonka.MachineLearning.Types: redshiftMetadata_databaseUserName :: Lens' RedshiftMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types: redshiftMetadata_redshiftDatabase :: Lens' RedshiftMetadata (Maybe RedshiftDatabase)
+ Amazonka.MachineLearning.Types: redshiftMetadata_selectSqlQuery :: Lens' RedshiftMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types: s3DataSpec_dataLocationS3 :: Lens' S3DataSpec Text
+ Amazonka.MachineLearning.Types: s3DataSpec_dataRearrangement :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: s3DataSpec_dataSchema :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: s3DataSpec_dataSchemaLocationS3 :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.MachineLearning.Types: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.MachineLearning.Types.Algorithm: Algorithm' :: Text -> Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: [fromAlgorithm] :: Algorithm -> Text
+ Amazonka.MachineLearning.Types.Algorithm: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance GHC.Read.Read Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: instance GHC.Show.Show Amazonka.MachineLearning.Types.Algorithm.Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: newtype Algorithm
+ Amazonka.MachineLearning.Types.Algorithm: pattern Algorithm_Sgd :: Algorithm
+ Amazonka.MachineLearning.Types.BatchPrediction: BatchPrediction' :: Maybe Text -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> Maybe Integer -> BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:batchPredictionDataSourceId:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:batchPredictionId:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:computeTime:BatchPrediction'] :: BatchPrediction -> Maybe Integer
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:createdAt:BatchPrediction'] :: BatchPrediction -> Maybe POSIX
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:createdByIamUser:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:finishedAt:BatchPrediction'] :: BatchPrediction -> Maybe POSIX
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:inputDataLocationS3:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:invalidRecordCount:BatchPrediction'] :: BatchPrediction -> Maybe Integer
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:lastUpdatedAt:BatchPrediction'] :: BatchPrediction -> Maybe POSIX
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:mLModelId:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:message:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:name:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:outputUri:BatchPrediction'] :: BatchPrediction -> Maybe Text
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:startedAt:BatchPrediction'] :: BatchPrediction -> Maybe POSIX
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:status:BatchPrediction'] :: BatchPrediction -> Maybe EntityStatus
+ Amazonka.MachineLearning.Types.BatchPrediction: [$sel:totalRecordCount:BatchPrediction'] :: BatchPrediction -> Maybe Integer
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_batchPredictionDataSourceId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_batchPredictionId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_computeTime :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_createdAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_createdByIamUser :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_finishedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_inputDataLocationS3 :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_invalidRecordCount :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_lastUpdatedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_mLModelId :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_message :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_name :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_outputUri :: Lens' BatchPrediction (Maybe Text)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_startedAt :: Lens' BatchPrediction (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_status :: Lens' BatchPrediction (Maybe EntityStatus)
+ Amazonka.MachineLearning.Types.BatchPrediction: batchPrediction_totalRecordCount :: Lens' BatchPrediction (Maybe Integer)
+ Amazonka.MachineLearning.Types.BatchPrediction: data BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.BatchPrediction.BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.BatchPrediction.BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.BatchPrediction.BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.BatchPrediction.BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.BatchPrediction.BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.Types.BatchPrediction.BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.Types.BatchPrediction.BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPrediction: newBatchPrediction :: BatchPrediction
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: BatchPredictionFilterVariable' :: Text -> BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: [fromBatchPredictionFilterVariable] :: BatchPredictionFilterVariable -> Text
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance GHC.Read.Read Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: instance GHC.Show.Show Amazonka.MachineLearning.Types.BatchPredictionFilterVariable.BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: newtype BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: pattern BatchPredictionFilterVariable_CreatedAt :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: pattern BatchPredictionFilterVariable_DataSourceId :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: pattern BatchPredictionFilterVariable_DataURI :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: pattern BatchPredictionFilterVariable_IAMUser :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: pattern BatchPredictionFilterVariable_LastUpdatedAt :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: pattern BatchPredictionFilterVariable_MLModelId :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: pattern BatchPredictionFilterVariable_Name :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable: pattern BatchPredictionFilterVariable_Status :: BatchPredictionFilterVariable
+ Amazonka.MachineLearning.Types.DataSource: DataSource' :: Maybe Bool -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe RDSMetadata -> Maybe RedshiftMetadata -> Maybe Text -> Maybe POSIX -> Maybe EntityStatus -> DataSource
+ Amazonka.MachineLearning.Types.DataSource: [$sel:computeStatistics:DataSource'] :: DataSource -> Maybe Bool
+ Amazonka.MachineLearning.Types.DataSource: [$sel:computeTime:DataSource'] :: DataSource -> Maybe Integer
+ Amazonka.MachineLearning.Types.DataSource: [$sel:createdAt:DataSource'] :: DataSource -> Maybe POSIX
+ Amazonka.MachineLearning.Types.DataSource: [$sel:createdByIamUser:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types.DataSource: [$sel:dataLocationS3:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types.DataSource: [$sel:dataRearrangement:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types.DataSource: [$sel:dataSizeInBytes:DataSource'] :: DataSource -> Maybe Integer
+ Amazonka.MachineLearning.Types.DataSource: [$sel:dataSourceId:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types.DataSource: [$sel:finishedAt:DataSource'] :: DataSource -> Maybe POSIX
+ Amazonka.MachineLearning.Types.DataSource: [$sel:lastUpdatedAt:DataSource'] :: DataSource -> Maybe POSIX
+ Amazonka.MachineLearning.Types.DataSource: [$sel:message:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types.DataSource: [$sel:name:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types.DataSource: [$sel:numberOfFiles:DataSource'] :: DataSource -> Maybe Integer
+ Amazonka.MachineLearning.Types.DataSource: [$sel:rDSMetadata:DataSource'] :: DataSource -> Maybe RDSMetadata
+ Amazonka.MachineLearning.Types.DataSource: [$sel:redshiftMetadata:DataSource'] :: DataSource -> Maybe RedshiftMetadata
+ Amazonka.MachineLearning.Types.DataSource: [$sel:roleARN:DataSource'] :: DataSource -> Maybe Text
+ Amazonka.MachineLearning.Types.DataSource: [$sel:startedAt:DataSource'] :: DataSource -> Maybe POSIX
+ Amazonka.MachineLearning.Types.DataSource: [$sel:status:DataSource'] :: DataSource -> Maybe EntityStatus
+ Amazonka.MachineLearning.Types.DataSource: data DataSource
+ Amazonka.MachineLearning.Types.DataSource: dataSource_computeStatistics :: Lens' DataSource (Maybe Bool)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_computeTime :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_createdAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_createdByIamUser :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_dataLocationS3 :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_dataRearrangement :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_dataSizeInBytes :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_dataSourceId :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_finishedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_lastUpdatedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_message :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_name :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_numberOfFiles :: Lens' DataSource (Maybe Integer)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_rDSMetadata :: Lens' DataSource (Maybe RDSMetadata)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_redshiftMetadata :: Lens' DataSource (Maybe RedshiftMetadata)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_roleARN :: Lens' DataSource (Maybe Text)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_startedAt :: Lens' DataSource (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.DataSource: dataSource_status :: Lens' DataSource (Maybe EntityStatus)
+ Amazonka.MachineLearning.Types.DataSource: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.DataSource.DataSource
+ Amazonka.MachineLearning.Types.DataSource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.DataSource.DataSource
+ Amazonka.MachineLearning.Types.DataSource: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.DataSource.DataSource
+ Amazonka.MachineLearning.Types.DataSource: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.DataSource.DataSource
+ Amazonka.MachineLearning.Types.DataSource: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.DataSource.DataSource
+ Amazonka.MachineLearning.Types.DataSource: instance GHC.Read.Read Amazonka.MachineLearning.Types.DataSource.DataSource
+ Amazonka.MachineLearning.Types.DataSource: instance GHC.Show.Show Amazonka.MachineLearning.Types.DataSource.DataSource
+ Amazonka.MachineLearning.Types.DataSource: newDataSource :: DataSource
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: DataSourceFilterVariable' :: Text -> DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: [fromDataSourceFilterVariable] :: DataSourceFilterVariable -> Text
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance GHC.Read.Read Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: instance GHC.Show.Show Amazonka.MachineLearning.Types.DataSourceFilterVariable.DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: newtype DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: pattern DataSourceFilterVariable_CreatedAt :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: pattern DataSourceFilterVariable_DataLocationS3 :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: pattern DataSourceFilterVariable_IAMUser :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: pattern DataSourceFilterVariable_LastUpdatedAt :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: pattern DataSourceFilterVariable_Name :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DataSourceFilterVariable: pattern DataSourceFilterVariable_Status :: DataSourceFilterVariable
+ Amazonka.MachineLearning.Types.DetailsAttributes: DetailsAttributes' :: Text -> DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: [fromDetailsAttributes] :: DetailsAttributes -> Text
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance GHC.Read.Read Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: instance GHC.Show.Show Amazonka.MachineLearning.Types.DetailsAttributes.DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: newtype DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: pattern DetailsAttributes_Algorithm :: DetailsAttributes
+ Amazonka.MachineLearning.Types.DetailsAttributes: pattern DetailsAttributes_PredictiveModelType :: DetailsAttributes
+ Amazonka.MachineLearning.Types.EntityStatus: EntityStatus' :: Text -> EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: [fromEntityStatus] :: EntityStatus -> Text
+ Amazonka.MachineLearning.Types.EntityStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance GHC.Read.Read Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: instance GHC.Show.Show Amazonka.MachineLearning.Types.EntityStatus.EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: newtype EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: pattern EntityStatus_COMPLETED :: EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: pattern EntityStatus_DELETED :: EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: pattern EntityStatus_FAILED :: EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: pattern EntityStatus_INPROGRESS :: EntityStatus
+ Amazonka.MachineLearning.Types.EntityStatus: pattern EntityStatus_PENDING :: EntityStatus
+ Amazonka.MachineLearning.Types.Evaluation: Evaluation' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PerformanceMetrics -> Maybe POSIX -> Maybe EntityStatus -> Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:computeTime:Evaluation'] :: Evaluation -> Maybe Integer
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:createdAt:Evaluation'] :: Evaluation -> Maybe POSIX
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:createdByIamUser:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:evaluationDataSourceId:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:evaluationId:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:finishedAt:Evaluation'] :: Evaluation -> Maybe POSIX
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:inputDataLocationS3:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:lastUpdatedAt:Evaluation'] :: Evaluation -> Maybe POSIX
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:mLModelId:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:message:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:name:Evaluation'] :: Evaluation -> Maybe Text
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:performanceMetrics:Evaluation'] :: Evaluation -> Maybe PerformanceMetrics
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:startedAt:Evaluation'] :: Evaluation -> Maybe POSIX
+ Amazonka.MachineLearning.Types.Evaluation: [$sel:status:Evaluation'] :: Evaluation -> Maybe EntityStatus
+ Amazonka.MachineLearning.Types.Evaluation: data Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_computeTime :: Lens' Evaluation (Maybe Integer)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_createdAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_createdByIamUser :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_evaluationDataSourceId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_evaluationId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_finishedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_inputDataLocationS3 :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_lastUpdatedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_mLModelId :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_message :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_name :: Lens' Evaluation (Maybe Text)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_performanceMetrics :: Lens' Evaluation (Maybe PerformanceMetrics)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_startedAt :: Lens' Evaluation (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.Evaluation: evaluation_status :: Lens' Evaluation (Maybe EntityStatus)
+ Amazonka.MachineLearning.Types.Evaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.Evaluation.Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.Evaluation.Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.Evaluation.Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.Evaluation.Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.Evaluation.Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: instance GHC.Read.Read Amazonka.MachineLearning.Types.Evaluation.Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: instance GHC.Show.Show Amazonka.MachineLearning.Types.Evaluation.Evaluation
+ Amazonka.MachineLearning.Types.Evaluation: newEvaluation :: Evaluation
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: EvaluationFilterVariable' :: Text -> EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: [fromEvaluationFilterVariable] :: EvaluationFilterVariable -> Text
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance GHC.Read.Read Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: instance GHC.Show.Show Amazonka.MachineLearning.Types.EvaluationFilterVariable.EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: newtype EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: pattern EvaluationFilterVariable_CreatedAt :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: pattern EvaluationFilterVariable_DataSourceId :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: pattern EvaluationFilterVariable_DataURI :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: pattern EvaluationFilterVariable_IAMUser :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: pattern EvaluationFilterVariable_LastUpdatedAt :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: pattern EvaluationFilterVariable_MLModelId :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: pattern EvaluationFilterVariable_Name :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.EvaluationFilterVariable: pattern EvaluationFilterVariable_Status :: EvaluationFilterVariable
+ Amazonka.MachineLearning.Types.MLModel: MLModel' :: Maybe Algorithm -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe RealtimeEndpointInfo -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe MLModelType -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe POSIX -> Maybe Integer -> Maybe POSIX -> Maybe EntityStatus -> Maybe Text -> Maybe (HashMap Text Text) -> MLModel
+ Amazonka.MachineLearning.Types.MLModel: [$sel:algorithm:MLModel'] :: MLModel -> Maybe Algorithm
+ Amazonka.MachineLearning.Types.MLModel: [$sel:computeTime:MLModel'] :: MLModel -> Maybe Integer
+ Amazonka.MachineLearning.Types.MLModel: [$sel:createdAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types.MLModel: [$sel:createdByIamUser:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types.MLModel: [$sel:endpointInfo:MLModel'] :: MLModel -> Maybe RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.MLModel: [$sel:finishedAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types.MLModel: [$sel:inputDataLocationS3:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types.MLModel: [$sel:lastUpdatedAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types.MLModel: [$sel:mLModelId:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types.MLModel: [$sel:mLModelType:MLModel'] :: MLModel -> Maybe MLModelType
+ Amazonka.MachineLearning.Types.MLModel: [$sel:message:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types.MLModel: [$sel:name:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types.MLModel: [$sel:scoreThreshold:MLModel'] :: MLModel -> Maybe Double
+ Amazonka.MachineLearning.Types.MLModel: [$sel:scoreThresholdLastUpdatedAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types.MLModel: [$sel:sizeInBytes:MLModel'] :: MLModel -> Maybe Integer
+ Amazonka.MachineLearning.Types.MLModel: [$sel:startedAt:MLModel'] :: MLModel -> Maybe POSIX
+ Amazonka.MachineLearning.Types.MLModel: [$sel:status:MLModel'] :: MLModel -> Maybe EntityStatus
+ Amazonka.MachineLearning.Types.MLModel: [$sel:trainingDataSourceId:MLModel'] :: MLModel -> Maybe Text
+ Amazonka.MachineLearning.Types.MLModel: [$sel:trainingParameters:MLModel'] :: MLModel -> Maybe (HashMap Text Text)
+ Amazonka.MachineLearning.Types.MLModel: data MLModel
+ Amazonka.MachineLearning.Types.MLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.MLModel.MLModel
+ Amazonka.MachineLearning.Types.MLModel: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.MLModel.MLModel
+ Amazonka.MachineLearning.Types.MLModel: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.MLModel.MLModel
+ Amazonka.MachineLearning.Types.MLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.MLModel.MLModel
+ Amazonka.MachineLearning.Types.MLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.MLModel.MLModel
+ Amazonka.MachineLearning.Types.MLModel: instance GHC.Read.Read Amazonka.MachineLearning.Types.MLModel.MLModel
+ Amazonka.MachineLearning.Types.MLModel: instance GHC.Show.Show Amazonka.MachineLearning.Types.MLModel.MLModel
+ Amazonka.MachineLearning.Types.MLModel: mLModel_algorithm :: Lens' MLModel (Maybe Algorithm)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_computeTime :: Lens' MLModel (Maybe Integer)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_createdAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_createdByIamUser :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_endpointInfo :: Lens' MLModel (Maybe RealtimeEndpointInfo)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_finishedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_inputDataLocationS3 :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_lastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_mLModelId :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_mLModelType :: Lens' MLModel (Maybe MLModelType)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_message :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_name :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_scoreThreshold :: Lens' MLModel (Maybe Double)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_scoreThresholdLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_sizeInBytes :: Lens' MLModel (Maybe Integer)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_startedAt :: Lens' MLModel (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_status :: Lens' MLModel (Maybe EntityStatus)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_trainingDataSourceId :: Lens' MLModel (Maybe Text)
+ Amazonka.MachineLearning.Types.MLModel: mLModel_trainingParameters :: Lens' MLModel (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.Types.MLModel: newMLModel :: MLModel
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: MLModelFilterVariable' :: Text -> MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: [fromMLModelFilterVariable] :: MLModelFilterVariable -> Text
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance GHC.Read.Read Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: instance GHC.Show.Show Amazonka.MachineLearning.Types.MLModelFilterVariable.MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: newtype MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_Algorithm :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_CreatedAt :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_IAMUser :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_LastUpdatedAt :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_MLModelType :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_Name :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_RealtimeEndpointStatus :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_Status :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_TrainingDataSourceId :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelFilterVariable: pattern MLModelFilterVariable_TrainingDataURI :: MLModelFilterVariable
+ Amazonka.MachineLearning.Types.MLModelType: MLModelType' :: Text -> MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: [fromMLModelType] :: MLModelType -> Text
+ Amazonka.MachineLearning.Types.MLModelType: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance GHC.Read.Read Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: instance GHC.Show.Show Amazonka.MachineLearning.Types.MLModelType.MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: newtype MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: pattern MLModelType_BINARY :: MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: pattern MLModelType_MULTICLASS :: MLModelType
+ Amazonka.MachineLearning.Types.MLModelType: pattern MLModelType_REGRESSION :: MLModelType
+ Amazonka.MachineLearning.Types.PerformanceMetrics: PerformanceMetrics' :: Maybe (HashMap Text Text) -> PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: [$sel:properties:PerformanceMetrics'] :: PerformanceMetrics -> Maybe (HashMap Text Text)
+ Amazonka.MachineLearning.Types.PerformanceMetrics: data PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.PerformanceMetrics.PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.PerformanceMetrics.PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.PerformanceMetrics.PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.PerformanceMetrics.PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.PerformanceMetrics.PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: instance GHC.Read.Read Amazonka.MachineLearning.Types.PerformanceMetrics.PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: instance GHC.Show.Show Amazonka.MachineLearning.Types.PerformanceMetrics.PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: newPerformanceMetrics :: PerformanceMetrics
+ Amazonka.MachineLearning.Types.PerformanceMetrics: performanceMetrics_properties :: Lens' PerformanceMetrics (Maybe (HashMap Text Text))
+ Amazonka.MachineLearning.Types.Prediction: Prediction' :: Maybe (HashMap DetailsAttributes Text) -> Maybe Text -> Maybe (HashMap Text Double) -> Maybe Double -> Prediction
+ Amazonka.MachineLearning.Types.Prediction: [$sel:details:Prediction'] :: Prediction -> Maybe (HashMap DetailsAttributes Text)
+ Amazonka.MachineLearning.Types.Prediction: [$sel:predictedLabel:Prediction'] :: Prediction -> Maybe Text
+ Amazonka.MachineLearning.Types.Prediction: [$sel:predictedScores:Prediction'] :: Prediction -> Maybe (HashMap Text Double)
+ Amazonka.MachineLearning.Types.Prediction: [$sel:predictedValue:Prediction'] :: Prediction -> Maybe Double
+ Amazonka.MachineLearning.Types.Prediction: data Prediction
+ Amazonka.MachineLearning.Types.Prediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.Prediction.Prediction
+ Amazonka.MachineLearning.Types.Prediction: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.Prediction.Prediction
+ Amazonka.MachineLearning.Types.Prediction: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.Prediction.Prediction
+ Amazonka.MachineLearning.Types.Prediction: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.Prediction.Prediction
+ Amazonka.MachineLearning.Types.Prediction: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.Prediction.Prediction
+ Amazonka.MachineLearning.Types.Prediction: instance GHC.Read.Read Amazonka.MachineLearning.Types.Prediction.Prediction
+ Amazonka.MachineLearning.Types.Prediction: instance GHC.Show.Show Amazonka.MachineLearning.Types.Prediction.Prediction
+ Amazonka.MachineLearning.Types.Prediction: newPrediction :: Prediction
+ Amazonka.MachineLearning.Types.Prediction: prediction_details :: Lens' Prediction (Maybe (HashMap DetailsAttributes Text))
+ Amazonka.MachineLearning.Types.Prediction: prediction_predictedLabel :: Lens' Prediction (Maybe Text)
+ Amazonka.MachineLearning.Types.Prediction: prediction_predictedScores :: Lens' Prediction (Maybe (HashMap Text Double))
+ Amazonka.MachineLearning.Types.Prediction: prediction_predictedValue :: Lens' Prediction (Maybe Double)
+ Amazonka.MachineLearning.Types.RDSDataSpec: RDSDataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> RDSDatabase -> Text -> RDSDatabaseCredentials -> Text -> Text -> Text -> Text -> [Text] -> RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:dataRearrangement:RDSDataSpec'] :: RDSDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:dataSchema:RDSDataSpec'] :: RDSDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:dataSchemaUri:RDSDataSpec'] :: RDSDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:databaseCredentials:RDSDataSpec'] :: RDSDataSpec -> RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:databaseInformation:RDSDataSpec'] :: RDSDataSpec -> RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:resourceRole:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:s3StagingLocation:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:securityGroupIds:RDSDataSpec'] :: RDSDataSpec -> [Text]
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:selectSqlQuery:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:serviceRole:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: [$sel:subnetId:RDSDataSpec'] :: RDSDataSpec -> Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: data RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RDSDataSpec.RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.RDSDataSpec.RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RDSDataSpec.RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RDSDataSpec.RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RDSDataSpec.RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: instance GHC.Read.Read Amazonka.MachineLearning.Types.RDSDataSpec.RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: instance GHC.Show.Show Amazonka.MachineLearning.Types.RDSDataSpec.RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: newRDSDataSpec :: RDSDatabase -> Text -> RDSDatabaseCredentials -> Text -> Text -> Text -> Text -> RDSDataSpec
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_dataRearrangement :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_dataSchema :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_dataSchemaUri :: Lens' RDSDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_databaseCredentials :: Lens' RDSDataSpec RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_databaseInformation :: Lens' RDSDataSpec RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_resourceRole :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_s3StagingLocation :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_securityGroupIds :: Lens' RDSDataSpec [Text]
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_selectSqlQuery :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_serviceRole :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types.RDSDataSpec: rDSDataSpec_subnetId :: Lens' RDSDataSpec Text
+ Amazonka.MachineLearning.Types.RDSDatabase: RDSDatabase' :: Text -> Text -> RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: [$sel:databaseName:RDSDatabase'] :: RDSDatabase -> Text
+ Amazonka.MachineLearning.Types.RDSDatabase: [$sel:instanceIdentifier:RDSDatabase'] :: RDSDatabase -> Text
+ Amazonka.MachineLearning.Types.RDSDatabase: data RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RDSDatabase.RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.RDSDatabase.RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.RDSDatabase.RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RDSDatabase.RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RDSDatabase.RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RDSDatabase.RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: instance GHC.Read.Read Amazonka.MachineLearning.Types.RDSDatabase.RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: instance GHC.Show.Show Amazonka.MachineLearning.Types.RDSDatabase.RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: newRDSDatabase :: Text -> Text -> RDSDatabase
+ Amazonka.MachineLearning.Types.RDSDatabase: rDSDatabase_databaseName :: Lens' RDSDatabase Text
+ Amazonka.MachineLearning.Types.RDSDatabase: rDSDatabase_instanceIdentifier :: Lens' RDSDatabase Text
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: RDSDatabaseCredentials' :: Text -> Text -> RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: [$sel:password:RDSDatabaseCredentials'] :: RDSDatabaseCredentials -> Text
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: [$sel:username:RDSDatabaseCredentials'] :: RDSDatabaseCredentials -> Text
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: data RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RDSDatabaseCredentials.RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.RDSDatabaseCredentials.RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RDSDatabaseCredentials.RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RDSDatabaseCredentials.RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RDSDatabaseCredentials.RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: instance GHC.Read.Read Amazonka.MachineLearning.Types.RDSDatabaseCredentials.RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: instance GHC.Show.Show Amazonka.MachineLearning.Types.RDSDatabaseCredentials.RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: newRDSDatabaseCredentials :: Text -> Text -> RDSDatabaseCredentials
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: rDSDatabaseCredentials_password :: Lens' RDSDatabaseCredentials Text
+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials: rDSDatabaseCredentials_username :: Lens' RDSDatabaseCredentials Text
+ Amazonka.MachineLearning.Types.RDSMetadata: RDSMetadata' :: Maybe Text -> Maybe RDSDatabase -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: [$sel:dataPipelineId:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types.RDSMetadata: [$sel:database:RDSMetadata'] :: RDSMetadata -> Maybe RDSDatabase
+ Amazonka.MachineLearning.Types.RDSMetadata: [$sel:databaseUserName:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types.RDSMetadata: [$sel:resourceRole:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types.RDSMetadata: [$sel:selectSqlQuery:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types.RDSMetadata: [$sel:serviceRole:RDSMetadata'] :: RDSMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types.RDSMetadata: data RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RDSMetadata.RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.RDSMetadata.RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RDSMetadata.RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RDSMetadata.RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RDSMetadata.RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: instance GHC.Read.Read Amazonka.MachineLearning.Types.RDSMetadata.RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: instance GHC.Show.Show Amazonka.MachineLearning.Types.RDSMetadata.RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: newRDSMetadata :: RDSMetadata
+ Amazonka.MachineLearning.Types.RDSMetadata: rDSMetadata_dataPipelineId :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types.RDSMetadata: rDSMetadata_database :: Lens' RDSMetadata (Maybe RDSDatabase)
+ Amazonka.MachineLearning.Types.RDSMetadata: rDSMetadata_databaseUserName :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types.RDSMetadata: rDSMetadata_resourceRole :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types.RDSMetadata: rDSMetadata_selectSqlQuery :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types.RDSMetadata: rDSMetadata_serviceRole :: Lens' RDSMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: RealtimeEndpointInfo' :: Maybe POSIX -> Maybe RealtimeEndpointStatus -> Maybe Text -> Maybe Int -> RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: [$sel:createdAt:RealtimeEndpointInfo'] :: RealtimeEndpointInfo -> Maybe POSIX
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: [$sel:endpointStatus:RealtimeEndpointInfo'] :: RealtimeEndpointInfo -> Maybe RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: [$sel:endpointUrl:RealtimeEndpointInfo'] :: RealtimeEndpointInfo -> Maybe Text
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: [$sel:peakRequestsPerSecond:RealtimeEndpointInfo'] :: RealtimeEndpointInfo -> Maybe Int
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: data RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RealtimeEndpointInfo.RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.RealtimeEndpointInfo.RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RealtimeEndpointInfo.RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RealtimeEndpointInfo.RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RealtimeEndpointInfo.RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: instance GHC.Read.Read Amazonka.MachineLearning.Types.RealtimeEndpointInfo.RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: instance GHC.Show.Show Amazonka.MachineLearning.Types.RealtimeEndpointInfo.RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: newRealtimeEndpointInfo :: RealtimeEndpointInfo
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: realtimeEndpointInfo_createdAt :: Lens' RealtimeEndpointInfo (Maybe UTCTime)
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: realtimeEndpointInfo_endpointStatus :: Lens' RealtimeEndpointInfo (Maybe RealtimeEndpointStatus)
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: realtimeEndpointInfo_endpointUrl :: Lens' RealtimeEndpointInfo (Maybe Text)
+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo: realtimeEndpointInfo_peakRequestsPerSecond :: Lens' RealtimeEndpointInfo (Maybe Int)
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: RealtimeEndpointStatus' :: Text -> RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: [fromRealtimeEndpointStatus] :: RealtimeEndpointStatus -> Text
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance GHC.Read.Read Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: instance GHC.Show.Show Amazonka.MachineLearning.Types.RealtimeEndpointStatus.RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: newtype RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: pattern RealtimeEndpointStatus_FAILED :: RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: pattern RealtimeEndpointStatus_NONE :: RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: pattern RealtimeEndpointStatus_READY :: RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus: pattern RealtimeEndpointStatus_UPDATING :: RealtimeEndpointStatus
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: RedshiftDataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> RedshiftDatabase -> Text -> RedshiftDatabaseCredentials -> Text -> RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: [$sel:dataRearrangement:RedshiftDataSpec'] :: RedshiftDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: [$sel:dataSchema:RedshiftDataSpec'] :: RedshiftDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: [$sel:dataSchemaUri:RedshiftDataSpec'] :: RedshiftDataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: [$sel:databaseCredentials:RedshiftDataSpec'] :: RedshiftDataSpec -> RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: [$sel:databaseInformation:RedshiftDataSpec'] :: RedshiftDataSpec -> RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: [$sel:s3StagingLocation:RedshiftDataSpec'] :: RedshiftDataSpec -> Text
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: [$sel:selectSqlQuery:RedshiftDataSpec'] :: RedshiftDataSpec -> Text
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: data RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RedshiftDataSpec.RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.RedshiftDataSpec.RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RedshiftDataSpec.RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RedshiftDataSpec.RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RedshiftDataSpec.RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: instance GHC.Read.Read Amazonka.MachineLearning.Types.RedshiftDataSpec.RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: instance GHC.Show.Show Amazonka.MachineLearning.Types.RedshiftDataSpec.RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: newRedshiftDataSpec :: RedshiftDatabase -> Text -> RedshiftDatabaseCredentials -> Text -> RedshiftDataSpec
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: redshiftDataSpec_dataRearrangement :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: redshiftDataSpec_dataSchema :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: redshiftDataSpec_dataSchemaUri :: Lens' RedshiftDataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: redshiftDataSpec_databaseCredentials :: Lens' RedshiftDataSpec RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: redshiftDataSpec_databaseInformation :: Lens' RedshiftDataSpec RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: redshiftDataSpec_s3StagingLocation :: Lens' RedshiftDataSpec Text
+ Amazonka.MachineLearning.Types.RedshiftDataSpec: redshiftDataSpec_selectSqlQuery :: Lens' RedshiftDataSpec Text
+ Amazonka.MachineLearning.Types.RedshiftDatabase: RedshiftDatabase' :: Text -> Text -> RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: [$sel:clusterIdentifier:RedshiftDatabase'] :: RedshiftDatabase -> Text
+ Amazonka.MachineLearning.Types.RedshiftDatabase: [$sel:databaseName:RedshiftDatabase'] :: RedshiftDatabase -> Text
+ Amazonka.MachineLearning.Types.RedshiftDatabase: data RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RedshiftDatabase.RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.RedshiftDatabase.RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.RedshiftDatabase.RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RedshiftDatabase.RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RedshiftDatabase.RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RedshiftDatabase.RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: instance GHC.Read.Read Amazonka.MachineLearning.Types.RedshiftDatabase.RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: instance GHC.Show.Show Amazonka.MachineLearning.Types.RedshiftDatabase.RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: newRedshiftDatabase :: Text -> Text -> RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftDatabase: redshiftDatabase_clusterIdentifier :: Lens' RedshiftDatabase Text
+ Amazonka.MachineLearning.Types.RedshiftDatabase: redshiftDatabase_databaseName :: Lens' RedshiftDatabase Text
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: RedshiftDatabaseCredentials' :: Text -> Text -> RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: [$sel:password:RedshiftDatabaseCredentials'] :: RedshiftDatabaseCredentials -> Text
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: [$sel:username:RedshiftDatabaseCredentials'] :: RedshiftDatabaseCredentials -> Text
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: data RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials.RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials.RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials.RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials.RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials.RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: instance GHC.Read.Read Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials.RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: instance GHC.Show.Show Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials.RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: newRedshiftDatabaseCredentials :: Text -> Text -> RedshiftDatabaseCredentials
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: redshiftDatabaseCredentials_password :: Lens' RedshiftDatabaseCredentials Text
+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials: redshiftDatabaseCredentials_username :: Lens' RedshiftDatabaseCredentials Text
+ Amazonka.MachineLearning.Types.RedshiftMetadata: RedshiftMetadata' :: Maybe Text -> Maybe RedshiftDatabase -> Maybe Text -> RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: [$sel:databaseUserName:RedshiftMetadata'] :: RedshiftMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types.RedshiftMetadata: [$sel:redshiftDatabase:RedshiftMetadata'] :: RedshiftMetadata -> Maybe RedshiftDatabase
+ Amazonka.MachineLearning.Types.RedshiftMetadata: [$sel:selectSqlQuery:RedshiftMetadata'] :: RedshiftMetadata -> Maybe Text
+ Amazonka.MachineLearning.Types.RedshiftMetadata: data RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.RedshiftMetadata.RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.RedshiftMetadata.RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.RedshiftMetadata.RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.RedshiftMetadata.RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.RedshiftMetadata.RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: instance GHC.Read.Read Amazonka.MachineLearning.Types.RedshiftMetadata.RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: instance GHC.Show.Show Amazonka.MachineLearning.Types.RedshiftMetadata.RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: newRedshiftMetadata :: RedshiftMetadata
+ Amazonka.MachineLearning.Types.RedshiftMetadata: redshiftMetadata_databaseUserName :: Lens' RedshiftMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types.RedshiftMetadata: redshiftMetadata_redshiftDatabase :: Lens' RedshiftMetadata (Maybe RedshiftDatabase)
+ Amazonka.MachineLearning.Types.RedshiftMetadata: redshiftMetadata_selectSqlQuery :: Lens' RedshiftMetadata (Maybe Text)
+ Amazonka.MachineLearning.Types.S3DataSpec: S3DataSpec' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: [$sel:dataLocationS3:S3DataSpec'] :: S3DataSpec -> Text
+ Amazonka.MachineLearning.Types.S3DataSpec: [$sel:dataRearrangement:S3DataSpec'] :: S3DataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.S3DataSpec: [$sel:dataSchema:S3DataSpec'] :: S3DataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.S3DataSpec: [$sel:dataSchemaLocationS3:S3DataSpec'] :: S3DataSpec -> Maybe Text
+ Amazonka.MachineLearning.Types.S3DataSpec: data S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.S3DataSpec.S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.S3DataSpec.S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.S3DataSpec.S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.S3DataSpec.S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.S3DataSpec.S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: instance GHC.Read.Read Amazonka.MachineLearning.Types.S3DataSpec.S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: instance GHC.Show.Show Amazonka.MachineLearning.Types.S3DataSpec.S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: newS3DataSpec :: Text -> S3DataSpec
+ Amazonka.MachineLearning.Types.S3DataSpec: s3DataSpec_dataLocationS3 :: Lens' S3DataSpec Text
+ Amazonka.MachineLearning.Types.S3DataSpec: s3DataSpec_dataRearrangement :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.S3DataSpec: s3DataSpec_dataSchema :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.S3DataSpec: s3DataSpec_dataSchemaLocationS3 :: Lens' S3DataSpec (Maybe Text)
+ Amazonka.MachineLearning.Types.SortOrder: SortOrder' :: Text -> SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: [fromSortOrder] :: SortOrder -> Text
+ Amazonka.MachineLearning.Types.SortOrder: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance GHC.Read.Read Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: instance GHC.Show.Show Amazonka.MachineLearning.Types.SortOrder.SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: newtype SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: pattern SortOrder_Asc :: SortOrder
+ Amazonka.MachineLearning.Types.SortOrder: pattern SortOrder_Dsc :: SortOrder
+ Amazonka.MachineLearning.Types.Tag: Tag' :: Maybe Text -> Maybe Text -> Tag
+ Amazonka.MachineLearning.Types.Tag: [$sel:key:Tag'] :: Tag -> Maybe Text
+ Amazonka.MachineLearning.Types.Tag: [$sel:value:Tag'] :: Tag -> Maybe Text
+ Amazonka.MachineLearning.Types.Tag: data Tag
+ Amazonka.MachineLearning.Types.Tag: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.Tag.Tag
+ Amazonka.MachineLearning.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.Tag.Tag
+ Amazonka.MachineLearning.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.Tag.Tag
+ Amazonka.MachineLearning.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.Tag.Tag
+ Amazonka.MachineLearning.Types.Tag: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.Tag.Tag
+ Amazonka.MachineLearning.Types.Tag: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.Tag.Tag
+ Amazonka.MachineLearning.Types.Tag: instance GHC.Read.Read Amazonka.MachineLearning.Types.Tag.Tag
+ Amazonka.MachineLearning.Types.Tag: instance GHC.Show.Show Amazonka.MachineLearning.Types.Tag.Tag
+ Amazonka.MachineLearning.Types.Tag: newTag :: Tag
+ Amazonka.MachineLearning.Types.Tag: tag_key :: Lens' Tag (Maybe Text)
+ Amazonka.MachineLearning.Types.Tag: tag_value :: Lens' Tag (Maybe Text)
+ Amazonka.MachineLearning.Types.TaggableResourceType: TaggableResourceType' :: Text -> TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: [fromTaggableResourceType] :: TaggableResourceType -> Text
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Amazonka.Data.ByteString.ToByteString Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Amazonka.Data.Headers.ToHeader Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Amazonka.Data.Log.ToLog Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Amazonka.Data.Text.FromText Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Amazonka.Data.Text.ToText Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Amazonka.Data.XML.FromXML Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Amazonka.Data.XML.ToXML Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Control.DeepSeq.NFData Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance GHC.Classes.Eq Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance GHC.Classes.Ord Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance GHC.Generics.Generic Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance GHC.Read.Read Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: instance GHC.Show.Show Amazonka.MachineLearning.Types.TaggableResourceType.TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: newtype TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: pattern TaggableResourceType_BatchPrediction :: TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: pattern TaggableResourceType_DataSource :: TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: pattern TaggableResourceType_Evaluation :: TaggableResourceType
+ Amazonka.MachineLearning.Types.TaggableResourceType: pattern TaggableResourceType_MLModel :: TaggableResourceType
+ Amazonka.MachineLearning.UpdateBatchPrediction: UpdateBatchPrediction' :: Text -> Text -> UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: UpdateBatchPredictionResponse' :: Maybe Text -> Int -> UpdateBatchPredictionResponse
+ Amazonka.MachineLearning.UpdateBatchPrediction: [$sel:batchPredictionId:UpdateBatchPrediction'] :: UpdateBatchPrediction -> Text
+ Amazonka.MachineLearning.UpdateBatchPrediction: [$sel:batchPredictionId:UpdateBatchPredictionResponse'] :: UpdateBatchPredictionResponse -> Maybe Text
+ Amazonka.MachineLearning.UpdateBatchPrediction: [$sel:batchPredictionName:UpdateBatchPrediction'] :: UpdateBatchPrediction -> Text
+ Amazonka.MachineLearning.UpdateBatchPrediction: [$sel:httpStatus:UpdateBatchPredictionResponse'] :: UpdateBatchPredictionResponse -> Int
+ Amazonka.MachineLearning.UpdateBatchPrediction: data UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: data UpdateBatchPredictionResponse
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance Control.DeepSeq.NFData Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance GHC.Classes.Eq Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance GHC.Generics.Generic Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance GHC.Read.Read Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: instance GHC.Show.Show Amazonka.MachineLearning.UpdateBatchPrediction.UpdateBatchPredictionResponse
+ Amazonka.MachineLearning.UpdateBatchPrediction: newUpdateBatchPrediction :: Text -> Text -> UpdateBatchPrediction
+ Amazonka.MachineLearning.UpdateBatchPrediction: newUpdateBatchPredictionResponse :: Int -> UpdateBatchPredictionResponse
+ Amazonka.MachineLearning.UpdateBatchPrediction: updateBatchPredictionResponse_batchPredictionId :: Lens' UpdateBatchPredictionResponse (Maybe Text)
+ Amazonka.MachineLearning.UpdateBatchPrediction: updateBatchPredictionResponse_httpStatus :: Lens' UpdateBatchPredictionResponse Int
+ Amazonka.MachineLearning.UpdateBatchPrediction: updateBatchPrediction_batchPredictionId :: Lens' UpdateBatchPrediction Text
+ Amazonka.MachineLearning.UpdateBatchPrediction: updateBatchPrediction_batchPredictionName :: Lens' UpdateBatchPrediction Text
+ Amazonka.MachineLearning.UpdateDataSource: UpdateDataSource' :: Text -> Text -> UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: UpdateDataSourceResponse' :: Maybe Text -> Int -> UpdateDataSourceResponse
+ Amazonka.MachineLearning.UpdateDataSource: [$sel:dataSourceId:UpdateDataSource'] :: UpdateDataSource -> Text
+ Amazonka.MachineLearning.UpdateDataSource: [$sel:dataSourceId:UpdateDataSourceResponse'] :: UpdateDataSourceResponse -> Maybe Text
+ Amazonka.MachineLearning.UpdateDataSource: [$sel:dataSourceName:UpdateDataSource'] :: UpdateDataSource -> Text
+ Amazonka.MachineLearning.UpdateDataSource: [$sel:httpStatus:UpdateDataSourceResponse'] :: UpdateDataSourceResponse -> Int
+ Amazonka.MachineLearning.UpdateDataSource: data UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: data UpdateDataSourceResponse
+ Amazonka.MachineLearning.UpdateDataSource: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance Control.DeepSeq.NFData Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance Control.DeepSeq.NFData Amazonka.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
+ Amazonka.MachineLearning.UpdateDataSource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance GHC.Classes.Eq Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance GHC.Classes.Eq Amazonka.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
+ Amazonka.MachineLearning.UpdateDataSource: instance GHC.Generics.Generic Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance GHC.Generics.Generic Amazonka.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
+ Amazonka.MachineLearning.UpdateDataSource: instance GHC.Read.Read Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance GHC.Read.Read Amazonka.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
+ Amazonka.MachineLearning.UpdateDataSource: instance GHC.Show.Show Amazonka.MachineLearning.UpdateDataSource.UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: instance GHC.Show.Show Amazonka.MachineLearning.UpdateDataSource.UpdateDataSourceResponse
+ Amazonka.MachineLearning.UpdateDataSource: newUpdateDataSource :: Text -> Text -> UpdateDataSource
+ Amazonka.MachineLearning.UpdateDataSource: newUpdateDataSourceResponse :: Int -> UpdateDataSourceResponse
+ Amazonka.MachineLearning.UpdateDataSource: updateDataSourceResponse_dataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text)
+ Amazonka.MachineLearning.UpdateDataSource: updateDataSourceResponse_httpStatus :: Lens' UpdateDataSourceResponse Int
+ Amazonka.MachineLearning.UpdateDataSource: updateDataSource_dataSourceId :: Lens' UpdateDataSource Text
+ Amazonka.MachineLearning.UpdateDataSource: updateDataSource_dataSourceName :: Lens' UpdateDataSource Text
+ Amazonka.MachineLearning.UpdateEvaluation: UpdateEvaluation' :: Text -> Text -> UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: UpdateEvaluationResponse' :: Maybe Text -> Int -> UpdateEvaluationResponse
+ Amazonka.MachineLearning.UpdateEvaluation: [$sel:evaluationId:UpdateEvaluation'] :: UpdateEvaluation -> Text
+ Amazonka.MachineLearning.UpdateEvaluation: [$sel:evaluationId:UpdateEvaluationResponse'] :: UpdateEvaluationResponse -> Maybe Text
+ Amazonka.MachineLearning.UpdateEvaluation: [$sel:evaluationName:UpdateEvaluation'] :: UpdateEvaluation -> Text
+ Amazonka.MachineLearning.UpdateEvaluation: [$sel:httpStatus:UpdateEvaluationResponse'] :: UpdateEvaluationResponse -> Int
+ Amazonka.MachineLearning.UpdateEvaluation: data UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: data UpdateEvaluationResponse
+ Amazonka.MachineLearning.UpdateEvaluation: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance Control.DeepSeq.NFData Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
+ Amazonka.MachineLearning.UpdateEvaluation: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance GHC.Classes.Eq Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
+ Amazonka.MachineLearning.UpdateEvaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance GHC.Generics.Generic Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
+ Amazonka.MachineLearning.UpdateEvaluation: instance GHC.Read.Read Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance GHC.Read.Read Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
+ Amazonka.MachineLearning.UpdateEvaluation: instance GHC.Show.Show Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: instance GHC.Show.Show Amazonka.MachineLearning.UpdateEvaluation.UpdateEvaluationResponse
+ Amazonka.MachineLearning.UpdateEvaluation: newUpdateEvaluation :: Text -> Text -> UpdateEvaluation
+ Amazonka.MachineLearning.UpdateEvaluation: newUpdateEvaluationResponse :: Int -> UpdateEvaluationResponse
+ Amazonka.MachineLearning.UpdateEvaluation: updateEvaluationResponse_evaluationId :: Lens' UpdateEvaluationResponse (Maybe Text)
+ Amazonka.MachineLearning.UpdateEvaluation: updateEvaluationResponse_httpStatus :: Lens' UpdateEvaluationResponse Int
+ Amazonka.MachineLearning.UpdateEvaluation: updateEvaluation_evaluationId :: Lens' UpdateEvaluation Text
+ Amazonka.MachineLearning.UpdateEvaluation: updateEvaluation_evaluationName :: Lens' UpdateEvaluation Text
+ Amazonka.MachineLearning.UpdateMLModel: UpdateMLModel' :: Maybe Text -> Maybe Double -> Text -> UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: UpdateMLModelResponse' :: Maybe Text -> Int -> UpdateMLModelResponse
+ Amazonka.MachineLearning.UpdateMLModel: [$sel:httpStatus:UpdateMLModelResponse'] :: UpdateMLModelResponse -> Int
+ Amazonka.MachineLearning.UpdateMLModel: [$sel:mLModelId:UpdateMLModel'] :: UpdateMLModel -> Text
+ Amazonka.MachineLearning.UpdateMLModel: [$sel:mLModelId:UpdateMLModelResponse'] :: UpdateMLModelResponse -> Maybe Text
+ Amazonka.MachineLearning.UpdateMLModel: [$sel:mLModelName:UpdateMLModel'] :: UpdateMLModel -> Maybe Text
+ Amazonka.MachineLearning.UpdateMLModel: [$sel:scoreThreshold:UpdateMLModel'] :: UpdateMLModel -> Maybe Double
+ Amazonka.MachineLearning.UpdateMLModel: data UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: data UpdateMLModelResponse
+ Amazonka.MachineLearning.UpdateMLModel: instance Amazonka.Data.Headers.ToHeaders Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance Amazonka.Data.Path.ToPath Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance Amazonka.Data.Query.ToQuery Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance Amazonka.Types.AWSRequest Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance Control.DeepSeq.NFData Amazonka.MachineLearning.UpdateMLModel.UpdateMLModelResponse
+ Amazonka.MachineLearning.UpdateMLModel: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance Data.Hashable.Class.Hashable Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance GHC.Classes.Eq Amazonka.MachineLearning.UpdateMLModel.UpdateMLModelResponse
+ Amazonka.MachineLearning.UpdateMLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance GHC.Generics.Generic Amazonka.MachineLearning.UpdateMLModel.UpdateMLModelResponse
+ Amazonka.MachineLearning.UpdateMLModel: instance GHC.Read.Read Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance GHC.Read.Read Amazonka.MachineLearning.UpdateMLModel.UpdateMLModelResponse
+ Amazonka.MachineLearning.UpdateMLModel: instance GHC.Show.Show Amazonka.MachineLearning.UpdateMLModel.UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: instance GHC.Show.Show Amazonka.MachineLearning.UpdateMLModel.UpdateMLModelResponse
+ Amazonka.MachineLearning.UpdateMLModel: newUpdateMLModel :: Text -> UpdateMLModel
+ Amazonka.MachineLearning.UpdateMLModel: newUpdateMLModelResponse :: Int -> UpdateMLModelResponse
+ Amazonka.MachineLearning.UpdateMLModel: updateMLModelResponse_httpStatus :: Lens' UpdateMLModelResponse Int
+ Amazonka.MachineLearning.UpdateMLModel: updateMLModelResponse_mLModelId :: Lens' UpdateMLModelResponse (Maybe Text)
+ Amazonka.MachineLearning.UpdateMLModel: updateMLModel_mLModelId :: Lens' UpdateMLModel Text
+ Amazonka.MachineLearning.UpdateMLModel: updateMLModel_mLModelName :: Lens' UpdateMLModel (Maybe Text)
+ Amazonka.MachineLearning.UpdateMLModel: updateMLModel_scoreThreshold :: Lens' UpdateMLModel (Maybe Double)
+ Amazonka.MachineLearning.Waiters: newBatchPredictionAvailable :: Wait DescribeBatchPredictions
+ Amazonka.MachineLearning.Waiters: newDataSourceAvailable :: Wait DescribeDataSources
+ Amazonka.MachineLearning.Waiters: newEvaluationAvailable :: Wait DescribeEvaluations
+ Amazonka.MachineLearning.Waiters: newMLModelAvailable :: Wait DescribeMLModels
Files
- README.md +3/−4
- Setup.hs +0/−2
- amazonka-ml.cabal +128/−102
- fixture/AddTags.yaml +10/−0
- fixture/CreateBatchPrediction.yaml +10/−0
- fixture/CreateDataSourceFromRDS.yaml +10/−0
- fixture/CreateDataSourceFromRedshift.yaml +10/−0
- fixture/CreateDataSourceFromS.yaml +10/−0
- fixture/CreateDataSourceFromS3.yaml +10/−0
- fixture/CreateDataSourceFromSResponse.proto +0/−0
- fixture/CreateEvaluation.yaml +10/−0
- fixture/CreateMLModel.yaml +10/−0
- fixture/CreateRealtimeEndpoint.yaml +10/−0
- fixture/DeleteBatchPrediction.yaml +10/−0
- fixture/DeleteDataSource.yaml +10/−0
- fixture/DeleteEvaluation.yaml +10/−0
- fixture/DeleteMLModel.yaml +10/−0
- fixture/DeleteRealtimeEndpoint.yaml +10/−0
- fixture/DeleteTags.yaml +10/−0
- fixture/DescribeBatchPredictions.yaml +10/−0
- fixture/DescribeDataSources.yaml +10/−0
- fixture/DescribeEvaluations.yaml +10/−0
- fixture/DescribeMLModels.yaml +10/−0
- fixture/DescribeTags.yaml +10/−0
- fixture/GetBatchPrediction.yaml +10/−0
- fixture/GetDataSource.yaml +10/−0
- fixture/GetEvaluation.yaml +10/−0
- fixture/GetMLModel.yaml +10/−0
- fixture/Predict.yaml +10/−0
- fixture/UpdateBatchPrediction.yaml +10/−0
- fixture/UpdateDataSource.yaml +10/−0
- fixture/UpdateEvaluation.yaml +10/−0
- fixture/UpdateMLModel.yaml +10/−0
- gen/Amazonka/MachineLearning.hs +394/−0
- gen/Amazonka/MachineLearning/AddTags.hs +219/−0
- gen/Amazonka/MachineLearning/CreateBatchPrediction.hs +299/−0
- gen/Amazonka/MachineLearning/CreateDataSourceFromRDS.hs +426/−0
- gen/Amazonka/MachineLearning/CreateDataSourceFromRedshift.hs +410/−0
- gen/Amazonka/MachineLearning/CreateDataSourceFromS3.hs +312/−0
- gen/Amazonka/MachineLearning/CreateEvaluation.hs +265/−0
- gen/Amazonka/MachineLearning/CreateMLModel.hs +459/−0
- gen/Amazonka/MachineLearning/CreateRealtimeEndpoint.hs +198/−0
- gen/Amazonka/MachineLearning/DeleteBatchPrediction.hs +194/−0
- gen/Amazonka/MachineLearning/DeleteDataSource.hs +180/−0
- gen/Amazonka/MachineLearning/DeleteEvaluation.hs +185/−0
- gen/Amazonka/MachineLearning/DeleteMLModel.hs +181/−0
- gen/Amazonka/MachineLearning/DeleteRealtimeEndpoint.hs +192/−0
- gen/Amazonka/MachineLearning/DeleteTags.hs +215/−0
- gen/Amazonka/MachineLearning/DescribeBatchPredictions.hs +507/−0
- gen/Amazonka/MachineLearning/DescribeDataSources.hs +480/−0
- gen/Amazonka/MachineLearning/DescribeEvaluations.hs +501/−0
- gen/Amazonka/MachineLearning/DescribeMLModels.hs +510/−0
- gen/Amazonka/MachineLearning/DescribeTags.hs +211/−0
- gen/Amazonka/MachineLearning/GetBatchPrediction.hs +472/−0
- gen/Amazonka/MachineLearning/GetDataSource.hs +527/−0
- gen/Amazonka/MachineLearning/GetEvaluation.hs +472/−0
- gen/Amazonka/MachineLearning/GetMLModel.hs +710/−0
- gen/Amazonka/MachineLearning/Lens.hs +513/−0
- gen/Amazonka/MachineLearning/Predict.hs +198/−0
- gen/Amazonka/MachineLearning/Types.hs +412/−0
- gen/Amazonka/MachineLearning/Types/Algorithm.hs +72/−0
- gen/Amazonka/MachineLearning/Types/BatchPrediction.hs +330/−0
- gen/Amazonka/MachineLearning/Types/BatchPredictionFilterVariable.hs +124/−0
- gen/Amazonka/MachineLearning/Types/DataSource.hs +342/−0
- gen/Amazonka/MachineLearning/Types/DataSourceFilterVariable.hs +110/−0
- gen/Amazonka/MachineLearning/Types/DetailsAttributes.hs +77/−0
- gen/Amazonka/MachineLearning/Types/EntityStatus.hs +97/−0
- gen/Amazonka/MachineLearning/Types/Evaluation.hs +332/−0
- gen/Amazonka/MachineLearning/Types/EvaluationFilterVariable.hs +123/−0
- gen/Amazonka/MachineLearning/Types/MLModel.hs +512/−0
- gen/Amazonka/MachineLearning/Types/MLModelFilterVariable.hs +111/−0
- gen/Amazonka/MachineLearning/Types/MLModelType.hs +76/−0
- gen/Amazonka/MachineLearning/Types/PerformanceMetrics.hs +83/−0
- gen/Amazonka/MachineLearning/Types/Prediction.hs +122/−0
- gen/Amazonka/MachineLearning/Types/RDSDataSpec.hs +623/−0
- gen/Amazonka/MachineLearning/Types/RDSDatabase.hs +98/−0
- gen/Amazonka/MachineLearning/Types/RDSDatabaseCredentials.hs +85/−0
- gen/Amazonka/MachineLearning/Types/RDSMetadata.hs +165/−0
- gen/Amazonka/MachineLearning/Types/RealtimeEndpointInfo.hs +148/−0
- gen/Amazonka/MachineLearning/Types/RealtimeEndpointStatus.hs +81/−0
- gen/Amazonka/MachineLearning/Types/RedshiftDataSpec.hs +526/−0
- gen/Amazonka/MachineLearning/Types/RedshiftDatabase.hs +99/−0
- gen/Amazonka/MachineLearning/Types/RedshiftDatabaseCredentials.hs +86/−0
- gen/Amazonka/MachineLearning/Types/RedshiftMetadata.hs +99/−0
- gen/Amazonka/MachineLearning/Types/S3DataSpec.hs +472/−0
- gen/Amazonka/MachineLearning/Types/SortOrder.hs +77/−0
- gen/Amazonka/MachineLearning/Types/Tag.hs +102/−0
- gen/Amazonka/MachineLearning/Types/TaggableResourceType.hs +81/−0
- gen/Amazonka/MachineLearning/UpdateBatchPrediction.hs +207/−0
- gen/Amazonka/MachineLearning/UpdateDataSource.hs +203/−0
- gen/Amazonka/MachineLearning/UpdateEvaluation.hs +202/−0
- gen/Amazonka/MachineLearning/UpdateMLModel.hs +227/−0
- gen/Amazonka/MachineLearning/Waiters.hs +176/−0
- gen/Network/AWS/MachineLearning.hs +0/−429
- gen/Network/AWS/MachineLearning/AddTags.hs +0/−172
- gen/Network/AWS/MachineLearning/CreateBatchPrediction.hs +0/−193
- gen/Network/AWS/MachineLearning/CreateDataSourceFromRDS.hs +0/−192
- gen/Network/AWS/MachineLearning/CreateDataSourceFromRedshift.hs +0/−197
- gen/Network/AWS/MachineLearning/CreateDataSourceFromS3.hs +0/−182
- gen/Network/AWS/MachineLearning/CreateEvaluation.hs +0/−179
- gen/Network/AWS/MachineLearning/CreateMLModel.hs +0/−213
- gen/Network/AWS/MachineLearning/CreateRealtimeEndpoint.hs +0/−153
- gen/Network/AWS/MachineLearning/DeleteBatchPrediction.hs +0/−146
- gen/Network/AWS/MachineLearning/DeleteDataSource.hs +0/−141
- gen/Network/AWS/MachineLearning/DeleteEvaluation.hs +0/−145
- gen/Network/AWS/MachineLearning/DeleteMLModel.hs +0/−141
- gen/Network/AWS/MachineLearning/DeleteRealtimeEndpoint.hs +0/−153
- gen/Network/AWS/MachineLearning/DeleteTags.hs +0/−174
- gen/Network/AWS/MachineLearning/DescribeBatchPredictions.hs +0/−260
- gen/Network/AWS/MachineLearning/DescribeDataSources.hs +0/−259
- gen/Network/AWS/MachineLearning/DescribeEvaluations.hs +0/−259
- gen/Network/AWS/MachineLearning/DescribeMLModels.hs +0/−257
- gen/Network/AWS/MachineLearning/DescribeTags.hs +0/−169
- gen/Network/AWS/MachineLearning/GetBatchPrediction.hs +0/−302
- gen/Network/AWS/MachineLearning/GetDataSource.hs +0/−340
- gen/Network/AWS/MachineLearning/GetEvaluation.hs +0/−278
- gen/Network/AWS/MachineLearning/GetMLModel.hs +0/−350
- gen/Network/AWS/MachineLearning/Predict.hs +0/−156
- gen/Network/AWS/MachineLearning/Types.hs +0/−351
- gen/Network/AWS/MachineLearning/Types/Product.hs +0/−1616
- gen/Network/AWS/MachineLearning/Types/Sum.hs +0/−447
- gen/Network/AWS/MachineLearning/UpdateBatchPrediction.hs +0/−157
- gen/Network/AWS/MachineLearning/UpdateDataSource.hs +0/−152
- gen/Network/AWS/MachineLearning/UpdateEvaluation.hs +0/−152
- gen/Network/AWS/MachineLearning/UpdateMLModel.hs +0/−163
- gen/Network/AWS/MachineLearning/Waiters.hs +0/−105
- test/Main.hs +11/−9
- test/Test/AWS/Gen/MachineLearning.hs +0/−543
- test/Test/AWS/MachineLearning.hs +0/−26
- test/Test/AWS/MachineLearning/Internal.hs +0/−16
- test/Test/Amazonka/Gen/MachineLearning.hs +598/−0
- test/Test/Amazonka/MachineLearning.hs +20/−0
- test/Test/Amazonka/MachineLearning/Internal.hs +8/−0
README.md view
@@ -7,9 +7,8 @@ ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2014-12-12@ of the AWS service descriptions, licensed under Apache 2.0. ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.MachineLearning](http://hackage.haskell.org/package/amazonka-ml/docs/Network-AWS-MachineLearning.html)+See [Amazonka.MachineLearning](http://hackage.haskell.org/package/amazonka-ml/docs/Amazonka-MachineLearning.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
amazonka-ml.cabal view
@@ -1,113 +1,139 @@-name: amazonka-ml-version: 1.6.1-synopsis: Amazon Machine Learning SDK.-homepage: https://github.com/brendanhay/amazonka-bug-reports: https://github.com/brendanhay/amazonka/issues-license: MPL-2.0-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2018 Brendan Hay-category: Network, AWS, Cloud, Distributed Computing-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version: 2.2+name: amazonka-ml+version: 2.0+synopsis: Amazon Machine Learning SDK.+homepage: https://github.com/brendanhay/amazonka+bug-reports: https://github.com/brendanhay/amazonka/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright: Copyright (c) 2013-2023 Brendan Hay+category: AWS+build-type: Simple+extra-source-files:+ fixture/*.proto+ fixture/*.yaml+ README.md+ src/.gitkeep+ description:- The types from this library are intended to be used with- <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information, sending requests,- and receiving responses.- .- Lenses are used for constructing and manipulating types,- due to the depth of nesting of AWS types and transparency regarding- de/serialisation into more palatable Haskell values.- The provided lenses should be compatible with any of the major lens libraries- such as <http://hackage.haskell.org/package/lens lens> or- <http://hackage.haskell.org/package/lens-family-core lens-family-core>.- .- See "Network.AWS.MachineLearning" or <https://aws.amazon.com/documentation/ the AWS documentation>- to get started.+ Derived from API version @2014-12-12@ of the AWS service descriptions, licensed under Apache 2.0.+ .+ The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+ which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+ .+ It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+ .+ Generated lenses can be found in "Amazonka.MachineLearning.Lens" and are+ suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+ .+ See "Amazonka.MachineLearning" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git- subdir: amazonka-ml+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-ml library- default-language: Haskell2010- hs-source-dirs: src gen-- ghc-options:- -Wall- -fwarn-incomplete-uni-patterns- -fwarn-incomplete-record-updates- -funbox-strict-fields-- exposed-modules:- Network.AWS.MachineLearning- , Network.AWS.MachineLearning.AddTags- , Network.AWS.MachineLearning.CreateBatchPrediction- , Network.AWS.MachineLearning.CreateDataSourceFromRDS- , Network.AWS.MachineLearning.CreateDataSourceFromRedshift- , Network.AWS.MachineLearning.CreateDataSourceFromS3- , Network.AWS.MachineLearning.CreateEvaluation- , Network.AWS.MachineLearning.CreateMLModel- , Network.AWS.MachineLearning.CreateRealtimeEndpoint- , Network.AWS.MachineLearning.DeleteBatchPrediction- , Network.AWS.MachineLearning.DeleteDataSource- , Network.AWS.MachineLearning.DeleteEvaluation- , Network.AWS.MachineLearning.DeleteMLModel- , Network.AWS.MachineLearning.DeleteRealtimeEndpoint- , Network.AWS.MachineLearning.DeleteTags- , Network.AWS.MachineLearning.DescribeBatchPredictions- , Network.AWS.MachineLearning.DescribeDataSources- , Network.AWS.MachineLearning.DescribeEvaluations- , Network.AWS.MachineLearning.DescribeMLModels- , Network.AWS.MachineLearning.DescribeTags- , Network.AWS.MachineLearning.GetBatchPrediction- , Network.AWS.MachineLearning.GetDataSource- , Network.AWS.MachineLearning.GetEvaluation- , Network.AWS.MachineLearning.GetMLModel- , Network.AWS.MachineLearning.Predict- , Network.AWS.MachineLearning.Types- , Network.AWS.MachineLearning.UpdateBatchPrediction- , Network.AWS.MachineLearning.UpdateDataSource- , Network.AWS.MachineLearning.UpdateEvaluation- , Network.AWS.MachineLearning.UpdateMLModel- , Network.AWS.MachineLearning.Waiters+ default-language: Haskell2010+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields - other-modules:- Network.AWS.MachineLearning.Types.Product- , Network.AWS.MachineLearning.Types.Sum+ exposed-modules:+ Amazonka.MachineLearning+ Amazonka.MachineLearning.AddTags+ Amazonka.MachineLearning.CreateBatchPrediction+ Amazonka.MachineLearning.CreateDataSourceFromRDS+ Amazonka.MachineLearning.CreateDataSourceFromRedshift+ Amazonka.MachineLearning.CreateDataSourceFromS3+ Amazonka.MachineLearning.CreateEvaluation+ Amazonka.MachineLearning.CreateMLModel+ Amazonka.MachineLearning.CreateRealtimeEndpoint+ Amazonka.MachineLearning.DeleteBatchPrediction+ Amazonka.MachineLearning.DeleteDataSource+ Amazonka.MachineLearning.DeleteEvaluation+ Amazonka.MachineLearning.DeleteMLModel+ Amazonka.MachineLearning.DeleteRealtimeEndpoint+ Amazonka.MachineLearning.DeleteTags+ Amazonka.MachineLearning.DescribeBatchPredictions+ Amazonka.MachineLearning.DescribeDataSources+ Amazonka.MachineLearning.DescribeEvaluations+ Amazonka.MachineLearning.DescribeMLModels+ Amazonka.MachineLearning.DescribeTags+ Amazonka.MachineLearning.GetBatchPrediction+ Amazonka.MachineLearning.GetDataSource+ Amazonka.MachineLearning.GetEvaluation+ Amazonka.MachineLearning.GetMLModel+ Amazonka.MachineLearning.Lens+ Amazonka.MachineLearning.Predict+ Amazonka.MachineLearning.Types+ Amazonka.MachineLearning.Types.Algorithm+ Amazonka.MachineLearning.Types.BatchPrediction+ Amazonka.MachineLearning.Types.BatchPredictionFilterVariable+ Amazonka.MachineLearning.Types.DataSource+ Amazonka.MachineLearning.Types.DataSourceFilterVariable+ Amazonka.MachineLearning.Types.DetailsAttributes+ Amazonka.MachineLearning.Types.EntityStatus+ Amazonka.MachineLearning.Types.Evaluation+ Amazonka.MachineLearning.Types.EvaluationFilterVariable+ Amazonka.MachineLearning.Types.MLModel+ Amazonka.MachineLearning.Types.MLModelFilterVariable+ Amazonka.MachineLearning.Types.MLModelType+ Amazonka.MachineLearning.Types.PerformanceMetrics+ Amazonka.MachineLearning.Types.Prediction+ Amazonka.MachineLearning.Types.RDSDatabase+ Amazonka.MachineLearning.Types.RDSDatabaseCredentials+ Amazonka.MachineLearning.Types.RDSDataSpec+ Amazonka.MachineLearning.Types.RDSMetadata+ Amazonka.MachineLearning.Types.RealtimeEndpointInfo+ Amazonka.MachineLearning.Types.RealtimeEndpointStatus+ Amazonka.MachineLearning.Types.RedshiftDatabase+ Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials+ Amazonka.MachineLearning.Types.RedshiftDataSpec+ Amazonka.MachineLearning.Types.RedshiftMetadata+ Amazonka.MachineLearning.Types.S3DataSpec+ Amazonka.MachineLearning.Types.SortOrder+ Amazonka.MachineLearning.Types.Tag+ Amazonka.MachineLearning.Types.TaggableResourceType+ Amazonka.MachineLearning.UpdateBatchPrediction+ Amazonka.MachineLearning.UpdateDataSource+ Amazonka.MachineLearning.UpdateEvaluation+ Amazonka.MachineLearning.UpdateMLModel+ Amazonka.MachineLearning.Waiters - build-depends:- amazonka-core == 1.6.1.*- , base >= 4.7 && < 5+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , base >=4.12 && <5 test-suite amazonka-ml-test- type: exitcode-stdio-1.0- default-language: Haskell2010- hs-source-dirs: test- main-is: Main.hs-- ghc-options: -Wall -threaded+ type: exitcode-stdio-1.0+ default-language: Haskell2010+ hs-source-dirs: test+ main-is: Main.hs+ ghc-options: -Wall -threaded - -- This section is encoded by the template and any modules added by- -- hand outside these namespaces will not correctly be added to the- -- distribution package.- other-modules:- Test.AWS.MachineLearning- , Test.AWS.Gen.MachineLearning- , Test.AWS.MachineLearning.Internal+ -- This section is encoded by the template and any modules added by+ -- hand outside these namespaces will not correctly be added to the+ -- distribution package.+ other-modules:+ Test.Amazonka.Gen.MachineLearning+ Test.Amazonka.MachineLearning+ Test.Amazonka.MachineLearning.Internal - build-depends:- amazonka-core == 1.6.1.*- , amazonka-test == 1.6.1.*- , amazonka-ml- , base- , bytestring- , tasty- , tasty-hunit- , text- , time- , unordered-containers+ build-depends:+ , amazonka-core >=2.0 && <2.1+ , amazonka-ml+ , amazonka-test >=2.0 && <2.1+ , base+ , bytestring+ , case-insensitive+ , tasty+ , tasty-hunit+ , text+ , time+ , unordered-containers
fixture/AddTags.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/CreateBatchPrediction.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/CreateDataSourceFromRDS.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/CreateDataSourceFromRedshift.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateDataSourceFromS.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/CreateDataSourceFromS3.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateDataSourceFromSResponse.proto view
fixture/CreateEvaluation.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/CreateMLModel.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/CreateRealtimeEndpoint.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteBatchPrediction.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteDataSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteEvaluation.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteMLModel.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteRealtimeEndpoint.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DeleteTags.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DescribeBatchPredictions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DescribeDataSources.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DescribeEvaluations.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DescribeMLModels.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/DescribeTags.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetBatchPrediction.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetDataSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetEvaluation.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/GetMLModel.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/Predict.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/UpdateBatchPrediction.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/UpdateDataSource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/UpdateEvaluation.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
fixture/UpdateMLModel.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/machinelearning/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: machinelearning.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ gen/Amazonka/MachineLearning.hs view
@@ -0,0 +1,394 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module : Amazonka.MachineLearning+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2014-12-12@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- Definition of the public APIs exposed by Amazon Machine Learning+module Amazonka.MachineLearning+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ -- $errors++ -- ** IdempotentParameterMismatchException+ _IdempotentParameterMismatchException,++ -- ** InternalServerException+ _InternalServerException,++ -- ** InvalidInputException+ _InvalidInputException,++ -- ** InvalidTagException+ _InvalidTagException,++ -- ** LimitExceededException+ _LimitExceededException,++ -- ** PredictorNotMountedException+ _PredictorNotMountedException,++ -- ** ResourceNotFoundException+ _ResourceNotFoundException,++ -- ** TagLimitExceededException+ _TagLimitExceededException,++ -- * Waiters+ -- $waiters++ -- ** BatchPredictionAvailable+ newBatchPredictionAvailable,++ -- ** DataSourceAvailable+ newDataSourceAvailable,++ -- ** EvaluationAvailable+ newEvaluationAvailable,++ -- ** MLModelAvailable+ newMLModelAvailable,++ -- * Operations+ -- $operations++ -- ** AddTags+ AddTags (AddTags'),+ newAddTags,+ AddTagsResponse (AddTagsResponse'),+ newAddTagsResponse,++ -- ** CreateBatchPrediction+ CreateBatchPrediction (CreateBatchPrediction'),+ newCreateBatchPrediction,+ CreateBatchPredictionResponse (CreateBatchPredictionResponse'),+ newCreateBatchPredictionResponse,++ -- ** CreateDataSourceFromRDS+ CreateDataSourceFromRDS (CreateDataSourceFromRDS'),+ newCreateDataSourceFromRDS,+ CreateDataSourceFromRDSResponse (CreateDataSourceFromRDSResponse'),+ newCreateDataSourceFromRDSResponse,++ -- ** CreateDataSourceFromRedshift+ CreateDataSourceFromRedshift (CreateDataSourceFromRedshift'),+ newCreateDataSourceFromRedshift,+ CreateDataSourceFromRedshiftResponse (CreateDataSourceFromRedshiftResponse'),+ newCreateDataSourceFromRedshiftResponse,++ -- ** CreateDataSourceFromS3+ CreateDataSourceFromS3 (CreateDataSourceFromS3'),+ newCreateDataSourceFromS3,+ CreateDataSourceFromS3Response (CreateDataSourceFromS3Response'),+ newCreateDataSourceFromS3Response,++ -- ** CreateEvaluation+ CreateEvaluation (CreateEvaluation'),+ newCreateEvaluation,+ CreateEvaluationResponse (CreateEvaluationResponse'),+ newCreateEvaluationResponse,++ -- ** CreateMLModel+ CreateMLModel (CreateMLModel'),+ newCreateMLModel,+ CreateMLModelResponse (CreateMLModelResponse'),+ newCreateMLModelResponse,++ -- ** CreateRealtimeEndpoint+ CreateRealtimeEndpoint (CreateRealtimeEndpoint'),+ newCreateRealtimeEndpoint,+ CreateRealtimeEndpointResponse (CreateRealtimeEndpointResponse'),+ newCreateRealtimeEndpointResponse,++ -- ** DeleteBatchPrediction+ DeleteBatchPrediction (DeleteBatchPrediction'),+ newDeleteBatchPrediction,+ DeleteBatchPredictionResponse (DeleteBatchPredictionResponse'),+ newDeleteBatchPredictionResponse,++ -- ** DeleteDataSource+ DeleteDataSource (DeleteDataSource'),+ newDeleteDataSource,+ DeleteDataSourceResponse (DeleteDataSourceResponse'),+ newDeleteDataSourceResponse,++ -- ** DeleteEvaluation+ DeleteEvaluation (DeleteEvaluation'),+ newDeleteEvaluation,+ DeleteEvaluationResponse (DeleteEvaluationResponse'),+ newDeleteEvaluationResponse,++ -- ** DeleteMLModel+ DeleteMLModel (DeleteMLModel'),+ newDeleteMLModel,+ DeleteMLModelResponse (DeleteMLModelResponse'),+ newDeleteMLModelResponse,++ -- ** DeleteRealtimeEndpoint+ DeleteRealtimeEndpoint (DeleteRealtimeEndpoint'),+ newDeleteRealtimeEndpoint,+ DeleteRealtimeEndpointResponse (DeleteRealtimeEndpointResponse'),+ newDeleteRealtimeEndpointResponse,++ -- ** DeleteTags+ DeleteTags (DeleteTags'),+ newDeleteTags,+ DeleteTagsResponse (DeleteTagsResponse'),+ newDeleteTagsResponse,++ -- ** DescribeBatchPredictions (Paginated)+ DescribeBatchPredictions (DescribeBatchPredictions'),+ newDescribeBatchPredictions,+ DescribeBatchPredictionsResponse (DescribeBatchPredictionsResponse'),+ newDescribeBatchPredictionsResponse,++ -- ** DescribeDataSources (Paginated)+ DescribeDataSources (DescribeDataSources'),+ newDescribeDataSources,+ DescribeDataSourcesResponse (DescribeDataSourcesResponse'),+ newDescribeDataSourcesResponse,++ -- ** DescribeEvaluations (Paginated)+ DescribeEvaluations (DescribeEvaluations'),+ newDescribeEvaluations,+ DescribeEvaluationsResponse (DescribeEvaluationsResponse'),+ newDescribeEvaluationsResponse,++ -- ** DescribeMLModels (Paginated)+ DescribeMLModels (DescribeMLModels'),+ newDescribeMLModels,+ DescribeMLModelsResponse (DescribeMLModelsResponse'),+ newDescribeMLModelsResponse,++ -- ** DescribeTags+ DescribeTags (DescribeTags'),+ newDescribeTags,+ DescribeTagsResponse (DescribeTagsResponse'),+ newDescribeTagsResponse,++ -- ** GetBatchPrediction+ GetBatchPrediction (GetBatchPrediction'),+ newGetBatchPrediction,+ GetBatchPredictionResponse (GetBatchPredictionResponse'),+ newGetBatchPredictionResponse,++ -- ** GetDataSource+ GetDataSource (GetDataSource'),+ newGetDataSource,+ GetDataSourceResponse (GetDataSourceResponse'),+ newGetDataSourceResponse,++ -- ** GetEvaluation+ GetEvaluation (GetEvaluation'),+ newGetEvaluation,+ GetEvaluationResponse (GetEvaluationResponse'),+ newGetEvaluationResponse,++ -- ** GetMLModel+ GetMLModel (GetMLModel'),+ newGetMLModel,+ GetMLModelResponse (GetMLModelResponse'),+ newGetMLModelResponse,++ -- ** Predict+ Predict (Predict'),+ newPredict,+ PredictResponse (PredictResponse'),+ newPredictResponse,++ -- ** UpdateBatchPrediction+ UpdateBatchPrediction (UpdateBatchPrediction'),+ newUpdateBatchPrediction,+ UpdateBatchPredictionResponse (UpdateBatchPredictionResponse'),+ newUpdateBatchPredictionResponse,++ -- ** UpdateDataSource+ UpdateDataSource (UpdateDataSource'),+ newUpdateDataSource,+ UpdateDataSourceResponse (UpdateDataSourceResponse'),+ newUpdateDataSourceResponse,++ -- ** UpdateEvaluation+ UpdateEvaluation (UpdateEvaluation'),+ newUpdateEvaluation,+ UpdateEvaluationResponse (UpdateEvaluationResponse'),+ newUpdateEvaluationResponse,++ -- ** UpdateMLModel+ UpdateMLModel (UpdateMLModel'),+ newUpdateMLModel,+ UpdateMLModelResponse (UpdateMLModelResponse'),+ newUpdateMLModelResponse,++ -- * Types++ -- ** Algorithm+ Algorithm (..),++ -- ** BatchPredictionFilterVariable+ BatchPredictionFilterVariable (..),++ -- ** DataSourceFilterVariable+ DataSourceFilterVariable (..),++ -- ** DetailsAttributes+ DetailsAttributes (..),++ -- ** EntityStatus+ EntityStatus (..),++ -- ** EvaluationFilterVariable+ EvaluationFilterVariable (..),++ -- ** MLModelFilterVariable+ MLModelFilterVariable (..),++ -- ** MLModelType+ MLModelType (..),++ -- ** RealtimeEndpointStatus+ RealtimeEndpointStatus (..),++ -- ** SortOrder+ SortOrder (..),++ -- ** TaggableResourceType+ TaggableResourceType (..),++ -- ** BatchPrediction+ BatchPrediction (BatchPrediction'),+ newBatchPrediction,++ -- ** DataSource+ DataSource (DataSource'),+ newDataSource,++ -- ** Evaluation+ Evaluation (Evaluation'),+ newEvaluation,++ -- ** MLModel+ MLModel (MLModel'),+ newMLModel,++ -- ** PerformanceMetrics+ PerformanceMetrics (PerformanceMetrics'),+ newPerformanceMetrics,++ -- ** Prediction+ Prediction (Prediction'),+ newPrediction,++ -- ** RDSDataSpec+ RDSDataSpec (RDSDataSpec'),+ newRDSDataSpec,++ -- ** RDSDatabase+ RDSDatabase (RDSDatabase'),+ newRDSDatabase,++ -- ** RDSDatabaseCredentials+ RDSDatabaseCredentials (RDSDatabaseCredentials'),+ newRDSDatabaseCredentials,++ -- ** RDSMetadata+ RDSMetadata (RDSMetadata'),+ newRDSMetadata,++ -- ** RealtimeEndpointInfo+ RealtimeEndpointInfo (RealtimeEndpointInfo'),+ newRealtimeEndpointInfo,++ -- ** RedshiftDataSpec+ RedshiftDataSpec (RedshiftDataSpec'),+ newRedshiftDataSpec,++ -- ** RedshiftDatabase+ RedshiftDatabase (RedshiftDatabase'),+ newRedshiftDatabase,++ -- ** RedshiftDatabaseCredentials+ RedshiftDatabaseCredentials (RedshiftDatabaseCredentials'),+ newRedshiftDatabaseCredentials,++ -- ** RedshiftMetadata+ RedshiftMetadata (RedshiftMetadata'),+ newRedshiftMetadata,++ -- ** S3DataSpec+ S3DataSpec (S3DataSpec'),+ newS3DataSpec,++ -- ** Tag+ Tag (Tag'),+ newTag,+ )+where++import Amazonka.MachineLearning.AddTags+import Amazonka.MachineLearning.CreateBatchPrediction+import Amazonka.MachineLearning.CreateDataSourceFromRDS+import Amazonka.MachineLearning.CreateDataSourceFromRedshift+import Amazonka.MachineLearning.CreateDataSourceFromS3+import Amazonka.MachineLearning.CreateEvaluation+import Amazonka.MachineLearning.CreateMLModel+import Amazonka.MachineLearning.CreateRealtimeEndpoint+import Amazonka.MachineLearning.DeleteBatchPrediction+import Amazonka.MachineLearning.DeleteDataSource+import Amazonka.MachineLearning.DeleteEvaluation+import Amazonka.MachineLearning.DeleteMLModel+import Amazonka.MachineLearning.DeleteRealtimeEndpoint+import Amazonka.MachineLearning.DeleteTags+import Amazonka.MachineLearning.DescribeBatchPredictions+import Amazonka.MachineLearning.DescribeDataSources+import Amazonka.MachineLearning.DescribeEvaluations+import Amazonka.MachineLearning.DescribeMLModels+import Amazonka.MachineLearning.DescribeTags+import Amazonka.MachineLearning.GetBatchPrediction+import Amazonka.MachineLearning.GetDataSource+import Amazonka.MachineLearning.GetEvaluation+import Amazonka.MachineLearning.GetMLModel+import Amazonka.MachineLearning.Lens+import Amazonka.MachineLearning.Predict+import Amazonka.MachineLearning.Types+import Amazonka.MachineLearning.UpdateBatchPrediction+import Amazonka.MachineLearning.UpdateDataSource+import Amazonka.MachineLearning.UpdateEvaluation+import Amazonka.MachineLearning.UpdateMLModel+import Amazonka.MachineLearning.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'MachineLearning'.++-- $operations+-- Some AWS operations return results that are incomplete and require subsequent+-- requests in order to obtain the entire result set. The process of sending+-- subsequent requests to continue where a previous request left off is called+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to+-- 1000 objects at a time, and you must send subsequent requests with the+-- appropriate Marker in order to retrieve the next page of results.+--+-- Operations that have an 'AWSPager' instance can transparently perform subsequent+-- requests, correctly setting Markers and other request facets to iterate through+-- the entire result set of a truncated API operation. Operations which support+-- this have an additional note in the documentation.+--+-- Many operations have the ability to filter results on the server side. See the+-- individual operation parameters for details.++-- $waiters+-- Waiters poll by repeatedly sending a request until some remote success condition+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification+-- determines how many attempts should be made, in addition to delay and retry strategies.
+ gen/Amazonka/MachineLearning/AddTags.hs view
@@ -0,0 +1,219 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.AddTags+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds one or more tags to an object, up to a limit of 10. Each tag+-- consists of a key and an optional value. If you add a tag using a key+-- that is already associated with the ML object, @AddTags@ updates the+-- tag\'s value.+module Amazonka.MachineLearning.AddTags+ ( -- * Creating a Request+ AddTags (..),+ newAddTags,++ -- * Request Lenses+ addTags_tags,+ addTags_resourceId,+ addTags_resourceType,++ -- * Destructuring the Response+ AddTagsResponse (..),+ newAddTagsResponse,++ -- * Response Lenses+ addTagsResponse_resourceId,+ addTagsResponse_resourceType,+ addTagsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newAddTags' smart constructor.+data AddTags = AddTags'+ { -- | The key-value pairs to use to create tags. If you specify a key without+ -- specifying a value, Amazon ML creates a tag with the specified key and a+ -- value of null.+ tags :: [Tag],+ -- | The ID of the ML object to tag. For example, @exampleModelId@.+ resourceId :: Prelude.Text,+ -- | The type of the ML object to tag.+ resourceType :: TaggableResourceType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AddTags' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'addTags_tags' - The key-value pairs to use to create tags. If you specify a key without+-- specifying a value, Amazon ML creates a tag with the specified key and a+-- value of null.+--+-- 'resourceId', 'addTags_resourceId' - The ID of the ML object to tag. For example, @exampleModelId@.+--+-- 'resourceType', 'addTags_resourceType' - The type of the ML object to tag.+newAddTags ::+ -- | 'resourceId'+ Prelude.Text ->+ -- | 'resourceType'+ TaggableResourceType ->+ AddTags+newAddTags pResourceId_ pResourceType_ =+ AddTags'+ { tags = Prelude.mempty,+ resourceId = pResourceId_,+ resourceType = pResourceType_+ }++-- | The key-value pairs to use to create tags. If you specify a key without+-- specifying a value, Amazon ML creates a tag with the specified key and a+-- value of null.+addTags_tags :: Lens.Lens' AddTags [Tag]+addTags_tags = Lens.lens (\AddTags' {tags} -> tags) (\s@AddTags' {} a -> s {tags = a} :: AddTags) Prelude.. Lens.coerced++-- | The ID of the ML object to tag. For example, @exampleModelId@.+addTags_resourceId :: Lens.Lens' AddTags Prelude.Text+addTags_resourceId = Lens.lens (\AddTags' {resourceId} -> resourceId) (\s@AddTags' {} a -> s {resourceId = a} :: AddTags)++-- | The type of the ML object to tag.+addTags_resourceType :: Lens.Lens' AddTags TaggableResourceType+addTags_resourceType = Lens.lens (\AddTags' {resourceType} -> resourceType) (\s@AddTags' {} a -> s {resourceType = a} :: AddTags)++instance Core.AWSRequest AddTags where+ type AWSResponse AddTags = AddTagsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ AddTagsResponse'+ Prelude.<$> (x Data..?> "ResourceId")+ Prelude.<*> (x Data..?> "ResourceType")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable AddTags where+ hashWithSalt _salt AddTags' {..} =+ _salt+ `Prelude.hashWithSalt` tags+ `Prelude.hashWithSalt` resourceId+ `Prelude.hashWithSalt` resourceType++instance Prelude.NFData AddTags where+ rnf AddTags' {..} =+ Prelude.rnf tags+ `Prelude.seq` Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf resourceType++instance Data.ToHeaders AddTags where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonML_20141212.AddTags" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON AddTags where+ toJSON AddTags' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Tags" Data..= tags),+ Prelude.Just ("ResourceId" Data..= resourceId),+ Prelude.Just ("ResourceType" Data..= resourceType)+ ]+ )++instance Data.ToPath AddTags where+ toPath = Prelude.const "/"++instance Data.ToQuery AddTags where+ toQuery = Prelude.const Prelude.mempty++-- | Amazon ML returns the following elements.+--+-- /See:/ 'newAddTagsResponse' smart constructor.+data AddTagsResponse = AddTagsResponse'+ { -- | The ID of the ML object that was tagged.+ resourceId :: Prelude.Maybe Prelude.Text,+ -- | The type of the ML object that was tagged.+ resourceType :: Prelude.Maybe TaggableResourceType,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AddTagsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'addTagsResponse_resourceId' - The ID of the ML object that was tagged.+--+-- 'resourceType', 'addTagsResponse_resourceType' - The type of the ML object that was tagged.+--+-- 'httpStatus', 'addTagsResponse_httpStatus' - The response's http status code.+newAddTagsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ AddTagsResponse+newAddTagsResponse pHttpStatus_ =+ AddTagsResponse'+ { resourceId = Prelude.Nothing,+ resourceType = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the ML object that was tagged.+addTagsResponse_resourceId :: Lens.Lens' AddTagsResponse (Prelude.Maybe Prelude.Text)+addTagsResponse_resourceId = Lens.lens (\AddTagsResponse' {resourceId} -> resourceId) (\s@AddTagsResponse' {} a -> s {resourceId = a} :: AddTagsResponse)++-- | The type of the ML object that was tagged.+addTagsResponse_resourceType :: Lens.Lens' AddTagsResponse (Prelude.Maybe TaggableResourceType)+addTagsResponse_resourceType = Lens.lens (\AddTagsResponse' {resourceType} -> resourceType) (\s@AddTagsResponse' {} a -> s {resourceType = a} :: AddTagsResponse)++-- | The response's http status code.+addTagsResponse_httpStatus :: Lens.Lens' AddTagsResponse Prelude.Int+addTagsResponse_httpStatus = Lens.lens (\AddTagsResponse' {httpStatus} -> httpStatus) (\s@AddTagsResponse' {} a -> s {httpStatus = a} :: AddTagsResponse)++instance Prelude.NFData AddTagsResponse where+ rnf AddTagsResponse' {..} =+ Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf resourceType+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/CreateBatchPrediction.hs view
@@ -0,0 +1,299 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.CreateBatchPrediction+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates predictions for a group of observations. The observations to+-- process exist in one or more data files referenced by a @DataSource@.+-- This operation creates a new @BatchPrediction@, and uses an @MLModel@+-- and the data files referenced by the @DataSource@ as information+-- sources.+--+-- @CreateBatchPrediction@ is an asynchronous operation. In response to+-- @CreateBatchPrediction@, Amazon Machine Learning (Amazon ML) immediately+-- returns and sets the @BatchPrediction@ status to @PENDING@. After the+-- @BatchPrediction@ completes, Amazon ML sets the status to @COMPLETED@.+--+-- You can poll for status updates by using the GetBatchPrediction+-- operation and checking the @Status@ parameter of the result. After the+-- @COMPLETED@ status appears, the results are available in the location+-- specified by the @OutputUri@ parameter.+module Amazonka.MachineLearning.CreateBatchPrediction+ ( -- * Creating a Request+ CreateBatchPrediction (..),+ newCreateBatchPrediction,++ -- * Request Lenses+ createBatchPrediction_batchPredictionName,+ createBatchPrediction_batchPredictionId,+ createBatchPrediction_mLModelId,+ createBatchPrediction_batchPredictionDataSourceId,+ createBatchPrediction_outputUri,++ -- * Destructuring the Response+ CreateBatchPredictionResponse (..),+ newCreateBatchPredictionResponse,++ -- * Response Lenses+ createBatchPredictionResponse_batchPredictionId,+ createBatchPredictionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateBatchPrediction' smart constructor.+data CreateBatchPrediction = CreateBatchPrediction'+ { -- | A user-supplied name or description of the @BatchPrediction@.+ -- @BatchPredictionName@ can only use the UTF-8 character set.+ batchPredictionName :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied ID that uniquely identifies the @BatchPrediction@.+ batchPredictionId :: Prelude.Text,+ -- | The ID of the @MLModel@ that will generate predictions for the group of+ -- observations.+ mLModelId :: Prelude.Text,+ -- | The ID of the @DataSource@ that points to the group of observations to+ -- predict.+ batchPredictionDataSourceId :: Prelude.Text,+ -- | The location of an Amazon Simple Storage Service (Amazon S3) bucket or+ -- directory to store the batch prediction results. The following+ -- substrings are not allowed in the @s3 key@ portion of the @outputURI@+ -- field: \':\', \'\/\/\', \'\/.\/\', \'\/..\/\'.+ --+ -- Amazon ML needs permissions to store and retrieve the logs on your+ -- behalf. For information about how to set permissions, see the+ -- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+ outputUri :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateBatchPrediction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionName', 'createBatchPrediction_batchPredictionName' - A user-supplied name or description of the @BatchPrediction@.+-- @BatchPredictionName@ can only use the UTF-8 character set.+--+-- 'batchPredictionId', 'createBatchPrediction_batchPredictionId' - A user-supplied ID that uniquely identifies the @BatchPrediction@.+--+-- 'mLModelId', 'createBatchPrediction_mLModelId' - The ID of the @MLModel@ that will generate predictions for the group of+-- observations.+--+-- 'batchPredictionDataSourceId', 'createBatchPrediction_batchPredictionDataSourceId' - The ID of the @DataSource@ that points to the group of observations to+-- predict.+--+-- 'outputUri', 'createBatchPrediction_outputUri' - The location of an Amazon Simple Storage Service (Amazon S3) bucket or+-- directory to store the batch prediction results. The following+-- substrings are not allowed in the @s3 key@ portion of the @outputURI@+-- field: \':\', \'\/\/\', \'\/.\/\', \'\/..\/\'.+--+-- Amazon ML needs permissions to store and retrieve the logs on your+-- behalf. For information about how to set permissions, see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+newCreateBatchPrediction ::+ -- | 'batchPredictionId'+ Prelude.Text ->+ -- | 'mLModelId'+ Prelude.Text ->+ -- | 'batchPredictionDataSourceId'+ Prelude.Text ->+ -- | 'outputUri'+ Prelude.Text ->+ CreateBatchPrediction+newCreateBatchPrediction+ pBatchPredictionId_+ pMLModelId_+ pBatchPredictionDataSourceId_+ pOutputUri_ =+ CreateBatchPrediction'+ { batchPredictionName =+ Prelude.Nothing,+ batchPredictionId = pBatchPredictionId_,+ mLModelId = pMLModelId_,+ batchPredictionDataSourceId =+ pBatchPredictionDataSourceId_,+ outputUri = pOutputUri_+ }++-- | A user-supplied name or description of the @BatchPrediction@.+-- @BatchPredictionName@ can only use the UTF-8 character set.+createBatchPrediction_batchPredictionName :: Lens.Lens' CreateBatchPrediction (Prelude.Maybe Prelude.Text)+createBatchPrediction_batchPredictionName = Lens.lens (\CreateBatchPrediction' {batchPredictionName} -> batchPredictionName) (\s@CreateBatchPrediction' {} a -> s {batchPredictionName = a} :: CreateBatchPrediction)++-- | A user-supplied ID that uniquely identifies the @BatchPrediction@.+createBatchPrediction_batchPredictionId :: Lens.Lens' CreateBatchPrediction Prelude.Text+createBatchPrediction_batchPredictionId = Lens.lens (\CreateBatchPrediction' {batchPredictionId} -> batchPredictionId) (\s@CreateBatchPrediction' {} a -> s {batchPredictionId = a} :: CreateBatchPrediction)++-- | The ID of the @MLModel@ that will generate predictions for the group of+-- observations.+createBatchPrediction_mLModelId :: Lens.Lens' CreateBatchPrediction Prelude.Text+createBatchPrediction_mLModelId = Lens.lens (\CreateBatchPrediction' {mLModelId} -> mLModelId) (\s@CreateBatchPrediction' {} a -> s {mLModelId = a} :: CreateBatchPrediction)++-- | The ID of the @DataSource@ that points to the group of observations to+-- predict.+createBatchPrediction_batchPredictionDataSourceId :: Lens.Lens' CreateBatchPrediction Prelude.Text+createBatchPrediction_batchPredictionDataSourceId = Lens.lens (\CreateBatchPrediction' {batchPredictionDataSourceId} -> batchPredictionDataSourceId) (\s@CreateBatchPrediction' {} a -> s {batchPredictionDataSourceId = a} :: CreateBatchPrediction)++-- | The location of an Amazon Simple Storage Service (Amazon S3) bucket or+-- directory to store the batch prediction results. The following+-- substrings are not allowed in the @s3 key@ portion of the @outputURI@+-- field: \':\', \'\/\/\', \'\/.\/\', \'\/..\/\'.+--+-- Amazon ML needs permissions to store and retrieve the logs on your+-- behalf. For information about how to set permissions, see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+createBatchPrediction_outputUri :: Lens.Lens' CreateBatchPrediction Prelude.Text+createBatchPrediction_outputUri = Lens.lens (\CreateBatchPrediction' {outputUri} -> outputUri) (\s@CreateBatchPrediction' {} a -> s {outputUri = a} :: CreateBatchPrediction)++instance Core.AWSRequest CreateBatchPrediction where+ type+ AWSResponse CreateBatchPrediction =+ CreateBatchPredictionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateBatchPredictionResponse'+ Prelude.<$> (x Data..?> "BatchPredictionId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateBatchPrediction where+ hashWithSalt _salt CreateBatchPrediction' {..} =+ _salt+ `Prelude.hashWithSalt` batchPredictionName+ `Prelude.hashWithSalt` batchPredictionId+ `Prelude.hashWithSalt` mLModelId+ `Prelude.hashWithSalt` batchPredictionDataSourceId+ `Prelude.hashWithSalt` outputUri++instance Prelude.NFData CreateBatchPrediction where+ rnf CreateBatchPrediction' {..} =+ Prelude.rnf batchPredictionName+ `Prelude.seq` Prelude.rnf batchPredictionId+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf batchPredictionDataSourceId+ `Prelude.seq` Prelude.rnf outputUri++instance Data.ToHeaders CreateBatchPrediction where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.CreateBatchPrediction" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateBatchPrediction where+ toJSON CreateBatchPrediction' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("BatchPredictionName" Data..=)+ Prelude.<$> batchPredictionName,+ Prelude.Just+ ("BatchPredictionId" Data..= batchPredictionId),+ Prelude.Just ("MLModelId" Data..= mLModelId),+ Prelude.Just+ ( "BatchPredictionDataSourceId"+ Data..= batchPredictionDataSourceId+ ),+ Prelude.Just ("OutputUri" Data..= outputUri)+ ]+ )++instance Data.ToPath CreateBatchPrediction where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateBatchPrediction where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @CreateBatchPrediction@ operation, and is an+-- acknowledgement that Amazon ML received the request.+--+-- The @CreateBatchPrediction@ operation is asynchronous. You can poll for+-- status updates by using the @>GetBatchPrediction@ operation and checking+-- the @Status@ parameter of the result.+--+-- /See:/ 'newCreateBatchPredictionResponse' smart constructor.+data CreateBatchPredictionResponse = CreateBatchPredictionResponse'+ { -- | A user-supplied ID that uniquely identifies the @BatchPrediction@. This+ -- value is identical to the value of the @BatchPredictionId@ in the+ -- request.+ batchPredictionId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateBatchPredictionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionId', 'createBatchPredictionResponse_batchPredictionId' - A user-supplied ID that uniquely identifies the @BatchPrediction@. This+-- value is identical to the value of the @BatchPredictionId@ in the+-- request.+--+-- 'httpStatus', 'createBatchPredictionResponse_httpStatus' - The response's http status code.+newCreateBatchPredictionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateBatchPredictionResponse+newCreateBatchPredictionResponse pHttpStatus_ =+ CreateBatchPredictionResponse'+ { batchPredictionId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @BatchPrediction@. This+-- value is identical to the value of the @BatchPredictionId@ in the+-- request.+createBatchPredictionResponse_batchPredictionId :: Lens.Lens' CreateBatchPredictionResponse (Prelude.Maybe Prelude.Text)+createBatchPredictionResponse_batchPredictionId = Lens.lens (\CreateBatchPredictionResponse' {batchPredictionId} -> batchPredictionId) (\s@CreateBatchPredictionResponse' {} a -> s {batchPredictionId = a} :: CreateBatchPredictionResponse)++-- | The response's http status code.+createBatchPredictionResponse_httpStatus :: Lens.Lens' CreateBatchPredictionResponse Prelude.Int+createBatchPredictionResponse_httpStatus = Lens.lens (\CreateBatchPredictionResponse' {httpStatus} -> httpStatus) (\s@CreateBatchPredictionResponse' {} a -> s {httpStatus = a} :: CreateBatchPredictionResponse)++instance Prelude.NFData CreateBatchPredictionResponse where+ rnf CreateBatchPredictionResponse' {..} =+ Prelude.rnf batchPredictionId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/CreateDataSourceFromRDS.hs view
@@ -0,0 +1,426 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.CreateDataSourceFromRDS+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a @DataSource@ object from an+-- <http://aws.amazon.com/rds/ Amazon Relational Database Service> (Amazon+-- RDS). A @DataSource@ references data that can be used to perform+-- @CreateMLModel@, @CreateEvaluation@, or @CreateBatchPrediction@+-- operations.+--+-- @CreateDataSourceFromRDS@ is an asynchronous operation. In response to+-- @CreateDataSourceFromRDS@, Amazon Machine Learning (Amazon ML)+-- immediately returns and sets the @DataSource@ status to @PENDING@. After+-- the @DataSource@ is created and ready for use, Amazon ML sets the+-- @Status@ parameter to @COMPLETED@. @DataSource@ in the @COMPLETED@ or+-- @PENDING@ state can be used only to perform @>CreateMLModel@>,+-- @CreateEvaluation@, or @CreateBatchPrediction@ operations.+--+-- If Amazon ML cannot accept the input source, it sets the @Status@+-- parameter to @FAILED@ and includes an error message in the @Message@+-- attribute of the @GetDataSource@ operation response.+module Amazonka.MachineLearning.CreateDataSourceFromRDS+ ( -- * Creating a Request+ CreateDataSourceFromRDS (..),+ newCreateDataSourceFromRDS,++ -- * Request Lenses+ createDataSourceFromRDS_computeStatistics,+ createDataSourceFromRDS_dataSourceName,+ createDataSourceFromRDS_dataSourceId,+ createDataSourceFromRDS_rDSData,+ createDataSourceFromRDS_roleARN,++ -- * Destructuring the Response+ CreateDataSourceFromRDSResponse (..),+ newCreateDataSourceFromRDSResponse,++ -- * Response Lenses+ createDataSourceFromRDSResponse_dataSourceId,+ createDataSourceFromRDSResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateDataSourceFromRDS' smart constructor.+data CreateDataSourceFromRDS = CreateDataSourceFromRDS'+ { -- | The compute statistics for a @DataSource@. The statistics are generated+ -- from the observation data referenced by a @DataSource@. Amazon ML uses+ -- the statistics internally during @MLModel@ training. This parameter must+ -- be set to @true@ if the DataSource needs to be used for @MLModel@+ -- training.+ computeStatistics :: Prelude.Maybe Prelude.Bool,+ -- | A user-supplied name or description of the @DataSource@.+ dataSourceName :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied ID that uniquely identifies the @DataSource@. Typically,+ -- an Amazon Resource Number (ARN) becomes the ID for a @DataSource@.+ dataSourceId :: Prelude.Text,+ -- | The data specification of an Amazon RDS @DataSource@:+ --+ -- - DatabaseInformation -+ --+ -- - @DatabaseName@ - The name of the Amazon RDS database.+ --+ -- - @InstanceIdentifier @ - A unique identifier for the Amazon RDS+ -- database instance.+ --+ -- - DatabaseCredentials - AWS Identity and Access Management (IAM)+ -- credentials that are used to connect to the Amazon RDS database.+ --+ -- - ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by+ -- an EC2 instance to carry out the copy task from Amazon RDS to Amazon+ -- Simple Storage Service (Amazon S3). For more information, see+ -- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+ -- for data pipelines.+ --+ -- - ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS+ -- Data Pipeline service to monitor the progress of the copy task from+ -- Amazon RDS to Amazon S3. For more information, see+ -- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+ -- for data pipelines.+ --+ -- - SecurityInfo - The security information to use to access an RDS DB+ -- instance. You need to set up appropriate ingress rules for the+ -- security entity IDs provided to allow access to the Amazon RDS+ -- instance. Specify a [@SubnetId@, @SecurityGroupIds@] pair for a+ -- VPC-based RDS DB instance.+ --+ -- - SelectSqlQuery - A query that is used to retrieve the observation+ -- data for the @Datasource@.+ --+ -- - S3StagingLocation - The Amazon S3 location for staging Amazon RDS+ -- data. The data retrieved from Amazon RDS using @SelectSqlQuery@ is+ -- stored in this location.+ --+ -- - DataSchemaUri - The Amazon S3 location of the @DataSchema@.+ --+ -- - DataSchema - A JSON string representing the schema. This is not+ -- required if @DataSchemaUri@ is specified.+ --+ -- - DataRearrangement - A JSON string that represents the splitting and+ -- rearrangement requirements for the @Datasource@.+ --+ -- Sample -+ -- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+ rDSData :: RDSDataSpec,+ -- | The role that Amazon ML assumes on behalf of the user to create and+ -- activate a data pipeline in the user\'s account and copy data using the+ -- @SelectSqlQuery@ query from Amazon RDS to Amazon S3.+ roleARN :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateDataSourceFromRDS' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeStatistics', 'createDataSourceFromRDS_computeStatistics' - The compute statistics for a @DataSource@. The statistics are generated+-- from the observation data referenced by a @DataSource@. Amazon ML uses+-- the statistics internally during @MLModel@ training. This parameter must+-- be set to @true@ if the DataSource needs to be used for @MLModel@+-- training.+--+-- 'dataSourceName', 'createDataSourceFromRDS_dataSourceName' - A user-supplied name or description of the @DataSource@.+--+-- 'dataSourceId', 'createDataSourceFromRDS_dataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@. Typically,+-- an Amazon Resource Number (ARN) becomes the ID for a @DataSource@.+--+-- 'rDSData', 'createDataSourceFromRDS_rDSData' - The data specification of an Amazon RDS @DataSource@:+--+-- - DatabaseInformation -+--+-- - @DatabaseName@ - The name of the Amazon RDS database.+--+-- - @InstanceIdentifier @ - A unique identifier for the Amazon RDS+-- database instance.+--+-- - DatabaseCredentials - AWS Identity and Access Management (IAM)+-- credentials that are used to connect to the Amazon RDS database.+--+-- - ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by+-- an EC2 instance to carry out the copy task from Amazon RDS to Amazon+-- Simple Storage Service (Amazon S3). For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+--+-- - ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS+-- Data Pipeline service to monitor the progress of the copy task from+-- Amazon RDS to Amazon S3. For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+--+-- - SecurityInfo - The security information to use to access an RDS DB+-- instance. You need to set up appropriate ingress rules for the+-- security entity IDs provided to allow access to the Amazon RDS+-- instance. Specify a [@SubnetId@, @SecurityGroupIds@] pair for a+-- VPC-based RDS DB instance.+--+-- - SelectSqlQuery - A query that is used to retrieve the observation+-- data for the @Datasource@.+--+-- - S3StagingLocation - The Amazon S3 location for staging Amazon RDS+-- data. The data retrieved from Amazon RDS using @SelectSqlQuery@ is+-- stored in this location.+--+-- - DataSchemaUri - The Amazon S3 location of the @DataSchema@.+--+-- - DataSchema - A JSON string representing the schema. This is not+-- required if @DataSchemaUri@ is specified.+--+-- - DataRearrangement - A JSON string that represents the splitting and+-- rearrangement requirements for the @Datasource@.+--+-- Sample -+-- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+--+-- 'roleARN', 'createDataSourceFromRDS_roleARN' - The role that Amazon ML assumes on behalf of the user to create and+-- activate a data pipeline in the user\'s account and copy data using the+-- @SelectSqlQuery@ query from Amazon RDS to Amazon S3.+newCreateDataSourceFromRDS ::+ -- | 'dataSourceId'+ Prelude.Text ->+ -- | 'rDSData'+ RDSDataSpec ->+ -- | 'roleARN'+ Prelude.Text ->+ CreateDataSourceFromRDS+newCreateDataSourceFromRDS+ pDataSourceId_+ pRDSData_+ pRoleARN_ =+ CreateDataSourceFromRDS'+ { computeStatistics =+ Prelude.Nothing,+ dataSourceName = Prelude.Nothing,+ dataSourceId = pDataSourceId_,+ rDSData = pRDSData_,+ roleARN = pRoleARN_+ }++-- | The compute statistics for a @DataSource@. The statistics are generated+-- from the observation data referenced by a @DataSource@. Amazon ML uses+-- the statistics internally during @MLModel@ training. This parameter must+-- be set to @true@ if the DataSource needs to be used for @MLModel@+-- training.+createDataSourceFromRDS_computeStatistics :: Lens.Lens' CreateDataSourceFromRDS (Prelude.Maybe Prelude.Bool)+createDataSourceFromRDS_computeStatistics = Lens.lens (\CreateDataSourceFromRDS' {computeStatistics} -> computeStatistics) (\s@CreateDataSourceFromRDS' {} a -> s {computeStatistics = a} :: CreateDataSourceFromRDS)++-- | A user-supplied name or description of the @DataSource@.+createDataSourceFromRDS_dataSourceName :: Lens.Lens' CreateDataSourceFromRDS (Prelude.Maybe Prelude.Text)+createDataSourceFromRDS_dataSourceName = Lens.lens (\CreateDataSourceFromRDS' {dataSourceName} -> dataSourceName) (\s@CreateDataSourceFromRDS' {} a -> s {dataSourceName = a} :: CreateDataSourceFromRDS)++-- | A user-supplied ID that uniquely identifies the @DataSource@. Typically,+-- an Amazon Resource Number (ARN) becomes the ID for a @DataSource@.+createDataSourceFromRDS_dataSourceId :: Lens.Lens' CreateDataSourceFromRDS Prelude.Text+createDataSourceFromRDS_dataSourceId = Lens.lens (\CreateDataSourceFromRDS' {dataSourceId} -> dataSourceId) (\s@CreateDataSourceFromRDS' {} a -> s {dataSourceId = a} :: CreateDataSourceFromRDS)++-- | The data specification of an Amazon RDS @DataSource@:+--+-- - DatabaseInformation -+--+-- - @DatabaseName@ - The name of the Amazon RDS database.+--+-- - @InstanceIdentifier @ - A unique identifier for the Amazon RDS+-- database instance.+--+-- - DatabaseCredentials - AWS Identity and Access Management (IAM)+-- credentials that are used to connect to the Amazon RDS database.+--+-- - ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by+-- an EC2 instance to carry out the copy task from Amazon RDS to Amazon+-- Simple Storage Service (Amazon S3). For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+--+-- - ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS+-- Data Pipeline service to monitor the progress of the copy task from+-- Amazon RDS to Amazon S3. For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+--+-- - SecurityInfo - The security information to use to access an RDS DB+-- instance. You need to set up appropriate ingress rules for the+-- security entity IDs provided to allow access to the Amazon RDS+-- instance. Specify a [@SubnetId@, @SecurityGroupIds@] pair for a+-- VPC-based RDS DB instance.+--+-- - SelectSqlQuery - A query that is used to retrieve the observation+-- data for the @Datasource@.+--+-- - S3StagingLocation - The Amazon S3 location for staging Amazon RDS+-- data. The data retrieved from Amazon RDS using @SelectSqlQuery@ is+-- stored in this location.+--+-- - DataSchemaUri - The Amazon S3 location of the @DataSchema@.+--+-- - DataSchema - A JSON string representing the schema. This is not+-- required if @DataSchemaUri@ is specified.+--+-- - DataRearrangement - A JSON string that represents the splitting and+-- rearrangement requirements for the @Datasource@.+--+-- Sample -+-- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+createDataSourceFromRDS_rDSData :: Lens.Lens' CreateDataSourceFromRDS RDSDataSpec+createDataSourceFromRDS_rDSData = Lens.lens (\CreateDataSourceFromRDS' {rDSData} -> rDSData) (\s@CreateDataSourceFromRDS' {} a -> s {rDSData = a} :: CreateDataSourceFromRDS)++-- | The role that Amazon ML assumes on behalf of the user to create and+-- activate a data pipeline in the user\'s account and copy data using the+-- @SelectSqlQuery@ query from Amazon RDS to Amazon S3.+createDataSourceFromRDS_roleARN :: Lens.Lens' CreateDataSourceFromRDS Prelude.Text+createDataSourceFromRDS_roleARN = Lens.lens (\CreateDataSourceFromRDS' {roleARN} -> roleARN) (\s@CreateDataSourceFromRDS' {} a -> s {roleARN = a} :: CreateDataSourceFromRDS)++instance Core.AWSRequest CreateDataSourceFromRDS where+ type+ AWSResponse CreateDataSourceFromRDS =+ CreateDataSourceFromRDSResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateDataSourceFromRDSResponse'+ Prelude.<$> (x Data..?> "DataSourceId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateDataSourceFromRDS where+ hashWithSalt _salt CreateDataSourceFromRDS' {..} =+ _salt+ `Prelude.hashWithSalt` computeStatistics+ `Prelude.hashWithSalt` dataSourceName+ `Prelude.hashWithSalt` dataSourceId+ `Prelude.hashWithSalt` rDSData+ `Prelude.hashWithSalt` roleARN++instance Prelude.NFData CreateDataSourceFromRDS where+ rnf CreateDataSourceFromRDS' {..} =+ Prelude.rnf computeStatistics+ `Prelude.seq` Prelude.rnf dataSourceName+ `Prelude.seq` Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf rDSData+ `Prelude.seq` Prelude.rnf roleARN++instance Data.ToHeaders CreateDataSourceFromRDS where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.CreateDataSourceFromRDS" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateDataSourceFromRDS where+ toJSON CreateDataSourceFromRDS' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ComputeStatistics" Data..=)+ Prelude.<$> computeStatistics,+ ("DataSourceName" Data..=)+ Prelude.<$> dataSourceName,+ Prelude.Just ("DataSourceId" Data..= dataSourceId),+ Prelude.Just ("RDSData" Data..= rDSData),+ Prelude.Just ("RoleARN" Data..= roleARN)+ ]+ )++instance Data.ToPath CreateDataSourceFromRDS where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateDataSourceFromRDS where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @CreateDataSourceFromRDS@ operation, and is+-- an acknowledgement that Amazon ML received the request.+--+-- The @CreateDataSourceFromRDS@> operation is asynchronous. You can poll+-- for updates by using the @GetBatchPrediction@ operation and checking the+-- @Status@ parameter. You can inspect the @Message@ when @Status@ shows up+-- as @FAILED@. You can also check the progress of the copy operation by+-- going to the @DataPipeline@ console and looking up the pipeline using+-- the @pipelineId @ from the describe call.+--+-- /See:/ 'newCreateDataSourceFromRDSResponse' smart constructor.+data CreateDataSourceFromRDSResponse = CreateDataSourceFromRDSResponse'+ { -- | A user-supplied ID that uniquely identifies the datasource. This value+ -- should be identical to the value of the @DataSourceID@ in the request.+ dataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateDataSourceFromRDSResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataSourceId', 'createDataSourceFromRDSResponse_dataSourceId' - A user-supplied ID that uniquely identifies the datasource. This value+-- should be identical to the value of the @DataSourceID@ in the request.+--+-- 'httpStatus', 'createDataSourceFromRDSResponse_httpStatus' - The response's http status code.+newCreateDataSourceFromRDSResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateDataSourceFromRDSResponse+newCreateDataSourceFromRDSResponse pHttpStatus_ =+ CreateDataSourceFromRDSResponse'+ { dataSourceId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the datasource. This value+-- should be identical to the value of the @DataSourceID@ in the request.+createDataSourceFromRDSResponse_dataSourceId :: Lens.Lens' CreateDataSourceFromRDSResponse (Prelude.Maybe Prelude.Text)+createDataSourceFromRDSResponse_dataSourceId = Lens.lens (\CreateDataSourceFromRDSResponse' {dataSourceId} -> dataSourceId) (\s@CreateDataSourceFromRDSResponse' {} a -> s {dataSourceId = a} :: CreateDataSourceFromRDSResponse)++-- | The response's http status code.+createDataSourceFromRDSResponse_httpStatus :: Lens.Lens' CreateDataSourceFromRDSResponse Prelude.Int+createDataSourceFromRDSResponse_httpStatus = Lens.lens (\CreateDataSourceFromRDSResponse' {httpStatus} -> httpStatus) (\s@CreateDataSourceFromRDSResponse' {} a -> s {httpStatus = a} :: CreateDataSourceFromRDSResponse)++instance+ Prelude.NFData+ CreateDataSourceFromRDSResponse+ where+ rnf CreateDataSourceFromRDSResponse' {..} =+ Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/CreateDataSourceFromRedshift.hs view
@@ -0,0 +1,410 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.CreateDataSourceFromRedshift+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a @DataSource@ from a database hosted on an Amazon Redshift+-- cluster. A @DataSource@ references data that can be used to perform+-- either @CreateMLModel@, @CreateEvaluation@, or @CreateBatchPrediction@+-- operations.+--+-- @CreateDataSourceFromRedshift@ is an asynchronous operation. In response+-- to @CreateDataSourceFromRedshift@, Amazon Machine Learning (Amazon ML)+-- immediately returns and sets the @DataSource@ status to @PENDING@. After+-- the @DataSource@ is created and ready for use, Amazon ML sets the+-- @Status@ parameter to @COMPLETED@. @DataSource@ in @COMPLETED@ or+-- @PENDING@ states can be used to perform only @CreateMLModel@,+-- @CreateEvaluation@, or @CreateBatchPrediction@ operations.+--+-- If Amazon ML can\'t accept the input source, it sets the @Status@+-- parameter to @FAILED@ and includes an error message in the @Message@+-- attribute of the @GetDataSource@ operation response.+--+-- The observations should be contained in the database hosted on an Amazon+-- Redshift cluster and should be specified by a @SelectSqlQuery@ query.+-- Amazon ML executes an @Unload@ command in Amazon Redshift to transfer+-- the result set of the @SelectSqlQuery@ query to @S3StagingLocation@.+--+-- After the @DataSource@ has been created, it\'s ready for use in+-- evaluations and batch predictions. If you plan to use the @DataSource@+-- to train an @MLModel@, the @DataSource@ also requires a recipe. A recipe+-- describes how each input variable will be used in training an @MLModel@.+-- Will the variable be included or excluded from training? Will the+-- variable be manipulated; for example, will it be combined with another+-- variable or will it be split apart into word combinations? The recipe+-- provides answers to these questions.+--+-- You can\'t change an existing datasource, but you can copy and modify+-- the settings from an existing Amazon Redshift datasource to create a new+-- datasource. To do so, call @GetDataSource@ for an existing datasource+-- and copy the values to a @CreateDataSource@ call. Change the settings+-- that you want to change and make sure that all required fields have the+-- appropriate values.+module Amazonka.MachineLearning.CreateDataSourceFromRedshift+ ( -- * Creating a Request+ CreateDataSourceFromRedshift (..),+ newCreateDataSourceFromRedshift,++ -- * Request Lenses+ createDataSourceFromRedshift_computeStatistics,+ createDataSourceFromRedshift_dataSourceName,+ createDataSourceFromRedshift_dataSourceId,+ createDataSourceFromRedshift_dataSpec,+ createDataSourceFromRedshift_roleARN,++ -- * Destructuring the Response+ CreateDataSourceFromRedshiftResponse (..),+ newCreateDataSourceFromRedshiftResponse,++ -- * Response Lenses+ createDataSourceFromRedshiftResponse_dataSourceId,+ createDataSourceFromRedshiftResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateDataSourceFromRedshift' smart constructor.+data CreateDataSourceFromRedshift = CreateDataSourceFromRedshift'+ { -- | The compute statistics for a @DataSource@. The statistics are generated+ -- from the observation data referenced by a @DataSource@. Amazon ML uses+ -- the statistics internally during @MLModel@ training. This parameter must+ -- be set to @true@ if the @DataSource@ needs to be used for @MLModel@+ -- training.+ computeStatistics :: Prelude.Maybe Prelude.Bool,+ -- | A user-supplied name or description of the @DataSource@.+ dataSourceName :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied ID that uniquely identifies the @DataSource@.+ dataSourceId :: Prelude.Text,+ -- | The data specification of an Amazon Redshift @DataSource@:+ --+ -- - DatabaseInformation -+ --+ -- - @DatabaseName@ - The name of the Amazon Redshift database.+ --+ -- - @ ClusterIdentifier@ - The unique ID for the Amazon Redshift+ -- cluster.+ --+ -- - DatabaseCredentials - The AWS Identity and Access Management (IAM)+ -- credentials that are used to connect to the Amazon Redshift+ -- database.+ --+ -- - SelectSqlQuery - The query that is used to retrieve the observation+ -- data for the @Datasource@.+ --+ -- - S3StagingLocation - The Amazon Simple Storage Service (Amazon S3)+ -- location for staging Amazon Redshift data. The data retrieved from+ -- Amazon Redshift using the @SelectSqlQuery@ query is stored in this+ -- location.+ --+ -- - DataSchemaUri - The Amazon S3 location of the @DataSchema@.+ --+ -- - DataSchema - A JSON string representing the schema. This is not+ -- required if @DataSchemaUri@ is specified.+ --+ -- - DataRearrangement - A JSON string that represents the splitting and+ -- rearrangement requirements for the @DataSource@.+ --+ -- Sample -+ -- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+ dataSpec :: RedshiftDataSpec,+ -- | A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the+ -- role on behalf of the user to create the following:+ --+ -- - A security group to allow Amazon ML to execute the @SelectSqlQuery@+ -- query on an Amazon Redshift cluster+ --+ -- - An Amazon S3 bucket policy to grant Amazon ML read\/write+ -- permissions on the @S3StagingLocation@+ roleARN :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateDataSourceFromRedshift' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeStatistics', 'createDataSourceFromRedshift_computeStatistics' - The compute statistics for a @DataSource@. The statistics are generated+-- from the observation data referenced by a @DataSource@. Amazon ML uses+-- the statistics internally during @MLModel@ training. This parameter must+-- be set to @true@ if the @DataSource@ needs to be used for @MLModel@+-- training.+--+-- 'dataSourceName', 'createDataSourceFromRedshift_dataSourceName' - A user-supplied name or description of the @DataSource@.+--+-- 'dataSourceId', 'createDataSourceFromRedshift_dataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@.+--+-- 'dataSpec', 'createDataSourceFromRedshift_dataSpec' - The data specification of an Amazon Redshift @DataSource@:+--+-- - DatabaseInformation -+--+-- - @DatabaseName@ - The name of the Amazon Redshift database.+--+-- - @ ClusterIdentifier@ - The unique ID for the Amazon Redshift+-- cluster.+--+-- - DatabaseCredentials - The AWS Identity and Access Management (IAM)+-- credentials that are used to connect to the Amazon Redshift+-- database.+--+-- - SelectSqlQuery - The query that is used to retrieve the observation+-- data for the @Datasource@.+--+-- - S3StagingLocation - The Amazon Simple Storage Service (Amazon S3)+-- location for staging Amazon Redshift data. The data retrieved from+-- Amazon Redshift using the @SelectSqlQuery@ query is stored in this+-- location.+--+-- - DataSchemaUri - The Amazon S3 location of the @DataSchema@.+--+-- - DataSchema - A JSON string representing the schema. This is not+-- required if @DataSchemaUri@ is specified.+--+-- - DataRearrangement - A JSON string that represents the splitting and+-- rearrangement requirements for the @DataSource@.+--+-- Sample -+-- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+--+-- 'roleARN', 'createDataSourceFromRedshift_roleARN' - A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the+-- role on behalf of the user to create the following:+--+-- - A security group to allow Amazon ML to execute the @SelectSqlQuery@+-- query on an Amazon Redshift cluster+--+-- - An Amazon S3 bucket policy to grant Amazon ML read\/write+-- permissions on the @S3StagingLocation@+newCreateDataSourceFromRedshift ::+ -- | 'dataSourceId'+ Prelude.Text ->+ -- | 'dataSpec'+ RedshiftDataSpec ->+ -- | 'roleARN'+ Prelude.Text ->+ CreateDataSourceFromRedshift+newCreateDataSourceFromRedshift+ pDataSourceId_+ pDataSpec_+ pRoleARN_ =+ CreateDataSourceFromRedshift'+ { computeStatistics =+ Prelude.Nothing,+ dataSourceName = Prelude.Nothing,+ dataSourceId = pDataSourceId_,+ dataSpec = pDataSpec_,+ roleARN = pRoleARN_+ }++-- | The compute statistics for a @DataSource@. The statistics are generated+-- from the observation data referenced by a @DataSource@. Amazon ML uses+-- the statistics internally during @MLModel@ training. This parameter must+-- be set to @true@ if the @DataSource@ needs to be used for @MLModel@+-- training.+createDataSourceFromRedshift_computeStatistics :: Lens.Lens' CreateDataSourceFromRedshift (Prelude.Maybe Prelude.Bool)+createDataSourceFromRedshift_computeStatistics = Lens.lens (\CreateDataSourceFromRedshift' {computeStatistics} -> computeStatistics) (\s@CreateDataSourceFromRedshift' {} a -> s {computeStatistics = a} :: CreateDataSourceFromRedshift)++-- | A user-supplied name or description of the @DataSource@.+createDataSourceFromRedshift_dataSourceName :: Lens.Lens' CreateDataSourceFromRedshift (Prelude.Maybe Prelude.Text)+createDataSourceFromRedshift_dataSourceName = Lens.lens (\CreateDataSourceFromRedshift' {dataSourceName} -> dataSourceName) (\s@CreateDataSourceFromRedshift' {} a -> s {dataSourceName = a} :: CreateDataSourceFromRedshift)++-- | A user-supplied ID that uniquely identifies the @DataSource@.+createDataSourceFromRedshift_dataSourceId :: Lens.Lens' CreateDataSourceFromRedshift Prelude.Text+createDataSourceFromRedshift_dataSourceId = Lens.lens (\CreateDataSourceFromRedshift' {dataSourceId} -> dataSourceId) (\s@CreateDataSourceFromRedshift' {} a -> s {dataSourceId = a} :: CreateDataSourceFromRedshift)++-- | The data specification of an Amazon Redshift @DataSource@:+--+-- - DatabaseInformation -+--+-- - @DatabaseName@ - The name of the Amazon Redshift database.+--+-- - @ ClusterIdentifier@ - The unique ID for the Amazon Redshift+-- cluster.+--+-- - DatabaseCredentials - The AWS Identity and Access Management (IAM)+-- credentials that are used to connect to the Amazon Redshift+-- database.+--+-- - SelectSqlQuery - The query that is used to retrieve the observation+-- data for the @Datasource@.+--+-- - S3StagingLocation - The Amazon Simple Storage Service (Amazon S3)+-- location for staging Amazon Redshift data. The data retrieved from+-- Amazon Redshift using the @SelectSqlQuery@ query is stored in this+-- location.+--+-- - DataSchemaUri - The Amazon S3 location of the @DataSchema@.+--+-- - DataSchema - A JSON string representing the schema. This is not+-- required if @DataSchemaUri@ is specified.+--+-- - DataRearrangement - A JSON string that represents the splitting and+-- rearrangement requirements for the @DataSource@.+--+-- Sample -+-- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+createDataSourceFromRedshift_dataSpec :: Lens.Lens' CreateDataSourceFromRedshift RedshiftDataSpec+createDataSourceFromRedshift_dataSpec = Lens.lens (\CreateDataSourceFromRedshift' {dataSpec} -> dataSpec) (\s@CreateDataSourceFromRedshift' {} a -> s {dataSpec = a} :: CreateDataSourceFromRedshift)++-- | A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the+-- role on behalf of the user to create the following:+--+-- - A security group to allow Amazon ML to execute the @SelectSqlQuery@+-- query on an Amazon Redshift cluster+--+-- - An Amazon S3 bucket policy to grant Amazon ML read\/write+-- permissions on the @S3StagingLocation@+createDataSourceFromRedshift_roleARN :: Lens.Lens' CreateDataSourceFromRedshift Prelude.Text+createDataSourceFromRedshift_roleARN = Lens.lens (\CreateDataSourceFromRedshift' {roleARN} -> roleARN) (\s@CreateDataSourceFromRedshift' {} a -> s {roleARN = a} :: CreateDataSourceFromRedshift)++instance Core.AWSRequest CreateDataSourceFromRedshift where+ type+ AWSResponse CreateDataSourceFromRedshift =+ CreateDataSourceFromRedshiftResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateDataSourceFromRedshiftResponse'+ Prelude.<$> (x Data..?> "DataSourceId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance+ Prelude.Hashable+ CreateDataSourceFromRedshift+ where+ hashWithSalt _salt CreateDataSourceFromRedshift' {..} =+ _salt+ `Prelude.hashWithSalt` computeStatistics+ `Prelude.hashWithSalt` dataSourceName+ `Prelude.hashWithSalt` dataSourceId+ `Prelude.hashWithSalt` dataSpec+ `Prelude.hashWithSalt` roleARN++instance Prelude.NFData CreateDataSourceFromRedshift where+ rnf CreateDataSourceFromRedshift' {..} =+ Prelude.rnf computeStatistics+ `Prelude.seq` Prelude.rnf dataSourceName+ `Prelude.seq` Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf dataSpec+ `Prelude.seq` Prelude.rnf roleARN++instance Data.ToHeaders CreateDataSourceFromRedshift where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.CreateDataSourceFromRedshift" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateDataSourceFromRedshift where+ toJSON CreateDataSourceFromRedshift' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ComputeStatistics" Data..=)+ Prelude.<$> computeStatistics,+ ("DataSourceName" Data..=)+ Prelude.<$> dataSourceName,+ Prelude.Just ("DataSourceId" Data..= dataSourceId),+ Prelude.Just ("DataSpec" Data..= dataSpec),+ Prelude.Just ("RoleARN" Data..= roleARN)+ ]+ )++instance Data.ToPath CreateDataSourceFromRedshift where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateDataSourceFromRedshift where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @CreateDataSourceFromRedshift@ operation, and+-- is an acknowledgement that Amazon ML received the request.+--+-- The @CreateDataSourceFromRedshift@ operation is asynchronous. You can+-- poll for updates by using the @GetBatchPrediction@ operation and+-- checking the @Status@ parameter.+--+-- /See:/ 'newCreateDataSourceFromRedshiftResponse' smart constructor.+data CreateDataSourceFromRedshiftResponse = CreateDataSourceFromRedshiftResponse'+ { -- | A user-supplied ID that uniquely identifies the datasource. This value+ -- should be identical to the value of the @DataSourceID@ in the request.+ dataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateDataSourceFromRedshiftResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataSourceId', 'createDataSourceFromRedshiftResponse_dataSourceId' - A user-supplied ID that uniquely identifies the datasource. This value+-- should be identical to the value of the @DataSourceID@ in the request.+--+-- 'httpStatus', 'createDataSourceFromRedshiftResponse_httpStatus' - The response's http status code.+newCreateDataSourceFromRedshiftResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateDataSourceFromRedshiftResponse+newCreateDataSourceFromRedshiftResponse pHttpStatus_ =+ CreateDataSourceFromRedshiftResponse'+ { dataSourceId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the datasource. This value+-- should be identical to the value of the @DataSourceID@ in the request.+createDataSourceFromRedshiftResponse_dataSourceId :: Lens.Lens' CreateDataSourceFromRedshiftResponse (Prelude.Maybe Prelude.Text)+createDataSourceFromRedshiftResponse_dataSourceId = Lens.lens (\CreateDataSourceFromRedshiftResponse' {dataSourceId} -> dataSourceId) (\s@CreateDataSourceFromRedshiftResponse' {} a -> s {dataSourceId = a} :: CreateDataSourceFromRedshiftResponse)++-- | The response's http status code.+createDataSourceFromRedshiftResponse_httpStatus :: Lens.Lens' CreateDataSourceFromRedshiftResponse Prelude.Int+createDataSourceFromRedshiftResponse_httpStatus = Lens.lens (\CreateDataSourceFromRedshiftResponse' {httpStatus} -> httpStatus) (\s@CreateDataSourceFromRedshiftResponse' {} a -> s {httpStatus = a} :: CreateDataSourceFromRedshiftResponse)++instance+ Prelude.NFData+ CreateDataSourceFromRedshiftResponse+ where+ rnf CreateDataSourceFromRedshiftResponse' {..} =+ Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/CreateDataSourceFromS3.hs view
@@ -0,0 +1,312 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.CreateDataSourceFromS3+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a @DataSource@ object. A @DataSource@ references data that can+-- be used to perform @CreateMLModel@, @CreateEvaluation@, or+-- @CreateBatchPrediction@ operations.+--+-- @CreateDataSourceFromS3@ is an asynchronous operation. In response to+-- @CreateDataSourceFromS3@, Amazon Machine Learning (Amazon ML)+-- immediately returns and sets the @DataSource@ status to @PENDING@. After+-- the @DataSource@ has been created and is ready for use, Amazon ML sets+-- the @Status@ parameter to @COMPLETED@. @DataSource@ in the @COMPLETED@+-- or @PENDING@ state can be used to perform only @CreateMLModel@,+-- @CreateEvaluation@ or @CreateBatchPrediction@ operations.+--+-- If Amazon ML can\'t accept the input source, it sets the @Status@+-- parameter to @FAILED@ and includes an error message in the @Message@+-- attribute of the @GetDataSource@ operation response.+--+-- The observation data used in a @DataSource@ should be ready to use; that+-- is, it should have a consistent structure, and missing data values+-- should be kept to a minimum. The observation data must reside in one or+-- more .csv files in an Amazon Simple Storage Service (Amazon S3)+-- location, along with a schema that describes the data items by name and+-- type. The same schema must be used for all of the data files referenced+-- by the @DataSource@.+--+-- After the @DataSource@ has been created, it\'s ready to use in+-- evaluations and batch predictions. If you plan to use the @DataSource@+-- to train an @MLModel@, the @DataSource@ also needs a recipe. A recipe+-- describes how each input variable will be used in training an @MLModel@.+-- Will the variable be included or excluded from training? Will the+-- variable be manipulated; for example, will it be combined with another+-- variable or will it be split apart into word combinations? The recipe+-- provides answers to these questions.+module Amazonka.MachineLearning.CreateDataSourceFromS3+ ( -- * Creating a Request+ CreateDataSourceFromS3 (..),+ newCreateDataSourceFromS3,++ -- * Request Lenses+ createDataSourceFromS3_computeStatistics,+ createDataSourceFromS3_dataSourceName,+ createDataSourceFromS3_dataSourceId,+ createDataSourceFromS3_dataSpec,++ -- * Destructuring the Response+ CreateDataSourceFromS3Response (..),+ newCreateDataSourceFromS3Response,++ -- * Response Lenses+ createDataSourceFromS3Response_dataSourceId,+ createDataSourceFromS3Response_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateDataSourceFromS3' smart constructor.+data CreateDataSourceFromS3 = CreateDataSourceFromS3'+ { -- | The compute statistics for a @DataSource@. The statistics are generated+ -- from the observation data referenced by a @DataSource@. Amazon ML uses+ -- the statistics internally during @MLModel@ training. This parameter must+ -- be set to @true@ if the DataSource needs to be used for @MLModel@+ -- training.+ computeStatistics :: Prelude.Maybe Prelude.Bool,+ -- | A user-supplied name or description of the @DataSource@.+ dataSourceName :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied identifier that uniquely identifies the @DataSource@.+ dataSourceId :: Prelude.Text,+ -- | The data specification of a @DataSource@:+ --+ -- - DataLocationS3 - The Amazon S3 location of the observation data.+ --+ -- - DataSchemaLocationS3 - The Amazon S3 location of the @DataSchema@.+ --+ -- - DataSchema - A JSON string representing the schema. This is not+ -- required if @DataSchemaUri@ is specified.+ --+ -- - DataRearrangement - A JSON string that represents the splitting and+ -- rearrangement requirements for the @Datasource@.+ --+ -- Sample -+ -- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+ dataSpec :: S3DataSpec+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateDataSourceFromS3' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeStatistics', 'createDataSourceFromS3_computeStatistics' - The compute statistics for a @DataSource@. The statistics are generated+-- from the observation data referenced by a @DataSource@. Amazon ML uses+-- the statistics internally during @MLModel@ training. This parameter must+-- be set to @true@ if the DataSource needs to be used for @MLModel@+-- training.+--+-- 'dataSourceName', 'createDataSourceFromS3_dataSourceName' - A user-supplied name or description of the @DataSource@.+--+-- 'dataSourceId', 'createDataSourceFromS3_dataSourceId' - A user-supplied identifier that uniquely identifies the @DataSource@.+--+-- 'dataSpec', 'createDataSourceFromS3_dataSpec' - The data specification of a @DataSource@:+--+-- - DataLocationS3 - The Amazon S3 location of the observation data.+--+-- - DataSchemaLocationS3 - The Amazon S3 location of the @DataSchema@.+--+-- - DataSchema - A JSON string representing the schema. This is not+-- required if @DataSchemaUri@ is specified.+--+-- - DataRearrangement - A JSON string that represents the splitting and+-- rearrangement requirements for the @Datasource@.+--+-- Sample -+-- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+newCreateDataSourceFromS3 ::+ -- | 'dataSourceId'+ Prelude.Text ->+ -- | 'dataSpec'+ S3DataSpec ->+ CreateDataSourceFromS3+newCreateDataSourceFromS3 pDataSourceId_ pDataSpec_ =+ CreateDataSourceFromS3'+ { computeStatistics =+ Prelude.Nothing,+ dataSourceName = Prelude.Nothing,+ dataSourceId = pDataSourceId_,+ dataSpec = pDataSpec_+ }++-- | The compute statistics for a @DataSource@. The statistics are generated+-- from the observation data referenced by a @DataSource@. Amazon ML uses+-- the statistics internally during @MLModel@ training. This parameter must+-- be set to @true@ if the DataSource needs to be used for @MLModel@+-- training.+createDataSourceFromS3_computeStatistics :: Lens.Lens' CreateDataSourceFromS3 (Prelude.Maybe Prelude.Bool)+createDataSourceFromS3_computeStatistics = Lens.lens (\CreateDataSourceFromS3' {computeStatistics} -> computeStatistics) (\s@CreateDataSourceFromS3' {} a -> s {computeStatistics = a} :: CreateDataSourceFromS3)++-- | A user-supplied name or description of the @DataSource@.+createDataSourceFromS3_dataSourceName :: Lens.Lens' CreateDataSourceFromS3 (Prelude.Maybe Prelude.Text)+createDataSourceFromS3_dataSourceName = Lens.lens (\CreateDataSourceFromS3' {dataSourceName} -> dataSourceName) (\s@CreateDataSourceFromS3' {} a -> s {dataSourceName = a} :: CreateDataSourceFromS3)++-- | A user-supplied identifier that uniquely identifies the @DataSource@.+createDataSourceFromS3_dataSourceId :: Lens.Lens' CreateDataSourceFromS3 Prelude.Text+createDataSourceFromS3_dataSourceId = Lens.lens (\CreateDataSourceFromS3' {dataSourceId} -> dataSourceId) (\s@CreateDataSourceFromS3' {} a -> s {dataSourceId = a} :: CreateDataSourceFromS3)++-- | The data specification of a @DataSource@:+--+-- - DataLocationS3 - The Amazon S3 location of the observation data.+--+-- - DataSchemaLocationS3 - The Amazon S3 location of the @DataSchema@.+--+-- - DataSchema - A JSON string representing the schema. This is not+-- required if @DataSchemaUri@ is specified.+--+-- - DataRearrangement - A JSON string that represents the splitting and+-- rearrangement requirements for the @Datasource@.+--+-- Sample -+-- @ \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"@+createDataSourceFromS3_dataSpec :: Lens.Lens' CreateDataSourceFromS3 S3DataSpec+createDataSourceFromS3_dataSpec = Lens.lens (\CreateDataSourceFromS3' {dataSpec} -> dataSpec) (\s@CreateDataSourceFromS3' {} a -> s {dataSpec = a} :: CreateDataSourceFromS3)++instance Core.AWSRequest CreateDataSourceFromS3 where+ type+ AWSResponse CreateDataSourceFromS3 =+ CreateDataSourceFromS3Response+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateDataSourceFromS3Response'+ Prelude.<$> (x Data..?> "DataSourceId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateDataSourceFromS3 where+ hashWithSalt _salt CreateDataSourceFromS3' {..} =+ _salt+ `Prelude.hashWithSalt` computeStatistics+ `Prelude.hashWithSalt` dataSourceName+ `Prelude.hashWithSalt` dataSourceId+ `Prelude.hashWithSalt` dataSpec++instance Prelude.NFData CreateDataSourceFromS3 where+ rnf CreateDataSourceFromS3' {..} =+ Prelude.rnf computeStatistics+ `Prelude.seq` Prelude.rnf dataSourceName+ `Prelude.seq` Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf dataSpec++instance Data.ToHeaders CreateDataSourceFromS3 where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.CreateDataSourceFromS3" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateDataSourceFromS3 where+ toJSON CreateDataSourceFromS3' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("ComputeStatistics" Data..=)+ Prelude.<$> computeStatistics,+ ("DataSourceName" Data..=)+ Prelude.<$> dataSourceName,+ Prelude.Just ("DataSourceId" Data..= dataSourceId),+ Prelude.Just ("DataSpec" Data..= dataSpec)+ ]+ )++instance Data.ToPath CreateDataSourceFromS3 where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateDataSourceFromS3 where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @CreateDataSourceFromS3@ operation, and is an+-- acknowledgement that Amazon ML received the request.+--+-- The @CreateDataSourceFromS3@ operation is asynchronous. You can poll for+-- updates by using the @GetBatchPrediction@ operation and checking the+-- @Status@ parameter.+--+-- /See:/ 'newCreateDataSourceFromS3Response' smart constructor.+data CreateDataSourceFromS3Response = CreateDataSourceFromS3Response'+ { -- | A user-supplied ID that uniquely identifies the @DataSource@. This value+ -- should be identical to the value of the @DataSourceID@ in the request.+ dataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateDataSourceFromS3Response' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataSourceId', 'createDataSourceFromS3Response_dataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@. This value+-- should be identical to the value of the @DataSourceID@ in the request.+--+-- 'httpStatus', 'createDataSourceFromS3Response_httpStatus' - The response's http status code.+newCreateDataSourceFromS3Response ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateDataSourceFromS3Response+newCreateDataSourceFromS3Response pHttpStatus_ =+ CreateDataSourceFromS3Response'+ { dataSourceId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @DataSource@. This value+-- should be identical to the value of the @DataSourceID@ in the request.+createDataSourceFromS3Response_dataSourceId :: Lens.Lens' CreateDataSourceFromS3Response (Prelude.Maybe Prelude.Text)+createDataSourceFromS3Response_dataSourceId = Lens.lens (\CreateDataSourceFromS3Response' {dataSourceId} -> dataSourceId) (\s@CreateDataSourceFromS3Response' {} a -> s {dataSourceId = a} :: CreateDataSourceFromS3Response)++-- | The response's http status code.+createDataSourceFromS3Response_httpStatus :: Lens.Lens' CreateDataSourceFromS3Response Prelude.Int+createDataSourceFromS3Response_httpStatus = Lens.lens (\CreateDataSourceFromS3Response' {httpStatus} -> httpStatus) (\s@CreateDataSourceFromS3Response' {} a -> s {httpStatus = a} :: CreateDataSourceFromS3Response)++instance+ Prelude.NFData+ CreateDataSourceFromS3Response+ where+ rnf CreateDataSourceFromS3Response' {..} =+ Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/CreateEvaluation.hs view
@@ -0,0 +1,265 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.CreateEvaluation+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new @Evaluation@ of an @MLModel@. An @MLModel@ is evaluated on+-- a set of observations associated to a @DataSource@. Like a @DataSource@+-- for an @MLModel@, the @DataSource@ for an @Evaluation@ contains values+-- for the @Target Variable@. The @Evaluation@ compares the predicted+-- result for each observation to the actual outcome and provides a summary+-- so that you know how effective the @MLModel@ functions on the test data.+-- Evaluation generates a relevant performance metric, such as BinaryAUC,+-- RegressionRMSE or MulticlassAvgFScore based on the corresponding+-- @MLModelType@: @BINARY@, @REGRESSION@ or @MULTICLASS@.+--+-- @CreateEvaluation@ is an asynchronous operation. In response to+-- @CreateEvaluation@, Amazon Machine Learning (Amazon ML) immediately+-- returns and sets the evaluation status to @PENDING@. After the+-- @Evaluation@ is created and ready for use, Amazon ML sets the status to+-- @COMPLETED@.+--+-- You can use the @GetEvaluation@ operation to check progress of the+-- evaluation during the creation operation.+module Amazonka.MachineLearning.CreateEvaluation+ ( -- * Creating a Request+ CreateEvaluation (..),+ newCreateEvaluation,++ -- * Request Lenses+ createEvaluation_evaluationName,+ createEvaluation_evaluationId,+ createEvaluation_mLModelId,+ createEvaluation_evaluationDataSourceId,++ -- * Destructuring the Response+ CreateEvaluationResponse (..),+ newCreateEvaluationResponse,++ -- * Response Lenses+ createEvaluationResponse_evaluationId,+ createEvaluationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateEvaluation' smart constructor.+data CreateEvaluation = CreateEvaluation'+ { -- | A user-supplied name or description of the @Evaluation@.+ evaluationName :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied ID that uniquely identifies the @Evaluation@.+ evaluationId :: Prelude.Text,+ -- | The ID of the @MLModel@ to evaluate.+ --+ -- The schema used in creating the @MLModel@ must match the schema of the+ -- @DataSource@ used in the @Evaluation@.+ mLModelId :: Prelude.Text,+ -- | The ID of the @DataSource@ for the evaluation. The schema of the+ -- @DataSource@ must match the schema used to create the @MLModel@.+ evaluationDataSourceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateEvaluation' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'evaluationName', 'createEvaluation_evaluationName' - A user-supplied name or description of the @Evaluation@.+--+-- 'evaluationId', 'createEvaluation_evaluationId' - A user-supplied ID that uniquely identifies the @Evaluation@.+--+-- 'mLModelId', 'createEvaluation_mLModelId' - The ID of the @MLModel@ to evaluate.+--+-- The schema used in creating the @MLModel@ must match the schema of the+-- @DataSource@ used in the @Evaluation@.+--+-- 'evaluationDataSourceId', 'createEvaluation_evaluationDataSourceId' - The ID of the @DataSource@ for the evaluation. The schema of the+-- @DataSource@ must match the schema used to create the @MLModel@.+newCreateEvaluation ::+ -- | 'evaluationId'+ Prelude.Text ->+ -- | 'mLModelId'+ Prelude.Text ->+ -- | 'evaluationDataSourceId'+ Prelude.Text ->+ CreateEvaluation+newCreateEvaluation+ pEvaluationId_+ pMLModelId_+ pEvaluationDataSourceId_ =+ CreateEvaluation'+ { evaluationName = Prelude.Nothing,+ evaluationId = pEvaluationId_,+ mLModelId = pMLModelId_,+ evaluationDataSourceId = pEvaluationDataSourceId_+ }++-- | A user-supplied name or description of the @Evaluation@.+createEvaluation_evaluationName :: Lens.Lens' CreateEvaluation (Prelude.Maybe Prelude.Text)+createEvaluation_evaluationName = Lens.lens (\CreateEvaluation' {evaluationName} -> evaluationName) (\s@CreateEvaluation' {} a -> s {evaluationName = a} :: CreateEvaluation)++-- | A user-supplied ID that uniquely identifies the @Evaluation@.+createEvaluation_evaluationId :: Lens.Lens' CreateEvaluation Prelude.Text+createEvaluation_evaluationId = Lens.lens (\CreateEvaluation' {evaluationId} -> evaluationId) (\s@CreateEvaluation' {} a -> s {evaluationId = a} :: CreateEvaluation)++-- | The ID of the @MLModel@ to evaluate.+--+-- The schema used in creating the @MLModel@ must match the schema of the+-- @DataSource@ used in the @Evaluation@.+createEvaluation_mLModelId :: Lens.Lens' CreateEvaluation Prelude.Text+createEvaluation_mLModelId = Lens.lens (\CreateEvaluation' {mLModelId} -> mLModelId) (\s@CreateEvaluation' {} a -> s {mLModelId = a} :: CreateEvaluation)++-- | The ID of the @DataSource@ for the evaluation. The schema of the+-- @DataSource@ must match the schema used to create the @MLModel@.+createEvaluation_evaluationDataSourceId :: Lens.Lens' CreateEvaluation Prelude.Text+createEvaluation_evaluationDataSourceId = Lens.lens (\CreateEvaluation' {evaluationDataSourceId} -> evaluationDataSourceId) (\s@CreateEvaluation' {} a -> s {evaluationDataSourceId = a} :: CreateEvaluation)++instance Core.AWSRequest CreateEvaluation where+ type+ AWSResponse CreateEvaluation =+ CreateEvaluationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateEvaluationResponse'+ Prelude.<$> (x Data..?> "EvaluationId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateEvaluation where+ hashWithSalt _salt CreateEvaluation' {..} =+ _salt+ `Prelude.hashWithSalt` evaluationName+ `Prelude.hashWithSalt` evaluationId+ `Prelude.hashWithSalt` mLModelId+ `Prelude.hashWithSalt` evaluationDataSourceId++instance Prelude.NFData CreateEvaluation where+ rnf CreateEvaluation' {..} =+ Prelude.rnf evaluationName+ `Prelude.seq` Prelude.rnf evaluationId+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf evaluationDataSourceId++instance Data.ToHeaders CreateEvaluation where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.CreateEvaluation" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateEvaluation where+ toJSON CreateEvaluation' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EvaluationName" Data..=)+ Prelude.<$> evaluationName,+ Prelude.Just ("EvaluationId" Data..= evaluationId),+ Prelude.Just ("MLModelId" Data..= mLModelId),+ Prelude.Just+ ( "EvaluationDataSourceId"+ Data..= evaluationDataSourceId+ )+ ]+ )++instance Data.ToPath CreateEvaluation where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateEvaluation where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @CreateEvaluation@ operation, and is an+-- acknowledgement that Amazon ML received the request.+--+-- @CreateEvaluation@ operation is asynchronous. You can poll for status+-- updates by using the @GetEvcaluation@ operation and checking the+-- @Status@ parameter.+--+-- /See:/ 'newCreateEvaluationResponse' smart constructor.+data CreateEvaluationResponse = CreateEvaluationResponse'+ { -- | The user-supplied ID that uniquely identifies the @Evaluation@. This+ -- value should be identical to the value of the @EvaluationId@ in the+ -- request.+ evaluationId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateEvaluationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'evaluationId', 'createEvaluationResponse_evaluationId' - The user-supplied ID that uniquely identifies the @Evaluation@. This+-- value should be identical to the value of the @EvaluationId@ in the+-- request.+--+-- 'httpStatus', 'createEvaluationResponse_httpStatus' - The response's http status code.+newCreateEvaluationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateEvaluationResponse+newCreateEvaluationResponse pHttpStatus_ =+ CreateEvaluationResponse'+ { evaluationId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The user-supplied ID that uniquely identifies the @Evaluation@. This+-- value should be identical to the value of the @EvaluationId@ in the+-- request.+createEvaluationResponse_evaluationId :: Lens.Lens' CreateEvaluationResponse (Prelude.Maybe Prelude.Text)+createEvaluationResponse_evaluationId = Lens.lens (\CreateEvaluationResponse' {evaluationId} -> evaluationId) (\s@CreateEvaluationResponse' {} a -> s {evaluationId = a} :: CreateEvaluationResponse)++-- | The response's http status code.+createEvaluationResponse_httpStatus :: Lens.Lens' CreateEvaluationResponse Prelude.Int+createEvaluationResponse_httpStatus = Lens.lens (\CreateEvaluationResponse' {httpStatus} -> httpStatus) (\s@CreateEvaluationResponse' {} a -> s {httpStatus = a} :: CreateEvaluationResponse)++instance Prelude.NFData CreateEvaluationResponse where+ rnf CreateEvaluationResponse' {..} =+ Prelude.rnf evaluationId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/CreateMLModel.hs view
@@ -0,0 +1,459 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.CreateMLModel+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new @MLModel@ using the @DataSource@ and the recipe as+-- information sources.+--+-- An @MLModel@ is nearly immutable. Users can update only the+-- @MLModelName@ and the @ScoreThreshold@ in an @MLModel@ without creating+-- a new @MLModel@.+--+-- @CreateMLModel@ is an asynchronous operation. In response to+-- @CreateMLModel@, Amazon Machine Learning (Amazon ML) immediately returns+-- and sets the @MLModel@ status to @PENDING@. After the @MLModel@ has been+-- created and ready is for use, Amazon ML sets the status to @COMPLETED@.+--+-- You can use the @GetMLModel@ operation to check the progress of the+-- @MLModel@ during the creation operation.+--+-- @CreateMLModel@ requires a @DataSource@ with computed statistics, which+-- can be created by setting @ComputeStatistics@ to @true@ in+-- @CreateDataSourceFromRDS@, @CreateDataSourceFromS3@, or+-- @CreateDataSourceFromRedshift@ operations.+module Amazonka.MachineLearning.CreateMLModel+ ( -- * Creating a Request+ CreateMLModel (..),+ newCreateMLModel,++ -- * Request Lenses+ createMLModel_mLModelName,+ createMLModel_parameters,+ createMLModel_recipe,+ createMLModel_recipeUri,+ createMLModel_mLModelId,+ createMLModel_mLModelType,+ createMLModel_trainingDataSourceId,++ -- * Destructuring the Response+ CreateMLModelResponse (..),+ newCreateMLModelResponse,++ -- * Response Lenses+ createMLModelResponse_mLModelId,+ createMLModelResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateMLModel' smart constructor.+data CreateMLModel = CreateMLModel'+ { -- | A user-supplied name or description of the @MLModel@.+ mLModelName :: Prelude.Maybe Prelude.Text,+ -- | A list of the training parameters in the @MLModel@. The list is+ -- implemented as a map of key-value pairs.+ --+ -- The following is the current set of training parameters:+ --+ -- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+ -- Depending on the input data, the size of the model might affect its+ -- performance.+ --+ -- The value is an integer that ranges from @100000@ to @2147483648@.+ -- The default value is @33554432@.+ --+ -- - @sgd.maxPasses@ - The number of times that the training process+ -- traverses the observations to build the @MLModel@. The value is an+ -- integer that ranges from @1@ to @10000@. The default value is @10@.+ --+ -- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+ -- Shuffling the data improves a model\'s ability to find the optimal+ -- solution for a variety of data types. The valid values are @auto@+ -- and @none@. The default value is @none@. We strongly recommend that+ -- you shuffle your data.+ --+ -- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+ -- norm. It controls overfitting the data by penalizing large+ -- coefficients. This tends to drive coefficients to zero, resulting in+ -- a sparse feature set. If you use this parameter, start by specifying+ -- a small value, such as @1.0E-08@.+ --+ -- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+ -- default is to not use L1 normalization. This parameter can\'t be+ -- used when @L2@ is specified. Use this parameter sparingly.+ --+ -- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+ -- norm. It controls overfitting the data by penalizing large+ -- coefficients. This tends to drive coefficients to small, nonzero+ -- values. If you use this parameter, start by specifying a small+ -- value, such as @1.0E-08@.+ --+ -- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+ -- default is to not use L2 normalization. This parameter can\'t be+ -- used when @L1@ is specified. Use this parameter sparingly.+ parameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The data recipe for creating the @MLModel@. You must specify either the+ -- recipe or its URI. If you don\'t specify a recipe or its URI, Amazon ML+ -- creates a default.+ recipe :: Prelude.Maybe Prelude.Text,+ -- | The Amazon Simple Storage Service (Amazon S3) location and file name+ -- that contains the @MLModel@ recipe. You must specify either the recipe+ -- or its URI. If you don\'t specify a recipe or its URI, Amazon ML creates+ -- a default.+ recipeUri :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied ID that uniquely identifies the @MLModel@.+ mLModelId :: Prelude.Text,+ -- | The category of supervised learning that this @MLModel@ will address.+ -- Choose from the following types:+ --+ -- - Choose @REGRESSION@ if the @MLModel@ will be used to predict a+ -- numeric value.+ --+ -- - Choose @BINARY@ if the @MLModel@ result has two possible values.+ --+ -- - Choose @MULTICLASS@ if the @MLModel@ result has a limited number of+ -- values.+ --+ -- For more information, see the+ -- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+ mLModelType :: MLModelType,+ -- | The @DataSource@ that points to the training data.+ trainingDataSourceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateMLModel' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelName', 'createMLModel_mLModelName' - A user-supplied name or description of the @MLModel@.+--+-- 'parameters', 'createMLModel_parameters' - A list of the training parameters in the @MLModel@. The list is+-- implemented as a map of key-value pairs.+--+-- The following is the current set of training parameters:+--+-- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+-- Depending on the input data, the size of the model might affect its+-- performance.+--+-- The value is an integer that ranges from @100000@ to @2147483648@.+-- The default value is @33554432@.+--+-- - @sgd.maxPasses@ - The number of times that the training process+-- traverses the observations to build the @MLModel@. The value is an+-- integer that ranges from @1@ to @10000@. The default value is @10@.+--+-- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+-- Shuffling the data improves a model\'s ability to find the optimal+-- solution for a variety of data types. The valid values are @auto@+-- and @none@. The default value is @none@. We strongly recommend that+-- you shuffle your data.+--+-- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+-- norm. It controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to zero, resulting in+-- a sparse feature set. If you use this parameter, start by specifying+-- a small value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L1 normalization. This parameter can\'t be+-- used when @L2@ is specified. Use this parameter sparingly.+--+-- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+-- norm. It controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to small, nonzero+-- values. If you use this parameter, start by specifying a small+-- value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L2 normalization. This parameter can\'t be+-- used when @L1@ is specified. Use this parameter sparingly.+--+-- 'recipe', 'createMLModel_recipe' - The data recipe for creating the @MLModel@. You must specify either the+-- recipe or its URI. If you don\'t specify a recipe or its URI, Amazon ML+-- creates a default.+--+-- 'recipeUri', 'createMLModel_recipeUri' - The Amazon Simple Storage Service (Amazon S3) location and file name+-- that contains the @MLModel@ recipe. You must specify either the recipe+-- or its URI. If you don\'t specify a recipe or its URI, Amazon ML creates+-- a default.+--+-- 'mLModelId', 'createMLModel_mLModelId' - A user-supplied ID that uniquely identifies the @MLModel@.+--+-- 'mLModelType', 'createMLModel_mLModelType' - The category of supervised learning that this @MLModel@ will address.+-- Choose from the following types:+--+-- - Choose @REGRESSION@ if the @MLModel@ will be used to predict a+-- numeric value.+--+-- - Choose @BINARY@ if the @MLModel@ result has two possible values.+--+-- - Choose @MULTICLASS@ if the @MLModel@ result has a limited number of+-- values.+--+-- For more information, see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+--+-- 'trainingDataSourceId', 'createMLModel_trainingDataSourceId' - The @DataSource@ that points to the training data.+newCreateMLModel ::+ -- | 'mLModelId'+ Prelude.Text ->+ -- | 'mLModelType'+ MLModelType ->+ -- | 'trainingDataSourceId'+ Prelude.Text ->+ CreateMLModel+newCreateMLModel+ pMLModelId_+ pMLModelType_+ pTrainingDataSourceId_ =+ CreateMLModel'+ { mLModelName = Prelude.Nothing,+ parameters = Prelude.Nothing,+ recipe = Prelude.Nothing,+ recipeUri = Prelude.Nothing,+ mLModelId = pMLModelId_,+ mLModelType = pMLModelType_,+ trainingDataSourceId = pTrainingDataSourceId_+ }++-- | A user-supplied name or description of the @MLModel@.+createMLModel_mLModelName :: Lens.Lens' CreateMLModel (Prelude.Maybe Prelude.Text)+createMLModel_mLModelName = Lens.lens (\CreateMLModel' {mLModelName} -> mLModelName) (\s@CreateMLModel' {} a -> s {mLModelName = a} :: CreateMLModel)++-- | A list of the training parameters in the @MLModel@. The list is+-- implemented as a map of key-value pairs.+--+-- The following is the current set of training parameters:+--+-- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+-- Depending on the input data, the size of the model might affect its+-- performance.+--+-- The value is an integer that ranges from @100000@ to @2147483648@.+-- The default value is @33554432@.+--+-- - @sgd.maxPasses@ - The number of times that the training process+-- traverses the observations to build the @MLModel@. The value is an+-- integer that ranges from @1@ to @10000@. The default value is @10@.+--+-- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+-- Shuffling the data improves a model\'s ability to find the optimal+-- solution for a variety of data types. The valid values are @auto@+-- and @none@. The default value is @none@. We strongly recommend that+-- you shuffle your data.+--+-- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+-- norm. It controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to zero, resulting in+-- a sparse feature set. If you use this parameter, start by specifying+-- a small value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L1 normalization. This parameter can\'t be+-- used when @L2@ is specified. Use this parameter sparingly.+--+-- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+-- norm. It controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to small, nonzero+-- values. If you use this parameter, start by specifying a small+-- value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L2 normalization. This parameter can\'t be+-- used when @L1@ is specified. Use this parameter sparingly.+createMLModel_parameters :: Lens.Lens' CreateMLModel (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createMLModel_parameters = Lens.lens (\CreateMLModel' {parameters} -> parameters) (\s@CreateMLModel' {} a -> s {parameters = a} :: CreateMLModel) Prelude.. Lens.mapping Lens.coerced++-- | The data recipe for creating the @MLModel@. You must specify either the+-- recipe or its URI. If you don\'t specify a recipe or its URI, Amazon ML+-- creates a default.+createMLModel_recipe :: Lens.Lens' CreateMLModel (Prelude.Maybe Prelude.Text)+createMLModel_recipe = Lens.lens (\CreateMLModel' {recipe} -> recipe) (\s@CreateMLModel' {} a -> s {recipe = a} :: CreateMLModel)++-- | The Amazon Simple Storage Service (Amazon S3) location and file name+-- that contains the @MLModel@ recipe. You must specify either the recipe+-- or its URI. If you don\'t specify a recipe or its URI, Amazon ML creates+-- a default.+createMLModel_recipeUri :: Lens.Lens' CreateMLModel (Prelude.Maybe Prelude.Text)+createMLModel_recipeUri = Lens.lens (\CreateMLModel' {recipeUri} -> recipeUri) (\s@CreateMLModel' {} a -> s {recipeUri = a} :: CreateMLModel)++-- | A user-supplied ID that uniquely identifies the @MLModel@.+createMLModel_mLModelId :: Lens.Lens' CreateMLModel Prelude.Text+createMLModel_mLModelId = Lens.lens (\CreateMLModel' {mLModelId} -> mLModelId) (\s@CreateMLModel' {} a -> s {mLModelId = a} :: CreateMLModel)++-- | The category of supervised learning that this @MLModel@ will address.+-- Choose from the following types:+--+-- - Choose @REGRESSION@ if the @MLModel@ will be used to predict a+-- numeric value.+--+-- - Choose @BINARY@ if the @MLModel@ result has two possible values.+--+-- - Choose @MULTICLASS@ if the @MLModel@ result has a limited number of+-- values.+--+-- For more information, see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+createMLModel_mLModelType :: Lens.Lens' CreateMLModel MLModelType+createMLModel_mLModelType = Lens.lens (\CreateMLModel' {mLModelType} -> mLModelType) (\s@CreateMLModel' {} a -> s {mLModelType = a} :: CreateMLModel)++-- | The @DataSource@ that points to the training data.+createMLModel_trainingDataSourceId :: Lens.Lens' CreateMLModel Prelude.Text+createMLModel_trainingDataSourceId = Lens.lens (\CreateMLModel' {trainingDataSourceId} -> trainingDataSourceId) (\s@CreateMLModel' {} a -> s {trainingDataSourceId = a} :: CreateMLModel)++instance Core.AWSRequest CreateMLModel where+ type+ AWSResponse CreateMLModel =+ CreateMLModelResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateMLModelResponse'+ Prelude.<$> (x Data..?> "MLModelId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateMLModel where+ hashWithSalt _salt CreateMLModel' {..} =+ _salt+ `Prelude.hashWithSalt` mLModelName+ `Prelude.hashWithSalt` parameters+ `Prelude.hashWithSalt` recipe+ `Prelude.hashWithSalt` recipeUri+ `Prelude.hashWithSalt` mLModelId+ `Prelude.hashWithSalt` mLModelType+ `Prelude.hashWithSalt` trainingDataSourceId++instance Prelude.NFData CreateMLModel where+ rnf CreateMLModel' {..} =+ Prelude.rnf mLModelName+ `Prelude.seq` Prelude.rnf parameters+ `Prelude.seq` Prelude.rnf recipe+ `Prelude.seq` Prelude.rnf recipeUri+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf mLModelType+ `Prelude.seq` Prelude.rnf trainingDataSourceId++instance Data.ToHeaders CreateMLModel where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.CreateMLModel" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateMLModel where+ toJSON CreateMLModel' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MLModelName" Data..=) Prelude.<$> mLModelName,+ ("Parameters" Data..=) Prelude.<$> parameters,+ ("Recipe" Data..=) Prelude.<$> recipe,+ ("RecipeUri" Data..=) Prelude.<$> recipeUri,+ Prelude.Just ("MLModelId" Data..= mLModelId),+ Prelude.Just ("MLModelType" Data..= mLModelType),+ Prelude.Just+ ( "TrainingDataSourceId"+ Data..= trainingDataSourceId+ )+ ]+ )++instance Data.ToPath CreateMLModel where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateMLModel where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @CreateMLModel@ operation, and is an+-- acknowledgement that Amazon ML received the request.+--+-- The @CreateMLModel@ operation is asynchronous. You can poll for status+-- updates by using the @GetMLModel@ operation and checking the @Status@+-- parameter.+--+-- /See:/ 'newCreateMLModelResponse' smart constructor.+data CreateMLModelResponse = CreateMLModelResponse'+ { -- | A user-supplied ID that uniquely identifies the @MLModel@. This value+ -- should be identical to the value of the @MLModelId@ in the request.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateMLModelResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'createMLModelResponse_mLModelId' - A user-supplied ID that uniquely identifies the @MLModel@. This value+-- should be identical to the value of the @MLModelId@ in the request.+--+-- 'httpStatus', 'createMLModelResponse_httpStatus' - The response's http status code.+newCreateMLModelResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateMLModelResponse+newCreateMLModelResponse pHttpStatus_ =+ CreateMLModelResponse'+ { mLModelId = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @MLModel@. This value+-- should be identical to the value of the @MLModelId@ in the request.+createMLModelResponse_mLModelId :: Lens.Lens' CreateMLModelResponse (Prelude.Maybe Prelude.Text)+createMLModelResponse_mLModelId = Lens.lens (\CreateMLModelResponse' {mLModelId} -> mLModelId) (\s@CreateMLModelResponse' {} a -> s {mLModelId = a} :: CreateMLModelResponse)++-- | The response's http status code.+createMLModelResponse_httpStatus :: Lens.Lens' CreateMLModelResponse Prelude.Int+createMLModelResponse_httpStatus = Lens.lens (\CreateMLModelResponse' {httpStatus} -> httpStatus) (\s@CreateMLModelResponse' {} a -> s {httpStatus = a} :: CreateMLModelResponse)++instance Prelude.NFData CreateMLModelResponse where+ rnf CreateMLModelResponse' {..} =+ Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/CreateRealtimeEndpoint.hs view
@@ -0,0 +1,198 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.CreateRealtimeEndpoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a real-time endpoint for the @MLModel@. The endpoint contains+-- the URI of the @MLModel@; that is, the location to send real-time+-- prediction requests for the specified @MLModel@.+module Amazonka.MachineLearning.CreateRealtimeEndpoint+ ( -- * Creating a Request+ CreateRealtimeEndpoint (..),+ newCreateRealtimeEndpoint,++ -- * Request Lenses+ createRealtimeEndpoint_mLModelId,++ -- * Destructuring the Response+ CreateRealtimeEndpointResponse (..),+ newCreateRealtimeEndpointResponse,++ -- * Response Lenses+ createRealtimeEndpointResponse_mLModelId,+ createRealtimeEndpointResponse_realtimeEndpointInfo,+ createRealtimeEndpointResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateRealtimeEndpoint' smart constructor.+data CreateRealtimeEndpoint = CreateRealtimeEndpoint'+ { -- | The ID assigned to the @MLModel@ during creation.+ mLModelId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateRealtimeEndpoint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'createRealtimeEndpoint_mLModelId' - The ID assigned to the @MLModel@ during creation.+newCreateRealtimeEndpoint ::+ -- | 'mLModelId'+ Prelude.Text ->+ CreateRealtimeEndpoint+newCreateRealtimeEndpoint pMLModelId_ =+ CreateRealtimeEndpoint' {mLModelId = pMLModelId_}++-- | The ID assigned to the @MLModel@ during creation.+createRealtimeEndpoint_mLModelId :: Lens.Lens' CreateRealtimeEndpoint Prelude.Text+createRealtimeEndpoint_mLModelId = Lens.lens (\CreateRealtimeEndpoint' {mLModelId} -> mLModelId) (\s@CreateRealtimeEndpoint' {} a -> s {mLModelId = a} :: CreateRealtimeEndpoint)++instance Core.AWSRequest CreateRealtimeEndpoint where+ type+ AWSResponse CreateRealtimeEndpoint =+ CreateRealtimeEndpointResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ CreateRealtimeEndpointResponse'+ Prelude.<$> (x Data..?> "MLModelId")+ Prelude.<*> (x Data..?> "RealtimeEndpointInfo")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable CreateRealtimeEndpoint where+ hashWithSalt _salt CreateRealtimeEndpoint' {..} =+ _salt `Prelude.hashWithSalt` mLModelId++instance Prelude.NFData CreateRealtimeEndpoint where+ rnf CreateRealtimeEndpoint' {..} =+ Prelude.rnf mLModelId++instance Data.ToHeaders CreateRealtimeEndpoint where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.CreateRealtimeEndpoint" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON CreateRealtimeEndpoint where+ toJSON CreateRealtimeEndpoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("MLModelId" Data..= mLModelId)]+ )++instance Data.ToPath CreateRealtimeEndpoint where+ toPath = Prelude.const "/"++instance Data.ToQuery CreateRealtimeEndpoint where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of an @CreateRealtimeEndpoint@ operation.+--+-- The result contains the @MLModelId@ and the endpoint information for the+-- @MLModel@.+--+-- __Note:__ The endpoint information includes the URI of the @MLModel@;+-- that is, the location to send online prediction requests for the+-- specified @MLModel@.+--+-- /See:/ 'newCreateRealtimeEndpointResponse' smart constructor.+data CreateRealtimeEndpointResponse = CreateRealtimeEndpointResponse'+ { -- | A user-supplied ID that uniquely identifies the @MLModel@. This value+ -- should be identical to the value of the @MLModelId@ in the request.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | The endpoint information of the @MLModel@+ realtimeEndpointInfo :: Prelude.Maybe RealtimeEndpointInfo,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateRealtimeEndpointResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'createRealtimeEndpointResponse_mLModelId' - A user-supplied ID that uniquely identifies the @MLModel@. This value+-- should be identical to the value of the @MLModelId@ in the request.+--+-- 'realtimeEndpointInfo', 'createRealtimeEndpointResponse_realtimeEndpointInfo' - The endpoint information of the @MLModel@+--+-- 'httpStatus', 'createRealtimeEndpointResponse_httpStatus' - The response's http status code.+newCreateRealtimeEndpointResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ CreateRealtimeEndpointResponse+newCreateRealtimeEndpointResponse pHttpStatus_ =+ CreateRealtimeEndpointResponse'+ { mLModelId =+ Prelude.Nothing,+ realtimeEndpointInfo = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @MLModel@. This value+-- should be identical to the value of the @MLModelId@ in the request.+createRealtimeEndpointResponse_mLModelId :: Lens.Lens' CreateRealtimeEndpointResponse (Prelude.Maybe Prelude.Text)+createRealtimeEndpointResponse_mLModelId = Lens.lens (\CreateRealtimeEndpointResponse' {mLModelId} -> mLModelId) (\s@CreateRealtimeEndpointResponse' {} a -> s {mLModelId = a} :: CreateRealtimeEndpointResponse)++-- | The endpoint information of the @MLModel@+createRealtimeEndpointResponse_realtimeEndpointInfo :: Lens.Lens' CreateRealtimeEndpointResponse (Prelude.Maybe RealtimeEndpointInfo)+createRealtimeEndpointResponse_realtimeEndpointInfo = Lens.lens (\CreateRealtimeEndpointResponse' {realtimeEndpointInfo} -> realtimeEndpointInfo) (\s@CreateRealtimeEndpointResponse' {} a -> s {realtimeEndpointInfo = a} :: CreateRealtimeEndpointResponse)++-- | The response's http status code.+createRealtimeEndpointResponse_httpStatus :: Lens.Lens' CreateRealtimeEndpointResponse Prelude.Int+createRealtimeEndpointResponse_httpStatus = Lens.lens (\CreateRealtimeEndpointResponse' {httpStatus} -> httpStatus) (\s@CreateRealtimeEndpointResponse' {} a -> s {httpStatus = a} :: CreateRealtimeEndpointResponse)++instance+ Prelude.NFData+ CreateRealtimeEndpointResponse+ where+ rnf CreateRealtimeEndpointResponse' {..} =+ Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf realtimeEndpointInfo+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DeleteBatchPrediction.hs view
@@ -0,0 +1,194 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DeleteBatchPrediction+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Assigns the DELETED status to a @BatchPrediction@, rendering it+-- unusable.+--+-- After using the @DeleteBatchPrediction@ operation, you can use the+-- GetBatchPrediction operation to verify that the status of the+-- @BatchPrediction@ changed to DELETED.+--+-- __Caution:__ The result of the @DeleteBatchPrediction@ operation is+-- irreversible.+module Amazonka.MachineLearning.DeleteBatchPrediction+ ( -- * Creating a Request+ DeleteBatchPrediction (..),+ newDeleteBatchPrediction,++ -- * Request Lenses+ deleteBatchPrediction_batchPredictionId,++ -- * Destructuring the Response+ DeleteBatchPredictionResponse (..),+ newDeleteBatchPredictionResponse,++ -- * Response Lenses+ deleteBatchPredictionResponse_batchPredictionId,+ deleteBatchPredictionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteBatchPrediction' smart constructor.+data DeleteBatchPrediction = DeleteBatchPrediction'+ { -- | A user-supplied ID that uniquely identifies the @BatchPrediction@.+ batchPredictionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteBatchPrediction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionId', 'deleteBatchPrediction_batchPredictionId' - A user-supplied ID that uniquely identifies the @BatchPrediction@.+newDeleteBatchPrediction ::+ -- | 'batchPredictionId'+ Prelude.Text ->+ DeleteBatchPrediction+newDeleteBatchPrediction pBatchPredictionId_ =+ DeleteBatchPrediction'+ { batchPredictionId =+ pBatchPredictionId_+ }++-- | A user-supplied ID that uniquely identifies the @BatchPrediction@.+deleteBatchPrediction_batchPredictionId :: Lens.Lens' DeleteBatchPrediction Prelude.Text+deleteBatchPrediction_batchPredictionId = Lens.lens (\DeleteBatchPrediction' {batchPredictionId} -> batchPredictionId) (\s@DeleteBatchPrediction' {} a -> s {batchPredictionId = a} :: DeleteBatchPrediction)++instance Core.AWSRequest DeleteBatchPrediction where+ type+ AWSResponse DeleteBatchPrediction =+ DeleteBatchPredictionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteBatchPredictionResponse'+ Prelude.<$> (x Data..?> "BatchPredictionId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteBatchPrediction where+ hashWithSalt _salt DeleteBatchPrediction' {..} =+ _salt `Prelude.hashWithSalt` batchPredictionId++instance Prelude.NFData DeleteBatchPrediction where+ rnf DeleteBatchPrediction' {..} =+ Prelude.rnf batchPredictionId++instance Data.ToHeaders DeleteBatchPrediction where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DeleteBatchPrediction" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteBatchPrediction where+ toJSON DeleteBatchPrediction' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("BatchPredictionId" Data..= batchPredictionId)+ ]+ )++instance Data.ToPath DeleteBatchPrediction where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteBatchPrediction where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @DeleteBatchPrediction@ operation.+--+-- You can use the @GetBatchPrediction@ operation and check the value of+-- the @Status@ parameter to see whether a @BatchPrediction@ is marked as+-- @DELETED@.+--+-- /See:/ 'newDeleteBatchPredictionResponse' smart constructor.+data DeleteBatchPredictionResponse = DeleteBatchPredictionResponse'+ { -- | A user-supplied ID that uniquely identifies the @BatchPrediction@. This+ -- value should be identical to the value of the @BatchPredictionID@ in the+ -- request.+ batchPredictionId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteBatchPredictionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionId', 'deleteBatchPredictionResponse_batchPredictionId' - A user-supplied ID that uniquely identifies the @BatchPrediction@. This+-- value should be identical to the value of the @BatchPredictionID@ in the+-- request.+--+-- 'httpStatus', 'deleteBatchPredictionResponse_httpStatus' - The response's http status code.+newDeleteBatchPredictionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteBatchPredictionResponse+newDeleteBatchPredictionResponse pHttpStatus_ =+ DeleteBatchPredictionResponse'+ { batchPredictionId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @BatchPrediction@. This+-- value should be identical to the value of the @BatchPredictionID@ in the+-- request.+deleteBatchPredictionResponse_batchPredictionId :: Lens.Lens' DeleteBatchPredictionResponse (Prelude.Maybe Prelude.Text)+deleteBatchPredictionResponse_batchPredictionId = Lens.lens (\DeleteBatchPredictionResponse' {batchPredictionId} -> batchPredictionId) (\s@DeleteBatchPredictionResponse' {} a -> s {batchPredictionId = a} :: DeleteBatchPredictionResponse)++-- | The response's http status code.+deleteBatchPredictionResponse_httpStatus :: Lens.Lens' DeleteBatchPredictionResponse Prelude.Int+deleteBatchPredictionResponse_httpStatus = Lens.lens (\DeleteBatchPredictionResponse' {httpStatus} -> httpStatus) (\s@DeleteBatchPredictionResponse' {} a -> s {httpStatus = a} :: DeleteBatchPredictionResponse)++instance Prelude.NFData DeleteBatchPredictionResponse where+ rnf DeleteBatchPredictionResponse' {..} =+ Prelude.rnf batchPredictionId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DeleteDataSource.hs view
@@ -0,0 +1,180 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DeleteDataSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Assigns the DELETED status to a @DataSource@, rendering it unusable.+--+-- After using the @DeleteDataSource@ operation, you can use the+-- GetDataSource operation to verify that the status of the @DataSource@+-- changed to DELETED.+--+-- __Caution:__ The results of the @DeleteDataSource@ operation are+-- irreversible.+module Amazonka.MachineLearning.DeleteDataSource+ ( -- * Creating a Request+ DeleteDataSource (..),+ newDeleteDataSource,++ -- * Request Lenses+ deleteDataSource_dataSourceId,++ -- * Destructuring the Response+ DeleteDataSourceResponse (..),+ newDeleteDataSourceResponse,++ -- * Response Lenses+ deleteDataSourceResponse_dataSourceId,+ deleteDataSourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteDataSource' smart constructor.+data DeleteDataSource = DeleteDataSource'+ { -- | A user-supplied ID that uniquely identifies the @DataSource@.+ dataSourceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteDataSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataSourceId', 'deleteDataSource_dataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@.+newDeleteDataSource ::+ -- | 'dataSourceId'+ Prelude.Text ->+ DeleteDataSource+newDeleteDataSource pDataSourceId_ =+ DeleteDataSource' {dataSourceId = pDataSourceId_}++-- | A user-supplied ID that uniquely identifies the @DataSource@.+deleteDataSource_dataSourceId :: Lens.Lens' DeleteDataSource Prelude.Text+deleteDataSource_dataSourceId = Lens.lens (\DeleteDataSource' {dataSourceId} -> dataSourceId) (\s@DeleteDataSource' {} a -> s {dataSourceId = a} :: DeleteDataSource)++instance Core.AWSRequest DeleteDataSource where+ type+ AWSResponse DeleteDataSource =+ DeleteDataSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteDataSourceResponse'+ Prelude.<$> (x Data..?> "DataSourceId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteDataSource where+ hashWithSalt _salt DeleteDataSource' {..} =+ _salt `Prelude.hashWithSalt` dataSourceId++instance Prelude.NFData DeleteDataSource where+ rnf DeleteDataSource' {..} = Prelude.rnf dataSourceId++instance Data.ToHeaders DeleteDataSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DeleteDataSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteDataSource where+ toJSON DeleteDataSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("DataSourceId" Data..= dataSourceId)]+ )++instance Data.ToPath DeleteDataSource where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteDataSource where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @DeleteDataSource@ operation.+--+-- /See:/ 'newDeleteDataSourceResponse' smart constructor.+data DeleteDataSourceResponse = DeleteDataSourceResponse'+ { -- | A user-supplied ID that uniquely identifies the @DataSource@. This value+ -- should be identical to the value of the @DataSourceID@ in the request.+ dataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteDataSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataSourceId', 'deleteDataSourceResponse_dataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@. This value+-- should be identical to the value of the @DataSourceID@ in the request.+--+-- 'httpStatus', 'deleteDataSourceResponse_httpStatus' - The response's http status code.+newDeleteDataSourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteDataSourceResponse+newDeleteDataSourceResponse pHttpStatus_ =+ DeleteDataSourceResponse'+ { dataSourceId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @DataSource@. This value+-- should be identical to the value of the @DataSourceID@ in the request.+deleteDataSourceResponse_dataSourceId :: Lens.Lens' DeleteDataSourceResponse (Prelude.Maybe Prelude.Text)+deleteDataSourceResponse_dataSourceId = Lens.lens (\DeleteDataSourceResponse' {dataSourceId} -> dataSourceId) (\s@DeleteDataSourceResponse' {} a -> s {dataSourceId = a} :: DeleteDataSourceResponse)++-- | The response's http status code.+deleteDataSourceResponse_httpStatus :: Lens.Lens' DeleteDataSourceResponse Prelude.Int+deleteDataSourceResponse_httpStatus = Lens.lens (\DeleteDataSourceResponse' {httpStatus} -> httpStatus) (\s@DeleteDataSourceResponse' {} a -> s {httpStatus = a} :: DeleteDataSourceResponse)++instance Prelude.NFData DeleteDataSourceResponse where+ rnf DeleteDataSourceResponse' {..} =+ Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DeleteEvaluation.hs view
@@ -0,0 +1,185 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DeleteEvaluation+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Assigns the @DELETED@ status to an @Evaluation@, rendering it unusable.+--+-- After invoking the @DeleteEvaluation@ operation, you can use the+-- @GetEvaluation@ operation to verify that the status of the @Evaluation@+-- changed to @DELETED@.+--+-- __Caution:__ The results of the @DeleteEvaluation@ operation are+-- irreversible.+module Amazonka.MachineLearning.DeleteEvaluation+ ( -- * Creating a Request+ DeleteEvaluation (..),+ newDeleteEvaluation,++ -- * Request Lenses+ deleteEvaluation_evaluationId,++ -- * Destructuring the Response+ DeleteEvaluationResponse (..),+ newDeleteEvaluationResponse,++ -- * Response Lenses+ deleteEvaluationResponse_evaluationId,+ deleteEvaluationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteEvaluation' smart constructor.+data DeleteEvaluation = DeleteEvaluation'+ { -- | A user-supplied ID that uniquely identifies the @Evaluation@ to delete.+ evaluationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteEvaluation' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'evaluationId', 'deleteEvaluation_evaluationId' - A user-supplied ID that uniquely identifies the @Evaluation@ to delete.+newDeleteEvaluation ::+ -- | 'evaluationId'+ Prelude.Text ->+ DeleteEvaluation+newDeleteEvaluation pEvaluationId_ =+ DeleteEvaluation' {evaluationId = pEvaluationId_}++-- | A user-supplied ID that uniquely identifies the @Evaluation@ to delete.+deleteEvaluation_evaluationId :: Lens.Lens' DeleteEvaluation Prelude.Text+deleteEvaluation_evaluationId = Lens.lens (\DeleteEvaluation' {evaluationId} -> evaluationId) (\s@DeleteEvaluation' {} a -> s {evaluationId = a} :: DeleteEvaluation)++instance Core.AWSRequest DeleteEvaluation where+ type+ AWSResponse DeleteEvaluation =+ DeleteEvaluationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteEvaluationResponse'+ Prelude.<$> (x Data..?> "EvaluationId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteEvaluation where+ hashWithSalt _salt DeleteEvaluation' {..} =+ _salt `Prelude.hashWithSalt` evaluationId++instance Prelude.NFData DeleteEvaluation where+ rnf DeleteEvaluation' {..} = Prelude.rnf evaluationId++instance Data.ToHeaders DeleteEvaluation where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DeleteEvaluation" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteEvaluation where+ toJSON DeleteEvaluation' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("EvaluationId" Data..= evaluationId)]+ )++instance Data.ToPath DeleteEvaluation where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteEvaluation where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @DeleteEvaluation@ operation. The output+-- indicates that Amazon Machine Learning (Amazon ML) received the request.+--+-- You can use the @GetEvaluation@ operation and check the value of the+-- @Status@ parameter to see whether an @Evaluation@ is marked as+-- @DELETED@.+--+-- /See:/ 'newDeleteEvaluationResponse' smart constructor.+data DeleteEvaluationResponse = DeleteEvaluationResponse'+ { -- | A user-supplied ID that uniquely identifies the @Evaluation@. This value+ -- should be identical to the value of the @EvaluationId@ in the request.+ evaluationId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteEvaluationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'evaluationId', 'deleteEvaluationResponse_evaluationId' - A user-supplied ID that uniquely identifies the @Evaluation@. This value+-- should be identical to the value of the @EvaluationId@ in the request.+--+-- 'httpStatus', 'deleteEvaluationResponse_httpStatus' - The response's http status code.+newDeleteEvaluationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteEvaluationResponse+newDeleteEvaluationResponse pHttpStatus_ =+ DeleteEvaluationResponse'+ { evaluationId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @Evaluation@. This value+-- should be identical to the value of the @EvaluationId@ in the request.+deleteEvaluationResponse_evaluationId :: Lens.Lens' DeleteEvaluationResponse (Prelude.Maybe Prelude.Text)+deleteEvaluationResponse_evaluationId = Lens.lens (\DeleteEvaluationResponse' {evaluationId} -> evaluationId) (\s@DeleteEvaluationResponse' {} a -> s {evaluationId = a} :: DeleteEvaluationResponse)++-- | The response's http status code.+deleteEvaluationResponse_httpStatus :: Lens.Lens' DeleteEvaluationResponse Prelude.Int+deleteEvaluationResponse_httpStatus = Lens.lens (\DeleteEvaluationResponse' {httpStatus} -> httpStatus) (\s@DeleteEvaluationResponse' {} a -> s {httpStatus = a} :: DeleteEvaluationResponse)++instance Prelude.NFData DeleteEvaluationResponse where+ rnf DeleteEvaluationResponse' {..} =+ Prelude.rnf evaluationId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DeleteMLModel.hs view
@@ -0,0 +1,181 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DeleteMLModel+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Assigns the @DELETED@ status to an @MLModel@, rendering it unusable.+--+-- After using the @DeleteMLModel@ operation, you can use the @GetMLModel@+-- operation to verify that the status of the @MLModel@ changed to DELETED.+--+-- __Caution:__ The result of the @DeleteMLModel@ operation is+-- irreversible.+module Amazonka.MachineLearning.DeleteMLModel+ ( -- * Creating a Request+ DeleteMLModel (..),+ newDeleteMLModel,++ -- * Request Lenses+ deleteMLModel_mLModelId,++ -- * Destructuring the Response+ DeleteMLModelResponse (..),+ newDeleteMLModelResponse,++ -- * Response Lenses+ deleteMLModelResponse_mLModelId,+ deleteMLModelResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteMLModel' smart constructor.+data DeleteMLModel = DeleteMLModel'+ { -- | A user-supplied ID that uniquely identifies the @MLModel@.+ mLModelId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMLModel' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'deleteMLModel_mLModelId' - A user-supplied ID that uniquely identifies the @MLModel@.+newDeleteMLModel ::+ -- | 'mLModelId'+ Prelude.Text ->+ DeleteMLModel+newDeleteMLModel pMLModelId_ =+ DeleteMLModel' {mLModelId = pMLModelId_}++-- | A user-supplied ID that uniquely identifies the @MLModel@.+deleteMLModel_mLModelId :: Lens.Lens' DeleteMLModel Prelude.Text+deleteMLModel_mLModelId = Lens.lens (\DeleteMLModel' {mLModelId} -> mLModelId) (\s@DeleteMLModel' {} a -> s {mLModelId = a} :: DeleteMLModel)++instance Core.AWSRequest DeleteMLModel where+ type+ AWSResponse DeleteMLModel =+ DeleteMLModelResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteMLModelResponse'+ Prelude.<$> (x Data..?> "MLModelId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteMLModel where+ hashWithSalt _salt DeleteMLModel' {..} =+ _salt `Prelude.hashWithSalt` mLModelId++instance Prelude.NFData DeleteMLModel where+ rnf DeleteMLModel' {..} = Prelude.rnf mLModelId++instance Data.ToHeaders DeleteMLModel where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DeleteMLModel" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteMLModel where+ toJSON DeleteMLModel' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("MLModelId" Data..= mLModelId)]+ )++instance Data.ToPath DeleteMLModel where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteMLModel where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @DeleteMLModel@ operation.+--+-- You can use the @GetMLModel@ operation and check the value of the+-- @Status@ parameter to see whether an @MLModel@ is marked as @DELETED@.+--+-- /See:/ 'newDeleteMLModelResponse' smart constructor.+data DeleteMLModelResponse = DeleteMLModelResponse'+ { -- | A user-supplied ID that uniquely identifies the @MLModel@. This value+ -- should be identical to the value of the @MLModelID@ in the request.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteMLModelResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'deleteMLModelResponse_mLModelId' - A user-supplied ID that uniquely identifies the @MLModel@. This value+-- should be identical to the value of the @MLModelID@ in the request.+--+-- 'httpStatus', 'deleteMLModelResponse_httpStatus' - The response's http status code.+newDeleteMLModelResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteMLModelResponse+newDeleteMLModelResponse pHttpStatus_ =+ DeleteMLModelResponse'+ { mLModelId = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @MLModel@. This value+-- should be identical to the value of the @MLModelID@ in the request.+deleteMLModelResponse_mLModelId :: Lens.Lens' DeleteMLModelResponse (Prelude.Maybe Prelude.Text)+deleteMLModelResponse_mLModelId = Lens.lens (\DeleteMLModelResponse' {mLModelId} -> mLModelId) (\s@DeleteMLModelResponse' {} a -> s {mLModelId = a} :: DeleteMLModelResponse)++-- | The response's http status code.+deleteMLModelResponse_httpStatus :: Lens.Lens' DeleteMLModelResponse Prelude.Int+deleteMLModelResponse_httpStatus = Lens.lens (\DeleteMLModelResponse' {httpStatus} -> httpStatus) (\s@DeleteMLModelResponse' {} a -> s {httpStatus = a} :: DeleteMLModelResponse)++instance Prelude.NFData DeleteMLModelResponse where+ rnf DeleteMLModelResponse' {..} =+ Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DeleteRealtimeEndpoint.hs view
@@ -0,0 +1,192 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DeleteRealtimeEndpoint+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a real time endpoint of an @MLModel@.+module Amazonka.MachineLearning.DeleteRealtimeEndpoint+ ( -- * Creating a Request+ DeleteRealtimeEndpoint (..),+ newDeleteRealtimeEndpoint,++ -- * Request Lenses+ deleteRealtimeEndpoint_mLModelId,++ -- * Destructuring the Response+ DeleteRealtimeEndpointResponse (..),+ newDeleteRealtimeEndpointResponse,++ -- * Response Lenses+ deleteRealtimeEndpointResponse_mLModelId,+ deleteRealtimeEndpointResponse_realtimeEndpointInfo,+ deleteRealtimeEndpointResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteRealtimeEndpoint' smart constructor.+data DeleteRealtimeEndpoint = DeleteRealtimeEndpoint'+ { -- | The ID assigned to the @MLModel@ during creation.+ mLModelId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteRealtimeEndpoint' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'deleteRealtimeEndpoint_mLModelId' - The ID assigned to the @MLModel@ during creation.+newDeleteRealtimeEndpoint ::+ -- | 'mLModelId'+ Prelude.Text ->+ DeleteRealtimeEndpoint+newDeleteRealtimeEndpoint pMLModelId_ =+ DeleteRealtimeEndpoint' {mLModelId = pMLModelId_}++-- | The ID assigned to the @MLModel@ during creation.+deleteRealtimeEndpoint_mLModelId :: Lens.Lens' DeleteRealtimeEndpoint Prelude.Text+deleteRealtimeEndpoint_mLModelId = Lens.lens (\DeleteRealtimeEndpoint' {mLModelId} -> mLModelId) (\s@DeleteRealtimeEndpoint' {} a -> s {mLModelId = a} :: DeleteRealtimeEndpoint)++instance Core.AWSRequest DeleteRealtimeEndpoint where+ type+ AWSResponse DeleteRealtimeEndpoint =+ DeleteRealtimeEndpointResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteRealtimeEndpointResponse'+ Prelude.<$> (x Data..?> "MLModelId")+ Prelude.<*> (x Data..?> "RealtimeEndpointInfo")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteRealtimeEndpoint where+ hashWithSalt _salt DeleteRealtimeEndpoint' {..} =+ _salt `Prelude.hashWithSalt` mLModelId++instance Prelude.NFData DeleteRealtimeEndpoint where+ rnf DeleteRealtimeEndpoint' {..} =+ Prelude.rnf mLModelId++instance Data.ToHeaders DeleteRealtimeEndpoint where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DeleteRealtimeEndpoint" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteRealtimeEndpoint where+ toJSON DeleteRealtimeEndpoint' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("MLModelId" Data..= mLModelId)]+ )++instance Data.ToPath DeleteRealtimeEndpoint where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteRealtimeEndpoint where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of an @DeleteRealtimeEndpoint@ operation.+--+-- The result contains the @MLModelId@ and the endpoint information for the+-- @MLModel@.+--+-- /See:/ 'newDeleteRealtimeEndpointResponse' smart constructor.+data DeleteRealtimeEndpointResponse = DeleteRealtimeEndpointResponse'+ { -- | A user-supplied ID that uniquely identifies the @MLModel@. This value+ -- should be identical to the value of the @MLModelId@ in the request.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | The endpoint information of the @MLModel@+ realtimeEndpointInfo :: Prelude.Maybe RealtimeEndpointInfo,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteRealtimeEndpointResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'deleteRealtimeEndpointResponse_mLModelId' - A user-supplied ID that uniquely identifies the @MLModel@. This value+-- should be identical to the value of the @MLModelId@ in the request.+--+-- 'realtimeEndpointInfo', 'deleteRealtimeEndpointResponse_realtimeEndpointInfo' - The endpoint information of the @MLModel@+--+-- 'httpStatus', 'deleteRealtimeEndpointResponse_httpStatus' - The response's http status code.+newDeleteRealtimeEndpointResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteRealtimeEndpointResponse+newDeleteRealtimeEndpointResponse pHttpStatus_ =+ DeleteRealtimeEndpointResponse'+ { mLModelId =+ Prelude.Nothing,+ realtimeEndpointInfo = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | A user-supplied ID that uniquely identifies the @MLModel@. This value+-- should be identical to the value of the @MLModelId@ in the request.+deleteRealtimeEndpointResponse_mLModelId :: Lens.Lens' DeleteRealtimeEndpointResponse (Prelude.Maybe Prelude.Text)+deleteRealtimeEndpointResponse_mLModelId = Lens.lens (\DeleteRealtimeEndpointResponse' {mLModelId} -> mLModelId) (\s@DeleteRealtimeEndpointResponse' {} a -> s {mLModelId = a} :: DeleteRealtimeEndpointResponse)++-- | The endpoint information of the @MLModel@+deleteRealtimeEndpointResponse_realtimeEndpointInfo :: Lens.Lens' DeleteRealtimeEndpointResponse (Prelude.Maybe RealtimeEndpointInfo)+deleteRealtimeEndpointResponse_realtimeEndpointInfo = Lens.lens (\DeleteRealtimeEndpointResponse' {realtimeEndpointInfo} -> realtimeEndpointInfo) (\s@DeleteRealtimeEndpointResponse' {} a -> s {realtimeEndpointInfo = a} :: DeleteRealtimeEndpointResponse)++-- | The response's http status code.+deleteRealtimeEndpointResponse_httpStatus :: Lens.Lens' DeleteRealtimeEndpointResponse Prelude.Int+deleteRealtimeEndpointResponse_httpStatus = Lens.lens (\DeleteRealtimeEndpointResponse' {httpStatus} -> httpStatus) (\s@DeleteRealtimeEndpointResponse' {} a -> s {httpStatus = a} :: DeleteRealtimeEndpointResponse)++instance+ Prelude.NFData+ DeleteRealtimeEndpointResponse+ where+ rnf DeleteRealtimeEndpointResponse' {..} =+ Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf realtimeEndpointInfo+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DeleteTags.hs view
@@ -0,0 +1,215 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DeleteTags+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified tags associated with an ML object. After this+-- operation is complete, you can\'t recover deleted tags.+--+-- If you specify a tag that doesn\'t exist, Amazon ML ignores it.+module Amazonka.MachineLearning.DeleteTags+ ( -- * Creating a Request+ DeleteTags (..),+ newDeleteTags,++ -- * Request Lenses+ deleteTags_tagKeys,+ deleteTags_resourceId,+ deleteTags_resourceType,++ -- * Destructuring the Response+ DeleteTagsResponse (..),+ newDeleteTagsResponse,++ -- * Response Lenses+ deleteTagsResponse_resourceId,+ deleteTagsResponse_resourceType,+ deleteTagsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteTags' smart constructor.+data DeleteTags = DeleteTags'+ { -- | One or more tags to delete.+ tagKeys :: [Prelude.Text],+ -- | The ID of the tagged ML object. For example, @exampleModelId@.+ resourceId :: Prelude.Text,+ -- | The type of the tagged ML object.+ resourceType :: TaggableResourceType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteTags' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tagKeys', 'deleteTags_tagKeys' - One or more tags to delete.+--+-- 'resourceId', 'deleteTags_resourceId' - The ID of the tagged ML object. For example, @exampleModelId@.+--+-- 'resourceType', 'deleteTags_resourceType' - The type of the tagged ML object.+newDeleteTags ::+ -- | 'resourceId'+ Prelude.Text ->+ -- | 'resourceType'+ TaggableResourceType ->+ DeleteTags+newDeleteTags pResourceId_ pResourceType_ =+ DeleteTags'+ { tagKeys = Prelude.mempty,+ resourceId = pResourceId_,+ resourceType = pResourceType_+ }++-- | One or more tags to delete.+deleteTags_tagKeys :: Lens.Lens' DeleteTags [Prelude.Text]+deleteTags_tagKeys = Lens.lens (\DeleteTags' {tagKeys} -> tagKeys) (\s@DeleteTags' {} a -> s {tagKeys = a} :: DeleteTags) Prelude.. Lens.coerced++-- | The ID of the tagged ML object. For example, @exampleModelId@.+deleteTags_resourceId :: Lens.Lens' DeleteTags Prelude.Text+deleteTags_resourceId = Lens.lens (\DeleteTags' {resourceId} -> resourceId) (\s@DeleteTags' {} a -> s {resourceId = a} :: DeleteTags)++-- | The type of the tagged ML object.+deleteTags_resourceType :: Lens.Lens' DeleteTags TaggableResourceType+deleteTags_resourceType = Lens.lens (\DeleteTags' {resourceType} -> resourceType) (\s@DeleteTags' {} a -> s {resourceType = a} :: DeleteTags)++instance Core.AWSRequest DeleteTags where+ type AWSResponse DeleteTags = DeleteTagsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DeleteTagsResponse'+ Prelude.<$> (x Data..?> "ResourceId")+ Prelude.<*> (x Data..?> "ResourceType")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DeleteTags where+ hashWithSalt _salt DeleteTags' {..} =+ _salt+ `Prelude.hashWithSalt` tagKeys+ `Prelude.hashWithSalt` resourceId+ `Prelude.hashWithSalt` resourceType++instance Prelude.NFData DeleteTags where+ rnf DeleteTags' {..} =+ Prelude.rnf tagKeys+ `Prelude.seq` Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf resourceType++instance Data.ToHeaders DeleteTags where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DeleteTags" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DeleteTags where+ toJSON DeleteTags' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("TagKeys" Data..= tagKeys),+ Prelude.Just ("ResourceId" Data..= resourceId),+ Prelude.Just ("ResourceType" Data..= resourceType)+ ]+ )++instance Data.ToPath DeleteTags where+ toPath = Prelude.const "/"++instance Data.ToQuery DeleteTags where+ toQuery = Prelude.const Prelude.mempty++-- | Amazon ML returns the following elements.+--+-- /See:/ 'newDeleteTagsResponse' smart constructor.+data DeleteTagsResponse = DeleteTagsResponse'+ { -- | The ID of the ML object from which tags were deleted.+ resourceId :: Prelude.Maybe Prelude.Text,+ -- | The type of the ML object from which tags were deleted.+ resourceType :: Prelude.Maybe TaggableResourceType,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteTagsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'deleteTagsResponse_resourceId' - The ID of the ML object from which tags were deleted.+--+-- 'resourceType', 'deleteTagsResponse_resourceType' - The type of the ML object from which tags were deleted.+--+-- 'httpStatus', 'deleteTagsResponse_httpStatus' - The response's http status code.+newDeleteTagsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DeleteTagsResponse+newDeleteTagsResponse pHttpStatus_ =+ DeleteTagsResponse'+ { resourceId = Prelude.Nothing,+ resourceType = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the ML object from which tags were deleted.+deleteTagsResponse_resourceId :: Lens.Lens' DeleteTagsResponse (Prelude.Maybe Prelude.Text)+deleteTagsResponse_resourceId = Lens.lens (\DeleteTagsResponse' {resourceId} -> resourceId) (\s@DeleteTagsResponse' {} a -> s {resourceId = a} :: DeleteTagsResponse)++-- | The type of the ML object from which tags were deleted.+deleteTagsResponse_resourceType :: Lens.Lens' DeleteTagsResponse (Prelude.Maybe TaggableResourceType)+deleteTagsResponse_resourceType = Lens.lens (\DeleteTagsResponse' {resourceType} -> resourceType) (\s@DeleteTagsResponse' {} a -> s {resourceType = a} :: DeleteTagsResponse)++-- | The response's http status code.+deleteTagsResponse_httpStatus :: Lens.Lens' DeleteTagsResponse Prelude.Int+deleteTagsResponse_httpStatus = Lens.lens (\DeleteTagsResponse' {httpStatus} -> httpStatus) (\s@DeleteTagsResponse' {} a -> s {httpStatus = a} :: DeleteTagsResponse)++instance Prelude.NFData DeleteTagsResponse where+ rnf DeleteTagsResponse' {..} =+ Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf resourceType+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DescribeBatchPredictions.hs view
@@ -0,0 +1,507 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DescribeBatchPredictions+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of @BatchPrediction@ operations that match the search+-- criteria in the request.+--+-- This operation returns paginated results.+module Amazonka.MachineLearning.DescribeBatchPredictions+ ( -- * Creating a Request+ DescribeBatchPredictions (..),+ newDescribeBatchPredictions,++ -- * Request Lenses+ describeBatchPredictions_eq,+ describeBatchPredictions_filterVariable,+ describeBatchPredictions_ge,+ describeBatchPredictions_gt,+ describeBatchPredictions_le,+ describeBatchPredictions_lt,+ describeBatchPredictions_limit,+ describeBatchPredictions_ne,+ describeBatchPredictions_nextToken,+ describeBatchPredictions_prefix,+ describeBatchPredictions_sortOrder,++ -- * Destructuring the Response+ DescribeBatchPredictionsResponse (..),+ newDescribeBatchPredictionsResponse,++ -- * Response Lenses+ describeBatchPredictionsResponse_nextToken,+ describeBatchPredictionsResponse_results,+ describeBatchPredictionsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeBatchPredictions' smart constructor.+data DescribeBatchPredictions = DescribeBatchPredictions'+ { -- | The equal to operator. The @BatchPrediction@ results will have+ -- @FilterVariable@ values that exactly match the value specified with+ -- @EQ@.+ eq :: Prelude.Maybe Prelude.Text,+ -- | Use one of the following variables to filter a list of+ -- @BatchPrediction@:+ --+ -- - @CreatedAt@ - Sets the search criteria to the @BatchPrediction@+ -- creation date.+ --+ -- - @Status@ - Sets the search criteria to the @BatchPrediction@ status.+ --+ -- - @Name@ - Sets the search criteria to the contents of the+ -- @BatchPrediction@ ____ @Name@.+ --+ -- - @IAMUser@ - Sets the search criteria to the user account that+ -- invoked the @BatchPrediction@ creation.+ --+ -- - @MLModelId@ - Sets the search criteria to the @MLModel@ used in the+ -- @BatchPrediction@.+ --+ -- - @DataSourceId@ - Sets the search criteria to the @DataSource@ used+ -- in the @BatchPrediction@.+ --+ -- - @DataURI@ - Sets the search criteria to the data file(s) used in the+ -- @BatchPrediction@. The URL can identify either a file or an Amazon+ -- Simple Storage Solution (Amazon S3) bucket or directory.+ filterVariable :: Prelude.Maybe BatchPredictionFilterVariable,+ -- | The greater than or equal to operator. The @BatchPrediction@ results+ -- will have @FilterVariable@ values that are greater than or equal to the+ -- value specified with @GE@.+ ge :: Prelude.Maybe Prelude.Text,+ -- | The greater than operator. The @BatchPrediction@ results will have+ -- @FilterVariable@ values that are greater than the value specified with+ -- @GT@.+ gt :: Prelude.Maybe Prelude.Text,+ -- | The less than or equal to operator. The @BatchPrediction@ results will+ -- have @FilterVariable@ values that are less than or equal to the value+ -- specified with @LE@.+ le :: Prelude.Maybe Prelude.Text,+ -- | The less than operator. The @BatchPrediction@ results will have+ -- @FilterVariable@ values that are less than the value specified with+ -- @LT@.+ lt :: Prelude.Maybe Prelude.Text,+ -- | The number of pages of information to include in the result. The range+ -- of acceptable values is @1@ through @100@. The default value is @100@.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The not equal to operator. The @BatchPrediction@ results will have+ -- @FilterVariable@ values not equal to the value specified with @NE@.+ ne :: Prelude.Maybe Prelude.Text,+ -- | An ID of the page in the paginated results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A string that is found at the beginning of a variable, such as @Name@ or+ -- @Id@.+ --+ -- For example, a @Batch Prediction@ operation could have the @Name@+ -- @2014-09-09-HolidayGiftMailer@. To search for this @BatchPrediction@,+ -- select @Name@ for the @FilterVariable@ and any of the following strings+ -- for the @Prefix@:+ --+ -- - 2014-09+ --+ -- - 2014-09-09+ --+ -- - 2014-09-09-Holiday+ prefix :: Prelude.Maybe Prelude.Text,+ -- | A two-value parameter that determines the sequence of the resulting list+ -- of @MLModel@s.+ --+ -- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+ --+ -- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+ --+ -- Results are sorted by @FilterVariable@.+ sortOrder :: Prelude.Maybe SortOrder+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeBatchPredictions' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eq', 'describeBatchPredictions_eq' - The equal to operator. The @BatchPrediction@ results will have+-- @FilterVariable@ values that exactly match the value specified with+-- @EQ@.+--+-- 'filterVariable', 'describeBatchPredictions_filterVariable' - Use one of the following variables to filter a list of+-- @BatchPrediction@:+--+-- - @CreatedAt@ - Sets the search criteria to the @BatchPrediction@+-- creation date.+--+-- - @Status@ - Sets the search criteria to the @BatchPrediction@ status.+--+-- - @Name@ - Sets the search criteria to the contents of the+-- @BatchPrediction@ ____ @Name@.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked the @BatchPrediction@ creation.+--+-- - @MLModelId@ - Sets the search criteria to the @MLModel@ used in the+-- @BatchPrediction@.+--+-- - @DataSourceId@ - Sets the search criteria to the @DataSource@ used+-- in the @BatchPrediction@.+--+-- - @DataURI@ - Sets the search criteria to the data file(s) used in the+-- @BatchPrediction@. The URL can identify either a file or an Amazon+-- Simple Storage Solution (Amazon S3) bucket or directory.+--+-- 'ge', 'describeBatchPredictions_ge' - The greater than or equal to operator. The @BatchPrediction@ results+-- will have @FilterVariable@ values that are greater than or equal to the+-- value specified with @GE@.+--+-- 'gt', 'describeBatchPredictions_gt' - The greater than operator. The @BatchPrediction@ results will have+-- @FilterVariable@ values that are greater than the value specified with+-- @GT@.+--+-- 'le', 'describeBatchPredictions_le' - The less than or equal to operator. The @BatchPrediction@ results will+-- have @FilterVariable@ values that are less than or equal to the value+-- specified with @LE@.+--+-- 'lt', 'describeBatchPredictions_lt' - The less than operator. The @BatchPrediction@ results will have+-- @FilterVariable@ values that are less than the value specified with+-- @LT@.+--+-- 'limit', 'describeBatchPredictions_limit' - The number of pages of information to include in the result. The range+-- of acceptable values is @1@ through @100@. The default value is @100@.+--+-- 'ne', 'describeBatchPredictions_ne' - The not equal to operator. The @BatchPrediction@ results will have+-- @FilterVariable@ values not equal to the value specified with @NE@.+--+-- 'nextToken', 'describeBatchPredictions_nextToken' - An ID of the page in the paginated results.+--+-- 'prefix', 'describeBatchPredictions_prefix' - A string that is found at the beginning of a variable, such as @Name@ or+-- @Id@.+--+-- For example, a @Batch Prediction@ operation could have the @Name@+-- @2014-09-09-HolidayGiftMailer@. To search for this @BatchPrediction@,+-- select @Name@ for the @FilterVariable@ and any of the following strings+-- for the @Prefix@:+--+-- - 2014-09+--+-- - 2014-09-09+--+-- - 2014-09-09-Holiday+--+-- 'sortOrder', 'describeBatchPredictions_sortOrder' - A two-value parameter that determines the sequence of the resulting list+-- of @MLModel@s.+--+-- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+--+-- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+--+-- Results are sorted by @FilterVariable@.+newDescribeBatchPredictions ::+ DescribeBatchPredictions+newDescribeBatchPredictions =+ DescribeBatchPredictions'+ { eq = Prelude.Nothing,+ filterVariable = Prelude.Nothing,+ ge = Prelude.Nothing,+ gt = Prelude.Nothing,+ le = Prelude.Nothing,+ lt = Prelude.Nothing,+ limit = Prelude.Nothing,+ ne = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ prefix = Prelude.Nothing,+ sortOrder = Prelude.Nothing+ }++-- | The equal to operator. The @BatchPrediction@ results will have+-- @FilterVariable@ values that exactly match the value specified with+-- @EQ@.+describeBatchPredictions_eq :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Text)+describeBatchPredictions_eq = Lens.lens (\DescribeBatchPredictions' {eq} -> eq) (\s@DescribeBatchPredictions' {} a -> s {eq = a} :: DescribeBatchPredictions)++-- | Use one of the following variables to filter a list of+-- @BatchPrediction@:+--+-- - @CreatedAt@ - Sets the search criteria to the @BatchPrediction@+-- creation date.+--+-- - @Status@ - Sets the search criteria to the @BatchPrediction@ status.+--+-- - @Name@ - Sets the search criteria to the contents of the+-- @BatchPrediction@ ____ @Name@.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked the @BatchPrediction@ creation.+--+-- - @MLModelId@ - Sets the search criteria to the @MLModel@ used in the+-- @BatchPrediction@.+--+-- - @DataSourceId@ - Sets the search criteria to the @DataSource@ used+-- in the @BatchPrediction@.+--+-- - @DataURI@ - Sets the search criteria to the data file(s) used in the+-- @BatchPrediction@. The URL can identify either a file or an Amazon+-- Simple Storage Solution (Amazon S3) bucket or directory.+describeBatchPredictions_filterVariable :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe BatchPredictionFilterVariable)+describeBatchPredictions_filterVariable = Lens.lens (\DescribeBatchPredictions' {filterVariable} -> filterVariable) (\s@DescribeBatchPredictions' {} a -> s {filterVariable = a} :: DescribeBatchPredictions)++-- | The greater than or equal to operator. The @BatchPrediction@ results+-- will have @FilterVariable@ values that are greater than or equal to the+-- value specified with @GE@.+describeBatchPredictions_ge :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Text)+describeBatchPredictions_ge = Lens.lens (\DescribeBatchPredictions' {ge} -> ge) (\s@DescribeBatchPredictions' {} a -> s {ge = a} :: DescribeBatchPredictions)++-- | The greater than operator. The @BatchPrediction@ results will have+-- @FilterVariable@ values that are greater than the value specified with+-- @GT@.+describeBatchPredictions_gt :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Text)+describeBatchPredictions_gt = Lens.lens (\DescribeBatchPredictions' {gt} -> gt) (\s@DescribeBatchPredictions' {} a -> s {gt = a} :: DescribeBatchPredictions)++-- | The less than or equal to operator. The @BatchPrediction@ results will+-- have @FilterVariable@ values that are less than or equal to the value+-- specified with @LE@.+describeBatchPredictions_le :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Text)+describeBatchPredictions_le = Lens.lens (\DescribeBatchPredictions' {le} -> le) (\s@DescribeBatchPredictions' {} a -> s {le = a} :: DescribeBatchPredictions)++-- | The less than operator. The @BatchPrediction@ results will have+-- @FilterVariable@ values that are less than the value specified with+-- @LT@.+describeBatchPredictions_lt :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Text)+describeBatchPredictions_lt = Lens.lens (\DescribeBatchPredictions' {lt} -> lt) (\s@DescribeBatchPredictions' {} a -> s {lt = a} :: DescribeBatchPredictions)++-- | The number of pages of information to include in the result. The range+-- of acceptable values is @1@ through @100@. The default value is @100@.+describeBatchPredictions_limit :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Natural)+describeBatchPredictions_limit = Lens.lens (\DescribeBatchPredictions' {limit} -> limit) (\s@DescribeBatchPredictions' {} a -> s {limit = a} :: DescribeBatchPredictions)++-- | The not equal to operator. The @BatchPrediction@ results will have+-- @FilterVariable@ values not equal to the value specified with @NE@.+describeBatchPredictions_ne :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Text)+describeBatchPredictions_ne = Lens.lens (\DescribeBatchPredictions' {ne} -> ne) (\s@DescribeBatchPredictions' {} a -> s {ne = a} :: DescribeBatchPredictions)++-- | An ID of the page in the paginated results.+describeBatchPredictions_nextToken :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Text)+describeBatchPredictions_nextToken = Lens.lens (\DescribeBatchPredictions' {nextToken} -> nextToken) (\s@DescribeBatchPredictions' {} a -> s {nextToken = a} :: DescribeBatchPredictions)++-- | A string that is found at the beginning of a variable, such as @Name@ or+-- @Id@.+--+-- For example, a @Batch Prediction@ operation could have the @Name@+-- @2014-09-09-HolidayGiftMailer@. To search for this @BatchPrediction@,+-- select @Name@ for the @FilterVariable@ and any of the following strings+-- for the @Prefix@:+--+-- - 2014-09+--+-- - 2014-09-09+--+-- - 2014-09-09-Holiday+describeBatchPredictions_prefix :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe Prelude.Text)+describeBatchPredictions_prefix = Lens.lens (\DescribeBatchPredictions' {prefix} -> prefix) (\s@DescribeBatchPredictions' {} a -> s {prefix = a} :: DescribeBatchPredictions)++-- | A two-value parameter that determines the sequence of the resulting list+-- of @MLModel@s.+--+-- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+--+-- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+--+-- Results are sorted by @FilterVariable@.+describeBatchPredictions_sortOrder :: Lens.Lens' DescribeBatchPredictions (Prelude.Maybe SortOrder)+describeBatchPredictions_sortOrder = Lens.lens (\DescribeBatchPredictions' {sortOrder} -> sortOrder) (\s@DescribeBatchPredictions' {} a -> s {sortOrder = a} :: DescribeBatchPredictions)++instance Core.AWSPager DescribeBatchPredictions where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeBatchPredictionsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeBatchPredictionsResponse_results+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeBatchPredictions_nextToken+ Lens..~ rs+ Lens.^? describeBatchPredictionsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeBatchPredictions where+ type+ AWSResponse DescribeBatchPredictions =+ DescribeBatchPredictionsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeBatchPredictionsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Results" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeBatchPredictions where+ hashWithSalt _salt DescribeBatchPredictions' {..} =+ _salt+ `Prelude.hashWithSalt` eq+ `Prelude.hashWithSalt` filterVariable+ `Prelude.hashWithSalt` ge+ `Prelude.hashWithSalt` gt+ `Prelude.hashWithSalt` le+ `Prelude.hashWithSalt` lt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` ne+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` prefix+ `Prelude.hashWithSalt` sortOrder++instance Prelude.NFData DescribeBatchPredictions where+ rnf DescribeBatchPredictions' {..} =+ Prelude.rnf eq+ `Prelude.seq` Prelude.rnf filterVariable+ `Prelude.seq` Prelude.rnf ge+ `Prelude.seq` Prelude.rnf gt+ `Prelude.seq` Prelude.rnf le+ `Prelude.seq` Prelude.rnf lt+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf ne+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf prefix+ `Prelude.seq` Prelude.rnf sortOrder++instance Data.ToHeaders DescribeBatchPredictions where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DescribeBatchPredictions" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeBatchPredictions where+ toJSON DescribeBatchPredictions' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EQ" Data..=) Prelude.<$> eq,+ ("FilterVariable" Data..=)+ Prelude.<$> filterVariable,+ ("GE" Data..=) Prelude.<$> ge,+ ("GT" Data..=) Prelude.<$> gt,+ ("LE" Data..=) Prelude.<$> le,+ ("LT" Data..=) Prelude.<$> lt,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NE" Data..=) Prelude.<$> ne,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("Prefix" Data..=) Prelude.<$> prefix,+ ("SortOrder" Data..=) Prelude.<$> sortOrder+ ]+ )++instance Data.ToPath DescribeBatchPredictions where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeBatchPredictions where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @DescribeBatchPredictions@ operation. The+-- content is essentially a list of @BatchPrediction@s.+--+-- /See:/ 'newDescribeBatchPredictionsResponse' smart constructor.+data DescribeBatchPredictionsResponse = DescribeBatchPredictionsResponse'+ { -- | The ID of the next page in the paginated results that indicates at least+ -- one more page follows.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A list of @BatchPrediction@ objects that meet the search criteria.+ results :: Prelude.Maybe [BatchPrediction],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeBatchPredictionsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeBatchPredictionsResponse_nextToken' - The ID of the next page in the paginated results that indicates at least+-- one more page follows.+--+-- 'results', 'describeBatchPredictionsResponse_results' - A list of @BatchPrediction@ objects that meet the search criteria.+--+-- 'httpStatus', 'describeBatchPredictionsResponse_httpStatus' - The response's http status code.+newDescribeBatchPredictionsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeBatchPredictionsResponse+newDescribeBatchPredictionsResponse pHttpStatus_ =+ DescribeBatchPredictionsResponse'+ { nextToken =+ Prelude.Nothing,+ results = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the next page in the paginated results that indicates at least+-- one more page follows.+describeBatchPredictionsResponse_nextToken :: Lens.Lens' DescribeBatchPredictionsResponse (Prelude.Maybe Prelude.Text)+describeBatchPredictionsResponse_nextToken = Lens.lens (\DescribeBatchPredictionsResponse' {nextToken} -> nextToken) (\s@DescribeBatchPredictionsResponse' {} a -> s {nextToken = a} :: DescribeBatchPredictionsResponse)++-- | A list of @BatchPrediction@ objects that meet the search criteria.+describeBatchPredictionsResponse_results :: Lens.Lens' DescribeBatchPredictionsResponse (Prelude.Maybe [BatchPrediction])+describeBatchPredictionsResponse_results = Lens.lens (\DescribeBatchPredictionsResponse' {results} -> results) (\s@DescribeBatchPredictionsResponse' {} a -> s {results = a} :: DescribeBatchPredictionsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeBatchPredictionsResponse_httpStatus :: Lens.Lens' DescribeBatchPredictionsResponse Prelude.Int+describeBatchPredictionsResponse_httpStatus = Lens.lens (\DescribeBatchPredictionsResponse' {httpStatus} -> httpStatus) (\s@DescribeBatchPredictionsResponse' {} a -> s {httpStatus = a} :: DescribeBatchPredictionsResponse)++instance+ Prelude.NFData+ DescribeBatchPredictionsResponse+ where+ rnf DescribeBatchPredictionsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf results+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DescribeDataSources.hs view
@@ -0,0 +1,480 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DescribeDataSources+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of @DataSource@ that match the search criteria in the+-- request.+--+-- This operation returns paginated results.+module Amazonka.MachineLearning.DescribeDataSources+ ( -- * Creating a Request+ DescribeDataSources (..),+ newDescribeDataSources,++ -- * Request Lenses+ describeDataSources_eq,+ describeDataSources_filterVariable,+ describeDataSources_ge,+ describeDataSources_gt,+ describeDataSources_le,+ describeDataSources_lt,+ describeDataSources_limit,+ describeDataSources_ne,+ describeDataSources_nextToken,+ describeDataSources_prefix,+ describeDataSources_sortOrder,++ -- * Destructuring the Response+ DescribeDataSourcesResponse (..),+ newDescribeDataSourcesResponse,++ -- * Response Lenses+ describeDataSourcesResponse_nextToken,+ describeDataSourcesResponse_results,+ describeDataSourcesResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeDataSources' smart constructor.+data DescribeDataSources = DescribeDataSources'+ { -- | The equal to operator. The @DataSource@ results will have+ -- @FilterVariable@ values that exactly match the value specified with+ -- @EQ@.+ eq :: Prelude.Maybe Prelude.Text,+ -- | Use one of the following variables to filter a list of @DataSource@:+ --+ -- - @CreatedAt@ - Sets the search criteria to @DataSource@ creation+ -- dates.+ --+ -- - @Status@ - Sets the search criteria to @DataSource@ statuses.+ --+ -- - @Name@ - Sets the search criteria to the contents of @DataSource@+ -- @Name@.+ --+ -- - @DataUri@ - Sets the search criteria to the URI of data files used+ -- to create the @DataSource@. The URI can identify either a file or an+ -- Amazon Simple Storage Service (Amazon S3) bucket or directory.+ --+ -- - @IAMUser@ - Sets the search criteria to the user account that+ -- invoked the @DataSource@ creation.+ filterVariable :: Prelude.Maybe DataSourceFilterVariable,+ -- | The greater than or equal to operator. The @DataSource@ results will+ -- have @FilterVariable@ values that are greater than or equal to the value+ -- specified with @GE@.+ ge :: Prelude.Maybe Prelude.Text,+ -- | The greater than operator. The @DataSource@ results will have+ -- @FilterVariable@ values that are greater than the value specified with+ -- @GT@.+ gt :: Prelude.Maybe Prelude.Text,+ -- | The less than or equal to operator. The @DataSource@ results will have+ -- @FilterVariable@ values that are less than or equal to the value+ -- specified with @LE@.+ le :: Prelude.Maybe Prelude.Text,+ -- | The less than operator. The @DataSource@ results will have+ -- @FilterVariable@ values that are less than the value specified with+ -- @LT@.+ lt :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of @DataSource@ to include in the result.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The not equal to operator. The @DataSource@ results will have+ -- @FilterVariable@ values not equal to the value specified with @NE@.+ ne :: Prelude.Maybe Prelude.Text,+ -- | The ID of the page in the paginated results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A string that is found at the beginning of a variable, such as @Name@ or+ -- @Id@.+ --+ -- For example, a @DataSource@ could have the @Name@+ -- @2014-09-09-HolidayGiftMailer@. To search for this @DataSource@, select+ -- @Name@ for the @FilterVariable@ and any of the following strings for the+ -- @Prefix@:+ --+ -- - 2014-09+ --+ -- - 2014-09-09+ --+ -- - 2014-09-09-Holiday+ prefix :: Prelude.Maybe Prelude.Text,+ -- | A two-value parameter that determines the sequence of the resulting list+ -- of @DataSource@.+ --+ -- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+ --+ -- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+ --+ -- Results are sorted by @FilterVariable@.+ sortOrder :: Prelude.Maybe SortOrder+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeDataSources' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eq', 'describeDataSources_eq' - The equal to operator. The @DataSource@ results will have+-- @FilterVariable@ values that exactly match the value specified with+-- @EQ@.+--+-- 'filterVariable', 'describeDataSources_filterVariable' - Use one of the following variables to filter a list of @DataSource@:+--+-- - @CreatedAt@ - Sets the search criteria to @DataSource@ creation+-- dates.+--+-- - @Status@ - Sets the search criteria to @DataSource@ statuses.+--+-- - @Name@ - Sets the search criteria to the contents of @DataSource@+-- @Name@.+--+-- - @DataUri@ - Sets the search criteria to the URI of data files used+-- to create the @DataSource@. The URI can identify either a file or an+-- Amazon Simple Storage Service (Amazon S3) bucket or directory.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked the @DataSource@ creation.+--+-- 'ge', 'describeDataSources_ge' - The greater than or equal to operator. The @DataSource@ results will+-- have @FilterVariable@ values that are greater than or equal to the value+-- specified with @GE@.+--+-- 'gt', 'describeDataSources_gt' - The greater than operator. The @DataSource@ results will have+-- @FilterVariable@ values that are greater than the value specified with+-- @GT@.+--+-- 'le', 'describeDataSources_le' - The less than or equal to operator. The @DataSource@ results will have+-- @FilterVariable@ values that are less than or equal to the value+-- specified with @LE@.+--+-- 'lt', 'describeDataSources_lt' - The less than operator. The @DataSource@ results will have+-- @FilterVariable@ values that are less than the value specified with+-- @LT@.+--+-- 'limit', 'describeDataSources_limit' - The maximum number of @DataSource@ to include in the result.+--+-- 'ne', 'describeDataSources_ne' - The not equal to operator. The @DataSource@ results will have+-- @FilterVariable@ values not equal to the value specified with @NE@.+--+-- 'nextToken', 'describeDataSources_nextToken' - The ID of the page in the paginated results.+--+-- 'prefix', 'describeDataSources_prefix' - A string that is found at the beginning of a variable, such as @Name@ or+-- @Id@.+--+-- For example, a @DataSource@ could have the @Name@+-- @2014-09-09-HolidayGiftMailer@. To search for this @DataSource@, select+-- @Name@ for the @FilterVariable@ and any of the following strings for the+-- @Prefix@:+--+-- - 2014-09+--+-- - 2014-09-09+--+-- - 2014-09-09-Holiday+--+-- 'sortOrder', 'describeDataSources_sortOrder' - A two-value parameter that determines the sequence of the resulting list+-- of @DataSource@.+--+-- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+--+-- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+--+-- Results are sorted by @FilterVariable@.+newDescribeDataSources ::+ DescribeDataSources+newDescribeDataSources =+ DescribeDataSources'+ { eq = Prelude.Nothing,+ filterVariable = Prelude.Nothing,+ ge = Prelude.Nothing,+ gt = Prelude.Nothing,+ le = Prelude.Nothing,+ lt = Prelude.Nothing,+ limit = Prelude.Nothing,+ ne = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ prefix = Prelude.Nothing,+ sortOrder = Prelude.Nothing+ }++-- | The equal to operator. The @DataSource@ results will have+-- @FilterVariable@ values that exactly match the value specified with+-- @EQ@.+describeDataSources_eq :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Text)+describeDataSources_eq = Lens.lens (\DescribeDataSources' {eq} -> eq) (\s@DescribeDataSources' {} a -> s {eq = a} :: DescribeDataSources)++-- | Use one of the following variables to filter a list of @DataSource@:+--+-- - @CreatedAt@ - Sets the search criteria to @DataSource@ creation+-- dates.+--+-- - @Status@ - Sets the search criteria to @DataSource@ statuses.+--+-- - @Name@ - Sets the search criteria to the contents of @DataSource@+-- @Name@.+--+-- - @DataUri@ - Sets the search criteria to the URI of data files used+-- to create the @DataSource@. The URI can identify either a file or an+-- Amazon Simple Storage Service (Amazon S3) bucket or directory.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked the @DataSource@ creation.+describeDataSources_filterVariable :: Lens.Lens' DescribeDataSources (Prelude.Maybe DataSourceFilterVariable)+describeDataSources_filterVariable = Lens.lens (\DescribeDataSources' {filterVariable} -> filterVariable) (\s@DescribeDataSources' {} a -> s {filterVariable = a} :: DescribeDataSources)++-- | The greater than or equal to operator. The @DataSource@ results will+-- have @FilterVariable@ values that are greater than or equal to the value+-- specified with @GE@.+describeDataSources_ge :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Text)+describeDataSources_ge = Lens.lens (\DescribeDataSources' {ge} -> ge) (\s@DescribeDataSources' {} a -> s {ge = a} :: DescribeDataSources)++-- | The greater than operator. The @DataSource@ results will have+-- @FilterVariable@ values that are greater than the value specified with+-- @GT@.+describeDataSources_gt :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Text)+describeDataSources_gt = Lens.lens (\DescribeDataSources' {gt} -> gt) (\s@DescribeDataSources' {} a -> s {gt = a} :: DescribeDataSources)++-- | The less than or equal to operator. The @DataSource@ results will have+-- @FilterVariable@ values that are less than or equal to the value+-- specified with @LE@.+describeDataSources_le :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Text)+describeDataSources_le = Lens.lens (\DescribeDataSources' {le} -> le) (\s@DescribeDataSources' {} a -> s {le = a} :: DescribeDataSources)++-- | The less than operator. The @DataSource@ results will have+-- @FilterVariable@ values that are less than the value specified with+-- @LT@.+describeDataSources_lt :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Text)+describeDataSources_lt = Lens.lens (\DescribeDataSources' {lt} -> lt) (\s@DescribeDataSources' {} a -> s {lt = a} :: DescribeDataSources)++-- | The maximum number of @DataSource@ to include in the result.+describeDataSources_limit :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Natural)+describeDataSources_limit = Lens.lens (\DescribeDataSources' {limit} -> limit) (\s@DescribeDataSources' {} a -> s {limit = a} :: DescribeDataSources)++-- | The not equal to operator. The @DataSource@ results will have+-- @FilterVariable@ values not equal to the value specified with @NE@.+describeDataSources_ne :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Text)+describeDataSources_ne = Lens.lens (\DescribeDataSources' {ne} -> ne) (\s@DescribeDataSources' {} a -> s {ne = a} :: DescribeDataSources)++-- | The ID of the page in the paginated results.+describeDataSources_nextToken :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Text)+describeDataSources_nextToken = Lens.lens (\DescribeDataSources' {nextToken} -> nextToken) (\s@DescribeDataSources' {} a -> s {nextToken = a} :: DescribeDataSources)++-- | A string that is found at the beginning of a variable, such as @Name@ or+-- @Id@.+--+-- For example, a @DataSource@ could have the @Name@+-- @2014-09-09-HolidayGiftMailer@. To search for this @DataSource@, select+-- @Name@ for the @FilterVariable@ and any of the following strings for the+-- @Prefix@:+--+-- - 2014-09+--+-- - 2014-09-09+--+-- - 2014-09-09-Holiday+describeDataSources_prefix :: Lens.Lens' DescribeDataSources (Prelude.Maybe Prelude.Text)+describeDataSources_prefix = Lens.lens (\DescribeDataSources' {prefix} -> prefix) (\s@DescribeDataSources' {} a -> s {prefix = a} :: DescribeDataSources)++-- | A two-value parameter that determines the sequence of the resulting list+-- of @DataSource@.+--+-- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+--+-- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+--+-- Results are sorted by @FilterVariable@.+describeDataSources_sortOrder :: Lens.Lens' DescribeDataSources (Prelude.Maybe SortOrder)+describeDataSources_sortOrder = Lens.lens (\DescribeDataSources' {sortOrder} -> sortOrder) (\s@DescribeDataSources' {} a -> s {sortOrder = a} :: DescribeDataSources)++instance Core.AWSPager DescribeDataSources where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeDataSourcesResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeDataSourcesResponse_results+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeDataSources_nextToken+ Lens..~ rs+ Lens.^? describeDataSourcesResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeDataSources where+ type+ AWSResponse DescribeDataSources =+ DescribeDataSourcesResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeDataSourcesResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Results" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeDataSources where+ hashWithSalt _salt DescribeDataSources' {..} =+ _salt+ `Prelude.hashWithSalt` eq+ `Prelude.hashWithSalt` filterVariable+ `Prelude.hashWithSalt` ge+ `Prelude.hashWithSalt` gt+ `Prelude.hashWithSalt` le+ `Prelude.hashWithSalt` lt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` ne+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` prefix+ `Prelude.hashWithSalt` sortOrder++instance Prelude.NFData DescribeDataSources where+ rnf DescribeDataSources' {..} =+ Prelude.rnf eq+ `Prelude.seq` Prelude.rnf filterVariable+ `Prelude.seq` Prelude.rnf ge+ `Prelude.seq` Prelude.rnf gt+ `Prelude.seq` Prelude.rnf le+ `Prelude.seq` Prelude.rnf lt+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf ne+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf prefix+ `Prelude.seq` Prelude.rnf sortOrder++instance Data.ToHeaders DescribeDataSources where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DescribeDataSources" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeDataSources where+ toJSON DescribeDataSources' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EQ" Data..=) Prelude.<$> eq,+ ("FilterVariable" Data..=)+ Prelude.<$> filterVariable,+ ("GE" Data..=) Prelude.<$> ge,+ ("GT" Data..=) Prelude.<$> gt,+ ("LE" Data..=) Prelude.<$> le,+ ("LT" Data..=) Prelude.<$> lt,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NE" Data..=) Prelude.<$> ne,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("Prefix" Data..=) Prelude.<$> prefix,+ ("SortOrder" Data..=) Prelude.<$> sortOrder+ ]+ )++instance Data.ToPath DescribeDataSources where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeDataSources where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the query results from a DescribeDataSources operation. The+-- content is essentially a list of @DataSource@.+--+-- /See:/ 'newDescribeDataSourcesResponse' smart constructor.+data DescribeDataSourcesResponse = DescribeDataSourcesResponse'+ { -- | An ID of the next page in the paginated results that indicates at least+ -- one more page follows.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A list of @DataSource@ that meet the search criteria.+ results :: Prelude.Maybe [DataSource],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeDataSourcesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeDataSourcesResponse_nextToken' - An ID of the next page in the paginated results that indicates at least+-- one more page follows.+--+-- 'results', 'describeDataSourcesResponse_results' - A list of @DataSource@ that meet the search criteria.+--+-- 'httpStatus', 'describeDataSourcesResponse_httpStatus' - The response's http status code.+newDescribeDataSourcesResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeDataSourcesResponse+newDescribeDataSourcesResponse pHttpStatus_ =+ DescribeDataSourcesResponse'+ { nextToken =+ Prelude.Nothing,+ results = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | An ID of the next page in the paginated results that indicates at least+-- one more page follows.+describeDataSourcesResponse_nextToken :: Lens.Lens' DescribeDataSourcesResponse (Prelude.Maybe Prelude.Text)+describeDataSourcesResponse_nextToken = Lens.lens (\DescribeDataSourcesResponse' {nextToken} -> nextToken) (\s@DescribeDataSourcesResponse' {} a -> s {nextToken = a} :: DescribeDataSourcesResponse)++-- | A list of @DataSource@ that meet the search criteria.+describeDataSourcesResponse_results :: Lens.Lens' DescribeDataSourcesResponse (Prelude.Maybe [DataSource])+describeDataSourcesResponse_results = Lens.lens (\DescribeDataSourcesResponse' {results} -> results) (\s@DescribeDataSourcesResponse' {} a -> s {results = a} :: DescribeDataSourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeDataSourcesResponse_httpStatus :: Lens.Lens' DescribeDataSourcesResponse Prelude.Int+describeDataSourcesResponse_httpStatus = Lens.lens (\DescribeDataSourcesResponse' {httpStatus} -> httpStatus) (\s@DescribeDataSourcesResponse' {} a -> s {httpStatus = a} :: DescribeDataSourcesResponse)++instance Prelude.NFData DescribeDataSourcesResponse where+ rnf DescribeDataSourcesResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf results+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DescribeEvaluations.hs view
@@ -0,0 +1,501 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DescribeEvaluations+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of @DescribeEvaluations@ that match the search criteria+-- in the request.+--+-- This operation returns paginated results.+module Amazonka.MachineLearning.DescribeEvaluations+ ( -- * Creating a Request+ DescribeEvaluations (..),+ newDescribeEvaluations,++ -- * Request Lenses+ describeEvaluations_eq,+ describeEvaluations_filterVariable,+ describeEvaluations_ge,+ describeEvaluations_gt,+ describeEvaluations_le,+ describeEvaluations_lt,+ describeEvaluations_limit,+ describeEvaluations_ne,+ describeEvaluations_nextToken,+ describeEvaluations_prefix,+ describeEvaluations_sortOrder,++ -- * Destructuring the Response+ DescribeEvaluationsResponse (..),+ newDescribeEvaluationsResponse,++ -- * Response Lenses+ describeEvaluationsResponse_nextToken,+ describeEvaluationsResponse_results,+ describeEvaluationsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeEvaluations' smart constructor.+data DescribeEvaluations = DescribeEvaluations'+ { -- | The equal to operator. The @Evaluation@ results will have+ -- @FilterVariable@ values that exactly match the value specified with+ -- @EQ@.+ eq :: Prelude.Maybe Prelude.Text,+ -- | Use one of the following variable to filter a list of @Evaluation@+ -- objects:+ --+ -- - @CreatedAt@ - Sets the search criteria to the @Evaluation@ creation+ -- date.+ --+ -- - @Status@ - Sets the search criteria to the @Evaluation@ status.+ --+ -- - @Name@ - Sets the search criteria to the contents of @Evaluation@+ -- ____ @Name@.+ --+ -- - @IAMUser@ - Sets the search criteria to the user account that+ -- invoked an @Evaluation@.+ --+ -- - @MLModelId@ - Sets the search criteria to the @MLModel@ that was+ -- evaluated.+ --+ -- - @DataSourceId@ - Sets the search criteria to the @DataSource@ used+ -- in @Evaluation@.+ --+ -- - @DataUri@ - Sets the search criteria to the data file(s) used in+ -- @Evaluation@. The URL can identify either a file or an Amazon Simple+ -- Storage Solution (Amazon S3) bucket or directory.+ filterVariable :: Prelude.Maybe EvaluationFilterVariable,+ -- | The greater than or equal to operator. The @Evaluation@ results will+ -- have @FilterVariable@ values that are greater than or equal to the value+ -- specified with @GE@.+ ge :: Prelude.Maybe Prelude.Text,+ -- | The greater than operator. The @Evaluation@ results will have+ -- @FilterVariable@ values that are greater than the value specified with+ -- @GT@.+ gt :: Prelude.Maybe Prelude.Text,+ -- | The less than or equal to operator. The @Evaluation@ results will have+ -- @FilterVariable@ values that are less than or equal to the value+ -- specified with @LE@.+ le :: Prelude.Maybe Prelude.Text,+ -- | The less than operator. The @Evaluation@ results will have+ -- @FilterVariable@ values that are less than the value specified with+ -- @LT@.+ lt :: Prelude.Maybe Prelude.Text,+ -- | The maximum number of @Evaluation@ to include in the result.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The not equal to operator. The @Evaluation@ results will have+ -- @FilterVariable@ values not equal to the value specified with @NE@.+ ne :: Prelude.Maybe Prelude.Text,+ -- | The ID of the page in the paginated results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A string that is found at the beginning of a variable, such as @Name@ or+ -- @Id@.+ --+ -- For example, an @Evaluation@ could have the @Name@+ -- @2014-09-09-HolidayGiftMailer@. To search for this @Evaluation@, select+ -- @Name@ for the @FilterVariable@ and any of the following strings for the+ -- @Prefix@:+ --+ -- - 2014-09+ --+ -- - 2014-09-09+ --+ -- - 2014-09-09-Holiday+ prefix :: Prelude.Maybe Prelude.Text,+ -- | A two-value parameter that determines the sequence of the resulting list+ -- of @Evaluation@.+ --+ -- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+ --+ -- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+ --+ -- Results are sorted by @FilterVariable@.+ sortOrder :: Prelude.Maybe SortOrder+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEvaluations' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eq', 'describeEvaluations_eq' - The equal to operator. The @Evaluation@ results will have+-- @FilterVariable@ values that exactly match the value specified with+-- @EQ@.+--+-- 'filterVariable', 'describeEvaluations_filterVariable' - Use one of the following variable to filter a list of @Evaluation@+-- objects:+--+-- - @CreatedAt@ - Sets the search criteria to the @Evaluation@ creation+-- date.+--+-- - @Status@ - Sets the search criteria to the @Evaluation@ status.+--+-- - @Name@ - Sets the search criteria to the contents of @Evaluation@+-- ____ @Name@.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked an @Evaluation@.+--+-- - @MLModelId@ - Sets the search criteria to the @MLModel@ that was+-- evaluated.+--+-- - @DataSourceId@ - Sets the search criteria to the @DataSource@ used+-- in @Evaluation@.+--+-- - @DataUri@ - Sets the search criteria to the data file(s) used in+-- @Evaluation@. The URL can identify either a file or an Amazon Simple+-- Storage Solution (Amazon S3) bucket or directory.+--+-- 'ge', 'describeEvaluations_ge' - The greater than or equal to operator. The @Evaluation@ results will+-- have @FilterVariable@ values that are greater than or equal to the value+-- specified with @GE@.+--+-- 'gt', 'describeEvaluations_gt' - The greater than operator. The @Evaluation@ results will have+-- @FilterVariable@ values that are greater than the value specified with+-- @GT@.+--+-- 'le', 'describeEvaluations_le' - The less than or equal to operator. The @Evaluation@ results will have+-- @FilterVariable@ values that are less than or equal to the value+-- specified with @LE@.+--+-- 'lt', 'describeEvaluations_lt' - The less than operator. The @Evaluation@ results will have+-- @FilterVariable@ values that are less than the value specified with+-- @LT@.+--+-- 'limit', 'describeEvaluations_limit' - The maximum number of @Evaluation@ to include in the result.+--+-- 'ne', 'describeEvaluations_ne' - The not equal to operator. The @Evaluation@ results will have+-- @FilterVariable@ values not equal to the value specified with @NE@.+--+-- 'nextToken', 'describeEvaluations_nextToken' - The ID of the page in the paginated results.+--+-- 'prefix', 'describeEvaluations_prefix' - A string that is found at the beginning of a variable, such as @Name@ or+-- @Id@.+--+-- For example, an @Evaluation@ could have the @Name@+-- @2014-09-09-HolidayGiftMailer@. To search for this @Evaluation@, select+-- @Name@ for the @FilterVariable@ and any of the following strings for the+-- @Prefix@:+--+-- - 2014-09+--+-- - 2014-09-09+--+-- - 2014-09-09-Holiday+--+-- 'sortOrder', 'describeEvaluations_sortOrder' - A two-value parameter that determines the sequence of the resulting list+-- of @Evaluation@.+--+-- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+--+-- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+--+-- Results are sorted by @FilterVariable@.+newDescribeEvaluations ::+ DescribeEvaluations+newDescribeEvaluations =+ DescribeEvaluations'+ { eq = Prelude.Nothing,+ filterVariable = Prelude.Nothing,+ ge = Prelude.Nothing,+ gt = Prelude.Nothing,+ le = Prelude.Nothing,+ lt = Prelude.Nothing,+ limit = Prelude.Nothing,+ ne = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ prefix = Prelude.Nothing,+ sortOrder = Prelude.Nothing+ }++-- | The equal to operator. The @Evaluation@ results will have+-- @FilterVariable@ values that exactly match the value specified with+-- @EQ@.+describeEvaluations_eq :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Text)+describeEvaluations_eq = Lens.lens (\DescribeEvaluations' {eq} -> eq) (\s@DescribeEvaluations' {} a -> s {eq = a} :: DescribeEvaluations)++-- | Use one of the following variable to filter a list of @Evaluation@+-- objects:+--+-- - @CreatedAt@ - Sets the search criteria to the @Evaluation@ creation+-- date.+--+-- - @Status@ - Sets the search criteria to the @Evaluation@ status.+--+-- - @Name@ - Sets the search criteria to the contents of @Evaluation@+-- ____ @Name@.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked an @Evaluation@.+--+-- - @MLModelId@ - Sets the search criteria to the @MLModel@ that was+-- evaluated.+--+-- - @DataSourceId@ - Sets the search criteria to the @DataSource@ used+-- in @Evaluation@.+--+-- - @DataUri@ - Sets the search criteria to the data file(s) used in+-- @Evaluation@. The URL can identify either a file or an Amazon Simple+-- Storage Solution (Amazon S3) bucket or directory.+describeEvaluations_filterVariable :: Lens.Lens' DescribeEvaluations (Prelude.Maybe EvaluationFilterVariable)+describeEvaluations_filterVariable = Lens.lens (\DescribeEvaluations' {filterVariable} -> filterVariable) (\s@DescribeEvaluations' {} a -> s {filterVariable = a} :: DescribeEvaluations)++-- | The greater than or equal to operator. The @Evaluation@ results will+-- have @FilterVariable@ values that are greater than or equal to the value+-- specified with @GE@.+describeEvaluations_ge :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Text)+describeEvaluations_ge = Lens.lens (\DescribeEvaluations' {ge} -> ge) (\s@DescribeEvaluations' {} a -> s {ge = a} :: DescribeEvaluations)++-- | The greater than operator. The @Evaluation@ results will have+-- @FilterVariable@ values that are greater than the value specified with+-- @GT@.+describeEvaluations_gt :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Text)+describeEvaluations_gt = Lens.lens (\DescribeEvaluations' {gt} -> gt) (\s@DescribeEvaluations' {} a -> s {gt = a} :: DescribeEvaluations)++-- | The less than or equal to operator. The @Evaluation@ results will have+-- @FilterVariable@ values that are less than or equal to the value+-- specified with @LE@.+describeEvaluations_le :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Text)+describeEvaluations_le = Lens.lens (\DescribeEvaluations' {le} -> le) (\s@DescribeEvaluations' {} a -> s {le = a} :: DescribeEvaluations)++-- | The less than operator. The @Evaluation@ results will have+-- @FilterVariable@ values that are less than the value specified with+-- @LT@.+describeEvaluations_lt :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Text)+describeEvaluations_lt = Lens.lens (\DescribeEvaluations' {lt} -> lt) (\s@DescribeEvaluations' {} a -> s {lt = a} :: DescribeEvaluations)++-- | The maximum number of @Evaluation@ to include in the result.+describeEvaluations_limit :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Natural)+describeEvaluations_limit = Lens.lens (\DescribeEvaluations' {limit} -> limit) (\s@DescribeEvaluations' {} a -> s {limit = a} :: DescribeEvaluations)++-- | The not equal to operator. The @Evaluation@ results will have+-- @FilterVariable@ values not equal to the value specified with @NE@.+describeEvaluations_ne :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Text)+describeEvaluations_ne = Lens.lens (\DescribeEvaluations' {ne} -> ne) (\s@DescribeEvaluations' {} a -> s {ne = a} :: DescribeEvaluations)++-- | The ID of the page in the paginated results.+describeEvaluations_nextToken :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Text)+describeEvaluations_nextToken = Lens.lens (\DescribeEvaluations' {nextToken} -> nextToken) (\s@DescribeEvaluations' {} a -> s {nextToken = a} :: DescribeEvaluations)++-- | A string that is found at the beginning of a variable, such as @Name@ or+-- @Id@.+--+-- For example, an @Evaluation@ could have the @Name@+-- @2014-09-09-HolidayGiftMailer@. To search for this @Evaluation@, select+-- @Name@ for the @FilterVariable@ and any of the following strings for the+-- @Prefix@:+--+-- - 2014-09+--+-- - 2014-09-09+--+-- - 2014-09-09-Holiday+describeEvaluations_prefix :: Lens.Lens' DescribeEvaluations (Prelude.Maybe Prelude.Text)+describeEvaluations_prefix = Lens.lens (\DescribeEvaluations' {prefix} -> prefix) (\s@DescribeEvaluations' {} a -> s {prefix = a} :: DescribeEvaluations)++-- | A two-value parameter that determines the sequence of the resulting list+-- of @Evaluation@.+--+-- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+--+-- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+--+-- Results are sorted by @FilterVariable@.+describeEvaluations_sortOrder :: Lens.Lens' DescribeEvaluations (Prelude.Maybe SortOrder)+describeEvaluations_sortOrder = Lens.lens (\DescribeEvaluations' {sortOrder} -> sortOrder) (\s@DescribeEvaluations' {} a -> s {sortOrder = a} :: DescribeEvaluations)++instance Core.AWSPager DescribeEvaluations where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeEvaluationsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeEvaluationsResponse_results+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeEvaluations_nextToken+ Lens..~ rs+ Lens.^? describeEvaluationsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeEvaluations where+ type+ AWSResponse DescribeEvaluations =+ DescribeEvaluationsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeEvaluationsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Results" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeEvaluations where+ hashWithSalt _salt DescribeEvaluations' {..} =+ _salt+ `Prelude.hashWithSalt` eq+ `Prelude.hashWithSalt` filterVariable+ `Prelude.hashWithSalt` ge+ `Prelude.hashWithSalt` gt+ `Prelude.hashWithSalt` le+ `Prelude.hashWithSalt` lt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` ne+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` prefix+ `Prelude.hashWithSalt` sortOrder++instance Prelude.NFData DescribeEvaluations where+ rnf DescribeEvaluations' {..} =+ Prelude.rnf eq+ `Prelude.seq` Prelude.rnf filterVariable+ `Prelude.seq` Prelude.rnf ge+ `Prelude.seq` Prelude.rnf gt+ `Prelude.seq` Prelude.rnf le+ `Prelude.seq` Prelude.rnf lt+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf ne+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf prefix+ `Prelude.seq` Prelude.rnf sortOrder++instance Data.ToHeaders DescribeEvaluations where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DescribeEvaluations" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeEvaluations where+ toJSON DescribeEvaluations' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EQ" Data..=) Prelude.<$> eq,+ ("FilterVariable" Data..=)+ Prelude.<$> filterVariable,+ ("GE" Data..=) Prelude.<$> ge,+ ("GT" Data..=) Prelude.<$> gt,+ ("LE" Data..=) Prelude.<$> le,+ ("LT" Data..=) Prelude.<$> lt,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NE" Data..=) Prelude.<$> ne,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("Prefix" Data..=) Prelude.<$> prefix,+ ("SortOrder" Data..=) Prelude.<$> sortOrder+ ]+ )++instance Data.ToPath DescribeEvaluations where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeEvaluations where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the query results from a @DescribeEvaluations@ operation. The+-- content is essentially a list of @Evaluation@.+--+-- /See:/ 'newDescribeEvaluationsResponse' smart constructor.+data DescribeEvaluationsResponse = DescribeEvaluationsResponse'+ { -- | The ID of the next page in the paginated results that indicates at least+ -- one more page follows.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A list of @Evaluation@ that meet the search criteria.+ results :: Prelude.Maybe [Evaluation],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeEvaluationsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeEvaluationsResponse_nextToken' - The ID of the next page in the paginated results that indicates at least+-- one more page follows.+--+-- 'results', 'describeEvaluationsResponse_results' - A list of @Evaluation@ that meet the search criteria.+--+-- 'httpStatus', 'describeEvaluationsResponse_httpStatus' - The response's http status code.+newDescribeEvaluationsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeEvaluationsResponse+newDescribeEvaluationsResponse pHttpStatus_ =+ DescribeEvaluationsResponse'+ { nextToken =+ Prelude.Nothing,+ results = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the next page in the paginated results that indicates at least+-- one more page follows.+describeEvaluationsResponse_nextToken :: Lens.Lens' DescribeEvaluationsResponse (Prelude.Maybe Prelude.Text)+describeEvaluationsResponse_nextToken = Lens.lens (\DescribeEvaluationsResponse' {nextToken} -> nextToken) (\s@DescribeEvaluationsResponse' {} a -> s {nextToken = a} :: DescribeEvaluationsResponse)++-- | A list of @Evaluation@ that meet the search criteria.+describeEvaluationsResponse_results :: Lens.Lens' DescribeEvaluationsResponse (Prelude.Maybe [Evaluation])+describeEvaluationsResponse_results = Lens.lens (\DescribeEvaluationsResponse' {results} -> results) (\s@DescribeEvaluationsResponse' {} a -> s {results = a} :: DescribeEvaluationsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeEvaluationsResponse_httpStatus :: Lens.Lens' DescribeEvaluationsResponse Prelude.Int+describeEvaluationsResponse_httpStatus = Lens.lens (\DescribeEvaluationsResponse' {httpStatus} -> httpStatus) (\s@DescribeEvaluationsResponse' {} a -> s {httpStatus = a} :: DescribeEvaluationsResponse)++instance Prelude.NFData DescribeEvaluationsResponse where+ rnf DescribeEvaluationsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf results+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DescribeMLModels.hs view
@@ -0,0 +1,510 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DescribeMLModels+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of @MLModel@ that match the search criteria in the+-- request.+--+-- This operation returns paginated results.+module Amazonka.MachineLearning.DescribeMLModels+ ( -- * Creating a Request+ DescribeMLModels (..),+ newDescribeMLModels,++ -- * Request Lenses+ describeMLModels_eq,+ describeMLModels_filterVariable,+ describeMLModels_ge,+ describeMLModels_gt,+ describeMLModels_le,+ describeMLModels_lt,+ describeMLModels_limit,+ describeMLModels_ne,+ describeMLModels_nextToken,+ describeMLModels_prefix,+ describeMLModels_sortOrder,++ -- * Destructuring the Response+ DescribeMLModelsResponse (..),+ newDescribeMLModelsResponse,++ -- * Response Lenses+ describeMLModelsResponse_nextToken,+ describeMLModelsResponse_results,+ describeMLModelsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeMLModels' smart constructor.+data DescribeMLModels = DescribeMLModels'+ { -- | The equal to operator. The @MLModel@ results will have @FilterVariable@+ -- values that exactly match the value specified with @EQ@.+ eq :: Prelude.Maybe Prelude.Text,+ -- | Use one of the following variables to filter a list of @MLModel@:+ --+ -- - @CreatedAt@ - Sets the search criteria to @MLModel@ creation date.+ --+ -- - @Status@ - Sets the search criteria to @MLModel@ status.+ --+ -- - @Name@ - Sets the search criteria to the contents of @MLModel@ ____+ -- @Name@.+ --+ -- - @IAMUser@ - Sets the search criteria to the user account that+ -- invoked the @MLModel@ creation.+ --+ -- - @TrainingDataSourceId@ - Sets the search criteria to the+ -- @DataSource@ used to train one or more @MLModel@.+ --+ -- - @RealtimeEndpointStatus@ - Sets the search criteria to the @MLModel@+ -- real-time endpoint status.+ --+ -- - @MLModelType@ - Sets the search criteria to @MLModel@ type: binary,+ -- regression, or multi-class.+ --+ -- - @Algorithm@ - Sets the search criteria to the algorithm that the+ -- @MLModel@ uses.+ --+ -- - @TrainingDataURI@ - Sets the search criteria to the data file(s)+ -- used in training a @MLModel@. The URL can identify either a file or+ -- an Amazon Simple Storage Service (Amazon S3) bucket or directory.+ filterVariable :: Prelude.Maybe MLModelFilterVariable,+ -- | The greater than or equal to operator. The @MLModel@ results will have+ -- @FilterVariable@ values that are greater than or equal to the value+ -- specified with @GE@.+ ge :: Prelude.Maybe Prelude.Text,+ -- | The greater than operator. The @MLModel@ results will have+ -- @FilterVariable@ values that are greater than the value specified with+ -- @GT@.+ gt :: Prelude.Maybe Prelude.Text,+ -- | The less than or equal to operator. The @MLModel@ results will have+ -- @FilterVariable@ values that are less than or equal to the value+ -- specified with @LE@.+ le :: Prelude.Maybe Prelude.Text,+ -- | The less than operator. The @MLModel@ results will have @FilterVariable@+ -- values that are less than the value specified with @LT@.+ lt :: Prelude.Maybe Prelude.Text,+ -- | The number of pages of information to include in the result. The range+ -- of acceptable values is @1@ through @100@. The default value is @100@.+ limit :: Prelude.Maybe Prelude.Natural,+ -- | The not equal to operator. The @MLModel@ results will have+ -- @FilterVariable@ values not equal to the value specified with @NE@.+ ne :: Prelude.Maybe Prelude.Text,+ -- | The ID of the page in the paginated results.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A string that is found at the beginning of a variable, such as @Name@ or+ -- @Id@.+ --+ -- For example, an @MLModel@ could have the @Name@+ -- @2014-09-09-HolidayGiftMailer@. To search for this @MLModel@, select+ -- @Name@ for the @FilterVariable@ and any of the following strings for the+ -- @Prefix@:+ --+ -- - 2014-09+ --+ -- - 2014-09-09+ --+ -- - 2014-09-09-Holiday+ prefix :: Prelude.Maybe Prelude.Text,+ -- | A two-value parameter that determines the sequence of the resulting list+ -- of @MLModel@.+ --+ -- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+ --+ -- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+ --+ -- Results are sorted by @FilterVariable@.+ sortOrder :: Prelude.Maybe SortOrder+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeMLModels' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'eq', 'describeMLModels_eq' - The equal to operator. The @MLModel@ results will have @FilterVariable@+-- values that exactly match the value specified with @EQ@.+--+-- 'filterVariable', 'describeMLModels_filterVariable' - Use one of the following variables to filter a list of @MLModel@:+--+-- - @CreatedAt@ - Sets the search criteria to @MLModel@ creation date.+--+-- - @Status@ - Sets the search criteria to @MLModel@ status.+--+-- - @Name@ - Sets the search criteria to the contents of @MLModel@ ____+-- @Name@.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked the @MLModel@ creation.+--+-- - @TrainingDataSourceId@ - Sets the search criteria to the+-- @DataSource@ used to train one or more @MLModel@.+--+-- - @RealtimeEndpointStatus@ - Sets the search criteria to the @MLModel@+-- real-time endpoint status.+--+-- - @MLModelType@ - Sets the search criteria to @MLModel@ type: binary,+-- regression, or multi-class.+--+-- - @Algorithm@ - Sets the search criteria to the algorithm that the+-- @MLModel@ uses.+--+-- - @TrainingDataURI@ - Sets the search criteria to the data file(s)+-- used in training a @MLModel@. The URL can identify either a file or+-- an Amazon Simple Storage Service (Amazon S3) bucket or directory.+--+-- 'ge', 'describeMLModels_ge' - The greater than or equal to operator. The @MLModel@ results will have+-- @FilterVariable@ values that are greater than or equal to the value+-- specified with @GE@.+--+-- 'gt', 'describeMLModels_gt' - The greater than operator. The @MLModel@ results will have+-- @FilterVariable@ values that are greater than the value specified with+-- @GT@.+--+-- 'le', 'describeMLModels_le' - The less than or equal to operator. The @MLModel@ results will have+-- @FilterVariable@ values that are less than or equal to the value+-- specified with @LE@.+--+-- 'lt', 'describeMLModels_lt' - The less than operator. The @MLModel@ results will have @FilterVariable@+-- values that are less than the value specified with @LT@.+--+-- 'limit', 'describeMLModels_limit' - The number of pages of information to include in the result. The range+-- of acceptable values is @1@ through @100@. The default value is @100@.+--+-- 'ne', 'describeMLModels_ne' - The not equal to operator. The @MLModel@ results will have+-- @FilterVariable@ values not equal to the value specified with @NE@.+--+-- 'nextToken', 'describeMLModels_nextToken' - The ID of the page in the paginated results.+--+-- 'prefix', 'describeMLModels_prefix' - A string that is found at the beginning of a variable, such as @Name@ or+-- @Id@.+--+-- For example, an @MLModel@ could have the @Name@+-- @2014-09-09-HolidayGiftMailer@. To search for this @MLModel@, select+-- @Name@ for the @FilterVariable@ and any of the following strings for the+-- @Prefix@:+--+-- - 2014-09+--+-- - 2014-09-09+--+-- - 2014-09-09-Holiday+--+-- 'sortOrder', 'describeMLModels_sortOrder' - A two-value parameter that determines the sequence of the resulting list+-- of @MLModel@.+--+-- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+--+-- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+--+-- Results are sorted by @FilterVariable@.+newDescribeMLModels ::+ DescribeMLModels+newDescribeMLModels =+ DescribeMLModels'+ { eq = Prelude.Nothing,+ filterVariable = Prelude.Nothing,+ ge = Prelude.Nothing,+ gt = Prelude.Nothing,+ le = Prelude.Nothing,+ lt = Prelude.Nothing,+ limit = Prelude.Nothing,+ ne = Prelude.Nothing,+ nextToken = Prelude.Nothing,+ prefix = Prelude.Nothing,+ sortOrder = Prelude.Nothing+ }++-- | The equal to operator. The @MLModel@ results will have @FilterVariable@+-- values that exactly match the value specified with @EQ@.+describeMLModels_eq :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Text)+describeMLModels_eq = Lens.lens (\DescribeMLModels' {eq} -> eq) (\s@DescribeMLModels' {} a -> s {eq = a} :: DescribeMLModels)++-- | Use one of the following variables to filter a list of @MLModel@:+--+-- - @CreatedAt@ - Sets the search criteria to @MLModel@ creation date.+--+-- - @Status@ - Sets the search criteria to @MLModel@ status.+--+-- - @Name@ - Sets the search criteria to the contents of @MLModel@ ____+-- @Name@.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked the @MLModel@ creation.+--+-- - @TrainingDataSourceId@ - Sets the search criteria to the+-- @DataSource@ used to train one or more @MLModel@.+--+-- - @RealtimeEndpointStatus@ - Sets the search criteria to the @MLModel@+-- real-time endpoint status.+--+-- - @MLModelType@ - Sets the search criteria to @MLModel@ type: binary,+-- regression, or multi-class.+--+-- - @Algorithm@ - Sets the search criteria to the algorithm that the+-- @MLModel@ uses.+--+-- - @TrainingDataURI@ - Sets the search criteria to the data file(s)+-- used in training a @MLModel@. The URL can identify either a file or+-- an Amazon Simple Storage Service (Amazon S3) bucket or directory.+describeMLModels_filterVariable :: Lens.Lens' DescribeMLModels (Prelude.Maybe MLModelFilterVariable)+describeMLModels_filterVariable = Lens.lens (\DescribeMLModels' {filterVariable} -> filterVariable) (\s@DescribeMLModels' {} a -> s {filterVariable = a} :: DescribeMLModels)++-- | The greater than or equal to operator. The @MLModel@ results will have+-- @FilterVariable@ values that are greater than or equal to the value+-- specified with @GE@.+describeMLModels_ge :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Text)+describeMLModels_ge = Lens.lens (\DescribeMLModels' {ge} -> ge) (\s@DescribeMLModels' {} a -> s {ge = a} :: DescribeMLModels)++-- | The greater than operator. The @MLModel@ results will have+-- @FilterVariable@ values that are greater than the value specified with+-- @GT@.+describeMLModels_gt :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Text)+describeMLModels_gt = Lens.lens (\DescribeMLModels' {gt} -> gt) (\s@DescribeMLModels' {} a -> s {gt = a} :: DescribeMLModels)++-- | The less than or equal to operator. The @MLModel@ results will have+-- @FilterVariable@ values that are less than or equal to the value+-- specified with @LE@.+describeMLModels_le :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Text)+describeMLModels_le = Lens.lens (\DescribeMLModels' {le} -> le) (\s@DescribeMLModels' {} a -> s {le = a} :: DescribeMLModels)++-- | The less than operator. The @MLModel@ results will have @FilterVariable@+-- values that are less than the value specified with @LT@.+describeMLModels_lt :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Text)+describeMLModels_lt = Lens.lens (\DescribeMLModels' {lt} -> lt) (\s@DescribeMLModels' {} a -> s {lt = a} :: DescribeMLModels)++-- | The number of pages of information to include in the result. The range+-- of acceptable values is @1@ through @100@. The default value is @100@.+describeMLModels_limit :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Natural)+describeMLModels_limit = Lens.lens (\DescribeMLModels' {limit} -> limit) (\s@DescribeMLModels' {} a -> s {limit = a} :: DescribeMLModels)++-- | The not equal to operator. The @MLModel@ results will have+-- @FilterVariable@ values not equal to the value specified with @NE@.+describeMLModels_ne :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Text)+describeMLModels_ne = Lens.lens (\DescribeMLModels' {ne} -> ne) (\s@DescribeMLModels' {} a -> s {ne = a} :: DescribeMLModels)++-- | The ID of the page in the paginated results.+describeMLModels_nextToken :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Text)+describeMLModels_nextToken = Lens.lens (\DescribeMLModels' {nextToken} -> nextToken) (\s@DescribeMLModels' {} a -> s {nextToken = a} :: DescribeMLModels)++-- | A string that is found at the beginning of a variable, such as @Name@ or+-- @Id@.+--+-- For example, an @MLModel@ could have the @Name@+-- @2014-09-09-HolidayGiftMailer@. To search for this @MLModel@, select+-- @Name@ for the @FilterVariable@ and any of the following strings for the+-- @Prefix@:+--+-- - 2014-09+--+-- - 2014-09-09+--+-- - 2014-09-09-Holiday+describeMLModels_prefix :: Lens.Lens' DescribeMLModels (Prelude.Maybe Prelude.Text)+describeMLModels_prefix = Lens.lens (\DescribeMLModels' {prefix} -> prefix) (\s@DescribeMLModels' {} a -> s {prefix = a} :: DescribeMLModels)++-- | A two-value parameter that determines the sequence of the resulting list+-- of @MLModel@.+--+-- - @asc@ - Arranges the list in ascending order (A-Z, 0-9).+--+-- - @dsc@ - Arranges the list in descending order (Z-A, 9-0).+--+-- Results are sorted by @FilterVariable@.+describeMLModels_sortOrder :: Lens.Lens' DescribeMLModels (Prelude.Maybe SortOrder)+describeMLModels_sortOrder = Lens.lens (\DescribeMLModels' {sortOrder} -> sortOrder) (\s@DescribeMLModels' {} a -> s {sortOrder = a} :: DescribeMLModels)++instance Core.AWSPager DescribeMLModels where+ page rq rs+ | Core.stop+ ( rs+ Lens.^? describeMLModelsResponse_nextToken+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Core.stop+ ( rs+ Lens.^? describeMLModelsResponse_results+ Prelude.. Lens._Just+ ) =+ Prelude.Nothing+ | Prelude.otherwise =+ Prelude.Just+ Prelude.$ rq+ Prelude.& describeMLModels_nextToken+ Lens..~ rs+ Lens.^? describeMLModelsResponse_nextToken+ Prelude.. Lens._Just++instance Core.AWSRequest DescribeMLModels where+ type+ AWSResponse DescribeMLModels =+ DescribeMLModelsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeMLModelsResponse'+ Prelude.<$> (x Data..?> "NextToken")+ Prelude.<*> (x Data..?> "Results" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeMLModels where+ hashWithSalt _salt DescribeMLModels' {..} =+ _salt+ `Prelude.hashWithSalt` eq+ `Prelude.hashWithSalt` filterVariable+ `Prelude.hashWithSalt` ge+ `Prelude.hashWithSalt` gt+ `Prelude.hashWithSalt` le+ `Prelude.hashWithSalt` lt+ `Prelude.hashWithSalt` limit+ `Prelude.hashWithSalt` ne+ `Prelude.hashWithSalt` nextToken+ `Prelude.hashWithSalt` prefix+ `Prelude.hashWithSalt` sortOrder++instance Prelude.NFData DescribeMLModels where+ rnf DescribeMLModels' {..} =+ Prelude.rnf eq+ `Prelude.seq` Prelude.rnf filterVariable+ `Prelude.seq` Prelude.rnf ge+ `Prelude.seq` Prelude.rnf gt+ `Prelude.seq` Prelude.rnf le+ `Prelude.seq` Prelude.rnf lt+ `Prelude.seq` Prelude.rnf limit+ `Prelude.seq` Prelude.rnf ne+ `Prelude.seq` Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf prefix+ `Prelude.seq` Prelude.rnf sortOrder++instance Data.ToHeaders DescribeMLModels where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DescribeMLModels" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeMLModels where+ toJSON DescribeMLModels' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("EQ" Data..=) Prelude.<$> eq,+ ("FilterVariable" Data..=)+ Prelude.<$> filterVariable,+ ("GE" Data..=) Prelude.<$> ge,+ ("GT" Data..=) Prelude.<$> gt,+ ("LE" Data..=) Prelude.<$> le,+ ("LT" Data..=) Prelude.<$> lt,+ ("Limit" Data..=) Prelude.<$> limit,+ ("NE" Data..=) Prelude.<$> ne,+ ("NextToken" Data..=) Prelude.<$> nextToken,+ ("Prefix" Data..=) Prelude.<$> prefix,+ ("SortOrder" Data..=) Prelude.<$> sortOrder+ ]+ )++instance Data.ToPath DescribeMLModels where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeMLModels where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @DescribeMLModels@ operation. The content is+-- essentially a list of @MLModel@.+--+-- /See:/ 'newDescribeMLModelsResponse' smart constructor.+data DescribeMLModelsResponse = DescribeMLModelsResponse'+ { -- | The ID of the next page in the paginated results that indicates at least+ -- one more page follows.+ nextToken :: Prelude.Maybe Prelude.Text,+ -- | A list of @MLModel@ that meet the search criteria.+ results :: Prelude.Maybe [MLModel],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeMLModelsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'describeMLModelsResponse_nextToken' - The ID of the next page in the paginated results that indicates at least+-- one more page follows.+--+-- 'results', 'describeMLModelsResponse_results' - A list of @MLModel@ that meet the search criteria.+--+-- 'httpStatus', 'describeMLModelsResponse_httpStatus' - The response's http status code.+newDescribeMLModelsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeMLModelsResponse+newDescribeMLModelsResponse pHttpStatus_ =+ DescribeMLModelsResponse'+ { nextToken =+ Prelude.Nothing,+ results = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the next page in the paginated results that indicates at least+-- one more page follows.+describeMLModelsResponse_nextToken :: Lens.Lens' DescribeMLModelsResponse (Prelude.Maybe Prelude.Text)+describeMLModelsResponse_nextToken = Lens.lens (\DescribeMLModelsResponse' {nextToken} -> nextToken) (\s@DescribeMLModelsResponse' {} a -> s {nextToken = a} :: DescribeMLModelsResponse)++-- | A list of @MLModel@ that meet the search criteria.+describeMLModelsResponse_results :: Lens.Lens' DescribeMLModelsResponse (Prelude.Maybe [MLModel])+describeMLModelsResponse_results = Lens.lens (\DescribeMLModelsResponse' {results} -> results) (\s@DescribeMLModelsResponse' {} a -> s {results = a} :: DescribeMLModelsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeMLModelsResponse_httpStatus :: Lens.Lens' DescribeMLModelsResponse Prelude.Int+describeMLModelsResponse_httpStatus = Lens.lens (\DescribeMLModelsResponse' {httpStatus} -> httpStatus) (\s@DescribeMLModelsResponse' {} a -> s {httpStatus = a} :: DescribeMLModelsResponse)++instance Prelude.NFData DescribeMLModelsResponse where+ rnf DescribeMLModelsResponse' {..} =+ Prelude.rnf nextToken+ `Prelude.seq` Prelude.rnf results+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/DescribeTags.hs view
@@ -0,0 +1,211 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.DescribeTags+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes one or more of the tags for your Amazon ML object.+module Amazonka.MachineLearning.DescribeTags+ ( -- * Creating a Request+ DescribeTags (..),+ newDescribeTags,++ -- * Request Lenses+ describeTags_resourceId,+ describeTags_resourceType,++ -- * Destructuring the Response+ DescribeTagsResponse (..),+ newDescribeTagsResponse,++ -- * Response Lenses+ describeTagsResponse_resourceId,+ describeTagsResponse_resourceType,+ describeTagsResponse_tags,+ describeTagsResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newDescribeTags' smart constructor.+data DescribeTags = DescribeTags'+ { -- | The ID of the ML object. For example, @exampleModelId@.+ resourceId :: Prelude.Text,+ -- | The type of the ML object.+ resourceType :: TaggableResourceType+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTags' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'describeTags_resourceId' - The ID of the ML object. For example, @exampleModelId@.+--+-- 'resourceType', 'describeTags_resourceType' - The type of the ML object.+newDescribeTags ::+ -- | 'resourceId'+ Prelude.Text ->+ -- | 'resourceType'+ TaggableResourceType ->+ DescribeTags+newDescribeTags pResourceId_ pResourceType_ =+ DescribeTags'+ { resourceId = pResourceId_,+ resourceType = pResourceType_+ }++-- | The ID of the ML object. For example, @exampleModelId@.+describeTags_resourceId :: Lens.Lens' DescribeTags Prelude.Text+describeTags_resourceId = Lens.lens (\DescribeTags' {resourceId} -> resourceId) (\s@DescribeTags' {} a -> s {resourceId = a} :: DescribeTags)++-- | The type of the ML object.+describeTags_resourceType :: Lens.Lens' DescribeTags TaggableResourceType+describeTags_resourceType = Lens.lens (\DescribeTags' {resourceType} -> resourceType) (\s@DescribeTags' {} a -> s {resourceType = a} :: DescribeTags)++instance Core.AWSRequest DescribeTags where+ type AWSResponse DescribeTags = DescribeTagsResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ DescribeTagsResponse'+ Prelude.<$> (x Data..?> "ResourceId")+ Prelude.<*> (x Data..?> "ResourceType")+ Prelude.<*> (x Data..?> "Tags" Core..!@ Prelude.mempty)+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable DescribeTags where+ hashWithSalt _salt DescribeTags' {..} =+ _salt+ `Prelude.hashWithSalt` resourceId+ `Prelude.hashWithSalt` resourceType++instance Prelude.NFData DescribeTags where+ rnf DescribeTags' {..} =+ Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf resourceType++instance Data.ToHeaders DescribeTags where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.DescribeTags" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON DescribeTags where+ toJSON DescribeTags' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("ResourceId" Data..= resourceId),+ Prelude.Just ("ResourceType" Data..= resourceType)+ ]+ )++instance Data.ToPath DescribeTags where+ toPath = Prelude.const "/"++instance Data.ToQuery DescribeTags where+ toQuery = Prelude.const Prelude.mempty++-- | Amazon ML returns the following elements.+--+-- /See:/ 'newDescribeTagsResponse' smart constructor.+data DescribeTagsResponse = DescribeTagsResponse'+ { -- | The ID of the tagged ML object.+ resourceId :: Prelude.Maybe Prelude.Text,+ -- | The type of the tagged ML object.+ resourceType :: Prelude.Maybe TaggableResourceType,+ -- | A list of tags associated with the ML object.+ tags :: Prelude.Maybe [Tag],+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTagsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceId', 'describeTagsResponse_resourceId' - The ID of the tagged ML object.+--+-- 'resourceType', 'describeTagsResponse_resourceType' - The type of the tagged ML object.+--+-- 'tags', 'describeTagsResponse_tags' - A list of tags associated with the ML object.+--+-- 'httpStatus', 'describeTagsResponse_httpStatus' - The response's http status code.+newDescribeTagsResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ DescribeTagsResponse+newDescribeTagsResponse pHttpStatus_ =+ DescribeTagsResponse'+ { resourceId = Prelude.Nothing,+ resourceType = Prelude.Nothing,+ tags = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the tagged ML object.+describeTagsResponse_resourceId :: Lens.Lens' DescribeTagsResponse (Prelude.Maybe Prelude.Text)+describeTagsResponse_resourceId = Lens.lens (\DescribeTagsResponse' {resourceId} -> resourceId) (\s@DescribeTagsResponse' {} a -> s {resourceId = a} :: DescribeTagsResponse)++-- | The type of the tagged ML object.+describeTagsResponse_resourceType :: Lens.Lens' DescribeTagsResponse (Prelude.Maybe TaggableResourceType)+describeTagsResponse_resourceType = Lens.lens (\DescribeTagsResponse' {resourceType} -> resourceType) (\s@DescribeTagsResponse' {} a -> s {resourceType = a} :: DescribeTagsResponse)++-- | A list of tags associated with the ML object.+describeTagsResponse_tags :: Lens.Lens' DescribeTagsResponse (Prelude.Maybe [Tag])+describeTagsResponse_tags = Lens.lens (\DescribeTagsResponse' {tags} -> tags) (\s@DescribeTagsResponse' {} a -> s {tags = a} :: DescribeTagsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+describeTagsResponse_httpStatus :: Lens.Lens' DescribeTagsResponse Prelude.Int+describeTagsResponse_httpStatus = Lens.lens (\DescribeTagsResponse' {httpStatus} -> httpStatus) (\s@DescribeTagsResponse' {} a -> s {httpStatus = a} :: DescribeTagsResponse)++instance Prelude.NFData DescribeTagsResponse where+ rnf DescribeTagsResponse' {..} =+ Prelude.rnf resourceId+ `Prelude.seq` Prelude.rnf resourceType+ `Prelude.seq` Prelude.rnf tags+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/GetBatchPrediction.hs view
@@ -0,0 +1,472 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.GetBatchPrediction+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a @BatchPrediction@ that includes detailed metadata, status, and+-- data file information for a @Batch Prediction@ request.+module Amazonka.MachineLearning.GetBatchPrediction+ ( -- * Creating a Request+ GetBatchPrediction (..),+ newGetBatchPrediction,++ -- * Request Lenses+ getBatchPrediction_batchPredictionId,++ -- * Destructuring the Response+ GetBatchPredictionResponse (..),+ newGetBatchPredictionResponse,++ -- * Response Lenses+ getBatchPredictionResponse_batchPredictionDataSourceId,+ getBatchPredictionResponse_batchPredictionId,+ getBatchPredictionResponse_computeTime,+ getBatchPredictionResponse_createdAt,+ getBatchPredictionResponse_createdByIamUser,+ getBatchPredictionResponse_finishedAt,+ getBatchPredictionResponse_inputDataLocationS3,+ getBatchPredictionResponse_invalidRecordCount,+ getBatchPredictionResponse_lastUpdatedAt,+ getBatchPredictionResponse_logUri,+ getBatchPredictionResponse_mLModelId,+ getBatchPredictionResponse_message,+ getBatchPredictionResponse_name,+ getBatchPredictionResponse_outputUri,+ getBatchPredictionResponse_startedAt,+ getBatchPredictionResponse_status,+ getBatchPredictionResponse_totalRecordCount,+ getBatchPredictionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetBatchPrediction' smart constructor.+data GetBatchPrediction = GetBatchPrediction'+ { -- | An ID assigned to the @BatchPrediction@ at creation.+ batchPredictionId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetBatchPrediction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionId', 'getBatchPrediction_batchPredictionId' - An ID assigned to the @BatchPrediction@ at creation.+newGetBatchPrediction ::+ -- | 'batchPredictionId'+ Prelude.Text ->+ GetBatchPrediction+newGetBatchPrediction pBatchPredictionId_ =+ GetBatchPrediction'+ { batchPredictionId =+ pBatchPredictionId_+ }++-- | An ID assigned to the @BatchPrediction@ at creation.+getBatchPrediction_batchPredictionId :: Lens.Lens' GetBatchPrediction Prelude.Text+getBatchPrediction_batchPredictionId = Lens.lens (\GetBatchPrediction' {batchPredictionId} -> batchPredictionId) (\s@GetBatchPrediction' {} a -> s {batchPredictionId = a} :: GetBatchPrediction)++instance Core.AWSRequest GetBatchPrediction where+ type+ AWSResponse GetBatchPrediction =+ GetBatchPredictionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetBatchPredictionResponse'+ Prelude.<$> (x Data..?> "BatchPredictionDataSourceId")+ Prelude.<*> (x Data..?> "BatchPredictionId")+ Prelude.<*> (x Data..?> "ComputeTime")+ Prelude.<*> (x Data..?> "CreatedAt")+ Prelude.<*> (x Data..?> "CreatedByIamUser")+ Prelude.<*> (x Data..?> "FinishedAt")+ Prelude.<*> (x Data..?> "InputDataLocationS3")+ Prelude.<*> (x Data..?> "InvalidRecordCount")+ Prelude.<*> (x Data..?> "LastUpdatedAt")+ Prelude.<*> (x Data..?> "LogUri")+ Prelude.<*> (x Data..?> "MLModelId")+ Prelude.<*> (x Data..?> "Message")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "OutputUri")+ Prelude.<*> (x Data..?> "StartedAt")+ Prelude.<*> (x Data..?> "Status")+ Prelude.<*> (x Data..?> "TotalRecordCount")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetBatchPrediction where+ hashWithSalt _salt GetBatchPrediction' {..} =+ _salt `Prelude.hashWithSalt` batchPredictionId++instance Prelude.NFData GetBatchPrediction where+ rnf GetBatchPrediction' {..} =+ Prelude.rnf batchPredictionId++instance Data.ToHeaders GetBatchPrediction where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.GetBatchPrediction" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetBatchPrediction where+ toJSON GetBatchPrediction' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("BatchPredictionId" Data..= batchPredictionId)+ ]+ )++instance Data.ToPath GetBatchPrediction where+ toPath = Prelude.const "/"++instance Data.ToQuery GetBatchPrediction where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @GetBatchPrediction@ operation and describes+-- a @BatchPrediction@.+--+-- /See:/ 'newGetBatchPredictionResponse' smart constructor.+data GetBatchPredictionResponse = GetBatchPredictionResponse'+ { -- | The ID of the @DataSource@ that was used to create the+ -- @BatchPrediction@.+ batchPredictionDataSourceId :: Prelude.Maybe Prelude.Text,+ -- | An ID assigned to the @BatchPrediction@ at creation. This value should+ -- be identical to the value of the @BatchPredictionID@ in the request.+ batchPredictionId :: Prelude.Maybe Prelude.Text,+ -- | The approximate CPU time in milliseconds that Amazon Machine Learning+ -- spent processing the @BatchPrediction@, normalized and scaled on+ -- computation resources. @ComputeTime@ is only available if the+ -- @BatchPrediction@ is in the @COMPLETED@ state.+ computeTime :: Prelude.Maybe Prelude.Integer,+ -- | The time when the @BatchPrediction@ was created. The time is expressed+ -- in epoch time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The AWS user account that invoked the @BatchPrediction@. The account+ -- type can be either an AWS root account or an AWS Identity and Access+ -- Management (IAM) user account.+ createdByIamUser :: Prelude.Maybe Prelude.Text,+ -- | The epoch time when Amazon Machine Learning marked the @BatchPrediction@+ -- as @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+ -- @BatchPrediction@ is in the @COMPLETED@ or @FAILED@ state.+ finishedAt :: Prelude.Maybe Data.POSIX,+ -- | The location of the data file or directory in Amazon Simple Storage+ -- Service (Amazon S3).+ inputDataLocationS3 :: Prelude.Maybe Prelude.Text,+ -- | The number of invalid records that Amazon Machine Learning saw while+ -- processing the @BatchPrediction@.+ invalidRecordCount :: Prelude.Maybe Prelude.Integer,+ -- | The time of the most recent edit to @BatchPrediction@. The time is+ -- expressed in epoch time.+ lastUpdatedAt :: Prelude.Maybe Data.POSIX,+ -- | A link to the file that contains logs of the @CreateBatchPrediction@+ -- operation.+ logUri :: Prelude.Maybe Prelude.Text,+ -- | The ID of the @MLModel@ that generated predictions for the+ -- @BatchPrediction@ request.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | A description of the most recent details about processing the batch+ -- prediction request.+ message :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied name or description of the @BatchPrediction@.+ name :: Prelude.Maybe Prelude.Text,+ -- | The location of an Amazon S3 bucket or directory to receive the+ -- operation results.+ outputUri :: Prelude.Maybe Prelude.Text,+ -- | The epoch time when Amazon Machine Learning marked the @BatchPrediction@+ -- as @INPROGRESS@. @StartedAt@ isn\'t available if the @BatchPrediction@+ -- is in the @PENDING@ state.+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The status of the @BatchPrediction@, which can be one of the following+ -- values:+ --+ -- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+ -- to generate batch predictions.+ --+ -- - @INPROGRESS@ - The batch predictions are in progress.+ --+ -- - @FAILED@ - The request to perform a batch prediction did not run to+ -- completion. It is not usable.+ --+ -- - @COMPLETED@ - The batch prediction process completed successfully.+ --+ -- - @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not+ -- usable.+ status :: Prelude.Maybe EntityStatus,+ -- | The number of total records that Amazon Machine Learning saw while+ -- processing the @BatchPrediction@.+ totalRecordCount :: Prelude.Maybe Prelude.Integer,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetBatchPredictionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionDataSourceId', 'getBatchPredictionResponse_batchPredictionDataSourceId' - The ID of the @DataSource@ that was used to create the+-- @BatchPrediction@.+--+-- 'batchPredictionId', 'getBatchPredictionResponse_batchPredictionId' - An ID assigned to the @BatchPrediction@ at creation. This value should+-- be identical to the value of the @BatchPredictionID@ in the request.+--+-- 'computeTime', 'getBatchPredictionResponse_computeTime' - The approximate CPU time in milliseconds that Amazon Machine Learning+-- spent processing the @BatchPrediction@, normalized and scaled on+-- computation resources. @ComputeTime@ is only available if the+-- @BatchPrediction@ is in the @COMPLETED@ state.+--+-- 'createdAt', 'getBatchPredictionResponse_createdAt' - The time when the @BatchPrediction@ was created. The time is expressed+-- in epoch time.+--+-- 'createdByIamUser', 'getBatchPredictionResponse_createdByIamUser' - The AWS user account that invoked the @BatchPrediction@. The account+-- type can be either an AWS root account or an AWS Identity and Access+-- Management (IAM) user account.+--+-- 'finishedAt', 'getBatchPredictionResponse_finishedAt' - The epoch time when Amazon Machine Learning marked the @BatchPrediction@+-- as @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+-- @BatchPrediction@ is in the @COMPLETED@ or @FAILED@ state.+--+-- 'inputDataLocationS3', 'getBatchPredictionResponse_inputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+--+-- 'invalidRecordCount', 'getBatchPredictionResponse_invalidRecordCount' - The number of invalid records that Amazon Machine Learning saw while+-- processing the @BatchPrediction@.+--+-- 'lastUpdatedAt', 'getBatchPredictionResponse_lastUpdatedAt' - The time of the most recent edit to @BatchPrediction@. The time is+-- expressed in epoch time.+--+-- 'logUri', 'getBatchPredictionResponse_logUri' - A link to the file that contains logs of the @CreateBatchPrediction@+-- operation.+--+-- 'mLModelId', 'getBatchPredictionResponse_mLModelId' - The ID of the @MLModel@ that generated predictions for the+-- @BatchPrediction@ request.+--+-- 'message', 'getBatchPredictionResponse_message' - A description of the most recent details about processing the batch+-- prediction request.+--+-- 'name', 'getBatchPredictionResponse_name' - A user-supplied name or description of the @BatchPrediction@.+--+-- 'outputUri', 'getBatchPredictionResponse_outputUri' - The location of an Amazon S3 bucket or directory to receive the+-- operation results.+--+-- 'startedAt', 'getBatchPredictionResponse_startedAt' - The epoch time when Amazon Machine Learning marked the @BatchPrediction@+-- as @INPROGRESS@. @StartedAt@ isn\'t available if the @BatchPrediction@+-- is in the @PENDING@ state.+--+-- 'status', 'getBatchPredictionResponse_status' - The status of the @BatchPrediction@, which can be one of the following+-- values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to generate batch predictions.+--+-- - @INPROGRESS@ - The batch predictions are in progress.+--+-- - @FAILED@ - The request to perform a batch prediction did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The batch prediction process completed successfully.+--+-- - @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not+-- usable.+--+-- 'totalRecordCount', 'getBatchPredictionResponse_totalRecordCount' - The number of total records that Amazon Machine Learning saw while+-- processing the @BatchPrediction@.+--+-- 'httpStatus', 'getBatchPredictionResponse_httpStatus' - The response's http status code.+newGetBatchPredictionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetBatchPredictionResponse+newGetBatchPredictionResponse pHttpStatus_ =+ GetBatchPredictionResponse'+ { batchPredictionDataSourceId =+ Prelude.Nothing,+ batchPredictionId = Prelude.Nothing,+ computeTime = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdByIamUser = Prelude.Nothing,+ finishedAt = Prelude.Nothing,+ inputDataLocationS3 = Prelude.Nothing,+ invalidRecordCount = Prelude.Nothing,+ lastUpdatedAt = Prelude.Nothing,+ logUri = Prelude.Nothing,+ mLModelId = Prelude.Nothing,+ message = Prelude.Nothing,+ name = Prelude.Nothing,+ outputUri = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing,+ totalRecordCount = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID of the @DataSource@ that was used to create the+-- @BatchPrediction@.+getBatchPredictionResponse_batchPredictionDataSourceId :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_batchPredictionDataSourceId = Lens.lens (\GetBatchPredictionResponse' {batchPredictionDataSourceId} -> batchPredictionDataSourceId) (\s@GetBatchPredictionResponse' {} a -> s {batchPredictionDataSourceId = a} :: GetBatchPredictionResponse)++-- | An ID assigned to the @BatchPrediction@ at creation. This value should+-- be identical to the value of the @BatchPredictionID@ in the request.+getBatchPredictionResponse_batchPredictionId :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_batchPredictionId = Lens.lens (\GetBatchPredictionResponse' {batchPredictionId} -> batchPredictionId) (\s@GetBatchPredictionResponse' {} a -> s {batchPredictionId = a} :: GetBatchPredictionResponse)++-- | The approximate CPU time in milliseconds that Amazon Machine Learning+-- spent processing the @BatchPrediction@, normalized and scaled on+-- computation resources. @ComputeTime@ is only available if the+-- @BatchPrediction@ is in the @COMPLETED@ state.+getBatchPredictionResponse_computeTime :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Integer)+getBatchPredictionResponse_computeTime = Lens.lens (\GetBatchPredictionResponse' {computeTime} -> computeTime) (\s@GetBatchPredictionResponse' {} a -> s {computeTime = a} :: GetBatchPredictionResponse)++-- | The time when the @BatchPrediction@ was created. The time is expressed+-- in epoch time.+getBatchPredictionResponse_createdAt :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.UTCTime)+getBatchPredictionResponse_createdAt = Lens.lens (\GetBatchPredictionResponse' {createdAt} -> createdAt) (\s@GetBatchPredictionResponse' {} a -> s {createdAt = a} :: GetBatchPredictionResponse) Prelude.. Lens.mapping Data._Time++-- | The AWS user account that invoked the @BatchPrediction@. The account+-- type can be either an AWS root account or an AWS Identity and Access+-- Management (IAM) user account.+getBatchPredictionResponse_createdByIamUser :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_createdByIamUser = Lens.lens (\GetBatchPredictionResponse' {createdByIamUser} -> createdByIamUser) (\s@GetBatchPredictionResponse' {} a -> s {createdByIamUser = a} :: GetBatchPredictionResponse)++-- | The epoch time when Amazon Machine Learning marked the @BatchPrediction@+-- as @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+-- @BatchPrediction@ is in the @COMPLETED@ or @FAILED@ state.+getBatchPredictionResponse_finishedAt :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.UTCTime)+getBatchPredictionResponse_finishedAt = Lens.lens (\GetBatchPredictionResponse' {finishedAt} -> finishedAt) (\s@GetBatchPredictionResponse' {} a -> s {finishedAt = a} :: GetBatchPredictionResponse) Prelude.. Lens.mapping Data._Time++-- | The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+getBatchPredictionResponse_inputDataLocationS3 :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_inputDataLocationS3 = Lens.lens (\GetBatchPredictionResponse' {inputDataLocationS3} -> inputDataLocationS3) (\s@GetBatchPredictionResponse' {} a -> s {inputDataLocationS3 = a} :: GetBatchPredictionResponse)++-- | The number of invalid records that Amazon Machine Learning saw while+-- processing the @BatchPrediction@.+getBatchPredictionResponse_invalidRecordCount :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Integer)+getBatchPredictionResponse_invalidRecordCount = Lens.lens (\GetBatchPredictionResponse' {invalidRecordCount} -> invalidRecordCount) (\s@GetBatchPredictionResponse' {} a -> s {invalidRecordCount = a} :: GetBatchPredictionResponse)++-- | The time of the most recent edit to @BatchPrediction@. The time is+-- expressed in epoch time.+getBatchPredictionResponse_lastUpdatedAt :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.UTCTime)+getBatchPredictionResponse_lastUpdatedAt = Lens.lens (\GetBatchPredictionResponse' {lastUpdatedAt} -> lastUpdatedAt) (\s@GetBatchPredictionResponse' {} a -> s {lastUpdatedAt = a} :: GetBatchPredictionResponse) Prelude.. Lens.mapping Data._Time++-- | A link to the file that contains logs of the @CreateBatchPrediction@+-- operation.+getBatchPredictionResponse_logUri :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_logUri = Lens.lens (\GetBatchPredictionResponse' {logUri} -> logUri) (\s@GetBatchPredictionResponse' {} a -> s {logUri = a} :: GetBatchPredictionResponse)++-- | The ID of the @MLModel@ that generated predictions for the+-- @BatchPrediction@ request.+getBatchPredictionResponse_mLModelId :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_mLModelId = Lens.lens (\GetBatchPredictionResponse' {mLModelId} -> mLModelId) (\s@GetBatchPredictionResponse' {} a -> s {mLModelId = a} :: GetBatchPredictionResponse)++-- | A description of the most recent details about processing the batch+-- prediction request.+getBatchPredictionResponse_message :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_message = Lens.lens (\GetBatchPredictionResponse' {message} -> message) (\s@GetBatchPredictionResponse' {} a -> s {message = a} :: GetBatchPredictionResponse)++-- | A user-supplied name or description of the @BatchPrediction@.+getBatchPredictionResponse_name :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_name = Lens.lens (\GetBatchPredictionResponse' {name} -> name) (\s@GetBatchPredictionResponse' {} a -> s {name = a} :: GetBatchPredictionResponse)++-- | The location of an Amazon S3 bucket or directory to receive the+-- operation results.+getBatchPredictionResponse_outputUri :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Text)+getBatchPredictionResponse_outputUri = Lens.lens (\GetBatchPredictionResponse' {outputUri} -> outputUri) (\s@GetBatchPredictionResponse' {} a -> s {outputUri = a} :: GetBatchPredictionResponse)++-- | The epoch time when Amazon Machine Learning marked the @BatchPrediction@+-- as @INPROGRESS@. @StartedAt@ isn\'t available if the @BatchPrediction@+-- is in the @PENDING@ state.+getBatchPredictionResponse_startedAt :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.UTCTime)+getBatchPredictionResponse_startedAt = Lens.lens (\GetBatchPredictionResponse' {startedAt} -> startedAt) (\s@GetBatchPredictionResponse' {} a -> s {startedAt = a} :: GetBatchPredictionResponse) Prelude.. Lens.mapping Data._Time++-- | The status of the @BatchPrediction@, which can be one of the following+-- values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to generate batch predictions.+--+-- - @INPROGRESS@ - The batch predictions are in progress.+--+-- - @FAILED@ - The request to perform a batch prediction did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The batch prediction process completed successfully.+--+-- - @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not+-- usable.+getBatchPredictionResponse_status :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe EntityStatus)+getBatchPredictionResponse_status = Lens.lens (\GetBatchPredictionResponse' {status} -> status) (\s@GetBatchPredictionResponse' {} a -> s {status = a} :: GetBatchPredictionResponse)++-- | The number of total records that Amazon Machine Learning saw while+-- processing the @BatchPrediction@.+getBatchPredictionResponse_totalRecordCount :: Lens.Lens' GetBatchPredictionResponse (Prelude.Maybe Prelude.Integer)+getBatchPredictionResponse_totalRecordCount = Lens.lens (\GetBatchPredictionResponse' {totalRecordCount} -> totalRecordCount) (\s@GetBatchPredictionResponse' {} a -> s {totalRecordCount = a} :: GetBatchPredictionResponse)++-- | The response's http status code.+getBatchPredictionResponse_httpStatus :: Lens.Lens' GetBatchPredictionResponse Prelude.Int+getBatchPredictionResponse_httpStatus = Lens.lens (\GetBatchPredictionResponse' {httpStatus} -> httpStatus) (\s@GetBatchPredictionResponse' {} a -> s {httpStatus = a} :: GetBatchPredictionResponse)++instance Prelude.NFData GetBatchPredictionResponse where+ rnf GetBatchPredictionResponse' {..} =+ Prelude.rnf batchPredictionDataSourceId+ `Prelude.seq` Prelude.rnf batchPredictionId+ `Prelude.seq` Prelude.rnf computeTime+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdByIamUser+ `Prelude.seq` Prelude.rnf finishedAt+ `Prelude.seq` Prelude.rnf inputDataLocationS3+ `Prelude.seq` Prelude.rnf invalidRecordCount+ `Prelude.seq` Prelude.rnf lastUpdatedAt+ `Prelude.seq` Prelude.rnf logUri+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf outputUri+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf totalRecordCount+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/GetDataSource.hs view
@@ -0,0 +1,527 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.GetDataSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a @DataSource@ that includes metadata and data file information,+-- as well as the current status of the @DataSource@.+--+-- @GetDataSource@ provides results in normal or verbose format. The+-- verbose format adds the schema description and the list of files pointed+-- to by the DataSource to the normal format.+module Amazonka.MachineLearning.GetDataSource+ ( -- * Creating a Request+ GetDataSource (..),+ newGetDataSource,++ -- * Request Lenses+ getDataSource_verbose,+ getDataSource_dataSourceId,++ -- * Destructuring the Response+ GetDataSourceResponse (..),+ newGetDataSourceResponse,++ -- * Response Lenses+ getDataSourceResponse_computeStatistics,+ getDataSourceResponse_computeTime,+ getDataSourceResponse_createdAt,+ getDataSourceResponse_createdByIamUser,+ getDataSourceResponse_dataLocationS3,+ getDataSourceResponse_dataRearrangement,+ getDataSourceResponse_dataSizeInBytes,+ getDataSourceResponse_dataSourceId,+ getDataSourceResponse_dataSourceSchema,+ getDataSourceResponse_finishedAt,+ getDataSourceResponse_lastUpdatedAt,+ getDataSourceResponse_logUri,+ getDataSourceResponse_message,+ getDataSourceResponse_name,+ getDataSourceResponse_numberOfFiles,+ getDataSourceResponse_rDSMetadata,+ getDataSourceResponse_redshiftMetadata,+ getDataSourceResponse_roleARN,+ getDataSourceResponse_startedAt,+ getDataSourceResponse_status,+ getDataSourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetDataSource' smart constructor.+data GetDataSource = GetDataSource'+ { -- | Specifies whether the @GetDataSource@ operation should return+ -- @DataSourceSchema@.+ --+ -- If true, @DataSourceSchema@ is returned.+ --+ -- If false, @DataSourceSchema@ is not returned.+ verbose :: Prelude.Maybe Prelude.Bool,+ -- | The ID assigned to the @DataSource@ at creation.+ dataSourceId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetDataSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'verbose', 'getDataSource_verbose' - Specifies whether the @GetDataSource@ operation should return+-- @DataSourceSchema@.+--+-- If true, @DataSourceSchema@ is returned.+--+-- If false, @DataSourceSchema@ is not returned.+--+-- 'dataSourceId', 'getDataSource_dataSourceId' - The ID assigned to the @DataSource@ at creation.+newGetDataSource ::+ -- | 'dataSourceId'+ Prelude.Text ->+ GetDataSource+newGetDataSource pDataSourceId_ =+ GetDataSource'+ { verbose = Prelude.Nothing,+ dataSourceId = pDataSourceId_+ }++-- | Specifies whether the @GetDataSource@ operation should return+-- @DataSourceSchema@.+--+-- If true, @DataSourceSchema@ is returned.+--+-- If false, @DataSourceSchema@ is not returned.+getDataSource_verbose :: Lens.Lens' GetDataSource (Prelude.Maybe Prelude.Bool)+getDataSource_verbose = Lens.lens (\GetDataSource' {verbose} -> verbose) (\s@GetDataSource' {} a -> s {verbose = a} :: GetDataSource)++-- | The ID assigned to the @DataSource@ at creation.+getDataSource_dataSourceId :: Lens.Lens' GetDataSource Prelude.Text+getDataSource_dataSourceId = Lens.lens (\GetDataSource' {dataSourceId} -> dataSourceId) (\s@GetDataSource' {} a -> s {dataSourceId = a} :: GetDataSource)++instance Core.AWSRequest GetDataSource where+ type+ AWSResponse GetDataSource =+ GetDataSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetDataSourceResponse'+ Prelude.<$> (x Data..?> "ComputeStatistics")+ Prelude.<*> (x Data..?> "ComputeTime")+ Prelude.<*> (x Data..?> "CreatedAt")+ Prelude.<*> (x Data..?> "CreatedByIamUser")+ Prelude.<*> (x Data..?> "DataLocationS3")+ Prelude.<*> (x Data..?> "DataRearrangement")+ Prelude.<*> (x Data..?> "DataSizeInBytes")+ Prelude.<*> (x Data..?> "DataSourceId")+ Prelude.<*> (x Data..?> "DataSourceSchema")+ Prelude.<*> (x Data..?> "FinishedAt")+ Prelude.<*> (x Data..?> "LastUpdatedAt")+ Prelude.<*> (x Data..?> "LogUri")+ Prelude.<*> (x Data..?> "Message")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "NumberOfFiles")+ Prelude.<*> (x Data..?> "RDSMetadata")+ Prelude.<*> (x Data..?> "RedshiftMetadata")+ Prelude.<*> (x Data..?> "RoleARN")+ Prelude.<*> (x Data..?> "StartedAt")+ Prelude.<*> (x Data..?> "Status")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetDataSource where+ hashWithSalt _salt GetDataSource' {..} =+ _salt+ `Prelude.hashWithSalt` verbose+ `Prelude.hashWithSalt` dataSourceId++instance Prelude.NFData GetDataSource where+ rnf GetDataSource' {..} =+ Prelude.rnf verbose+ `Prelude.seq` Prelude.rnf dataSourceId++instance Data.ToHeaders GetDataSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.GetDataSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetDataSource where+ toJSON GetDataSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Verbose" Data..=) Prelude.<$> verbose,+ Prelude.Just ("DataSourceId" Data..= dataSourceId)+ ]+ )++instance Data.ToPath GetDataSource where+ toPath = Prelude.const "/"++instance Data.ToQuery GetDataSource where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @GetDataSource@ operation and describes a+-- @DataSource@.+--+-- /See:/ 'newGetDataSourceResponse' smart constructor.+data GetDataSourceResponse = GetDataSourceResponse'+ { -- | The parameter is @true@ if statistics need to be generated from the+ -- observation data.+ computeStatistics :: Prelude.Maybe Prelude.Bool,+ -- | The approximate CPU time in milliseconds that Amazon Machine Learning+ -- spent processing the @DataSource@, normalized and scaled on computation+ -- resources. @ComputeTime@ is only available if the @DataSource@ is in the+ -- @COMPLETED@ state and the @ComputeStatistics@ is set to true.+ computeTime :: Prelude.Maybe Prelude.Integer,+ -- | The time that the @DataSource@ was created. The time is expressed in+ -- epoch time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The AWS user account from which the @DataSource@ was created. The+ -- account type can be either an AWS root account or an AWS Identity and+ -- Access Management (IAM) user account.+ createdByIamUser :: Prelude.Maybe Prelude.Text,+ -- | The location of the data file or directory in Amazon Simple Storage+ -- Service (Amazon S3).+ dataLocationS3 :: Prelude.Maybe Prelude.Text,+ -- | A JSON string that represents the splitting and rearrangement+ -- requirement used when this @DataSource@ was created.+ dataRearrangement :: Prelude.Maybe Prelude.Text,+ -- | The total size of observations in the data files.+ dataSizeInBytes :: Prelude.Maybe Prelude.Integer,+ -- | The ID assigned to the @DataSource@ at creation. This value should be+ -- identical to the value of the @DataSourceId@ in the request.+ dataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The schema used by all of the data files of this @DataSource@.+ --+ -- __Note:__ This parameter is provided as part of the verbose format.+ dataSourceSchema :: Prelude.Maybe Prelude.Text,+ -- | The epoch time when Amazon Machine Learning marked the @DataSource@ as+ -- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+ -- @DataSource@ is in the @COMPLETED@ or @FAILED@ state.+ finishedAt :: Prelude.Maybe Data.POSIX,+ -- | The time of the most recent edit to the @DataSource@. The time is+ -- expressed in epoch time.+ lastUpdatedAt :: Prelude.Maybe Data.POSIX,+ -- | A link to the file containing logs of @CreateDataSourceFrom*@+ -- operations.+ logUri :: Prelude.Maybe Prelude.Text,+ -- | The user-supplied description of the most recent details about creating+ -- the @DataSource@.+ message :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied name or description of the @DataSource@.+ name :: Prelude.Maybe Prelude.Text,+ -- | The number of data files referenced by the @DataSource@.+ numberOfFiles :: Prelude.Maybe Prelude.Integer,+ rDSMetadata :: Prelude.Maybe RDSMetadata,+ redshiftMetadata :: Prelude.Maybe RedshiftMetadata,+ roleARN :: Prelude.Maybe Prelude.Text,+ -- | The epoch time when Amazon Machine Learning marked the @DataSource@ as+ -- @INPROGRESS@. @StartedAt@ isn\'t available if the @DataSource@ is in the+ -- @PENDING@ state.+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The current status of the @DataSource@. This element can have one of the+ -- following values:+ --+ -- - @PENDING@ - Amazon ML submitted a request to create a @DataSource@.+ --+ -- - @INPROGRESS@ - The creation process is underway.+ --+ -- - @FAILED@ - The request to create a @DataSource@ did not run to+ -- completion. It is not usable.+ --+ -- - @COMPLETED@ - The creation process completed successfully.+ --+ -- - @DELETED@ - The @DataSource@ is marked as deleted. It is not usable.+ status :: Prelude.Maybe EntityStatus,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetDataSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeStatistics', 'getDataSourceResponse_computeStatistics' - The parameter is @true@ if statistics need to be generated from the+-- observation data.+--+-- 'computeTime', 'getDataSourceResponse_computeTime' - The approximate CPU time in milliseconds that Amazon Machine Learning+-- spent processing the @DataSource@, normalized and scaled on computation+-- resources. @ComputeTime@ is only available if the @DataSource@ is in the+-- @COMPLETED@ state and the @ComputeStatistics@ is set to true.+--+-- 'createdAt', 'getDataSourceResponse_createdAt' - The time that the @DataSource@ was created. The time is expressed in+-- epoch time.+--+-- 'createdByIamUser', 'getDataSourceResponse_createdByIamUser' - The AWS user account from which the @DataSource@ was created. The+-- account type can be either an AWS root account or an AWS Identity and+-- Access Management (IAM) user account.+--+-- 'dataLocationS3', 'getDataSourceResponse_dataLocationS3' - The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+--+-- 'dataRearrangement', 'getDataSourceResponse_dataRearrangement' - A JSON string that represents the splitting and rearrangement+-- requirement used when this @DataSource@ was created.+--+-- 'dataSizeInBytes', 'getDataSourceResponse_dataSizeInBytes' - The total size of observations in the data files.+--+-- 'dataSourceId', 'getDataSourceResponse_dataSourceId' - The ID assigned to the @DataSource@ at creation. This value should be+-- identical to the value of the @DataSourceId@ in the request.+--+-- 'dataSourceSchema', 'getDataSourceResponse_dataSourceSchema' - The schema used by all of the data files of this @DataSource@.+--+-- __Note:__ This parameter is provided as part of the verbose format.+--+-- 'finishedAt', 'getDataSourceResponse_finishedAt' - The epoch time when Amazon Machine Learning marked the @DataSource@ as+-- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+-- @DataSource@ is in the @COMPLETED@ or @FAILED@ state.+--+-- 'lastUpdatedAt', 'getDataSourceResponse_lastUpdatedAt' - The time of the most recent edit to the @DataSource@. The time is+-- expressed in epoch time.+--+-- 'logUri', 'getDataSourceResponse_logUri' - A link to the file containing logs of @CreateDataSourceFrom*@+-- operations.+--+-- 'message', 'getDataSourceResponse_message' - The user-supplied description of the most recent details about creating+-- the @DataSource@.+--+-- 'name', 'getDataSourceResponse_name' - A user-supplied name or description of the @DataSource@.+--+-- 'numberOfFiles', 'getDataSourceResponse_numberOfFiles' - The number of data files referenced by the @DataSource@.+--+-- 'rDSMetadata', 'getDataSourceResponse_rDSMetadata' - Undocumented member.+--+-- 'redshiftMetadata', 'getDataSourceResponse_redshiftMetadata' - Undocumented member.+--+-- 'roleARN', 'getDataSourceResponse_roleARN' - Undocumented member.+--+-- 'startedAt', 'getDataSourceResponse_startedAt' - The epoch time when Amazon Machine Learning marked the @DataSource@ as+-- @INPROGRESS@. @StartedAt@ isn\'t available if the @DataSource@ is in the+-- @PENDING@ state.+--+-- 'status', 'getDataSourceResponse_status' - The current status of the @DataSource@. This element can have one of the+-- following values:+--+-- - @PENDING@ - Amazon ML submitted a request to create a @DataSource@.+--+-- - @INPROGRESS@ - The creation process is underway.+--+-- - @FAILED@ - The request to create a @DataSource@ did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The creation process completed successfully.+--+-- - @DELETED@ - The @DataSource@ is marked as deleted. It is not usable.+--+-- 'httpStatus', 'getDataSourceResponse_httpStatus' - The response's http status code.+newGetDataSourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetDataSourceResponse+newGetDataSourceResponse pHttpStatus_ =+ GetDataSourceResponse'+ { computeStatistics =+ Prelude.Nothing,+ computeTime = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdByIamUser = Prelude.Nothing,+ dataLocationS3 = Prelude.Nothing,+ dataRearrangement = Prelude.Nothing,+ dataSizeInBytes = Prelude.Nothing,+ dataSourceId = Prelude.Nothing,+ dataSourceSchema = Prelude.Nothing,+ finishedAt = Prelude.Nothing,+ lastUpdatedAt = Prelude.Nothing,+ logUri = Prelude.Nothing,+ message = Prelude.Nothing,+ name = Prelude.Nothing,+ numberOfFiles = Prelude.Nothing,+ rDSMetadata = Prelude.Nothing,+ redshiftMetadata = Prelude.Nothing,+ roleARN = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The parameter is @true@ if statistics need to be generated from the+-- observation data.+getDataSourceResponse_computeStatistics :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Bool)+getDataSourceResponse_computeStatistics = Lens.lens (\GetDataSourceResponse' {computeStatistics} -> computeStatistics) (\s@GetDataSourceResponse' {} a -> s {computeStatistics = a} :: GetDataSourceResponse)++-- | The approximate CPU time in milliseconds that Amazon Machine Learning+-- spent processing the @DataSource@, normalized and scaled on computation+-- resources. @ComputeTime@ is only available if the @DataSource@ is in the+-- @COMPLETED@ state and the @ComputeStatistics@ is set to true.+getDataSourceResponse_computeTime :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Integer)+getDataSourceResponse_computeTime = Lens.lens (\GetDataSourceResponse' {computeTime} -> computeTime) (\s@GetDataSourceResponse' {} a -> s {computeTime = a} :: GetDataSourceResponse)++-- | The time that the @DataSource@ was created. The time is expressed in+-- epoch time.+getDataSourceResponse_createdAt :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.UTCTime)+getDataSourceResponse_createdAt = Lens.lens (\GetDataSourceResponse' {createdAt} -> createdAt) (\s@GetDataSourceResponse' {} a -> s {createdAt = a} :: GetDataSourceResponse) Prelude.. Lens.mapping Data._Time++-- | The AWS user account from which the @DataSource@ was created. The+-- account type can be either an AWS root account or an AWS Identity and+-- Access Management (IAM) user account.+getDataSourceResponse_createdByIamUser :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_createdByIamUser = Lens.lens (\GetDataSourceResponse' {createdByIamUser} -> createdByIamUser) (\s@GetDataSourceResponse' {} a -> s {createdByIamUser = a} :: GetDataSourceResponse)++-- | The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+getDataSourceResponse_dataLocationS3 :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_dataLocationS3 = Lens.lens (\GetDataSourceResponse' {dataLocationS3} -> dataLocationS3) (\s@GetDataSourceResponse' {} a -> s {dataLocationS3 = a} :: GetDataSourceResponse)++-- | A JSON string that represents the splitting and rearrangement+-- requirement used when this @DataSource@ was created.+getDataSourceResponse_dataRearrangement :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_dataRearrangement = Lens.lens (\GetDataSourceResponse' {dataRearrangement} -> dataRearrangement) (\s@GetDataSourceResponse' {} a -> s {dataRearrangement = a} :: GetDataSourceResponse)++-- | The total size of observations in the data files.+getDataSourceResponse_dataSizeInBytes :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Integer)+getDataSourceResponse_dataSizeInBytes = Lens.lens (\GetDataSourceResponse' {dataSizeInBytes} -> dataSizeInBytes) (\s@GetDataSourceResponse' {} a -> s {dataSizeInBytes = a} :: GetDataSourceResponse)++-- | The ID assigned to the @DataSource@ at creation. This value should be+-- identical to the value of the @DataSourceId@ in the request.+getDataSourceResponse_dataSourceId :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_dataSourceId = Lens.lens (\GetDataSourceResponse' {dataSourceId} -> dataSourceId) (\s@GetDataSourceResponse' {} a -> s {dataSourceId = a} :: GetDataSourceResponse)++-- | The schema used by all of the data files of this @DataSource@.+--+-- __Note:__ This parameter is provided as part of the verbose format.+getDataSourceResponse_dataSourceSchema :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_dataSourceSchema = Lens.lens (\GetDataSourceResponse' {dataSourceSchema} -> dataSourceSchema) (\s@GetDataSourceResponse' {} a -> s {dataSourceSchema = a} :: GetDataSourceResponse)++-- | The epoch time when Amazon Machine Learning marked the @DataSource@ as+-- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+-- @DataSource@ is in the @COMPLETED@ or @FAILED@ state.+getDataSourceResponse_finishedAt :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.UTCTime)+getDataSourceResponse_finishedAt = Lens.lens (\GetDataSourceResponse' {finishedAt} -> finishedAt) (\s@GetDataSourceResponse' {} a -> s {finishedAt = a} :: GetDataSourceResponse) Prelude.. Lens.mapping Data._Time++-- | The time of the most recent edit to the @DataSource@. The time is+-- expressed in epoch time.+getDataSourceResponse_lastUpdatedAt :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.UTCTime)+getDataSourceResponse_lastUpdatedAt = Lens.lens (\GetDataSourceResponse' {lastUpdatedAt} -> lastUpdatedAt) (\s@GetDataSourceResponse' {} a -> s {lastUpdatedAt = a} :: GetDataSourceResponse) Prelude.. Lens.mapping Data._Time++-- | A link to the file containing logs of @CreateDataSourceFrom*@+-- operations.+getDataSourceResponse_logUri :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_logUri = Lens.lens (\GetDataSourceResponse' {logUri} -> logUri) (\s@GetDataSourceResponse' {} a -> s {logUri = a} :: GetDataSourceResponse)++-- | The user-supplied description of the most recent details about creating+-- the @DataSource@.+getDataSourceResponse_message :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_message = Lens.lens (\GetDataSourceResponse' {message} -> message) (\s@GetDataSourceResponse' {} a -> s {message = a} :: GetDataSourceResponse)++-- | A user-supplied name or description of the @DataSource@.+getDataSourceResponse_name :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_name = Lens.lens (\GetDataSourceResponse' {name} -> name) (\s@GetDataSourceResponse' {} a -> s {name = a} :: GetDataSourceResponse)++-- | The number of data files referenced by the @DataSource@.+getDataSourceResponse_numberOfFiles :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Integer)+getDataSourceResponse_numberOfFiles = Lens.lens (\GetDataSourceResponse' {numberOfFiles} -> numberOfFiles) (\s@GetDataSourceResponse' {} a -> s {numberOfFiles = a} :: GetDataSourceResponse)++-- | Undocumented member.+getDataSourceResponse_rDSMetadata :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe RDSMetadata)+getDataSourceResponse_rDSMetadata = Lens.lens (\GetDataSourceResponse' {rDSMetadata} -> rDSMetadata) (\s@GetDataSourceResponse' {} a -> s {rDSMetadata = a} :: GetDataSourceResponse)++-- | Undocumented member.+getDataSourceResponse_redshiftMetadata :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe RedshiftMetadata)+getDataSourceResponse_redshiftMetadata = Lens.lens (\GetDataSourceResponse' {redshiftMetadata} -> redshiftMetadata) (\s@GetDataSourceResponse' {} a -> s {redshiftMetadata = a} :: GetDataSourceResponse)++-- | Undocumented member.+getDataSourceResponse_roleARN :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.Text)+getDataSourceResponse_roleARN = Lens.lens (\GetDataSourceResponse' {roleARN} -> roleARN) (\s@GetDataSourceResponse' {} a -> s {roleARN = a} :: GetDataSourceResponse)++-- | The epoch time when Amazon Machine Learning marked the @DataSource@ as+-- @INPROGRESS@. @StartedAt@ isn\'t available if the @DataSource@ is in the+-- @PENDING@ state.+getDataSourceResponse_startedAt :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe Prelude.UTCTime)+getDataSourceResponse_startedAt = Lens.lens (\GetDataSourceResponse' {startedAt} -> startedAt) (\s@GetDataSourceResponse' {} a -> s {startedAt = a} :: GetDataSourceResponse) Prelude.. Lens.mapping Data._Time++-- | The current status of the @DataSource@. This element can have one of the+-- following values:+--+-- - @PENDING@ - Amazon ML submitted a request to create a @DataSource@.+--+-- - @INPROGRESS@ - The creation process is underway.+--+-- - @FAILED@ - The request to create a @DataSource@ did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The creation process completed successfully.+--+-- - @DELETED@ - The @DataSource@ is marked as deleted. It is not usable.+getDataSourceResponse_status :: Lens.Lens' GetDataSourceResponse (Prelude.Maybe EntityStatus)+getDataSourceResponse_status = Lens.lens (\GetDataSourceResponse' {status} -> status) (\s@GetDataSourceResponse' {} a -> s {status = a} :: GetDataSourceResponse)++-- | The response's http status code.+getDataSourceResponse_httpStatus :: Lens.Lens' GetDataSourceResponse Prelude.Int+getDataSourceResponse_httpStatus = Lens.lens (\GetDataSourceResponse' {httpStatus} -> httpStatus) (\s@GetDataSourceResponse' {} a -> s {httpStatus = a} :: GetDataSourceResponse)++instance Prelude.NFData GetDataSourceResponse where+ rnf GetDataSourceResponse' {..} =+ Prelude.rnf computeStatistics+ `Prelude.seq` Prelude.rnf computeTime+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdByIamUser+ `Prelude.seq` Prelude.rnf dataLocationS3+ `Prelude.seq` Prelude.rnf dataRearrangement+ `Prelude.seq` Prelude.rnf dataSizeInBytes+ `Prelude.seq` Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf dataSourceSchema+ `Prelude.seq` Prelude.rnf finishedAt+ `Prelude.seq` Prelude.rnf lastUpdatedAt+ `Prelude.seq` Prelude.rnf logUri+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf numberOfFiles+ `Prelude.seq` Prelude.rnf rDSMetadata+ `Prelude.seq` Prelude.rnf redshiftMetadata+ `Prelude.seq` Prelude.rnf roleARN+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/GetEvaluation.hs view
@@ -0,0 +1,472 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.GetEvaluation+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns an @Evaluation@ that includes metadata as well as the current+-- status of the @Evaluation@.+module Amazonka.MachineLearning.GetEvaluation+ ( -- * Creating a Request+ GetEvaluation (..),+ newGetEvaluation,++ -- * Request Lenses+ getEvaluation_evaluationId,++ -- * Destructuring the Response+ GetEvaluationResponse (..),+ newGetEvaluationResponse,++ -- * Response Lenses+ getEvaluationResponse_computeTime,+ getEvaluationResponse_createdAt,+ getEvaluationResponse_createdByIamUser,+ getEvaluationResponse_evaluationDataSourceId,+ getEvaluationResponse_evaluationId,+ getEvaluationResponse_finishedAt,+ getEvaluationResponse_inputDataLocationS3,+ getEvaluationResponse_lastUpdatedAt,+ getEvaluationResponse_logUri,+ getEvaluationResponse_mLModelId,+ getEvaluationResponse_message,+ getEvaluationResponse_name,+ getEvaluationResponse_performanceMetrics,+ getEvaluationResponse_startedAt,+ getEvaluationResponse_status,+ getEvaluationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetEvaluation' smart constructor.+data GetEvaluation = GetEvaluation'+ { -- | The ID of the @Evaluation@ to retrieve. The evaluation of each @MLModel@+ -- is recorded and cataloged. The ID provides the means to access the+ -- information.+ evaluationId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetEvaluation' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'evaluationId', 'getEvaluation_evaluationId' - The ID of the @Evaluation@ to retrieve. The evaluation of each @MLModel@+-- is recorded and cataloged. The ID provides the means to access the+-- information.+newGetEvaluation ::+ -- | 'evaluationId'+ Prelude.Text ->+ GetEvaluation+newGetEvaluation pEvaluationId_ =+ GetEvaluation' {evaluationId = pEvaluationId_}++-- | The ID of the @Evaluation@ to retrieve. The evaluation of each @MLModel@+-- is recorded and cataloged. The ID provides the means to access the+-- information.+getEvaluation_evaluationId :: Lens.Lens' GetEvaluation Prelude.Text+getEvaluation_evaluationId = Lens.lens (\GetEvaluation' {evaluationId} -> evaluationId) (\s@GetEvaluation' {} a -> s {evaluationId = a} :: GetEvaluation)++instance Core.AWSRequest GetEvaluation where+ type+ AWSResponse GetEvaluation =+ GetEvaluationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetEvaluationResponse'+ Prelude.<$> (x Data..?> "ComputeTime")+ Prelude.<*> (x Data..?> "CreatedAt")+ Prelude.<*> (x Data..?> "CreatedByIamUser")+ Prelude.<*> (x Data..?> "EvaluationDataSourceId")+ Prelude.<*> (x Data..?> "EvaluationId")+ Prelude.<*> (x Data..?> "FinishedAt")+ Prelude.<*> (x Data..?> "InputDataLocationS3")+ Prelude.<*> (x Data..?> "LastUpdatedAt")+ Prelude.<*> (x Data..?> "LogUri")+ Prelude.<*> (x Data..?> "MLModelId")+ Prelude.<*> (x Data..?> "Message")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "PerformanceMetrics")+ Prelude.<*> (x Data..?> "StartedAt")+ Prelude.<*> (x Data..?> "Status")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetEvaluation where+ hashWithSalt _salt GetEvaluation' {..} =+ _salt `Prelude.hashWithSalt` evaluationId++instance Prelude.NFData GetEvaluation where+ rnf GetEvaluation' {..} = Prelude.rnf evaluationId++instance Data.ToHeaders GetEvaluation where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.GetEvaluation" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetEvaluation where+ toJSON GetEvaluation' {..} =+ Data.object+ ( Prelude.catMaybes+ [Prelude.Just ("EvaluationId" Data..= evaluationId)]+ )++instance Data.ToPath GetEvaluation where+ toPath = Prelude.const "/"++instance Data.ToQuery GetEvaluation where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @GetEvaluation@ operation and describes an+-- @Evaluation@.+--+-- /See:/ 'newGetEvaluationResponse' smart constructor.+data GetEvaluationResponse = GetEvaluationResponse'+ { -- | The approximate CPU time in milliseconds that Amazon Machine Learning+ -- spent processing the @Evaluation@, normalized and scaled on computation+ -- resources. @ComputeTime@ is only available if the @Evaluation@ is in the+ -- @COMPLETED@ state.+ computeTime :: Prelude.Maybe Prelude.Integer,+ -- | The time that the @Evaluation@ was created. The time is expressed in+ -- epoch time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The AWS user account that invoked the evaluation. The account type can+ -- be either an AWS root account or an AWS Identity and Access Management+ -- (IAM) user account.+ createdByIamUser :: Prelude.Maybe Prelude.Text,+ -- | The @DataSource@ used for this evaluation.+ evaluationDataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The evaluation ID which is same as the @EvaluationId@ in the request.+ evaluationId :: Prelude.Maybe Prelude.Text,+ -- | The epoch time when Amazon Machine Learning marked the @Evaluation@ as+ -- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+ -- @Evaluation@ is in the @COMPLETED@ or @FAILED@ state.+ finishedAt :: Prelude.Maybe Data.POSIX,+ -- | The location of the data file or directory in Amazon Simple Storage+ -- Service (Amazon S3).+ inputDataLocationS3 :: Prelude.Maybe Prelude.Text,+ -- | The time of the most recent edit to the @Evaluation@. The time is+ -- expressed in epoch time.+ lastUpdatedAt :: Prelude.Maybe Data.POSIX,+ -- | A link to the file that contains logs of the @CreateEvaluation@+ -- operation.+ logUri :: Prelude.Maybe Prelude.Text,+ -- | The ID of the @MLModel@ that was the focus of the evaluation.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | A description of the most recent details about evaluating the @MLModel@.+ message :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied name or description of the @Evaluation@.+ name :: Prelude.Maybe Prelude.Text,+ -- | Measurements of how well the @MLModel@ performed using observations+ -- referenced by the @DataSource@. One of the following metric is returned+ -- based on the type of the @MLModel@:+ --+ -- - BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC)+ -- technique to measure performance.+ --+ -- - RegressionRMSE: A regression @MLModel@ uses the Root Mean Square+ -- Error (RMSE) technique to measure performance. RMSE measures the+ -- difference between predicted and actual values for a single+ -- variable.+ --+ -- - MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score+ -- technique to measure performance.+ --+ -- For more information about performance metrics, please see the+ -- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+ performanceMetrics :: Prelude.Maybe PerformanceMetrics,+ -- | The epoch time when Amazon Machine Learning marked the @Evaluation@ as+ -- @INPROGRESS@. @StartedAt@ isn\'t available if the @Evaluation@ is in the+ -- @PENDING@ state.+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The status of the evaluation. This element can have one of the following+ -- values:+ --+ -- - @PENDING@ - Amazon Machine Language (Amazon ML) submitted a request+ -- to evaluate an @MLModel@.+ --+ -- - @INPROGRESS@ - The evaluation is underway.+ --+ -- - @FAILED@ - The request to evaluate an @MLModel@ did not run to+ -- completion. It is not usable.+ --+ -- - @COMPLETED@ - The evaluation process completed successfully.+ --+ -- - @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.+ status :: Prelude.Maybe EntityStatus,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetEvaluationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeTime', 'getEvaluationResponse_computeTime' - The approximate CPU time in milliseconds that Amazon Machine Learning+-- spent processing the @Evaluation@, normalized and scaled on computation+-- resources. @ComputeTime@ is only available if the @Evaluation@ is in the+-- @COMPLETED@ state.+--+-- 'createdAt', 'getEvaluationResponse_createdAt' - The time that the @Evaluation@ was created. The time is expressed in+-- epoch time.+--+-- 'createdByIamUser', 'getEvaluationResponse_createdByIamUser' - The AWS user account that invoked the evaluation. The account type can+-- be either an AWS root account or an AWS Identity and Access Management+-- (IAM) user account.+--+-- 'evaluationDataSourceId', 'getEvaluationResponse_evaluationDataSourceId' - The @DataSource@ used for this evaluation.+--+-- 'evaluationId', 'getEvaluationResponse_evaluationId' - The evaluation ID which is same as the @EvaluationId@ in the request.+--+-- 'finishedAt', 'getEvaluationResponse_finishedAt' - The epoch time when Amazon Machine Learning marked the @Evaluation@ as+-- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+-- @Evaluation@ is in the @COMPLETED@ or @FAILED@ state.+--+-- 'inputDataLocationS3', 'getEvaluationResponse_inputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+--+-- 'lastUpdatedAt', 'getEvaluationResponse_lastUpdatedAt' - The time of the most recent edit to the @Evaluation@. The time is+-- expressed in epoch time.+--+-- 'logUri', 'getEvaluationResponse_logUri' - A link to the file that contains logs of the @CreateEvaluation@+-- operation.+--+-- 'mLModelId', 'getEvaluationResponse_mLModelId' - The ID of the @MLModel@ that was the focus of the evaluation.+--+-- 'message', 'getEvaluationResponse_message' - A description of the most recent details about evaluating the @MLModel@.+--+-- 'name', 'getEvaluationResponse_name' - A user-supplied name or description of the @Evaluation@.+--+-- 'performanceMetrics', 'getEvaluationResponse_performanceMetrics' - Measurements of how well the @MLModel@ performed using observations+-- referenced by the @DataSource@. One of the following metric is returned+-- based on the type of the @MLModel@:+--+-- - BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC)+-- technique to measure performance.+--+-- - RegressionRMSE: A regression @MLModel@ uses the Root Mean Square+-- Error (RMSE) technique to measure performance. RMSE measures the+-- difference between predicted and actual values for a single+-- variable.+--+-- - MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score+-- technique to measure performance.+--+-- For more information about performance metrics, please see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+--+-- 'startedAt', 'getEvaluationResponse_startedAt' - The epoch time when Amazon Machine Learning marked the @Evaluation@ as+-- @INPROGRESS@. @StartedAt@ isn\'t available if the @Evaluation@ is in the+-- @PENDING@ state.+--+-- 'status', 'getEvaluationResponse_status' - The status of the evaluation. This element can have one of the following+-- values:+--+-- - @PENDING@ - Amazon Machine Language (Amazon ML) submitted a request+-- to evaluate an @MLModel@.+--+-- - @INPROGRESS@ - The evaluation is underway.+--+-- - @FAILED@ - The request to evaluate an @MLModel@ did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The evaluation process completed successfully.+--+-- - @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.+--+-- 'httpStatus', 'getEvaluationResponse_httpStatus' - The response's http status code.+newGetEvaluationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetEvaluationResponse+newGetEvaluationResponse pHttpStatus_ =+ GetEvaluationResponse'+ { computeTime =+ Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdByIamUser = Prelude.Nothing,+ evaluationDataSourceId = Prelude.Nothing,+ evaluationId = Prelude.Nothing,+ finishedAt = Prelude.Nothing,+ inputDataLocationS3 = Prelude.Nothing,+ lastUpdatedAt = Prelude.Nothing,+ logUri = Prelude.Nothing,+ mLModelId = Prelude.Nothing,+ message = Prelude.Nothing,+ name = Prelude.Nothing,+ performanceMetrics = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The approximate CPU time in milliseconds that Amazon Machine Learning+-- spent processing the @Evaluation@, normalized and scaled on computation+-- resources. @ComputeTime@ is only available if the @Evaluation@ is in the+-- @COMPLETED@ state.+getEvaluationResponse_computeTime :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Integer)+getEvaluationResponse_computeTime = Lens.lens (\GetEvaluationResponse' {computeTime} -> computeTime) (\s@GetEvaluationResponse' {} a -> s {computeTime = a} :: GetEvaluationResponse)++-- | The time that the @Evaluation@ was created. The time is expressed in+-- epoch time.+getEvaluationResponse_createdAt :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.UTCTime)+getEvaluationResponse_createdAt = Lens.lens (\GetEvaluationResponse' {createdAt} -> createdAt) (\s@GetEvaluationResponse' {} a -> s {createdAt = a} :: GetEvaluationResponse) Prelude.. Lens.mapping Data._Time++-- | The AWS user account that invoked the evaluation. The account type can+-- be either an AWS root account or an AWS Identity and Access Management+-- (IAM) user account.+getEvaluationResponse_createdByIamUser :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Text)+getEvaluationResponse_createdByIamUser = Lens.lens (\GetEvaluationResponse' {createdByIamUser} -> createdByIamUser) (\s@GetEvaluationResponse' {} a -> s {createdByIamUser = a} :: GetEvaluationResponse)++-- | The @DataSource@ used for this evaluation.+getEvaluationResponse_evaluationDataSourceId :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Text)+getEvaluationResponse_evaluationDataSourceId = Lens.lens (\GetEvaluationResponse' {evaluationDataSourceId} -> evaluationDataSourceId) (\s@GetEvaluationResponse' {} a -> s {evaluationDataSourceId = a} :: GetEvaluationResponse)++-- | The evaluation ID which is same as the @EvaluationId@ in the request.+getEvaluationResponse_evaluationId :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Text)+getEvaluationResponse_evaluationId = Lens.lens (\GetEvaluationResponse' {evaluationId} -> evaluationId) (\s@GetEvaluationResponse' {} a -> s {evaluationId = a} :: GetEvaluationResponse)++-- | The epoch time when Amazon Machine Learning marked the @Evaluation@ as+-- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+-- @Evaluation@ is in the @COMPLETED@ or @FAILED@ state.+getEvaluationResponse_finishedAt :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.UTCTime)+getEvaluationResponse_finishedAt = Lens.lens (\GetEvaluationResponse' {finishedAt} -> finishedAt) (\s@GetEvaluationResponse' {} a -> s {finishedAt = a} :: GetEvaluationResponse) Prelude.. Lens.mapping Data._Time++-- | The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+getEvaluationResponse_inputDataLocationS3 :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Text)+getEvaluationResponse_inputDataLocationS3 = Lens.lens (\GetEvaluationResponse' {inputDataLocationS3} -> inputDataLocationS3) (\s@GetEvaluationResponse' {} a -> s {inputDataLocationS3 = a} :: GetEvaluationResponse)++-- | The time of the most recent edit to the @Evaluation@. The time is+-- expressed in epoch time.+getEvaluationResponse_lastUpdatedAt :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.UTCTime)+getEvaluationResponse_lastUpdatedAt = Lens.lens (\GetEvaluationResponse' {lastUpdatedAt} -> lastUpdatedAt) (\s@GetEvaluationResponse' {} a -> s {lastUpdatedAt = a} :: GetEvaluationResponse) Prelude.. Lens.mapping Data._Time++-- | A link to the file that contains logs of the @CreateEvaluation@+-- operation.+getEvaluationResponse_logUri :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Text)+getEvaluationResponse_logUri = Lens.lens (\GetEvaluationResponse' {logUri} -> logUri) (\s@GetEvaluationResponse' {} a -> s {logUri = a} :: GetEvaluationResponse)++-- | The ID of the @MLModel@ that was the focus of the evaluation.+getEvaluationResponse_mLModelId :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Text)+getEvaluationResponse_mLModelId = Lens.lens (\GetEvaluationResponse' {mLModelId} -> mLModelId) (\s@GetEvaluationResponse' {} a -> s {mLModelId = a} :: GetEvaluationResponse)++-- | A description of the most recent details about evaluating the @MLModel@.+getEvaluationResponse_message :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Text)+getEvaluationResponse_message = Lens.lens (\GetEvaluationResponse' {message} -> message) (\s@GetEvaluationResponse' {} a -> s {message = a} :: GetEvaluationResponse)++-- | A user-supplied name or description of the @Evaluation@.+getEvaluationResponse_name :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.Text)+getEvaluationResponse_name = Lens.lens (\GetEvaluationResponse' {name} -> name) (\s@GetEvaluationResponse' {} a -> s {name = a} :: GetEvaluationResponse)++-- | Measurements of how well the @MLModel@ performed using observations+-- referenced by the @DataSource@. One of the following metric is returned+-- based on the type of the @MLModel@:+--+-- - BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC)+-- technique to measure performance.+--+-- - RegressionRMSE: A regression @MLModel@ uses the Root Mean Square+-- Error (RMSE) technique to measure performance. RMSE measures the+-- difference between predicted and actual values for a single+-- variable.+--+-- - MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score+-- technique to measure performance.+--+-- For more information about performance metrics, please see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+getEvaluationResponse_performanceMetrics :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe PerformanceMetrics)+getEvaluationResponse_performanceMetrics = Lens.lens (\GetEvaluationResponse' {performanceMetrics} -> performanceMetrics) (\s@GetEvaluationResponse' {} a -> s {performanceMetrics = a} :: GetEvaluationResponse)++-- | The epoch time when Amazon Machine Learning marked the @Evaluation@ as+-- @INPROGRESS@. @StartedAt@ isn\'t available if the @Evaluation@ is in the+-- @PENDING@ state.+getEvaluationResponse_startedAt :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe Prelude.UTCTime)+getEvaluationResponse_startedAt = Lens.lens (\GetEvaluationResponse' {startedAt} -> startedAt) (\s@GetEvaluationResponse' {} a -> s {startedAt = a} :: GetEvaluationResponse) Prelude.. Lens.mapping Data._Time++-- | The status of the evaluation. This element can have one of the following+-- values:+--+-- - @PENDING@ - Amazon Machine Language (Amazon ML) submitted a request+-- to evaluate an @MLModel@.+--+-- - @INPROGRESS@ - The evaluation is underway.+--+-- - @FAILED@ - The request to evaluate an @MLModel@ did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The evaluation process completed successfully.+--+-- - @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.+getEvaluationResponse_status :: Lens.Lens' GetEvaluationResponse (Prelude.Maybe EntityStatus)+getEvaluationResponse_status = Lens.lens (\GetEvaluationResponse' {status} -> status) (\s@GetEvaluationResponse' {} a -> s {status = a} :: GetEvaluationResponse)++-- | The response's http status code.+getEvaluationResponse_httpStatus :: Lens.Lens' GetEvaluationResponse Prelude.Int+getEvaluationResponse_httpStatus = Lens.lens (\GetEvaluationResponse' {httpStatus} -> httpStatus) (\s@GetEvaluationResponse' {} a -> s {httpStatus = a} :: GetEvaluationResponse)++instance Prelude.NFData GetEvaluationResponse where+ rnf GetEvaluationResponse' {..} =+ Prelude.rnf computeTime+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdByIamUser+ `Prelude.seq` Prelude.rnf evaluationDataSourceId+ `Prelude.seq` Prelude.rnf evaluationId+ `Prelude.seq` Prelude.rnf finishedAt+ `Prelude.seq` Prelude.rnf inputDataLocationS3+ `Prelude.seq` Prelude.rnf lastUpdatedAt+ `Prelude.seq` Prelude.rnf logUri+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf performanceMetrics+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/GetMLModel.hs view
@@ -0,0 +1,710 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.GetMLModel+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns an @MLModel@ that includes detailed metadata, data source+-- information, and the current status of the @MLModel@.+--+-- @GetMLModel@ provides results in normal or verbose format.+module Amazonka.MachineLearning.GetMLModel+ ( -- * Creating a Request+ GetMLModel (..),+ newGetMLModel,++ -- * Request Lenses+ getMLModel_verbose,+ getMLModel_mLModelId,++ -- * Destructuring the Response+ GetMLModelResponse (..),+ newGetMLModelResponse,++ -- * Response Lenses+ getMLModelResponse_computeTime,+ getMLModelResponse_createdAt,+ getMLModelResponse_createdByIamUser,+ getMLModelResponse_endpointInfo,+ getMLModelResponse_finishedAt,+ getMLModelResponse_inputDataLocationS3,+ getMLModelResponse_lastUpdatedAt,+ getMLModelResponse_logUri,+ getMLModelResponse_mLModelId,+ getMLModelResponse_mLModelType,+ getMLModelResponse_message,+ getMLModelResponse_name,+ getMLModelResponse_recipe,+ getMLModelResponse_schema,+ getMLModelResponse_scoreThreshold,+ getMLModelResponse_scoreThresholdLastUpdatedAt,+ getMLModelResponse_sizeInBytes,+ getMLModelResponse_startedAt,+ getMLModelResponse_status,+ getMLModelResponse_trainingDataSourceId,+ getMLModelResponse_trainingParameters,+ getMLModelResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetMLModel' smart constructor.+data GetMLModel = GetMLModel'+ { -- | Specifies whether the @GetMLModel@ operation should return @Recipe@.+ --+ -- If true, @Recipe@ is returned.+ --+ -- If false, @Recipe@ is not returned.+ verbose :: Prelude.Maybe Prelude.Bool,+ -- | The ID assigned to the @MLModel@ at creation.+ mLModelId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMLModel' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'verbose', 'getMLModel_verbose' - Specifies whether the @GetMLModel@ operation should return @Recipe@.+--+-- If true, @Recipe@ is returned.+--+-- If false, @Recipe@ is not returned.+--+-- 'mLModelId', 'getMLModel_mLModelId' - The ID assigned to the @MLModel@ at creation.+newGetMLModel ::+ -- | 'mLModelId'+ Prelude.Text ->+ GetMLModel+newGetMLModel pMLModelId_ =+ GetMLModel'+ { verbose = Prelude.Nothing,+ mLModelId = pMLModelId_+ }++-- | Specifies whether the @GetMLModel@ operation should return @Recipe@.+--+-- If true, @Recipe@ is returned.+--+-- If false, @Recipe@ is not returned.+getMLModel_verbose :: Lens.Lens' GetMLModel (Prelude.Maybe Prelude.Bool)+getMLModel_verbose = Lens.lens (\GetMLModel' {verbose} -> verbose) (\s@GetMLModel' {} a -> s {verbose = a} :: GetMLModel)++-- | The ID assigned to the @MLModel@ at creation.+getMLModel_mLModelId :: Lens.Lens' GetMLModel Prelude.Text+getMLModel_mLModelId = Lens.lens (\GetMLModel' {mLModelId} -> mLModelId) (\s@GetMLModel' {} a -> s {mLModelId = a} :: GetMLModel)++instance Core.AWSRequest GetMLModel where+ type AWSResponse GetMLModel = GetMLModelResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ GetMLModelResponse'+ Prelude.<$> (x Data..?> "ComputeTime")+ Prelude.<*> (x Data..?> "CreatedAt")+ Prelude.<*> (x Data..?> "CreatedByIamUser")+ Prelude.<*> (x Data..?> "EndpointInfo")+ Prelude.<*> (x Data..?> "FinishedAt")+ Prelude.<*> (x Data..?> "InputDataLocationS3")+ Prelude.<*> (x Data..?> "LastUpdatedAt")+ Prelude.<*> (x Data..?> "LogUri")+ Prelude.<*> (x Data..?> "MLModelId")+ Prelude.<*> (x Data..?> "MLModelType")+ Prelude.<*> (x Data..?> "Message")+ Prelude.<*> (x Data..?> "Name")+ Prelude.<*> (x Data..?> "Recipe")+ Prelude.<*> (x Data..?> "Schema")+ Prelude.<*> (x Data..?> "ScoreThreshold")+ Prelude.<*> (x Data..?> "ScoreThresholdLastUpdatedAt")+ Prelude.<*> (x Data..?> "SizeInBytes")+ Prelude.<*> (x Data..?> "StartedAt")+ Prelude.<*> (x Data..?> "Status")+ Prelude.<*> (x Data..?> "TrainingDataSourceId")+ Prelude.<*> ( x+ Data..?> "TrainingParameters"+ Core..!@ Prelude.mempty+ )+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable GetMLModel where+ hashWithSalt _salt GetMLModel' {..} =+ _salt+ `Prelude.hashWithSalt` verbose+ `Prelude.hashWithSalt` mLModelId++instance Prelude.NFData GetMLModel where+ rnf GetMLModel' {..} =+ Prelude.rnf verbose+ `Prelude.seq` Prelude.rnf mLModelId++instance Data.ToHeaders GetMLModel where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.GetMLModel" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON GetMLModel where+ toJSON GetMLModel' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Verbose" Data..=) Prelude.<$> verbose,+ Prelude.Just ("MLModelId" Data..= mLModelId)+ ]+ )++instance Data.ToPath GetMLModel where+ toPath = Prelude.const "/"++instance Data.ToQuery GetMLModel where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of a @GetMLModel@ operation, and provides detailed+-- information about a @MLModel@.+--+-- /See:/ 'newGetMLModelResponse' smart constructor.+data GetMLModelResponse = GetMLModelResponse'+ { -- | The approximate CPU time in milliseconds that Amazon Machine Learning+ -- spent processing the @MLModel@, normalized and scaled on computation+ -- resources. @ComputeTime@ is only available if the @MLModel@ is in the+ -- @COMPLETED@ state.+ computeTime :: Prelude.Maybe Prelude.Integer,+ -- | The time that the @MLModel@ was created. The time is expressed in epoch+ -- time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The AWS user account from which the @MLModel@ was created. The account+ -- type can be either an AWS root account or an AWS Identity and Access+ -- Management (IAM) user account.+ createdByIamUser :: Prelude.Maybe Prelude.Text,+ -- | The current endpoint of the @MLModel@+ endpointInfo :: Prelude.Maybe RealtimeEndpointInfo,+ -- | The epoch time when Amazon Machine Learning marked the @MLModel@ as+ -- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+ -- @MLModel@ is in the @COMPLETED@ or @FAILED@ state.+ finishedAt :: Prelude.Maybe Data.POSIX,+ -- | The location of the data file or directory in Amazon Simple Storage+ -- Service (Amazon S3).+ inputDataLocationS3 :: Prelude.Maybe Prelude.Text,+ -- | The time of the most recent edit to the @MLModel@. The time is expressed+ -- in epoch time.+ lastUpdatedAt :: Prelude.Maybe Data.POSIX,+ -- | A link to the file that contains logs of the @CreateMLModel@ operation.+ logUri :: Prelude.Maybe Prelude.Text,+ -- | The MLModel ID, which is same as the @MLModelId@ in the request.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | Identifies the @MLModel@ category. The following are the available+ -- types:+ --+ -- - REGRESSION -- Produces a numeric result. For example, \"What price+ -- should a house be listed at?\"+ --+ -- - BINARY -- Produces one of two possible results. For example, \"Is+ -- this an e-commerce website?\"+ --+ -- - MULTICLASS -- Produces one of several possible results. For example,+ -- \"Is this a HIGH, LOW or MEDIUM risk trade?\"+ mLModelType :: Prelude.Maybe MLModelType,+ -- | A description of the most recent details about accessing the @MLModel@.+ message :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied name or description of the @MLModel@.+ name :: Prelude.Maybe Prelude.Text,+ -- | The recipe to use when training the @MLModel@. The @Recipe@ provides+ -- detailed information about the observation data to use during training,+ -- and manipulations to perform on the observation data during training.+ --+ -- __Note:__ This parameter is provided as part of the verbose format.+ recipe :: Prelude.Maybe Prelude.Text,+ -- | The schema used by all of the data files referenced by the @DataSource@.+ --+ -- __Note:__ This parameter is provided as part of the verbose format.+ schema :: Prelude.Maybe Prelude.Text,+ -- | The scoring threshold is used in binary classification @MLModel@ models.+ -- It marks the boundary between a positive prediction and a negative+ -- prediction.+ --+ -- Output values greater than or equal to the threshold receive a positive+ -- result from the MLModel, such as @true@. Output values less than the+ -- threshold receive a negative response from the MLModel, such as @false@.+ scoreThreshold :: Prelude.Maybe Prelude.Double,+ -- | The time of the most recent edit to the @ScoreThreshold@. The time is+ -- expressed in epoch time.+ scoreThresholdLastUpdatedAt :: Prelude.Maybe Data.POSIX,+ sizeInBytes :: Prelude.Maybe Prelude.Integer,+ -- | The epoch time when Amazon Machine Learning marked the @MLModel@ as+ -- @INPROGRESS@. @StartedAt@ isn\'t available if the @MLModel@ is in the+ -- @PENDING@ state.+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The current status of the @MLModel@. This element can have one of the+ -- following values:+ --+ -- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+ -- to describe a @MLModel@.+ --+ -- - @INPROGRESS@ - The request is processing.+ --+ -- - @FAILED@ - The request did not run to completion. The ML model+ -- isn\'t usable.+ --+ -- - @COMPLETED@ - The request completed successfully.+ --+ -- - @DELETED@ - The @MLModel@ is marked as deleted. It isn\'t usable.+ status :: Prelude.Maybe EntityStatus,+ -- | The ID of the training @DataSource@.+ trainingDataSourceId :: Prelude.Maybe Prelude.Text,+ -- | A list of the training parameters in the @MLModel@. The list is+ -- implemented as a map of key-value pairs.+ --+ -- The following is the current set of training parameters:+ --+ -- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+ -- Depending on the input data, the size of the model might affect its+ -- performance.+ --+ -- The value is an integer that ranges from @100000@ to @2147483648@.+ -- The default value is @33554432@.+ --+ -- - @sgd.maxPasses@ - The number of times that the training process+ -- traverses the observations to build the @MLModel@. The value is an+ -- integer that ranges from @1@ to @10000@. The default value is @10@.+ --+ -- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+ -- Shuffling data improves a model\'s ability to find the optimal+ -- solution for a variety of data types. The valid values are @auto@+ -- and @none@. The default value is @none@. We strongly recommend that+ -- you shuffle your data.+ --+ -- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+ -- norm. It controls overfitting the data by penalizing large+ -- coefficients. This tends to drive coefficients to zero, resulting in+ -- a sparse feature set. If you use this parameter, start by specifying+ -- a small value, such as @1.0E-08@.+ --+ -- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+ -- default is to not use L1 normalization. This parameter can\'t be+ -- used when @L2@ is specified. Use this parameter sparingly.+ --+ -- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+ -- norm. It controls overfitting the data by penalizing large+ -- coefficients. This tends to drive coefficients to small, nonzero+ -- values. If you use this parameter, start by specifying a small+ -- value, such as @1.0E-08@.+ --+ -- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+ -- default is to not use L2 normalization. This parameter can\'t be+ -- used when @L1@ is specified. Use this parameter sparingly.+ trainingParameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetMLModelResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeTime', 'getMLModelResponse_computeTime' - The approximate CPU time in milliseconds that Amazon Machine Learning+-- spent processing the @MLModel@, normalized and scaled on computation+-- resources. @ComputeTime@ is only available if the @MLModel@ is in the+-- @COMPLETED@ state.+--+-- 'createdAt', 'getMLModelResponse_createdAt' - The time that the @MLModel@ was created. The time is expressed in epoch+-- time.+--+-- 'createdByIamUser', 'getMLModelResponse_createdByIamUser' - The AWS user account from which the @MLModel@ was created. The account+-- type can be either an AWS root account or an AWS Identity and Access+-- Management (IAM) user account.+--+-- 'endpointInfo', 'getMLModelResponse_endpointInfo' - The current endpoint of the @MLModel@+--+-- 'finishedAt', 'getMLModelResponse_finishedAt' - The epoch time when Amazon Machine Learning marked the @MLModel@ as+-- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+-- @MLModel@ is in the @COMPLETED@ or @FAILED@ state.+--+-- 'inputDataLocationS3', 'getMLModelResponse_inputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+--+-- 'lastUpdatedAt', 'getMLModelResponse_lastUpdatedAt' - The time of the most recent edit to the @MLModel@. The time is expressed+-- in epoch time.+--+-- 'logUri', 'getMLModelResponse_logUri' - A link to the file that contains logs of the @CreateMLModel@ operation.+--+-- 'mLModelId', 'getMLModelResponse_mLModelId' - The MLModel ID, which is same as the @MLModelId@ in the request.+--+-- 'mLModelType', 'getMLModelResponse_mLModelType' - Identifies the @MLModel@ category. The following are the available+-- types:+--+-- - REGRESSION -- Produces a numeric result. For example, \"What price+-- should a house be listed at?\"+--+-- - BINARY -- Produces one of two possible results. For example, \"Is+-- this an e-commerce website?\"+--+-- - MULTICLASS -- Produces one of several possible results. For example,+-- \"Is this a HIGH, LOW or MEDIUM risk trade?\"+--+-- 'message', 'getMLModelResponse_message' - A description of the most recent details about accessing the @MLModel@.+--+-- 'name', 'getMLModelResponse_name' - A user-supplied name or description of the @MLModel@.+--+-- 'recipe', 'getMLModelResponse_recipe' - The recipe to use when training the @MLModel@. The @Recipe@ provides+-- detailed information about the observation data to use during training,+-- and manipulations to perform on the observation data during training.+--+-- __Note:__ This parameter is provided as part of the verbose format.+--+-- 'schema', 'getMLModelResponse_schema' - The schema used by all of the data files referenced by the @DataSource@.+--+-- __Note:__ This parameter is provided as part of the verbose format.+--+-- 'scoreThreshold', 'getMLModelResponse_scoreThreshold' - The scoring threshold is used in binary classification @MLModel@ models.+-- It marks the boundary between a positive prediction and a negative+-- prediction.+--+-- Output values greater than or equal to the threshold receive a positive+-- result from the MLModel, such as @true@. Output values less than the+-- threshold receive a negative response from the MLModel, such as @false@.+--+-- 'scoreThresholdLastUpdatedAt', 'getMLModelResponse_scoreThresholdLastUpdatedAt' - The time of the most recent edit to the @ScoreThreshold@. The time is+-- expressed in epoch time.+--+-- 'sizeInBytes', 'getMLModelResponse_sizeInBytes' - Undocumented member.+--+-- 'startedAt', 'getMLModelResponse_startedAt' - The epoch time when Amazon Machine Learning marked the @MLModel@ as+-- @INPROGRESS@. @StartedAt@ isn\'t available if the @MLModel@ is in the+-- @PENDING@ state.+--+-- 'status', 'getMLModelResponse_status' - The current status of the @MLModel@. This element can have one of the+-- following values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to describe a @MLModel@.+--+-- - @INPROGRESS@ - The request is processing.+--+-- - @FAILED@ - The request did not run to completion. The ML model+-- isn\'t usable.+--+-- - @COMPLETED@ - The request completed successfully.+--+-- - @DELETED@ - The @MLModel@ is marked as deleted. It isn\'t usable.+--+-- 'trainingDataSourceId', 'getMLModelResponse_trainingDataSourceId' - The ID of the training @DataSource@.+--+-- 'trainingParameters', 'getMLModelResponse_trainingParameters' - A list of the training parameters in the @MLModel@. The list is+-- implemented as a map of key-value pairs.+--+-- The following is the current set of training parameters:+--+-- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+-- Depending on the input data, the size of the model might affect its+-- performance.+--+-- The value is an integer that ranges from @100000@ to @2147483648@.+-- The default value is @33554432@.+--+-- - @sgd.maxPasses@ - The number of times that the training process+-- traverses the observations to build the @MLModel@. The value is an+-- integer that ranges from @1@ to @10000@. The default value is @10@.+--+-- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+-- Shuffling data improves a model\'s ability to find the optimal+-- solution for a variety of data types. The valid values are @auto@+-- and @none@. The default value is @none@. We strongly recommend that+-- you shuffle your data.+--+-- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+-- norm. It controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to zero, resulting in+-- a sparse feature set. If you use this parameter, start by specifying+-- a small value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L1 normalization. This parameter can\'t be+-- used when @L2@ is specified. Use this parameter sparingly.+--+-- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+-- norm. It controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to small, nonzero+-- values. If you use this parameter, start by specifying a small+-- value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L2 normalization. This parameter can\'t be+-- used when @L1@ is specified. Use this parameter sparingly.+--+-- 'httpStatus', 'getMLModelResponse_httpStatus' - The response's http status code.+newGetMLModelResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ GetMLModelResponse+newGetMLModelResponse pHttpStatus_ =+ GetMLModelResponse'+ { computeTime = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdByIamUser = Prelude.Nothing,+ endpointInfo = Prelude.Nothing,+ finishedAt = Prelude.Nothing,+ inputDataLocationS3 = Prelude.Nothing,+ lastUpdatedAt = Prelude.Nothing,+ logUri = Prelude.Nothing,+ mLModelId = Prelude.Nothing,+ mLModelType = Prelude.Nothing,+ message = Prelude.Nothing,+ name = Prelude.Nothing,+ recipe = Prelude.Nothing,+ schema = Prelude.Nothing,+ scoreThreshold = Prelude.Nothing,+ scoreThresholdLastUpdatedAt = Prelude.Nothing,+ sizeInBytes = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing,+ trainingDataSourceId = Prelude.Nothing,+ trainingParameters = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The approximate CPU time in milliseconds that Amazon Machine Learning+-- spent processing the @MLModel@, normalized and scaled on computation+-- resources. @ComputeTime@ is only available if the @MLModel@ is in the+-- @COMPLETED@ state.+getMLModelResponse_computeTime :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Integer)+getMLModelResponse_computeTime = Lens.lens (\GetMLModelResponse' {computeTime} -> computeTime) (\s@GetMLModelResponse' {} a -> s {computeTime = a} :: GetMLModelResponse)++-- | The time that the @MLModel@ was created. The time is expressed in epoch+-- time.+getMLModelResponse_createdAt :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.UTCTime)+getMLModelResponse_createdAt = Lens.lens (\GetMLModelResponse' {createdAt} -> createdAt) (\s@GetMLModelResponse' {} a -> s {createdAt = a} :: GetMLModelResponse) Prelude.. Lens.mapping Data._Time++-- | The AWS user account from which the @MLModel@ was created. The account+-- type can be either an AWS root account or an AWS Identity and Access+-- Management (IAM) user account.+getMLModelResponse_createdByIamUser :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_createdByIamUser = Lens.lens (\GetMLModelResponse' {createdByIamUser} -> createdByIamUser) (\s@GetMLModelResponse' {} a -> s {createdByIamUser = a} :: GetMLModelResponse)++-- | The current endpoint of the @MLModel@+getMLModelResponse_endpointInfo :: Lens.Lens' GetMLModelResponse (Prelude.Maybe RealtimeEndpointInfo)+getMLModelResponse_endpointInfo = Lens.lens (\GetMLModelResponse' {endpointInfo} -> endpointInfo) (\s@GetMLModelResponse' {} a -> s {endpointInfo = a} :: GetMLModelResponse)++-- | The epoch time when Amazon Machine Learning marked the @MLModel@ as+-- @COMPLETED@ or @FAILED@. @FinishedAt@ is only available when the+-- @MLModel@ is in the @COMPLETED@ or @FAILED@ state.+getMLModelResponse_finishedAt :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.UTCTime)+getMLModelResponse_finishedAt = Lens.lens (\GetMLModelResponse' {finishedAt} -> finishedAt) (\s@GetMLModelResponse' {} a -> s {finishedAt = a} :: GetMLModelResponse) Prelude.. Lens.mapping Data._Time++-- | The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+getMLModelResponse_inputDataLocationS3 :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_inputDataLocationS3 = Lens.lens (\GetMLModelResponse' {inputDataLocationS3} -> inputDataLocationS3) (\s@GetMLModelResponse' {} a -> s {inputDataLocationS3 = a} :: GetMLModelResponse)++-- | The time of the most recent edit to the @MLModel@. The time is expressed+-- in epoch time.+getMLModelResponse_lastUpdatedAt :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.UTCTime)+getMLModelResponse_lastUpdatedAt = Lens.lens (\GetMLModelResponse' {lastUpdatedAt} -> lastUpdatedAt) (\s@GetMLModelResponse' {} a -> s {lastUpdatedAt = a} :: GetMLModelResponse) Prelude.. Lens.mapping Data._Time++-- | A link to the file that contains logs of the @CreateMLModel@ operation.+getMLModelResponse_logUri :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_logUri = Lens.lens (\GetMLModelResponse' {logUri} -> logUri) (\s@GetMLModelResponse' {} a -> s {logUri = a} :: GetMLModelResponse)++-- | The MLModel ID, which is same as the @MLModelId@ in the request.+getMLModelResponse_mLModelId :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_mLModelId = Lens.lens (\GetMLModelResponse' {mLModelId} -> mLModelId) (\s@GetMLModelResponse' {} a -> s {mLModelId = a} :: GetMLModelResponse)++-- | Identifies the @MLModel@ category. The following are the available+-- types:+--+-- - REGRESSION -- Produces a numeric result. For example, \"What price+-- should a house be listed at?\"+--+-- - BINARY -- Produces one of two possible results. For example, \"Is+-- this an e-commerce website?\"+--+-- - MULTICLASS -- Produces one of several possible results. For example,+-- \"Is this a HIGH, LOW or MEDIUM risk trade?\"+getMLModelResponse_mLModelType :: Lens.Lens' GetMLModelResponse (Prelude.Maybe MLModelType)+getMLModelResponse_mLModelType = Lens.lens (\GetMLModelResponse' {mLModelType} -> mLModelType) (\s@GetMLModelResponse' {} a -> s {mLModelType = a} :: GetMLModelResponse)++-- | A description of the most recent details about accessing the @MLModel@.+getMLModelResponse_message :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_message = Lens.lens (\GetMLModelResponse' {message} -> message) (\s@GetMLModelResponse' {} a -> s {message = a} :: GetMLModelResponse)++-- | A user-supplied name or description of the @MLModel@.+getMLModelResponse_name :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_name = Lens.lens (\GetMLModelResponse' {name} -> name) (\s@GetMLModelResponse' {} a -> s {name = a} :: GetMLModelResponse)++-- | The recipe to use when training the @MLModel@. The @Recipe@ provides+-- detailed information about the observation data to use during training,+-- and manipulations to perform on the observation data during training.+--+-- __Note:__ This parameter is provided as part of the verbose format.+getMLModelResponse_recipe :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_recipe = Lens.lens (\GetMLModelResponse' {recipe} -> recipe) (\s@GetMLModelResponse' {} a -> s {recipe = a} :: GetMLModelResponse)++-- | The schema used by all of the data files referenced by the @DataSource@.+--+-- __Note:__ This parameter is provided as part of the verbose format.+getMLModelResponse_schema :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_schema = Lens.lens (\GetMLModelResponse' {schema} -> schema) (\s@GetMLModelResponse' {} a -> s {schema = a} :: GetMLModelResponse)++-- | The scoring threshold is used in binary classification @MLModel@ models.+-- It marks the boundary between a positive prediction and a negative+-- prediction.+--+-- Output values greater than or equal to the threshold receive a positive+-- result from the MLModel, such as @true@. Output values less than the+-- threshold receive a negative response from the MLModel, such as @false@.+getMLModelResponse_scoreThreshold :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Double)+getMLModelResponse_scoreThreshold = Lens.lens (\GetMLModelResponse' {scoreThreshold} -> scoreThreshold) (\s@GetMLModelResponse' {} a -> s {scoreThreshold = a} :: GetMLModelResponse)++-- | The time of the most recent edit to the @ScoreThreshold@. The time is+-- expressed in epoch time.+getMLModelResponse_scoreThresholdLastUpdatedAt :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.UTCTime)+getMLModelResponse_scoreThresholdLastUpdatedAt = Lens.lens (\GetMLModelResponse' {scoreThresholdLastUpdatedAt} -> scoreThresholdLastUpdatedAt) (\s@GetMLModelResponse' {} a -> s {scoreThresholdLastUpdatedAt = a} :: GetMLModelResponse) Prelude.. Lens.mapping Data._Time++-- | Undocumented member.+getMLModelResponse_sizeInBytes :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Integer)+getMLModelResponse_sizeInBytes = Lens.lens (\GetMLModelResponse' {sizeInBytes} -> sizeInBytes) (\s@GetMLModelResponse' {} a -> s {sizeInBytes = a} :: GetMLModelResponse)++-- | The epoch time when Amazon Machine Learning marked the @MLModel@ as+-- @INPROGRESS@. @StartedAt@ isn\'t available if the @MLModel@ is in the+-- @PENDING@ state.+getMLModelResponse_startedAt :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.UTCTime)+getMLModelResponse_startedAt = Lens.lens (\GetMLModelResponse' {startedAt} -> startedAt) (\s@GetMLModelResponse' {} a -> s {startedAt = a} :: GetMLModelResponse) Prelude.. Lens.mapping Data._Time++-- | The current status of the @MLModel@. This element can have one of the+-- following values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to describe a @MLModel@.+--+-- - @INPROGRESS@ - The request is processing.+--+-- - @FAILED@ - The request did not run to completion. The ML model+-- isn\'t usable.+--+-- - @COMPLETED@ - The request completed successfully.+--+-- - @DELETED@ - The @MLModel@ is marked as deleted. It isn\'t usable.+getMLModelResponse_status :: Lens.Lens' GetMLModelResponse (Prelude.Maybe EntityStatus)+getMLModelResponse_status = Lens.lens (\GetMLModelResponse' {status} -> status) (\s@GetMLModelResponse' {} a -> s {status = a} :: GetMLModelResponse)++-- | The ID of the training @DataSource@.+getMLModelResponse_trainingDataSourceId :: Lens.Lens' GetMLModelResponse (Prelude.Maybe Prelude.Text)+getMLModelResponse_trainingDataSourceId = Lens.lens (\GetMLModelResponse' {trainingDataSourceId} -> trainingDataSourceId) (\s@GetMLModelResponse' {} a -> s {trainingDataSourceId = a} :: GetMLModelResponse)++-- | A list of the training parameters in the @MLModel@. The list is+-- implemented as a map of key-value pairs.+--+-- The following is the current set of training parameters:+--+-- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+-- Depending on the input data, the size of the model might affect its+-- performance.+--+-- The value is an integer that ranges from @100000@ to @2147483648@.+-- The default value is @33554432@.+--+-- - @sgd.maxPasses@ - The number of times that the training process+-- traverses the observations to build the @MLModel@. The value is an+-- integer that ranges from @1@ to @10000@. The default value is @10@.+--+-- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+-- Shuffling data improves a model\'s ability to find the optimal+-- solution for a variety of data types. The valid values are @auto@+-- and @none@. The default value is @none@. We strongly recommend that+-- you shuffle your data.+--+-- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+-- norm. It controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to zero, resulting in+-- a sparse feature set. If you use this parameter, start by specifying+-- a small value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L1 normalization. This parameter can\'t be+-- used when @L2@ is specified. Use this parameter sparingly.+--+-- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+-- norm. It controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to small, nonzero+-- values. If you use this parameter, start by specifying a small+-- value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L2 normalization. This parameter can\'t be+-- used when @L1@ is specified. Use this parameter sparingly.+getMLModelResponse_trainingParameters :: Lens.Lens' GetMLModelResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+getMLModelResponse_trainingParameters = Lens.lens (\GetMLModelResponse' {trainingParameters} -> trainingParameters) (\s@GetMLModelResponse' {} a -> s {trainingParameters = a} :: GetMLModelResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+getMLModelResponse_httpStatus :: Lens.Lens' GetMLModelResponse Prelude.Int+getMLModelResponse_httpStatus = Lens.lens (\GetMLModelResponse' {httpStatus} -> httpStatus) (\s@GetMLModelResponse' {} a -> s {httpStatus = a} :: GetMLModelResponse)++instance Prelude.NFData GetMLModelResponse where+ rnf GetMLModelResponse' {..} =+ Prelude.rnf computeTime+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdByIamUser+ `Prelude.seq` Prelude.rnf endpointInfo+ `Prelude.seq` Prelude.rnf finishedAt+ `Prelude.seq` Prelude.rnf inputDataLocationS3+ `Prelude.seq` Prelude.rnf lastUpdatedAt+ `Prelude.seq` Prelude.rnf logUri+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf mLModelType+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf recipe+ `Prelude.seq` Prelude.rnf schema+ `Prelude.seq` Prelude.rnf scoreThreshold+ `Prelude.seq` Prelude.rnf+ scoreThresholdLastUpdatedAt+ `Prelude.seq` Prelude.rnf sizeInBytes+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf+ trainingDataSourceId+ `Prelude.seq` Prelude.rnf+ trainingParameters+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/Lens.hs view
@@ -0,0 +1,513 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Lens+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Lens+ ( -- * Operations++ -- ** AddTags+ addTags_tags,+ addTags_resourceId,+ addTags_resourceType,+ addTagsResponse_resourceId,+ addTagsResponse_resourceType,+ addTagsResponse_httpStatus,++ -- ** CreateBatchPrediction+ createBatchPrediction_batchPredictionName,+ createBatchPrediction_batchPredictionId,+ createBatchPrediction_mLModelId,+ createBatchPrediction_batchPredictionDataSourceId,+ createBatchPrediction_outputUri,+ createBatchPredictionResponse_batchPredictionId,+ createBatchPredictionResponse_httpStatus,++ -- ** CreateDataSourceFromRDS+ createDataSourceFromRDS_computeStatistics,+ createDataSourceFromRDS_dataSourceName,+ createDataSourceFromRDS_dataSourceId,+ createDataSourceFromRDS_rDSData,+ createDataSourceFromRDS_roleARN,+ createDataSourceFromRDSResponse_dataSourceId,+ createDataSourceFromRDSResponse_httpStatus,++ -- ** CreateDataSourceFromRedshift+ createDataSourceFromRedshift_computeStatistics,+ createDataSourceFromRedshift_dataSourceName,+ createDataSourceFromRedshift_dataSourceId,+ createDataSourceFromRedshift_dataSpec,+ createDataSourceFromRedshift_roleARN,+ createDataSourceFromRedshiftResponse_dataSourceId,+ createDataSourceFromRedshiftResponse_httpStatus,++ -- ** CreateDataSourceFromS3+ createDataSourceFromS3_computeStatistics,+ createDataSourceFromS3_dataSourceName,+ createDataSourceFromS3_dataSourceId,+ createDataSourceFromS3_dataSpec,+ createDataSourceFromS3Response_dataSourceId,+ createDataSourceFromS3Response_httpStatus,++ -- ** CreateEvaluation+ createEvaluation_evaluationName,+ createEvaluation_evaluationId,+ createEvaluation_mLModelId,+ createEvaluation_evaluationDataSourceId,+ createEvaluationResponse_evaluationId,+ createEvaluationResponse_httpStatus,++ -- ** CreateMLModel+ createMLModel_mLModelName,+ createMLModel_parameters,+ createMLModel_recipe,+ createMLModel_recipeUri,+ createMLModel_mLModelId,+ createMLModel_mLModelType,+ createMLModel_trainingDataSourceId,+ createMLModelResponse_mLModelId,+ createMLModelResponse_httpStatus,++ -- ** CreateRealtimeEndpoint+ createRealtimeEndpoint_mLModelId,+ createRealtimeEndpointResponse_mLModelId,+ createRealtimeEndpointResponse_realtimeEndpointInfo,+ createRealtimeEndpointResponse_httpStatus,++ -- ** DeleteBatchPrediction+ deleteBatchPrediction_batchPredictionId,+ deleteBatchPredictionResponse_batchPredictionId,+ deleteBatchPredictionResponse_httpStatus,++ -- ** DeleteDataSource+ deleteDataSource_dataSourceId,+ deleteDataSourceResponse_dataSourceId,+ deleteDataSourceResponse_httpStatus,++ -- ** DeleteEvaluation+ deleteEvaluation_evaluationId,+ deleteEvaluationResponse_evaluationId,+ deleteEvaluationResponse_httpStatus,++ -- ** DeleteMLModel+ deleteMLModel_mLModelId,+ deleteMLModelResponse_mLModelId,+ deleteMLModelResponse_httpStatus,++ -- ** DeleteRealtimeEndpoint+ deleteRealtimeEndpoint_mLModelId,+ deleteRealtimeEndpointResponse_mLModelId,+ deleteRealtimeEndpointResponse_realtimeEndpointInfo,+ deleteRealtimeEndpointResponse_httpStatus,++ -- ** DeleteTags+ deleteTags_tagKeys,+ deleteTags_resourceId,+ deleteTags_resourceType,+ deleteTagsResponse_resourceId,+ deleteTagsResponse_resourceType,+ deleteTagsResponse_httpStatus,++ -- ** DescribeBatchPredictions+ describeBatchPredictions_eq,+ describeBatchPredictions_filterVariable,+ describeBatchPredictions_ge,+ describeBatchPredictions_gt,+ describeBatchPredictions_le,+ describeBatchPredictions_lt,+ describeBatchPredictions_limit,+ describeBatchPredictions_ne,+ describeBatchPredictions_nextToken,+ describeBatchPredictions_prefix,+ describeBatchPredictions_sortOrder,+ describeBatchPredictionsResponse_nextToken,+ describeBatchPredictionsResponse_results,+ describeBatchPredictionsResponse_httpStatus,++ -- ** DescribeDataSources+ describeDataSources_eq,+ describeDataSources_filterVariable,+ describeDataSources_ge,+ describeDataSources_gt,+ describeDataSources_le,+ describeDataSources_lt,+ describeDataSources_limit,+ describeDataSources_ne,+ describeDataSources_nextToken,+ describeDataSources_prefix,+ describeDataSources_sortOrder,+ describeDataSourcesResponse_nextToken,+ describeDataSourcesResponse_results,+ describeDataSourcesResponse_httpStatus,++ -- ** DescribeEvaluations+ describeEvaluations_eq,+ describeEvaluations_filterVariable,+ describeEvaluations_ge,+ describeEvaluations_gt,+ describeEvaluations_le,+ describeEvaluations_lt,+ describeEvaluations_limit,+ describeEvaluations_ne,+ describeEvaluations_nextToken,+ describeEvaluations_prefix,+ describeEvaluations_sortOrder,+ describeEvaluationsResponse_nextToken,+ describeEvaluationsResponse_results,+ describeEvaluationsResponse_httpStatus,++ -- ** DescribeMLModels+ describeMLModels_eq,+ describeMLModels_filterVariable,+ describeMLModels_ge,+ describeMLModels_gt,+ describeMLModels_le,+ describeMLModels_lt,+ describeMLModels_limit,+ describeMLModels_ne,+ describeMLModels_nextToken,+ describeMLModels_prefix,+ describeMLModels_sortOrder,+ describeMLModelsResponse_nextToken,+ describeMLModelsResponse_results,+ describeMLModelsResponse_httpStatus,++ -- ** DescribeTags+ describeTags_resourceId,+ describeTags_resourceType,+ describeTagsResponse_resourceId,+ describeTagsResponse_resourceType,+ describeTagsResponse_tags,+ describeTagsResponse_httpStatus,++ -- ** GetBatchPrediction+ getBatchPrediction_batchPredictionId,+ getBatchPredictionResponse_batchPredictionDataSourceId,+ getBatchPredictionResponse_batchPredictionId,+ getBatchPredictionResponse_computeTime,+ getBatchPredictionResponse_createdAt,+ getBatchPredictionResponse_createdByIamUser,+ getBatchPredictionResponse_finishedAt,+ getBatchPredictionResponse_inputDataLocationS3,+ getBatchPredictionResponse_invalidRecordCount,+ getBatchPredictionResponse_lastUpdatedAt,+ getBatchPredictionResponse_logUri,+ getBatchPredictionResponse_mLModelId,+ getBatchPredictionResponse_message,+ getBatchPredictionResponse_name,+ getBatchPredictionResponse_outputUri,+ getBatchPredictionResponse_startedAt,+ getBatchPredictionResponse_status,+ getBatchPredictionResponse_totalRecordCount,+ getBatchPredictionResponse_httpStatus,++ -- ** GetDataSource+ getDataSource_verbose,+ getDataSource_dataSourceId,+ getDataSourceResponse_computeStatistics,+ getDataSourceResponse_computeTime,+ getDataSourceResponse_createdAt,+ getDataSourceResponse_createdByIamUser,+ getDataSourceResponse_dataLocationS3,+ getDataSourceResponse_dataRearrangement,+ getDataSourceResponse_dataSizeInBytes,+ getDataSourceResponse_dataSourceId,+ getDataSourceResponse_dataSourceSchema,+ getDataSourceResponse_finishedAt,+ getDataSourceResponse_lastUpdatedAt,+ getDataSourceResponse_logUri,+ getDataSourceResponse_message,+ getDataSourceResponse_name,+ getDataSourceResponse_numberOfFiles,+ getDataSourceResponse_rDSMetadata,+ getDataSourceResponse_redshiftMetadata,+ getDataSourceResponse_roleARN,+ getDataSourceResponse_startedAt,+ getDataSourceResponse_status,+ getDataSourceResponse_httpStatus,++ -- ** GetEvaluation+ getEvaluation_evaluationId,+ getEvaluationResponse_computeTime,+ getEvaluationResponse_createdAt,+ getEvaluationResponse_createdByIamUser,+ getEvaluationResponse_evaluationDataSourceId,+ getEvaluationResponse_evaluationId,+ getEvaluationResponse_finishedAt,+ getEvaluationResponse_inputDataLocationS3,+ getEvaluationResponse_lastUpdatedAt,+ getEvaluationResponse_logUri,+ getEvaluationResponse_mLModelId,+ getEvaluationResponse_message,+ getEvaluationResponse_name,+ getEvaluationResponse_performanceMetrics,+ getEvaluationResponse_startedAt,+ getEvaluationResponse_status,+ getEvaluationResponse_httpStatus,++ -- ** GetMLModel+ getMLModel_verbose,+ getMLModel_mLModelId,+ getMLModelResponse_computeTime,+ getMLModelResponse_createdAt,+ getMLModelResponse_createdByIamUser,+ getMLModelResponse_endpointInfo,+ getMLModelResponse_finishedAt,+ getMLModelResponse_inputDataLocationS3,+ getMLModelResponse_lastUpdatedAt,+ getMLModelResponse_logUri,+ getMLModelResponse_mLModelId,+ getMLModelResponse_mLModelType,+ getMLModelResponse_message,+ getMLModelResponse_name,+ getMLModelResponse_recipe,+ getMLModelResponse_schema,+ getMLModelResponse_scoreThreshold,+ getMLModelResponse_scoreThresholdLastUpdatedAt,+ getMLModelResponse_sizeInBytes,+ getMLModelResponse_startedAt,+ getMLModelResponse_status,+ getMLModelResponse_trainingDataSourceId,+ getMLModelResponse_trainingParameters,+ getMLModelResponse_httpStatus,++ -- ** Predict+ predict_mLModelId,+ predict_record,+ predict_predictEndpoint,+ predictResponse_prediction,+ predictResponse_httpStatus,++ -- ** UpdateBatchPrediction+ updateBatchPrediction_batchPredictionId,+ updateBatchPrediction_batchPredictionName,+ updateBatchPredictionResponse_batchPredictionId,+ updateBatchPredictionResponse_httpStatus,++ -- ** UpdateDataSource+ updateDataSource_dataSourceId,+ updateDataSource_dataSourceName,+ updateDataSourceResponse_dataSourceId,+ updateDataSourceResponse_httpStatus,++ -- ** UpdateEvaluation+ updateEvaluation_evaluationId,+ updateEvaluation_evaluationName,+ updateEvaluationResponse_evaluationId,+ updateEvaluationResponse_httpStatus,++ -- ** UpdateMLModel+ updateMLModel_mLModelName,+ updateMLModel_scoreThreshold,+ updateMLModel_mLModelId,+ updateMLModelResponse_mLModelId,+ updateMLModelResponse_httpStatus,++ -- * Types++ -- ** BatchPrediction+ batchPrediction_batchPredictionDataSourceId,+ batchPrediction_batchPredictionId,+ batchPrediction_computeTime,+ batchPrediction_createdAt,+ batchPrediction_createdByIamUser,+ batchPrediction_finishedAt,+ batchPrediction_inputDataLocationS3,+ batchPrediction_invalidRecordCount,+ batchPrediction_lastUpdatedAt,+ batchPrediction_mLModelId,+ batchPrediction_message,+ batchPrediction_name,+ batchPrediction_outputUri,+ batchPrediction_startedAt,+ batchPrediction_status,+ batchPrediction_totalRecordCount,++ -- ** DataSource+ dataSource_computeStatistics,+ dataSource_computeTime,+ dataSource_createdAt,+ dataSource_createdByIamUser,+ dataSource_dataLocationS3,+ dataSource_dataRearrangement,+ dataSource_dataSizeInBytes,+ dataSource_dataSourceId,+ dataSource_finishedAt,+ dataSource_lastUpdatedAt,+ dataSource_message,+ dataSource_name,+ dataSource_numberOfFiles,+ dataSource_rDSMetadata,+ dataSource_redshiftMetadata,+ dataSource_roleARN,+ dataSource_startedAt,+ dataSource_status,++ -- ** Evaluation+ evaluation_computeTime,+ evaluation_createdAt,+ evaluation_createdByIamUser,+ evaluation_evaluationDataSourceId,+ evaluation_evaluationId,+ evaluation_finishedAt,+ evaluation_inputDataLocationS3,+ evaluation_lastUpdatedAt,+ evaluation_mLModelId,+ evaluation_message,+ evaluation_name,+ evaluation_performanceMetrics,+ evaluation_startedAt,+ evaluation_status,++ -- ** MLModel+ mLModel_algorithm,+ mLModel_computeTime,+ mLModel_createdAt,+ mLModel_createdByIamUser,+ mLModel_endpointInfo,+ mLModel_finishedAt,+ mLModel_inputDataLocationS3,+ mLModel_lastUpdatedAt,+ mLModel_mLModelId,+ mLModel_mLModelType,+ mLModel_message,+ mLModel_name,+ mLModel_scoreThreshold,+ mLModel_scoreThresholdLastUpdatedAt,+ mLModel_sizeInBytes,+ mLModel_startedAt,+ mLModel_status,+ mLModel_trainingDataSourceId,+ mLModel_trainingParameters,++ -- ** PerformanceMetrics+ performanceMetrics_properties,++ -- ** Prediction+ prediction_details,+ prediction_predictedLabel,+ prediction_predictedScores,+ prediction_predictedValue,++ -- ** RDSDataSpec+ rDSDataSpec_dataRearrangement,+ rDSDataSpec_dataSchema,+ rDSDataSpec_dataSchemaUri,+ rDSDataSpec_databaseInformation,+ rDSDataSpec_selectSqlQuery,+ rDSDataSpec_databaseCredentials,+ rDSDataSpec_s3StagingLocation,+ rDSDataSpec_resourceRole,+ rDSDataSpec_serviceRole,+ rDSDataSpec_subnetId,+ rDSDataSpec_securityGroupIds,++ -- ** RDSDatabase+ rDSDatabase_instanceIdentifier,+ rDSDatabase_databaseName,++ -- ** RDSDatabaseCredentials+ rDSDatabaseCredentials_username,+ rDSDatabaseCredentials_password,++ -- ** RDSMetadata+ rDSMetadata_dataPipelineId,+ rDSMetadata_database,+ rDSMetadata_databaseUserName,+ rDSMetadata_resourceRole,+ rDSMetadata_selectSqlQuery,+ rDSMetadata_serviceRole,++ -- ** RealtimeEndpointInfo+ realtimeEndpointInfo_createdAt,+ realtimeEndpointInfo_endpointStatus,+ realtimeEndpointInfo_endpointUrl,+ realtimeEndpointInfo_peakRequestsPerSecond,++ -- ** RedshiftDataSpec+ redshiftDataSpec_dataRearrangement,+ redshiftDataSpec_dataSchema,+ redshiftDataSpec_dataSchemaUri,+ redshiftDataSpec_databaseInformation,+ redshiftDataSpec_selectSqlQuery,+ redshiftDataSpec_databaseCredentials,+ redshiftDataSpec_s3StagingLocation,++ -- ** RedshiftDatabase+ redshiftDatabase_databaseName,+ redshiftDatabase_clusterIdentifier,++ -- ** RedshiftDatabaseCredentials+ redshiftDatabaseCredentials_username,+ redshiftDatabaseCredentials_password,++ -- ** RedshiftMetadata+ redshiftMetadata_databaseUserName,+ redshiftMetadata_redshiftDatabase,+ redshiftMetadata_selectSqlQuery,++ -- ** S3DataSpec+ s3DataSpec_dataRearrangement,+ s3DataSpec_dataSchema,+ s3DataSpec_dataSchemaLocationS3,+ s3DataSpec_dataLocationS3,++ -- ** Tag+ tag_key,+ tag_value,+ )+where++import Amazonka.MachineLearning.AddTags+import Amazonka.MachineLearning.CreateBatchPrediction+import Amazonka.MachineLearning.CreateDataSourceFromRDS+import Amazonka.MachineLearning.CreateDataSourceFromRedshift+import Amazonka.MachineLearning.CreateDataSourceFromS3+import Amazonka.MachineLearning.CreateEvaluation+import Amazonka.MachineLearning.CreateMLModel+import Amazonka.MachineLearning.CreateRealtimeEndpoint+import Amazonka.MachineLearning.DeleteBatchPrediction+import Amazonka.MachineLearning.DeleteDataSource+import Amazonka.MachineLearning.DeleteEvaluation+import Amazonka.MachineLearning.DeleteMLModel+import Amazonka.MachineLearning.DeleteRealtimeEndpoint+import Amazonka.MachineLearning.DeleteTags+import Amazonka.MachineLearning.DescribeBatchPredictions+import Amazonka.MachineLearning.DescribeDataSources+import Amazonka.MachineLearning.DescribeEvaluations+import Amazonka.MachineLearning.DescribeMLModels+import Amazonka.MachineLearning.DescribeTags+import Amazonka.MachineLearning.GetBatchPrediction+import Amazonka.MachineLearning.GetDataSource+import Amazonka.MachineLearning.GetEvaluation+import Amazonka.MachineLearning.GetMLModel+import Amazonka.MachineLearning.Predict+import Amazonka.MachineLearning.Types.BatchPrediction+import Amazonka.MachineLearning.Types.DataSource+import Amazonka.MachineLearning.Types.Evaluation+import Amazonka.MachineLearning.Types.MLModel+import Amazonka.MachineLearning.Types.PerformanceMetrics+import Amazonka.MachineLearning.Types.Prediction+import Amazonka.MachineLearning.Types.RDSDataSpec+import Amazonka.MachineLearning.Types.RDSDatabase+import Amazonka.MachineLearning.Types.RDSDatabaseCredentials+import Amazonka.MachineLearning.Types.RDSMetadata+import Amazonka.MachineLearning.Types.RealtimeEndpointInfo+import Amazonka.MachineLearning.Types.RedshiftDataSpec+import Amazonka.MachineLearning.Types.RedshiftDatabase+import Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials+import Amazonka.MachineLearning.Types.RedshiftMetadata+import Amazonka.MachineLearning.Types.S3DataSpec+import Amazonka.MachineLearning.Types.Tag+import Amazonka.MachineLearning.UpdateBatchPrediction+import Amazonka.MachineLearning.UpdateDataSource+import Amazonka.MachineLearning.UpdateEvaluation+import Amazonka.MachineLearning.UpdateMLModel
+ gen/Amazonka/MachineLearning/Predict.hs view
@@ -0,0 +1,198 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Predict+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates a prediction for the observation using the specified+-- @ML Model@.+--+-- __Note:__ Not all response parameters will be populated. Whether a+-- response parameter is populated depends on the type of model requested.+module Amazonka.MachineLearning.Predict+ ( -- * Creating a Request+ Predict (..),+ newPredict,++ -- * Request Lenses+ predict_mLModelId,+ predict_record,+ predict_predictEndpoint,++ -- * Destructuring the Response+ PredictResponse (..),+ newPredictResponse,++ -- * Response Lenses+ predictResponse_prediction,+ predictResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newPredict' smart constructor.+data Predict = Predict'+ { -- | A unique identifier of the @MLModel@.+ mLModelId :: Prelude.Text,+ record :: Prelude.HashMap Prelude.Text Prelude.Text,+ predictEndpoint :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Predict' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'predict_mLModelId' - A unique identifier of the @MLModel@.+--+-- 'record', 'predict_record' - Undocumented member.+--+-- 'predictEndpoint', 'predict_predictEndpoint' - Undocumented member.+newPredict ::+ -- | 'mLModelId'+ Prelude.Text ->+ -- | 'predictEndpoint'+ Prelude.Text ->+ Predict+newPredict pMLModelId_ pPredictEndpoint_ =+ Predict'+ { mLModelId = pMLModelId_,+ record = Prelude.mempty,+ predictEndpoint = pPredictEndpoint_+ }++-- | A unique identifier of the @MLModel@.+predict_mLModelId :: Lens.Lens' Predict Prelude.Text+predict_mLModelId = Lens.lens (\Predict' {mLModelId} -> mLModelId) (\s@Predict' {} a -> s {mLModelId = a} :: Predict)++-- | Undocumented member.+predict_record :: Lens.Lens' Predict (Prelude.HashMap Prelude.Text Prelude.Text)+predict_record = Lens.lens (\Predict' {record} -> record) (\s@Predict' {} a -> s {record = a} :: Predict) Prelude.. Lens.coerced++-- | Undocumented member.+predict_predictEndpoint :: Lens.Lens' Predict Prelude.Text+predict_predictEndpoint = Lens.lens (\Predict' {predictEndpoint} -> predictEndpoint) (\s@Predict' {} a -> s {predictEndpoint = a} :: Predict)++instance Core.AWSRequest Predict where+ type AWSResponse Predict = PredictResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ PredictResponse'+ Prelude.<$> (x Data..?> "Prediction")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable Predict where+ hashWithSalt _salt Predict' {..} =+ _salt+ `Prelude.hashWithSalt` mLModelId+ `Prelude.hashWithSalt` record+ `Prelude.hashWithSalt` predictEndpoint++instance Prelude.NFData Predict where+ rnf Predict' {..} =+ Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf record+ `Prelude.seq` Prelude.rnf predictEndpoint++instance Data.ToHeaders Predict where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ("AmazonML_20141212.Predict" :: Prelude.ByteString),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON Predict where+ toJSON Predict' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("MLModelId" Data..= mLModelId),+ Prelude.Just ("Record" Data..= record),+ Prelude.Just+ ("PredictEndpoint" Data..= predictEndpoint)+ ]+ )++instance Data.ToPath Predict where+ toPath = Prelude.const "/"++instance Data.ToQuery Predict where+ toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPredictResponse' smart constructor.+data PredictResponse = PredictResponse'+ { prediction :: Prelude.Maybe Prediction,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PredictResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'prediction', 'predictResponse_prediction' - Undocumented member.+--+-- 'httpStatus', 'predictResponse_httpStatus' - The response's http status code.+newPredictResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ PredictResponse+newPredictResponse pHttpStatus_ =+ PredictResponse'+ { prediction = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | Undocumented member.+predictResponse_prediction :: Lens.Lens' PredictResponse (Prelude.Maybe Prediction)+predictResponse_prediction = Lens.lens (\PredictResponse' {prediction} -> prediction) (\s@PredictResponse' {} a -> s {prediction = a} :: PredictResponse)++-- | The response's http status code.+predictResponse_httpStatus :: Lens.Lens' PredictResponse Prelude.Int+predictResponse_httpStatus = Lens.lens (\PredictResponse' {httpStatus} -> httpStatus) (\s@PredictResponse' {} a -> s {httpStatus = a} :: PredictResponse)++instance Prelude.NFData PredictResponse where+ rnf PredictResponse' {..} =+ Prelude.rnf prediction+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/Types.hs view
@@ -0,0 +1,412 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types+ ( -- * Service Configuration+ defaultService,++ -- * Errors+ _IdempotentParameterMismatchException,+ _InternalServerException,+ _InvalidInputException,+ _InvalidTagException,+ _LimitExceededException,+ _PredictorNotMountedException,+ _ResourceNotFoundException,+ _TagLimitExceededException,++ -- * Algorithm+ Algorithm (..),++ -- * BatchPredictionFilterVariable+ BatchPredictionFilterVariable (..),++ -- * DataSourceFilterVariable+ DataSourceFilterVariable (..),++ -- * DetailsAttributes+ DetailsAttributes (..),++ -- * EntityStatus+ EntityStatus (..),++ -- * EvaluationFilterVariable+ EvaluationFilterVariable (..),++ -- * MLModelFilterVariable+ MLModelFilterVariable (..),++ -- * MLModelType+ MLModelType (..),++ -- * RealtimeEndpointStatus+ RealtimeEndpointStatus (..),++ -- * SortOrder+ SortOrder (..),++ -- * TaggableResourceType+ TaggableResourceType (..),++ -- * BatchPrediction+ BatchPrediction (..),+ newBatchPrediction,+ batchPrediction_batchPredictionDataSourceId,+ batchPrediction_batchPredictionId,+ batchPrediction_computeTime,+ batchPrediction_createdAt,+ batchPrediction_createdByIamUser,+ batchPrediction_finishedAt,+ batchPrediction_inputDataLocationS3,+ batchPrediction_invalidRecordCount,+ batchPrediction_lastUpdatedAt,+ batchPrediction_mLModelId,+ batchPrediction_message,+ batchPrediction_name,+ batchPrediction_outputUri,+ batchPrediction_startedAt,+ batchPrediction_status,+ batchPrediction_totalRecordCount,++ -- * DataSource+ DataSource (..),+ newDataSource,+ dataSource_computeStatistics,+ dataSource_computeTime,+ dataSource_createdAt,+ dataSource_createdByIamUser,+ dataSource_dataLocationS3,+ dataSource_dataRearrangement,+ dataSource_dataSizeInBytes,+ dataSource_dataSourceId,+ dataSource_finishedAt,+ dataSource_lastUpdatedAt,+ dataSource_message,+ dataSource_name,+ dataSource_numberOfFiles,+ dataSource_rDSMetadata,+ dataSource_redshiftMetadata,+ dataSource_roleARN,+ dataSource_startedAt,+ dataSource_status,++ -- * Evaluation+ Evaluation (..),+ newEvaluation,+ evaluation_computeTime,+ evaluation_createdAt,+ evaluation_createdByIamUser,+ evaluation_evaluationDataSourceId,+ evaluation_evaluationId,+ evaluation_finishedAt,+ evaluation_inputDataLocationS3,+ evaluation_lastUpdatedAt,+ evaluation_mLModelId,+ evaluation_message,+ evaluation_name,+ evaluation_performanceMetrics,+ evaluation_startedAt,+ evaluation_status,++ -- * MLModel+ MLModel (..),+ newMLModel,+ mLModel_algorithm,+ mLModel_computeTime,+ mLModel_createdAt,+ mLModel_createdByIamUser,+ mLModel_endpointInfo,+ mLModel_finishedAt,+ mLModel_inputDataLocationS3,+ mLModel_lastUpdatedAt,+ mLModel_mLModelId,+ mLModel_mLModelType,+ mLModel_message,+ mLModel_name,+ mLModel_scoreThreshold,+ mLModel_scoreThresholdLastUpdatedAt,+ mLModel_sizeInBytes,+ mLModel_startedAt,+ mLModel_status,+ mLModel_trainingDataSourceId,+ mLModel_trainingParameters,++ -- * PerformanceMetrics+ PerformanceMetrics (..),+ newPerformanceMetrics,+ performanceMetrics_properties,++ -- * Prediction+ Prediction (..),+ newPrediction,+ prediction_details,+ prediction_predictedLabel,+ prediction_predictedScores,+ prediction_predictedValue,++ -- * RDSDataSpec+ RDSDataSpec (..),+ newRDSDataSpec,+ rDSDataSpec_dataRearrangement,+ rDSDataSpec_dataSchema,+ rDSDataSpec_dataSchemaUri,+ rDSDataSpec_databaseInformation,+ rDSDataSpec_selectSqlQuery,+ rDSDataSpec_databaseCredentials,+ rDSDataSpec_s3StagingLocation,+ rDSDataSpec_resourceRole,+ rDSDataSpec_serviceRole,+ rDSDataSpec_subnetId,+ rDSDataSpec_securityGroupIds,++ -- * RDSDatabase+ RDSDatabase (..),+ newRDSDatabase,+ rDSDatabase_instanceIdentifier,+ rDSDatabase_databaseName,++ -- * RDSDatabaseCredentials+ RDSDatabaseCredentials (..),+ newRDSDatabaseCredentials,+ rDSDatabaseCredentials_username,+ rDSDatabaseCredentials_password,++ -- * RDSMetadata+ RDSMetadata (..),+ newRDSMetadata,+ rDSMetadata_dataPipelineId,+ rDSMetadata_database,+ rDSMetadata_databaseUserName,+ rDSMetadata_resourceRole,+ rDSMetadata_selectSqlQuery,+ rDSMetadata_serviceRole,++ -- * RealtimeEndpointInfo+ RealtimeEndpointInfo (..),+ newRealtimeEndpointInfo,+ realtimeEndpointInfo_createdAt,+ realtimeEndpointInfo_endpointStatus,+ realtimeEndpointInfo_endpointUrl,+ realtimeEndpointInfo_peakRequestsPerSecond,++ -- * RedshiftDataSpec+ RedshiftDataSpec (..),+ newRedshiftDataSpec,+ redshiftDataSpec_dataRearrangement,+ redshiftDataSpec_dataSchema,+ redshiftDataSpec_dataSchemaUri,+ redshiftDataSpec_databaseInformation,+ redshiftDataSpec_selectSqlQuery,+ redshiftDataSpec_databaseCredentials,+ redshiftDataSpec_s3StagingLocation,++ -- * RedshiftDatabase+ RedshiftDatabase (..),+ newRedshiftDatabase,+ redshiftDatabase_databaseName,+ redshiftDatabase_clusterIdentifier,++ -- * RedshiftDatabaseCredentials+ RedshiftDatabaseCredentials (..),+ newRedshiftDatabaseCredentials,+ redshiftDatabaseCredentials_username,+ redshiftDatabaseCredentials_password,++ -- * RedshiftMetadata+ RedshiftMetadata (..),+ newRedshiftMetadata,+ redshiftMetadata_databaseUserName,+ redshiftMetadata_redshiftDatabase,+ redshiftMetadata_selectSqlQuery,++ -- * S3DataSpec+ S3DataSpec (..),+ newS3DataSpec,+ s3DataSpec_dataRearrangement,+ s3DataSpec_dataSchema,+ s3DataSpec_dataSchemaLocationS3,+ s3DataSpec_dataLocationS3,++ -- * Tag+ Tag (..),+ newTag,+ tag_key,+ tag_value,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import Amazonka.MachineLearning.Types.Algorithm+import Amazonka.MachineLearning.Types.BatchPrediction+import Amazonka.MachineLearning.Types.BatchPredictionFilterVariable+import Amazonka.MachineLearning.Types.DataSource+import Amazonka.MachineLearning.Types.DataSourceFilterVariable+import Amazonka.MachineLearning.Types.DetailsAttributes+import Amazonka.MachineLearning.Types.EntityStatus+import Amazonka.MachineLearning.Types.Evaluation+import Amazonka.MachineLearning.Types.EvaluationFilterVariable+import Amazonka.MachineLearning.Types.MLModel+import Amazonka.MachineLearning.Types.MLModelFilterVariable+import Amazonka.MachineLearning.Types.MLModelType+import Amazonka.MachineLearning.Types.PerformanceMetrics+import Amazonka.MachineLearning.Types.Prediction+import Amazonka.MachineLearning.Types.RDSDataSpec+import Amazonka.MachineLearning.Types.RDSDatabase+import Amazonka.MachineLearning.Types.RDSDatabaseCredentials+import Amazonka.MachineLearning.Types.RDSMetadata+import Amazonka.MachineLearning.Types.RealtimeEndpointInfo+import Amazonka.MachineLearning.Types.RealtimeEndpointStatus+import Amazonka.MachineLearning.Types.RedshiftDataSpec+import Amazonka.MachineLearning.Types.RedshiftDatabase+import Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials+import Amazonka.MachineLearning.Types.RedshiftMetadata+import Amazonka.MachineLearning.Types.S3DataSpec+import Amazonka.MachineLearning.Types.SortOrder+import Amazonka.MachineLearning.Types.Tag+import Amazonka.MachineLearning.Types.TaggableResourceType+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2014-12-12@ of the Amazon Machine Learning SDK configuration.+defaultService :: Core.Service+defaultService =+ Core.Service+ { Core.abbrev = "MachineLearning",+ Core.signer = Sign.v4,+ Core.endpointPrefix = "machinelearning",+ Core.signingName = "machinelearning",+ Core.version = "2014-12-12",+ Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+ Core.endpoint = Core.defaultEndpoint defaultService,+ Core.timeout = Prelude.Just 70,+ Core.check = Core.statusSuccess,+ Core.error = Core.parseJSONError "MachineLearning",+ Core.retry = retry+ }+ where+ retry =+ Core.Exponential+ { Core.base = 5.0e-2,+ Core.growth = 2,+ Core.attempts = 5,+ Core.check = check+ }+ check e+ | Lens.has (Core.hasStatus 502) e =+ Prelude.Just "bad_gateway"+ | Lens.has (Core.hasStatus 504) e =+ Prelude.Just "gateway_timeout"+ | Lens.has (Core.hasStatus 500) e =+ Prelude.Just "general_server_error"+ | Lens.has (Core.hasStatus 509) e =+ Prelude.Just "limit_exceeded"+ | Lens.has+ ( Core.hasCode "RequestThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "request_throttled_exception"+ | Lens.has (Core.hasStatus 503) e =+ Prelude.Just "service_unavailable"+ | Lens.has+ ( Core.hasCode "ThrottledException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttled_exception"+ | Lens.has+ ( Core.hasCode "Throttling"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling"+ | Lens.has+ ( Core.hasCode "ThrottlingException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throttling_exception"+ | Lens.has+ ( Core.hasCode+ "ProvisionedThroughputExceededException"+ Prelude.. Core.hasStatus 400+ )+ e =+ Prelude.Just "throughput_exceeded"+ | Lens.has (Core.hasStatus 429) e =+ Prelude.Just "too_many_requests"+ | Prelude.otherwise = Prelude.Nothing++-- | A second request to use or change an object was not allowed. This can+-- result from retrying a request using a parameter that was not present in+-- the original request.+_IdempotentParameterMismatchException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_IdempotentParameterMismatchException =+ Core._MatchServiceError+ defaultService+ "IdempotentParameterMismatchException"++-- | An error on the server occurred when trying to process a request.+_InternalServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalServerException =+ Core._MatchServiceError+ defaultService+ "InternalServerException"++-- | An error on the client occurred. Typically, the cause is an invalid+-- input value.+_InvalidInputException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidInputException =+ Core._MatchServiceError+ defaultService+ "InvalidInputException"++-- | Prism for InvalidTagException' errors.+_InvalidTagException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidTagException =+ Core._MatchServiceError+ defaultService+ "InvalidTagException"++-- | The subscriber exceeded the maximum number of operations. This exception+-- can occur when listing objects such as @DataSource@.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+ Core._MatchServiceError+ defaultService+ "LimitExceededException"++-- | The exception is thrown when a predict request is made to an unmounted+-- @MLModel@.+_PredictorNotMountedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_PredictorNotMountedException =+ Core._MatchServiceError+ defaultService+ "PredictorNotMountedException"++-- | A specified resource cannot be located.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+ Core._MatchServiceError+ defaultService+ "ResourceNotFoundException"++-- | Prism for TagLimitExceededException' errors.+_TagLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TagLimitExceededException =+ Core._MatchServiceError+ defaultService+ "TagLimitExceededException"
+ gen/Amazonka/MachineLearning/Types/Algorithm.hs view
@@ -0,0 +1,72 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.Algorithm+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.Algorithm+ ( Algorithm+ ( ..,+ Algorithm_Sgd+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The function used to train an @MLModel@. Training choices supported by+-- Amazon ML include the following:+--+-- - @SGD@ - Stochastic Gradient Descent.+--+-- - @RandomForest@ - Random forest of decision trees.+newtype Algorithm = Algorithm'+ { fromAlgorithm ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern Algorithm_Sgd :: Algorithm+pattern Algorithm_Sgd = Algorithm' "sgd"++{-# COMPLETE+ Algorithm_Sgd,+ Algorithm'+ #-}
+ gen/Amazonka/MachineLearning/Types/BatchPrediction.hs view
@@ -0,0 +1,330 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.BatchPrediction+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.BatchPrediction where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.EntityStatus+import qualified Amazonka.Prelude as Prelude++-- | Represents the output of a @GetBatchPrediction@ operation.+--+-- The content consists of the detailed metadata, the status, and the data+-- file information of a @Batch Prediction@.+--+-- /See:/ 'newBatchPrediction' smart constructor.+data BatchPrediction = BatchPrediction'+ { -- | The ID of the @DataSource@ that points to the group of observations to+ -- predict.+ batchPredictionDataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The ID assigned to the @BatchPrediction@ at creation. This value should+ -- be identical to the value of the @BatchPredictionID@ in the request.+ batchPredictionId :: Prelude.Maybe Prelude.Text,+ computeTime :: Prelude.Maybe Prelude.Integer,+ -- | The time that the @BatchPrediction@ was created. The time is expressed+ -- in epoch time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The AWS user account that invoked the @BatchPrediction@. The account+ -- type can be either an AWS root account or an AWS Identity and Access+ -- Management (IAM) user account.+ createdByIamUser :: Prelude.Maybe Prelude.Text,+ finishedAt :: Prelude.Maybe Data.POSIX,+ -- | The location of the data file or directory in Amazon Simple Storage+ -- Service (Amazon S3).+ inputDataLocationS3 :: Prelude.Maybe Prelude.Text,+ invalidRecordCount :: Prelude.Maybe Prelude.Integer,+ -- | The time of the most recent edit to the @BatchPrediction@. The time is+ -- expressed in epoch time.+ lastUpdatedAt :: Prelude.Maybe Data.POSIX,+ -- | The ID of the @MLModel@ that generated predictions for the+ -- @BatchPrediction@ request.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | A description of the most recent details about processing the batch+ -- prediction request.+ message :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied name or description of the @BatchPrediction@.+ name :: Prelude.Maybe Prelude.Text,+ -- | The location of an Amazon S3 bucket or directory to receive the+ -- operation results. The following substrings are not allowed in the+ -- @s3 key@ portion of the @outputURI@ field: \':\', \'\/\/\', \'\/.\/\',+ -- \'\/..\/\'.+ outputUri :: Prelude.Maybe Prelude.Text,+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The status of the @BatchPrediction@. This element can have one of the+ -- following values:+ --+ -- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+ -- to generate predictions for a batch of observations.+ --+ -- - @INPROGRESS@ - The process is underway.+ --+ -- - @FAILED@ - The request to perform a batch prediction did not run to+ -- completion. It is not usable.+ --+ -- - @COMPLETED@ - The batch prediction process completed successfully.+ --+ -- - @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not+ -- usable.+ status :: Prelude.Maybe EntityStatus,+ totalRecordCount :: Prelude.Maybe Prelude.Integer+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'BatchPrediction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionDataSourceId', 'batchPrediction_batchPredictionDataSourceId' - The ID of the @DataSource@ that points to the group of observations to+-- predict.+--+-- 'batchPredictionId', 'batchPrediction_batchPredictionId' - The ID assigned to the @BatchPrediction@ at creation. This value should+-- be identical to the value of the @BatchPredictionID@ in the request.+--+-- 'computeTime', 'batchPrediction_computeTime' - Undocumented member.+--+-- 'createdAt', 'batchPrediction_createdAt' - The time that the @BatchPrediction@ was created. The time is expressed+-- in epoch time.+--+-- 'createdByIamUser', 'batchPrediction_createdByIamUser' - The AWS user account that invoked the @BatchPrediction@. The account+-- type can be either an AWS root account or an AWS Identity and Access+-- Management (IAM) user account.+--+-- 'finishedAt', 'batchPrediction_finishedAt' - Undocumented member.+--+-- 'inputDataLocationS3', 'batchPrediction_inputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+--+-- 'invalidRecordCount', 'batchPrediction_invalidRecordCount' - Undocumented member.+--+-- 'lastUpdatedAt', 'batchPrediction_lastUpdatedAt' - The time of the most recent edit to the @BatchPrediction@. The time is+-- expressed in epoch time.+--+-- 'mLModelId', 'batchPrediction_mLModelId' - The ID of the @MLModel@ that generated predictions for the+-- @BatchPrediction@ request.+--+-- 'message', 'batchPrediction_message' - A description of the most recent details about processing the batch+-- prediction request.+--+-- 'name', 'batchPrediction_name' - A user-supplied name or description of the @BatchPrediction@.+--+-- 'outputUri', 'batchPrediction_outputUri' - The location of an Amazon S3 bucket or directory to receive the+-- operation results. The following substrings are not allowed in the+-- @s3 key@ portion of the @outputURI@ field: \':\', \'\/\/\', \'\/.\/\',+-- \'\/..\/\'.+--+-- 'startedAt', 'batchPrediction_startedAt' - Undocumented member.+--+-- 'status', 'batchPrediction_status' - The status of the @BatchPrediction@. This element can have one of the+-- following values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to generate predictions for a batch of observations.+--+-- - @INPROGRESS@ - The process is underway.+--+-- - @FAILED@ - The request to perform a batch prediction did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The batch prediction process completed successfully.+--+-- - @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not+-- usable.+--+-- 'totalRecordCount', 'batchPrediction_totalRecordCount' - Undocumented member.+newBatchPrediction ::+ BatchPrediction+newBatchPrediction =+ BatchPrediction'+ { batchPredictionDataSourceId =+ Prelude.Nothing,+ batchPredictionId = Prelude.Nothing,+ computeTime = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdByIamUser = Prelude.Nothing,+ finishedAt = Prelude.Nothing,+ inputDataLocationS3 = Prelude.Nothing,+ invalidRecordCount = Prelude.Nothing,+ lastUpdatedAt = Prelude.Nothing,+ mLModelId = Prelude.Nothing,+ message = Prelude.Nothing,+ name = Prelude.Nothing,+ outputUri = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing,+ totalRecordCount = Prelude.Nothing+ }++-- | The ID of the @DataSource@ that points to the group of observations to+-- predict.+batchPrediction_batchPredictionDataSourceId :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Text)+batchPrediction_batchPredictionDataSourceId = Lens.lens (\BatchPrediction' {batchPredictionDataSourceId} -> batchPredictionDataSourceId) (\s@BatchPrediction' {} a -> s {batchPredictionDataSourceId = a} :: BatchPrediction)++-- | The ID assigned to the @BatchPrediction@ at creation. This value should+-- be identical to the value of the @BatchPredictionID@ in the request.+batchPrediction_batchPredictionId :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Text)+batchPrediction_batchPredictionId = Lens.lens (\BatchPrediction' {batchPredictionId} -> batchPredictionId) (\s@BatchPrediction' {} a -> s {batchPredictionId = a} :: BatchPrediction)++-- | Undocumented member.+batchPrediction_computeTime :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Integer)+batchPrediction_computeTime = Lens.lens (\BatchPrediction' {computeTime} -> computeTime) (\s@BatchPrediction' {} a -> s {computeTime = a} :: BatchPrediction)++-- | The time that the @BatchPrediction@ was created. The time is expressed+-- in epoch time.+batchPrediction_createdAt :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.UTCTime)+batchPrediction_createdAt = Lens.lens (\BatchPrediction' {createdAt} -> createdAt) (\s@BatchPrediction' {} a -> s {createdAt = a} :: BatchPrediction) Prelude.. Lens.mapping Data._Time++-- | The AWS user account that invoked the @BatchPrediction@. The account+-- type can be either an AWS root account or an AWS Identity and Access+-- Management (IAM) user account.+batchPrediction_createdByIamUser :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Text)+batchPrediction_createdByIamUser = Lens.lens (\BatchPrediction' {createdByIamUser} -> createdByIamUser) (\s@BatchPrediction' {} a -> s {createdByIamUser = a} :: BatchPrediction)++-- | Undocumented member.+batchPrediction_finishedAt :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.UTCTime)+batchPrediction_finishedAt = Lens.lens (\BatchPrediction' {finishedAt} -> finishedAt) (\s@BatchPrediction' {} a -> s {finishedAt = a} :: BatchPrediction) Prelude.. Lens.mapping Data._Time++-- | The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+batchPrediction_inputDataLocationS3 :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Text)+batchPrediction_inputDataLocationS3 = Lens.lens (\BatchPrediction' {inputDataLocationS3} -> inputDataLocationS3) (\s@BatchPrediction' {} a -> s {inputDataLocationS3 = a} :: BatchPrediction)++-- | Undocumented member.+batchPrediction_invalidRecordCount :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Integer)+batchPrediction_invalidRecordCount = Lens.lens (\BatchPrediction' {invalidRecordCount} -> invalidRecordCount) (\s@BatchPrediction' {} a -> s {invalidRecordCount = a} :: BatchPrediction)++-- | The time of the most recent edit to the @BatchPrediction@. The time is+-- expressed in epoch time.+batchPrediction_lastUpdatedAt :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.UTCTime)+batchPrediction_lastUpdatedAt = Lens.lens (\BatchPrediction' {lastUpdatedAt} -> lastUpdatedAt) (\s@BatchPrediction' {} a -> s {lastUpdatedAt = a} :: BatchPrediction) Prelude.. Lens.mapping Data._Time++-- | The ID of the @MLModel@ that generated predictions for the+-- @BatchPrediction@ request.+batchPrediction_mLModelId :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Text)+batchPrediction_mLModelId = Lens.lens (\BatchPrediction' {mLModelId} -> mLModelId) (\s@BatchPrediction' {} a -> s {mLModelId = a} :: BatchPrediction)++-- | A description of the most recent details about processing the batch+-- prediction request.+batchPrediction_message :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Text)+batchPrediction_message = Lens.lens (\BatchPrediction' {message} -> message) (\s@BatchPrediction' {} a -> s {message = a} :: BatchPrediction)++-- | A user-supplied name or description of the @BatchPrediction@.+batchPrediction_name :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Text)+batchPrediction_name = Lens.lens (\BatchPrediction' {name} -> name) (\s@BatchPrediction' {} a -> s {name = a} :: BatchPrediction)++-- | The location of an Amazon S3 bucket or directory to receive the+-- operation results. The following substrings are not allowed in the+-- @s3 key@ portion of the @outputURI@ field: \':\', \'\/\/\', \'\/.\/\',+-- \'\/..\/\'.+batchPrediction_outputUri :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Text)+batchPrediction_outputUri = Lens.lens (\BatchPrediction' {outputUri} -> outputUri) (\s@BatchPrediction' {} a -> s {outputUri = a} :: BatchPrediction)++-- | Undocumented member.+batchPrediction_startedAt :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.UTCTime)+batchPrediction_startedAt = Lens.lens (\BatchPrediction' {startedAt} -> startedAt) (\s@BatchPrediction' {} a -> s {startedAt = a} :: BatchPrediction) Prelude.. Lens.mapping Data._Time++-- | The status of the @BatchPrediction@. This element can have one of the+-- following values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to generate predictions for a batch of observations.+--+-- - @INPROGRESS@ - The process is underway.+--+-- - @FAILED@ - The request to perform a batch prediction did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The batch prediction process completed successfully.+--+-- - @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not+-- usable.+batchPrediction_status :: Lens.Lens' BatchPrediction (Prelude.Maybe EntityStatus)+batchPrediction_status = Lens.lens (\BatchPrediction' {status} -> status) (\s@BatchPrediction' {} a -> s {status = a} :: BatchPrediction)++-- | Undocumented member.+batchPrediction_totalRecordCount :: Lens.Lens' BatchPrediction (Prelude.Maybe Prelude.Integer)+batchPrediction_totalRecordCount = Lens.lens (\BatchPrediction' {totalRecordCount} -> totalRecordCount) (\s@BatchPrediction' {} a -> s {totalRecordCount = a} :: BatchPrediction)++instance Data.FromJSON BatchPrediction where+ parseJSON =+ Data.withObject+ "BatchPrediction"+ ( \x ->+ BatchPrediction'+ Prelude.<$> (x Data..:? "BatchPredictionDataSourceId")+ Prelude.<*> (x Data..:? "BatchPredictionId")+ Prelude.<*> (x Data..:? "ComputeTime")+ Prelude.<*> (x Data..:? "CreatedAt")+ Prelude.<*> (x Data..:? "CreatedByIamUser")+ Prelude.<*> (x Data..:? "FinishedAt")+ Prelude.<*> (x Data..:? "InputDataLocationS3")+ Prelude.<*> (x Data..:? "InvalidRecordCount")+ Prelude.<*> (x Data..:? "LastUpdatedAt")+ Prelude.<*> (x Data..:? "MLModelId")+ Prelude.<*> (x Data..:? "Message")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "OutputUri")+ Prelude.<*> (x Data..:? "StartedAt")+ Prelude.<*> (x Data..:? "Status")+ Prelude.<*> (x Data..:? "TotalRecordCount")+ )++instance Prelude.Hashable BatchPrediction where+ hashWithSalt _salt BatchPrediction' {..} =+ _salt+ `Prelude.hashWithSalt` batchPredictionDataSourceId+ `Prelude.hashWithSalt` batchPredictionId+ `Prelude.hashWithSalt` computeTime+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` createdByIamUser+ `Prelude.hashWithSalt` finishedAt+ `Prelude.hashWithSalt` inputDataLocationS3+ `Prelude.hashWithSalt` invalidRecordCount+ `Prelude.hashWithSalt` lastUpdatedAt+ `Prelude.hashWithSalt` mLModelId+ `Prelude.hashWithSalt` message+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` outputUri+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` totalRecordCount++instance Prelude.NFData BatchPrediction where+ rnf BatchPrediction' {..} =+ Prelude.rnf batchPredictionDataSourceId+ `Prelude.seq` Prelude.rnf batchPredictionId+ `Prelude.seq` Prelude.rnf computeTime+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdByIamUser+ `Prelude.seq` Prelude.rnf finishedAt+ `Prelude.seq` Prelude.rnf inputDataLocationS3+ `Prelude.seq` Prelude.rnf invalidRecordCount+ `Prelude.seq` Prelude.rnf lastUpdatedAt+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf outputUri+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf totalRecordCount
+ gen/Amazonka/MachineLearning/Types/BatchPredictionFilterVariable.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.BatchPredictionFilterVariable+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.BatchPredictionFilterVariable+ ( BatchPredictionFilterVariable+ ( ..,+ BatchPredictionFilterVariable_CreatedAt,+ BatchPredictionFilterVariable_DataSourceId,+ BatchPredictionFilterVariable_DataURI,+ BatchPredictionFilterVariable_IAMUser,+ BatchPredictionFilterVariable_LastUpdatedAt,+ BatchPredictionFilterVariable_MLModelId,+ BatchPredictionFilterVariable_Name,+ BatchPredictionFilterVariable_Status+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A list of the variables to use in searching or filtering+-- @BatchPrediction@.+--+-- - @CreatedAt@ - Sets the search criteria to @BatchPrediction@ creation+-- date.+--+-- - @Status@ - Sets the search criteria to @BatchPrediction@ status.+--+-- - @Name@ - Sets the search criteria to the contents of+-- @BatchPrediction@ @Name@.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked the @BatchPrediction@ creation.+--+-- - @MLModelId@ - Sets the search criteria to the @MLModel@ used in the+-- @BatchPrediction@.+--+-- - @DataSourceId@ - Sets the search criteria to the @DataSource@ used+-- in the @BatchPrediction@.+--+-- - @DataURI@ - Sets the search criteria to the data file(s) used in the+-- @BatchPrediction@. The URL can identify either a file or an Amazon+-- Simple Storage Service (Amazon S3) bucket or directory.+newtype BatchPredictionFilterVariable = BatchPredictionFilterVariable'+ { fromBatchPredictionFilterVariable ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern BatchPredictionFilterVariable_CreatedAt :: BatchPredictionFilterVariable+pattern BatchPredictionFilterVariable_CreatedAt = BatchPredictionFilterVariable' "CreatedAt"++pattern BatchPredictionFilterVariable_DataSourceId :: BatchPredictionFilterVariable+pattern BatchPredictionFilterVariable_DataSourceId = BatchPredictionFilterVariable' "DataSourceId"++pattern BatchPredictionFilterVariable_DataURI :: BatchPredictionFilterVariable+pattern BatchPredictionFilterVariable_DataURI = BatchPredictionFilterVariable' "DataURI"++pattern BatchPredictionFilterVariable_IAMUser :: BatchPredictionFilterVariable+pattern BatchPredictionFilterVariable_IAMUser = BatchPredictionFilterVariable' "IAMUser"++pattern BatchPredictionFilterVariable_LastUpdatedAt :: BatchPredictionFilterVariable+pattern BatchPredictionFilterVariable_LastUpdatedAt = BatchPredictionFilterVariable' "LastUpdatedAt"++pattern BatchPredictionFilterVariable_MLModelId :: BatchPredictionFilterVariable+pattern BatchPredictionFilterVariable_MLModelId = BatchPredictionFilterVariable' "MLModelId"++pattern BatchPredictionFilterVariable_Name :: BatchPredictionFilterVariable+pattern BatchPredictionFilterVariable_Name = BatchPredictionFilterVariable' "Name"++pattern BatchPredictionFilterVariable_Status :: BatchPredictionFilterVariable+pattern BatchPredictionFilterVariable_Status = BatchPredictionFilterVariable' "Status"++{-# COMPLETE+ BatchPredictionFilterVariable_CreatedAt,+ BatchPredictionFilterVariable_DataSourceId,+ BatchPredictionFilterVariable_DataURI,+ BatchPredictionFilterVariable_IAMUser,+ BatchPredictionFilterVariable_LastUpdatedAt,+ BatchPredictionFilterVariable_MLModelId,+ BatchPredictionFilterVariable_Name,+ BatchPredictionFilterVariable_Status,+ BatchPredictionFilterVariable'+ #-}
+ gen/Amazonka/MachineLearning/Types/DataSource.hs view
@@ -0,0 +1,342 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.DataSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.DataSource where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.EntityStatus+import Amazonka.MachineLearning.Types.RDSMetadata+import Amazonka.MachineLearning.Types.RedshiftMetadata+import qualified Amazonka.Prelude as Prelude++-- | Represents the output of the @GetDataSource@ operation.+--+-- The content consists of the detailed metadata and data file information+-- and the current status of the @DataSource@.+--+-- /See:/ 'newDataSource' smart constructor.+data DataSource = DataSource'+ { -- | The parameter is @true@ if statistics need to be generated from the+ -- observation data.+ computeStatistics :: Prelude.Maybe Prelude.Bool,+ computeTime :: Prelude.Maybe Prelude.Integer,+ -- | The time that the @DataSource@ was created. The time is expressed in+ -- epoch time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The AWS user account from which the @DataSource@ was created. The+ -- account type can be either an AWS root account or an AWS Identity and+ -- Access Management (IAM) user account.+ createdByIamUser :: Prelude.Maybe Prelude.Text,+ -- | The location and name of the data in Amazon Simple Storage Service+ -- (Amazon S3) that is used by a @DataSource@.+ dataLocationS3 :: Prelude.Maybe Prelude.Text,+ -- | A JSON string that represents the splitting and rearrangement+ -- requirement used when this @DataSource@ was created.+ dataRearrangement :: Prelude.Maybe Prelude.Text,+ -- | The total number of observations contained in the data files that the+ -- @DataSource@ references.+ dataSizeInBytes :: Prelude.Maybe Prelude.Integer,+ -- | The ID that is assigned to the @DataSource@ during creation.+ dataSourceId :: Prelude.Maybe Prelude.Text,+ finishedAt :: Prelude.Maybe Data.POSIX,+ -- | The time of the most recent edit to the @BatchPrediction@. The time is+ -- expressed in epoch time.+ lastUpdatedAt :: Prelude.Maybe Data.POSIX,+ -- | A description of the most recent details about creating the+ -- @DataSource@.+ message :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied name or description of the @DataSource@.+ name :: Prelude.Maybe Prelude.Text,+ -- | The number of data files referenced by the @DataSource@.+ numberOfFiles :: Prelude.Maybe Prelude.Integer,+ rDSMetadata :: Prelude.Maybe RDSMetadata,+ redshiftMetadata :: Prelude.Maybe RedshiftMetadata,+ roleARN :: Prelude.Maybe Prelude.Text,+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The current status of the @DataSource@. This element can have one of the+ -- following values:+ --+ -- - PENDING - Amazon Machine Learning (Amazon ML) submitted a request to+ -- create a @DataSource@.+ --+ -- - INPROGRESS - The creation process is underway.+ --+ -- - FAILED - The request to create a @DataSource@ did not run to+ -- completion. It is not usable.+ --+ -- - COMPLETED - The creation process completed successfully.+ --+ -- - DELETED - The @DataSource@ is marked as deleted. It is not usable.+ status :: Prelude.Maybe EntityStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DataSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeStatistics', 'dataSource_computeStatistics' - The parameter is @true@ if statistics need to be generated from the+-- observation data.+--+-- 'computeTime', 'dataSource_computeTime' - Undocumented member.+--+-- 'createdAt', 'dataSource_createdAt' - The time that the @DataSource@ was created. The time is expressed in+-- epoch time.+--+-- 'createdByIamUser', 'dataSource_createdByIamUser' - The AWS user account from which the @DataSource@ was created. The+-- account type can be either an AWS root account or an AWS Identity and+-- Access Management (IAM) user account.+--+-- 'dataLocationS3', 'dataSource_dataLocationS3' - The location and name of the data in Amazon Simple Storage Service+-- (Amazon S3) that is used by a @DataSource@.+--+-- 'dataRearrangement', 'dataSource_dataRearrangement' - A JSON string that represents the splitting and rearrangement+-- requirement used when this @DataSource@ was created.+--+-- 'dataSizeInBytes', 'dataSource_dataSizeInBytes' - The total number of observations contained in the data files that the+-- @DataSource@ references.+--+-- 'dataSourceId', 'dataSource_dataSourceId' - The ID that is assigned to the @DataSource@ during creation.+--+-- 'finishedAt', 'dataSource_finishedAt' - Undocumented member.+--+-- 'lastUpdatedAt', 'dataSource_lastUpdatedAt' - The time of the most recent edit to the @BatchPrediction@. The time is+-- expressed in epoch time.+--+-- 'message', 'dataSource_message' - A description of the most recent details about creating the+-- @DataSource@.+--+-- 'name', 'dataSource_name' - A user-supplied name or description of the @DataSource@.+--+-- 'numberOfFiles', 'dataSource_numberOfFiles' - The number of data files referenced by the @DataSource@.+--+-- 'rDSMetadata', 'dataSource_rDSMetadata' - Undocumented member.+--+-- 'redshiftMetadata', 'dataSource_redshiftMetadata' - Undocumented member.+--+-- 'roleARN', 'dataSource_roleARN' - Undocumented member.+--+-- 'startedAt', 'dataSource_startedAt' - Undocumented member.+--+-- 'status', 'dataSource_status' - The current status of the @DataSource@. This element can have one of the+-- following values:+--+-- - PENDING - Amazon Machine Learning (Amazon ML) submitted a request to+-- create a @DataSource@.+--+-- - INPROGRESS - The creation process is underway.+--+-- - FAILED - The request to create a @DataSource@ did not run to+-- completion. It is not usable.+--+-- - COMPLETED - The creation process completed successfully.+--+-- - DELETED - The @DataSource@ is marked as deleted. It is not usable.+newDataSource ::+ DataSource+newDataSource =+ DataSource'+ { computeStatistics = Prelude.Nothing,+ computeTime = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdByIamUser = Prelude.Nothing,+ dataLocationS3 = Prelude.Nothing,+ dataRearrangement = Prelude.Nothing,+ dataSizeInBytes = Prelude.Nothing,+ dataSourceId = Prelude.Nothing,+ finishedAt = Prelude.Nothing,+ lastUpdatedAt = Prelude.Nothing,+ message = Prelude.Nothing,+ name = Prelude.Nothing,+ numberOfFiles = Prelude.Nothing,+ rDSMetadata = Prelude.Nothing,+ redshiftMetadata = Prelude.Nothing,+ roleARN = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | The parameter is @true@ if statistics need to be generated from the+-- observation data.+dataSource_computeStatistics :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Bool)+dataSource_computeStatistics = Lens.lens (\DataSource' {computeStatistics} -> computeStatistics) (\s@DataSource' {} a -> s {computeStatistics = a} :: DataSource)++-- | Undocumented member.+dataSource_computeTime :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Integer)+dataSource_computeTime = Lens.lens (\DataSource' {computeTime} -> computeTime) (\s@DataSource' {} a -> s {computeTime = a} :: DataSource)++-- | The time that the @DataSource@ was created. The time is expressed in+-- epoch time.+dataSource_createdAt :: Lens.Lens' DataSource (Prelude.Maybe Prelude.UTCTime)+dataSource_createdAt = Lens.lens (\DataSource' {createdAt} -> createdAt) (\s@DataSource' {} a -> s {createdAt = a} :: DataSource) Prelude.. Lens.mapping Data._Time++-- | The AWS user account from which the @DataSource@ was created. The+-- account type can be either an AWS root account or an AWS Identity and+-- Access Management (IAM) user account.+dataSource_createdByIamUser :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Text)+dataSource_createdByIamUser = Lens.lens (\DataSource' {createdByIamUser} -> createdByIamUser) (\s@DataSource' {} a -> s {createdByIamUser = a} :: DataSource)++-- | The location and name of the data in Amazon Simple Storage Service+-- (Amazon S3) that is used by a @DataSource@.+dataSource_dataLocationS3 :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Text)+dataSource_dataLocationS3 = Lens.lens (\DataSource' {dataLocationS3} -> dataLocationS3) (\s@DataSource' {} a -> s {dataLocationS3 = a} :: DataSource)++-- | A JSON string that represents the splitting and rearrangement+-- requirement used when this @DataSource@ was created.+dataSource_dataRearrangement :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Text)+dataSource_dataRearrangement = Lens.lens (\DataSource' {dataRearrangement} -> dataRearrangement) (\s@DataSource' {} a -> s {dataRearrangement = a} :: DataSource)++-- | The total number of observations contained in the data files that the+-- @DataSource@ references.+dataSource_dataSizeInBytes :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Integer)+dataSource_dataSizeInBytes = Lens.lens (\DataSource' {dataSizeInBytes} -> dataSizeInBytes) (\s@DataSource' {} a -> s {dataSizeInBytes = a} :: DataSource)++-- | The ID that is assigned to the @DataSource@ during creation.+dataSource_dataSourceId :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Text)+dataSource_dataSourceId = Lens.lens (\DataSource' {dataSourceId} -> dataSourceId) (\s@DataSource' {} a -> s {dataSourceId = a} :: DataSource)++-- | Undocumented member.+dataSource_finishedAt :: Lens.Lens' DataSource (Prelude.Maybe Prelude.UTCTime)+dataSource_finishedAt = Lens.lens (\DataSource' {finishedAt} -> finishedAt) (\s@DataSource' {} a -> s {finishedAt = a} :: DataSource) Prelude.. Lens.mapping Data._Time++-- | The time of the most recent edit to the @BatchPrediction@. The time is+-- expressed in epoch time.+dataSource_lastUpdatedAt :: Lens.Lens' DataSource (Prelude.Maybe Prelude.UTCTime)+dataSource_lastUpdatedAt = Lens.lens (\DataSource' {lastUpdatedAt} -> lastUpdatedAt) (\s@DataSource' {} a -> s {lastUpdatedAt = a} :: DataSource) Prelude.. Lens.mapping Data._Time++-- | A description of the most recent details about creating the+-- @DataSource@.+dataSource_message :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Text)+dataSource_message = Lens.lens (\DataSource' {message} -> message) (\s@DataSource' {} a -> s {message = a} :: DataSource)++-- | A user-supplied name or description of the @DataSource@.+dataSource_name :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Text)+dataSource_name = Lens.lens (\DataSource' {name} -> name) (\s@DataSource' {} a -> s {name = a} :: DataSource)++-- | The number of data files referenced by the @DataSource@.+dataSource_numberOfFiles :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Integer)+dataSource_numberOfFiles = Lens.lens (\DataSource' {numberOfFiles} -> numberOfFiles) (\s@DataSource' {} a -> s {numberOfFiles = a} :: DataSource)++-- | Undocumented member.+dataSource_rDSMetadata :: Lens.Lens' DataSource (Prelude.Maybe RDSMetadata)+dataSource_rDSMetadata = Lens.lens (\DataSource' {rDSMetadata} -> rDSMetadata) (\s@DataSource' {} a -> s {rDSMetadata = a} :: DataSource)++-- | Undocumented member.+dataSource_redshiftMetadata :: Lens.Lens' DataSource (Prelude.Maybe RedshiftMetadata)+dataSource_redshiftMetadata = Lens.lens (\DataSource' {redshiftMetadata} -> redshiftMetadata) (\s@DataSource' {} a -> s {redshiftMetadata = a} :: DataSource)++-- | Undocumented member.+dataSource_roleARN :: Lens.Lens' DataSource (Prelude.Maybe Prelude.Text)+dataSource_roleARN = Lens.lens (\DataSource' {roleARN} -> roleARN) (\s@DataSource' {} a -> s {roleARN = a} :: DataSource)++-- | Undocumented member.+dataSource_startedAt :: Lens.Lens' DataSource (Prelude.Maybe Prelude.UTCTime)+dataSource_startedAt = Lens.lens (\DataSource' {startedAt} -> startedAt) (\s@DataSource' {} a -> s {startedAt = a} :: DataSource) Prelude.. Lens.mapping Data._Time++-- | The current status of the @DataSource@. This element can have one of the+-- following values:+--+-- - PENDING - Amazon Machine Learning (Amazon ML) submitted a request to+-- create a @DataSource@.+--+-- - INPROGRESS - The creation process is underway.+--+-- - FAILED - The request to create a @DataSource@ did not run to+-- completion. It is not usable.+--+-- - COMPLETED - The creation process completed successfully.+--+-- - DELETED - The @DataSource@ is marked as deleted. It is not usable.+dataSource_status :: Lens.Lens' DataSource (Prelude.Maybe EntityStatus)+dataSource_status = Lens.lens (\DataSource' {status} -> status) (\s@DataSource' {} a -> s {status = a} :: DataSource)++instance Data.FromJSON DataSource where+ parseJSON =+ Data.withObject+ "DataSource"+ ( \x ->+ DataSource'+ Prelude.<$> (x Data..:? "ComputeStatistics")+ Prelude.<*> (x Data..:? "ComputeTime")+ Prelude.<*> (x Data..:? "CreatedAt")+ Prelude.<*> (x Data..:? "CreatedByIamUser")+ Prelude.<*> (x Data..:? "DataLocationS3")+ Prelude.<*> (x Data..:? "DataRearrangement")+ Prelude.<*> (x Data..:? "DataSizeInBytes")+ Prelude.<*> (x Data..:? "DataSourceId")+ Prelude.<*> (x Data..:? "FinishedAt")+ Prelude.<*> (x Data..:? "LastUpdatedAt")+ Prelude.<*> (x Data..:? "Message")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "NumberOfFiles")+ Prelude.<*> (x Data..:? "RDSMetadata")+ Prelude.<*> (x Data..:? "RedshiftMetadata")+ Prelude.<*> (x Data..:? "RoleARN")+ Prelude.<*> (x Data..:? "StartedAt")+ Prelude.<*> (x Data..:? "Status")+ )++instance Prelude.Hashable DataSource where+ hashWithSalt _salt DataSource' {..} =+ _salt+ `Prelude.hashWithSalt` computeStatistics+ `Prelude.hashWithSalt` computeTime+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` createdByIamUser+ `Prelude.hashWithSalt` dataLocationS3+ `Prelude.hashWithSalt` dataRearrangement+ `Prelude.hashWithSalt` dataSizeInBytes+ `Prelude.hashWithSalt` dataSourceId+ `Prelude.hashWithSalt` finishedAt+ `Prelude.hashWithSalt` lastUpdatedAt+ `Prelude.hashWithSalt` message+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` numberOfFiles+ `Prelude.hashWithSalt` rDSMetadata+ `Prelude.hashWithSalt` redshiftMetadata+ `Prelude.hashWithSalt` roleARN+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` status++instance Prelude.NFData DataSource where+ rnf DataSource' {..} =+ Prelude.rnf computeStatistics+ `Prelude.seq` Prelude.rnf computeTime+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdByIamUser+ `Prelude.seq` Prelude.rnf dataLocationS3+ `Prelude.seq` Prelude.rnf dataRearrangement+ `Prelude.seq` Prelude.rnf dataSizeInBytes+ `Prelude.seq` Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf finishedAt+ `Prelude.seq` Prelude.rnf lastUpdatedAt+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf numberOfFiles+ `Prelude.seq` Prelude.rnf rDSMetadata+ `Prelude.seq` Prelude.rnf redshiftMetadata+ `Prelude.seq` Prelude.rnf roleARN+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status
+ gen/Amazonka/MachineLearning/Types/DataSourceFilterVariable.hs view
@@ -0,0 +1,110 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.DataSourceFilterVariable+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.DataSourceFilterVariable+ ( DataSourceFilterVariable+ ( ..,+ DataSourceFilterVariable_CreatedAt,+ DataSourceFilterVariable_DataLocationS3,+ DataSourceFilterVariable_IAMUser,+ DataSourceFilterVariable_LastUpdatedAt,+ DataSourceFilterVariable_Name,+ DataSourceFilterVariable_Status+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A list of the variables to use in searching or filtering @DataSource@.+--+-- - @CreatedAt@ - Sets the search criteria to @DataSource@ creation+-- date.+--+-- - @Status@ - Sets the search criteria to @DataSource@ status.+--+-- - @Name@ - Sets the search criteria to the contents of @DataSource@+-- @Name@.+--+-- - @DataUri@ - Sets the search criteria to the URI of data files used+-- to create the @DataSource@. The URI can identify either a file or an+-- Amazon Simple Storage Service (Amazon S3) bucket or directory.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked the @DataSource@ creation.+--+-- __Note:__ The variable names should match the variable names in the+-- @DataSource@.+newtype DataSourceFilterVariable = DataSourceFilterVariable'+ { fromDataSourceFilterVariable ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern DataSourceFilterVariable_CreatedAt :: DataSourceFilterVariable+pattern DataSourceFilterVariable_CreatedAt = DataSourceFilterVariable' "CreatedAt"++pattern DataSourceFilterVariable_DataLocationS3 :: DataSourceFilterVariable+pattern DataSourceFilterVariable_DataLocationS3 = DataSourceFilterVariable' "DataLocationS3"++pattern DataSourceFilterVariable_IAMUser :: DataSourceFilterVariable+pattern DataSourceFilterVariable_IAMUser = DataSourceFilterVariable' "IAMUser"++pattern DataSourceFilterVariable_LastUpdatedAt :: DataSourceFilterVariable+pattern DataSourceFilterVariable_LastUpdatedAt = DataSourceFilterVariable' "LastUpdatedAt"++pattern DataSourceFilterVariable_Name :: DataSourceFilterVariable+pattern DataSourceFilterVariable_Name = DataSourceFilterVariable' "Name"++pattern DataSourceFilterVariable_Status :: DataSourceFilterVariable+pattern DataSourceFilterVariable_Status = DataSourceFilterVariable' "Status"++{-# COMPLETE+ DataSourceFilterVariable_CreatedAt,+ DataSourceFilterVariable_DataLocationS3,+ DataSourceFilterVariable_IAMUser,+ DataSourceFilterVariable_LastUpdatedAt,+ DataSourceFilterVariable_Name,+ DataSourceFilterVariable_Status,+ DataSourceFilterVariable'+ #-}
+ gen/Amazonka/MachineLearning/Types/DetailsAttributes.hs view
@@ -0,0 +1,77 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.DetailsAttributes+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.DetailsAttributes+ ( DetailsAttributes+ ( ..,+ DetailsAttributes_Algorithm,+ DetailsAttributes_PredictiveModelType+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Contains the key values of @DetailsMap@:+--+-- - @PredictiveModelType@ - Indicates the type of the @MLModel@.+--+-- - @Algorithm@ - Indicates the algorithm that was used for the+-- @MLModel@.+newtype DetailsAttributes = DetailsAttributes'+ { fromDetailsAttributes ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern DetailsAttributes_Algorithm :: DetailsAttributes+pattern DetailsAttributes_Algorithm = DetailsAttributes' "Algorithm"++pattern DetailsAttributes_PredictiveModelType :: DetailsAttributes+pattern DetailsAttributes_PredictiveModelType = DetailsAttributes' "PredictiveModelType"++{-# COMPLETE+ DetailsAttributes_Algorithm,+ DetailsAttributes_PredictiveModelType,+ DetailsAttributes'+ #-}
+ gen/Amazonka/MachineLearning/Types/EntityStatus.hs view
@@ -0,0 +1,97 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.EntityStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.EntityStatus+ ( EntityStatus+ ( ..,+ EntityStatus_COMPLETED,+ EntityStatus_DELETED,+ EntityStatus_FAILED,+ EntityStatus_INPROGRESS,+ EntityStatus_PENDING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Object status with the following possible values:+--+-- - @PENDING@+--+-- - @INPROGRESS@+--+-- - @FAILED@+--+-- - @COMPLETED@+--+-- - @DELETED@+newtype EntityStatus = EntityStatus'+ { fromEntityStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EntityStatus_COMPLETED :: EntityStatus+pattern EntityStatus_COMPLETED = EntityStatus' "COMPLETED"++pattern EntityStatus_DELETED :: EntityStatus+pattern EntityStatus_DELETED = EntityStatus' "DELETED"++pattern EntityStatus_FAILED :: EntityStatus+pattern EntityStatus_FAILED = EntityStatus' "FAILED"++pattern EntityStatus_INPROGRESS :: EntityStatus+pattern EntityStatus_INPROGRESS = EntityStatus' "INPROGRESS"++pattern EntityStatus_PENDING :: EntityStatus+pattern EntityStatus_PENDING = EntityStatus' "PENDING"++{-# COMPLETE+ EntityStatus_COMPLETED,+ EntityStatus_DELETED,+ EntityStatus_FAILED,+ EntityStatus_INPROGRESS,+ EntityStatus_PENDING,+ EntityStatus'+ #-}
+ gen/Amazonka/MachineLearning/Types/Evaluation.hs view
@@ -0,0 +1,332 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.Evaluation+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.Evaluation where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.EntityStatus+import Amazonka.MachineLearning.Types.PerformanceMetrics+import qualified Amazonka.Prelude as Prelude++-- | Represents the output of @GetEvaluation@ operation.+--+-- The content consists of the detailed metadata and data file information+-- and the current status of the @Evaluation@.+--+-- /See:/ 'newEvaluation' smart constructor.+data Evaluation = Evaluation'+ { computeTime :: Prelude.Maybe Prelude.Integer,+ -- | The time that the @Evaluation@ was created. The time is expressed in+ -- epoch time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The AWS user account that invoked the evaluation. The account type can+ -- be either an AWS root account or an AWS Identity and Access Management+ -- (IAM) user account.+ createdByIamUser :: Prelude.Maybe Prelude.Text,+ -- | The ID of the @DataSource@ that is used to evaluate the @MLModel@.+ evaluationDataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The ID that is assigned to the @Evaluation@ at creation.+ evaluationId :: Prelude.Maybe Prelude.Text,+ finishedAt :: Prelude.Maybe Data.POSIX,+ -- | The location and name of the data in Amazon Simple Storage Server+ -- (Amazon S3) that is used in the evaluation.+ inputDataLocationS3 :: Prelude.Maybe Prelude.Text,+ -- | The time of the most recent edit to the @Evaluation@. The time is+ -- expressed in epoch time.+ lastUpdatedAt :: Prelude.Maybe Data.POSIX,+ -- | The ID of the @MLModel@ that is the focus of the evaluation.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | A description of the most recent details about evaluating the @MLModel@.+ message :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied name or description of the @Evaluation@.+ name :: Prelude.Maybe Prelude.Text,+ -- | Measurements of how well the @MLModel@ performed, using observations+ -- referenced by the @DataSource@. One of the following metrics is+ -- returned, based on the type of the @MLModel@:+ --+ -- - BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC)+ -- technique to measure performance.+ --+ -- - RegressionRMSE: A regression @MLModel@ uses the Root Mean Square+ -- Error (RMSE) technique to measure performance. RMSE measures the+ -- difference between predicted and actual values for a single+ -- variable.+ --+ -- - MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score+ -- technique to measure performance.+ --+ -- For more information about performance metrics, please see the+ -- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+ performanceMetrics :: Prelude.Maybe PerformanceMetrics,+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The status of the evaluation. This element can have one of the following+ -- values:+ --+ -- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+ -- to evaluate an @MLModel@.+ --+ -- - @INPROGRESS@ - The evaluation is underway.+ --+ -- - @FAILED@ - The request to evaluate an @MLModel@ did not run to+ -- completion. It is not usable.+ --+ -- - @COMPLETED@ - The evaluation process completed successfully.+ --+ -- - @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.+ status :: Prelude.Maybe EntityStatus+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Evaluation' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'computeTime', 'evaluation_computeTime' - Undocumented member.+--+-- 'createdAt', 'evaluation_createdAt' - The time that the @Evaluation@ was created. The time is expressed in+-- epoch time.+--+-- 'createdByIamUser', 'evaluation_createdByIamUser' - The AWS user account that invoked the evaluation. The account type can+-- be either an AWS root account or an AWS Identity and Access Management+-- (IAM) user account.+--+-- 'evaluationDataSourceId', 'evaluation_evaluationDataSourceId' - The ID of the @DataSource@ that is used to evaluate the @MLModel@.+--+-- 'evaluationId', 'evaluation_evaluationId' - The ID that is assigned to the @Evaluation@ at creation.+--+-- 'finishedAt', 'evaluation_finishedAt' - Undocumented member.+--+-- 'inputDataLocationS3', 'evaluation_inputDataLocationS3' - The location and name of the data in Amazon Simple Storage Server+-- (Amazon S3) that is used in the evaluation.+--+-- 'lastUpdatedAt', 'evaluation_lastUpdatedAt' - The time of the most recent edit to the @Evaluation@. The time is+-- expressed in epoch time.+--+-- 'mLModelId', 'evaluation_mLModelId' - The ID of the @MLModel@ that is the focus of the evaluation.+--+-- 'message', 'evaluation_message' - A description of the most recent details about evaluating the @MLModel@.+--+-- 'name', 'evaluation_name' - A user-supplied name or description of the @Evaluation@.+--+-- 'performanceMetrics', 'evaluation_performanceMetrics' - Measurements of how well the @MLModel@ performed, using observations+-- referenced by the @DataSource@. One of the following metrics is+-- returned, based on the type of the @MLModel@:+--+-- - BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC)+-- technique to measure performance.+--+-- - RegressionRMSE: A regression @MLModel@ uses the Root Mean Square+-- Error (RMSE) technique to measure performance. RMSE measures the+-- difference between predicted and actual values for a single+-- variable.+--+-- - MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score+-- technique to measure performance.+--+-- For more information about performance metrics, please see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+--+-- 'startedAt', 'evaluation_startedAt' - Undocumented member.+--+-- 'status', 'evaluation_status' - The status of the evaluation. This element can have one of the following+-- values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to evaluate an @MLModel@.+--+-- - @INPROGRESS@ - The evaluation is underway.+--+-- - @FAILED@ - The request to evaluate an @MLModel@ did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The evaluation process completed successfully.+--+-- - @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.+newEvaluation ::+ Evaluation+newEvaluation =+ Evaluation'+ { computeTime = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdByIamUser = Prelude.Nothing,+ evaluationDataSourceId = Prelude.Nothing,+ evaluationId = Prelude.Nothing,+ finishedAt = Prelude.Nothing,+ inputDataLocationS3 = Prelude.Nothing,+ lastUpdatedAt = Prelude.Nothing,+ mLModelId = Prelude.Nothing,+ message = Prelude.Nothing,+ name = Prelude.Nothing,+ performanceMetrics = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing+ }++-- | Undocumented member.+evaluation_computeTime :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.Integer)+evaluation_computeTime = Lens.lens (\Evaluation' {computeTime} -> computeTime) (\s@Evaluation' {} a -> s {computeTime = a} :: Evaluation)++-- | The time that the @Evaluation@ was created. The time is expressed in+-- epoch time.+evaluation_createdAt :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.UTCTime)+evaluation_createdAt = Lens.lens (\Evaluation' {createdAt} -> createdAt) (\s@Evaluation' {} a -> s {createdAt = a} :: Evaluation) Prelude.. Lens.mapping Data._Time++-- | The AWS user account that invoked the evaluation. The account type can+-- be either an AWS root account or an AWS Identity and Access Management+-- (IAM) user account.+evaluation_createdByIamUser :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.Text)+evaluation_createdByIamUser = Lens.lens (\Evaluation' {createdByIamUser} -> createdByIamUser) (\s@Evaluation' {} a -> s {createdByIamUser = a} :: Evaluation)++-- | The ID of the @DataSource@ that is used to evaluate the @MLModel@.+evaluation_evaluationDataSourceId :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.Text)+evaluation_evaluationDataSourceId = Lens.lens (\Evaluation' {evaluationDataSourceId} -> evaluationDataSourceId) (\s@Evaluation' {} a -> s {evaluationDataSourceId = a} :: Evaluation)++-- | The ID that is assigned to the @Evaluation@ at creation.+evaluation_evaluationId :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.Text)+evaluation_evaluationId = Lens.lens (\Evaluation' {evaluationId} -> evaluationId) (\s@Evaluation' {} a -> s {evaluationId = a} :: Evaluation)++-- | Undocumented member.+evaluation_finishedAt :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.UTCTime)+evaluation_finishedAt = Lens.lens (\Evaluation' {finishedAt} -> finishedAt) (\s@Evaluation' {} a -> s {finishedAt = a} :: Evaluation) Prelude.. Lens.mapping Data._Time++-- | The location and name of the data in Amazon Simple Storage Server+-- (Amazon S3) that is used in the evaluation.+evaluation_inputDataLocationS3 :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.Text)+evaluation_inputDataLocationS3 = Lens.lens (\Evaluation' {inputDataLocationS3} -> inputDataLocationS3) (\s@Evaluation' {} a -> s {inputDataLocationS3 = a} :: Evaluation)++-- | The time of the most recent edit to the @Evaluation@. The time is+-- expressed in epoch time.+evaluation_lastUpdatedAt :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.UTCTime)+evaluation_lastUpdatedAt = Lens.lens (\Evaluation' {lastUpdatedAt} -> lastUpdatedAt) (\s@Evaluation' {} a -> s {lastUpdatedAt = a} :: Evaluation) Prelude.. Lens.mapping Data._Time++-- | The ID of the @MLModel@ that is the focus of the evaluation.+evaluation_mLModelId :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.Text)+evaluation_mLModelId = Lens.lens (\Evaluation' {mLModelId} -> mLModelId) (\s@Evaluation' {} a -> s {mLModelId = a} :: Evaluation)++-- | A description of the most recent details about evaluating the @MLModel@.+evaluation_message :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.Text)+evaluation_message = Lens.lens (\Evaluation' {message} -> message) (\s@Evaluation' {} a -> s {message = a} :: Evaluation)++-- | A user-supplied name or description of the @Evaluation@.+evaluation_name :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.Text)+evaluation_name = Lens.lens (\Evaluation' {name} -> name) (\s@Evaluation' {} a -> s {name = a} :: Evaluation)++-- | Measurements of how well the @MLModel@ performed, using observations+-- referenced by the @DataSource@. One of the following metrics is+-- returned, based on the type of the @MLModel@:+--+-- - BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC)+-- technique to measure performance.+--+-- - RegressionRMSE: A regression @MLModel@ uses the Root Mean Square+-- Error (RMSE) technique to measure performance. RMSE measures the+-- difference between predicted and actual values for a single+-- variable.+--+-- - MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score+-- technique to measure performance.+--+-- For more information about performance metrics, please see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+evaluation_performanceMetrics :: Lens.Lens' Evaluation (Prelude.Maybe PerformanceMetrics)+evaluation_performanceMetrics = Lens.lens (\Evaluation' {performanceMetrics} -> performanceMetrics) (\s@Evaluation' {} a -> s {performanceMetrics = a} :: Evaluation)++-- | Undocumented member.+evaluation_startedAt :: Lens.Lens' Evaluation (Prelude.Maybe Prelude.UTCTime)+evaluation_startedAt = Lens.lens (\Evaluation' {startedAt} -> startedAt) (\s@Evaluation' {} a -> s {startedAt = a} :: Evaluation) Prelude.. Lens.mapping Data._Time++-- | The status of the evaluation. This element can have one of the following+-- values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to evaluate an @MLModel@.+--+-- - @INPROGRESS@ - The evaluation is underway.+--+-- - @FAILED@ - The request to evaluate an @MLModel@ did not run to+-- completion. It is not usable.+--+-- - @COMPLETED@ - The evaluation process completed successfully.+--+-- - @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.+evaluation_status :: Lens.Lens' Evaluation (Prelude.Maybe EntityStatus)+evaluation_status = Lens.lens (\Evaluation' {status} -> status) (\s@Evaluation' {} a -> s {status = a} :: Evaluation)++instance Data.FromJSON Evaluation where+ parseJSON =+ Data.withObject+ "Evaluation"+ ( \x ->+ Evaluation'+ Prelude.<$> (x Data..:? "ComputeTime")+ Prelude.<*> (x Data..:? "CreatedAt")+ Prelude.<*> (x Data..:? "CreatedByIamUser")+ Prelude.<*> (x Data..:? "EvaluationDataSourceId")+ Prelude.<*> (x Data..:? "EvaluationId")+ Prelude.<*> (x Data..:? "FinishedAt")+ Prelude.<*> (x Data..:? "InputDataLocationS3")+ Prelude.<*> (x Data..:? "LastUpdatedAt")+ Prelude.<*> (x Data..:? "MLModelId")+ Prelude.<*> (x Data..:? "Message")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "PerformanceMetrics")+ Prelude.<*> (x Data..:? "StartedAt")+ Prelude.<*> (x Data..:? "Status")+ )++instance Prelude.Hashable Evaluation where+ hashWithSalt _salt Evaluation' {..} =+ _salt+ `Prelude.hashWithSalt` computeTime+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` createdByIamUser+ `Prelude.hashWithSalt` evaluationDataSourceId+ `Prelude.hashWithSalt` evaluationId+ `Prelude.hashWithSalt` finishedAt+ `Prelude.hashWithSalt` inputDataLocationS3+ `Prelude.hashWithSalt` lastUpdatedAt+ `Prelude.hashWithSalt` mLModelId+ `Prelude.hashWithSalt` message+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` performanceMetrics+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` status++instance Prelude.NFData Evaluation where+ rnf Evaluation' {..} =+ Prelude.rnf computeTime+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdByIamUser+ `Prelude.seq` Prelude.rnf evaluationDataSourceId+ `Prelude.seq` Prelude.rnf evaluationId+ `Prelude.seq` Prelude.rnf finishedAt+ `Prelude.seq` Prelude.rnf inputDataLocationS3+ `Prelude.seq` Prelude.rnf lastUpdatedAt+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf performanceMetrics+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status
+ gen/Amazonka/MachineLearning/Types/EvaluationFilterVariable.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.EvaluationFilterVariable+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.EvaluationFilterVariable+ ( EvaluationFilterVariable+ ( ..,+ EvaluationFilterVariable_CreatedAt,+ EvaluationFilterVariable_DataSourceId,+ EvaluationFilterVariable_DataURI,+ EvaluationFilterVariable_IAMUser,+ EvaluationFilterVariable_LastUpdatedAt,+ EvaluationFilterVariable_MLModelId,+ EvaluationFilterVariable_Name,+ EvaluationFilterVariable_Status+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A list of the variables to use in searching or filtering @Evaluation@.+--+-- - @CreatedAt@ - Sets the search criteria to @Evaluation@ creation+-- date.+--+-- - @Status@ - Sets the search criteria to @Evaluation@ status.+--+-- - @Name@ - Sets the search criteria to the contents of @Evaluation@+-- ____ @Name@.+--+-- - @IAMUser@ - Sets the search criteria to the user account that+-- invoked an evaluation.+--+-- - @MLModelId@ - Sets the search criteria to the @Predictor@ that was+-- evaluated.+--+-- - @DataSourceId@ - Sets the search criteria to the @DataSource@ used+-- in evaluation.+--+-- - @DataUri@ - Sets the search criteria to the data file(s) used in+-- evaluation. The URL can identify either a file or an Amazon Simple+-- Storage Service (Amazon S3) bucket or directory.+newtype EvaluationFilterVariable = EvaluationFilterVariable'+ { fromEvaluationFilterVariable ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern EvaluationFilterVariable_CreatedAt :: EvaluationFilterVariable+pattern EvaluationFilterVariable_CreatedAt = EvaluationFilterVariable' "CreatedAt"++pattern EvaluationFilterVariable_DataSourceId :: EvaluationFilterVariable+pattern EvaluationFilterVariable_DataSourceId = EvaluationFilterVariable' "DataSourceId"++pattern EvaluationFilterVariable_DataURI :: EvaluationFilterVariable+pattern EvaluationFilterVariable_DataURI = EvaluationFilterVariable' "DataURI"++pattern EvaluationFilterVariable_IAMUser :: EvaluationFilterVariable+pattern EvaluationFilterVariable_IAMUser = EvaluationFilterVariable' "IAMUser"++pattern EvaluationFilterVariable_LastUpdatedAt :: EvaluationFilterVariable+pattern EvaluationFilterVariable_LastUpdatedAt = EvaluationFilterVariable' "LastUpdatedAt"++pattern EvaluationFilterVariable_MLModelId :: EvaluationFilterVariable+pattern EvaluationFilterVariable_MLModelId = EvaluationFilterVariable' "MLModelId"++pattern EvaluationFilterVariable_Name :: EvaluationFilterVariable+pattern EvaluationFilterVariable_Name = EvaluationFilterVariable' "Name"++pattern EvaluationFilterVariable_Status :: EvaluationFilterVariable+pattern EvaluationFilterVariable_Status = EvaluationFilterVariable' "Status"++{-# COMPLETE+ EvaluationFilterVariable_CreatedAt,+ EvaluationFilterVariable_DataSourceId,+ EvaluationFilterVariable_DataURI,+ EvaluationFilterVariable_IAMUser,+ EvaluationFilterVariable_LastUpdatedAt,+ EvaluationFilterVariable_MLModelId,+ EvaluationFilterVariable_Name,+ EvaluationFilterVariable_Status,+ EvaluationFilterVariable'+ #-}
+ gen/Amazonka/MachineLearning/Types/MLModel.hs view
@@ -0,0 +1,512 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.MLModel+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.MLModel where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.Algorithm+import Amazonka.MachineLearning.Types.EntityStatus+import Amazonka.MachineLearning.Types.MLModelType+import Amazonka.MachineLearning.Types.RealtimeEndpointInfo+import qualified Amazonka.Prelude as Prelude++-- | Represents the output of a @GetMLModel@ operation.+--+-- The content consists of the detailed metadata and the current status of+-- the @MLModel@.+--+-- /See:/ 'newMLModel' smart constructor.+data MLModel = MLModel'+ { -- | The algorithm used to train the @MLModel@. The following algorithm is+ -- supported:+ --+ -- - @SGD@ -- Stochastic gradient descent. The goal of @SGD@ is to+ -- minimize the gradient of the loss function.+ algorithm :: Prelude.Maybe Algorithm,+ computeTime :: Prelude.Maybe Prelude.Integer,+ -- | The time that the @MLModel@ was created. The time is expressed in epoch+ -- time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The AWS user account from which the @MLModel@ was created. The account+ -- type can be either an AWS root account or an AWS Identity and Access+ -- Management (IAM) user account.+ createdByIamUser :: Prelude.Maybe Prelude.Text,+ -- | The current endpoint of the @MLModel@.+ endpointInfo :: Prelude.Maybe RealtimeEndpointInfo,+ finishedAt :: Prelude.Maybe Data.POSIX,+ -- | The location of the data file or directory in Amazon Simple Storage+ -- Service (Amazon S3).+ inputDataLocationS3 :: Prelude.Maybe Prelude.Text,+ -- | The time of the most recent edit to the @MLModel@. The time is expressed+ -- in epoch time.+ lastUpdatedAt :: Prelude.Maybe Data.POSIX,+ -- | The ID assigned to the @MLModel@ at creation.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | Identifies the @MLModel@ category. The following are the available+ -- types:+ --+ -- - @REGRESSION@ - Produces a numeric result. For example, \"What price+ -- should a house be listed at?\"+ --+ -- - @BINARY@ - Produces one of two possible results. For example, \"Is+ -- this a child-friendly web site?\".+ --+ -- - @MULTICLASS@ - Produces one of several possible results. For+ -- example, \"Is this a HIGH-, LOW-, or MEDIUM-risk trade?\".+ mLModelType :: Prelude.Maybe MLModelType,+ -- | A description of the most recent details about accessing the @MLModel@.+ message :: Prelude.Maybe Prelude.Text,+ -- | A user-supplied name or description of the @MLModel@.+ name :: Prelude.Maybe Prelude.Text,+ scoreThreshold :: Prelude.Maybe Prelude.Double,+ -- | The time of the most recent edit to the @ScoreThreshold@. The time is+ -- expressed in epoch time.+ scoreThresholdLastUpdatedAt :: Prelude.Maybe Data.POSIX,+ sizeInBytes :: Prelude.Maybe Prelude.Integer,+ startedAt :: Prelude.Maybe Data.POSIX,+ -- | The current status of an @MLModel@. This element can have one of the+ -- following values:+ --+ -- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+ -- to create an @MLModel@.+ --+ -- - @INPROGRESS@ - The creation process is underway.+ --+ -- - @FAILED@ - The request to create an @MLModel@ didn\'t run to+ -- completion. The model isn\'t usable.+ --+ -- - @COMPLETED@ - The creation process completed successfully.+ --+ -- - @DELETED@ - The @MLModel@ is marked as deleted. It isn\'t usable.+ status :: Prelude.Maybe EntityStatus,+ -- | The ID of the training @DataSource@. The @CreateMLModel@ operation uses+ -- the @TrainingDataSourceId@.+ trainingDataSourceId :: Prelude.Maybe Prelude.Text,+ -- | A list of the training parameters in the @MLModel@. The list is+ -- implemented as a map of key-value pairs.+ --+ -- The following is the current set of training parameters:+ --+ -- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+ -- Depending on the input data, the size of the model might affect its+ -- performance.+ --+ -- The value is an integer that ranges from @100000@ to @2147483648@.+ -- The default value is @33554432@.+ --+ -- - @sgd.maxPasses@ - The number of times that the training process+ -- traverses the observations to build the @MLModel@. The value is an+ -- integer that ranges from @1@ to @10000@. The default value is @10@.+ --+ -- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+ -- Shuffling the data improves a model\'s ability to find the optimal+ -- solution for a variety of data types. The valid values are @auto@+ -- and @none@. The default value is @none@.+ --+ -- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+ -- norm, which controls overfitting the data by penalizing large+ -- coefficients. This parameter tends to drive coefficients to zero,+ -- resulting in sparse feature set. If you use this parameter, start by+ -- specifying a small value, such as @1.0E-08@.+ --+ -- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+ -- default is to not use L1 normalization. This parameter can\'t be+ -- used when @L2@ is specified. Use this parameter sparingly.+ --+ -- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+ -- norm, which controls overfitting the data by penalizing large+ -- coefficients. This tends to drive coefficients to small, nonzero+ -- values. If you use this parameter, start by specifying a small+ -- value, such as @1.0E-08@.+ --+ -- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+ -- default is to not use L2 normalization. This parameter can\'t be+ -- used when @L1@ is specified. Use this parameter sparingly.+ trainingParameters :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'MLModel' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'algorithm', 'mLModel_algorithm' - The algorithm used to train the @MLModel@. The following algorithm is+-- supported:+--+-- - @SGD@ -- Stochastic gradient descent. The goal of @SGD@ is to+-- minimize the gradient of the loss function.+--+-- 'computeTime', 'mLModel_computeTime' - Undocumented member.+--+-- 'createdAt', 'mLModel_createdAt' - The time that the @MLModel@ was created. The time is expressed in epoch+-- time.+--+-- 'createdByIamUser', 'mLModel_createdByIamUser' - The AWS user account from which the @MLModel@ was created. The account+-- type can be either an AWS root account or an AWS Identity and Access+-- Management (IAM) user account.+--+-- 'endpointInfo', 'mLModel_endpointInfo' - The current endpoint of the @MLModel@.+--+-- 'finishedAt', 'mLModel_finishedAt' - Undocumented member.+--+-- 'inputDataLocationS3', 'mLModel_inputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+--+-- 'lastUpdatedAt', 'mLModel_lastUpdatedAt' - The time of the most recent edit to the @MLModel@. The time is expressed+-- in epoch time.+--+-- 'mLModelId', 'mLModel_mLModelId' - The ID assigned to the @MLModel@ at creation.+--+-- 'mLModelType', 'mLModel_mLModelType' - Identifies the @MLModel@ category. The following are the available+-- types:+--+-- - @REGRESSION@ - Produces a numeric result. For example, \"What price+-- should a house be listed at?\"+--+-- - @BINARY@ - Produces one of two possible results. For example, \"Is+-- this a child-friendly web site?\".+--+-- - @MULTICLASS@ - Produces one of several possible results. For+-- example, \"Is this a HIGH-, LOW-, or MEDIUM-risk trade?\".+--+-- 'message', 'mLModel_message' - A description of the most recent details about accessing the @MLModel@.+--+-- 'name', 'mLModel_name' - A user-supplied name or description of the @MLModel@.+--+-- 'scoreThreshold', 'mLModel_scoreThreshold' - Undocumented member.+--+-- 'scoreThresholdLastUpdatedAt', 'mLModel_scoreThresholdLastUpdatedAt' - The time of the most recent edit to the @ScoreThreshold@. The time is+-- expressed in epoch time.+--+-- 'sizeInBytes', 'mLModel_sizeInBytes' - Undocumented member.+--+-- 'startedAt', 'mLModel_startedAt' - Undocumented member.+--+-- 'status', 'mLModel_status' - The current status of an @MLModel@. This element can have one of the+-- following values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to create an @MLModel@.+--+-- - @INPROGRESS@ - The creation process is underway.+--+-- - @FAILED@ - The request to create an @MLModel@ didn\'t run to+-- completion. The model isn\'t usable.+--+-- - @COMPLETED@ - The creation process completed successfully.+--+-- - @DELETED@ - The @MLModel@ is marked as deleted. It isn\'t usable.+--+-- 'trainingDataSourceId', 'mLModel_trainingDataSourceId' - The ID of the training @DataSource@. The @CreateMLModel@ operation uses+-- the @TrainingDataSourceId@.+--+-- 'trainingParameters', 'mLModel_trainingParameters' - A list of the training parameters in the @MLModel@. The list is+-- implemented as a map of key-value pairs.+--+-- The following is the current set of training parameters:+--+-- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+-- Depending on the input data, the size of the model might affect its+-- performance.+--+-- The value is an integer that ranges from @100000@ to @2147483648@.+-- The default value is @33554432@.+--+-- - @sgd.maxPasses@ - The number of times that the training process+-- traverses the observations to build the @MLModel@. The value is an+-- integer that ranges from @1@ to @10000@. The default value is @10@.+--+-- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+-- Shuffling the data improves a model\'s ability to find the optimal+-- solution for a variety of data types. The valid values are @auto@+-- and @none@. The default value is @none@.+--+-- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+-- norm, which controls overfitting the data by penalizing large+-- coefficients. This parameter tends to drive coefficients to zero,+-- resulting in sparse feature set. If you use this parameter, start by+-- specifying a small value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L1 normalization. This parameter can\'t be+-- used when @L2@ is specified. Use this parameter sparingly.+--+-- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+-- norm, which controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to small, nonzero+-- values. If you use this parameter, start by specifying a small+-- value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L2 normalization. This parameter can\'t be+-- used when @L1@ is specified. Use this parameter sparingly.+newMLModel ::+ MLModel+newMLModel =+ MLModel'+ { algorithm = Prelude.Nothing,+ computeTime = Prelude.Nothing,+ createdAt = Prelude.Nothing,+ createdByIamUser = Prelude.Nothing,+ endpointInfo = Prelude.Nothing,+ finishedAt = Prelude.Nothing,+ inputDataLocationS3 = Prelude.Nothing,+ lastUpdatedAt = Prelude.Nothing,+ mLModelId = Prelude.Nothing,+ mLModelType = Prelude.Nothing,+ message = Prelude.Nothing,+ name = Prelude.Nothing,+ scoreThreshold = Prelude.Nothing,+ scoreThresholdLastUpdatedAt = Prelude.Nothing,+ sizeInBytes = Prelude.Nothing,+ startedAt = Prelude.Nothing,+ status = Prelude.Nothing,+ trainingDataSourceId = Prelude.Nothing,+ trainingParameters = Prelude.Nothing+ }++-- | The algorithm used to train the @MLModel@. The following algorithm is+-- supported:+--+-- - @SGD@ -- Stochastic gradient descent. The goal of @SGD@ is to+-- minimize the gradient of the loss function.+mLModel_algorithm :: Lens.Lens' MLModel (Prelude.Maybe Algorithm)+mLModel_algorithm = Lens.lens (\MLModel' {algorithm} -> algorithm) (\s@MLModel' {} a -> s {algorithm = a} :: MLModel)++-- | Undocumented member.+mLModel_computeTime :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Integer)+mLModel_computeTime = Lens.lens (\MLModel' {computeTime} -> computeTime) (\s@MLModel' {} a -> s {computeTime = a} :: MLModel)++-- | The time that the @MLModel@ was created. The time is expressed in epoch+-- time.+mLModel_createdAt :: Lens.Lens' MLModel (Prelude.Maybe Prelude.UTCTime)+mLModel_createdAt = Lens.lens (\MLModel' {createdAt} -> createdAt) (\s@MLModel' {} a -> s {createdAt = a} :: MLModel) Prelude.. Lens.mapping Data._Time++-- | The AWS user account from which the @MLModel@ was created. The account+-- type can be either an AWS root account or an AWS Identity and Access+-- Management (IAM) user account.+mLModel_createdByIamUser :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Text)+mLModel_createdByIamUser = Lens.lens (\MLModel' {createdByIamUser} -> createdByIamUser) (\s@MLModel' {} a -> s {createdByIamUser = a} :: MLModel)++-- | The current endpoint of the @MLModel@.+mLModel_endpointInfo :: Lens.Lens' MLModel (Prelude.Maybe RealtimeEndpointInfo)+mLModel_endpointInfo = Lens.lens (\MLModel' {endpointInfo} -> endpointInfo) (\s@MLModel' {} a -> s {endpointInfo = a} :: MLModel)++-- | Undocumented member.+mLModel_finishedAt :: Lens.Lens' MLModel (Prelude.Maybe Prelude.UTCTime)+mLModel_finishedAt = Lens.lens (\MLModel' {finishedAt} -> finishedAt) (\s@MLModel' {} a -> s {finishedAt = a} :: MLModel) Prelude.. Lens.mapping Data._Time++-- | The location of the data file or directory in Amazon Simple Storage+-- Service (Amazon S3).+mLModel_inputDataLocationS3 :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Text)+mLModel_inputDataLocationS3 = Lens.lens (\MLModel' {inputDataLocationS3} -> inputDataLocationS3) (\s@MLModel' {} a -> s {inputDataLocationS3 = a} :: MLModel)++-- | The time of the most recent edit to the @MLModel@. The time is expressed+-- in epoch time.+mLModel_lastUpdatedAt :: Lens.Lens' MLModel (Prelude.Maybe Prelude.UTCTime)+mLModel_lastUpdatedAt = Lens.lens (\MLModel' {lastUpdatedAt} -> lastUpdatedAt) (\s@MLModel' {} a -> s {lastUpdatedAt = a} :: MLModel) Prelude.. Lens.mapping Data._Time++-- | The ID assigned to the @MLModel@ at creation.+mLModel_mLModelId :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Text)+mLModel_mLModelId = Lens.lens (\MLModel' {mLModelId} -> mLModelId) (\s@MLModel' {} a -> s {mLModelId = a} :: MLModel)++-- | Identifies the @MLModel@ category. The following are the available+-- types:+--+-- - @REGRESSION@ - Produces a numeric result. For example, \"What price+-- should a house be listed at?\"+--+-- - @BINARY@ - Produces one of two possible results. For example, \"Is+-- this a child-friendly web site?\".+--+-- - @MULTICLASS@ - Produces one of several possible results. For+-- example, \"Is this a HIGH-, LOW-, or MEDIUM-risk trade?\".+mLModel_mLModelType :: Lens.Lens' MLModel (Prelude.Maybe MLModelType)+mLModel_mLModelType = Lens.lens (\MLModel' {mLModelType} -> mLModelType) (\s@MLModel' {} a -> s {mLModelType = a} :: MLModel)++-- | A description of the most recent details about accessing the @MLModel@.+mLModel_message :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Text)+mLModel_message = Lens.lens (\MLModel' {message} -> message) (\s@MLModel' {} a -> s {message = a} :: MLModel)++-- | A user-supplied name or description of the @MLModel@.+mLModel_name :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Text)+mLModel_name = Lens.lens (\MLModel' {name} -> name) (\s@MLModel' {} a -> s {name = a} :: MLModel)++-- | Undocumented member.+mLModel_scoreThreshold :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Double)+mLModel_scoreThreshold = Lens.lens (\MLModel' {scoreThreshold} -> scoreThreshold) (\s@MLModel' {} a -> s {scoreThreshold = a} :: MLModel)++-- | The time of the most recent edit to the @ScoreThreshold@. The time is+-- expressed in epoch time.+mLModel_scoreThresholdLastUpdatedAt :: Lens.Lens' MLModel (Prelude.Maybe Prelude.UTCTime)+mLModel_scoreThresholdLastUpdatedAt = Lens.lens (\MLModel' {scoreThresholdLastUpdatedAt} -> scoreThresholdLastUpdatedAt) (\s@MLModel' {} a -> s {scoreThresholdLastUpdatedAt = a} :: MLModel) Prelude.. Lens.mapping Data._Time++-- | Undocumented member.+mLModel_sizeInBytes :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Integer)+mLModel_sizeInBytes = Lens.lens (\MLModel' {sizeInBytes} -> sizeInBytes) (\s@MLModel' {} a -> s {sizeInBytes = a} :: MLModel)++-- | Undocumented member.+mLModel_startedAt :: Lens.Lens' MLModel (Prelude.Maybe Prelude.UTCTime)+mLModel_startedAt = Lens.lens (\MLModel' {startedAt} -> startedAt) (\s@MLModel' {} a -> s {startedAt = a} :: MLModel) Prelude.. Lens.mapping Data._Time++-- | The current status of an @MLModel@. This element can have one of the+-- following values:+--+-- - @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request+-- to create an @MLModel@.+--+-- - @INPROGRESS@ - The creation process is underway.+--+-- - @FAILED@ - The request to create an @MLModel@ didn\'t run to+-- completion. The model isn\'t usable.+--+-- - @COMPLETED@ - The creation process completed successfully.+--+-- - @DELETED@ - The @MLModel@ is marked as deleted. It isn\'t usable.+mLModel_status :: Lens.Lens' MLModel (Prelude.Maybe EntityStatus)+mLModel_status = Lens.lens (\MLModel' {status} -> status) (\s@MLModel' {} a -> s {status = a} :: MLModel)++-- | The ID of the training @DataSource@. The @CreateMLModel@ operation uses+-- the @TrainingDataSourceId@.+mLModel_trainingDataSourceId :: Lens.Lens' MLModel (Prelude.Maybe Prelude.Text)+mLModel_trainingDataSourceId = Lens.lens (\MLModel' {trainingDataSourceId} -> trainingDataSourceId) (\s@MLModel' {} a -> s {trainingDataSourceId = a} :: MLModel)++-- | A list of the training parameters in the @MLModel@. The list is+-- implemented as a map of key-value pairs.+--+-- The following is the current set of training parameters:+--+-- - @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model.+-- Depending on the input data, the size of the model might affect its+-- performance.+--+-- The value is an integer that ranges from @100000@ to @2147483648@.+-- The default value is @33554432@.+--+-- - @sgd.maxPasses@ - The number of times that the training process+-- traverses the observations to build the @MLModel@. The value is an+-- integer that ranges from @1@ to @10000@. The default value is @10@.+--+-- - @sgd.shuffleType@ - Whether Amazon ML shuffles the training data.+-- Shuffling the data improves a model\'s ability to find the optimal+-- solution for a variety of data types. The valid values are @auto@+-- and @none@. The default value is @none@.+--+-- - @sgd.l1RegularizationAmount@ - The coefficient regularization L1+-- norm, which controls overfitting the data by penalizing large+-- coefficients. This parameter tends to drive coefficients to zero,+-- resulting in sparse feature set. If you use this parameter, start by+-- specifying a small value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L1 normalization. This parameter can\'t be+-- used when @L2@ is specified. Use this parameter sparingly.+--+-- - @sgd.l2RegularizationAmount@ - The coefficient regularization L2+-- norm, which controls overfitting the data by penalizing large+-- coefficients. This tends to drive coefficients to small, nonzero+-- values. If you use this parameter, start by specifying a small+-- value, such as @1.0E-08@.+--+-- The value is a double that ranges from @0@ to @MAX_DOUBLE@. The+-- default is to not use L2 normalization. This parameter can\'t be+-- used when @L1@ is specified. Use this parameter sparingly.+mLModel_trainingParameters :: Lens.Lens' MLModel (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+mLModel_trainingParameters = Lens.lens (\MLModel' {trainingParameters} -> trainingParameters) (\s@MLModel' {} a -> s {trainingParameters = a} :: MLModel) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON MLModel where+ parseJSON =+ Data.withObject+ "MLModel"+ ( \x ->+ MLModel'+ Prelude.<$> (x Data..:? "Algorithm")+ Prelude.<*> (x Data..:? "ComputeTime")+ Prelude.<*> (x Data..:? "CreatedAt")+ Prelude.<*> (x Data..:? "CreatedByIamUser")+ Prelude.<*> (x Data..:? "EndpointInfo")+ Prelude.<*> (x Data..:? "FinishedAt")+ Prelude.<*> (x Data..:? "InputDataLocationS3")+ Prelude.<*> (x Data..:? "LastUpdatedAt")+ Prelude.<*> (x Data..:? "MLModelId")+ Prelude.<*> (x Data..:? "MLModelType")+ Prelude.<*> (x Data..:? "Message")+ Prelude.<*> (x Data..:? "Name")+ Prelude.<*> (x Data..:? "ScoreThreshold")+ Prelude.<*> (x Data..:? "ScoreThresholdLastUpdatedAt")+ Prelude.<*> (x Data..:? "SizeInBytes")+ Prelude.<*> (x Data..:? "StartedAt")+ Prelude.<*> (x Data..:? "Status")+ Prelude.<*> (x Data..:? "TrainingDataSourceId")+ Prelude.<*> ( x+ Data..:? "TrainingParameters"+ Data..!= Prelude.mempty+ )+ )++instance Prelude.Hashable MLModel where+ hashWithSalt _salt MLModel' {..} =+ _salt+ `Prelude.hashWithSalt` algorithm+ `Prelude.hashWithSalt` computeTime+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` createdByIamUser+ `Prelude.hashWithSalt` endpointInfo+ `Prelude.hashWithSalt` finishedAt+ `Prelude.hashWithSalt` inputDataLocationS3+ `Prelude.hashWithSalt` lastUpdatedAt+ `Prelude.hashWithSalt` mLModelId+ `Prelude.hashWithSalt` mLModelType+ `Prelude.hashWithSalt` message+ `Prelude.hashWithSalt` name+ `Prelude.hashWithSalt` scoreThreshold+ `Prelude.hashWithSalt` scoreThresholdLastUpdatedAt+ `Prelude.hashWithSalt` sizeInBytes+ `Prelude.hashWithSalt` startedAt+ `Prelude.hashWithSalt` status+ `Prelude.hashWithSalt` trainingDataSourceId+ `Prelude.hashWithSalt` trainingParameters++instance Prelude.NFData MLModel where+ rnf MLModel' {..} =+ Prelude.rnf algorithm+ `Prelude.seq` Prelude.rnf computeTime+ `Prelude.seq` Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf createdByIamUser+ `Prelude.seq` Prelude.rnf endpointInfo+ `Prelude.seq` Prelude.rnf finishedAt+ `Prelude.seq` Prelude.rnf inputDataLocationS3+ `Prelude.seq` Prelude.rnf lastUpdatedAt+ `Prelude.seq` Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf mLModelType+ `Prelude.seq` Prelude.rnf message+ `Prelude.seq` Prelude.rnf name+ `Prelude.seq` Prelude.rnf scoreThreshold+ `Prelude.seq` Prelude.rnf scoreThresholdLastUpdatedAt+ `Prelude.seq` Prelude.rnf sizeInBytes+ `Prelude.seq` Prelude.rnf startedAt+ `Prelude.seq` Prelude.rnf status+ `Prelude.seq` Prelude.rnf trainingDataSourceId+ `Prelude.seq` Prelude.rnf trainingParameters
+ gen/Amazonka/MachineLearning/Types/MLModelFilterVariable.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.MLModelFilterVariable+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.MLModelFilterVariable+ ( MLModelFilterVariable+ ( ..,+ MLModelFilterVariable_Algorithm,+ MLModelFilterVariable_CreatedAt,+ MLModelFilterVariable_IAMUser,+ MLModelFilterVariable_LastUpdatedAt,+ MLModelFilterVariable_MLModelType,+ MLModelFilterVariable_Name,+ MLModelFilterVariable_RealtimeEndpointStatus,+ MLModelFilterVariable_Status,+ MLModelFilterVariable_TrainingDataSourceId,+ MLModelFilterVariable_TrainingDataURI+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MLModelFilterVariable = MLModelFilterVariable'+ { fromMLModelFilterVariable ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern MLModelFilterVariable_Algorithm :: MLModelFilterVariable+pattern MLModelFilterVariable_Algorithm = MLModelFilterVariable' "Algorithm"++pattern MLModelFilterVariable_CreatedAt :: MLModelFilterVariable+pattern MLModelFilterVariable_CreatedAt = MLModelFilterVariable' "CreatedAt"++pattern MLModelFilterVariable_IAMUser :: MLModelFilterVariable+pattern MLModelFilterVariable_IAMUser = MLModelFilterVariable' "IAMUser"++pattern MLModelFilterVariable_LastUpdatedAt :: MLModelFilterVariable+pattern MLModelFilterVariable_LastUpdatedAt = MLModelFilterVariable' "LastUpdatedAt"++pattern MLModelFilterVariable_MLModelType :: MLModelFilterVariable+pattern MLModelFilterVariable_MLModelType = MLModelFilterVariable' "MLModelType"++pattern MLModelFilterVariable_Name :: MLModelFilterVariable+pattern MLModelFilterVariable_Name = MLModelFilterVariable' "Name"++pattern MLModelFilterVariable_RealtimeEndpointStatus :: MLModelFilterVariable+pattern MLModelFilterVariable_RealtimeEndpointStatus = MLModelFilterVariable' "RealtimeEndpointStatus"++pattern MLModelFilterVariable_Status :: MLModelFilterVariable+pattern MLModelFilterVariable_Status = MLModelFilterVariable' "Status"++pattern MLModelFilterVariable_TrainingDataSourceId :: MLModelFilterVariable+pattern MLModelFilterVariable_TrainingDataSourceId = MLModelFilterVariable' "TrainingDataSourceId"++pattern MLModelFilterVariable_TrainingDataURI :: MLModelFilterVariable+pattern MLModelFilterVariable_TrainingDataURI = MLModelFilterVariable' "TrainingDataURI"++{-# COMPLETE+ MLModelFilterVariable_Algorithm,+ MLModelFilterVariable_CreatedAt,+ MLModelFilterVariable_IAMUser,+ MLModelFilterVariable_LastUpdatedAt,+ MLModelFilterVariable_MLModelType,+ MLModelFilterVariable_Name,+ MLModelFilterVariable_RealtimeEndpointStatus,+ MLModelFilterVariable_Status,+ MLModelFilterVariable_TrainingDataSourceId,+ MLModelFilterVariable_TrainingDataURI,+ MLModelFilterVariable'+ #-}
+ gen/Amazonka/MachineLearning/Types/MLModelType.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.MLModelType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.MLModelType+ ( MLModelType+ ( ..,+ MLModelType_BINARY,+ MLModelType_MULTICLASS,+ MLModelType_REGRESSION+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MLModelType = MLModelType'+ { fromMLModelType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern MLModelType_BINARY :: MLModelType+pattern MLModelType_BINARY = MLModelType' "BINARY"++pattern MLModelType_MULTICLASS :: MLModelType+pattern MLModelType_MULTICLASS = MLModelType' "MULTICLASS"++pattern MLModelType_REGRESSION :: MLModelType+pattern MLModelType_REGRESSION = MLModelType' "REGRESSION"++{-# COMPLETE+ MLModelType_BINARY,+ MLModelType_MULTICLASS,+ MLModelType_REGRESSION,+ MLModelType'+ #-}
+ gen/Amazonka/MachineLearning/Types/PerformanceMetrics.hs view
@@ -0,0 +1,83 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.PerformanceMetrics+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.PerformanceMetrics where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Measurements of how well the @MLModel@ performed on known observations.+-- One of the following metrics is returned, based on the type of the+-- @MLModel@:+--+-- - BinaryAUC: The binary @MLModel@ uses the Area Under the Curve (AUC)+-- technique to measure performance.+--+-- - RegressionRMSE: The regression @MLModel@ uses the Root Mean Square+-- Error (RMSE) technique to measure performance. RMSE measures the+-- difference between predicted and actual values for a single+-- variable.+--+-- - MulticlassAvgFScore: The multiclass @MLModel@ uses the F1 score+-- technique to measure performance.+--+-- For more information about performance metrics, please see the+-- <https://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide>.+--+-- /See:/ 'newPerformanceMetrics' smart constructor.+data PerformanceMetrics = PerformanceMetrics'+ { properties :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PerformanceMetrics' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'properties', 'performanceMetrics_properties' - Undocumented member.+newPerformanceMetrics ::+ PerformanceMetrics+newPerformanceMetrics =+ PerformanceMetrics' {properties = Prelude.Nothing}++-- | Undocumented member.+performanceMetrics_properties :: Lens.Lens' PerformanceMetrics (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+performanceMetrics_properties = Lens.lens (\PerformanceMetrics' {properties} -> properties) (\s@PerformanceMetrics' {} a -> s {properties = a} :: PerformanceMetrics) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON PerformanceMetrics where+ parseJSON =+ Data.withObject+ "PerformanceMetrics"+ ( \x ->+ PerformanceMetrics'+ Prelude.<$> (x Data..:? "Properties" Data..!= Prelude.mempty)+ )++instance Prelude.Hashable PerformanceMetrics where+ hashWithSalt _salt PerformanceMetrics' {..} =+ _salt `Prelude.hashWithSalt` properties++instance Prelude.NFData PerformanceMetrics where+ rnf PerformanceMetrics' {..} = Prelude.rnf properties
+ gen/Amazonka/MachineLearning/Types/Prediction.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.Prediction+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.Prediction where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.DetailsAttributes+import qualified Amazonka.Prelude as Prelude++-- | The output from a @Predict@ operation:+--+-- - @Details@ - Contains the following attributes:+-- @DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS@+-- @DetailsAttributes.ALGORITHM - SGD@+--+-- - @PredictedLabel@ - Present for either a @BINARY@ or @MULTICLASS@+-- @MLModel@ request.+--+-- - @PredictedScores@ - Contains the raw classification score+-- corresponding to each label.+--+-- - @PredictedValue@ - Present for a @REGRESSION@ @MLModel@ request.+--+-- /See:/ 'newPrediction' smart constructor.+data Prediction = Prediction'+ { details :: Prelude.Maybe (Prelude.HashMap DetailsAttributes Prelude.Text),+ -- | The prediction label for either a @BINARY@ or @MULTICLASS@ @MLModel@.+ predictedLabel :: Prelude.Maybe Prelude.Text,+ predictedScores :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Double),+ -- | The prediction value for @REGRESSION@ @MLModel@.+ predictedValue :: Prelude.Maybe Prelude.Double+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Prediction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'details', 'prediction_details' - Undocumented member.+--+-- 'predictedLabel', 'prediction_predictedLabel' - The prediction label for either a @BINARY@ or @MULTICLASS@ @MLModel@.+--+-- 'predictedScores', 'prediction_predictedScores' - Undocumented member.+--+-- 'predictedValue', 'prediction_predictedValue' - The prediction value for @REGRESSION@ @MLModel@.+newPrediction ::+ Prediction+newPrediction =+ Prediction'+ { details = Prelude.Nothing,+ predictedLabel = Prelude.Nothing,+ predictedScores = Prelude.Nothing,+ predictedValue = Prelude.Nothing+ }++-- | Undocumented member.+prediction_details :: Lens.Lens' Prediction (Prelude.Maybe (Prelude.HashMap DetailsAttributes Prelude.Text))+prediction_details = Lens.lens (\Prediction' {details} -> details) (\s@Prediction' {} a -> s {details = a} :: Prediction) Prelude.. Lens.mapping Lens.coerced++-- | The prediction label for either a @BINARY@ or @MULTICLASS@ @MLModel@.+prediction_predictedLabel :: Lens.Lens' Prediction (Prelude.Maybe Prelude.Text)+prediction_predictedLabel = Lens.lens (\Prediction' {predictedLabel} -> predictedLabel) (\s@Prediction' {} a -> s {predictedLabel = a} :: Prediction)++-- | Undocumented member.+prediction_predictedScores :: Lens.Lens' Prediction (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Double))+prediction_predictedScores = Lens.lens (\Prediction' {predictedScores} -> predictedScores) (\s@Prediction' {} a -> s {predictedScores = a} :: Prediction) Prelude.. Lens.mapping Lens.coerced++-- | The prediction value for @REGRESSION@ @MLModel@.+prediction_predictedValue :: Lens.Lens' Prediction (Prelude.Maybe Prelude.Double)+prediction_predictedValue = Lens.lens (\Prediction' {predictedValue} -> predictedValue) (\s@Prediction' {} a -> s {predictedValue = a} :: Prediction)++instance Data.FromJSON Prediction where+ parseJSON =+ Data.withObject+ "Prediction"+ ( \x ->+ Prediction'+ Prelude.<$> (x Data..:? "details" Data..!= Prelude.mempty)+ Prelude.<*> (x Data..:? "predictedLabel")+ Prelude.<*> ( x+ Data..:? "predictedScores"+ Data..!= Prelude.mempty+ )+ Prelude.<*> (x Data..:? "predictedValue")+ )++instance Prelude.Hashable Prediction where+ hashWithSalt _salt Prediction' {..} =+ _salt+ `Prelude.hashWithSalt` details+ `Prelude.hashWithSalt` predictedLabel+ `Prelude.hashWithSalt` predictedScores+ `Prelude.hashWithSalt` predictedValue++instance Prelude.NFData Prediction where+ rnf Prediction' {..} =+ Prelude.rnf details+ `Prelude.seq` Prelude.rnf predictedLabel+ `Prelude.seq` Prelude.rnf predictedScores+ `Prelude.seq` Prelude.rnf predictedValue
+ gen/Amazonka/MachineLearning/Types/RDSDataSpec.hs view
@@ -0,0 +1,623 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RDSDataSpec+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RDSDataSpec where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.RDSDatabase+import Amazonka.MachineLearning.Types.RDSDatabaseCredentials+import qualified Amazonka.Prelude as Prelude++-- | The data specification of an Amazon Relational Database Service (Amazon+-- RDS) @DataSource@.+--+-- /See:/ 'newRDSDataSpec' smart constructor.+data RDSDataSpec = RDSDataSpec'+ { -- | A JSON string that represents the splitting and rearrangement processing+ -- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+ -- not provided, all of the input data is used to create the @Datasource@.+ --+ -- There are multiple parameters that control what data is used to create a+ -- datasource:+ --+ -- - __@percentBegin@__+ --+ -- Use @percentBegin@ to indicate the beginning of the range of the+ -- data used to create the Datasource. If you do not include+ -- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+ -- when creating the datasource.+ --+ -- - __@percentEnd@__+ --+ -- Use @percentEnd@ to indicate the end of the range of the data used+ -- to create the Datasource. If you do not include @percentBegin@ and+ -- @percentEnd@, Amazon ML includes all of the data when creating the+ -- datasource.+ --+ -- - __@complement@__+ --+ -- The @complement@ parameter instructs Amazon ML to use the data that+ -- is not included in the range of @percentBegin@ to @percentEnd@ to+ -- create a datasource. The @complement@ parameter is useful if you+ -- need to create complementary datasources for training and+ -- evaluation. To create a complementary datasource, use the same+ -- values for @percentBegin@ and @percentEnd@, along with the+ -- @complement@ parameter.+ --+ -- For example, the following two datasources do not share any data,+ -- and can be used to train and evaluate a model. The first datasource+ -- has 25 percent of the data, and the second one has 75 percent of the+ -- data.+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+ --+ -- - __@strategy@__+ --+ -- To change how Amazon ML splits the data for a datasource, use the+ -- @strategy@ parameter.+ --+ -- The default value for the @strategy@ parameter is @sequential@,+ -- meaning that Amazon ML takes all of the data records between the+ -- @percentBegin@ and @percentEnd@ parameters for the datasource, in+ -- the order that the records appear in the input data.+ --+ -- The following two @DataRearrangement@ lines are examples of+ -- sequentially ordered training and evaluation datasources:+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+ --+ -- To randomly split the input data into the proportions indicated by+ -- the percentBegin and percentEnd parameters, set the @strategy@+ -- parameter to @random@ and provide a string that is used as the seed+ -- value for the random data splitting (for example, you can use the S3+ -- path to your data as the random seed string). If you choose the+ -- random split strategy, Amazon ML assigns each row of data a+ -- pseudo-random number between 0 and 100, and then selects the rows+ -- that have an assigned number between @percentBegin@ and+ -- @percentEnd@. Pseudo-random numbers are assigned using both the+ -- input seed string value and the byte offset as a seed, so changing+ -- the data results in a different split. Any existing ordering is+ -- preserved. The random splitting strategy ensures that variables in+ -- the training and evaluation data are distributed similarly. It is+ -- useful in the cases where the input data may have an implicit sort+ -- order, which would otherwise result in training and evaluation+ -- datasources containing non-similar data records.+ --+ -- The following two @DataRearrangement@ lines are examples of+ -- non-sequentially ordered training and evaluation datasources:+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+ dataRearrangement :: Prelude.Maybe Prelude.Text,+ -- | A JSON string that represents the schema for an Amazon RDS @DataSource@.+ -- The @DataSchema@ defines the structure of the observation data in the+ -- data file(s) referenced in the @DataSource@.+ --+ -- A @DataSchema@ is not required if you specify a @DataSchemaUri@+ --+ -- Define your @DataSchema@ as a series of key-value pairs. @attributes@+ -- and @excludedVariableNames@ have an array of key-value pairs for their+ -- value. Use the following format to define your @DataSchema@.+ --+ -- { \"version\": \"1.0\",+ --+ -- \"recordAnnotationFieldName\": \"F1\",+ --+ -- \"recordWeightFieldName\": \"F2\",+ --+ -- \"targetFieldName\": \"F3\",+ --+ -- \"dataFormat\": \"CSV\",+ --+ -- \"dataFileContainsHeader\": true,+ --+ -- \"attributes\": [+ --+ -- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+ -- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+ -- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+ -- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+ -- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+ -- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+ -- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+ --+ -- \"excludedVariableNames\": [ \"F6\" ] }+ dataSchema :: Prelude.Maybe Prelude.Text,+ -- | The Amazon S3 location of the @DataSchema@.+ dataSchemaUri :: Prelude.Maybe Prelude.Text,+ -- | Describes the @DatabaseName@ and @InstanceIdentifier@ of an Amazon RDS+ -- database.+ databaseInformation :: RDSDatabase,+ -- | The query that is used to retrieve the observation data for the+ -- @DataSource@.+ selectSqlQuery :: Prelude.Text,+ -- | The AWS Identity and Access Management (IAM) credentials that are used+ -- connect to the Amazon RDS database.+ databaseCredentials :: RDSDatabaseCredentials,+ -- | The Amazon S3 location for staging Amazon RDS data. The data retrieved+ -- from Amazon RDS using @SelectSqlQuery@ is stored in this location.+ s3StagingLocation :: Prelude.Text,+ -- | The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic+ -- Compute Cloud (Amazon EC2) instance to carry out the copy operation from+ -- Amazon RDS to an Amazon S3 task. For more information, see+ -- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+ -- for data pipelines.+ resourceRole :: Prelude.Text,+ -- | The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service+ -- to monitor the progress of the copy task from Amazon RDS to Amazon S3.+ -- For more information, see+ -- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+ -- for data pipelines.+ serviceRole :: Prelude.Text,+ -- | The subnet ID to be used to access a VPC-based RDS DB instance. This+ -- attribute is used by Data Pipeline to carry out the copy task from+ -- Amazon RDS to Amazon S3.+ subnetId :: Prelude.Text,+ -- | The security group IDs to be used to access a VPC-based RDS DB instance.+ -- Ensure that there are appropriate ingress rules set up to allow access+ -- to the RDS DB instance. This attribute is used by Data Pipeline to carry+ -- out the copy operation from Amazon RDS to an Amazon S3 task.+ securityGroupIds :: [Prelude.Text]+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RDSDataSpec' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataRearrangement', 'rDSDataSpec_dataRearrangement' - A JSON string that represents the splitting and rearrangement processing+-- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+-- not provided, all of the input data is used to create the @Datasource@.+--+-- There are multiple parameters that control what data is used to create a+-- datasource:+--+-- - __@percentBegin@__+--+-- Use @percentBegin@ to indicate the beginning of the range of the+-- data used to create the Datasource. If you do not include+-- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+-- when creating the datasource.+--+-- - __@percentEnd@__+--+-- Use @percentEnd@ to indicate the end of the range of the data used+-- to create the Datasource. If you do not include @percentBegin@ and+-- @percentEnd@, Amazon ML includes all of the data when creating the+-- datasource.+--+-- - __@complement@__+--+-- The @complement@ parameter instructs Amazon ML to use the data that+-- is not included in the range of @percentBegin@ to @percentEnd@ to+-- create a datasource. The @complement@ parameter is useful if you+-- need to create complementary datasources for training and+-- evaluation. To create a complementary datasource, use the same+-- values for @percentBegin@ and @percentEnd@, along with the+-- @complement@ parameter.+--+-- For example, the following two datasources do not share any data,+-- and can be used to train and evaluate a model. The first datasource+-- has 25 percent of the data, and the second one has 75 percent of the+-- data.+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+--+-- - __@strategy@__+--+-- To change how Amazon ML splits the data for a datasource, use the+-- @strategy@ parameter.+--+-- The default value for the @strategy@ parameter is @sequential@,+-- meaning that Amazon ML takes all of the data records between the+-- @percentBegin@ and @percentEnd@ parameters for the datasource, in+-- the order that the records appear in the input data.+--+-- The following two @DataRearrangement@ lines are examples of+-- sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+--+-- To randomly split the input data into the proportions indicated by+-- the percentBegin and percentEnd parameters, set the @strategy@+-- parameter to @random@ and provide a string that is used as the seed+-- value for the random data splitting (for example, you can use the S3+-- path to your data as the random seed string). If you choose the+-- random split strategy, Amazon ML assigns each row of data a+-- pseudo-random number between 0 and 100, and then selects the rows+-- that have an assigned number between @percentBegin@ and+-- @percentEnd@. Pseudo-random numbers are assigned using both the+-- input seed string value and the byte offset as a seed, so changing+-- the data results in a different split. Any existing ordering is+-- preserved. The random splitting strategy ensures that variables in+-- the training and evaluation data are distributed similarly. It is+-- useful in the cases where the input data may have an implicit sort+-- order, which would otherwise result in training and evaluation+-- datasources containing non-similar data records.+--+-- The following two @DataRearrangement@ lines are examples of+-- non-sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+--+-- 'dataSchema', 'rDSDataSpec_dataSchema' - A JSON string that represents the schema for an Amazon RDS @DataSource@.+-- The @DataSchema@ defines the structure of the observation data in the+-- data file(s) referenced in the @DataSource@.+--+-- A @DataSchema@ is not required if you specify a @DataSchemaUri@+--+-- Define your @DataSchema@ as a series of key-value pairs. @attributes@+-- and @excludedVariableNames@ have an array of key-value pairs for their+-- value. Use the following format to define your @DataSchema@.+--+-- { \"version\": \"1.0\",+--+-- \"recordAnnotationFieldName\": \"F1\",+--+-- \"recordWeightFieldName\": \"F2\",+--+-- \"targetFieldName\": \"F3\",+--+-- \"dataFormat\": \"CSV\",+--+-- \"dataFileContainsHeader\": true,+--+-- \"attributes\": [+--+-- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+-- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+-- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+-- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+-- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+-- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+-- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+--+-- \"excludedVariableNames\": [ \"F6\" ] }+--+-- 'dataSchemaUri', 'rDSDataSpec_dataSchemaUri' - The Amazon S3 location of the @DataSchema@.+--+-- 'databaseInformation', 'rDSDataSpec_databaseInformation' - Describes the @DatabaseName@ and @InstanceIdentifier@ of an Amazon RDS+-- database.+--+-- 'selectSqlQuery', 'rDSDataSpec_selectSqlQuery' - The query that is used to retrieve the observation data for the+-- @DataSource@.+--+-- 'databaseCredentials', 'rDSDataSpec_databaseCredentials' - The AWS Identity and Access Management (IAM) credentials that are used+-- connect to the Amazon RDS database.+--+-- 's3StagingLocation', 'rDSDataSpec_s3StagingLocation' - The Amazon S3 location for staging Amazon RDS data. The data retrieved+-- from Amazon RDS using @SelectSqlQuery@ is stored in this location.+--+-- 'resourceRole', 'rDSDataSpec_resourceRole' - The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic+-- Compute Cloud (Amazon EC2) instance to carry out the copy operation from+-- Amazon RDS to an Amazon S3 task. For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+--+-- 'serviceRole', 'rDSDataSpec_serviceRole' - The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service+-- to monitor the progress of the copy task from Amazon RDS to Amazon S3.+-- For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+--+-- 'subnetId', 'rDSDataSpec_subnetId' - The subnet ID to be used to access a VPC-based RDS DB instance. This+-- attribute is used by Data Pipeline to carry out the copy task from+-- Amazon RDS to Amazon S3.+--+-- 'securityGroupIds', 'rDSDataSpec_securityGroupIds' - The security group IDs to be used to access a VPC-based RDS DB instance.+-- Ensure that there are appropriate ingress rules set up to allow access+-- to the RDS DB instance. This attribute is used by Data Pipeline to carry+-- out the copy operation from Amazon RDS to an Amazon S3 task.+newRDSDataSpec ::+ -- | 'databaseInformation'+ RDSDatabase ->+ -- | 'selectSqlQuery'+ Prelude.Text ->+ -- | 'databaseCredentials'+ RDSDatabaseCredentials ->+ -- | 's3StagingLocation'+ Prelude.Text ->+ -- | 'resourceRole'+ Prelude.Text ->+ -- | 'serviceRole'+ Prelude.Text ->+ -- | 'subnetId'+ Prelude.Text ->+ RDSDataSpec+newRDSDataSpec+ pDatabaseInformation_+ pSelectSqlQuery_+ pDatabaseCredentials_+ pS3StagingLocation_+ pResourceRole_+ pServiceRole_+ pSubnetId_ =+ RDSDataSpec'+ { dataRearrangement = Prelude.Nothing,+ dataSchema = Prelude.Nothing,+ dataSchemaUri = Prelude.Nothing,+ databaseInformation = pDatabaseInformation_,+ selectSqlQuery = pSelectSqlQuery_,+ databaseCredentials = pDatabaseCredentials_,+ s3StagingLocation = pS3StagingLocation_,+ resourceRole = pResourceRole_,+ serviceRole = pServiceRole_,+ subnetId = pSubnetId_,+ securityGroupIds = Prelude.mempty+ }++-- | A JSON string that represents the splitting and rearrangement processing+-- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+-- not provided, all of the input data is used to create the @Datasource@.+--+-- There are multiple parameters that control what data is used to create a+-- datasource:+--+-- - __@percentBegin@__+--+-- Use @percentBegin@ to indicate the beginning of the range of the+-- data used to create the Datasource. If you do not include+-- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+-- when creating the datasource.+--+-- - __@percentEnd@__+--+-- Use @percentEnd@ to indicate the end of the range of the data used+-- to create the Datasource. If you do not include @percentBegin@ and+-- @percentEnd@, Amazon ML includes all of the data when creating the+-- datasource.+--+-- - __@complement@__+--+-- The @complement@ parameter instructs Amazon ML to use the data that+-- is not included in the range of @percentBegin@ to @percentEnd@ to+-- create a datasource. The @complement@ parameter is useful if you+-- need to create complementary datasources for training and+-- evaluation. To create a complementary datasource, use the same+-- values for @percentBegin@ and @percentEnd@, along with the+-- @complement@ parameter.+--+-- For example, the following two datasources do not share any data,+-- and can be used to train and evaluate a model. The first datasource+-- has 25 percent of the data, and the second one has 75 percent of the+-- data.+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+--+-- - __@strategy@__+--+-- To change how Amazon ML splits the data for a datasource, use the+-- @strategy@ parameter.+--+-- The default value for the @strategy@ parameter is @sequential@,+-- meaning that Amazon ML takes all of the data records between the+-- @percentBegin@ and @percentEnd@ parameters for the datasource, in+-- the order that the records appear in the input data.+--+-- The following two @DataRearrangement@ lines are examples of+-- sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+--+-- To randomly split the input data into the proportions indicated by+-- the percentBegin and percentEnd parameters, set the @strategy@+-- parameter to @random@ and provide a string that is used as the seed+-- value for the random data splitting (for example, you can use the S3+-- path to your data as the random seed string). If you choose the+-- random split strategy, Amazon ML assigns each row of data a+-- pseudo-random number between 0 and 100, and then selects the rows+-- that have an assigned number between @percentBegin@ and+-- @percentEnd@. Pseudo-random numbers are assigned using both the+-- input seed string value and the byte offset as a seed, so changing+-- the data results in a different split. Any existing ordering is+-- preserved. The random splitting strategy ensures that variables in+-- the training and evaluation data are distributed similarly. It is+-- useful in the cases where the input data may have an implicit sort+-- order, which would otherwise result in training and evaluation+-- datasources containing non-similar data records.+--+-- The following two @DataRearrangement@ lines are examples of+-- non-sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+rDSDataSpec_dataRearrangement :: Lens.Lens' RDSDataSpec (Prelude.Maybe Prelude.Text)+rDSDataSpec_dataRearrangement = Lens.lens (\RDSDataSpec' {dataRearrangement} -> dataRearrangement) (\s@RDSDataSpec' {} a -> s {dataRearrangement = a} :: RDSDataSpec)++-- | A JSON string that represents the schema for an Amazon RDS @DataSource@.+-- The @DataSchema@ defines the structure of the observation data in the+-- data file(s) referenced in the @DataSource@.+--+-- A @DataSchema@ is not required if you specify a @DataSchemaUri@+--+-- Define your @DataSchema@ as a series of key-value pairs. @attributes@+-- and @excludedVariableNames@ have an array of key-value pairs for their+-- value. Use the following format to define your @DataSchema@.+--+-- { \"version\": \"1.0\",+--+-- \"recordAnnotationFieldName\": \"F1\",+--+-- \"recordWeightFieldName\": \"F2\",+--+-- \"targetFieldName\": \"F3\",+--+-- \"dataFormat\": \"CSV\",+--+-- \"dataFileContainsHeader\": true,+--+-- \"attributes\": [+--+-- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+-- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+-- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+-- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+-- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+-- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+-- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+--+-- \"excludedVariableNames\": [ \"F6\" ] }+rDSDataSpec_dataSchema :: Lens.Lens' RDSDataSpec (Prelude.Maybe Prelude.Text)+rDSDataSpec_dataSchema = Lens.lens (\RDSDataSpec' {dataSchema} -> dataSchema) (\s@RDSDataSpec' {} a -> s {dataSchema = a} :: RDSDataSpec)++-- | The Amazon S3 location of the @DataSchema@.+rDSDataSpec_dataSchemaUri :: Lens.Lens' RDSDataSpec (Prelude.Maybe Prelude.Text)+rDSDataSpec_dataSchemaUri = Lens.lens (\RDSDataSpec' {dataSchemaUri} -> dataSchemaUri) (\s@RDSDataSpec' {} a -> s {dataSchemaUri = a} :: RDSDataSpec)++-- | Describes the @DatabaseName@ and @InstanceIdentifier@ of an Amazon RDS+-- database.+rDSDataSpec_databaseInformation :: Lens.Lens' RDSDataSpec RDSDatabase+rDSDataSpec_databaseInformation = Lens.lens (\RDSDataSpec' {databaseInformation} -> databaseInformation) (\s@RDSDataSpec' {} a -> s {databaseInformation = a} :: RDSDataSpec)++-- | The query that is used to retrieve the observation data for the+-- @DataSource@.+rDSDataSpec_selectSqlQuery :: Lens.Lens' RDSDataSpec Prelude.Text+rDSDataSpec_selectSqlQuery = Lens.lens (\RDSDataSpec' {selectSqlQuery} -> selectSqlQuery) (\s@RDSDataSpec' {} a -> s {selectSqlQuery = a} :: RDSDataSpec)++-- | The AWS Identity and Access Management (IAM) credentials that are used+-- connect to the Amazon RDS database.+rDSDataSpec_databaseCredentials :: Lens.Lens' RDSDataSpec RDSDatabaseCredentials+rDSDataSpec_databaseCredentials = Lens.lens (\RDSDataSpec' {databaseCredentials} -> databaseCredentials) (\s@RDSDataSpec' {} a -> s {databaseCredentials = a} :: RDSDataSpec)++-- | The Amazon S3 location for staging Amazon RDS data. The data retrieved+-- from Amazon RDS using @SelectSqlQuery@ is stored in this location.+rDSDataSpec_s3StagingLocation :: Lens.Lens' RDSDataSpec Prelude.Text+rDSDataSpec_s3StagingLocation = Lens.lens (\RDSDataSpec' {s3StagingLocation} -> s3StagingLocation) (\s@RDSDataSpec' {} a -> s {s3StagingLocation = a} :: RDSDataSpec)++-- | The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic+-- Compute Cloud (Amazon EC2) instance to carry out the copy operation from+-- Amazon RDS to an Amazon S3 task. For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+rDSDataSpec_resourceRole :: Lens.Lens' RDSDataSpec Prelude.Text+rDSDataSpec_resourceRole = Lens.lens (\RDSDataSpec' {resourceRole} -> resourceRole) (\s@RDSDataSpec' {} a -> s {resourceRole = a} :: RDSDataSpec)++-- | The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service+-- to monitor the progress of the copy task from Amazon RDS to Amazon S3.+-- For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+rDSDataSpec_serviceRole :: Lens.Lens' RDSDataSpec Prelude.Text+rDSDataSpec_serviceRole = Lens.lens (\RDSDataSpec' {serviceRole} -> serviceRole) (\s@RDSDataSpec' {} a -> s {serviceRole = a} :: RDSDataSpec)++-- | The subnet ID to be used to access a VPC-based RDS DB instance. This+-- attribute is used by Data Pipeline to carry out the copy task from+-- Amazon RDS to Amazon S3.+rDSDataSpec_subnetId :: Lens.Lens' RDSDataSpec Prelude.Text+rDSDataSpec_subnetId = Lens.lens (\RDSDataSpec' {subnetId} -> subnetId) (\s@RDSDataSpec' {} a -> s {subnetId = a} :: RDSDataSpec)++-- | The security group IDs to be used to access a VPC-based RDS DB instance.+-- Ensure that there are appropriate ingress rules set up to allow access+-- to the RDS DB instance. This attribute is used by Data Pipeline to carry+-- out the copy operation from Amazon RDS to an Amazon S3 task.+rDSDataSpec_securityGroupIds :: Lens.Lens' RDSDataSpec [Prelude.Text]+rDSDataSpec_securityGroupIds = Lens.lens (\RDSDataSpec' {securityGroupIds} -> securityGroupIds) (\s@RDSDataSpec' {} a -> s {securityGroupIds = a} :: RDSDataSpec) Prelude.. Lens.coerced++instance Prelude.Hashable RDSDataSpec where+ hashWithSalt _salt RDSDataSpec' {..} =+ _salt+ `Prelude.hashWithSalt` dataRearrangement+ `Prelude.hashWithSalt` dataSchema+ `Prelude.hashWithSalt` dataSchemaUri+ `Prelude.hashWithSalt` databaseInformation+ `Prelude.hashWithSalt` selectSqlQuery+ `Prelude.hashWithSalt` databaseCredentials+ `Prelude.hashWithSalt` s3StagingLocation+ `Prelude.hashWithSalt` resourceRole+ `Prelude.hashWithSalt` serviceRole+ `Prelude.hashWithSalt` subnetId+ `Prelude.hashWithSalt` securityGroupIds++instance Prelude.NFData RDSDataSpec where+ rnf RDSDataSpec' {..} =+ Prelude.rnf dataRearrangement+ `Prelude.seq` Prelude.rnf dataSchema+ `Prelude.seq` Prelude.rnf dataSchemaUri+ `Prelude.seq` Prelude.rnf databaseInformation+ `Prelude.seq` Prelude.rnf selectSqlQuery+ `Prelude.seq` Prelude.rnf databaseCredentials+ `Prelude.seq` Prelude.rnf s3StagingLocation+ `Prelude.seq` Prelude.rnf resourceRole+ `Prelude.seq` Prelude.rnf serviceRole+ `Prelude.seq` Prelude.rnf subnetId+ `Prelude.seq` Prelude.rnf securityGroupIds++instance Data.ToJSON RDSDataSpec where+ toJSON RDSDataSpec' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DataRearrangement" Data..=)+ Prelude.<$> dataRearrangement,+ ("DataSchema" Data..=) Prelude.<$> dataSchema,+ ("DataSchemaUri" Data..=) Prelude.<$> dataSchemaUri,+ Prelude.Just+ ("DatabaseInformation" Data..= databaseInformation),+ Prelude.Just+ ("SelectSqlQuery" Data..= selectSqlQuery),+ Prelude.Just+ ("DatabaseCredentials" Data..= databaseCredentials),+ Prelude.Just+ ("S3StagingLocation" Data..= s3StagingLocation),+ Prelude.Just ("ResourceRole" Data..= resourceRole),+ Prelude.Just ("ServiceRole" Data..= serviceRole),+ Prelude.Just ("SubnetId" Data..= subnetId),+ Prelude.Just+ ("SecurityGroupIds" Data..= securityGroupIds)+ ]+ )
+ gen/Amazonka/MachineLearning/Types/RDSDatabase.hs view
@@ -0,0 +1,98 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RDSDatabase+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RDSDatabase where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The database details of an Amazon RDS database.+--+-- /See:/ 'newRDSDatabase' smart constructor.+data RDSDatabase = RDSDatabase'+ { -- | The ID of an RDS DB instance.+ instanceIdentifier :: Prelude.Text,+ databaseName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RDSDatabase' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'instanceIdentifier', 'rDSDatabase_instanceIdentifier' - The ID of an RDS DB instance.+--+-- 'databaseName', 'rDSDatabase_databaseName' - Undocumented member.+newRDSDatabase ::+ -- | 'instanceIdentifier'+ Prelude.Text ->+ -- | 'databaseName'+ Prelude.Text ->+ RDSDatabase+newRDSDatabase pInstanceIdentifier_ pDatabaseName_ =+ RDSDatabase'+ { instanceIdentifier =+ pInstanceIdentifier_,+ databaseName = pDatabaseName_+ }++-- | The ID of an RDS DB instance.+rDSDatabase_instanceIdentifier :: Lens.Lens' RDSDatabase Prelude.Text+rDSDatabase_instanceIdentifier = Lens.lens (\RDSDatabase' {instanceIdentifier} -> instanceIdentifier) (\s@RDSDatabase' {} a -> s {instanceIdentifier = a} :: RDSDatabase)++-- | Undocumented member.+rDSDatabase_databaseName :: Lens.Lens' RDSDatabase Prelude.Text+rDSDatabase_databaseName = Lens.lens (\RDSDatabase' {databaseName} -> databaseName) (\s@RDSDatabase' {} a -> s {databaseName = a} :: RDSDatabase)++instance Data.FromJSON RDSDatabase where+ parseJSON =+ Data.withObject+ "RDSDatabase"+ ( \x ->+ RDSDatabase'+ Prelude.<$> (x Data..: "InstanceIdentifier")+ Prelude.<*> (x Data..: "DatabaseName")+ )++instance Prelude.Hashable RDSDatabase where+ hashWithSalt _salt RDSDatabase' {..} =+ _salt+ `Prelude.hashWithSalt` instanceIdentifier+ `Prelude.hashWithSalt` databaseName++instance Prelude.NFData RDSDatabase where+ rnf RDSDatabase' {..} =+ Prelude.rnf instanceIdentifier+ `Prelude.seq` Prelude.rnf databaseName++instance Data.ToJSON RDSDatabase where+ toJSON RDSDatabase' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("InstanceIdentifier" Data..= instanceIdentifier),+ Prelude.Just ("DatabaseName" Data..= databaseName)+ ]+ )
+ gen/Amazonka/MachineLearning/Types/RDSDatabaseCredentials.hs view
@@ -0,0 +1,85 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RDSDatabaseCredentials+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RDSDatabaseCredentials where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The database credentials to connect to a database on an RDS DB instance.+--+-- /See:/ 'newRDSDatabaseCredentials' smart constructor.+data RDSDatabaseCredentials = RDSDatabaseCredentials'+ { username :: Prelude.Text,+ password :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RDSDatabaseCredentials' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'username', 'rDSDatabaseCredentials_username' - Undocumented member.+--+-- 'password', 'rDSDatabaseCredentials_password' - Undocumented member.+newRDSDatabaseCredentials ::+ -- | 'username'+ Prelude.Text ->+ -- | 'password'+ Prelude.Text ->+ RDSDatabaseCredentials+newRDSDatabaseCredentials pUsername_ pPassword_ =+ RDSDatabaseCredentials'+ { username = pUsername_,+ password = pPassword_+ }++-- | Undocumented member.+rDSDatabaseCredentials_username :: Lens.Lens' RDSDatabaseCredentials Prelude.Text+rDSDatabaseCredentials_username = Lens.lens (\RDSDatabaseCredentials' {username} -> username) (\s@RDSDatabaseCredentials' {} a -> s {username = a} :: RDSDatabaseCredentials)++-- | Undocumented member.+rDSDatabaseCredentials_password :: Lens.Lens' RDSDatabaseCredentials Prelude.Text+rDSDatabaseCredentials_password = Lens.lens (\RDSDatabaseCredentials' {password} -> password) (\s@RDSDatabaseCredentials' {} a -> s {password = a} :: RDSDatabaseCredentials)++instance Prelude.Hashable RDSDatabaseCredentials where+ hashWithSalt _salt RDSDatabaseCredentials' {..} =+ _salt+ `Prelude.hashWithSalt` username+ `Prelude.hashWithSalt` password++instance Prelude.NFData RDSDatabaseCredentials where+ rnf RDSDatabaseCredentials' {..} =+ Prelude.rnf username+ `Prelude.seq` Prelude.rnf password++instance Data.ToJSON RDSDatabaseCredentials where+ toJSON RDSDatabaseCredentials' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Username" Data..= username),+ Prelude.Just ("Password" Data..= password)+ ]+ )
+ gen/Amazonka/MachineLearning/Types/RDSMetadata.hs view
@@ -0,0 +1,165 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RDSMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RDSMetadata where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.RDSDatabase+import qualified Amazonka.Prelude as Prelude++-- | The datasource details that are specific to Amazon RDS.+--+-- /See:/ 'newRDSMetadata' smart constructor.+data RDSMetadata = RDSMetadata'+ { -- | The ID of the Data Pipeline instance that is used to carry to copy data+ -- from Amazon RDS to Amazon S3. You can use the ID to find details about+ -- the instance in the Data Pipeline console.+ dataPipelineId :: Prelude.Maybe Prelude.Text,+ -- | The database details required to connect to an Amazon RDS.+ database :: Prelude.Maybe RDSDatabase,+ databaseUserName :: Prelude.Maybe Prelude.Text,+ -- | The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2+ -- instance to carry out the copy task from Amazon RDS to Amazon S3. For+ -- more information, see+ -- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+ -- for data pipelines.+ resourceRole :: Prelude.Maybe Prelude.Text,+ -- | The SQL query that is supplied during CreateDataSourceFromRDS. Returns+ -- only if @Verbose@ is true in @GetDataSourceInput@.+ selectSqlQuery :: Prelude.Maybe Prelude.Text,+ -- | The role (DataPipelineDefaultRole) assumed by the Data Pipeline service+ -- to monitor the progress of the copy task from Amazon RDS to Amazon S3.+ -- For more information, see+ -- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+ -- for data pipelines.+ serviceRole :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RDSMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataPipelineId', 'rDSMetadata_dataPipelineId' - The ID of the Data Pipeline instance that is used to carry to copy data+-- from Amazon RDS to Amazon S3. You can use the ID to find details about+-- the instance in the Data Pipeline console.+--+-- 'database', 'rDSMetadata_database' - The database details required to connect to an Amazon RDS.+--+-- 'databaseUserName', 'rDSMetadata_databaseUserName' - Undocumented member.+--+-- 'resourceRole', 'rDSMetadata_resourceRole' - The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2+-- instance to carry out the copy task from Amazon RDS to Amazon S3. For+-- more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+--+-- 'selectSqlQuery', 'rDSMetadata_selectSqlQuery' - The SQL query that is supplied during CreateDataSourceFromRDS. Returns+-- only if @Verbose@ is true in @GetDataSourceInput@.+--+-- 'serviceRole', 'rDSMetadata_serviceRole' - The role (DataPipelineDefaultRole) assumed by the Data Pipeline service+-- to monitor the progress of the copy task from Amazon RDS to Amazon S3.+-- For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+newRDSMetadata ::+ RDSMetadata+newRDSMetadata =+ RDSMetadata'+ { dataPipelineId = Prelude.Nothing,+ database = Prelude.Nothing,+ databaseUserName = Prelude.Nothing,+ resourceRole = Prelude.Nothing,+ selectSqlQuery = Prelude.Nothing,+ serviceRole = Prelude.Nothing+ }++-- | The ID of the Data Pipeline instance that is used to carry to copy data+-- from Amazon RDS to Amazon S3. You can use the ID to find details about+-- the instance in the Data Pipeline console.+rDSMetadata_dataPipelineId :: Lens.Lens' RDSMetadata (Prelude.Maybe Prelude.Text)+rDSMetadata_dataPipelineId = Lens.lens (\RDSMetadata' {dataPipelineId} -> dataPipelineId) (\s@RDSMetadata' {} a -> s {dataPipelineId = a} :: RDSMetadata)++-- | The database details required to connect to an Amazon RDS.+rDSMetadata_database :: Lens.Lens' RDSMetadata (Prelude.Maybe RDSDatabase)+rDSMetadata_database = Lens.lens (\RDSMetadata' {database} -> database) (\s@RDSMetadata' {} a -> s {database = a} :: RDSMetadata)++-- | Undocumented member.+rDSMetadata_databaseUserName :: Lens.Lens' RDSMetadata (Prelude.Maybe Prelude.Text)+rDSMetadata_databaseUserName = Lens.lens (\RDSMetadata' {databaseUserName} -> databaseUserName) (\s@RDSMetadata' {} a -> s {databaseUserName = a} :: RDSMetadata)++-- | The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2+-- instance to carry out the copy task from Amazon RDS to Amazon S3. For+-- more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+rDSMetadata_resourceRole :: Lens.Lens' RDSMetadata (Prelude.Maybe Prelude.Text)+rDSMetadata_resourceRole = Lens.lens (\RDSMetadata' {resourceRole} -> resourceRole) (\s@RDSMetadata' {} a -> s {resourceRole = a} :: RDSMetadata)++-- | The SQL query that is supplied during CreateDataSourceFromRDS. Returns+-- only if @Verbose@ is true in @GetDataSourceInput@.+rDSMetadata_selectSqlQuery :: Lens.Lens' RDSMetadata (Prelude.Maybe Prelude.Text)+rDSMetadata_selectSqlQuery = Lens.lens (\RDSMetadata' {selectSqlQuery} -> selectSqlQuery) (\s@RDSMetadata' {} a -> s {selectSqlQuery = a} :: RDSMetadata)++-- | The role (DataPipelineDefaultRole) assumed by the Data Pipeline service+-- to monitor the progress of the copy task from Amazon RDS to Amazon S3.+-- For more information, see+-- <https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates>+-- for data pipelines.+rDSMetadata_serviceRole :: Lens.Lens' RDSMetadata (Prelude.Maybe Prelude.Text)+rDSMetadata_serviceRole = Lens.lens (\RDSMetadata' {serviceRole} -> serviceRole) (\s@RDSMetadata' {} a -> s {serviceRole = a} :: RDSMetadata)++instance Data.FromJSON RDSMetadata where+ parseJSON =+ Data.withObject+ "RDSMetadata"+ ( \x ->+ RDSMetadata'+ Prelude.<$> (x Data..:? "DataPipelineId")+ Prelude.<*> (x Data..:? "Database")+ Prelude.<*> (x Data..:? "DatabaseUserName")+ Prelude.<*> (x Data..:? "ResourceRole")+ Prelude.<*> (x Data..:? "SelectSqlQuery")+ Prelude.<*> (x Data..:? "ServiceRole")+ )++instance Prelude.Hashable RDSMetadata where+ hashWithSalt _salt RDSMetadata' {..} =+ _salt+ `Prelude.hashWithSalt` dataPipelineId+ `Prelude.hashWithSalt` database+ `Prelude.hashWithSalt` databaseUserName+ `Prelude.hashWithSalt` resourceRole+ `Prelude.hashWithSalt` selectSqlQuery+ `Prelude.hashWithSalt` serviceRole++instance Prelude.NFData RDSMetadata where+ rnf RDSMetadata' {..} =+ Prelude.rnf dataPipelineId+ `Prelude.seq` Prelude.rnf database+ `Prelude.seq` Prelude.rnf databaseUserName+ `Prelude.seq` Prelude.rnf resourceRole+ `Prelude.seq` Prelude.rnf selectSqlQuery+ `Prelude.seq` Prelude.rnf serviceRole
+ gen/Amazonka/MachineLearning/Types/RealtimeEndpointInfo.hs view
@@ -0,0 +1,148 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RealtimeEndpointInfo+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RealtimeEndpointInfo where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.RealtimeEndpointStatus+import qualified Amazonka.Prelude as Prelude++-- | Describes the real-time endpoint information for an @MLModel@.+--+-- /See:/ 'newRealtimeEndpointInfo' smart constructor.+data RealtimeEndpointInfo = RealtimeEndpointInfo'+ { -- | The time that the request to create the real-time endpoint for the+ -- @MLModel@ was received. The time is expressed in epoch time.+ createdAt :: Prelude.Maybe Data.POSIX,+ -- | The current status of the real-time endpoint for the @MLModel@. This+ -- element can have one of the following values:+ --+ -- - @NONE@ - Endpoint does not exist or was previously deleted.+ --+ -- - @READY@ - Endpoint is ready to be used for real-time predictions.+ --+ -- - @UPDATING@ - Updating\/creating the endpoint.+ endpointStatus :: Prelude.Maybe RealtimeEndpointStatus,+ -- | The URI that specifies where to send real-time prediction requests for+ -- the @MLModel@.+ --+ -- __Note:__ The application must wait until the real-time endpoint is+ -- ready before using this URI.+ endpointUrl :: Prelude.Maybe Prelude.Text,+ -- | The maximum processing rate for the real-time endpoint for @MLModel@,+ -- measured in incoming requests per second.+ peakRequestsPerSecond :: Prelude.Maybe Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RealtimeEndpointInfo' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'createdAt', 'realtimeEndpointInfo_createdAt' - The time that the request to create the real-time endpoint for the+-- @MLModel@ was received. The time is expressed in epoch time.+--+-- 'endpointStatus', 'realtimeEndpointInfo_endpointStatus' - The current status of the real-time endpoint for the @MLModel@. This+-- element can have one of the following values:+--+-- - @NONE@ - Endpoint does not exist or was previously deleted.+--+-- - @READY@ - Endpoint is ready to be used for real-time predictions.+--+-- - @UPDATING@ - Updating\/creating the endpoint.+--+-- 'endpointUrl', 'realtimeEndpointInfo_endpointUrl' - The URI that specifies where to send real-time prediction requests for+-- the @MLModel@.+--+-- __Note:__ The application must wait until the real-time endpoint is+-- ready before using this URI.+--+-- 'peakRequestsPerSecond', 'realtimeEndpointInfo_peakRequestsPerSecond' - The maximum processing rate for the real-time endpoint for @MLModel@,+-- measured in incoming requests per second.+newRealtimeEndpointInfo ::+ RealtimeEndpointInfo+newRealtimeEndpointInfo =+ RealtimeEndpointInfo'+ { createdAt = Prelude.Nothing,+ endpointStatus = Prelude.Nothing,+ endpointUrl = Prelude.Nothing,+ peakRequestsPerSecond = Prelude.Nothing+ }++-- | The time that the request to create the real-time endpoint for the+-- @MLModel@ was received. The time is expressed in epoch time.+realtimeEndpointInfo_createdAt :: Lens.Lens' RealtimeEndpointInfo (Prelude.Maybe Prelude.UTCTime)+realtimeEndpointInfo_createdAt = Lens.lens (\RealtimeEndpointInfo' {createdAt} -> createdAt) (\s@RealtimeEndpointInfo' {} a -> s {createdAt = a} :: RealtimeEndpointInfo) Prelude.. Lens.mapping Data._Time++-- | The current status of the real-time endpoint for the @MLModel@. This+-- element can have one of the following values:+--+-- - @NONE@ - Endpoint does not exist or was previously deleted.+--+-- - @READY@ - Endpoint is ready to be used for real-time predictions.+--+-- - @UPDATING@ - Updating\/creating the endpoint.+realtimeEndpointInfo_endpointStatus :: Lens.Lens' RealtimeEndpointInfo (Prelude.Maybe RealtimeEndpointStatus)+realtimeEndpointInfo_endpointStatus = Lens.lens (\RealtimeEndpointInfo' {endpointStatus} -> endpointStatus) (\s@RealtimeEndpointInfo' {} a -> s {endpointStatus = a} :: RealtimeEndpointInfo)++-- | The URI that specifies where to send real-time prediction requests for+-- the @MLModel@.+--+-- __Note:__ The application must wait until the real-time endpoint is+-- ready before using this URI.+realtimeEndpointInfo_endpointUrl :: Lens.Lens' RealtimeEndpointInfo (Prelude.Maybe Prelude.Text)+realtimeEndpointInfo_endpointUrl = Lens.lens (\RealtimeEndpointInfo' {endpointUrl} -> endpointUrl) (\s@RealtimeEndpointInfo' {} a -> s {endpointUrl = a} :: RealtimeEndpointInfo)++-- | The maximum processing rate for the real-time endpoint for @MLModel@,+-- measured in incoming requests per second.+realtimeEndpointInfo_peakRequestsPerSecond :: Lens.Lens' RealtimeEndpointInfo (Prelude.Maybe Prelude.Int)+realtimeEndpointInfo_peakRequestsPerSecond = Lens.lens (\RealtimeEndpointInfo' {peakRequestsPerSecond} -> peakRequestsPerSecond) (\s@RealtimeEndpointInfo' {} a -> s {peakRequestsPerSecond = a} :: RealtimeEndpointInfo)++instance Data.FromJSON RealtimeEndpointInfo where+ parseJSON =+ Data.withObject+ "RealtimeEndpointInfo"+ ( \x ->+ RealtimeEndpointInfo'+ Prelude.<$> (x Data..:? "CreatedAt")+ Prelude.<*> (x Data..:? "EndpointStatus")+ Prelude.<*> (x Data..:? "EndpointUrl")+ Prelude.<*> (x Data..:? "PeakRequestsPerSecond")+ )++instance Prelude.Hashable RealtimeEndpointInfo where+ hashWithSalt _salt RealtimeEndpointInfo' {..} =+ _salt+ `Prelude.hashWithSalt` createdAt+ `Prelude.hashWithSalt` endpointStatus+ `Prelude.hashWithSalt` endpointUrl+ `Prelude.hashWithSalt` peakRequestsPerSecond++instance Prelude.NFData RealtimeEndpointInfo where+ rnf RealtimeEndpointInfo' {..} =+ Prelude.rnf createdAt+ `Prelude.seq` Prelude.rnf endpointStatus+ `Prelude.seq` Prelude.rnf endpointUrl+ `Prelude.seq` Prelude.rnf peakRequestsPerSecond
+ gen/Amazonka/MachineLearning/Types/RealtimeEndpointStatus.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RealtimeEndpointStatus+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RealtimeEndpointStatus+ ( RealtimeEndpointStatus+ ( ..,+ RealtimeEndpointStatus_FAILED,+ RealtimeEndpointStatus_NONE,+ RealtimeEndpointStatus_READY,+ RealtimeEndpointStatus_UPDATING+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype RealtimeEndpointStatus = RealtimeEndpointStatus'+ { fromRealtimeEndpointStatus ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern RealtimeEndpointStatus_FAILED :: RealtimeEndpointStatus+pattern RealtimeEndpointStatus_FAILED = RealtimeEndpointStatus' "FAILED"++pattern RealtimeEndpointStatus_NONE :: RealtimeEndpointStatus+pattern RealtimeEndpointStatus_NONE = RealtimeEndpointStatus' "NONE"++pattern RealtimeEndpointStatus_READY :: RealtimeEndpointStatus+pattern RealtimeEndpointStatus_READY = RealtimeEndpointStatus' "READY"++pattern RealtimeEndpointStatus_UPDATING :: RealtimeEndpointStatus+pattern RealtimeEndpointStatus_UPDATING = RealtimeEndpointStatus' "UPDATING"++{-# COMPLETE+ RealtimeEndpointStatus_FAILED,+ RealtimeEndpointStatus_NONE,+ RealtimeEndpointStatus_READY,+ RealtimeEndpointStatus_UPDATING,+ RealtimeEndpointStatus'+ #-}
+ gen/Amazonka/MachineLearning/Types/RedshiftDataSpec.hs view
@@ -0,0 +1,526 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RedshiftDataSpec+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RedshiftDataSpec where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.RedshiftDatabase+import Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials+import qualified Amazonka.Prelude as Prelude++-- | Describes the data specification of an Amazon Redshift @DataSource@.+--+-- /See:/ 'newRedshiftDataSpec' smart constructor.+data RedshiftDataSpec = RedshiftDataSpec'+ { -- | A JSON string that represents the splitting and rearrangement processing+ -- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+ -- not provided, all of the input data is used to create the @Datasource@.+ --+ -- There are multiple parameters that control what data is used to create a+ -- datasource:+ --+ -- - __@percentBegin@__+ --+ -- Use @percentBegin@ to indicate the beginning of the range of the+ -- data used to create the Datasource. If you do not include+ -- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+ -- when creating the datasource.+ --+ -- - __@percentEnd@__+ --+ -- Use @percentEnd@ to indicate the end of the range of the data used+ -- to create the Datasource. If you do not include @percentBegin@ and+ -- @percentEnd@, Amazon ML includes all of the data when creating the+ -- datasource.+ --+ -- - __@complement@__+ --+ -- The @complement@ parameter instructs Amazon ML to use the data that+ -- is not included in the range of @percentBegin@ to @percentEnd@ to+ -- create a datasource. The @complement@ parameter is useful if you+ -- need to create complementary datasources for training and+ -- evaluation. To create a complementary datasource, use the same+ -- values for @percentBegin@ and @percentEnd@, along with the+ -- @complement@ parameter.+ --+ -- For example, the following two datasources do not share any data,+ -- and can be used to train and evaluate a model. The first datasource+ -- has 25 percent of the data, and the second one has 75 percent of the+ -- data.+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+ --+ -- - __@strategy@__+ --+ -- To change how Amazon ML splits the data for a datasource, use the+ -- @strategy@ parameter.+ --+ -- The default value for the @strategy@ parameter is @sequential@,+ -- meaning that Amazon ML takes all of the data records between the+ -- @percentBegin@ and @percentEnd@ parameters for the datasource, in+ -- the order that the records appear in the input data.+ --+ -- The following two @DataRearrangement@ lines are examples of+ -- sequentially ordered training and evaluation datasources:+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+ --+ -- To randomly split the input data into the proportions indicated by+ -- the percentBegin and percentEnd parameters, set the @strategy@+ -- parameter to @random@ and provide a string that is used as the seed+ -- value for the random data splitting (for example, you can use the S3+ -- path to your data as the random seed string). If you choose the+ -- random split strategy, Amazon ML assigns each row of data a+ -- pseudo-random number between 0 and 100, and then selects the rows+ -- that have an assigned number between @percentBegin@ and+ -- @percentEnd@. Pseudo-random numbers are assigned using both the+ -- input seed string value and the byte offset as a seed, so changing+ -- the data results in a different split. Any existing ordering is+ -- preserved. The random splitting strategy ensures that variables in+ -- the training and evaluation data are distributed similarly. It is+ -- useful in the cases where the input data may have an implicit sort+ -- order, which would otherwise result in training and evaluation+ -- datasources containing non-similar data records.+ --+ -- The following two @DataRearrangement@ lines are examples of+ -- non-sequentially ordered training and evaluation datasources:+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+ dataRearrangement :: Prelude.Maybe Prelude.Text,+ -- | A JSON string that represents the schema for an Amazon Redshift+ -- @DataSource@. The @DataSchema@ defines the structure of the observation+ -- data in the data file(s) referenced in the @DataSource@.+ --+ -- A @DataSchema@ is not required if you specify a @DataSchemaUri@.+ --+ -- Define your @DataSchema@ as a series of key-value pairs. @attributes@+ -- and @excludedVariableNames@ have an array of key-value pairs for their+ -- value. Use the following format to define your @DataSchema@.+ --+ -- { \"version\": \"1.0\",+ --+ -- \"recordAnnotationFieldName\": \"F1\",+ --+ -- \"recordWeightFieldName\": \"F2\",+ --+ -- \"targetFieldName\": \"F3\",+ --+ -- \"dataFormat\": \"CSV\",+ --+ -- \"dataFileContainsHeader\": true,+ --+ -- \"attributes\": [+ --+ -- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+ -- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+ -- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+ -- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+ -- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+ -- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+ -- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+ --+ -- \"excludedVariableNames\": [ \"F6\" ] }+ dataSchema :: Prelude.Maybe Prelude.Text,+ -- | Describes the schema location for an Amazon Redshift @DataSource@.+ dataSchemaUri :: Prelude.Maybe Prelude.Text,+ -- | Describes the @DatabaseName@ and @ClusterIdentifier@ for an Amazon+ -- Redshift @DataSource@.+ databaseInformation :: RedshiftDatabase,+ -- | Describes the SQL Query to execute on an Amazon Redshift database for an+ -- Amazon Redshift @DataSource@.+ selectSqlQuery :: Prelude.Text,+ -- | Describes AWS Identity and Access Management (IAM) credentials that are+ -- used connect to the Amazon Redshift database.+ databaseCredentials :: RedshiftDatabaseCredentials,+ -- | Describes an Amazon S3 location to store the result set of the+ -- @SelectSqlQuery@ query.+ s3StagingLocation :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RedshiftDataSpec' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataRearrangement', 'redshiftDataSpec_dataRearrangement' - A JSON string that represents the splitting and rearrangement processing+-- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+-- not provided, all of the input data is used to create the @Datasource@.+--+-- There are multiple parameters that control what data is used to create a+-- datasource:+--+-- - __@percentBegin@__+--+-- Use @percentBegin@ to indicate the beginning of the range of the+-- data used to create the Datasource. If you do not include+-- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+-- when creating the datasource.+--+-- - __@percentEnd@__+--+-- Use @percentEnd@ to indicate the end of the range of the data used+-- to create the Datasource. If you do not include @percentBegin@ and+-- @percentEnd@, Amazon ML includes all of the data when creating the+-- datasource.+--+-- - __@complement@__+--+-- The @complement@ parameter instructs Amazon ML to use the data that+-- is not included in the range of @percentBegin@ to @percentEnd@ to+-- create a datasource. The @complement@ parameter is useful if you+-- need to create complementary datasources for training and+-- evaluation. To create a complementary datasource, use the same+-- values for @percentBegin@ and @percentEnd@, along with the+-- @complement@ parameter.+--+-- For example, the following two datasources do not share any data,+-- and can be used to train and evaluate a model. The first datasource+-- has 25 percent of the data, and the second one has 75 percent of the+-- data.+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+--+-- - __@strategy@__+--+-- To change how Amazon ML splits the data for a datasource, use the+-- @strategy@ parameter.+--+-- The default value for the @strategy@ parameter is @sequential@,+-- meaning that Amazon ML takes all of the data records between the+-- @percentBegin@ and @percentEnd@ parameters for the datasource, in+-- the order that the records appear in the input data.+--+-- The following two @DataRearrangement@ lines are examples of+-- sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+--+-- To randomly split the input data into the proportions indicated by+-- the percentBegin and percentEnd parameters, set the @strategy@+-- parameter to @random@ and provide a string that is used as the seed+-- value for the random data splitting (for example, you can use the S3+-- path to your data as the random seed string). If you choose the+-- random split strategy, Amazon ML assigns each row of data a+-- pseudo-random number between 0 and 100, and then selects the rows+-- that have an assigned number between @percentBegin@ and+-- @percentEnd@. Pseudo-random numbers are assigned using both the+-- input seed string value and the byte offset as a seed, so changing+-- the data results in a different split. Any existing ordering is+-- preserved. The random splitting strategy ensures that variables in+-- the training and evaluation data are distributed similarly. It is+-- useful in the cases where the input data may have an implicit sort+-- order, which would otherwise result in training and evaluation+-- datasources containing non-similar data records.+--+-- The following two @DataRearrangement@ lines are examples of+-- non-sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+--+-- 'dataSchema', 'redshiftDataSpec_dataSchema' - A JSON string that represents the schema for an Amazon Redshift+-- @DataSource@. The @DataSchema@ defines the structure of the observation+-- data in the data file(s) referenced in the @DataSource@.+--+-- A @DataSchema@ is not required if you specify a @DataSchemaUri@.+--+-- Define your @DataSchema@ as a series of key-value pairs. @attributes@+-- and @excludedVariableNames@ have an array of key-value pairs for their+-- value. Use the following format to define your @DataSchema@.+--+-- { \"version\": \"1.0\",+--+-- \"recordAnnotationFieldName\": \"F1\",+--+-- \"recordWeightFieldName\": \"F2\",+--+-- \"targetFieldName\": \"F3\",+--+-- \"dataFormat\": \"CSV\",+--+-- \"dataFileContainsHeader\": true,+--+-- \"attributes\": [+--+-- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+-- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+-- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+-- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+-- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+-- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+-- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+--+-- \"excludedVariableNames\": [ \"F6\" ] }+--+-- 'dataSchemaUri', 'redshiftDataSpec_dataSchemaUri' - Describes the schema location for an Amazon Redshift @DataSource@.+--+-- 'databaseInformation', 'redshiftDataSpec_databaseInformation' - Describes the @DatabaseName@ and @ClusterIdentifier@ for an Amazon+-- Redshift @DataSource@.+--+-- 'selectSqlQuery', 'redshiftDataSpec_selectSqlQuery' - Describes the SQL Query to execute on an Amazon Redshift database for an+-- Amazon Redshift @DataSource@.+--+-- 'databaseCredentials', 'redshiftDataSpec_databaseCredentials' - Describes AWS Identity and Access Management (IAM) credentials that are+-- used connect to the Amazon Redshift database.+--+-- 's3StagingLocation', 'redshiftDataSpec_s3StagingLocation' - Describes an Amazon S3 location to store the result set of the+-- @SelectSqlQuery@ query.+newRedshiftDataSpec ::+ -- | 'databaseInformation'+ RedshiftDatabase ->+ -- | 'selectSqlQuery'+ Prelude.Text ->+ -- | 'databaseCredentials'+ RedshiftDatabaseCredentials ->+ -- | 's3StagingLocation'+ Prelude.Text ->+ RedshiftDataSpec+newRedshiftDataSpec+ pDatabaseInformation_+ pSelectSqlQuery_+ pDatabaseCredentials_+ pS3StagingLocation_ =+ RedshiftDataSpec'+ { dataRearrangement =+ Prelude.Nothing,+ dataSchema = Prelude.Nothing,+ dataSchemaUri = Prelude.Nothing,+ databaseInformation = pDatabaseInformation_,+ selectSqlQuery = pSelectSqlQuery_,+ databaseCredentials = pDatabaseCredentials_,+ s3StagingLocation = pS3StagingLocation_+ }++-- | A JSON string that represents the splitting and rearrangement processing+-- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+-- not provided, all of the input data is used to create the @Datasource@.+--+-- There are multiple parameters that control what data is used to create a+-- datasource:+--+-- - __@percentBegin@__+--+-- Use @percentBegin@ to indicate the beginning of the range of the+-- data used to create the Datasource. If you do not include+-- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+-- when creating the datasource.+--+-- - __@percentEnd@__+--+-- Use @percentEnd@ to indicate the end of the range of the data used+-- to create the Datasource. If you do not include @percentBegin@ and+-- @percentEnd@, Amazon ML includes all of the data when creating the+-- datasource.+--+-- - __@complement@__+--+-- The @complement@ parameter instructs Amazon ML to use the data that+-- is not included in the range of @percentBegin@ to @percentEnd@ to+-- create a datasource. The @complement@ parameter is useful if you+-- need to create complementary datasources for training and+-- evaluation. To create a complementary datasource, use the same+-- values for @percentBegin@ and @percentEnd@, along with the+-- @complement@ parameter.+--+-- For example, the following two datasources do not share any data,+-- and can be used to train and evaluate a model. The first datasource+-- has 25 percent of the data, and the second one has 75 percent of the+-- data.+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+--+-- - __@strategy@__+--+-- To change how Amazon ML splits the data for a datasource, use the+-- @strategy@ parameter.+--+-- The default value for the @strategy@ parameter is @sequential@,+-- meaning that Amazon ML takes all of the data records between the+-- @percentBegin@ and @percentEnd@ parameters for the datasource, in+-- the order that the records appear in the input data.+--+-- The following two @DataRearrangement@ lines are examples of+-- sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+--+-- To randomly split the input data into the proportions indicated by+-- the percentBegin and percentEnd parameters, set the @strategy@+-- parameter to @random@ and provide a string that is used as the seed+-- value for the random data splitting (for example, you can use the S3+-- path to your data as the random seed string). If you choose the+-- random split strategy, Amazon ML assigns each row of data a+-- pseudo-random number between 0 and 100, and then selects the rows+-- that have an assigned number between @percentBegin@ and+-- @percentEnd@. Pseudo-random numbers are assigned using both the+-- input seed string value and the byte offset as a seed, so changing+-- the data results in a different split. Any existing ordering is+-- preserved. The random splitting strategy ensures that variables in+-- the training and evaluation data are distributed similarly. It is+-- useful in the cases where the input data may have an implicit sort+-- order, which would otherwise result in training and evaluation+-- datasources containing non-similar data records.+--+-- The following two @DataRearrangement@ lines are examples of+-- non-sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+redshiftDataSpec_dataRearrangement :: Lens.Lens' RedshiftDataSpec (Prelude.Maybe Prelude.Text)+redshiftDataSpec_dataRearrangement = Lens.lens (\RedshiftDataSpec' {dataRearrangement} -> dataRearrangement) (\s@RedshiftDataSpec' {} a -> s {dataRearrangement = a} :: RedshiftDataSpec)++-- | A JSON string that represents the schema for an Amazon Redshift+-- @DataSource@. The @DataSchema@ defines the structure of the observation+-- data in the data file(s) referenced in the @DataSource@.+--+-- A @DataSchema@ is not required if you specify a @DataSchemaUri@.+--+-- Define your @DataSchema@ as a series of key-value pairs. @attributes@+-- and @excludedVariableNames@ have an array of key-value pairs for their+-- value. Use the following format to define your @DataSchema@.+--+-- { \"version\": \"1.0\",+--+-- \"recordAnnotationFieldName\": \"F1\",+--+-- \"recordWeightFieldName\": \"F2\",+--+-- \"targetFieldName\": \"F3\",+--+-- \"dataFormat\": \"CSV\",+--+-- \"dataFileContainsHeader\": true,+--+-- \"attributes\": [+--+-- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+-- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+-- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+-- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+-- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+-- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+-- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+--+-- \"excludedVariableNames\": [ \"F6\" ] }+redshiftDataSpec_dataSchema :: Lens.Lens' RedshiftDataSpec (Prelude.Maybe Prelude.Text)+redshiftDataSpec_dataSchema = Lens.lens (\RedshiftDataSpec' {dataSchema} -> dataSchema) (\s@RedshiftDataSpec' {} a -> s {dataSchema = a} :: RedshiftDataSpec)++-- | Describes the schema location for an Amazon Redshift @DataSource@.+redshiftDataSpec_dataSchemaUri :: Lens.Lens' RedshiftDataSpec (Prelude.Maybe Prelude.Text)+redshiftDataSpec_dataSchemaUri = Lens.lens (\RedshiftDataSpec' {dataSchemaUri} -> dataSchemaUri) (\s@RedshiftDataSpec' {} a -> s {dataSchemaUri = a} :: RedshiftDataSpec)++-- | Describes the @DatabaseName@ and @ClusterIdentifier@ for an Amazon+-- Redshift @DataSource@.+redshiftDataSpec_databaseInformation :: Lens.Lens' RedshiftDataSpec RedshiftDatabase+redshiftDataSpec_databaseInformation = Lens.lens (\RedshiftDataSpec' {databaseInformation} -> databaseInformation) (\s@RedshiftDataSpec' {} a -> s {databaseInformation = a} :: RedshiftDataSpec)++-- | Describes the SQL Query to execute on an Amazon Redshift database for an+-- Amazon Redshift @DataSource@.+redshiftDataSpec_selectSqlQuery :: Lens.Lens' RedshiftDataSpec Prelude.Text+redshiftDataSpec_selectSqlQuery = Lens.lens (\RedshiftDataSpec' {selectSqlQuery} -> selectSqlQuery) (\s@RedshiftDataSpec' {} a -> s {selectSqlQuery = a} :: RedshiftDataSpec)++-- | Describes AWS Identity and Access Management (IAM) credentials that are+-- used connect to the Amazon Redshift database.+redshiftDataSpec_databaseCredentials :: Lens.Lens' RedshiftDataSpec RedshiftDatabaseCredentials+redshiftDataSpec_databaseCredentials = Lens.lens (\RedshiftDataSpec' {databaseCredentials} -> databaseCredentials) (\s@RedshiftDataSpec' {} a -> s {databaseCredentials = a} :: RedshiftDataSpec)++-- | Describes an Amazon S3 location to store the result set of the+-- @SelectSqlQuery@ query.+redshiftDataSpec_s3StagingLocation :: Lens.Lens' RedshiftDataSpec Prelude.Text+redshiftDataSpec_s3StagingLocation = Lens.lens (\RedshiftDataSpec' {s3StagingLocation} -> s3StagingLocation) (\s@RedshiftDataSpec' {} a -> s {s3StagingLocation = a} :: RedshiftDataSpec)++instance Prelude.Hashable RedshiftDataSpec where+ hashWithSalt _salt RedshiftDataSpec' {..} =+ _salt+ `Prelude.hashWithSalt` dataRearrangement+ `Prelude.hashWithSalt` dataSchema+ `Prelude.hashWithSalt` dataSchemaUri+ `Prelude.hashWithSalt` databaseInformation+ `Prelude.hashWithSalt` selectSqlQuery+ `Prelude.hashWithSalt` databaseCredentials+ `Prelude.hashWithSalt` s3StagingLocation++instance Prelude.NFData RedshiftDataSpec where+ rnf RedshiftDataSpec' {..} =+ Prelude.rnf dataRearrangement+ `Prelude.seq` Prelude.rnf dataSchema+ `Prelude.seq` Prelude.rnf dataSchemaUri+ `Prelude.seq` Prelude.rnf databaseInformation+ `Prelude.seq` Prelude.rnf selectSqlQuery+ `Prelude.seq` Prelude.rnf databaseCredentials+ `Prelude.seq` Prelude.rnf s3StagingLocation++instance Data.ToJSON RedshiftDataSpec where+ toJSON RedshiftDataSpec' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DataRearrangement" Data..=)+ Prelude.<$> dataRearrangement,+ ("DataSchema" Data..=) Prelude.<$> dataSchema,+ ("DataSchemaUri" Data..=) Prelude.<$> dataSchemaUri,+ Prelude.Just+ ("DatabaseInformation" Data..= databaseInformation),+ Prelude.Just+ ("SelectSqlQuery" Data..= selectSqlQuery),+ Prelude.Just+ ("DatabaseCredentials" Data..= databaseCredentials),+ Prelude.Just+ ("S3StagingLocation" Data..= s3StagingLocation)+ ]+ )
+ gen/Amazonka/MachineLearning/Types/RedshiftDatabase.hs view
@@ -0,0 +1,99 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RedshiftDatabase+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RedshiftDatabase where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes the database details required to connect to an Amazon Redshift+-- database.+--+-- /See:/ 'newRedshiftDatabase' smart constructor.+data RedshiftDatabase = RedshiftDatabase'+ { databaseName :: Prelude.Text,+ clusterIdentifier :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RedshiftDatabase' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'databaseName', 'redshiftDatabase_databaseName' - Undocumented member.+--+-- 'clusterIdentifier', 'redshiftDatabase_clusterIdentifier' - Undocumented member.+newRedshiftDatabase ::+ -- | 'databaseName'+ Prelude.Text ->+ -- | 'clusterIdentifier'+ Prelude.Text ->+ RedshiftDatabase+newRedshiftDatabase+ pDatabaseName_+ pClusterIdentifier_ =+ RedshiftDatabase'+ { databaseName = pDatabaseName_,+ clusterIdentifier = pClusterIdentifier_+ }++-- | Undocumented member.+redshiftDatabase_databaseName :: Lens.Lens' RedshiftDatabase Prelude.Text+redshiftDatabase_databaseName = Lens.lens (\RedshiftDatabase' {databaseName} -> databaseName) (\s@RedshiftDatabase' {} a -> s {databaseName = a} :: RedshiftDatabase)++-- | Undocumented member.+redshiftDatabase_clusterIdentifier :: Lens.Lens' RedshiftDatabase Prelude.Text+redshiftDatabase_clusterIdentifier = Lens.lens (\RedshiftDatabase' {clusterIdentifier} -> clusterIdentifier) (\s@RedshiftDatabase' {} a -> s {clusterIdentifier = a} :: RedshiftDatabase)++instance Data.FromJSON RedshiftDatabase where+ parseJSON =+ Data.withObject+ "RedshiftDatabase"+ ( \x ->+ RedshiftDatabase'+ Prelude.<$> (x Data..: "DatabaseName")+ Prelude.<*> (x Data..: "ClusterIdentifier")+ )++instance Prelude.Hashable RedshiftDatabase where+ hashWithSalt _salt RedshiftDatabase' {..} =+ _salt+ `Prelude.hashWithSalt` databaseName+ `Prelude.hashWithSalt` clusterIdentifier++instance Prelude.NFData RedshiftDatabase where+ rnf RedshiftDatabase' {..} =+ Prelude.rnf databaseName+ `Prelude.seq` Prelude.rnf clusterIdentifier++instance Data.ToJSON RedshiftDatabase where+ toJSON RedshiftDatabase' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("DatabaseName" Data..= databaseName),+ Prelude.Just+ ("ClusterIdentifier" Data..= clusterIdentifier)+ ]+ )
+ gen/Amazonka/MachineLearning/Types/RedshiftDatabaseCredentials.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RedshiftDatabaseCredentials where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes the database credentials for connecting to a database on an+-- Amazon Redshift cluster.+--+-- /See:/ 'newRedshiftDatabaseCredentials' smart constructor.+data RedshiftDatabaseCredentials = RedshiftDatabaseCredentials'+ { username :: Prelude.Text,+ password :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RedshiftDatabaseCredentials' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'username', 'redshiftDatabaseCredentials_username' - Undocumented member.+--+-- 'password', 'redshiftDatabaseCredentials_password' - Undocumented member.+newRedshiftDatabaseCredentials ::+ -- | 'username'+ Prelude.Text ->+ -- | 'password'+ Prelude.Text ->+ RedshiftDatabaseCredentials+newRedshiftDatabaseCredentials pUsername_ pPassword_ =+ RedshiftDatabaseCredentials'+ { username = pUsername_,+ password = pPassword_+ }++-- | Undocumented member.+redshiftDatabaseCredentials_username :: Lens.Lens' RedshiftDatabaseCredentials Prelude.Text+redshiftDatabaseCredentials_username = Lens.lens (\RedshiftDatabaseCredentials' {username} -> username) (\s@RedshiftDatabaseCredentials' {} a -> s {username = a} :: RedshiftDatabaseCredentials)++-- | Undocumented member.+redshiftDatabaseCredentials_password :: Lens.Lens' RedshiftDatabaseCredentials Prelude.Text+redshiftDatabaseCredentials_password = Lens.lens (\RedshiftDatabaseCredentials' {password} -> password) (\s@RedshiftDatabaseCredentials' {} a -> s {password = a} :: RedshiftDatabaseCredentials)++instance Prelude.Hashable RedshiftDatabaseCredentials where+ hashWithSalt _salt RedshiftDatabaseCredentials' {..} =+ _salt+ `Prelude.hashWithSalt` username+ `Prelude.hashWithSalt` password++instance Prelude.NFData RedshiftDatabaseCredentials where+ rnf RedshiftDatabaseCredentials' {..} =+ Prelude.rnf username+ `Prelude.seq` Prelude.rnf password++instance Data.ToJSON RedshiftDatabaseCredentials where+ toJSON RedshiftDatabaseCredentials' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("Username" Data..= username),+ Prelude.Just ("Password" Data..= password)+ ]+ )
+ gen/Amazonka/MachineLearning/Types/RedshiftMetadata.hs view
@@ -0,0 +1,99 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.RedshiftMetadata+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.RedshiftMetadata where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types.RedshiftDatabase+import qualified Amazonka.Prelude as Prelude++-- | Describes the @DataSource@ details specific to Amazon Redshift.+--+-- /See:/ 'newRedshiftMetadata' smart constructor.+data RedshiftMetadata = RedshiftMetadata'+ { databaseUserName :: Prelude.Maybe Prelude.Text,+ redshiftDatabase :: Prelude.Maybe RedshiftDatabase,+ -- | The SQL query that is specified during CreateDataSourceFromRedshift.+ -- Returns only if @Verbose@ is true in GetDataSourceInput.+ selectSqlQuery :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'RedshiftMetadata' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'databaseUserName', 'redshiftMetadata_databaseUserName' - Undocumented member.+--+-- 'redshiftDatabase', 'redshiftMetadata_redshiftDatabase' - Undocumented member.+--+-- 'selectSqlQuery', 'redshiftMetadata_selectSqlQuery' - The SQL query that is specified during CreateDataSourceFromRedshift.+-- Returns only if @Verbose@ is true in GetDataSourceInput.+newRedshiftMetadata ::+ RedshiftMetadata+newRedshiftMetadata =+ RedshiftMetadata'+ { databaseUserName =+ Prelude.Nothing,+ redshiftDatabase = Prelude.Nothing,+ selectSqlQuery = Prelude.Nothing+ }++-- | Undocumented member.+redshiftMetadata_databaseUserName :: Lens.Lens' RedshiftMetadata (Prelude.Maybe Prelude.Text)+redshiftMetadata_databaseUserName = Lens.lens (\RedshiftMetadata' {databaseUserName} -> databaseUserName) (\s@RedshiftMetadata' {} a -> s {databaseUserName = a} :: RedshiftMetadata)++-- | Undocumented member.+redshiftMetadata_redshiftDatabase :: Lens.Lens' RedshiftMetadata (Prelude.Maybe RedshiftDatabase)+redshiftMetadata_redshiftDatabase = Lens.lens (\RedshiftMetadata' {redshiftDatabase} -> redshiftDatabase) (\s@RedshiftMetadata' {} a -> s {redshiftDatabase = a} :: RedshiftMetadata)++-- | The SQL query that is specified during CreateDataSourceFromRedshift.+-- Returns only if @Verbose@ is true in GetDataSourceInput.+redshiftMetadata_selectSqlQuery :: Lens.Lens' RedshiftMetadata (Prelude.Maybe Prelude.Text)+redshiftMetadata_selectSqlQuery = Lens.lens (\RedshiftMetadata' {selectSqlQuery} -> selectSqlQuery) (\s@RedshiftMetadata' {} a -> s {selectSqlQuery = a} :: RedshiftMetadata)++instance Data.FromJSON RedshiftMetadata where+ parseJSON =+ Data.withObject+ "RedshiftMetadata"+ ( \x ->+ RedshiftMetadata'+ Prelude.<$> (x Data..:? "DatabaseUserName")+ Prelude.<*> (x Data..:? "RedshiftDatabase")+ Prelude.<*> (x Data..:? "SelectSqlQuery")+ )++instance Prelude.Hashable RedshiftMetadata where+ hashWithSalt _salt RedshiftMetadata' {..} =+ _salt+ `Prelude.hashWithSalt` databaseUserName+ `Prelude.hashWithSalt` redshiftDatabase+ `Prelude.hashWithSalt` selectSqlQuery++instance Prelude.NFData RedshiftMetadata where+ rnf RedshiftMetadata' {..} =+ Prelude.rnf databaseUserName+ `Prelude.seq` Prelude.rnf redshiftDatabase+ `Prelude.seq` Prelude.rnf selectSqlQuery
+ gen/Amazonka/MachineLearning/Types/S3DataSpec.hs view
@@ -0,0 +1,472 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.S3DataSpec+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.S3DataSpec where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | Describes the data specification of a @DataSource@.+--+-- /See:/ 'newS3DataSpec' smart constructor.+data S3DataSpec = S3DataSpec'+ { -- | A JSON string that represents the splitting and rearrangement processing+ -- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+ -- not provided, all of the input data is used to create the @Datasource@.+ --+ -- There are multiple parameters that control what data is used to create a+ -- datasource:+ --+ -- - __@percentBegin@__+ --+ -- Use @percentBegin@ to indicate the beginning of the range of the+ -- data used to create the Datasource. If you do not include+ -- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+ -- when creating the datasource.+ --+ -- - __@percentEnd@__+ --+ -- Use @percentEnd@ to indicate the end of the range of the data used+ -- to create the Datasource. If you do not include @percentBegin@ and+ -- @percentEnd@, Amazon ML includes all of the data when creating the+ -- datasource.+ --+ -- - __@complement@__+ --+ -- The @complement@ parameter instructs Amazon ML to use the data that+ -- is not included in the range of @percentBegin@ to @percentEnd@ to+ -- create a datasource. The @complement@ parameter is useful if you+ -- need to create complementary datasources for training and+ -- evaluation. To create a complementary datasource, use the same+ -- values for @percentBegin@ and @percentEnd@, along with the+ -- @complement@ parameter.+ --+ -- For example, the following two datasources do not share any data,+ -- and can be used to train and evaluate a model. The first datasource+ -- has 25 percent of the data, and the second one has 75 percent of the+ -- data.+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+ --+ -- - __@strategy@__+ --+ -- To change how Amazon ML splits the data for a datasource, use the+ -- @strategy@ parameter.+ --+ -- The default value for the @strategy@ parameter is @sequential@,+ -- meaning that Amazon ML takes all of the data records between the+ -- @percentBegin@ and @percentEnd@ parameters for the datasource, in+ -- the order that the records appear in the input data.+ --+ -- The following two @DataRearrangement@ lines are examples of+ -- sequentially ordered training and evaluation datasources:+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+ --+ -- To randomly split the input data into the proportions indicated by+ -- the percentBegin and percentEnd parameters, set the @strategy@+ -- parameter to @random@ and provide a string that is used as the seed+ -- value for the random data splitting (for example, you can use the S3+ -- path to your data as the random seed string). If you choose the+ -- random split strategy, Amazon ML assigns each row of data a+ -- pseudo-random number between 0 and 100, and then selects the rows+ -- that have an assigned number between @percentBegin@ and+ -- @percentEnd@. Pseudo-random numbers are assigned using both the+ -- input seed string value and the byte offset as a seed, so changing+ -- the data results in a different split. Any existing ordering is+ -- preserved. The random splitting strategy ensures that variables in+ -- the training and evaluation data are distributed similarly. It is+ -- useful in the cases where the input data may have an implicit sort+ -- order, which would otherwise result in training and evaluation+ -- datasources containing non-similar data records.+ --+ -- The following two @DataRearrangement@ lines are examples of+ -- non-sequentially ordered training and evaluation datasources:+ --+ -- Datasource for evaluation:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+ --+ -- Datasource for training:+ -- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+ dataRearrangement :: Prelude.Maybe Prelude.Text,+ -- | A JSON string that represents the schema for an Amazon S3 @DataSource@.+ -- The @DataSchema@ defines the structure of the observation data in the+ -- data file(s) referenced in the @DataSource@.+ --+ -- You must provide either the @DataSchema@ or the @DataSchemaLocationS3@.+ --+ -- Define your @DataSchema@ as a series of key-value pairs. @attributes@+ -- and @excludedVariableNames@ have an array of key-value pairs for their+ -- value. Use the following format to define your @DataSchema@.+ --+ -- { \"version\": \"1.0\",+ --+ -- \"recordAnnotationFieldName\": \"F1\",+ --+ -- \"recordWeightFieldName\": \"F2\",+ --+ -- \"targetFieldName\": \"F3\",+ --+ -- \"dataFormat\": \"CSV\",+ --+ -- \"dataFileContainsHeader\": true,+ --+ -- \"attributes\": [+ --+ -- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+ -- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+ -- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+ -- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+ -- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+ -- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+ -- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+ --+ -- \"excludedVariableNames\": [ \"F6\" ] }+ dataSchema :: Prelude.Maybe Prelude.Text,+ -- | Describes the schema location in Amazon S3. You must provide either the+ -- @DataSchema@ or the @DataSchemaLocationS3@.+ dataSchemaLocationS3 :: Prelude.Maybe Prelude.Text,+ -- | The location of the data file(s) used by a @DataSource@. The URI+ -- specifies a data file or an Amazon Simple Storage Service (Amazon S3)+ -- directory or bucket containing data files.+ dataLocationS3 :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'S3DataSpec' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataRearrangement', 's3DataSpec_dataRearrangement' - A JSON string that represents the splitting and rearrangement processing+-- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+-- not provided, all of the input data is used to create the @Datasource@.+--+-- There are multiple parameters that control what data is used to create a+-- datasource:+--+-- - __@percentBegin@__+--+-- Use @percentBegin@ to indicate the beginning of the range of the+-- data used to create the Datasource. If you do not include+-- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+-- when creating the datasource.+--+-- - __@percentEnd@__+--+-- Use @percentEnd@ to indicate the end of the range of the data used+-- to create the Datasource. If you do not include @percentBegin@ and+-- @percentEnd@, Amazon ML includes all of the data when creating the+-- datasource.+--+-- - __@complement@__+--+-- The @complement@ parameter instructs Amazon ML to use the data that+-- is not included in the range of @percentBegin@ to @percentEnd@ to+-- create a datasource. The @complement@ parameter is useful if you+-- need to create complementary datasources for training and+-- evaluation. To create a complementary datasource, use the same+-- values for @percentBegin@ and @percentEnd@, along with the+-- @complement@ parameter.+--+-- For example, the following two datasources do not share any data,+-- and can be used to train and evaluate a model. The first datasource+-- has 25 percent of the data, and the second one has 75 percent of the+-- data.+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+--+-- - __@strategy@__+--+-- To change how Amazon ML splits the data for a datasource, use the+-- @strategy@ parameter.+--+-- The default value for the @strategy@ parameter is @sequential@,+-- meaning that Amazon ML takes all of the data records between the+-- @percentBegin@ and @percentEnd@ parameters for the datasource, in+-- the order that the records appear in the input data.+--+-- The following two @DataRearrangement@ lines are examples of+-- sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+--+-- To randomly split the input data into the proportions indicated by+-- the percentBegin and percentEnd parameters, set the @strategy@+-- parameter to @random@ and provide a string that is used as the seed+-- value for the random data splitting (for example, you can use the S3+-- path to your data as the random seed string). If you choose the+-- random split strategy, Amazon ML assigns each row of data a+-- pseudo-random number between 0 and 100, and then selects the rows+-- that have an assigned number between @percentBegin@ and+-- @percentEnd@. Pseudo-random numbers are assigned using both the+-- input seed string value and the byte offset as a seed, so changing+-- the data results in a different split. Any existing ordering is+-- preserved. The random splitting strategy ensures that variables in+-- the training and evaluation data are distributed similarly. It is+-- useful in the cases where the input data may have an implicit sort+-- order, which would otherwise result in training and evaluation+-- datasources containing non-similar data records.+--+-- The following two @DataRearrangement@ lines are examples of+-- non-sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+--+-- 'dataSchema', 's3DataSpec_dataSchema' - A JSON string that represents the schema for an Amazon S3 @DataSource@.+-- The @DataSchema@ defines the structure of the observation data in the+-- data file(s) referenced in the @DataSource@.+--+-- You must provide either the @DataSchema@ or the @DataSchemaLocationS3@.+--+-- Define your @DataSchema@ as a series of key-value pairs. @attributes@+-- and @excludedVariableNames@ have an array of key-value pairs for their+-- value. Use the following format to define your @DataSchema@.+--+-- { \"version\": \"1.0\",+--+-- \"recordAnnotationFieldName\": \"F1\",+--+-- \"recordWeightFieldName\": \"F2\",+--+-- \"targetFieldName\": \"F3\",+--+-- \"dataFormat\": \"CSV\",+--+-- \"dataFileContainsHeader\": true,+--+-- \"attributes\": [+--+-- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+-- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+-- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+-- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+-- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+-- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+-- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+--+-- \"excludedVariableNames\": [ \"F6\" ] }+--+-- 'dataSchemaLocationS3', 's3DataSpec_dataSchemaLocationS3' - Describes the schema location in Amazon S3. You must provide either the+-- @DataSchema@ or the @DataSchemaLocationS3@.+--+-- 'dataLocationS3', 's3DataSpec_dataLocationS3' - The location of the data file(s) used by a @DataSource@. The URI+-- specifies a data file or an Amazon Simple Storage Service (Amazon S3)+-- directory or bucket containing data files.+newS3DataSpec ::+ -- | 'dataLocationS3'+ Prelude.Text ->+ S3DataSpec+newS3DataSpec pDataLocationS3_ =+ S3DataSpec'+ { dataRearrangement = Prelude.Nothing,+ dataSchema = Prelude.Nothing,+ dataSchemaLocationS3 = Prelude.Nothing,+ dataLocationS3 = pDataLocationS3_+ }++-- | A JSON string that represents the splitting and rearrangement processing+-- to be applied to a @DataSource@. If the @DataRearrangement@ parameter is+-- not provided, all of the input data is used to create the @Datasource@.+--+-- There are multiple parameters that control what data is used to create a+-- datasource:+--+-- - __@percentBegin@__+--+-- Use @percentBegin@ to indicate the beginning of the range of the+-- data used to create the Datasource. If you do not include+-- @percentBegin@ and @percentEnd@, Amazon ML includes all of the data+-- when creating the datasource.+--+-- - __@percentEnd@__+--+-- Use @percentEnd@ to indicate the end of the range of the data used+-- to create the Datasource. If you do not include @percentBegin@ and+-- @percentEnd@, Amazon ML includes all of the data when creating the+-- datasource.+--+-- - __@complement@__+--+-- The @complement@ parameter instructs Amazon ML to use the data that+-- is not included in the range of @percentBegin@ to @percentEnd@ to+-- create a datasource. The @complement@ parameter is useful if you+-- need to create complementary datasources for training and+-- evaluation. To create a complementary datasource, use the same+-- values for @percentBegin@ and @percentEnd@, along with the+-- @complement@ parameter.+--+-- For example, the following two datasources do not share any data,+-- and can be used to train and evaluate a model. The first datasource+-- has 25 percent of the data, and the second one has 75 percent of the+-- data.+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}@+--+-- - __@strategy@__+--+-- To change how Amazon ML splits the data for a datasource, use the+-- @strategy@ parameter.+--+-- The default value for the @strategy@ parameter is @sequential@,+-- meaning that Amazon ML takes all of the data records between the+-- @percentBegin@ and @percentEnd@ parameters for the datasource, in+-- the order that the records appear in the input data.+--+-- The following two @DataRearrangement@ lines are examples of+-- sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}@+--+-- To randomly split the input data into the proportions indicated by+-- the percentBegin and percentEnd parameters, set the @strategy@+-- parameter to @random@ and provide a string that is used as the seed+-- value for the random data splitting (for example, you can use the S3+-- path to your data as the random seed string). If you choose the+-- random split strategy, Amazon ML assigns each row of data a+-- pseudo-random number between 0 and 100, and then selects the rows+-- that have an assigned number between @percentBegin@ and+-- @percentEnd@. Pseudo-random numbers are assigned using both the+-- input seed string value and the byte offset as a seed, so changing+-- the data results in a different split. Any existing ordering is+-- preserved. The random splitting strategy ensures that variables in+-- the training and evaluation data are distributed similarly. It is+-- useful in the cases where the input data may have an implicit sort+-- order, which would otherwise result in training and evaluation+-- datasources containing non-similar data records.+--+-- The following two @DataRearrangement@ lines are examples of+-- non-sequentially ordered training and evaluation datasources:+--+-- Datasource for evaluation:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\"}}@+--+-- Datasource for training:+-- @{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3:\/\/my_s3_path\/bucket\/file.csv\", \"complement\":\"true\"}}@+s3DataSpec_dataRearrangement :: Lens.Lens' S3DataSpec (Prelude.Maybe Prelude.Text)+s3DataSpec_dataRearrangement = Lens.lens (\S3DataSpec' {dataRearrangement} -> dataRearrangement) (\s@S3DataSpec' {} a -> s {dataRearrangement = a} :: S3DataSpec)++-- | A JSON string that represents the schema for an Amazon S3 @DataSource@.+-- The @DataSchema@ defines the structure of the observation data in the+-- data file(s) referenced in the @DataSource@.+--+-- You must provide either the @DataSchema@ or the @DataSchemaLocationS3@.+--+-- Define your @DataSchema@ as a series of key-value pairs. @attributes@+-- and @excludedVariableNames@ have an array of key-value pairs for their+-- value. Use the following format to define your @DataSchema@.+--+-- { \"version\": \"1.0\",+--+-- \"recordAnnotationFieldName\": \"F1\",+--+-- \"recordWeightFieldName\": \"F2\",+--+-- \"targetFieldName\": \"F3\",+--+-- \"dataFormat\": \"CSV\",+--+-- \"dataFileContainsHeader\": true,+--+-- \"attributes\": [+--+-- { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\":+-- \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\",+-- \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\",+-- \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\":+-- \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, {+-- \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, {+-- \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],+--+-- \"excludedVariableNames\": [ \"F6\" ] }+s3DataSpec_dataSchema :: Lens.Lens' S3DataSpec (Prelude.Maybe Prelude.Text)+s3DataSpec_dataSchema = Lens.lens (\S3DataSpec' {dataSchema} -> dataSchema) (\s@S3DataSpec' {} a -> s {dataSchema = a} :: S3DataSpec)++-- | Describes the schema location in Amazon S3. You must provide either the+-- @DataSchema@ or the @DataSchemaLocationS3@.+s3DataSpec_dataSchemaLocationS3 :: Lens.Lens' S3DataSpec (Prelude.Maybe Prelude.Text)+s3DataSpec_dataSchemaLocationS3 = Lens.lens (\S3DataSpec' {dataSchemaLocationS3} -> dataSchemaLocationS3) (\s@S3DataSpec' {} a -> s {dataSchemaLocationS3 = a} :: S3DataSpec)++-- | The location of the data file(s) used by a @DataSource@. The URI+-- specifies a data file or an Amazon Simple Storage Service (Amazon S3)+-- directory or bucket containing data files.+s3DataSpec_dataLocationS3 :: Lens.Lens' S3DataSpec Prelude.Text+s3DataSpec_dataLocationS3 = Lens.lens (\S3DataSpec' {dataLocationS3} -> dataLocationS3) (\s@S3DataSpec' {} a -> s {dataLocationS3 = a} :: S3DataSpec)++instance Prelude.Hashable S3DataSpec where+ hashWithSalt _salt S3DataSpec' {..} =+ _salt+ `Prelude.hashWithSalt` dataRearrangement+ `Prelude.hashWithSalt` dataSchema+ `Prelude.hashWithSalt` dataSchemaLocationS3+ `Prelude.hashWithSalt` dataLocationS3++instance Prelude.NFData S3DataSpec where+ rnf S3DataSpec' {..} =+ Prelude.rnf dataRearrangement+ `Prelude.seq` Prelude.rnf dataSchema+ `Prelude.seq` Prelude.rnf dataSchemaLocationS3+ `Prelude.seq` Prelude.rnf dataLocationS3++instance Data.ToJSON S3DataSpec where+ toJSON S3DataSpec' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("DataRearrangement" Data..=)+ Prelude.<$> dataRearrangement,+ ("DataSchema" Data..=) Prelude.<$> dataSchema,+ ("DataSchemaLocationS3" Data..=)+ Prelude.<$> dataSchemaLocationS3,+ Prelude.Just+ ("DataLocationS3" Data..= dataLocationS3)+ ]+ )
+ gen/Amazonka/MachineLearning/Types/SortOrder.hs view
@@ -0,0 +1,77 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.SortOrder+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.SortOrder+ ( SortOrder+ ( ..,+ SortOrder_Asc,+ SortOrder_Dsc+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The sort order specified in a listing condition. Possible values include+-- the following:+--+-- - @asc@ - Present the information in ascending order (from A-Z).+--+-- - @dsc@ - Present the information in descending order (from Z-A).+newtype SortOrder = SortOrder'+ { fromSortOrder ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern SortOrder_Asc :: SortOrder+pattern SortOrder_Asc = SortOrder' "asc"++pattern SortOrder_Dsc :: SortOrder+pattern SortOrder_Dsc = SortOrder' "dsc"++{-# COMPLETE+ SortOrder_Asc,+ SortOrder_Dsc,+ SortOrder'+ #-}
+ gen/Amazonka/MachineLearning/Types/Tag.hs view
@@ -0,0 +1,102 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.Tag+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A custom key-value pair associated with an ML object, such as an ML+-- model.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+ { -- | A unique identifier for the tag. Valid characters include Unicode+ -- letters, digits, white space, _, ., \/, =, +, -, %, and \@.+ key :: Prelude.Maybe Prelude.Text,+ -- | An optional string, typically used to describe or define the tag. Valid+ -- characters include Unicode letters, digits, white space, _, ., \/, =, +,+ -- -, %, and \@.+ value :: Prelude.Maybe Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'tag_key' - A unique identifier for the tag. Valid characters include Unicode+-- letters, digits, white space, _, ., \/, =, +, -, %, and \@.+--+-- 'value', 'tag_value' - An optional string, typically used to describe or define the tag. Valid+-- characters include Unicode letters, digits, white space, _, ., \/, =, +,+-- -, %, and \@.+newTag ::+ Tag+newTag =+ Tag'+ { key = Prelude.Nothing,+ value = Prelude.Nothing+ }++-- | A unique identifier for the tag. Valid characters include Unicode+-- letters, digits, white space, _, ., \/, =, +, -, %, and \@.+tag_key :: Lens.Lens' Tag (Prelude.Maybe Prelude.Text)+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | An optional string, typically used to describe or define the tag. Valid+-- characters include Unicode letters, digits, white space, _, ., \/, =, +,+-- -, %, and \@.+tag_value :: Lens.Lens' Tag (Prelude.Maybe Prelude.Text)+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++instance Data.FromJSON Tag where+ parseJSON =+ Data.withObject+ "Tag"+ ( \x ->+ Tag'+ Prelude.<$> (x Data..:? "Key")+ Prelude.<*> (x Data..:? "Value")+ )++instance Prelude.Hashable Tag where+ hashWithSalt _salt Tag' {..} =+ _salt+ `Prelude.hashWithSalt` key+ `Prelude.hashWithSalt` value++instance Prelude.NFData Tag where+ rnf Tag' {..} =+ Prelude.rnf key `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Tag where+ toJSON Tag' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("Key" Data..=) Prelude.<$> key,+ ("Value" Data..=) Prelude.<$> value+ ]+ )
+ gen/Amazonka/MachineLearning/Types/TaggableResourceType.hs view
@@ -0,0 +1,81 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Types.TaggableResourceType+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Types.TaggableResourceType+ ( TaggableResourceType+ ( ..,+ TaggableResourceType_BatchPrediction,+ TaggableResourceType_DataSource,+ TaggableResourceType_Evaluation,+ TaggableResourceType_MLModel+ ),+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TaggableResourceType = TaggableResourceType'+ { fromTaggableResourceType ::+ Data.Text+ }+ deriving stock+ ( Prelude.Show,+ Prelude.Read,+ Prelude.Eq,+ Prelude.Ord,+ Prelude.Generic+ )+ deriving newtype+ ( Prelude.Hashable,+ Prelude.NFData,+ Data.FromText,+ Data.ToText,+ Data.ToByteString,+ Data.ToLog,+ Data.ToHeader,+ Data.ToQuery,+ Data.FromJSON,+ Data.FromJSONKey,+ Data.ToJSON,+ Data.ToJSONKey,+ Data.FromXML,+ Data.ToXML+ )++pattern TaggableResourceType_BatchPrediction :: TaggableResourceType+pattern TaggableResourceType_BatchPrediction = TaggableResourceType' "BatchPrediction"++pattern TaggableResourceType_DataSource :: TaggableResourceType+pattern TaggableResourceType_DataSource = TaggableResourceType' "DataSource"++pattern TaggableResourceType_Evaluation :: TaggableResourceType+pattern TaggableResourceType_Evaluation = TaggableResourceType' "Evaluation"++pattern TaggableResourceType_MLModel :: TaggableResourceType+pattern TaggableResourceType_MLModel = TaggableResourceType' "MLModel"++{-# COMPLETE+ TaggableResourceType_BatchPrediction,+ TaggableResourceType_DataSource,+ TaggableResourceType_Evaluation,+ TaggableResourceType_MLModel,+ TaggableResourceType'+ #-}
+ gen/Amazonka/MachineLearning/UpdateBatchPrediction.hs view
@@ -0,0 +1,207 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.UpdateBatchPrediction+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the @BatchPredictionName@ of a @BatchPrediction@.+--+-- You can use the @GetBatchPrediction@ operation to view the contents of+-- the updated data element.+module Amazonka.MachineLearning.UpdateBatchPrediction+ ( -- * Creating a Request+ UpdateBatchPrediction (..),+ newUpdateBatchPrediction,++ -- * Request Lenses+ updateBatchPrediction_batchPredictionId,+ updateBatchPrediction_batchPredictionName,++ -- * Destructuring the Response+ UpdateBatchPredictionResponse (..),+ newUpdateBatchPredictionResponse,++ -- * Response Lenses+ updateBatchPredictionResponse_batchPredictionId,+ updateBatchPredictionResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateBatchPrediction' smart constructor.+data UpdateBatchPrediction = UpdateBatchPrediction'+ { -- | The ID assigned to the @BatchPrediction@ during creation.+ batchPredictionId :: Prelude.Text,+ -- | A new user-supplied name or description of the @BatchPrediction@.+ batchPredictionName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateBatchPrediction' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionId', 'updateBatchPrediction_batchPredictionId' - The ID assigned to the @BatchPrediction@ during creation.+--+-- 'batchPredictionName', 'updateBatchPrediction_batchPredictionName' - A new user-supplied name or description of the @BatchPrediction@.+newUpdateBatchPrediction ::+ -- | 'batchPredictionId'+ Prelude.Text ->+ -- | 'batchPredictionName'+ Prelude.Text ->+ UpdateBatchPrediction+newUpdateBatchPrediction+ pBatchPredictionId_+ pBatchPredictionName_ =+ UpdateBatchPrediction'+ { batchPredictionId =+ pBatchPredictionId_,+ batchPredictionName = pBatchPredictionName_+ }++-- | The ID assigned to the @BatchPrediction@ during creation.+updateBatchPrediction_batchPredictionId :: Lens.Lens' UpdateBatchPrediction Prelude.Text+updateBatchPrediction_batchPredictionId = Lens.lens (\UpdateBatchPrediction' {batchPredictionId} -> batchPredictionId) (\s@UpdateBatchPrediction' {} a -> s {batchPredictionId = a} :: UpdateBatchPrediction)++-- | A new user-supplied name or description of the @BatchPrediction@.+updateBatchPrediction_batchPredictionName :: Lens.Lens' UpdateBatchPrediction Prelude.Text+updateBatchPrediction_batchPredictionName = Lens.lens (\UpdateBatchPrediction' {batchPredictionName} -> batchPredictionName) (\s@UpdateBatchPrediction' {} a -> s {batchPredictionName = a} :: UpdateBatchPrediction)++instance Core.AWSRequest UpdateBatchPrediction where+ type+ AWSResponse UpdateBatchPrediction =+ UpdateBatchPredictionResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateBatchPredictionResponse'+ Prelude.<$> (x Data..?> "BatchPredictionId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateBatchPrediction where+ hashWithSalt _salt UpdateBatchPrediction' {..} =+ _salt+ `Prelude.hashWithSalt` batchPredictionId+ `Prelude.hashWithSalt` batchPredictionName++instance Prelude.NFData UpdateBatchPrediction where+ rnf UpdateBatchPrediction' {..} =+ Prelude.rnf batchPredictionId+ `Prelude.seq` Prelude.rnf batchPredictionName++instance Data.ToHeaders UpdateBatchPrediction where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.UpdateBatchPrediction" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateBatchPrediction where+ toJSON UpdateBatchPrediction' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just+ ("BatchPredictionId" Data..= batchPredictionId),+ Prelude.Just+ ("BatchPredictionName" Data..= batchPredictionName)+ ]+ )++instance Data.ToPath UpdateBatchPrediction where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateBatchPrediction where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of an @UpdateBatchPrediction@ operation.+--+-- You can see the updated content by using the @GetBatchPrediction@+-- operation.+--+-- /See:/ 'newUpdateBatchPredictionResponse' smart constructor.+data UpdateBatchPredictionResponse = UpdateBatchPredictionResponse'+ { -- | The ID assigned to the @BatchPrediction@ during creation. This value+ -- should be identical to the value of the @BatchPredictionId@ in the+ -- request.+ batchPredictionId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateBatchPredictionResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'batchPredictionId', 'updateBatchPredictionResponse_batchPredictionId' - The ID assigned to the @BatchPrediction@ during creation. This value+-- should be identical to the value of the @BatchPredictionId@ in the+-- request.+--+-- 'httpStatus', 'updateBatchPredictionResponse_httpStatus' - The response's http status code.+newUpdateBatchPredictionResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateBatchPredictionResponse+newUpdateBatchPredictionResponse pHttpStatus_ =+ UpdateBatchPredictionResponse'+ { batchPredictionId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID assigned to the @BatchPrediction@ during creation. This value+-- should be identical to the value of the @BatchPredictionId@ in the+-- request.+updateBatchPredictionResponse_batchPredictionId :: Lens.Lens' UpdateBatchPredictionResponse (Prelude.Maybe Prelude.Text)+updateBatchPredictionResponse_batchPredictionId = Lens.lens (\UpdateBatchPredictionResponse' {batchPredictionId} -> batchPredictionId) (\s@UpdateBatchPredictionResponse' {} a -> s {batchPredictionId = a} :: UpdateBatchPredictionResponse)++-- | The response's http status code.+updateBatchPredictionResponse_httpStatus :: Lens.Lens' UpdateBatchPredictionResponse Prelude.Int+updateBatchPredictionResponse_httpStatus = Lens.lens (\UpdateBatchPredictionResponse' {httpStatus} -> httpStatus) (\s@UpdateBatchPredictionResponse' {} a -> s {httpStatus = a} :: UpdateBatchPredictionResponse)++instance Prelude.NFData UpdateBatchPredictionResponse where+ rnf UpdateBatchPredictionResponse' {..} =+ Prelude.rnf batchPredictionId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/UpdateDataSource.hs view
@@ -0,0 +1,203 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.UpdateDataSource+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the @DataSourceName@ of a @DataSource@.+--+-- You can use the @GetDataSource@ operation to view the contents of the+-- updated data element.+module Amazonka.MachineLearning.UpdateDataSource+ ( -- * Creating a Request+ UpdateDataSource (..),+ newUpdateDataSource,++ -- * Request Lenses+ updateDataSource_dataSourceId,+ updateDataSource_dataSourceName,++ -- * Destructuring the Response+ UpdateDataSourceResponse (..),+ newUpdateDataSourceResponse,++ -- * Response Lenses+ updateDataSourceResponse_dataSourceId,+ updateDataSourceResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateDataSource' smart constructor.+data UpdateDataSource = UpdateDataSource'+ { -- | The ID assigned to the @DataSource@ during creation.+ dataSourceId :: Prelude.Text,+ -- | A new user-supplied name or description of the @DataSource@ that will+ -- replace the current description.+ dataSourceName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateDataSource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataSourceId', 'updateDataSource_dataSourceId' - The ID assigned to the @DataSource@ during creation.+--+-- 'dataSourceName', 'updateDataSource_dataSourceName' - A new user-supplied name or description of the @DataSource@ that will+-- replace the current description.+newUpdateDataSource ::+ -- | 'dataSourceId'+ Prelude.Text ->+ -- | 'dataSourceName'+ Prelude.Text ->+ UpdateDataSource+newUpdateDataSource pDataSourceId_ pDataSourceName_ =+ UpdateDataSource'+ { dataSourceId = pDataSourceId_,+ dataSourceName = pDataSourceName_+ }++-- | The ID assigned to the @DataSource@ during creation.+updateDataSource_dataSourceId :: Lens.Lens' UpdateDataSource Prelude.Text+updateDataSource_dataSourceId = Lens.lens (\UpdateDataSource' {dataSourceId} -> dataSourceId) (\s@UpdateDataSource' {} a -> s {dataSourceId = a} :: UpdateDataSource)++-- | A new user-supplied name or description of the @DataSource@ that will+-- replace the current description.+updateDataSource_dataSourceName :: Lens.Lens' UpdateDataSource Prelude.Text+updateDataSource_dataSourceName = Lens.lens (\UpdateDataSource' {dataSourceName} -> dataSourceName) (\s@UpdateDataSource' {} a -> s {dataSourceName = a} :: UpdateDataSource)++instance Core.AWSRequest UpdateDataSource where+ type+ AWSResponse UpdateDataSource =+ UpdateDataSourceResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateDataSourceResponse'+ Prelude.<$> (x Data..?> "DataSourceId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateDataSource where+ hashWithSalt _salt UpdateDataSource' {..} =+ _salt+ `Prelude.hashWithSalt` dataSourceId+ `Prelude.hashWithSalt` dataSourceName++instance Prelude.NFData UpdateDataSource where+ rnf UpdateDataSource' {..} =+ Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf dataSourceName++instance Data.ToHeaders UpdateDataSource where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.UpdateDataSource" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateDataSource where+ toJSON UpdateDataSource' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("DataSourceId" Data..= dataSourceId),+ Prelude.Just+ ("DataSourceName" Data..= dataSourceName)+ ]+ )++instance Data.ToPath UpdateDataSource where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateDataSource where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of an @UpdateDataSource@ operation.+--+-- You can see the updated content by using the @GetBatchPrediction@+-- operation.+--+-- /See:/ 'newUpdateDataSourceResponse' smart constructor.+data UpdateDataSourceResponse = UpdateDataSourceResponse'+ { -- | The ID assigned to the @DataSource@ during creation. This value should+ -- be identical to the value of the @DataSourceID@ in the request.+ dataSourceId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateDataSourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataSourceId', 'updateDataSourceResponse_dataSourceId' - The ID assigned to the @DataSource@ during creation. This value should+-- be identical to the value of the @DataSourceID@ in the request.+--+-- 'httpStatus', 'updateDataSourceResponse_httpStatus' - The response's http status code.+newUpdateDataSourceResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateDataSourceResponse+newUpdateDataSourceResponse pHttpStatus_ =+ UpdateDataSourceResponse'+ { dataSourceId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID assigned to the @DataSource@ during creation. This value should+-- be identical to the value of the @DataSourceID@ in the request.+updateDataSourceResponse_dataSourceId :: Lens.Lens' UpdateDataSourceResponse (Prelude.Maybe Prelude.Text)+updateDataSourceResponse_dataSourceId = Lens.lens (\UpdateDataSourceResponse' {dataSourceId} -> dataSourceId) (\s@UpdateDataSourceResponse' {} a -> s {dataSourceId = a} :: UpdateDataSourceResponse)++-- | The response's http status code.+updateDataSourceResponse_httpStatus :: Lens.Lens' UpdateDataSourceResponse Prelude.Int+updateDataSourceResponse_httpStatus = Lens.lens (\UpdateDataSourceResponse' {httpStatus} -> httpStatus) (\s@UpdateDataSourceResponse' {} a -> s {httpStatus = a} :: UpdateDataSourceResponse)++instance Prelude.NFData UpdateDataSourceResponse where+ rnf UpdateDataSourceResponse' {..} =+ Prelude.rnf dataSourceId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/UpdateEvaluation.hs view
@@ -0,0 +1,202 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.UpdateEvaluation+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the @EvaluationName@ of an @Evaluation@.+--+-- You can use the @GetEvaluation@ operation to view the contents of the+-- updated data element.+module Amazonka.MachineLearning.UpdateEvaluation+ ( -- * Creating a Request+ UpdateEvaluation (..),+ newUpdateEvaluation,++ -- * Request Lenses+ updateEvaluation_evaluationId,+ updateEvaluation_evaluationName,++ -- * Destructuring the Response+ UpdateEvaluationResponse (..),+ newUpdateEvaluationResponse,++ -- * Response Lenses+ updateEvaluationResponse_evaluationId,+ updateEvaluationResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateEvaluation' smart constructor.+data UpdateEvaluation = UpdateEvaluation'+ { -- | The ID assigned to the @Evaluation@ during creation.+ evaluationId :: Prelude.Text,+ -- | A new user-supplied name or description of the @Evaluation@ that will+ -- replace the current content.+ evaluationName :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateEvaluation' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'evaluationId', 'updateEvaluation_evaluationId' - The ID assigned to the @Evaluation@ during creation.+--+-- 'evaluationName', 'updateEvaluation_evaluationName' - A new user-supplied name or description of the @Evaluation@ that will+-- replace the current content.+newUpdateEvaluation ::+ -- | 'evaluationId'+ Prelude.Text ->+ -- | 'evaluationName'+ Prelude.Text ->+ UpdateEvaluation+newUpdateEvaluation pEvaluationId_ pEvaluationName_ =+ UpdateEvaluation'+ { evaluationId = pEvaluationId_,+ evaluationName = pEvaluationName_+ }++-- | The ID assigned to the @Evaluation@ during creation.+updateEvaluation_evaluationId :: Lens.Lens' UpdateEvaluation Prelude.Text+updateEvaluation_evaluationId = Lens.lens (\UpdateEvaluation' {evaluationId} -> evaluationId) (\s@UpdateEvaluation' {} a -> s {evaluationId = a} :: UpdateEvaluation)++-- | A new user-supplied name or description of the @Evaluation@ that will+-- replace the current content.+updateEvaluation_evaluationName :: Lens.Lens' UpdateEvaluation Prelude.Text+updateEvaluation_evaluationName = Lens.lens (\UpdateEvaluation' {evaluationName} -> evaluationName) (\s@UpdateEvaluation' {} a -> s {evaluationName = a} :: UpdateEvaluation)++instance Core.AWSRequest UpdateEvaluation where+ type+ AWSResponse UpdateEvaluation =+ UpdateEvaluationResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateEvaluationResponse'+ Prelude.<$> (x Data..?> "EvaluationId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateEvaluation where+ hashWithSalt _salt UpdateEvaluation' {..} =+ _salt+ `Prelude.hashWithSalt` evaluationId+ `Prelude.hashWithSalt` evaluationName++instance Prelude.NFData UpdateEvaluation where+ rnf UpdateEvaluation' {..} =+ Prelude.rnf evaluationId+ `Prelude.seq` Prelude.rnf evaluationName++instance Data.ToHeaders UpdateEvaluation where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.UpdateEvaluation" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateEvaluation where+ toJSON UpdateEvaluation' {..} =+ Data.object+ ( Prelude.catMaybes+ [ Prelude.Just ("EvaluationId" Data..= evaluationId),+ Prelude.Just+ ("EvaluationName" Data..= evaluationName)+ ]+ )++instance Data.ToPath UpdateEvaluation where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateEvaluation where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of an @UpdateEvaluation@ operation.+--+-- You can see the updated content by using the @GetEvaluation@ operation.+--+-- /See:/ 'newUpdateEvaluationResponse' smart constructor.+data UpdateEvaluationResponse = UpdateEvaluationResponse'+ { -- | The ID assigned to the @Evaluation@ during creation. This value should+ -- be identical to the value of the @Evaluation@ in the request.+ evaluationId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateEvaluationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'evaluationId', 'updateEvaluationResponse_evaluationId' - The ID assigned to the @Evaluation@ during creation. This value should+-- be identical to the value of the @Evaluation@ in the request.+--+-- 'httpStatus', 'updateEvaluationResponse_httpStatus' - The response's http status code.+newUpdateEvaluationResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateEvaluationResponse+newUpdateEvaluationResponse pHttpStatus_ =+ UpdateEvaluationResponse'+ { evaluationId =+ Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID assigned to the @Evaluation@ during creation. This value should+-- be identical to the value of the @Evaluation@ in the request.+updateEvaluationResponse_evaluationId :: Lens.Lens' UpdateEvaluationResponse (Prelude.Maybe Prelude.Text)+updateEvaluationResponse_evaluationId = Lens.lens (\UpdateEvaluationResponse' {evaluationId} -> evaluationId) (\s@UpdateEvaluationResponse' {} a -> s {evaluationId = a} :: UpdateEvaluationResponse)++-- | The response's http status code.+updateEvaluationResponse_httpStatus :: Lens.Lens' UpdateEvaluationResponse Prelude.Int+updateEvaluationResponse_httpStatus = Lens.lens (\UpdateEvaluationResponse' {httpStatus} -> httpStatus) (\s@UpdateEvaluationResponse' {} a -> s {httpStatus = a} :: UpdateEvaluationResponse)++instance Prelude.NFData UpdateEvaluationResponse where+ rnf UpdateEvaluationResponse' {..} =+ Prelude.rnf evaluationId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/UpdateMLModel.hs view
@@ -0,0 +1,227 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.UpdateMLModel+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the @MLModelName@ and the @ScoreThreshold@ of an @MLModel@.+--+-- You can use the @GetMLModel@ operation to view the contents of the+-- updated data element.+module Amazonka.MachineLearning.UpdateMLModel+ ( -- * Creating a Request+ UpdateMLModel (..),+ newUpdateMLModel,++ -- * Request Lenses+ updateMLModel_mLModelName,+ updateMLModel_scoreThreshold,+ updateMLModel_mLModelId,++ -- * Destructuring the Response+ UpdateMLModelResponse (..),+ newUpdateMLModelResponse,++ -- * Response Lenses+ updateMLModelResponse_mLModelId,+ updateMLModelResponse_httpStatus,+ )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateMLModel' smart constructor.+data UpdateMLModel = UpdateMLModel'+ { -- | A user-supplied name or description of the @MLModel@.+ mLModelName :: Prelude.Maybe Prelude.Text,+ -- | The @ScoreThreshold@ used in binary classification @MLModel@ that marks+ -- the boundary between a positive prediction and a negative prediction.+ --+ -- Output values greater than or equal to the @ScoreThreshold@ receive a+ -- positive result from the @MLModel@, such as @true@. Output values less+ -- than the @ScoreThreshold@ receive a negative response from the+ -- @MLModel@, such as @false@.+ scoreThreshold :: Prelude.Maybe Prelude.Double,+ -- | The ID assigned to the @MLModel@ during creation.+ mLModelId :: Prelude.Text+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateMLModel' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelName', 'updateMLModel_mLModelName' - A user-supplied name or description of the @MLModel@.+--+-- 'scoreThreshold', 'updateMLModel_scoreThreshold' - The @ScoreThreshold@ used in binary classification @MLModel@ that marks+-- the boundary between a positive prediction and a negative prediction.+--+-- Output values greater than or equal to the @ScoreThreshold@ receive a+-- positive result from the @MLModel@, such as @true@. Output values less+-- than the @ScoreThreshold@ receive a negative response from the+-- @MLModel@, such as @false@.+--+-- 'mLModelId', 'updateMLModel_mLModelId' - The ID assigned to the @MLModel@ during creation.+newUpdateMLModel ::+ -- | 'mLModelId'+ Prelude.Text ->+ UpdateMLModel+newUpdateMLModel pMLModelId_ =+ UpdateMLModel'+ { mLModelName = Prelude.Nothing,+ scoreThreshold = Prelude.Nothing,+ mLModelId = pMLModelId_+ }++-- | A user-supplied name or description of the @MLModel@.+updateMLModel_mLModelName :: Lens.Lens' UpdateMLModel (Prelude.Maybe Prelude.Text)+updateMLModel_mLModelName = Lens.lens (\UpdateMLModel' {mLModelName} -> mLModelName) (\s@UpdateMLModel' {} a -> s {mLModelName = a} :: UpdateMLModel)++-- | The @ScoreThreshold@ used in binary classification @MLModel@ that marks+-- the boundary between a positive prediction and a negative prediction.+--+-- Output values greater than or equal to the @ScoreThreshold@ receive a+-- positive result from the @MLModel@, such as @true@. Output values less+-- than the @ScoreThreshold@ receive a negative response from the+-- @MLModel@, such as @false@.+updateMLModel_scoreThreshold :: Lens.Lens' UpdateMLModel (Prelude.Maybe Prelude.Double)+updateMLModel_scoreThreshold = Lens.lens (\UpdateMLModel' {scoreThreshold} -> scoreThreshold) (\s@UpdateMLModel' {} a -> s {scoreThreshold = a} :: UpdateMLModel)++-- | The ID assigned to the @MLModel@ during creation.+updateMLModel_mLModelId :: Lens.Lens' UpdateMLModel Prelude.Text+updateMLModel_mLModelId = Lens.lens (\UpdateMLModel' {mLModelId} -> mLModelId) (\s@UpdateMLModel' {} a -> s {mLModelId = a} :: UpdateMLModel)++instance Core.AWSRequest UpdateMLModel where+ type+ AWSResponse UpdateMLModel =+ UpdateMLModelResponse+ request overrides =+ Request.postJSON (overrides defaultService)+ response =+ Response.receiveJSON+ ( \s h x ->+ UpdateMLModelResponse'+ Prelude.<$> (x Data..?> "MLModelId")+ Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+ )++instance Prelude.Hashable UpdateMLModel where+ hashWithSalt _salt UpdateMLModel' {..} =+ _salt+ `Prelude.hashWithSalt` mLModelName+ `Prelude.hashWithSalt` scoreThreshold+ `Prelude.hashWithSalt` mLModelId++instance Prelude.NFData UpdateMLModel where+ rnf UpdateMLModel' {..} =+ Prelude.rnf mLModelName+ `Prelude.seq` Prelude.rnf scoreThreshold+ `Prelude.seq` Prelude.rnf mLModelId++instance Data.ToHeaders UpdateMLModel where+ toHeaders =+ Prelude.const+ ( Prelude.mconcat+ [ "X-Amz-Target"+ Data.=# ( "AmazonML_20141212.UpdateMLModel" ::+ Prelude.ByteString+ ),+ "Content-Type"+ Data.=# ( "application/x-amz-json-1.1" ::+ Prelude.ByteString+ )+ ]+ )++instance Data.ToJSON UpdateMLModel where+ toJSON UpdateMLModel' {..} =+ Data.object+ ( Prelude.catMaybes+ [ ("MLModelName" Data..=) Prelude.<$> mLModelName,+ ("ScoreThreshold" Data..=)+ Prelude.<$> scoreThreshold,+ Prelude.Just ("MLModelId" Data..= mLModelId)+ ]+ )++instance Data.ToPath UpdateMLModel where+ toPath = Prelude.const "/"++instance Data.ToQuery UpdateMLModel where+ toQuery = Prelude.const Prelude.mempty++-- | Represents the output of an @UpdateMLModel@ operation.+--+-- You can see the updated content by using the @GetMLModel@ operation.+--+-- /See:/ 'newUpdateMLModelResponse' smart constructor.+data UpdateMLModelResponse = UpdateMLModelResponse'+ { -- | The ID assigned to the @MLModel@ during creation. This value should be+ -- identical to the value of the @MLModelID@ in the request.+ mLModelId :: Prelude.Maybe Prelude.Text,+ -- | The response's http status code.+ httpStatus :: Prelude.Int+ }+ deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateMLModelResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'mLModelId', 'updateMLModelResponse_mLModelId' - The ID assigned to the @MLModel@ during creation. This value should be+-- identical to the value of the @MLModelID@ in the request.+--+-- 'httpStatus', 'updateMLModelResponse_httpStatus' - The response's http status code.+newUpdateMLModelResponse ::+ -- | 'httpStatus'+ Prelude.Int ->+ UpdateMLModelResponse+newUpdateMLModelResponse pHttpStatus_ =+ UpdateMLModelResponse'+ { mLModelId = Prelude.Nothing,+ httpStatus = pHttpStatus_+ }++-- | The ID assigned to the @MLModel@ during creation. This value should be+-- identical to the value of the @MLModelID@ in the request.+updateMLModelResponse_mLModelId :: Lens.Lens' UpdateMLModelResponse (Prelude.Maybe Prelude.Text)+updateMLModelResponse_mLModelId = Lens.lens (\UpdateMLModelResponse' {mLModelId} -> mLModelId) (\s@UpdateMLModelResponse' {} a -> s {mLModelId = a} :: UpdateMLModelResponse)++-- | The response's http status code.+updateMLModelResponse_httpStatus :: Lens.Lens' UpdateMLModelResponse Prelude.Int+updateMLModelResponse_httpStatus = Lens.lens (\UpdateMLModelResponse' {httpStatus} -> httpStatus) (\s@UpdateMLModelResponse' {} a -> s {httpStatus = a} :: UpdateMLModelResponse)++instance Prelude.NFData UpdateMLModelResponse where+ rnf UpdateMLModelResponse' {..} =+ Prelude.rnf mLModelId+ `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/MachineLearning/Waiters.hs view
@@ -0,0 +1,176 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Amazonka.MachineLearning.Waiters+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.MachineLearning.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import Amazonka.MachineLearning.DescribeBatchPredictions+import Amazonka.MachineLearning.DescribeDataSources+import Amazonka.MachineLearning.DescribeEvaluations+import Amazonka.MachineLearning.DescribeMLModels+import Amazonka.MachineLearning.Lens+import Amazonka.MachineLearning.Types+import qualified Amazonka.Prelude as Prelude++-- | Polls 'Amazonka.MachineLearning.DescribeBatchPredictions' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.+newBatchPredictionAvailable :: Core.Wait DescribeBatchPredictions+newBatchPredictionAvailable =+ Core.Wait+ { Core.name = "BatchPredictionAvailable",+ Core.attempts = 60,+ Core.delay = 30,+ Core.acceptors =+ [ Core.matchAll+ "COMPLETED"+ Core.AcceptSuccess+ ( Lens.folding+ ( Lens.concatOf+ ( describeBatchPredictionsResponse_results+ Prelude.. Lens._Just+ )+ )+ Prelude.. batchPrediction_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ ),+ Core.matchAny+ "FAILED"+ Core.AcceptFailure+ ( Lens.folding+ ( Lens.concatOf+ ( describeBatchPredictionsResponse_results+ Prelude.. Lens._Just+ )+ )+ Prelude.. batchPrediction_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }++-- | Polls 'Amazonka.MachineLearning.DescribeDataSources' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.+newDataSourceAvailable :: Core.Wait DescribeDataSources+newDataSourceAvailable =+ Core.Wait+ { Core.name = "DataSourceAvailable",+ Core.attempts = 60,+ Core.delay = 30,+ Core.acceptors =+ [ Core.matchAll+ "COMPLETED"+ Core.AcceptSuccess+ ( Lens.folding+ ( Lens.concatOf+ ( describeDataSourcesResponse_results+ Prelude.. Lens._Just+ )+ )+ Prelude.. dataSource_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ ),+ Core.matchAny+ "FAILED"+ Core.AcceptFailure+ ( Lens.folding+ ( Lens.concatOf+ ( describeDataSourcesResponse_results+ Prelude.. Lens._Just+ )+ )+ Prelude.. dataSource_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }++-- | Polls 'Amazonka.MachineLearning.DescribeEvaluations' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.+newEvaluationAvailable :: Core.Wait DescribeEvaluations+newEvaluationAvailable =+ Core.Wait+ { Core.name = "EvaluationAvailable",+ Core.attempts = 60,+ Core.delay = 30,+ Core.acceptors =+ [ Core.matchAll+ "COMPLETED"+ Core.AcceptSuccess+ ( Lens.folding+ ( Lens.concatOf+ ( describeEvaluationsResponse_results+ Prelude.. Lens._Just+ )+ )+ Prelude.. evaluation_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ ),+ Core.matchAny+ "FAILED"+ Core.AcceptFailure+ ( Lens.folding+ ( Lens.concatOf+ ( describeEvaluationsResponse_results+ Prelude.. Lens._Just+ )+ )+ Prelude.. evaluation_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }++-- | Polls 'Amazonka.MachineLearning.DescribeMLModels' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.+newMLModelAvailable :: Core.Wait DescribeMLModels+newMLModelAvailable =+ Core.Wait+ { Core.name = "MLModelAvailable",+ Core.attempts = 60,+ Core.delay = 30,+ Core.acceptors =+ [ Core.matchAll+ "COMPLETED"+ Core.AcceptSuccess+ ( Lens.folding+ ( Lens.concatOf+ ( describeMLModelsResponse_results+ Prelude.. Lens._Just+ )+ )+ Prelude.. mLModel_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ ),+ Core.matchAny+ "FAILED"+ Core.AcceptFailure+ ( Lens.folding+ ( Lens.concatOf+ ( describeMLModelsResponse_results+ Prelude.. Lens._Just+ )+ )+ Prelude.. mLModel_status+ Prelude.. Lens._Just+ Prelude.. Lens.to Data.toTextCI+ )+ ]+ }
− gen/Network/AWS/MachineLearning.hs
@@ -1,429 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Definition of the public APIs exposed by Amazon Machine Learning-module Network.AWS.MachineLearning- (- -- * Service Configuration- machineLearning-- -- * Errors- -- $errors-- -- ** InvalidTagException- , _InvalidTagException-- -- ** InternalServerException- , _InternalServerException-- -- ** InvalidInputException- , _InvalidInputException-- -- ** IdempotentParameterMismatchException- , _IdempotentParameterMismatchException-- -- ** TagLimitExceededException- , _TagLimitExceededException-- -- ** PredictorNotMountedException- , _PredictorNotMountedException-- -- ** ResourceNotFoundException- , _ResourceNotFoundException-- -- ** LimitExceededException- , _LimitExceededException-- -- * Waiters- -- $waiters-- -- ** MLModelAvailable- , mLModelAvailable-- -- ** BatchPredictionAvailable- , batchPredictionAvailable-- -- ** DataSourceAvailable- , dataSourceAvailable-- -- ** EvaluationAvailable- , evaluationAvailable-- -- * Operations- -- $operations-- -- ** UpdateDataSource- , module Network.AWS.MachineLearning.UpdateDataSource-- -- ** DeleteDataSource- , module Network.AWS.MachineLearning.DeleteDataSource-- -- ** DescribeTags- , module Network.AWS.MachineLearning.DescribeTags-- -- ** CreateDataSourceFromRedshift- , module Network.AWS.MachineLearning.CreateDataSourceFromRedshift-- -- ** CreateDataSourceFromS3- , module Network.AWS.MachineLearning.CreateDataSourceFromS3-- -- ** CreateMLModel- , module Network.AWS.MachineLearning.CreateMLModel-- -- ** DeleteTags- , module Network.AWS.MachineLearning.DeleteTags-- -- ** DeleteBatchPrediction- , module Network.AWS.MachineLearning.DeleteBatchPrediction-- -- ** UpdateBatchPrediction- , module Network.AWS.MachineLearning.UpdateBatchPrediction-- -- ** GetMLModel- , module Network.AWS.MachineLearning.GetMLModel-- -- ** GetDataSource- , module Network.AWS.MachineLearning.GetDataSource-- -- ** UpdateEvaluation- , module Network.AWS.MachineLearning.UpdateEvaluation-- -- ** DeleteEvaluation- , module Network.AWS.MachineLearning.DeleteEvaluation-- -- ** DeleteMLModel- , module Network.AWS.MachineLearning.DeleteMLModel-- -- ** UpdateMLModel- , module Network.AWS.MachineLearning.UpdateMLModel-- -- ** GetBatchPrediction- , module Network.AWS.MachineLearning.GetBatchPrediction-- -- ** DescribeBatchPredictions (Paginated)- , module Network.AWS.MachineLearning.DescribeBatchPredictions-- -- ** CreateDataSourceFromRDS- , module Network.AWS.MachineLearning.CreateDataSourceFromRDS-- -- ** CreateEvaluation- , module Network.AWS.MachineLearning.CreateEvaluation-- -- ** Predict- , module Network.AWS.MachineLearning.Predict-- -- ** DeleteRealtimeEndpoint- , module Network.AWS.MachineLearning.DeleteRealtimeEndpoint-- -- ** CreateBatchPrediction- , module Network.AWS.MachineLearning.CreateBatchPrediction-- -- ** GetEvaluation- , module Network.AWS.MachineLearning.GetEvaluation-- -- ** DescribeEvaluations (Paginated)- , module Network.AWS.MachineLearning.DescribeEvaluations-- -- ** CreateRealtimeEndpoint- , module Network.AWS.MachineLearning.CreateRealtimeEndpoint-- -- ** AddTags- , module Network.AWS.MachineLearning.AddTags-- -- ** DescribeMLModels (Paginated)- , module Network.AWS.MachineLearning.DescribeMLModels-- -- ** DescribeDataSources (Paginated)- , module Network.AWS.MachineLearning.DescribeDataSources-- -- * Types-- -- ** Algorithm- , Algorithm (..)-- -- ** BatchPredictionFilterVariable- , BatchPredictionFilterVariable (..)-- -- ** DataSourceFilterVariable- , DataSourceFilterVariable (..)-- -- ** DetailsAttributes- , DetailsAttributes (..)-- -- ** EntityStatus- , EntityStatus (..)-- -- ** EvaluationFilterVariable- , EvaluationFilterVariable (..)-- -- ** MLModelFilterVariable- , MLModelFilterVariable (..)-- -- ** MLModelType- , MLModelType (..)-- -- ** RealtimeEndpointStatus- , RealtimeEndpointStatus (..)-- -- ** SortOrder- , SortOrder (..)-- -- ** TaggableResourceType- , TaggableResourceType (..)-- -- ** BatchPrediction- , BatchPrediction- , batchPrediction- , bpStatus- , bpLastUpdatedAt- , bpCreatedAt- , bpComputeTime- , bpInputDataLocationS3- , bpMLModelId- , bpBatchPredictionDataSourceId- , bpTotalRecordCount- , bpStartedAt- , bpBatchPredictionId- , bpFinishedAt- , bpInvalidRecordCount- , bpCreatedByIAMUser- , bpName- , bpMessage- , bpOutputURI-- -- ** DataSource- , DataSource- , dataSource- , dsStatus- , dsNumberOfFiles- , dsLastUpdatedAt- , dsCreatedAt- , dsComputeTime- , dsDataSourceId- , dsRDSMetadata- , dsDataSizeInBytes- , dsStartedAt- , dsFinishedAt- , dsCreatedByIAMUser- , dsName- , dsDataLocationS3- , dsComputeStatistics- , dsMessage- , dsRedshiftMetadata- , dsDataRearrangement- , dsRoleARN-- -- ** Evaluation- , Evaluation- , evaluation- , eStatus- , ePerformanceMetrics- , eLastUpdatedAt- , eCreatedAt- , eComputeTime- , eInputDataLocationS3- , eMLModelId- , eStartedAt- , eFinishedAt- , eCreatedByIAMUser- , eName- , eEvaluationId- , eMessage- , eEvaluationDataSourceId-- -- ** MLModel- , MLModel- , mLModel- , mlmStatus- , mlmLastUpdatedAt- , mlmTrainingParameters- , mlmScoreThresholdLastUpdatedAt- , mlmCreatedAt- , mlmComputeTime- , mlmInputDataLocationS3- , mlmMLModelId- , mlmSizeInBytes- , mlmStartedAt- , mlmScoreThreshold- , mlmFinishedAt- , mlmAlgorithm- , mlmCreatedByIAMUser- , mlmName- , mlmEndpointInfo- , mlmTrainingDataSourceId- , mlmMessage- , mlmMLModelType-- -- ** PerformanceMetrics- , PerformanceMetrics- , performanceMetrics- , pmProperties-- -- ** Prediction- , Prediction- , prediction- , pPredictedValue- , pPredictedLabel- , pPredictedScores- , pDetails-- -- ** RDSDataSpec- , RDSDataSpec- , rdsDataSpec- , rdsdsDataSchemaURI- , rdsdsDataSchema- , rdsdsDataRearrangement- , rdsdsDatabaseInformation- , rdsdsSelectSqlQuery- , rdsdsDatabaseCredentials- , rdsdsS3StagingLocation- , rdsdsResourceRole- , rdsdsServiceRole- , rdsdsSubnetId- , rdsdsSecurityGroupIds-- -- ** RDSDatabase- , RDSDatabase- , rdsDatabase- , rdsdInstanceIdentifier- , rdsdDatabaseName-- -- ** RDSDatabaseCredentials- , RDSDatabaseCredentials- , rdsDatabaseCredentials- , rdsdcUsername- , rdsdcPassword-- -- ** RDSMetadata- , RDSMetadata- , rdsMetadata- , rmSelectSqlQuery- , rmDataPipelineId- , rmDatabase- , rmDatabaseUserName- , rmResourceRole- , rmServiceRole-- -- ** RealtimeEndpointInfo- , RealtimeEndpointInfo- , realtimeEndpointInfo- , reiCreatedAt- , reiEndpointURL- , reiEndpointStatus- , reiPeakRequestsPerSecond-- -- ** RedshiftDataSpec- , RedshiftDataSpec- , redshiftDataSpec- , rDataSchemaURI- , rDataSchema- , rDataRearrangement- , rDatabaseInformation- , rSelectSqlQuery- , rDatabaseCredentials- , rS3StagingLocation-- -- ** RedshiftDatabase- , RedshiftDatabase- , redshiftDatabase- , rdDatabaseName- , rdClusterIdentifier-- -- ** RedshiftDatabaseCredentials- , RedshiftDatabaseCredentials- , redshiftDatabaseCredentials- , rdcUsername- , rdcPassword-- -- ** RedshiftMetadata- , RedshiftMetadata- , redshiftMetadata- , redSelectSqlQuery- , redRedshiftDatabase- , redDatabaseUserName-- -- ** S3DataSpec- , S3DataSpec- , s3DataSpec- , sdsDataSchema- , sdsDataSchemaLocationS3- , sdsDataRearrangement- , sdsDataLocationS3-- -- ** Tag- , Tag- , tag- , tagValue- , tagKey- ) where--import Network.AWS.MachineLearning.AddTags-import Network.AWS.MachineLearning.CreateBatchPrediction-import Network.AWS.MachineLearning.CreateDataSourceFromRDS-import Network.AWS.MachineLearning.CreateDataSourceFromRedshift-import Network.AWS.MachineLearning.CreateDataSourceFromS3-import Network.AWS.MachineLearning.CreateEvaluation-import Network.AWS.MachineLearning.CreateMLModel-import Network.AWS.MachineLearning.CreateRealtimeEndpoint-import Network.AWS.MachineLearning.DeleteBatchPrediction-import Network.AWS.MachineLearning.DeleteDataSource-import Network.AWS.MachineLearning.DeleteEvaluation-import Network.AWS.MachineLearning.DeleteMLModel-import Network.AWS.MachineLearning.DeleteRealtimeEndpoint-import Network.AWS.MachineLearning.DeleteTags-import Network.AWS.MachineLearning.DescribeBatchPredictions-import Network.AWS.MachineLearning.DescribeDataSources-import Network.AWS.MachineLearning.DescribeEvaluations-import Network.AWS.MachineLearning.DescribeMLModels-import Network.AWS.MachineLearning.DescribeTags-import Network.AWS.MachineLearning.GetBatchPrediction-import Network.AWS.MachineLearning.GetDataSource-import Network.AWS.MachineLearning.GetEvaluation-import Network.AWS.MachineLearning.GetMLModel-import Network.AWS.MachineLearning.Predict-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.UpdateBatchPrediction-import Network.AWS.MachineLearning.UpdateDataSource-import Network.AWS.MachineLearning.UpdateEvaluation-import Network.AWS.MachineLearning.UpdateMLModel-import Network.AWS.MachineLearning.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'MachineLearning'.--}--{- $operations-Some AWS operations return results that are incomplete and require subsequent-requests in order to obtain the entire result set. The process of sending-subsequent requests to continue where a previous request left off is called-pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to-1000 objects at a time, and you must send subsequent requests with the-appropriate Marker in order to retrieve the next page of results.--Operations that have an 'AWSPager' instance can transparently perform subsequent-requests, correctly setting Markers and other request facets to iterate through-the entire result set of a truncated API operation. Operations which support-this have an additional note in the documentation.--Many operations have the ability to filter results on the server side. See the-individual operation parameters for details.--}--{- $waiters-Waiters poll by repeatedly sending a request until some remote success condition-configured by the 'Wait' specification is fulfilled. The 'Wait' specification-determines how many attempts should be made, in addition to delay and retry strategies.--}
− gen/Network/AWS/MachineLearning/AddTags.hs
@@ -1,172 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.AddTags--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, @AddTags@ updates the tag's value.-------module Network.AWS.MachineLearning.AddTags- (- -- * Creating a Request- addTags- , AddTags- -- * Request Lenses- , atTags- , atResourceId- , atResourceType-- -- * Destructuring the Response- , addTagsResponse- , AddTagsResponse- -- * Response Lenses- , atrsResourceId- , atrsResourceType- , atrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'addTags' smart constructor.-data AddTags = AddTags'- { _atTags :: ![Tag]- , _atResourceId :: !Text- , _atResourceType :: !TaggableResourceType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AddTags' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'atTags' - The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null.------ * 'atResourceId' - The ID of the ML object to tag. For example, @exampleModelId@ .------ * 'atResourceType' - The type of the ML object to tag.-addTags- :: Text -- ^ 'atResourceId'- -> TaggableResourceType -- ^ 'atResourceType'- -> AddTags-addTags pResourceId_ pResourceType_ =- AddTags'- { _atTags = mempty- , _atResourceId = pResourceId_- , _atResourceType = pResourceType_- }----- | The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null.-atTags :: Lens' AddTags [Tag]-atTags = lens _atTags (\ s a -> s{_atTags = a}) . _Coerce---- | The ID of the ML object to tag. For example, @exampleModelId@ .-atResourceId :: Lens' AddTags Text-atResourceId = lens _atResourceId (\ s a -> s{_atResourceId = a})---- | The type of the ML object to tag.-atResourceType :: Lens' AddTags TaggableResourceType-atResourceType = lens _atResourceType (\ s a -> s{_atResourceType = a})--instance AWSRequest AddTags where- type Rs AddTags = AddTagsResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- AddTagsResponse' <$>- (x .?> "ResourceId") <*> (x .?> "ResourceType") <*>- (pure (fromEnum s)))--instance Hashable AddTags where--instance NFData AddTags where--instance ToHeaders AddTags where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.AddTags" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON AddTags where- toJSON AddTags'{..}- = object- (catMaybes- [Just ("Tags" .= _atTags),- Just ("ResourceId" .= _atResourceId),- Just ("ResourceType" .= _atResourceType)])--instance ToPath AddTags where- toPath = const "/"--instance ToQuery AddTags where- toQuery = const mempty---- | Amazon ML returns the following elements.------------ /See:/ 'addTagsResponse' smart constructor.-data AddTagsResponse = AddTagsResponse'- { _atrsResourceId :: !(Maybe Text)- , _atrsResourceType :: !(Maybe TaggableResourceType)- , _atrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'AddTagsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'atrsResourceId' - The ID of the ML object that was tagged.------ * 'atrsResourceType' - The type of the ML object that was tagged.------ * 'atrsResponseStatus' - -- | The response status code.-addTagsResponse- :: Int -- ^ 'atrsResponseStatus'- -> AddTagsResponse-addTagsResponse pResponseStatus_ =- AddTagsResponse'- { _atrsResourceId = Nothing- , _atrsResourceType = Nothing- , _atrsResponseStatus = pResponseStatus_- }----- | The ID of the ML object that was tagged.-atrsResourceId :: Lens' AddTagsResponse (Maybe Text)-atrsResourceId = lens _atrsResourceId (\ s a -> s{_atrsResourceId = a})---- | The type of the ML object that was tagged.-atrsResourceType :: Lens' AddTagsResponse (Maybe TaggableResourceType)-atrsResourceType = lens _atrsResourceType (\ s a -> s{_atrsResourceType = a})---- | -- | The response status code.-atrsResponseStatus :: Lens' AddTagsResponse Int-atrsResponseStatus = lens _atrsResponseStatus (\ s a -> s{_atrsResponseStatus = a})--instance NFData AddTagsResponse where
− gen/Network/AWS/MachineLearning/CreateBatchPrediction.hs
@@ -1,193 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.CreateBatchPrediction--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a @DataSource@ . This operation creates a new @BatchPrediction@ , and uses an @MLModel@ and the data files referenced by the @DataSource@ as information sources.--------- @CreateBatchPrediction@ is an asynchronous operation. In response to @CreateBatchPrediction@ , Amazon Machine Learning (Amazon ML) immediately returns and sets the @BatchPrediction@ status to @PENDING@ . After the @BatchPrediction@ completes, Amazon ML sets the status to @COMPLETED@ .------ You can poll for status updates by using the 'GetBatchPrediction' operation and checking the @Status@ parameter of the result. After the @COMPLETED@ status appears, the results are available in the location specified by the @OutputUri@ parameter.----module Network.AWS.MachineLearning.CreateBatchPrediction- (- -- * Creating a Request- createBatchPrediction- , CreateBatchPrediction- -- * Request Lenses- , cbpBatchPredictionName- , cbpBatchPredictionId- , cbpMLModelId- , cbpBatchPredictionDataSourceId- , cbpOutputURI-- -- * Destructuring the Response- , createBatchPredictionResponse- , CreateBatchPredictionResponse- -- * Response Lenses- , cbprsBatchPredictionId- , cbprsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createBatchPrediction' smart constructor.-data CreateBatchPrediction = CreateBatchPrediction'- { _cbpBatchPredictionName :: !(Maybe Text)- , _cbpBatchPredictionId :: !Text- , _cbpMLModelId :: !Text- , _cbpBatchPredictionDataSourceId :: !Text- , _cbpOutputURI :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateBatchPrediction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cbpBatchPredictionName' - A user-supplied name or description of the @BatchPrediction@ . @BatchPredictionName@ can only use the UTF-8 character set.------ * 'cbpBatchPredictionId' - A user-supplied ID that uniquely identifies the @BatchPrediction@ .------ * 'cbpMLModelId' - The ID of the @MLModel@ that will generate predictions for the group of observations.------ * 'cbpBatchPredictionDataSourceId' - The ID of the @DataSource@ that points to the group of observations to predict.------ * 'cbpOutputURI' - The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the @s3 key@ portion of the @outputURI@ field: ':', '//', '/./', '/../'. Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .-createBatchPrediction- :: Text -- ^ 'cbpBatchPredictionId'- -> Text -- ^ 'cbpMLModelId'- -> Text -- ^ 'cbpBatchPredictionDataSourceId'- -> Text -- ^ 'cbpOutputURI'- -> CreateBatchPrediction-createBatchPrediction pBatchPredictionId_ pMLModelId_ pBatchPredictionDataSourceId_ pOutputURI_ =- CreateBatchPrediction'- { _cbpBatchPredictionName = Nothing- , _cbpBatchPredictionId = pBatchPredictionId_- , _cbpMLModelId = pMLModelId_- , _cbpBatchPredictionDataSourceId = pBatchPredictionDataSourceId_- , _cbpOutputURI = pOutputURI_- }----- | A user-supplied name or description of the @BatchPrediction@ . @BatchPredictionName@ can only use the UTF-8 character set.-cbpBatchPredictionName :: Lens' CreateBatchPrediction (Maybe Text)-cbpBatchPredictionName = lens _cbpBatchPredictionName (\ s a -> s{_cbpBatchPredictionName = a})---- | A user-supplied ID that uniquely identifies the @BatchPrediction@ .-cbpBatchPredictionId :: Lens' CreateBatchPrediction Text-cbpBatchPredictionId = lens _cbpBatchPredictionId (\ s a -> s{_cbpBatchPredictionId = a})---- | The ID of the @MLModel@ that will generate predictions for the group of observations.-cbpMLModelId :: Lens' CreateBatchPrediction Text-cbpMLModelId = lens _cbpMLModelId (\ s a -> s{_cbpMLModelId = a})---- | The ID of the @DataSource@ that points to the group of observations to predict.-cbpBatchPredictionDataSourceId :: Lens' CreateBatchPrediction Text-cbpBatchPredictionDataSourceId = lens _cbpBatchPredictionDataSourceId (\ s a -> s{_cbpBatchPredictionDataSourceId = a})---- | The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the @s3 key@ portion of the @outputURI@ field: ':', '//', '/./', '/../'. Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .-cbpOutputURI :: Lens' CreateBatchPrediction Text-cbpOutputURI = lens _cbpOutputURI (\ s a -> s{_cbpOutputURI = a})--instance AWSRequest CreateBatchPrediction where- type Rs CreateBatchPrediction =- CreateBatchPredictionResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- CreateBatchPredictionResponse' <$>- (x .?> "BatchPredictionId") <*> (pure (fromEnum s)))--instance Hashable CreateBatchPrediction where--instance NFData CreateBatchPrediction where--instance ToHeaders CreateBatchPrediction where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.CreateBatchPrediction" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateBatchPrediction where- toJSON CreateBatchPrediction'{..}- = object- (catMaybes- [("BatchPredictionName" .=) <$>- _cbpBatchPredictionName,- Just ("BatchPredictionId" .= _cbpBatchPredictionId),- Just ("MLModelId" .= _cbpMLModelId),- Just- ("BatchPredictionDataSourceId" .=- _cbpBatchPredictionDataSourceId),- Just ("OutputUri" .= _cbpOutputURI)])--instance ToPath CreateBatchPrediction where- toPath = const "/"--instance ToQuery CreateBatchPrediction where- toQuery = const mempty---- | Represents the output of a @CreateBatchPrediction@ operation, and is an acknowledgement that Amazon ML received the request.--------- The @CreateBatchPrediction@ operation is asynchronous. You can poll for status updates by using the @>GetBatchPrediction@ operation and checking the @Status@ parameter of the result.--------- /See:/ 'createBatchPredictionResponse' smart constructor.-data CreateBatchPredictionResponse = CreateBatchPredictionResponse'- { _cbprsBatchPredictionId :: !(Maybe Text)- , _cbprsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateBatchPredictionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cbprsBatchPredictionId' - A user-supplied ID that uniquely identifies the @BatchPrediction@ . This value is identical to the value of the @BatchPredictionId@ in the request.------ * 'cbprsResponseStatus' - -- | The response status code.-createBatchPredictionResponse- :: Int -- ^ 'cbprsResponseStatus'- -> CreateBatchPredictionResponse-createBatchPredictionResponse pResponseStatus_ =- CreateBatchPredictionResponse'- {_cbprsBatchPredictionId = Nothing, _cbprsResponseStatus = pResponseStatus_}----- | A user-supplied ID that uniquely identifies the @BatchPrediction@ . This value is identical to the value of the @BatchPredictionId@ in the request.-cbprsBatchPredictionId :: Lens' CreateBatchPredictionResponse (Maybe Text)-cbprsBatchPredictionId = lens _cbprsBatchPredictionId (\ s a -> s{_cbprsBatchPredictionId = a})---- | -- | The response status code.-cbprsResponseStatus :: Lens' CreateBatchPredictionResponse Int-cbprsResponseStatus = lens _cbprsResponseStatus (\ s a -> s{_cbprsResponseStatus = a})--instance NFData CreateBatchPredictionResponse where
− gen/Network/AWS/MachineLearning/CreateDataSourceFromRDS.hs
@@ -1,192 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.CreateDataSourceFromRDS--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a @DataSource@ object from an <http://aws.amazon.com/rds/ Amazon Relational Database Service> (Amazon RDS). A @DataSource@ references data that can be used to perform @CreateMLModel@ , @CreateEvaluation@ , or @CreateBatchPrediction@ operations.--------- @CreateDataSourceFromRDS@ is an asynchronous operation. In response to @CreateDataSourceFromRDS@ , Amazon Machine Learning (Amazon ML) immediately returns and sets the @DataSource@ status to @PENDING@ . After the @DataSource@ is created and ready for use, Amazon ML sets the @Status@ parameter to @COMPLETED@ . @DataSource@ in the @COMPLETED@ or @PENDING@ state can be used only to perform @>CreateMLModel@ >, @CreateEvaluation@ , or @CreateBatchPrediction@ operations.------ If Amazon ML cannot accept the input source, it sets the @Status@ parameter to @FAILED@ and includes an error message in the @Message@ attribute of the @GetDataSource@ operation response.----module Network.AWS.MachineLearning.CreateDataSourceFromRDS- (- -- * Creating a Request- createDataSourceFromRDS- , CreateDataSourceFromRDS- -- * Request Lenses- , cdsfrdsDataSourceName- , cdsfrdsComputeStatistics- , cdsfrdsDataSourceId- , cdsfrdsRDSData- , cdsfrdsRoleARN-- -- * Destructuring the Response- , createDataSourceFromRDSResponse- , CreateDataSourceFromRDSResponse- -- * Response Lenses- , cdsfrdsrsDataSourceId- , cdsfrdsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createDataSourceFromRDS' smart constructor.-data CreateDataSourceFromRDS = CreateDataSourceFromRDS'- { _cdsfrdsDataSourceName :: !(Maybe Text)- , _cdsfrdsComputeStatistics :: !(Maybe Bool)- , _cdsfrdsDataSourceId :: !Text- , _cdsfrdsRDSData :: !RDSDataSpec- , _cdsfrdsRoleARN :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateDataSourceFromRDS' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdsfrdsDataSourceName' - A user-supplied name or description of the @DataSource@ .------ * 'cdsfrdsComputeStatistics' - The compute statistics for a @DataSource@ . The statistics are generated from the observation data referenced by a @DataSource@ . Amazon ML uses the statistics internally during @MLModel@ training. This parameter must be set to @true@ if the DataSourceneeds to be used for @MLModel@ training.------ * 'cdsfrdsDataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@ . Typically, an Amazon Resource Number (ARN) becomes the ID for a @DataSource@ .------ * 'cdsfrdsRDSData' - The data specification of an Amazon RDS @DataSource@ : * DatabaseInformation - * @DatabaseName@ - The name of the Amazon RDS database. * @InstanceIdentifier @ - A unique identifier for the Amazon RDS database instance. * DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database. * ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple Storage Service (Amazon S3). For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines. * ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines. * SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [@SubnetId@ , @SecurityGroupIds@ ] pair for a VPC-based RDS DB instance. * SelectSqlQuery - A query that is used to retrieve the observation data for the @Datasource@ . * S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using @SelectSqlQuery@ is stored in this location. * DataSchemaUri - The Amazon S3 location of the @DataSchema@ . * DataSchema - A JSON string representing the schema. This is not required if @DataSchemaUri@ is specified. * DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the @Datasource@ . Sample - @"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"@------ * 'cdsfrdsRoleARN' - The role that Amazon ML assumes on behalf of the user to create and activate a data pipeline in the user's account and copy data using the @SelectSqlQuery@ query from Amazon RDS to Amazon S3.-createDataSourceFromRDS- :: Text -- ^ 'cdsfrdsDataSourceId'- -> RDSDataSpec -- ^ 'cdsfrdsRDSData'- -> Text -- ^ 'cdsfrdsRoleARN'- -> CreateDataSourceFromRDS-createDataSourceFromRDS pDataSourceId_ pRDSData_ pRoleARN_ =- CreateDataSourceFromRDS'- { _cdsfrdsDataSourceName = Nothing- , _cdsfrdsComputeStatistics = Nothing- , _cdsfrdsDataSourceId = pDataSourceId_- , _cdsfrdsRDSData = pRDSData_- , _cdsfrdsRoleARN = pRoleARN_- }----- | A user-supplied name or description of the @DataSource@ .-cdsfrdsDataSourceName :: Lens' CreateDataSourceFromRDS (Maybe Text)-cdsfrdsDataSourceName = lens _cdsfrdsDataSourceName (\ s a -> s{_cdsfrdsDataSourceName = a})---- | The compute statistics for a @DataSource@ . The statistics are generated from the observation data referenced by a @DataSource@ . Amazon ML uses the statistics internally during @MLModel@ training. This parameter must be set to @true@ if the DataSourceneeds to be used for @MLModel@ training.-cdsfrdsComputeStatistics :: Lens' CreateDataSourceFromRDS (Maybe Bool)-cdsfrdsComputeStatistics = lens _cdsfrdsComputeStatistics (\ s a -> s{_cdsfrdsComputeStatistics = a})---- | A user-supplied ID that uniquely identifies the @DataSource@ . Typically, an Amazon Resource Number (ARN) becomes the ID for a @DataSource@ .-cdsfrdsDataSourceId :: Lens' CreateDataSourceFromRDS Text-cdsfrdsDataSourceId = lens _cdsfrdsDataSourceId (\ s a -> s{_cdsfrdsDataSourceId = a})---- | The data specification of an Amazon RDS @DataSource@ : * DatabaseInformation - * @DatabaseName@ - The name of the Amazon RDS database. * @InstanceIdentifier @ - A unique identifier for the Amazon RDS database instance. * DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database. * ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple Storage Service (Amazon S3). For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines. * ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines. * SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [@SubnetId@ , @SecurityGroupIds@ ] pair for a VPC-based RDS DB instance. * SelectSqlQuery - A query that is used to retrieve the observation data for the @Datasource@ . * S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using @SelectSqlQuery@ is stored in this location. * DataSchemaUri - The Amazon S3 location of the @DataSchema@ . * DataSchema - A JSON string representing the schema. This is not required if @DataSchemaUri@ is specified. * DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the @Datasource@ . Sample - @"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"@-cdsfrdsRDSData :: Lens' CreateDataSourceFromRDS RDSDataSpec-cdsfrdsRDSData = lens _cdsfrdsRDSData (\ s a -> s{_cdsfrdsRDSData = a})---- | The role that Amazon ML assumes on behalf of the user to create and activate a data pipeline in the user's account and copy data using the @SelectSqlQuery@ query from Amazon RDS to Amazon S3.-cdsfrdsRoleARN :: Lens' CreateDataSourceFromRDS Text-cdsfrdsRoleARN = lens _cdsfrdsRoleARN (\ s a -> s{_cdsfrdsRoleARN = a})--instance AWSRequest CreateDataSourceFromRDS where- type Rs CreateDataSourceFromRDS =- CreateDataSourceFromRDSResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- CreateDataSourceFromRDSResponse' <$>- (x .?> "DataSourceId") <*> (pure (fromEnum s)))--instance Hashable CreateDataSourceFromRDS where--instance NFData CreateDataSourceFromRDS where--instance ToHeaders CreateDataSourceFromRDS where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.CreateDataSourceFromRDS" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateDataSourceFromRDS where- toJSON CreateDataSourceFromRDS'{..}- = object- (catMaybes- [("DataSourceName" .=) <$> _cdsfrdsDataSourceName,- ("ComputeStatistics" .=) <$>- _cdsfrdsComputeStatistics,- Just ("DataSourceId" .= _cdsfrdsDataSourceId),- Just ("RDSData" .= _cdsfrdsRDSData),- Just ("RoleARN" .= _cdsfrdsRoleARN)])--instance ToPath CreateDataSourceFromRDS where- toPath = const "/"--instance ToQuery CreateDataSourceFromRDS where- toQuery = const mempty---- | Represents the output of a @CreateDataSourceFromRDS@ operation, and is an acknowledgement that Amazon ML received the request.--------- The @CreateDataSourceFromRDS@ > operation is asynchronous. You can poll for updates by using the @GetBatchPrediction@ operation and checking the @Status@ parameter. You can inspect the @Message@ when @Status@ shows up as @FAILED@ . You can also check the progress of the copy operation by going to the @DataPipeline@ console and looking up the pipeline using the @pipelineId @ from the describe call.--------- /See:/ 'createDataSourceFromRDSResponse' smart constructor.-data CreateDataSourceFromRDSResponse = CreateDataSourceFromRDSResponse'- { _cdsfrdsrsDataSourceId :: !(Maybe Text)- , _cdsfrdsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateDataSourceFromRDSResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdsfrdsrsDataSourceId' - A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the @DataSourceID@ in the request.------ * 'cdsfrdsrsResponseStatus' - -- | The response status code.-createDataSourceFromRDSResponse- :: Int -- ^ 'cdsfrdsrsResponseStatus'- -> CreateDataSourceFromRDSResponse-createDataSourceFromRDSResponse pResponseStatus_ =- CreateDataSourceFromRDSResponse'- { _cdsfrdsrsDataSourceId = Nothing- , _cdsfrdsrsResponseStatus = pResponseStatus_- }----- | A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the @DataSourceID@ in the request.-cdsfrdsrsDataSourceId :: Lens' CreateDataSourceFromRDSResponse (Maybe Text)-cdsfrdsrsDataSourceId = lens _cdsfrdsrsDataSourceId (\ s a -> s{_cdsfrdsrsDataSourceId = a})---- | -- | The response status code.-cdsfrdsrsResponseStatus :: Lens' CreateDataSourceFromRDSResponse Int-cdsfrdsrsResponseStatus = lens _cdsfrdsrsResponseStatus (\ s a -> s{_cdsfrdsrsResponseStatus = a})--instance NFData CreateDataSourceFromRDSResponse where
− gen/Network/AWS/MachineLearning/CreateDataSourceFromRedshift.hs
@@ -1,197 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.CreateDataSourceFromRedshift--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a @DataSource@ from a database hosted on an Amazon Redshift cluster. A @DataSource@ references data that can be used to perform either @CreateMLModel@ , @CreateEvaluation@ , or @CreateBatchPrediction@ operations.--------- @CreateDataSourceFromRedshift@ is an asynchronous operation. In response to @CreateDataSourceFromRedshift@ , Amazon Machine Learning (Amazon ML) immediately returns and sets the @DataSource@ status to @PENDING@ . After the @DataSource@ is created and ready for use, Amazon ML sets the @Status@ parameter to @COMPLETED@ . @DataSource@ in @COMPLETED@ or @PENDING@ states can be used to perform only @CreateMLModel@ , @CreateEvaluation@ , or @CreateBatchPrediction@ operations.------ If Amazon ML can't accept the input source, it sets the @Status@ parameter to @FAILED@ and includes an error message in the @Message@ attribute of the @GetDataSource@ operation response.------ The observations should be contained in the database hosted on an Amazon Redshift cluster and should be specified by a @SelectSqlQuery@ query. Amazon ML executes an @Unload@ command in Amazon Redshift to transfer the result set of the @SelectSqlQuery@ query to @S3StagingLocation@ .------ After the @DataSource@ has been created, it's ready for use in evaluations and batch predictions. If you plan to use the @DataSource@ to train an @MLModel@ , the @DataSource@ also requires a recipe. A recipe describes how each input variable will be used in training an @MLModel@ . Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions.------ You can't change an existing datasource, but you can copy and modify the settings from an existing Amazon Redshift datasource to create a new datasource. To do so, call @GetDataSource@ for an existing datasource and copy the values to a @CreateDataSource@ call. Change the settings that you want to change and make sure that all required fields have the appropriate values.----module Network.AWS.MachineLearning.CreateDataSourceFromRedshift- (- -- * Creating a Request- createDataSourceFromRedshift- , CreateDataSourceFromRedshift- -- * Request Lenses- , cdsfrDataSourceName- , cdsfrComputeStatistics- , cdsfrDataSourceId- , cdsfrDataSpec- , cdsfrRoleARN-- -- * Destructuring the Response- , createDataSourceFromRedshiftResponse- , CreateDataSourceFromRedshiftResponse- -- * Response Lenses- , cdsfrrsDataSourceId- , cdsfrrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createDataSourceFromRedshift' smart constructor.-data CreateDataSourceFromRedshift = CreateDataSourceFromRedshift'- { _cdsfrDataSourceName :: !(Maybe Text)- , _cdsfrComputeStatistics :: !(Maybe Bool)- , _cdsfrDataSourceId :: !Text- , _cdsfrDataSpec :: !RedshiftDataSpec- , _cdsfrRoleARN :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateDataSourceFromRedshift' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdsfrDataSourceName' - A user-supplied name or description of the @DataSource@ .------ * 'cdsfrComputeStatistics' - The compute statistics for a @DataSource@ . The statistics are generated from the observation data referenced by a @DataSource@ . Amazon ML uses the statistics internally during @MLModel@ training. This parameter must be set to @true@ if the @DataSource@ needs to be used for @MLModel@ training.------ * 'cdsfrDataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@ .------ * 'cdsfrDataSpec' - The data specification of an Amazon Redshift @DataSource@ : * DatabaseInformation - * @DatabaseName@ - The name of the Amazon Redshift database. * @ClusterIdentifier@ - The unique ID for the Amazon Redshift cluster. * DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database. * SelectSqlQuery - The query that is used to retrieve the observation data for the @Datasource@ . * S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Redshift using the @SelectSqlQuery@ query is stored in this location. * DataSchemaUri - The Amazon S3 location of the @DataSchema@ . * DataSchema - A JSON string representing the schema. This is not required if @DataSchemaUri@ is specified. * DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the @DataSource@ . Sample - @"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"@------ * 'cdsfrRoleARN' - A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following: * A security group to allow Amazon ML to execute the @SelectSqlQuery@ query on an Amazon Redshift cluster * An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the @S3StagingLocation@-createDataSourceFromRedshift- :: Text -- ^ 'cdsfrDataSourceId'- -> RedshiftDataSpec -- ^ 'cdsfrDataSpec'- -> Text -- ^ 'cdsfrRoleARN'- -> CreateDataSourceFromRedshift-createDataSourceFromRedshift pDataSourceId_ pDataSpec_ pRoleARN_ =- CreateDataSourceFromRedshift'- { _cdsfrDataSourceName = Nothing- , _cdsfrComputeStatistics = Nothing- , _cdsfrDataSourceId = pDataSourceId_- , _cdsfrDataSpec = pDataSpec_- , _cdsfrRoleARN = pRoleARN_- }----- | A user-supplied name or description of the @DataSource@ .-cdsfrDataSourceName :: Lens' CreateDataSourceFromRedshift (Maybe Text)-cdsfrDataSourceName = lens _cdsfrDataSourceName (\ s a -> s{_cdsfrDataSourceName = a})---- | The compute statistics for a @DataSource@ . The statistics are generated from the observation data referenced by a @DataSource@ . Amazon ML uses the statistics internally during @MLModel@ training. This parameter must be set to @true@ if the @DataSource@ needs to be used for @MLModel@ training.-cdsfrComputeStatistics :: Lens' CreateDataSourceFromRedshift (Maybe Bool)-cdsfrComputeStatistics = lens _cdsfrComputeStatistics (\ s a -> s{_cdsfrComputeStatistics = a})---- | A user-supplied ID that uniquely identifies the @DataSource@ .-cdsfrDataSourceId :: Lens' CreateDataSourceFromRedshift Text-cdsfrDataSourceId = lens _cdsfrDataSourceId (\ s a -> s{_cdsfrDataSourceId = a})---- | The data specification of an Amazon Redshift @DataSource@ : * DatabaseInformation - * @DatabaseName@ - The name of the Amazon Redshift database. * @ClusterIdentifier@ - The unique ID for the Amazon Redshift cluster. * DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database. * SelectSqlQuery - The query that is used to retrieve the observation data for the @Datasource@ . * S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Redshift using the @SelectSqlQuery@ query is stored in this location. * DataSchemaUri - The Amazon S3 location of the @DataSchema@ . * DataSchema - A JSON string representing the schema. This is not required if @DataSchemaUri@ is specified. * DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the @DataSource@ . Sample - @"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"@-cdsfrDataSpec :: Lens' CreateDataSourceFromRedshift RedshiftDataSpec-cdsfrDataSpec = lens _cdsfrDataSpec (\ s a -> s{_cdsfrDataSpec = a})---- | A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following: * A security group to allow Amazon ML to execute the @SelectSqlQuery@ query on an Amazon Redshift cluster * An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the @S3StagingLocation@-cdsfrRoleARN :: Lens' CreateDataSourceFromRedshift Text-cdsfrRoleARN = lens _cdsfrRoleARN (\ s a -> s{_cdsfrRoleARN = a})--instance AWSRequest CreateDataSourceFromRedshift- where- type Rs CreateDataSourceFromRedshift =- CreateDataSourceFromRedshiftResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- CreateDataSourceFromRedshiftResponse' <$>- (x .?> "DataSourceId") <*> (pure (fromEnum s)))--instance Hashable CreateDataSourceFromRedshift where--instance NFData CreateDataSourceFromRedshift where--instance ToHeaders CreateDataSourceFromRedshift where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.CreateDataSourceFromRedshift" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateDataSourceFromRedshift where- toJSON CreateDataSourceFromRedshift'{..}- = object- (catMaybes- [("DataSourceName" .=) <$> _cdsfrDataSourceName,- ("ComputeStatistics" .=) <$> _cdsfrComputeStatistics,- Just ("DataSourceId" .= _cdsfrDataSourceId),- Just ("DataSpec" .= _cdsfrDataSpec),- Just ("RoleARN" .= _cdsfrRoleARN)])--instance ToPath CreateDataSourceFromRedshift where- toPath = const "/"--instance ToQuery CreateDataSourceFromRedshift where- toQuery = const mempty---- | Represents the output of a @CreateDataSourceFromRedshift@ operation, and is an acknowledgement that Amazon ML received the request.--------- The @CreateDataSourceFromRedshift@ operation is asynchronous. You can poll for updates by using the @GetBatchPrediction@ operation and checking the @Status@ parameter.--------- /See:/ 'createDataSourceFromRedshiftResponse' smart constructor.-data CreateDataSourceFromRedshiftResponse = CreateDataSourceFromRedshiftResponse'- { _cdsfrrsDataSourceId :: !(Maybe Text)- , _cdsfrrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateDataSourceFromRedshiftResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdsfrrsDataSourceId' - A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the @DataSourceID@ in the request.------ * 'cdsfrrsResponseStatus' - -- | The response status code.-createDataSourceFromRedshiftResponse- :: Int -- ^ 'cdsfrrsResponseStatus'- -> CreateDataSourceFromRedshiftResponse-createDataSourceFromRedshiftResponse pResponseStatus_ =- CreateDataSourceFromRedshiftResponse'- {_cdsfrrsDataSourceId = Nothing, _cdsfrrsResponseStatus = pResponseStatus_}----- | A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the @DataSourceID@ in the request.-cdsfrrsDataSourceId :: Lens' CreateDataSourceFromRedshiftResponse (Maybe Text)-cdsfrrsDataSourceId = lens _cdsfrrsDataSourceId (\ s a -> s{_cdsfrrsDataSourceId = a})---- | -- | The response status code.-cdsfrrsResponseStatus :: Lens' CreateDataSourceFromRedshiftResponse Int-cdsfrrsResponseStatus = lens _cdsfrrsResponseStatus (\ s a -> s{_cdsfrrsResponseStatus = a})--instance NFData CreateDataSourceFromRedshiftResponse- where
− gen/Network/AWS/MachineLearning/CreateDataSourceFromS3.hs
@@ -1,182 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.CreateDataSourceFromS3--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a @DataSource@ object. A @DataSource@ references data that can be used to perform @CreateMLModel@ , @CreateEvaluation@ , or @CreateBatchPrediction@ operations.--------- @CreateDataSourceFromS3@ is an asynchronous operation. In response to @CreateDataSourceFromS3@ , Amazon Machine Learning (Amazon ML) immediately returns and sets the @DataSource@ status to @PENDING@ . After the @DataSource@ has been created and is ready for use, Amazon ML sets the @Status@ parameter to @COMPLETED@ . @DataSource@ in the @COMPLETED@ or @PENDING@ state can be used to perform only @CreateMLModel@ , @CreateEvaluation@ or @CreateBatchPrediction@ operations.------ If Amazon ML can't accept the input source, it sets the @Status@ parameter to @FAILED@ and includes an error message in the @Message@ attribute of the @GetDataSource@ operation response.------ The observation data used in a @DataSource@ should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more .csv files in an Amazon Simple Storage Service (Amazon S3) location, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by the @DataSource@ .------ After the @DataSource@ has been created, it's ready to use in evaluations and batch predictions. If you plan to use the @DataSource@ to train an @MLModel@ , the @DataSource@ also needs a recipe. A recipe describes how each input variable will be used in training an @MLModel@ . Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions.----module Network.AWS.MachineLearning.CreateDataSourceFromS3- (- -- * Creating a Request- createDataSourceFromS3- , CreateDataSourceFromS3- -- * Request Lenses- , cdsfsDataSourceName- , cdsfsComputeStatistics- , cdsfsDataSourceId- , cdsfsDataSpec-- -- * Destructuring the Response- , createDataSourceFromS3Response- , CreateDataSourceFromS3Response- -- * Response Lenses- , cdsfsrsDataSourceId- , cdsfsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createDataSourceFromS3' smart constructor.-data CreateDataSourceFromS3 = CreateDataSourceFromS3'- { _cdsfsDataSourceName :: !(Maybe Text)- , _cdsfsComputeStatistics :: !(Maybe Bool)- , _cdsfsDataSourceId :: !Text- , _cdsfsDataSpec :: !S3DataSpec- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateDataSourceFromS3' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdsfsDataSourceName' - A user-supplied name or description of the @DataSource@ .------ * 'cdsfsComputeStatistics' - The compute statistics for a @DataSource@ . The statistics are generated from the observation data referenced by a @DataSource@ . Amazon ML uses the statistics internally during @MLModel@ training. This parameter must be set to @true@ if the DataSourceneeds to be used for @MLModel@ training.------ * 'cdsfsDataSourceId' - A user-supplied identifier that uniquely identifies the @DataSource@ .------ * 'cdsfsDataSpec' - The data specification of a @DataSource@ : * DataLocationS3 - The Amazon S3 location of the observation data. * DataSchemaLocationS3 - The Amazon S3 location of the @DataSchema@ . * DataSchema - A JSON string representing the schema. This is not required if @DataSchemaUri@ is specified. * DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the @Datasource@ . Sample - @"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"@-createDataSourceFromS3- :: Text -- ^ 'cdsfsDataSourceId'- -> S3DataSpec -- ^ 'cdsfsDataSpec'- -> CreateDataSourceFromS3-createDataSourceFromS3 pDataSourceId_ pDataSpec_ =- CreateDataSourceFromS3'- { _cdsfsDataSourceName = Nothing- , _cdsfsComputeStatistics = Nothing- , _cdsfsDataSourceId = pDataSourceId_- , _cdsfsDataSpec = pDataSpec_- }----- | A user-supplied name or description of the @DataSource@ .-cdsfsDataSourceName :: Lens' CreateDataSourceFromS3 (Maybe Text)-cdsfsDataSourceName = lens _cdsfsDataSourceName (\ s a -> s{_cdsfsDataSourceName = a})---- | The compute statistics for a @DataSource@ . The statistics are generated from the observation data referenced by a @DataSource@ . Amazon ML uses the statistics internally during @MLModel@ training. This parameter must be set to @true@ if the DataSourceneeds to be used for @MLModel@ training.-cdsfsComputeStatistics :: Lens' CreateDataSourceFromS3 (Maybe Bool)-cdsfsComputeStatistics = lens _cdsfsComputeStatistics (\ s a -> s{_cdsfsComputeStatistics = a})---- | A user-supplied identifier that uniquely identifies the @DataSource@ .-cdsfsDataSourceId :: Lens' CreateDataSourceFromS3 Text-cdsfsDataSourceId = lens _cdsfsDataSourceId (\ s a -> s{_cdsfsDataSourceId = a})---- | The data specification of a @DataSource@ : * DataLocationS3 - The Amazon S3 location of the observation data. * DataSchemaLocationS3 - The Amazon S3 location of the @DataSchema@ . * DataSchema - A JSON string representing the schema. This is not required if @DataSchemaUri@ is specified. * DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the @Datasource@ . Sample - @"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"@-cdsfsDataSpec :: Lens' CreateDataSourceFromS3 S3DataSpec-cdsfsDataSpec = lens _cdsfsDataSpec (\ s a -> s{_cdsfsDataSpec = a})--instance AWSRequest CreateDataSourceFromS3 where- type Rs CreateDataSourceFromS3 =- CreateDataSourceFromS3Response- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- CreateDataSourceFromS3Response' <$>- (x .?> "DataSourceId") <*> (pure (fromEnum s)))--instance Hashable CreateDataSourceFromS3 where--instance NFData CreateDataSourceFromS3 where--instance ToHeaders CreateDataSourceFromS3 where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.CreateDataSourceFromS3" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateDataSourceFromS3 where- toJSON CreateDataSourceFromS3'{..}- = object- (catMaybes- [("DataSourceName" .=) <$> _cdsfsDataSourceName,- ("ComputeStatistics" .=) <$> _cdsfsComputeStatistics,- Just ("DataSourceId" .= _cdsfsDataSourceId),- Just ("DataSpec" .= _cdsfsDataSpec)])--instance ToPath CreateDataSourceFromS3 where- toPath = const "/"--instance ToQuery CreateDataSourceFromS3 where- toQuery = const mempty---- | Represents the output of a @CreateDataSourceFromS3@ operation, and is an acknowledgement that Amazon ML received the request.--------- The @CreateDataSourceFromS3@ operation is asynchronous. You can poll for updates by using the @GetBatchPrediction@ operation and checking the @Status@ parameter.--------- /See:/ 'createDataSourceFromS3Response' smart constructor.-data CreateDataSourceFromS3Response = CreateDataSourceFromS3Response'- { _cdsfsrsDataSourceId :: !(Maybe Text)- , _cdsfsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateDataSourceFromS3Response' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdsfsrsDataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@ . This value should be identical to the value of the @DataSourceID@ in the request.------ * 'cdsfsrsResponseStatus' - -- | The response status code.-createDataSourceFromS3Response- :: Int -- ^ 'cdsfsrsResponseStatus'- -> CreateDataSourceFromS3Response-createDataSourceFromS3Response pResponseStatus_ =- CreateDataSourceFromS3Response'- {_cdsfsrsDataSourceId = Nothing, _cdsfsrsResponseStatus = pResponseStatus_}----- | A user-supplied ID that uniquely identifies the @DataSource@ . This value should be identical to the value of the @DataSourceID@ in the request.-cdsfsrsDataSourceId :: Lens' CreateDataSourceFromS3Response (Maybe Text)-cdsfsrsDataSourceId = lens _cdsfsrsDataSourceId (\ s a -> s{_cdsfsrsDataSourceId = a})---- | -- | The response status code.-cdsfsrsResponseStatus :: Lens' CreateDataSourceFromS3Response Int-cdsfsrsResponseStatus = lens _cdsfsrsResponseStatus (\ s a -> s{_cdsfsrsResponseStatus = a})--instance NFData CreateDataSourceFromS3Response where
− gen/Network/AWS/MachineLearning/CreateEvaluation.hs
@@ -1,179 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.CreateEvaluation--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new @Evaluation@ of an @MLModel@ . An @MLModel@ is evaluated on a set of observations associated to a @DataSource@ . Like a @DataSource@ for an @MLModel@ , the @DataSource@ for an @Evaluation@ contains values for the @Target Variable@ . The @Evaluation@ compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the @MLModel@ functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding @MLModelType@ : @BINARY@ , @REGRESSION@ or @MULTICLASS@ .--------- @CreateEvaluation@ is an asynchronous operation. In response to @CreateEvaluation@ , Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status to @PENDING@ . After the @Evaluation@ is created and ready for use, Amazon ML sets the status to @COMPLETED@ .------ You can use the @GetEvaluation@ operation to check progress of the evaluation during the creation operation.----module Network.AWS.MachineLearning.CreateEvaluation- (- -- * Creating a Request- createEvaluation- , CreateEvaluation- -- * Request Lenses- , ceEvaluationName- , ceEvaluationId- , ceMLModelId- , ceEvaluationDataSourceId-- -- * Destructuring the Response- , createEvaluationResponse- , CreateEvaluationResponse- -- * Response Lenses- , cersEvaluationId- , cersResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createEvaluation' smart constructor.-data CreateEvaluation = CreateEvaluation'- { _ceEvaluationName :: !(Maybe Text)- , _ceEvaluationId :: !Text- , _ceMLModelId :: !Text- , _ceEvaluationDataSourceId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateEvaluation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ceEvaluationName' - A user-supplied name or description of the @Evaluation@ .------ * 'ceEvaluationId' - A user-supplied ID that uniquely identifies the @Evaluation@ .------ * 'ceMLModelId' - The ID of the @MLModel@ to evaluate. The schema used in creating the @MLModel@ must match the schema of the @DataSource@ used in the @Evaluation@ .------ * 'ceEvaluationDataSourceId' - The ID of the @DataSource@ for the evaluation. The schema of the @DataSource@ must match the schema used to create the @MLModel@ .-createEvaluation- :: Text -- ^ 'ceEvaluationId'- -> Text -- ^ 'ceMLModelId'- -> Text -- ^ 'ceEvaluationDataSourceId'- -> CreateEvaluation-createEvaluation pEvaluationId_ pMLModelId_ pEvaluationDataSourceId_ =- CreateEvaluation'- { _ceEvaluationName = Nothing- , _ceEvaluationId = pEvaluationId_- , _ceMLModelId = pMLModelId_- , _ceEvaluationDataSourceId = pEvaluationDataSourceId_- }----- | A user-supplied name or description of the @Evaluation@ .-ceEvaluationName :: Lens' CreateEvaluation (Maybe Text)-ceEvaluationName = lens _ceEvaluationName (\ s a -> s{_ceEvaluationName = a})---- | A user-supplied ID that uniquely identifies the @Evaluation@ .-ceEvaluationId :: Lens' CreateEvaluation Text-ceEvaluationId = lens _ceEvaluationId (\ s a -> s{_ceEvaluationId = a})---- | The ID of the @MLModel@ to evaluate. The schema used in creating the @MLModel@ must match the schema of the @DataSource@ used in the @Evaluation@ .-ceMLModelId :: Lens' CreateEvaluation Text-ceMLModelId = lens _ceMLModelId (\ s a -> s{_ceMLModelId = a})---- | The ID of the @DataSource@ for the evaluation. The schema of the @DataSource@ must match the schema used to create the @MLModel@ .-ceEvaluationDataSourceId :: Lens' CreateEvaluation Text-ceEvaluationDataSourceId = lens _ceEvaluationDataSourceId (\ s a -> s{_ceEvaluationDataSourceId = a})--instance AWSRequest CreateEvaluation where- type Rs CreateEvaluation = CreateEvaluationResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- CreateEvaluationResponse' <$>- (x .?> "EvaluationId") <*> (pure (fromEnum s)))--instance Hashable CreateEvaluation where--instance NFData CreateEvaluation where--instance ToHeaders CreateEvaluation where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.CreateEvaluation" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateEvaluation where- toJSON CreateEvaluation'{..}- = object- (catMaybes- [("EvaluationName" .=) <$> _ceEvaluationName,- Just ("EvaluationId" .= _ceEvaluationId),- Just ("MLModelId" .= _ceMLModelId),- Just- ("EvaluationDataSourceId" .=- _ceEvaluationDataSourceId)])--instance ToPath CreateEvaluation where- toPath = const "/"--instance ToQuery CreateEvaluation where- toQuery = const mempty---- | Represents the output of a @CreateEvaluation@ operation, and is an acknowledgement that Amazon ML received the request.--------- @CreateEvaluation@ operation is asynchronous. You can poll for status updates by using the @GetEvcaluation@ operation and checking the @Status@ parameter.--------- /See:/ 'createEvaluationResponse' smart constructor.-data CreateEvaluationResponse = CreateEvaluationResponse'- { _cersEvaluationId :: !(Maybe Text)- , _cersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateEvaluationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cersEvaluationId' - The user-supplied ID that uniquely identifies the @Evaluation@ . This value should be identical to the value of the @EvaluationId@ in the request.------ * 'cersResponseStatus' - -- | The response status code.-createEvaluationResponse- :: Int -- ^ 'cersResponseStatus'- -> CreateEvaluationResponse-createEvaluationResponse pResponseStatus_ =- CreateEvaluationResponse'- {_cersEvaluationId = Nothing, _cersResponseStatus = pResponseStatus_}----- | The user-supplied ID that uniquely identifies the @Evaluation@ . This value should be identical to the value of the @EvaluationId@ in the request.-cersEvaluationId :: Lens' CreateEvaluationResponse (Maybe Text)-cersEvaluationId = lens _cersEvaluationId (\ s a -> s{_cersEvaluationId = a})---- | -- | The response status code.-cersResponseStatus :: Lens' CreateEvaluationResponse Int-cersResponseStatus = lens _cersResponseStatus (\ s a -> s{_cersResponseStatus = a})--instance NFData CreateEvaluationResponse where
− gen/Network/AWS/MachineLearning/CreateMLModel.hs
@@ -1,213 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.CreateMLModel--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new @MLModel@ using the @DataSource@ and the recipe as information sources.--------- An @MLModel@ is nearly immutable. Users can update only the @MLModelName@ and the @ScoreThreshold@ in an @MLModel@ without creating a new @MLModel@ .------ @CreateMLModel@ is an asynchronous operation. In response to @CreateMLModel@ , Amazon Machine Learning (Amazon ML) immediately returns and sets the @MLModel@ status to @PENDING@ . After the @MLModel@ has been created and ready is for use, Amazon ML sets the status to @COMPLETED@ .------ You can use the @GetMLModel@ operation to check the progress of the @MLModel@ during the creation operation.------ @CreateMLModel@ requires a @DataSource@ with computed statistics, which can be created by setting @ComputeStatistics@ to @true@ in @CreateDataSourceFromRDS@ , @CreateDataSourceFromS3@ , or @CreateDataSourceFromRedshift@ operations.----module Network.AWS.MachineLearning.CreateMLModel- (- -- * Creating a Request- createMLModel- , CreateMLModel- -- * Request Lenses- , cmlmRecipe- , cmlmRecipeURI- , cmlmMLModelName- , cmlmParameters- , cmlmMLModelId- , cmlmMLModelType- , cmlmTrainingDataSourceId-- -- * Destructuring the Response- , createMLModelResponse- , CreateMLModelResponse- -- * Response Lenses- , cmlmrsMLModelId- , cmlmrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createMLModel' smart constructor.-data CreateMLModel = CreateMLModel'- { _cmlmRecipe :: !(Maybe Text)- , _cmlmRecipeURI :: !(Maybe Text)- , _cmlmMLModelName :: !(Maybe Text)- , _cmlmParameters :: !(Maybe (Map Text Text))- , _cmlmMLModelId :: !Text- , _cmlmMLModelType :: !MLModelType- , _cmlmTrainingDataSourceId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateMLModel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmlmRecipe' - The data recipe for creating the @MLModel@ . You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.------ * 'cmlmRecipeURI' - The Amazon Simple Storage Service (Amazon S3) location and file name that contains the @MLModel@ recipe. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.------ * 'cmlmMLModelName' - A user-supplied name or description of the @MLModel@ .------ * 'cmlmParameters' - A list of the training parameters in the @MLModel@ . The list is implemented as a map of key-value pairs. The following is the current set of training parameters: * @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from @100000@ to @2147483648@ . The default value is @33554432@ . * @sgd.maxPasses@ - The number of times that the training process traverses the observations to build the @MLModel@ . The value is an integer that ranges from @1@ to @10000@ . The default value is @10@ . * @sgd.shuffleType@ - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are @auto@ and @none@ . The default value is @none@ . We strongly recommend that you shuffle your data. * @sgd.l1RegularizationAmount@ - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L1 normalization. This parameter can't be used when @L2@ is specified. Use this parameter sparingly. * @sgd.l2RegularizationAmount@ - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L2 normalization. This parameter can't be used when @L1@ is specified. Use this parameter sparingly.------ * 'cmlmMLModelId' - A user-supplied ID that uniquely identifies the @MLModel@ .------ * 'cmlmMLModelType' - The category of supervised learning that this @MLModel@ will address. Choose from the following types: * Choose @REGRESSION@ if the @MLModel@ will be used to predict a numeric value. * Choose @BINARY@ if the @MLModel@ result has two possible values. * Choose @MULTICLASS@ if the @MLModel@ result has a limited number of values. For more information, see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .------ * 'cmlmTrainingDataSourceId' - The @DataSource@ that points to the training data.-createMLModel- :: Text -- ^ 'cmlmMLModelId'- -> MLModelType -- ^ 'cmlmMLModelType'- -> Text -- ^ 'cmlmTrainingDataSourceId'- -> CreateMLModel-createMLModel pMLModelId_ pMLModelType_ pTrainingDataSourceId_ =- CreateMLModel'- { _cmlmRecipe = Nothing- , _cmlmRecipeURI = Nothing- , _cmlmMLModelName = Nothing- , _cmlmParameters = Nothing- , _cmlmMLModelId = pMLModelId_- , _cmlmMLModelType = pMLModelType_- , _cmlmTrainingDataSourceId = pTrainingDataSourceId_- }----- | The data recipe for creating the @MLModel@ . You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.-cmlmRecipe :: Lens' CreateMLModel (Maybe Text)-cmlmRecipe = lens _cmlmRecipe (\ s a -> s{_cmlmRecipe = a})---- | The Amazon Simple Storage Service (Amazon S3) location and file name that contains the @MLModel@ recipe. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.-cmlmRecipeURI :: Lens' CreateMLModel (Maybe Text)-cmlmRecipeURI = lens _cmlmRecipeURI (\ s a -> s{_cmlmRecipeURI = a})---- | A user-supplied name or description of the @MLModel@ .-cmlmMLModelName :: Lens' CreateMLModel (Maybe Text)-cmlmMLModelName = lens _cmlmMLModelName (\ s a -> s{_cmlmMLModelName = a})---- | A list of the training parameters in the @MLModel@ . The list is implemented as a map of key-value pairs. The following is the current set of training parameters: * @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from @100000@ to @2147483648@ . The default value is @33554432@ . * @sgd.maxPasses@ - The number of times that the training process traverses the observations to build the @MLModel@ . The value is an integer that ranges from @1@ to @10000@ . The default value is @10@ . * @sgd.shuffleType@ - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are @auto@ and @none@ . The default value is @none@ . We strongly recommend that you shuffle your data. * @sgd.l1RegularizationAmount@ - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L1 normalization. This parameter can't be used when @L2@ is specified. Use this parameter sparingly. * @sgd.l2RegularizationAmount@ - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L2 normalization. This parameter can't be used when @L1@ is specified. Use this parameter sparingly.-cmlmParameters :: Lens' CreateMLModel (HashMap Text Text)-cmlmParameters = lens _cmlmParameters (\ s a -> s{_cmlmParameters = a}) . _Default . _Map---- | A user-supplied ID that uniquely identifies the @MLModel@ .-cmlmMLModelId :: Lens' CreateMLModel Text-cmlmMLModelId = lens _cmlmMLModelId (\ s a -> s{_cmlmMLModelId = a})---- | The category of supervised learning that this @MLModel@ will address. Choose from the following types: * Choose @REGRESSION@ if the @MLModel@ will be used to predict a numeric value. * Choose @BINARY@ if the @MLModel@ result has two possible values. * Choose @MULTICLASS@ if the @MLModel@ result has a limited number of values. For more information, see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .-cmlmMLModelType :: Lens' CreateMLModel MLModelType-cmlmMLModelType = lens _cmlmMLModelType (\ s a -> s{_cmlmMLModelType = a})---- | The @DataSource@ that points to the training data.-cmlmTrainingDataSourceId :: Lens' CreateMLModel Text-cmlmTrainingDataSourceId = lens _cmlmTrainingDataSourceId (\ s a -> s{_cmlmTrainingDataSourceId = a})--instance AWSRequest CreateMLModel where- type Rs CreateMLModel = CreateMLModelResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- CreateMLModelResponse' <$>- (x .?> "MLModelId") <*> (pure (fromEnum s)))--instance Hashable CreateMLModel where--instance NFData CreateMLModel where--instance ToHeaders CreateMLModel where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.CreateMLModel" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateMLModel where- toJSON CreateMLModel'{..}- = object- (catMaybes- [("Recipe" .=) <$> _cmlmRecipe,- ("RecipeUri" .=) <$> _cmlmRecipeURI,- ("MLModelName" .=) <$> _cmlmMLModelName,- ("Parameters" .=) <$> _cmlmParameters,- Just ("MLModelId" .= _cmlmMLModelId),- Just ("MLModelType" .= _cmlmMLModelType),- Just- ("TrainingDataSourceId" .=- _cmlmTrainingDataSourceId)])--instance ToPath CreateMLModel where- toPath = const "/"--instance ToQuery CreateMLModel where- toQuery = const mempty---- | Represents the output of a @CreateMLModel@ operation, and is an acknowledgement that Amazon ML received the request.--------- The @CreateMLModel@ operation is asynchronous. You can poll for status updates by using the @GetMLModel@ operation and checking the @Status@ parameter.--------- /See:/ 'createMLModelResponse' smart constructor.-data CreateMLModelResponse = CreateMLModelResponse'- { _cmlmrsMLModelId :: !(Maybe Text)- , _cmlmrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateMLModelResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cmlmrsMLModelId' - A user-supplied ID that uniquely identifies the @MLModel@ . This value should be identical to the value of the @MLModelId@ in the request.------ * 'cmlmrsResponseStatus' - -- | The response status code.-createMLModelResponse- :: Int -- ^ 'cmlmrsResponseStatus'- -> CreateMLModelResponse-createMLModelResponse pResponseStatus_ =- CreateMLModelResponse'- {_cmlmrsMLModelId = Nothing, _cmlmrsResponseStatus = pResponseStatus_}----- | A user-supplied ID that uniquely identifies the @MLModel@ . This value should be identical to the value of the @MLModelId@ in the request.-cmlmrsMLModelId :: Lens' CreateMLModelResponse (Maybe Text)-cmlmrsMLModelId = lens _cmlmrsMLModelId (\ s a -> s{_cmlmrsMLModelId = a})---- | -- | The response status code.-cmlmrsResponseStatus :: Lens' CreateMLModelResponse Int-cmlmrsResponseStatus = lens _cmlmrsResponseStatus (\ s a -> s{_cmlmrsResponseStatus = a})--instance NFData CreateMLModelResponse where
− gen/Network/AWS/MachineLearning/CreateRealtimeEndpoint.hs
@@ -1,153 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.CreateRealtimeEndpoint--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a real-time endpoint for the @MLModel@ . The endpoint contains the URI of the @MLModel@ ; that is, the location to send real-time prediction requests for the specified @MLModel@ .-------module Network.AWS.MachineLearning.CreateRealtimeEndpoint- (- -- * Creating a Request- createRealtimeEndpoint- , CreateRealtimeEndpoint- -- * Request Lenses- , creMLModelId-- -- * Destructuring the Response- , createRealtimeEndpointResponse- , CreateRealtimeEndpointResponse- -- * Response Lenses- , crersRealtimeEndpointInfo- , crersMLModelId- , crersResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'createRealtimeEndpoint' smart constructor.-newtype CreateRealtimeEndpoint = CreateRealtimeEndpoint'- { _creMLModelId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateRealtimeEndpoint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'creMLModelId' - The ID assigned to the @MLModel@ during creation.-createRealtimeEndpoint- :: Text -- ^ 'creMLModelId'- -> CreateRealtimeEndpoint-createRealtimeEndpoint pMLModelId_ =- CreateRealtimeEndpoint' {_creMLModelId = pMLModelId_}----- | The ID assigned to the @MLModel@ during creation.-creMLModelId :: Lens' CreateRealtimeEndpoint Text-creMLModelId = lens _creMLModelId (\ s a -> s{_creMLModelId = a})--instance AWSRequest CreateRealtimeEndpoint where- type Rs CreateRealtimeEndpoint =- CreateRealtimeEndpointResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- CreateRealtimeEndpointResponse' <$>- (x .?> "RealtimeEndpointInfo") <*>- (x .?> "MLModelId")- <*> (pure (fromEnum s)))--instance Hashable CreateRealtimeEndpoint where--instance NFData CreateRealtimeEndpoint where--instance ToHeaders CreateRealtimeEndpoint where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.CreateRealtimeEndpoint" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON CreateRealtimeEndpoint where- toJSON CreateRealtimeEndpoint'{..}- = object- (catMaybes [Just ("MLModelId" .= _creMLModelId)])--instance ToPath CreateRealtimeEndpoint where- toPath = const "/"--instance ToQuery CreateRealtimeEndpoint where- toQuery = const mempty---- | Represents the output of an @CreateRealtimeEndpoint@ operation.--------- The result contains the @MLModelId@ and the endpoint information for the @MLModel@ .--------- /See:/ 'createRealtimeEndpointResponse' smart constructor.-data CreateRealtimeEndpointResponse = CreateRealtimeEndpointResponse'- { _crersRealtimeEndpointInfo :: !(Maybe RealtimeEndpointInfo)- , _crersMLModelId :: !(Maybe Text)- , _crersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateRealtimeEndpointResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'crersRealtimeEndpointInfo' - The endpoint information of the @MLModel@------ * 'crersMLModelId' - A user-supplied ID that uniquely identifies the @MLModel@ . This value should be identical to the value of the @MLModelId@ in the request.------ * 'crersResponseStatus' - -- | The response status code.-createRealtimeEndpointResponse- :: Int -- ^ 'crersResponseStatus'- -> CreateRealtimeEndpointResponse-createRealtimeEndpointResponse pResponseStatus_ =- CreateRealtimeEndpointResponse'- { _crersRealtimeEndpointInfo = Nothing- , _crersMLModelId = Nothing- , _crersResponseStatus = pResponseStatus_- }----- | The endpoint information of the @MLModel@-crersRealtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)-crersRealtimeEndpointInfo = lens _crersRealtimeEndpointInfo (\ s a -> s{_crersRealtimeEndpointInfo = a})---- | A user-supplied ID that uniquely identifies the @MLModel@ . This value should be identical to the value of the @MLModelId@ in the request.-crersMLModelId :: Lens' CreateRealtimeEndpointResponse (Maybe Text)-crersMLModelId = lens _crersMLModelId (\ s a -> s{_crersMLModelId = a})---- | -- | The response status code.-crersResponseStatus :: Lens' CreateRealtimeEndpointResponse Int-crersResponseStatus = lens _crersResponseStatus (\ s a -> s{_crersResponseStatus = a})--instance NFData CreateRealtimeEndpointResponse where
− gen/Network/AWS/MachineLearning/DeleteBatchPrediction.hs
@@ -1,146 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DeleteBatchPrediction--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Assigns the DELETED status to a @BatchPrediction@ , rendering it unusable.--------- After using the @DeleteBatchPrediction@ operation, you can use the 'GetBatchPrediction' operation to verify that the status of the @BatchPrediction@ changed to DELETED.------ __Caution:__ The result of the @DeleteBatchPrediction@ operation is irreversible.----module Network.AWS.MachineLearning.DeleteBatchPrediction- (- -- * Creating a Request- deleteBatchPrediction- , DeleteBatchPrediction- -- * Request Lenses- , dbpBatchPredictionId-- -- * Destructuring the Response- , deleteBatchPredictionResponse- , DeleteBatchPredictionResponse- -- * Response Lenses- , dbprsBatchPredictionId- , dbprsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteBatchPrediction' smart constructor.-newtype DeleteBatchPrediction = DeleteBatchPrediction'- { _dbpBatchPredictionId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteBatchPrediction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dbpBatchPredictionId' - A user-supplied ID that uniquely identifies the @BatchPrediction@ .-deleteBatchPrediction- :: Text -- ^ 'dbpBatchPredictionId'- -> DeleteBatchPrediction-deleteBatchPrediction pBatchPredictionId_ =- DeleteBatchPrediction' {_dbpBatchPredictionId = pBatchPredictionId_}----- | A user-supplied ID that uniquely identifies the @BatchPrediction@ .-dbpBatchPredictionId :: Lens' DeleteBatchPrediction Text-dbpBatchPredictionId = lens _dbpBatchPredictionId (\ s a -> s{_dbpBatchPredictionId = a})--instance AWSRequest DeleteBatchPrediction where- type Rs DeleteBatchPrediction =- DeleteBatchPredictionResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DeleteBatchPredictionResponse' <$>- (x .?> "BatchPredictionId") <*> (pure (fromEnum s)))--instance Hashable DeleteBatchPrediction where--instance NFData DeleteBatchPrediction where--instance ToHeaders DeleteBatchPrediction where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DeleteBatchPrediction" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteBatchPrediction where- toJSON DeleteBatchPrediction'{..}- = object- (catMaybes- [Just- ("BatchPredictionId" .= _dbpBatchPredictionId)])--instance ToPath DeleteBatchPrediction where- toPath = const "/"--instance ToQuery DeleteBatchPrediction where- toQuery = const mempty---- | Represents the output of a @DeleteBatchPrediction@ operation.--------- You can use the @GetBatchPrediction@ operation and check the value of the @Status@ parameter to see whether a @BatchPrediction@ is marked as @DELETED@ .--------- /See:/ 'deleteBatchPredictionResponse' smart constructor.-data DeleteBatchPredictionResponse = DeleteBatchPredictionResponse'- { _dbprsBatchPredictionId :: !(Maybe Text)- , _dbprsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteBatchPredictionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dbprsBatchPredictionId' - A user-supplied ID that uniquely identifies the @BatchPrediction@ . This value should be identical to the value of the @BatchPredictionID@ in the request.------ * 'dbprsResponseStatus' - -- | The response status code.-deleteBatchPredictionResponse- :: Int -- ^ 'dbprsResponseStatus'- -> DeleteBatchPredictionResponse-deleteBatchPredictionResponse pResponseStatus_ =- DeleteBatchPredictionResponse'- {_dbprsBatchPredictionId = Nothing, _dbprsResponseStatus = pResponseStatus_}----- | A user-supplied ID that uniquely identifies the @BatchPrediction@ . This value should be identical to the value of the @BatchPredictionID@ in the request.-dbprsBatchPredictionId :: Lens' DeleteBatchPredictionResponse (Maybe Text)-dbprsBatchPredictionId = lens _dbprsBatchPredictionId (\ s a -> s{_dbprsBatchPredictionId = a})---- | -- | The response status code.-dbprsResponseStatus :: Lens' DeleteBatchPredictionResponse Int-dbprsResponseStatus = lens _dbprsResponseStatus (\ s a -> s{_dbprsResponseStatus = a})--instance NFData DeleteBatchPredictionResponse where
− gen/Network/AWS/MachineLearning/DeleteDataSource.hs
@@ -1,141 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DeleteDataSource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Assigns the DELETED status to a @DataSource@ , rendering it unusable.--------- After using the @DeleteDataSource@ operation, you can use the 'GetDataSource' operation to verify that the status of the @DataSource@ changed to DELETED.------ __Caution:__ The results of the @DeleteDataSource@ operation are irreversible.----module Network.AWS.MachineLearning.DeleteDataSource- (- -- * Creating a Request- deleteDataSource- , DeleteDataSource- -- * Request Lenses- , ddsDataSourceId-- -- * Destructuring the Response- , deleteDataSourceResponse- , DeleteDataSourceResponse- -- * Response Lenses- , ddsrsDataSourceId- , ddsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteDataSource' smart constructor.-newtype DeleteDataSource = DeleteDataSource'- { _ddsDataSourceId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteDataSource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ddsDataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@ .-deleteDataSource- :: Text -- ^ 'ddsDataSourceId'- -> DeleteDataSource-deleteDataSource pDataSourceId_ =- DeleteDataSource' {_ddsDataSourceId = pDataSourceId_}----- | A user-supplied ID that uniquely identifies the @DataSource@ .-ddsDataSourceId :: Lens' DeleteDataSource Text-ddsDataSourceId = lens _ddsDataSourceId (\ s a -> s{_ddsDataSourceId = a})--instance AWSRequest DeleteDataSource where- type Rs DeleteDataSource = DeleteDataSourceResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DeleteDataSourceResponse' <$>- (x .?> "DataSourceId") <*> (pure (fromEnum s)))--instance Hashable DeleteDataSource where--instance NFData DeleteDataSource where--instance ToHeaders DeleteDataSource where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DeleteDataSource" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteDataSource where- toJSON DeleteDataSource'{..}- = object- (catMaybes- [Just ("DataSourceId" .= _ddsDataSourceId)])--instance ToPath DeleteDataSource where- toPath = const "/"--instance ToQuery DeleteDataSource where- toQuery = const mempty---- | Represents the output of a @DeleteDataSource@ operation.------------ /See:/ 'deleteDataSourceResponse' smart constructor.-data DeleteDataSourceResponse = DeleteDataSourceResponse'- { _ddsrsDataSourceId :: !(Maybe Text)- , _ddsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteDataSourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ddsrsDataSourceId' - A user-supplied ID that uniquely identifies the @DataSource@ . This value should be identical to the value of the @DataSourceID@ in the request.------ * 'ddsrsResponseStatus' - -- | The response status code.-deleteDataSourceResponse- :: Int -- ^ 'ddsrsResponseStatus'- -> DeleteDataSourceResponse-deleteDataSourceResponse pResponseStatus_ =- DeleteDataSourceResponse'- {_ddsrsDataSourceId = Nothing, _ddsrsResponseStatus = pResponseStatus_}----- | A user-supplied ID that uniquely identifies the @DataSource@ . This value should be identical to the value of the @DataSourceID@ in the request.-ddsrsDataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text)-ddsrsDataSourceId = lens _ddsrsDataSourceId (\ s a -> s{_ddsrsDataSourceId = a})---- | -- | The response status code.-ddsrsResponseStatus :: Lens' DeleteDataSourceResponse Int-ddsrsResponseStatus = lens _ddsrsResponseStatus (\ s a -> s{_ddsrsResponseStatus = a})--instance NFData DeleteDataSourceResponse where
− gen/Network/AWS/MachineLearning/DeleteEvaluation.hs
@@ -1,145 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DeleteEvaluation--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Assigns the @DELETED@ status to an @Evaluation@ , rendering it unusable.--------- After invoking the @DeleteEvaluation@ operation, you can use the @GetEvaluation@ operation to verify that the status of the @Evaluation@ changed to @DELETED@ .------ ____Caution__--- The results of the @DeleteEvaluation@ operation are irreversible.------ __-module Network.AWS.MachineLearning.DeleteEvaluation- (- -- * Creating a Request- deleteEvaluation- , DeleteEvaluation- -- * Request Lenses- , deEvaluationId-- -- * Destructuring the Response- , deleteEvaluationResponse- , DeleteEvaluationResponse- -- * Response Lenses- , dersEvaluationId- , dersResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteEvaluation' smart constructor.-newtype DeleteEvaluation = DeleteEvaluation'- { _deEvaluationId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteEvaluation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'deEvaluationId' - A user-supplied ID that uniquely identifies the @Evaluation@ to delete.-deleteEvaluation- :: Text -- ^ 'deEvaluationId'- -> DeleteEvaluation-deleteEvaluation pEvaluationId_ =- DeleteEvaluation' {_deEvaluationId = pEvaluationId_}----- | A user-supplied ID that uniquely identifies the @Evaluation@ to delete.-deEvaluationId :: Lens' DeleteEvaluation Text-deEvaluationId = lens _deEvaluationId (\ s a -> s{_deEvaluationId = a})--instance AWSRequest DeleteEvaluation where- type Rs DeleteEvaluation = DeleteEvaluationResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DeleteEvaluationResponse' <$>- (x .?> "EvaluationId") <*> (pure (fromEnum s)))--instance Hashable DeleteEvaluation where--instance NFData DeleteEvaluation where--instance ToHeaders DeleteEvaluation where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DeleteEvaluation" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteEvaluation where- toJSON DeleteEvaluation'{..}- = object- (catMaybes- [Just ("EvaluationId" .= _deEvaluationId)])--instance ToPath DeleteEvaluation where- toPath = const "/"--instance ToQuery DeleteEvaluation where- toQuery = const mempty---- | Represents the output of a @DeleteEvaluation@ operation. The output indicates that Amazon Machine Learning (Amazon ML) received the request.--------- You can use the @GetEvaluation@ operation and check the value of the @Status@ parameter to see whether an @Evaluation@ is marked as @DELETED@ .--------- /See:/ 'deleteEvaluationResponse' smart constructor.-data DeleteEvaluationResponse = DeleteEvaluationResponse'- { _dersEvaluationId :: !(Maybe Text)- , _dersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteEvaluationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dersEvaluationId' - A user-supplied ID that uniquely identifies the @Evaluation@ . This value should be identical to the value of the @EvaluationId@ in the request.------ * 'dersResponseStatus' - -- | The response status code.-deleteEvaluationResponse- :: Int -- ^ 'dersResponseStatus'- -> DeleteEvaluationResponse-deleteEvaluationResponse pResponseStatus_ =- DeleteEvaluationResponse'- {_dersEvaluationId = Nothing, _dersResponseStatus = pResponseStatus_}----- | A user-supplied ID that uniquely identifies the @Evaluation@ . This value should be identical to the value of the @EvaluationId@ in the request.-dersEvaluationId :: Lens' DeleteEvaluationResponse (Maybe Text)-dersEvaluationId = lens _dersEvaluationId (\ s a -> s{_dersEvaluationId = a})---- | -- | The response status code.-dersResponseStatus :: Lens' DeleteEvaluationResponse Int-dersResponseStatus = lens _dersResponseStatus (\ s a -> s{_dersResponseStatus = a})--instance NFData DeleteEvaluationResponse where
− gen/Network/AWS/MachineLearning/DeleteMLModel.hs
@@ -1,141 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DeleteMLModel--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Assigns the @DELETED@ status to an @MLModel@ , rendering it unusable.--------- After using the @DeleteMLModel@ operation, you can use the @GetMLModel@ operation to verify that the status of the @MLModel@ changed to DELETED.------ __Caution:__ The result of the @DeleteMLModel@ operation is irreversible.----module Network.AWS.MachineLearning.DeleteMLModel- (- -- * Creating a Request- deleteMLModel- , DeleteMLModel- -- * Request Lenses- , dmlmMLModelId-- -- * Destructuring the Response- , deleteMLModelResponse- , DeleteMLModelResponse- -- * Response Lenses- , dmlmrsMLModelId- , dmlmrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteMLModel' smart constructor.-newtype DeleteMLModel = DeleteMLModel'- { _dmlmMLModelId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMLModel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmlmMLModelId' - A user-supplied ID that uniquely identifies the @MLModel@ .-deleteMLModel- :: Text -- ^ 'dmlmMLModelId'- -> DeleteMLModel-deleteMLModel pMLModelId_ = DeleteMLModel' {_dmlmMLModelId = pMLModelId_}----- | A user-supplied ID that uniquely identifies the @MLModel@ .-dmlmMLModelId :: Lens' DeleteMLModel Text-dmlmMLModelId = lens _dmlmMLModelId (\ s a -> s{_dmlmMLModelId = a})--instance AWSRequest DeleteMLModel where- type Rs DeleteMLModel = DeleteMLModelResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DeleteMLModelResponse' <$>- (x .?> "MLModelId") <*> (pure (fromEnum s)))--instance Hashable DeleteMLModel where--instance NFData DeleteMLModel where--instance ToHeaders DeleteMLModel where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DeleteMLModel" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteMLModel where- toJSON DeleteMLModel'{..}- = object- (catMaybes [Just ("MLModelId" .= _dmlmMLModelId)])--instance ToPath DeleteMLModel where- toPath = const "/"--instance ToQuery DeleteMLModel where- toQuery = const mempty---- | Represents the output of a @DeleteMLModel@ operation.--------- You can use the @GetMLModel@ operation and check the value of the @Status@ parameter to see whether an @MLModel@ is marked as @DELETED@ .--------- /See:/ 'deleteMLModelResponse' smart constructor.-data DeleteMLModelResponse = DeleteMLModelResponse'- { _dmlmrsMLModelId :: !(Maybe Text)- , _dmlmrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteMLModelResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmlmrsMLModelId' - A user-supplied ID that uniquely identifies the @MLModel@ . This value should be identical to the value of the @MLModelID@ in the request.------ * 'dmlmrsResponseStatus' - -- | The response status code.-deleteMLModelResponse- :: Int -- ^ 'dmlmrsResponseStatus'- -> DeleteMLModelResponse-deleteMLModelResponse pResponseStatus_ =- DeleteMLModelResponse'- {_dmlmrsMLModelId = Nothing, _dmlmrsResponseStatus = pResponseStatus_}----- | A user-supplied ID that uniquely identifies the @MLModel@ . This value should be identical to the value of the @MLModelID@ in the request.-dmlmrsMLModelId :: Lens' DeleteMLModelResponse (Maybe Text)-dmlmrsMLModelId = lens _dmlmrsMLModelId (\ s a -> s{_dmlmrsMLModelId = a})---- | -- | The response status code.-dmlmrsResponseStatus :: Lens' DeleteMLModelResponse Int-dmlmrsResponseStatus = lens _dmlmrsResponseStatus (\ s a -> s{_dmlmrsResponseStatus = a})--instance NFData DeleteMLModelResponse where
− gen/Network/AWS/MachineLearning/DeleteRealtimeEndpoint.hs
@@ -1,153 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DeleteRealtimeEndpoint--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a real time endpoint of an @MLModel@ .-------module Network.AWS.MachineLearning.DeleteRealtimeEndpoint- (- -- * Creating a Request- deleteRealtimeEndpoint- , DeleteRealtimeEndpoint- -- * Request Lenses- , dreMLModelId-- -- * Destructuring the Response- , deleteRealtimeEndpointResponse- , DeleteRealtimeEndpointResponse- -- * Response Lenses- , drersRealtimeEndpointInfo- , drersMLModelId- , drersResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteRealtimeEndpoint' smart constructor.-newtype DeleteRealtimeEndpoint = DeleteRealtimeEndpoint'- { _dreMLModelId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteRealtimeEndpoint' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dreMLModelId' - The ID assigned to the @MLModel@ during creation.-deleteRealtimeEndpoint- :: Text -- ^ 'dreMLModelId'- -> DeleteRealtimeEndpoint-deleteRealtimeEndpoint pMLModelId_ =- DeleteRealtimeEndpoint' {_dreMLModelId = pMLModelId_}----- | The ID assigned to the @MLModel@ during creation.-dreMLModelId :: Lens' DeleteRealtimeEndpoint Text-dreMLModelId = lens _dreMLModelId (\ s a -> s{_dreMLModelId = a})--instance AWSRequest DeleteRealtimeEndpoint where- type Rs DeleteRealtimeEndpoint =- DeleteRealtimeEndpointResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DeleteRealtimeEndpointResponse' <$>- (x .?> "RealtimeEndpointInfo") <*>- (x .?> "MLModelId")- <*> (pure (fromEnum s)))--instance Hashable DeleteRealtimeEndpoint where--instance NFData DeleteRealtimeEndpoint where--instance ToHeaders DeleteRealtimeEndpoint where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DeleteRealtimeEndpoint" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteRealtimeEndpoint where- toJSON DeleteRealtimeEndpoint'{..}- = object- (catMaybes [Just ("MLModelId" .= _dreMLModelId)])--instance ToPath DeleteRealtimeEndpoint where- toPath = const "/"--instance ToQuery DeleteRealtimeEndpoint where- toQuery = const mempty---- | Represents the output of an @DeleteRealtimeEndpoint@ operation.--------- The result contains the @MLModelId@ and the endpoint information for the @MLModel@ .--------- /See:/ 'deleteRealtimeEndpointResponse' smart constructor.-data DeleteRealtimeEndpointResponse = DeleteRealtimeEndpointResponse'- { _drersRealtimeEndpointInfo :: !(Maybe RealtimeEndpointInfo)- , _drersMLModelId :: !(Maybe Text)- , _drersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteRealtimeEndpointResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drersRealtimeEndpointInfo' - The endpoint information of the @MLModel@------ * 'drersMLModelId' - A user-supplied ID that uniquely identifies the @MLModel@ . This value should be identical to the value of the @MLModelId@ in the request.------ * 'drersResponseStatus' - -- | The response status code.-deleteRealtimeEndpointResponse- :: Int -- ^ 'drersResponseStatus'- -> DeleteRealtimeEndpointResponse-deleteRealtimeEndpointResponse pResponseStatus_ =- DeleteRealtimeEndpointResponse'- { _drersRealtimeEndpointInfo = Nothing- , _drersMLModelId = Nothing- , _drersResponseStatus = pResponseStatus_- }----- | The endpoint information of the @MLModel@-drersRealtimeEndpointInfo :: Lens' DeleteRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)-drersRealtimeEndpointInfo = lens _drersRealtimeEndpointInfo (\ s a -> s{_drersRealtimeEndpointInfo = a})---- | A user-supplied ID that uniquely identifies the @MLModel@ . This value should be identical to the value of the @MLModelId@ in the request.-drersMLModelId :: Lens' DeleteRealtimeEndpointResponse (Maybe Text)-drersMLModelId = lens _drersMLModelId (\ s a -> s{_drersMLModelId = a})---- | -- | The response status code.-drersResponseStatus :: Lens' DeleteRealtimeEndpointResponse Int-drersResponseStatus = lens _drersResponseStatus (\ s a -> s{_drersResponseStatus = a})--instance NFData DeleteRealtimeEndpointResponse where
− gen/Network/AWS/MachineLearning/DeleteTags.hs
@@ -1,174 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DeleteTags--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.--------- If you specify a tag that doesn't exist, Amazon ML ignores it.----module Network.AWS.MachineLearning.DeleteTags- (- -- * Creating a Request- deleteTags- , DeleteTags- -- * Request Lenses- , dTagKeys- , dResourceId- , dResourceType-- -- * Destructuring the Response- , deleteTagsResponse- , DeleteTagsResponse- -- * Response Lenses- , drsResourceId- , drsResourceType- , drsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'deleteTags' smart constructor.-data DeleteTags = DeleteTags'- { _dTagKeys :: ![Text]- , _dResourceId :: !Text- , _dResourceType :: !TaggableResourceType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteTags' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dTagKeys' - One or more tags to delete.------ * 'dResourceId' - The ID of the tagged ML object. For example, @exampleModelId@ .------ * 'dResourceType' - The type of the tagged ML object.-deleteTags- :: Text -- ^ 'dResourceId'- -> TaggableResourceType -- ^ 'dResourceType'- -> DeleteTags-deleteTags pResourceId_ pResourceType_ =- DeleteTags'- { _dTagKeys = mempty- , _dResourceId = pResourceId_- , _dResourceType = pResourceType_- }----- | One or more tags to delete.-dTagKeys :: Lens' DeleteTags [Text]-dTagKeys = lens _dTagKeys (\ s a -> s{_dTagKeys = a}) . _Coerce---- | The ID of the tagged ML object. For example, @exampleModelId@ .-dResourceId :: Lens' DeleteTags Text-dResourceId = lens _dResourceId (\ s a -> s{_dResourceId = a})---- | The type of the tagged ML object.-dResourceType :: Lens' DeleteTags TaggableResourceType-dResourceType = lens _dResourceType (\ s a -> s{_dResourceType = a})--instance AWSRequest DeleteTags where- type Rs DeleteTags = DeleteTagsResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DeleteTagsResponse' <$>- (x .?> "ResourceId") <*> (x .?> "ResourceType") <*>- (pure (fromEnum s)))--instance Hashable DeleteTags where--instance NFData DeleteTags where--instance ToHeaders DeleteTags where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DeleteTags" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DeleteTags where- toJSON DeleteTags'{..}- = object- (catMaybes- [Just ("TagKeys" .= _dTagKeys),- Just ("ResourceId" .= _dResourceId),- Just ("ResourceType" .= _dResourceType)])--instance ToPath DeleteTags where- toPath = const "/"--instance ToQuery DeleteTags where- toQuery = const mempty---- | Amazon ML returns the following elements.------------ /See:/ 'deleteTagsResponse' smart constructor.-data DeleteTagsResponse = DeleteTagsResponse'- { _drsResourceId :: !(Maybe Text)- , _drsResourceType :: !(Maybe TaggableResourceType)- , _drsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteTagsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'drsResourceId' - The ID of the ML object from which tags were deleted.------ * 'drsResourceType' - The type of the ML object from which tags were deleted.------ * 'drsResponseStatus' - -- | The response status code.-deleteTagsResponse- :: Int -- ^ 'drsResponseStatus'- -> DeleteTagsResponse-deleteTagsResponse pResponseStatus_ =- DeleteTagsResponse'- { _drsResourceId = Nothing- , _drsResourceType = Nothing- , _drsResponseStatus = pResponseStatus_- }----- | The ID of the ML object from which tags were deleted.-drsResourceId :: Lens' DeleteTagsResponse (Maybe Text)-drsResourceId = lens _drsResourceId (\ s a -> s{_drsResourceId = a})---- | The type of the ML object from which tags were deleted.-drsResourceType :: Lens' DeleteTagsResponse (Maybe TaggableResourceType)-drsResourceType = lens _drsResourceType (\ s a -> s{_drsResourceType = a})---- | -- | The response status code.-drsResponseStatus :: Lens' DeleteTagsResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})--instance NFData DeleteTagsResponse where
− gen/Network/AWS/MachineLearning/DescribeBatchPredictions.hs
@@ -1,260 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DescribeBatchPredictions--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of @BatchPrediction@ operations that match the search criteria in the request.------------ This operation returns paginated results.-module Network.AWS.MachineLearning.DescribeBatchPredictions- (- -- * Creating a Request- describeBatchPredictions- , DescribeBatchPredictions- -- * Request Lenses- , dbpEQ- , dbpGE- , dbpPrefix- , dbpGT- , dbpNE- , dbpNextToken- , dbpSortOrder- , dbpLimit- , dbpLT- , dbpFilterVariable- , dbpLE-- -- * Destructuring the Response- , describeBatchPredictionsResponse- , DescribeBatchPredictionsResponse- -- * Response Lenses- , dbpsrsResults- , dbpsrsNextToken- , dbpsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeBatchPredictions' smart constructor.-data DescribeBatchPredictions = DescribeBatchPredictions'- { _dbpEQ :: !(Maybe Text)- , _dbpGE :: !(Maybe Text)- , _dbpPrefix :: !(Maybe Text)- , _dbpGT :: !(Maybe Text)- , _dbpNE :: !(Maybe Text)- , _dbpNextToken :: !(Maybe Text)- , _dbpSortOrder :: !(Maybe SortOrder)- , _dbpLimit :: !(Maybe Nat)- , _dbpLT :: !(Maybe Text)- , _dbpFilterVariable :: !(Maybe BatchPredictionFilterVariable)- , _dbpLE :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeBatchPredictions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dbpEQ' - The equal to operator. The @BatchPrediction@ results will have @FilterVariable@ values that exactly match the value specified with @EQ@ .------ * 'dbpGE' - The greater than or equal to operator. The @BatchPrediction@ results will have @FilterVariable@ values that are greater than or equal to the value specified with @GE@ .------ * 'dbpPrefix' - A string that is found at the beginning of a variable, such as @Name@ or @Id@ . For example, a @Batch Prediction@ operation could have the @Name@ @2014-09-09-HolidayGiftMailer@ . To search for this @BatchPrediction@ , select @Name@ for the @FilterVariable@ and any of the following strings for the @Prefix@ : * 2014-09 * 2014-09-09 * 2014-09-09-Holiday------ * 'dbpGT' - The greater than operator. The @BatchPrediction@ results will have @FilterVariable@ values that are greater than the value specified with @GT@ .------ * 'dbpNE' - The not equal to operator. The @BatchPrediction@ results will have @FilterVariable@ values not equal to the value specified with @NE@ .------ * 'dbpNextToken' - An ID of the page in the paginated results.------ * 'dbpSortOrder' - A two-value parameter that determines the sequence of the resulting list of @MLModel@ s. * @asc@ - Arranges the list in ascending order (A-Z, 0-9). * @dsc@ - Arranges the list in descending order (Z-A, 9-0). Results are sorted by @FilterVariable@ .------ * 'dbpLimit' - The number of pages of information to include in the result. The range of acceptable values is @1@ through @100@ . The default value is @100@ .------ * 'dbpLT' - The less than operator. The @BatchPrediction@ results will have @FilterVariable@ values that are less than the value specified with @LT@ .------ * 'dbpFilterVariable' - Use one of the following variables to filter a list of @BatchPrediction@ : * @CreatedAt@ - Sets the search criteria to the @BatchPrediction@ creation date. * @Status@ - Sets the search criteria to the @BatchPrediction@ status. * @Name@ - Sets the search criteria to the contents of the @BatchPrediction@ ____ @Name@ . * @IAMUser@ - Sets the search criteria to the user account that invoked the @BatchPrediction@ creation. * @MLModelId@ - Sets the search criteria to the @MLModel@ used in the @BatchPrediction@ . * @DataSourceId@ - Sets the search criteria to the @DataSource@ used in the @BatchPrediction@ . * @DataURI@ - Sets the search criteria to the data file(s) used in the @BatchPrediction@ . The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.------ * 'dbpLE' - The less than or equal to operator. The @BatchPrediction@ results will have @FilterVariable@ values that are less than or equal to the value specified with @LE@ .-describeBatchPredictions- :: DescribeBatchPredictions-describeBatchPredictions =- DescribeBatchPredictions'- { _dbpEQ = Nothing- , _dbpGE = Nothing- , _dbpPrefix = Nothing- , _dbpGT = Nothing- , _dbpNE = Nothing- , _dbpNextToken = Nothing- , _dbpSortOrder = Nothing- , _dbpLimit = Nothing- , _dbpLT = Nothing- , _dbpFilterVariable = Nothing- , _dbpLE = Nothing- }----- | The equal to operator. The @BatchPrediction@ results will have @FilterVariable@ values that exactly match the value specified with @EQ@ .-dbpEQ :: Lens' DescribeBatchPredictions (Maybe Text)-dbpEQ = lens _dbpEQ (\ s a -> s{_dbpEQ = a})---- | The greater than or equal to operator. The @BatchPrediction@ results will have @FilterVariable@ values that are greater than or equal to the value specified with @GE@ .-dbpGE :: Lens' DescribeBatchPredictions (Maybe Text)-dbpGE = lens _dbpGE (\ s a -> s{_dbpGE = a})---- | A string that is found at the beginning of a variable, such as @Name@ or @Id@ . For example, a @Batch Prediction@ operation could have the @Name@ @2014-09-09-HolidayGiftMailer@ . To search for this @BatchPrediction@ , select @Name@ for the @FilterVariable@ and any of the following strings for the @Prefix@ : * 2014-09 * 2014-09-09 * 2014-09-09-Holiday-dbpPrefix :: Lens' DescribeBatchPredictions (Maybe Text)-dbpPrefix = lens _dbpPrefix (\ s a -> s{_dbpPrefix = a})---- | The greater than operator. The @BatchPrediction@ results will have @FilterVariable@ values that are greater than the value specified with @GT@ .-dbpGT :: Lens' DescribeBatchPredictions (Maybe Text)-dbpGT = lens _dbpGT (\ s a -> s{_dbpGT = a})---- | The not equal to operator. The @BatchPrediction@ results will have @FilterVariable@ values not equal to the value specified with @NE@ .-dbpNE :: Lens' DescribeBatchPredictions (Maybe Text)-dbpNE = lens _dbpNE (\ s a -> s{_dbpNE = a})---- | An ID of the page in the paginated results.-dbpNextToken :: Lens' DescribeBatchPredictions (Maybe Text)-dbpNextToken = lens _dbpNextToken (\ s a -> s{_dbpNextToken = a})---- | A two-value parameter that determines the sequence of the resulting list of @MLModel@ s. * @asc@ - Arranges the list in ascending order (A-Z, 0-9). * @dsc@ - Arranges the list in descending order (Z-A, 9-0). Results are sorted by @FilterVariable@ .-dbpSortOrder :: Lens' DescribeBatchPredictions (Maybe SortOrder)-dbpSortOrder = lens _dbpSortOrder (\ s a -> s{_dbpSortOrder = a})---- | The number of pages of information to include in the result. The range of acceptable values is @1@ through @100@ . The default value is @100@ .-dbpLimit :: Lens' DescribeBatchPredictions (Maybe Natural)-dbpLimit = lens _dbpLimit (\ s a -> s{_dbpLimit = a}) . mapping _Nat---- | The less than operator. The @BatchPrediction@ results will have @FilterVariable@ values that are less than the value specified with @LT@ .-dbpLT :: Lens' DescribeBatchPredictions (Maybe Text)-dbpLT = lens _dbpLT (\ s a -> s{_dbpLT = a})---- | Use one of the following variables to filter a list of @BatchPrediction@ : * @CreatedAt@ - Sets the search criteria to the @BatchPrediction@ creation date. * @Status@ - Sets the search criteria to the @BatchPrediction@ status. * @Name@ - Sets the search criteria to the contents of the @BatchPrediction@ ____ @Name@ . * @IAMUser@ - Sets the search criteria to the user account that invoked the @BatchPrediction@ creation. * @MLModelId@ - Sets the search criteria to the @MLModel@ used in the @BatchPrediction@ . * @DataSourceId@ - Sets the search criteria to the @DataSource@ used in the @BatchPrediction@ . * @DataURI@ - Sets the search criteria to the data file(s) used in the @BatchPrediction@ . The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.-dbpFilterVariable :: Lens' DescribeBatchPredictions (Maybe BatchPredictionFilterVariable)-dbpFilterVariable = lens _dbpFilterVariable (\ s a -> s{_dbpFilterVariable = a})---- | The less than or equal to operator. The @BatchPrediction@ results will have @FilterVariable@ values that are less than or equal to the value specified with @LE@ .-dbpLE :: Lens' DescribeBatchPredictions (Maybe Text)-dbpLE = lens _dbpLE (\ s a -> s{_dbpLE = a})--instance AWSPager DescribeBatchPredictions where- page rq rs- | stop (rs ^. dbpsrsNextToken) = Nothing- | stop (rs ^. dbpsrsResults) = Nothing- | otherwise =- Just $ rq & dbpNextToken .~ rs ^. dbpsrsNextToken--instance AWSRequest DescribeBatchPredictions where- type Rs DescribeBatchPredictions =- DescribeBatchPredictionsResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DescribeBatchPredictionsResponse' <$>- (x .?> "Results" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeBatchPredictions where--instance NFData DescribeBatchPredictions where--instance ToHeaders DescribeBatchPredictions where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DescribeBatchPredictions" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeBatchPredictions where- toJSON DescribeBatchPredictions'{..}- = object- (catMaybes- [("EQ" .=) <$> _dbpEQ, ("GE" .=) <$> _dbpGE,- ("Prefix" .=) <$> _dbpPrefix, ("GT" .=) <$> _dbpGT,- ("NE" .=) <$> _dbpNE,- ("NextToken" .=) <$> _dbpNextToken,- ("SortOrder" .=) <$> _dbpSortOrder,- ("Limit" .=) <$> _dbpLimit, ("LT" .=) <$> _dbpLT,- ("FilterVariable" .=) <$> _dbpFilterVariable,- ("LE" .=) <$> _dbpLE])--instance ToPath DescribeBatchPredictions where- toPath = const "/"--instance ToQuery DescribeBatchPredictions where- toQuery = const mempty---- | Represents the output of a @DescribeBatchPredictions@ operation. The content is essentially a list of @BatchPrediction@ s.------------ /See:/ 'describeBatchPredictionsResponse' smart constructor.-data DescribeBatchPredictionsResponse = DescribeBatchPredictionsResponse'- { _dbpsrsResults :: !(Maybe [BatchPrediction])- , _dbpsrsNextToken :: !(Maybe Text)- , _dbpsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeBatchPredictionsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dbpsrsResults' - A list of @BatchPrediction@ objects that meet the search criteria.------ * 'dbpsrsNextToken' - The ID of the next page in the paginated results that indicates at least one more page follows.------ * 'dbpsrsResponseStatus' - -- | The response status code.-describeBatchPredictionsResponse- :: Int -- ^ 'dbpsrsResponseStatus'- -> DescribeBatchPredictionsResponse-describeBatchPredictionsResponse pResponseStatus_ =- DescribeBatchPredictionsResponse'- { _dbpsrsResults = Nothing- , _dbpsrsNextToken = Nothing- , _dbpsrsResponseStatus = pResponseStatus_- }----- | A list of @BatchPrediction@ objects that meet the search criteria.-dbpsrsResults :: Lens' DescribeBatchPredictionsResponse [BatchPrediction]-dbpsrsResults = lens _dbpsrsResults (\ s a -> s{_dbpsrsResults = a}) . _Default . _Coerce---- | The ID of the next page in the paginated results that indicates at least one more page follows.-dbpsrsNextToken :: Lens' DescribeBatchPredictionsResponse (Maybe Text)-dbpsrsNextToken = lens _dbpsrsNextToken (\ s a -> s{_dbpsrsNextToken = a})---- | -- | The response status code.-dbpsrsResponseStatus :: Lens' DescribeBatchPredictionsResponse Int-dbpsrsResponseStatus = lens _dbpsrsResponseStatus (\ s a -> s{_dbpsrsResponseStatus = a})--instance NFData DescribeBatchPredictionsResponse- where
− gen/Network/AWS/MachineLearning/DescribeDataSources.hs
@@ -1,259 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DescribeDataSources--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of @DataSource@ that match the search criteria in the request.------------ This operation returns paginated results.-module Network.AWS.MachineLearning.DescribeDataSources- (- -- * Creating a Request- describeDataSources- , DescribeDataSources- -- * Request Lenses- , ddsEQ- , ddsGE- , ddsPrefix- , ddsGT- , ddsNE- , ddsNextToken- , ddsSortOrder- , ddsLimit- , ddsLT- , ddsFilterVariable- , ddsLE-- -- * Destructuring the Response- , describeDataSourcesResponse- , DescribeDataSourcesResponse- -- * Response Lenses- , ddssrsResults- , ddssrsNextToken- , ddssrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeDataSources' smart constructor.-data DescribeDataSources = DescribeDataSources'- { _ddsEQ :: !(Maybe Text)- , _ddsGE :: !(Maybe Text)- , _ddsPrefix :: !(Maybe Text)- , _ddsGT :: !(Maybe Text)- , _ddsNE :: !(Maybe Text)- , _ddsNextToken :: !(Maybe Text)- , _ddsSortOrder :: !(Maybe SortOrder)- , _ddsLimit :: !(Maybe Nat)- , _ddsLT :: !(Maybe Text)- , _ddsFilterVariable :: !(Maybe DataSourceFilterVariable)- , _ddsLE :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeDataSources' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ddsEQ' - The equal to operator. The @DataSource@ results will have @FilterVariable@ values that exactly match the value specified with @EQ@ .------ * 'ddsGE' - The greater than or equal to operator. The @DataSource@ results will have @FilterVariable@ values that are greater than or equal to the value specified with @GE@ .------ * 'ddsPrefix' - A string that is found at the beginning of a variable, such as @Name@ or @Id@ . For example, a @DataSource@ could have the @Name@ @2014-09-09-HolidayGiftMailer@ . To search for this @DataSource@ , select @Name@ for the @FilterVariable@ and any of the following strings for the @Prefix@ : * 2014-09 * 2014-09-09 * 2014-09-09-Holiday------ * 'ddsGT' - The greater than operator. The @DataSource@ results will have @FilterVariable@ values that are greater than the value specified with @GT@ .------ * 'ddsNE' - The not equal to operator. The @DataSource@ results will have @FilterVariable@ values not equal to the value specified with @NE@ .------ * 'ddsNextToken' - The ID of the page in the paginated results.------ * 'ddsSortOrder' - A two-value parameter that determines the sequence of the resulting list of @DataSource@ . * @asc@ - Arranges the list in ascending order (A-Z, 0-9). * @dsc@ - Arranges the list in descending order (Z-A, 9-0). Results are sorted by @FilterVariable@ .------ * 'ddsLimit' - The maximum number of @DataSource@ to include in the result.------ * 'ddsLT' - The less than operator. The @DataSource@ results will have @FilterVariable@ values that are less than the value specified with @LT@ .------ * 'ddsFilterVariable' - Use one of the following variables to filter a list of @DataSource@ : * @CreatedAt@ - Sets the search criteria to @DataSource@ creation dates. * @Status@ - Sets the search criteria to @DataSource@ statuses. * @Name@ - Sets the search criteria to the contents of @DataSource@ ____ @Name@ . * @DataUri@ - Sets the search criteria to the URI of data files used to create the @DataSource@ . The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory. * @IAMUser@ - Sets the search criteria to the user account that invoked the @DataSource@ creation.------ * 'ddsLE' - The less than or equal to operator. The @DataSource@ results will have @FilterVariable@ values that are less than or equal to the value specified with @LE@ .-describeDataSources- :: DescribeDataSources-describeDataSources =- DescribeDataSources'- { _ddsEQ = Nothing- , _ddsGE = Nothing- , _ddsPrefix = Nothing- , _ddsGT = Nothing- , _ddsNE = Nothing- , _ddsNextToken = Nothing- , _ddsSortOrder = Nothing- , _ddsLimit = Nothing- , _ddsLT = Nothing- , _ddsFilterVariable = Nothing- , _ddsLE = Nothing- }----- | The equal to operator. The @DataSource@ results will have @FilterVariable@ values that exactly match the value specified with @EQ@ .-ddsEQ :: Lens' DescribeDataSources (Maybe Text)-ddsEQ = lens _ddsEQ (\ s a -> s{_ddsEQ = a})---- | The greater than or equal to operator. The @DataSource@ results will have @FilterVariable@ values that are greater than or equal to the value specified with @GE@ .-ddsGE :: Lens' DescribeDataSources (Maybe Text)-ddsGE = lens _ddsGE (\ s a -> s{_ddsGE = a})---- | A string that is found at the beginning of a variable, such as @Name@ or @Id@ . For example, a @DataSource@ could have the @Name@ @2014-09-09-HolidayGiftMailer@ . To search for this @DataSource@ , select @Name@ for the @FilterVariable@ and any of the following strings for the @Prefix@ : * 2014-09 * 2014-09-09 * 2014-09-09-Holiday-ddsPrefix :: Lens' DescribeDataSources (Maybe Text)-ddsPrefix = lens _ddsPrefix (\ s a -> s{_ddsPrefix = a})---- | The greater than operator. The @DataSource@ results will have @FilterVariable@ values that are greater than the value specified with @GT@ .-ddsGT :: Lens' DescribeDataSources (Maybe Text)-ddsGT = lens _ddsGT (\ s a -> s{_ddsGT = a})---- | The not equal to operator. The @DataSource@ results will have @FilterVariable@ values not equal to the value specified with @NE@ .-ddsNE :: Lens' DescribeDataSources (Maybe Text)-ddsNE = lens _ddsNE (\ s a -> s{_ddsNE = a})---- | The ID of the page in the paginated results.-ddsNextToken :: Lens' DescribeDataSources (Maybe Text)-ddsNextToken = lens _ddsNextToken (\ s a -> s{_ddsNextToken = a})---- | A two-value parameter that determines the sequence of the resulting list of @DataSource@ . * @asc@ - Arranges the list in ascending order (A-Z, 0-9). * @dsc@ - Arranges the list in descending order (Z-A, 9-0). Results are sorted by @FilterVariable@ .-ddsSortOrder :: Lens' DescribeDataSources (Maybe SortOrder)-ddsSortOrder = lens _ddsSortOrder (\ s a -> s{_ddsSortOrder = a})---- | The maximum number of @DataSource@ to include in the result.-ddsLimit :: Lens' DescribeDataSources (Maybe Natural)-ddsLimit = lens _ddsLimit (\ s a -> s{_ddsLimit = a}) . mapping _Nat---- | The less than operator. The @DataSource@ results will have @FilterVariable@ values that are less than the value specified with @LT@ .-ddsLT :: Lens' DescribeDataSources (Maybe Text)-ddsLT = lens _ddsLT (\ s a -> s{_ddsLT = a})---- | Use one of the following variables to filter a list of @DataSource@ : * @CreatedAt@ - Sets the search criteria to @DataSource@ creation dates. * @Status@ - Sets the search criteria to @DataSource@ statuses. * @Name@ - Sets the search criteria to the contents of @DataSource@ ____ @Name@ . * @DataUri@ - Sets the search criteria to the URI of data files used to create the @DataSource@ . The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory. * @IAMUser@ - Sets the search criteria to the user account that invoked the @DataSource@ creation.-ddsFilterVariable :: Lens' DescribeDataSources (Maybe DataSourceFilterVariable)-ddsFilterVariable = lens _ddsFilterVariable (\ s a -> s{_ddsFilterVariable = a})---- | The less than or equal to operator. The @DataSource@ results will have @FilterVariable@ values that are less than or equal to the value specified with @LE@ .-ddsLE :: Lens' DescribeDataSources (Maybe Text)-ddsLE = lens _ddsLE (\ s a -> s{_ddsLE = a})--instance AWSPager DescribeDataSources where- page rq rs- | stop (rs ^. ddssrsNextToken) = Nothing- | stop (rs ^. ddssrsResults) = Nothing- | otherwise =- Just $ rq & ddsNextToken .~ rs ^. ddssrsNextToken--instance AWSRequest DescribeDataSources where- type Rs DescribeDataSources =- DescribeDataSourcesResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DescribeDataSourcesResponse' <$>- (x .?> "Results" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeDataSources where--instance NFData DescribeDataSources where--instance ToHeaders DescribeDataSources where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DescribeDataSources" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeDataSources where- toJSON DescribeDataSources'{..}- = object- (catMaybes- [("EQ" .=) <$> _ddsEQ, ("GE" .=) <$> _ddsGE,- ("Prefix" .=) <$> _ddsPrefix, ("GT" .=) <$> _ddsGT,- ("NE" .=) <$> _ddsNE,- ("NextToken" .=) <$> _ddsNextToken,- ("SortOrder" .=) <$> _ddsSortOrder,- ("Limit" .=) <$> _ddsLimit, ("LT" .=) <$> _ddsLT,- ("FilterVariable" .=) <$> _ddsFilterVariable,- ("LE" .=) <$> _ddsLE])--instance ToPath DescribeDataSources where- toPath = const "/"--instance ToQuery DescribeDataSources where- toQuery = const mempty---- | Represents the query results from a 'DescribeDataSources' operation. The content is essentially a list of @DataSource@ .------------ /See:/ 'describeDataSourcesResponse' smart constructor.-data DescribeDataSourcesResponse = DescribeDataSourcesResponse'- { _ddssrsResults :: !(Maybe [DataSource])- , _ddssrsNextToken :: !(Maybe Text)- , _ddssrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeDataSourcesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ddssrsResults' - A list of @DataSource@ that meet the search criteria.------ * 'ddssrsNextToken' - An ID of the next page in the paginated results that indicates at least one more page follows.------ * 'ddssrsResponseStatus' - -- | The response status code.-describeDataSourcesResponse- :: Int -- ^ 'ddssrsResponseStatus'- -> DescribeDataSourcesResponse-describeDataSourcesResponse pResponseStatus_ =- DescribeDataSourcesResponse'- { _ddssrsResults = Nothing- , _ddssrsNextToken = Nothing- , _ddssrsResponseStatus = pResponseStatus_- }----- | A list of @DataSource@ that meet the search criteria.-ddssrsResults :: Lens' DescribeDataSourcesResponse [DataSource]-ddssrsResults = lens _ddssrsResults (\ s a -> s{_ddssrsResults = a}) . _Default . _Coerce---- | An ID of the next page in the paginated results that indicates at least one more page follows.-ddssrsNextToken :: Lens' DescribeDataSourcesResponse (Maybe Text)-ddssrsNextToken = lens _ddssrsNextToken (\ s a -> s{_ddssrsNextToken = a})---- | -- | The response status code.-ddssrsResponseStatus :: Lens' DescribeDataSourcesResponse Int-ddssrsResponseStatus = lens _ddssrsResponseStatus (\ s a -> s{_ddssrsResponseStatus = a})--instance NFData DescribeDataSourcesResponse where
− gen/Network/AWS/MachineLearning/DescribeEvaluations.hs
@@ -1,259 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DescribeEvaluations--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of @DescribeEvaluations@ that match the search criteria in the request.------------ This operation returns paginated results.-module Network.AWS.MachineLearning.DescribeEvaluations- (- -- * Creating a Request- describeEvaluations- , DescribeEvaluations- -- * Request Lenses- , deEQ- , deGE- , dePrefix- , deGT- , deNE- , deNextToken- , deSortOrder- , deLimit- , deLT- , deFilterVariable- , deLE-- -- * Destructuring the Response- , describeEvaluationsResponse- , DescribeEvaluationsResponse- -- * Response Lenses- , desrsResults- , desrsNextToken- , desrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeEvaluations' smart constructor.-data DescribeEvaluations = DescribeEvaluations'- { _deEQ :: !(Maybe Text)- , _deGE :: !(Maybe Text)- , _dePrefix :: !(Maybe Text)- , _deGT :: !(Maybe Text)- , _deNE :: !(Maybe Text)- , _deNextToken :: !(Maybe Text)- , _deSortOrder :: !(Maybe SortOrder)- , _deLimit :: !(Maybe Nat)- , _deLT :: !(Maybe Text)- , _deFilterVariable :: !(Maybe EvaluationFilterVariable)- , _deLE :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEvaluations' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'deEQ' - The equal to operator. The @Evaluation@ results will have @FilterVariable@ values that exactly match the value specified with @EQ@ .------ * 'deGE' - The greater than or equal to operator. The @Evaluation@ results will have @FilterVariable@ values that are greater than or equal to the value specified with @GE@ .------ * 'dePrefix' - A string that is found at the beginning of a variable, such as @Name@ or @Id@ . For example, an @Evaluation@ could have the @Name@ @2014-09-09-HolidayGiftMailer@ . To search for this @Evaluation@ , select @Name@ for the @FilterVariable@ and any of the following strings for the @Prefix@ : * 2014-09 * 2014-09-09 * 2014-09-09-Holiday------ * 'deGT' - The greater than operator. The @Evaluation@ results will have @FilterVariable@ values that are greater than the value specified with @GT@ .------ * 'deNE' - The not equal to operator. The @Evaluation@ results will have @FilterVariable@ values not equal to the value specified with @NE@ .------ * 'deNextToken' - The ID of the page in the paginated results.------ * 'deSortOrder' - A two-value parameter that determines the sequence of the resulting list of @Evaluation@ . * @asc@ - Arranges the list in ascending order (A-Z, 0-9). * @dsc@ - Arranges the list in descending order (Z-A, 9-0). Results are sorted by @FilterVariable@ .------ * 'deLimit' - The maximum number of @Evaluation@ to include in the result.------ * 'deLT' - The less than operator. The @Evaluation@ results will have @FilterVariable@ values that are less than the value specified with @LT@ .------ * 'deFilterVariable' - Use one of the following variable to filter a list of @Evaluation@ objects: * @CreatedAt@ - Sets the search criteria to the @Evaluation@ creation date. * @Status@ - Sets the search criteria to the @Evaluation@ status. * @Name@ - Sets the search criteria to the contents of @Evaluation@ ____ @Name@ . * @IAMUser@ - Sets the search criteria to the user account that invoked an @Evaluation@ . * @MLModelId@ - Sets the search criteria to the @MLModel@ that was evaluated. * @DataSourceId@ - Sets the search criteria to the @DataSource@ used in @Evaluation@ . * @DataUri@ - Sets the search criteria to the data file(s) used in @Evaluation@ . The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.------ * 'deLE' - The less than or equal to operator. The @Evaluation@ results will have @FilterVariable@ values that are less than or equal to the value specified with @LE@ .-describeEvaluations- :: DescribeEvaluations-describeEvaluations =- DescribeEvaluations'- { _deEQ = Nothing- , _deGE = Nothing- , _dePrefix = Nothing- , _deGT = Nothing- , _deNE = Nothing- , _deNextToken = Nothing- , _deSortOrder = Nothing- , _deLimit = Nothing- , _deLT = Nothing- , _deFilterVariable = Nothing- , _deLE = Nothing- }----- | The equal to operator. The @Evaluation@ results will have @FilterVariable@ values that exactly match the value specified with @EQ@ .-deEQ :: Lens' DescribeEvaluations (Maybe Text)-deEQ = lens _deEQ (\ s a -> s{_deEQ = a})---- | The greater than or equal to operator. The @Evaluation@ results will have @FilterVariable@ values that are greater than or equal to the value specified with @GE@ .-deGE :: Lens' DescribeEvaluations (Maybe Text)-deGE = lens _deGE (\ s a -> s{_deGE = a})---- | A string that is found at the beginning of a variable, such as @Name@ or @Id@ . For example, an @Evaluation@ could have the @Name@ @2014-09-09-HolidayGiftMailer@ . To search for this @Evaluation@ , select @Name@ for the @FilterVariable@ and any of the following strings for the @Prefix@ : * 2014-09 * 2014-09-09 * 2014-09-09-Holiday-dePrefix :: Lens' DescribeEvaluations (Maybe Text)-dePrefix = lens _dePrefix (\ s a -> s{_dePrefix = a})---- | The greater than operator. The @Evaluation@ results will have @FilterVariable@ values that are greater than the value specified with @GT@ .-deGT :: Lens' DescribeEvaluations (Maybe Text)-deGT = lens _deGT (\ s a -> s{_deGT = a})---- | The not equal to operator. The @Evaluation@ results will have @FilterVariable@ values not equal to the value specified with @NE@ .-deNE :: Lens' DescribeEvaluations (Maybe Text)-deNE = lens _deNE (\ s a -> s{_deNE = a})---- | The ID of the page in the paginated results.-deNextToken :: Lens' DescribeEvaluations (Maybe Text)-deNextToken = lens _deNextToken (\ s a -> s{_deNextToken = a})---- | A two-value parameter that determines the sequence of the resulting list of @Evaluation@ . * @asc@ - Arranges the list in ascending order (A-Z, 0-9). * @dsc@ - Arranges the list in descending order (Z-A, 9-0). Results are sorted by @FilterVariable@ .-deSortOrder :: Lens' DescribeEvaluations (Maybe SortOrder)-deSortOrder = lens _deSortOrder (\ s a -> s{_deSortOrder = a})---- | The maximum number of @Evaluation@ to include in the result.-deLimit :: Lens' DescribeEvaluations (Maybe Natural)-deLimit = lens _deLimit (\ s a -> s{_deLimit = a}) . mapping _Nat---- | The less than operator. The @Evaluation@ results will have @FilterVariable@ values that are less than the value specified with @LT@ .-deLT :: Lens' DescribeEvaluations (Maybe Text)-deLT = lens _deLT (\ s a -> s{_deLT = a})---- | Use one of the following variable to filter a list of @Evaluation@ objects: * @CreatedAt@ - Sets the search criteria to the @Evaluation@ creation date. * @Status@ - Sets the search criteria to the @Evaluation@ status. * @Name@ - Sets the search criteria to the contents of @Evaluation@ ____ @Name@ . * @IAMUser@ - Sets the search criteria to the user account that invoked an @Evaluation@ . * @MLModelId@ - Sets the search criteria to the @MLModel@ that was evaluated. * @DataSourceId@ - Sets the search criteria to the @DataSource@ used in @Evaluation@ . * @DataUri@ - Sets the search criteria to the data file(s) used in @Evaluation@ . The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.-deFilterVariable :: Lens' DescribeEvaluations (Maybe EvaluationFilterVariable)-deFilterVariable = lens _deFilterVariable (\ s a -> s{_deFilterVariable = a})---- | The less than or equal to operator. The @Evaluation@ results will have @FilterVariable@ values that are less than or equal to the value specified with @LE@ .-deLE :: Lens' DescribeEvaluations (Maybe Text)-deLE = lens _deLE (\ s a -> s{_deLE = a})--instance AWSPager DescribeEvaluations where- page rq rs- | stop (rs ^. desrsNextToken) = Nothing- | stop (rs ^. desrsResults) = Nothing- | otherwise =- Just $ rq & deNextToken .~ rs ^. desrsNextToken--instance AWSRequest DescribeEvaluations where- type Rs DescribeEvaluations =- DescribeEvaluationsResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DescribeEvaluationsResponse' <$>- (x .?> "Results" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeEvaluations where--instance NFData DescribeEvaluations where--instance ToHeaders DescribeEvaluations where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DescribeEvaluations" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeEvaluations where- toJSON DescribeEvaluations'{..}- = object- (catMaybes- [("EQ" .=) <$> _deEQ, ("GE" .=) <$> _deGE,- ("Prefix" .=) <$> _dePrefix, ("GT" .=) <$> _deGT,- ("NE" .=) <$> _deNE,- ("NextToken" .=) <$> _deNextToken,- ("SortOrder" .=) <$> _deSortOrder,- ("Limit" .=) <$> _deLimit, ("LT" .=) <$> _deLT,- ("FilterVariable" .=) <$> _deFilterVariable,- ("LE" .=) <$> _deLE])--instance ToPath DescribeEvaluations where- toPath = const "/"--instance ToQuery DescribeEvaluations where- toQuery = const mempty---- | Represents the query results from a @DescribeEvaluations@ operation. The content is essentially a list of @Evaluation@ .------------ /See:/ 'describeEvaluationsResponse' smart constructor.-data DescribeEvaluationsResponse = DescribeEvaluationsResponse'- { _desrsResults :: !(Maybe [Evaluation])- , _desrsNextToken :: !(Maybe Text)- , _desrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeEvaluationsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'desrsResults' - A list of @Evaluation@ that meet the search criteria.------ * 'desrsNextToken' - The ID of the next page in the paginated results that indicates at least one more page follows.------ * 'desrsResponseStatus' - -- | The response status code.-describeEvaluationsResponse- :: Int -- ^ 'desrsResponseStatus'- -> DescribeEvaluationsResponse-describeEvaluationsResponse pResponseStatus_ =- DescribeEvaluationsResponse'- { _desrsResults = Nothing- , _desrsNextToken = Nothing- , _desrsResponseStatus = pResponseStatus_- }----- | A list of @Evaluation@ that meet the search criteria.-desrsResults :: Lens' DescribeEvaluationsResponse [Evaluation]-desrsResults = lens _desrsResults (\ s a -> s{_desrsResults = a}) . _Default . _Coerce---- | The ID of the next page in the paginated results that indicates at least one more page follows.-desrsNextToken :: Lens' DescribeEvaluationsResponse (Maybe Text)-desrsNextToken = lens _desrsNextToken (\ s a -> s{_desrsNextToken = a})---- | -- | The response status code.-desrsResponseStatus :: Lens' DescribeEvaluationsResponse Int-desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a})--instance NFData DescribeEvaluationsResponse where
− gen/Network/AWS/MachineLearning/DescribeMLModels.hs
@@ -1,257 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DescribeMLModels--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of @MLModel@ that match the search criteria in the request.------------ This operation returns paginated results.-module Network.AWS.MachineLearning.DescribeMLModels- (- -- * Creating a Request- describeMLModels- , DescribeMLModels- -- * Request Lenses- , dmlmEQ- , dmlmGE- , dmlmPrefix- , dmlmGT- , dmlmNE- , dmlmNextToken- , dmlmSortOrder- , dmlmLimit- , dmlmLT- , dmlmFilterVariable- , dmlmLE-- -- * Destructuring the Response- , describeMLModelsResponse- , DescribeMLModelsResponse- -- * Response Lenses- , dmlmsrsResults- , dmlmsrsNextToken- , dmlmsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeMLModels' smart constructor.-data DescribeMLModels = DescribeMLModels'- { _dmlmEQ :: !(Maybe Text)- , _dmlmGE :: !(Maybe Text)- , _dmlmPrefix :: !(Maybe Text)- , _dmlmGT :: !(Maybe Text)- , _dmlmNE :: !(Maybe Text)- , _dmlmNextToken :: !(Maybe Text)- , _dmlmSortOrder :: !(Maybe SortOrder)- , _dmlmLimit :: !(Maybe Nat)- , _dmlmLT :: !(Maybe Text)- , _dmlmFilterVariable :: !(Maybe MLModelFilterVariable)- , _dmlmLE :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeMLModels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmlmEQ' - The equal to operator. The @MLModel@ results will have @FilterVariable@ values that exactly match the value specified with @EQ@ .------ * 'dmlmGE' - The greater than or equal to operator. The @MLModel@ results will have @FilterVariable@ values that are greater than or equal to the value specified with @GE@ .------ * 'dmlmPrefix' - A string that is found at the beginning of a variable, such as @Name@ or @Id@ . For example, an @MLModel@ could have the @Name@ @2014-09-09-HolidayGiftMailer@ . To search for this @MLModel@ , select @Name@ for the @FilterVariable@ and any of the following strings for the @Prefix@ : * 2014-09 * 2014-09-09 * 2014-09-09-Holiday------ * 'dmlmGT' - The greater than operator. The @MLModel@ results will have @FilterVariable@ values that are greater than the value specified with @GT@ .------ * 'dmlmNE' - The not equal to operator. The @MLModel@ results will have @FilterVariable@ values not equal to the value specified with @NE@ .------ * 'dmlmNextToken' - The ID of the page in the paginated results.------ * 'dmlmSortOrder' - A two-value parameter that determines the sequence of the resulting list of @MLModel@ . * @asc@ - Arranges the list in ascending order (A-Z, 0-9). * @dsc@ - Arranges the list in descending order (Z-A, 9-0). Results are sorted by @FilterVariable@ .------ * 'dmlmLimit' - The number of pages of information to include in the result. The range of acceptable values is @1@ through @100@ . The default value is @100@ .------ * 'dmlmLT' - The less than operator. The @MLModel@ results will have @FilterVariable@ values that are less than the value specified with @LT@ .------ * 'dmlmFilterVariable' - Use one of the following variables to filter a list of @MLModel@ : * @CreatedAt@ - Sets the search criteria to @MLModel@ creation date. * @Status@ - Sets the search criteria to @MLModel@ status. * @Name@ - Sets the search criteria to the contents of @MLModel@ ____ @Name@ . * @IAMUser@ - Sets the search criteria to the user account that invoked the @MLModel@ creation. * @TrainingDataSourceId@ - Sets the search criteria to the @DataSource@ used to train one or more @MLModel@ . * @RealtimeEndpointStatus@ - Sets the search criteria to the @MLModel@ real-time endpoint status. * @MLModelType@ - Sets the search criteria to @MLModel@ type: binary, regression, or multi-class. * @Algorithm@ - Sets the search criteria to the algorithm that the @MLModel@ uses. * @TrainingDataURI@ - Sets the search criteria to the data file(s) used in training a @MLModel@ . The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.------ * 'dmlmLE' - The less than or equal to operator. The @MLModel@ results will have @FilterVariable@ values that are less than or equal to the value specified with @LE@ .-describeMLModels- :: DescribeMLModels-describeMLModels =- DescribeMLModels'- { _dmlmEQ = Nothing- , _dmlmGE = Nothing- , _dmlmPrefix = Nothing- , _dmlmGT = Nothing- , _dmlmNE = Nothing- , _dmlmNextToken = Nothing- , _dmlmSortOrder = Nothing- , _dmlmLimit = Nothing- , _dmlmLT = Nothing- , _dmlmFilterVariable = Nothing- , _dmlmLE = Nothing- }----- | The equal to operator. The @MLModel@ results will have @FilterVariable@ values that exactly match the value specified with @EQ@ .-dmlmEQ :: Lens' DescribeMLModels (Maybe Text)-dmlmEQ = lens _dmlmEQ (\ s a -> s{_dmlmEQ = a})---- | The greater than or equal to operator. The @MLModel@ results will have @FilterVariable@ values that are greater than or equal to the value specified with @GE@ .-dmlmGE :: Lens' DescribeMLModels (Maybe Text)-dmlmGE = lens _dmlmGE (\ s a -> s{_dmlmGE = a})---- | A string that is found at the beginning of a variable, such as @Name@ or @Id@ . For example, an @MLModel@ could have the @Name@ @2014-09-09-HolidayGiftMailer@ . To search for this @MLModel@ , select @Name@ for the @FilterVariable@ and any of the following strings for the @Prefix@ : * 2014-09 * 2014-09-09 * 2014-09-09-Holiday-dmlmPrefix :: Lens' DescribeMLModels (Maybe Text)-dmlmPrefix = lens _dmlmPrefix (\ s a -> s{_dmlmPrefix = a})---- | The greater than operator. The @MLModel@ results will have @FilterVariable@ values that are greater than the value specified with @GT@ .-dmlmGT :: Lens' DescribeMLModels (Maybe Text)-dmlmGT = lens _dmlmGT (\ s a -> s{_dmlmGT = a})---- | The not equal to operator. The @MLModel@ results will have @FilterVariable@ values not equal to the value specified with @NE@ .-dmlmNE :: Lens' DescribeMLModels (Maybe Text)-dmlmNE = lens _dmlmNE (\ s a -> s{_dmlmNE = a})---- | The ID of the page in the paginated results.-dmlmNextToken :: Lens' DescribeMLModels (Maybe Text)-dmlmNextToken = lens _dmlmNextToken (\ s a -> s{_dmlmNextToken = a})---- | A two-value parameter that determines the sequence of the resulting list of @MLModel@ . * @asc@ - Arranges the list in ascending order (A-Z, 0-9). * @dsc@ - Arranges the list in descending order (Z-A, 9-0). Results are sorted by @FilterVariable@ .-dmlmSortOrder :: Lens' DescribeMLModels (Maybe SortOrder)-dmlmSortOrder = lens _dmlmSortOrder (\ s a -> s{_dmlmSortOrder = a})---- | The number of pages of information to include in the result. The range of acceptable values is @1@ through @100@ . The default value is @100@ .-dmlmLimit :: Lens' DescribeMLModels (Maybe Natural)-dmlmLimit = lens _dmlmLimit (\ s a -> s{_dmlmLimit = a}) . mapping _Nat---- | The less than operator. The @MLModel@ results will have @FilterVariable@ values that are less than the value specified with @LT@ .-dmlmLT :: Lens' DescribeMLModels (Maybe Text)-dmlmLT = lens _dmlmLT (\ s a -> s{_dmlmLT = a})---- | Use one of the following variables to filter a list of @MLModel@ : * @CreatedAt@ - Sets the search criteria to @MLModel@ creation date. * @Status@ - Sets the search criteria to @MLModel@ status. * @Name@ - Sets the search criteria to the contents of @MLModel@ ____ @Name@ . * @IAMUser@ - Sets the search criteria to the user account that invoked the @MLModel@ creation. * @TrainingDataSourceId@ - Sets the search criteria to the @DataSource@ used to train one or more @MLModel@ . * @RealtimeEndpointStatus@ - Sets the search criteria to the @MLModel@ real-time endpoint status. * @MLModelType@ - Sets the search criteria to @MLModel@ type: binary, regression, or multi-class. * @Algorithm@ - Sets the search criteria to the algorithm that the @MLModel@ uses. * @TrainingDataURI@ - Sets the search criteria to the data file(s) used in training a @MLModel@ . The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.-dmlmFilterVariable :: Lens' DescribeMLModels (Maybe MLModelFilterVariable)-dmlmFilterVariable = lens _dmlmFilterVariable (\ s a -> s{_dmlmFilterVariable = a})---- | The less than or equal to operator. The @MLModel@ results will have @FilterVariable@ values that are less than or equal to the value specified with @LE@ .-dmlmLE :: Lens' DescribeMLModels (Maybe Text)-dmlmLE = lens _dmlmLE (\ s a -> s{_dmlmLE = a})--instance AWSPager DescribeMLModels where- page rq rs- | stop (rs ^. dmlmsrsNextToken) = Nothing- | stop (rs ^. dmlmsrsResults) = Nothing- | otherwise =- Just $ rq & dmlmNextToken .~ rs ^. dmlmsrsNextToken--instance AWSRequest DescribeMLModels where- type Rs DescribeMLModels = DescribeMLModelsResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DescribeMLModelsResponse' <$>- (x .?> "Results" .!@ mempty) <*> (x .?> "NextToken")- <*> (pure (fromEnum s)))--instance Hashable DescribeMLModels where--instance NFData DescribeMLModels where--instance ToHeaders DescribeMLModels where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DescribeMLModels" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeMLModels where- toJSON DescribeMLModels'{..}- = object- (catMaybes- [("EQ" .=) <$> _dmlmEQ, ("GE" .=) <$> _dmlmGE,- ("Prefix" .=) <$> _dmlmPrefix, ("GT" .=) <$> _dmlmGT,- ("NE" .=) <$> _dmlmNE,- ("NextToken" .=) <$> _dmlmNextToken,- ("SortOrder" .=) <$> _dmlmSortOrder,- ("Limit" .=) <$> _dmlmLimit, ("LT" .=) <$> _dmlmLT,- ("FilterVariable" .=) <$> _dmlmFilterVariable,- ("LE" .=) <$> _dmlmLE])--instance ToPath DescribeMLModels where- toPath = const "/"--instance ToQuery DescribeMLModels where- toQuery = const mempty---- | Represents the output of a @DescribeMLModels@ operation. The content is essentially a list of @MLModel@ .------------ /See:/ 'describeMLModelsResponse' smart constructor.-data DescribeMLModelsResponse = DescribeMLModelsResponse'- { _dmlmsrsResults :: !(Maybe [MLModel])- , _dmlmsrsNextToken :: !(Maybe Text)- , _dmlmsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeMLModelsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dmlmsrsResults' - A list of @MLModel@ that meet the search criteria.------ * 'dmlmsrsNextToken' - The ID of the next page in the paginated results that indicates at least one more page follows.------ * 'dmlmsrsResponseStatus' - -- | The response status code.-describeMLModelsResponse- :: Int -- ^ 'dmlmsrsResponseStatus'- -> DescribeMLModelsResponse-describeMLModelsResponse pResponseStatus_ =- DescribeMLModelsResponse'- { _dmlmsrsResults = Nothing- , _dmlmsrsNextToken = Nothing- , _dmlmsrsResponseStatus = pResponseStatus_- }----- | A list of @MLModel@ that meet the search criteria.-dmlmsrsResults :: Lens' DescribeMLModelsResponse [MLModel]-dmlmsrsResults = lens _dmlmsrsResults (\ s a -> s{_dmlmsrsResults = a}) . _Default . _Coerce---- | The ID of the next page in the paginated results that indicates at least one more page follows.-dmlmsrsNextToken :: Lens' DescribeMLModelsResponse (Maybe Text)-dmlmsrsNextToken = lens _dmlmsrsNextToken (\ s a -> s{_dmlmsrsNextToken = a})---- | -- | The response status code.-dmlmsrsResponseStatus :: Lens' DescribeMLModelsResponse Int-dmlmsrsResponseStatus = lens _dmlmsrsResponseStatus (\ s a -> s{_dmlmsrsResponseStatus = a})--instance NFData DescribeMLModelsResponse where
− gen/Network/AWS/MachineLearning/DescribeTags.hs
@@ -1,169 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.DescribeTags--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Describes one or more of the tags for your Amazon ML object.-------module Network.AWS.MachineLearning.DescribeTags- (- -- * Creating a Request- describeTags- , DescribeTags- -- * Request Lenses- , dtResourceId- , dtResourceType-- -- * Destructuring the Response- , describeTagsResponse- , DescribeTagsResponse- -- * Response Lenses- , dtrsResourceId- , dtrsResourceType- , dtrsTags- , dtrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'describeTags' smart constructor.-data DescribeTags = DescribeTags'- { _dtResourceId :: !Text- , _dtResourceType :: !TaggableResourceType- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeTags' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtResourceId' - The ID of the ML object. For example, @exampleModelId@ .------ * 'dtResourceType' - The type of the ML object.-describeTags- :: Text -- ^ 'dtResourceId'- -> TaggableResourceType -- ^ 'dtResourceType'- -> DescribeTags-describeTags pResourceId_ pResourceType_ =- DescribeTags' {_dtResourceId = pResourceId_, _dtResourceType = pResourceType_}----- | The ID of the ML object. For example, @exampleModelId@ .-dtResourceId :: Lens' DescribeTags Text-dtResourceId = lens _dtResourceId (\ s a -> s{_dtResourceId = a})---- | The type of the ML object.-dtResourceType :: Lens' DescribeTags TaggableResourceType-dtResourceType = lens _dtResourceType (\ s a -> s{_dtResourceType = a})--instance AWSRequest DescribeTags where- type Rs DescribeTags = DescribeTagsResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- DescribeTagsResponse' <$>- (x .?> "ResourceId") <*> (x .?> "ResourceType") <*>- (x .?> "Tags" .!@ mempty)- <*> (pure (fromEnum s)))--instance Hashable DescribeTags where--instance NFData DescribeTags where--instance ToHeaders DescribeTags where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.DescribeTags" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON DescribeTags where- toJSON DescribeTags'{..}- = object- (catMaybes- [Just ("ResourceId" .= _dtResourceId),- Just ("ResourceType" .= _dtResourceType)])--instance ToPath DescribeTags where- toPath = const "/"--instance ToQuery DescribeTags where- toQuery = const mempty---- | Amazon ML returns the following elements.------------ /See:/ 'describeTagsResponse' smart constructor.-data DescribeTagsResponse = DescribeTagsResponse'- { _dtrsResourceId :: !(Maybe Text)- , _dtrsResourceType :: !(Maybe TaggableResourceType)- , _dtrsTags :: !(Maybe [Tag])- , _dtrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DescribeTagsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dtrsResourceId' - The ID of the tagged ML object.------ * 'dtrsResourceType' - The type of the tagged ML object.------ * 'dtrsTags' - A list of tags associated with the ML object.------ * 'dtrsResponseStatus' - -- | The response status code.-describeTagsResponse- :: Int -- ^ 'dtrsResponseStatus'- -> DescribeTagsResponse-describeTagsResponse pResponseStatus_ =- DescribeTagsResponse'- { _dtrsResourceId = Nothing- , _dtrsResourceType = Nothing- , _dtrsTags = Nothing- , _dtrsResponseStatus = pResponseStatus_- }----- | The ID of the tagged ML object.-dtrsResourceId :: Lens' DescribeTagsResponse (Maybe Text)-dtrsResourceId = lens _dtrsResourceId (\ s a -> s{_dtrsResourceId = a})---- | The type of the tagged ML object.-dtrsResourceType :: Lens' DescribeTagsResponse (Maybe TaggableResourceType)-dtrsResourceType = lens _dtrsResourceType (\ s a -> s{_dtrsResourceType = a})---- | A list of tags associated with the ML object.-dtrsTags :: Lens' DescribeTagsResponse [Tag]-dtrsTags = lens _dtrsTags (\ s a -> s{_dtrsTags = a}) . _Default . _Coerce---- | -- | The response status code.-dtrsResponseStatus :: Lens' DescribeTagsResponse Int-dtrsResponseStatus = lens _dtrsResponseStatus (\ s a -> s{_dtrsResponseStatus = a})--instance NFData DescribeTagsResponse where
− gen/Network/AWS/MachineLearning/GetBatchPrediction.hs
@@ -1,302 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.GetBatchPrediction--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a @BatchPrediction@ that includes detailed metadata, status, and data file information for a @Batch Prediction@ request.-------module Network.AWS.MachineLearning.GetBatchPrediction- (- -- * Creating a Request- getBatchPrediction- , GetBatchPrediction- -- * Request Lenses- , gbpBatchPredictionId-- -- * Destructuring the Response- , getBatchPredictionResponse- , GetBatchPredictionResponse- -- * Response Lenses- , gbprsStatus- , gbprsLastUpdatedAt- , gbprsCreatedAt- , gbprsComputeTime- , gbprsInputDataLocationS3- , gbprsMLModelId- , gbprsBatchPredictionDataSourceId- , gbprsTotalRecordCount- , gbprsStartedAt- , gbprsBatchPredictionId- , gbprsFinishedAt- , gbprsInvalidRecordCount- , gbprsCreatedByIAMUser- , gbprsName- , gbprsLogURI- , gbprsMessage- , gbprsOutputURI- , gbprsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'getBatchPrediction' smart constructor.-newtype GetBatchPrediction = GetBatchPrediction'- { _gbpBatchPredictionId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetBatchPrediction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gbpBatchPredictionId' - An ID assigned to the @BatchPrediction@ at creation.-getBatchPrediction- :: Text -- ^ 'gbpBatchPredictionId'- -> GetBatchPrediction-getBatchPrediction pBatchPredictionId_ =- GetBatchPrediction' {_gbpBatchPredictionId = pBatchPredictionId_}----- | An ID assigned to the @BatchPrediction@ at creation.-gbpBatchPredictionId :: Lens' GetBatchPrediction Text-gbpBatchPredictionId = lens _gbpBatchPredictionId (\ s a -> s{_gbpBatchPredictionId = a})--instance AWSRequest GetBatchPrediction where- type Rs GetBatchPrediction =- GetBatchPredictionResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- GetBatchPredictionResponse' <$>- (x .?> "Status") <*> (x .?> "LastUpdatedAt") <*>- (x .?> "CreatedAt")- <*> (x .?> "ComputeTime")- <*> (x .?> "InputDataLocationS3")- <*> (x .?> "MLModelId")- <*> (x .?> "BatchPredictionDataSourceId")- <*> (x .?> "TotalRecordCount")- <*> (x .?> "StartedAt")- <*> (x .?> "BatchPredictionId")- <*> (x .?> "FinishedAt")- <*> (x .?> "InvalidRecordCount")- <*> (x .?> "CreatedByIamUser")- <*> (x .?> "Name")- <*> (x .?> "LogUri")- <*> (x .?> "Message")- <*> (x .?> "OutputUri")- <*> (pure (fromEnum s)))--instance Hashable GetBatchPrediction where--instance NFData GetBatchPrediction where--instance ToHeaders GetBatchPrediction where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.GetBatchPrediction" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetBatchPrediction where- toJSON GetBatchPrediction'{..}- = object- (catMaybes- [Just- ("BatchPredictionId" .= _gbpBatchPredictionId)])--instance ToPath GetBatchPrediction where- toPath = const "/"--instance ToQuery GetBatchPrediction where- toQuery = const mempty---- | Represents the output of a @GetBatchPrediction@ operation and describes a @BatchPrediction@ .------------ /See:/ 'getBatchPredictionResponse' smart constructor.-data GetBatchPredictionResponse = GetBatchPredictionResponse'- { _gbprsStatus :: !(Maybe EntityStatus)- , _gbprsLastUpdatedAt :: !(Maybe POSIX)- , _gbprsCreatedAt :: !(Maybe POSIX)- , _gbprsComputeTime :: !(Maybe Integer)- , _gbprsInputDataLocationS3 :: !(Maybe Text)- , _gbprsMLModelId :: !(Maybe Text)- , _gbprsBatchPredictionDataSourceId :: !(Maybe Text)- , _gbprsTotalRecordCount :: !(Maybe Integer)- , _gbprsStartedAt :: !(Maybe POSIX)- , _gbprsBatchPredictionId :: !(Maybe Text)- , _gbprsFinishedAt :: !(Maybe POSIX)- , _gbprsInvalidRecordCount :: !(Maybe Integer)- , _gbprsCreatedByIAMUser :: !(Maybe Text)- , _gbprsName :: !(Maybe Text)- , _gbprsLogURI :: !(Maybe Text)- , _gbprsMessage :: !(Maybe Text)- , _gbprsOutputURI :: !(Maybe Text)- , _gbprsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetBatchPredictionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gbprsStatus' - The status of the @BatchPrediction@ , which can be one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions. * @INPROGRESS@ - The batch predictions are in progress. * @FAILED@ - The request to perform a batch prediction did not run to completion. It is not usable. * @COMPLETED@ - The batch prediction process completed successfully. * @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not usable.------ * 'gbprsLastUpdatedAt' - The time of the most recent edit to @BatchPrediction@ . The time is expressed in epoch time.------ * 'gbprsCreatedAt' - The time when the @BatchPrediction@ was created. The time is expressed in epoch time.------ * 'gbprsComputeTime' - The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the @BatchPrediction@ , normalized and scaled on computation resources. @ComputeTime@ is only available if the @BatchPrediction@ is in the @COMPLETED@ state.------ * 'gbprsInputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).------ * 'gbprsMLModelId' - The ID of the @MLModel@ that generated predictions for the @BatchPrediction@ request.------ * 'gbprsBatchPredictionDataSourceId' - The ID of the @DataSource@ that was used to create the @BatchPrediction@ .------ * 'gbprsTotalRecordCount' - The number of total records that Amazon Machine Learning saw while processing the @BatchPrediction@ .------ * 'gbprsStartedAt' - The epoch time when Amazon Machine Learning marked the @BatchPrediction@ as @INPROGRESS@ . @StartedAt@ isn't available if the @BatchPrediction@ is in the @PENDING@ state.------ * 'gbprsBatchPredictionId' - An ID assigned to the @BatchPrediction@ at creation. This value should be identical to the value of the @BatchPredictionID@ in the request.------ * 'gbprsFinishedAt' - The epoch time when Amazon Machine Learning marked the @BatchPrediction@ as @COMPLETED@ or @FAILED@ . @FinishedAt@ is only available when the @BatchPrediction@ is in the @COMPLETED@ or @FAILED@ state.------ * 'gbprsInvalidRecordCount' - The number of invalid records that Amazon Machine Learning saw while processing the @BatchPrediction@ .------ * 'gbprsCreatedByIAMUser' - The AWS user account that invoked the @BatchPrediction@ . The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.------ * 'gbprsName' - A user-supplied name or description of the @BatchPrediction@ .------ * 'gbprsLogURI' - A link to the file that contains logs of the @CreateBatchPrediction@ operation.------ * 'gbprsMessage' - A description of the most recent details about processing the batch prediction request.------ * 'gbprsOutputURI' - The location of an Amazon S3 bucket or directory to receive the operation results.------ * 'gbprsResponseStatus' - -- | The response status code.-getBatchPredictionResponse- :: Int -- ^ 'gbprsResponseStatus'- -> GetBatchPredictionResponse-getBatchPredictionResponse pResponseStatus_ =- GetBatchPredictionResponse'- { _gbprsStatus = Nothing- , _gbprsLastUpdatedAt = Nothing- , _gbprsCreatedAt = Nothing- , _gbprsComputeTime = Nothing- , _gbprsInputDataLocationS3 = Nothing- , _gbprsMLModelId = Nothing- , _gbprsBatchPredictionDataSourceId = Nothing- , _gbprsTotalRecordCount = Nothing- , _gbprsStartedAt = Nothing- , _gbprsBatchPredictionId = Nothing- , _gbprsFinishedAt = Nothing- , _gbprsInvalidRecordCount = Nothing- , _gbprsCreatedByIAMUser = Nothing- , _gbprsName = Nothing- , _gbprsLogURI = Nothing- , _gbprsMessage = Nothing- , _gbprsOutputURI = Nothing- , _gbprsResponseStatus = pResponseStatus_- }----- | The status of the @BatchPrediction@ , which can be one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions. * @INPROGRESS@ - The batch predictions are in progress. * @FAILED@ - The request to perform a batch prediction did not run to completion. It is not usable. * @COMPLETED@ - The batch prediction process completed successfully. * @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not usable.-gbprsStatus :: Lens' GetBatchPredictionResponse (Maybe EntityStatus)-gbprsStatus = lens _gbprsStatus (\ s a -> s{_gbprsStatus = a})---- | The time of the most recent edit to @BatchPrediction@ . The time is expressed in epoch time.-gbprsLastUpdatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)-gbprsLastUpdatedAt = lens _gbprsLastUpdatedAt (\ s a -> s{_gbprsLastUpdatedAt = a}) . mapping _Time---- | The time when the @BatchPrediction@ was created. The time is expressed in epoch time.-gbprsCreatedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)-gbprsCreatedAt = lens _gbprsCreatedAt (\ s a -> s{_gbprsCreatedAt = a}) . mapping _Time---- | The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the @BatchPrediction@ , normalized and scaled on computation resources. @ComputeTime@ is only available if the @BatchPrediction@ is in the @COMPLETED@ state.-gbprsComputeTime :: Lens' GetBatchPredictionResponse (Maybe Integer)-gbprsComputeTime = lens _gbprsComputeTime (\ s a -> s{_gbprsComputeTime = a})---- | The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).-gbprsInputDataLocationS3 :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsInputDataLocationS3 = lens _gbprsInputDataLocationS3 (\ s a -> s{_gbprsInputDataLocationS3 = a})---- | The ID of the @MLModel@ that generated predictions for the @BatchPrediction@ request.-gbprsMLModelId :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsMLModelId = lens _gbprsMLModelId (\ s a -> s{_gbprsMLModelId = a})---- | The ID of the @DataSource@ that was used to create the @BatchPrediction@ .-gbprsBatchPredictionDataSourceId :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsBatchPredictionDataSourceId = lens _gbprsBatchPredictionDataSourceId (\ s a -> s{_gbprsBatchPredictionDataSourceId = a})---- | The number of total records that Amazon Machine Learning saw while processing the @BatchPrediction@ .-gbprsTotalRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)-gbprsTotalRecordCount = lens _gbprsTotalRecordCount (\ s a -> s{_gbprsTotalRecordCount = a})---- | The epoch time when Amazon Machine Learning marked the @BatchPrediction@ as @INPROGRESS@ . @StartedAt@ isn't available if the @BatchPrediction@ is in the @PENDING@ state.-gbprsStartedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)-gbprsStartedAt = lens _gbprsStartedAt (\ s a -> s{_gbprsStartedAt = a}) . mapping _Time---- | An ID assigned to the @BatchPrediction@ at creation. This value should be identical to the value of the @BatchPredictionID@ in the request.-gbprsBatchPredictionId :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsBatchPredictionId = lens _gbprsBatchPredictionId (\ s a -> s{_gbprsBatchPredictionId = a})---- | The epoch time when Amazon Machine Learning marked the @BatchPrediction@ as @COMPLETED@ or @FAILED@ . @FinishedAt@ is only available when the @BatchPrediction@ is in the @COMPLETED@ or @FAILED@ state.-gbprsFinishedAt :: Lens' GetBatchPredictionResponse (Maybe UTCTime)-gbprsFinishedAt = lens _gbprsFinishedAt (\ s a -> s{_gbprsFinishedAt = a}) . mapping _Time---- | The number of invalid records that Amazon Machine Learning saw while processing the @BatchPrediction@ .-gbprsInvalidRecordCount :: Lens' GetBatchPredictionResponse (Maybe Integer)-gbprsInvalidRecordCount = lens _gbprsInvalidRecordCount (\ s a -> s{_gbprsInvalidRecordCount = a})---- | The AWS user account that invoked the @BatchPrediction@ . The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.-gbprsCreatedByIAMUser :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsCreatedByIAMUser = lens _gbprsCreatedByIAMUser (\ s a -> s{_gbprsCreatedByIAMUser = a})---- | A user-supplied name or description of the @BatchPrediction@ .-gbprsName :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsName = lens _gbprsName (\ s a -> s{_gbprsName = a})---- | A link to the file that contains logs of the @CreateBatchPrediction@ operation.-gbprsLogURI :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsLogURI = lens _gbprsLogURI (\ s a -> s{_gbprsLogURI = a})---- | A description of the most recent details about processing the batch prediction request.-gbprsMessage :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsMessage = lens _gbprsMessage (\ s a -> s{_gbprsMessage = a})---- | The location of an Amazon S3 bucket or directory to receive the operation results.-gbprsOutputURI :: Lens' GetBatchPredictionResponse (Maybe Text)-gbprsOutputURI = lens _gbprsOutputURI (\ s a -> s{_gbprsOutputURI = a})---- | -- | The response status code.-gbprsResponseStatus :: Lens' GetBatchPredictionResponse Int-gbprsResponseStatus = lens _gbprsResponseStatus (\ s a -> s{_gbprsResponseStatus = a})--instance NFData GetBatchPredictionResponse where
− gen/Network/AWS/MachineLearning/GetDataSource.hs
@@ -1,340 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.GetDataSource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a @DataSource@ that includes metadata and data file information, as well as the current status of the @DataSource@ .--------- @GetDataSource@ provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.----module Network.AWS.MachineLearning.GetDataSource- (- -- * Creating a Request- getDataSource- , GetDataSource- -- * Request Lenses- , gdsVerbose- , gdsDataSourceId-- -- * Destructuring the Response- , getDataSourceResponse- , GetDataSourceResponse- -- * Response Lenses- , gdsrsStatus- , gdsrsNumberOfFiles- , gdsrsLastUpdatedAt- , gdsrsCreatedAt- , gdsrsComputeTime- , gdsrsDataSourceId- , gdsrsRDSMetadata- , gdsrsDataSizeInBytes- , gdsrsDataSourceSchema- , gdsrsStartedAt- , gdsrsFinishedAt- , gdsrsCreatedByIAMUser- , gdsrsName- , gdsrsLogURI- , gdsrsDataLocationS3- , gdsrsComputeStatistics- , gdsrsMessage- , gdsrsRedshiftMetadata- , gdsrsDataRearrangement- , gdsrsRoleARN- , gdsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'getDataSource' smart constructor.-data GetDataSource = GetDataSource'- { _gdsVerbose :: !(Maybe Bool)- , _gdsDataSourceId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetDataSource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gdsVerbose' - Specifies whether the @GetDataSource@ operation should return @DataSourceSchema@ . If true, @DataSourceSchema@ is returned. If false, @DataSourceSchema@ is not returned.------ * 'gdsDataSourceId' - The ID assigned to the @DataSource@ at creation.-getDataSource- :: Text -- ^ 'gdsDataSourceId'- -> GetDataSource-getDataSource pDataSourceId_ =- GetDataSource' {_gdsVerbose = Nothing, _gdsDataSourceId = pDataSourceId_}----- | Specifies whether the @GetDataSource@ operation should return @DataSourceSchema@ . If true, @DataSourceSchema@ is returned. If false, @DataSourceSchema@ is not returned.-gdsVerbose :: Lens' GetDataSource (Maybe Bool)-gdsVerbose = lens _gdsVerbose (\ s a -> s{_gdsVerbose = a})---- | The ID assigned to the @DataSource@ at creation.-gdsDataSourceId :: Lens' GetDataSource Text-gdsDataSourceId = lens _gdsDataSourceId (\ s a -> s{_gdsDataSourceId = a})--instance AWSRequest GetDataSource where- type Rs GetDataSource = GetDataSourceResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- GetDataSourceResponse' <$>- (x .?> "Status") <*> (x .?> "NumberOfFiles") <*>- (x .?> "LastUpdatedAt")- <*> (x .?> "CreatedAt")- <*> (x .?> "ComputeTime")- <*> (x .?> "DataSourceId")- <*> (x .?> "RDSMetadata")- <*> (x .?> "DataSizeInBytes")- <*> (x .?> "DataSourceSchema")- <*> (x .?> "StartedAt")- <*> (x .?> "FinishedAt")- <*> (x .?> "CreatedByIamUser")- <*> (x .?> "Name")- <*> (x .?> "LogUri")- <*> (x .?> "DataLocationS3")- <*> (x .?> "ComputeStatistics")- <*> (x .?> "Message")- <*> (x .?> "RedshiftMetadata")- <*> (x .?> "DataRearrangement")- <*> (x .?> "RoleARN")- <*> (pure (fromEnum s)))--instance Hashable GetDataSource where--instance NFData GetDataSource where--instance ToHeaders GetDataSource where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.GetDataSource" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetDataSource where- toJSON GetDataSource'{..}- = object- (catMaybes- [("Verbose" .=) <$> _gdsVerbose,- Just ("DataSourceId" .= _gdsDataSourceId)])--instance ToPath GetDataSource where- toPath = const "/"--instance ToQuery GetDataSource where- toQuery = const mempty---- | Represents the output of a @GetDataSource@ operation and describes a @DataSource@ .------------ /See:/ 'getDataSourceResponse' smart constructor.-data GetDataSourceResponse = GetDataSourceResponse'- { _gdsrsStatus :: !(Maybe EntityStatus)- , _gdsrsNumberOfFiles :: !(Maybe Integer)- , _gdsrsLastUpdatedAt :: !(Maybe POSIX)- , _gdsrsCreatedAt :: !(Maybe POSIX)- , _gdsrsComputeTime :: !(Maybe Integer)- , _gdsrsDataSourceId :: !(Maybe Text)- , _gdsrsRDSMetadata :: !(Maybe RDSMetadata)- , _gdsrsDataSizeInBytes :: !(Maybe Integer)- , _gdsrsDataSourceSchema :: !(Maybe Text)- , _gdsrsStartedAt :: !(Maybe POSIX)- , _gdsrsFinishedAt :: !(Maybe POSIX)- , _gdsrsCreatedByIAMUser :: !(Maybe Text)- , _gdsrsName :: !(Maybe Text)- , _gdsrsLogURI :: !(Maybe Text)- , _gdsrsDataLocationS3 :: !(Maybe Text)- , _gdsrsComputeStatistics :: !(Maybe Bool)- , _gdsrsMessage :: !(Maybe Text)- , _gdsrsRedshiftMetadata :: !(Maybe RedshiftMetadata)- , _gdsrsDataRearrangement :: !(Maybe Text)- , _gdsrsRoleARN :: !(Maybe Text)- , _gdsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetDataSourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gdsrsStatus' - The current status of the @DataSource@ . This element can have one of the following values: * @PENDING@ - Amazon ML submitted a request to create a @DataSource@ . * @INPROGRESS@ - The creation process is underway. * @FAILED@ - The request to create a @DataSource@ did not run to completion. It is not usable. * @COMPLETED@ - The creation process completed successfully. * @DELETED@ - The @DataSource@ is marked as deleted. It is not usable.------ * 'gdsrsNumberOfFiles' - The number of data files referenced by the @DataSource@ .------ * 'gdsrsLastUpdatedAt' - The time of the most recent edit to the @DataSource@ . The time is expressed in epoch time.------ * 'gdsrsCreatedAt' - The time that the @DataSource@ was created. The time is expressed in epoch time.------ * 'gdsrsComputeTime' - The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the @DataSource@ , normalized and scaled on computation resources. @ComputeTime@ is only available if the @DataSource@ is in the @COMPLETED@ state and the @ComputeStatistics@ is set to true.------ * 'gdsrsDataSourceId' - The ID assigned to the @DataSource@ at creation. This value should be identical to the value of the @DataSourceId@ in the request.------ * 'gdsrsRDSMetadata' - Undocumented member.------ * 'gdsrsDataSizeInBytes' - The total size of observations in the data files.------ * 'gdsrsDataSourceSchema' - The schema used by all of the data files of this @DataSource@ .------ * 'gdsrsStartedAt' - The epoch time when Amazon Machine Learning marked the @DataSource@ as @INPROGRESS@ . @StartedAt@ isn't available if the @DataSource@ is in the @PENDING@ state.------ * 'gdsrsFinishedAt' - The epoch time when Amazon Machine Learning marked the @DataSource@ as @COMPLETED@ or @FAILED@ . @FinishedAt@ is only available when the @DataSource@ is in the @COMPLETED@ or @FAILED@ state.------ * 'gdsrsCreatedByIAMUser' - The AWS user account from which the @DataSource@ was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.------ * 'gdsrsName' - A user-supplied name or description of the @DataSource@ .------ * 'gdsrsLogURI' - A link to the file containing logs of @CreateDataSourceFrom*@ operations.------ * 'gdsrsDataLocationS3' - The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).------ * 'gdsrsComputeStatistics' - The parameter is @true@ if statistics need to be generated from the observation data.------ * 'gdsrsMessage' - The user-supplied description of the most recent details about creating the @DataSource@ .------ * 'gdsrsRedshiftMetadata' - Undocumented member.------ * 'gdsrsDataRearrangement' - A JSON string that represents the splitting and rearrangement requirement used when this @DataSource@ was created.------ * 'gdsrsRoleARN' - Undocumented member.------ * 'gdsrsResponseStatus' - -- | The response status code.-getDataSourceResponse- :: Int -- ^ 'gdsrsResponseStatus'- -> GetDataSourceResponse-getDataSourceResponse pResponseStatus_ =- GetDataSourceResponse'- { _gdsrsStatus = Nothing- , _gdsrsNumberOfFiles = Nothing- , _gdsrsLastUpdatedAt = Nothing- , _gdsrsCreatedAt = Nothing- , _gdsrsComputeTime = Nothing- , _gdsrsDataSourceId = Nothing- , _gdsrsRDSMetadata = Nothing- , _gdsrsDataSizeInBytes = Nothing- , _gdsrsDataSourceSchema = Nothing- , _gdsrsStartedAt = Nothing- , _gdsrsFinishedAt = Nothing- , _gdsrsCreatedByIAMUser = Nothing- , _gdsrsName = Nothing- , _gdsrsLogURI = Nothing- , _gdsrsDataLocationS3 = Nothing- , _gdsrsComputeStatistics = Nothing- , _gdsrsMessage = Nothing- , _gdsrsRedshiftMetadata = Nothing- , _gdsrsDataRearrangement = Nothing- , _gdsrsRoleARN = Nothing- , _gdsrsResponseStatus = pResponseStatus_- }----- | The current status of the @DataSource@ . This element can have one of the following values: * @PENDING@ - Amazon ML submitted a request to create a @DataSource@ . * @INPROGRESS@ - The creation process is underway. * @FAILED@ - The request to create a @DataSource@ did not run to completion. It is not usable. * @COMPLETED@ - The creation process completed successfully. * @DELETED@ - The @DataSource@ is marked as deleted. It is not usable.-gdsrsStatus :: Lens' GetDataSourceResponse (Maybe EntityStatus)-gdsrsStatus = lens _gdsrsStatus (\ s a -> s{_gdsrsStatus = a})---- | The number of data files referenced by the @DataSource@ .-gdsrsNumberOfFiles :: Lens' GetDataSourceResponse (Maybe Integer)-gdsrsNumberOfFiles = lens _gdsrsNumberOfFiles (\ s a -> s{_gdsrsNumberOfFiles = a})---- | The time of the most recent edit to the @DataSource@ . The time is expressed in epoch time.-gdsrsLastUpdatedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)-gdsrsLastUpdatedAt = lens _gdsrsLastUpdatedAt (\ s a -> s{_gdsrsLastUpdatedAt = a}) . mapping _Time---- | The time that the @DataSource@ was created. The time is expressed in epoch time.-gdsrsCreatedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)-gdsrsCreatedAt = lens _gdsrsCreatedAt (\ s a -> s{_gdsrsCreatedAt = a}) . mapping _Time---- | The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the @DataSource@ , normalized and scaled on computation resources. @ComputeTime@ is only available if the @DataSource@ is in the @COMPLETED@ state and the @ComputeStatistics@ is set to true.-gdsrsComputeTime :: Lens' GetDataSourceResponse (Maybe Integer)-gdsrsComputeTime = lens _gdsrsComputeTime (\ s a -> s{_gdsrsComputeTime = a})---- | The ID assigned to the @DataSource@ at creation. This value should be identical to the value of the @DataSourceId@ in the request.-gdsrsDataSourceId :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsDataSourceId = lens _gdsrsDataSourceId (\ s a -> s{_gdsrsDataSourceId = a})---- | Undocumented member.-gdsrsRDSMetadata :: Lens' GetDataSourceResponse (Maybe RDSMetadata)-gdsrsRDSMetadata = lens _gdsrsRDSMetadata (\ s a -> s{_gdsrsRDSMetadata = a})---- | The total size of observations in the data files.-gdsrsDataSizeInBytes :: Lens' GetDataSourceResponse (Maybe Integer)-gdsrsDataSizeInBytes = lens _gdsrsDataSizeInBytes (\ s a -> s{_gdsrsDataSizeInBytes = a})---- | The schema used by all of the data files of this @DataSource@ .-gdsrsDataSourceSchema :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsDataSourceSchema = lens _gdsrsDataSourceSchema (\ s a -> s{_gdsrsDataSourceSchema = a})---- | The epoch time when Amazon Machine Learning marked the @DataSource@ as @INPROGRESS@ . @StartedAt@ isn't available if the @DataSource@ is in the @PENDING@ state.-gdsrsStartedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)-gdsrsStartedAt = lens _gdsrsStartedAt (\ s a -> s{_gdsrsStartedAt = a}) . mapping _Time---- | The epoch time when Amazon Machine Learning marked the @DataSource@ as @COMPLETED@ or @FAILED@ . @FinishedAt@ is only available when the @DataSource@ is in the @COMPLETED@ or @FAILED@ state.-gdsrsFinishedAt :: Lens' GetDataSourceResponse (Maybe UTCTime)-gdsrsFinishedAt = lens _gdsrsFinishedAt (\ s a -> s{_gdsrsFinishedAt = a}) . mapping _Time---- | The AWS user account from which the @DataSource@ was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.-gdsrsCreatedByIAMUser :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsCreatedByIAMUser = lens _gdsrsCreatedByIAMUser (\ s a -> s{_gdsrsCreatedByIAMUser = a})---- | A user-supplied name or description of the @DataSource@ .-gdsrsName :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsName = lens _gdsrsName (\ s a -> s{_gdsrsName = a})---- | A link to the file containing logs of @CreateDataSourceFrom*@ operations.-gdsrsLogURI :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsLogURI = lens _gdsrsLogURI (\ s a -> s{_gdsrsLogURI = a})---- | The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).-gdsrsDataLocationS3 :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsDataLocationS3 = lens _gdsrsDataLocationS3 (\ s a -> s{_gdsrsDataLocationS3 = a})---- | The parameter is @true@ if statistics need to be generated from the observation data.-gdsrsComputeStatistics :: Lens' GetDataSourceResponse (Maybe Bool)-gdsrsComputeStatistics = lens _gdsrsComputeStatistics (\ s a -> s{_gdsrsComputeStatistics = a})---- | The user-supplied description of the most recent details about creating the @DataSource@ .-gdsrsMessage :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsMessage = lens _gdsrsMessage (\ s a -> s{_gdsrsMessage = a})---- | Undocumented member.-gdsrsRedshiftMetadata :: Lens' GetDataSourceResponse (Maybe RedshiftMetadata)-gdsrsRedshiftMetadata = lens _gdsrsRedshiftMetadata (\ s a -> s{_gdsrsRedshiftMetadata = a})---- | A JSON string that represents the splitting and rearrangement requirement used when this @DataSource@ was created.-gdsrsDataRearrangement :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsDataRearrangement = lens _gdsrsDataRearrangement (\ s a -> s{_gdsrsDataRearrangement = a})---- | Undocumented member.-gdsrsRoleARN :: Lens' GetDataSourceResponse (Maybe Text)-gdsrsRoleARN = lens _gdsrsRoleARN (\ s a -> s{_gdsrsRoleARN = a})---- | -- | The response status code.-gdsrsResponseStatus :: Lens' GetDataSourceResponse Int-gdsrsResponseStatus = lens _gdsrsResponseStatus (\ s a -> s{_gdsrsResponseStatus = a})--instance NFData GetDataSourceResponse where
− gen/Network/AWS/MachineLearning/GetEvaluation.hs
@@ -1,278 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.GetEvaluation--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns an @Evaluation@ that includes metadata as well as the current status of the @Evaluation@ .-------module Network.AWS.MachineLearning.GetEvaluation- (- -- * Creating a Request- getEvaluation- , GetEvaluation- -- * Request Lenses- , geEvaluationId-- -- * Destructuring the Response- , getEvaluationResponse- , GetEvaluationResponse- -- * Response Lenses- , gersStatus- , gersPerformanceMetrics- , gersLastUpdatedAt- , gersCreatedAt- , gersComputeTime- , gersInputDataLocationS3- , gersMLModelId- , gersStartedAt- , gersFinishedAt- , gersCreatedByIAMUser- , gersName- , gersLogURI- , gersEvaluationId- , gersMessage- , gersEvaluationDataSourceId- , gersResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'getEvaluation' smart constructor.-newtype GetEvaluation = GetEvaluation'- { _geEvaluationId :: Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetEvaluation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'geEvaluationId' - The ID of the @Evaluation@ to retrieve. The evaluation of each @MLModel@ is recorded and cataloged. The ID provides the means to access the information.-getEvaluation- :: Text -- ^ 'geEvaluationId'- -> GetEvaluation-getEvaluation pEvaluationId_ = GetEvaluation' {_geEvaluationId = pEvaluationId_}----- | The ID of the @Evaluation@ to retrieve. The evaluation of each @MLModel@ is recorded and cataloged. The ID provides the means to access the information.-geEvaluationId :: Lens' GetEvaluation Text-geEvaluationId = lens _geEvaluationId (\ s a -> s{_geEvaluationId = a})--instance AWSRequest GetEvaluation where- type Rs GetEvaluation = GetEvaluationResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- GetEvaluationResponse' <$>- (x .?> "Status") <*> (x .?> "PerformanceMetrics") <*>- (x .?> "LastUpdatedAt")- <*> (x .?> "CreatedAt")- <*> (x .?> "ComputeTime")- <*> (x .?> "InputDataLocationS3")- <*> (x .?> "MLModelId")- <*> (x .?> "StartedAt")- <*> (x .?> "FinishedAt")- <*> (x .?> "CreatedByIamUser")- <*> (x .?> "Name")- <*> (x .?> "LogUri")- <*> (x .?> "EvaluationId")- <*> (x .?> "Message")- <*> (x .?> "EvaluationDataSourceId")- <*> (pure (fromEnum s)))--instance Hashable GetEvaluation where--instance NFData GetEvaluation where--instance ToHeaders GetEvaluation where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.GetEvaluation" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetEvaluation where- toJSON GetEvaluation'{..}- = object- (catMaybes- [Just ("EvaluationId" .= _geEvaluationId)])--instance ToPath GetEvaluation where- toPath = const "/"--instance ToQuery GetEvaluation where- toQuery = const mempty---- | Represents the output of a @GetEvaluation@ operation and describes an @Evaluation@ .------------ /See:/ 'getEvaluationResponse' smart constructor.-data GetEvaluationResponse = GetEvaluationResponse'- { _gersStatus :: !(Maybe EntityStatus)- , _gersPerformanceMetrics :: !(Maybe PerformanceMetrics)- , _gersLastUpdatedAt :: !(Maybe POSIX)- , _gersCreatedAt :: !(Maybe POSIX)- , _gersComputeTime :: !(Maybe Integer)- , _gersInputDataLocationS3 :: !(Maybe Text)- , _gersMLModelId :: !(Maybe Text)- , _gersStartedAt :: !(Maybe POSIX)- , _gersFinishedAt :: !(Maybe POSIX)- , _gersCreatedByIAMUser :: !(Maybe Text)- , _gersName :: !(Maybe Text)- , _gersLogURI :: !(Maybe Text)- , _gersEvaluationId :: !(Maybe Text)- , _gersMessage :: !(Maybe Text)- , _gersEvaluationDataSourceId :: !(Maybe Text)- , _gersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetEvaluationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gersStatus' - The status of the evaluation. This element can have one of the following values: * @PENDING@ - Amazon Machine Language (Amazon ML) submitted a request to evaluate an @MLModel@ . * @INPROGRESS@ - The evaluation is underway. * @FAILED@ - The request to evaluate an @MLModel@ did not run to completion. It is not usable. * @COMPLETED@ - The evaluation process completed successfully. * @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.------ * 'gersPerformanceMetrics' - Measurements of how well the @MLModel@ performed using observations referenced by the @DataSource@ . One of the following metric is returned based on the type of the @MLModel@ : * BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC) technique to measure performance. * RegressionRMSE: A regression @MLModel@ uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable. * MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score technique to measure performance. For more information about performance metrics, please see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .------ * 'gersLastUpdatedAt' - The time of the most recent edit to the @Evaluation@ . The time is expressed in epoch time.------ * 'gersCreatedAt' - The time that the @Evaluation@ was created. The time is expressed in epoch time.------ * 'gersComputeTime' - The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the @Evaluation@ , normalized and scaled on computation resources. @ComputeTime@ is only available if the @Evaluation@ is in the @COMPLETED@ state.------ * 'gersInputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).------ * 'gersMLModelId' - The ID of the @MLModel@ that was the focus of the evaluation.------ * 'gersStartedAt' - The epoch time when Amazon Machine Learning marked the @Evaluation@ as @INPROGRESS@ . @StartedAt@ isn't available if the @Evaluation@ is in the @PENDING@ state.------ * 'gersFinishedAt' - The epoch time when Amazon Machine Learning marked the @Evaluation@ as @COMPLETED@ or @FAILED@ . @FinishedAt@ is only available when the @Evaluation@ is in the @COMPLETED@ or @FAILED@ state.------ * 'gersCreatedByIAMUser' - The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.------ * 'gersName' - A user-supplied name or description of the @Evaluation@ .------ * 'gersLogURI' - A link to the file that contains logs of the @CreateEvaluation@ operation.------ * 'gersEvaluationId' - The evaluation ID which is same as the @EvaluationId@ in the request.------ * 'gersMessage' - A description of the most recent details about evaluating the @MLModel@ .------ * 'gersEvaluationDataSourceId' - The @DataSource@ used for this evaluation.------ * 'gersResponseStatus' - -- | The response status code.-getEvaluationResponse- :: Int -- ^ 'gersResponseStatus'- -> GetEvaluationResponse-getEvaluationResponse pResponseStatus_ =- GetEvaluationResponse'- { _gersStatus = Nothing- , _gersPerformanceMetrics = Nothing- , _gersLastUpdatedAt = Nothing- , _gersCreatedAt = Nothing- , _gersComputeTime = Nothing- , _gersInputDataLocationS3 = Nothing- , _gersMLModelId = Nothing- , _gersStartedAt = Nothing- , _gersFinishedAt = Nothing- , _gersCreatedByIAMUser = Nothing- , _gersName = Nothing- , _gersLogURI = Nothing- , _gersEvaluationId = Nothing- , _gersMessage = Nothing- , _gersEvaluationDataSourceId = Nothing- , _gersResponseStatus = pResponseStatus_- }----- | The status of the evaluation. This element can have one of the following values: * @PENDING@ - Amazon Machine Language (Amazon ML) submitted a request to evaluate an @MLModel@ . * @INPROGRESS@ - The evaluation is underway. * @FAILED@ - The request to evaluate an @MLModel@ did not run to completion. It is not usable. * @COMPLETED@ - The evaluation process completed successfully. * @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.-gersStatus :: Lens' GetEvaluationResponse (Maybe EntityStatus)-gersStatus = lens _gersStatus (\ s a -> s{_gersStatus = a})---- | Measurements of how well the @MLModel@ performed using observations referenced by the @DataSource@ . One of the following metric is returned based on the type of the @MLModel@ : * BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC) technique to measure performance. * RegressionRMSE: A regression @MLModel@ uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable. * MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score technique to measure performance. For more information about performance metrics, please see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .-gersPerformanceMetrics :: Lens' GetEvaluationResponse (Maybe PerformanceMetrics)-gersPerformanceMetrics = lens _gersPerformanceMetrics (\ s a -> s{_gersPerformanceMetrics = a})---- | The time of the most recent edit to the @Evaluation@ . The time is expressed in epoch time.-gersLastUpdatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)-gersLastUpdatedAt = lens _gersLastUpdatedAt (\ s a -> s{_gersLastUpdatedAt = a}) . mapping _Time---- | The time that the @Evaluation@ was created. The time is expressed in epoch time.-gersCreatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)-gersCreatedAt = lens _gersCreatedAt (\ s a -> s{_gersCreatedAt = a}) . mapping _Time---- | The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the @Evaluation@ , normalized and scaled on computation resources. @ComputeTime@ is only available if the @Evaluation@ is in the @COMPLETED@ state.-gersComputeTime :: Lens' GetEvaluationResponse (Maybe Integer)-gersComputeTime = lens _gersComputeTime (\ s a -> s{_gersComputeTime = a})---- | The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).-gersInputDataLocationS3 :: Lens' GetEvaluationResponse (Maybe Text)-gersInputDataLocationS3 = lens _gersInputDataLocationS3 (\ s a -> s{_gersInputDataLocationS3 = a})---- | The ID of the @MLModel@ that was the focus of the evaluation.-gersMLModelId :: Lens' GetEvaluationResponse (Maybe Text)-gersMLModelId = lens _gersMLModelId (\ s a -> s{_gersMLModelId = a})---- | The epoch time when Amazon Machine Learning marked the @Evaluation@ as @INPROGRESS@ . @StartedAt@ isn't available if the @Evaluation@ is in the @PENDING@ state.-gersStartedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)-gersStartedAt = lens _gersStartedAt (\ s a -> s{_gersStartedAt = a}) . mapping _Time---- | The epoch time when Amazon Machine Learning marked the @Evaluation@ as @COMPLETED@ or @FAILED@ . @FinishedAt@ is only available when the @Evaluation@ is in the @COMPLETED@ or @FAILED@ state.-gersFinishedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)-gersFinishedAt = lens _gersFinishedAt (\ s a -> s{_gersFinishedAt = a}) . mapping _Time---- | The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.-gersCreatedByIAMUser :: Lens' GetEvaluationResponse (Maybe Text)-gersCreatedByIAMUser = lens _gersCreatedByIAMUser (\ s a -> s{_gersCreatedByIAMUser = a})---- | A user-supplied name or description of the @Evaluation@ .-gersName :: Lens' GetEvaluationResponse (Maybe Text)-gersName = lens _gersName (\ s a -> s{_gersName = a})---- | A link to the file that contains logs of the @CreateEvaluation@ operation.-gersLogURI :: Lens' GetEvaluationResponse (Maybe Text)-gersLogURI = lens _gersLogURI (\ s a -> s{_gersLogURI = a})---- | The evaluation ID which is same as the @EvaluationId@ in the request.-gersEvaluationId :: Lens' GetEvaluationResponse (Maybe Text)-gersEvaluationId = lens _gersEvaluationId (\ s a -> s{_gersEvaluationId = a})---- | A description of the most recent details about evaluating the @MLModel@ .-gersMessage :: Lens' GetEvaluationResponse (Maybe Text)-gersMessage = lens _gersMessage (\ s a -> s{_gersMessage = a})---- | The @DataSource@ used for this evaluation.-gersEvaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text)-gersEvaluationDataSourceId = lens _gersEvaluationDataSourceId (\ s a -> s{_gersEvaluationDataSourceId = a})---- | -- | The response status code.-gersResponseStatus :: Lens' GetEvaluationResponse Int-gersResponseStatus = lens _gersResponseStatus (\ s a -> s{_gersResponseStatus = a})--instance NFData GetEvaluationResponse where
− gen/Network/AWS/MachineLearning/GetMLModel.hs
@@ -1,350 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.GetMLModel--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns an @MLModel@ that includes detailed metadata, data source information, and the current status of the @MLModel@ .--------- @GetMLModel@ provides results in normal or verbose format.----module Network.AWS.MachineLearning.GetMLModel- (- -- * Creating a Request- getMLModel- , GetMLModel- -- * Request Lenses- , gmlmVerbose- , gmlmMLModelId-- -- * Destructuring the Response- , getMLModelResponse- , GetMLModelResponse- -- * Response Lenses- , gmlmrsStatus- , gmlmrsLastUpdatedAt- , gmlmrsTrainingParameters- , gmlmrsScoreThresholdLastUpdatedAt- , gmlmrsCreatedAt- , gmlmrsComputeTime- , gmlmrsRecipe- , gmlmrsInputDataLocationS3- , gmlmrsMLModelId- , gmlmrsSizeInBytes- , gmlmrsSchema- , gmlmrsStartedAt- , gmlmrsScoreThreshold- , gmlmrsFinishedAt- , gmlmrsCreatedByIAMUser- , gmlmrsName- , gmlmrsLogURI- , gmlmrsEndpointInfo- , gmlmrsTrainingDataSourceId- , gmlmrsMessage- , gmlmrsMLModelType- , gmlmrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'getMLModel' smart constructor.-data GetMLModel = GetMLModel'- { _gmlmVerbose :: !(Maybe Bool)- , _gmlmMLModelId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetMLModel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gmlmVerbose' - Specifies whether the @GetMLModel@ operation should return @Recipe@ . If true, @Recipe@ is returned. If false, @Recipe@ is not returned.------ * 'gmlmMLModelId' - The ID assigned to the @MLModel@ at creation.-getMLModel- :: Text -- ^ 'gmlmMLModelId'- -> GetMLModel-getMLModel pMLModelId_ =- GetMLModel' {_gmlmVerbose = Nothing, _gmlmMLModelId = pMLModelId_}----- | Specifies whether the @GetMLModel@ operation should return @Recipe@ . If true, @Recipe@ is returned. If false, @Recipe@ is not returned.-gmlmVerbose :: Lens' GetMLModel (Maybe Bool)-gmlmVerbose = lens _gmlmVerbose (\ s a -> s{_gmlmVerbose = a})---- | The ID assigned to the @MLModel@ at creation.-gmlmMLModelId :: Lens' GetMLModel Text-gmlmMLModelId = lens _gmlmMLModelId (\ s a -> s{_gmlmMLModelId = a})--instance AWSRequest GetMLModel where- type Rs GetMLModel = GetMLModelResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- GetMLModelResponse' <$>- (x .?> "Status") <*> (x .?> "LastUpdatedAt") <*>- (x .?> "TrainingParameters" .!@ mempty)- <*> (x .?> "ScoreThresholdLastUpdatedAt")- <*> (x .?> "CreatedAt")- <*> (x .?> "ComputeTime")- <*> (x .?> "Recipe")- <*> (x .?> "InputDataLocationS3")- <*> (x .?> "MLModelId")- <*> (x .?> "SizeInBytes")- <*> (x .?> "Schema")- <*> (x .?> "StartedAt")- <*> (x .?> "ScoreThreshold")- <*> (x .?> "FinishedAt")- <*> (x .?> "CreatedByIamUser")- <*> (x .?> "Name")- <*> (x .?> "LogUri")- <*> (x .?> "EndpointInfo")- <*> (x .?> "TrainingDataSourceId")- <*> (x .?> "Message")- <*> (x .?> "MLModelType")- <*> (pure (fromEnum s)))--instance Hashable GetMLModel where--instance NFData GetMLModel where--instance ToHeaders GetMLModel where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.GetMLModel" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON GetMLModel where- toJSON GetMLModel'{..}- = object- (catMaybes- [("Verbose" .=) <$> _gmlmVerbose,- Just ("MLModelId" .= _gmlmMLModelId)])--instance ToPath GetMLModel where- toPath = const "/"--instance ToQuery GetMLModel where- toQuery = const mempty---- | Represents the output of a @GetMLModel@ operation, and provides detailed information about a @MLModel@ .------------ /See:/ 'getMLModelResponse' smart constructor.-data GetMLModelResponse = GetMLModelResponse'- { _gmlmrsStatus :: !(Maybe EntityStatus)- , _gmlmrsLastUpdatedAt :: !(Maybe POSIX)- , _gmlmrsTrainingParameters :: !(Maybe (Map Text Text))- , _gmlmrsScoreThresholdLastUpdatedAt :: !(Maybe POSIX)- , _gmlmrsCreatedAt :: !(Maybe POSIX)- , _gmlmrsComputeTime :: !(Maybe Integer)- , _gmlmrsRecipe :: !(Maybe Text)- , _gmlmrsInputDataLocationS3 :: !(Maybe Text)- , _gmlmrsMLModelId :: !(Maybe Text)- , _gmlmrsSizeInBytes :: !(Maybe Integer)- , _gmlmrsSchema :: !(Maybe Text)- , _gmlmrsStartedAt :: !(Maybe POSIX)- , _gmlmrsScoreThreshold :: !(Maybe Double)- , _gmlmrsFinishedAt :: !(Maybe POSIX)- , _gmlmrsCreatedByIAMUser :: !(Maybe Text)- , _gmlmrsName :: !(Maybe Text)- , _gmlmrsLogURI :: !(Maybe Text)- , _gmlmrsEndpointInfo :: !(Maybe RealtimeEndpointInfo)- , _gmlmrsTrainingDataSourceId :: !(Maybe Text)- , _gmlmrsMessage :: !(Maybe Text)- , _gmlmrsMLModelType :: !(Maybe MLModelType)- , _gmlmrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetMLModelResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gmlmrsStatus' - The current status of the @MLModel@ . This element can have one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to describe a @MLModel@ . * @INPROGRESS@ - The request is processing. * @FAILED@ - The request did not run to completion. The ML model isn't usable. * @COMPLETED@ - The request completed successfully. * @DELETED@ - The @MLModel@ is marked as deleted. It isn't usable.------ * 'gmlmrsLastUpdatedAt' - The time of the most recent edit to the @MLModel@ . The time is expressed in epoch time.------ * 'gmlmrsTrainingParameters' - A list of the training parameters in the @MLModel@ . The list is implemented as a map of key-value pairs. The following is the current set of training parameters: * @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from @100000@ to @2147483648@ . The default value is @33554432@ . * @sgd.maxPasses@ - The number of times that the training process traverses the observations to build the @MLModel@ . The value is an integer that ranges from @1@ to @10000@ . The default value is @10@ . * @sgd.shuffleType@ - Whether Amazon ML shuffles the training data. Shuffling data improves a model's ability to find the optimal solution for a variety of data types. The valid values are @auto@ and @none@ . The default value is @none@ . We strongly recommend that you shuffle your data. * @sgd.l1RegularizationAmount@ - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L1 normalization. This parameter can't be used when @L2@ is specified. Use this parameter sparingly. * @sgd.l2RegularizationAmount@ - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L2 normalization. This parameter can't be used when @L1@ is specified. Use this parameter sparingly.------ * 'gmlmrsScoreThresholdLastUpdatedAt' - The time of the most recent edit to the @ScoreThreshold@ . The time is expressed in epoch time.------ * 'gmlmrsCreatedAt' - The time that the @MLModel@ was created. The time is expressed in epoch time.------ * 'gmlmrsComputeTime' - The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the @MLModel@ , normalized and scaled on computation resources. @ComputeTime@ is only available if the @MLModel@ is in the @COMPLETED@ state.------ * 'gmlmrsRecipe' - The recipe to use when training the @MLModel@ . The @Recipe@ provides detailed information about the observation data to use during training, and manipulations to perform on the observation data during training.------ * 'gmlmrsInputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).------ * 'gmlmrsMLModelId' - The MLModel ID, which is same as the @MLModelId@ in the request.------ * 'gmlmrsSizeInBytes' - Undocumented member.------ * 'gmlmrsSchema' - The schema used by all of the data files referenced by the @DataSource@ .------ * 'gmlmrsStartedAt' - The epoch time when Amazon Machine Learning marked the @MLModel@ as @INPROGRESS@ . @StartedAt@ isn't available if the @MLModel@ is in the @PENDING@ state.------ * 'gmlmrsScoreThreshold' - The scoring threshold is used in binary classification @MLModel@ models. It marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the threshold receive a positive result from the MLModel, such as @true@ . Output values less than the threshold receive a negative response from the MLModel, such as @false@ .------ * 'gmlmrsFinishedAt' - The epoch time when Amazon Machine Learning marked the @MLModel@ as @COMPLETED@ or @FAILED@ . @FinishedAt@ is only available when the @MLModel@ is in the @COMPLETED@ or @FAILED@ state.------ * 'gmlmrsCreatedByIAMUser' - The AWS user account from which the @MLModel@ was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.------ * 'gmlmrsName' - A user-supplied name or description of the @MLModel@ .------ * 'gmlmrsLogURI' - A link to the file that contains logs of the @CreateMLModel@ operation.------ * 'gmlmrsEndpointInfo' - The current endpoint of the @MLModel@------ * 'gmlmrsTrainingDataSourceId' - The ID of the training @DataSource@ .------ * 'gmlmrsMessage' - A description of the most recent details about accessing the @MLModel@ .------ * 'gmlmrsMLModelType' - Identifies the @MLModel@ category. The following are the available types: * REGRESSION -- Produces a numeric result. For example, "What price should a house be listed at?" * BINARY -- Produces one of two possible results. For example, "Is this an e-commerce website?" * MULTICLASS -- Produces one of several possible results. For example, "Is this a HIGH, LOW or MEDIUM risk trade?"------ * 'gmlmrsResponseStatus' - -- | The response status code.-getMLModelResponse- :: Int -- ^ 'gmlmrsResponseStatus'- -> GetMLModelResponse-getMLModelResponse pResponseStatus_ =- GetMLModelResponse'- { _gmlmrsStatus = Nothing- , _gmlmrsLastUpdatedAt = Nothing- , _gmlmrsTrainingParameters = Nothing- , _gmlmrsScoreThresholdLastUpdatedAt = Nothing- , _gmlmrsCreatedAt = Nothing- , _gmlmrsComputeTime = Nothing- , _gmlmrsRecipe = Nothing- , _gmlmrsInputDataLocationS3 = Nothing- , _gmlmrsMLModelId = Nothing- , _gmlmrsSizeInBytes = Nothing- , _gmlmrsSchema = Nothing- , _gmlmrsStartedAt = Nothing- , _gmlmrsScoreThreshold = Nothing- , _gmlmrsFinishedAt = Nothing- , _gmlmrsCreatedByIAMUser = Nothing- , _gmlmrsName = Nothing- , _gmlmrsLogURI = Nothing- , _gmlmrsEndpointInfo = Nothing- , _gmlmrsTrainingDataSourceId = Nothing- , _gmlmrsMessage = Nothing- , _gmlmrsMLModelType = Nothing- , _gmlmrsResponseStatus = pResponseStatus_- }----- | The current status of the @MLModel@ . This element can have one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to describe a @MLModel@ . * @INPROGRESS@ - The request is processing. * @FAILED@ - The request did not run to completion. The ML model isn't usable. * @COMPLETED@ - The request completed successfully. * @DELETED@ - The @MLModel@ is marked as deleted. It isn't usable.-gmlmrsStatus :: Lens' GetMLModelResponse (Maybe EntityStatus)-gmlmrsStatus = lens _gmlmrsStatus (\ s a -> s{_gmlmrsStatus = a})---- | The time of the most recent edit to the @MLModel@ . The time is expressed in epoch time.-gmlmrsLastUpdatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)-gmlmrsLastUpdatedAt = lens _gmlmrsLastUpdatedAt (\ s a -> s{_gmlmrsLastUpdatedAt = a}) . mapping _Time---- | A list of the training parameters in the @MLModel@ . The list is implemented as a map of key-value pairs. The following is the current set of training parameters: * @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from @100000@ to @2147483648@ . The default value is @33554432@ . * @sgd.maxPasses@ - The number of times that the training process traverses the observations to build the @MLModel@ . The value is an integer that ranges from @1@ to @10000@ . The default value is @10@ . * @sgd.shuffleType@ - Whether Amazon ML shuffles the training data. Shuffling data improves a model's ability to find the optimal solution for a variety of data types. The valid values are @auto@ and @none@ . The default value is @none@ . We strongly recommend that you shuffle your data. * @sgd.l1RegularizationAmount@ - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L1 normalization. This parameter can't be used when @L2@ is specified. Use this parameter sparingly. * @sgd.l2RegularizationAmount@ - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L2 normalization. This parameter can't be used when @L1@ is specified. Use this parameter sparingly.-gmlmrsTrainingParameters :: Lens' GetMLModelResponse (HashMap Text Text)-gmlmrsTrainingParameters = lens _gmlmrsTrainingParameters (\ s a -> s{_gmlmrsTrainingParameters = a}) . _Default . _Map---- | The time of the most recent edit to the @ScoreThreshold@ . The time is expressed in epoch time.-gmlmrsScoreThresholdLastUpdatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)-gmlmrsScoreThresholdLastUpdatedAt = lens _gmlmrsScoreThresholdLastUpdatedAt (\ s a -> s{_gmlmrsScoreThresholdLastUpdatedAt = a}) . mapping _Time---- | The time that the @MLModel@ was created. The time is expressed in epoch time.-gmlmrsCreatedAt :: Lens' GetMLModelResponse (Maybe UTCTime)-gmlmrsCreatedAt = lens _gmlmrsCreatedAt (\ s a -> s{_gmlmrsCreatedAt = a}) . mapping _Time---- | The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the @MLModel@ , normalized and scaled on computation resources. @ComputeTime@ is only available if the @MLModel@ is in the @COMPLETED@ state.-gmlmrsComputeTime :: Lens' GetMLModelResponse (Maybe Integer)-gmlmrsComputeTime = lens _gmlmrsComputeTime (\ s a -> s{_gmlmrsComputeTime = a})---- | The recipe to use when training the @MLModel@ . The @Recipe@ provides detailed information about the observation data to use during training, and manipulations to perform on the observation data during training.-gmlmrsRecipe :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsRecipe = lens _gmlmrsRecipe (\ s a -> s{_gmlmrsRecipe = a})---- | The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).-gmlmrsInputDataLocationS3 :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsInputDataLocationS3 = lens _gmlmrsInputDataLocationS3 (\ s a -> s{_gmlmrsInputDataLocationS3 = a})---- | The MLModel ID, which is same as the @MLModelId@ in the request.-gmlmrsMLModelId :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsMLModelId = lens _gmlmrsMLModelId (\ s a -> s{_gmlmrsMLModelId = a})---- | Undocumented member.-gmlmrsSizeInBytes :: Lens' GetMLModelResponse (Maybe Integer)-gmlmrsSizeInBytes = lens _gmlmrsSizeInBytes (\ s a -> s{_gmlmrsSizeInBytes = a})---- | The schema used by all of the data files referenced by the @DataSource@ .-gmlmrsSchema :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsSchema = lens _gmlmrsSchema (\ s a -> s{_gmlmrsSchema = a})---- | The epoch time when Amazon Machine Learning marked the @MLModel@ as @INPROGRESS@ . @StartedAt@ isn't available if the @MLModel@ is in the @PENDING@ state.-gmlmrsStartedAt :: Lens' GetMLModelResponse (Maybe UTCTime)-gmlmrsStartedAt = lens _gmlmrsStartedAt (\ s a -> s{_gmlmrsStartedAt = a}) . mapping _Time---- | The scoring threshold is used in binary classification @MLModel@ models. It marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the threshold receive a positive result from the MLModel, such as @true@ . Output values less than the threshold receive a negative response from the MLModel, such as @false@ .-gmlmrsScoreThreshold :: Lens' GetMLModelResponse (Maybe Double)-gmlmrsScoreThreshold = lens _gmlmrsScoreThreshold (\ s a -> s{_gmlmrsScoreThreshold = a})---- | The epoch time when Amazon Machine Learning marked the @MLModel@ as @COMPLETED@ or @FAILED@ . @FinishedAt@ is only available when the @MLModel@ is in the @COMPLETED@ or @FAILED@ state.-gmlmrsFinishedAt :: Lens' GetMLModelResponse (Maybe UTCTime)-gmlmrsFinishedAt = lens _gmlmrsFinishedAt (\ s a -> s{_gmlmrsFinishedAt = a}) . mapping _Time---- | The AWS user account from which the @MLModel@ was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.-gmlmrsCreatedByIAMUser :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsCreatedByIAMUser = lens _gmlmrsCreatedByIAMUser (\ s a -> s{_gmlmrsCreatedByIAMUser = a})---- | A user-supplied name or description of the @MLModel@ .-gmlmrsName :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsName = lens _gmlmrsName (\ s a -> s{_gmlmrsName = a})---- | A link to the file that contains logs of the @CreateMLModel@ operation.-gmlmrsLogURI :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsLogURI = lens _gmlmrsLogURI (\ s a -> s{_gmlmrsLogURI = a})---- | The current endpoint of the @MLModel@-gmlmrsEndpointInfo :: Lens' GetMLModelResponse (Maybe RealtimeEndpointInfo)-gmlmrsEndpointInfo = lens _gmlmrsEndpointInfo (\ s a -> s{_gmlmrsEndpointInfo = a})---- | The ID of the training @DataSource@ .-gmlmrsTrainingDataSourceId :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsTrainingDataSourceId = lens _gmlmrsTrainingDataSourceId (\ s a -> s{_gmlmrsTrainingDataSourceId = a})---- | A description of the most recent details about accessing the @MLModel@ .-gmlmrsMessage :: Lens' GetMLModelResponse (Maybe Text)-gmlmrsMessage = lens _gmlmrsMessage (\ s a -> s{_gmlmrsMessage = a})---- | Identifies the @MLModel@ category. The following are the available types: * REGRESSION -- Produces a numeric result. For example, "What price should a house be listed at?" * BINARY -- Produces one of two possible results. For example, "Is this an e-commerce website?" * MULTICLASS -- Produces one of several possible results. For example, "Is this a HIGH, LOW or MEDIUM risk trade?"-gmlmrsMLModelType :: Lens' GetMLModelResponse (Maybe MLModelType)-gmlmrsMLModelType = lens _gmlmrsMLModelType (\ s a -> s{_gmlmrsMLModelType = a})---- | -- | The response status code.-gmlmrsResponseStatus :: Lens' GetMLModelResponse Int-gmlmrsResponseStatus = lens _gmlmrsResponseStatus (\ s a -> s{_gmlmrsResponseStatus = a})--instance NFData GetMLModelResponse where
− gen/Network/AWS/MachineLearning/Predict.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.Predict--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Generates a prediction for the observation using the specified @ML Model@ .-------module Network.AWS.MachineLearning.Predict- (- -- * Creating a Request- predict- , Predict- -- * Request Lenses- , pMLModelId- , pRecord- , pPredictEndpoint-- -- * Destructuring the Response- , predictResponse- , PredictResponse- -- * Response Lenses- , prsPrediction- , prsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'predict' smart constructor.-data Predict = Predict'- { _pMLModelId :: !Text- , _pRecord :: !(Map Text Text)- , _pPredictEndpoint :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Predict' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pMLModelId' - A unique identifier of the @MLModel@ .------ * 'pRecord' - Undocumented member.------ * 'pPredictEndpoint' - Undocumented member.-predict- :: Text -- ^ 'pMLModelId'- -> Text -- ^ 'pPredictEndpoint'- -> Predict-predict pMLModelId_ pPredictEndpoint_ =- Predict'- { _pMLModelId = pMLModelId_- , _pRecord = mempty- , _pPredictEndpoint = pPredictEndpoint_- }----- | A unique identifier of the @MLModel@ .-pMLModelId :: Lens' Predict Text-pMLModelId = lens _pMLModelId (\ s a -> s{_pMLModelId = a})---- | Undocumented member.-pRecord :: Lens' Predict (HashMap Text Text)-pRecord = lens _pRecord (\ s a -> s{_pRecord = a}) . _Map---- | Undocumented member.-pPredictEndpoint :: Lens' Predict Text-pPredictEndpoint = lens _pPredictEndpoint (\ s a -> s{_pPredictEndpoint = a})--instance AWSRequest Predict where- type Rs Predict = PredictResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- PredictResponse' <$>- (x .?> "Prediction") <*> (pure (fromEnum s)))--instance Hashable Predict where--instance NFData Predict where--instance ToHeaders Predict where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.Predict" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON Predict where- toJSON Predict'{..}- = object- (catMaybes- [Just ("MLModelId" .= _pMLModelId),- Just ("Record" .= _pRecord),- Just ("PredictEndpoint" .= _pPredictEndpoint)])--instance ToPath Predict where- toPath = const "/"--instance ToQuery Predict where- toQuery = const mempty---- | /See:/ 'predictResponse' smart constructor.-data PredictResponse = PredictResponse'- { _prsPrediction :: !(Maybe Prediction)- , _prsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PredictResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'prsPrediction' - Undocumented member.------ * 'prsResponseStatus' - -- | The response status code.-predictResponse- :: Int -- ^ 'prsResponseStatus'- -> PredictResponse-predictResponse pResponseStatus_ =- PredictResponse'- {_prsPrediction = Nothing, _prsResponseStatus = pResponseStatus_}----- | Undocumented member.-prsPrediction :: Lens' PredictResponse (Maybe Prediction)-prsPrediction = lens _prsPrediction (\ s a -> s{_prsPrediction = a})---- | -- | The response status code.-prsResponseStatus :: Lens' PredictResponse Int-prsResponseStatus = lens _prsResponseStatus (\ s a -> s{_prsResponseStatus = a})--instance NFData PredictResponse where
− gen/Network/AWS/MachineLearning/Types.hs
@@ -1,351 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.Types--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.MachineLearning.Types- (- -- * Service Configuration- machineLearning-- -- * Errors- , _InvalidTagException- , _InternalServerException- , _InvalidInputException- , _IdempotentParameterMismatchException- , _TagLimitExceededException- , _PredictorNotMountedException- , _ResourceNotFoundException- , _LimitExceededException-- -- * Algorithm- , Algorithm (..)-- -- * BatchPredictionFilterVariable- , BatchPredictionFilterVariable (..)-- -- * DataSourceFilterVariable- , DataSourceFilterVariable (..)-- -- * DetailsAttributes- , DetailsAttributes (..)-- -- * EntityStatus- , EntityStatus (..)-- -- * EvaluationFilterVariable- , EvaluationFilterVariable (..)-- -- * MLModelFilterVariable- , MLModelFilterVariable (..)-- -- * MLModelType- , MLModelType (..)-- -- * RealtimeEndpointStatus- , RealtimeEndpointStatus (..)-- -- * SortOrder- , SortOrder (..)-- -- * TaggableResourceType- , TaggableResourceType (..)-- -- * BatchPrediction- , BatchPrediction- , batchPrediction- , bpStatus- , bpLastUpdatedAt- , bpCreatedAt- , bpComputeTime- , bpInputDataLocationS3- , bpMLModelId- , bpBatchPredictionDataSourceId- , bpTotalRecordCount- , bpStartedAt- , bpBatchPredictionId- , bpFinishedAt- , bpInvalidRecordCount- , bpCreatedByIAMUser- , bpName- , bpMessage- , bpOutputURI-- -- * DataSource- , DataSource- , dataSource- , dsStatus- , dsNumberOfFiles- , dsLastUpdatedAt- , dsCreatedAt- , dsComputeTime- , dsDataSourceId- , dsRDSMetadata- , dsDataSizeInBytes- , dsStartedAt- , dsFinishedAt- , dsCreatedByIAMUser- , dsName- , dsDataLocationS3- , dsComputeStatistics- , dsMessage- , dsRedshiftMetadata- , dsDataRearrangement- , dsRoleARN-- -- * Evaluation- , Evaluation- , evaluation- , eStatus- , ePerformanceMetrics- , eLastUpdatedAt- , eCreatedAt- , eComputeTime- , eInputDataLocationS3- , eMLModelId- , eStartedAt- , eFinishedAt- , eCreatedByIAMUser- , eName- , eEvaluationId- , eMessage- , eEvaluationDataSourceId-- -- * MLModel- , MLModel- , mLModel- , mlmStatus- , mlmLastUpdatedAt- , mlmTrainingParameters- , mlmScoreThresholdLastUpdatedAt- , mlmCreatedAt- , mlmComputeTime- , mlmInputDataLocationS3- , mlmMLModelId- , mlmSizeInBytes- , mlmStartedAt- , mlmScoreThreshold- , mlmFinishedAt- , mlmAlgorithm- , mlmCreatedByIAMUser- , mlmName- , mlmEndpointInfo- , mlmTrainingDataSourceId- , mlmMessage- , mlmMLModelType-- -- * PerformanceMetrics- , PerformanceMetrics- , performanceMetrics- , pmProperties-- -- * Prediction- , Prediction- , prediction- , pPredictedValue- , pPredictedLabel- , pPredictedScores- , pDetails-- -- * RDSDataSpec- , RDSDataSpec- , rdsDataSpec- , rdsdsDataSchemaURI- , rdsdsDataSchema- , rdsdsDataRearrangement- , rdsdsDatabaseInformation- , rdsdsSelectSqlQuery- , rdsdsDatabaseCredentials- , rdsdsS3StagingLocation- , rdsdsResourceRole- , rdsdsServiceRole- , rdsdsSubnetId- , rdsdsSecurityGroupIds-- -- * RDSDatabase- , RDSDatabase- , rdsDatabase- , rdsdInstanceIdentifier- , rdsdDatabaseName-- -- * RDSDatabaseCredentials- , RDSDatabaseCredentials- , rdsDatabaseCredentials- , rdsdcUsername- , rdsdcPassword-- -- * RDSMetadata- , RDSMetadata- , rdsMetadata- , rmSelectSqlQuery- , rmDataPipelineId- , rmDatabase- , rmDatabaseUserName- , rmResourceRole- , rmServiceRole-- -- * RealtimeEndpointInfo- , RealtimeEndpointInfo- , realtimeEndpointInfo- , reiCreatedAt- , reiEndpointURL- , reiEndpointStatus- , reiPeakRequestsPerSecond-- -- * RedshiftDataSpec- , RedshiftDataSpec- , redshiftDataSpec- , rDataSchemaURI- , rDataSchema- , rDataRearrangement- , rDatabaseInformation- , rSelectSqlQuery- , rDatabaseCredentials- , rS3StagingLocation-- -- * RedshiftDatabase- , RedshiftDatabase- , redshiftDatabase- , rdDatabaseName- , rdClusterIdentifier-- -- * RedshiftDatabaseCredentials- , RedshiftDatabaseCredentials- , redshiftDatabaseCredentials- , rdcUsername- , rdcPassword-- -- * RedshiftMetadata- , RedshiftMetadata- , redshiftMetadata- , redSelectSqlQuery- , redRedshiftDatabase- , redDatabaseUserName-- -- * S3DataSpec- , S3DataSpec- , s3DataSpec- , sdsDataSchema- , sdsDataSchemaLocationS3- , sdsDataRearrangement- , sdsDataLocationS3-- -- * Tag- , Tag- , tag- , tagValue- , tagKey- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.MachineLearning.Types.Sum-import Network.AWS.Prelude-import Network.AWS.Sign.V4---- | API version @2014-12-12@ of the Amazon Machine Learning SDK configuration.-machineLearning :: Service-machineLearning =- Service- { _svcAbbrev = "MachineLearning"- , _svcSigner = v4- , _svcPrefix = "machinelearning"- , _svcVersion = "2014-12-12"- , _svcEndpoint = defaultEndpoint machineLearning- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "MachineLearning"- , _svcRetry = retry- }- where- retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }- check e- | has (hasCode "ThrottledException" . hasStatus 400) e =- Just "throttled_exception"- | has (hasStatus 429) e = Just "too_many_requests"- | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"- | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"- | has (hasStatus 504) e = Just "gateway_timeout"- | has (hasCode "RequestThrottledException" . hasStatus 400) e =- Just "request_throttled_exception"- | has (hasStatus 502) e = Just "bad_gateway"- | has (hasStatus 503) e = Just "service_unavailable"- | has (hasStatus 500) e = Just "general_server_error"- | has (hasStatus 509) e = Just "limit_exceeded"- | otherwise = Nothing----- | Prism for InvalidTagException' errors.-_InvalidTagException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidTagException = _MatchServiceError machineLearning "InvalidTagException"----- | An error on the server occurred when trying to process a request.-------_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError-_InternalServerException =- _MatchServiceError machineLearning "InternalServerException" . hasStatus 500----- | An error on the client occurred. Typically, the cause is an invalid input value.-------_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidInputException =- _MatchServiceError machineLearning "InvalidInputException" . hasStatus 400----- | A second request to use or change an object was not allowed. This can result from retrying a request using a parameter that was not present in the original request.-------_IdempotentParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError-_IdempotentParameterMismatchException =- _MatchServiceError machineLearning "IdempotentParameterMismatchException" .- hasStatus 400----- | Prism for TagLimitExceededException' errors.-_TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_TagLimitExceededException =- _MatchServiceError machineLearning "TagLimitExceededException"----- | The exception is thrown when a predict request is made to an unmounted @MLModel@ .-------_PredictorNotMountedException :: AsError a => Getting (First ServiceError) a ServiceError-_PredictorNotMountedException =- _MatchServiceError machineLearning "PredictorNotMountedException" .- hasStatus 400----- | A specified resource cannot be located.-------_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceNotFoundException =- _MatchServiceError machineLearning "ResourceNotFoundException" . hasStatus 404----- | The subscriber exceeded the maximum number of operations. This exception can occur when listing objects such as @DataSource@ .-------_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException =- _MatchServiceError machineLearning "LimitExceededException" . hasStatus 417-
− gen/Network/AWS/MachineLearning/Types/Product.hs
@@ -1,1616 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.Types.Product--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.MachineLearning.Types.Product where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types.Sum-import Network.AWS.Prelude---- | Represents the output of a @GetBatchPrediction@ operation.--------- The content consists of the detailed metadata, the status, and the data file information of a @Batch Prediction@ .--------- /See:/ 'batchPrediction' smart constructor.-data BatchPrediction = BatchPrediction'- { _bpStatus :: !(Maybe EntityStatus)- , _bpLastUpdatedAt :: !(Maybe POSIX)- , _bpCreatedAt :: !(Maybe POSIX)- , _bpComputeTime :: !(Maybe Integer)- , _bpInputDataLocationS3 :: !(Maybe Text)- , _bpMLModelId :: !(Maybe Text)- , _bpBatchPredictionDataSourceId :: !(Maybe Text)- , _bpTotalRecordCount :: !(Maybe Integer)- , _bpStartedAt :: !(Maybe POSIX)- , _bpBatchPredictionId :: !(Maybe Text)- , _bpFinishedAt :: !(Maybe POSIX)- , _bpInvalidRecordCount :: !(Maybe Integer)- , _bpCreatedByIAMUser :: !(Maybe Text)- , _bpName :: !(Maybe Text)- , _bpMessage :: !(Maybe Text)- , _bpOutputURI :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'BatchPrediction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'bpStatus' - The status of the @BatchPrediction@ . This element can have one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations. * @INPROGRESS@ - The process is underway. * @FAILED@ - The request to perform a batch prediction did not run to completion. It is not usable. * @COMPLETED@ - The batch prediction process completed successfully. * @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not usable.------ * 'bpLastUpdatedAt' - The time of the most recent edit to the @BatchPrediction@ . The time is expressed in epoch time.------ * 'bpCreatedAt' - The time that the @BatchPrediction@ was created. The time is expressed in epoch time.------ * 'bpComputeTime' - Undocumented member.------ * 'bpInputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).------ * 'bpMLModelId' - The ID of the @MLModel@ that generated predictions for the @BatchPrediction@ request.------ * 'bpBatchPredictionDataSourceId' - The ID of the @DataSource@ that points to the group of observations to predict.------ * 'bpTotalRecordCount' - Undocumented member.------ * 'bpStartedAt' - Undocumented member.------ * 'bpBatchPredictionId' - The ID assigned to the @BatchPrediction@ at creation. This value should be identical to the value of the @BatchPredictionID@ in the request.------ * 'bpFinishedAt' - Undocumented member.------ * 'bpInvalidRecordCount' - Undocumented member.------ * 'bpCreatedByIAMUser' - The AWS user account that invoked the @BatchPrediction@ . The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.------ * 'bpName' - A user-supplied name or description of the @BatchPrediction@ .------ * 'bpMessage' - A description of the most recent details about processing the batch prediction request.------ * 'bpOutputURI' - The location of an Amazon S3 bucket or directory to receive the operation results. The following substrings are not allowed in the @s3 key@ portion of the @outputURI@ field: ':', '//', '/./', '/../'.-batchPrediction- :: BatchPrediction-batchPrediction =- BatchPrediction'- { _bpStatus = Nothing- , _bpLastUpdatedAt = Nothing- , _bpCreatedAt = Nothing- , _bpComputeTime = Nothing- , _bpInputDataLocationS3 = Nothing- , _bpMLModelId = Nothing- , _bpBatchPredictionDataSourceId = Nothing- , _bpTotalRecordCount = Nothing- , _bpStartedAt = Nothing- , _bpBatchPredictionId = Nothing- , _bpFinishedAt = Nothing- , _bpInvalidRecordCount = Nothing- , _bpCreatedByIAMUser = Nothing- , _bpName = Nothing- , _bpMessage = Nothing- , _bpOutputURI = Nothing- }----- | The status of the @BatchPrediction@ . This element can have one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations. * @INPROGRESS@ - The process is underway. * @FAILED@ - The request to perform a batch prediction did not run to completion. It is not usable. * @COMPLETED@ - The batch prediction process completed successfully. * @DELETED@ - The @BatchPrediction@ is marked as deleted. It is not usable.-bpStatus :: Lens' BatchPrediction (Maybe EntityStatus)-bpStatus = lens _bpStatus (\ s a -> s{_bpStatus = a})---- | The time of the most recent edit to the @BatchPrediction@ . The time is expressed in epoch time.-bpLastUpdatedAt :: Lens' BatchPrediction (Maybe UTCTime)-bpLastUpdatedAt = lens _bpLastUpdatedAt (\ s a -> s{_bpLastUpdatedAt = a}) . mapping _Time---- | The time that the @BatchPrediction@ was created. The time is expressed in epoch time.-bpCreatedAt :: Lens' BatchPrediction (Maybe UTCTime)-bpCreatedAt = lens _bpCreatedAt (\ s a -> s{_bpCreatedAt = a}) . mapping _Time---- | Undocumented member.-bpComputeTime :: Lens' BatchPrediction (Maybe Integer)-bpComputeTime = lens _bpComputeTime (\ s a -> s{_bpComputeTime = a})---- | The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).-bpInputDataLocationS3 :: Lens' BatchPrediction (Maybe Text)-bpInputDataLocationS3 = lens _bpInputDataLocationS3 (\ s a -> s{_bpInputDataLocationS3 = a})---- | The ID of the @MLModel@ that generated predictions for the @BatchPrediction@ request.-bpMLModelId :: Lens' BatchPrediction (Maybe Text)-bpMLModelId = lens _bpMLModelId (\ s a -> s{_bpMLModelId = a})---- | The ID of the @DataSource@ that points to the group of observations to predict.-bpBatchPredictionDataSourceId :: Lens' BatchPrediction (Maybe Text)-bpBatchPredictionDataSourceId = lens _bpBatchPredictionDataSourceId (\ s a -> s{_bpBatchPredictionDataSourceId = a})---- | Undocumented member.-bpTotalRecordCount :: Lens' BatchPrediction (Maybe Integer)-bpTotalRecordCount = lens _bpTotalRecordCount (\ s a -> s{_bpTotalRecordCount = a})---- | Undocumented member.-bpStartedAt :: Lens' BatchPrediction (Maybe UTCTime)-bpStartedAt = lens _bpStartedAt (\ s a -> s{_bpStartedAt = a}) . mapping _Time---- | The ID assigned to the @BatchPrediction@ at creation. This value should be identical to the value of the @BatchPredictionID@ in the request.-bpBatchPredictionId :: Lens' BatchPrediction (Maybe Text)-bpBatchPredictionId = lens _bpBatchPredictionId (\ s a -> s{_bpBatchPredictionId = a})---- | Undocumented member.-bpFinishedAt :: Lens' BatchPrediction (Maybe UTCTime)-bpFinishedAt = lens _bpFinishedAt (\ s a -> s{_bpFinishedAt = a}) . mapping _Time---- | Undocumented member.-bpInvalidRecordCount :: Lens' BatchPrediction (Maybe Integer)-bpInvalidRecordCount = lens _bpInvalidRecordCount (\ s a -> s{_bpInvalidRecordCount = a})---- | The AWS user account that invoked the @BatchPrediction@ . The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.-bpCreatedByIAMUser :: Lens' BatchPrediction (Maybe Text)-bpCreatedByIAMUser = lens _bpCreatedByIAMUser (\ s a -> s{_bpCreatedByIAMUser = a})---- | A user-supplied name or description of the @BatchPrediction@ .-bpName :: Lens' BatchPrediction (Maybe Text)-bpName = lens _bpName (\ s a -> s{_bpName = a})---- | A description of the most recent details about processing the batch prediction request.-bpMessage :: Lens' BatchPrediction (Maybe Text)-bpMessage = lens _bpMessage (\ s a -> s{_bpMessage = a})---- | The location of an Amazon S3 bucket or directory to receive the operation results. The following substrings are not allowed in the @s3 key@ portion of the @outputURI@ field: ':', '//', '/./', '/../'.-bpOutputURI :: Lens' BatchPrediction (Maybe Text)-bpOutputURI = lens _bpOutputURI (\ s a -> s{_bpOutputURI = a})--instance FromJSON BatchPrediction where- parseJSON- = withObject "BatchPrediction"- (\ x ->- BatchPrediction' <$>- (x .:? "Status") <*> (x .:? "LastUpdatedAt") <*>- (x .:? "CreatedAt")- <*> (x .:? "ComputeTime")- <*> (x .:? "InputDataLocationS3")- <*> (x .:? "MLModelId")- <*> (x .:? "BatchPredictionDataSourceId")- <*> (x .:? "TotalRecordCount")- <*> (x .:? "StartedAt")- <*> (x .:? "BatchPredictionId")- <*> (x .:? "FinishedAt")- <*> (x .:? "InvalidRecordCount")- <*> (x .:? "CreatedByIamUser")- <*> (x .:? "Name")- <*> (x .:? "Message")- <*> (x .:? "OutputUri"))--instance Hashable BatchPrediction where--instance NFData BatchPrediction where---- | Represents the output of the @GetDataSource@ operation.--------- The content consists of the detailed metadata and data file information and the current status of the @DataSource@ .--------- /See:/ 'dataSource' smart constructor.-data DataSource = DataSource'- { _dsStatus :: !(Maybe EntityStatus)- , _dsNumberOfFiles :: !(Maybe Integer)- , _dsLastUpdatedAt :: !(Maybe POSIX)- , _dsCreatedAt :: !(Maybe POSIX)- , _dsComputeTime :: !(Maybe Integer)- , _dsDataSourceId :: !(Maybe Text)- , _dsRDSMetadata :: !(Maybe RDSMetadata)- , _dsDataSizeInBytes :: !(Maybe Integer)- , _dsStartedAt :: !(Maybe POSIX)- , _dsFinishedAt :: !(Maybe POSIX)- , _dsCreatedByIAMUser :: !(Maybe Text)- , _dsName :: !(Maybe Text)- , _dsDataLocationS3 :: !(Maybe Text)- , _dsComputeStatistics :: !(Maybe Bool)- , _dsMessage :: !(Maybe Text)- , _dsRedshiftMetadata :: !(Maybe RedshiftMetadata)- , _dsDataRearrangement :: !(Maybe Text)- , _dsRoleARN :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DataSource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dsStatus' - The current status of the @DataSource@ . This element can have one of the following values: * PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a @DataSource@ . * INPROGRESS - The creation process is underway. * FAILED - The request to create a @DataSource@ did not run to completion. It is not usable. * COMPLETED - The creation process completed successfully. * DELETED - The @DataSource@ is marked as deleted. It is not usable.------ * 'dsNumberOfFiles' - The number of data files referenced by the @DataSource@ .------ * 'dsLastUpdatedAt' - The time of the most recent edit to the @BatchPrediction@ . The time is expressed in epoch time.------ * 'dsCreatedAt' - The time that the @DataSource@ was created. The time is expressed in epoch time.------ * 'dsComputeTime' - Undocumented member.------ * 'dsDataSourceId' - The ID that is assigned to the @DataSource@ during creation.------ * 'dsRDSMetadata' - Undocumented member.------ * 'dsDataSizeInBytes' - The total number of observations contained in the data files that the @DataSource@ references.------ * 'dsStartedAt' - Undocumented member.------ * 'dsFinishedAt' - Undocumented member.------ * 'dsCreatedByIAMUser' - The AWS user account from which the @DataSource@ was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.------ * 'dsName' - A user-supplied name or description of the @DataSource@ .------ * 'dsDataLocationS3' - The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a @DataSource@ .------ * 'dsComputeStatistics' - The parameter is @true@ if statistics need to be generated from the observation data.------ * 'dsMessage' - A description of the most recent details about creating the @DataSource@ .------ * 'dsRedshiftMetadata' - Undocumented member.------ * 'dsDataRearrangement' - A JSON string that represents the splitting and rearrangement requirement used when this @DataSource@ was created.------ * 'dsRoleARN' - Undocumented member.-dataSource- :: DataSource-dataSource =- DataSource'- { _dsStatus = Nothing- , _dsNumberOfFiles = Nothing- , _dsLastUpdatedAt = Nothing- , _dsCreatedAt = Nothing- , _dsComputeTime = Nothing- , _dsDataSourceId = Nothing- , _dsRDSMetadata = Nothing- , _dsDataSizeInBytes = Nothing- , _dsStartedAt = Nothing- , _dsFinishedAt = Nothing- , _dsCreatedByIAMUser = Nothing- , _dsName = Nothing- , _dsDataLocationS3 = Nothing- , _dsComputeStatistics = Nothing- , _dsMessage = Nothing- , _dsRedshiftMetadata = Nothing- , _dsDataRearrangement = Nothing- , _dsRoleARN = Nothing- }----- | The current status of the @DataSource@ . This element can have one of the following values: * PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a @DataSource@ . * INPROGRESS - The creation process is underway. * FAILED - The request to create a @DataSource@ did not run to completion. It is not usable. * COMPLETED - The creation process completed successfully. * DELETED - The @DataSource@ is marked as deleted. It is not usable.-dsStatus :: Lens' DataSource (Maybe EntityStatus)-dsStatus = lens _dsStatus (\ s a -> s{_dsStatus = a})---- | The number of data files referenced by the @DataSource@ .-dsNumberOfFiles :: Lens' DataSource (Maybe Integer)-dsNumberOfFiles = lens _dsNumberOfFiles (\ s a -> s{_dsNumberOfFiles = a})---- | The time of the most recent edit to the @BatchPrediction@ . The time is expressed in epoch time.-dsLastUpdatedAt :: Lens' DataSource (Maybe UTCTime)-dsLastUpdatedAt = lens _dsLastUpdatedAt (\ s a -> s{_dsLastUpdatedAt = a}) . mapping _Time---- | The time that the @DataSource@ was created. The time is expressed in epoch time.-dsCreatedAt :: Lens' DataSource (Maybe UTCTime)-dsCreatedAt = lens _dsCreatedAt (\ s a -> s{_dsCreatedAt = a}) . mapping _Time---- | Undocumented member.-dsComputeTime :: Lens' DataSource (Maybe Integer)-dsComputeTime = lens _dsComputeTime (\ s a -> s{_dsComputeTime = a})---- | The ID that is assigned to the @DataSource@ during creation.-dsDataSourceId :: Lens' DataSource (Maybe Text)-dsDataSourceId = lens _dsDataSourceId (\ s a -> s{_dsDataSourceId = a})---- | Undocumented member.-dsRDSMetadata :: Lens' DataSource (Maybe RDSMetadata)-dsRDSMetadata = lens _dsRDSMetadata (\ s a -> s{_dsRDSMetadata = a})---- | The total number of observations contained in the data files that the @DataSource@ references.-dsDataSizeInBytes :: Lens' DataSource (Maybe Integer)-dsDataSizeInBytes = lens _dsDataSizeInBytes (\ s a -> s{_dsDataSizeInBytes = a})---- | Undocumented member.-dsStartedAt :: Lens' DataSource (Maybe UTCTime)-dsStartedAt = lens _dsStartedAt (\ s a -> s{_dsStartedAt = a}) . mapping _Time---- | Undocumented member.-dsFinishedAt :: Lens' DataSource (Maybe UTCTime)-dsFinishedAt = lens _dsFinishedAt (\ s a -> s{_dsFinishedAt = a}) . mapping _Time---- | The AWS user account from which the @DataSource@ was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.-dsCreatedByIAMUser :: Lens' DataSource (Maybe Text)-dsCreatedByIAMUser = lens _dsCreatedByIAMUser (\ s a -> s{_dsCreatedByIAMUser = a})---- | A user-supplied name or description of the @DataSource@ .-dsName :: Lens' DataSource (Maybe Text)-dsName = lens _dsName (\ s a -> s{_dsName = a})---- | The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a @DataSource@ .-dsDataLocationS3 :: Lens' DataSource (Maybe Text)-dsDataLocationS3 = lens _dsDataLocationS3 (\ s a -> s{_dsDataLocationS3 = a})---- | The parameter is @true@ if statistics need to be generated from the observation data.-dsComputeStatistics :: Lens' DataSource (Maybe Bool)-dsComputeStatistics = lens _dsComputeStatistics (\ s a -> s{_dsComputeStatistics = a})---- | A description of the most recent details about creating the @DataSource@ .-dsMessage :: Lens' DataSource (Maybe Text)-dsMessage = lens _dsMessage (\ s a -> s{_dsMessage = a})---- | Undocumented member.-dsRedshiftMetadata :: Lens' DataSource (Maybe RedshiftMetadata)-dsRedshiftMetadata = lens _dsRedshiftMetadata (\ s a -> s{_dsRedshiftMetadata = a})---- | A JSON string that represents the splitting and rearrangement requirement used when this @DataSource@ was created.-dsDataRearrangement :: Lens' DataSource (Maybe Text)-dsDataRearrangement = lens _dsDataRearrangement (\ s a -> s{_dsDataRearrangement = a})---- | Undocumented member.-dsRoleARN :: Lens' DataSource (Maybe Text)-dsRoleARN = lens _dsRoleARN (\ s a -> s{_dsRoleARN = a})--instance FromJSON DataSource where- parseJSON- = withObject "DataSource"- (\ x ->- DataSource' <$>- (x .:? "Status") <*> (x .:? "NumberOfFiles") <*>- (x .:? "LastUpdatedAt")- <*> (x .:? "CreatedAt")- <*> (x .:? "ComputeTime")- <*> (x .:? "DataSourceId")- <*> (x .:? "RDSMetadata")- <*> (x .:? "DataSizeInBytes")- <*> (x .:? "StartedAt")- <*> (x .:? "FinishedAt")- <*> (x .:? "CreatedByIamUser")- <*> (x .:? "Name")- <*> (x .:? "DataLocationS3")- <*> (x .:? "ComputeStatistics")- <*> (x .:? "Message")- <*> (x .:? "RedshiftMetadata")- <*> (x .:? "DataRearrangement")- <*> (x .:? "RoleARN"))--instance Hashable DataSource where--instance NFData DataSource where---- | Represents the output of @GetEvaluation@ operation.--------- The content consists of the detailed metadata and data file information and the current status of the @Evaluation@ .--------- /See:/ 'evaluation' smart constructor.-data Evaluation = Evaluation'- { _eStatus :: !(Maybe EntityStatus)- , _ePerformanceMetrics :: !(Maybe PerformanceMetrics)- , _eLastUpdatedAt :: !(Maybe POSIX)- , _eCreatedAt :: !(Maybe POSIX)- , _eComputeTime :: !(Maybe Integer)- , _eInputDataLocationS3 :: !(Maybe Text)- , _eMLModelId :: !(Maybe Text)- , _eStartedAt :: !(Maybe POSIX)- , _eFinishedAt :: !(Maybe POSIX)- , _eCreatedByIAMUser :: !(Maybe Text)- , _eName :: !(Maybe Text)- , _eEvaluationId :: !(Maybe Text)- , _eMessage :: !(Maybe Text)- , _eEvaluationDataSourceId :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Evaluation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'eStatus' - The status of the evaluation. This element can have one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to evaluate an @MLModel@ . * @INPROGRESS@ - The evaluation is underway. * @FAILED@ - The request to evaluate an @MLModel@ did not run to completion. It is not usable. * @COMPLETED@ - The evaluation process completed successfully. * @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.------ * 'ePerformanceMetrics' - Measurements of how well the @MLModel@ performed, using observations referenced by the @DataSource@ . One of the following metrics is returned, based on the type of the @MLModel@ : * BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC) technique to measure performance. * RegressionRMSE: A regression @MLModel@ uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable. * MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score technique to measure performance. For more information about performance metrics, please see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .------ * 'eLastUpdatedAt' - The time of the most recent edit to the @Evaluation@ . The time is expressed in epoch time.------ * 'eCreatedAt' - The time that the @Evaluation@ was created. The time is expressed in epoch time.------ * 'eComputeTime' - Undocumented member.------ * 'eInputDataLocationS3' - The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.------ * 'eMLModelId' - The ID of the @MLModel@ that is the focus of the evaluation.------ * 'eStartedAt' - Undocumented member.------ * 'eFinishedAt' - Undocumented member.------ * 'eCreatedByIAMUser' - The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.------ * 'eName' - A user-supplied name or description of the @Evaluation@ .------ * 'eEvaluationId' - The ID that is assigned to the @Evaluation@ at creation.------ * 'eMessage' - A description of the most recent details about evaluating the @MLModel@ .------ * 'eEvaluationDataSourceId' - The ID of the @DataSource@ that is used to evaluate the @MLModel@ .-evaluation- :: Evaluation-evaluation =- Evaluation'- { _eStatus = Nothing- , _ePerformanceMetrics = Nothing- , _eLastUpdatedAt = Nothing- , _eCreatedAt = Nothing- , _eComputeTime = Nothing- , _eInputDataLocationS3 = Nothing- , _eMLModelId = Nothing- , _eStartedAt = Nothing- , _eFinishedAt = Nothing- , _eCreatedByIAMUser = Nothing- , _eName = Nothing- , _eEvaluationId = Nothing- , _eMessage = Nothing- , _eEvaluationDataSourceId = Nothing- }----- | The status of the evaluation. This element can have one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to evaluate an @MLModel@ . * @INPROGRESS@ - The evaluation is underway. * @FAILED@ - The request to evaluate an @MLModel@ did not run to completion. It is not usable. * @COMPLETED@ - The evaluation process completed successfully. * @DELETED@ - The @Evaluation@ is marked as deleted. It is not usable.-eStatus :: Lens' Evaluation (Maybe EntityStatus)-eStatus = lens _eStatus (\ s a -> s{_eStatus = a})---- | Measurements of how well the @MLModel@ performed, using observations referenced by the @DataSource@ . One of the following metrics is returned, based on the type of the @MLModel@ : * BinaryAUC: A binary @MLModel@ uses the Area Under the Curve (AUC) technique to measure performance. * RegressionRMSE: A regression @MLModel@ uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable. * MulticlassAvgFScore: A multiclass @MLModel@ uses the F1 score technique to measure performance. For more information about performance metrics, please see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .-ePerformanceMetrics :: Lens' Evaluation (Maybe PerformanceMetrics)-ePerformanceMetrics = lens _ePerformanceMetrics (\ s a -> s{_ePerformanceMetrics = a})---- | The time of the most recent edit to the @Evaluation@ . The time is expressed in epoch time.-eLastUpdatedAt :: Lens' Evaluation (Maybe UTCTime)-eLastUpdatedAt = lens _eLastUpdatedAt (\ s a -> s{_eLastUpdatedAt = a}) . mapping _Time---- | The time that the @Evaluation@ was created. The time is expressed in epoch time.-eCreatedAt :: Lens' Evaluation (Maybe UTCTime)-eCreatedAt = lens _eCreatedAt (\ s a -> s{_eCreatedAt = a}) . mapping _Time---- | Undocumented member.-eComputeTime :: Lens' Evaluation (Maybe Integer)-eComputeTime = lens _eComputeTime (\ s a -> s{_eComputeTime = a})---- | The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.-eInputDataLocationS3 :: Lens' Evaluation (Maybe Text)-eInputDataLocationS3 = lens _eInputDataLocationS3 (\ s a -> s{_eInputDataLocationS3 = a})---- | The ID of the @MLModel@ that is the focus of the evaluation.-eMLModelId :: Lens' Evaluation (Maybe Text)-eMLModelId = lens _eMLModelId (\ s a -> s{_eMLModelId = a})---- | Undocumented member.-eStartedAt :: Lens' Evaluation (Maybe UTCTime)-eStartedAt = lens _eStartedAt (\ s a -> s{_eStartedAt = a}) . mapping _Time---- | Undocumented member.-eFinishedAt :: Lens' Evaluation (Maybe UTCTime)-eFinishedAt = lens _eFinishedAt (\ s a -> s{_eFinishedAt = a}) . mapping _Time---- | The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.-eCreatedByIAMUser :: Lens' Evaluation (Maybe Text)-eCreatedByIAMUser = lens _eCreatedByIAMUser (\ s a -> s{_eCreatedByIAMUser = a})---- | A user-supplied name or description of the @Evaluation@ .-eName :: Lens' Evaluation (Maybe Text)-eName = lens _eName (\ s a -> s{_eName = a})---- | The ID that is assigned to the @Evaluation@ at creation.-eEvaluationId :: Lens' Evaluation (Maybe Text)-eEvaluationId = lens _eEvaluationId (\ s a -> s{_eEvaluationId = a})---- | A description of the most recent details about evaluating the @MLModel@ .-eMessage :: Lens' Evaluation (Maybe Text)-eMessage = lens _eMessage (\ s a -> s{_eMessage = a})---- | The ID of the @DataSource@ that is used to evaluate the @MLModel@ .-eEvaluationDataSourceId :: Lens' Evaluation (Maybe Text)-eEvaluationDataSourceId = lens _eEvaluationDataSourceId (\ s a -> s{_eEvaluationDataSourceId = a})--instance FromJSON Evaluation where- parseJSON- = withObject "Evaluation"- (\ x ->- Evaluation' <$>- (x .:? "Status") <*> (x .:? "PerformanceMetrics") <*>- (x .:? "LastUpdatedAt")- <*> (x .:? "CreatedAt")- <*> (x .:? "ComputeTime")- <*> (x .:? "InputDataLocationS3")- <*> (x .:? "MLModelId")- <*> (x .:? "StartedAt")- <*> (x .:? "FinishedAt")- <*> (x .:? "CreatedByIamUser")- <*> (x .:? "Name")- <*> (x .:? "EvaluationId")- <*> (x .:? "Message")- <*> (x .:? "EvaluationDataSourceId"))--instance Hashable Evaluation where--instance NFData Evaluation where---- | Represents the output of a @GetMLModel@ operation.--------- The content consists of the detailed metadata and the current status of the @MLModel@ .--------- /See:/ 'mLModel' smart constructor.-data MLModel = MLModel'- { _mlmStatus :: !(Maybe EntityStatus)- , _mlmLastUpdatedAt :: !(Maybe POSIX)- , _mlmTrainingParameters :: !(Maybe (Map Text Text))- , _mlmScoreThresholdLastUpdatedAt :: !(Maybe POSIX)- , _mlmCreatedAt :: !(Maybe POSIX)- , _mlmComputeTime :: !(Maybe Integer)- , _mlmInputDataLocationS3 :: !(Maybe Text)- , _mlmMLModelId :: !(Maybe Text)- , _mlmSizeInBytes :: !(Maybe Integer)- , _mlmStartedAt :: !(Maybe POSIX)- , _mlmScoreThreshold :: !(Maybe Double)- , _mlmFinishedAt :: !(Maybe POSIX)- , _mlmAlgorithm :: !(Maybe Algorithm)- , _mlmCreatedByIAMUser :: !(Maybe Text)- , _mlmName :: !(Maybe Text)- , _mlmEndpointInfo :: !(Maybe RealtimeEndpointInfo)- , _mlmTrainingDataSourceId :: !(Maybe Text)- , _mlmMessage :: !(Maybe Text)- , _mlmMLModelType :: !(Maybe MLModelType)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'MLModel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mlmStatus' - The current status of an @MLModel@ . This element can have one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to create an @MLModel@ . * @INPROGRESS@ - The creation process is underway. * @FAILED@ - The request to create an @MLModel@ didn't run to completion. The model isn't usable. * @COMPLETED@ - The creation process completed successfully. * @DELETED@ - The @MLModel@ is marked as deleted. It isn't usable.------ * 'mlmLastUpdatedAt' - The time of the most recent edit to the @MLModel@ . The time is expressed in epoch time.------ * 'mlmTrainingParameters' - A list of the training parameters in the @MLModel@ . The list is implemented as a map of key-value pairs. The following is the current set of training parameters: * @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from @100000@ to @2147483648@ . The default value is @33554432@ . * @sgd.maxPasses@ - The number of times that the training process traverses the observations to build the @MLModel@ . The value is an integer that ranges from @1@ to @10000@ . The default value is @10@ . * @sgd.shuffleType@ - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are @auto@ and @none@ . The default value is @none@ . * @sgd.l1RegularizationAmount@ - The coefficient regularization L1 norm, which controls overfitting the data by penalizing large coefficients. This parameter tends to drive coefficients to zero, resulting in sparse feature set. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L1 normalization. This parameter can't be used when @L2@ is specified. Use this parameter sparingly. * @sgd.l2RegularizationAmount@ - The coefficient regularization L2 norm, which controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L2 normalization. This parameter can't be used when @L1@ is specified. Use this parameter sparingly.------ * 'mlmScoreThresholdLastUpdatedAt' - The time of the most recent edit to the @ScoreThreshold@ . The time is expressed in epoch time.------ * 'mlmCreatedAt' - The time that the @MLModel@ was created. The time is expressed in epoch time.------ * 'mlmComputeTime' - Undocumented member.------ * 'mlmInputDataLocationS3' - The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).------ * 'mlmMLModelId' - The ID assigned to the @MLModel@ at creation.------ * 'mlmSizeInBytes' - Undocumented member.------ * 'mlmStartedAt' - Undocumented member.------ * 'mlmScoreThreshold' - Undocumented member.------ * 'mlmFinishedAt' - Undocumented member.------ * 'mlmAlgorithm' - The algorithm used to train the @MLModel@ . The following algorithm is supported: * @SGD@ -- Stochastic gradient descent. The goal of @SGD@ is to minimize the gradient of the loss function.------ * 'mlmCreatedByIAMUser' - The AWS user account from which the @MLModel@ was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.------ * 'mlmName' - A user-supplied name or description of the @MLModel@ .------ * 'mlmEndpointInfo' - The current endpoint of the @MLModel@ .------ * 'mlmTrainingDataSourceId' - The ID of the training @DataSource@ . The @CreateMLModel@ operation uses the @TrainingDataSourceId@ .------ * 'mlmMessage' - A description of the most recent details about accessing the @MLModel@ .------ * 'mlmMLModelType' - Identifies the @MLModel@ category. The following are the available types: * @REGRESSION@ - Produces a numeric result. For example, "What price should a house be listed at?" * @BINARY@ - Produces one of two possible results. For example, "Is this a child-friendly web site?". * @MULTICLASS@ - Produces one of several possible results. For example, "Is this a HIGH-, LOW-, or MEDIUM-risk trade?".-mLModel- :: MLModel-mLModel =- MLModel'- { _mlmStatus = Nothing- , _mlmLastUpdatedAt = Nothing- , _mlmTrainingParameters = Nothing- , _mlmScoreThresholdLastUpdatedAt = Nothing- , _mlmCreatedAt = Nothing- , _mlmComputeTime = Nothing- , _mlmInputDataLocationS3 = Nothing- , _mlmMLModelId = Nothing- , _mlmSizeInBytes = Nothing- , _mlmStartedAt = Nothing- , _mlmScoreThreshold = Nothing- , _mlmFinishedAt = Nothing- , _mlmAlgorithm = Nothing- , _mlmCreatedByIAMUser = Nothing- , _mlmName = Nothing- , _mlmEndpointInfo = Nothing- , _mlmTrainingDataSourceId = Nothing- , _mlmMessage = Nothing- , _mlmMLModelType = Nothing- }----- | The current status of an @MLModel@ . This element can have one of the following values: * @PENDING@ - Amazon Machine Learning (Amazon ML) submitted a request to create an @MLModel@ . * @INPROGRESS@ - The creation process is underway. * @FAILED@ - The request to create an @MLModel@ didn't run to completion. The model isn't usable. * @COMPLETED@ - The creation process completed successfully. * @DELETED@ - The @MLModel@ is marked as deleted. It isn't usable.-mlmStatus :: Lens' MLModel (Maybe EntityStatus)-mlmStatus = lens _mlmStatus (\ s a -> s{_mlmStatus = a})---- | The time of the most recent edit to the @MLModel@ . The time is expressed in epoch time.-mlmLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)-mlmLastUpdatedAt = lens _mlmLastUpdatedAt (\ s a -> s{_mlmLastUpdatedAt = a}) . mapping _Time---- | A list of the training parameters in the @MLModel@ . The list is implemented as a map of key-value pairs. The following is the current set of training parameters: * @sgd.maxMLModelSizeInBytes@ - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance. The value is an integer that ranges from @100000@ to @2147483648@ . The default value is @33554432@ . * @sgd.maxPasses@ - The number of times that the training process traverses the observations to build the @MLModel@ . The value is an integer that ranges from @1@ to @10000@ . The default value is @10@ . * @sgd.shuffleType@ - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are @auto@ and @none@ . The default value is @none@ . * @sgd.l1RegularizationAmount@ - The coefficient regularization L1 norm, which controls overfitting the data by penalizing large coefficients. This parameter tends to drive coefficients to zero, resulting in sparse feature set. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L1 normalization. This parameter can't be used when @L2@ is specified. Use this parameter sparingly. * @sgd.l2RegularizationAmount@ - The coefficient regularization L2 norm, which controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as @1.0E-08@ . The value is a double that ranges from @0@ to @MAX_DOUBLE@ . The default is to not use L2 normalization. This parameter can't be used when @L1@ is specified. Use this parameter sparingly.-mlmTrainingParameters :: Lens' MLModel (HashMap Text Text)-mlmTrainingParameters = lens _mlmTrainingParameters (\ s a -> s{_mlmTrainingParameters = a}) . _Default . _Map---- | The time of the most recent edit to the @ScoreThreshold@ . The time is expressed in epoch time.-mlmScoreThresholdLastUpdatedAt :: Lens' MLModel (Maybe UTCTime)-mlmScoreThresholdLastUpdatedAt = lens _mlmScoreThresholdLastUpdatedAt (\ s a -> s{_mlmScoreThresholdLastUpdatedAt = a}) . mapping _Time---- | The time that the @MLModel@ was created. The time is expressed in epoch time.-mlmCreatedAt :: Lens' MLModel (Maybe UTCTime)-mlmCreatedAt = lens _mlmCreatedAt (\ s a -> s{_mlmCreatedAt = a}) . mapping _Time---- | Undocumented member.-mlmComputeTime :: Lens' MLModel (Maybe Integer)-mlmComputeTime = lens _mlmComputeTime (\ s a -> s{_mlmComputeTime = a})---- | The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).-mlmInputDataLocationS3 :: Lens' MLModel (Maybe Text)-mlmInputDataLocationS3 = lens _mlmInputDataLocationS3 (\ s a -> s{_mlmInputDataLocationS3 = a})---- | The ID assigned to the @MLModel@ at creation.-mlmMLModelId :: Lens' MLModel (Maybe Text)-mlmMLModelId = lens _mlmMLModelId (\ s a -> s{_mlmMLModelId = a})---- | Undocumented member.-mlmSizeInBytes :: Lens' MLModel (Maybe Integer)-mlmSizeInBytes = lens _mlmSizeInBytes (\ s a -> s{_mlmSizeInBytes = a})---- | Undocumented member.-mlmStartedAt :: Lens' MLModel (Maybe UTCTime)-mlmStartedAt = lens _mlmStartedAt (\ s a -> s{_mlmStartedAt = a}) . mapping _Time---- | Undocumented member.-mlmScoreThreshold :: Lens' MLModel (Maybe Double)-mlmScoreThreshold = lens _mlmScoreThreshold (\ s a -> s{_mlmScoreThreshold = a})---- | Undocumented member.-mlmFinishedAt :: Lens' MLModel (Maybe UTCTime)-mlmFinishedAt = lens _mlmFinishedAt (\ s a -> s{_mlmFinishedAt = a}) . mapping _Time---- | The algorithm used to train the @MLModel@ . The following algorithm is supported: * @SGD@ -- Stochastic gradient descent. The goal of @SGD@ is to minimize the gradient of the loss function.-mlmAlgorithm :: Lens' MLModel (Maybe Algorithm)-mlmAlgorithm = lens _mlmAlgorithm (\ s a -> s{_mlmAlgorithm = a})---- | The AWS user account from which the @MLModel@ was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.-mlmCreatedByIAMUser :: Lens' MLModel (Maybe Text)-mlmCreatedByIAMUser = lens _mlmCreatedByIAMUser (\ s a -> s{_mlmCreatedByIAMUser = a})---- | A user-supplied name or description of the @MLModel@ .-mlmName :: Lens' MLModel (Maybe Text)-mlmName = lens _mlmName (\ s a -> s{_mlmName = a})---- | The current endpoint of the @MLModel@ .-mlmEndpointInfo :: Lens' MLModel (Maybe RealtimeEndpointInfo)-mlmEndpointInfo = lens _mlmEndpointInfo (\ s a -> s{_mlmEndpointInfo = a})---- | The ID of the training @DataSource@ . The @CreateMLModel@ operation uses the @TrainingDataSourceId@ .-mlmTrainingDataSourceId :: Lens' MLModel (Maybe Text)-mlmTrainingDataSourceId = lens _mlmTrainingDataSourceId (\ s a -> s{_mlmTrainingDataSourceId = a})---- | A description of the most recent details about accessing the @MLModel@ .-mlmMessage :: Lens' MLModel (Maybe Text)-mlmMessage = lens _mlmMessage (\ s a -> s{_mlmMessage = a})---- | Identifies the @MLModel@ category. The following are the available types: * @REGRESSION@ - Produces a numeric result. For example, "What price should a house be listed at?" * @BINARY@ - Produces one of two possible results. For example, "Is this a child-friendly web site?". * @MULTICLASS@ - Produces one of several possible results. For example, "Is this a HIGH-, LOW-, or MEDIUM-risk trade?".-mlmMLModelType :: Lens' MLModel (Maybe MLModelType)-mlmMLModelType = lens _mlmMLModelType (\ s a -> s{_mlmMLModelType = a})--instance FromJSON MLModel where- parseJSON- = withObject "MLModel"- (\ x ->- MLModel' <$>- (x .:? "Status") <*> (x .:? "LastUpdatedAt") <*>- (x .:? "TrainingParameters" .!= mempty)- <*> (x .:? "ScoreThresholdLastUpdatedAt")- <*> (x .:? "CreatedAt")- <*> (x .:? "ComputeTime")- <*> (x .:? "InputDataLocationS3")- <*> (x .:? "MLModelId")- <*> (x .:? "SizeInBytes")- <*> (x .:? "StartedAt")- <*> (x .:? "ScoreThreshold")- <*> (x .:? "FinishedAt")- <*> (x .:? "Algorithm")- <*> (x .:? "CreatedByIamUser")- <*> (x .:? "Name")- <*> (x .:? "EndpointInfo")- <*> (x .:? "TrainingDataSourceId")- <*> (x .:? "Message")- <*> (x .:? "MLModelType"))--instance Hashable MLModel where--instance NFData MLModel where---- | Measurements of how well the @MLModel@ performed on known observations. One of the following metrics is returned, based on the type of the @MLModel@ :--------- * BinaryAUC: The binary @MLModel@ uses the Area Under the Curve (AUC) technique to measure performance.------ * RegressionRMSE: The regression @MLModel@ uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.------ * MulticlassAvgFScore: The multiclass @MLModel@ uses the F1 score technique to measure performance.------------ For more information about performance metrics, please see the <http://docs.aws.amazon.com/machine-learning/latest/dg Amazon Machine Learning Developer Guide> .--------- /See:/ 'performanceMetrics' smart constructor.-newtype PerformanceMetrics = PerformanceMetrics'- { _pmProperties :: Maybe (Map Text Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'PerformanceMetrics' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pmProperties' - Undocumented member.-performanceMetrics- :: PerformanceMetrics-performanceMetrics = PerformanceMetrics' {_pmProperties = Nothing}----- | Undocumented member.-pmProperties :: Lens' PerformanceMetrics (HashMap Text Text)-pmProperties = lens _pmProperties (\ s a -> s{_pmProperties = a}) . _Default . _Map--instance FromJSON PerformanceMetrics where- parseJSON- = withObject "PerformanceMetrics"- (\ x ->- PerformanceMetrics' <$>- (x .:? "Properties" .!= mempty))--instance Hashable PerformanceMetrics where--instance NFData PerformanceMetrics where---- | The output from a @Predict@ operation:--------- * @Details@ - Contains the following attributes: @DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS@ @DetailsAttributes.ALGORITHM - SGD@------ * @PredictedLabel@ - Present for either a @BINARY@ or @MULTICLASS@ @MLModel@ request.------ * @PredictedScores@ - Contains the raw classification score corresponding to each label.------ * @PredictedValue@ - Present for a @REGRESSION@ @MLModel@ request.--------------- /See:/ 'prediction' smart constructor.-data Prediction = Prediction'- { _pPredictedValue :: !(Maybe Double)- , _pPredictedLabel :: !(Maybe Text)- , _pPredictedScores :: !(Maybe (Map Text Double))- , _pDetails :: !(Maybe (Map DetailsAttributes Text))- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Prediction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pPredictedValue' - The prediction value for @REGRESSION@ @MLModel@ .------ * 'pPredictedLabel' - The prediction label for either a @BINARY@ or @MULTICLASS@ @MLModel@ .------ * 'pPredictedScores' - Undocumented member.------ * 'pDetails' - Undocumented member.-prediction- :: Prediction-prediction =- Prediction'- { _pPredictedValue = Nothing- , _pPredictedLabel = Nothing- , _pPredictedScores = Nothing- , _pDetails = Nothing- }----- | The prediction value for @REGRESSION@ @MLModel@ .-pPredictedValue :: Lens' Prediction (Maybe Double)-pPredictedValue = lens _pPredictedValue (\ s a -> s{_pPredictedValue = a})---- | The prediction label for either a @BINARY@ or @MULTICLASS@ @MLModel@ .-pPredictedLabel :: Lens' Prediction (Maybe Text)-pPredictedLabel = lens _pPredictedLabel (\ s a -> s{_pPredictedLabel = a})---- | Undocumented member.-pPredictedScores :: Lens' Prediction (HashMap Text Double)-pPredictedScores = lens _pPredictedScores (\ s a -> s{_pPredictedScores = a}) . _Default . _Map---- | Undocumented member.-pDetails :: Lens' Prediction (HashMap DetailsAttributes Text)-pDetails = lens _pDetails (\ s a -> s{_pDetails = a}) . _Default . _Map--instance FromJSON Prediction where- parseJSON- = withObject "Prediction"- (\ x ->- Prediction' <$>- (x .:? "predictedValue") <*> (x .:? "predictedLabel")- <*> (x .:? "predictedScores" .!= mempty)- <*> (x .:? "details" .!= mempty))--instance Hashable Prediction where--instance NFData Prediction where---- | The data specification of an Amazon Relational Database Service (Amazon RDS) @DataSource@ .------------ /See:/ 'rdsDataSpec' smart constructor.-data RDSDataSpec = RDSDataSpec'- { _rdsdsDataSchemaURI :: !(Maybe Text)- , _rdsdsDataSchema :: !(Maybe Text)- , _rdsdsDataRearrangement :: !(Maybe Text)- , _rdsdsDatabaseInformation :: !RDSDatabase- , _rdsdsSelectSqlQuery :: !Text- , _rdsdsDatabaseCredentials :: !RDSDatabaseCredentials- , _rdsdsS3StagingLocation :: !Text- , _rdsdsResourceRole :: !Text- , _rdsdsServiceRole :: !Text- , _rdsdsSubnetId :: !Text- , _rdsdsSecurityGroupIds :: ![Text]- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RDSDataSpec' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rdsdsDataSchemaURI' - The Amazon S3 location of the @DataSchema@ .------ * 'rdsdsDataSchema' - A JSON string that represents the schema for an Amazon RDS @DataSource@ . The @DataSchema@ defines the structure of the observation data in the data file(s) referenced in the @DataSource@ . A @DataSchema@ is not required if you specify a @DataSchemaUri@ Define your @DataSchema@ as a series of key-value pairs. @attributes@ and @excludedVariableNames@ have an array of key-value pairs for their value. Use the following format to define your @DataSchema@ . { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] }------ * 'rdsdsDataRearrangement' - A JSON string that represents the splitting and rearrangement processing to be applied to a @DataSource@ . If the @DataRearrangement@ parameter is not provided, all of the input data is used to create the @Datasource@ . There are multiple parameters that control what data is used to create a datasource: * __@percentBegin@ __ Use @percentBegin@ to indicate the beginning of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@percentEnd@ __ Use @percentEnd@ to indicate the end of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@complement@ __ The @complement@ parameter instructs Amazon ML to use the data that is not included in the range of @percentBegin@ to @percentEnd@ to create a datasource. The @complement@ parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for @percentBegin@ and @percentEnd@ , along with the @complement@ parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: @{"splitting":{"percentBegin":0, "percentEnd":25}}@ Datasource for training: @{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}@ * __@strategy@ __ To change how Amazon ML splits the data for a datasource, use the @strategy@ parameter. The default value for the @strategy@ parameter is @sequential@ , meaning that Amazon ML takes all of the data records between the @percentBegin@ and @percentEnd@ parameters for the datasource, in the order that the records appear in the input data. The following two @DataRearrangement@ lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}@ To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the @strategy@ parameter to @random@ and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between @percentBegin@ and @percentEnd@ . Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two @DataRearrangement@ lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}@------ * 'rdsdsDatabaseInformation' - Describes the @DatabaseName@ and @InstanceIdentifier@ of an Amazon RDS database.------ * 'rdsdsSelectSqlQuery' - The query that is used to retrieve the observation data for the @DataSource@ .------ * 'rdsdsDatabaseCredentials' - The AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon RDS database.------ * 'rdsdsS3StagingLocation' - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using @SelectSqlQuery@ is stored in this location.------ * 'rdsdsResourceRole' - The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines.------ * 'rdsdsServiceRole' - The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines.------ * 'rdsdsSubnetId' - The subnet ID to be used to access a VPC-based RDS DB instance. This attribute is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon S3.------ * 'rdsdsSecurityGroupIds' - The security group IDs to be used to access a VPC-based RDS DB instance. Ensure that there are appropriate ingress rules set up to allow access to the RDS DB instance. This attribute is used by Data Pipeline to carry out the copy operation from Amazon RDS to an Amazon S3 task.-rdsDataSpec- :: RDSDatabase -- ^ 'rdsdsDatabaseInformation'- -> Text -- ^ 'rdsdsSelectSqlQuery'- -> RDSDatabaseCredentials -- ^ 'rdsdsDatabaseCredentials'- -> Text -- ^ 'rdsdsS3StagingLocation'- -> Text -- ^ 'rdsdsResourceRole'- -> Text -- ^ 'rdsdsServiceRole'- -> Text -- ^ 'rdsdsSubnetId'- -> RDSDataSpec-rdsDataSpec pDatabaseInformation_ pSelectSqlQuery_ pDatabaseCredentials_ pS3StagingLocation_ pResourceRole_ pServiceRole_ pSubnetId_ =- RDSDataSpec'- { _rdsdsDataSchemaURI = Nothing- , _rdsdsDataSchema = Nothing- , _rdsdsDataRearrangement = Nothing- , _rdsdsDatabaseInformation = pDatabaseInformation_- , _rdsdsSelectSqlQuery = pSelectSqlQuery_- , _rdsdsDatabaseCredentials = pDatabaseCredentials_- , _rdsdsS3StagingLocation = pS3StagingLocation_- , _rdsdsResourceRole = pResourceRole_- , _rdsdsServiceRole = pServiceRole_- , _rdsdsSubnetId = pSubnetId_- , _rdsdsSecurityGroupIds = mempty- }----- | The Amazon S3 location of the @DataSchema@ .-rdsdsDataSchemaURI :: Lens' RDSDataSpec (Maybe Text)-rdsdsDataSchemaURI = lens _rdsdsDataSchemaURI (\ s a -> s{_rdsdsDataSchemaURI = a})---- | A JSON string that represents the schema for an Amazon RDS @DataSource@ . The @DataSchema@ defines the structure of the observation data in the data file(s) referenced in the @DataSource@ . A @DataSchema@ is not required if you specify a @DataSchemaUri@ Define your @DataSchema@ as a series of key-value pairs. @attributes@ and @excludedVariableNames@ have an array of key-value pairs for their value. Use the following format to define your @DataSchema@ . { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] }-rdsdsDataSchema :: Lens' RDSDataSpec (Maybe Text)-rdsdsDataSchema = lens _rdsdsDataSchema (\ s a -> s{_rdsdsDataSchema = a})---- | A JSON string that represents the splitting and rearrangement processing to be applied to a @DataSource@ . If the @DataRearrangement@ parameter is not provided, all of the input data is used to create the @Datasource@ . There are multiple parameters that control what data is used to create a datasource: * __@percentBegin@ __ Use @percentBegin@ to indicate the beginning of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@percentEnd@ __ Use @percentEnd@ to indicate the end of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@complement@ __ The @complement@ parameter instructs Amazon ML to use the data that is not included in the range of @percentBegin@ to @percentEnd@ to create a datasource. The @complement@ parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for @percentBegin@ and @percentEnd@ , along with the @complement@ parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: @{"splitting":{"percentBegin":0, "percentEnd":25}}@ Datasource for training: @{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}@ * __@strategy@ __ To change how Amazon ML splits the data for a datasource, use the @strategy@ parameter. The default value for the @strategy@ parameter is @sequential@ , meaning that Amazon ML takes all of the data records between the @percentBegin@ and @percentEnd@ parameters for the datasource, in the order that the records appear in the input data. The following two @DataRearrangement@ lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}@ To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the @strategy@ parameter to @random@ and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between @percentBegin@ and @percentEnd@ . Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two @DataRearrangement@ lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}@-rdsdsDataRearrangement :: Lens' RDSDataSpec (Maybe Text)-rdsdsDataRearrangement = lens _rdsdsDataRearrangement (\ s a -> s{_rdsdsDataRearrangement = a})---- | Describes the @DatabaseName@ and @InstanceIdentifier@ of an Amazon RDS database.-rdsdsDatabaseInformation :: Lens' RDSDataSpec RDSDatabase-rdsdsDatabaseInformation = lens _rdsdsDatabaseInformation (\ s a -> s{_rdsdsDatabaseInformation = a})---- | The query that is used to retrieve the observation data for the @DataSource@ .-rdsdsSelectSqlQuery :: Lens' RDSDataSpec Text-rdsdsSelectSqlQuery = lens _rdsdsSelectSqlQuery (\ s a -> s{_rdsdsSelectSqlQuery = a})---- | The AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon RDS database.-rdsdsDatabaseCredentials :: Lens' RDSDataSpec RDSDatabaseCredentials-rdsdsDatabaseCredentials = lens _rdsdsDatabaseCredentials (\ s a -> s{_rdsdsDatabaseCredentials = a})---- | The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using @SelectSqlQuery@ is stored in this location.-rdsdsS3StagingLocation :: Lens' RDSDataSpec Text-rdsdsS3StagingLocation = lens _rdsdsS3StagingLocation (\ s a -> s{_rdsdsS3StagingLocation = a})---- | The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines.-rdsdsResourceRole :: Lens' RDSDataSpec Text-rdsdsResourceRole = lens _rdsdsResourceRole (\ s a -> s{_rdsdsResourceRole = a})---- | The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines.-rdsdsServiceRole :: Lens' RDSDataSpec Text-rdsdsServiceRole = lens _rdsdsServiceRole (\ s a -> s{_rdsdsServiceRole = a})---- | The subnet ID to be used to access a VPC-based RDS DB instance. This attribute is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon S3.-rdsdsSubnetId :: Lens' RDSDataSpec Text-rdsdsSubnetId = lens _rdsdsSubnetId (\ s a -> s{_rdsdsSubnetId = a})---- | The security group IDs to be used to access a VPC-based RDS DB instance. Ensure that there are appropriate ingress rules set up to allow access to the RDS DB instance. This attribute is used by Data Pipeline to carry out the copy operation from Amazon RDS to an Amazon S3 task.-rdsdsSecurityGroupIds :: Lens' RDSDataSpec [Text]-rdsdsSecurityGroupIds = lens _rdsdsSecurityGroupIds (\ s a -> s{_rdsdsSecurityGroupIds = a}) . _Coerce--instance Hashable RDSDataSpec where--instance NFData RDSDataSpec where--instance ToJSON RDSDataSpec where- toJSON RDSDataSpec'{..}- = object- (catMaybes- [("DataSchemaUri" .=) <$> _rdsdsDataSchemaURI,- ("DataSchema" .=) <$> _rdsdsDataSchema,- ("DataRearrangement" .=) <$> _rdsdsDataRearrangement,- Just- ("DatabaseInformation" .= _rdsdsDatabaseInformation),- Just ("SelectSqlQuery" .= _rdsdsSelectSqlQuery),- Just- ("DatabaseCredentials" .= _rdsdsDatabaseCredentials),- Just- ("S3StagingLocation" .= _rdsdsS3StagingLocation),- Just ("ResourceRole" .= _rdsdsResourceRole),- Just ("ServiceRole" .= _rdsdsServiceRole),- Just ("SubnetId" .= _rdsdsSubnetId),- Just ("SecurityGroupIds" .= _rdsdsSecurityGroupIds)])---- | The database details of an Amazon RDS database.------------ /See:/ 'rdsDatabase' smart constructor.-data RDSDatabase = RDSDatabase'- { _rdsdInstanceIdentifier :: !Text- , _rdsdDatabaseName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RDSDatabase' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rdsdInstanceIdentifier' - The ID of an RDS DB instance.------ * 'rdsdDatabaseName' - Undocumented member.-rdsDatabase- :: Text -- ^ 'rdsdInstanceIdentifier'- -> Text -- ^ 'rdsdDatabaseName'- -> RDSDatabase-rdsDatabase pInstanceIdentifier_ pDatabaseName_ =- RDSDatabase'- { _rdsdInstanceIdentifier = pInstanceIdentifier_- , _rdsdDatabaseName = pDatabaseName_- }----- | The ID of an RDS DB instance.-rdsdInstanceIdentifier :: Lens' RDSDatabase Text-rdsdInstanceIdentifier = lens _rdsdInstanceIdentifier (\ s a -> s{_rdsdInstanceIdentifier = a})---- | Undocumented member.-rdsdDatabaseName :: Lens' RDSDatabase Text-rdsdDatabaseName = lens _rdsdDatabaseName (\ s a -> s{_rdsdDatabaseName = a})--instance FromJSON RDSDatabase where- parseJSON- = withObject "RDSDatabase"- (\ x ->- RDSDatabase' <$>- (x .: "InstanceIdentifier") <*>- (x .: "DatabaseName"))--instance Hashable RDSDatabase where--instance NFData RDSDatabase where--instance ToJSON RDSDatabase where- toJSON RDSDatabase'{..}- = object- (catMaybes- [Just- ("InstanceIdentifier" .= _rdsdInstanceIdentifier),- Just ("DatabaseName" .= _rdsdDatabaseName)])---- | The database credentials to connect to a database on an RDS DB instance.------------ /See:/ 'rdsDatabaseCredentials' smart constructor.-data RDSDatabaseCredentials = RDSDatabaseCredentials'- { _rdsdcUsername :: !Text- , _rdsdcPassword :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RDSDatabaseCredentials' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rdsdcUsername' - Undocumented member.------ * 'rdsdcPassword' - Undocumented member.-rdsDatabaseCredentials- :: Text -- ^ 'rdsdcUsername'- -> Text -- ^ 'rdsdcPassword'- -> RDSDatabaseCredentials-rdsDatabaseCredentials pUsername_ pPassword_ =- RDSDatabaseCredentials'- {_rdsdcUsername = pUsername_, _rdsdcPassword = pPassword_}----- | Undocumented member.-rdsdcUsername :: Lens' RDSDatabaseCredentials Text-rdsdcUsername = lens _rdsdcUsername (\ s a -> s{_rdsdcUsername = a})---- | Undocumented member.-rdsdcPassword :: Lens' RDSDatabaseCredentials Text-rdsdcPassword = lens _rdsdcPassword (\ s a -> s{_rdsdcPassword = a})--instance Hashable RDSDatabaseCredentials where--instance NFData RDSDatabaseCredentials where--instance ToJSON RDSDatabaseCredentials where- toJSON RDSDatabaseCredentials'{..}- = object- (catMaybes- [Just ("Username" .= _rdsdcUsername),- Just ("Password" .= _rdsdcPassword)])---- | The datasource details that are specific to Amazon RDS.------------ /See:/ 'rdsMetadata' smart constructor.-data RDSMetadata = RDSMetadata'- { _rmSelectSqlQuery :: !(Maybe Text)- , _rmDataPipelineId :: !(Maybe Text)- , _rmDatabase :: !(Maybe RDSDatabase)- , _rmDatabaseUserName :: !(Maybe Text)- , _rmResourceRole :: !(Maybe Text)- , _rmServiceRole :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RDSMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rmSelectSqlQuery' - The SQL query that is supplied during 'CreateDataSourceFromRDS' . Returns only if @Verbose@ is true in @GetDataSourceInput@ .------ * 'rmDataPipelineId' - The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3. You can use the ID to find details about the instance in the Data Pipeline console.------ * 'rmDatabase' - The database details required to connect to an Amazon RDS.------ * 'rmDatabaseUserName' - Undocumented member.------ * 'rmResourceRole' - The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines.------ * 'rmServiceRole' - The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines.-rdsMetadata- :: RDSMetadata-rdsMetadata =- RDSMetadata'- { _rmSelectSqlQuery = Nothing- , _rmDataPipelineId = Nothing- , _rmDatabase = Nothing- , _rmDatabaseUserName = Nothing- , _rmResourceRole = Nothing- , _rmServiceRole = Nothing- }----- | The SQL query that is supplied during 'CreateDataSourceFromRDS' . Returns only if @Verbose@ is true in @GetDataSourceInput@ .-rmSelectSqlQuery :: Lens' RDSMetadata (Maybe Text)-rmSelectSqlQuery = lens _rmSelectSqlQuery (\ s a -> s{_rmSelectSqlQuery = a})---- | The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3. You can use the ID to find details about the instance in the Data Pipeline console.-rmDataPipelineId :: Lens' RDSMetadata (Maybe Text)-rmDataPipelineId = lens _rmDataPipelineId (\ s a -> s{_rmDataPipelineId = a})---- | The database details required to connect to an Amazon RDS.-rmDatabase :: Lens' RDSMetadata (Maybe RDSDatabase)-rmDatabase = lens _rmDatabase (\ s a -> s{_rmDatabase = a})---- | Undocumented member.-rmDatabaseUserName :: Lens' RDSMetadata (Maybe Text)-rmDatabaseUserName = lens _rmDatabaseUserName (\ s a -> s{_rmDatabaseUserName = a})---- | The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines.-rmResourceRole :: Lens' RDSMetadata (Maybe Text)-rmResourceRole = lens _rmResourceRole (\ s a -> s{_rmResourceRole = a})---- | The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html Role templates> for data pipelines.-rmServiceRole :: Lens' RDSMetadata (Maybe Text)-rmServiceRole = lens _rmServiceRole (\ s a -> s{_rmServiceRole = a})--instance FromJSON RDSMetadata where- parseJSON- = withObject "RDSMetadata"- (\ x ->- RDSMetadata' <$>- (x .:? "SelectSqlQuery") <*> (x .:? "DataPipelineId")- <*> (x .:? "Database")- <*> (x .:? "DatabaseUserName")- <*> (x .:? "ResourceRole")- <*> (x .:? "ServiceRole"))--instance Hashable RDSMetadata where--instance NFData RDSMetadata where---- | Describes the real-time endpoint information for an @MLModel@ .------------ /See:/ 'realtimeEndpointInfo' smart constructor.-data RealtimeEndpointInfo = RealtimeEndpointInfo'- { _reiCreatedAt :: !(Maybe POSIX)- , _reiEndpointURL :: !(Maybe Text)- , _reiEndpointStatus :: !(Maybe RealtimeEndpointStatus)- , _reiPeakRequestsPerSecond :: !(Maybe Int)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RealtimeEndpointInfo' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'reiCreatedAt' - The time that the request to create the real-time endpoint for the @MLModel@ was received. The time is expressed in epoch time.------ * 'reiEndpointURL' - The URI that specifies where to send real-time prediction requests for the @MLModel@ .------ * 'reiEndpointStatus' - The current status of the real-time endpoint for the @MLModel@ . This element can have one of the following values: * @NONE@ - Endpoint does not exist or was previously deleted. * @READY@ - Endpoint is ready to be used for real-time predictions. * @UPDATING@ - Updating/creating the endpoint.------ * 'reiPeakRequestsPerSecond' - The maximum processing rate for the real-time endpoint for @MLModel@ , measured in incoming requests per second.-realtimeEndpointInfo- :: RealtimeEndpointInfo-realtimeEndpointInfo =- RealtimeEndpointInfo'- { _reiCreatedAt = Nothing- , _reiEndpointURL = Nothing- , _reiEndpointStatus = Nothing- , _reiPeakRequestsPerSecond = Nothing- }----- | The time that the request to create the real-time endpoint for the @MLModel@ was received. The time is expressed in epoch time.-reiCreatedAt :: Lens' RealtimeEndpointInfo (Maybe UTCTime)-reiCreatedAt = lens _reiCreatedAt (\ s a -> s{_reiCreatedAt = a}) . mapping _Time---- | The URI that specifies where to send real-time prediction requests for the @MLModel@ .-reiEndpointURL :: Lens' RealtimeEndpointInfo (Maybe Text)-reiEndpointURL = lens _reiEndpointURL (\ s a -> s{_reiEndpointURL = a})---- | The current status of the real-time endpoint for the @MLModel@ . This element can have one of the following values: * @NONE@ - Endpoint does not exist or was previously deleted. * @READY@ - Endpoint is ready to be used for real-time predictions. * @UPDATING@ - Updating/creating the endpoint.-reiEndpointStatus :: Lens' RealtimeEndpointInfo (Maybe RealtimeEndpointStatus)-reiEndpointStatus = lens _reiEndpointStatus (\ s a -> s{_reiEndpointStatus = a})---- | The maximum processing rate for the real-time endpoint for @MLModel@ , measured in incoming requests per second.-reiPeakRequestsPerSecond :: Lens' RealtimeEndpointInfo (Maybe Int)-reiPeakRequestsPerSecond = lens _reiPeakRequestsPerSecond (\ s a -> s{_reiPeakRequestsPerSecond = a})--instance FromJSON RealtimeEndpointInfo where- parseJSON- = withObject "RealtimeEndpointInfo"- (\ x ->- RealtimeEndpointInfo' <$>- (x .:? "CreatedAt") <*> (x .:? "EndpointUrl") <*>- (x .:? "EndpointStatus")- <*> (x .:? "PeakRequestsPerSecond"))--instance Hashable RealtimeEndpointInfo where--instance NFData RealtimeEndpointInfo where---- | Describes the data specification of an Amazon Redshift @DataSource@ .------------ /See:/ 'redshiftDataSpec' smart constructor.-data RedshiftDataSpec = RedshiftDataSpec'- { _rDataSchemaURI :: !(Maybe Text)- , _rDataSchema :: !(Maybe Text)- , _rDataRearrangement :: !(Maybe Text)- , _rDatabaseInformation :: !RedshiftDatabase- , _rSelectSqlQuery :: !Text- , _rDatabaseCredentials :: !RedshiftDatabaseCredentials- , _rS3StagingLocation :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RedshiftDataSpec' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rDataSchemaURI' - Describes the schema location for an Amazon Redshift @DataSource@ .------ * 'rDataSchema' - A JSON string that represents the schema for an Amazon Redshift @DataSource@ . The @DataSchema@ defines the structure of the observation data in the data file(s) referenced in the @DataSource@ . A @DataSchema@ is not required if you specify a @DataSchemaUri@ . Define your @DataSchema@ as a series of key-value pairs. @attributes@ and @excludedVariableNames@ have an array of key-value pairs for their value. Use the following format to define your @DataSchema@ . { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] }------ * 'rDataRearrangement' - A JSON string that represents the splitting and rearrangement processing to be applied to a @DataSource@ . If the @DataRearrangement@ parameter is not provided, all of the input data is used to create the @Datasource@ . There are multiple parameters that control what data is used to create a datasource: * __@percentBegin@ __ Use @percentBegin@ to indicate the beginning of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@percentEnd@ __ Use @percentEnd@ to indicate the end of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@complement@ __ The @complement@ parameter instructs Amazon ML to use the data that is not included in the range of @percentBegin@ to @percentEnd@ to create a datasource. The @complement@ parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for @percentBegin@ and @percentEnd@ , along with the @complement@ parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: @{"splitting":{"percentBegin":0, "percentEnd":25}}@ Datasource for training: @{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}@ * __@strategy@ __ To change how Amazon ML splits the data for a datasource, use the @strategy@ parameter. The default value for the @strategy@ parameter is @sequential@ , meaning that Amazon ML takes all of the data records between the @percentBegin@ and @percentEnd@ parameters for the datasource, in the order that the records appear in the input data. The following two @DataRearrangement@ lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}@ To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the @strategy@ parameter to @random@ and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between @percentBegin@ and @percentEnd@ . Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two @DataRearrangement@ lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}@------ * 'rDatabaseInformation' - Describes the @DatabaseName@ and @ClusterIdentifier@ for an Amazon Redshift @DataSource@ .------ * 'rSelectSqlQuery' - Describes the SQL Query to execute on an Amazon Redshift database for an Amazon Redshift @DataSource@ .------ * 'rDatabaseCredentials' - Describes AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon Redshift database.------ * 'rS3StagingLocation' - Describes an Amazon S3 location to store the result set of the @SelectSqlQuery@ query.-redshiftDataSpec- :: RedshiftDatabase -- ^ 'rDatabaseInformation'- -> Text -- ^ 'rSelectSqlQuery'- -> RedshiftDatabaseCredentials -- ^ 'rDatabaseCredentials'- -> Text -- ^ 'rS3StagingLocation'- -> RedshiftDataSpec-redshiftDataSpec pDatabaseInformation_ pSelectSqlQuery_ pDatabaseCredentials_ pS3StagingLocation_ =- RedshiftDataSpec'- { _rDataSchemaURI = Nothing- , _rDataSchema = Nothing- , _rDataRearrangement = Nothing- , _rDatabaseInformation = pDatabaseInformation_- , _rSelectSqlQuery = pSelectSqlQuery_- , _rDatabaseCredentials = pDatabaseCredentials_- , _rS3StagingLocation = pS3StagingLocation_- }----- | Describes the schema location for an Amazon Redshift @DataSource@ .-rDataSchemaURI :: Lens' RedshiftDataSpec (Maybe Text)-rDataSchemaURI = lens _rDataSchemaURI (\ s a -> s{_rDataSchemaURI = a})---- | A JSON string that represents the schema for an Amazon Redshift @DataSource@ . The @DataSchema@ defines the structure of the observation data in the data file(s) referenced in the @DataSource@ . A @DataSchema@ is not required if you specify a @DataSchemaUri@ . Define your @DataSchema@ as a series of key-value pairs. @attributes@ and @excludedVariableNames@ have an array of key-value pairs for their value. Use the following format to define your @DataSchema@ . { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] }-rDataSchema :: Lens' RedshiftDataSpec (Maybe Text)-rDataSchema = lens _rDataSchema (\ s a -> s{_rDataSchema = a})---- | A JSON string that represents the splitting and rearrangement processing to be applied to a @DataSource@ . If the @DataRearrangement@ parameter is not provided, all of the input data is used to create the @Datasource@ . There are multiple parameters that control what data is used to create a datasource: * __@percentBegin@ __ Use @percentBegin@ to indicate the beginning of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@percentEnd@ __ Use @percentEnd@ to indicate the end of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@complement@ __ The @complement@ parameter instructs Amazon ML to use the data that is not included in the range of @percentBegin@ to @percentEnd@ to create a datasource. The @complement@ parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for @percentBegin@ and @percentEnd@ , along with the @complement@ parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: @{"splitting":{"percentBegin":0, "percentEnd":25}}@ Datasource for training: @{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}@ * __@strategy@ __ To change how Amazon ML splits the data for a datasource, use the @strategy@ parameter. The default value for the @strategy@ parameter is @sequential@ , meaning that Amazon ML takes all of the data records between the @percentBegin@ and @percentEnd@ parameters for the datasource, in the order that the records appear in the input data. The following two @DataRearrangement@ lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}@ To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the @strategy@ parameter to @random@ and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between @percentBegin@ and @percentEnd@ . Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two @DataRearrangement@ lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}@-rDataRearrangement :: Lens' RedshiftDataSpec (Maybe Text)-rDataRearrangement = lens _rDataRearrangement (\ s a -> s{_rDataRearrangement = a})---- | Describes the @DatabaseName@ and @ClusterIdentifier@ for an Amazon Redshift @DataSource@ .-rDatabaseInformation :: Lens' RedshiftDataSpec RedshiftDatabase-rDatabaseInformation = lens _rDatabaseInformation (\ s a -> s{_rDatabaseInformation = a})---- | Describes the SQL Query to execute on an Amazon Redshift database for an Amazon Redshift @DataSource@ .-rSelectSqlQuery :: Lens' RedshiftDataSpec Text-rSelectSqlQuery = lens _rSelectSqlQuery (\ s a -> s{_rSelectSqlQuery = a})---- | Describes AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon Redshift database.-rDatabaseCredentials :: Lens' RedshiftDataSpec RedshiftDatabaseCredentials-rDatabaseCredentials = lens _rDatabaseCredentials (\ s a -> s{_rDatabaseCredentials = a})---- | Describes an Amazon S3 location to store the result set of the @SelectSqlQuery@ query.-rS3StagingLocation :: Lens' RedshiftDataSpec Text-rS3StagingLocation = lens _rS3StagingLocation (\ s a -> s{_rS3StagingLocation = a})--instance Hashable RedshiftDataSpec where--instance NFData RedshiftDataSpec where--instance ToJSON RedshiftDataSpec where- toJSON RedshiftDataSpec'{..}- = object- (catMaybes- [("DataSchemaUri" .=) <$> _rDataSchemaURI,- ("DataSchema" .=) <$> _rDataSchema,- ("DataRearrangement" .=) <$> _rDataRearrangement,- Just- ("DatabaseInformation" .= _rDatabaseInformation),- Just ("SelectSqlQuery" .= _rSelectSqlQuery),- Just- ("DatabaseCredentials" .= _rDatabaseCredentials),- Just ("S3StagingLocation" .= _rS3StagingLocation)])---- | Describes the database details required to connect to an Amazon Redshift database.------------ /See:/ 'redshiftDatabase' smart constructor.-data RedshiftDatabase = RedshiftDatabase'- { _rdDatabaseName :: !Text- , _rdClusterIdentifier :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RedshiftDatabase' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rdDatabaseName' - Undocumented member.------ * 'rdClusterIdentifier' - Undocumented member.-redshiftDatabase- :: Text -- ^ 'rdDatabaseName'- -> Text -- ^ 'rdClusterIdentifier'- -> RedshiftDatabase-redshiftDatabase pDatabaseName_ pClusterIdentifier_ =- RedshiftDatabase'- { _rdDatabaseName = pDatabaseName_- , _rdClusterIdentifier = pClusterIdentifier_- }----- | Undocumented member.-rdDatabaseName :: Lens' RedshiftDatabase Text-rdDatabaseName = lens _rdDatabaseName (\ s a -> s{_rdDatabaseName = a})---- | Undocumented member.-rdClusterIdentifier :: Lens' RedshiftDatabase Text-rdClusterIdentifier = lens _rdClusterIdentifier (\ s a -> s{_rdClusterIdentifier = a})--instance FromJSON RedshiftDatabase where- parseJSON- = withObject "RedshiftDatabase"- (\ x ->- RedshiftDatabase' <$>- (x .: "DatabaseName") <*> (x .: "ClusterIdentifier"))--instance Hashable RedshiftDatabase where--instance NFData RedshiftDatabase where--instance ToJSON RedshiftDatabase where- toJSON RedshiftDatabase'{..}- = object- (catMaybes- [Just ("DatabaseName" .= _rdDatabaseName),- Just ("ClusterIdentifier" .= _rdClusterIdentifier)])---- | Describes the database credentials for connecting to a database on an Amazon Redshift cluster.------------ /See:/ 'redshiftDatabaseCredentials' smart constructor.-data RedshiftDatabaseCredentials = RedshiftDatabaseCredentials'- { _rdcUsername :: !Text- , _rdcPassword :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RedshiftDatabaseCredentials' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rdcUsername' - Undocumented member.------ * 'rdcPassword' - Undocumented member.-redshiftDatabaseCredentials- :: Text -- ^ 'rdcUsername'- -> Text -- ^ 'rdcPassword'- -> RedshiftDatabaseCredentials-redshiftDatabaseCredentials pUsername_ pPassword_ =- RedshiftDatabaseCredentials'- {_rdcUsername = pUsername_, _rdcPassword = pPassword_}----- | Undocumented member.-rdcUsername :: Lens' RedshiftDatabaseCredentials Text-rdcUsername = lens _rdcUsername (\ s a -> s{_rdcUsername = a})---- | Undocumented member.-rdcPassword :: Lens' RedshiftDatabaseCredentials Text-rdcPassword = lens _rdcPassword (\ s a -> s{_rdcPassword = a})--instance Hashable RedshiftDatabaseCredentials where--instance NFData RedshiftDatabaseCredentials where--instance ToJSON RedshiftDatabaseCredentials where- toJSON RedshiftDatabaseCredentials'{..}- = object- (catMaybes- [Just ("Username" .= _rdcUsername),- Just ("Password" .= _rdcPassword)])---- | Describes the @DataSource@ details specific to Amazon Redshift.------------ /See:/ 'redshiftMetadata' smart constructor.-data RedshiftMetadata = RedshiftMetadata'- { _redSelectSqlQuery :: !(Maybe Text)- , _redRedshiftDatabase :: !(Maybe RedshiftDatabase)- , _redDatabaseUserName :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'RedshiftMetadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'redSelectSqlQuery' - The SQL query that is specified during 'CreateDataSourceFromRedshift' . Returns only if @Verbose@ is true in GetDataSourceInput.------ * 'redRedshiftDatabase' - Undocumented member.------ * 'redDatabaseUserName' - Undocumented member.-redshiftMetadata- :: RedshiftMetadata-redshiftMetadata =- RedshiftMetadata'- { _redSelectSqlQuery = Nothing- , _redRedshiftDatabase = Nothing- , _redDatabaseUserName = Nothing- }----- | The SQL query that is specified during 'CreateDataSourceFromRedshift' . Returns only if @Verbose@ is true in GetDataSourceInput.-redSelectSqlQuery :: Lens' RedshiftMetadata (Maybe Text)-redSelectSqlQuery = lens _redSelectSqlQuery (\ s a -> s{_redSelectSqlQuery = a})---- | Undocumented member.-redRedshiftDatabase :: Lens' RedshiftMetadata (Maybe RedshiftDatabase)-redRedshiftDatabase = lens _redRedshiftDatabase (\ s a -> s{_redRedshiftDatabase = a})---- | Undocumented member.-redDatabaseUserName :: Lens' RedshiftMetadata (Maybe Text)-redDatabaseUserName = lens _redDatabaseUserName (\ s a -> s{_redDatabaseUserName = a})--instance FromJSON RedshiftMetadata where- parseJSON- = withObject "RedshiftMetadata"- (\ x ->- RedshiftMetadata' <$>- (x .:? "SelectSqlQuery") <*>- (x .:? "RedshiftDatabase")- <*> (x .:? "DatabaseUserName"))--instance Hashable RedshiftMetadata where--instance NFData RedshiftMetadata where---- | Describes the data specification of a @DataSource@ .------------ /See:/ 's3DataSpec' smart constructor.-data S3DataSpec = S3DataSpec'- { _sdsDataSchema :: !(Maybe Text)- , _sdsDataSchemaLocationS3 :: !(Maybe Text)- , _sdsDataRearrangement :: !(Maybe Text)- , _sdsDataLocationS3 :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'S3DataSpec' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sdsDataSchema' - A JSON string that represents the schema for an Amazon S3 @DataSource@ . The @DataSchema@ defines the structure of the observation data in the data file(s) referenced in the @DataSource@ . You must provide either the @DataSchema@ or the @DataSchemaLocationS3@ . Define your @DataSchema@ as a series of key-value pairs. @attributes@ and @excludedVariableNames@ have an array of key-value pairs for their value. Use the following format to define your @DataSchema@ . { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] }------ * 'sdsDataSchemaLocationS3' - Describes the schema location in Amazon S3. You must provide either the @DataSchema@ or the @DataSchemaLocationS3@ .------ * 'sdsDataRearrangement' - A JSON string that represents the splitting and rearrangement processing to be applied to a @DataSource@ . If the @DataRearrangement@ parameter is not provided, all of the input data is used to create the @Datasource@ . There are multiple parameters that control what data is used to create a datasource: * __@percentBegin@ __ Use @percentBegin@ to indicate the beginning of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@percentEnd@ __ Use @percentEnd@ to indicate the end of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@complement@ __ The @complement@ parameter instructs Amazon ML to use the data that is not included in the range of @percentBegin@ to @percentEnd@ to create a datasource. The @complement@ parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for @percentBegin@ and @percentEnd@ , along with the @complement@ parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: @{"splitting":{"percentBegin":0, "percentEnd":25}}@ Datasource for training: @{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}@ * __@strategy@ __ To change how Amazon ML splits the data for a datasource, use the @strategy@ parameter. The default value for the @strategy@ parameter is @sequential@ , meaning that Amazon ML takes all of the data records between the @percentBegin@ and @percentEnd@ parameters for the datasource, in the order that the records appear in the input data. The following two @DataRearrangement@ lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}@ To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the @strategy@ parameter to @random@ and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between @percentBegin@ and @percentEnd@ . Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two @DataRearrangement@ lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}@------ * 'sdsDataLocationS3' - The location of the data file(s) used by a @DataSource@ . The URI specifies a data file or an Amazon Simple Storage Service (Amazon S3) directory or bucket containing data files.-s3DataSpec- :: Text -- ^ 'sdsDataLocationS3'- -> S3DataSpec-s3DataSpec pDataLocationS3_ =- S3DataSpec'- { _sdsDataSchema = Nothing- , _sdsDataSchemaLocationS3 = Nothing- , _sdsDataRearrangement = Nothing- , _sdsDataLocationS3 = pDataLocationS3_- }----- | A JSON string that represents the schema for an Amazon S3 @DataSource@ . The @DataSchema@ defines the structure of the observation data in the data file(s) referenced in the @DataSource@ . You must provide either the @DataSchema@ or the @DataSchemaLocationS3@ . Define your @DataSchema@ as a series of key-value pairs. @attributes@ and @excludedVariableNames@ have an array of key-value pairs for their value. Use the following format to define your @DataSchema@ . { "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "attributes": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] }-sdsDataSchema :: Lens' S3DataSpec (Maybe Text)-sdsDataSchema = lens _sdsDataSchema (\ s a -> s{_sdsDataSchema = a})---- | Describes the schema location in Amazon S3. You must provide either the @DataSchema@ or the @DataSchemaLocationS3@ .-sdsDataSchemaLocationS3 :: Lens' S3DataSpec (Maybe Text)-sdsDataSchemaLocationS3 = lens _sdsDataSchemaLocationS3 (\ s a -> s{_sdsDataSchemaLocationS3 = a})---- | A JSON string that represents the splitting and rearrangement processing to be applied to a @DataSource@ . If the @DataRearrangement@ parameter is not provided, all of the input data is used to create the @Datasource@ . There are multiple parameters that control what data is used to create a datasource: * __@percentBegin@ __ Use @percentBegin@ to indicate the beginning of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@percentEnd@ __ Use @percentEnd@ to indicate the end of the range of the data used to create the Datasource. If you do not include @percentBegin@ and @percentEnd@ , Amazon ML includes all of the data when creating the datasource. * __@complement@ __ The @complement@ parameter instructs Amazon ML to use the data that is not included in the range of @percentBegin@ to @percentEnd@ to create a datasource. The @complement@ parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for @percentBegin@ and @percentEnd@ , along with the @complement@ parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: @{"splitting":{"percentBegin":0, "percentEnd":25}}@ Datasource for training: @{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}@ * __@strategy@ __ To change how Amazon ML splits the data for a datasource, use the @strategy@ parameter. The default value for the @strategy@ parameter is @sequential@ , meaning that Amazon ML takes all of the data records between the @percentBegin@ and @percentEnd@ parameters for the datasource, in the order that the records appear in the input data. The following two @DataRearrangement@ lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}@ To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the @strategy@ parameter to @random@ and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between @percentBegin@ and @percentEnd@ . Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two @DataRearrangement@ lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}@ Datasource for training: @{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}@-sdsDataRearrangement :: Lens' S3DataSpec (Maybe Text)-sdsDataRearrangement = lens _sdsDataRearrangement (\ s a -> s{_sdsDataRearrangement = a})---- | The location of the data file(s) used by a @DataSource@ . The URI specifies a data file or an Amazon Simple Storage Service (Amazon S3) directory or bucket containing data files.-sdsDataLocationS3 :: Lens' S3DataSpec Text-sdsDataLocationS3 = lens _sdsDataLocationS3 (\ s a -> s{_sdsDataLocationS3 = a})--instance Hashable S3DataSpec where--instance NFData S3DataSpec where--instance ToJSON S3DataSpec where- toJSON S3DataSpec'{..}- = object- (catMaybes- [("DataSchema" .=) <$> _sdsDataSchema,- ("DataSchemaLocationS3" .=) <$>- _sdsDataSchemaLocationS3,- ("DataRearrangement" .=) <$> _sdsDataRearrangement,- Just ("DataLocationS3" .= _sdsDataLocationS3)])---- | A custom key-value pair associated with an ML object, such as an ML model.------------ /See:/ 'tag' smart constructor.-data Tag = Tag'- { _tagValue :: !(Maybe Text)- , _tagKey :: !(Maybe Text)- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Tag' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tagValue' - An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.------ * 'tagKey' - A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.-tag- :: Tag-tag = Tag' {_tagValue = Nothing, _tagKey = Nothing}----- | An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.-tagValue :: Lens' Tag (Maybe Text)-tagValue = lens _tagValue (\ s a -> s{_tagValue = a})---- | A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.-tagKey :: Lens' Tag (Maybe Text)-tagKey = lens _tagKey (\ s a -> s{_tagKey = a})--instance FromJSON Tag where- parseJSON- = withObject "Tag"- (\ x -> Tag' <$> (x .:? "Value") <*> (x .:? "Key"))--instance Hashable Tag where--instance NFData Tag where--instance ToJSON Tag where- toJSON Tag'{..}- = object- (catMaybes- [("Value" .=) <$> _tagValue, ("Key" .=) <$> _tagKey])
− gen/Network/AWS/MachineLearning/Types/Sum.hs
@@ -1,447 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.Types.Sum--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.MachineLearning.Types.Sum where--import Network.AWS.Prelude---- | The function used to train an @MLModel@ . Training choices supported by Amazon ML include the following:--------- * @SGD@ - Stochastic Gradient Descent. * @RandomForest@ - Random forest of decision trees.----data Algorithm =- SGD- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText Algorithm where- parser = takeLowerText >>= \case- "sgd" -> pure SGD- e -> fromTextError $ "Failure parsing Algorithm from value: '" <> e- <> "'. Accepted values: sgd"--instance ToText Algorithm where- toText = \case- SGD -> "sgd"--instance Hashable Algorithm-instance NFData Algorithm-instance ToByteString Algorithm-instance ToQuery Algorithm-instance ToHeader Algorithm--instance FromJSON Algorithm where- parseJSON = parseJSONText "Algorithm"---- | A list of the variables to use in searching or filtering @BatchPrediction@ .--------- * @CreatedAt@ - Sets the search criteria to @BatchPrediction@ creation date. * @Status@ - Sets the search criteria to @BatchPrediction@ status. * @Name@ - Sets the search criteria to the contents of @BatchPrediction@ ____ @Name@ . * @IAMUser@ - Sets the search criteria to the user account that invoked the @BatchPrediction@ creation. * @MLModelId@ - Sets the search criteria to the @MLModel@ used in the @BatchPrediction@ . * @DataSourceId@ - Sets the search criteria to the @DataSource@ used in the @BatchPrediction@ . * @DataURI@ - Sets the search criteria to the data file(s) used in the @BatchPrediction@ . The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.----data BatchPredictionFilterVariable- = BatchCreatedAt- | BatchDataSourceId- | BatchDataURI- | BatchIAMUser- | BatchLastUpdatedAt- | BatchMLModelId- | BatchName- | BatchStatus- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText BatchPredictionFilterVariable where- parser = takeLowerText >>= \case- "createdat" -> pure BatchCreatedAt- "datasourceid" -> pure BatchDataSourceId- "datauri" -> pure BatchDataURI- "iamuser" -> pure BatchIAMUser- "lastupdatedat" -> pure BatchLastUpdatedAt- "mlmodelid" -> pure BatchMLModelId- "name" -> pure BatchName- "status" -> pure BatchStatus- e -> fromTextError $ "Failure parsing BatchPredictionFilterVariable from value: '" <> e- <> "'. Accepted values: createdat, datasourceid, datauri, iamuser, lastupdatedat, mlmodelid, name, status"--instance ToText BatchPredictionFilterVariable where- toText = \case- BatchCreatedAt -> "CreatedAt"- BatchDataSourceId -> "DataSourceId"- BatchDataURI -> "DataURI"- BatchIAMUser -> "IAMUser"- BatchLastUpdatedAt -> "LastUpdatedAt"- BatchMLModelId -> "MLModelId"- BatchName -> "Name"- BatchStatus -> "Status"--instance Hashable BatchPredictionFilterVariable-instance NFData BatchPredictionFilterVariable-instance ToByteString BatchPredictionFilterVariable-instance ToQuery BatchPredictionFilterVariable-instance ToHeader BatchPredictionFilterVariable--instance ToJSON BatchPredictionFilterVariable where- toJSON = toJSONText---- | A list of the variables to use in searching or filtering @DataSource@ .--------- * @CreatedAt@ - Sets the search criteria to @DataSource@ creation date. * @Status@ - Sets the search criteria to @DataSource@ status. * @Name@ - Sets the search criteria to the contents of @DataSource@ ____ @Name@ . * @DataUri@ - Sets the search criteria to the URI of data files used to create the @DataSource@ . The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory. * @IAMUser@ - Sets the search criteria to the user account that invoked the @DataSource@ creation.----data DataSourceFilterVariable- = DataCreatedAt- | DataDATALOCATIONS3- | DataIAMUser- | DataLastUpdatedAt- | DataName- | DataStatus- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText DataSourceFilterVariable where- parser = takeLowerText >>= \case- "createdat" -> pure DataCreatedAt- "datalocations3" -> pure DataDATALOCATIONS3- "iamuser" -> pure DataIAMUser- "lastupdatedat" -> pure DataLastUpdatedAt- "name" -> pure DataName- "status" -> pure DataStatus- e -> fromTextError $ "Failure parsing DataSourceFilterVariable from value: '" <> e- <> "'. Accepted values: createdat, datalocations3, iamuser, lastupdatedat, name, status"--instance ToText DataSourceFilterVariable where- toText = \case- DataCreatedAt -> "CreatedAt"- DataDATALOCATIONS3 -> "DataLocationS3"- DataIAMUser -> "IAMUser"- DataLastUpdatedAt -> "LastUpdatedAt"- DataName -> "Name"- DataStatus -> "Status"--instance Hashable DataSourceFilterVariable-instance NFData DataSourceFilterVariable-instance ToByteString DataSourceFilterVariable-instance ToQuery DataSourceFilterVariable-instance ToHeader DataSourceFilterVariable--instance ToJSON DataSourceFilterVariable where- toJSON = toJSONText---- | Contains the key values of @DetailsMap@ : @PredictiveModelType@ - Indicates the type of the @MLModel@ . @Algorithm@ - Indicates the algorithm that was used for the @MLModel@ .-data DetailsAttributes- = Algorithm- | PredictiveModelType- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText DetailsAttributes where- parser = takeLowerText >>= \case- "algorithm" -> pure Algorithm- "predictivemodeltype" -> pure PredictiveModelType- e -> fromTextError $ "Failure parsing DetailsAttributes from value: '" <> e- <> "'. Accepted values: algorithm, predictivemodeltype"--instance ToText DetailsAttributes where- toText = \case- Algorithm -> "Algorithm"- PredictiveModelType -> "PredictiveModelType"--instance Hashable DetailsAttributes-instance NFData DetailsAttributes-instance ToByteString DetailsAttributes-instance ToQuery DetailsAttributes-instance ToHeader DetailsAttributes--instance FromJSON DetailsAttributes where- parseJSON = parseJSONText "DetailsAttributes"---- | Object status with the following possible values:--------- * @PENDING@ * @INPROGRESS@ * @FAILED@ * @COMPLETED@ * @DELETED@----data EntityStatus- = ESCompleted- | ESDeleted- | ESFailed- | ESInprogress- | ESPending- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EntityStatus where- parser = takeLowerText >>= \case- "completed" -> pure ESCompleted- "deleted" -> pure ESDeleted- "failed" -> pure ESFailed- "inprogress" -> pure ESInprogress- "pending" -> pure ESPending- e -> fromTextError $ "Failure parsing EntityStatus from value: '" <> e- <> "'. Accepted values: completed, deleted, failed, inprogress, pending"--instance ToText EntityStatus where- toText = \case- ESCompleted -> "COMPLETED"- ESDeleted -> "DELETED"- ESFailed -> "FAILED"- ESInprogress -> "INPROGRESS"- ESPending -> "PENDING"--instance Hashable EntityStatus-instance NFData EntityStatus-instance ToByteString EntityStatus-instance ToQuery EntityStatus-instance ToHeader EntityStatus--instance FromJSON EntityStatus where- parseJSON = parseJSONText "EntityStatus"---- | A list of the variables to use in searching or filtering @Evaluation@ .--------- * @CreatedAt@ - Sets the search criteria to @Evaluation@ creation date. * @Status@ - Sets the search criteria to @Evaluation@ status. * @Name@ - Sets the search criteria to the contents of @Evaluation@ ____ @Name@ . * @IAMUser@ - Sets the search criteria to the user account that invoked an evaluation. * @MLModelId@ - Sets the search criteria to the @Predictor@ that was evaluated. * @DataSourceId@ - Sets the search criteria to the @DataSource@ used in evaluation. * @DataUri@ - Sets the search criteria to the data file(s) used in evaluation. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.----data EvaluationFilterVariable- = EvalCreatedAt- | EvalDataSourceId- | EvalDataURI- | EvalIAMUser- | EvalLastUpdatedAt- | EvalMLModelId- | EvalName- | EvalStatus- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText EvaluationFilterVariable where- parser = takeLowerText >>= \case- "createdat" -> pure EvalCreatedAt- "datasourceid" -> pure EvalDataSourceId- "datauri" -> pure EvalDataURI- "iamuser" -> pure EvalIAMUser- "lastupdatedat" -> pure EvalLastUpdatedAt- "mlmodelid" -> pure EvalMLModelId- "name" -> pure EvalName- "status" -> pure EvalStatus- e -> fromTextError $ "Failure parsing EvaluationFilterVariable from value: '" <> e- <> "'. Accepted values: createdat, datasourceid, datauri, iamuser, lastupdatedat, mlmodelid, name, status"--instance ToText EvaluationFilterVariable where- toText = \case- EvalCreatedAt -> "CreatedAt"- EvalDataSourceId -> "DataSourceId"- EvalDataURI -> "DataURI"- EvalIAMUser -> "IAMUser"- EvalLastUpdatedAt -> "LastUpdatedAt"- EvalMLModelId -> "MLModelId"- EvalName -> "Name"- EvalStatus -> "Status"--instance Hashable EvaluationFilterVariable-instance NFData EvaluationFilterVariable-instance ToByteString EvaluationFilterVariable-instance ToQuery EvaluationFilterVariable-instance ToHeader EvaluationFilterVariable--instance ToJSON EvaluationFilterVariable where- toJSON = toJSONText--data MLModelFilterVariable- = MLMFVAlgorithm- | MLMFVCreatedAt- | MLMFVIAMUser- | MLMFVLastUpdatedAt- | MLMFVMLModelType- | MLMFVName- | MLMFVRealtimeEndpointStatus- | MLMFVStatus- | MLMFVTrainingDataSourceId- | MLMFVTrainingDataURI- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MLModelFilterVariable where- parser = takeLowerText >>= \case- "algorithm" -> pure MLMFVAlgorithm- "createdat" -> pure MLMFVCreatedAt- "iamuser" -> pure MLMFVIAMUser- "lastupdatedat" -> pure MLMFVLastUpdatedAt- "mlmodeltype" -> pure MLMFVMLModelType- "name" -> pure MLMFVName- "realtimeendpointstatus" -> pure MLMFVRealtimeEndpointStatus- "status" -> pure MLMFVStatus- "trainingdatasourceid" -> pure MLMFVTrainingDataSourceId- "trainingdatauri" -> pure MLMFVTrainingDataURI- e -> fromTextError $ "Failure parsing MLModelFilterVariable from value: '" <> e- <> "'. Accepted values: algorithm, createdat, iamuser, lastupdatedat, mlmodeltype, name, realtimeendpointstatus, status, trainingdatasourceid, trainingdatauri"--instance ToText MLModelFilterVariable where- toText = \case- MLMFVAlgorithm -> "Algorithm"- MLMFVCreatedAt -> "CreatedAt"- MLMFVIAMUser -> "IAMUser"- MLMFVLastUpdatedAt -> "LastUpdatedAt"- MLMFVMLModelType -> "MLModelType"- MLMFVName -> "Name"- MLMFVRealtimeEndpointStatus -> "RealtimeEndpointStatus"- MLMFVStatus -> "Status"- MLMFVTrainingDataSourceId -> "TrainingDataSourceId"- MLMFVTrainingDataURI -> "TrainingDataURI"--instance Hashable MLModelFilterVariable-instance NFData MLModelFilterVariable-instance ToByteString MLModelFilterVariable-instance ToQuery MLModelFilterVariable-instance ToHeader MLModelFilterVariable--instance ToJSON MLModelFilterVariable where- toJSON = toJSONText--data MLModelType- = Binary- | Multiclass- | Regression- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText MLModelType where- parser = takeLowerText >>= \case- "binary" -> pure Binary- "multiclass" -> pure Multiclass- "regression" -> pure Regression- e -> fromTextError $ "Failure parsing MLModelType from value: '" <> e- <> "'. Accepted values: binary, multiclass, regression"--instance ToText MLModelType where- toText = \case- Binary -> "BINARY"- Multiclass -> "MULTICLASS"- Regression -> "REGRESSION"--instance Hashable MLModelType-instance NFData MLModelType-instance ToByteString MLModelType-instance ToQuery MLModelType-instance ToHeader MLModelType--instance ToJSON MLModelType where- toJSON = toJSONText--instance FromJSON MLModelType where- parseJSON = parseJSONText "MLModelType"--data RealtimeEndpointStatus- = Failed- | None- | Ready- | Updating- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText RealtimeEndpointStatus where- parser = takeLowerText >>= \case- "failed" -> pure Failed- "none" -> pure None- "ready" -> pure Ready- "updating" -> pure Updating- e -> fromTextError $ "Failure parsing RealtimeEndpointStatus from value: '" <> e- <> "'. Accepted values: failed, none, ready, updating"--instance ToText RealtimeEndpointStatus where- toText = \case- Failed -> "FAILED"- None -> "NONE"- Ready -> "READY"- Updating -> "UPDATING"--instance Hashable RealtimeEndpointStatus-instance NFData RealtimeEndpointStatus-instance ToByteString RealtimeEndpointStatus-instance ToQuery RealtimeEndpointStatus-instance ToHeader RealtimeEndpointStatus--instance FromJSON RealtimeEndpointStatus where- parseJSON = parseJSONText "RealtimeEndpointStatus"---- | The sort order specified in a listing condition. Possible values include the following:--------- * @asc@ - Present the information in ascending order (from A-Z). * @dsc@ - Present the information in descending order (from Z-A).----data SortOrder- = Asc- | Dsc- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText SortOrder where- parser = takeLowerText >>= \case- "asc" -> pure Asc- "dsc" -> pure Dsc- e -> fromTextError $ "Failure parsing SortOrder from value: '" <> e- <> "'. Accepted values: asc, dsc"--instance ToText SortOrder where- toText = \case- Asc -> "asc"- Dsc -> "dsc"--instance Hashable SortOrder-instance NFData SortOrder-instance ToByteString SortOrder-instance ToQuery SortOrder-instance ToHeader SortOrder--instance ToJSON SortOrder where- toJSON = toJSONText--data TaggableResourceType- = BatchPrediction- | DataSource- | Evaluation- | MLModel- deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText TaggableResourceType where- parser = takeLowerText >>= \case- "batchprediction" -> pure BatchPrediction- "datasource" -> pure DataSource- "evaluation" -> pure Evaluation- "mlmodel" -> pure MLModel- e -> fromTextError $ "Failure parsing TaggableResourceType from value: '" <> e- <> "'. Accepted values: batchprediction, datasource, evaluation, mlmodel"--instance ToText TaggableResourceType where- toText = \case- BatchPrediction -> "BatchPrediction"- DataSource -> "DataSource"- Evaluation -> "Evaluation"- MLModel -> "MLModel"--instance Hashable TaggableResourceType-instance NFData TaggableResourceType-instance ToByteString TaggableResourceType-instance ToQuery TaggableResourceType-instance ToHeader TaggableResourceType--instance ToJSON TaggableResourceType where- toJSON = toJSONText--instance FromJSON TaggableResourceType where- parseJSON = parseJSONText "TaggableResourceType"
− gen/Network/AWS/MachineLearning/UpdateBatchPrediction.hs
@@ -1,157 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.UpdateBatchPrediction--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the @BatchPredictionName@ of a @BatchPrediction@ .--------- You can use the @GetBatchPrediction@ operation to view the contents of the updated data element.----module Network.AWS.MachineLearning.UpdateBatchPrediction- (- -- * Creating a Request- updateBatchPrediction- , UpdateBatchPrediction- -- * Request Lenses- , ubpBatchPredictionId- , ubpBatchPredictionName-- -- * Destructuring the Response- , updateBatchPredictionResponse- , UpdateBatchPredictionResponse- -- * Response Lenses- , ubprsBatchPredictionId- , ubprsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateBatchPrediction' smart constructor.-data UpdateBatchPrediction = UpdateBatchPrediction'- { _ubpBatchPredictionId :: !Text- , _ubpBatchPredictionName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateBatchPrediction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ubpBatchPredictionId' - The ID assigned to the @BatchPrediction@ during creation.------ * 'ubpBatchPredictionName' - A new user-supplied name or description of the @BatchPrediction@ .-updateBatchPrediction- :: Text -- ^ 'ubpBatchPredictionId'- -> Text -- ^ 'ubpBatchPredictionName'- -> UpdateBatchPrediction-updateBatchPrediction pBatchPredictionId_ pBatchPredictionName_ =- UpdateBatchPrediction'- { _ubpBatchPredictionId = pBatchPredictionId_- , _ubpBatchPredictionName = pBatchPredictionName_- }----- | The ID assigned to the @BatchPrediction@ during creation.-ubpBatchPredictionId :: Lens' UpdateBatchPrediction Text-ubpBatchPredictionId = lens _ubpBatchPredictionId (\ s a -> s{_ubpBatchPredictionId = a})---- | A new user-supplied name or description of the @BatchPrediction@ .-ubpBatchPredictionName :: Lens' UpdateBatchPrediction Text-ubpBatchPredictionName = lens _ubpBatchPredictionName (\ s a -> s{_ubpBatchPredictionName = a})--instance AWSRequest UpdateBatchPrediction where- type Rs UpdateBatchPrediction =- UpdateBatchPredictionResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- UpdateBatchPredictionResponse' <$>- (x .?> "BatchPredictionId") <*> (pure (fromEnum s)))--instance Hashable UpdateBatchPrediction where--instance NFData UpdateBatchPrediction where--instance ToHeaders UpdateBatchPrediction where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.UpdateBatchPrediction" ::- ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateBatchPrediction where- toJSON UpdateBatchPrediction'{..}- = object- (catMaybes- [Just ("BatchPredictionId" .= _ubpBatchPredictionId),- Just- ("BatchPredictionName" .= _ubpBatchPredictionName)])--instance ToPath UpdateBatchPrediction where- toPath = const "/"--instance ToQuery UpdateBatchPrediction where- toQuery = const mempty---- | Represents the output of an @UpdateBatchPrediction@ operation.--------- You can see the updated content by using the @GetBatchPrediction@ operation.--------- /See:/ 'updateBatchPredictionResponse' smart constructor.-data UpdateBatchPredictionResponse = UpdateBatchPredictionResponse'- { _ubprsBatchPredictionId :: !(Maybe Text)- , _ubprsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateBatchPredictionResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ubprsBatchPredictionId' - The ID assigned to the @BatchPrediction@ during creation. This value should be identical to the value of the @BatchPredictionId@ in the request.------ * 'ubprsResponseStatus' - -- | The response status code.-updateBatchPredictionResponse- :: Int -- ^ 'ubprsResponseStatus'- -> UpdateBatchPredictionResponse-updateBatchPredictionResponse pResponseStatus_ =- UpdateBatchPredictionResponse'- {_ubprsBatchPredictionId = Nothing, _ubprsResponseStatus = pResponseStatus_}----- | The ID assigned to the @BatchPrediction@ during creation. This value should be identical to the value of the @BatchPredictionId@ in the request.-ubprsBatchPredictionId :: Lens' UpdateBatchPredictionResponse (Maybe Text)-ubprsBatchPredictionId = lens _ubprsBatchPredictionId (\ s a -> s{_ubprsBatchPredictionId = a})---- | -- | The response status code.-ubprsResponseStatus :: Lens' UpdateBatchPredictionResponse Int-ubprsResponseStatus = lens _ubprsResponseStatus (\ s a -> s{_ubprsResponseStatus = a})--instance NFData UpdateBatchPredictionResponse where
− gen/Network/AWS/MachineLearning/UpdateDataSource.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.UpdateDataSource--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the @DataSourceName@ of a @DataSource@ .--------- You can use the @GetDataSource@ operation to view the contents of the updated data element.----module Network.AWS.MachineLearning.UpdateDataSource- (- -- * Creating a Request- updateDataSource- , UpdateDataSource- -- * Request Lenses- , udsDataSourceId- , udsDataSourceName-- -- * Destructuring the Response- , updateDataSourceResponse- , UpdateDataSourceResponse- -- * Response Lenses- , udsrsDataSourceId- , udsrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateDataSource' smart constructor.-data UpdateDataSource = UpdateDataSource'- { _udsDataSourceId :: !Text- , _udsDataSourceName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateDataSource' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'udsDataSourceId' - The ID assigned to the @DataSource@ during creation.------ * 'udsDataSourceName' - A new user-supplied name or description of the @DataSource@ that will replace the current description.-updateDataSource- :: Text -- ^ 'udsDataSourceId'- -> Text -- ^ 'udsDataSourceName'- -> UpdateDataSource-updateDataSource pDataSourceId_ pDataSourceName_ =- UpdateDataSource'- {_udsDataSourceId = pDataSourceId_, _udsDataSourceName = pDataSourceName_}----- | The ID assigned to the @DataSource@ during creation.-udsDataSourceId :: Lens' UpdateDataSource Text-udsDataSourceId = lens _udsDataSourceId (\ s a -> s{_udsDataSourceId = a})---- | A new user-supplied name or description of the @DataSource@ that will replace the current description.-udsDataSourceName :: Lens' UpdateDataSource Text-udsDataSourceName = lens _udsDataSourceName (\ s a -> s{_udsDataSourceName = a})--instance AWSRequest UpdateDataSource where- type Rs UpdateDataSource = UpdateDataSourceResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- UpdateDataSourceResponse' <$>- (x .?> "DataSourceId") <*> (pure (fromEnum s)))--instance Hashable UpdateDataSource where--instance NFData UpdateDataSource where--instance ToHeaders UpdateDataSource where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.UpdateDataSource" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateDataSource where- toJSON UpdateDataSource'{..}- = object- (catMaybes- [Just ("DataSourceId" .= _udsDataSourceId),- Just ("DataSourceName" .= _udsDataSourceName)])--instance ToPath UpdateDataSource where- toPath = const "/"--instance ToQuery UpdateDataSource where- toQuery = const mempty---- | Represents the output of an @UpdateDataSource@ operation.--------- You can see the updated content by using the @GetBatchPrediction@ operation.--------- /See:/ 'updateDataSourceResponse' smart constructor.-data UpdateDataSourceResponse = UpdateDataSourceResponse'- { _udsrsDataSourceId :: !(Maybe Text)- , _udsrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateDataSourceResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'udsrsDataSourceId' - The ID assigned to the @DataSource@ during creation. This value should be identical to the value of the @DataSourceID@ in the request.------ * 'udsrsResponseStatus' - -- | The response status code.-updateDataSourceResponse- :: Int -- ^ 'udsrsResponseStatus'- -> UpdateDataSourceResponse-updateDataSourceResponse pResponseStatus_ =- UpdateDataSourceResponse'- {_udsrsDataSourceId = Nothing, _udsrsResponseStatus = pResponseStatus_}----- | The ID assigned to the @DataSource@ during creation. This value should be identical to the value of the @DataSourceID@ in the request.-udsrsDataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text)-udsrsDataSourceId = lens _udsrsDataSourceId (\ s a -> s{_udsrsDataSourceId = a})---- | -- | The response status code.-udsrsResponseStatus :: Lens' UpdateDataSourceResponse Int-udsrsResponseStatus = lens _udsrsResponseStatus (\ s a -> s{_udsrsResponseStatus = a})--instance NFData UpdateDataSourceResponse where
− gen/Network/AWS/MachineLearning/UpdateEvaluation.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.UpdateEvaluation--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the @EvaluationName@ of an @Evaluation@ .--------- You can use the @GetEvaluation@ operation to view the contents of the updated data element.----module Network.AWS.MachineLearning.UpdateEvaluation- (- -- * Creating a Request- updateEvaluation- , UpdateEvaluation- -- * Request Lenses- , ueEvaluationId- , ueEvaluationName-- -- * Destructuring the Response- , updateEvaluationResponse- , UpdateEvaluationResponse- -- * Response Lenses- , uersEvaluationId- , uersResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateEvaluation' smart constructor.-data UpdateEvaluation = UpdateEvaluation'- { _ueEvaluationId :: !Text- , _ueEvaluationName :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateEvaluation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ueEvaluationId' - The ID assigned to the @Evaluation@ during creation.------ * 'ueEvaluationName' - A new user-supplied name or description of the @Evaluation@ that will replace the current content.-updateEvaluation- :: Text -- ^ 'ueEvaluationId'- -> Text -- ^ 'ueEvaluationName'- -> UpdateEvaluation-updateEvaluation pEvaluationId_ pEvaluationName_ =- UpdateEvaluation'- {_ueEvaluationId = pEvaluationId_, _ueEvaluationName = pEvaluationName_}----- | The ID assigned to the @Evaluation@ during creation.-ueEvaluationId :: Lens' UpdateEvaluation Text-ueEvaluationId = lens _ueEvaluationId (\ s a -> s{_ueEvaluationId = a})---- | A new user-supplied name or description of the @Evaluation@ that will replace the current content.-ueEvaluationName :: Lens' UpdateEvaluation Text-ueEvaluationName = lens _ueEvaluationName (\ s a -> s{_ueEvaluationName = a})--instance AWSRequest UpdateEvaluation where- type Rs UpdateEvaluation = UpdateEvaluationResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- UpdateEvaluationResponse' <$>- (x .?> "EvaluationId") <*> (pure (fromEnum s)))--instance Hashable UpdateEvaluation where--instance NFData UpdateEvaluation where--instance ToHeaders UpdateEvaluation where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.UpdateEvaluation" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateEvaluation where- toJSON UpdateEvaluation'{..}- = object- (catMaybes- [Just ("EvaluationId" .= _ueEvaluationId),- Just ("EvaluationName" .= _ueEvaluationName)])--instance ToPath UpdateEvaluation where- toPath = const "/"--instance ToQuery UpdateEvaluation where- toQuery = const mempty---- | Represents the output of an @UpdateEvaluation@ operation.--------- You can see the updated content by using the @GetEvaluation@ operation.--------- /See:/ 'updateEvaluationResponse' smart constructor.-data UpdateEvaluationResponse = UpdateEvaluationResponse'- { _uersEvaluationId :: !(Maybe Text)- , _uersResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateEvaluationResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uersEvaluationId' - The ID assigned to the @Evaluation@ during creation. This value should be identical to the value of the @Evaluation@ in the request.------ * 'uersResponseStatus' - -- | The response status code.-updateEvaluationResponse- :: Int -- ^ 'uersResponseStatus'- -> UpdateEvaluationResponse-updateEvaluationResponse pResponseStatus_ =- UpdateEvaluationResponse'- {_uersEvaluationId = Nothing, _uersResponseStatus = pResponseStatus_}----- | The ID assigned to the @Evaluation@ during creation. This value should be identical to the value of the @Evaluation@ in the request.-uersEvaluationId :: Lens' UpdateEvaluationResponse (Maybe Text)-uersEvaluationId = lens _uersEvaluationId (\ s a -> s{_uersEvaluationId = a})---- | -- | The response status code.-uersResponseStatus :: Lens' UpdateEvaluationResponse Int-uersResponseStatus = lens _uersResponseStatus (\ s a -> s{_uersResponseStatus = a})--instance NFData UpdateEvaluationResponse where
− gen/Network/AWS/MachineLearning/UpdateMLModel.hs
@@ -1,163 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.UpdateMLModel--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the @MLModelName@ and the @ScoreThreshold@ of an @MLModel@ .--------- You can use the @GetMLModel@ operation to view the contents of the updated data element.----module Network.AWS.MachineLearning.UpdateMLModel- (- -- * Creating a Request- updateMLModel- , UpdateMLModel- -- * Request Lenses- , umlmMLModelName- , umlmScoreThreshold- , umlmMLModelId-- -- * Destructuring the Response- , updateMLModelResponse- , UpdateMLModelResponse- -- * Response Lenses- , umlmrsMLModelId- , umlmrsResponseStatus- ) where--import Network.AWS.Lens-import Network.AWS.MachineLearning.Types-import Network.AWS.MachineLearning.Types.Product-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response---- | /See:/ 'updateMLModel' smart constructor.-data UpdateMLModel = UpdateMLModel'- { _umlmMLModelName :: !(Maybe Text)- , _umlmScoreThreshold :: !(Maybe Double)- , _umlmMLModelId :: !Text- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateMLModel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'umlmMLModelName' - A user-supplied name or description of the @MLModel@ .------ * 'umlmScoreThreshold' - The @ScoreThreshold@ used in binary classification @MLModel@ that marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the @ScoreThreshold@ receive a positive result from the @MLModel@ , such as @true@ . Output values less than the @ScoreThreshold@ receive a negative response from the @MLModel@ , such as @false@ .------ * 'umlmMLModelId' - The ID assigned to the @MLModel@ during creation.-updateMLModel- :: Text -- ^ 'umlmMLModelId'- -> UpdateMLModel-updateMLModel pMLModelId_ =- UpdateMLModel'- { _umlmMLModelName = Nothing- , _umlmScoreThreshold = Nothing- , _umlmMLModelId = pMLModelId_- }----- | A user-supplied name or description of the @MLModel@ .-umlmMLModelName :: Lens' UpdateMLModel (Maybe Text)-umlmMLModelName = lens _umlmMLModelName (\ s a -> s{_umlmMLModelName = a})---- | The @ScoreThreshold@ used in binary classification @MLModel@ that marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the @ScoreThreshold@ receive a positive result from the @MLModel@ , such as @true@ . Output values less than the @ScoreThreshold@ receive a negative response from the @MLModel@ , such as @false@ .-umlmScoreThreshold :: Lens' UpdateMLModel (Maybe Double)-umlmScoreThreshold = lens _umlmScoreThreshold (\ s a -> s{_umlmScoreThreshold = a})---- | The ID assigned to the @MLModel@ during creation.-umlmMLModelId :: Lens' UpdateMLModel Text-umlmMLModelId = lens _umlmMLModelId (\ s a -> s{_umlmMLModelId = a})--instance AWSRequest UpdateMLModel where- type Rs UpdateMLModel = UpdateMLModelResponse- request = postJSON machineLearning- response- = receiveJSON- (\ s h x ->- UpdateMLModelResponse' <$>- (x .?> "MLModelId") <*> (pure (fromEnum s)))--instance Hashable UpdateMLModel where--instance NFData UpdateMLModel where--instance ToHeaders UpdateMLModel where- toHeaders- = const- (mconcat- ["X-Amz-Target" =#- ("AmazonML_20141212.UpdateMLModel" :: ByteString),- "Content-Type" =#- ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON UpdateMLModel where- toJSON UpdateMLModel'{..}- = object- (catMaybes- [("MLModelName" .=) <$> _umlmMLModelName,- ("ScoreThreshold" .=) <$> _umlmScoreThreshold,- Just ("MLModelId" .= _umlmMLModelId)])--instance ToPath UpdateMLModel where- toPath = const "/"--instance ToQuery UpdateMLModel where- toQuery = const mempty---- | Represents the output of an @UpdateMLModel@ operation.--------- You can see the updated content by using the @GetMLModel@ operation.--------- /See:/ 'updateMLModelResponse' smart constructor.-data UpdateMLModelResponse = UpdateMLModelResponse'- { _umlmrsMLModelId :: !(Maybe Text)- , _umlmrsResponseStatus :: !Int- } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateMLModelResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'umlmrsMLModelId' - The ID assigned to the @MLModel@ during creation. This value should be identical to the value of the @MLModelID@ in the request.------ * 'umlmrsResponseStatus' - -- | The response status code.-updateMLModelResponse- :: Int -- ^ 'umlmrsResponseStatus'- -> UpdateMLModelResponse-updateMLModelResponse pResponseStatus_ =- UpdateMLModelResponse'- {_umlmrsMLModelId = Nothing, _umlmrsResponseStatus = pResponseStatus_}----- | The ID assigned to the @MLModel@ during creation. This value should be identical to the value of the @MLModelID@ in the request.-umlmrsMLModelId :: Lens' UpdateMLModelResponse (Maybe Text)-umlmrsMLModelId = lens _umlmrsMLModelId (\ s a -> s{_umlmrsMLModelId = a})---- | -- | The response status code.-umlmrsResponseStatus :: Lens' UpdateMLModelResponse Int-umlmrsResponseStatus = lens _umlmrsResponseStatus (\ s a -> s{_umlmrsResponseStatus = a})--instance NFData UpdateMLModelResponse where
− gen/Network/AWS/MachineLearning/Waiters.hs
@@ -1,105 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Network.AWS.MachineLearning.Waiters--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.MachineLearning.Waiters where--import Network.AWS.Lens-import Network.AWS.MachineLearning.DescribeBatchPredictions-import Network.AWS.MachineLearning.DescribeDataSources-import Network.AWS.MachineLearning.DescribeEvaluations-import Network.AWS.MachineLearning.DescribeMLModels-import Network.AWS.MachineLearning.Types-import Network.AWS.Prelude-import Network.AWS.Waiter---- | Polls 'Network.AWS.MachineLearning.DescribeMLModels' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.-mLModelAvailable :: Wait DescribeMLModels-mLModelAvailable =- Wait- { _waitName = "MLModelAvailable"- , _waitAttempts = 60- , _waitDelay = 30- , _waitAcceptors =- [ matchAll- "COMPLETED"- AcceptSuccess- (folding (concatOf dmlmsrsResults) . mlmStatus . _Just . to toTextCI)- , matchAny- "FAILED"- AcceptFailure- (folding (concatOf dmlmsrsResults) . mlmStatus . _Just . to toTextCI)- ]- }----- | Polls 'Network.AWS.MachineLearning.DescribeBatchPredictions' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.-batchPredictionAvailable :: Wait DescribeBatchPredictions-batchPredictionAvailable =- Wait- { _waitName = "BatchPredictionAvailable"- , _waitAttempts = 60- , _waitDelay = 30- , _waitAcceptors =- [ matchAll- "COMPLETED"- AcceptSuccess- (folding (concatOf dbpsrsResults) . bpStatus . _Just . to toTextCI)- , matchAny- "FAILED"- AcceptFailure- (folding (concatOf dbpsrsResults) . bpStatus . _Just . to toTextCI)- ]- }----- | Polls 'Network.AWS.MachineLearning.DescribeDataSources' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.-dataSourceAvailable :: Wait DescribeDataSources-dataSourceAvailable =- Wait- { _waitName = "DataSourceAvailable"- , _waitAttempts = 60- , _waitDelay = 30- , _waitAcceptors =- [ matchAll- "COMPLETED"- AcceptSuccess- (folding (concatOf ddssrsResults) . dsStatus . _Just . to toTextCI)- , matchAny- "FAILED"- AcceptFailure- (folding (concatOf ddssrsResults) . dsStatus . _Just . to toTextCI)- ]- }----- | Polls 'Network.AWS.MachineLearning.DescribeEvaluations' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.-evaluationAvailable :: Wait DescribeEvaluations-evaluationAvailable =- Wait- { _waitName = "EvaluationAvailable"- , _waitAttempts = 60- , _waitDelay = 30- , _waitAcceptors =- [ matchAll- "COMPLETED"- AcceptSuccess- (folding (concatOf desrsResults) . eStatus . _Just . to toTextCI)- , matchAny- "FAILED"- AcceptFailure- (folding (concatOf desrsResults) . eStatus . _Just . to toTextCI)- ]- }-
test/Main.hs view
@@ -2,20 +2,22 @@ -- | -- Module : Main--- Copyright : (c) 2013-2018 Brendan Hay+-- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.MachineLearning+import Test.Amazonka.MachineLearning.Internal import Test.Tasty-import Test.AWS.MachineLearning-import Test.AWS.MachineLearning.Internal main :: IO ()-main = defaultMain $ testGroup "MachineLearning"- [ testGroup "tests" tests- , testGroup "fixtures" fixtures- ]+main =+ defaultMain $+ testGroup+ "MachineLearning"+ [ testGroup "tests" tests,+ testGroup "fixtures" fixtures+ ]
− test/Test/AWS/Gen/MachineLearning.hs
@@ -1,543 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module : Test.AWS.Gen.MachineLearning--- Copyright : (c) 2013-2018 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.MachineLearning where--import Data.Proxy-import Network.AWS.MachineLearning-import Test.AWS.Fixture-import Test.AWS.MachineLearning.Internal-import Test.AWS.Prelude-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =--- [ testGroup "request"--- [ requestUpdateDataSource $--- updateDataSource------ , requestDeleteDataSource $--- deleteDataSource------ , requestDescribeTags $--- describeTags------ , requestCreateDataSourceFromRedshift $--- createDataSourceFromRedshift------ , requestCreateDataSourceFromS3 $--- createDataSourceFromS3------ , requestCreateMLModel $--- createMLModel------ , requestDeleteTags $--- deleteTags------ , requestDeleteBatchPrediction $--- deleteBatchPrediction------ , requestUpdateBatchPrediction $--- updateBatchPrediction------ , requestGetMLModel $--- getMLModel------ , requestGetDataSource $--- getDataSource------ , requestUpdateEvaluation $--- updateEvaluation------ , requestDeleteEvaluation $--- deleteEvaluation------ , requestDeleteMLModel $--- deleteMLModel------ , requestUpdateMLModel $--- updateMLModel------ , requestGetBatchPrediction $--- getBatchPrediction------ , requestDescribeBatchPredictions $--- describeBatchPredictions------ , requestCreateDataSourceFromRDS $--- createDataSourceFromRDS------ , requestCreateEvaluation $--- createEvaluation------ , requestPredict $--- predict------ , requestDeleteRealtimeEndpoint $--- deleteRealtimeEndpoint------ , requestCreateBatchPrediction $--- createBatchPrediction------ , requestGetEvaluation $--- getEvaluation------ , requestDescribeEvaluations $--- describeEvaluations------ , requestCreateRealtimeEndpoint $--- createRealtimeEndpoint------ , requestAddTags $--- addTags------ , requestDescribeMLModels $--- describeMLModels------ , requestDescribeDataSources $--- describeDataSources------ ]---- , testGroup "response"--- [ responseUpdateDataSource $--- updateDataSourceResponse------ , responseDeleteDataSource $--- deleteDataSourceResponse------ , responseDescribeTags $--- describeTagsResponse------ , responseCreateDataSourceFromRedshift $--- createDataSourceFromRedshiftResponse------ , responseCreateDataSourceFromS3 $--- createDataSourceFromS3Response------ , responseCreateMLModel $--- createMLModelResponse------ , responseDeleteTags $--- deleteTagsResponse------ , responseDeleteBatchPrediction $--- deleteBatchPredictionResponse------ , responseUpdateBatchPrediction $--- updateBatchPredictionResponse------ , responseGetMLModel $--- getMLModelResponse------ , responseGetDataSource $--- getDataSourceResponse------ , responseUpdateEvaluation $--- updateEvaluationResponse------ , responseDeleteEvaluation $--- deleteEvaluationResponse------ , responseDeleteMLModel $--- deleteMLModelResponse------ , responseUpdateMLModel $--- updateMLModelResponse------ , responseGetBatchPrediction $--- getBatchPredictionResponse------ , responseDescribeBatchPredictions $--- describeBatchPredictionsResponse------ , responseCreateDataSourceFromRDS $--- createDataSourceFromRDSResponse------ , responseCreateEvaluation $--- createEvaluationResponse------ , responsePredict $--- predictResponse------ , responseDeleteRealtimeEndpoint $--- deleteRealtimeEndpointResponse------ , responseCreateBatchPrediction $--- createBatchPredictionResponse------ , responseGetEvaluation $--- getEvaluationResponse------ , responseDescribeEvaluations $--- describeEvaluationsResponse------ , responseCreateRealtimeEndpoint $--- createRealtimeEndpointResponse------ , responseAddTags $--- addTagsResponse------ , responseDescribeMLModels $--- describeMLModelsResponse------ , responseDescribeDataSources $--- describeDataSourcesResponse------ ]--- ]---- Requests--requestUpdateDataSource :: UpdateDataSource -> TestTree-requestUpdateDataSource = req- "UpdateDataSource"- "fixture/UpdateDataSource.yaml"--requestDeleteDataSource :: DeleteDataSource -> TestTree-requestDeleteDataSource = req- "DeleteDataSource"- "fixture/DeleteDataSource.yaml"--requestDescribeTags :: DescribeTags -> TestTree-requestDescribeTags = req- "DescribeTags"- "fixture/DescribeTags.yaml"--requestCreateDataSourceFromRedshift :: CreateDataSourceFromRedshift -> TestTree-requestCreateDataSourceFromRedshift = req- "CreateDataSourceFromRedshift"- "fixture/CreateDataSourceFromRedshift.yaml"--requestCreateDataSourceFromS3 :: CreateDataSourceFromS3 -> TestTree-requestCreateDataSourceFromS3 = req- "CreateDataSourceFromS3"- "fixture/CreateDataSourceFromS3.yaml"--requestCreateMLModel :: CreateMLModel -> TestTree-requestCreateMLModel = req- "CreateMLModel"- "fixture/CreateMLModel.yaml"--requestDeleteTags :: DeleteTags -> TestTree-requestDeleteTags = req- "DeleteTags"- "fixture/DeleteTags.yaml"--requestDeleteBatchPrediction :: DeleteBatchPrediction -> TestTree-requestDeleteBatchPrediction = req- "DeleteBatchPrediction"- "fixture/DeleteBatchPrediction.yaml"--requestUpdateBatchPrediction :: UpdateBatchPrediction -> TestTree-requestUpdateBatchPrediction = req- "UpdateBatchPrediction"- "fixture/UpdateBatchPrediction.yaml"--requestGetMLModel :: GetMLModel -> TestTree-requestGetMLModel = req- "GetMLModel"- "fixture/GetMLModel.yaml"--requestGetDataSource :: GetDataSource -> TestTree-requestGetDataSource = req- "GetDataSource"- "fixture/GetDataSource.yaml"--requestUpdateEvaluation :: UpdateEvaluation -> TestTree-requestUpdateEvaluation = req- "UpdateEvaluation"- "fixture/UpdateEvaluation.yaml"--requestDeleteEvaluation :: DeleteEvaluation -> TestTree-requestDeleteEvaluation = req- "DeleteEvaluation"- "fixture/DeleteEvaluation.yaml"--requestDeleteMLModel :: DeleteMLModel -> TestTree-requestDeleteMLModel = req- "DeleteMLModel"- "fixture/DeleteMLModel.yaml"--requestUpdateMLModel :: UpdateMLModel -> TestTree-requestUpdateMLModel = req- "UpdateMLModel"- "fixture/UpdateMLModel.yaml"--requestGetBatchPrediction :: GetBatchPrediction -> TestTree-requestGetBatchPrediction = req- "GetBatchPrediction"- "fixture/GetBatchPrediction.yaml"--requestDescribeBatchPredictions :: DescribeBatchPredictions -> TestTree-requestDescribeBatchPredictions = req- "DescribeBatchPredictions"- "fixture/DescribeBatchPredictions.yaml"--requestCreateDataSourceFromRDS :: CreateDataSourceFromRDS -> TestTree-requestCreateDataSourceFromRDS = req- "CreateDataSourceFromRDS"- "fixture/CreateDataSourceFromRDS.yaml"--requestCreateEvaluation :: CreateEvaluation -> TestTree-requestCreateEvaluation = req- "CreateEvaluation"- "fixture/CreateEvaluation.yaml"--requestPredict :: Predict -> TestTree-requestPredict = req- "Predict"- "fixture/Predict.yaml"--requestDeleteRealtimeEndpoint :: DeleteRealtimeEndpoint -> TestTree-requestDeleteRealtimeEndpoint = req- "DeleteRealtimeEndpoint"- "fixture/DeleteRealtimeEndpoint.yaml"--requestCreateBatchPrediction :: CreateBatchPrediction -> TestTree-requestCreateBatchPrediction = req- "CreateBatchPrediction"- "fixture/CreateBatchPrediction.yaml"--requestGetEvaluation :: GetEvaluation -> TestTree-requestGetEvaluation = req- "GetEvaluation"- "fixture/GetEvaluation.yaml"--requestDescribeEvaluations :: DescribeEvaluations -> TestTree-requestDescribeEvaluations = req- "DescribeEvaluations"- "fixture/DescribeEvaluations.yaml"--requestCreateRealtimeEndpoint :: CreateRealtimeEndpoint -> TestTree-requestCreateRealtimeEndpoint = req- "CreateRealtimeEndpoint"- "fixture/CreateRealtimeEndpoint.yaml"--requestAddTags :: AddTags -> TestTree-requestAddTags = req- "AddTags"- "fixture/AddTags.yaml"--requestDescribeMLModels :: DescribeMLModels -> TestTree-requestDescribeMLModels = req- "DescribeMLModels"- "fixture/DescribeMLModels.yaml"--requestDescribeDataSources :: DescribeDataSources -> TestTree-requestDescribeDataSources = req- "DescribeDataSources"- "fixture/DescribeDataSources.yaml"---- Responses--responseUpdateDataSource :: UpdateDataSourceResponse -> TestTree-responseUpdateDataSource = res- "UpdateDataSourceResponse"- "fixture/UpdateDataSourceResponse.proto"- machineLearning- (Proxy :: Proxy UpdateDataSource)--responseDeleteDataSource :: DeleteDataSourceResponse -> TestTree-responseDeleteDataSource = res- "DeleteDataSourceResponse"- "fixture/DeleteDataSourceResponse.proto"- machineLearning- (Proxy :: Proxy DeleteDataSource)--responseDescribeTags :: DescribeTagsResponse -> TestTree-responseDescribeTags = res- "DescribeTagsResponse"- "fixture/DescribeTagsResponse.proto"- machineLearning- (Proxy :: Proxy DescribeTags)--responseCreateDataSourceFromRedshift :: CreateDataSourceFromRedshiftResponse -> TestTree-responseCreateDataSourceFromRedshift = res- "CreateDataSourceFromRedshiftResponse"- "fixture/CreateDataSourceFromRedshiftResponse.proto"- machineLearning- (Proxy :: Proxy CreateDataSourceFromRedshift)--responseCreateDataSourceFromS3 :: CreateDataSourceFromS3Response -> TestTree-responseCreateDataSourceFromS3 = res- "CreateDataSourceFromS3Response"- "fixture/CreateDataSourceFromS3Response.proto"- machineLearning- (Proxy :: Proxy CreateDataSourceFromS3)--responseCreateMLModel :: CreateMLModelResponse -> TestTree-responseCreateMLModel = res- "CreateMLModelResponse"- "fixture/CreateMLModelResponse.proto"- machineLearning- (Proxy :: Proxy CreateMLModel)--responseDeleteTags :: DeleteTagsResponse -> TestTree-responseDeleteTags = res- "DeleteTagsResponse"- "fixture/DeleteTagsResponse.proto"- machineLearning- (Proxy :: Proxy DeleteTags)--responseDeleteBatchPrediction :: DeleteBatchPredictionResponse -> TestTree-responseDeleteBatchPrediction = res- "DeleteBatchPredictionResponse"- "fixture/DeleteBatchPredictionResponse.proto"- machineLearning- (Proxy :: Proxy DeleteBatchPrediction)--responseUpdateBatchPrediction :: UpdateBatchPredictionResponse -> TestTree-responseUpdateBatchPrediction = res- "UpdateBatchPredictionResponse"- "fixture/UpdateBatchPredictionResponse.proto"- machineLearning- (Proxy :: Proxy UpdateBatchPrediction)--responseGetMLModel :: GetMLModelResponse -> TestTree-responseGetMLModel = res- "GetMLModelResponse"- "fixture/GetMLModelResponse.proto"- machineLearning- (Proxy :: Proxy GetMLModel)--responseGetDataSource :: GetDataSourceResponse -> TestTree-responseGetDataSource = res- "GetDataSourceResponse"- "fixture/GetDataSourceResponse.proto"- machineLearning- (Proxy :: Proxy GetDataSource)--responseUpdateEvaluation :: UpdateEvaluationResponse -> TestTree-responseUpdateEvaluation = res- "UpdateEvaluationResponse"- "fixture/UpdateEvaluationResponse.proto"- machineLearning- (Proxy :: Proxy UpdateEvaluation)--responseDeleteEvaluation :: DeleteEvaluationResponse -> TestTree-responseDeleteEvaluation = res- "DeleteEvaluationResponse"- "fixture/DeleteEvaluationResponse.proto"- machineLearning- (Proxy :: Proxy DeleteEvaluation)--responseDeleteMLModel :: DeleteMLModelResponse -> TestTree-responseDeleteMLModel = res- "DeleteMLModelResponse"- "fixture/DeleteMLModelResponse.proto"- machineLearning- (Proxy :: Proxy DeleteMLModel)--responseUpdateMLModel :: UpdateMLModelResponse -> TestTree-responseUpdateMLModel = res- "UpdateMLModelResponse"- "fixture/UpdateMLModelResponse.proto"- machineLearning- (Proxy :: Proxy UpdateMLModel)--responseGetBatchPrediction :: GetBatchPredictionResponse -> TestTree-responseGetBatchPrediction = res- "GetBatchPredictionResponse"- "fixture/GetBatchPredictionResponse.proto"- machineLearning- (Proxy :: Proxy GetBatchPrediction)--responseDescribeBatchPredictions :: DescribeBatchPredictionsResponse -> TestTree-responseDescribeBatchPredictions = res- "DescribeBatchPredictionsResponse"- "fixture/DescribeBatchPredictionsResponse.proto"- machineLearning- (Proxy :: Proxy DescribeBatchPredictions)--responseCreateDataSourceFromRDS :: CreateDataSourceFromRDSResponse -> TestTree-responseCreateDataSourceFromRDS = res- "CreateDataSourceFromRDSResponse"- "fixture/CreateDataSourceFromRDSResponse.proto"- machineLearning- (Proxy :: Proxy CreateDataSourceFromRDS)--responseCreateEvaluation :: CreateEvaluationResponse -> TestTree-responseCreateEvaluation = res- "CreateEvaluationResponse"- "fixture/CreateEvaluationResponse.proto"- machineLearning- (Proxy :: Proxy CreateEvaluation)--responsePredict :: PredictResponse -> TestTree-responsePredict = res- "PredictResponse"- "fixture/PredictResponse.proto"- machineLearning- (Proxy :: Proxy Predict)--responseDeleteRealtimeEndpoint :: DeleteRealtimeEndpointResponse -> TestTree-responseDeleteRealtimeEndpoint = res- "DeleteRealtimeEndpointResponse"- "fixture/DeleteRealtimeEndpointResponse.proto"- machineLearning- (Proxy :: Proxy DeleteRealtimeEndpoint)--responseCreateBatchPrediction :: CreateBatchPredictionResponse -> TestTree-responseCreateBatchPrediction = res- "CreateBatchPredictionResponse"- "fixture/CreateBatchPredictionResponse.proto"- machineLearning- (Proxy :: Proxy CreateBatchPrediction)--responseGetEvaluation :: GetEvaluationResponse -> TestTree-responseGetEvaluation = res- "GetEvaluationResponse"- "fixture/GetEvaluationResponse.proto"- machineLearning- (Proxy :: Proxy GetEvaluation)--responseDescribeEvaluations :: DescribeEvaluationsResponse -> TestTree-responseDescribeEvaluations = res- "DescribeEvaluationsResponse"- "fixture/DescribeEvaluationsResponse.proto"- machineLearning- (Proxy :: Proxy DescribeEvaluations)--responseCreateRealtimeEndpoint :: CreateRealtimeEndpointResponse -> TestTree-responseCreateRealtimeEndpoint = res- "CreateRealtimeEndpointResponse"- "fixture/CreateRealtimeEndpointResponse.proto"- machineLearning- (Proxy :: Proxy CreateRealtimeEndpoint)--responseAddTags :: AddTagsResponse -> TestTree-responseAddTags = res- "AddTagsResponse"- "fixture/AddTagsResponse.proto"- machineLearning- (Proxy :: Proxy AddTags)--responseDescribeMLModels :: DescribeMLModelsResponse -> TestTree-responseDescribeMLModels = res- "DescribeMLModelsResponse"- "fixture/DescribeMLModelsResponse.proto"- machineLearning- (Proxy :: Proxy DescribeMLModels)--responseDescribeDataSources :: DescribeDataSourcesResponse -> TestTree-responseDescribeDataSources = res- "DescribeDataSourcesResponse"- "fixture/DescribeDataSourcesResponse.proto"- machineLearning- (Proxy :: Proxy DescribeDataSources)
− test/Test/AWS/MachineLearning.hs
@@ -1,26 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Module : Test.AWS.MachineLearning--- Copyright : (c) 2013-2018 Brendan Hay--- License : This Source Code Form is subject to the terms of--- the Mozilla Public License, v. 2.0.--- A copy of the MPL can be found in the LICENSE file or--- you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.MachineLearning- ( tests- , fixtures- ) where--import Network.AWS.MachineLearning-import Test.AWS.Gen.MachineLearning-import Test.Tasty--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/MachineLearning/Internal.hs
@@ -1,16 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Module : Test.AWS.MachineLearning.Internal--- Copyright : (c) 2013-2018 Brendan Hay--- License : This Source Code Form is subject to the terms of--- the Mozilla Public License, v. 2.0.--- A copy of the MPL can be found in the LICENSE file or--- you can obtain it at http://mozilla.org/MPL/2.0/.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : experimental--- Portability : non-portable (GHC extensions)--module Test.AWS.MachineLearning.Internal where--import Test.AWS.Prelude
+ test/Test/Amazonka/Gen/MachineLearning.hs view
@@ -0,0 +1,598 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Test.Amazonka.Gen.MachineLearning+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.MachineLearning where++import Amazonka.MachineLearning+import qualified Data.Proxy as Proxy+import Test.Amazonka.Fixture+import Test.Amazonka.MachineLearning.Internal+import Test.Amazonka.Prelude+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+-- [ testGroup "request"+-- [ requestAddTags $+-- newAddTags+--+-- , requestCreateBatchPrediction $+-- newCreateBatchPrediction+--+-- , requestCreateDataSourceFromRDS $+-- newCreateDataSourceFromRDS+--+-- , requestCreateDataSourceFromRedshift $+-- newCreateDataSourceFromRedshift+--+-- , requestCreateDataSourceFromS3 $+-- newCreateDataSourceFromS3+--+-- , requestCreateEvaluation $+-- newCreateEvaluation+--+-- , requestCreateMLModel $+-- newCreateMLModel+--+-- , requestCreateRealtimeEndpoint $+-- newCreateRealtimeEndpoint+--+-- , requestDeleteBatchPrediction $+-- newDeleteBatchPrediction+--+-- , requestDeleteDataSource $+-- newDeleteDataSource+--+-- , requestDeleteEvaluation $+-- newDeleteEvaluation+--+-- , requestDeleteMLModel $+-- newDeleteMLModel+--+-- , requestDeleteRealtimeEndpoint $+-- newDeleteRealtimeEndpoint+--+-- , requestDeleteTags $+-- newDeleteTags+--+-- , requestDescribeBatchPredictions $+-- newDescribeBatchPredictions+--+-- , requestDescribeDataSources $+-- newDescribeDataSources+--+-- , requestDescribeEvaluations $+-- newDescribeEvaluations+--+-- , requestDescribeMLModels $+-- newDescribeMLModels+--+-- , requestDescribeTags $+-- newDescribeTags+--+-- , requestGetBatchPrediction $+-- newGetBatchPrediction+--+-- , requestGetDataSource $+-- newGetDataSource+--+-- , requestGetEvaluation $+-- newGetEvaluation+--+-- , requestGetMLModel $+-- newGetMLModel+--+-- , requestPredict $+-- newPredict+--+-- , requestUpdateBatchPrediction $+-- newUpdateBatchPrediction+--+-- , requestUpdateDataSource $+-- newUpdateDataSource+--+-- , requestUpdateEvaluation $+-- newUpdateEvaluation+--+-- , requestUpdateMLModel $+-- newUpdateMLModel+--+-- ]++-- , testGroup "response"+-- [ responseAddTags $+-- newAddTagsResponse+--+-- , responseCreateBatchPrediction $+-- newCreateBatchPredictionResponse+--+-- , responseCreateDataSourceFromRDS $+-- newCreateDataSourceFromRDSResponse+--+-- , responseCreateDataSourceFromRedshift $+-- newCreateDataSourceFromRedshiftResponse+--+-- , responseCreateDataSourceFromS3 $+-- newCreateDataSourceFromS3Response+--+-- , responseCreateEvaluation $+-- newCreateEvaluationResponse+--+-- , responseCreateMLModel $+-- newCreateMLModelResponse+--+-- , responseCreateRealtimeEndpoint $+-- newCreateRealtimeEndpointResponse+--+-- , responseDeleteBatchPrediction $+-- newDeleteBatchPredictionResponse+--+-- , responseDeleteDataSource $+-- newDeleteDataSourceResponse+--+-- , responseDeleteEvaluation $+-- newDeleteEvaluationResponse+--+-- , responseDeleteMLModel $+-- newDeleteMLModelResponse+--+-- , responseDeleteRealtimeEndpoint $+-- newDeleteRealtimeEndpointResponse+--+-- , responseDeleteTags $+-- newDeleteTagsResponse+--+-- , responseDescribeBatchPredictions $+-- newDescribeBatchPredictionsResponse+--+-- , responseDescribeDataSources $+-- newDescribeDataSourcesResponse+--+-- , responseDescribeEvaluations $+-- newDescribeEvaluationsResponse+--+-- , responseDescribeMLModels $+-- newDescribeMLModelsResponse+--+-- , responseDescribeTags $+-- newDescribeTagsResponse+--+-- , responseGetBatchPrediction $+-- newGetBatchPredictionResponse+--+-- , responseGetDataSource $+-- newGetDataSourceResponse+--+-- , responseGetEvaluation $+-- newGetEvaluationResponse+--+-- , responseGetMLModel $+-- newGetMLModelResponse+--+-- , responsePredict $+-- newPredictResponse+--+-- , responseUpdateBatchPrediction $+-- newUpdateBatchPredictionResponse+--+-- , responseUpdateDataSource $+-- newUpdateDataSourceResponse+--+-- , responseUpdateEvaluation $+-- newUpdateEvaluationResponse+--+-- , responseUpdateMLModel $+-- newUpdateMLModelResponse+--+-- ]+-- ]++-- Requests++requestAddTags :: AddTags -> TestTree+requestAddTags =+ req+ "AddTags"+ "fixture/AddTags.yaml"++requestCreateBatchPrediction :: CreateBatchPrediction -> TestTree+requestCreateBatchPrediction =+ req+ "CreateBatchPrediction"+ "fixture/CreateBatchPrediction.yaml"++requestCreateDataSourceFromRDS :: CreateDataSourceFromRDS -> TestTree+requestCreateDataSourceFromRDS =+ req+ "CreateDataSourceFromRDS"+ "fixture/CreateDataSourceFromRDS.yaml"++requestCreateDataSourceFromRedshift :: CreateDataSourceFromRedshift -> TestTree+requestCreateDataSourceFromRedshift =+ req+ "CreateDataSourceFromRedshift"+ "fixture/CreateDataSourceFromRedshift.yaml"++requestCreateDataSourceFromS3 :: CreateDataSourceFromS3 -> TestTree+requestCreateDataSourceFromS3 =+ req+ "CreateDataSourceFromS3"+ "fixture/CreateDataSourceFromS3.yaml"++requestCreateEvaluation :: CreateEvaluation -> TestTree+requestCreateEvaluation =+ req+ "CreateEvaluation"+ "fixture/CreateEvaluation.yaml"++requestCreateMLModel :: CreateMLModel -> TestTree+requestCreateMLModel =+ req+ "CreateMLModel"+ "fixture/CreateMLModel.yaml"++requestCreateRealtimeEndpoint :: CreateRealtimeEndpoint -> TestTree+requestCreateRealtimeEndpoint =+ req+ "CreateRealtimeEndpoint"+ "fixture/CreateRealtimeEndpoint.yaml"++requestDeleteBatchPrediction :: DeleteBatchPrediction -> TestTree+requestDeleteBatchPrediction =+ req+ "DeleteBatchPrediction"+ "fixture/DeleteBatchPrediction.yaml"++requestDeleteDataSource :: DeleteDataSource -> TestTree+requestDeleteDataSource =+ req+ "DeleteDataSource"+ "fixture/DeleteDataSource.yaml"++requestDeleteEvaluation :: DeleteEvaluation -> TestTree+requestDeleteEvaluation =+ req+ "DeleteEvaluation"+ "fixture/DeleteEvaluation.yaml"++requestDeleteMLModel :: DeleteMLModel -> TestTree+requestDeleteMLModel =+ req+ "DeleteMLModel"+ "fixture/DeleteMLModel.yaml"++requestDeleteRealtimeEndpoint :: DeleteRealtimeEndpoint -> TestTree+requestDeleteRealtimeEndpoint =+ req+ "DeleteRealtimeEndpoint"+ "fixture/DeleteRealtimeEndpoint.yaml"++requestDeleteTags :: DeleteTags -> TestTree+requestDeleteTags =+ req+ "DeleteTags"+ "fixture/DeleteTags.yaml"++requestDescribeBatchPredictions :: DescribeBatchPredictions -> TestTree+requestDescribeBatchPredictions =+ req+ "DescribeBatchPredictions"+ "fixture/DescribeBatchPredictions.yaml"++requestDescribeDataSources :: DescribeDataSources -> TestTree+requestDescribeDataSources =+ req+ "DescribeDataSources"+ "fixture/DescribeDataSources.yaml"++requestDescribeEvaluations :: DescribeEvaluations -> TestTree+requestDescribeEvaluations =+ req+ "DescribeEvaluations"+ "fixture/DescribeEvaluations.yaml"++requestDescribeMLModels :: DescribeMLModels -> TestTree+requestDescribeMLModels =+ req+ "DescribeMLModels"+ "fixture/DescribeMLModels.yaml"++requestDescribeTags :: DescribeTags -> TestTree+requestDescribeTags =+ req+ "DescribeTags"+ "fixture/DescribeTags.yaml"++requestGetBatchPrediction :: GetBatchPrediction -> TestTree+requestGetBatchPrediction =+ req+ "GetBatchPrediction"+ "fixture/GetBatchPrediction.yaml"++requestGetDataSource :: GetDataSource -> TestTree+requestGetDataSource =+ req+ "GetDataSource"+ "fixture/GetDataSource.yaml"++requestGetEvaluation :: GetEvaluation -> TestTree+requestGetEvaluation =+ req+ "GetEvaluation"+ "fixture/GetEvaluation.yaml"++requestGetMLModel :: GetMLModel -> TestTree+requestGetMLModel =+ req+ "GetMLModel"+ "fixture/GetMLModel.yaml"++requestPredict :: Predict -> TestTree+requestPredict =+ req+ "Predict"+ "fixture/Predict.yaml"++requestUpdateBatchPrediction :: UpdateBatchPrediction -> TestTree+requestUpdateBatchPrediction =+ req+ "UpdateBatchPrediction"+ "fixture/UpdateBatchPrediction.yaml"++requestUpdateDataSource :: UpdateDataSource -> TestTree+requestUpdateDataSource =+ req+ "UpdateDataSource"+ "fixture/UpdateDataSource.yaml"++requestUpdateEvaluation :: UpdateEvaluation -> TestTree+requestUpdateEvaluation =+ req+ "UpdateEvaluation"+ "fixture/UpdateEvaluation.yaml"++requestUpdateMLModel :: UpdateMLModel -> TestTree+requestUpdateMLModel =+ req+ "UpdateMLModel"+ "fixture/UpdateMLModel.yaml"++-- Responses++responseAddTags :: AddTagsResponse -> TestTree+responseAddTags =+ res+ "AddTagsResponse"+ "fixture/AddTagsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy AddTags)++responseCreateBatchPrediction :: CreateBatchPredictionResponse -> TestTree+responseCreateBatchPrediction =+ res+ "CreateBatchPredictionResponse"+ "fixture/CreateBatchPredictionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateBatchPrediction)++responseCreateDataSourceFromRDS :: CreateDataSourceFromRDSResponse -> TestTree+responseCreateDataSourceFromRDS =+ res+ "CreateDataSourceFromRDSResponse"+ "fixture/CreateDataSourceFromRDSResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateDataSourceFromRDS)++responseCreateDataSourceFromRedshift :: CreateDataSourceFromRedshiftResponse -> TestTree+responseCreateDataSourceFromRedshift =+ res+ "CreateDataSourceFromRedshiftResponse"+ "fixture/CreateDataSourceFromRedshiftResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateDataSourceFromRedshift)++responseCreateDataSourceFromS3 :: CreateDataSourceFromS3Response -> TestTree+responseCreateDataSourceFromS3 =+ res+ "CreateDataSourceFromS3Response"+ "fixture/CreateDataSourceFromS3Response.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateDataSourceFromS3)++responseCreateEvaluation :: CreateEvaluationResponse -> TestTree+responseCreateEvaluation =+ res+ "CreateEvaluationResponse"+ "fixture/CreateEvaluationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateEvaluation)++responseCreateMLModel :: CreateMLModelResponse -> TestTree+responseCreateMLModel =+ res+ "CreateMLModelResponse"+ "fixture/CreateMLModelResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateMLModel)++responseCreateRealtimeEndpoint :: CreateRealtimeEndpointResponse -> TestTree+responseCreateRealtimeEndpoint =+ res+ "CreateRealtimeEndpointResponse"+ "fixture/CreateRealtimeEndpointResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy CreateRealtimeEndpoint)++responseDeleteBatchPrediction :: DeleteBatchPredictionResponse -> TestTree+responseDeleteBatchPrediction =+ res+ "DeleteBatchPredictionResponse"+ "fixture/DeleteBatchPredictionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteBatchPrediction)++responseDeleteDataSource :: DeleteDataSourceResponse -> TestTree+responseDeleteDataSource =+ res+ "DeleteDataSourceResponse"+ "fixture/DeleteDataSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteDataSource)++responseDeleteEvaluation :: DeleteEvaluationResponse -> TestTree+responseDeleteEvaluation =+ res+ "DeleteEvaluationResponse"+ "fixture/DeleteEvaluationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteEvaluation)++responseDeleteMLModel :: DeleteMLModelResponse -> TestTree+responseDeleteMLModel =+ res+ "DeleteMLModelResponse"+ "fixture/DeleteMLModelResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteMLModel)++responseDeleteRealtimeEndpoint :: DeleteRealtimeEndpointResponse -> TestTree+responseDeleteRealtimeEndpoint =+ res+ "DeleteRealtimeEndpointResponse"+ "fixture/DeleteRealtimeEndpointResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteRealtimeEndpoint)++responseDeleteTags :: DeleteTagsResponse -> TestTree+responseDeleteTags =+ res+ "DeleteTagsResponse"+ "fixture/DeleteTagsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DeleteTags)++responseDescribeBatchPredictions :: DescribeBatchPredictionsResponse -> TestTree+responseDescribeBatchPredictions =+ res+ "DescribeBatchPredictionsResponse"+ "fixture/DescribeBatchPredictionsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeBatchPredictions)++responseDescribeDataSources :: DescribeDataSourcesResponse -> TestTree+responseDescribeDataSources =+ res+ "DescribeDataSourcesResponse"+ "fixture/DescribeDataSourcesResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeDataSources)++responseDescribeEvaluations :: DescribeEvaluationsResponse -> TestTree+responseDescribeEvaluations =+ res+ "DescribeEvaluationsResponse"+ "fixture/DescribeEvaluationsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeEvaluations)++responseDescribeMLModels :: DescribeMLModelsResponse -> TestTree+responseDescribeMLModels =+ res+ "DescribeMLModelsResponse"+ "fixture/DescribeMLModelsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeMLModels)++responseDescribeTags :: DescribeTagsResponse -> TestTree+responseDescribeTags =+ res+ "DescribeTagsResponse"+ "fixture/DescribeTagsResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy DescribeTags)++responseGetBatchPrediction :: GetBatchPredictionResponse -> TestTree+responseGetBatchPrediction =+ res+ "GetBatchPredictionResponse"+ "fixture/GetBatchPredictionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetBatchPrediction)++responseGetDataSource :: GetDataSourceResponse -> TestTree+responseGetDataSource =+ res+ "GetDataSourceResponse"+ "fixture/GetDataSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetDataSource)++responseGetEvaluation :: GetEvaluationResponse -> TestTree+responseGetEvaluation =+ res+ "GetEvaluationResponse"+ "fixture/GetEvaluationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetEvaluation)++responseGetMLModel :: GetMLModelResponse -> TestTree+responseGetMLModel =+ res+ "GetMLModelResponse"+ "fixture/GetMLModelResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy GetMLModel)++responsePredict :: PredictResponse -> TestTree+responsePredict =+ res+ "PredictResponse"+ "fixture/PredictResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy Predict)++responseUpdateBatchPrediction :: UpdateBatchPredictionResponse -> TestTree+responseUpdateBatchPrediction =+ res+ "UpdateBatchPredictionResponse"+ "fixture/UpdateBatchPredictionResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateBatchPrediction)++responseUpdateDataSource :: UpdateDataSourceResponse -> TestTree+responseUpdateDataSource =+ res+ "UpdateDataSourceResponse"+ "fixture/UpdateDataSourceResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateDataSource)++responseUpdateEvaluation :: UpdateEvaluationResponse -> TestTree+responseUpdateEvaluation =+ res+ "UpdateEvaluationResponse"+ "fixture/UpdateEvaluationResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateEvaluation)++responseUpdateMLModel :: UpdateMLModelResponse -> TestTree+responseUpdateMLModel =+ res+ "UpdateMLModelResponse"+ "fixture/UpdateMLModelResponse.proto"+ defaultService+ (Proxy.Proxy :: Proxy.Proxy UpdateMLModel)
+ test/Test/Amazonka/MachineLearning.hs view
@@ -0,0 +1,20 @@+-- |+-- Module : Test.Amazonka.MachineLearning+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.MachineLearning+ ( tests,+ fixtures,+ )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/MachineLearning/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module : Test.Amazonka.MachineLearning.Internal+-- Copyright : (c) 2013-2023 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.MachineLearning.Internal where