amazonka-wellarchitected-2.0: Amazon Well-Architected Tool 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.WellArchitected.Types.Choice

Description

 
Synopsis

Documentation

data Choice Source #

A choice available to answer question.

See: newChoice smart constructor.

Constructors

Choice' 

Fields

Instances

Instances details
FromJSON Choice Source # 
Instance details

Defined in Amazonka.WellArchitected.Types.Choice

Generic Choice Source # 
Instance details

Defined in Amazonka.WellArchitected.Types.Choice

Associated Types

type Rep Choice :: Type -> Type #

Methods

from :: Choice -> Rep Choice x #

to :: Rep Choice x -> Choice #

Read Choice Source # 
Instance details

Defined in Amazonka.WellArchitected.Types.Choice

Show Choice Source # 
Instance details

Defined in Amazonka.WellArchitected.Types.Choice

NFData Choice Source # 
Instance details

Defined in Amazonka.WellArchitected.Types.Choice

Methods

rnf :: Choice -> () #

Eq Choice Source # 
Instance details

Defined in Amazonka.WellArchitected.Types.Choice

Methods

(==) :: Choice -> Choice -> Bool #

(/=) :: Choice -> Choice -> Bool #

Hashable Choice Source # 
Instance details

Defined in Amazonka.WellArchitected.Types.Choice

Methods

hashWithSalt :: Int -> Choice -> Int #

hash :: Choice -> Int #

type Rep Choice Source # 
Instance details

Defined in Amazonka.WellArchitected.Types.Choice

type Rep Choice = D1 ('MetaData "Choice" "Amazonka.WellArchitected.Types.Choice" "amazonka-wellarchitected-2.0-B9ahtNDcb8r448GjCnHecq" 'False) (C1 ('MetaCons "Choice'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "additionalResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdditionalResources])) :*: (S1 ('MetaSel ('Just "choiceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "helpfulResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChoiceContent)) :*: (S1 ('MetaSel ('Just "improvementPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChoiceContent)) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newChoice :: Choice Source #

Create a value of Choice 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:additionalResources:Choice', choice_additionalResources - The additional resources for a choice. A choice can have up to two additional resources: one of type HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.

$sel:choiceId:Choice', choice_choiceId - Undocumented member.

$sel:description:Choice', choice_description - Undocumented member.

$sel:helpfulResource:Choice', choice_helpfulResource - The choice level helpful resource.

$sel:improvementPlan:Choice', choice_improvementPlan - The choice level improvement plan.

$sel:title:Choice', choice_title - Undocumented member.

choice_additionalResources :: Lens' Choice (Maybe [AdditionalResources]) Source #

The additional resources for a choice. A choice can have up to two additional resources: one of type HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or both.

choice_choiceId :: Lens' Choice (Maybe Text) Source #

Undocumented member.

choice_description :: Lens' Choice (Maybe Text) Source #

Undocumented member.

choice_helpfulResource :: Lens' Choice (Maybe ChoiceContent) Source #

The choice level helpful resource.

choice_improvementPlan :: Lens' Choice (Maybe ChoiceContent) Source #

The choice level improvement plan.

choice_title :: Lens' Choice (Maybe Text) Source #

Undocumented member.