Copyright | (c) 2013-2018 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 |
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:
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.
- 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:
dtacrLanguage
- 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
- The unique identifier for the Trusted Advisor check.
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:
dtacrrsResult
- The detailed results of the Trusted Advisor check.dtacrrsResponseStatus
- -- | The response status code.
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.