Skip to main content

foundation_model_agreement_offers

Creates, updates, deletes, gets or lists a foundation_model_agreement_offers resource.

Overview

Namefoundation_model_agreement_offers
TypeResource
Idaws.bedrock.foundation_model_agreement_offers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
model_idstringModel Id of the foundation model. (pattern: <code>[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12}|)</code>)
offersarrayList of the offers associated with the specified model.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_foundation_model_agreement_offersselectmodel_id, regionofferTypeGet the offers associated with the specified model.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
model_idstringModel Id of the foundation model.
regionstringAWS region (default: us-east-1)
offerTypestringType of offer associated with the model.

SELECT examples

Get the offers associated with the specified model.

SELECT
model_id,
offers
FROM aws.bedrock.foundation_model_agreement_offers
WHERE model_id = '{{ model_id }}' -- required
AND region = '{{ region }}' -- required
AND offerType = '{{ offerType }}'
;