amazonka-rds-2.0: Amazon Relational Database Service 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.RDS.Types.Range

Description

 
Synopsis

Documentation

data Range Source #

A range of integer values.

See: newRange smart constructor.

Constructors

Range' 

Fields

  • from :: Maybe Int

    The minimum value in the range.

  • step :: Maybe Int

    The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...

  • to :: Maybe Int

    The maximum value in the range.

Instances

Instances details
FromXML Range Source # 
Instance details

Defined in Amazonka.RDS.Types.Range

Methods

parseXML :: [Node] -> Either String Range #

Generic Range Source # 
Instance details

Defined in Amazonka.RDS.Types.Range

Associated Types

type Rep Range :: Type -> Type #

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

Read Range Source # 
Instance details

Defined in Amazonka.RDS.Types.Range

Show Range Source # 
Instance details

Defined in Amazonka.RDS.Types.Range

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

NFData Range Source # 
Instance details

Defined in Amazonka.RDS.Types.Range

Methods

rnf :: Range -> () #

Eq Range Source # 
Instance details

Defined in Amazonka.RDS.Types.Range

Methods

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

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

Hashable Range Source # 
Instance details

Defined in Amazonka.RDS.Types.Range

Methods

hashWithSalt :: Int -> Range -> Int #

hash :: Range -> Int #

type Rep Range Source # 
Instance details

Defined in Amazonka.RDS.Types.Range

type Rep Range = D1 ('MetaData "Range" "Amazonka.RDS.Types.Range" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "Range'" 'PrefixI 'True) (S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "step") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newRange :: Range Source #

Create a value of Range 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:from:Range', range_from - The minimum value in the range.

$sel:step:Range', range_step - The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...

$sel:to:Range', range_to - The maximum value in the range.

range_from :: Lens' Range (Maybe Int) Source #

The minimum value in the range.

range_step :: Lens' Range (Maybe Int) Source #

The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...

range_to :: Lens' Range (Maybe Int) Source #

The maximum value in the range.