| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
| |
Instances
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:name:Contributor', contributor_name - The name of the contributor. The type of name that you'll find here
depends on the AttackPropertyIdentifier setting in the
AttackProperty where this contributor is defined. For example, if the
AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be
United States.
$sel:value:Contributor', contributor_value - 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. The type of name that you'll find here
depends on the AttackPropertyIdentifier setting in the
AttackProperty where this contributor is defined. 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.