Skip to content

Typed dictionaries

Index > MachineLearning > Typed dictionaries

Auto-generated documentation for MachineLearning type annotations stubs module mypy-boto3-machinelearning.

TagTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

BatchPredictionTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import BatchPredictionTypeDef

def get_value() -> BatchPredictionTypeDef:
    return {
        "BatchPredictionId": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateBatchPredictionInputRequestTypeDef

def get_value() -> CreateBatchPredictionInputRequestTypeDef:
    return {
        "BatchPredictionId": ...,
        "MLModelId": ...,
        "BatchPredictionDataSourceId": ...,
        "OutputUri": ...,
    }
Definition
class CreateBatchPredictionInputRequestTypeDef(TypedDict):
    BatchPredictionId: str,
    MLModelId: str,
    BatchPredictionDataSourceId: str,
    OutputUri: str,
    BatchPredictionName: NotRequired[str],

S3DataSpecTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import S3DataSpecTypeDef

def get_value() -> S3DataSpecTypeDef:
    return {
        "DataLocationS3": ...,
    }
Definition
class S3DataSpecTypeDef(TypedDict):
    DataLocationS3: str,
    DataRearrangement: NotRequired[str],
    DataSchema: NotRequired[str],
    DataSchemaLocationS3: NotRequired[str],

CreateEvaluationInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateEvaluationInputRequestTypeDef

def get_value() -> CreateEvaluationInputRequestTypeDef:
    return {
        "EvaluationId": ...,
        "MLModelId": ...,
        "EvaluationDataSourceId": ...,
    }
Definition
class CreateEvaluationInputRequestTypeDef(TypedDict):
    EvaluationId: str,
    MLModelId: str,
    EvaluationDataSourceId: str,
    EvaluationName: NotRequired[str],

CreateMLModelInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateMLModelInputRequestTypeDef

def get_value() -> CreateMLModelInputRequestTypeDef:
    return {
        "MLModelId": ...,
        "MLModelType": ...,
        "TrainingDataSourceId": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateRealtimeEndpointInputRequestTypeDef

def get_value() -> CreateRealtimeEndpointInputRequestTypeDef:
    return {
        "MLModelId": ...,
    }
Definition
class CreateRealtimeEndpointInputRequestTypeDef(TypedDict):
    MLModelId: str,

RealtimeEndpointInfoTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import RealtimeEndpointInfoTypeDef

def get_value() -> RealtimeEndpointInfoTypeDef:
    return {
        "PeakRequestsPerSecond": ...,
    }
Definition
class RealtimeEndpointInfoTypeDef(TypedDict):
    PeakRequestsPerSecond: NotRequired[int],
    CreatedAt: NotRequired[datetime],
    EndpointUrl: NotRequired[str],
    EndpointStatus: NotRequired[RealtimeEndpointStatusType],  # (1)
  1. See RealtimeEndpointStatusType

DeleteBatchPredictionInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteBatchPredictionInputRequestTypeDef

def get_value() -> DeleteBatchPredictionInputRequestTypeDef:
    return {
        "BatchPredictionId": ...,
    }
Definition
class DeleteBatchPredictionInputRequestTypeDef(TypedDict):
    BatchPredictionId: str,

DeleteDataSourceInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteDataSourceInputRequestTypeDef

def get_value() -> DeleteDataSourceInputRequestTypeDef:
    return {
        "DataSourceId": ...,
    }
Definition
class DeleteDataSourceInputRequestTypeDef(TypedDict):
    DataSourceId: str,

DeleteEvaluationInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteEvaluationInputRequestTypeDef

def get_value() -> DeleteEvaluationInputRequestTypeDef:
    return {
        "EvaluationId": ...,
    }
Definition
class DeleteEvaluationInputRequestTypeDef(TypedDict):
    EvaluationId: str,

DeleteMLModelInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteMLModelInputRequestTypeDef

def get_value() -> DeleteMLModelInputRequestTypeDef:
    return {
        "MLModelId": ...,
    }
Definition
class DeleteMLModelInputRequestTypeDef(TypedDict):
    MLModelId: str,

DeleteRealtimeEndpointInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteRealtimeEndpointInputRequestTypeDef

def get_value() -> DeleteRealtimeEndpointInputRequestTypeDef:
    return {
        "MLModelId": ...,
    }
Definition
class DeleteRealtimeEndpointInputRequestTypeDef(TypedDict):
    MLModelId: str,

DeleteTagsInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteTagsInputRequestTypeDef

def get_value() -> DeleteTagsInputRequestTypeDef:
    return {
        "TagKeys": ...,
        "ResourceId": ...,
        "ResourceType": ...,
    }
Definition
class DeleteTagsInputRequestTypeDef(TypedDict):
    TagKeys: Sequence[str],
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (1)
  1. See TaggableResourceTypeType

WaiterConfigTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
Definition
class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeBatchPredictionsInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeBatchPredictionsInputRequestTypeDef

def get_value() -> DescribeBatchPredictionsInputRequestTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeDataSourcesInputRequestTypeDef

def get_value() -> DescribeDataSourcesInputRequestTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeEvaluationsInputRequestTypeDef

def get_value() -> DescribeEvaluationsInputRequestTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeMLModelsInputRequestTypeDef

def get_value() -> DescribeMLModelsInputRequestTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeTagsInputRequestTypeDef

def get_value() -> DescribeTagsInputRequestTypeDef:
    return {
        "ResourceId": ...,
        "ResourceType": ...,
    }
Definition
class DescribeTagsInputRequestTypeDef(TypedDict):
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (1)
  1. See TaggableResourceTypeType

PerformanceMetricsTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import PerformanceMetricsTypeDef

def get_value() -> PerformanceMetricsTypeDef:
    return {
        "Properties": ...,
    }
Definition
class PerformanceMetricsTypeDef(TypedDict):
    Properties: NotRequired[Dict[str, str]],

GetBatchPredictionInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import GetBatchPredictionInputRequestTypeDef

def get_value() -> GetBatchPredictionInputRequestTypeDef:
    return {
        "BatchPredictionId": ...,
    }
Definition
class GetBatchPredictionInputRequestTypeDef(TypedDict):
    BatchPredictionId: str,

GetDataSourceInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import GetDataSourceInputRequestTypeDef

def get_value() -> GetDataSourceInputRequestTypeDef:
    return {
        "DataSourceId": ...,
    }
Definition
class GetDataSourceInputRequestTypeDef(TypedDict):
    DataSourceId: str,
    Verbose: NotRequired[bool],

GetEvaluationInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import GetEvaluationInputRequestTypeDef

def get_value() -> GetEvaluationInputRequestTypeDef:
    return {
        "EvaluationId": ...,
    }
Definition
class GetEvaluationInputRequestTypeDef(TypedDict):
    EvaluationId: str,

GetMLModelInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import GetMLModelInputRequestTypeDef

def get_value() -> GetMLModelInputRequestTypeDef:
    return {
        "MLModelId": ...,
    }
Definition
class GetMLModelInputRequestTypeDef(TypedDict):
    MLModelId: str,
    Verbose: NotRequired[bool],

PredictInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import PredictInputRequestTypeDef

def get_value() -> PredictInputRequestTypeDef:
    return {
        "MLModelId": ...,
        "Record": ...,
        "PredictEndpoint": ...,
    }
Definition
class PredictInputRequestTypeDef(TypedDict):
    MLModelId: str,
    Record: Mapping[str, str],
    PredictEndpoint: str,

PredictionTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import PredictionTypeDef

def get_value() -> PredictionTypeDef:
    return {
        "predictedLabel": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import RDSDatabaseCredentialsTypeDef

def get_value() -> RDSDatabaseCredentialsTypeDef:
    return {
        "Username": ...,
        "Password": ...,
    }
Definition
class RDSDatabaseCredentialsTypeDef(TypedDict):
    Username: str,
    Password: str,

RDSDatabaseTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import RDSDatabaseTypeDef

def get_value() -> RDSDatabaseTypeDef:
    return {
        "InstanceIdentifier": ...,
        "DatabaseName": ...,
    }
Definition
class RDSDatabaseTypeDef(TypedDict):
    InstanceIdentifier: str,
    DatabaseName: str,

RedshiftDatabaseCredentialsTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import RedshiftDatabaseCredentialsTypeDef

def get_value() -> RedshiftDatabaseCredentialsTypeDef:
    return {
        "Username": ...,
        "Password": ...,
    }
Definition
class RedshiftDatabaseCredentialsTypeDef(TypedDict):
    Username: str,
    Password: str,

RedshiftDatabaseTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import RedshiftDatabaseTypeDef

def get_value() -> RedshiftDatabaseTypeDef:
    return {
        "DatabaseName": ...,
        "ClusterIdentifier": ...,
    }
Definition
class RedshiftDatabaseTypeDef(TypedDict):
    DatabaseName: str,
    ClusterIdentifier: str,

UpdateBatchPredictionInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import UpdateBatchPredictionInputRequestTypeDef

def get_value() -> UpdateBatchPredictionInputRequestTypeDef:
    return {
        "BatchPredictionId": ...,
        "BatchPredictionName": ...,
    }
Definition
class UpdateBatchPredictionInputRequestTypeDef(TypedDict):
    BatchPredictionId: str,
    BatchPredictionName: str,

UpdateDataSourceInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import UpdateDataSourceInputRequestTypeDef

def get_value() -> UpdateDataSourceInputRequestTypeDef:
    return {
        "DataSourceId": ...,
        "DataSourceName": ...,
    }
Definition
class UpdateDataSourceInputRequestTypeDef(TypedDict):
    DataSourceId: str,
    DataSourceName: str,

UpdateEvaluationInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import UpdateEvaluationInputRequestTypeDef

def get_value() -> UpdateEvaluationInputRequestTypeDef:
    return {
        "EvaluationId": ...,
        "EvaluationName": ...,
    }
Definition
class UpdateEvaluationInputRequestTypeDef(TypedDict):
    EvaluationId: str,
    EvaluationName: str,

UpdateMLModelInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import UpdateMLModelInputRequestTypeDef

def get_value() -> UpdateMLModelInputRequestTypeDef:
    return {
        "MLModelId": ...,
    }
Definition
class UpdateMLModelInputRequestTypeDef(TypedDict):
    MLModelId: str,
    MLModelName: NotRequired[str],
    ScoreThreshold: NotRequired[float],

AddTagsInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import AddTagsInputRequestTypeDef

def get_value() -> AddTagsInputRequestTypeDef:
    return {
        "Tags": ...,
        "ResourceId": ...,
        "ResourceType": ...,
    }
Definition
class AddTagsInputRequestTypeDef(TypedDict):
    Tags: Sequence[TagTypeDef],  # (1)
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (2)
  1. See TagTypeDef
  2. See TaggableResourceTypeType

AddTagsOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import AddTagsOutputTypeDef

def get_value() -> AddTagsOutputTypeDef:
    return {
        "ResourceId": ...,
        "ResourceType": ...,
        "ResponseMetadata": ...,
    }
Definition
class AddTagsOutputTypeDef(TypedDict):
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaggableResourceTypeType
  2. See ResponseMetadataTypeDef

CreateBatchPredictionOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateBatchPredictionOutputTypeDef

def get_value() -> CreateBatchPredictionOutputTypeDef:
    return {
        "BatchPredictionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateBatchPredictionOutputTypeDef(TypedDict):
    BatchPredictionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDataSourceFromRDSOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromRDSOutputTypeDef

def get_value() -> CreateDataSourceFromRDSOutputTypeDef:
    return {
        "DataSourceId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDataSourceFromRDSOutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDataSourceFromRedshiftOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromRedshiftOutputTypeDef

def get_value() -> CreateDataSourceFromRedshiftOutputTypeDef:
    return {
        "DataSourceId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDataSourceFromRedshiftOutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDataSourceFromS3OutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromS3OutputTypeDef

def get_value() -> CreateDataSourceFromS3OutputTypeDef:
    return {
        "DataSourceId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDataSourceFromS3OutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateEvaluationOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateEvaluationOutputTypeDef

def get_value() -> CreateEvaluationOutputTypeDef:
    return {
        "EvaluationId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateEvaluationOutputTypeDef(TypedDict):
    EvaluationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateMLModelOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateMLModelOutputTypeDef

def get_value() -> CreateMLModelOutputTypeDef:
    return {
        "MLModelId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateMLModelOutputTypeDef(TypedDict):
    MLModelId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteBatchPredictionOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteBatchPredictionOutputTypeDef

def get_value() -> DeleteBatchPredictionOutputTypeDef:
    return {
        "BatchPredictionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteBatchPredictionOutputTypeDef(TypedDict):
    BatchPredictionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteDataSourceOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteDataSourceOutputTypeDef

def get_value() -> DeleteDataSourceOutputTypeDef:
    return {
        "DataSourceId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteDataSourceOutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteEvaluationOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteEvaluationOutputTypeDef

def get_value() -> DeleteEvaluationOutputTypeDef:
    return {
        "EvaluationId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteEvaluationOutputTypeDef(TypedDict):
    EvaluationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteMLModelOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteMLModelOutputTypeDef

def get_value() -> DeleteMLModelOutputTypeDef:
    return {
        "MLModelId": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteMLModelOutputTypeDef(TypedDict):
    MLModelId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteTagsOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteTagsOutputTypeDef

def get_value() -> DeleteTagsOutputTypeDef:
    return {
        "ResourceId": ...,
        "ResourceType": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTagsOutputTypeDef(TypedDict):
    ResourceId: str,
    ResourceType: TaggableResourceTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaggableResourceTypeType
  2. See ResponseMetadataTypeDef

DescribeTagsOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeTagsOutputTypeDef

def get_value() -> DescribeTagsOutputTypeDef:
    return {
        "ResourceId": ...,
        "ResourceType": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import GetBatchPredictionOutputTypeDef

def get_value() -> GetBatchPredictionOutputTypeDef:
    return {
        "BatchPredictionId": ...,
        "MLModelId": ...,
        "BatchPredictionDataSourceId": ...,
        "InputDataLocationS3": ...,
        "CreatedByIamUser": ...,
        "CreatedAt": ...,
        "LastUpdatedAt": ...,
        "Name": ...,
        "Status": ...,
        "OutputUri": ...,
        "LogUri": ...,
        "Message": ...,
        "ComputeTime": ...,
        "FinishedAt": ...,
        "StartedAt": ...,
        "TotalRecordCount": ...,
        "InvalidRecordCount": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import UpdateBatchPredictionOutputTypeDef

def get_value() -> UpdateBatchPredictionOutputTypeDef:
    return {
        "BatchPredictionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateBatchPredictionOutputTypeDef(TypedDict):
    BatchPredictionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateDataSourceOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import UpdateDataSourceOutputTypeDef

def get_value() -> UpdateDataSourceOutputTypeDef:
    return {
        "DataSourceId": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateDataSourceOutputTypeDef(TypedDict):
    DataSourceId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateEvaluationOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import UpdateEvaluationOutputTypeDef

def get_value() -> UpdateEvaluationOutputTypeDef:
    return {
        "EvaluationId": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateEvaluationOutputTypeDef(TypedDict):
    EvaluationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateMLModelOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import UpdateMLModelOutputTypeDef

def get_value() -> UpdateMLModelOutputTypeDef:
    return {
        "MLModelId": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateMLModelOutputTypeDef(TypedDict):
    MLModelId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeBatchPredictionsOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeBatchPredictionsOutputTypeDef

def get_value() -> DescribeBatchPredictionsOutputTypeDef:
    return {
        "Results": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeBatchPredictionsOutputTypeDef(TypedDict):
    Results: List[BatchPredictionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchPredictionTypeDef
  2. See ResponseMetadataTypeDef

CreateDataSourceFromS3InputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromS3InputRequestTypeDef

def get_value() -> CreateDataSourceFromS3InputRequestTypeDef:
    return {
        "DataSourceId": ...,
        "DataSpec": ...,
    }
Definition
class CreateDataSourceFromS3InputRequestTypeDef(TypedDict):
    DataSourceId: str,
    DataSpec: S3DataSpecTypeDef,  # (1)
    DataSourceName: NotRequired[str],
    ComputeStatistics: NotRequired[bool],
  1. See S3DataSpecTypeDef

CreateRealtimeEndpointOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateRealtimeEndpointOutputTypeDef

def get_value() -> CreateRealtimeEndpointOutputTypeDef:
    return {
        "MLModelId": ...,
        "RealtimeEndpointInfo": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateRealtimeEndpointOutputTypeDef(TypedDict):
    MLModelId: str,
    RealtimeEndpointInfo: RealtimeEndpointInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RealtimeEndpointInfoTypeDef
  2. See ResponseMetadataTypeDef

DeleteRealtimeEndpointOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DeleteRealtimeEndpointOutputTypeDef

def get_value() -> DeleteRealtimeEndpointOutputTypeDef:
    return {
        "MLModelId": ...,
        "RealtimeEndpointInfo": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRealtimeEndpointOutputTypeDef(TypedDict):
    MLModelId: str,
    RealtimeEndpointInfo: RealtimeEndpointInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RealtimeEndpointInfoTypeDef
  2. See ResponseMetadataTypeDef

GetMLModelOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import GetMLModelOutputTypeDef

def get_value() -> GetMLModelOutputTypeDef:
    return {
        "MLModelId": ...,
        "TrainingDataSourceId": ...,
        "CreatedByIamUser": ...,
        "CreatedAt": ...,
        "LastUpdatedAt": ...,
        "Name": ...,
        "Status": ...,
        "SizeInBytes": ...,
        "EndpointInfo": ...,
        "TrainingParameters": ...,
        "InputDataLocationS3": ...,
        "MLModelType": ...,
        "ScoreThreshold": ...,
        "ScoreThresholdLastUpdatedAt": ...,
        "LogUri": ...,
        "Message": ...,
        "ComputeTime": ...,
        "FinishedAt": ...,
        "StartedAt": ...,
        "Recipe": ...,
        "Schema": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import MLModelTypeDef

def get_value() -> MLModelTypeDef:
    return {
        "MLModelId": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeBatchPredictionsInputBatchPredictionAvailableWaitTypeDef

def get_value() -> DescribeBatchPredictionsInputBatchPredictionAvailableWaitTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeDataSourcesInputDataSourceAvailableWaitTypeDef

def get_value() -> DescribeDataSourcesInputDataSourceAvailableWaitTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeEvaluationsInputEvaluationAvailableWaitTypeDef

def get_value() -> DescribeEvaluationsInputEvaluationAvailableWaitTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeMLModelsInputMLModelAvailableWaitTypeDef

def get_value() -> DescribeMLModelsInputMLModelAvailableWaitTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef

def get_value() -> DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef

def get_value() -> DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef

def get_value() -> DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeMLModelsInputDescribeMLModelsPaginateTypeDef

def get_value() -> DescribeMLModelsInputDescribeMLModelsPaginateTypeDef:
    return {
        "FilterVariable": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import EvaluationTypeDef

def get_value() -> EvaluationTypeDef:
    return {
        "EvaluationId": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import GetEvaluationOutputTypeDef

def get_value() -> GetEvaluationOutputTypeDef:
    return {
        "EvaluationId": ...,
        "MLModelId": ...,
        "EvaluationDataSourceId": ...,
        "InputDataLocationS3": ...,
        "CreatedByIamUser": ...,
        "CreatedAt": ...,
        "LastUpdatedAt": ...,
        "Name": ...,
        "Status": ...,
        "PerformanceMetrics": ...,
        "LogUri": ...,
        "Message": ...,
        "ComputeTime": ...,
        "FinishedAt": ...,
        "StartedAt": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import PredictOutputTypeDef

def get_value() -> PredictOutputTypeDef:
    return {
        "Prediction": ...,
        "ResponseMetadata": ...,
    }
Definition
class PredictOutputTypeDef(TypedDict):
    Prediction: PredictionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PredictionTypeDef
  2. See ResponseMetadataTypeDef

RDSDataSpecTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import RDSDataSpecTypeDef

def get_value() -> RDSDataSpecTypeDef:
    return {
        "DatabaseInformation": ...,
        "SelectSqlQuery": ...,
        "DatabaseCredentials": ...,
        "S3StagingLocation": ...,
        "ResourceRole": ...,
        "ServiceRole": ...,
        "SubnetId": ...,
        "SecurityGroupIds": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import RDSMetadataTypeDef

def get_value() -> RDSMetadataTypeDef:
    return {
        "Database": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import RedshiftDataSpecTypeDef

def get_value() -> RedshiftDataSpecTypeDef:
    return {
        "DatabaseInformation": ...,
        "SelectSqlQuery": ...,
        "DatabaseCredentials": ...,
        "S3StagingLocation": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import RedshiftMetadataTypeDef

def get_value() -> RedshiftMetadataTypeDef:
    return {
        "RedshiftDatabase": ...,
    }
Definition
class RedshiftMetadataTypeDef(TypedDict):
    RedshiftDatabase: NotRequired[RedshiftDatabaseTypeDef],  # (1)
    DatabaseUserName: NotRequired[str],
    SelectSqlQuery: NotRequired[str],
  1. See RedshiftDatabaseTypeDef

DescribeMLModelsOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeMLModelsOutputTypeDef

def get_value() -> DescribeMLModelsOutputTypeDef:
    return {
        "Results": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeMLModelsOutputTypeDef(TypedDict):
    Results: List[MLModelTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MLModelTypeDef
  2. See ResponseMetadataTypeDef

DescribeEvaluationsOutputTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeEvaluationsOutputTypeDef

def get_value() -> DescribeEvaluationsOutputTypeDef:
    return {
        "Results": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeEvaluationsOutputTypeDef(TypedDict):
    Results: List[EvaluationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EvaluationTypeDef
  2. See ResponseMetadataTypeDef

CreateDataSourceFromRDSInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromRDSInputRequestTypeDef

def get_value() -> CreateDataSourceFromRDSInputRequestTypeDef:
    return {
        "DataSourceId": ...,
        "RDSData": ...,
        "RoleARN": ...,
    }
Definition
class CreateDataSourceFromRDSInputRequestTypeDef(TypedDict):
    DataSourceId: str,
    RDSData: RDSDataSpecTypeDef,  # (1)
    RoleARN: str,
    DataSourceName: NotRequired[str],
    ComputeStatistics: NotRequired[bool],
  1. See RDSDataSpecTypeDef

CreateDataSourceFromRedshiftInputRequestTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromRedshiftInputRequestTypeDef

def get_value() -> CreateDataSourceFromRedshiftInputRequestTypeDef:
    return {
        "DataSourceId": ...,
        "DataSpec": ...,
        "RoleARN": ...,
    }
Definition
class CreateDataSourceFromRedshiftInputRequestTypeDef(TypedDict):
    DataSourceId: str,
    DataSpec: RedshiftDataSpecTypeDef,  # (1)
    RoleARN: str,
    DataSourceName: NotRequired[str],
    ComputeStatistics: NotRequired[bool],
  1. See RedshiftDataSpecTypeDef

DataSourceTypeDef

Usage Example
from mypy_boto3_machinelearning.type_defs import DataSourceTypeDef

def get_value() -> DataSourceTypeDef:
    return {
        "DataSourceId": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import GetDataSourceOutputTypeDef

def get_value() -> GetDataSourceOutputTypeDef:
    return {
        "DataSourceId": ...,
        "DataLocationS3": ...,
        "DataRearrangement": ...,
        "CreatedByIamUser": ...,
        "CreatedAt": ...,
        "LastUpdatedAt": ...,
        "DataSizeInBytes": ...,
        "NumberOfFiles": ...,
        "Name": ...,
        "Status": ...,
        "LogUri": ...,
        "Message": ...,
        "RedshiftMetadata": ...,
        "RDSMetadata": ...,
        "RoleARN": ...,
        "ComputeStatistics": ...,
        "ComputeTime": ...,
        "FinishedAt": ...,
        "StartedAt": ...,
        "DataSourceSchema": ...,
        "ResponseMetadata": ...,
    }
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

Usage Example
from mypy_boto3_machinelearning.type_defs import DescribeDataSourcesOutputTypeDef

def get_value() -> DescribeDataSourcesOutputTypeDef:
    return {
        "Results": ...,
        "NextToken": ...,
        "ResponseMetadata":