aws_sdk_billingconductor/client/delete_custom_line_item.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 [`DeleteCustomLineItem`](crate::operation::delete_custom_line_item::builders::DeleteCustomLineItemFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::delete_custom_line_item::builders::DeleteCustomLineItemFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_custom_line_item::builders::DeleteCustomLineItemFluentBuilder::set_arn):<br>required: **true**<br><p>The ARN of the custom line item to be deleted.</p><br>
7 /// - [`billing_period_range(CustomLineItemBillingPeriodRange)`](crate::operation::delete_custom_line_item::builders::DeleteCustomLineItemFluentBuilder::billing_period_range) / [`set_billing_period_range(Option<CustomLineItemBillingPeriodRange>)`](crate::operation::delete_custom_line_item::builders::DeleteCustomLineItemFluentBuilder::set_billing_period_range):<br>required: **false**<br><p>The billing period range in which the custom line item request will be applied.</p><br>
8 /// - On success, responds with [`DeleteCustomLineItemOutput`](crate::operation::delete_custom_line_item::DeleteCustomLineItemOutput) with field(s):
9 /// - [`arn(Option<String>)`](crate::operation::delete_custom_line_item::DeleteCustomLineItemOutput::arn): <p>The ARN of the deleted custom line item.</p>
10 /// - On failure, responds with [`SdkError<DeleteCustomLineItemError>`](crate::operation::delete_custom_line_item::DeleteCustomLineItemError)
11 pub fn delete_custom_line_item(&self) -> crate::operation::delete_custom_line_item::builders::DeleteCustomLineItemFluentBuilder {
12 crate::operation::delete_custom_line_item::builders::DeleteCustomLineItemFluentBuilder::new(self.handle.clone())
13 }
14}