Skip to content

Bedrock  >  Operations  >  list_foundation_model_agreement_offers

list_foundation_model_agreement_offers

Operation

list_foundation_model_agreement_offers async

list_foundation_model_agreement_offers(input: ListFoundationModelAgreementOffersInput, plugins: list[Plugin] | None = None) -> ListFoundationModelAgreementOffersOutput

Get the offers associated with the specified model.

Parameters:

Name Type Description Default
input ListFoundationModelAgreementOffersInput

An instance of ListFoundationModelAgreementOffersInput.

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
ListFoundationModelAgreementOffersOutput

An instance of ListFoundationModelAgreementOffersOutput.

Input

ListFoundationModelAgreementOffersInput dataclass

Dataclass for ListFoundationModelAgreementOffersInput structure.

Attributes

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

Model Id of the foundation model.

offer_type class-attribute instance-attribute
offer_type: OfferType | None = None

Type of offer associated with the model.

Output

ListFoundationModelAgreementOffersOutput dataclass

Dataclass for ListFoundationModelAgreementOffersOutput structure.

Attributes

model_id instance-attribute
model_id: str

Model Id of the foundation model.

offers instance-attribute
offers: list[Offer]

List of the offers associated with the specified model.