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