Paginators#
Index > MigrationHub > Paginators
Auto-generated documentation for MigrationHub type annotations stubs module mypy-boto3-mgh.
ListApplicationStatesPaginator#
Type annotations and code completion for boto3.client("mgh").get_paginator("list_application_states")
.
boto3 documentation
# ListApplicationStatesPaginator usage example
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListApplicationStatesPaginator
def get_list_application_states_paginator() -> ListApplicationStatesPaginator:
return Session().client("mgh").get_paginator("list_application_states")
# ListApplicationStatesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListApplicationStatesPaginator
session = Session()
client = Session().client("mgh") # (1)
paginator: ListApplicationStatesPaginator = client.get_paginator("list_application_states") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MigrationHubClient
- paginator: ListApplicationStatesPaginator
- item: ListApplicationStatesResultTypeDef
paginate#
Type annotations and code completion for ListApplicationStatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ApplicationIds: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListApplicationStatesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListApplicationStatesRequestPaginateTypeDef = { # (1)
"ApplicationIds": ...,
}
parent.paginate(**kwargs)
ListCreatedArtifactsPaginator#
Type annotations and code completion for boto3.client("mgh").get_paginator("list_created_artifacts")
.
boto3 documentation
# ListCreatedArtifactsPaginator usage example
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListCreatedArtifactsPaginator
def get_list_created_artifacts_paginator() -> ListCreatedArtifactsPaginator:
return Session().client("mgh").get_paginator("list_created_artifacts")
# ListCreatedArtifactsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListCreatedArtifactsPaginator
session = Session()
client = Session().client("mgh") # (1)
paginator: ListCreatedArtifactsPaginator = client.get_paginator("list_created_artifacts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MigrationHubClient
- paginator: ListCreatedArtifactsPaginator
- item: ListCreatedArtifactsResultTypeDef
paginate#
Type annotations and code completion for ListCreatedArtifactsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListCreatedArtifactsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListCreatedArtifactsRequestPaginateTypeDef = { # (1)
"ProgressUpdateStream": ...,
"MigrationTaskName": ...,
}
parent.paginate(**kwargs)
ListDiscoveredResourcesPaginator#
Type annotations and code completion for boto3.client("mgh").get_paginator("list_discovered_resources")
.
boto3 documentation
# ListDiscoveredResourcesPaginator usage example
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListDiscoveredResourcesPaginator
def get_list_discovered_resources_paginator() -> ListDiscoveredResourcesPaginator:
return Session().client("mgh").get_paginator("list_discovered_resources")
# ListDiscoveredResourcesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListDiscoveredResourcesPaginator
session = Session()
client = Session().client("mgh") # (1)
paginator: ListDiscoveredResourcesPaginator = client.get_paginator("list_discovered_resources") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MigrationHubClient
- paginator: ListDiscoveredResourcesPaginator
- item: ListDiscoveredResourcesResultTypeDef
paginate#
Type annotations and code completion for ListDiscoveredResourcesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListDiscoveredResourcesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDiscoveredResourcesRequestPaginateTypeDef = { # (1)
"ProgressUpdateStream": ...,
"MigrationTaskName": ...,
}
parent.paginate(**kwargs)
ListMigrationTaskUpdatesPaginator#
Type annotations and code completion for boto3.client("mgh").get_paginator("list_migration_task_updates")
.
boto3 documentation
# ListMigrationTaskUpdatesPaginator usage example
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListMigrationTaskUpdatesPaginator
def get_list_migration_task_updates_paginator() -> ListMigrationTaskUpdatesPaginator:
return Session().client("mgh").get_paginator("list_migration_task_updates")
# ListMigrationTaskUpdatesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListMigrationTaskUpdatesPaginator
session = Session()
client = Session().client("mgh") # (1)
paginator: ListMigrationTaskUpdatesPaginator = client.get_paginator("list_migration_task_updates") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MigrationHubClient
- paginator: ListMigrationTaskUpdatesPaginator
- item: ListMigrationTaskUpdatesResultTypeDef
paginate#
Type annotations and code completion for ListMigrationTaskUpdatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListMigrationTaskUpdatesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListMigrationTaskUpdatesRequestPaginateTypeDef = { # (1)
"ProgressUpdateStream": ...,
"MigrationTaskName": ...,
}
parent.paginate(**kwargs)
ListMigrationTasksPaginator#
Type annotations and code completion for boto3.client("mgh").get_paginator("list_migration_tasks")
.
boto3 documentation
# ListMigrationTasksPaginator usage example
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListMigrationTasksPaginator
def get_list_migration_tasks_paginator() -> ListMigrationTasksPaginator:
return Session().client("mgh").get_paginator("list_migration_tasks")
# ListMigrationTasksPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListMigrationTasksPaginator
session = Session()
client = Session().client("mgh") # (1)
paginator: ListMigrationTasksPaginator = client.get_paginator("list_migration_tasks") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MigrationHubClient
- paginator: ListMigrationTasksPaginator
- item: ListMigrationTasksResultTypeDef
paginate#
Type annotations and code completion for ListMigrationTasksPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ResourceName: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListMigrationTasksResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListMigrationTasksRequestPaginateTypeDef = { # (1)
"ResourceName": ...,
}
parent.paginate(**kwargs)
ListProgressUpdateStreamsPaginator#
Type annotations and code completion for boto3.client("mgh").get_paginator("list_progress_update_streams")
.
boto3 documentation
# ListProgressUpdateStreamsPaginator usage example
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListProgressUpdateStreamsPaginator
def get_list_progress_update_streams_paginator() -> ListProgressUpdateStreamsPaginator:
return Session().client("mgh").get_paginator("list_progress_update_streams")
# ListProgressUpdateStreamsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListProgressUpdateStreamsPaginator
session = Session()
client = Session().client("mgh") # (1)
paginator: ListProgressUpdateStreamsPaginator = client.get_paginator("list_progress_update_streams") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MigrationHubClient
- paginator: ListProgressUpdateStreamsPaginator
- item: ListProgressUpdateStreamsResultTypeDef
paginate#
Type annotations and code completion for ListProgressUpdateStreamsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListProgressUpdateStreamsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListProgressUpdateStreamsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListSourceResourcesPaginator#
Type annotations and code completion for boto3.client("mgh").get_paginator("list_source_resources")
.
boto3 documentation
# ListSourceResourcesPaginator usage example
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListSourceResourcesPaginator
def get_list_source_resources_paginator() -> ListSourceResourcesPaginator:
return Session().client("mgh").get_paginator("list_source_resources")
# ListSourceResourcesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mgh.paginator import ListSourceResourcesPaginator
session = Session()
client = Session().client("mgh") # (1)
paginator: ListSourceResourcesPaginator = client.get_paginator("list_source_resources") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MigrationHubClient
- paginator: ListSourceResourcesPaginator
- item: ListSourceResourcesResultTypeDef
paginate#
Type annotations and code completion for ListSourceResourcesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ProgressUpdateStream: str,
MigrationTaskName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListSourceResourcesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSourceResourcesRequestPaginateTypeDef = { # (1)
"ProgressUpdateStream": ...,
"MigrationTaskName": ...,
}
parent.paginate(**kwargs)