amazonka-support-2.0: Amazon Support SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Support.DescribeTrustedAdvisorCheckResult

Description

Returns the results of the 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, 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

Creating a Request

data DescribeTrustedAdvisorCheckResult Source #

See: newDescribeTrustedAdvisorCheckResult smart constructor.

Constructors

DescribeTrustedAdvisorCheckResult' 

Fields

  • language :: Maybe Text

    The ISO 639-1 code for the language that you want your check results to appear in.

    The Amazon Web Services Support API currently supports the following languages for Trusted Advisor:

    • Chinese, Simplified - zh
    • Chinese, Traditional - zh_TW
    • English - en
    • French - fr
    • German - de
    • Indonesian - id
    • Italian - it
    • Japanese - ja
    • Korean - ko
    • Portuguese, Brazilian - pt_BR
    • Spanish - es
  • checkId :: Text

    The unique identifier for the Trusted Advisor check.

Instances

Instances details
ToJSON 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

AWSRequest 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 #

Read DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Show DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

NFData DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Eq DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Hashable DescribeTrustedAdvisorCheckResult Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

type AWSResponse 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" "amazonka-support-2.0-LbNYGbwzg4MCCJkN4B0nCH" '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)))

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:

DescribeTrustedAdvisorCheckResult, describeTrustedAdvisorCheckResult_language - The ISO 639-1 code for the language that you want your check results to appear in.

The Amazon Web Services Support API currently supports the following languages for Trusted Advisor:

  • Chinese, Simplified - zh
  • Chinese, Traditional - zh_TW
  • English - en
  • French - fr
  • German - de
  • Indonesian - id
  • Italian - it
  • Japanese - ja
  • Korean - ko
  • Portuguese, Brazilian - pt_BR
  • Spanish - es

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 that you want your check results to appear in.

The Amazon Web Services Support API currently supports the following languages for Trusted Advisor:

  • Chinese, Simplified - zh
  • Chinese, Traditional - zh_TW
  • English - en
  • French - fr
  • German - de
  • Indonesian - id
  • Italian - it
  • Japanese - ja
  • Korean - ko
  • Portuguese, Brazilian - pt_BR
  • Spanish - es

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
Generic 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

NFData DescribeTrustedAdvisorCheckResultResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeTrustedAdvisorCheckResult

Eq 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" "amazonka-support-2.0-LbNYGbwzg4MCCJkN4B0nCH" '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