foundation_model_agreement_offers
Creates, updates, deletes, gets or lists a foundation_model_agreement_offers resource.
Overview
| Name | foundation_model_agreement_offers |
| Type | Resource |
| Id | aws.bedrock.foundation_model_agreement_offers |
Fields
The following fields are returned by SELECT queries:
- list_foundation_model_agreement_offers
| Name | Datatype | Description |
|---|---|---|
model_id | string | Model 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>) |
offers | array | List of the offers associated with the specified model. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_foundation_model_agreement_offers | select | model_id, region | offerType | Get 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.
| Name | Datatype | Description |
|---|---|---|
model_id | string | Model Id of the foundation model. |
region | string | AWS region (default: us-east-1) |
offerType | string | Type of offer associated with the model. |
SELECT examples
- list_foundation_model_agreement_offers
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 }}'
;