amazonka-support-1.5.0: Amazon Support SDK.

Copyright(c) 2013-2017 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.DescribeTrustedAdvisorCheckResult

Contents

Description

Returns the results of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks .

The response contains a TrustedAdvisorCheckResult object, which contains these three objects:

In addition, the response contains these fields:

  • status. The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
  • timestamp. The time of the last refresh of the check.
  • checkId. The unique identifier for the check.

Synopsis

Creating a Request

describeTrustedAdvisorCheckResult Source #

Creates a value of DescribeTrustedAdvisorCheckResult with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dtacrLanguage - The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
  • dtacrCheckId - The unique identifier for the Trusted Advisor check.

data DescribeTrustedAdvisorCheckResult Source #

See: describeTrustedAdvisorCheckResult smart constructor.

Instances

Eq DescribeTrustedAdvisorCheckResult Source # 
Data DescribeTrustedAdvisorCheckResult Source # 

Methods

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

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

toConstr :: DescribeTrustedAdvisorCheckResult -> Constr #

dataTypeOf :: DescribeTrustedAdvisorCheckResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTrustedAdvisorCheckResult Source # 
Show DescribeTrustedAdvisorCheckResult Source # 
Generic DescribeTrustedAdvisorCheckResult Source # 
Hashable DescribeTrustedAdvisorCheckResult Source # 
ToJSON DescribeTrustedAdvisorCheckResult Source # 
NFData DescribeTrustedAdvisorCheckResult Source # 
AWSRequest DescribeTrustedAdvisorCheckResult Source # 
ToQuery DescribeTrustedAdvisorCheckResult Source # 
ToPath DescribeTrustedAdvisorCheckResult Source # 
ToHeaders DescribeTrustedAdvisorCheckResult Source # 
type Rep DescribeTrustedAdvisorCheckResult Source # 
type Rep DescribeTrustedAdvisorCheckResult = D1 (MetaData "DescribeTrustedAdvisorCheckResult" "Network.AWS.Support.DescribeTrustedAdvisorCheckResult" "amazonka-support-1.5.0-3LTVY59iXqSAiF8tcWZloa" False) (C1 (MetaCons "DescribeTrustedAdvisorCheckResult'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtacrLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtacrCheckId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DescribeTrustedAdvisorCheckResult Source # 

Request Lenses

dtacrLanguage :: Lens' DescribeTrustedAdvisorCheckResult (Maybe Text) Source #

The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.

dtacrCheckId :: Lens' DescribeTrustedAdvisorCheckResult Text Source #

The unique identifier for the Trusted Advisor check.

Destructuring the Response

describeTrustedAdvisorCheckResultResponse Source #

Creates a value of DescribeTrustedAdvisorCheckResultResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeTrustedAdvisorCheckResultResponse Source #

The result of the Trusted Advisor check returned by the DescribeTrustedAdvisorCheckResult operation.

See: describeTrustedAdvisorCheckResultResponse smart constructor.

Instances

Eq DescribeTrustedAdvisorCheckResultResponse Source # 
Data DescribeTrustedAdvisorCheckResultResponse Source # 

Methods

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

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

toConstr :: DescribeTrustedAdvisorCheckResultResponse -> Constr #

dataTypeOf :: DescribeTrustedAdvisorCheckResultResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTrustedAdvisorCheckResultResponse Source # 
Show DescribeTrustedAdvisorCheckResultResponse Source # 
Generic DescribeTrustedAdvisorCheckResultResponse Source # 
NFData DescribeTrustedAdvisorCheckResultResponse Source # 
type Rep DescribeTrustedAdvisorCheckResultResponse Source # 
type Rep DescribeTrustedAdvisorCheckResultResponse = D1 (MetaData "DescribeTrustedAdvisorCheckResultResponse" "Network.AWS.Support.DescribeTrustedAdvisorCheckResult" "amazonka-support-1.5.0-3LTVY59iXqSAiF8tcWZloa" False) (C1 (MetaCons "DescribeTrustedAdvisorCheckResultResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtacrrsResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TrustedAdvisorCheckResult))) (S1 (MetaSel (Just Symbol "_dtacrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses