| 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.Limit
Description
Documentation
Specifies how many protections of a given type you can create.
See: newLimit smart constructor.
Constructors
| Limit' | |
Instances
| FromJSON Limit Source # | |
| Generic Limit Source # | |
| Read Limit Source # | |
| Show Limit Source # | |
| NFData Limit Source # | |
Defined in Amazonka.Shield.Types.Limit | |
| Eq Limit Source # | |
| Hashable Limit Source # | |
Defined in Amazonka.Shield.Types.Limit | |
| type Rep Limit Source # | |
Defined in Amazonka.Shield.Types.Limit type Rep Limit = D1 ('MetaData "Limit" "Amazonka.Shield.Types.Limit" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "Limit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
Create a value of Limit 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:max:Limit', limit_max - The maximum number of protections that can be created for the specified
Type.
$sel:type':Limit', limit_type - The type of protection.