libZSservicesZSamazonka-shieldZSamazonka-shield
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.Shield.Types.Contributor

Description

 
Synopsis

Documentation

data Contributor Source #

A contributor to the attack and their contribution.

See: newContributor smart constructor.

Constructors

Contributor' 

Fields

  • value :: Maybe Integer

    The contribution of this contributor expressed in Protection units. For example 10,000.

  • name :: Maybe Text

    The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

Instances

Instances details
Eq Contributor Source # 
Instance details

Defined in Amazonka.Shield.Types.Contributor

Read Contributor Source # 
Instance details

Defined in Amazonka.Shield.Types.Contributor

Show Contributor Source # 
Instance details

Defined in Amazonka.Shield.Types.Contributor

Generic Contributor Source # 
Instance details

Defined in Amazonka.Shield.Types.Contributor

Associated Types

type Rep Contributor :: Type -> Type #

NFData Contributor Source # 
Instance details

Defined in Amazonka.Shield.Types.Contributor

Methods

rnf :: Contributor -> () #

Hashable Contributor Source # 
Instance details

Defined in Amazonka.Shield.Types.Contributor

FromJSON Contributor Source # 
Instance details

Defined in Amazonka.Shield.Types.Contributor

type Rep Contributor Source # 
Instance details

Defined in Amazonka.Shield.Types.Contributor

type Rep Contributor = D1 ('MetaData "Contributor" "Amazonka.Shield.Types.Contributor" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "Contributor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newContributor :: Contributor Source #

Create a value of Contributor 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:value:Contributor', contributor_value - The contribution of this contributor expressed in Protection units. For example 10,000.

$sel:name:Contributor', contributor_name - The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

contributor_value :: Lens' Contributor (Maybe Integer) Source #

The contribution of this contributor expressed in Protection units. For example 10,000.

contributor_name :: Lens' Contributor (Maybe Text) Source #

The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.