Typed dictionaries#
Index > MachineLearning > Typed dictionaries
Auto-generated documentation for MachineLearning type annotations stubs module mypy-boto3-machinelearning.
TagTypeDef#
# TagTypeDef usage example
from mypy_boto3_machinelearning.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
AddTagsOutputTypeDef#
# AddTagsOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import AddTagsOutputTypeDef
def get_value() -> AddTagsOutputTypeDef:
return {
"ResourceId": ...,
"ResourceType": ...,
"ResponseMetadata": ...,
}
# AddTagsOutputTypeDef definition
class AddTagsOutputTypeDef(TypedDict):
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchPredictionTypeDef#
# BatchPredictionTypeDef usage example
from mypy_boto3_machinelearning.type_defs import BatchPredictionTypeDef
def get_value() -> BatchPredictionTypeDef:
return {
"BatchPredictionId": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import CreateBatchPredictionInputRequestTypeDef
def get_value() -> CreateBatchPredictionInputRequestTypeDef:
return {
"BatchPredictionId": ...,
"MLModelId": ...,
"BatchPredictionDataSourceId": ...,
"OutputUri": ...,
}
# CreateBatchPredictionInputRequestTypeDef definition
class CreateBatchPredictionInputRequestTypeDef(TypedDict):
BatchPredictionId: str,
MLModelId: str,
BatchPredictionDataSourceId: str,
OutputUri: str,
BatchPredictionName: NotRequired[str],
CreateBatchPredictionOutputTypeDef#
# CreateBatchPredictionOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateBatchPredictionOutputTypeDef
def get_value() -> CreateBatchPredictionOutputTypeDef:
return {
"BatchPredictionId": ...,
"ResponseMetadata": ...,
}
# CreateBatchPredictionOutputTypeDef definition
class CreateBatchPredictionOutputTypeDef(TypedDict):
BatchPredictionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDataSourceFromRDSOutputTypeDef#
# CreateDataSourceFromRDSOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromRDSOutputTypeDef
def get_value() -> CreateDataSourceFromRDSOutputTypeDef:
return {
"DataSourceId": ...,
"ResponseMetadata": ...,
}
# CreateDataSourceFromRDSOutputTypeDef definition
class CreateDataSourceFromRDSOutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDataSourceFromRedshiftOutputTypeDef#
# CreateDataSourceFromRedshiftOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromRedshiftOutputTypeDef
def get_value() -> CreateDataSourceFromRedshiftOutputTypeDef:
return {
"DataSourceId": ...,
"ResponseMetadata": ...,
}
# CreateDataSourceFromRedshiftOutputTypeDef definition
class CreateDataSourceFromRedshiftOutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
S3DataSpecTypeDef#
# S3DataSpecTypeDef usage example
from mypy_boto3_machinelearning.type_defs import S3DataSpecTypeDef
def get_value() -> S3DataSpecTypeDef:
return {
"DataLocationS3": ...,
}
# S3DataSpecTypeDef definition
class S3DataSpecTypeDef(TypedDict):
DataLocationS3: str,
DataRearrangement: NotRequired[str],
DataSchema: NotRequired[str],
DataSchemaLocationS3: NotRequired[str],
CreateDataSourceFromS3OutputTypeDef#
# CreateDataSourceFromS3OutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromS3OutputTypeDef
def get_value() -> CreateDataSourceFromS3OutputTypeDef:
return {
"DataSourceId": ...,
"ResponseMetadata": ...,
}
# CreateDataSourceFromS3OutputTypeDef definition
class CreateDataSourceFromS3OutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateEvaluationInputRequestTypeDef#
# CreateEvaluationInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateEvaluationInputRequestTypeDef
def get_value() -> CreateEvaluationInputRequestTypeDef:
return {
"EvaluationId": ...,
"MLModelId": ...,
"EvaluationDataSourceId": ...,
}
# CreateEvaluationInputRequestTypeDef definition
class CreateEvaluationInputRequestTypeDef(TypedDict):
EvaluationId: str,
MLModelId: str,
EvaluationDataSourceId: str,
EvaluationName: NotRequired[str],
CreateEvaluationOutputTypeDef#
# CreateEvaluationOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateEvaluationOutputTypeDef
def get_value() -> CreateEvaluationOutputTypeDef:
return {
"EvaluationId": ...,
"ResponseMetadata": ...,
}
# CreateEvaluationOutputTypeDef definition
class CreateEvaluationOutputTypeDef(TypedDict):
EvaluationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateMLModelInputRequestTypeDef#
# CreateMLModelInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateMLModelInputRequestTypeDef
def get_value() -> CreateMLModelInputRequestTypeDef:
return {
"MLModelId": ...,
"MLModelType": ...,
"TrainingDataSourceId": ...,
}
# 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
CreateMLModelOutputTypeDef#
# CreateMLModelOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateMLModelOutputTypeDef
def get_value() -> CreateMLModelOutputTypeDef:
return {
"MLModelId": ...,
"ResponseMetadata": ...,
}
# CreateMLModelOutputTypeDef definition
class CreateMLModelOutputTypeDef(TypedDict):
MLModelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateRealtimeEndpointInputRequestTypeDef#
# CreateRealtimeEndpointInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateRealtimeEndpointInputRequestTypeDef
def get_value() -> CreateRealtimeEndpointInputRequestTypeDef:
return {
"MLModelId": ...,
}
# CreateRealtimeEndpointInputRequestTypeDef definition
class CreateRealtimeEndpointInputRequestTypeDef(TypedDict):
MLModelId: str,
RealtimeEndpointInfoTypeDef#
# RealtimeEndpointInfoTypeDef usage example
from mypy_boto3_machinelearning.type_defs import RealtimeEndpointInfoTypeDef
def get_value() -> RealtimeEndpointInfoTypeDef:
return {
"PeakRequestsPerSecond": ...,
}
# RealtimeEndpointInfoTypeDef definition
class RealtimeEndpointInfoTypeDef(TypedDict):
PeakRequestsPerSecond: NotRequired[int],
CreatedAt: NotRequired[datetime],
EndpointUrl: NotRequired[str],
EndpointStatus: NotRequired[RealtimeEndpointStatusType], # (1)
DeleteBatchPredictionInputRequestTypeDef#
# DeleteBatchPredictionInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteBatchPredictionInputRequestTypeDef
def get_value() -> DeleteBatchPredictionInputRequestTypeDef:
return {
"BatchPredictionId": ...,
}
# DeleteBatchPredictionInputRequestTypeDef definition
class DeleteBatchPredictionInputRequestTypeDef(TypedDict):
BatchPredictionId: str,
DeleteBatchPredictionOutputTypeDef#
# DeleteBatchPredictionOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteBatchPredictionOutputTypeDef
def get_value() -> DeleteBatchPredictionOutputTypeDef:
return {
"BatchPredictionId": ...,
"ResponseMetadata": ...,
}
# DeleteBatchPredictionOutputTypeDef definition
class DeleteBatchPredictionOutputTypeDef(TypedDict):
BatchPredictionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteDataSourceInputRequestTypeDef#
# DeleteDataSourceInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteDataSourceInputRequestTypeDef
def get_value() -> DeleteDataSourceInputRequestTypeDef:
return {
"DataSourceId": ...,
}
# DeleteDataSourceInputRequestTypeDef definition
class DeleteDataSourceInputRequestTypeDef(TypedDict):
DataSourceId: str,
DeleteDataSourceOutputTypeDef#
# DeleteDataSourceOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteDataSourceOutputTypeDef
def get_value() -> DeleteDataSourceOutputTypeDef:
return {
"DataSourceId": ...,
"ResponseMetadata": ...,
}
# DeleteDataSourceOutputTypeDef definition
class DeleteDataSourceOutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteEvaluationInputRequestTypeDef#
# DeleteEvaluationInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteEvaluationInputRequestTypeDef
def get_value() -> DeleteEvaluationInputRequestTypeDef:
return {
"EvaluationId": ...,
}
# DeleteEvaluationInputRequestTypeDef definition
class DeleteEvaluationInputRequestTypeDef(TypedDict):
EvaluationId: str,
DeleteEvaluationOutputTypeDef#
# DeleteEvaluationOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteEvaluationOutputTypeDef
def get_value() -> DeleteEvaluationOutputTypeDef:
return {
"EvaluationId": ...,
"ResponseMetadata": ...,
}
# DeleteEvaluationOutputTypeDef definition
class DeleteEvaluationOutputTypeDef(TypedDict):
EvaluationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteMLModelInputRequestTypeDef#
# DeleteMLModelInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteMLModelInputRequestTypeDef
def get_value() -> DeleteMLModelInputRequestTypeDef:
return {
"MLModelId": ...,
}
# DeleteMLModelInputRequestTypeDef definition
class DeleteMLModelInputRequestTypeDef(TypedDict):
MLModelId: str,
DeleteMLModelOutputTypeDef#
# DeleteMLModelOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteMLModelOutputTypeDef
def get_value() -> DeleteMLModelOutputTypeDef:
return {
"MLModelId": ...,
"ResponseMetadata": ...,
}
# DeleteMLModelOutputTypeDef definition
class DeleteMLModelOutputTypeDef(TypedDict):
MLModelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteRealtimeEndpointInputRequestTypeDef#
# DeleteRealtimeEndpointInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteRealtimeEndpointInputRequestTypeDef
def get_value() -> DeleteRealtimeEndpointInputRequestTypeDef:
return {
"MLModelId": ...,
}
# DeleteRealtimeEndpointInputRequestTypeDef definition
class DeleteRealtimeEndpointInputRequestTypeDef(TypedDict):
MLModelId: str,
DeleteTagsInputRequestTypeDef#
# DeleteTagsInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteTagsInputRequestTypeDef
def get_value() -> DeleteTagsInputRequestTypeDef:
return {
"TagKeys": ...,
"ResourceId": ...,
"ResourceType": ...,
}
# DeleteTagsInputRequestTypeDef definition
class DeleteTagsInputRequestTypeDef(TypedDict):
TagKeys: Sequence[str],
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
DeleteTagsOutputTypeDef#
# DeleteTagsOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteTagsOutputTypeDef
def get_value() -> DeleteTagsOutputTypeDef:
return {
"ResourceId": ...,
"ResourceType": ...,
"ResponseMetadata": ...,
}
# DeleteTagsOutputTypeDef definition
class DeleteTagsOutputTypeDef(TypedDict):
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
WaiterConfigTypeDef#
# WaiterConfigTypeDef usage example
from mypy_boto3_machinelearning.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef#
# DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef
def get_value() -> DescribeBatchPredictionsInputDescribeBatchPredictionsPaginateTypeDef:
return {
"FilterVariable": ...,
}
# 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)
DescribeBatchPredictionsInputRequestTypeDef#
# DescribeBatchPredictionsInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeBatchPredictionsInputRequestTypeDef
def get_value() -> DescribeBatchPredictionsInputRequestTypeDef:
return {
"FilterVariable": ...,
}
# 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],
DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef#
# DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef
def get_value() -> DescribeDataSourcesInputDescribeDataSourcesPaginateTypeDef:
return {
"FilterVariable": ...,
}
# 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)
DescribeDataSourcesInputRequestTypeDef#
# DescribeDataSourcesInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeDataSourcesInputRequestTypeDef
def get_value() -> DescribeDataSourcesInputRequestTypeDef:
return {
"FilterVariable": ...,
}
# 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],
DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef#
# DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef
def get_value() -> DescribeEvaluationsInputDescribeEvaluationsPaginateTypeDef:
return {
"FilterVariable": ...,
}
# 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)
DescribeEvaluationsInputRequestTypeDef#
# DescribeEvaluationsInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeEvaluationsInputRequestTypeDef
def get_value() -> DescribeEvaluationsInputRequestTypeDef:
return {
"FilterVariable": ...,
}
# 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],
DescribeMLModelsInputDescribeMLModelsPaginateTypeDef#
# DescribeMLModelsInputDescribeMLModelsPaginateTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeMLModelsInputDescribeMLModelsPaginateTypeDef
def get_value() -> DescribeMLModelsInputDescribeMLModelsPaginateTypeDef:
return {
"FilterVariable": ...,
}
# 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)
DescribeMLModelsInputRequestTypeDef#
# DescribeMLModelsInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeMLModelsInputRequestTypeDef
def get_value() -> DescribeMLModelsInputRequestTypeDef:
return {
"FilterVariable": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import DescribeTagsInputRequestTypeDef
def get_value() -> DescribeTagsInputRequestTypeDef:
return {
"ResourceId": ...,
"ResourceType": ...,
}
# DescribeTagsInputRequestTypeDef definition
class DescribeTagsInputRequestTypeDef(TypedDict):
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
PerformanceMetricsTypeDef#
# PerformanceMetricsTypeDef usage example
from mypy_boto3_machinelearning.type_defs import PerformanceMetricsTypeDef
def get_value() -> PerformanceMetricsTypeDef:
return {
"Properties": ...,
}
# PerformanceMetricsTypeDef definition
class PerformanceMetricsTypeDef(TypedDict):
Properties: NotRequired[Dict[str, str]],
GetBatchPredictionInputRequestTypeDef#
# GetBatchPredictionInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import GetBatchPredictionInputRequestTypeDef
def get_value() -> GetBatchPredictionInputRequestTypeDef:
return {
"BatchPredictionId": ...,
}
# GetBatchPredictionInputRequestTypeDef definition
class GetBatchPredictionInputRequestTypeDef(TypedDict):
BatchPredictionId: str,
GetBatchPredictionOutputTypeDef#
# 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": ...,
}
# 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)
GetDataSourceInputRequestTypeDef#
# GetDataSourceInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import GetDataSourceInputRequestTypeDef
def get_value() -> GetDataSourceInputRequestTypeDef:
return {
"DataSourceId": ...,
}
# GetDataSourceInputRequestTypeDef definition
class GetDataSourceInputRequestTypeDef(TypedDict):
DataSourceId: str,
Verbose: NotRequired[bool],
GetEvaluationInputRequestTypeDef#
# GetEvaluationInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import GetEvaluationInputRequestTypeDef
def get_value() -> GetEvaluationInputRequestTypeDef:
return {
"EvaluationId": ...,
}
# GetEvaluationInputRequestTypeDef definition
class GetEvaluationInputRequestTypeDef(TypedDict):
EvaluationId: str,
GetMLModelInputRequestTypeDef#
# GetMLModelInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import GetMLModelInputRequestTypeDef
def get_value() -> GetMLModelInputRequestTypeDef:
return {
"MLModelId": ...,
}
# GetMLModelInputRequestTypeDef definition
class GetMLModelInputRequestTypeDef(TypedDict):
MLModelId: str,
Verbose: NotRequired[bool],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef usage example
from mypy_boto3_machinelearning.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
PredictInputRequestTypeDef#
# PredictInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import PredictInputRequestTypeDef
def get_value() -> PredictInputRequestTypeDef:
return {
"MLModelId": ...,
"Record": ...,
"PredictEndpoint": ...,
}
# PredictInputRequestTypeDef definition
class PredictInputRequestTypeDef(TypedDict):
MLModelId: str,
Record: Mapping[str, str],
PredictEndpoint: str,
PredictionTypeDef#
# PredictionTypeDef usage example
from mypy_boto3_machinelearning.type_defs import PredictionTypeDef
def get_value() -> PredictionTypeDef:
return {
"predictedLabel": ...,
}
# PredictionTypeDef definition
class PredictionTypeDef(TypedDict):
predictedLabel: NotRequired[str],
predictedValue: NotRequired[float],
predictedScores: NotRequired[Dict[str, float]],
details: NotRequired[Dict[DetailsAttributesType, str]], # (1)
RDSDatabaseCredentialsTypeDef#
# RDSDatabaseCredentialsTypeDef usage example
from mypy_boto3_machinelearning.type_defs import RDSDatabaseCredentialsTypeDef
def get_value() -> RDSDatabaseCredentialsTypeDef:
return {
"Username": ...,
"Password": ...,
}
# RDSDatabaseCredentialsTypeDef definition
class RDSDatabaseCredentialsTypeDef(TypedDict):
Username: str,
Password: str,
RDSDatabaseTypeDef#
# RDSDatabaseTypeDef usage example
from mypy_boto3_machinelearning.type_defs import RDSDatabaseTypeDef
def get_value() -> RDSDatabaseTypeDef:
return {
"InstanceIdentifier": ...,
"DatabaseName": ...,
}
# RDSDatabaseTypeDef definition
class RDSDatabaseTypeDef(TypedDict):
InstanceIdentifier: str,
DatabaseName: str,
RedshiftDatabaseCredentialsTypeDef#
# RedshiftDatabaseCredentialsTypeDef usage example
from mypy_boto3_machinelearning.type_defs import RedshiftDatabaseCredentialsTypeDef
def get_value() -> RedshiftDatabaseCredentialsTypeDef:
return {
"Username": ...,
"Password": ...,
}
# RedshiftDatabaseCredentialsTypeDef definition
class RedshiftDatabaseCredentialsTypeDef(TypedDict):
Username: str,
Password: str,
RedshiftDatabaseTypeDef#
# RedshiftDatabaseTypeDef usage example
from mypy_boto3_machinelearning.type_defs import RedshiftDatabaseTypeDef
def get_value() -> RedshiftDatabaseTypeDef:
return {
"DatabaseName": ...,
"ClusterIdentifier": ...,
}
# RedshiftDatabaseTypeDef definition
class RedshiftDatabaseTypeDef(TypedDict):
DatabaseName: str,
ClusterIdentifier: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_machinelearning.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
UpdateBatchPredictionInputRequestTypeDef#
# UpdateBatchPredictionInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import UpdateBatchPredictionInputRequestTypeDef
def get_value() -> UpdateBatchPredictionInputRequestTypeDef:
return {
"BatchPredictionId": ...,
"BatchPredictionName": ...,
}
# UpdateBatchPredictionInputRequestTypeDef definition
class UpdateBatchPredictionInputRequestTypeDef(TypedDict):
BatchPredictionId: str,
BatchPredictionName: str,
UpdateBatchPredictionOutputTypeDef#
# UpdateBatchPredictionOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import UpdateBatchPredictionOutputTypeDef
def get_value() -> UpdateBatchPredictionOutputTypeDef:
return {
"BatchPredictionId": ...,
"ResponseMetadata": ...,
}
# UpdateBatchPredictionOutputTypeDef definition
class UpdateBatchPredictionOutputTypeDef(TypedDict):
BatchPredictionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateDataSourceInputRequestTypeDef#
# UpdateDataSourceInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import UpdateDataSourceInputRequestTypeDef
def get_value() -> UpdateDataSourceInputRequestTypeDef:
return {
"DataSourceId": ...,
"DataSourceName": ...,
}
# UpdateDataSourceInputRequestTypeDef definition
class UpdateDataSourceInputRequestTypeDef(TypedDict):
DataSourceId: str,
DataSourceName: str,
UpdateDataSourceOutputTypeDef#
# UpdateDataSourceOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import UpdateDataSourceOutputTypeDef
def get_value() -> UpdateDataSourceOutputTypeDef:
return {
"DataSourceId": ...,
"ResponseMetadata": ...,
}
# UpdateDataSourceOutputTypeDef definition
class UpdateDataSourceOutputTypeDef(TypedDict):
DataSourceId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateEvaluationInputRequestTypeDef#
# UpdateEvaluationInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import UpdateEvaluationInputRequestTypeDef
def get_value() -> UpdateEvaluationInputRequestTypeDef:
return {
"EvaluationId": ...,
"EvaluationName": ...,
}
# UpdateEvaluationInputRequestTypeDef definition
class UpdateEvaluationInputRequestTypeDef(TypedDict):
EvaluationId: str,
EvaluationName: str,
UpdateEvaluationOutputTypeDef#
# UpdateEvaluationOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import UpdateEvaluationOutputTypeDef
def get_value() -> UpdateEvaluationOutputTypeDef:
return {
"EvaluationId": ...,
"ResponseMetadata": ...,
}
# UpdateEvaluationOutputTypeDef definition
class UpdateEvaluationOutputTypeDef(TypedDict):
EvaluationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateMLModelInputRequestTypeDef#
# UpdateMLModelInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import UpdateMLModelInputRequestTypeDef
def get_value() -> UpdateMLModelInputRequestTypeDef:
return {
"MLModelId": ...,
}
# UpdateMLModelInputRequestTypeDef definition
class UpdateMLModelInputRequestTypeDef(TypedDict):
MLModelId: str,
MLModelName: NotRequired[str],
ScoreThreshold: NotRequired[float],
UpdateMLModelOutputTypeDef#
# UpdateMLModelOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import UpdateMLModelOutputTypeDef
def get_value() -> UpdateMLModelOutputTypeDef:
return {
"MLModelId": ...,
"ResponseMetadata": ...,
}
# UpdateMLModelOutputTypeDef definition
class UpdateMLModelOutputTypeDef(TypedDict):
MLModelId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AddTagsInputRequestTypeDef#
# AddTagsInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import AddTagsInputRequestTypeDef
def get_value() -> AddTagsInputRequestTypeDef:
return {
"Tags": ...,
"ResourceId": ...,
"ResourceType": ...,
}
# AddTagsInputRequestTypeDef definition
class AddTagsInputRequestTypeDef(TypedDict):
Tags: Sequence[TagTypeDef], # (1)
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (2)
- See TagTypeDef
- See TaggableResourceTypeType
DescribeTagsOutputTypeDef#
# DescribeTagsOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeTagsOutputTypeDef
def get_value() -> DescribeTagsOutputTypeDef:
return {
"ResourceId": ...,
"ResourceType": ...,
"Tags": ...,
"ResponseMetadata": ...,
}
# DescribeTagsOutputTypeDef definition
class DescribeTagsOutputTypeDef(TypedDict):
ResourceId: str,
ResourceType: TaggableResourceTypeType, # (1)
Tags: List[TagTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeBatchPredictionsOutputTypeDef#
# DescribeBatchPredictionsOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeBatchPredictionsOutputTypeDef
def get_value() -> DescribeBatchPredictionsOutputTypeDef:
return {
"Results": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# DescribeBatchPredictionsOutputTypeDef definition
class DescribeBatchPredictionsOutputTypeDef(TypedDict):
Results: List[BatchPredictionTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateDataSourceFromS3InputRequestTypeDef#
# CreateDataSourceFromS3InputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromS3InputRequestTypeDef
def get_value() -> CreateDataSourceFromS3InputRequestTypeDef:
return {
"DataSourceId": ...,
"DataSpec": ...,
}
# CreateDataSourceFromS3InputRequestTypeDef definition
class CreateDataSourceFromS3InputRequestTypeDef(TypedDict):
DataSourceId: str,
DataSpec: S3DataSpecTypeDef, # (1)
DataSourceName: NotRequired[str],
ComputeStatistics: NotRequired[bool],
CreateRealtimeEndpointOutputTypeDef#
# CreateRealtimeEndpointOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateRealtimeEndpointOutputTypeDef
def get_value() -> CreateRealtimeEndpointOutputTypeDef:
return {
"MLModelId": ...,
"RealtimeEndpointInfo": ...,
"ResponseMetadata": ...,
}
# CreateRealtimeEndpointOutputTypeDef definition
class CreateRealtimeEndpointOutputTypeDef(TypedDict):
MLModelId: str,
RealtimeEndpointInfo: RealtimeEndpointInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteRealtimeEndpointOutputTypeDef#
# DeleteRealtimeEndpointOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DeleteRealtimeEndpointOutputTypeDef
def get_value() -> DeleteRealtimeEndpointOutputTypeDef:
return {
"MLModelId": ...,
"RealtimeEndpointInfo": ...,
"ResponseMetadata": ...,
}
# DeleteRealtimeEndpointOutputTypeDef definition
class DeleteRealtimeEndpointOutputTypeDef(TypedDict):
MLModelId: str,
RealtimeEndpointInfo: RealtimeEndpointInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetMLModelOutputTypeDef#
# 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": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import MLModelTypeDef
def get_value() -> MLModelTypeDef:
return {
"MLModelId": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import DescribeBatchPredictionsInputBatchPredictionAvailableWaitTypeDef
def get_value() -> DescribeBatchPredictionsInputBatchPredictionAvailableWaitTypeDef:
return {
"FilterVariable": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import DescribeDataSourcesInputDataSourceAvailableWaitTypeDef
def get_value() -> DescribeDataSourcesInputDataSourceAvailableWaitTypeDef:
return {
"FilterVariable": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import DescribeEvaluationsInputEvaluationAvailableWaitTypeDef
def get_value() -> DescribeEvaluationsInputEvaluationAvailableWaitTypeDef:
return {
"FilterVariable": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import DescribeMLModelsInputMLModelAvailableWaitTypeDef
def get_value() -> DescribeMLModelsInputMLModelAvailableWaitTypeDef:
return {
"FilterVariable": ...,
}
# 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)
EvaluationTypeDef#
# EvaluationTypeDef usage example
from mypy_boto3_machinelearning.type_defs import EvaluationTypeDef
def get_value() -> EvaluationTypeDef:
return {
"EvaluationId": ...,
}
# 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 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": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import PredictOutputTypeDef
def get_value() -> PredictOutputTypeDef:
return {
"Prediction": ...,
"ResponseMetadata": ...,
}
# PredictOutputTypeDef definition
class PredictOutputTypeDef(TypedDict):
Prediction: PredictionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RDSDataSpecTypeDef#
# RDSDataSpecTypeDef usage example
from mypy_boto3_machinelearning.type_defs import RDSDataSpecTypeDef
def get_value() -> RDSDataSpecTypeDef:
return {
"DatabaseInformation": ...,
"SelectSqlQuery": ...,
"DatabaseCredentials": ...,
"S3StagingLocation": ...,
"ResourceRole": ...,
"ServiceRole": ...,
"SubnetId": ...,
"SecurityGroupIds": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import RDSMetadataTypeDef
def get_value() -> RDSMetadataTypeDef:
return {
"Database": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import RedshiftDataSpecTypeDef
def get_value() -> RedshiftDataSpecTypeDef:
return {
"DatabaseInformation": ...,
"SelectSqlQuery": ...,
"DatabaseCredentials": ...,
"S3StagingLocation": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import RedshiftMetadataTypeDef
def get_value() -> RedshiftMetadataTypeDef:
return {
"RedshiftDatabase": ...,
}
# RedshiftMetadataTypeDef definition
class RedshiftMetadataTypeDef(TypedDict):
RedshiftDatabase: NotRequired[RedshiftDatabaseTypeDef], # (1)
DatabaseUserName: NotRequired[str],
SelectSqlQuery: NotRequired[str],
DescribeMLModelsOutputTypeDef#
# DescribeMLModelsOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeMLModelsOutputTypeDef
def get_value() -> DescribeMLModelsOutputTypeDef:
return {
"Results": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# DescribeMLModelsOutputTypeDef definition
class DescribeMLModelsOutputTypeDef(TypedDict):
Results: List[MLModelTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeEvaluationsOutputTypeDef#
# DescribeEvaluationsOutputTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DescribeEvaluationsOutputTypeDef
def get_value() -> DescribeEvaluationsOutputTypeDef:
return {
"Results": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# DescribeEvaluationsOutputTypeDef definition
class DescribeEvaluationsOutputTypeDef(TypedDict):
Results: List[EvaluationTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateDataSourceFromRDSInputRequestTypeDef#
# CreateDataSourceFromRDSInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromRDSInputRequestTypeDef
def get_value() -> CreateDataSourceFromRDSInputRequestTypeDef:
return {
"DataSourceId": ...,
"RDSData": ...,
"RoleARN": ...,
}
# CreateDataSourceFromRDSInputRequestTypeDef definition
class CreateDataSourceFromRDSInputRequestTypeDef(TypedDict):
DataSourceId: str,
RDSData: RDSDataSpecTypeDef, # (1)
RoleARN: str,
DataSourceName: NotRequired[str],
ComputeStatistics: NotRequired[bool],
CreateDataSourceFromRedshiftInputRequestTypeDef#
# CreateDataSourceFromRedshiftInputRequestTypeDef usage example
from mypy_boto3_machinelearning.type_defs import CreateDataSourceFromRedshiftInputRequestTypeDef
def get_value() -> CreateDataSourceFromRedshiftInputRequestTypeDef:
return {
"DataSourceId": ...,
"DataSpec": ...,
"RoleARN": ...,
}
# CreateDataSourceFromRedshiftInputRequestTypeDef definition
class CreateDataSourceFromRedshiftInputRequestTypeDef(TypedDict):
DataSourceId: str,
DataSpec: RedshiftDataSpecTypeDef, # (1)
RoleARN: str,
DataSourceName: NotRequired[str],
ComputeStatistics: NotRequired[bool],
DataSourceTypeDef#
# DataSourceTypeDef usage example
from mypy_boto3_machinelearning.type_defs import DataSourceTypeDef
def get_value() -> DataSourceTypeDef:
return {
"DataSourceId": ...,
}
# 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 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": ...,
}
# 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 usage example
from mypy_boto3_machinelearning.type_defs import DescribeDataSourcesOutputTypeDef
def get_value() -> DescribeDataSourcesOutputTypeDef:
return {
"Results": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# DescribeDataSourcesOutputTypeDef definition
class DescribeDataSourcesOutputTypeDef(TypedDict):
Results: List[DataSourceTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)