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.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.