Paginators#
Index > RedshiftDataAPIService > Paginators
Auto-generated documentation for RedshiftDataAPIService type annotations stubs module mypy-boto3-redshift-data.
DescribeTablePaginator#
Type annotations and code completion for boto3.client("redshift-data").get_paginator("describe_table")
.
boto3 documentation
# DescribeTablePaginator usage example
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import DescribeTablePaginator
def get_describe_table_paginator() -> DescribeTablePaginator:
return Session().client("redshift-data").get_paginator("describe_table")
# DescribeTablePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import DescribeTablePaginator
session = Session()
client = Session().client("redshift-data") # (1)
paginator: DescribeTablePaginator = client.get_paginator("describe_table") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RedshiftDataAPIServiceClient
- paginator: DescribeTablePaginator
- item: DescribeTableResponseTypeDef
paginate#
Type annotations and code completion for DescribeTablePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Database: str,
ClusterIdentifier: str = ...,
ConnectedDatabase: str = ...,
DbUser: str = ...,
Schema: str = ...,
SecretArn: str = ...,
Table: str = ...,
WorkgroupName: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeTableResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeTableRequestDescribeTablePaginateTypeDef = { # (1)
"Database": ...,
}
parent.paginate(**kwargs)
GetStatementResultPaginator#
Type annotations and code completion for boto3.client("redshift-data").get_paginator("get_statement_result")
.
boto3 documentation
# GetStatementResultPaginator usage example
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import GetStatementResultPaginator
def get_get_statement_result_paginator() -> GetStatementResultPaginator:
return Session().client("redshift-data").get_paginator("get_statement_result")
# GetStatementResultPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import GetStatementResultPaginator
session = Session()
client = Session().client("redshift-data") # (1)
paginator: GetStatementResultPaginator = client.get_paginator("get_statement_result") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RedshiftDataAPIServiceClient
- paginator: GetStatementResultPaginator
- item: GetStatementResultResponseTypeDef
paginate#
Type annotations and code completion for GetStatementResultPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Id: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetStatementResultResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetStatementResultRequestGetStatementResultPaginateTypeDef = { # (1)
"Id": ...,
}
parent.paginate(**kwargs)
GetStatementResultV2Paginator#
Type annotations and code completion for boto3.client("redshift-data").get_paginator("get_statement_result_v2")
.
boto3 documentation
# GetStatementResultV2Paginator usage example
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import GetStatementResultV2Paginator
def get_get_statement_result_v2_paginator() -> GetStatementResultV2Paginator:
return Session().client("redshift-data").get_paginator("get_statement_result_v2")
# GetStatementResultV2Paginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import GetStatementResultV2Paginator
session = Session()
client = Session().client("redshift-data") # (1)
paginator: GetStatementResultV2Paginator = client.get_paginator("get_statement_result_v2") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RedshiftDataAPIServiceClient
- paginator: GetStatementResultV2Paginator
- item: GetStatementResultV2ResponseTypeDef
paginate#
Type annotations and code completion for GetStatementResultV2Paginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Id: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetStatementResultV2ResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetStatementResultV2RequestGetStatementResultV2PaginateTypeDef = { # (1)
"Id": ...,
}
parent.paginate(**kwargs)
ListDatabasesPaginator#
Type annotations and code completion for boto3.client("redshift-data").get_paginator("list_databases")
.
boto3 documentation
# ListDatabasesPaginator usage example
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import ListDatabasesPaginator
def get_list_databases_paginator() -> ListDatabasesPaginator:
return Session().client("redshift-data").get_paginator("list_databases")
# ListDatabasesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import ListDatabasesPaginator
session = Session()
client = Session().client("redshift-data") # (1)
paginator: ListDatabasesPaginator = client.get_paginator("list_databases") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RedshiftDataAPIServiceClient
- paginator: ListDatabasesPaginator
- item: ListDatabasesResponseTypeDef
paginate#
Type annotations and code completion for ListDatabasesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Database: str,
ClusterIdentifier: str = ...,
DbUser: str = ...,
SecretArn: str = ...,
WorkgroupName: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListDatabasesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDatabasesRequestListDatabasesPaginateTypeDef = { # (1)
"Database": ...,
}
parent.paginate(**kwargs)
ListSchemasPaginator#
Type annotations and code completion for boto3.client("redshift-data").get_paginator("list_schemas")
.
boto3 documentation
# ListSchemasPaginator usage example
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import ListSchemasPaginator
def get_list_schemas_paginator() -> ListSchemasPaginator:
return Session().client("redshift-data").get_paginator("list_schemas")
# ListSchemasPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import ListSchemasPaginator
session = Session()
client = Session().client("redshift-data") # (1)
paginator: ListSchemasPaginator = client.get_paginator("list_schemas") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RedshiftDataAPIServiceClient
- paginator: ListSchemasPaginator
- item: ListSchemasResponseTypeDef
paginate#
Type annotations and code completion for ListSchemasPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Database: str,
ClusterIdentifier: str = ...,
ConnectedDatabase: str = ...,
DbUser: str = ...,
SchemaPattern: str = ...,
SecretArn: str = ...,
WorkgroupName: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListSchemasResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSchemasRequestListSchemasPaginateTypeDef = { # (1)
"Database": ...,
}
parent.paginate(**kwargs)
ListStatementsPaginator#
Type annotations and code completion for boto3.client("redshift-data").get_paginator("list_statements")
.
boto3 documentation
# ListStatementsPaginator usage example
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import ListStatementsPaginator
def get_list_statements_paginator() -> ListStatementsPaginator:
return Session().client("redshift-data").get_paginator("list_statements")
# ListStatementsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import ListStatementsPaginator
session = Session()
client = Session().client("redshift-data") # (1)
paginator: ListStatementsPaginator = client.get_paginator("list_statements") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RedshiftDataAPIServiceClient
- paginator: ListStatementsPaginator
- item: ListStatementsResponseTypeDef
paginate#
Type annotations and code completion for ListStatementsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
RoleLevel: bool = ...,
StatementName: str = ...,
Status: StatusStringType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListStatementsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListStatementsRequestListStatementsPaginateTypeDef = { # (1)
"RoleLevel": ...,
}
parent.paginate(**kwargs)
ListTablesPaginator#
Type annotations and code completion for boto3.client("redshift-data").get_paginator("list_tables")
.
boto3 documentation
# ListTablesPaginator usage example
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import ListTablesPaginator
def get_list_tables_paginator() -> ListTablesPaginator:
return Session().client("redshift-data").get_paginator("list_tables")
# ListTablesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_redshift_data.paginator import ListTablesPaginator
session = Session()
client = Session().client("redshift-data") # (1)
paginator: ListTablesPaginator = client.get_paginator("list_tables") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: RedshiftDataAPIServiceClient
- paginator: ListTablesPaginator
- item: ListTablesResponseTypeDef
paginate#
Type annotations and code completion for ListTablesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Database: str,
ClusterIdentifier: str = ...,
ConnectedDatabase: str = ...,
DbUser: str = ...,
SchemaPattern: str = ...,
SecretArn: str = ...,
TablePattern: str = ...,
WorkgroupName: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListTablesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTablesRequestListTablesPaginateTypeDef = { # (1)
"Database": ...,
}
parent.paginate(**kwargs)