pub struct SubmitFeedback { /* private fields */ }
Expand description
Fluent builder constructing a request to SubmitFeedback
.
Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.
Implementations§
source§impl SubmitFeedback
impl SubmitFeedback
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<SubmitFeedback, AwsResponseRetryClassifier>, SdkError<SubmitFeedbackError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<SubmitFeedback, AwsResponseRetryClassifier>, SdkError<SubmitFeedbackError>>
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<SubmitFeedbackOutput, SdkError<SubmitFeedbackError>>
pub async fn send(
self
) -> Result<SubmitFeedbackOutput, SdkError<SubmitFeedbackError>>
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 that is associated with the analysis data.
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 that is associated with the analysis data.
sourcepub fn anomaly_instance_id(self, input: impl Into<String>) -> Self
pub fn anomaly_instance_id(self, input: impl Into<String>) -> Self
The universally unique identifier (UUID) of the AnomalyInstance
object that is included in the analysis data.
sourcepub fn set_anomaly_instance_id(self, input: Option<String>) -> Self
pub fn set_anomaly_instance_id(self, input: Option<String>) -> Self
The universally unique identifier (UUID) of the AnomalyInstance
object that is included in the analysis data.
sourcepub fn type(self, input: FeedbackType) -> Self
pub fn type(self, input: FeedbackType) -> Self
The feedback tpye. Thee are two valid values, Positive
and Negative
.
sourcepub fn set_type(self, input: Option<FeedbackType>) -> Self
pub fn set_type(self, input: Option<FeedbackType>) -> Self
The feedback tpye. Thee are two valid values, Positive
and Negative
.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
Optional feedback about this anomaly.
Trait Implementations§
source§impl Clone for SubmitFeedback
impl Clone for SubmitFeedback
source§fn clone(&self) -> SubmitFeedback
fn clone(&self) -> SubmitFeedback
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more