aws_sdk_billingconductor/client/update_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 [`UpdateCustomLineItem`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::set_arn):<br>required: **true**<br><p>The ARN of the custom line item to be updated.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::set_name):<br>required: **false**<br><p>The new name for the custom line item.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::set_description):<br>required: **false**<br><p>The new line item description of the custom line item.</p><br>
9 /// - [`charge_details(UpdateCustomLineItemChargeDetails)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::charge_details) / [`set_charge_details(Option<UpdateCustomLineItemChargeDetails>)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::set_charge_details):<br>required: **false**<br><p>A <code>ListCustomLineItemChargeDetails</code> containing the new charge details for the custom line item.</p><br>
10 /// - [`billing_period_range(CustomLineItemBillingPeriodRange)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::billing_period_range) / [`set_billing_period_range(Option<CustomLineItemBillingPeriodRange>)`](crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::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>
11 /// - On success, responds with [`UpdateCustomLineItemOutput`](crate::operation::update_custom_line_item::UpdateCustomLineItemOutput) with field(s):
12 /// - [`arn(Option<String>)`](crate::operation::update_custom_line_item::UpdateCustomLineItemOutput::arn): <p>The ARN of the successfully updated custom line item.</p>
13 /// - [`billing_group_arn(Option<String>)`](crate::operation::update_custom_line_item::UpdateCustomLineItemOutput::billing_group_arn): <p>The ARN of the billing group that the custom line item is applied to.</p>
14 /// - [`name(Option<String>)`](crate::operation::update_custom_line_item::UpdateCustomLineItemOutput::name): <p>The name of the successfully updated custom line item.</p>
15 /// - [`description(Option<String>)`](crate::operation::update_custom_line_item::UpdateCustomLineItemOutput::description): <p>The description of the successfully updated custom line item.</p>
16 /// - [`charge_details(Option<ListCustomLineItemChargeDetails>)`](crate::operation::update_custom_line_item::UpdateCustomLineItemOutput::charge_details): <p>A <code>ListCustomLineItemChargeDetails</code> containing the charge details of the successfully updated custom line item.</p>
17 /// - [`last_modified_time(i64)`](crate::operation::update_custom_line_item::UpdateCustomLineItemOutput::last_modified_time): <p>The most recent time when the custom line item was modified.</p>
18 /// - [`association_size(i64)`](crate::operation::update_custom_line_item::UpdateCustomLineItemOutput::association_size): <p>The number of resources that are associated to the custom line item.</p>
19 /// - On failure, responds with [`SdkError<UpdateCustomLineItemError>`](crate::operation::update_custom_line_item::UpdateCustomLineItemError)
20 pub fn update_custom_line_item(&self) -> crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder {
21 crate::operation::update_custom_line_item::builders::UpdateCustomLineItemFluentBuilder::new(self.handle.clone())
22 }
23}