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 |
Documentation
Describes an IP range used in a security group.
See: newIPRange
smart constructor.
Instances
FromXML IPRange Source # | |
Generic IPRange Source # | |
Read IPRange Source # | |
Show IPRange Source # | |
NFData IPRange Source # | |
Defined in Amazonka.Redshift.Types.IPRange | |
Eq IPRange Source # | |
Hashable IPRange Source # | |
Defined in Amazonka.Redshift.Types.IPRange | |
type Rep IPRange Source # | |
Defined in Amazonka.Redshift.Types.IPRange type Rep IPRange = D1 ('MetaData "IPRange" "Amazonka.Redshift.Types.IPRange" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "IPRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cidrip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))) |
newIPRange :: IPRange Source #
Create a value of IPRange
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:cidrip:IPRange'
, iPRange_cidrip
- The IP range in Classless Inter-Domain Routing (CIDR) notation.
$sel:status:IPRange'
, iPRange_status
- The status of the IP range, for example, "authorized".
$sel:tags:IPRange'
, iPRange_tags
- The list of tags for the IP range.
iPRange_cidrip :: Lens' IPRange (Maybe Text) Source #
The IP range in Classless Inter-Domain Routing (CIDR) notation.