aws_sdk_bedrock/client/list_foundation_model_agreement_offers.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListFoundationModelAgreementOffers`](crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`ListFoundationModelAgreementOffersOutput`](crate::operation::list_foundation_model_agreement_offers::ListFoundationModelAgreementOffersOutput) with field(s):
9 /// - [`model_id(String)`](crate::operation::list_foundation_model_agreement_offers::ListFoundationModelAgreementOffersOutput::model_id): <p>Model Id of the foundation model.</p>
10 /// - [`offers(Vec::<Offer>)`](crate::operation::list_foundation_model_agreement_offers::ListFoundationModelAgreementOffersOutput::offers): <p>List of the offers associated with the specified model.</p>
11 /// - On failure, responds with [`SdkError<ListFoundationModelAgreementOffersError>`](crate::operation::list_foundation_model_agreement_offers::ListFoundationModelAgreementOffersError)
12 pub fn list_foundation_model_agreement_offers(
13 &self,
14 ) -> crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder {
15 crate::operation::list_foundation_model_agreement_offers::builders::ListFoundationModelAgreementOffersFluentBuilder::new(self.handle.clone())
16 }
17}