Skip to content

Paginators#

Index > Redshift > Paginators

Auto-generated documentation for Redshift type annotations stubs module mypy-boto3-redshift.

DescribeClusterDbRevisionsPaginator#

Type annotations and code completion for boto3.client("redshift").get_paginator("describe_cluster_db_revisions"). boto3 documentation

# DescribeClusterDbRevisionsPaginator usage example

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterDbRevisionsPaginator

def get_describe_cluster_db_revisions_paginator() -> DescribeClusterDbRevisionsPaginator:
    return Session().client("redshift").get_paginator("describe_cluster_db_revisions")
# DescribeClusterDbRevisionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterDbRevisionsPaginator

session = Session()

client = Session().client("redshift")  # (1)
paginator: DescribeClusterDbRevisionsPaginator = client.get_paginator("describe_cluster_db_revisions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: RedshiftClient
  2. paginator: DescribeClusterDbRevisionsPaginator
  3. item: ClusterDbRevisionsMessageTypeDef

paginate#

Type annotations and code completion for DescribeClusterDbRevisionsPaginator.paginate method.

# paginate method definition

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

kwargs: DescribeClusterDbRevisionsMessageDescribeClusterDbRevisionsPaginateTypeDef = {  # (1)
    "ClusterIdentifier": ...,
}

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

DescribeClusterParameterGroupsPaginator#

Type annotations and code completion for boto3.client("redshift").get_paginator("describe_cluster_parameter_groups"). boto3 documentation

# DescribeClusterParameterGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterParameterGroupsPaginator

def get_describe_cluster_parameter_groups_paginator() -> DescribeClusterParameterGroupsPaginator:
    return Session().client("redshift").get_paginator("describe_cluster_parameter_groups")
# DescribeClusterParameterGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterParameterGroupsPaginator

session = Session()

client = Session().client("redshift")  # (1)
paginator: DescribeClusterParameterGroupsPaginator = client.get_paginator("describe_cluster_parameter_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: RedshiftClient
  2. paginator: DescribeClusterParameterGroupsPaginator
  3. item: ClusterParameterGroupsMessageTypeDef

paginate#

Type annotations and code completion for DescribeClusterParameterGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ParameterGroupName: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ClusterParameterGroupsMessageTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ClusterParameterGroupsMessageTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeClusterParameterGroupsMessageDescribeClusterParameterGroupsPaginateTypeDef = {  # (1)
    "ParameterGroupName": ...,
}

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

DescribeClusterParametersPaginator#

Type annotations and code completion for boto3.client("redshift").get_paginator("describe_cluster_parameters"). boto3 documentation

# DescribeClusterParametersPaginator usage example

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterParametersPaginator

def get_describe_cluster_parameters_paginator() -> DescribeClusterParametersPaginator:
    return Session().client("redshift").get_paginator("describe_cluster_parameters")
# DescribeClusterParametersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterParametersPaginator

session = Session()

client = Session().client("redshift")  # (1)
paginator: DescribeClusterParametersPaginator = client.get_paginator("describe_cluster_parameters")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: RedshiftClient
  2. paginator: DescribeClusterParametersPaginator
  3. item: ClusterParameterGroupDetailsTypeDef

paginate#

Type annotations and code completion for DescribeClusterParametersPaginator.paginate method.

# paginate method definition

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

kwargs: DescribeClusterParametersMessageDescribeClusterParametersPaginateTypeDef = {  # (1)
    "ParameterGroupName": ...,
}

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

DescribeClusterSecurityGroupsPaginator#

Type annotations and code completion for boto3.client("redshift").get_paginator("describe_cluster_security_groups"). boto3 documentation

# DescribeClusterSecurityGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterSecurityGroupsPaginator

def get_describe_cluster_security_groups_paginator() -> DescribeClusterSecurityGroupsPaginator:
    return Session().client("redshift").get_paginator("describe_cluster_security_groups")
# DescribeClusterSecurityGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterSecurityGroupsPaginator

session = Session()

client = Session().client("redshift")  # (1)
paginator: DescribeClusterSecurityGroupsPaginator = client.get_paginator("describe_cluster_security_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: RedshiftClient
  2. paginator: DescribeClusterSecurityGroupsPaginator
  3. item: ClusterSecurityGroupMessageTypeDef

paginate#

Type annotations and code completion for DescribeClusterSecurityGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClusterSecurityGroupName: str = ...,
    TagKeys: Sequence[str] = ...,
    TagValues: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ClusterSecurityGroupMessageTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ClusterSecurityGroupMessageTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeClusterSecurityGroupsMessageDescribeClusterSecurityGroupsPaginateTypeDef = {  # (1)
    "ClusterSecurityGroupName": ...,
}

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

DescribeClusterSnapshotsPaginator#

Type annotations and code completion for boto3.client("redshift").get_paginator("describe_cluster_snapshots"). boto3 documentation

# DescribeClusterSnapshotsPaginator usage example

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterSnapshotsPaginator

def get_describe_cluster_snapshots_paginator() -> DescribeClusterSnapshotsPaginator:
    return Session().client("redshift").get_paginator("describe_cluster_snapshots")
# DescribeClusterSnapshotsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_redshift.paginator import DescribeClusterSnapshotsPaginator

session = Session()

client = Session().client("redshift")  # (1)
paginator: DescribeClusterSnapshotsPaginator = client.get_paginator("describe_cluster_snapshots")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: RedshiftClient
  2. paginator: DescribeClusterSnapshotsPaginator
  3. item: