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)
- client: BackupClient
- paginator: ListBackupJobsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListBackupJobsInputListBackupJobsPaginateTypeDef = { # (1)
"ByResourceArn": ...,
}
parent.paginate(**kwargs)
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)
- client: BackupClient
- paginator: ListBackupPlanTemplatesPaginator
- item: ListBackupPlanTemplatesOutputTypeDef
paginate#
Type annotations and code completion for ListBackupPlanTemplatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListBackupPlanTemplatesOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListBackupPlanTemplatesInputListBackupPlanTemplatesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: BackupClient
- paginator: ListBackupPlanVersionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListBackupPlanVersionsInputListBackupPlanVersionsPaginateTypeDef = { # (1)
"BackupPlanId": ...,
}
parent.paginate(**kwargs)
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)
- client: BackupClient
- paginator: ListBackupPlansPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListBackupPlansInputListBackupPlansPaginateTypeDef = { # (1)
"IncludeDeleted": ...,
}
parent.paginate(**kwargs)
ListBackupSelectionsPaginator#
Type annotations and code completion for boto3.client("backup").get_paginator("list_backup_selections")
.