aws_sdk_artifact/client/
get_report.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetReport`](crate::operation::get_report::builders::GetReportFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`report_id(impl Into<String>)`](crate::operation::get_report::builders::GetReportFluentBuilder::report_id) / [`set_report_id(Option<String>)`](crate::operation::get_report::builders::GetReportFluentBuilder::set_report_id):<br>required: **true**<br><p>Unique resource ID for the report resource.</p><br>
    ///   - [`report_version(i64)`](crate::operation::get_report::builders::GetReportFluentBuilder::report_version) / [`set_report_version(Option<i64>)`](crate::operation::get_report::builders::GetReportFluentBuilder::set_report_version):<br>required: **false**<br><p>Version for the report resource.</p><br>
    ///   - [`term_token(impl Into<String>)`](crate::operation::get_report::builders::GetReportFluentBuilder::term_token) / [`set_term_token(Option<String>)`](crate::operation::get_report::builders::GetReportFluentBuilder::set_term_token):<br>required: **true**<br><p>Unique download token provided by GetTermForReport API.</p><br>
    /// - On success, responds with [`GetReportOutput`](crate::operation::get_report::GetReportOutput) with field(s):
    ///   - [`document_presigned_url(Option<String>)`](crate::operation::get_report::GetReportOutput::document_presigned_url): <p>Presigned S3 url to access the report content.</p>
    /// - On failure, responds with [`SdkError<GetReportError>`](crate::operation::get_report::GetReportError)
    pub fn get_report(&self) -> crate::operation::get_report::builders::GetReportFluentBuilder {
        crate::operation::get_report::builders::GetReportFluentBuilder::new(self.handle.clone())
    }
}