aws_sdk_servicecatalog/client/delete_portfolio.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 [`DeletePortfolio`](crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DeletePortfolioOutput`](crate::operation::delete_portfolio::DeletePortfolioOutput)
9 /// - On failure, responds with [`SdkError<DeletePortfolioError>`](crate::operation::delete_portfolio::DeletePortfolioError)
10 pub fn delete_portfolio(&self) -> crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder {
11 crate::operation::delete_portfolio::builders::DeletePortfolioFluentBuilder::new(self.handle.clone())
12 }
13}