Viewing docs for AWS v7.43.0
published on Thursday, Aug 20, 2026 by Pulumi
published on Thursday, Aug 20, 2026 by Pulumi
Viewing docs for AWS v7.43.0
published on Thursday, Aug 20, 2026 by Pulumi
published on Thursday, Aug 20, 2026 by Pulumi
Provides details about AWS Bedrock Foundation Model Agreement Offers.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.bedrockfoundation.getModelAgreementOffers({
modelId: exampleAwsBedrockFoundationModels.modelSummaries[0].modelId,
});
import pulumi
import pulumi_aws as aws
example = aws.bedrockfoundation.get_model_agreement_offers(model_id=example_aws_bedrock_foundation_models["modelSummaries"][0]["modelId"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrockfoundation"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bedrockfoundation.GetModelAgreementOffers(ctx, &bedrockfoundation.GetModelAgreementOffersArgs{
ModelId: exampleAwsBedrockFoundationModels.ModelSummaries[0].ModelId,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.BedrockFoundation.GetModelAgreementOffers.Invoke(new()
{
ModelId = exampleAwsBedrockFoundationModels.ModelSummaries[0].ModelId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bedrockfoundation.BedrockfoundationFunctions;
import com.pulumi.aws.bedrockfoundation.inputs.GetModelAgreementOffersArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = BedrockfoundationFunctions.getModelAgreementOffers(GetModelAgreementOffersArgs.builder()
.modelId(exampleAwsBedrockFoundationModels.modelSummaries()[0].modelId())
.build());
}
}
variables:
example:
fn::invoke:
function: aws:bedrockfoundation:getModelAgreementOffers
arguments:
modelId: ${exampleAwsBedrockFoundationModels.modelSummaries[0].modelId}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_bedrockfoundation_getmodelagreementoffers" "example" {
model_id = exampleAwsBedrockFoundationModels.modelSummaries[0].modelId
}
Using getModelAgreementOffers
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getModelAgreementOffers(args: GetModelAgreementOffersArgs, opts?: InvokeOptions): Promise<GetModelAgreementOffersResult>
function getModelAgreementOffersOutput(args: GetModelAgreementOffersOutputArgs, opts?: InvokeOutputOptions): Output<GetModelAgreementOffersResult>def get_model_agreement_offers(model_id: Optional[str] = None,
offer_type: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetModelAgreementOffersResult
def get_model_agreement_offers_output(model_id: pulumi.Input[Optional[str]] = None,
offer_type: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetModelAgreementOffersResult]func GetModelAgreementOffers(ctx *Context, args *GetModelAgreementOffersArgs, opts ...InvokeOption) (*GetModelAgreementOffersResult, error)
func GetModelAgreementOffersOutput(ctx *Context, args *GetModelAgreementOffersOutputArgs, opts ...InvokeOption) GetModelAgreementOffersResultOutput> Note: This function is named GetModelAgreementOffers in the Go SDK.
public static class GetModelAgreementOffers
{
public static Task<GetModelAgreementOffersResult> InvokeAsync(GetModelAgreementOffersArgs args, InvokeOptions? opts = null)
public static Output<GetModelAgreementOffersResult> Invoke(GetModelAgreementOffersInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetModelAgreementOffersResult> Invoke(GetModelAgreementOffersInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetModelAgreementOffersResult> getModelAgreementOffers(GetModelAgreementOffersArgs args, InvokeOptions options)
public static Output<GetModelAgreementOffersResult> getModelAgreementOffers(GetModelAgreementOffersArgs args, InvokeOptions options)
public static Output<GetModelAgreementOffersResult> getModelAgreementOffers(GetModelAgreementOffersArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws:bedrockfoundation/getModelAgreementOffers:getModelAgreementOffers
arguments:
# arguments dictionarydata "aws_bedrockfoundation_get_model_agreement_offers" "name" {
# arguments
}The following arguments are supported:
- model_
id string Model ID of the foundation model
The following arguments are optional:
- offer_
type string - Type of offer associated with the model. Valid values are
ALLandPUBLIC. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- model_
id str Model ID of the foundation model
The following arguments are optional:
- offer_
type str - Type of offer associated with the model. Valid values are
ALLandPUBLIC. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getModelAgreementOffers Result
The following output properties are available:
- Model
Id string - Offers
List<Get
Model Agreement Offers Offer> - List of the offers associated with the specified model. See
offers. - Region string
- Offer
Type string
- Model
Id string - Offers
[]Get
Model Agreement Offers Offer - List of the offers associated with the specified model. See
offers. - Region string
- Offer
Type string
- model_
id string - offers list(object)
- List of the offers associated with the specified model. See
offers. - region string
- offer_
type string
- model
Id String - offers
List<Get
Model Agreement Offers Offer> - List of the offers associated with the specified model. See
offers. - region String
- offer
Type String
- model
Id string - offers
Get
Model Agreement Offers Offer[] - List of the offers associated with the specified model. See
offers. - region string
- offer
Type string
- model_
id str - offers
Sequence[Get
Model Agreement Offers Offer] - List of the offers associated with the specified model. See
offers. - region str
- offer_
type str
- model
Id String - offers List<Property Map>
- List of the offers associated with the specified model. See
offers. - region String
- offer
Type String
Supporting Types
GetModelAgreementOffersOffer
- Offer
Id string - Offer ID for a model offer.
- Offer
Token string - Offer token.
- Term
Details List<GetModel Agreement Offers Offer Term Detail> - Details about the terms of the offer. See
termDetails.
- Offer
Id string - Offer ID for a model offer.
- Offer
Token string - Offer token.
- Term
Details []GetModel Agreement Offers Offer Term Detail - Details about the terms of the offer. See
termDetails.
- offer_
id string - Offer ID for a model offer.
- offer_
token string - Offer token.
- term_
details list(object) - Details about the terms of the offer. See
termDetails.
- offer
Id String - Offer ID for a model offer.
- offer
Token String - Offer token.
- term
Details List<GetModel Agreement Offers Offer Term Detail> - Details about the terms of the offer. See
termDetails.
- offer
Id string - Offer ID for a model offer.
- offer
Token string - Offer token.
- term
Details GetModel Agreement Offers Offer Term Detail[] - Details about the terms of the offer. See
termDetails.
- offer_
id str - Offer ID for a model offer.
- offer_
token str - Offer token.
- term_
details Sequence[GetModel Agreement Offers Offer Term Detail] - Details about the terms of the offer. See
termDetails.
- offer
Id String - Offer ID for a model offer.
- offer
Token String - Offer token.
- term
Details List<Property Map> - Details about the terms of the offer. See
termDetails.
GetModelAgreementOffersOfferTermDetail
- Legal
Terms List<GetModel Agreement Offers Offer Term Detail Legal Term> - Details about the legal terms. See
legalTerm. - Support
Terms List<GetModel Agreement Offers Offer Term Detail Support Term> - Details about the support terms. See
supportTerm. - Usage
Based List<GetPricing Terms Model Agreement Offers Offer Term Detail Usage Based Pricing Term> - Details about the pricing terms. See
usageBasedPricingTerm. - Validity
Terms List<GetModel Agreement Offers Offer Term Detail Validity Term> - Details about the validity terms. See
validityTerm.
- Legal
Terms []GetModel Agreement Offers Offer Term Detail Legal Term - Details about the legal terms. See
legalTerm. - Support
Terms []GetModel Agreement Offers Offer Term Detail Support Term - Details about the support terms. See
supportTerm. - Usage
Based []GetPricing Terms Model Agreement Offers Offer Term Detail Usage Based Pricing Term - Details about the pricing terms. See
usageBasedPricingTerm. - Validity
Terms []GetModel Agreement Offers Offer Term Detail Validity Term - Details about the validity terms. See
validityTerm.
- legal_
terms list(object) - Details about the legal terms. See
legalTerm. - support_
terms list(object) - Details about the support terms. See
supportTerm. - usage_
based_ list(object)pricing_ terms - Details about the pricing terms. See
usageBasedPricingTerm. - validity_
terms list(object) - Details about the validity terms. See
validityTerm.
- legal
Terms List<GetModel Agreement Offers Offer Term Detail Legal Term> - Details about the legal terms. See
legalTerm. - support
Terms List<GetModel Agreement Offers Offer Term Detail Support Term> - Details about the support terms. See
supportTerm. - usage
Based List<GetPricing Terms Model Agreement Offers Offer Term Detail Usage Based Pricing Term> - Details about the pricing terms. See
usageBasedPricingTerm. - validity
Terms List<GetModel Agreement Offers Offer Term Detail Validity Term> - Details about the validity terms. See
validityTerm.
- legal
Terms GetModel Agreement Offers Offer Term Detail Legal Term[] - Details about the legal terms. See
legalTerm. - support
Terms GetModel Agreement Offers Offer Term Detail Support Term[] - Details about the support terms. See
supportTerm. - usage
Based GetPricing Terms Model Agreement Offers Offer Term Detail Usage Based Pricing Term[] - Details about the pricing terms. See
usageBasedPricingTerm. - validity
Terms GetModel Agreement Offers Offer Term Detail Validity Term[] - Details about the validity terms. See
validityTerm.
- legal_
terms Sequence[GetModel Agreement Offers Offer Term Detail Legal Term] - Details about the legal terms. See
legalTerm. - support_
terms Sequence[GetModel Agreement Offers Offer Term Detail Support Term] - Details about the support terms. See
supportTerm. - usage_
based_ Sequence[Getpricing_ terms Model Agreement Offers Offer Term Detail Usage Based Pricing Term] - Details about the pricing terms. See
usageBasedPricingTerm. - validity_
terms Sequence[GetModel Agreement Offers Offer Term Detail Validity Term] - Details about the validity terms. See
validityTerm.
- legal
Terms List<Property Map> - Details about the legal terms. See
legalTerm. - support
Terms List<Property Map> - Details about the support terms. See
supportTerm. - usage
Based List<Property Map>Pricing Terms - Details about the pricing terms. See
usageBasedPricingTerm. - validity
Terms List<Property Map> - Details about the validity terms. See
validityTerm.
GetModelAgreementOffersOfferTermDetailLegalTerm
- Url string
- URL to the legal term document.
- Url string
- URL to the legal term document.
- url string
- URL to the legal term document.
- url String
- URL to the legal term document.
- url string
- URL to the legal term document.
- url str
- URL to the legal term document.
- url String
- URL to the legal term document.
GetModelAgreementOffersOfferTermDetailSupportTerm
- Refund
Policy stringDescription - Refund policy description.
- Refund
Policy stringDescription - Refund policy description.
- refund_
policy_ stringdescription - Refund policy description.
- refund
Policy StringDescription - Refund policy description.
- refund
Policy stringDescription - Refund policy description.
- refund_
policy_ strdescription - Refund policy description.
- refund
Policy StringDescription - Refund policy description.
GetModelAgreementOffersOfferTermDetailUsageBasedPricingTerm
- Rate
Cards List<GetModel Agreement Offers Offer Term Detail Usage Based Pricing Term Rate Card> - Details about a usage price for each dimension. See
rateCard.
- Rate
Cards []GetModel Agreement Offers Offer Term Detail Usage Based Pricing Term Rate Card - Details about a usage price for each dimension. See
rateCard.
- rate_
cards list(object) - Details about a usage price for each dimension. See
rateCard.
- rate
Cards List<GetModel Agreement Offers Offer Term Detail Usage Based Pricing Term Rate Card> - Details about a usage price for each dimension. See
rateCard.
- rate
Cards GetModel Agreement Offers Offer Term Detail Usage Based Pricing Term Rate Card[] - Details about a usage price for each dimension. See
rateCard.
- rate_
cards Sequence[GetModel Agreement Offers Offer Term Detail Usage Based Pricing Term Rate Card] - Details about a usage price for each dimension. See
rateCard.
- rate
Cards List<Property Map> - Details about a usage price for each dimension. See
rateCard.
GetModelAgreementOffersOfferTermDetailUsageBasedPricingTermRateCard
- Description string
- Description of the price rate.
- Dimension string
- Dimension for the price rate.
- Price string
- Single-dimensional rate information.
- Unit string
- Unit associated with the price.
- Description string
- Description of the price rate.
- Dimension string
- Dimension for the price rate.
- Price string
- Single-dimensional rate information.
- Unit string
- Unit associated with the price.
- description string
- Description of the price rate.
- dimension string
- Dimension for the price rate.
- price string
- Single-dimensional rate information.
- unit string
- Unit associated with the price.
- description String
- Description of the price rate.
- dimension String
- Dimension for the price rate.
- price String
- Single-dimensional rate information.
- unit String
- Unit associated with the price.
- description string
- Description of the price rate.
- dimension string
- Dimension for the price rate.
- price string
- Single-dimensional rate information.
- unit string
- Unit associated with the price.
- description str
- Description of the price rate.
- dimension str
- Dimension for the price rate.
- price str
- Single-dimensional rate information.
- unit str
- Unit associated with the price.
- description String
- Description of the price rate.
- dimension String
- Dimension for the price rate.
- price String
- Single-dimensional rate information.
- unit String
- Unit associated with the price.
GetModelAgreementOffersOfferTermDetailValidityTerm
- Agreement
Duration string - Duration of the agreement.
- Agreement
Duration string - Duration of the agreement.
- agreement_
duration string - Duration of the agreement.
- agreement
Duration String - Duration of the agreement.
- agreement
Duration string - Duration of the agreement.
- agreement_
duration str - Duration of the agreement.
- agreement
Duration String - Duration of the agreement.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.43.0
published on Thursday, Aug 20, 2026 by Pulumi
published on Thursday, Aug 20, 2026 by Pulumi