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 |
Refreshes the AWS Trusted Advisor check that you specify using the check ID. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.
Some checks are refreshed automatically. If you call the
RefreshTrustedAdvisorCheck
operation to refresh them, you might see
the InvalidParameterValue
error.
The response contains a TrustedAdvisorCheckRefreshStatus object.
- 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 RefreshTrustedAdvisorCheck = RefreshTrustedAdvisorCheck' {}
- newRefreshTrustedAdvisorCheck :: Text -> RefreshTrustedAdvisorCheck
- refreshTrustedAdvisorCheck_checkId :: Lens' RefreshTrustedAdvisorCheck Text
- data RefreshTrustedAdvisorCheckResponse = RefreshTrustedAdvisorCheckResponse' {}
- newRefreshTrustedAdvisorCheckResponse :: Int -> TrustedAdvisorCheckRefreshStatus -> RefreshTrustedAdvisorCheckResponse
- refreshTrustedAdvisorCheckResponse_httpStatus :: Lens' RefreshTrustedAdvisorCheckResponse Int
- refreshTrustedAdvisorCheckResponse_status :: Lens' RefreshTrustedAdvisorCheckResponse TrustedAdvisorCheckRefreshStatus
Creating a Request
data RefreshTrustedAdvisorCheck Source #
See: newRefreshTrustedAdvisorCheck
smart constructor.
Instances
newRefreshTrustedAdvisorCheck Source #
Create a value of RefreshTrustedAdvisorCheck
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:checkId:RefreshTrustedAdvisorCheck'
, refreshTrustedAdvisorCheck_checkId
- The unique identifier for the Trusted Advisor check to refresh.
Specifying the check ID of a check that is automatically refreshed
causes an InvalidParameterValue
error.
Request Lenses
refreshTrustedAdvisorCheck_checkId :: Lens' RefreshTrustedAdvisorCheck Text Source #
The unique identifier for the Trusted Advisor check to refresh.
Specifying the check ID of a check that is automatically refreshed
causes an InvalidParameterValue
error.
Destructuring the Response
data RefreshTrustedAdvisorCheckResponse Source #
The current refresh status of a Trusted Advisor check.
See: newRefreshTrustedAdvisorCheckResponse
smart constructor.
RefreshTrustedAdvisorCheckResponse' | |
|
Instances
Eq RefreshTrustedAdvisorCheckResponse Source # | |
Read RefreshTrustedAdvisorCheckResponse Source # | |
Show RefreshTrustedAdvisorCheckResponse Source # | |
Generic RefreshTrustedAdvisorCheckResponse Source # | |
NFData RefreshTrustedAdvisorCheckResponse Source # | |
Defined in Amazonka.Support.RefreshTrustedAdvisorCheck rnf :: RefreshTrustedAdvisorCheckResponse -> () # | |
type Rep RefreshTrustedAdvisorCheckResponse Source # | |
Defined in Amazonka.Support.RefreshTrustedAdvisorCheck type Rep RefreshTrustedAdvisorCheckResponse = D1 ('MetaData "RefreshTrustedAdvisorCheckResponse" "Amazonka.Support.RefreshTrustedAdvisorCheck" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "RefreshTrustedAdvisorCheckResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrustedAdvisorCheckRefreshStatus))) |
newRefreshTrustedAdvisorCheckResponse Source #
Create a value of RefreshTrustedAdvisorCheckResponse
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:httpStatus:RefreshTrustedAdvisorCheckResponse'
, refreshTrustedAdvisorCheckResponse_httpStatus
- The response's http status code.
$sel:status:RefreshTrustedAdvisorCheckResponse'
, refreshTrustedAdvisorCheckResponse_status
- The current refresh status for a check, including the amount of time
until the check is eligible for refresh.
Response Lenses
refreshTrustedAdvisorCheckResponse_httpStatus :: Lens' RefreshTrustedAdvisorCheckResponse Int Source #
The response's http status code.
refreshTrustedAdvisorCheckResponse_status :: Lens' RefreshTrustedAdvisorCheckResponse TrustedAdvisorCheckRefreshStatus Source #
The current refresh status for a check, including the amount of time until the check is eligible for refresh.