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 |
Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
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.
See: AWS API Reference for RefreshTrustedAdvisorCheck.
- 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.
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.