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)
    isOwned: bool = ...,
    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

ListEvaluationJobsPaginator#

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

# ListEvaluationJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListEvaluationJobsPaginator

def get_list_evaluation_jobs_paginator() -> ListEvaluationJobsPaginator:
    return Session().client("bedrock").get_paginator("list_evaluation_jobs")
# ListEvaluationJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListEvaluationJobsPaginator

session = Session()

client = Session().client("bedrock")  # (1)
paginator: ListEvaluationJobsPaginator = client.get_paginator("list_evaluation_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockClient
  2. paginator: ListEvaluationJobsPaginator
  3. item: ListEvaluationJobsResponseTypeDef

paginate#

Type annotations and code completion for ListEvaluationJobsPaginator.paginate method.

# paginate method definition

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

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

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

ListGuardrailsPaginator#

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

# ListGuardrailsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListGuardrailsPaginator

def get_list_guardrails_paginator() -> ListGuardrailsPaginator:
    return Session().client("bedrock").get_paginator("list_guardrails")
# ListGuardrailsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListGuardrailsPaginator

session = Session()

client = Session().client("bedrock")  # (1)
paginator: ListGuardrailsPaginator = client.get_paginator("list_guardrails")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockClient
  2. paginator: ListGuardrailsPaginator
  3. item: ListGuardrailsResponseTypeDef

paginate#

Type annotations and code completion for ListGuardrailsPaginator.paginate method.

# paginate method definition

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

kwargs: ListGuardrailsRequestListGuardrailsPaginateTypeDef = {  # (1)
    "guardrailIdentifier": ...,
}

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

ListImportedModelsPaginator#

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

# ListImportedModelsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListImportedModelsPaginator

def get_list_imported_models_paginator() -> ListImportedModelsPaginator:
    return Session().client("bedrock").get_paginator("list_imported_models")
# ListImportedModelsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListImportedModelsPaginator

session = Session()

client = Session().client("bedrock")  # (1)
paginator: ListImportedModelsPaginator = client.get_paginator("list_imported_models")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockClient
  2. paginator: ListImportedModelsPaginator
  3. item: ListImportedModelsResponseTypeDef

paginate#

Type annotations and code completion for ListImportedModelsPaginator.paginate method.

# paginate method definition

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

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

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

ListInferenceProfilesPaginator#

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

# ListInferenceProfilesPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListInferenceProfilesPaginator

def get_list_inference_profiles_paginator() -> ListInferenceProfilesPaginator:
    return Session().client("bedrock").get_paginator("list_inference_profiles")
# ListInferenceProfilesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListInferenceProfilesPaginator

session = Session()

client = Session().client("bedrock")  # (1)
paginator: ListInferenceProfilesPaginator = client.get_paginator("list_inference_profiles")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockClient
  2. paginator: ListInferenceProfilesPaginator
  3. item: ListInferenceProfilesResponseTypeDef

paginate#

Type annotations and code completion for ListInferenceProfilesPaginator.paginate method.

# paginate method definition

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

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

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

ListModelCopyJobsPaginator#

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

# ListModelCopyJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListModelCopyJobsPaginator

def get_list_model_copy_jobs_paginator() -> ListModelCopyJobsPaginator:
    return Session().client("bedrock").get_paginator("list_model_copy_jobs")
# ListModelCopyJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock.paginator import ListModelCopyJobsPaginator

session = Session()

client = Session().client("bedrock")  # (1)
paginator: ListModelCopyJobsPaginator = client.get_paginator("list_model_copy_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockClient
  2. paginator: ListModelCopyJobsPaginator
  3. item: ListModelCopyJobsResponseTypeDef
  4. </