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 [`DeletePortfolio`](crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`accept_language(impl Into<String>)`](crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder::accept_language) / [`set_accept_language(Option<String>)`](crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder::set_accept_language):<br>required: **false**<br><p>The language code.</p> <ul>  <li>   <p><code>jp</code> - Japanese</p></li>  <li>   <p><code>zh</code> - Chinese</p></li> </ul><br>
    ///   - [`id(impl Into<String>)`](crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder::set_id):<br>required: **true**<br><p>The portfolio identifier.</p><br>
    /// - On success, responds with [`DeletePortfolioOutput`](crate::operation::delete_portfolio::DeletePortfolioOutput)
    /// - On failure, responds with [`SdkError<DeletePortfolioError>`](crate::operation::delete_portfolio::DeletePortfolioError)
    pub fn delete_portfolio(&self) -> crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder {
        crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder::new(self.handle.clone())
    }
}