aws_sdk_pi/client/delete_performance_analysis_report.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 [`DeletePerformanceAnalysisReport`](crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`service_type(ServiceType)`](crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder::service_type) / [`set_service_type(Option<ServiceType>)`](crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder::set_service_type):<br>required: **true**<br><p>The Amazon Web Services service for which Performance Insights will return metrics. Valid value is <code>RDS</code>.</p><br>
7 /// - [`identifier(impl Into<String>)`](crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder::set_identifier):<br>required: **true**<br><p>An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. In the console, the identifier is shown as <i>ResourceID</i>. When you call <code>DescribeDBInstances</code>, the identifier is returned as <code>DbiResourceId</code>.</p> <p>To use a DB instance as a data source, specify its <code>DbiResourceId</code> value. For example, specify <code>db-ABCDEFGHIJKLMNOPQRSTU1VW2X</code>.</p><br>
8 /// - [`analysis_report_id(impl Into<String>)`](crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder::analysis_report_id) / [`set_analysis_report_id(Option<String>)`](crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder::set_analysis_report_id):<br>required: **true**<br><p>The unique identifier of the analysis report for deletion.</p><br>
9 /// - On success, responds with [`DeletePerformanceAnalysisReportOutput`](crate::operation::delete_performance_analysis_report::DeletePerformanceAnalysisReportOutput)
10 /// - On failure, responds with [`SdkError<DeletePerformanceAnalysisReportError>`](crate::operation::delete_performance_analysis_report::DeletePerformanceAnalysisReportError)
11 pub fn delete_performance_analysis_report(
12 &self,
13 ) -> crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder {
14 crate::operation::delete_performance_analysis_report::builders::DeletePerformanceAnalysisReportFluentBuilder::new(self.handle.clone())
15 }
16}