amazonka-redshift-2.0: Amazon Redshift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Redshift.Types.IPRange

Description

 
Synopsis

Documentation

data IPRange Source #

Describes an IP range used in a security group.

See: newIPRange smart constructor.

Constructors

IPRange' 

Fields

  • cidrip :: Maybe Text

    The IP range in Classless Inter-Domain Routing (CIDR) notation.

  • status :: Maybe Text

    The status of the IP range, for example, "authorized".

  • tags :: Maybe [Tag]

    The list of tags for the IP range.

Instances

Instances details
FromXML IPRange Source # 
Instance details

Defined in Amazonka.Redshift.Types.IPRange

Generic IPRange Source # 
Instance details

Defined in Amazonka.Redshift.Types.IPRange

Associated Types

type Rep IPRange :: Type -> Type #

Methods

from :: IPRange -> Rep IPRange x #

to :: Rep IPRange x -> IPRange #

Read IPRange Source # 
Instance details

Defined in Amazonka.Redshift.Types.IPRange

Show IPRange Source # 
Instance details

Defined in Amazonka.Redshift.Types.IPRange

NFData IPRange Source # 
Instance details

Defined in Amazonka.Redshift.Types.IPRange

Methods

rnf :: IPRange -> () #

Eq IPRange Source # 
Instance details

Defined in Amazonka.Redshift.Types.IPRange

Methods

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

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

Hashable IPRange Source # 
Instance details

Defined in Amazonka.Redshift.Types.IPRange

Methods

hashWithSalt :: Int -> IPRange -> Int #

hash :: IPRange -> Int #

type Rep IPRange Source # 
Instance details

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.

iPRange_status :: Lens' IPRange (Maybe Text) Source #

The status of the IP range, for example, "authorized".

iPRange_tags :: Lens' IPRange (Maybe [Tag]) Source #

The list of tags for the IP range.