Paginators#
Auto-generated documentation for Drs type annotations stubs module mypy-boto3-drs.
DescribeJobLogItemsPaginator#
Type annotations and code completion for boto3.client("drs").get_paginator("describe_job_log_items")
.
boto3 documentation
# DescribeJobLogItemsPaginator usage example
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeJobLogItemsPaginator
def get_describe_job_log_items_paginator() -> DescribeJobLogItemsPaginator:
return Session().client("drs").get_paginator("describe_job_log_items")
# DescribeJobLogItemsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeJobLogItemsPaginator
session = Session()
client = Session().client("drs") # (1)
paginator: DescribeJobLogItemsPaginator = client.get_paginator("describe_job_log_items") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DrsClient
- paginator: DescribeJobLogItemsPaginator
- item: DescribeJobLogItemsResponseTypeDef
paginate#
Type annotations and code completion for DescribeJobLogItemsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
jobID: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeJobLogItemsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeJobLogItemsRequestDescribeJobLogItemsPaginateTypeDef = { # (1)
"jobID": ...,
}
parent.paginate(**kwargs)
DescribeJobsPaginator#
Type annotations and code completion for boto3.client("drs").get_paginator("describe_jobs")
.
boto3 documentation
# DescribeJobsPaginator usage example
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeJobsPaginator
def get_describe_jobs_paginator() -> DescribeJobsPaginator:
return Session().client("drs").get_paginator("describe_jobs")
# DescribeJobsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeJobsPaginator
session = Session()
client = Session().client("drs") # (1)
paginator: DescribeJobsPaginator = client.get_paginator("describe_jobs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DrsClient
- paginator: DescribeJobsPaginator
- item: DescribeJobsResponseTypeDef
paginate#
Type annotations and code completion for DescribeJobsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filters: DescribeJobsRequestFiltersTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[DescribeJobsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: DescribeJobsRequestDescribeJobsPaginateTypeDef = { # (1)
"filters": ...,
}
parent.paginate(**kwargs)
DescribeLaunchConfigurationTemplatesPaginator#
Type annotations and code completion for boto3.client("drs").get_paginator("describe_launch_configuration_templates")
.
boto3 documentation
# DescribeLaunchConfigurationTemplatesPaginator usage example
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeLaunchConfigurationTemplatesPaginator
def get_describe_launch_configuration_templates_paginator() -> DescribeLaunchConfigurationTemplatesPaginator:
return Session().client("drs").get_paginator("describe_launch_configuration_templates")
# DescribeLaunchConfigurationTemplatesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeLaunchConfigurationTemplatesPaginator
session = Session()
client = Session().client("drs") # (1)
paginator: DescribeLaunchConfigurationTemplatesPaginator = client.get_paginator("describe_launch_configuration_templates") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DrsClient
- paginator: DescribeLaunchConfigurationTemplatesPaginator
- item: DescribeLaunchConfigurationTemplatesResponseTypeDef
paginate#
Type annotations and code completion for DescribeLaunchConfigurationTemplatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
launchConfigurationTemplateIDs: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeLaunchConfigurationTemplatesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeLaunchConfigurationTemplatesRequestDescribeLaunchConfigurationTemplatesPaginateTypeDef = { # (1)
"launchConfigurationTemplateIDs": ...,
}
parent.paginate(**kwargs)
DescribeRecoveryInstancesPaginator#
Type annotations and code completion for boto3.client("drs").get_paginator("describe_recovery_instances")
.
boto3 documentation
# DescribeRecoveryInstancesPaginator usage example
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeRecoveryInstancesPaginator
def get_describe_recovery_instances_paginator() -> DescribeRecoveryInstancesPaginator:
return Session().client("drs").get_paginator("describe_recovery_instances")
# DescribeRecoveryInstancesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeRecoveryInstancesPaginator
session = Session()
client = Session().client("drs") # (1)
paginator: DescribeRecoveryInstancesPaginator = client.get_paginator("describe_recovery_instances") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DrsClient
- paginator: DescribeRecoveryInstancesPaginator
- item: DescribeRecoveryInstancesResponseTypeDef
paginate#
Type annotations and code completion for DescribeRecoveryInstancesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
filters: DescribeRecoveryInstancesRequestFiltersTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[DescribeRecoveryInstancesResponseTypeDef]: # (3)
...
- See DescribeRecoveryInstancesRequestFiltersTypeDef
- See PaginatorConfigTypeDef
- See DescribeRecoveryInstancesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeRecoveryInstancesRequestDescribeRecoveryInstancesPaginateTypeDef = { # (1)
"filters": ...,
}
parent.paginate(**kwargs)
DescribeRecoverySnapshotsPaginator#
Type annotations and code completion for boto3.client("drs").get_paginator("describe_recovery_snapshots")
.
boto3 documentation
# DescribeRecoverySnapshotsPaginator usage example
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeRecoverySnapshotsPaginator
def get_describe_recovery_snapshots_paginator() -> DescribeRecoverySnapshotsPaginator:
return Session().client("drs").get_paginator("describe_recovery_snapshots")
# DescribeRecoverySnapshotsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_drs.paginator import DescribeRecoverySnapshotsPaginator
session = Session()
client = Session().client("drs") # (1)
paginator: DescribeRecoverySnapshotsPaginator = client.get_paginator("describe_recovery_snapshots") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: DrsClient
- paginator: DescribeRecoverySnapshotsPaginator
- item: DescribeRecoverySnapshotsResponseTypeDef
paginate#
Type annotations and code completion for DescribeRecoverySnapshotsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
sourceServerID: str,
filters: DescribeRecoverySnapshotsRequestFiltersTypeDef = ..., # (1)
order: RecoverySnapshotsOrderType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[DescribeRecoverySnapshotsResponseTypeDef]: # (4)
...
- See DescribeRecoverySnapshotsRequestFiltersTypeDef
- See RecoverySnapshotsOrderType
- See PaginatorConfigTypeDef
- See DescribeRecoverySnapshotsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeRecoverySnapshotsRequestDescribeRecoverySnapshotsPaginateTypeDef = { # (1)
"sourceServerID": ...,
}
parent.paginate(**kwargs)
DescribeReplicationConfigurationTemplatesPaginator#
Type annotations and code completion for boto3.client("drs").get_paginator("describe_replication_configuration_templates")
.