aws-sdk-costexplorer 1.115.0

AWS SDK for AWS Cost Explorer Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteCostCategoryDefinition`](crate::operation::delete_cost_category_definition::builders::DeleteCostCategoryDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cost_category_arn(impl Into<String>)`](crate::operation::delete_cost_category_definition::builders::DeleteCostCategoryDefinitionFluentBuilder::cost_category_arn) / [`set_cost_category_arn(Option<String>)`](crate::operation::delete_cost_category_definition::builders::DeleteCostCategoryDefinitionFluentBuilder::set_cost_category_arn):<br>required: **true**<br><p>The unique identifier for your cost category.</p><br>
    /// - On success, responds with [`DeleteCostCategoryDefinitionOutput`](crate::operation::delete_cost_category_definition::DeleteCostCategoryDefinitionOutput) with field(s):
    ///   - [`cost_category_arn(Option<String>)`](crate::operation::delete_cost_category_definition::DeleteCostCategoryDefinitionOutput::cost_category_arn): <p>The unique identifier for your cost category.</p>
    ///   - [`effective_end(Option<String>)`](crate::operation::delete_cost_category_definition::DeleteCostCategoryDefinitionOutput::effective_end): <p>The effective end date of the cost category as a result of deleting it. No costs after this date is categorized by the deleted cost category.</p>
    /// - On failure, responds with [`SdkError<DeleteCostCategoryDefinitionError>`](crate::operation::delete_cost_category_definition::DeleteCostCategoryDefinitionError)
    pub fn delete_cost_category_definition(
        &self,
    ) -> crate::operation::delete_cost_category_definition::builders::DeleteCostCategoryDefinitionFluentBuilder {
        crate::operation::delete_cost_category_definition::builders::DeleteCostCategoryDefinitionFluentBuilder::new(self.handle.clone())
    }
}