Skip to content

Paginators#

Index > MigrationHubRefactorSpaces > Paginators

Auto-generated documentation for MigrationHubRefactorSpaces type annotations stubs module mypy-boto3-migration-hub-refactor-spaces.

ListApplicationsPaginator#

Type annotations and code completion for boto3.client("migration-hub-refactor-spaces").get_paginator("list_applications"). boto3 documentation

# ListApplicationsPaginator usage example

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListApplicationsPaginator

def get_list_applications_paginator() -> ListApplicationsPaginator:
    return Session().client("migration-hub-refactor-spaces").get_paginator("list_applications")
# ListApplicationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListApplicationsPaginator

session = Session()

client = Session().client("migration-hub-refactor-spaces")  # (1)
paginator: ListApplicationsPaginator = client.get_paginator("list_applications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MigrationHubRefactorSpacesClient
  2. paginator: ListApplicationsPaginator
  3. item: ListApplicationsResponseTypeDef

paginate#

Type annotations and code completion for ListApplicationsPaginator.paginate method.

# paginate method definition

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

kwargs: ListApplicationsRequestListApplicationsPaginateTypeDef = {  # (1)
    "EnvironmentIdentifier": ...,
}

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

ListEnvironmentVpcsPaginator#

Type annotations and code completion for boto3.client("migration-hub-refactor-spaces").get_paginator("list_environment_vpcs"). boto3 documentation

# ListEnvironmentVpcsPaginator usage example

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListEnvironmentVpcsPaginator

def get_list_environment_vpcs_paginator() -> ListEnvironmentVpcsPaginator:
    return Session().client("migration-hub-refactor-spaces").get_paginator("list_environment_vpcs")
# ListEnvironmentVpcsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListEnvironmentVpcsPaginator

session = Session()

client = Session().client("migration-hub-refactor-spaces")  # (1)
paginator: ListEnvironmentVpcsPaginator = client.get_paginator("list_environment_vpcs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MigrationHubRefactorSpacesClient
  2. paginator: ListEnvironmentVpcsPaginator
  3. item: ListEnvironmentVpcsResponseTypeDef

paginate#

Type annotations and code completion for ListEnvironmentVpcsPaginator.paginate method.

# paginate method definition

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

kwargs: ListEnvironmentVpcsRequestListEnvironmentVpcsPaginateTypeDef = {  # (1)
    "EnvironmentIdentifier": ...,
}

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

ListEnvironmentsPaginator#

Type annotations and code completion for boto3.client("migration-hub-refactor-spaces").get_paginator("list_environments"). boto3 documentation

# ListEnvironmentsPaginator usage example

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListEnvironmentsPaginator

def get_list_environments_paginator() -> ListEnvironmentsPaginator:
    return Session().client("migration-hub-refactor-spaces").get_paginator("list_environments")
# ListEnvironmentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListEnvironmentsPaginator

session = Session()

client = Session().client("migration-hub-refactor-spaces")  # (1)
paginator: ListEnvironmentsPaginator = client.get_paginator("list_environments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MigrationHubRefactorSpacesClient
  2. paginator: ListEnvironmentsPaginator
  3. item: ListEnvironmentsResponseTypeDef

paginate#

Type annotations and code completion for ListEnvironmentsPaginator.paginate method.

# paginate method definition

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

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

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

ListRoutesPaginator#

Type annotations and code completion for boto3.client("migration-hub-refactor-spaces").get_paginator("list_routes"). boto3 documentation

# ListRoutesPaginator usage example

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListRoutesPaginator

def get_list_routes_paginator() -> ListRoutesPaginator:
    return Session().client("migration-hub-refactor-spaces").get_paginator("list_routes")
# ListRoutesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListRoutesPaginator

session = Session()

client = Session().client("migration-hub-refactor-spaces")  # (1)
paginator: ListRoutesPaginator = client.get_paginator("list_routes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MigrationHubRefactorSpacesClient
  2. paginator: ListRoutesPaginator
  3. item: ListRoutesResponseTypeDef

paginate#

Type annotations and code completion for ListRoutesPaginator.paginate method.

# paginate method definition

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

kwargs: ListRoutesRequestListRoutesPaginateTypeDef = {  # (1)
    "ApplicationIdentifier": ...,
    "EnvironmentIdentifier": ...,
}

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

ListServicesPaginator#

Type annotations and code completion for boto3.client("migration-hub-refactor-spaces").get_paginator("list_services"). boto3 documentation

# ListServicesPaginator usage example

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListServicesPaginator

def get_list_services_paginator() -> ListServicesPaginator:
    return Session().client("migration-hub-refactor-spaces").get_paginator("list_services")
# ListServicesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_migration_hub_refactor_spaces.paginator import ListServicesPaginator

session = Session()

client = Session().client("migration-hub-refactor-spaces")  # (1)
paginator: ListServicesPaginator = client.get_paginator("list_services")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MigrationHubRefactorSpacesClient
  2. paginator: ListServicesPaginator
  3. item: ListServicesResponseTypeDef

paginate#

Type annotations and code completion for ListServicesPaginator.paginate method.

# paginate method definition

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

kwargs: ListServicesRequestListServicesPaginateTypeDef = {  # (1)
    "ApplicationIdentifier": ...,
    "EnvironmentIdentifier": ...,
}

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