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],
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],
- 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,
TaskTypeDef#
# TaskTypeDef definition
class TaskTypeDef(TypedDict):
Status: StatusType, # (1)
StatusDetail: NotRequired[str],
ProgressPercent: NotRequired[int],
- See StatusType
AssociateCreatedArtifactRequestRequestTypeDef#
# AssociateCreatedArtifactRequestRequestTypeDef definition
class AssociateCreatedArtifactRequestRequestTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
CreatedArtifact: CreatedArtifactTypeDef, # (1)
DryRun: NotRequired[bool],
AssociateDiscoveredResourceRequestRequestTypeDef#
# AssociateDiscoveredResourceRequestRequestTypeDef definition
class AssociateDiscoveredResourceRequestRequestTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
DiscoveredResource: DiscoveredResourceTypeDef, # (1)
DryRun: NotRequired[bool],
DescribeApplicationStateResultTypeDef#
# DescribeApplicationStateResultTypeDef definition
class DescribeApplicationStateResultTypeDef(TypedDict):
ApplicationStatus: ApplicationStatusType, # (1)
LastUpdatedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListApplicationStatesResultTypeDef#
# ListApplicationStatesResultTypeDef definition
class ListApplicationStatesResultTypeDef(TypedDict):
ApplicationStateList: List[ApplicationStateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListCreatedArtifactsResultTypeDef#
# ListCreatedArtifactsResultTypeDef definition
class ListCreatedArtifactsResultTypeDef(TypedDict):
CreatedArtifactList: List[CreatedArtifactTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListDiscoveredResourcesResultTypeDef#
# ListDiscoveredResourcesResultTypeDef definition
class ListDiscoveredResourcesResultTypeDef(TypedDict):
DiscoveredResourceList: List[DiscoveredResourceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListApplicationStatesRequestListApplicationStatesPaginateTypeDef#
# ListApplicationStatesRequestListApplicationStatesPaginateTypeDef definition
class ListApplicationStatesRequestListApplicationStatesPaginateTypeDef(TypedDict):
ApplicationIds: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListCreatedArtifactsRequestListCreatedArtifactsPaginateTypeDef#
# ListCreatedArtifactsRequestListCreatedArtifactsPaginateTypeDef definition
class ListCreatedArtifactsRequestListCreatedArtifactsPaginateTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDiscoveredResourcesRequestListDiscoveredResourcesPaginateTypeDef#
# ListDiscoveredResourcesRequestListDiscoveredResourcesPaginateTypeDef definition
class ListDiscoveredResourcesRequestListDiscoveredResourcesPaginateTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMigrationTasksRequestListMigrationTasksPaginateTypeDef#
# ListMigrationTasksRequestListMigrationTasksPaginateTypeDef definition
class ListMigrationTasksRequestListMigrationTasksPaginateTypeDef(TypedDict):
ResourceName: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListProgressUpdateStreamsRequestListProgressUpdateStreamsPaginateTypeDef#
# ListProgressUpdateStreamsRequestListProgressUpdateStreamsPaginateTypeDef definition
class ListProgressUpdateStreamsRequestListProgressUpdateStreamsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMigrationTasksResultTypeDef#
# ListMigrationTasksResultTypeDef definition
class ListMigrationTasksResultTypeDef(TypedDict):
MigrationTaskSummaryList: List[MigrationTaskSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListProgressUpdateStreamsResultTypeDef#
# ListProgressUpdateStreamsResultTypeDef definition
class ListProgressUpdateStreamsResultTypeDef(TypedDict):
ProgressUpdateStreamSummaryList: List[ProgressUpdateStreamSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
PutResourceAttributesRequestRequestTypeDef#
# PutResourceAttributesRequestRequestTypeDef definition
class PutResourceAttributesRequestRequestTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
ResourceAttributeList: Sequence[ResourceAttributeTypeDef], # (1)
DryRun: NotRequired[bool],
MigrationTaskTypeDef#
# MigrationTaskTypeDef definition
class MigrationTaskTypeDef(TypedDict):
ProgressUpdateStream: NotRequired[str],
MigrationTaskName: NotRequired[str],
Task: NotRequired[TaskTypeDef], # (1)
UpdateDateTime: NotRequired[datetime],
ResourceAttributeList: NotRequired[List[ResourceAttributeTypeDef]], # (2)
- See TaskTypeDef
- See ResourceAttributeTypeDef
NotifyApplicationStateRequestRequestTypeDef#
# NotifyApplicationStateRequestRequestTypeDef definition
class NotifyApplicationStateRequestRequestTypeDef(TypedDict):
ApplicationId: str,
Status: ApplicationStatusType, # (1)
UpdateDateTime: NotRequired[TimestampTypeDef],
DryRun: NotRequired[bool],
NotifyMigrationTaskStateRequestRequestTypeDef#
# NotifyMigrationTaskStateRequestRequestTypeDef definition
class NotifyMigrationTaskStateRequestRequestTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
Task: TaskTypeDef, # (1)
UpdateDateTime: TimestampTypeDef,
NextUpdateSeconds: int,
DryRun: NotRequired[bool],
- See TaskTypeDef
DescribeMigrationTaskResultTypeDef#
# DescribeMigrationTaskResultTypeDef definition
class DescribeMigrationTaskResultTypeDef(TypedDict):
MigrationTask: MigrationTaskTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)