Type definitions#
Index > MachineLearning > Type definitions
Auto-generated documentation for MachineLearning type annotations stubs module mypy-boto3-machinelearning.
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
BatchPredictionTypeDef#
# BatchPredictionTypeDef definition
class BatchPredictionTypeDef(TypedDict):
BatchPredictionId: NotRequired[str],
MLModelId: NotRequired[str],
BatchPredictionDataSourceId: NotRequired[str],
InputDataLocationS3: NotRequired[str],
CreatedByIamUser: NotRequired[str],
CreatedAt: NotRequired[datetime],
LastUpdatedAt: NotRequired[datetime],
Name: NotRequired[str],
Status: NotRequired[EntityStatusType], # (1)
OutputUri: NotRequired[str],
Message: NotRequired[str],
ComputeTime: NotRequired[int],
FinishedAt: NotRequired[datetime],
StartedAt: NotRequired[datetime],
TotalRecordCount: NotRequired[int],
InvalidRecordCount: NotRequired[int],
- See EntityStatusType
CreateBatchPredictionInputRequestTypeDef#
# CreateBatchPredictionInputRequestTypeDef definition
class CreateBatchPredictionInputRequestTypeDef(TypedDict):
BatchPredictionId: str,
MLModelId: str,
BatchPredictionDataSourceId: str,
OutputUri: str,
BatchPredictionName: NotRequired[str],
S3DataSpecTypeDef#
# S3DataSpecTypeDef definition
class S3DataSpecTypeDef(TypedDict):
DataLocationS3: str,
DataRearrangement: NotRequired[str],
DataSchema: NotRequired[str],
DataSchemaLocationS3: NotRequired[str],
CreateEvaluationInputRequestTypeDef#
# CreateEvaluationInputRequestTypeDef definition
class CreateEvaluationInputRequestTypeDef(TypedDict):
EvaluationId: str,
MLModelId: str,
EvaluationDataSourceId: str,
EvaluationName: NotRequired[str],
CreateMLModelInputRequestTypeDef#
# CreateMLModelInputRequestTypeDef definition
class CreateMLModelInputRequestTypeDef(TypedDict):
MLModelId: str,
MLModelType: MLModelTypeType, # (1)
TrainingDataSourceId: str,
MLModelName: NotRequired[str],
Parameters: NotRequired[Mapping[str, str]],
Recipe: NotRequired[str],
RecipeUri: NotRequired[str],
- See MLModelTypeType
CreateRealtimeEndpointInputRequestTypeDef#
# CreateRealtimeEndpointInputRequestTypeDef definition
class CreateRealtimeEndpointInputRequestTypeDef(TypedDict):
MLModelId: str,
RealtimeEndpointInfoTypeDef#
# RealtimeEndpointInfoTypeDef definition
class RealtimeEndpointInfoTypeDef(TypedDict):
PeakRequestsPerSecond: NotRequired[int],
CreatedAt: NotRequired[datetime],
EndpointUrl: NotRequired[str],
EndpointStatus: NotRequired[RealtimeEndpointStatusType], # (1)
DeleteBatchPredictionInputRequestTypeDef#
# DeleteBatchPredictionInputRequestTypeDef definition
class DeleteBatchPredictionInputRequestTypeDef(TypedDict):
BatchPredictionId: str,
DeleteDataSourceInputRequestTypeDef#
# DeleteDataSourceInputRequestTypeDef definition
class DeleteDataSourceInputRequestTypeDef(TypedDict):
DataSourceId: str,
DeleteEvaluationInputRequestTypeDef#
# DeleteEvaluationInputRequestTypeDef definition
class DeleteEvaluationInputRequestTypeDef(TypedDict):
EvaluationId: str,
DeleteMLModelInputRequestTypeDef#
# DeleteMLModelInputRequestTypeDef definition
class DeleteMLModelInputRequestTypeDef(TypedDict):
MLModelId: str,
DeleteRealtimeEndpointInputRequestTypeDef#
# DeleteRealtimeEndpointInputRequestTypeDef definition
class DeleteRealtimeEndpointInputRequestTypeDef(TypedDict):
MLModelId: str,
DeleteTagsInputRequestTypeDef#
# DeleteTagsInputRequestTypeDef definition
class DeleteTagsInputRequestTypeDef(TypedDict):
TagKeys: Sequence[str],
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
WaiterConfigTypeDef#
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeBatchPredictionsInputRequestTypeDef#
# DescribeBatchPredictionsInputRequestTypeDef definition
class DescribeBatchPredictionsInputRequestTypeDef(TypedDict):
FilterVariable: NotRequired[BatchPredictionFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
NextToken: NotRequired[str],
Limit: NotRequired[int],
DescribeDataSourcesInputRequestTypeDef#
# DescribeDataSourcesInputRequestTypeDef definition
class DescribeDataSourcesInputRequestTypeDef(TypedDict):
FilterVariable: NotRequired[DataSourceFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
NextToken: NotRequired[str],
Limit: NotRequired[int],
DescribeEvaluationsInputRequestTypeDef#
# DescribeEvaluationsInputRequestTypeDef definition
class DescribeEvaluationsInputRequestTypeDef(TypedDict):
FilterVariable: NotRequired[EvaluationFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
NextToken: NotRequired[str],
Limit: NotRequired[int],
DescribeMLModelsInputRequestTypeDef#
# DescribeMLModelsInputRequestTypeDef definition
class DescribeMLModelsInputRequestTypeDef(TypedDict):
FilterVariable: NotRequired[MLModelFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
NextToken: NotRequired[str],
Limit: NotRequired[int],
DescribeTagsInputRequestTypeDef#
# DescribeTagsInputRequestTypeDef definition
class DescribeTagsInputRequestTypeDef(TypedDict):
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
PerformanceMetricsTypeDef#
# PerformanceMetricsTypeDef definition
class PerformanceMetricsTypeDef(TypedDict):
Properties: NotRequired[Dict[str, str]],
GetBatchPredictionInputRequestTypeDef#
# GetBatchPredictionInputRequestTypeDef definition
class GetBatchPredictionInputRequestTypeDef(TypedDict):
BatchPredictionId: str,
GetDataSourceInputRequestTypeDef#
# GetDataSourceInputRequestTypeDef definition
class GetDataSourceInputRequestTypeDef(TypedDict):
DataSourceId: str,
Verbose: NotRequired[bool],
GetEvaluationInputRequestTypeDef#
# GetEvaluationInputRequestTypeDef definition
class GetEvaluationInputRequestTypeDef(TypedDict):
EvaluationId: str,
GetMLModelInputRequestTypeDef#
# GetMLModelInputRequestTypeDef definition
class GetMLModelInputRequestTypeDef(TypedDict):
MLModelId: str,
Verbose: NotRequired[bool],
PredictInputRequestTypeDef#
# PredictInputRequestTypeDef definition
class PredictInputRequestTypeDef(TypedDict):
MLModelId: str,
Record: Mapping[str, str],
PredictEndpoint: str,
PredictionTypeDef#
# PredictionTypeDef definition
class PredictionTypeDef(TypedDict):
predictedLabel: NotRequired[str],
predictedValue: NotRequired[float],
predictedScores: NotRequired[Dict[str, float]],
details: NotRequired[Dict[DetailsAttributesType, str]], # (1)
RDSDatabaseCredentialsTypeDef#
# RDSDatabaseCredentialsTypeDef definition
class RDSDatabaseCredentialsTypeDef(TypedDict):
Username: str,
Password: str,
RDSDatabaseTypeDef#
# RDSDatabaseTypeDef definition
class RDSDatabaseTypeDef(TypedDict):
InstanceIdentifier: str,
DatabaseName: str,
RedshiftDatabaseCredentialsTypeDef#
# RedshiftDatabaseCredentialsTypeDef definition
class RedshiftDatabaseCredentialsTypeDef(TypedDict):
Username: str,
Password: str,
RedshiftDatabaseTypeDef#
# RedshiftDatabaseTypeDef definition
class RedshiftDatabaseTypeDef(TypedDict):
DatabaseName: str,
ClusterIdentifier: str,
UpdateBatchPredictionInputRequestTypeDef#
# UpdateBatchPredictionInputRequestTypeDef definition
class UpdateBatchPredictionInputRequestTypeDef(TypedDict):
BatchPredictionId: str,
BatchPredictionName: str,
UpdateDataSourceInputRequestTypeDef#
# UpdateDataSourceInputRequestTypeDef definition
class UpdateDataSourceInputRequestTypeDef(TypedDict):
DataSourceId: str,
DataSourceName: str,
UpdateEvaluationInputRequestTypeDef#
# UpdateEvaluationInputRequestTypeDef definition
class UpdateEvaluationInputRequestTypeDef(TypedDict):
EvaluationId: str,
EvaluationName: str,
UpdateMLModelInputRequestTypeDef#
# UpdateMLModelInputRequestTypeDef definition
class UpdateMLModelInputRequestTypeDef(TypedDict):
MLModelId: str,
MLModelName: NotRequired[str],
ScoreThreshold: NotRequired[float],
AddTagsInputRequestTypeDef#
# AddTagsInputRequestTypeDef definition
class AddTagsInputRequestTypeDef(TypedDict):
Tags: Sequence[TagTypeDef], # (1)
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (2)
- See TagTypeDef
- See TaggableResourceTypeType
AddTagsOutputTypeDef#
# AddTagsOutputTypeDef definition
class AddTagsOutputTypeDef(TypedDict):
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateBatchPredictionOutputTypeDef#
# CreateBatchPredictionOutputTypeDef definition
class CreateBatchPredictionOutputTypeDef(TypedDict):
BatchPredictionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDataSourceFromRDSOutputTypeDef#
# CreateDataSourceFromRDSOutputTypeDef definition
class CreateDataSourceFromRDSOutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDataSourceFromRedshiftOutputTypeDef#
# CreateDataSourceFromRedshiftOutputTypeDef definition
class CreateDataSourceFromRedshiftOutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDataSourceFromS3OutputTypeDef#
# CreateDataSourceFromS3OutputTypeDef definition
class CreateDataSourceFromS3OutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateEvaluationOutputTypeDef#
# CreateEvaluationOutputTypeDef definition
class CreateEvaluationOutputTypeDef(TypedDict):
EvaluationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateMLModelOutputTypeDef#
# CreateMLModelOutputTypeDef definition
class CreateMLModelOutputTypeDef(TypedDict):
MLModelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteBatchPredictionOutputTypeDef#
# DeleteBatchPredictionOutputTypeDef definition
class DeleteBatchPredictionOutputTypeDef(TypedDict):
BatchPredictionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteDataSourceOutputTypeDef#
# DeleteDataSourceOutputTypeDef definition
class DeleteDataSourceOutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteEvaluationOutputTypeDef#
# DeleteEvaluationOutputTypeDef definition
class DeleteEvaluationOutputTypeDef(TypedDict):
EvaluationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteMLModelOutputTypeDef#
# DeleteMLModelOutputTypeDef definition
class DeleteMLModelOutputTypeDef(TypedDict):
MLModelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteTagsOutputTypeDef#
# DeleteTagsOutputTypeDef definition
class DeleteTagsOutputTypeDef(TypedDict):
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeTagsOutputTypeDef#
# DescribeTagsOutputTypeDef definition
class DescribeTagsOutputTypeDef(TypedDict):
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
Tags: List[TagTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
GetBatchPredictionOutputTypeDef#
# GetBatchPredictionOutputTypeDef definition
class GetBatchPredictionOutputTypeDef(TypedDict):
BatchPredictionId: str,
MLModelId: str,
BatchPredictionDataSourceId: str,
InputDataLocationS3: str,
CreatedByIamUser: str,
CreatedAt: datetime,
LastUpdatedAt: datetime,
Name: str,
Status: EntityStatusType, # (1)
OutputUri: str,
LogUri: str,
Message: str,
ComputeTime: int,
FinishedAt: datetime,
StartedAt: datetime,
TotalRecordCount: int,
InvalidRecordCount: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateBatchPredictionOutputTypeDef#
# UpdateBatchPredictionOutputTypeDef definition
class UpdateBatchPredictionOutputTypeDef(TypedDict):
BatchPredictionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateDataSourceOutputTypeDef#
# UpdateDataSourceOutputTypeDef definition
class UpdateDataSourceOutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateEvaluationOutputTypeDef#
# UpdateEvaluationOutputTypeDef definition
class UpdateEvaluationOutputTypeDef(TypedDict):
EvaluationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateMLModelOutputTypeDef#
# UpdateMLModelOutputTypeDef definition
class UpdateMLModelOutputTypeDef(TypedDict):
MLModelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeBatchPredictionsOutputTypeDef#
# DescribeBatchPredictionsOutputTypeDef definition
class DescribeBatchPredictionsOutputTypeDef(TypedDict):
Results: List[BatchPredictionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
CreateDataSourceFromS3InputRequestTypeDef#
# CreateDataSourceFromS3InputRequestTypeDef definition
class CreateDataSourceFromS3InputRequestTypeDef(TypedDict):
DataSourceId: str,
DataSpec: S3DataSpecTypeDef, # (1)
DataSourceName: NotRequired[str],
ComputeStatistics: NotRequired[bool],
CreateRealtimeEndpointOutputTypeDef#
# CreateRealtimeEndpointOutputTypeDef definition
class CreateRealtimeEndpointOutputTypeDef(TypedDict):
MLModelId: str,
RealtimeEndpointInfo: RealtimeEndpointInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteRealtimeEndpointOutputTypeDef#
# DeleteRealtimeEndpointOutputTypeDef definition
class DeleteRealtimeEndpointOutputTypeDef(TypedDict):
MLModelId: str,
RealtimeEndpointInfo: RealtimeEndpointInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetMLModelOutputTypeDef#
# GetMLModelOutputTypeDef definition
class GetMLModelOutputTypeDef(TypedDict):
MLModelId: str,
TrainingDataSourceId: str,
CreatedByIamUser: str,
CreatedAt: datetime,
LastUpdatedAt: datetime,
Name: str,
Status: EntityStatusType, # (1)
SizeInBytes: int,
EndpointInfo: RealtimeEndpointInfoTypeDef, # (2)
TrainingParameters: Dict[str, str],
InputDataLocationS3: str,
MLModelType: MLModelTypeType, # (3)
ScoreThreshold: float,
ScoreThresholdLastUpdatedAt: datetime,
LogUri: str,
Message: str,
ComputeTime: int,
FinishedAt: datetime,
StartedAt: datetime,
Recipe: str,
Schema: str,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See EntityStatusType
- See RealtimeEndpointInfoTypeDef
- See MLModelTypeType
- See ResponseMetadataTypeDef
MLModelTypeDef#
# MLModelTypeDef definition
class MLModelTypeDef(TypedDict):
MLModelId: NotRequired[str],
TrainingDataSourceId: NotRequired[str],
CreatedByIamUser: NotRequired[str],
CreatedAt: NotRequired[datetime],
LastUpdatedAt: NotRequired[datetime],
Name: NotRequired[str],
Status: NotRequired[EntityStatusType], # (1)
SizeInBytes: NotRequired[int],
EndpointInfo: NotRequired[RealtimeEndpointInfoTypeDef], # (2)
TrainingParameters: NotRequired[Dict[str, str]],
InputDataLocationS3: NotRequired[str],
Algorithm: NotRequired[AlgorithmType], # (3)
MLModelType: NotRequired[MLModelTypeType], # (4)
ScoreThreshold: NotRequired[float],
ScoreThresholdLastUpdatedAt: NotRequired[datetime],
Message: NotRequired[str],
ComputeTime: NotRequired[int],
FinishedAt: NotRequired[datetime],
StartedAt: NotRequired[datetime],
- See EntityStatusType
- See RealtimeEndpointInfoTypeDef
- See AlgorithmType
- See MLModelTypeType
DescribeBatchPredictionsInputBatchPredictionAvailableWaitTypeDef#
# DescribeBatchPredictionsInputBatchPredictionAvailableWaitTypeDef definition
class DescribeBatchPredictionsInputBatchPredictionAvailableWaitTypeDef(TypedDict):
FilterVariable: NotRequired[BatchPredictionFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
NextToken: NotRequired[str],
Limit: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (3)
DescribeDataSourcesInputDataSourceAvailableWaitTypeDef#
# DescribeDataSourcesInputDataSourceAvailableWaitTypeDef definition
class DescribeDataSourcesInputDataSourceAvailableWaitTypeDef(TypedDict):
FilterVariable: NotRequired[DataSourceFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
NextToken: NotRequired[str],
Limit: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (3)
DescribeEvaluationsInputEvaluationAvailableWaitTypeDef#
# DescribeEvaluationsInputEvaluationAvailableWaitTypeDef definition
class DescribeEvaluationsInputEvaluationAvailableWaitTypeDef(TypedDict):
FilterVariable: NotRequired[EvaluationFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
NextToken: NotRequired[str],
Limit: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (3)
DescribeMLModelsInputMLModelAvailableWaitTypeDef#
# DescribeMLModelsInputMLModelAvailableWaitTypeDef definition
class DescribeMLModelsInputMLModelAvailableWaitTypeDef(TypedDict):
FilterVariable: NotRequired[MLModelFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
NextToken: NotRequired[str],
Limit: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (3)
DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef#
# DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef definition
class DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef(TypedDict):
FilterVariable: NotRequired[BatchPredictionFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef#
# DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef definition
class DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef(TypedDict):
FilterVariable: NotRequired[DataSourceFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef#
# DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef definition
class DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef(TypedDict):
FilterVariable: NotRequired[EvaluationFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
DescribeMLModelsInputDescribeMLModelsPaginateTypeDef#
# DescribeMLModelsInputDescribeMLModelsPaginateTypeDef definition
class DescribeMLModelsInputDescribeMLModelsPaginateTypeDef(TypedDict):
FilterVariable: NotRequired[MLModelFilterVariableType], # (1)
EQ: NotRequired[str],
GT: NotRequired[str],
LT: NotRequired[str],
GE: NotRequired[str],
LE: NotRequired[str],
NE: NotRequired[str],
Prefix: NotRequired[str],
SortOrder: NotRequired[SortOrderType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
EvaluationTypeDef#
# EvaluationTypeDef definition
class EvaluationTypeDef(TypedDict):
EvaluationId: NotRequired[str],
MLModelId: NotRequired[str],
EvaluationDataSourceId: NotRequired[str],
InputDataLocationS3: NotRequired[str],
CreatedByIamUser: NotRequired[str],
CreatedAt: NotRequired[datetime],
LastUpdatedAt: NotRequired[datetime],
Name: NotRequired[str],
Status: NotRequired[EntityStatusType], # (1)
PerformanceMetrics: NotRequired[PerformanceMetricsTypeDef], # (2)
Message: NotRequired[str],
ComputeTime: NotRequired[int],
FinishedAt: NotRequired[datetime],
StartedAt: NotRequired[datetime],
GetEvaluationOutputTypeDef#
# GetEvaluationOutputTypeDef definition
class GetEvaluationOutputTypeDef(TypedDict):
EvaluationId: str,
MLModelId: str,
EvaluationDataSourceId: str,
InputDataLocationS3: str,
CreatedByIamUser: str,
CreatedAt: datetime,
LastUpdatedAt: datetime,
Name: str,
Status: EntityStatusType, # (1)
PerformanceMetrics: PerformanceMetricsTypeDef, # (2)
LogUri: str,
Message: str,
ComputeTime: int,
FinishedAt: datetime,
StartedAt: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
PredictOutputTypeDef#
# PredictOutputTypeDef definition
class PredictOutputTypeDef(TypedDict):
Prediction: PredictionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RDSDataSpecTypeDef#
# RDSDataSpecTypeDef definition
class RDSDataSpecTypeDef(TypedDict):
DatabaseInformation: RDSDatabaseTypeDef, # (1)
SelectSqlQuery: str,
DatabaseCredentials: RDSDatabaseCredentialsTypeDef, # (2)
S3StagingLocation: str,
ResourceRole: str,
ServiceRole: str,
SubnetId: str,
SecurityGroupIds: Sequence[str],
DataRearrangement: NotRequired[str],
DataSchema: NotRequired[str],
DataSchemaUri: NotRequired[str],
RDSMetadataTypeDef#
# RDSMetadataTypeDef definition
class RDSMetadataTypeDef(TypedDict):
Database: NotRequired[RDSDatabaseTypeDef], # (1)
DatabaseUserName: NotRequired[str],
SelectSqlQuery: NotRequired[str],
ResourceRole: NotRequired[str],
ServiceRole: NotRequired[str],
DataPipelineId: NotRequired[str],
RedshiftDataSpecTypeDef#
# RedshiftDataSpecTypeDef definition
class RedshiftDataSpecTypeDef(TypedDict):
DatabaseInformation: RedshiftDatabaseTypeDef, # (1)
SelectSqlQuery: str,
DatabaseCredentials: RedshiftDatabaseCredentialsTypeDef, # (2)
S3StagingLocation: str,
DataRearrangement: NotRequired[str],
DataSchema: NotRequired[str],
DataSchemaUri: NotRequired[str],
RedshiftMetadataTypeDef#
# RedshiftMetadataTypeDef definition
class RedshiftMetadataTypeDef(TypedDict):
RedshiftDatabase: NotRequired[RedshiftDatabaseTypeDef], # (1)
DatabaseUserName: NotRequired[str],
SelectSqlQuery: NotRequired[str],
DescribeMLModelsOutputTypeDef#
# DescribeMLModelsOutputTypeDef definition
class DescribeMLModelsOutputTypeDef(TypedDict):
Results: List[MLModelTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeEvaluationsOutputTypeDef#
# DescribeEvaluationsOutputTypeDef definition
class DescribeEvaluationsOutputTypeDef(TypedDict):
Results: List[EvaluationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
CreateDataSourceFromRDSInputRequestTypeDef#
# CreateDataSourceFromRDSInputRequestTypeDef definition
class CreateDataSourceFromRDSInputRequestTypeDef(TypedDict):
DataSourceId: str,
RDSData: RDSDataSpecTypeDef, # (1)
RoleARN: str,
DataSourceName: NotRequired[str],
ComputeStatistics: NotRequired[bool],
CreateDataSourceFromRedshiftInputRequestTypeDef#
# CreateDataSourceFromRedshiftInputRequestTypeDef definition
class CreateDataSourceFromRedshiftInputRequestTypeDef(TypedDict):
DataSourceId: str,
DataSpec: RedshiftDataSpecTypeDef, # (1)
RoleARN: str,
DataSourceName: NotRequired[str],
ComputeStatistics: NotRequired[bool],
DataSourceTypeDef#
# DataSourceTypeDef definition
class DataSourceTypeDef(TypedDict):
DataSourceId: NotRequired[str],
DataLocationS3: NotRequired[str],
DataRearrangement: NotRequired[str],
CreatedByIamUser: NotRequired[str],
CreatedAt: NotRequired[datetime],
LastUpdatedAt: NotRequired[datetime],
DataSizeInBytes: NotRequired[int],
NumberOfFiles: NotRequired[int],
Name: NotRequired[str],
Status: NotRequired[EntityStatusType], # (1)
Message: NotRequired[str],
RedshiftMetadata: NotRequired[RedshiftMetadataTypeDef], # (2)
RDSMetadata: NotRequired[RDSMetadataTypeDef], # (3)
RoleARN: NotRequired[str],
ComputeStatistics: NotRequired[bool],
ComputeTime: NotRequired[int],
FinishedAt: NotRequired[datetime],
StartedAt: NotRequired[datetime],
GetDataSourceOutputTypeDef#
# GetDataSourceOutputTypeDef definition
class GetDataSourceOutputTypeDef(TypedDict):
DataSourceId: str,
DataLocationS3: str,
DataRearrangement: str,
CreatedByIamUser: str,
CreatedAt: datetime,
LastUpdatedAt: datetime,
DataSizeInBytes: int,
NumberOfFiles: int,
Name: str,
Status: EntityStatusType, # (1)
LogUri: str,
Message: str,
RedshiftMetadata: RedshiftMetadataTypeDef, # (2)
RDSMetadata: RDSMetadataTypeDef, # (3)
RoleARN: str,
ComputeStatistics: bool,
ComputeTime: int,
FinishedAt: datetime,
StartedAt: datetime,
DataSourceSchema: str,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
DescribeDataSourcesOutputTypeDef#
# DescribeDataSourcesOutputTypeDef definition
class DescribeDataSourcesOutputTypeDef(TypedDict):
Results: List[DataSourceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],