libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruProfiler.SubmitFeedback

Description

Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.

Synopsis

Creating a Request

data SubmitFeedback Source #

The structure representing the SubmitFeedbackRequest.

See: newSubmitFeedback smart constructor.

Constructors

SubmitFeedback' 

Fields

Instances

Instances details
Eq SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Read SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Show SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Generic SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Associated Types

type Rep SubmitFeedback :: Type -> Type #

NFData SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Methods

rnf :: SubmitFeedback -> () #

Hashable SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

ToJSON SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

AWSRequest SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Associated Types

type AWSResponse SubmitFeedback #

ToHeaders SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

ToPath SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

ToQuery SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

type Rep SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

type Rep SubmitFeedback = D1 ('MetaData "SubmitFeedback" "Amazonka.CodeGuruProfiler.SubmitFeedback" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "SubmitFeedback'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "anomalyInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "profilingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FeedbackType))))
type AWSResponse SubmitFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

newSubmitFeedback Source #

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.

$sel:profilingGroupName:SubmitFeedback', submitFeedback_profilingGroupName - The name of the profiling group that is associated with the analysis data.

$sel:type':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

Instances details
Eq SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Read SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Show SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Generic SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Associated Types

type Rep SubmitFeedbackResponse :: Type -> Type #

NFData SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

Methods

rnf :: SubmitFeedbackResponse -> () #

type Rep SubmitFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.SubmitFeedback

type Rep SubmitFeedbackResponse = D1 ('MetaData "SubmitFeedbackResponse" "Amazonka.CodeGuruProfiler.SubmitFeedback" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "SubmitFeedbackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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