Skip to content

Paginators#

Index > Backup > Paginators

Auto-generated documentation for Backup type annotations stubs module mypy-boto3-backup.

ListBackupJobsPaginator#

Type annotations and code completion for boto3.client("backup").get_paginator("list_backup_jobs"). boto3 documentation

# ListBackupJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_backup.paginator import ListBackupJobsPaginator

def get_list_backup_jobs_paginator() -> ListBackupJobsPaginator:
    return Session().client("backup").get_paginator("list_backup_jobs")
# ListBackupJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_backup.paginator import ListBackupJobsPaginator

session = Session()

client = Session().client("backup")  # (1)
paginator: ListBackupJobsPaginator = client.get_paginator("list_backup_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BackupClient
  2. paginator: ListBackupJobsPaginator
  3. item: ListBackupJobsOutputTypeDef

paginate#

Type annotations and code completion for ListBackupJobsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ByResourceArn: str = ...,
    ByState: BackupJobStateType = ...,  # (1)
    ByBackupVaultName: str = ...,
    ByCreatedBefore: Union[datetime, str] = ...,
    ByCreatedAfter: Union[datetime, str] = ...,
    ByResourceType: str = ...,
    ByAccountId: str = ...,
    ByCompleteAfter: Union[datetime, str] = ...,
    ByCompleteBefore: Union[datetime, str] = ...,
    ByParentJobId: str = ...,
    ByMessageCategory: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListBackupJobsOutputTypeDef]:  # (3)
    ...
  1. See BackupJobStateType
  2. See PaginatorConfigTypeDef
  3. See ListBackupJobsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListBackupJobsInputListBackupJobsPaginateTypeDef = {  # (1)
    "ByResourceArn": ...,
}

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

ListBackupPlanTemplatesPaginator#

Type annotations and code completion for boto3.client("backup").get_paginator("list_backup_plan_templates"). boto3 documentation

# ListBackupPlanTemplatesPaginator usage example

from boto3.session import Session

from mypy_boto3_backup.paginator import ListBackupPlanTemplatesPaginator

def get_list_backup_plan_templates_paginator() -> ListBackupPlanTemplatesPaginator:
    return Session().client("backup").get_paginator("list_backup_plan_templates")
# ListBackupPlanTemplatesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_backup.paginator import ListBackupPlanTemplatesPaginator

session = Session()

client = Session().client("backup")  # (1)
paginator: ListBackupPlanTemplatesPaginator = client.get_paginator("list_backup_plan_templates")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BackupClient
  2. paginator: ListBackupPlanTemplatesPaginator
  3. item: ListBackupPlanTemplatesOutputTypeDef

paginate#

Type annotations and code completion for ListBackupPlanTemplatesPaginator.paginate method.

# paginate method definition

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

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

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

ListBackupPlanVersionsPaginator#

Type annotations and code completion for boto3.client("backup").get_paginator("list_backup_plan_versions"). boto3 documentation

# ListBackupPlanVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_backup.paginator import ListBackupPlanVersionsPaginator

def get_list_backup_plan_versions_paginator() -> ListBackupPlanVersionsPaginator:
    return Session().client("backup").get_paginator("list_backup_plan_versions")
# ListBackupPlanVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_backup.paginator import ListBackupPlanVersionsPaginator

session = Session()

client = Session().client("backup")  # (1)
paginator: ListBackupPlanVersionsPaginator = client.get_paginator("list_backup_plan_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BackupClient
  2. paginator: ListBackupPlanVersionsPaginator
  3. item: ListBackupPlanVersionsOutputTypeDef

paginate#

Type annotations and code completion for ListBackupPlanVersionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListBackupPlanVersionsInputListBackupPlanVersionsPaginateTypeDef = {  # (1)
    "BackupPlanId": ...,
}

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

ListBackupPlansPaginator#

Type annotations and code completion for boto3.client("backup").get_paginator("list_backup_plans"). boto3 documentation

# ListBackupPlansPaginator usage example

from boto3.session import Session

from mypy_boto3_backup.paginator import ListBackupPlansPaginator

def get_list_backup_plans_paginator() -> ListBackupPlansPaginator:
    return Session().client("backup").get_paginator("list_backup_plans")
# ListBackupPlansPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_backup.paginator import ListBackupPlansPaginator

session = Session()

client = Session().client("backup")  # (1)
paginator: ListBackupPlansPaginator = client.get_paginator("list_backup_plans")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BackupClient
  2. paginator: ListBackupPlansPaginator
  3. item: ListBackupPlansOutputTypeDef

paginate#

Type annotations and code completion for ListBackupPlansPaginator.paginate method.

# paginate method definition

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

kwargs: ListBackupPlansInputListBackupPlansPaginateTypeDef = {  # (1)
    "IncludeDeleted": ...,
}

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

ListBackupSelectionsPaginator#

Type annotations and code completion for boto3.client("backup").get_paginator("list_backup_selections").