Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies the feedback property of a given cost anomaly.
Synopsis
- data ProvideAnomalyFeedback = ProvideAnomalyFeedback' {}
- newProvideAnomalyFeedback :: Text -> AnomalyFeedbackType -> ProvideAnomalyFeedback
- provideAnomalyFeedback_anomalyId :: Lens' ProvideAnomalyFeedback Text
- provideAnomalyFeedback_feedback :: Lens' ProvideAnomalyFeedback AnomalyFeedbackType
- data ProvideAnomalyFeedbackResponse = ProvideAnomalyFeedbackResponse' {
- httpStatus :: Int
- anomalyId :: Text
- newProvideAnomalyFeedbackResponse :: Int -> Text -> ProvideAnomalyFeedbackResponse
- provideAnomalyFeedbackResponse_httpStatus :: Lens' ProvideAnomalyFeedbackResponse Int
- provideAnomalyFeedbackResponse_anomalyId :: Lens' ProvideAnomalyFeedbackResponse Text
Creating a Request
data ProvideAnomalyFeedback Source #
See: newProvideAnomalyFeedback
smart constructor.
ProvideAnomalyFeedback' | |
|
Instances
newProvideAnomalyFeedback Source #
Create a value of ProvideAnomalyFeedback
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:anomalyId:ProvideAnomalyFeedback'
, provideAnomalyFeedback_anomalyId
- A cost anomaly ID.
$sel:feedback:ProvideAnomalyFeedback'
, provideAnomalyFeedback_feedback
- Describes whether the cost anomaly was a planned activity or you
considered it an anomaly.
Request Lenses
provideAnomalyFeedback_anomalyId :: Lens' ProvideAnomalyFeedback Text Source #
A cost anomaly ID.
provideAnomalyFeedback_feedback :: Lens' ProvideAnomalyFeedback AnomalyFeedbackType Source #
Describes whether the cost anomaly was a planned activity or you considered it an anomaly.
Destructuring the Response
data ProvideAnomalyFeedbackResponse Source #
See: newProvideAnomalyFeedbackResponse
smart constructor.
ProvideAnomalyFeedbackResponse' | |
|
Instances
Eq ProvideAnomalyFeedbackResponse Source # | |
Read ProvideAnomalyFeedbackResponse Source # | |
Show ProvideAnomalyFeedbackResponse Source # | |
Defined in Amazonka.CostExplorer.ProvideAnomalyFeedback | |
Generic ProvideAnomalyFeedbackResponse Source # | |
NFData ProvideAnomalyFeedbackResponse Source # | |
Defined in Amazonka.CostExplorer.ProvideAnomalyFeedback rnf :: ProvideAnomalyFeedbackResponse -> () # | |
type Rep ProvideAnomalyFeedbackResponse Source # | |
Defined in Amazonka.CostExplorer.ProvideAnomalyFeedback type Rep ProvideAnomalyFeedbackResponse = D1 ('MetaData "ProvideAnomalyFeedbackResponse" "Amazonka.CostExplorer.ProvideAnomalyFeedback" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "ProvideAnomalyFeedbackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "anomalyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newProvideAnomalyFeedbackResponse Source #
Create a value of ProvideAnomalyFeedbackResponse
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:ProvideAnomalyFeedbackResponse'
, provideAnomalyFeedbackResponse_httpStatus
- The response's http status code.
$sel:anomalyId:ProvideAnomalyFeedback'
, provideAnomalyFeedbackResponse_anomalyId
- The ID of the modified cost anomaly.
Response Lenses
provideAnomalyFeedbackResponse_httpStatus :: Lens' ProvideAnomalyFeedbackResponse Int Source #
The response's http status code.
provideAnomalyFeedbackResponse_anomalyId :: Lens' ProvideAnomalyFeedbackResponse Text Source #
The ID of the modified cost anomaly.