Skip to content

Paginators#

Index > Bedrock > Paginators

Auto-generated documentation for Bedrock type annotations stubs module mypy-boto3-bedrock.

ListCustomModelsPaginator#

Type annotations and code completion for boto3.client("bedrock").get_paginator("list_custom_models"). boto3 documentation

# ListCustomModelsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListCustomModelsPaginator

def get_list_custom_models_paginator() -> ListCustomModelsPaginator:
    return Session().client("bedrock").get_paginator("list_custom_models")
# ListCustomModelsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListCustomModelsPaginator

session = Session()

client = Session().client("bedrock")  # (1)
paginator: ListCustomModelsPaginator = client.get_paginator("list_custom_models")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockClient
  2. paginator: ListCustomModelsPaginator
  3. item: ListCustomModelsResponseTypeDef

paginate#

Type annotations and code completion for ListCustomModelsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    creationTimeBefore: Union[datetime, str] = ...,
    creationTimeAfter: Union[datetime, str] = ...,
    nameContains: str = ...,
    baseModelArnEquals: str = ...,
    foundationModelArnEquals: str = ...,
    sortBy: SortModelsByType = ...,  # (1)
    sortOrder: SortOrderType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[ListCustomModelsResponseTypeDef]:  # (4)
    ...
  1. See SortModelsByType
  2. See SortOrderType
  3. See PaginatorConfigTypeDef
  4. See ListCustomModelsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListCustomModelsRequestListCustomModelsPaginateTypeDef = {  # (1)
    "creationTimeBefore": ...,
}

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

ListModelCustomizationJobsPaginator#

Type annotations and code completion for boto3.client("bedrock").get_paginator("list_model_customization_jobs"). boto3 documentation

# ListModelCustomizationJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListModelCustomizationJobsPaginator

def get_list_model_customization_jobs_paginator() -> ListModelCustomizationJobsPaginator:
    return Session().client("bedrock").get_paginator("list_model_customization_jobs")
# ListModelCustomizationJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListModelCustomizationJobsPaginator

session = Session()

client = Session().client("bedrock")  # (1)
paginator: ListModelCustomizationJobsPaginator = client.get_paginator("list_model_customization_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockClient
  2. paginator: ListModelCustomizationJobsPaginator
  3. item: ListModelCustomizationJobsResponseTypeDef

paginate#

Type annotations and code completion for ListModelCustomizationJobsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    creationTimeAfter: Union[datetime, str] = ...,
    creationTimeBefore: Union[datetime, str] = ...,
    statusEquals: FineTuningJobStatusType = ...,  # (1)
    nameContains: str = ...,
    sortBy: SortJobsByType = ...,  # (2)
    sortOrder: SortOrderType = ...,  # (3)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> _PageIterator[ListModelCustomizationJobsResponseTypeDef]:  # (5)
    ...
  1. See FineTuningJobStatusType
  2. See SortJobsByType
  3. See SortOrderType
  4. See PaginatorConfigTypeDef
  5. See ListModelCustomizationJobsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListModelCustomizationJobsRequestListModelCustomizationJobsPaginateTypeDef = {  # (1)
    "creationTimeAfter": ...,
}

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

ListProvisionedModelThroughputsPaginator#

Type annotations and code completion for boto3.client("bedrock").get_paginator("list_provisioned_model_throughputs"). boto3 documentation

# ListProvisionedModelThroughputsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListProvisionedModelThroughputsPaginator

def get_list_provisioned_model_throughputs_paginator() -> ListProvisionedModelThroughputsPaginator:
    return Session().client("bedrock").get_paginator("list_provisioned_model_throughputs")
# ListProvisionedModelThroughputsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListProvisionedModelThroughputsPaginator

session = Session()

client = Session().client("bedrock")  # (1)
paginator: ListProvisionedModelThroughputsPaginator = client.get_paginator("list_provisioned_model_throughputs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockClient
  2. paginator: ListProvisionedModelThroughputsPaginator
  3. item: ListProvisionedModelThroughputsResponseTypeDef

paginate#

Type annotations and code completion for ListProvisionedModelThroughputsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    creationTimeAfter: Union[datetime, str] = ...,
    creationTimeBefore: Union[datetime, str] = ...,
    statusEquals: ProvisionedModelStatusType = ...,  # (1)
    modelArnEquals: str = ...,
    nameContains: str = ...,
    sortBy: SortByProvisionedModelsType = ...,  # (2)
    sortOrder: SortOrderType = ...,  # (3)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> _PageIterator[ListProvisionedModelThroughputsResponseTypeDef]:  # (5)
    ...
  1. See ProvisionedModelStatusType
  2. See SortByProvisionedModelsType
  3. See SortOrderType
  4. See PaginatorConfigTypeDef
  5. See ListProvisionedModelThroughputsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListProvisionedModelThroughputsRequestListProvisionedModelThroughputsPaginateTypeDef = {  # (1)
    "creationTimeAfter": ...,
}

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