aws_sdk_billing/client/
delete_billing_view.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 [`DeleteBillingView`](crate::operation::delete_billing_view::builders::DeleteBillingViewFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::delete_billing_view::builders::DeleteBillingViewFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_billing_view::builders::DeleteBillingViewFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.</p><br>
7    ///   - [`force(bool)`](crate::operation::delete_billing_view::builders::DeleteBillingViewFluentBuilder::force) / [`set_force(Option<bool>)`](crate::operation::delete_billing_view::builders::DeleteBillingViewFluentBuilder::set_force):<br>required: **false**<br><p>If set to true, forces deletion of the billing view even if it has derived resources (e.g. other billing views or budgets). Use with caution as this may break dependent resources.</p><br>
8    /// - On success, responds with [`DeleteBillingViewOutput`](crate::operation::delete_billing_view::DeleteBillingViewOutput) with field(s):
9    ///   - [`arn(String)`](crate::operation::delete_billing_view::DeleteBillingViewOutput::arn): <p>The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.</p>
10    /// - On failure, responds with [`SdkError<DeleteBillingViewError>`](crate::operation::delete_billing_view::DeleteBillingViewError)
11    pub fn delete_billing_view(&self) -> crate::operation::delete_billing_view::builders::DeleteBillingViewFluentBuilder {
12        crate::operation::delete_billing_view::builders::DeleteBillingViewFluentBuilder::new(self.handle.clone())
13    }
14}