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
.
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:
rtacCheckId
- The unique identifier for the Trusted Advisor check to refresh. Note: Specifying the check ID of a check that is automatically refreshed causes anInvalidParameterValue
error.
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:
rtacrsResponseStatus
- -- | The response status code.rtacrsStatus
- The current refresh status for a check, including the amount of time until the check is eligible for refresh.
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.