Paginators#
Index > ManagedGrafana > Paginators
Auto-generated documentation for ManagedGrafana type annotations stubs module mypy-boto3-grafana.
ListPermissionsPaginator#
Type annotations and code completion for boto3.client("grafana").get_paginator("list_permissions")
.
boto3 documentation
# ListPermissionsPaginator usage example
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListPermissionsPaginator
def get_list_permissions_paginator() -> ListPermissionsPaginator:
return Session().client("grafana").get_paginator("list_permissions")
# ListPermissionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListPermissionsPaginator
session = Session()
client = Session().client("grafana") # (1)
paginator: ListPermissionsPaginator = client.get_paginator("list_permissions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ManagedGrafanaClient
- paginator: ListPermissionsPaginator
- item: ListPermissionsResponseTypeDef
paginate#
Type annotations and code completion for ListPermissionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
workspaceId: str,
groupId: str = ...,
userId: str = ...,
userType: UserTypeType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListPermissionsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListPermissionsRequestListPermissionsPaginateTypeDef = { # (1)
"workspaceId": ...,
}
parent.paginate(**kwargs)
ListVersionsPaginator#
Type annotations and code completion for boto3.client("grafana").get_paginator("list_versions")
.
boto3 documentation
# ListVersionsPaginator usage example
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListVersionsPaginator
def get_list_versions_paginator() -> ListVersionsPaginator:
return Session().client("grafana").get_paginator("list_versions")
# ListVersionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListVersionsPaginator
session = Session()
client = Session().client("grafana") # (1)
paginator: ListVersionsPaginator = client.get_paginator("list_versions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ManagedGrafanaClient
- paginator: ListVersionsPaginator
- item: ListVersionsResponseTypeDef
paginate#
Type annotations and code completion for ListVersionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
workspaceId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListVersionsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListVersionsRequestListVersionsPaginateTypeDef = { # (1)
"workspaceId": ...,
}
parent.paginate(**kwargs)
ListWorkspaceServiceAccountTokensPaginator#
Type annotations and code completion for boto3.client("grafana").get_paginator("list_workspace_service_account_tokens")
.
boto3 documentation
# ListWorkspaceServiceAccountTokensPaginator usage example
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListWorkspaceServiceAccountTokensPaginator
def get_list_workspace_service_account_tokens_paginator() -> ListWorkspaceServiceAccountTokensPaginator:
return Session().client("grafana").get_paginator("list_workspace_service_account_tokens")
# ListWorkspaceServiceAccountTokensPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListWorkspaceServiceAccountTokensPaginator
session = Session()
client = Session().client("grafana") # (1)
paginator: ListWorkspaceServiceAccountTokensPaginator = client.get_paginator("list_workspace_service_account_tokens") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ManagedGrafanaClient
- paginator: ListWorkspaceServiceAccountTokensPaginator
- item: ListWorkspaceServiceAccountTokensResponseTypeDef
paginate#
Type annotations and code completion for ListWorkspaceServiceAccountTokensPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
serviceAccountId: str,
workspaceId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListWorkspaceServiceAccountTokensResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListWorkspaceServiceAccountTokensRequestListWorkspaceServiceAccountTokensPaginateTypeDef = { # (1)
"serviceAccountId": ...,
"workspaceId": ...,
}
parent.paginate(**kwargs)
ListWorkspaceServiceAccountsPaginator#
Type annotations and code completion for boto3.client("grafana").get_paginator("list_workspace_service_accounts")
.
boto3 documentation
# ListWorkspaceServiceAccountsPaginator usage example
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListWorkspaceServiceAccountsPaginator
def get_list_workspace_service_accounts_paginator() -> ListWorkspaceServiceAccountsPaginator:
return Session().client("grafana").get_paginator("list_workspace_service_accounts")
# ListWorkspaceServiceAccountsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListWorkspaceServiceAccountsPaginator
session = Session()
client = Session().client("grafana") # (1)
paginator: ListWorkspaceServiceAccountsPaginator = client.get_paginator("list_workspace_service_accounts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ManagedGrafanaClient
- paginator: ListWorkspaceServiceAccountsPaginator
- item: ListWorkspaceServiceAccountsResponseTypeDef
paginate#
Type annotations and code completion for ListWorkspaceServiceAccountsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
workspaceId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListWorkspaceServiceAccountsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListWorkspaceServiceAccountsRequestListWorkspaceServiceAccountsPaginateTypeDef = { # (1)
"workspaceId": ...,
}
parent.paginate(**kwargs)
ListWorkspacesPaginator#
Type annotations and code completion for boto3.client("grafana").get_paginator("list_workspaces")
.
boto3 documentation
# ListWorkspacesPaginator usage example
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListWorkspacesPaginator
def get_list_workspaces_paginator() -> ListWorkspacesPaginator:
return Session().client("grafana").get_paginator("list_workspaces")
# ListWorkspacesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_grafana.paginator import ListWorkspacesPaginator
session = Session()
client = Session().client("grafana") # (1)
paginator: ListWorkspacesPaginator = client.get_paginator("list_workspaces") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ManagedGrafanaClient
- paginator: ListWorkspacesPaginator
- item: ListWorkspacesResponseTypeDef
paginate#
Type annotations and code completion for ListWorkspacesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListWorkspacesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListWorkspacesRequestListWorkspacesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)