aws_sdk_bedrock/client/delete_foundation_model_agreement.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 [`DeleteFoundationModelAgreement`](crate::operation::delete_foundation_model_agreement::builders::DeleteFoundationModelAgreementFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`model_id(impl Into<String>)`](crate::operation::delete_foundation_model_agreement::builders::DeleteFoundationModelAgreementFluentBuilder::model_id) / [`set_model_id(Option<String>)`](crate::operation::delete_foundation_model_agreement::builders::DeleteFoundationModelAgreementFluentBuilder::set_model_id):<br>required: **true**<br><p>Model Id of the model access to delete.</p><br>
7 /// - On success, responds with [`DeleteFoundationModelAgreementOutput`](crate::operation::delete_foundation_model_agreement::DeleteFoundationModelAgreementOutput)
8 /// - On failure, responds with [`SdkError<DeleteFoundationModelAgreementError>`](crate::operation::delete_foundation_model_agreement::DeleteFoundationModelAgreementError)
9 pub fn delete_foundation_model_agreement(
10 &self,
11 ) -> crate::operation::delete_foundation_model_agreement::builders::DeleteFoundationModelAgreementFluentBuilder {
12 crate::operation::delete_foundation_model_agreement::builders::DeleteFoundationModelAgreementFluentBuilder::new(self.handle.clone())
13 }
14}