Paginators#
Auto-generated documentation for XRay type annotations stubs module mypy-boto3-xray.
BatchGetTracesPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("batch_get_traces")
.
boto3 documentation
# BatchGetTracesPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import BatchGetTracesPaginator
def get_batch_get_traces_paginator() -> BatchGetTracesPaginator:
return Session().client("xray").get_paginator("batch_get_traces")
# BatchGetTracesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import BatchGetTracesPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: BatchGetTracesPaginator = client.get_paginator("batch_get_traces") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: BatchGetTracesPaginator
- item: BatchGetTracesResultTypeDef
paginate#
Type annotations and code completion for BatchGetTracesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
TraceIds: Sequence[str],
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[BatchGetTracesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: BatchGetTracesRequestBatchGetTracesPaginateTypeDef = { # (1)
"TraceIds": ...,
}
parent.paginate(**kwargs)
GetGroupsPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("get_groups")
.
boto3 documentation
# GetGroupsPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import GetGroupsPaginator
def get_get_groups_paginator() -> GetGroupsPaginator:
return Session().client("xray").get_paginator("get_groups")
# GetGroupsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import GetGroupsPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: GetGroupsPaginator = client.get_paginator("get_groups") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: GetGroupsPaginator
- item: GetGroupsResultTypeDef
paginate#
Type annotations and code completion for GetGroupsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetGroupsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetGroupsRequestGetGroupsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetSamplingRulesPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("get_sampling_rules")
.
boto3 documentation
# GetSamplingRulesPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import GetSamplingRulesPaginator
def get_get_sampling_rules_paginator() -> GetSamplingRulesPaginator:
return Session().client("xray").get_paginator("get_sampling_rules")
# GetSamplingRulesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import GetSamplingRulesPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: GetSamplingRulesPaginator = client.get_paginator("get_sampling_rules") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: GetSamplingRulesPaginator
- item: GetSamplingRulesResultTypeDef
paginate#
Type annotations and code completion for GetSamplingRulesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetSamplingRulesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetSamplingRulesRequestGetSamplingRulesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetSamplingStatisticSummariesPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("get_sampling_statistic_summaries")
.
boto3 documentation
# GetSamplingStatisticSummariesPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import GetSamplingStatisticSummariesPaginator
def get_get_sampling_statistic_summaries_paginator() -> GetSamplingStatisticSummariesPaginator:
return Session().client("xray").get_paginator("get_sampling_statistic_summaries")
# GetSamplingStatisticSummariesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import GetSamplingStatisticSummariesPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: GetSamplingStatisticSummariesPaginator = client.get_paginator("get_sampling_statistic_summaries") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: GetSamplingStatisticSummariesPaginator
- item: GetSamplingStatisticSummariesResultTypeDef
paginate#
Type annotations and code completion for GetSamplingStatisticSummariesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetSamplingStatisticSummariesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetSamplingStatisticSummariesRequestGetSamplingStatisticSummariesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetServiceGraphPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("get_service_graph")
.
boto3 documentation
# GetServiceGraphPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import GetServiceGraphPaginator
def get_get_service_graph_paginator() -> GetServiceGraphPaginator:
return Session().client("xray").get_paginator("get_service_graph")
# GetServiceGraphPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import GetServiceGraphPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: GetServiceGraphPaginator = client.get_paginator("get_service_graph") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: GetServiceGraphPaginator
- item: GetServiceGraphResultTypeDef
paginate#
Type annotations and code completion for GetServiceGraphPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
StartTime: TimestampTypeDef,
EndTime: TimestampTypeDef,
GroupName: str = ...,
GroupARN: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetServiceGraphResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetServiceGraphRequestGetServiceGraphPaginateTypeDef = { # (1)
"StartTime": ...,
"EndTime": ...,
}
parent.paginate(**kwargs)
GetTimeSeriesServiceStatisticsPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("get_time_series_service_statistics")
.
boto3 documentation
# GetTimeSeriesServiceStatisticsPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import GetTimeSeriesServiceStatisticsPaginator
def get_get_time_series_service_statistics_paginator() -> GetTimeSeriesServiceStatisticsPaginator:
return Session().client("xray").get_paginator("get_time_series_service_statistics")
# GetTimeSeriesServiceStatisticsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import GetTimeSeriesServiceStatisticsPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: GetTimeSeriesServiceStatisticsPaginator = client.get_paginator("get_time_series_service_statistics") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: GetTimeSeriesServiceStatisticsPaginator
- item: GetTimeSeriesServiceStatisticsResultTypeDef
paginate#
Type annotations and code completion for GetTimeSeriesServiceStatisticsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
StartTime: TimestampTypeDef,
EndTime: TimestampTypeDef,
GroupName: str = ...,
GroupARN: str = ...,
EntitySelectorExpression: str = ...,
Period: int = ...,
ForecastStatistics: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetTimeSeriesServiceStatisticsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetTimeSeriesServiceStatisticsRequestGetTimeSeriesServiceStatisticsPaginateTypeDef = { # (1)
"StartTime": ...,
"EndTime": ...,
}
parent.paginate(**kwargs)
GetTraceGraphPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("get_trace_graph")
.
boto3 documentation
# GetTraceGraphPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import GetTraceGraphPaginator
def get_get_trace_graph_paginator() -> GetTraceGraphPaginator:
return Session().client("xray").get_paginator("get_trace_graph")
# GetTraceGraphPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import GetTraceGraphPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: GetTraceGraphPaginator = client.get_paginator("get_trace_graph") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: GetTraceGraphPaginator
- item: GetTraceGraphResultTypeDef
paginate#
Type annotations and code completion for GetTraceGraphPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
TraceIds: Sequence[str],
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetTraceGraphResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetTraceGraphRequestGetTraceGraphPaginateTypeDef = { # (1)
"TraceIds": ...,
}
parent.paginate(**kwargs)
GetTraceSummariesPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("get_trace_summaries")
.
boto3 documentation
# GetTraceSummariesPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import GetTraceSummariesPaginator
def get_get_trace_summaries_paginator() -> GetTraceSummariesPaginator:
return Session().client("xray").get_paginator("get_trace_summaries")
# GetTraceSummariesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import GetTraceSummariesPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: GetTraceSummariesPaginator = client.get_paginator("get_trace_summaries") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: GetTraceSummariesPaginator
- item: GetTraceSummariesResultTypeDef
paginate#
Type annotations and code completion for GetTraceSummariesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
StartTime: TimestampTypeDef,
EndTime: TimestampTypeDef,
TimeRangeType: TimeRangeTypeType = ..., # (1)
Sampling: bool = ...,
SamplingStrategy: SamplingStrategyTypeDef = ..., # (2)
FilterExpression: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[GetTraceSummariesResultTypeDef]: # (4)
...
- See TimeRangeTypeType
- See SamplingStrategyTypeDef
- See PaginatorConfigTypeDef
- See GetTraceSummariesResultTypeDef
# paginate method usage example with argument unpacking
kwargs: GetTraceSummariesRequestGetTraceSummariesPaginateTypeDef = { # (1)
"StartTime": ...,
"EndTime": ...,
}
parent.paginate(**kwargs)
ListResourcePoliciesPaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("list_resource_policies")
.
boto3 documentation
# ListResourcePoliciesPaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import ListResourcePoliciesPaginator
def get_list_resource_policies_paginator() -> ListResourcePoliciesPaginator:
return Session().client("xray").get_paginator("list_resource_policies")
# ListResourcePoliciesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import ListResourcePoliciesPaginator
session = Session()
client = Session().client("xray") # (1)
paginator: ListResourcePoliciesPaginator = client.get_paginator("list_resource_policies") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: ListResourcePoliciesPaginator
- item: ListResourcePoliciesResultTypeDef
paginate#
Type annotations and code completion for ListResourcePoliciesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListResourcePoliciesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListResourcePoliciesRequestListResourcePoliciesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListTagsForResourcePaginator#
Type annotations and code completion for boto3.client("xray").get_paginator("list_tags_for_resource")
.
boto3 documentation
# ListTagsForResourcePaginator usage example
from boto3.session import Session
from mypy_boto3_xray.paginator import ListTagsForResourcePaginator
def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
return Session().client("xray").get_paginator("list_tags_for_resource")
# ListTagsForResourcePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_xray.paginator import ListTagsForResourcePaginator
session = Session()
client = Session().client("xray") # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: XRayClient
- paginator: ListTagsForResourcePaginator
- item: ListTagsForResourceResponseTypeDef
paginate#
Type annotations and code completion for ListTagsForResourcePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ResourceARN: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListTagsForResourceResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTagsForResourceRequestListTagsForResourcePaginateTypeDef = { # (1)
"ResourceARN": ...,
}
parent.paginate(**kwargs)