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

Amazonka.Support.DescribeTrustedAdvisorCheckResult

Description

Returns the results of the AWS Trusted Advisor check that has the specified check ID. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.

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

  • TrustedAdvisorCategorySpecificSummary
  • TrustedAdvisorResourceDetail
  • TrustedAdvisorResourcesSummary

In addition, the response contains these fields:

  • status - The alert status of the check can be 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.
  • 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

Creating a Request

data DescribeTrustedAdvisorCheckResult Source #

See: newDescribeTrustedAdvisorCheckResult smart constructor.

Constructors

DescribeTrustedAdvisorCheckResult' 

Fields

  • language :: Maybe Text

    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.

  • checkId :: Text

    The unique identifier for the Trusted Advisor check.

Instances

Instances details
Eq DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Read DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Show DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Generic DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Associated Types

type Rep DescribeTrustedAdvisorCheckResult :: Type -> Type #

NFData DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Hashable DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

ToJSON DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

AWSRequest DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

ToHeaders DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

ToPath DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

ToQuery DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

type Rep DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

type Rep DescribeTrustedAdvisorCheckResult = D1 ('MetaData "DescribeTrustedAdvisorCheckResult" "Amazonka.Support.DescribeTrustedAdvisorCheckResult" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "DescribeTrustedAdvisorCheckResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "checkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

newDescribeTrustedAdvisorCheckResult Source #

Create a value of DescribeTrustedAdvisorCheckResult 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:language:DescribeTrustedAdvisorCheckResult', describeTrustedAdvisorCheckResult_language - 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.

$sel:checkId:DescribeTrustedAdvisorCheckResult', describeTrustedAdvisorCheckResult_checkId - The unique identifier for the Trusted Advisor check.

Request Lenses

describeTrustedAdvisorCheckResult_language :: 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.

describeTrustedAdvisorCheckResult_checkId :: Lens' DescribeTrustedAdvisorCheckResult Text Source #

The unique identifier for the Trusted Advisor check.

Destructuring the Response

data DescribeTrustedAdvisorCheckResultResponse Source #

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

See: newDescribeTrustedAdvisorCheckResultResponse smart constructor.

Constructors

DescribeTrustedAdvisorCheckResultResponse' 

Fields

Instances

Instances details
Eq DescribeTrustedAdvisorCheckResultResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Read DescribeTrustedAdvisorCheckResultResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Show DescribeTrustedAdvisorCheckResultResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Generic DescribeTrustedAdvisorCheckResultResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

NFData DescribeTrustedAdvisorCheckResultResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

type Rep DescribeTrustedAdvisorCheckResultResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

type Rep DescribeTrustedAdvisorCheckResultResponse = D1 ('MetaData "DescribeTrustedAdvisorCheckResultResponse" "Amazonka.Support.DescribeTrustedAdvisorCheckResult" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "DescribeTrustedAdvisorCheckResultResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedAdvisorCheckResult)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeTrustedAdvisorCheckResultResponse Source #

Create a value of DescribeTrustedAdvisorCheckResultResponse 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:result:DescribeTrustedAdvisorCheckResultResponse', describeTrustedAdvisorCheckResultResponse_result - The detailed results of the Trusted Advisor check.

$sel:httpStatus:DescribeTrustedAdvisorCheckResultResponse', describeTrustedAdvisorCheckResultResponse_httpStatus - The response's http status code.

Response Lenses