Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the results of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
The response contains a TrustedAdvisorCheckResult object, which contains these three objects:
- TrustedAdvisorCategorySpecificSummary
- TrustedAdvisorResourceDetail
- TrustedAdvisorResourcesSummary
In addition, the response contains these fields:
- Status. The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
- Timestamp. The time of the last refresh of the check.
- CheckId. The unique identifier for the check.
See: AWS API Reference for DescribeTrustedAdvisorCheckResult.
- describeTrustedAdvisorCheckResult :: Text -> DescribeTrustedAdvisorCheckResult
- data DescribeTrustedAdvisorCheckResult
- dtacrLanguage :: Lens' DescribeTrustedAdvisorCheckResult (Maybe Text)
- dtacrCheckId :: Lens' DescribeTrustedAdvisorCheckResult Text
- describeTrustedAdvisorCheckResultResponse :: Int -> DescribeTrustedAdvisorCheckResultResponse
- data DescribeTrustedAdvisorCheckResultResponse
- dtacrrsResult :: Lens' DescribeTrustedAdvisorCheckResultResponse (Maybe TrustedAdvisorCheckResult)
- dtacrrsResponseStatus :: Lens' DescribeTrustedAdvisorCheckResultResponse Int
Creating a Request
describeTrustedAdvisorCheckResult Source
Creates a value of DescribeTrustedAdvisorCheckResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTrustedAdvisorCheckResult Source
See: describeTrustedAdvisorCheckResult
smart constructor.
Request Lenses
dtacrLanguage :: Lens' DescribeTrustedAdvisorCheckResult (Maybe Text) Source
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
dtacrCheckId :: Lens' DescribeTrustedAdvisorCheckResult Text Source
The unique identifier for the Trusted Advisor check.
Destructuring the Response
describeTrustedAdvisorCheckResultResponse Source
Creates a value of DescribeTrustedAdvisorCheckResultResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTrustedAdvisorCheckResultResponse Source
The result of the Trusted Advisor check returned by the DescribeTrustedAdvisorCheckResult operation.
See: describeTrustedAdvisorCheckResultResponse
smart constructor.
Response Lenses
dtacrrsResult :: Lens' DescribeTrustedAdvisorCheckResultResponse (Maybe TrustedAdvisorCheckResult) Source
The detailed results of the Trusted Advisor check.
dtacrrsResponseStatus :: Lens' DescribeTrustedAdvisorCheckResultResponse Int Source
The response status code.