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 [`DescribeCostCategoryDefinition`](crate::operation::describe_cost_category_definition::builders::DescribeCostCategoryDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cost_category_arn(impl Into<String>)`](crate::operation::describe_cost_category_definition::builders::DescribeCostCategoryDefinitionFluentBuilder::cost_category_arn) / [`set_cost_category_arn(Option<String>)`](crate::operation::describe_cost_category_definition::builders::DescribeCostCategoryDefinitionFluentBuilder::set_cost_category_arn):<br>required: **true**<br><p>The unique identifier for your cost category.</p><br>
    ///   - [`effective_on(impl Into<String>)`](crate::operation::describe_cost_category_definition::builders::DescribeCostCategoryDefinitionFluentBuilder::effective_on) / [`set_effective_on(Option<String>)`](crate::operation::describe_cost_category_definition::builders::DescribeCostCategoryDefinitionFluentBuilder::set_effective_on):<br>required: **false**<br><p>The date when the cost category was effective.</p><br>
    /// - On success, responds with [`DescribeCostCategoryDefinitionOutput`](crate::operation::describe_cost_category_definition::DescribeCostCategoryDefinitionOutput) with field(s):
    ///   - [`cost_category(Option<CostCategory>)`](crate::operation::describe_cost_category_definition::DescribeCostCategoryDefinitionOutput::cost_category): <p>The structure of Cost Categories. This includes detailed metadata and the set of rules for the <code>CostCategory</code> object.</p>
    /// - On failure, responds with [`SdkError<DescribeCostCategoryDefinitionError>`](crate::operation::describe_cost_category_definition::DescribeCostCategoryDefinitionError)
    pub fn describe_cost_category_definition(
        &self,
    ) -> crate::operation::describe_cost_category_definition::builders::DescribeCostCategoryDefinitionFluentBuilder {
        crate::operation::describe_cost_category_definition::builders::DescribeCostCategoryDefinitionFluentBuilder::new(self.handle.clone())
    }
}