aws_sdk_rum/client/
get_app_monitor_data.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 [`GetAppMonitorData`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`name(impl Into<String>)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::set_name):<br>required: **true**<br><p>The name of the app monitor that collected the data that you want to retrieve.</p><br>
8    ///   - [`time_range(TimeRange)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::time_range) / [`set_time_range(Option<TimeRange>)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::set_time_range):<br>required: **true**<br><p>A structure that defines the time range that you want to retrieve results from.</p><br>
9    ///   - [`filters(QueryFilter)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::filters) / [`set_filters(Option<Vec::<QueryFilter>>)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::set_filters):<br>required: **false**<br><p>An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.</p><br>
10    ///   - [`max_results(i32)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in one operation.</p><br>
11    ///   - [`next_token(impl Into<String>)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::set_next_token):<br>required: **false**<br><p>Use the token returned by the previous operation to request the next page of results.</p><br>
12    /// - On success, responds with [`GetAppMonitorDataOutput`](crate::operation::get_app_monitor_data::GetAppMonitorDataOutput) with field(s):
13    ///   - [`events(Option<Vec::<String>>)`](crate::operation::get_app_monitor_data::GetAppMonitorDataOutput::events): <p>The events that RUM collected that match your request.</p>
14    ///   - [`next_token(Option<String>)`](crate::operation::get_app_monitor_data::GetAppMonitorDataOutput::next_token): <p>A token that you can use in a subsequent operation to retrieve the next set of results.</p>
15    /// - On failure, responds with [`SdkError<GetAppMonitorDataError>`](crate::operation::get_app_monitor_data::GetAppMonitorDataError)
16    pub fn get_app_monitor_data(&self) -> crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder {
17        crate::operation::get_app_monitor_data::builders::GetAppMonitorDataFluentBuilder::new(self.handle.clone())
18    }
19}