Skip to content

Type definitions#

Index > LookoutforVision > Type definitions

Auto-generated documentation for LookoutforVision type annotations stubs module mypy-boto3-lookoutvision.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

GreengrassConfigurationUnionTypeDef#

# GreengrassConfigurationUnionTypeDef definition

GreengrassConfigurationUnionTypeDef = Union[
    GreengrassConfigurationTypeDef,  # (1)
    GreengrassConfigurationOutputTypeDef,  # (2)
]
  1. See GreengrassConfigurationTypeDef
  2. See GreengrassConfigurationOutputTypeDef

PixelAnomalyTypeDef#

# PixelAnomalyTypeDef definition

class PixelAnomalyTypeDef(TypedDict):
    TotalPercentageArea: NotRequired[float],
    Color: NotRequired[str],

DatasetMetadataTypeDef#

# DatasetMetadataTypeDef definition

class DatasetMetadataTypeDef(TypedDict):
    DatasetType: NotRequired[str],
    CreationTimestamp: NotRequired[datetime],
    Status: NotRequired[DatasetStatusType],  # (1)
    StatusMessage: NotRequired[str],
  1. See DatasetStatusType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

CreateProjectRequestRequestTypeDef#

# CreateProjectRequestRequestTypeDef definition

class CreateProjectRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    ClientToken: NotRequired[str],

ProjectMetadataTypeDef#

# ProjectMetadataTypeDef definition

class ProjectMetadataTypeDef(TypedDict):
    ProjectArn: NotRequired[str],
    ProjectName: NotRequired[str],
    CreationTimestamp: NotRequired[datetime],

DatasetImageStatsTypeDef#

# DatasetImageStatsTypeDef definition

class DatasetImageStatsTypeDef(TypedDict):
    Total: NotRequired[int],
    Labeled: NotRequired[int],
    Normal: NotRequired[int],
    Anomaly: NotRequired[int],

InputS3ObjectTypeDef#

# InputS3ObjectTypeDef definition

class InputS3ObjectTypeDef(TypedDict):
    Bucket: str,
    Key: str,
    VersionId: NotRequired[str],

DeleteDatasetRequestRequestTypeDef#

# DeleteDatasetRequestRequestTypeDef definition

class DeleteDatasetRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    DatasetType: str,
    ClientToken: NotRequired[str],

DeleteModelRequestRequestTypeDef#

# DeleteModelRequestRequestTypeDef definition

class DeleteModelRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    ModelVersion: str,
    ClientToken: NotRequired[str],

DeleteProjectRequestRequestTypeDef#

# DeleteProjectRequestRequestTypeDef definition

class DeleteProjectRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    ClientToken: NotRequired[str],

DescribeDatasetRequestRequestTypeDef#

# DescribeDatasetRequestRequestTypeDef definition

class DescribeDatasetRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    DatasetType: str,

DescribeModelPackagingJobRequestRequestTypeDef#

# DescribeModelPackagingJobRequestRequestTypeDef definition

class DescribeModelPackagingJobRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    JobName: str,

DescribeModelRequestRequestTypeDef#

# DescribeModelRequestRequestTypeDef definition

class DescribeModelRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    ModelVersion: str,

DescribeProjectRequestRequestTypeDef#

# DescribeProjectRequestRequestTypeDef definition

class DescribeProjectRequestRequestTypeDef(TypedDict):
    ProjectName: str,

ImageSourceTypeDef#

# ImageSourceTypeDef definition

class ImageSourceTypeDef(TypedDict):
    Type: NotRequired[str],

S3LocationTypeDef#

# S3LocationTypeDef definition

class S3LocationTypeDef(TypedDict):
    Bucket: str,
    Prefix: NotRequired[str],

TargetPlatformTypeDef#

# TargetPlatformTypeDef definition

class TargetPlatformTypeDef(TypedDict):
    Os: TargetPlatformOsType,  # (1)
    Arch: TargetPlatformArchType,  # (2)
    Accelerator: NotRequired[TargetPlatformAcceleratorType],  # (3)
  1. See TargetPlatformOsType
  2. See TargetPlatformArchType
  3. See TargetPlatformAcceleratorType

GreengrassOutputDetailsTypeDef#

# GreengrassOutputDetailsTypeDef definition

class GreengrassOutputDetailsTypeDef(TypedDict):
    ComponentVersionArn: NotRequired[str],
    ComponentName: NotRequired[str],
    ComponentVersion: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListModelPackagingJobsRequestRequestTypeDef#

# ListModelPackagingJobsRequestRequestTypeDef definition

class ListModelPackagingJobsRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ModelPackagingJobMetadataTypeDef#

# ModelPackagingJobMetadataTypeDef 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],
  1. See ModelPackagingJobStatusType

ListModelsRequestRequestTypeDef#

# ListModelsRequestRequestTypeDef definition

class ListModelsRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListProjectsRequestRequestTypeDef#

# ListProjectsRequestRequestTypeDef definition

class ListProjectsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ModelPerformanceTypeDef#

# ModelPerformanceTypeDef definition

class ModelPerformanceTypeDef(TypedDict):
    F1Score: NotRequired[float],
    Recall: NotRequired[float],
    Precision: NotRequired[float],

OutputS3ObjectTypeDef#

# OutputS3ObjectTypeDef definition

class OutputS3ObjectTypeDef(TypedDict):
    Bucket: str,
    Key: str,

StartModelRequestRequestTypeDef#

# StartModelRequestRequestTypeDef definition

class StartModelRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    ModelVersion: str,
    MinInferenceUnits: int,
    ClientToken: NotRequired[str],
    MaxInferenceUnits: NotRequired[int],

StopModelRequestRequestTypeDef#

# StopModelRequestRequestTypeDef definition

class StopModelRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    ModelVersion: str,
    ClientToken: NotRequired[str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

AnomalyTypeDef#

# AnomalyTypeDef definition

class AnomalyTypeDef(TypedDict):
    Name: NotRequired[str],
    PixelAnomaly: NotRequired[PixelAnomalyTypeDef],  # (1)
  1. See PixelAnomalyTypeDef

DetectAnomaliesRequestRequestTypeDef#

# DetectAnomaliesRequestRequestTypeDef definition

class DetectAnomaliesRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    ModelVersion: str,
    Body: BlobTypeDef,
    ContentType: str,

UpdateDatasetEntriesRequestRequestTypeDef#

# UpdateDatasetEntriesRequestRequestTypeDef definition

class UpdateDatasetEntriesRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    DatasetType: str,
    Changes: BlobTypeDef,
    ClientToken: NotRequired[str],

ProjectDescriptionTypeDef#

# ProjectDescriptionTypeDef definition

class ProjectDescriptionTypeDef(TypedDict):
    ProjectArn: NotRequired[str],
    ProjectName: NotRequired[str],
    CreationTimestamp: NotRequired[datetime],
    Datasets: NotRequired[List[DatasetMetadataTypeDef]],  # (1)
  1. See DatasetMetadataTypeDef

CreateDatasetResponseTypeDef#

# CreateDatasetResponseTypeDef definition

class CreateDatasetResponseTypeDef(TypedDict):
    DatasetMetadata: DatasetMetadataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DatasetMetadataTypeDef
  2. See ResponseMetadataTypeDef

DeleteModelResponseTypeDef#

# DeleteModelResponseTypeDef definition

class DeleteModelResponseTypeDef(TypedDict):
    ModelArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteProjectResponseTypeDef#

# DeleteProjectResponseTypeDef definition

class DeleteProjectResponseTypeDef(TypedDict):
    ProjectArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListDatasetEntriesResponseTypeDef#

# ListDatasetEntriesResponseTypeDef definition

class ListDatasetEntriesResponseTypeDef(TypedDict):
    DatasetEntries: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    NextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

StartModelPackagingJobResponseTypeDef#

# StartModelPackagingJobResponseTypeDef definition

class StartModelPackagingJobResponseTypeDef(TypedDict):
    JobName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartModelResponseTypeDef#

# StartModelResponseTypeDef definition

class StartModelResponseTypeDef(TypedDict):
    Status: ModelHostingStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ModelHostingStatusType
  2. See ResponseMetadataTypeDef

StopModelResponseTypeDef#

# StopModelResponseTypeDef definition

class StopModelResponseTypeDef(TypedDict):
    Status: ModelHostingStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ModelHostingStatusType
  2. See ResponseMetadataTypeDef

UpdateDatasetEntriesResponseTypeDef#

# UpdateDatasetEntriesResponseTypeDef definition

class UpdateDatasetEntriesResponseTypeDef(TypedDict):
    Status: DatasetStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DatasetStatusType
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateProjectResponseTypeDef#

# CreateProjectResponseTypeDef definition

class CreateProjectResponseTypeDef(TypedDict):
    ProjectMetadata: ProjectMetadataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListProjectsResponseTypeDef#

# ListProjectsResponseTypeDef definition

class ListProjectsResponseTypeDef(TypedDict):
    Projects: List[ProjectMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ProjectMetadataTypeDef
  2. See ResponseMetadataTypeDef

DatasetDescriptionTypeDef#

# DatasetDescriptionTypeDef 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)
  1. See DatasetStatusType
  2. See DatasetImageStatsTypeDef

DatasetGroundTruthManifestTypeDef#

# DatasetGroundTruthManifestTypeDef definition

class DatasetGroundTruthManifestTypeDef(TypedDict):
    S3Object: NotRequired[InputS3ObjectTypeDef],  # (1)
  1. See InputS3ObjectTypeDef

OutputConfigTypeDef#

# OutputConfigTypeDef definition

class OutputConfigTypeDef(TypedDict):
    S3Location: S3LocationTypeDef,  # (1)
  1. See S3LocationTypeDef

GreengrassConfigurationOutputTypeDef#

# GreengrassConfigurationOutputTypeDef definition

class GreengrassConfigurationOutputTypeDef(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)
  1. See TargetDeviceType
  2. See TargetPlatformTypeDef
  3. See S3LocationTypeDef
  4. See TagTypeDef

GreengrassConfigurationTypeDef#

# GreengrassConfigurationTypeDef 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[Sequence[TagTypeDef]],  # (4)
  1. See TargetDeviceType
  2. See TargetPlatformTypeDef
  3. See S3LocationTypeDef
  4. See TagTypeDef

ModelPackagingOutputDetailsTypeDef#

# ModelPackagingOutputDetailsTypeDef definition

class ModelPackagingOutputDetailsTypeDef(TypedDict):
    Greengrass: NotRequired[GreengrassOutputDetailsTypeDef],  # (1)
  1. See GreengrassOutputDetailsTypeDef

ListModelPackagingJobsRequestListModelPackagingJobsPaginateTypeDef#

# ListModelPackagingJobsRequestListModelPackagingJobsPaginateTypeDef definition

class ListModelPackagingJobsRequestListModelPackagingJobsPaginateTypeDef(TypedDict):
    ProjectName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListModelsRequestListModelsPaginateTypeDef#

# ListModelsRequestListModelsPaginateTypeDef definition

class ListModelsRequestListModelsPaginateTypeDef(TypedDict):
    ProjectName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListProjectsRequestListProjectsPaginateTypeDef#

# ListProjectsRequestListProjectsPaginateTypeDef definition

class ListProjectsRequestListProjectsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef#

# ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef definition

class ListDatasetEntriesRequestListDatasetEntriesPaginateTypeDef(TypedDict):
    ProjectName: str,
    DatasetType: str,
    Labeled: NotRequired[bool],
    AnomalyClass: NotRequired[str],
    BeforeCreationDate: NotRequired[TimestampTypeDef],
    AfterCreationDate: NotRequired[TimestampTypeDef],
    SourceRefContains: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDatasetEntriesRequestRequestTypeDef#

# ListDatasetEntriesRequestRequestTypeDef definition

class ListDatasetEntriesRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    DatasetType: str,
    Labeled: NotRequired[bool],
    AnomalyClass: NotRequired[str],
    BeforeCreationDate: NotRequired[TimestampTypeDef],
    AfterCreationDate: NotRequired[TimestampTypeDef],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    SourceRefContains: NotRequired[str],

ListModelPackagingJobsResponseTypeDef#

# ListModelPackagingJobsResponseTypeDef definition

class ListModelPackagingJobsResponseTypeDef(TypedDict):
    ModelPackagingJobs: List[ModelPackagingJobMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ModelPackagingJobMetadataTypeDef
  2. See ResponseMetadataTypeDef

ModelMetadataTypeDef#

# ModelMetadataTypeDef 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)
  1. See ModelStatusType
  2. See ModelPerformanceTypeDef

DetectAnomalyResultTypeDef#

# DetectAnomalyResultTypeDef definition

class DetectAnomalyResultTypeDef(TypedDict):
    Source: NotRequired[ImageSourceTypeDef],  # (1)
    IsAnomalous: NotRequired[bool],
    Confidence: NotRequired[float],
    Anomalies: NotRequired[List[AnomalyTypeDef]],  # (2)
    AnomalyMask: NotRequired[bytes],
  1. See ImageSourceTypeDef
  2. See AnomalyTypeDef

DescribeProjectResponseTypeDef#

# DescribeProjectResponseTypeDef definition

class DescribeProjectResponseTypeDef(TypedDict):
    ProjectDescription: ProjectDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DescribeDatasetResponseTypeDef#

# DescribeDatasetResponseTypeDef definition

class DescribeDatasetResponseTypeDef(TypedDict):
    DatasetDescription: DatasetDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DatasetDescriptionTypeDef
  2. See ResponseMetadataTypeDef

DatasetSourceTypeDef#

# DatasetSourceTypeDef definition

class DatasetSourceTypeDef(TypedDict):
    GroundTruthManifest: NotRequired[DatasetGroundTruthManifestTypeDef],  # (1)
  1. See DatasetGroundTruthManifestTypeDef

CreateModelRequestRequestTypeDef#

# CreateModelRequestRequestTypeDef definition

class CreateModelRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    OutputConfig: OutputConfigTypeDef,  # (1)
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
    KmsKeyId: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See OutputConfigTypeDef
  2. See TagTypeDef

ModelDescriptionTypeDef#

# ModelDescriptionTypeDef 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],
  1. See ModelStatusType
  2. See ModelPerformanceTypeDef
  3. See OutputConfigTypeDef
  4. See OutputS3ObjectTypeDef
  5. See OutputS3ObjectTypeDef

ModelPackagingConfigurationOutputTypeDef#

# ModelPackagingConfigurationOutputTypeDef definition

class ModelPackagingConfigurationOutputTypeDef(TypedDict):
    Greengrass: GreengrassConfigurationOutputTypeDef,  # (1)
  1. See GreengrassConfigurationOutputTypeDef

CreateModelResponseTypeDef#

# CreateModelResponseTypeDef definition

class CreateModelResponseTypeDef(TypedDict):
    ModelMetadata: ModelMetadataTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ModelMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListModelsResponseTypeDef#

# ListModelsResponseTypeDef definition

class ListModelsResponseTypeDef(TypedDict):
    Models: List[ModelMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ModelMetadataTypeDef
  2. See ResponseMetadataTypeDef

DetectAnomaliesResponseTypeDef#

# DetectAnomaliesResponseTypeDef definition

class DetectAnomaliesResponseTypeDef(TypedDict):
    DetectAnomalyResult: DetectAnomalyResultTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DetectAnomalyResultTypeDef
  2. See ResponseMetadataTypeDef

CreateDatasetRequestRequestTypeDef#

# CreateDatasetRequestRequestTypeDef definition

class CreateDatasetRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    DatasetType: str,
    DatasetSource: NotRequired[DatasetSourceTypeDef],  # (1)
    ClientToken: NotRequired[str],
  1. See DatasetSourceTypeDef

DescribeModelResponseTypeDef#

# DescribeModelResponseTypeDef definition

class DescribeModelResponseTypeDef(TypedDict):
    ModelDescription: ModelDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ModelDescriptionTypeDef
  2. See ResponseMetadataTypeDef

ModelPackagingDescriptionTypeDef#

# ModelPackagingDescriptionTypeDef definition

class ModelPackagingDescriptionTypeDef(TypedDict):
    JobName: NotRequired[str],
    ProjectName: NotRequired[str],
    ModelVersion: NotRequired[str],
    ModelPackagingConfiguration: NotRequired[ModelPackagingConfigurationOutputTypeDef],  # (1)
    ModelPackagingJobDescription: NotRequired[str],
    ModelPackagingMethod: NotRequired[str],
    ModelPackagingOutputDetails: NotRequired[ModelPackagingOutputDetailsTypeDef],  # (2)
    Status: NotRequired[ModelPackagingJobStatusType],  # (3)
    StatusMessage: NotRequired[str],
    CreationTimestamp: NotRequired[datetime],
    LastUpdatedTimestamp: NotRequired[datetime],
  1. See ModelPackagingConfigurationOutputTypeDef
  2. See ModelPackagingOutputDetailsTypeDef
  3. See ModelPackagingJobStatusType

ModelPackagingConfigurationTypeDef#

# ModelPackagingConfigurationTypeDef definition

class ModelPackagingConfigurationTypeDef(TypedDict):
    Greengrass: GreengrassConfigurationUnionTypeDef,  # (1)
  1. See GreengrassConfigurationTypeDef GreengrassConfigurationOutputTypeDef

DescribeModelPackagingJobResponseTypeDef#

# DescribeModelPackagingJobResponseTypeDef definition

class DescribeModelPackagingJobResponseTypeDef(TypedDict):
    ModelPackagingDescription: ModelPackagingDescriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ModelPackagingDescriptionTypeDef
  2. See ResponseMetadataTypeDef

StartModelPackagingJobRequestRequestTypeDef#

# StartModelPackagingJobRequestRequestTypeDef definition

class StartModelPackagingJobRequestRequestTypeDef(TypedDict):
    ProjectName: str,
    ModelVersion: str,
    Configuration: ModelPackagingConfigurationTypeDef,  # (1)
    JobName: NotRequired[str],
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
  1. See ModelPackagingConfigurationTypeDef