aws_sdk_costandusagereport/client/
modify_report_definition.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ModifyReportDefinition`](crate::operation::modify_report_definition::builders::ModifyReportDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`report_name(impl Into<String>)`](crate::operation::modify_report_definition::builders::ModifyReportDefinitionFluentBuilder::report_name) / [`set_report_name(Option<String>)`](crate::operation::modify_report_definition::builders::ModifyReportDefinitionFluentBuilder::set_report_name):<br>required: **true**<br><p>The name of the report that you want to create. The name must be unique, is case sensitive, and can't include spaces.</p><br>
    ///   - [`report_definition(ReportDefinition)`](crate::operation::modify_report_definition::builders::ModifyReportDefinitionFluentBuilder::report_definition) / [`set_report_definition(Option<ReportDefinition>)`](crate::operation::modify_report_definition::builders::ModifyReportDefinitionFluentBuilder::set_report_definition):<br>required: **true**<br><p>The definition of Amazon Web Services Cost and Usage Report. You can specify the report name, time unit, report format, compression format, S3 bucket, additional artifacts, and schema elements in the definition.</p><br>
    /// - On success, responds with [`ModifyReportDefinitionOutput`](crate::operation::modify_report_definition::ModifyReportDefinitionOutput)
    /// - On failure, responds with [`SdkError<ModifyReportDefinitionError>`](crate::operation::modify_report_definition::ModifyReportDefinitionError)
    pub fn modify_report_definition(&self) -> crate::operation::modify_report_definition::builders::ModifyReportDefinitionFluentBuilder {
        crate::operation::modify_report_definition::builders::ModifyReportDefinitionFluentBuilder::new(self.handle.clone())
    }
}