Paginators#
Index > CodeGuruProfiler > Paginators
Auto-generated documentation for CodeGuruProfiler type annotations stubs module types-boto3-codeguruprofiler.
ListProfileTimesPaginator#
Type annotations and code completion for boto3.client("codeguruprofiler").get_paginator("list_profile_times")
.
boto3 documentation
# ListProfileTimesPaginator usage example
from boto3.session import Session
from types_boto3_codeguruprofiler.paginator import ListProfileTimesPaginator
def get_list_profile_times_paginator() -> ListProfileTimesPaginator:
return Session().client("codeguruprofiler").get_paginator("list_profile_times")
# ListProfileTimesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_codeguruprofiler.paginator import ListProfileTimesPaginator
session = Session()
client = Session().client("codeguruprofiler") # (1)
paginator: ListProfileTimesPaginator = client.get_paginator("list_profile_times") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CodeGuruProfilerClient
- paginator: ListProfileTimesPaginator
- item: ListProfileTimesResponseTypeDef
paginate#
Type annotations and code completion for ListProfileTimesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
endTime: TimestampTypeDef,
period: AggregationPeriodType, # (1)
profilingGroupName: str,
startTime: TimestampTypeDef,
orderBy: OrderByType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[ListProfileTimesResponseTypeDef]: # (4)
...
- See AggregationPeriodType
- See OrderByType
- See PaginatorConfigTypeDef
- See ListProfileTimesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListProfileTimesRequestPaginateTypeDef = { # (1)
"endTime": ...,
"period": ...,
"profilingGroupName": ...,
"startTime": ...,
}
parent.paginate(**kwargs)