| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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: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.