aws_sdk_pi/client/create_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 [`CreatePerformanceAnalysisReport`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`service_type(ServiceType)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::service_type) / [`set_service_type(Option<ServiceType>)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::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::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::set_identifier):<br>required: **true**<br><p>An immutable, Amazon Web Services Region-unique identifier for a data source. Performance Insights gathers metrics from this data source.</p> <p>To use an Amazon RDS instance as a data source, you specify its <code>DbiResourceId</code> value. For example, specify <code>db-ADECBTYHKTSAUMUZQYPDS2GW4A</code>.</p><br>
8 /// - [`start_time(DateTime)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::set_start_time):<br>required: **true**<br><p>The start time defined for the analysis report.</p><br>
9 /// - [`end_time(DateTime)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::set_end_time):<br>required: **true**<br><p>The end time defined for the analysis report.</p><br>
10 /// - [`tags(Tag)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::set_tags):<br>required: **false**<br><p>The metadata assigned to the analysis report consisting of a key-value pair.</p><br>
11 /// - On success, responds with [`CreatePerformanceAnalysisReportOutput`](crate::operation::create_performance_analysis_report::CreatePerformanceAnalysisReportOutput) with field(s):
12 /// - [`analysis_report_id(Option<String>)`](crate::operation::create_performance_analysis_report::CreatePerformanceAnalysisReportOutput::analysis_report_id): <p>A unique identifier for the created analysis report.</p>
13 /// - On failure, responds with [`SdkError<CreatePerformanceAnalysisReportError>`](crate::operation::create_performance_analysis_report::CreatePerformanceAnalysisReportError)
14 pub fn create_performance_analysis_report(
15 &self,
16 ) -> crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder {
17 crate::operation::create_performance_analysis_report::builders::CreatePerformanceAnalysisReportFluentBuilder::new(self.handle.clone())
18 }
19}