Copyright | (c) 2013-2016 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 |
Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck
operation for these checks causes an InvalidParameterValue
error.
The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields:
- status. The refresh status of the check: "none", "enqueued", "processing", "success", or "abandoned".
- millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh.
- checkId. The unique identifier for the check.
- refreshTrustedAdvisorCheck :: Text -> RefreshTrustedAdvisorCheck
- data RefreshTrustedAdvisorCheck
- rtacCheckId :: Lens' RefreshTrustedAdvisorCheck Text
- refreshTrustedAdvisorCheckResponse :: Int -> TrustedAdvisorCheckRefreshStatus -> RefreshTrustedAdvisorCheckResponse
- data RefreshTrustedAdvisorCheckResponse
- rtacrsResponseStatus :: Lens' RefreshTrustedAdvisorCheckResponse Int
- rtacrsStatus :: Lens' RefreshTrustedAdvisorCheckResponse TrustedAdvisorCheckRefreshStatus
Creating a Request
refreshTrustedAdvisorCheck Source #
Creates a value of RefreshTrustedAdvisorCheck
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RefreshTrustedAdvisorCheck Source #
See: refreshTrustedAdvisorCheck
smart constructor.
Request Lenses
rtacCheckId :: Lens' RefreshTrustedAdvisorCheck Text Source #
The unique identifier for the Trusted Advisor check to refresh. Note: Specifying the check ID of a check that is automatically refreshed causes an InvalidParameterValue
error.
Destructuring the Response
refreshTrustedAdvisorCheckResponse Source #
Creates a value of RefreshTrustedAdvisorCheckResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RefreshTrustedAdvisorCheckResponse Source #
The current refresh status of a Trusted Advisor check.
See: refreshTrustedAdvisorCheckResponse
smart constructor.
Response Lenses
rtacrsResponseStatus :: Lens' RefreshTrustedAdvisorCheckResponse Int Source #
The response status code.
rtacrsStatus :: Lens' RefreshTrustedAdvisorCheckResponse TrustedAdvisorCheckRefreshStatus Source #
The current refresh status for a check, including the amount of time until the check is eligible for refresh.