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 |
Returns the results of the AWS Trusted Advisor check that has the specified check ID. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.
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 can be
ok
(green),warning
(yellow),error
(red), ornot_available
. - timestamp - The time of the last refresh of the check.
- checkId - The unique identifier for the check.
- You must have a Business or Enterprise Support plan to use the AWS Support API.
- If you call the AWS Support API from an account that does not have a
Business or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see AWS Support.
Synopsis
- data DescribeTrustedAdvisorCheckResult = DescribeTrustedAdvisorCheckResult' {}
- newDescribeTrustedAdvisorCheckResult :: Text -> DescribeTrustedAdvisorCheckResult
- describeTrustedAdvisorCheckResult_language :: Lens' DescribeTrustedAdvisorCheckResult (Maybe Text)
- describeTrustedAdvisorCheckResult_checkId :: Lens' DescribeTrustedAdvisorCheckResult Text
- data DescribeTrustedAdvisorCheckResultResponse = DescribeTrustedAdvisorCheckResultResponse' {}
- newDescribeTrustedAdvisorCheckResultResponse :: Int -> DescribeTrustedAdvisorCheckResultResponse
- describeTrustedAdvisorCheckResultResponse_result :: Lens' DescribeTrustedAdvisorCheckResultResponse (Maybe TrustedAdvisorCheckResult)
- describeTrustedAdvisorCheckResultResponse_httpStatus :: Lens' DescribeTrustedAdvisorCheckResultResponse Int
Creating a Request
data DescribeTrustedAdvisorCheckResult Source #
See: newDescribeTrustedAdvisorCheckResult
smart constructor.
Instances
newDescribeTrustedAdvisorCheckResult Source #
Create a value of DescribeTrustedAdvisorCheckResult
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:language:DescribeTrustedAdvisorCheckResult'
, describeTrustedAdvisorCheckResult_language
- 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.
$sel:checkId:DescribeTrustedAdvisorCheckResult'
, describeTrustedAdvisorCheckResult_checkId
- The unique identifier for the Trusted Advisor check.
Request Lenses
describeTrustedAdvisorCheckResult_language :: 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.
describeTrustedAdvisorCheckResult_checkId :: Lens' DescribeTrustedAdvisorCheckResult Text Source #
The unique identifier for the Trusted Advisor check.
Destructuring the Response
data DescribeTrustedAdvisorCheckResultResponse Source #
The result of the Trusted Advisor check returned by the DescribeTrustedAdvisorCheckResult operation.
See: newDescribeTrustedAdvisorCheckResultResponse
smart constructor.
DescribeTrustedAdvisorCheckResultResponse' | |
|
Instances
newDescribeTrustedAdvisorCheckResultResponse Source #
Create a value of DescribeTrustedAdvisorCheckResultResponse
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:result:DescribeTrustedAdvisorCheckResultResponse'
, describeTrustedAdvisorCheckResultResponse_result
- The detailed results of the Trusted Advisor check.
$sel:httpStatus:DescribeTrustedAdvisorCheckResultResponse'
, describeTrustedAdvisorCheckResultResponse_httpStatus
- The response's http status code.
Response Lenses
describeTrustedAdvisorCheckResultResponse_result :: Lens' DescribeTrustedAdvisorCheckResultResponse (Maybe TrustedAdvisorCheckResult) Source #
The detailed results of the Trusted Advisor check.
describeTrustedAdvisorCheckResultResponse_httpStatus :: Lens' DescribeTrustedAdvisorCheckResultResponse Int Source #
The response's http status code.