aws-sdk-bedrock 1.143.0

AWS SDK for Amazon Bedrock
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListFoundationModelAgreementOffers`](crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`model_id(impl Into<String>)`](crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder::model_id) / [`set_model_id(Option<String>)`](crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder::set_model_id):<br>required: **true**<br><p>Model Id of the foundation model.</p><br>
    ///   - [`offer_type(OfferType)`](crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder::offer_type) / [`set_offer_type(Option<OfferType>)`](crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder::set_offer_type):<br>required: **false**<br><p>Type of offer associated with the model.</p><br>
    /// - On success, responds with [`ListFoundationModelAgreementOffersOutput`](crate::operation::list_foundation_model_agreement_offers::ListFoundationModelAgreementOffersOutput) with field(s):
    ///   - [`model_id(String)`](crate::operation::list_foundation_model_agreement_offers::ListFoundationModelAgreementOffersOutput::model_id): <p>Model Id of the foundation model.</p>
    ///   - [`offers(Vec::<Offer>)`](crate::operation::list_foundation_model_agreement_offers::ListFoundationModelAgreementOffersOutput::offers): <p>List of the offers associated with the specified model.</p>
    /// - On failure, responds with [`SdkError<ListFoundationModelAgreementOffersError>`](crate::operation::list_foundation_model_agreement_offers::ListFoundationModelAgreementOffersError)
    pub fn list_foundation_model_agreement_offers(
        &self,
    ) -> crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder {
        crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder::new(self.handle.clone())
    }
}