Typed dictionaries
Index > LookoutforVision > Typed dictionaries
Auto-generated documentation for LookoutforVision type annotations stubs module mypy-boto3-lookoutvision.
PixelAnomalyTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import PixelAnomalyTypeDef
def get_value() -> PixelAnomalyTypeDef:
return {
"TotalPercentageArea": ...,
}
Definition
class PixelAnomalyTypeDef(TypedDict):
TotalPercentageArea: NotRequired[float],
Color: NotRequired[str],
DatasetMetadataTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DatasetMetadataTypeDef
def get_value() -> DatasetMetadataTypeDef:
return {
"DatasetType": ...,
}
Definition
class DatasetMetadataTypeDef(TypedDict):
DatasetType: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
Status: NotRequired[DatasetStatusType], # (1)
StatusMessage: NotRequired[str],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_lookoutvision.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,
TagTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
"Value": ...,
}
CreateProjectRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import CreateProjectRequestRequestTypeDef
def get_value() -> CreateProjectRequestRequestTypeDef:
return {
"ProjectName": ...,
}
Definition
class CreateProjectRequestRequestTypeDef(TypedDict):
ProjectName: str,
ClientToken: NotRequired[str],
ProjectMetadataTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ProjectMetadataTypeDef
def get_value() -> ProjectMetadataTypeDef:
return {
"ProjectArn": ...,
}
Definition
class ProjectMetadataTypeDef(TypedDict):
ProjectArn: NotRequired[str],
ProjectName: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
DatasetImageStatsTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DatasetImageStatsTypeDef
def get_value() -> DatasetImageStatsTypeDef:
return {
"Total": ...,
}
Definition
class DatasetImageStatsTypeDef(TypedDict):
Total: NotRequired[int],
Labeled: NotRequired[int],
Normal: NotRequired[int],
Anomaly: NotRequired[int],
InputS3ObjectTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import InputS3ObjectTypeDef
def get_value() -> InputS3ObjectTypeDef:
return {
"Bucket": ...,
"Key": ...,
}
Definition
class InputS3ObjectTypeDef(TypedDict):
Bucket: str,
Key: str,
VersionId: NotRequired[str],
DeleteDatasetRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DeleteDatasetRequestRequestTypeDef
def get_value() -> DeleteDatasetRequestRequestTypeDef:
return {
"ProjectName": ...,
"DatasetType": ...,
}
Definition
class DeleteDatasetRequestRequestTypeDef(TypedDict):
ProjectName: str,
DatasetType: str,
ClientToken: NotRequired[str],
DeleteModelRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DeleteModelRequestRequestTypeDef
def get_value() -> DeleteModelRequestRequestTypeDef:
return {
"ProjectName": ...,
"ModelVersion": ...,
}
Definition
class DeleteModelRequestRequestTypeDef(TypedDict):
ProjectName: str,
ModelVersion: str,
ClientToken: NotRequired[str],
DeleteProjectRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DeleteProjectRequestRequestTypeDef
def get_value() -> DeleteProjectRequestRequestTypeDef:
return {
"ProjectName": ...,
}
Definition
class DeleteProjectRequestRequestTypeDef(TypedDict):
ProjectName: str,
ClientToken: NotRequired[str],
DescribeDatasetRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DescribeDatasetRequestRequestTypeDef
def get_value() -> DescribeDatasetRequestRequestTypeDef:
return {
"ProjectName": ...,
"DatasetType": ...,
}
Definition
class DescribeDatasetRequestRequestTypeDef(TypedDict):
ProjectName: str,
DatasetType: str,
DescribeModelPackagingJobRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DescribeModelPackagingJobRequestRequestTypeDef
def get_value() -> DescribeModelPackagingJobRequestRequestTypeDef:
return {
"ProjectName": ...,
"JobName": ...,
}
Definition
class DescribeModelPackagingJobRequestRequestTypeDef(TypedDict):
ProjectName: str,
JobName: str,
DescribeModelRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DescribeModelRequestRequestTypeDef
def get_value() -> DescribeModelRequestRequestTypeDef:
return {
"ProjectName": ...,
"ModelVersion": ...,
}
DescribeProjectRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DescribeProjectRequestRequestTypeDef
def get_value() -> DescribeProjectRequestRequestTypeDef:
return {
"ProjectName": ...,
}
DetectAnomaliesRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DetectAnomaliesRequestRequestTypeDef
def get_value() -> DetectAnomaliesRequestRequestTypeDef:
return {
"ProjectName": ...,
"ModelVersion": ...,
"Body": ...,
"ContentType": ...,
}
Definition
class DetectAnomaliesRequestRequestTypeDef(TypedDict):
ProjectName: str,
ModelVersion: str,
Body: Union[str, bytes, IO[Any], StreamingBody],
ContentType: str,
ImageSourceTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ImageSourceTypeDef
def get_value() -> ImageSourceTypeDef:
return {
"Type": ...,
}
S3LocationTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import S3LocationTypeDef
def get_value() -> S3LocationTypeDef:
return {
"Bucket": ...,
}
TargetPlatformTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import TargetPlatformTypeDef
def get_value() -> TargetPlatformTypeDef:
return {
"Os": ...,
"Arch": ...,
}
Definition
class TargetPlatformTypeDef(TypedDict):
Os: TargetPlatformOsType, # (1)
Arch: TargetPlatformArchType, # (2)
Accelerator: NotRequired[TargetPlatformAcceleratorType], # (3)
GreengrassOutputDetailsTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import GreengrassOutputDetailsTypeDef
def get_value() -> GreengrassOutputDetailsTypeDef:
return {
"ComponentVersionArn": ...,
}
Definition
class GreengrassOutputDetailsTypeDef(TypedDict):
ComponentVersionArn: NotRequired[str],
ComponentName: NotRequired[str],
ComponentVersion: NotRequired[str],
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListDatasetEntriesRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListDatasetEntriesRequestRequestTypeDef
def get_value() -> ListDatasetEntriesRequestRequestTypeDef:
return {
"ProjectName": ...,
"DatasetType": ...,
}
Definition
class ListDatasetEntriesRequestRequestTypeDef(TypedDict):
ProjectName: str,
DatasetType: str,
Labeled: NotRequired[bool],
AnomalyClass: NotRequired[str],
BeforeCreationDate: NotRequired[Union[datetime, str]],
AfterCreationDate: NotRequired[Union[datetime, str]],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
SourceRefContains: NotRequired[str],
ListModelPackagingJobsRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListModelPackagingJobsRequestRequestTypeDef
def get_value() -> ListModelPackagingJobsRequestRequestTypeDef:
return {
"ProjectName": ...,
}
Definition
class ListModelPackagingJobsRequestRequestTypeDef(TypedDict):
ProjectName: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ModelPackagingJobMetadataTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ModelPackagingJobMetadataTypeDef
def get_value() -> ModelPackagingJobMetadataTypeDef:
return {
"JobName": ...,
}
Definition
class ModelPackagingJobMetadataTypeDef(TypedDict):
JobName: NotRequired[str],
ProjectName: NotRequired[str],
ModelVersion: NotRequired[str],
ModelPackagingJobDescription: NotRequired[str],
ModelPackagingMethod: NotRequired[str],
Status: NotRequired[ModelPackagingJobStatusType], # (1)
StatusMessage: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
ListModelsRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListModelsRequestRequestTypeDef
def get_value() -> ListModelsRequestRequestTypeDef:
return {
"ProjectName": ...,
}
Definition
class ListModelsRequestRequestTypeDef(TypedDict):
ProjectName: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListProjectsRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListProjectsRequestRequestTypeDef
def get_value() -> ListProjectsRequestRequestTypeDef:
return {
"NextToken": ...,
}
Definition
class ListProjectsRequestRequestTypeDef(TypedDict):
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListTagsForResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
}
ModelPerformanceTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ModelPerformanceTypeDef
def get_value() -> ModelPerformanceTypeDef:
return {
"F1Score": ...,
}
Definition
class ModelPerformanceTypeDef(TypedDict):
F1Score: NotRequired[float],
Recall: NotRequired[float],
Precision: NotRequired[float],
OutputS3ObjectTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import OutputS3ObjectTypeDef
def get_value() -> OutputS3ObjectTypeDef:
return {
"Bucket": ...,
"Key": ...,
}
StartModelRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import StartModelRequestRequestTypeDef
def get_value() -> StartModelRequestRequestTypeDef:
return {
"ProjectName": ...,
"ModelVersion": ...,
"MinInferenceUnits": ...,
}
Definition
class StartModelRequestRequestTypeDef(TypedDict):
ProjectName: str,
ModelVersion: str,
MinInferenceUnits: int,
ClientToken: NotRequired[str],
MaxInferenceUnits: NotRequired[int],
StopModelRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import StopModelRequestRequestTypeDef
def get_value() -> StopModelRequestRequestTypeDef:
return {
"ProjectName": ...,
"ModelVersion": ...,
}
Definition
class StopModelRequestRequestTypeDef(TypedDict):
ProjectName: str,
ModelVersion: str,
ClientToken: NotRequired[str],
UntagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
"TagKeys": ...,
}
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
UpdateDatasetEntriesRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import UpdateDatasetEntriesRequestRequestTypeDef
def get_value() -> UpdateDatasetEntriesRequestRequestTypeDef:
return {
"ProjectName": ...,
"DatasetType": ...,
"Changes": ...,
}
Definition
class UpdateDatasetEntriesRequestRequestTypeDef(TypedDict):
ProjectName: str,
DatasetType: str,
Changes: Union[str, bytes, IO[Any], StreamingBody],
ClientToken: NotRequired[str],
AnomalyTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import AnomalyTypeDef
def get_value() -> AnomalyTypeDef:
return {
"Name": ...,
}
Definition
class AnomalyTypeDef(TypedDict):
Name: NotRequired[str],
PixelAnomaly: NotRequired[PixelAnomalyTypeDef], # (1)
ProjectDescriptionTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ProjectDescriptionTypeDef
def get_value() -> ProjectDescriptionTypeDef:
return {
"ProjectArn": ...,
}
Definition
class ProjectDescriptionTypeDef(TypedDict):
ProjectArn: NotRequired[str],
ProjectName: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
Datasets: NotRequired[List[DatasetMetadataTypeDef]], # (1)
CreateDatasetResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import CreateDatasetResponseTypeDef
def get_value() -> CreateDatasetResponseTypeDef:
return {
"DatasetMetadata": ...,
"ResponseMetadata": ...,
}
Definition
class CreateDatasetResponseTypeDef(TypedDict):
DatasetMetadata: DatasetMetadataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteModelResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DeleteModelResponseTypeDef
def get_value() -> DeleteModelResponseTypeDef:
return {
"ModelArn": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteModelResponseTypeDef(TypedDict):
ModelArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteProjectResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DeleteProjectResponseTypeDef
def get_value() -> DeleteProjectResponseTypeDef:
return {
"ProjectArn": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteProjectResponseTypeDef(TypedDict):
ProjectArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListDatasetEntriesResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListDatasetEntriesResponseTypeDef
def get_value() -> ListDatasetEntriesResponseTypeDef:
return {
"DatasetEntries": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListDatasetEntriesResponseTypeDef(TypedDict):
DatasetEntries: List[str],
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartModelPackagingJobResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import StartModelPackagingJobResponseTypeDef
def get_value() -> StartModelPackagingJobResponseTypeDef:
return {
"JobName": ...,
"ResponseMetadata": ...,
}
Definition
class StartModelPackagingJobResponseTypeDef(TypedDict):
JobName: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartModelResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import StartModelResponseTypeDef
def get_value() -> StartModelResponseTypeDef:
return {
"Status": ...,
"ResponseMetadata": ...,
}
Definition
class StartModelResponseTypeDef(TypedDict):
Status: ModelHostingStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StopModelResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import StopModelResponseTypeDef
def get_value() -> StopModelResponseTypeDef:
return {
"Status": ...,
"ResponseMetadata": ...,
}
Definition
class StopModelResponseTypeDef(TypedDict):
Status: ModelHostingStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateDatasetEntriesResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import UpdateDatasetEntriesResponseTypeDef
def get_value() -> UpdateDatasetEntriesResponseTypeDef:
return {
"Status": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateDatasetEntriesResponseTypeDef(TypedDict):
Status: DatasetStatusType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTagsForResourceResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"Tags": ...,
"ResponseMetadata": ...,
}
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
TagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"ResourceArn": ...,
"Tags": ...,
}
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateProjectResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import CreateProjectResponseTypeDef
def get_value() -> CreateProjectResponseTypeDef:
return {
"ProjectMetadata": ...,
"ResponseMetadata": ...,
}
Definition
class CreateProjectResponseTypeDef(TypedDict):
ProjectMetadata: ProjectMetadataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListProjectsResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListProjectsResponseTypeDef
def get_value() -> ListProjectsResponseTypeDef:
return {
"Projects": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListProjectsResponseTypeDef(TypedDict):
Projects: List[ProjectMetadataTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DatasetDescriptionTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DatasetDescriptionTypeDef
def get_value() -> DatasetDescriptionTypeDef:
return {
"ProjectName": ...,
}
Definition
class DatasetDescriptionTypeDef(TypedDict):
ProjectName: NotRequired[str],
DatasetType: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
Status: NotRequired[DatasetStatusType], # (1)
StatusMessage: NotRequired[str],
ImageStats: NotRequired[DatasetImageStatsTypeDef], # (2)
DatasetGroundTruthManifestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DatasetGroundTruthManifestTypeDef
def get_value() -> DatasetGroundTruthManifestTypeDef:
return {
"S3Object": ...,
}
Definition
class DatasetGroundTruthManifestTypeDef(TypedDict):
S3Object: NotRequired[InputS3ObjectTypeDef], # (1)
OutputConfigTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import OutputConfigTypeDef
def get_value() -> OutputConfigTypeDef:
return {
"S3Location": ...,
}
GreengrassConfigurationTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import GreengrassConfigurationTypeDef
def get_value() -> GreengrassConfigurationTypeDef:
return {
"S3OutputLocation": ...,
"ComponentName": ...,
}
Definition
class GreengrassConfigurationTypeDef(TypedDict):
S3OutputLocation: S3LocationTypeDef, # (3)
ComponentName: str,
CompilerOptions: NotRequired[str],
TargetDevice: NotRequired[TargetDeviceType], # (1)
TargetPlatform: NotRequired[TargetPlatformTypeDef], # (2)
ComponentVersion: NotRequired[str],
ComponentDescription: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (4)
- See TargetDeviceType
- See TargetPlatformTypeDef
- See S3LocationTypeDef
- See TagTypeDef
ModelPackagingOutputDetailsTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ModelPackagingOutputDetailsTypeDef
def get_value() -> ModelPackagingOutputDetailsTypeDef:
return {
"Greengrass": ...,
}
Definition
class ModelPackagingOutputDetailsTypeDef(TypedDict):
Greengrass: NotRequired[GreengrassOutputDetailsTypeDef], # (1)
ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef
def get_value() -> ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef:
return {
"ProjectName": ...,
"DatasetType": ...,
}
Definition
class ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef(TypedDict):
ProjectName: str,
DatasetType: str,
Labeled: NotRequired[bool],
AnomalyClass: NotRequired[str],
BeforeCreationDate: NotRequired[Union[datetime, str]],
AfterCreationDate: NotRequired[Union[datetime, str]],
SourceRefContains: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListModelPackagingJobsRequestListModelPackagingJobsPaginateTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListModelPackagingJobsRequestListModelPackagingJobsPaginateTypeDef
def get_value() -> ListModelPackagingJobsRequestListModelPackagingJobsPaginateTypeDef:
return {
"ProjectName": ...,
}
Definition
class ListModelPackagingJobsRequestListModelPackagingJobsPaginateTypeDef(TypedDict):
ProjectName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListModelsRequestListModelsPaginateTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListModelsRequestListModelsPaginateTypeDef
def get_value() -> ListModelsRequestListModelsPaginateTypeDef:
return {
"ProjectName": ...,
}
Definition
class ListModelsRequestListModelsPaginateTypeDef(TypedDict):
ProjectName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListProjectsRequestListProjectsPaginateTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListProjectsRequestListProjectsPaginateTypeDef
def get_value() -> ListProjectsRequestListProjectsPaginateTypeDef:
return {
"PaginationConfig": ...,
}
Definition
class ListProjectsRequestListProjectsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListModelPackagingJobsResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListModelPackagingJobsResponseTypeDef
def get_value() -> ListModelPackagingJobsResponseTypeDef:
return {
"ModelPackagingJobs": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListModelPackagingJobsResponseTypeDef(TypedDict):
ModelPackagingJobs: List[ModelPackagingJobMetadataTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ModelMetadataTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ModelMetadataTypeDef
def get_value() -> ModelMetadataTypeDef:
return {
"CreationTimestamp": ...,
}
Definition
class ModelMetadataTypeDef(TypedDict):
CreationTimestamp: NotRequired[datetime],
ModelVersion: NotRequired[str],
ModelArn: NotRequired[str],
Description: NotRequired[str],
Status: NotRequired[ModelStatusType], # (1)
StatusMessage: NotRequired[str],
Performance: NotRequired[ModelPerformanceTypeDef], # (2)
DetectAnomalyResultTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DetectAnomalyResultTypeDef
def get_value() -> DetectAnomalyResultTypeDef:
return {
"Source": ...,
}
Definition
class DetectAnomalyResultTypeDef(TypedDict):
Source: NotRequired[ImageSourceTypeDef], # (1)
IsAnomalous: NotRequired[bool],
Confidence: NotRequired[float],
Anomalies: NotRequired[List[AnomalyTypeDef]], # (2)
AnomalyMask: NotRequired[bytes],
- See ImageSourceTypeDef
- See AnomalyTypeDef
DescribeProjectResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DescribeProjectResponseTypeDef
def get_value() -> DescribeProjectResponseTypeDef:
return {
"ProjectDescription": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeProjectResponseTypeDef(TypedDict):
ProjectDescription: ProjectDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeDatasetResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DescribeDatasetResponseTypeDef
def get_value() -> DescribeDatasetResponseTypeDef:
return {
"DatasetDescription": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeDatasetResponseTypeDef(TypedDict):
DatasetDescription: DatasetDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DatasetSourceTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DatasetSourceTypeDef
def get_value() -> DatasetSourceTypeDef:
return {
"GroundTruthManifest": ...,
}
Definition
class DatasetSourceTypeDef(TypedDict):
GroundTruthManifest: NotRequired[DatasetGroundTruthManifestTypeDef], # (1)
CreateModelRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import CreateModelRequestRequestTypeDef
def get_value() -> CreateModelRequestRequestTypeDef:
return {
"ProjectName": ...,
"OutputConfig": ...,
}
Definition
class CreateModelRequestRequestTypeDef(TypedDict):
ProjectName: str,
OutputConfig: OutputConfigTypeDef, # (1)
Description: NotRequired[str],
ClientToken: NotRequired[str],
KmsKeyId: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (2)
- See OutputConfigTypeDef
- See TagTypeDef
ModelDescriptionTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ModelDescriptionTypeDef
def get_value() -> ModelDescriptionTypeDef:
return {
"ModelVersion": ...,
}
Definition
class ModelDescriptionTypeDef(TypedDict):
ModelVersion: NotRequired[str],
ModelArn: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
Description: NotRequired[str],
Status: NotRequired[ModelStatusType], # (1)
StatusMessage: NotRequired[str],
Performance: NotRequired[ModelPerformanceTypeDef], # (2)
OutputConfig: NotRequired[OutputConfigTypeDef], # (3)
EvaluationManifest: NotRequired[OutputS3ObjectTypeDef], # (4)
EvaluationResult: NotRequired[OutputS3ObjectTypeDef], # (4)
EvaluationEndTimestamp: NotRequired[datetime],
KmsKeyId: NotRequired[str],
MinInferenceUnits: NotRequired[int],
MaxInferenceUnits: NotRequired[int],
- See ModelStatusType
- See ModelPerformanceTypeDef
- See OutputConfigTypeDef
- See OutputS3ObjectTypeDef
- See OutputS3ObjectTypeDef
ModelPackagingConfigurationTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ModelPackagingConfigurationTypeDef
def get_value() -> ModelPackagingConfigurationTypeDef:
return {
"Greengrass": ...,
}
Definition
class ModelPackagingConfigurationTypeDef(TypedDict):
Greengrass: GreengrassConfigurationTypeDef, # (1)
CreateModelResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import CreateModelResponseTypeDef
def get_value() -> CreateModelResponseTypeDef:
return {
"ModelMetadata": ...,
"ResponseMetadata": ...,
}
Definition
class CreateModelResponseTypeDef(TypedDict):
ModelMetadata: ModelMetadataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListModelsResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ListModelsResponseTypeDef
def get_value() -> ListModelsResponseTypeDef:
return {
"Models": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListModelsResponseTypeDef(TypedDict):
Models: List[ModelMetadataTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DetectAnomaliesResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DetectAnomaliesResponseTypeDef
def get_value() -> DetectAnomaliesResponseTypeDef:
return {
"DetectAnomalyResult": ...,
"ResponseMetadata": ...,
}
Definition
class DetectAnomaliesResponseTypeDef(TypedDict):
DetectAnomalyResult: DetectAnomalyResultTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateDatasetRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import CreateDatasetRequestRequestTypeDef
def get_value() -> CreateDatasetRequestRequestTypeDef:
return {
"ProjectName": ...,
"DatasetType": ...,
}
Definition
class CreateDatasetRequestRequestTypeDef(TypedDict):
ProjectName: str,
DatasetType: str,
DatasetSource: NotRequired[DatasetSourceTypeDef], # (1)
ClientToken: NotRequired[str],
DescribeModelResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DescribeModelResponseTypeDef
def get_value() -> DescribeModelResponseTypeDef:
return {
"ModelDescription": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeModelResponseTypeDef(TypedDict):
ModelDescription: ModelDescriptionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ModelPackagingDescriptionTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import ModelPackagingDescriptionTypeDef
def get_value() -> ModelPackagingDescriptionTypeDef:
return {
"JobName": ...,
}
Definition
class ModelPackagingDescriptionTypeDef(TypedDict):
JobName: NotRequired[str],
ProjectName: NotRequired[str],
ModelVersion: NotRequired[str],
ModelPackagingConfiguration: NotRequired[ModelPackagingConfigurationTypeDef], # (1)
ModelPackagingJobDescription: NotRequired[str],
ModelPackagingMethod: NotRequired[str],
ModelPackagingOutputDetails: NotRequired[ModelPackagingOutputDetailsTypeDef], # (2)
Status: NotRequired[ModelPackagingJobStatusType], # (3)
StatusMessage: NotRequired[str],
CreationTimestamp: NotRequired[datetime],
LastUpdatedTimestamp: NotRequired[datetime],
- See ModelPackagingConfigurationTypeDef
- See ModelPackagingOutputDetailsTypeDef
- See ModelPackagingJobStatusType
StartModelPackagingJobRequestRequestTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import StartModelPackagingJobRequestRequestTypeDef
def get_value() -> StartModelPackagingJobRequestRequestTypeDef:
return {
"ProjectName": ...,
"ModelVersion": ...,
"Configuration": ...,
}
Definition
class StartModelPackagingJobRequestRequestTypeDef(TypedDict):
ProjectName: str,
ModelVersion: str,
Configuration: ModelPackagingConfigurationTypeDef, # (1)
JobName: NotRequired[str],
Description: NotRequired[str],
ClientToken: NotRequired[str],
DescribeModelPackagingJobResponseTypeDef
Usage Example
from mypy_boto3_lookoutvision.type_defs import DescribeModelPackagingJobResponseTypeDef
def get_value() -> DescribeModelPackagingJobResponseTypeDef:
return {
"ModelPackagingDescription": ...,
"ResponseMetadata": ...,
}