Skip to content

Bedrock  >  Operations  >  get_foundation_model

get_foundation_model

Operation

get_foundation_model async

get_foundation_model(input: GetFoundationModelInput, plugins: list[Plugin] | None = None) -> GetFoundationModelOutput

Get details about a Amazon Bedrock foundation model.

Parameters:

Name Type Description Default
input GetFoundationModelInput

An instance of GetFoundationModelInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetFoundationModelOutput

An instance of GetFoundationModelOutput.

Input

GetFoundationModelInput dataclass

Dataclass for GetFoundationModelInput structure.

Attributes

model_identifier class-attribute instance-attribute
model_identifier: str | None = None

The model identifier.

Output

GetFoundationModelOutput dataclass

Dataclass for GetFoundationModelOutput structure.

Attributes

model_details class-attribute instance-attribute
model_details: FoundationModelDetails | None = None

Information about the foundation model.