Skip to content

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)
  1. client: ManagedGrafanaClient
  2. paginator: ListPermissionsPaginator
  3. 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)
    ...
  1. See UserTypeType
  2. See PaginatorConfigTypeDef
  3. See ListPermissionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPermissionsRequestListPermissionsPaginateTypeDef = {  # (1)
    "workspaceId": ...,
}

parent.paginate(**kwargs)
  1. See ListPermissionsRequestListPermissionsPaginateTypeDef

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)
  1. client: ManagedGrafanaClient
  2. paginator: ListVersionsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListVersionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListVersionsRequestListVersionsPaginateTypeDef = {  # (1)
    "workspaceId": ...,
}

parent.paginate(**kwargs)
  1. See ListVersionsRequestListVersionsPaginateTypeDef

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)
  1. client: ManagedGrafanaClient
  2. paginator: ListWorkspaceServiceAccountTokensPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListWorkspaceServiceAccountTokensResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListWorkspaceServiceAccountTokensRequestListWorkspaceServiceAccountTokensPaginateTypeDef = {  # (1)
    "serviceAccountId": ...,
    "workspaceId": ...,
}

parent.paginate(**kwargs)
  1. See ListWorkspaceServiceAccountTokensRequestListWorkspaceServiceAccountTokensPaginateTypeDef

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)
  1. client: ManagedGrafanaClient
  2. paginator: ListWorkspaceServiceAccountsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListWorkspaceServiceAccountsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListWorkspaceServiceAccountsRequestListWorkspaceServiceAccountsPaginateTypeDef = {  # (1)
    "workspaceId": ...,
}

parent.paginate(**kwargs)
  1. See ListWorkspaceServiceAccountsRequestListWorkspaceServiceAccountsPaginateTypeDef

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)
  1. client: ManagedGrafanaClient
  2. paginator: ListWorkspacesPaginator
  3. item: ListWorkspacesResponseTypeDef

paginate#

Type annotations and code completion for ListWorkspacesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListWorkspacesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListWorkspacesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListWorkspacesRequestListWorkspacesPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListWorkspacesRequestListWorkspacesPaginateTypeDef