Type definitions#
Index > MigrationHub > Type definitions
Auto-generated documentation for MigrationHub type annotations stubs module types-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],
SourceResourceTypeDef#
# SourceResourceTypeDef definition
class SourceResourceTypeDef(TypedDict):
Name: str,
Description: NotRequired[str],
StatusDetail: 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],
DisassociateSourceResourceRequestRequestTypeDef#
# DisassociateSourceResourceRequestRequestTypeDef definition
class DisassociateSourceResourceRequestRequestTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
SourceResourceName: 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],
ListMigrationTaskUpdatesRequestRequestTypeDef#
# ListMigrationTaskUpdatesRequestRequestTypeDef definition
class ListMigrationTaskUpdatesRequestRequestTypeDef(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],
ListSourceResourcesRequestRequestTypeDef#
# ListSourceResourcesRequestRequestTypeDef definition
class ListSourceResourcesRequestRequestTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
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],
AssociateSourceResourceRequestRequestTypeDef#
# AssociateSourceResourceRequestRequestTypeDef definition
class AssociateSourceResourceRequestRequestTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
SourceResource: SourceResourceTypeDef, # (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],
ListSourceResourcesResultTypeDef#
# ListSourceResourcesResultTypeDef definition
class ListSourceResourcesResultTypeDef(TypedDict):
SourceResourceList: list[SourceResourceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListApplicationStatesRequestPaginateTypeDef#
# ListApplicationStatesRequestPaginateTypeDef definition
class ListApplicationStatesRequestPaginateTypeDef(TypedDict):
ApplicationIds: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListCreatedArtifactsRequestPaginateTypeDef#
# ListCreatedArtifactsRequestPaginateTypeDef definition
class ListCreatedArtifactsRequestPaginateTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDiscoveredResourcesRequestPaginateTypeDef#
# ListDiscoveredResourcesRequestPaginateTypeDef definition
class ListDiscoveredResourcesRequestPaginateTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMigrationTaskUpdatesRequestPaginateTypeDef#
# ListMigrationTaskUpdatesRequestPaginateTypeDef definition
class ListMigrationTaskUpdatesRequestPaginateTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMigrationTasksRequestPaginateTypeDef#
# ListMigrationTasksRequestPaginateTypeDef definition
class ListMigrationTasksRequestPaginateTypeDef(TypedDict):
ResourceName: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListProgressUpdateStreamsRequestPaginateTypeDef#
# ListProgressUpdateStreamsRequestPaginateTypeDef definition
class ListProgressUpdateStreamsRequestPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSourceResourcesRequestPaginateTypeDef#
# ListSourceResourcesRequestPaginateTypeDef definition
class ListSourceResourcesRequestPaginateTypeDef(TypedDict):
ProgressUpdateStream: str,
MigrationTaskName: str,
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
MigrationTaskUpdateTypeDef#
# MigrationTaskUpdateTypeDef definition
class MigrationTaskUpdateTypeDef(TypedDict):
UpdateDateTime: NotRequired[datetime],
UpdateType: NotRequired[UpdateTypeType], # (1)
MigrationTaskState: NotRequired[TaskTypeDef], # (2)
- See UpdateTypeType
- See TaskTypeDef
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)
ListMigrationTaskUpdatesResultTypeDef#
# ListMigrationTaskUpdatesResultTypeDef definition
class ListMigrationTaskUpdatesResultTypeDef(TypedDict):
MigrationTaskUpdateList: list[MigrationTaskUpdateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],