Skip to content

Type definitions#

Index > MigrationHub > Type definitions

Auto-generated documentation for MigrationHub type annotations stubs module mypy-boto3-mgh.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ApplicationStateTypeDef#

# ApplicationStateTypeDef definition

class ApplicationStateTypeDef(TypedDict):
    ApplicationId: NotRequired[str],
    ApplicationStatus: NotRequired[ApplicationStatusType],  # (1)
    LastUpdatedTime: NotRequired[datetime],
  1. See ApplicationStatusType

CreatedArtifactTypeDef#

# CreatedArtifactTypeDef definition

class CreatedArtifactTypeDef(TypedDict):
    Name: str,
    Description: NotRequired[str],

DiscoveredResourceTypeDef#

# DiscoveredResourceTypeDef definition

class DiscoveredResourceTypeDef(TypedDict):
    ConfigurationId: str,
    Description: NotRequired[str],

CreateProgressUpdateStreamRequestRequestTypeDef#

# CreateProgressUpdateStreamRequestRequestTypeDef definition

class CreateProgressUpdateStreamRequestRequestTypeDef(TypedDict):
    ProgressUpdateStreamName: str,
    DryRun: NotRequired[bool],

DeleteProgressUpdateStreamRequestRequestTypeDef#

# DeleteProgressUpdateStreamRequestRequestTypeDef definition

class DeleteProgressUpdateStreamRequestRequestTypeDef(TypedDict):
    ProgressUpdateStreamName: str,
    DryRun: NotRequired[bool],

DescribeApplicationStateRequestRequestTypeDef#

# DescribeApplicationStateRequestRequestTypeDef definition

class DescribeApplicationStateRequestRequestTypeDef(TypedDict):
    ApplicationId: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

DescribeMigrationTaskRequestRequestTypeDef#

# DescribeMigrationTaskRequestRequestTypeDef definition

class DescribeMigrationTaskRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,

DisassociateCreatedArtifactRequestRequestTypeDef#

# DisassociateCreatedArtifactRequestRequestTypeDef definition

class DisassociateCreatedArtifactRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    CreatedArtifactName: str,
    DryRun: NotRequired[bool],

DisassociateDiscoveredResourceRequestRequestTypeDef#

# DisassociateDiscoveredResourceRequestRequestTypeDef definition

class DisassociateDiscoveredResourceRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    ConfigurationId: str,
    DryRun: NotRequired[bool],

ImportMigrationTaskRequestRequestTypeDef#

# ImportMigrationTaskRequestRequestTypeDef definition

class ImportMigrationTaskRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    DryRun: NotRequired[bool],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListApplicationStatesRequestRequestTypeDef#

# ListApplicationStatesRequestRequestTypeDef definition

class ListApplicationStatesRequestRequestTypeDef(TypedDict):
    ApplicationIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListCreatedArtifactsRequestRequestTypeDef#

# ListCreatedArtifactsRequestRequestTypeDef definition

class ListCreatedArtifactsRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListDiscoveredResourcesRequestRequestTypeDef#

# ListDiscoveredResourcesRequestRequestTypeDef definition

class ListDiscoveredResourcesRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListMigrationTasksRequestRequestTypeDef#

# ListMigrationTasksRequestRequestTypeDef definition

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

MigrationTaskSummaryTypeDef#

# MigrationTaskSummaryTypeDef definition

class MigrationTaskSummaryTypeDef(TypedDict):
    ProgressUpdateStream: NotRequired[str],
    MigrationTaskName: NotRequired[str],
    Status: NotRequired[StatusType],  # (1)
    ProgressPercent: NotRequired[int],
    StatusDetail: NotRequired[str],
    UpdateDateTime: NotRequired[datetime],
  1. See StatusType

ListProgressUpdateStreamsRequestRequestTypeDef#

# ListProgressUpdateStreamsRequestRequestTypeDef definition

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

ProgressUpdateStreamSummaryTypeDef#

# ProgressUpdateStreamSummaryTypeDef definition

class ProgressUpdateStreamSummaryTypeDef(TypedDict):
    ProgressUpdateStreamName: NotRequired[str],

ResourceAttributeTypeDef#

# ResourceAttributeTypeDef definition

class ResourceAttributeTypeDef(TypedDict):
    Type: ResourceAttributeTypeType,  # (1)
    Value: str,
  1. See ResourceAttributeTypeType

TaskTypeDef#

# TaskTypeDef definition

class TaskTypeDef(TypedDict):
    Status: StatusType,  # (1)
    StatusDetail: NotRequired[str],
    ProgressPercent: NotRequired[int],
  1. See StatusType

AssociateCreatedArtifactRequestRequestTypeDef#

# AssociateCreatedArtifactRequestRequestTypeDef definition

class AssociateCreatedArtifactRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    CreatedArtifact: CreatedArtifactTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See CreatedArtifactTypeDef

AssociateDiscoveredResourceRequestRequestTypeDef#

# AssociateDiscoveredResourceRequestRequestTypeDef definition

class AssociateDiscoveredResourceRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    DiscoveredResource: DiscoveredResourceTypeDef,  # (1)
    DryRun: NotRequired[bool],
  1. See DiscoveredResourceTypeDef

DescribeApplicationStateResultTypeDef#

# DescribeApplicationStateResultTypeDef definition

class DescribeApplicationStateResultTypeDef(TypedDict):
    ApplicationStatus: ApplicationStatusType,  # (1)
    LastUpdatedTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationStatusType
  2. See ResponseMetadataTypeDef

ListApplicationStatesResultTypeDef#

# ListApplicationStatesResultTypeDef definition

class ListApplicationStatesResultTypeDef(TypedDict):
    ApplicationStateList: List[ApplicationStateTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ApplicationStateTypeDef
  2. See ResponseMetadataTypeDef

ListCreatedArtifactsResultTypeDef#

# ListCreatedArtifactsResultTypeDef definition

class ListCreatedArtifactsResultTypeDef(TypedDict):
    CreatedArtifactList: List[CreatedArtifactTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See CreatedArtifactTypeDef
  2. See ResponseMetadataTypeDef

ListDiscoveredResourcesResultTypeDef#

# ListDiscoveredResourcesResultTypeDef definition

class ListDiscoveredResourcesResultTypeDef(TypedDict):
    DiscoveredResourceList: List[DiscoveredResourceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See DiscoveredResourceTypeDef
  2. See ResponseMetadataTypeDef

ListApplicationStatesRequestListApplicationStatesPaginateTypeDef#

# ListApplicationStatesRequestListApplicationStatesPaginateTypeDef definition

class ListApplicationStatesRequestListApplicationStatesPaginateTypeDef(TypedDict):
    ApplicationIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListCreatedArtifactsRequestListCreatedArtifactsPaginateTypeDef#

# ListCreatedArtifactsRequestListCreatedArtifactsPaginateTypeDef definition

class ListCreatedArtifactsRequestListCreatedArtifactsPaginateTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDiscoveredResourcesRequestListDiscoveredResourcesPaginateTypeDef#

# ListDiscoveredResourcesRequestListDiscoveredResourcesPaginateTypeDef definition

class ListDiscoveredResourcesRequestListDiscoveredResourcesPaginateTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListMigrationTasksRequestListMigrationTasksPaginateTypeDef#

# ListMigrationTasksRequestListMigrationTasksPaginateTypeDef definition

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

ListProgressUpdateStreamsRequestListProgressUpdateStreamsPaginateTypeDef#

# ListProgressUpdateStreamsRequestListProgressUpdateStreamsPaginateTypeDef definition

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

ListMigrationTasksResultTypeDef#

# ListMigrationTasksResultTypeDef definition

class ListMigrationTasksResultTypeDef(TypedDict):
    MigrationTaskSummaryList: List[MigrationTaskSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See MigrationTaskSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListProgressUpdateStreamsResultTypeDef#

# ListProgressUpdateStreamsResultTypeDef definition

class ListProgressUpdateStreamsResultTypeDef(TypedDict):
    ProgressUpdateStreamSummaryList: List[ProgressUpdateStreamSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ProgressUpdateStreamSummaryTypeDef
  2. See ResponseMetadataTypeDef

PutResourceAttributesRequestRequestTypeDef#

# PutResourceAttributesRequestRequestTypeDef definition

class PutResourceAttributesRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    ResourceAttributeList: Sequence[ResourceAttributeTypeDef],  # (1)
    DryRun: NotRequired[bool],
  1. See ResourceAttributeTypeDef

MigrationTaskTypeDef#

# MigrationTaskTypeDef definition

class MigrationTaskTypeDef(TypedDict):
    ProgressUpdateStream: NotRequired[str],
    MigrationTaskName: NotRequired[str],
    Task: NotRequired[TaskTypeDef],  # (1)
    UpdateDateTime: NotRequired[datetime],
    ResourceAttributeList: NotRequired[List[ResourceAttributeTypeDef]],  # (2)
  1. See TaskTypeDef
  2. See ResourceAttributeTypeDef

NotifyApplicationStateRequestRequestTypeDef#

# NotifyApplicationStateRequestRequestTypeDef definition

class NotifyApplicationStateRequestRequestTypeDef(TypedDict):
    ApplicationId: str,
    Status: ApplicationStatusType,  # (1)
    UpdateDateTime: NotRequired[TimestampTypeDef],
    DryRun: NotRequired[bool],
  1. See ApplicationStatusType

NotifyMigrationTaskStateRequestRequestTypeDef#

# NotifyMigrationTaskStateRequestRequestTypeDef definition

class NotifyMigrationTaskStateRequestRequestTypeDef(TypedDict):
    ProgressUpdateStream: str,
    MigrationTaskName: str,
    Task: TaskTypeDef,  # (1)
    UpdateDateTime: TimestampTypeDef,
    NextUpdateSeconds: int,
    DryRun: NotRequired[bool],
  1. See TaskTypeDef

DescribeMigrationTaskResultTypeDef#

# DescribeMigrationTaskResultTypeDef definition

class DescribeMigrationTaskResultTypeDef(TypedDict):
    MigrationTask: MigrationTaskTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MigrationTaskTypeDef
  2. See ResponseMetadataTypeDef