aws_sdk_transfer/client/
delete_agreement.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAgreement`](crate::operation::delete_agreement::builders::DeleteAgreementFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agreement_id(impl Into<String>)`](crate::operation::delete_agreement::builders::DeleteAgreementFluentBuilder::agreement_id) / [`set_agreement_id(Option<String>)`](crate::operation::delete_agreement::builders::DeleteAgreementFluentBuilder::set_agreement_id):<br>required: **true**<br><p>A unique identifier for the agreement. This identifier is returned when you create an agreement.</p><br>
    ///   - [`server_id(impl Into<String>)`](crate::operation::delete_agreement::builders::DeleteAgreementFluentBuilder::server_id) / [`set_server_id(Option<String>)`](crate::operation::delete_agreement::builders::DeleteAgreementFluentBuilder::set_server_id):<br>required: **true**<br><p>The server identifier associated with the agreement that you are deleting.</p><br>
    /// - On success, responds with [`DeleteAgreementOutput`](crate::operation::delete_agreement::DeleteAgreementOutput)
    /// - On failure, responds with [`SdkError<DeleteAgreementError>`](crate::operation::delete_agreement::DeleteAgreementError)
    pub fn delete_agreement(&self) -> crate::operation::delete_agreement::builders::DeleteAgreementFluentBuilder {
        crate::operation::delete_agreement::builders::DeleteAgreementFluentBuilder::new(self.handle.clone())
    }
}