Skip to content

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],
  1. 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],
  1. 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)
  1. See RealtimeEndpointStatusType

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)
  1. See TaggableResourceTypeType

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],
  1. See BatchPredictionFilterVariableType
  2. See SortOrderType

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],
  1. See DataSourceFilterVariableType
  2. See SortOrderType

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],
  1. See EvaluationFilterVariableType
  2. See SortOrderType

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],
  1. See MLModelFilterVariableType
  2. See SortOrderType

DescribeTagsInputRequestTypeDef#

# DescribeTagsInputRequestTypeDef definition

class DescribeTagsInputRequestTypeDef(TypedDict):
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (1)
  1. See TaggableResourceTypeType

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)
  1. See DetailsAttributesType

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)
  1. See TagTypeDef
  2. See TaggableResourceTypeType

AddTagsOutputTypeDef#

# AddTagsOutputTypeDef definition

class AddTagsOutputTypeDef(TypedDict):
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaggableResourceTypeType
  2. See ResponseMetadataTypeDef

CreateBatchPredictionOutputTypeDef#

# CreateBatchPredictionOutputTypeDef definition

class CreateBatchPredictionOutputTypeDef(TypedDict):
    BatchPredictionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDataSourceFromRDSOutputTypeDef#

# CreateDataSourceFromRDSOutputTypeDef definition

class CreateDataSourceFromRDSOutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDataSourceFromRedshiftOutputTypeDef#

# CreateDataSourceFromRedshiftOutputTypeDef definition

class CreateDataSourceFromRedshiftOutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDataSourceFromS3OutputTypeDef#

# CreateDataSourceFromS3OutputTypeDef definition

class CreateDataSourceFromS3OutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateEvaluationOutputTypeDef#

# CreateEvaluationOutputTypeDef definition

class CreateEvaluationOutputTypeDef(TypedDict):
    EvaluationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateMLModelOutputTypeDef#

# CreateMLModelOutputTypeDef definition

class CreateMLModelOutputTypeDef(TypedDict):
    MLModelId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteBatchPredictionOutputTypeDef#

# DeleteBatchPredictionOutputTypeDef definition

class DeleteBatchPredictionOutputTypeDef(TypedDict):
    BatchPredictionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteDataSourceOutputTypeDef#

# DeleteDataSourceOutputTypeDef definition

class DeleteDataSourceOutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteEvaluationOutputTypeDef#

# DeleteEvaluationOutputTypeDef definition

class DeleteEvaluationOutputTypeDef(TypedDict):
    EvaluationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteMLModelOutputTypeDef#

# DeleteMLModelOutputTypeDef definition

class DeleteMLModelOutputTypeDef(TypedDict):
    MLModelId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteTagsOutputTypeDef#

# DeleteTagsOutputTypeDef definition

class DeleteTagsOutputTypeDef(TypedDict):
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaggableResourceTypeType
  2. See ResponseMetadataTypeDef

DescribeTagsOutputTypeDef#

# DescribeTagsOutputTypeDef definition

class DescribeTagsOutputTypeDef(TypedDict):
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (1)
    Tags: List[TagTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaggableResourceTypeType
  2. See TagTypeDef
  3. See ResponseMetadataTypeDef

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)
  1. See EntityStatusType
  2. See ResponseMetadataTypeDef

UpdateBatchPredictionOutputTypeDef#

# UpdateBatchPredictionOutputTypeDef definition

class UpdateBatchPredictionOutputTypeDef(TypedDict):
    BatchPredictionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateDataSourceOutputTypeDef#

# UpdateDataSourceOutputTypeDef definition

class UpdateDataSourceOutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateEvaluationOutputTypeDef#

# UpdateEvaluationOutputTypeDef definition

class UpdateEvaluationOutputTypeDef(TypedDict):
    EvaluationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateMLModelOutputTypeDef#

# UpdateMLModelOutputTypeDef definition

class UpdateMLModelOutputTypeDef(TypedDict):
    MLModelId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeBatchPredictionsOutputTypeDef#

# DescribeBatchPredictionsOutputTypeDef definition

class DescribeBatchPredictionsOutputTypeDef(TypedDict):
    Results: List[BatchPredictionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See BatchPredictionTypeDef
  2. See ResponseMetadataTypeDef

CreateDataSourceFromS3InputRequestTypeDef#

# CreateDataSourceFromS3InputRequestTypeDef definition

class CreateDataSourceFromS3InputRequestTypeDef(TypedDict):
    DataSourceId: str,
    DataSpec: S3DataSpecTypeDef,  # (1)
    DataSourceName: NotRequired[str],
    ComputeStatistics: NotRequired[bool],
  1. See S3DataSpecTypeDef

CreateRealtimeEndpointOutputTypeDef#

# CreateRealtimeEndpointOutputTypeDef definition

class CreateRealtimeEndpointOutputTypeDef(TypedDict):
    MLModelId: str,
    RealtimeEndpointInfo: RealtimeEndpointInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RealtimeEndpointInfoTypeDef
  2. See ResponseMetadataTypeDef

DeleteRealtimeEndpointOutputTypeDef#

# DeleteRealtimeEndpointOutputTypeDef definition

class DeleteRealtimeEndpointOutputTypeDef(TypedDict):
    MLModelId: str,
    RealtimeEndpointInfo: RealtimeEndpointInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RealtimeEndpointInfoTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See EntityStatusType
  2. See RealtimeEndpointInfoTypeDef
  3. See MLModelTypeType
  4. 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],
  1. See EntityStatusType
  2. See RealtimeEndpointInfoTypeDef
  3. See AlgorithmType
  4. 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)
  1. See BatchPredictionFilterVariableType
  2. See SortOrderType
  3. See WaiterConfigTypeDef

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)
  1. See DataSourceFilterVariableType
  2. See SortOrderType
  3. See WaiterConfigTypeDef

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)
  1. See EvaluationFilterVariableType
  2. See SortOrderType
  3. See WaiterConfigTypeDef

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)
  1. See MLModelFilterVariableType
  2. See SortOrderType
  3. See WaiterConfigTypeDef

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)
  1. See BatchPredictionFilterVariableType
  2. See SortOrderType
  3. See PaginatorConfigTypeDef

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)
  1. See DataSourceFilterVariableType
  2. See SortOrderType
  3. See PaginatorConfigTypeDef

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)
  1. See EvaluationFilterVariableType
  2. See SortOrderType
  3. See PaginatorConfigTypeDef

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)
  1. See MLModelFilterVariableType
  2. See SortOrderType
  3. See PaginatorConfigTypeDef

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],
  1. See EntityStatusType
  2. See PerformanceMetricsTypeDef

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)
  1. See EntityStatusType
  2. See PerformanceMetricsTypeDef
  3. See ResponseMetadataTypeDef

PredictOutputTypeDef#

# PredictOutputTypeDef definition

class PredictOutputTypeDef(TypedDict):
    Prediction: PredictionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PredictionTypeDef
  2. See ResponseMetadataTypeDef

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],
  1. See RDSDatabaseTypeDef
  2. See RDSDatabaseCredentialsTypeDef

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],
  1. See RDSDatabaseTypeDef

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],
  1. See RedshiftDatabaseTypeDef
  2. See RedshiftDatabaseCredentialsTypeDef

RedshiftMetadataTypeDef#

# RedshiftMetadataTypeDef definition

class RedshiftMetadataTypeDef(TypedDict):
    RedshiftDatabase: NotRequired[RedshiftDatabaseTypeDef],  # (1)
    DatabaseUserName: NotRequired[str],
    SelectSqlQuery: NotRequired[str],
  1. See RedshiftDatabaseTypeDef

DescribeMLModelsOutputTypeDef#

# DescribeMLModelsOutputTypeDef definition

class DescribeMLModelsOutputTypeDef(TypedDict):
    Results: List[MLModelTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See MLModelTypeDef
  2. See ResponseMetadataTypeDef

DescribeEvaluationsOutputTypeDef#

# DescribeEvaluationsOutputTypeDef definition

class DescribeEvaluationsOutputTypeDef(TypedDict):
    Results: List[EvaluationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See EvaluationTypeDef
  2. See ResponseMetadataTypeDef

CreateDataSourceFromRDSInputRequestTypeDef#

# CreateDataSourceFromRDSInputRequestTypeDef definition

class CreateDataSourceFromRDSInputRequestTypeDef(TypedDict):
    DataSourceId: str,
    RDSData: RDSDataSpecTypeDef,  # (1)
    RoleARN: str,
    DataSourceName: NotRequired[str],
    ComputeStatistics: NotRequired[bool],
  1. See RDSDataSpecTypeDef

CreateDataSourceFromRedshiftInputRequestTypeDef#

# CreateDataSourceFromRedshiftInputRequestTypeDef definition

class CreateDataSourceFromRedshiftInputRequestTypeDef(TypedDict):
    DataSourceId: str,
    DataSpec: RedshiftDataSpecTypeDef,  # (1)
    RoleARN: str,
    DataSourceName: NotRequired[str],
    ComputeStatistics: NotRequired[bool],
  1. See RedshiftDataSpecTypeDef

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],
  1. See EntityStatusType
  2. See RedshiftMetadataTypeDef
  3. See RDSMetadataTypeDef

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)
  1. See EntityStatusType
  2. See RedshiftMetadataTypeDef
  3. See RDSMetadataTypeDef
  4. See ResponseMetadataTypeDef

DescribeDataSourcesOutputTypeDef#

# DescribeDataSourcesOutputTypeDef definition

class DescribeDataSourcesOutputTypeDef(TypedDict):
    Results: List[DataSourceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DataSourceTypeDef
  2. See ResponseMetadataTypeDef