libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch
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.CloudWatch.Types.Range

Description

 
Synopsis

Documentation

data Range Source #

Specifies one range of days or times to exclude from use for training an anomaly detection model.

See: newRange smart constructor.

Constructors

Range' 

Fields

  • startTime :: ISO8601

    The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.

  • endTime :: ISO8601

    The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.

Instances

Instances details
Eq Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

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

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

Read Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Show Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

Generic Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Associated Types

type Rep Range :: Type -> Type #

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

NFData Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

rnf :: Range -> () #

Hashable Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

hashWithSalt :: Int -> Range -> Int #

hash :: Range -> Int #

ToQuery Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

toQuery :: Range -> QueryString #

FromXML Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

Methods

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

type Rep Range Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.Range

type Rep Range = D1 ('MetaData "Range" "Amazonka.CloudWatch.Types.Range" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "Range'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))

newRange 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:startTime:Range', range_startTime - The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.

$sel:endTime:Range', range_endTime - The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.

range_startTime :: Lens' Range UTCTime Source #

The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.

range_endTime :: Lens' Range UTCTime Source #

The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.