amazonka-resiliencehub-2.0: Amazon Resilience Hub 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.ResilienceHub.Types.TestRecommendation

Description

 
Synopsis

Documentation

data TestRecommendation Source #

Defines a test recommendation.

See: newTestRecommendation smart constructor.

Constructors

TestRecommendation' 

Fields

Instances

Instances details
FromJSON TestRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.TestRecommendation

Generic TestRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.TestRecommendation

Associated Types

type Rep TestRecommendation :: Type -> Type #

Read TestRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.TestRecommendation

Show TestRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.TestRecommendation

NFData TestRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.TestRecommendation

Methods

rnf :: TestRecommendation -> () #

Eq TestRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.TestRecommendation

Hashable TestRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.TestRecommendation

type Rep TestRecommendation Source # 
Instance details

Defined in Amazonka.ResilienceHub.Types.TestRecommendation

type Rep TestRecommendation = D1 ('MetaData "TestRecommendation" "Amazonka.ResilienceHub.Types.TestRecommendation" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "TestRecommendation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "appComponentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dependsOnAlarms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "intent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecommendationItem]))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "prerequisite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "risk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TestRisk)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TestType)) :*: S1 ('MetaSel ('Just "referenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newTestRecommendation Source #

Create a value of TestRecommendation 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:appComponentName:TestRecommendation', testRecommendation_appComponentName - The name of the application component.

$sel:dependsOnAlarms:TestRecommendation', testRecommendation_dependsOnAlarms - A list of recommended alarms that are used in the test and must be exported before or with the test.

$sel:description:TestRecommendation', testRecommendation_description - The description for the test recommendation.

$sel:intent:TestRecommendation', testRecommendation_intent - The intent of the test recommendation.

$sel:items:TestRecommendation', testRecommendation_items - The test recommendation items.

$sel:name:TestRecommendation', testRecommendation_name - The name of the test recommendation.

$sel:prerequisite:TestRecommendation', testRecommendation_prerequisite - The prerequisite of the test recommendation.

$sel:recommendationId:TestRecommendation', testRecommendation_recommendationId - Identifier for the test recommendation.

$sel:risk:TestRecommendation', testRecommendation_risk - The level of risk for this test recommendation.

$sel:type':TestRecommendation', testRecommendation_type - The type of test recommendation.

$sel:referenceId:TestRecommendation', testRecommendation_referenceId - The reference identifier for the test recommendation.

testRecommendation_dependsOnAlarms :: Lens' TestRecommendation (Maybe (NonEmpty Text)) Source #

A list of recommended alarms that are used in the test and must be exported before or with the test.

testRecommendation_description :: Lens' TestRecommendation (Maybe Text) Source #

The description for the test recommendation.

testRecommendation_intent :: Lens' TestRecommendation (Maybe Text) Source #

The intent of the test recommendation.

testRecommendation_name :: Lens' TestRecommendation (Maybe Text) Source #

The name of the test recommendation.

testRecommendation_prerequisite :: Lens' TestRecommendation (Maybe Text) Source #

The prerequisite of the test recommendation.

testRecommendation_recommendationId :: Lens' TestRecommendation (Maybe Text) Source #

Identifier for the test recommendation.

testRecommendation_risk :: Lens' TestRecommendation (Maybe TestRisk) Source #

The level of risk for this test recommendation.

testRecommendation_referenceId :: Lens' TestRecommendation Text Source #

The reference identifier for the test recommendation.