pub struct GetRecommendations { /* private fields */ }
Expand description
Fluent builder constructing a request to GetRecommendations
.
Returns a list of Recommendation
objects that contain recommendations for a profiling group for a given time period. A list of Anomaly
objects that contains details about anomalies detected in the profiling group for the same time period is also returned.
Implementations§
source§impl GetRecommendations
impl GetRecommendations
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetRecommendations, AwsResponseRetryClassifier>, SdkError<GetRecommendationsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetRecommendations, AwsResponseRetryClassifier>, SdkError<GetRecommendationsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetRecommendationsOutput, SdkError<GetRecommendationsError>>
pub async fn send(
self
) -> Result<GetRecommendationsOutput, SdkError<GetRecommendationsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn profiling_group_name(self, input: impl Into<String>) -> Self
pub fn profiling_group_name(self, input: impl Into<String>) -> Self
The name of the profiling group to get analysis data about.
sourcepub fn set_profiling_group_name(self, input: Option<String>) -> Self
pub fn set_profiling_group_name(self, input: Option<String>) -> Self
The name of the profiling group to get analysis data about.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The end time of the profile to get analysis data about. You must specify startTime
and endTime
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The end time of the profile to get analysis data about. You must specify startTime
and endTime
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The start time of the profile to get analysis data about. You must specify startTime
and endTime
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The start time of the profile to get analysis data about. You must specify startTime
and endTime
. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The language used to provide analysis. Specify using a string that is one of the following BCP 47
language codes.
-
de-DE
- German, Germany -
en-GB
- English, United Kingdom -
en-US
- English, United States -
es-ES
- Spanish, Spain -
fr-FR
- French, France -
it-IT
- Italian, Italy -
ja-JP
- Japanese, Japan -
ko-KR
- Korean, Republic of Korea -
pt-BR
- Portugese, Brazil -
zh-CN
- Chinese, China -
zh-TW
- Chinese, Taiwan
sourcepub fn set_locale(self, input: Option<String>) -> Self
pub fn set_locale(self, input: Option<String>) -> Self
The language used to provide analysis. Specify using a string that is one of the following BCP 47
language codes.
-
de-DE
- German, Germany -
en-GB
- English, United Kingdom -
en-US
- English, United States -
es-ES
- Spanish, Spain -
fr-FR
- French, France -
it-IT
- Italian, Italy -
ja-JP
- Japanese, Japan -
ko-KR
- Korean, Republic of Korea -
pt-BR
- Portugese, Brazil -
zh-CN
- Chinese, China -
zh-TW
- Chinese, Taiwan
Trait Implementations§
source§impl Clone for GetRecommendations
impl Clone for GetRecommendations
source§fn clone(&self) -> GetRecommendations
fn clone(&self) -> GetRecommendations
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more