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: ListApplicationsRequestPaginateTypeDef = {  # (1)
    "EnvironmentIdentifier": ...,
}

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

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: ListEnvironmentVpcsRequestPaginateTypeDef = {  # (1)
    "EnvironmentIdentifier": ...,
}

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

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

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

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: ListRoutesRequestPaginateTypeDef = {  # (1)
    "ApplicationIdentifier": ...,
    "EnvironmentIdentifier": ...,
}

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

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: ListServicesRequestPaginateTypeDef = {  # (1)
    "ApplicationIdentifier": ...,
    "EnvironmentIdentifier": ...,
}

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