| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeGuruProfiler.SubmitFeedback
Description
Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.
Synopsis
- data SubmitFeedback = SubmitFeedback' {}
- newSubmitFeedback :: Text -> Text -> FeedbackType -> SubmitFeedback
- submitFeedback_comment :: Lens' SubmitFeedback (Maybe Text)
- submitFeedback_anomalyInstanceId :: Lens' SubmitFeedback Text
- submitFeedback_profilingGroupName :: Lens' SubmitFeedback Text
- submitFeedback_type :: Lens' SubmitFeedback FeedbackType
- data SubmitFeedbackResponse = SubmitFeedbackResponse' {
- httpStatus :: Int
- newSubmitFeedbackResponse :: Int -> SubmitFeedbackResponse
- submitFeedbackResponse_httpStatus :: Lens' SubmitFeedbackResponse Int
Creating a Request
data SubmitFeedback Source #
The structure representing the SubmitFeedbackRequest.
See: newSubmitFeedback smart constructor.
Constructors
| SubmitFeedback' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> FeedbackType | |
| -> SubmitFeedback |
Create a value of SubmitFeedback with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comment:SubmitFeedback', submitFeedback_comment - Optional feedback about this anomaly.
$sel:anomalyInstanceId:SubmitFeedback', submitFeedback_anomalyInstanceId - The universally unique identifier (UUID) of the
AnomalyInstance
object that is included in the analysis data.
SubmitFeedback, submitFeedback_profilingGroupName - The name of the profiling group that is associated with the analysis
data.
SubmitFeedback, submitFeedback_type - The feedback tpye. Thee are two valid values, Positive and Negative.
Request Lenses
submitFeedback_comment :: Lens' SubmitFeedback (Maybe Text) Source #
Optional feedback about this anomaly.
submitFeedback_anomalyInstanceId :: Lens' SubmitFeedback Text Source #
The universally unique identifier (UUID) of the AnomalyInstance object that is included in the analysis data.
submitFeedback_profilingGroupName :: Lens' SubmitFeedback Text Source #
The name of the profiling group that is associated with the analysis data.
submitFeedback_type :: Lens' SubmitFeedback FeedbackType Source #
The feedback tpye. Thee are two valid values, Positive and Negative.
Destructuring the Response
data SubmitFeedbackResponse Source #
The structure representing the SubmitFeedbackResponse.
See: newSubmitFeedbackResponse smart constructor.
Constructors
| SubmitFeedbackResponse' | |
Fields
| |
Instances
newSubmitFeedbackResponse Source #
Create a value of SubmitFeedbackResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:SubmitFeedbackResponse', submitFeedbackResponse_httpStatus - The response's http status code.
Response Lenses
submitFeedbackResponse_httpStatus :: Lens' SubmitFeedbackResponse Int Source #
The response's http status code.