aws_sdk_costandusagereport/client/
delete_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 [`DeleteReportDefinition`](crate::operation::delete_report_definition::builders::DeleteReportDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`report_name(impl Into<String>)`](crate::operation::delete_report_definition::builders::DeleteReportDefinitionFluentBuilder::report_name) / [`set_report_name(Option<String>)`](crate::operation::delete_report_definition::builders::DeleteReportDefinitionFluentBuilder::set_report_name):<br>required: **true**<br><p>The name of the report that you want to delete. The name must be unique, is case sensitive, and can't include spaces.</p><br>
    /// - On success, responds with [`DeleteReportDefinitionOutput`](crate::operation::delete_report_definition::DeleteReportDefinitionOutput) with field(s):
    ///   - [`response_message(Option<String>)`](crate::operation::delete_report_definition::DeleteReportDefinitionOutput::response_message): <p>Whether the deletion was successful or not.</p>
    /// - On failure, responds with [`SdkError<DeleteReportDefinitionError>`](crate::operation::delete_report_definition::DeleteReportDefinitionError)
    pub fn delete_report_definition(&self) -> crate::operation::delete_report_definition::builders::DeleteReportDefinitionFluentBuilder {
        crate::operation::delete_report_definition::builders::DeleteReportDefinitionFluentBuilder::new(self.handle.clone())
    }
}