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 |
Synopsis
- data GetRecommendationError = GetRecommendationError' {}
- newGetRecommendationError :: GetRecommendationError
- getRecommendationError_code :: Lens' GetRecommendationError (Maybe Text)
- getRecommendationError_identifier :: Lens' GetRecommendationError (Maybe Text)
- getRecommendationError_message :: Lens' GetRecommendationError (Maybe Text)
Documentation
data GetRecommendationError Source #
Describes an error experienced when getting recommendations.
For example, an error is returned if you request recommendations for an unsupported Auto Scaling group, or if you request recommendations for an instance of an unsupported instance family.
See: newGetRecommendationError
smart constructor.
Instances
newGetRecommendationError :: GetRecommendationError Source #
Create a value of GetRecommendationError
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:code:GetRecommendationError'
, getRecommendationError_code
- The error code.
$sel:identifier:GetRecommendationError'
, getRecommendationError_identifier
- The ID of the error.
$sel:message:GetRecommendationError'
, getRecommendationError_message
- The message, or reason, for the error.
getRecommendationError_code :: Lens' GetRecommendationError (Maybe Text) Source #
The error code.
getRecommendationError_identifier :: Lens' GetRecommendationError (Maybe Text) Source #
The ID of the error.
getRecommendationError_message :: Lens' GetRecommendationError (Maybe Text) Source #
The message, or reason, for the error.