Paginators#
Index > CloudWatchOmni > Paginators
Auto-generated documentation for CloudWatchOmni type annotations stubs module mypy-boto3-cloudwatchomni.
GetContextGraphPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("get_context_graph").
boto3 documentation
# GetContextGraphPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import GetContextGraphPaginator
def get_get_context_graph_paginator() -> GetContextGraphPaginator:
return Session().client("cloudwatchomni").get_paginator("get_context_graph")
# GetContextGraphPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import GetContextGraphPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: GetContextGraphPaginator = client.get_paginator("get_context_graph") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: GetContextGraphPaginator
- item:
PageIterator[GetContextGraphOutputTypeDef]
paginate#
Type annotations and code completion for GetContextGraphPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
startTime: TimestampTypeDef,
endTime: TimestampTypeDef,
nodeFilters: NodeFiltersTypeDef = ..., # (1)
edgeFilters: EdgeFiltersTypeDef = ..., # (2)
depth: int = ...,
maxEdgesPerNode: int = ...,
includeMetadata: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> botocore.paginate.PageIterator[GetContextGraphOutputTypeDef]: # (4)
...
- See NodeFiltersTypeDef
- See EdgeFiltersTypeDef
- See PaginatorConfigTypeDef
- See
PageIterator[GetContextGraphOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: GetContextGraphInputPaginateTypeDef = { # (1)
"startTime": ...,
"endTime": ...,
}
parent.paginate(**kwargs)
GetTelemetryQueryResultsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("get_telemetry_query_results").
boto3 documentation
# GetTelemetryQueryResultsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import GetTelemetryQueryResultsPaginator
def get_get_telemetry_query_results_paginator() -> GetTelemetryQueryResultsPaginator:
return Session().client("cloudwatchomni").get_paginator("get_telemetry_query_results")
# GetTelemetryQueryResultsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import GetTelemetryQueryResultsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: GetTelemetryQueryResultsPaginator = client.get_paginator("get_telemetry_query_results") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: GetTelemetryQueryResultsPaginator
- item:
PageIterator[GetTelemetryQueryResultsResponseTypeDef]
paginate#
Type annotations and code completion for GetTelemetryQueryResultsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
queryId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[GetTelemetryQueryResultsResponseTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[GetTelemetryQueryResultsResponseTypeDef]
# paginate method usage example with argument unpacking
kwargs: GetTelemetryQueryResultsRequestPaginateTypeDef = { # (1)
"queryId": ...,
}
parent.paginate(**kwargs)
ListAccessGrantsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_access_grants").
boto3 documentation
# ListAccessGrantsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListAccessGrantsPaginator
def get_list_access_grants_paginator() -> ListAccessGrantsPaginator:
return Session().client("cloudwatchomni").get_paginator("list_access_grants")
# ListAccessGrantsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListAccessGrantsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListAccessGrantsPaginator = client.get_paginator("list_access_grants") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListAccessGrantsPaginator
- item:
PageIterator[ListAccessGrantsOutputTypeDef]
paginate#
Type annotations and code completion for ListAccessGrantsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
domainId: str = ...,
spaceId: str = ...,
principalId: str = ...,
principalType: AccessGrantPrincipalTypeType = ..., # (1)
permission: AccessGrantPermissionType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> botocore.paginate.PageIterator[ListAccessGrantsOutputTypeDef]: # (4)
...
- See AccessGrantPrincipalTypeType
- See AccessGrantPermissionType
- See PaginatorConfigTypeDef
- See
PageIterator[ListAccessGrantsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListAccessGrantsInputPaginateTypeDef = { # (1)
"domainId": ...,
}
parent.paginate(**kwargs)
ListAccessProfilesPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_access_profiles").
boto3 documentation
# ListAccessProfilesPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListAccessProfilesPaginator
def get_list_access_profiles_paginator() -> ListAccessProfilesPaginator:
return Session().client("cloudwatchomni").get_paginator("list_access_profiles")
# ListAccessProfilesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListAccessProfilesPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListAccessProfilesPaginator = client.get_paginator("list_access_profiles") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListAccessProfilesPaginator
- item:
PageIterator[ListAccessProfilesOutputTypeDef]
paginate#
Type annotations and code completion for ListAccessProfilesPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
spaceId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[ListAccessProfilesOutputTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[ListAccessProfilesOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListAccessProfilesInputPaginateTypeDef = { # (1)
"spaceId": ...,
}
parent.paginate(**kwargs)
ListAlertsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_alerts").
boto3 documentation
# ListAlertsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListAlertsPaginator
def get_list_alerts_paginator() -> ListAlertsPaginator:
return Session().client("cloudwatchomni").get_paginator("list_alerts")
# ListAlertsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListAlertsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListAlertsPaginator = client.get_paginator("list_alerts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListAlertsPaginator
- item:
PageIterator[ListAlertsOutputTypeDef]
paginate#
Type annotations and code completion for ListAlertsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
spaceId: str,
filterCriteria: AlertFilterCriteriaTypeDef = ..., # (1)
sortBy: AlertSortFieldType = ..., # (2)
sortOrder: AlertSortOrderType = ..., # (3)
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> botocore.paginate.PageIterator[ListAlertsOutputTypeDef]: # (5)
...
- See AlertFilterCriteriaTypeDef
- See AlertSortFieldType
- See AlertSortOrderType
- See PaginatorConfigTypeDef
- See
PageIterator[ListAlertsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListAlertsInputPaginateTypeDef = { # (1)
"spaceId": ...,
}
parent.paginate(**kwargs)
ListDomainAccessGrantsForOrganizationPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_domain_access_grants_for_organization").
boto3 documentation
# ListDomainAccessGrantsForOrganizationPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListDomainAccessGrantsForOrganizationPaginator
def get_list_domain_access_grants_for_organization_paginator() -> ListDomainAccessGrantsForOrganizationPaginator:
return Session().client("cloudwatchomni").get_paginator("list_domain_access_grants_for_organization")
# ListDomainAccessGrantsForOrganizationPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListDomainAccessGrantsForOrganizationPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListDomainAccessGrantsForOrganizationPaginator = client.get_paginator("list_domain_access_grants_for_organization") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListDomainAccessGrantsForOrganizationPaginator
- item:
PageIterator[ListDomainAccessGrantsForOrganizationOutputTypeDef]
paginate#
Type annotations and code completion for ListDomainAccessGrantsForOrganizationPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
domainId: str = ...,
principalId: str = ...,
principalType: OrganizationGrantPrincipalTypeType = ..., # (1)
permission: OrganizationGrantPermissionType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> botocore.paginate.PageIterator[ListDomainAccessGrantsForOrganizationOutputTypeDef]: # (4)
...
- See OrganizationGrantPrincipalTypeType
- See OrganizationGrantPermissionType
- See PaginatorConfigTypeDef
- See
PageIterator[ListDomainAccessGrantsForOrganizationOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListDomainAccessGrantsForOrganizationInputPaginateTypeDef = { # (1)
"domainId": ...,
}
parent.paginate(**kwargs)
ListDomainsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_domains").
boto3 documentation
# ListDomainsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListDomainsPaginator
def get_list_domains_paginator() -> ListDomainsPaginator:
return Session().client("cloudwatchomni").get_paginator("list_domains")
# ListDomainsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListDomainsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListDomainsPaginator = client.get_paginator("list_domains") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListDomainsPaginator
- item:
PageIterator[ListDomainsOutputTypeDef]
paginate#
Type annotations and code completion for ListDomainsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[ListDomainsOutputTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[ListDomainsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListDomainsInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListIntegrationsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_integrations").
boto3 documentation
# ListIntegrationsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListIntegrationsPaginator
def get_list_integrations_paginator() -> ListIntegrationsPaginator:
return Session().client("cloudwatchomni").get_paginator("list_integrations")
# ListIntegrationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListIntegrationsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListIntegrationsPaginator = client.get_paginator("list_integrations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListIntegrationsPaginator
- item:
PageIterator[ListIntegrationsOutputTypeDef]
paginate#
Type annotations and code completion for ListIntegrationsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
integrationType: IntegrationTypeType = ..., # (1)
status: IntegrationStatusType = ..., # (2)
name: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> botocore.paginate.PageIterator[ListIntegrationsOutputTypeDef]: # (4)
...
- See IntegrationTypeType
- See IntegrationStatusType
- See PaginatorConfigTypeDef
- See
PageIterator[ListIntegrationsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListIntegrationsInputPaginateTypeDef = { # (1)
"integrationType": ...,
}
parent.paginate(**kwargs)
ListOmniDashboardsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_omni_dashboards").
boto3 documentation
# ListOmniDashboardsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListOmniDashboardsPaginator
def get_list_omni_dashboards_paginator() -> ListOmniDashboardsPaginator:
return Session().client("cloudwatchomni").get_paginator("list_omni_dashboards")
# ListOmniDashboardsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListOmniDashboardsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListOmniDashboardsPaginator = client.get_paginator("list_omni_dashboards") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListOmniDashboardsPaginator
- item:
PageIterator[ListOmniDashboardsOutputTypeDef]
paginate#
Type annotations and code completion for ListOmniDashboardsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
spaceId: str,
namePrefix: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[ListOmniDashboardsOutputTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[ListOmniDashboardsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListOmniDashboardsInputPaginateTypeDef = { # (1)
"spaceId": ...,
}
parent.paginate(**kwargs)
ListSpacesForOrganizationPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_spaces_for_organization").
boto3 documentation
# ListSpacesForOrganizationPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListSpacesForOrganizationPaginator
def get_list_spaces_for_organization_paginator() -> ListSpacesForOrganizationPaginator:
return Session().client("cloudwatchomni").get_paginator("list_spaces_for_organization")
# ListSpacesForOrganizationPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListSpacesForOrganizationPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListSpacesForOrganizationPaginator = client.get_paginator("list_spaces_for_organization") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListSpacesForOrganizationPaginator
- item:
PageIterator[ListSpacesForOrganizationOutputTypeDef]
paginate#
Type annotations and code completion for ListSpacesForOrganizationPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[ListSpacesForOrganizationOutputTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[ListSpacesForOrganizationOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListSpacesForOrganizationInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListSpacesPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_spaces").
boto3 documentation
# ListSpacesPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListSpacesPaginator
def get_list_spaces_paginator() -> ListSpacesPaginator:
return Session().client("cloudwatchomni").get_paginator("list_spaces")
# ListSpacesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListSpacesPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListSpacesPaginator = client.get_paginator("list_spaces") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListSpacesPaginator
- item:
PageIterator[ListSpacesOutputTypeDef]
paginate#
Type annotations and code completion for ListSpacesPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
domainId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[ListSpacesOutputTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[ListSpacesOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListSpacesInputPaginateTypeDef = { # (1)
"domainId": ...,
}
parent.paginate(**kwargs)
ListTelemetryFieldsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_telemetry_fields").
boto3 documentation
# ListTelemetryFieldsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListTelemetryFieldsPaginator
def get_list_telemetry_fields_paginator() -> ListTelemetryFieldsPaginator:
return Session().client("cloudwatchomni").get_paginator("list_telemetry_fields")
# ListTelemetryFieldsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListTelemetryFieldsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListTelemetryFieldsPaginator = client.get_paginator("list_telemetry_fields") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListTelemetryFieldsPaginator
- item:
PageIterator[ListTelemetryFieldsResponsePaginatorTypeDef]
paginate#
Type annotations and code completion for ListTelemetryFieldsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
dataSetName: str,
telemetryType: TelemetryTypeType = ..., # (1)
startTime: TimestampTypeDef = ...,
endTime: TimestampTypeDef = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> botocore.paginate.PageIterator[ListTelemetryFieldsResponsePaginatorTypeDef]: # (3)
...
- See TelemetryTypeType
- See PaginatorConfigTypeDef
- See
PageIterator[ListTelemetryFieldsResponsePaginatorTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListTelemetryFieldsRequestPaginateTypeDef = { # (1)
"dataSetName": ...,
}
parent.paginate(**kwargs)
ListTelemetryQuerySessionsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_telemetry_query_sessions").
boto3 documentation
# ListTelemetryQuerySessionsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListTelemetryQuerySessionsPaginator
def get_list_telemetry_query_sessions_paginator() -> ListTelemetryQuerySessionsPaginator:
return Session().client("cloudwatchomni").get_paginator("list_telemetry_query_sessions")
# ListTelemetryQuerySessionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListTelemetryQuerySessionsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListTelemetryQuerySessionsPaginator = client.get_paginator("list_telemetry_query_sessions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListTelemetryQuerySessionsPaginator
- item:
PageIterator[ListTelemetryQuerySessionsResponseTypeDef]
paginate#
Type annotations and code completion for ListTelemetryQuerySessionsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[ListTelemetryQuerySessionsResponseTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[ListTelemetryQuerySessionsResponseTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListTelemetryQuerySessionsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListViewsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("list_views").
boto3 documentation
# ListViewsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListViewsPaginator
def get_list_views_paginator() -> ListViewsPaginator:
return Session().client("cloudwatchomni").get_paginator("list_views")
# ListViewsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import ListViewsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: ListViewsPaginator = client.get_paginator("list_views") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: ListViewsPaginator
- item:
PageIterator[ListViewsResponseTypeDef]
paginate#
Type annotations and code completion for ListViewsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
type: ViewTypeType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> botocore.paginate.PageIterator[ListViewsResponseTypeDef]: # (3)
...
- See ViewTypeType
- See PaginatorConfigTypeDef
- See
PageIterator[ListViewsResponseTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListViewsRequestPaginateTypeDef = { # (1)
"type": ...,
}
parent.paginate(**kwargs)
SearchPrincipalsPaginator#
Type annotations and code completion for boto3.client("cloudwatchomni").get_paginator("search_principals").
boto3 documentation
# SearchPrincipalsPaginator usage example
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import SearchPrincipalsPaginator
def get_search_principals_paginator() -> SearchPrincipalsPaginator:
return Session().client("cloudwatchomni").get_paginator("search_principals")
# SearchPrincipalsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_cloudwatchomni.paginator import SearchPrincipalsPaginator
session = Session()
client = Session().client("cloudwatchomni") # (1)
paginator: SearchPrincipalsPaginator = client.get_paginator("search_principals") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchOmniClient
- paginator: SearchPrincipalsPaginator
- item:
PageIterator[SearchPrincipalsOutputTypeDef]
paginate#
Type annotations and code completion for SearchPrincipalsPaginator.paginate method.
# paginate method definition
def paginate(
self,
*,
domainId: str,
searchQuery: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> botocore.paginate.PageIterator[SearchPrincipalsOutputTypeDef]: # (2)
...
- See PaginatorConfigTypeDef
- See
PageIterator[SearchPrincipalsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: SearchPrincipalsInputPaginateTypeDef = { # (1)
"domainId": ...,
"searchQuery": ...,
}
parent.paginate(**kwargs)