:doc:`Bedrock <../../bedrock>` / Client / list_foundation_model_agreement_offers

**************************************
list_foundation_model_agreement_offers
**************************************



.. py:method:: Bedrock.Client.list_foundation_model_agreement_offers(**kwargs)

  

  Get the offers associated with the specified model.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListFoundationModelAgreementOffers>`_  


  **Request Syntax**
  ::

    response = client.list_foundation_model_agreement_offers(
        modelId='string',
        offerType='ALL'|'PUBLIC'
    )
    
  :type modelId: string
  :param modelId: **[REQUIRED]** 

    Model Id of the foundation model.

    

  
  :type offerType: string
  :param offerType: 

    Type of offer associated with the model.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'modelId': 'string',
          'offers': [
              {
                  'offerId': 'string',
                  'offerToken': 'string',
                  'termDetails': {
                      'usageBasedPricingTerm': {
                          'rateCard': [
                              {
                                  'dimension': 'string',
                                  'price': 'string',
                                  'description': 'string',
                                  'unit': 'string'
                              },
                          ]
                      },
                      'legalTerm': {
                          'url': 'string'
                      },
                      'supportTerm': {
                          'refundPolicyDescription': 'string'
                      },
                      'validityTerm': {
                          'agreementDuration': 'string'
                      }
                  }
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **modelId** *(string) --* 

        Model Id of the foundation model.

        
      

      - **offers** *(list) --* 

        List of the offers associated with the specified model.

        
        

        - *(dict) --* 

          An offer dictates usage terms for the model.

          
          

          - **offerId** *(string) --* 

            Offer Id for a model offer.

            
          

          - **offerToken** *(string) --* 

            Offer token.

            
          

          - **termDetails** *(dict) --* 

            Details about the terms of the offer.

            
            

            - **usageBasedPricingTerm** *(dict) --* 

              Describes the usage-based pricing term.

              
              

              - **rateCard** *(list) --* 

                Describes a usage price for each dimension.

                
                

                - *(dict) --* 

                  Dimensional price rate.

                  
                  

                  - **dimension** *(string) --* 

                    Dimension for the price rate.

                    
                  

                  - **price** *(string) --* 

                    Single-dimensional rate information.

                    
                  

                  - **description** *(string) --* 

                    Description of the price rate.

                    
                  

                  - **unit** *(string) --* 

                    Unit associated with the price.

                    
              
            
          
            

            - **legalTerm** *(dict) --* 

              Describes the legal terms.

              
              

              - **url** *(string) --* 

                URL to the legal term document.

                
          
            

            - **supportTerm** *(dict) --* 

              Describes the support terms.

              
              

              - **refundPolicyDescription** *(string) --* 

                Describes the refund policy.

                
          
            

            - **validityTerm** *(dict) --* 

              Describes the validity terms.

              
              

              - **agreementDuration** *(string) --* 

                Describes the agreement duration.

                
          
        
      
    
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Bedrock.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Bedrock.Client.exceptions.ValidationException`

  
  *   :py:class:`Bedrock.Client.exceptions.InternalServerException`

  
  *   :py:class:`Bedrock.Client.exceptions.ThrottlingException`

  