amazonka-support-1.6.1: Amazon Support SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Support.RefreshTrustedAdvisorCheck

Contents

Description

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.
Synopsis

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 an InvalidParameterValue error.

data RefreshTrustedAdvisorCheck Source #

See: refreshTrustedAdvisorCheck smart constructor.

Instances
Eq RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Data RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RefreshTrustedAdvisorCheck -> c RefreshTrustedAdvisorCheck #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RefreshTrustedAdvisorCheck #

toConstr :: RefreshTrustedAdvisorCheck -> Constr #

dataTypeOf :: RefreshTrustedAdvisorCheck -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RefreshTrustedAdvisorCheck) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RefreshTrustedAdvisorCheck) #

gmapT :: (forall b. Data b => b -> b) -> RefreshTrustedAdvisorCheck -> RefreshTrustedAdvisorCheck #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RefreshTrustedAdvisorCheck -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RefreshTrustedAdvisorCheck -> r #

gmapQ :: (forall d. Data d => d -> u) -> RefreshTrustedAdvisorCheck -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RefreshTrustedAdvisorCheck -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RefreshTrustedAdvisorCheck -> m RefreshTrustedAdvisorCheck #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RefreshTrustedAdvisorCheck -> m RefreshTrustedAdvisorCheck #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RefreshTrustedAdvisorCheck -> m RefreshTrustedAdvisorCheck #

Read RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Show RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Generic RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Associated Types

type Rep RefreshTrustedAdvisorCheck :: Type -> Type #

Hashable RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

ToJSON RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

AWSRequest RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Associated Types

type Rs RefreshTrustedAdvisorCheck :: Type #

ToHeaders RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

ToPath RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

ToQuery RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

NFData RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

type Rep RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

type Rep RefreshTrustedAdvisorCheck = D1 (MetaData "RefreshTrustedAdvisorCheck" "Network.AWS.Support.RefreshTrustedAdvisorCheck" "amazonka-support-1.6.1-4xuMxu0WF4O4DAikataxy0" True) (C1 (MetaCons "RefreshTrustedAdvisorCheck'" PrefixI True) (S1 (MetaSel (Just "_rtacCheckId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs RefreshTrustedAdvisorCheck Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

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.

Instances
Eq RefreshTrustedAdvisorCheckResponse Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Data RefreshTrustedAdvisorCheckResponse Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RefreshTrustedAdvisorCheckResponse -> c RefreshTrustedAdvisorCheckResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RefreshTrustedAdvisorCheckResponse #

toConstr :: RefreshTrustedAdvisorCheckResponse -> Constr #

dataTypeOf :: RefreshTrustedAdvisorCheckResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RefreshTrustedAdvisorCheckResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RefreshTrustedAdvisorCheckResponse) #

gmapT :: (forall b. Data b => b -> b) -> RefreshTrustedAdvisorCheckResponse -> RefreshTrustedAdvisorCheckResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RefreshTrustedAdvisorCheckResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RefreshTrustedAdvisorCheckResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RefreshTrustedAdvisorCheckResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RefreshTrustedAdvisorCheckResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RefreshTrustedAdvisorCheckResponse -> m RefreshTrustedAdvisorCheckResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RefreshTrustedAdvisorCheckResponse -> m RefreshTrustedAdvisorCheckResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RefreshTrustedAdvisorCheckResponse -> m RefreshTrustedAdvisorCheckResponse #

Read RefreshTrustedAdvisorCheckResponse Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Show RefreshTrustedAdvisorCheckResponse Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Generic RefreshTrustedAdvisorCheckResponse Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

Associated Types

type Rep RefreshTrustedAdvisorCheckResponse :: Type -> Type #

NFData RefreshTrustedAdvisorCheckResponse Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

type Rep RefreshTrustedAdvisorCheckResponse Source # 
Instance details

Defined in Network.AWS.Support.RefreshTrustedAdvisorCheck

type Rep RefreshTrustedAdvisorCheckResponse = D1 (MetaData "RefreshTrustedAdvisorCheckResponse" "Network.AWS.Support.RefreshTrustedAdvisorCheck" "amazonka-support-1.6.1-4xuMxu0WF4O4DAikataxy0" False) (C1 (MetaCons "RefreshTrustedAdvisorCheckResponse'" PrefixI True) (S1 (MetaSel (Just "_rtacrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_rtacrsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TrustedAdvisorCheckRefreshStatus)))

Response Lenses

rtacrsStatus :: Lens' RefreshTrustedAdvisorCheckResponse TrustedAdvisorCheckRefreshStatus Source #

The current refresh status for a check, including the amount of time until the check is eligible for refresh.