Skip to content

List Foundation Model Agreement Offers

bedrock_list_foundation_model_agreement_offers R Documentation

Get the offers associated with the specified model

Description

Get the offers associated with the specified model.

Usage

bedrock_list_foundation_model_agreement_offers(modelId, offerType)

Arguments

modelId

[required] Model Id of the foundation model.

offerType

Type of offer associated with the model.

Value

A list with the following syntax:

list(
  modelId = "string",
  offers = list(
    list(
      offerId = "string",
      offerToken = "string",
      termDetails = list(
        usageBasedPricingTerm = list(
          rateCard = list(
            list(
              dimension = "string",
              price = "string",
              description = "string",
              unit = "string"
            )
          )
        ),
        legalTerm = list(
          url = "string"
        ),
        supportTerm = list(
          refundPolicyDescription = "string"
        ),
        validityTerm = list(
          agreementDuration = "string"
        )
      )
    )
  )
)

Request syntax

svc$list_foundation_model_agreement_offers(
  modelId = "string",
  offerType = "ALL"|"PUBLIC"
)