Skip to content

Paginators#

Index > MigrationHub > Paginators

Auto-generated documentation for MigrationHub type annotations stubs module types-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 types_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 types_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: ListApplicationStatesRequestPaginateTypeDef = {  # (1)
    "ApplicationIds": ...,
}

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

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 types_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 types_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: ListCreatedArtifactsRequestPaginateTypeDef = {  # (1)
    "ProgressUpdateStream": ...,
    "MigrationTaskName": ...,
}

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

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 types_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 types_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: ListDiscoveredResourcesRequestPaginateTypeDef = {  # (1)
    "ProgressUpdateStream": ...,
    "MigrationTaskName": ...,
}

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

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

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

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

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 types_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 types_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: ListMigrationTasksRequestPaginateTypeDef = {  # (1)
    "ResourceName": ...,
}

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

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 types_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 types_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: ListProgressUpdateStreamsRequestPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

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

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

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