Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Refreshes the 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, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.
- If you call the Amazon Web Services Support API from an account that
doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see Amazon Web Services Support.
To call the Trusted Advisor operations in the Amazon Web Services Support API, you must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe (Ireland) endpoints don't support the Trusted Advisor operations. For more information, see About the Amazon Web Services Support API in the Amazon Web Services Support User Guide.
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:
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
Generic RefreshTrustedAdvisorCheckResponse Source # | |
Read RefreshTrustedAdvisorCheckResponse Source # | |
Show RefreshTrustedAdvisorCheckResponse Source # | |
NFData RefreshTrustedAdvisorCheckResponse Source # | |
Defined in Amazonka.Support.RefreshTrustedAdvisorCheck rnf :: RefreshTrustedAdvisorCheckResponse -> () # | |
Eq RefreshTrustedAdvisorCheckResponse Source # | |
type Rep RefreshTrustedAdvisorCheckResponse Source # | |
Defined in Amazonka.Support.RefreshTrustedAdvisorCheck type Rep RefreshTrustedAdvisorCheckResponse = D1 ('MetaData "RefreshTrustedAdvisorCheckResponse" "Amazonka.Support.RefreshTrustedAdvisorCheck" "amazonka-support-2.0-LbNYGbwzg4MCCJkN4B0nCH" '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.
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.