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.Limit

Description

 
Synopsis

Documentation

data Limit Source #

Specifies how many protections of a given type you can create.

See: newLimit smart constructor.

Constructors

Limit' 

Fields

Instances

Instances details
Eq Limit Source # 
Instance details

Defined in Amazonka.Shield.Types.Limit

Methods

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

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

Read Limit Source # 
Instance details

Defined in Amazonka.Shield.Types.Limit

Show Limit Source # 
Instance details

Defined in Amazonka.Shield.Types.Limit

Methods

showsPrec :: Int -> Limit -> ShowS #

show :: Limit -> String #

showList :: [Limit] -> ShowS #

Generic Limit Source # 
Instance details

Defined in Amazonka.Shield.Types.Limit

Associated Types

type Rep Limit :: Type -> Type #

Methods

from :: Limit -> Rep Limit x #

to :: Rep Limit x -> Limit #

NFData Limit Source # 
Instance details

Defined in Amazonka.Shield.Types.Limit

Methods

rnf :: Limit -> () #

Hashable Limit Source # 
Instance details

Defined in Amazonka.Shield.Types.Limit

Methods

hashWithSalt :: Int -> Limit -> Int #

hash :: Limit -> Int #

FromJSON Limit Source # 
Instance details

Defined in Amazonka.Shield.Types.Limit

type Rep Limit Source # 
Instance details

Defined in Amazonka.Shield.Types.Limit

type Rep Limit = D1 ('MetaData "Limit" "Amazonka.Shield.Types.Limit" "libZSservicesZSamazonka-shieldZSamazonka-shield" '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))))

newLimit :: Limit Source #

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.

limit_max :: Lens' Limit (Maybe Integer) Source #

The maximum number of protections that can be created for the specified Type.

limit_type :: Lens' Limit (Maybe Text) Source #

The type of protection.