Skip to content

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)
  1. client: MigrationHubClient
  2. paginator: ListApplicationStatesPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListApplicationStatesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListApplicationStatesRequestListApplicationStatesPaginateTypeDef = {  # (1)
    "ApplicationIds": ...,
}

parent.paginate(**kwargs)
  1. See ListApplicationStatesRequestListApplicationStatesPaginateTypeDef

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)
  1. client: MigrationHubClient
  2. paginator: ListCreatedArtifactsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListCreatedArtifactsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListCreatedArtifactsRequestListCreatedArtifactsPaginateTypeDef = {  # (1)
    "ProgressUpdateStream": ...,
    "MigrationTaskName": ...,
}

parent.paginate(**kwargs)
  1. See ListCreatedArtifactsRequestListCreatedArtifactsPaginateTypeDef

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)
  1. client: MigrationHubClient
  2. paginator: ListDiscoveredResourcesPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListDiscoveredResourcesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListDiscoveredResourcesRequestListDiscoveredResourcesPaginateTypeDef = {  # (1)
    "ProgressUpdateStream": ...,
    "MigrationTaskName": ...,
}

parent.paginate(**kwargs)
  1. See ListDiscoveredResourcesRequestListDiscoveredResourcesPaginateTypeDef

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)
  1. client: MigrationHubClient
  2. paginator: ListMigrationTasksPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListMigrationTasksResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListMigrationTasksRequestListMigrationTasksPaginateTypeDef = {  # (1)
    "ResourceName": ...,
}

parent.paginate(**kwargs)
  1. See ListMigrationTasksRequestListMigrationTasksPaginateTypeDef

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)
  1. client: MigrationHubClient
  2. paginator: ListProgressUpdateStreamsPaginator
  3. item: ListProgressUpdateStreamsResultTypeDef

paginate#

Type annotations and code completion for ListProgressUpdateStreamsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListProgressUpdateStreamsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListProgressUpdateStreamsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListProgressUpdateStreamsRequestListProgressUpdateStreamsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListProgressUpdateStreamsRequestListProgressUpdateStreamsPaginateTypeDef