Skip to content

GetFoundationModelRequest

Source code in docs_src/capo_bedrock/types/get_foundation_model_request.py
class GetFoundationModelRequest(TypedDict, closed=True):
    model_identifier: "capo_bedrock.types.get_foundation_model_identifier.GetFoundationModelIdentifier"
    """<p>The model identifier. </p>"""
    project_identifier: NotRequired[
        "capo_bedrock.types.project_identifier.ProjectIdentifier"
    ]
    """<p>The ID or Amazon Resource Name (ARN) of a project. Amazon Bedrock uses the project's trusted access program participation when determining whether to return the model. The project must belong to your account in the same AWS Region and partition as the request.</p> <p>If you omit this parameter or specify <code>default</code>, Amazon Bedrock uses your account's participation, including organization inheritance.</p> <p>A project that doesn't exist or is archived causes a <code>ValidationException</code>. A model outside the project's available model catalog causes a <code>ResourceNotFoundException</code>.</p>"""

model_identifier instance-attribute

model_identifier: GetFoundationModelIdentifier

The model identifier.

project_identifier instance-attribute

project_identifier: NotRequired[ProjectIdentifier]

The ID or Amazon Resource Name (ARN) of a project. Amazon Bedrock uses the project's trusted access program participation when determining whether to return the model. The project must belong to your account in the same AWS Region and partition as the request.

If you omit this parameter or specify default, Amazon Bedrock uses your account's participation, including organization inheritance.

A project that doesn't exist or is archived causes a ValidationException. A model outside the project's available model catalog causes a ResourceNotFoundException.